Result has huge difference

Hi,
The result of my code has huge difference with yours. At the epoch 99, my result is:
Source Accuracy: 9839/10000 (98.0000%)
Target Accuracy: 5958/9001 (66.0000%)
Domain Accuracy: 10646/19001 (56.0000%)

May I ask how much epoch did you run to get that result please?
Thank you in advance.

@tengerye I run this code several times and find that the results are not stable. The best result I get is about 72% and the worst one is about 67%. I think the instability is caused by the property of adversarial training which is similar to GAN.

I did experiment that trained the model only from source domain and predict on the target domain.
Source Accuracy: 9513/10000 (95.0000%)
Target Accuracy: 2161/9001 (24.0000%)
Domain Accuracy: 7278/19001 (38.0000%)

which could prove the method works but the result has obvious difference though.
Thank you very much.

This time, I trained on target domain.
Source Accuracy: 9159/10000 (91.0000%)
Target Accuracy: 7692/9001 (85.0000%)
Domain Accuracy: 9962/19001 (52.0000%)

@tengerye After merging your request, maybe I found the reason why our results are so different. In function get_test_loader(),  I used transforms.CenterCrop() while you used transforms.RandomCrop() for MNIST_M. Thus, I tried transforms.CenterCrop() for the newest version, then the target accuracy of 'dann' model can reach 70+% after 50 epochs and of 'target' mode can reach 94% after 20 epochs. In fact, I'm not sure which function should be the correct one.

I am updating the result which is produced by transforms.CenterCrop() instead of transforms.RandomCrop().
Train on source only:
Source Accuracy: 9834/10000 (98.0000%)
Target Accuracy: 3366/9001 (37.0000%)
Domain Accuracy: 7542/19001 (39.0000%)

Train on target only:
Source Accuracy: 7247/10000 (72.0000%)
Target Accuracy: 6669/9001 (74.0000%)
Domain Accuracy: 11612/19001 (61.0000%)

Train with dann:
Source Accuracy: 9827/10000 (98.0000%)
Target Accuracy: 6828/9001 (75.0000%)
Domain Accuracy: 10147/19001 (53.0000%)

@tengerye @CuthbertCai
Hi, I plot my results (Target Acc:0.78, Domain Acc: 0.54 on 100 epoch)
but distributions are not mixed.
you guys have no issue about this ?

@omg777 I tested the original version, ploted the embeddings and founded that the distributions are not mixed. For the newest version, I just recorded the accuracy and did not check what the embeddings looks like. Also, I ploted the embeddings of DAN and founeded that the distributions are mixed whose accuracy is lower than DANN. Thus, I'm not sure whether the embedding plot can be a essential metric for domain adaptation.

@CuthbertCai  Thanks for your quick reponse.
original version means caffe version of this paper ?
I found DANN implemented with tensorflow.()
In this repo, they draw distributions looks like mixed well, even though accuracy is lower than yours.
I satisfied the results in this repo, but I want to check that distributions are really mixed enough to deceive domain_discriminator.

@omg777 The original version means the first version I pushed, instead of the caffe implemented version. In fact, I don't know why the embedding are not mixed well while the accuracy is high. I guess there exists some problems during t-sne process, but I'm not sure of it. If you founded the reason, please tell me. Thanks a lot.

Hi, sorry about late reply @omg777 @CuthbertCai , I have awarded of that but concluded it was because of small iterations of training. I will have a look at it. It is unlikely that the t-sne is wrong, since I tested so many times. But I will have a look at that as well just in case.

@omg777 I wrote the part of t-sne after reading the corresponding code of TF, so surely similar. :laughing:
As to the flexible size of samples to t-sne, I will adjust that and update soon.

@omg777 Done. You can find it on my branch. I have sent a pull request to @CuthbertCai . By the way, my experiments are still running. Let's see if the problem is of small iterations.

@tengerye @omg777 Here is my embedding plot after 100 epochs, and the embeddings seem not mixed well.

@tengerye  @CuthbertCai
What is this code means ?
input1, label1 = input1[0:size, :, :, :], label1[0:size]

This is of mixed examples training.

This is of source only training.

This is target only training.
All of them are attained at 100 epochs. I still think the reason might be small epochs. I will try more epochs today.
@omg777 For your question, do you mind show the name of file and corresponding line number on the latest version please?

@omg777 For training in 'dann' mode, I want to align the shape of samples from different domains. So, I write some code to make sure every batch from the source and target domain is of the same shape. Also in this mode, we have to use samples from different domains in each iteration to compute the loss, so I use zip() to get inputs from two dataloader in an iteration. While in the testing period, we don't have to compute the loss so that I write one loop for each domain. For training in 'source' and 'target' mode, I think maybe the code you mentioned is not necessary.

@CuthbertCai @omg777 I extended the epochs of 'dann' to 300, but still found no mixed. Then I checked the journal paper, which only plots the embedding of SVHN. So I think maybe we could try add another experiment to this project?

@CuthbertCai Sure, I will take a look.

@CuthbertCai Thanks for your quick reponse.
original version means caffe version of this paper ?
I found DANN implemented with [tensorflow. [https://github.com/pumpikano/tf-dann]
In this repo, they draw distributions looks like mixed well, even though accuracy is lower than yours.
I satisfied the results in this repo, but I want to check that distributions are really mixed enough to deceive domain_discriminator.
Here is my results and plot.
Source Accuracy: 9889/10000 (98.0000%)
Target Accuracy: 8990/10000 (89.0000%)
Domain Accuracy: 10672/20000 (53.0000%)

What's the stopping criteria used?
I'm getting this around epoch 80:
Source Accuracy: 9885/10000 (98.0000%)
Target Accuracy: 7888/9001 (87.0000%)
Domain Accuracy: 10366/19001 (54.0000%)
parameter choices:
gamma = 10
lr = 0.001
I'm wondering what could be reason that this implementation gets better accuracy than what's mention in the paper?

@AshwinAKannan Hi, the stopping criteria is fixed number of iterations. Although the accuracy is better, the plots of embedding seems not mixed. We are still working on it.

Hello,
I ran an experiment for 1000 epochs with a slight change in model - removed batchnorm layers. The idea was to have a model similar to what is mentioned in the supplementary (http://sites.skoltech.ru/compvision/projects/grl/files/suppmat.pdf). Here's what the result looks like after 1000 epochs
Source Accuracy: 9841/10000 (98.0000%)
Target Accuracy: 7526/9001 (83.0000%)
Domain Accuracy: 10484/19001 (55.0000%)
Epoch 990:

Epoch around 300 also seem to have the expected distribution:

Params:
batch_size = 128
epochs = 1000
gamma = 10
theta = 1
lr = 0.0001
Model:
`class Extractor(nn.Module):
def __init__(self):
    super(Extractor, self).__init__()
    self.conv1 = nn.Conv2d(3, 32, kernel_size= 5)
    self.conv2 = nn.Conv2d(32, 48, kernel_size= 5)
    self.conv2_drop = nn.Dropout2d()

def forward(self, input):
    input = input.expand(input.data.shape[0], 3, 28, 28)
    x = F.relu(F.max_pool2d(self.conv1(input), 2))
    x = F.relu(F.max_pool2d(self.conv2_drop(self.conv2(x)), 2))
    x = x.view(-1, 48 * 4 * 4)

    return x

class Class_classifier(nn.Module):
def __init__(self):
    super(Class_classifier, self).__init__()
    self.fc1 = nn.Linear(48 * 4 * 4, 100)
    self.fc2 = nn.Linear(100, 100)
    self.fc3 = nn.Linear(100, 10)

def forward(self, input):
    logits = F.relu(self.fc1(input))
    logits = self.fc2(F.dropout(logits))
    logits = F.relu(logits)
    logits = self.fc3(logits)

    return F.log_softmax(logits, 1)

class Domain_classifier(nn.Module):
def __init__(self):
    super(Domain_classifier, self).__init__()
    self.fc1 = nn.Linear(48 * 4 * 4, 100)
    self.fc2 = nn.Linear(100, 2)

def forward(self, input, constant):
    input = GradReverse.grad_reverse(input, constant)

    logits = F.relu(self.fc1(input))
    logits = F.log_softmax(self.fc2(logits), 1)

    return logits`

Hi, thanks for your help! According to your result, I think batchnorm layers are the reasons why the embeddings are not mixed. I add them to model by my self. Maybe  we could plot more points to see how they form clusters.

embedding with 1024 points (epoch ~400):

Noticed that MNIST results mentioned in the paper don't form distinct clusters either.

@CuthbertCai @AshwinAKannan @omg777 I finished experiments: the batchnorm does not affect the final performance but only embedding graph. I commited a new pull request.
FYI, both of them at epoch 90,
with batchnorm:

without batchnorm:


(PE-21200) Increase ezbake start-timeout to allow long migrations

Test FAILed

CLA signed by all contributors.

Test PASSed


Chan select minor changes

Adds some minor changes to ChanSelect that were forgotten when rust-sessions was exported here

:+1:


Not compiling / running

Was hoping you could update the repo to latest build, I'm really curious on what you've accomplished and would like to contribute also.

It is updated. It should work if you are using dev/master channel


Form value setting not working in v6

Hi there. I have got a working version of a sample application using 5.1.0 but when I try to use the guide in the docs for v6 it does not work. Here is an example form I have created:
from here
import React, { PropTypes } from 'react'
import { reduxForm, Field } from 'redux-form'

import { EMPLOYEE_PROFILE_FORM_NAME } from 'constants/formContants'

const validate = values => {
  const errors = {}
  if (!values.firstName) {
    errors.firstName = 'Required'
  }
  return errors
}

const EmployeeDetailsEdit = ({
  handleSubmit,
  toggleEditMode,
  firstName,
  lastName,
  role,
  team,
  biography,
  avatarUrl,
  initialValues
}) => (
  <form id={EMPLOYEE_PROFILE_FORM_NAME} onSubmit={handleSubmit} className='row employee-details-edit'>

          First Name
          <Field name='firstName' component='input' type='text' placeholder='First Name' />
          Last Name
          <Field name='lastName' component='input' type='text' placeholder='Last Name' />
          Role
          <Field name='role' component='input' type='text' placeholder='Role' />
          Team
          <Field name='team' component='input' type='text' placeholder='Team' />

Biography

        <Field name='biography' component='input' type='textarea' placeholder='Biography' />

        <button type='submit' className='btn'>Save</button>
        Edit

  </form>
)

EmployeeDetailsEdit.propTypes = {
  handleSubmit: PropTypes.func.isRequired,
  toggleEditMode: PropTypes.func.isRequired,
  firstName: PropTypes.string.isRequired,
  lastName: PropTypes.string.isRequired,
  role: PropTypes.string.isRequired,
  team: PropTypes.string.isRequired,
  biography: PropTypes.string.isRequired,
  avatarUrl: PropTypes.string.isRequired,
  initialValues: PropTypes.object
}

export default reduxForm({
  form: EMPLOYEE_PROFILE_FORM_NAME,
  validate
})(EmployeeDetailsEdit)

This was based off the example here and if I use this exact code but revert to the 5.x it works fine but I get no binding to the Field elements in the example above.
You can clone that repo and run it in the broken-redux-forms branch  (npm install then npm start)to see the example. You go to the EmployeeProfile Route by clicking on "View Profile" from the dashboard then clicking on "edit" and you will get the form.
https://github.com/justsayno/employee-cv-manager-app/tree/broken-redux-forms
As you will see all the state is fine redux store knows about the fields. However the fields themselves do not have the values populated. I presume (although not 100% clear in the docs) that the "name" attr on the Field component is the key in the form reducer.
Like I said have it working with 5.x but I spent a good 3 hours tring to figure out what was wrong. Tried to run the afformentioned example for Initializing From State and it does not compile or run (windows 10 latest node etc).
Thanks!

Might be the same issue mentioned here. Try looking at the initialValues object passed to your Field. Does it have the same structure as in the issue linked above?

The problem is that redux-form assumes that the form state is under form key in the redux state. So either change the form reducer to handle form key, or provide getFormState function to reduxForm() (as outlined here http://redux-form.com/6.3.1/docs/api/ReduxForm.md/)

Closing this usage issue due to non response.


Fix/15868: the position of 'change default skin tone' change when no result found appear in emoji picker

Details

Adding the flex-grow attribute is 1 in the NoSearchRessult so that its height will change to fit the layout without changing the position of other components
Fixed Issues

$ https://github.com/Expensify/App/issues/15868
PROPOSAL: https://github.com/Expensify/App/issues/15868#issuecomment-1471979178
Tests

Open the app
Open any report
Open emoji picker
Search for emoji that does not exist eg: 'skulll' and observe padding below 'change default skin tone' should be the same all the time

[x] Verify that no errors appear in the JS console

Offline tests

Same above
QA Steps

Open the app
Open any report
Open emoji picker
Search for emoji that does not exist eg: 'skulll' and observe padding below 'change default skin tone' should be the same all the time

[ ] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is correct English and approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)

[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web

https://user-images.githubusercontent.com/113963320/227152994-2dcf45a9-bda7-4392-af09-e556e0406db9.mov

Mobile Web - Chrome

Mobile Web - Safari

Desktop

https://user-images.githubusercontent.com/113963320/227153261-40fc1208-3be5-46fa-b3bb-091c82552aa9.mov

iOS

Android

@iwiznia @rushatgabhane One of you needs to copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button]

🚀 Deployed to staging by https://github.com/iwiznia in version: 1.2.92-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/luacmartins in version: 1.2.92-2 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


⚠ Bofrost.at has degraded performance

In b0d0d42, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2933 ms

Resolved: Bofrost.at performance has improved in f523d29 after 6 minutes.


why I can't customize the signin URL

@Airren can you make a PR to fix it?

This url must be ${server_url}/api/signin
I will take some time to fix this issue and provide customizable formal variables

This code doesn't exist any more. The issue is also not valid now.


Add firestorm-bundle-server extension

Moved from alpha repo, with some fixes. It's probably easier to review by commits:
https://github.com/FirebaseExtended/experimental-extensions/pull/41/commits/85ed046c5aebb278c6b40b15917fbb5ce53d8ebc Code coped from alpha-extension without changes.
https://github.com/FirebaseExtended/experimental-extensions/pull/41/commits/f25ebbf09c7f7530971ddfab4942e5f76ebb2a31 Some fixes around types, and setting up testing too.

@markarndt @jhuleatt
Please take another look. I added more documents, and a missing README.md


Make Navbar Hidden on Login Page

We can change the way that this works if necessary, but currently, the Navbar is always loaded in by App.jsx, and the links only change the page. However, this means that it stays there when Login is loaded. Make it so the navbar is only visible on website pages (Home, Opportunities, About) and invisible on Login (and eventually signup)

Closing this issue due to the design changes we are working with from what @Luke-Cutter designed on Figma.


Unsupported CTRL-Z makes pwsh session unusable on iTerm 2

Steps to reproduce
tail -f /var/log/system.log
# Hit CTRL-Z
# Hit CTRL-C

Expected behavior
I would expect it to background the job, as specified in #3229. Since bg-like functionality is not supported, I would expect it to do nothing, then allow me to terminate/interrupt the running job with CTRL-C.
Actual behavior
It seems that after CTRL-Z is hit, the terminal becomes completely unresponsive. This is only on iTerm, it works fine with Kitty and Terminal. I'm hoping someone can help me investigate.
Environment data

> $PSVersionTable
Name                           Value
----                           -----
PSVersion                      6.1.0
PSEdition                      Core
GitCommitId                    6.1.0
OS                             Darwin 17.7.0 Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Filed an issue with iTerm as well

I don't see the issue in iTerm2 3.2.1beta5: ^Z prints when I press Ctrl-Z, with no other effect, and ^C prints when I press Ctrl-C, and it terminates the command, as expected.
Just to rule out other factors: Do you have a PSReadLine handler set up for Ctrl-Z / Ctrl-C?

It seems CTRL-C is bound to
Ctrl+c           CopyOrCancelLine      Either copy selected text to the clipboard, or if no text is selected, cancel editing the line with CancelLine.

I tried the latest nightly build of iTerm to no avail.

On second thought: PSReadLine may have nothing to do with this - sorry (PSReadLine is not intercepting keyboard input while a program is running).
I wonder if the problem is related to your specific iTerm2 settings - may be worth trying with the default settings: Rename "$env:HOME/Library/Application Support/iTerm2" (temporarily), then start iTerm2 and see if the problem still occurs.
Note: On restoring the original ``"$env:HOME/Library/Application Support/iTerm2"` folder you may have to mark your previous default profile as the default one again.

This didn't change anything. It also seems to have kept my font around though, so not sure that did what you were expecting. I tried removing the preferences as well to no avail.

I tried removing the preferences as well to no avail.

Makes sense - my assumption was that renaming the application-support folder would be enough - but I don't know for sure; and I'm not even sure if there are other configuration files somewhere.
So it's only Ctrl-Z that triggers the symptom, Ctrl-C by itself works as expected?
The profile you're using doesn't have Ctrl-Z remapped?
I'm personally out of ideas, except to suggest turning on iTerm2's debug logging via iTerm2 > Toggle Debug Logging and studying the logs.


[Convolution] What is the status of NHWC ?

What is the status of NHWC layout support in NNVM & TVM  ?
If not, Can we change the input, weights, bias layout to NCHW and use ?
Siva

it mainly boils down to nhwc support for topi operators

"it mainly boils down to nhwc support for topi operators"
Does it mean I should convert the layout while importing ?
As I see assert here about other layouts.

NO, we should support nhwc layout in topi, and then improve nnvm to be able to use the nhwc version. I think @masahi mentioned that he have some in-house extension that  already support nhwc

yes, I have working NHWC layout support in topi and nnvm.
But changes are not clean and they only cover my use case (conv, pooling, upsampling, softmax).  If that is ok, I can send a pr.

Pls share, we could improve together it to make it clean.
Siva

ok, will send a pr this weekend.

Thanks


Improve development setup guide for Yew contributors

Problem
The current docs here https://github.com/yewstack/yew#development-setup are not as detailed as they could be:

./ci/run_tests.sh should be broken down into the individual tests
Need instructions for setting up a webdriver for running the wasm bindgen tests:

https://rustwasm.github.io/docs/wasm-bindgen/wasm-bindgen-test/browsers.html
https://rustwasm.github.io/docs/wasm-bindgen/wasm-bindgen-test/usage.html#install-the-test-runner

I don't think this applies anymore?
Cargo Make makes it easier now and the CONTRIBUTING.md is easy to follow (it must be because I've contributed 🙃)


data source does not appear in grafana

Hello,
i'm using grafana 8.5.2 (docker) and i followed the check_mk documentation with the git clone method but the data source does not appear in grafana :(
https://docs.checkmk.com/latest/en/grafana.html
what could i have forgotten ?
thank you for your help :)

I had the same problem with my Docker setup.
The problem for me was that since my configuration was almost empty, I didn't have the predefined sections in the .ini file.
It worked for me by making the
allow_loading_unsigned_plugins = checkmk-datasource

to
[plugins]
allow_loading_unsigned_plugins = checkmk-datasource

Hi Marcel,
Thank you for your reply, but i already have these lines :/.
I found in container logs that the plugin is skipped because he is
unsigned, so maybe a grafana issue ?! I'll check.
Le sam. 14 mai 2022, 13:18, Marcel Kuhmann @.***> a
écrit :

I had the same problem with my Docker setup.
The problem for me was that since my configuration was almost empty, I
didn't have the predefined sections in the .ini file.
It worked for me by making the
allow_loading_unsigned_plugins = checkmk-datasource
to
[plugins]
allow_loading_unsigned_plugins = checkmk-datasource
—
Reply to this email directly, view it on GitHub
https://github.com/tribe29/grafana-checkmk-datasource/issues/59#issuecomment-1126693796,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AATT5HVAEQBY6OWWIPJ32P3VJ6DXFANCNFSM5VXD62RQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

it seems that the plugin ID is not checkmk-datasource but tribe-29-checkmk-datasource ! after compilation everything is ok. checkmk documentation is not correct.

You followed the 2.0.0 version of the documentation, https://docs.checkmk.com/master/en/grafana.html should describe the correct way to set up the data source but it's still work in progress.
I've created two internal issues for our knowledge-team to update the documentation to make it more clear which version of the data source plugin will be installed.


Update securing-privileged-access.md

This could also be changed to
Privileged administrator accounts should not be a member of the local administrator group of the administrative workstations.

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

Nice. Well spotted. Thanks for the correction.


when moving an issue between projects, the association of assigned testcases remains with the previous project

only tested on manual testcases


Flashed a CH582M badge and now its bricked - no OEM-backup available

I got asked to flash a WCH CH582M badge a person had. Person have it some longer time ago probably from a opensource-conference. So we expected to be a fossasia-badge. It look similar, have CH582M, so the firmware got flashed.
Now the badge is bricked. Because the closed source firmware are read-only a OEM-firmware-backup does not exist.
Fossasia Version 0.1 .bin was flashed. Reflashed 3 times but no working state.
How does the current state with the 0.1 look like and how does it differ from the fossasia badges i have:
Bootloader worked like known. I disconnected battery, pressed and held the button next to the micro-USB connector and could write to the badge with wchisp.
The situation when i get some life out of it is after flash with disconnected battery. It then show some completely broken looking animation that should probably be the fossasia bootlogo.
After showing the unreadable animation its dead. Buttons does not work. They seem to be mapped different on that board or something else is wrong. It does not matter what or how often i press the buttons.
When i disconnect and reconnect the battery, the badge do not get back to life like it does on the other ones.
Just powering over usb can bring the badge to life with the wrong output.
I left the badge with battery disconnected because of its now fully unknown state. It should not kill its battery because of the state it is in now.
I expect i have to try debugging over UART, right? Is there a prebuild firmware file with UART (DEUBG=1) enabled?

Can you please post a picture of the back of this board and while it loads the boot logo? I think this badge has different assigned pins.
Also, is this board 11x44 LEDs? The current state of the firmware does not support any board different than 11x44.
There is no prebuild firmware with DEBUG enabled. You can manually build one, but it will not log anything other than USB's debug log. It was not mean to log

Now i realize that it is a 11x55 badge. I did not know such existed. I knew about the ones with 11x44 and the ones with 12x48. So i have count 11 rows, checked about the chipset and flashed the firmware.
There is a 240fps video running the 0.1 firmware with its boot animation. The video file is too big to upload to github. So i had to upload it somewhere else:
page 1: https://filetransfer.io/data-package/CYbwTDw8#link
page 2: https://file.io/j7s2lxKQHc24
I probably have now to develop the things for the different resolution. I would be happy if i could just use up 11x44 of the 11x55 rows but i do not know if this would somehow work and be more easy for the development part. Probably i would have to also modify the badge configuration software to make it working with 11x55 if its not possible to just ignore the more LED's and use just 11x44 of the badge.
Do you know at what code part i should start with this task?

I bought an 11x55 badge when preparing for GSoC and realized it's the wrong version. Here is my 11x55 badge:

It looks like some last few columns were hacked up to use Charlieplexing with fewer pins than usual. But not sure if my badge is the same as yours.

I probably have now to develop the things for the different resolution. I would be happy if i could
just use up 11x44 of the 11x55 rows but i do not know if this would somehow work and be more easy for the development part. Probably i would have to also modify the badge configuration software to make it working with 11x55 if its not possible to just ignore the more LED's and use just 11x44 of the badge.
Do you know at what code part i should start with this task?

To modify the firmware for your badge, first trace the LEDs according to Charlieplexing then change the assigned pin here:
https://github.com/fossasia/badgemagic-firmware/blob/321677cf9b152f7c80503f99abd6c2c8b4d105cf/src/leddrv.c#L71-L99
You might want to change the button pin as well:
https://github.com/fossasia/badgemagic-firmware/blob/321677cf9b152f7c80503f99abd6c2c8b4d105cf/src/button.c#L13-L14
https://github.com/fossasia/badgemagic-firmware/blob/321677cf9b152f7c80503f99abd6c2c8b4d105cf/src/button.h#L12-L17
The battery measurement pin:
https://github.com/fossasia/badgemagic-firmware/blob/321677cf9b152f7c80503f99abd6c2c8b4d105cf/src/main.c#L338
The charging pin:
https://github.com/fossasia/badgemagic-firmware/blob/321677cf9b152f7c80503f99abd6c2c8b4d105cf/src/main.c#L121-L122
https://github.com/fossasia/badgemagic-firmware/blob/321677cf9b152f7c80503f99abd6c2c8b4d105cf/src/main.c#L359
And yes, it is un-unified. I was thinking of converting these pin configs to an HAL module where we can config the pins for each version of the badge easily.


=build #138 Depend on the right RS version

See more details explained in https://github.com/ReactiveSocket/reactivesocket-java/issues/138
I can elaborate on the complete story if you're keen on getting the whole story, however in general the simple rule is "ignore 1.0.0.final exists" :)

Thanks @ktoso!

Thanks for merging :)


add QAOA run

Summary
add QAOA run and display results
Details and comments
removed 'matrix' parameter in QAOA setup
added QAOA run
added QAOA output visualization

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Tobias Bergmann seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

CLA Bot is confused and can't be convinced of the truth. I'm closing the PR and open a new one.


some vectors lost

I have tied a network, the dataset is here:
http://mlg.ucd.ie/networks/politics-uk.html
and there are 419 nodes, I use the twitter follows and followedby data as edges
but I only got 418 vectors
anyone know why?

I got my answer, I discussed with my friends, and found out there is a single node without any edge, so there are no neighbors to use to generate the vector.


doubleMean ignores useDefaultValueForNull=false, treats nulls as zeros

Affected Version
Seen in 0.20.0
Description
doubleMean ignores the setting useDefaultValueForNull=false, and treats nulls as zeros.  Taking a mean, it possibly ignores the nulls when summing, but apparently divides by a count that includes the rows with nulls.  It should exclude those from the count when dividing.
The attached ingestion spec and data file load 10 rows, with myMetric including values from 1 to 10, excluding 5 and 10 (which are null), so the data ends up looking like this:
myDim myMetric
1           1
2           2
3           3
4           4
5           null
6           6
7           7
8           8
9           9
10          null

Here's a very basic doubleMean query:
{
  "queryType": "timeseries",
  "dataSource": {
    "type": "table",
    "name": "numbersAndNulls"
  },
  "intervals": {
    "type": "intervals",
    "intervals": [
      "-146136543-09-08T08:23:32.096Z/146140482-04-24T15:36:27.903Z"
    ]
  },
  "granularity": {
    "type": "all"
  },
  "aggregations": [
    {
      "type": "doubleMean",
      "name": "doubleMean",
      "fieldName": "myMetric",
      "expression": null
    }
  ]
}

The mean should be (sum myMetric)/(count myMetric) - 40/8, or 5.  However, 4 is returned - 40/10.  So it's treating the "5" and "10" rows as if they included 0's.
If we filter for not null, we get the right result.
{
  "queryType": "timeseries",
  "dataSource": {
    "type": "table",
    "name": "numbersAndNulls"
  },
  "intervals": {
    "type": "intervals",
    "intervals": [
      "-146136543-09-08T08:23:32.096Z/146140482-04-24T15:36:27.903Z"
    ]
  },
  "granularity": {
    "type": "all"
  },
    "filter": {
    "type": "not",
    "field": {
      "type": "selector",
      "dimension": "myMetric",
      "value": null,
      "extractionFn": null
    }
  },
  "aggregations": [
    {
      "type": "doubleMean",
      "name": "doubleMean",
      "fieldName": "myMetric",
      "expression": null
    }
  ]
}

But we shouldn't have to add this filter.
data.txt
ingest.txt

Having the same issue. Is there an additional step that has to be done for such queries to work or this is a feature that should only be used with filtering?


feat: create global nav

:tada: This PR is included in version 1.2.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Undo/Redo Command: To include Patient/Request/HealthWorker/Person

Current implementation only does undo() on AddressBook object. The method needs to be changed to be able to perform the undo() method on the right Book object.

Currently fixed by Pull Request #139


Dark Mode is not working

when dark mode is activated You need to invest: text is not visible

I guess it is working fine. What's the issue?

when light mode is activated Everything works properly.

but in dark mode "You need to invest:"  text below the Calculate button is not visible

Okay got it, let me fix it.

@ajaynegi45 how do you locally run the project on you machine, because when I ran in the chrome I am not getting the option for light and dark mode.

@ajaynegi45 how do you locally run the project on you machine, because when I ran in the chrome I am not getting the option for light and dark mode.

Hi @khushalmajoka ,
I apologize for any inconvenience you experienced earlier. I'm pleased to inform you that I have worked on the issue you mentioned, and it has been fixed.
You can now try running the project locally again, and you should have the option to switch between light and dark modes. If you encounter any further issues or have additional questions while running the project, please don't hesitate to reach out. Your feedback is valuable to us, and we're here to assist you.

Thanks a lot @ajaynegi45

@ajaynegi45 There are still issues with the index.html file I guess, please check:

Also Dark mode option is available but still not working.

Hello ajaynegi45, I have fixed this issue. Please do check.

Hi @khushalmajoka ,
I apologize for any inconvenience you experienced earlier. I'm pleased to inform you that I have worked on the issue you mentioned, and it has been fixed.
You can now try running the project locally again, and you should have the option to switch between light and dark modes. If you encounter any further issues or have additional questions while running the project, please don't hesitate to reach out. Your feedback is valuable to us, and we're here to assist you.

Hi @khushalmajoka ,
I apologize for any inconvenience you experienced earlier. I'm pleased to inform you that I have worked on the issue you mentioned, and it has been fixed.
You can now try running the project locally again, and you should have the option to switch between light and dark modes. If you encounter any further issues or have additional questions while running the project, please don't hesitate to reach out. Your feedback is valuable to us, and we're here to assist you.

Hello ajaynegi45, I have fixed this issue. Please do check.

Not working

@ajaynegi45 why have you closed the PR?? It fixes the issue very well.

@ajaynegi45 why have you closed the PR?? It fixes the issue very well.

https://github.com/ajaynegi45/Investment-Calculator/pull/8#pullrequestreview-1661231192

Okay i can resolve this too. If you say I will?

Okay i can resolve this too. If you say I will?

yes you can resolve this issue

Can u please reopen the PR?

or i will have ti create a new one.

or i will have ti create a new one.

create new PR

You can checkout our more project to contribute Library


[ToggleButtonGroup] Add orientation prop

[x] I have followed (at least) the PR section of the contributing guide.

Closes #21025

@xiaomaini It's a great first pull request on Material-UI 👌🏻. Thank you for working on it!


assert 'detection' in self.models

ComfyUI Error Report
Error Details

Node ID: 70
Node Type: ApplyZenID
Exception Type: AssertionError
Exception Message:

Stack Trace
  File "/root/ComfyUI/execution.py", line 323, in execute
    output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)

  File "/root/ComfyUI/execution.py", line 198, in get_output_data
    return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)

  File "/root/ComfyUI/execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)

  File "/root/ComfyUI/execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))

  File "/root/ComfyUI/custom_nodes/ComfyUI_ZenID/ZenID.py", line 382, in apply_instantid
    insightface = self.load_insight_face(insightface)

  File "/root/ComfyUI/custom_nodes/ComfyUI_ZenID/ZenID.py", line 295, in load_insight_face
    model = FaceAnalysis(name="antelopev2", root=INSIGHTFACE_DIR, providers=[provider + 'ExecutionProvider',]) # alternative to buffalo_l

  File "/usr/local/lib64/python3.10/site-packages/insightface/app/face_analysis.py", line 43, in __init__
    assert 'detection' in self.models

Thanks @nhtua,
This error occurred because the insightface model was not found or was placed in the wrong folder.
I have just updated the downloadmodel.py to fix this issue.
You can check the folder structure again as follows:
ComfyUI/
└── models/
    ├── controlnet/
    │   └── ControlNetModel/
    │       ├── diffusion_pytorch_model.safetensors
    │       └── config.json
    ├── instantid/
    │   └── ip-adapter.bin
    └── insightface/
        └── models/
            └── antelopev2/
                ├── 1k3d68.onnx
                ├── 2d106det.onnx
                ├── genderage.onnx
                ├── glintr100.onnx
                └── scrfd_10g_bnkps.onnx

thank you. I confirmed this is just because the wrong folder structure. Close the issue.


Reactor-gRPC 0.10.0-RC1

Hello. We've released Reactive-gRPC 0.10.0-RC1, which is a major rewrite. Would you be willing to test it out and report any issues?
https://github.com/salesforce/reactive-grpc/releases/tag/v0.10.0-RC1

Thanks, @rmichela. We will have a look this week.


The new function of downloading by tags downloads a lot less files than it should be

I tried downloading the link https://www.tumblr.com/tagged/lucy+pinder
And found that the program downloaded only 28 images, but I looked through the link how many images there should be on the page, it seems to me a lot more images should be because I long scrolled down until the browser hangs but did not reach the end of the page and there must be at least a thousands of images. Could you improve somehow the detection algorithm since it is clearly imperfect and does not download all images on the page?
P.S. Thanks for the new features! With the link https://www.tumblr.com/search/lucy+pinder, the program downloaded 3061 images, I do not know if it's all images on this search page, but it's already very good for me. I still do not know if you know, but there is still another a search page /recent (example https://www.tumblr.com/search/lucy+pinder/recent), there may seem to be other images than on the top search page, you can add support for this page if it not difficult.

the problem is the +.
If you use single tag it works right now. I'll fix it later today.

The queue restore is also broken if multiple "blogs" have the same time since i'm only storing the blogs name. I wanted it lightweight, now it's easy. For example if you search for lucy+pinder in the /tagged/ search and in the /search/ search the restore picks the first entry in the list.
Also I'm not sure If we should add a maximum number of pages to search. It tag search goes back until 2007 or something so it could potentially return a lot of stuff. At some point TumblThree will probably crash since most data structures can only handle 2GB unless this option is set and I haven't tried it out yet.

Also I'm not sure If we should add a maximum number of pages to search. It tag search goes back until 2007 or something so it could potentially return a lot of stuff. At some point TumblThree will probably crash since most data structures can only handle 2GB unless this option is set and I haven't tried it out yet.

Personally, I do not want any limit, if I see that the program has downloaded too many files, I'll just stop downloading. And here it seems already there is a function of downloading specific pages, for example if need to download only 1000 posts, any user can specify a limit of 1-1000 in the details view.

I also have to replace the - with a + if the user is logged in.
I think can add two textboxes to specify a time span in which to crawl for tagged images. This way one could download in batches and there is no fixed limit.


Wonderful work!

I just wanna say this wonderful plugin fixed my quandary! Thanks a lot!

Thanks for the feedback and for the star! I'm glad it is helpful to you:-)


configured github actions for test and linting

The problem was that we was passing que SECRET_KEY variable to the environment of Github actions, but the docker was not receiving it. So I passed the secret key as a parameter of docker-compose run. I used "test" as a key and it's working fine, but I don't know if this could be a problem in the future if for some reason we might need to pass the correct secret_key to github when the site is online. If that's the case, we can deal with it later.

The problem was that we was passing que SECRET_KEY variable to the environment of Github actions, but the docker was not receiving it. So I passed the secret key as a parameter of docker-compose run. I used "test" as a key and it's working fine, but I don't know if this could be a problem in the future if for some reason we might need to pass the correct secret_key to github when the site is online. If that's the case, we can deal with it later.

This way you are anyway exposing the secret to the repo. You should pass the environment variable in the docker-compose file. I already made the change

The way you did it doesn't work in VSCode, because our computer don't have access to this variable ${SECRET_KEY}

What do you mean? It worked :)

The way you did it doesn't work in VSCode, because our computer don't have access to this variable ${SECRET_KEY}

What do you mean? It worked :)

Did you rebuild and run the docker in your computer?

Yep, all good.

Yep, all good.

Here raises this error:
wedding-planner-app-1  | django.core.exceptions.ImproperlyConfigured: The SECRET_KEY setting must not be empty.
wedding-planner-app-1  | [01/Sep/2022 12:14:57] "GET / HTTP/1.1" 500 59
It make senses because the VSCode don't have access to the SECRET_KEY in github secrets, then attributes a empty string to it. When decouple tries to access it, the env variable is already defined as a empty string, what is not permited by Django.

Yep, all good.

Here raises this error:
wedding-planner-app-1 | django.core.exceptions.ImproperlyConfigured: The SECRET_KEY setting must not be empty. wedding-planner-app-1 | [01/Sep/2022 12:14:57] "GET / HTTP/1.1" 500 59
It make senses because the VSCode don't have access to the SECRET_KEY in github secrets, then attributes a empty string to it. When decouple tries to access it, the env variable is already defined as a empty string, what is not permited by Django.

VS code is just a text editor, it doesn't need to have access to anything. What we need to do, is to make sure that our build will have access to the SECRET_KEY. It can detect it with environment in docker-compose. It then detects the SECRET_KEY that you have in your .env file.

The error occurred because my .env file was in the wedding-project folder. When I moved it to wedding-planner the code worked properly.


wireless file manager

not working?

Hey,
I regret to inform you that our recent app updates on Google Play have encountered rejection due to policy issues concerning app icon sizes for Android TV. The specific problem has been outlined here.
Should you have any connections within Google's Play Store teams, we kindly request your assistance. Please reach out to us on Github if you can offer any insights or assistance in resolving this matter. In the interim, we will continue to submit updates periodically to Google play for review.
For uninterrupted access to the latest versions of our apps, they are readily available on our appstore.
I appreciate your patience and understanding as we endeavor to improve your app experience.
Thank you.


Let's Regroup!

A few months ago there was a tremendous surge of code development on this project.  Lots of forks were created and features developed.  Several pull requests made it back into @lordpengwin 's trunk such as those by @heylookltsme.  Others don't seem to have been incorporated such as the additions by @GeoffAtHome.  @Elanamir added Spotify integration and restructured the code to make future functionality easier to add.
I think it's time to regroup a bit and get some pull requests generated and incorporated.  Is there any interest in this?

Definitely! I had received an Echo Dot for Christmas so I was really excited about it at the time and have since calmed down a bit, haha. But I'm definitely interested in continuing to work on the project. Count me in!

@MikeDeSantis @heylookltsme @lordpengwin Sounds good to me. Do we want to create a to do list with features that we all want? Personally I want to change the default music service to SqueezeBox but when I attempted to build the headless version of a Squeeze Player I failed. That said, the proposition is far simpler that a full Squeeze Play as Alexa would be the headless player and handle the actual content....

One of the first steps should be the decision to move to the new architecture as put forth by @elanamir.  This structure is much more modular and offers the framework for future intent and music service integrations.  The downside is that some of the (fantastic) work in other branches that happened after the fork would need to be ported to that branch.  I am in favor of the new architecture.

I’m in too

On Aug 9, 2017, at 12:34 PM, GeoffAtHome<EMAIL_ADDRESS>wrote:
@MikeDeSantis https://github.com/mikedesantis @heylookltsme https://github.com/heylookltsme @lordpengwin https://github.com/lordpengwin Sounds good to me. Do we want to create a to do list with features that we all want? Personally I want to change the default music service to SqueezeBox but when I attempted to build the headless version of a Squeeze Player I failed. That said, the proposition is far simpler that a full Squeeze Play as Alexa would be the headless player and handle the actual content....
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/lordpengwin/muzak/issues/15#issuecomment-321310141, or mute the thread https://github.com/notifications/unsubscribe-auth/AB3HawVpxM3qyB135Gu4qZn3MItA7y9zks5sWd-YgaJpZM4Oww-p.

I just found this and I'm very interested in using it.  I have LMS running in a docker container on my home lab and would very much like to control my two piCorePlayers with Alexa.  This may be off topic, apologies if so, but I didn't want to start a new issue for it; it appears that you're regrouping and discussing ideas for improvements.  I'm reluctant to open port 9000 to the world with basic auth; is there any way for Lambda to communicate with LMS through the Echo device without opening up ports?  I wanted to add that as a possible suggestion.

Hi, I'm a user from Switzerland and would love to see this coming to life in German.
I couldn't program my way out of a cardboard box, but I could offer Translation support English <> German...
Thanks :)

@epatch I don't know of any way to do this other that some sort of proxy. The skill uses the LMS api to directly talk to the server.

@rkm82 One way to at least partially do this is to move all the responses to a resource bundle file that consists of key/value pairs for each response. This file could then be loaded as a configuration option. It would be nice that anyone could customize and personalize the responses anyway they want including changing the language. On the other side, i guess you would need to have a language specific set of utterances that map to the correct intents.

Back in the game. I am looking to secure LMS with SSH before adding more functionality here.
Localisation can be done via default-assets.js. I think it is only the 'samples' parts that would need localisation.  Happy to collaborate with someone on this.

I would look at SSL not ssh
Stephen Martin<EMAIL_ADDRESS>80 Hunterdon Blvd.				        www.vanderfleet-martin.net
Murray Hill, NJ,<PHONE_NUMBER>
USA. 07974

On Sep 30, 2017, at 11:02 AM, GeoffAtHome<EMAIL_ADDRESS>wrote:
Back in the game. I am looking to secure LMS with SSH before adding more functionality here.
Localisation can be done via default-assets.js. I think it is only the 'samples' parts that would need localisation. Happy to collaborate with someone on this.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/lordpengwin/muzak/issues/15#issuecomment-333314145, or mute the thread https://github.com/notifications/unsubscribe-auth/AB3Ha09cju94QQm5EQA3wUZn_j3n1Dlsks5snlgegaJpZM4Oww-p.

Using SSH I can connect to my LMS in a secure manner. I need some that I can use on both AWS Lambda and local on my LMS. I have OpenSSH working and can access via an SSH tunnel my LMS remotely following the steps here: http://squeezeplayer.de/2011/05/3g-part-5-secure-your-communication-channel/
I was planning to use something like https://github.com/agebrock/inject-tunnel-ssh as this looks like it would do the trick.
What is the benefit of SSL?

The follow code allows an SSH tunnel to be created. I haven't tested this on Alexa yet but looks promising.
`
var fs = require('fs');
var _ = require('lodash');
tunnelconfig = {
    host: 'hosturl',
    password: 'host-password',
    username: 'host-username',
    keepAlive: true,
    dstPort: 9000, // Destination port
    dstAddr: 'destination-ip-address' // Destination IP address
};

var tunnel = require('tunnel-ssh');
var server = tunnel(tunnelconfig, function(error, server) {
    if (error) {
        console.log(error);
    }
});
// Use a listener to handle errors outside the callback
server.on('error', function(err) {
    // console.error('Something bad happened:', err);
});

Once I have checked it working on Alexa I will check in the code.
I am also extending create-assets to correctly create slots for play lists.

Working on Alexa. I had to up the amount of time in the lambda function from 3 seconds to 8 seconds. I didn't expect the additional time to open the ssh-tunnel would be significant. I think I might be able to get away with 5 seconds but this will be by trial and error.

Hurrah. Playing a title (track) now works. Every better is that Alexa developer console accepts "speechAssets.json"  in the interaction model builder. What I was forgetting to do was to rebuild the model.

Major refactor complete.

Player name persisted across sessions.
ssh-tunnel used to communicate with server.
interaction model built (speech assets) that includes playlists, albums, artists and tracks.

Now to add some new functionality.
What should the next goal be?

Well done @GeoffAtHome!  I will be updating my Alexa skill with this version today, I'll report back any issues that I find.  One question, in file config.js-sample, shouldn't there be a placeholder variable:
config.alexaAppID = "amzn1.ask.skill.xxxxxxxxxxxxxxx"

Hi Mike,
Maybe – in the config file there is the line:
// Invocation name to invoke intent
config.invocationName = "ask muzak";
Which may or may not do the same. If the skill doesn’t build it maybe the JSON produced in the speechAssets.json that is wrong. This is difficult to track down. It is normally a stay character that hasn’t being filtered out.
Good luck,
Geoff
From: Mike<EMAIL_ADDRESS>Sent: 06 December 2017 17:19
To: lordpengwin/muzak<EMAIL_ADDRESS>Cc: GeoffAtHome<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [lordpengwin/muzak] Let's Regroup! (#15)
Well done @GeoffAtHome https://github.com/geoffathome ! I will be updating my Alexa skill with this version today, I'll report back any issues that I find. One question, in file config.js-sample, shouldn't there be a placeholder variable:
config.alexaAppID = "amzn1.ask.skill.xxxxxxxxxxxxxxx"
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/lordpengwin/muzak/issues/15#issuecomment-349710974 , or mute the thread https://github.com/notifications/unsubscribe-auth/AGttWLo9nQV-yunhEi_K9LPJw-D9J4Koks5s9syegaJpZM4Oww-p .  https://github.com/notifications/beacon/AGttWN-B0-qSBXfCiFIfpFds15pLyqz9ks5s9syegaJpZM4Oww-p.gif


Revive Datamuse metadata

Each Label document has a data field which is currently not in use. It contains the words that might be similar to the label in question. These words were generated by the Datamuse API, but is has been temporarily removed from queries since the data was inconsistent.

Need to find a way to revive this feature, as having words with similar meaning to the label in question will by far expand the set of words a user can search by, and help improve #43

Good example

Label = Mountain
Data = highland upland mount mountainside mountaintop mountainous alpine hill hills ridge biking andes cordillera alps dew massif bike peaks ranges summit

Bad example

Label = Father's Day
Data = erebus june tie augustine noh pop ties pas tiepin wallet

WTF example

Label = The Posh Paw Resort
Data = aria curtsey humor powder byzantine minx poem romp sea slap

Closing issue, only thing that's left is inserting doc.label IN textTokens || in the ArangoSearch query. Will do that shortly as a separate commit..

Post revival, I've decided to re-deprecate Datamuse metadata for now. I've been trying it out and found it to be inconsistent for my use cases.


Ingress

Implementation of Ingress resource

There is still a problem in a combination between Ingress and network policies. Working on it.

My last push trial failed (the change regarding PermitsQuery and ForbidsQuery). But the previous push was ok and you can review it. I will fix Permits/Forbids problem on Sunday.

new PR was created


[5.1] Strip out optional method name in EventServiceProvider

Imagine that you have this in your EventServiceProvider:
protected $listen = [
    'App\Events\UserHasRegistered' => [
        'App\Listeners\Email@welcome',
    ],
];

Currently, Laravel won't parse the file name properly. So you end up with an<EMAIL_ADDRESS>file.
http://d.pr/i/1i1MZ
This PR strips out anything after the @ symbol to fix this.

Failing build.

I like this since Laravel uses the @ convention quite a bit.

In fact I was sending a PR #7269 fixing this issue half a year ago but it was rejected without any comments :(
I still think that it's better to strip out @method part inside make:listener command because it can be called separately too.


Specify Timeout

Heyo, Would it be possible to specify a timeout for a script instead of it being hardcoded? I have a couple of scripts that (apparently now) take longer than a minute to execute.

@gzphreak That's a fair point, thanks for opening the issue.
Shall we just make the timeout the same as the refresh rate? Would that suit your case?

That seems like a fair compromise (and would also suit my use case) thanks.

any updates?


OPC Twin Microservice

Hi there, I refer to the information about the OPC Twin Microservice on https://github.com/Azure/Industrial-IoT/blob/main/docs/services/twin.md .
When I write a "desired property" from the OPC twin microservice towards an Endpoint Identity - will it create a corresponding desired property in the device twin for the Endpoint Identity in the IoT Hub? To me it would seem logical to do that in order to support scenarios where the OPC UA Server or the IoT edge device are offline.

Hi @Padu98, you are correct, this would indeed be the way to go, but the Azure IoT Device twin is effectively a JSON document in a no-SQL database and is very small (properties together as JSON must be less than I believe 64k).  For this scenario it would quickly reach its limits.  Right now all transactions are through direct methods instead, which unfortunately require the edge to be online.  The right approach for most command control scenarios is RPC based on durable messaging, and we are working to get there mid to long-term, but we do not have a date for when this will be.

Hi @marcschier,
Thanks for the quick reply!
In the Documentation it is also mentioned that WRITING a value on a Variable node is exposed as Desired/Reported Property on the “endpoint identity” on the Edge-Device. Does that mean that the “desired properties” of the Endpoint Identity running on the Edge are set by direct methods?
If I get this right it should at least be possible to communicate when the OPC-Server, connected to the Edge-Device, is currently offline? But in the REST API Reference under every WRITE-Request it is mentioned that “the endpoint must be activated and connected”. So how can I set the desired properties (Node values) of an endpoint identity that is “activated and connected” but currently “not reachable”?
I am a little bit confused here. A Device Twin Pattern whether it is on the Edge or Cloud would not make any sense to me if it cant be used?
I refer to the information given in those two articles:
https://github.com/Azure/Industrial-IoT/blob/main/docs/services/twin.md
https://github.com/Azure/Industrial-IoT/blob/main/docs/api/twin/readme.md

Hi @Padu98, I am truly sorry, but the documentation in twin.md is incorrect and from it the confusion stems.  I have just submitted an update to the documentation in PR #1525 to remove the reference to desired/reported properties.  Reading and writing of OPC UA values (and attributes) is supported via the REST API referred to in the second link.  You are correct that the REST API just translates into direct method calls on the twin (not desired properties though).  Therefore the twin must be online for the API call to work.  As mentioned, I think your scenario is absolutely valid, but unfortunately it is not yet supported.

We are not planning to support this feature.


Space between Label and Input

Description
Here is the code
  <Form :model="formModel" style="max-width: 500px;" label-suffix=":">
    <FormItem label="لقب" placeholder="لقب" :label-width="32" prop="name.ur.title">
      <Select :options="options" size="large"></Select>
    </FormItem>
  </Form>

and that how the result look like

How can I create a space between label and input?
PS: I am using Urdu language here.
Validations

[X] Ensure this issue neither a bug report nor a feature proposal.
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that descript the same thing to avoid creating a duplicate.

I think you can using padding-inline(-start|-end) and margin-inline(-start|-end) to replace padding and margin style.
By the way, rtl support is in progress, but it may take take some time to complete.


Add a hide suggestion button at the end of the suggestions card

Description
As a curator, I want to have a hide suggestions button also at the end of the card to avoid needing to scroll up again to hide.
Acceptance criteria

[x] Button "hide" also located at the end of the suggestions card

@zperova done


fix: global resolution

Need to lookup the first node_modules for global resolution.

Coverage decreased (-0.1%) to 93.136% when pulling 0dfbdafb3d1be9e532fcdf0d4db4ef61c053df54 on fix-glboal into 44a611732e8ac43133b37857a102a569ae2318ca on master.


OS: zephyr compilation

Make the code compilable using Zephyr OS build system.
Notes:

The code should still compile as a standalone x86 build.
currentmain.c can be removed

closed by #35


Contributions Work UR Sessions Analysis

What
Analysis of the user insights from the recent testing sessions (13 participants)
Why
So that we can ascertain any improvements needed to the relevant Service manual pages/features
Done when

analysis slide deck is produced
the service manual team have had the opportunity to contribute in a UR playback team meeting
the next steps have been decided re any improvements needed to the relevant Service manual pages/features

Will need to add to issue 689 any relevant user insights from the contributions work ie issue 1215

Analysis PPT deck completed
https://nhs-my.sharepoint.com/:p:/g/personal/indu_kaila1_nhs_net/EdDUvO9ghtVNs-NRMPx4z4wBmN_P9RiqRZPmG_fTiogHVQ?e=9WpkO3


CrossStitch 0.1.5 (1.19+)

By @Xernium

Is there a solution planned to address the introduction of registry sync for command argument types to Fabric API? For now, this would require modifying Fabric API internals since a proper solution to marking registry entries as server-only is not available yet.

would you mind releasing this version on CF or GH releases? :D


Missing 3.0.2 GitHub release

[X] None of the other issue templates apply to this issue.

Version 3.0.2 is available in the Play Store, however, there is no GitHub release for this version yet. Please create a GitHub release. Thank you!

v3.0.2


Crash Report

I tried to run:
class Demo {
    public static void main(String[] args) {
        int x = 6;
        int y = 3;

        System.out.println(x+y);
    }
}

Because I'm learning Java.

[!CAUTION]
Android 14.

Fatal Crash occurred on Thread named 'DefaultDispatcher-worker-3'
Unix Time :<PHONE_NUMBER>474
LocalTime : 16 de out. de 2024 16:48:32

ACTIVE_CODENAMES = []
app_version = 2.7.4
device_model = moto g73 5G
SECURITY_PATCH = 2024-08-01
BASE_OS = motorola/devonf_g_sys/devonf:14/U1TN34.82-12-7/4cdf7-62b22:user/release-keys
RELEASE = 14
MEDIA_PERFORMANCE_CLASS = 0
CODENAME = REL
manufacturer = motorola
RELEASE_OR_CODENAME = 14
RELEASE_OR_PREVIEW_DISPLAY = 14
KNOWN_CODENAMES = {HoneycombMr1, HoneycombMr2, Lollipop, Kitkat, Tiramisu, Gingerbread, Cupcake, IceCreamSandwichMr1, JellyBean, IceCreamSandwich, LollipopMr1, M, N, O, P, Q, R, S, Sv2, Base, NMr1, OMr1, JellyBeanMr1, JellyBeanMr2, Donut, Froyo, GingerbreadMr1, EclairMr1, UpsideDownCake, Honeycomb, Eclair01, KitkatWatch, Base11, Eclair}
SDK_INT = 34
PREVIEW_SDK_FINGERPRINT = REL
PREVIEW_SDK_INT = 0
SDK = 34
brand = motorola
supported_abi = [arm64-v8a,armeabi-v7a,armeabi]
INCREMENTAL = f6f3b-00d08

Error Message : main.java: open failed: EROFS (Read-only file system)
Error Cause : android.system.ErrnoException: open failed: EROFS (Read-only file system)
Error StackTrace :

java.io.FileNotFoundException: main.java: open failed: EROFS (Read-only file system)
	at libcore.io.IoBridge.open(IoBridge.java:574)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:259)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:208)
	at kotlin.io.FilesKt__FileReadWriteKt.writeText(FileReadWrite.kt:141)
	at kotlin.io.FilesKt__FileReadWriteKt.writeText$default(FileReadWrite.kt:140)
	at com.rk.xededitor.MainActivity.editor.KarbonEditor$saveToFile$2.invokeSuspend(KarbonEditor.kt:92)
	at com.rk.xededitor.MainActivity.editor.KarbonEditor$saveToFile$2.invoke(Unknown Source:8)
	at com.rk.xededitor.MainActivity.editor.KarbonEditor$saveToFile$2.invoke(Unknown Source:4)
	at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:61)
	at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:163)
	at kotlinx.coroutines.BuildersKt.withContext(Unknown Source:1)
	at com.rk.xededitor.MainActivity.editor.KarbonEditor.saveToFile(KarbonEditor.kt:91)
	at com.rk.xededitor.MainActivity.editor.fragments.EditorFragment$save$1.invokeSuspend(EditorFragment.kt:46)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
	at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:111)
	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:99)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:811)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:715)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:702)
	Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [CoroutineName(CustomScope), StandaloneCoroutine{Cancelling}@e329b07, Dispatchers.IO]
Caused by: android.system.ErrnoException: open failed: EROFS (Read-only file system)
	at libcore.io.Linux.open(Native Method)
	at libcore.io.ForwardingOs.open(ForwardingOs.java:563)
	at libcore.io.BlockGuardOs.open(BlockGuardOs.java:274)
	at libcore.io.ForwardingOs.open(ForwardingOs.java:563)
	at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:8275)
	at libcore.io.IoBridge.open(IoBridge.java:560)
	... 20 more

[!IMPORTANT]
Restarted the application and ran.

maybe issue of Android 14, but idk

@Jetrom17 try clearing app data

maybe issue of Android 14, but idk

Yeah. Android 12 and above contains higher restrictions.

@Jetrom17 try clearing app data

Ok. But I believe that this would not be an ideal solution. It would be a temporary solution.

@Jetrom17 try clearing app data

Ok. But I believe that this would not be an ideal solution. It would be a temporary solution.

It's a ideal solution, don't forget you are on development build 😁

@Jetrom17 try clearing app data

Ok. But I believe that this would not be an ideal solution. It would be a temporary solution.

It's a ideal solution, don't forget you are on development build 😁

What? I downloaded the release.

@Jetrom17 try clearing app data

Ok. But I believe that this would not be an ideal solution. It would be a temporary solution.

It's a ideal solution, don't forget you are on development build 😁

What? I downloaded the release.

If you are on release how can you run java code ?

@Jetrom17 seen like there's a misunderstanding please explain your issue in details, what are you doing actually?

@Jetrom17 try clearing app data

Ok. But I believe that this would not be an ideal solution. It would be a temporary solution.

It's a ideal solution, don't forget you are on development build 😁

What? I downloaded the release.

Well, it's a build release, but not a stable release.

let's say only github releases version, they are stable versions.

@Jetrom17 seems like there's a misunderstanding please explain your issue in details, what are you doing actually?

I tried to run the command:
class Demo {
    public static void main(String[] args) {
        int x = 6;
        int y = 3;

        System.out.println(x+y);
    }
}

When I tried to run the error happened. But when I restarted the application, the code that was being executed and denied by Android started working again.

Well, it's a build release, but not a stable release.

I downloaded F-droid.

Well, it's a build release, but not a stable release.

I downloaded F-droid.

But the version 2.7.3 that is on f-droid doesn't have java Compiler it's a new addition, anyways we try to fix what is wrong

But the version 2.7.3 that is on f-droid doesn't have java Compiler it's a new addition, anyways we try to fix what is wrong

Ok. Thanks. I must have probably made a mistake with the versions distributed on Telegram and F-droid.

Important
Restarted the application and ran.

those scripts are not intended to be executed by users open the file the editor and click on the run button
and about the error what file are you trring to access?


Add missing const specifiers to methods

In this PR, we added lots of missing const specifiers to class methods.

BTW, can we enable some clang checkings or other lint checkings after this patch is merged?

It is enabled, but it cannot find every missing specifier.


fix mandatory - 10th test

the command is:
echo "hi" | cat | cat | cat | cat | cat | cat | cat
Bash result is:
hi
Our result is:
hi | cat | cat | cat | cat | cat | cat | cat

this issue is already fixed


use spyder console to git, display vim pattern , then no action with pressing key

Issue Report Checklist
Problem Description
When I want to use spyder console to use git command, I sometimes meet it turn out the vim pattern. I press vim (i, a, o...) but without action. And I can only restart spyder console.
What steps reproduce the problem?

use !git commit
use !git push

What is the expected output? What do you see instead?
just like cmd command, I input :wq, it will quit the vim pattern.
But the spyder console no action.
Paste Traceback/Error Below (if applicable)

"~/git_repository/airflow/.git/COMMIT_EDITMSG" 15L, 352C▽  # Please enter the commit message for your changes. Lines starting
with '#' will be ignored, and an empty message aborts the commit.
On branch local
Your branch is up to date with 'origin/local'.
Changes to be committed:
modified:   dwd2dws.py
modified:   ods2ads.py
Untracked files:
../../../.DS_Store
../../../.spyproject/
~
~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               ~                                                                               Type  :qa  and press  to exit Vim
Versions

Spyder version: 4.2.5
Python version: 3.8
Qt version: 5.0.3
PyQt version:  5.9.2
Operating System name/version: maxOS Catalina 10.15.7

Dependencies

# Mandatory:
applaunchservices >=0.1.7       :  0.2.1 (OK)
atomicwrites >=1.2.0            :  1.4.0 (OK)
chardet >=2.0.0                 :  4.0.0 (OK)
cloudpickle >=0.5.0             :  1.6.0 (OK)
diff_match_patch >=20181111     :  20200713 (OK)
intervaltree >=3.0.2            :  3.1.0 (OK)
IPython >=7.6.0                 :  7.22.0 (OK)
jedi =0.17.2                    :  0.17.2 (OK)
jsonschema >=3.2.0              :  3.2.0 (OK)
keyring >=17.0.0                :  22.3.0 (OK)
nbconvert >=4.0                 :  6.0.7 (OK)
numpydoc >=0.6.0                :  1.1.0 (OK)
parso =0.7.0                    :  0.7.0 (OK)
pexpect >=4.4.0                 :  4.8.0 (OK)
pickleshare >=0.4               :  0.7.5 (OK)
psutil >=5.3                    :  5.8.0 (OK)
pygments >=2.0                  :  2.8.1 (OK)
pylint >=1.0                    :  2.7.4 (OK)
pyls >=0.36.2;<1.0.0            :  0.36.2 (OK)
pyls_black >=0.4.6              :  0.4.6 (OK)
pyls_spyder >=0.3.2             :  0.3.2 (OK)
qdarkstyle >=2.8;<3.0           :  2.8.1 (OK)
qtawesome >=0.5.7               :  1.0.2 (OK)
qtconsole >=5.0.3               :  5.0.3 (OK)
qtpy >=1.5.0                    :  1.9.0 (OK)
rtree >=0.8.3                   :  0.9.7 (OK)
setuptools >=39.0.0             :  52.0.0.post20210125 (OK)
sphinx >=0.6.6                  :  4.0.1 (OK)
spyder_kernels >=1.10.2;<1.11.0 :  1.10.2 (OK)
textdistance >=4.2.0            :  4.2.1 (OK)
three_merge >=0.1.1             :  0.1.1 (OK)
watchdog >=0.10.3;<2.0.0        :  1.0.2 (OK)
zmq >=17                        :  20.0.0 (OK)

# Optional:
cython >=0.21                   :  0.29.23 (OK)
matplotlib >=2.0.0              :  3.3.4 (OK)
numpy >=1.7                     :  1.20.1 (OK)
pandas >=1.1.1                  :  1.2.4 (OK)
scipy >=0.17.0                  :  1.6.2 (OK)
sympy >=0.7.3                   :  1.8 (OK)

Hi @Liang200018,
This behavior works outside of Spyder in a qtconsole? Can you please also post here a gif?

Hi @Liang200018,
I could reproduce this issue, we will see how to figure this out. For now, I recommend you to install spyder-terminal, the latest release is compatible with Spyder 5.0.5 and it enables you to have a system terminal inside Spyder.

I use mac, I open the spyder, but it has no spyder-terminal. I have installed the spyder-terminal, and my spyder version is 5.0.5. And I install the rust.

Is this the system terminal? I suddenly found it on the view -> pines -> terminal.
base) bash-3.2$

Is this the system terminal?

Yeah, that's Spyder-terminal.

I'm going to close this issue because there's nothing we can do about it. Basically our IPython consoles don't allow to work with terminal programs that require user interaction (such as Vim).
The reason for that is that they are graphical widgets not based in technologies used by normal terminal programs. Precisely to avoid that limitation we created Spyder-terminal.

Thank you very much!


nullify() not reliable?

I keep hitting cases where in direct-nvdimm mode, after namespace deletion, next newly-created namespace will show it's data area with existing file system, causing failure in NodeStageVolume.
That is a sign that nullify() did not actually clear first 4kB of block device.
Another piece of evidence is that when I use flush of whole device, as added by #123, such problems do not occur. So my theory is, flush via shred utility is reliable method while nullify() is not always.
But then again, when I try to debug nullify, for example by stop/exit program after nullify (and before namespace is destroyed), I see data is cleared. Such cases make me suspect this may be about syncing data to the device, which may happen in async fashion, thus causing side effect we see.

resolved via fixes coming from merge of direct-nvdimm mode in #133


feature: make tests fail when some of the emitted events aren't explicitly "expected"

Component
Forge
Describe the feature you would like
I'd like to be able to configure Foundry tests to fail if, during their execution, some other events have also been emitted besides the ones I've explicitly specified via vm.expectEmit().
More precisely, if, in my test, all I do is call a function f() that successfully executes and emits an event E(), my test succeeds both when I "vm.expectEmit()" E() - and when I don't "expect" it.
Especially when Unit Testing, it's natural to want to know everything that is happening during a test, to make sure you're not overlooking some seemingly small things that might transform into more serious problems at Integration Testing - or, worse - in production.
Besides, if you do care about all of the events emitted during a test, but have forgotten to "expect" some of them, you, quite likely, also risk forgetting some extra use-cases related to the missed events that you would like to check for/verify in your test. The Foundry framework notifying you about these missed events would help with this, too.
I admit that this might not be a behaviour you'd like to have at all times (for example, it'd be too much to have to "expect" all of the events emitted during an Integration test). However, I think it's important to be able to get this behaviour (via a configuration setting or something) when you do want/need it!
Additional context
No response

Two ideas for how this could be implemented:
First, as a new config option in foundry.toml:
[profile.default]
  strict_expect_emit = true

Second, as a new cheat:
vm.expectEmitStrict();

Supportive, expected behaviour could be in line with expectSafeMemory (given context) / expectSafeMemoryCall (nexty created subcontext) (https://github.com/foundry-rs/foundry/pull/4491)
cc @mds1


enforce UTF-8 encoding and some additional output; removed hard-coded zone id

Fixes #24

Closed with #25


Adobe Reader freezes while scrolling through pages

First of all, thanks for this amazing resource. I hope you could finish this book.
For the issue, I don't know if this is the right kind of issue to be reported here but I did download the draft and I use Adobe Acrobat to read it. The problem is it freezes like every 2 mins while scrolling through pages. I have no problems with other files that has the same size or has been written in LaTex and then converted to pdf.
Is there any chance that the problem caused by the draft?

Ok, I think I have found the cause. It was because of the setting for inverting page colors but only occurs in pages 25-40'ish. May caused by an image that Acrobat tries to invert


How can i get the mask? I want to get the mask of text?

Looking around here should help.

Looking around here should help.

it is im_final?

Looking around here should help.

thank you

@lvguangtao hey, how did u manage to visualize mask?


Cassandra Cluster Example Custom Seed Cores on First Node

examples/cassandra startup of cassandra pod with the custom Java seed provider code cores on the first pod:
Starting Datastax Agent... stomp:
Starting DataStax Agent datastax-agent
...done.
Starting Cassandra...
INFO 00:51:40,730 Logging initialized
INFO 00:51:40,770 Loading settings from file:/etc/cassandra/cassandra.yaml
INFO 00:51:41,833 Data files directories: /cassandra_data/data
INFO 00:51:41,834 Commit log directory: /cassandra_data/commitlog
INFO 00:51:41,834 DiskAccessMode 'auto' determined to be mmap, indexAccessMode is mmap
INFO 00:51:41,834 disk_failure_policy is stop
INFO 00:51:41,834 commit_failure_policy is stop
INFO 00:51:41,840 Global memtable threshold is enabled at 122MB
INFO 00:51:42,358 Not using multi-threaded compaction
ERROR 00:51:43,212 Fatal error during configuration loading
java.lang.NullPointerException
at io.k8s.cassandra.KubernetesSeedProvider.getSeeds(KubernetesSeedProvider.java:116)
at org.apache.cassandra.config.DatabaseDescriptor.applyConfig(DatabaseDescriptor.java:500)
at org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:111)
at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:156)
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:496)
at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:585)
null
Fatal error during configuration loading; unable to start. See log for stacktrace.

The io.k8s.cassandra.KubernetesSeedProvider.getSeeds pulls the seed addresses from kubernetes.   Here is what this container was seeing:
root@opscenter:/# curl -l http://<IP_ADDRESS>:80/api/v1beta1/endpoints/cassandra
{
  "kind": "Endpoints",
  "id": "cassandra",
  "uid": "5bdda8b8-c9da-11e4-a97a-08002770ed21",
  "creationTimestamp": "2015-03-13T23:40:40Z",
  "selfLink": "/api/v1beta1/endpoints/cassandra?namespace=default",
  "resourceVersion": 107542,
  "apiVersion": "v1beta1",
  "namespace": "default",
  "protocol": "TCP",
  "endpoints": null
}

Analysis showed the following:

This only occurs on the first node of a cluster.  When there are no other cassandra endpoints running/registered with kubernetes.
The custom java code was not checking for endpoints.endpoints:null.  This caused the error.

Prototyped a fix by adding:
if (endpoints != null) {
    // here is a problem point. endpoint.endpoints can be null in first node cases
    if (endpoints.endpoints != null){
        for (String endpoint : endpoints.endpoints) {

Suggest incorporating this modification

Thanks for the detailed report! Any chance you'd be willing to open a PR for this?

I would be willing to open a PR.

Update the cassandra example to pick up recent changes. #5857
Incorporates the corrected code, jar, and yaml.
My testing indicates that the issue has been fixed.

Fixed by #5857.


Executing SQL Queries with CTRL+Enter

Is your feature request related to a problem? Please describe.
It would be more user-friendly if i could execute SQL Queries with CTRL+Enter instead of clicking the run Button
Describe the solution or feature you'd like
Additional Option for executing a Query

You can customize the run query action with the keyboard shortcuts editor - more info in the related VS Code docs: https://code.visualstudio.com/docs/getstarted/keybindings#_keyboard-shortcuts-editor
gif of getting to the keyboard shortcuts editor in Azure Data Studio:


KafkaIO should raise an error if both .withReadCommitted() and .commitOffsetsInFinalize() are used

Read committed tells KafkaIO to only read messages that are already committed which means that committing offsets in finalize is a no-op.
Users should be using one or the other and is similar to making sure that either auto commit is enabled in the reader of KafkaIO does the committing which we have error checking for already.
Imported from Jira BEAM-13353. Original Jira may contain additional context.
Reported by: lcwik.

slightly related

slighty related https://github.com/apache/beam/issues/22631


Document Plane Equation Used

Document what the equation used for plane to avoid confusion between Ax + By + Cz - D = 0 or Ax + By + Cz + D = 0

I may have made a mistake in my determination of what was the plane equation being used so I am closing this until I am more sure.


Threading issue using pyusb

Hello,
I'm currently having an issue writing a multithreaded app with pyusb. Here is a quick description of my application:

1 discovery thread that periodically (every second) check for connected devices (can be deactivated and I did so to figure out the bug)
1 thread per device, periodically (every 10ms) it writes to device if some data is cached for sending, and then read once and store received frame if there is one. Read and write actions are executed if no discovery is ongoing (I checked that there are no issues between discovery and device thread for IO access)
the main thread that receives write requests (forward them to device's thread queue) and retrieves stored received frames to print them

While using 1 device, there is no issue.
If I start connecting 2 devices, both will hang on their read instruction (interrupt read for HID devices) at some point. I pinpointed the issue to be a simultaneous read request (or at least concurrent ones while a device is waiting for its read timeout).
Thing is, I'm using a 1ms timeout (had to increase it to 10s to force the error to happen sooner), and I thought using unblocking IO would be the solution but it seems like it does not exist on read/write instructions (timeout=None uses the default one, timeout=0 is infinite blocking, a positive value is a millisecond timeout and negative values are not allowed if I'm not mistaken).
So question is: is there a way to have non blocking IO calls that return immediately (and thus would not be able to be concurrent ones) or is there a version of pyusb that supports multithreading?
Note that for now, I went back to doing all actions in the main thread but that's not statisfying to me if there happens to be other blocking issues on IO..
Regards,
Yohan

Not an expert here. Comments are welcome. Enhancement are also welcome.

@yohan-m,
What backend were you using?  Can you show me some sample code?
You might also want to take a look at libusb: Multi-threaded applications and asynchronous I/O.

@yohan-m I would like to take a look at this, but I do need so sample code and additional details like OS, backend, library versions...
Btw I'm sorry it took us a while to get to this issue but, as you've probably noticed by now, the project had a brief period of hibernation.  But I'm the new principal maintainer, and I'll be happy to work with you on this.

Looks like #63 and #64 are both needed in this case to improve the performance.


WebGL sRGB rendering bug in Chrome and Safari

Hello @freydev I'm going to need your help again.
I just released a new version and found a bug in OkLCH's render, I'm not sure if it was there before when we released version 5, maybe Chrome changed something meanwhile in their WebGL engine.
On Chrome and Safari (macOS)

On Figma desktop, Firefox and Edge (macOS)

I reverted the update to see if it was present on the last release (5), tested on Chrome and yes, same weird bug:

It only happens in sRGB, P3 is fine, here is a capture from Chrome:

I looked into the code, especially in f_shader.glsl but I'm not that familiar with WebGL, If you know where it can come from that would be helpful (you'll see that I refactored the whole code and it's now easier to read 👍).
If you need to push a new test version in prod tell me as we can't test dev version in Chrome but only in desktop app which is a shame to debug 😔 . Thanks in advance for your time.

Found the problem (by isolating color picker component on a new vite build to run it directly in Chrome), it was on the gamma correction part, appears to be with how pow() handle negative numbers in Chrome/Safari, so by using this another method it works.
col = exp(log(col) * (1./2.2)); // New way

col = pow(col,vec3(1./2.2)); // Old way

Problem still exists for sRGB but not P3.
Although, P3 has its own bug, albeit less confusing.

Figma Desktop App version 116.14.9
macOS 13.4.1 (c) (22F770820d)

(Incredible plugin, by the way! It's a very effective teaching tool as well.)

Hello @qinyiyao,
Thanks for your feedback and your sponsor, that's much appreciated!
Regarding the bug, with sRGB you have the wrong rendering as the first capture while using Figma desktop App? If yes can I see a capture?
Regarding P3, this is weird because I don't have it (I'm also on macOS and with Figma App):

Do you have the same bug on a browser? And what about on another machine if you have the possibility?
Thanks again.

Regarding the bug, with sRGB you have the wrong rendering as the first capture while using Figma desktop App? If yes can I see a capture?

Here’s what it looks like on that device (Intel Core i7 + AMD Radeon Pro 5300M):

Both issues appears in Chrome (119.0.6045.105 (x86_64)).
Both issues do not appear in Safari (16.5.2 (186<IP_ADDRESS>.10)). (But there’s a separate problem with Safari with sliders.)
Both issues do not appear on an Apple Silicon device in all settings.
——
I think your latest development branch fixes the bigger problem in sRGB mode, so both modes have the same smaller problem now:

Thanks for all these details, that's very useful as I only have Silicon hardware to develop and debugging WebGL is quite cumbersome 🥲.
I've been able to reproduce the bug and normally it's fixed on the last build in develop, can you try again please ? (You can just download the last index.html from dist/)
(For Safari sliders, indeed it's already on my todo list).

Hello @qinyiyao, I've just released a new version in prod, normally the bug is fixed, but I let you confirm that on your hardware then I'll close the issue, thanks 🙏 .

All issues are fixed in the new release! Thanks.

🎉 nice, thanks again for your help!


Testing on i03: Round 2

We have done a few more tickets and so should test them, particularly:

https://github.com/DiamondLightSource/python-artemis/issues/25
https://github.com/DiamondLightSource/python-artemis/issues/18
The GDA/Artemis interaction

Notes that we learnt from previous testing:

We should use a different file name for each test so that we can find out what happened more easily after the fact
We should make better notes of what each test is doing, what we've changed etc. (is there a good way to do this and put it in the log itself?)

Testing was performed on the beamline today. The following issues were found:

Setting hostname - https://github.com/DiamondLightSource/python-artemis/issues/33
GridScanCompleteStatus failing https://github.com/DiamondLightSource/python-artemis/issues/34
GDA thinking Artemis has finished when it hasn't - https://github.com/DiamondLightSource/python-artemis/issues/35
The meta file name is not changing - https://github.com/DiamondLightSource/python-artemis/issues/36

@bentom08 can you confirm above matches your memory of issues found in testing?


Downgrading PMML-4_4 to PMML-4_3

Hi,
I have made a lightGBM model and converted it to a PMML using the jpmml-lightgbm library.
The output file contains .
The issue with this is that I was trying to import this model file into a software that only accepts "http://www.dmg.org/PMML-4_3" versions or lower. I managed to use the org.jpmml.model.example.CopyExample tool but I can only get this to create a file with the latest PMML version.
I was wondering if there is a way to downgrade PMML version.
Kind regards,
Ivan Robles

I was wondering if there is a way to downgrade PMML version.

All JPMML conversion libraries are producing PMML schema version 4.4 documents for about two months now. There's a relevant announcement in the JPMML mailing list: https://groups.google.com/forum/#!topic/jpmml/9sVQSiW52-o
I have no interest/resources in maintaining multiple versions of conversion libraries (one for PMML schema version 4.4, another one for 4.3, etc). If that's a priority for you, feel free to build such a PMML schema version transformer yourself - the JPMML-Model library is a very good starting point for this.
TLDR: Use the latest version from the JPMML-LightGBM 1.2.X development branch:
https://github.com/jpmml/jpmml-lightgbm/releases/tag/1.2.14


BME280 with WICED43907

Hi All,
I have a Bosch BME280 sensor. I am working with Cypress's WICED platform at the moment.
With SPI. I'm tring to get the measurement results from the sensor, but it gaves me 0 as temperature.
I I1m ask back the coefficient the answer:
CHIP ID: 60
_bme280_calib.dig_T1 val: 6F0D
_bme280_calib.dig_T2 val: 6844
_bme280_calib.dig_T3 val: 32
_bme280_calib.dig_P1 val: 91FF
_bme280_calib.dig_P2 val: FFFFD6FF
_bme280_calib.dig_P3 val: BD0
_bme280_calib.dig_P4 val: 1465
_bme280_calib.dig_P5 val: 35
_bme280_calib.dig_P6 val: FFFFFFFF
_bme280_calib.dig_P7 val: 26AC
_bme280_calib.dig_P88 val: FFFFD8FF
_bme280_calib.dig_P9 val: 10BD
_bme280_calib.dig_H1 val: 4B
_bme280_calib.dig_H2 val: 166
_bme280_calib.dig_H3 val: 0
_bme280_calib.dig_H4 val: 148
_bme280_calib.dig_H5 val: 0
_bme280_calib.dig_H6 val: 1E
So it seems there is communication on SPI bus. Maybe calibration mistake?
could somebody help me please?
Many thanks!
Bosch_Sensorboards.zip

@AttilaMak ,
The calibration values seem plausible. I am not sure about the architecture of the processor that you are using, but typically this could be an issue related endianess.
It is recommended to use the API provided where you only have to link at run-time the read, write and delay functions in order to use the complete set of APIs to operate the sensor.
In case you would like to write your own driver, then refer to the integer temperature calculation at line 1011 in bme280.c . Can you also share the raw value read from the sensor. It could be possible that the sensor is not in an active state.

Hi,
Thanks for the answer. You are right I forgot to mention that I checked with the oscilloscope and the answer is 0. So All bits are zero in the answer.  – So that is why I’m thinking about my wrong initialization.
Many thanks in advance!
További szép napot! / Have a nice day!

Attila Mák
Application Engineer – ESC
Arrow Electronics
H-1138, Budapest
Vaci Str 140.
Hungary
Phone: +3612887372
E-mail:  amak<EMAIL_ADDRESS>www.arrow.comhttp://www.arrow.com/ / www.arroweurope.comhttp://www.arroweurope.com/
[Arrow_Global_Logo]
[http://farm1.static.flickr.com/205/492481199_733a0b5929.jpg]    [http://www.concordia.edu/sitefiles/w3/Univservices/web-banner-thinkB4Uprint.png?c=19094]
<EMAIL_ADDRESS>From: Bosch Sensortec<EMAIL_ADDRESS>Sent: Montag, 26. Juni 2017 17:11
To: BoschSensortec/BME280_driver<EMAIL_ADDRESS>Cc: Attila Mak<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [BoschSensortec/BME280_driver] BME280 with WICED43907 (#20)
@AttilaMakhttps://github.com/attilamak ,
The calibration values seem plausible. I am not sure about the architecture of the processor that you are using, but typically this could be an issue related endianess.
It is recommended to use the API provided where you only have to link at run-time the read, write and delay functions in order to use the complete set of APIs to operate the sensor.
In case you would like to write your own driver, then refer to the integer temperature calculation at line 1011 in bme280.chttps://github.com/BoschSensortec/BME280_driver/blob/master/bme280.c . Can you also share the raw value read from the sensor. It could be possible that the sensor is not in an active state.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/BoschSensortec/BME280_driver/issues/20#issuecomment-311088581, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AcQaRFhZlQ813P_5O5-vi6irLd4VSvgwks5sH8nzgaJpZM4OE9e6.


Add embed support and make chat only be able to use chat models

Added support for the embed command to use ollama models as well as removed embed only models like all-minilm and nomic-embed-text from showing up in the list for chat models (since they dont support it)
capability check is from Ollama iteslf and is checked when doing an api call

We broke one of the unit tests with this PR. I've now fixed it and tagged a new release: https://github.com/taketwo/llm-ollama/releases/tag/0.7.0 :tada:


[Event Request] Table 233 - Item Journal Batch - SetupNewBatch() - OnAfterSetupNewBatch()

Hello, would it be possible to have an event "OnAfterSetupNewBatch" in Table 233 - "Item Journal Batch", procedure SetupNewBatch(), Like this :

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Easy ramp up for Node.js by auto-loading CLDR data

We're able to offer an extra level of convenience for Node.js users by auto-loading necessary CLDR data.
Note this code resides in the special file that is only loaded for Node.js environment. So, it has no implications for usage in any other environment.

Auto loading CLDR didn't sound as a good idea. Closing.