Change defender health colour based on % left

Currently defenders have their health showing above their heads in green, we want to change this so that it starts off as a dark green and progresses to yellow and then red. (e.g green = 70%-100% health, yellow = 40%-70%, red = under 40%) though percentages and colours can be tweaked if better colours/values are found.

Hey, I'd like to do this issue. Just to be clear, as far as I can see there is no health bar at all at the moment. Just the health counter in red

Yep! Feel free to pick it up. I was thinking just keeping the health counter and changing it's colour. However, if you'd like to implement a health bar instead you can do.

Just added a healthbar that changes color in 20 increments

@lewisyng would you like to make the same change you made on the enemies to the defenders also?

@Rehaan99 i just added a healthbar to the defenders

There were some bugs in #47, fixed in #48 .


Add RHEL build instructions

@atgreen Thanks for your submission.  We need you to sign your submission in order to merge.

Ok, I'll submit a new PR.  Not sure how to change this one.


[Service Bus] Should IsClosed on the receiver reflect the state of the underlying link?

Library or service name.
Azure Service Bus
Is your feature request related to a problem? Please describe.
In the new Azure.Messaging.ServiceBus library, we have the IsClosed field on the sender and receiver which reflects whether the user has called CloseAsync() on the sender/receiver. The underlying AMQP link can be in a closed state for a variety of different reasons. This issue is to discuss if the IsClosed property should reflect these scenarios as well or not.
Few cases I can think of where this would be helpful:

A send call on a sender that is backed by an open AMQP link will only have to send the message. If the AMQP link was closed, then the send call will also include the work of initializing a new link and then sending the message. This will result in a difference in the time taken by the call and may affect applications that have stricter SLA. Having IsClosed denote this can set up clear expectations. Additionally, a dedicated open() method on the sender can be used to set up the link beforehand. Same applies to the receiver.
When a session receiver loses the lock on a session, every subsequent call on any method on the receiver throws an exception. Having a check on IsClosed may help here? But this is a moot point after #13735

This could be helpful for the case of the session lock being lost. After this exception happens, any operation with the receiver will fail.

We ended up not changing the behavior here. IsClosed only represents whether the user has called CloseAsync or DisposeAsync.

We ended up not changing the behavior here. IsClosed only represents whether the user has called CloseAsync or DisposeAsync.


Feat/pod fix

Codecov Report

Merging #382 into develop will increase coverage by 0.05%.
The diff coverage is 11.11%.

@@             Coverage Diff             @@
##           develop     #382      +/-   ##
===========================================
+ Coverage    28.47%   28.52%   +0.05%
===========================================
  Files           58       58
  Lines         6503     6495       -8
  Branches      1498     1496       -2
===========================================
+ Hits          1852     1853       +1
+ Misses        3327     3321       -6
+ Partials      1324     1321       -3

Flag
Coverage Δ

#rnvunittests
28.52% <11.11%> (+0.05%)
:arrow_up:

Impacted Files
Coverage Δ

packages/rnv/src/systemTools/crypto.js
21.85% <0%> (-0.15%)
:arrow_down:

packages/rnv/src/configTools/configParser.js
45.34% <33.33%> (+0.02%)
:arrow_up:

packages/rnv/src/platformTools/apple/index.js
13.55% <5%> (+0.52%)
:arrow_up:

Continue to review full report at Codecov.

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


Required Fields in Tenent when running TenantTestCase

If you have required fields in you Tenant or Domain models the test will fail as it hasn't got a value. I am working on a fix.

For anyone that stumbles across this now you can add your required fields in the  setup_tenant(cls, tenant) method by subclassing TenantTestCase  like this:
class MyTenantTestCase(TenantTestCase):
    @classmethod
    def setup_tenant(cls, tenant):
        """
        Add any additional setting to the tenant before it get saved. This is required if you have
        required fields.
        :param tenant:
        :return:
        """
        tenant.required_field = 'Value'
        return tenant

For anyone that stumbles across this now you can add your required fields in the setup_tenant(cls, tenant) method by subclassing TenantTestCase like this:
class MyTenantTestCase(TenantTestCase):
    @classmethod
    def setup_tenant(cls, tenant):
        """
        Add any additional setting to the tenant before it get saved. This is required if you have
        required fields.
        :param tenant:
        :return:
        """
        tenant.required_field = 'Value'
        return tenant

You give me faith in humanity.


[Bug]: DeliveriesTable calls DeliveryFunction twice when sorting

Contact Details
No response
What happened?
DeliveriesTable calls DeliveryFunction twice when sorting. It should only call it once. This is observable in the browser Network tab.
Steps to repro:

Log in to ReportStream
Go Daily data
Open network tab in browser
Click "Available" column header to sort
Check Network tab, should see two identical calls were made

Background
It looks like there's an issue with the usePagination hook: on every sort-by-column operation, there are three actions dispatched:
RESET
PROCESS_RESULTS
PROCESS_RESULTS
The first PROCESS_RESULTS has an empty results payload and a different cursor.
Should just be DeliveriesTable and SubmissionTable (we think). It may require a bit more rework to make sure the dispatched events are coming through correctly.
Version
1.0.2 (Default)
What browsers are you seeing the problem on?
Firefox, Chrome, Safari, Microsoft Edge
Relevant log output
No response
Acceptance Criteria

[ ] When sorting by column on the DeliveriesTable, we should only fire one fetch request
[ ] When sorting by column on the SubmissionTable, we should only fire one fetch request

Code of Conduct

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

Thanks for this @arnejduranovic! Will triage this next week and find a spot for it in our queue.

Useful docs for whomever picks this up: https://beta.reactjs.org/apis/react/useCallback#preventing-an-effect-from-firing-too-often

Per @stephenkao There are two delivery requests, but one has a cursor of 2000 and the other of 3000, so they are not identical. But we shouldn't be sending two requests anyway.

@stephenkao When you have finished your investigation, come in and fix up this ticket and let me know. And then we'll put it up for backlog refinement.

Just did a bit of investigation, and it looks like there's an issue with the usePagination hook: on every sort-by-column operation, there are three actions dispatched:

RESET
PROCESS_RESULTS
PROCESS_RESULTS

The potential issues I see here are that 1) we should only be firing one event and 2) the first PROCESS_RESULTS has an empty results payload and a different cursor.
I'm going to mark this as a 3 because it's affecting anything that uses the usePagination hook (should just be DeliveriesTable and SubmissionTable I think?) and it may require a bit more rework to make sure the dispatched events are coming through correctly.

@stephenkao Check out the acceptance criteria I added. Should there be anything more than that?

@chris-kuryak Ah, I just added a bit more detail to make sure we cover both use cases in production.  Thanks for calling this out!

@stephenkao would you be able to provide some more insight into this code in UsePagination.ts:
// Reset the state if any of the hook props change.
    useEffect(() => {
        dispatch({
            type: PaginationActionType.RESET,
            payload: {
                startCursor,
                isCursorInclusive,
                pageSize,
                extractCursor,
            },
        });
    }, [fetchResults, pageSize, startCursor, extractCursor, isCursorInclusive]);

With that dependency array full, useDeepCompareEffect gets called multiple times with the reset cursor 2000 then 3000 but when I dump the dependency array in the above useEffect, useDeepCompareEffect gets called once which is what we're looking for.
My gut says that the above reset function should be called directly when it's needed, and not EVERY time startCursor, isCursorInclusive, pageSize, or extractCursor changes.

@stephenkao would you be able to provide some more insight into this code in UsePagination.ts:
// Reset the state if any of the hook props change.
    useEffect(() => {
        dispatch({
            type: PaginationActionType.RESET,
            payload: {
                startCursor,
                isCursorInclusive,
                pageSize,
                extractCursor,
            },
        });
    }, [fetchResults, pageSize, startCursor, extractCursor, isCursorInclusive]);

With that dependency array full, useDeepCompareEffect gets called multiple times with the reset cursor 2000 then 3000 but when I dump the dependency array in the above useEffect, useDeepCompareEffect gets called once which is what we're looking for.
My gut says that the above reset function should be called directly when it's needed, and not EVERY time fetchResults, pageSize, startCursor, extractCursor, or isCursorInclusive changes.

@etanb I'm as new to this project as you are, so I don't have any additional context over the code :) But I'm happy to pair on this with you -- just let me know!
One thing to note is that our endpoints only return arrays as opposed to objects that would contain helpful metadata specifically about contained entity types and pagination.  SO there's some wonky logic around fetching the first 5-6 pages to render the page buttons in the paginator and then fetching individual pages after that.  This logic may be used to work around that, but I can do some digging later today or tomorrow.  I'll also add a card to propose a payload structure change -- that'd help simplify a lot of this weird pagination logic in the future.


https://fbsonar.com/docs/getting-started.html need to update

As we follow the guide to install with CocoaPods with failure errors. According to the issue #65  the problem can be resolved. Why not we just update the guide page?

Just saw a Pull request for this issue.


Remove linkWithLocale logic from app

[x] Confirm that the new Wix site will not be localized.
[ ] This util was used to pass locales from app to site, it can be removed (if the new wix site isn't localized)

@Atmosfearful

Confirm. Wix supports multilingual by using subdomains – we can build out this functionality later.

Example of utils that need to be removed/updated to no longer inject the ?locale= into the url string


Create python-app.yml

Try this one

Codecov Report

Merging #305 into master will not change coverage.
The diff coverage is n/a.


Build broken on OS X

Following the instructions in the contribution guidelines, I received the following error when I ran gulp watch:
$ gulp watch

fs.js:549
  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
                                                  ^

Error: ENOENT: no such file or directory, open '/Users/dem/proj/vscode/node_modules/gulp-tsb/lib/typescript/lib.d.ts'
    at Error (native)
    at Object.fs.openSync (fs.js:549:18)
    at Object.fs.readFileSync (fs.js:397:15)
    at new DefaultLibScriptSnapshot (/Users/dem/proj/vscode/node_modules/gulp-tsb/lib/builder.js:354:32)
    at Object.createTypeScriptBuilder (/Users/dem/proj/vscode/node_modules/gulp-tsb/lib/builder.js:29:44)
    at Object.create (/Users/dem/proj/vscode/node_modules/gulp-tsb/lib/index.js:28:28)
    at createCompile (/Users/dem/proj/vscode/gulpfile.js:43:15)
    at compileTask (/Users/dem/proj/vscode/gulpfile.js:74:16)
    at Object.<anonymous> (/Users/dem/proj/vscode/gulpfile.js:100:47)
    at Module._compile (module.js:435:26)

I resolved the error by:

Creating the ~/proj/vscode/node_modules/gulp-tsb/lib/typescript/folder, which was missing:
cd ~/proj/vscode/node_modules/gulp-tsb/lib/
mkdir typescript

Copying ~/proj/vscode/out/vs/languages/typescript/common/lib/lib.d.ts into that new typescript folder:
cp ~/proj/vscode/out/vs/languages/typescript/common/lib/lib.d.ts ~/proj/vscode/node_modules/gulp-tsb/lib/typescript

Additional information:

I didn't have mocha or gulp installed before trying to build Visual Studio Code
This is on the master branch
I'm able to duplicate this error every time I clone a new copy of the repository

If there is any other information you need, I'm happy to help!

The problem exists on other platforms too, probably due to https://github.com/jrieken/gulp-tsb/commit/e758da462e4ff2749db3b347e88252c119473a33

I see it fixed with https://github.com/Microsoft/vscode/commit/92cba7e9fe78c87fa10a4931657d86be66123c96 and https://github.com/Microsoft/vscode/commit/b71ce1948a88eeed6aa84d4eab46e16d49de0c0d

This should work now, we follow the same steps during development, pls reopen if it still doesn't work for with the latest code.


Terminal Remains Interactive During Logging Process in Workspace/Project Creation

Describe the bug
During the creation of a workspace or project, users are able to interact with the terminal by typing while the logs are being displayed. This behavior is unexpected, as the terminal should become non-interactive once the logging process is underway.
To Reproduce
Steps to reproduce the behavior:

Initiate a request to create a workspace or project. daytona create
Observe the commencement of the creation process and the subsequent display of logs(creation process).
Attempt to input text into the terminal while the logging process is active.

Expected behavior
The terminal should disable interactive input during the logging phase of the workspace or project creation process to prevent user interaction.
Screenshots
Screencast from 09-18-2024 07:30:18 PM.webm
Desktop (please complete the following information):

OS: Pop!_OS
Terminal: Alacritty
Daytona Version: 0.32.0

Additional context
The terminal remains interactive during logging in Daytona 0.32.0 on Pop!_OS with Alacritty, causing potential user input issues.

Hi @bryans-go !
First of all, thanks for contributing to Daytona as well as raising this issue. Things like this mean a lot to us.
Regarding this issue, I've checked this out and tried different approaches on how to implement this but all were in vain.
A conclusion was made that this terminal behavior that you've reported is a default terminal behavior which is the same when you use git or docker for example.
With that in mind alongside the fact that it is quite messy when trying to intervene in how terminal behaves, we are not eager to move forward with this.
If you rather have a solution in mind (or, better, prepared), we are more than open to hear you out.
Otherwise, we are inclined to close this issue.

@lbrecic To stop people from typing in the terminal while logs are showing, We can temporarily turn off os.Stdin to block input, and then turn it back on after. Also, we can add a spinner to show the process is still running. This helps avoid issues during the creation.

@bryans-go already tried with turning os.Stdin off, didn't work. If you have the time, try for yourself and present a feasible solution, why not

This issue was closed due to a conclusion that this terminal behavior is default and we're currently not going to deal with implementing a custom behavior.
As a sidenote, this was  partially made a bit cleaner with #1191 but, at least for now, that's all regarding this.

@lbrecic One way to do this can be viewport. we can implement viewport from "github.com/charmbracelet/bubbles/viewport"


Added support for Equality-based and Set-based requirements for App Label

What this PR does / why we need it:
App Label can be used:

=
==
!=
in
notin
exists

fixes: #334
It supports all the standard kubernetes labels. For more details refer.
Special notes for your reviewer:
Have tested with labels.
Engine Specification
spec:
  appinfo:
    appns: 'sock-shop'
    applabel: 'app, name in (sock-shop, catalogue)'
    appkind: 'deployment'
  annotationCheck: 'true'
  engineState: 'active'
  chaosServiceAccount: litmus-admin
  monitoring: true
  jobCleanUpPolicy: 'retain'
  components:
    runner:
      imagePullPolicy: Always

Workflow result:
custom-chaos-workflow-1615274891   Succeeded   52m

Checklist:

[ ] Fixes #
[x] Labelled this PR & related issue with documentation tag
[ ] PR messages has document related information
[ ] Labelled this PR & related issue with breaking-changes tag
[ ] PR messages has breaking changes related information
[ ] Labelled this PR & related issue with requires-upgrade tag
[x] PR messages has upgrade related information
[ ] Commit has unit tests
[ ] Commit has integration tests

/run-e2e

/run-e2e-all


Link from banner on website in some places is broken

Issue details
Clicking banner "libGDX" redirects to 404 error page. It only occurs in some places. (all sim)
Reproduction steps/code
10/10 reproduction rate

Go to main page (https://libgdx.badlogicgames.com/index.html)
Click “Documentation”
Click “Setting up”
Click on "libGDX" banner on the top
404 error should appear

Environment
Brave (Version 1.9.76 Chromium: 81.0.4044.138 64-bit)
Firefox (76.0.1 64-bit)
Affected platforms
-Windows 10 (10.0.18362)
Probably all platforms are affected.

Still not working after the fix unfortunately

Are we sure that the site was redeployed?

Good question, how can we know?

The fix should work. I don't know how to redeploy.

It was missing in another place. Redeployed, should be good now. @obigu you can check Jenkins for last time that job ran


docs Animated Transitions migration to v2

#5279
motivation
I have idea as fade in fade out. if Routes Component has any  conponents.

import * as React from 'react';
import { Route } from 'react-router-dom';
import { Switch, withRouter } from 'react-router';
import { TransitionGroup, CSSTransition } from 'react-transition-group';

import Landing from '../CommonLayout';
import Page1 from '../Page1';
import Page2 from '../Page2';

import routes from '../../config/routes';

class Routes extends React.Component {
  render() {
    return (
      <div>
        <CommonLayout />
        <div
          id="main_page"
        >
          <Route
            path="/"
            render={({ location }) => (
              <TransitionGroup appear>
                <CSSTransition
                  classNames="fade"
                  in={false}
                  key={location.key}
                  timeout={{ appear: 3000, enter: 3000, exit: 3000 }}
                >
                  <Switch location={location} key={location.key}>
                    {/* Page1 */}
                    <Route
                      exact
                      path={routes.page1}
                      render={() => <Page1 />}
                    />
                    {/* Page2 */}
                    <Route
                      exact
                      path={routes.page2}
                      render={() => <Page2 />}
                    />
                  </Switch>
                </CSSTransition>
              </TransitionGroup>
            )}
          />
        </div>
      </div>
    );
  }
}

export default withRouter(Routes);

.fade-enter {
  opacity: 0;
  transform: translate3d(0, 0, 0);
  position: absolute;
  top: 0;
  left: 0;
}

.fade-enter.fade-enter-active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 1000ms ease-in 1000ms, transform 1000ms ease-in-out 1000ms;
}

.fade-exit {
  opacity: 1;
  position: absolute;
  top: 0;
  left: 0;
  transform: translate3d(0, 0, 0);
}

.fade-exit.fade-exit-active {
  opacity: 0;
  transform: translate3d(0, 0, 0);
  transition: opacity 1000ms ease-in, transform 1000ms ease-in-out;
}

Please submit a PR.


Kibana crashes when opening dashboards

When I open one of your dashboard templates my kibana crashes with the following messages:
Version: 6.2.2
Build: 16588
Error: Uncaught TypeError: gaugeTypes[_this.gaugeConfig.type] is not a constructor (http://<IP_ADDRESS>/bundles/vendors.bundle.js?v=16588:12)
    at window.onerror (http://<IP_ADDRESS>/bundles/commons.bundle.js?v=16588:21:468094)

What version of ELK are you running

Oh, 6.2.2 isn't supported yet.  Still on 5.6.

Oh, ok. May you know a workaround or where to look to get it running on 6.2.2?

Planning to work on upgraded version next month.  It shouldn't be too much to convert. Feel free to give it a shot and submit your changes.  Would be a big help


General server lag on LivingUpdateEvent.

We're using forge-1.10.2-<IP_ADDRESS>9-universal.jar and cyberware-1.9.4-1.10.2-beta-0.2.2.jar.
It appears lots of LivingUpdateEvent handlers from the mod are using 1.5% of CPU with only 2 players online and no special modifications of them.
According to profiler results, handlers are created redundantly for each effect with what appears to be fairly slow filtering.
Also, the muscle upgrade handler actively tries to remove attributes even if they are already removed which cause CPU (and in some cases NETWORK) lag.

Thanks for the report. I'll look into ways to decrease this lag.

Could you tell me if the newest build resolves these issues? Thanks!

The related modpack was removed as it accumulated too many issues.
I did a quick comparison between 0.2.2 and 0.2.3, the latest is more efficient and seems to address the original issue.

Sounds good. Thanks for the help!
If you find the issue persists down the line let me know.


[Bug] npm install freeze on docker build

Describe the bug
I encountered an issue where npm install freezes on the dependency color-name. Despite trying several solutions, the installation process remains stuck, preventing further progress.
How To Reproduce
Steps to reproduce the behavior (example):

Clone the repository and navigate to the project directory.
Run docker-compose build
During the build process of devika-frontend-app , observe that npm install hangs on "color-name"

Expected behavior
The npm install command should complete successfully without freezing on any dependency, allowing the Docker image to be built properly.
Screenshots and logs
npm install --legacy-peer-deps --verbose
[...]
npm http fetch GET 200 https://registry.npmjs.org/color-name 99ms (cache miss)

Configuration
- OS: Linux (WSL 2 on Windows)
- Python version: 3.10
- Node version: 20.14.0
- bun version: 0.1.0
- search engine: npm registry
- Model: not applicable

Additional context
I have tried the following solutions:

Updating the Dockerfile to use the latest version of dependencies.
Cleaning the npm cache and setting the registry to https://registry.npmjs.org/.
Attempting to bypass the problematic dependency color-name by setting up npm configurations and registry changes.

Despite these attempts, the installation process still freezes on color-name. Any assistance or guidance on how to properly configure the npm installation to avoid this issue would be greatly appreciated. Thank you!

What was the solution to this? I'm encountering the same problem on Windows builds.


Providing control over which files are signed

My OS X app includes an iOS .app inside of it (the OS X app is a developer tool that lets people install the iOS app on the iOS simulator for development). I sign the OS X app using electron-packager by passing in 'osx-sign': { identity: 'Developer ID Application: Organization (AAAAAAAAAA)' }, which seems to work fine until electron-osx-sign discovers the iOS .app in my app's resources and tries to sign it.
I looked through the code and didn't see a way to control if a file gets signed or not. What kind of API do you think would be good to provide this feature?

Hi @ide! As previously electron-osx-sign only signed binaries that come with Electron, it presented several shortages where file binary files fail to be discovered while signing. However, now I think a discussion may be quite useful to determine whether auto-discovery/code-signing of included .app packages under Contents/Resources should be included (those under Contents/Frameworks staying with a same method). Then we could manually list those .app within the Resources folder to be signed.
What do you think? Will this in some way ease the issue?

That's work for me. Alternatively, a "shouldSign" function that receives the path of each binary and returns true or false would work.

@ide, sounds good. I'll have a think on implementing a filter function to which all links will be passed to.


OSerror

when I run python main.py, have the error OSError: datasets/kitti/train/2D_rrc_Car_val\0000.txt not found.   at line 147  .
How can I solve the problem?

Hi, I have the same problem, how did you solve it?

Hello
I guess you are running the code in Ubuntu, but it seems the author ran the code in windows. Thus the folder path has some difference in ubuntu and windows
You can go to line 17 of file_operation/file.py
Change "position = detections_root + "" + detections_file" to "position = detections_root + "/" + detections_file"


contact info init

Closes #2242

Coverage increased (+0.1%) to 68.403% when pulling ecfe4ca41c025e3237b8a924c2a7927d0a3177ee on na3d:company-info-init into f660ca16bc158ec9c6af34796aaf84f298214aa3 on linode:develop.


Support a dummy test app for better tests

Add a better dummy app both for better tests and for demonstration of Shakapacker features.

Original discussion: https://github.com/shakacode/shakapacker/issues/122#issue-1243417499

Implemented in #299


resume problem

When the training process is resumed from a checkpoint, the learning rate will be the base LR until the end of the training.
Is it a bug in the code, or I made some mistakes?
The command is like this:
CUDA_VISIBLE_DEVICES=0 python ./tools/train_net.py --config-file ./configs/#.yml --resume  MODEL.WEIGHTS ./logs/#.pth

Which LR scheduler did you use?
There is a bug exactly in DelayedCosineAnnealingLR and we have fixed it but not update yet.
In recent days, we are trying hard to work for DistributedDataParallel, we will update new features and fix bugs maybe next week as a version update.

I used DelayedCosineAnnealingLR.
Thanks for the updates.


Fixed binary file generation problem in windows

If don't specify the output file manually, the binary file will be generated without the .exe suffix in Windows
This PR mainly solves this problem

I don't know what's wrong with CI

main is failing; working on it.
I'll re-run your PR once it's fixed.

I have cleaned all the commit

I have nothing to do with this CI failure(The CI failure I caused earlier has been resolved)

Sorry, I did something wrong.


Quaternions package

Depends on #111

Use let if locals aren't modified.
Same thing about quat(
Add unit tests

QuaternionsTests package was added.

Use let if locals aren't modified.
Same thing about quat(
Add unit tests

Done.

.assertEquals function for quaternion was moved into Quaternions package.
.assertEquals functions for vec3 and mat3 were deleted according to dependence on #111
Added functions angle.toQuat and quat.toMatrix. Added test functions according the new ones.

Requirements have been met. I believe I won't add anything new.

Good stuff so far, a few points:

you return raw angle values instead of angle tuples from certain functions. Might not be easily solvable, but at least define whether it's in rad or deg.
Add a gimbal lock detection e.g. getGimbalPole()
Add exp func see https://en.wikipedia.org/wiki/Quaternion#Exponential,_logarithm,_and_power_functions

you return raw angle values instead of angle tuples from certain functions. Might not be easily solvable, but at least define whether it's in rad or deg.

But there are no functions that return an angle. There are only 2 functions in the package which return real. First is .length that is not related to angles. Second is .dot but dot product of two quaternions is not the angle, it's cos of half the angle between two rotations hence it will be incorrect to keep dot product in such container as angle.

toEuler..

Which is one function and it returns vec3 but ok I'll add information in hotdoc.

yes, and the x,y,z values of that vector are raw angles..

Yea, good stuff. I would probably name the File just Quaternion since it doesn't hold multiple datastructures like vecturs/matrices.

Took thought about adding .exp

Quaternion.exp(real alpha) returns Quaternion
Doesn't require logarithm, just pow which exists.
As for the others, there of course are logarithm libraries in Jass, but you're right, nothing native, so I think exp should suffice. When a PR for log is added, it can always be added later.

there of course are logarithm libraries in Jass

Which may be not the best solution just because Jass is slow. May be it would be better to ask Blizzard to add log native.
Anyway, I don't think there's a case in Wc3 that would require the whole range of quaternion functions.

Doesn't require logarithm, just pow which exists. it just calculates quat^alpha, where alpha is a real.

Yep, that's done. So, is there any requirement left?

May be it would be better to ask Blizzard to add log native.

Good luck with that.

Yep, that's done. So, is there any requirement left?

Implementation could be improved I think, but other than that I think nope.

Very nice 🍬


Bug change BlockSerializer from unique_ptr to object

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

run buildall

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 44.84 seconds
stream load tsv:          511 seconds loaded<PHONE_NUMBER>9 Bytes, about 139 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          29.3 seconds inserted 10000000 Rows, about 341K ops/s
storage size:<PHONE_NUMBER>7 Bytes


Add additional items to billing/v2

This will allow us to remove billing/v1 once console has moved
I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

Java PR build succeeds. C++ is being run for some reason, and fails.


Updated README.md - fixed typo in classname

Classname to extend should be FormRequest according to the semantics in the text description below.

Thanks!


sap.m.Form layout issue in IE

We have a requirement to build a form where there is only one FormContainer. And this appears correctly in Chrome but not IE. This problem goes away when we use more than one FormContainer, but we can't always use this approach with some of our interfaces.
OpenUI5 version:
Latest
Browser/version (+device/version):
IE11 & Edge Browser
Any other tested browsers/devices(OK/FAIL):
Chrome - perfect
URL (minimal example if possible):
https://gist.github.com/srenwickblum/ab117e7e579e43f9b631fa6e030bb7f8
Steps to reproduce the problem:

Just render the example gist above,

What is the expected result?
In IE it appears as if the addition of controls adds too much padding and causes unwanted wrap.
What happens instead?
Referring to the attached example the addition of select1 combo box causes the layout problems.
Any other information? (attach screenshot if possible)
Desired (as it looks in Chrome)

Not Desired (IE)

@srenwickblum You need to set linebreak for each Label control's GridData that is set implicitly.
https://jsbin.com/lutajovufa/1/edit?html,output Or you can skip setting the GridData, where controls will use the layout of the form.
If you are interested in having other layout, please check the available samples https://openui5nightly.hana.ondemand.com/#/sample/sap.ui.layout.sample.Form354wideDual/preview

Thanks stephania87, this appears solve our immediate problem.


points.js commands regexes need to pass their tests

The regexes for some of the commands in this file currently fail our standards for our already-implemented tests. We need the command's string to only be triggered if the word OR phrase itself is used in a message, otherwise it will accidentally be triggered by unrelated messages in the chat.
An example of a regex that passes all of the necessary test is our  /notes command .
Once you begin fixing the regex, you may ensure the regex passes all necessary requirements by running npm test commandName.test.js in the terminal. A passing output will look like this:

Once you have a passing regex, our pre-push hook will not allow you to push your commit because the other commands currently do not pass their respective tests. To circumvent our pre-push hook, please push your changes using git push --no-verify, then make your pull request.
ACCEPTANCE CRITERIA:

[ ] The fixed regex passes all regex-related tests
[ ] The snapshot tests all pass and are not made obsolete by the new regex

Hi, I’d like to do this 🤓

Hi, I’d like to do this 🤓

@jingjing142 Thank you! There are multiple commands in this file, so be sure to work through them one by one and toggle the other test suites on and off as you do. :D

@jingjing142 Thank you! There are multiple commands in this file, so be sure to work through them one by one and toggle the other test suites on and off as you do. :D

Closed with #98


Error on using an NFS mounted directory for volume mapping

I am using microsoft/mssql-server-linux latest tagged docker image to run mssql server container. It is running fine when i map a host dir inside container with -v option. For some reasons like growing database size and swarm i do not want to persist data onto my docker host. Instead i have a NFS mounted dir on the docker host which will be mapped as a volume inside container. Now when i do that my container does not starts and gives following error.
2017-08-18 12:09:49.33 spid5s      Starting up database 'master'.
2017-08-18 12:09:49.34 Server      Software Usage Metrics is disabled.
2017-08-18 12:09:49.49 spid5s      Error: 17204, Severity: 16, State: 1.
2017-08-18 12:09:49.49 spid5s      FCB::Open failed: Could not open file /var/opt/mssql/data/master.mdf for file number 1.  OS error: 87(The parameter is incorrect.).
2017-08-18 12:09:49.49 spid5s      Error: 5120, Severity: 16, State: 101.
2017-08-18 12:09:49.49 spid5s      Unable to open the physical file "/var/opt/mssql/data/master.mdf". Operating system error 87: "87(The parameter is incorrect.)".
2017-08-18 12:09:49.64 spid5s      Error: 17204, Severity: 16, State: 1.
2017-08-18 12:09:49.64 spid5s      FCB::Open failed: Could not open file /var/opt/mssql/data/mastlog.ldf for file number 2.  OS error: 87(The parameter is incorrect.).
2017-08-18 12:09:49.64 spid5s      Error: 5120, Severity: 16, State: 101.
2017-08-18 12:09:49.64 spid5s      Unable to open the physical file "/var/opt/mssql/data/mastlog.ldf". Operating system error 87: "87(The parameter is incorrect.)".
I have given full access rights to all the mdf and ldf files to see if that is the problem but no help there.
I am running container like below
docker run -it -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=no password here' -p 1433:1433 -v /var/nfs/database/data:/var/opt/mssql/data microsoft/mssql-server-linux:latest
where /var/nfs is a NFS mount on the host output of df -h -T is below.
SomeIp:/var/nfs nfs4      443G   47G  375G  11% /var/nfs

This is a known issue in RC1/RC2.  Please use :ctp2-1 for now. The issue is fixed and will be available in the next public release.

@upadhyayap - This issue should be fixed by pulling the latest mssql server Linux image:
[microsoft/mssql-server-linux] (https://hub.docker.com/r/microsoft/mssql-server-linux/)

@twright-msft @perrysk-msft yes this issue is resolved with latest image. Thank's a lot.


LAMMPS atom writer makes assigning unique IDs to chemically-identical molecules impossible

Description
I am trying to use Interchange to generate LAMMPS input files for some large polymer systems, which consist of many repeated-and-translated copies of oligomers, plasticizers, and solvent water molecules. I've found that in every case, a unique molecule ID in the atoms table section of the resulting LAMMPS file is only generated for each distinct Molecule chemistry, rather than for each individual Molecule in the Topology.
Some further digging reveals that the culprit is a speed-up update to the LAMMPS valence writers, in particular the _write_atoms() function, which generates molecule IDs from a chemical table hash of each molecule, allegedly to bypass an extra toolkit wrapper conversion step. This molecule CTAB hash, in turn, is only based on basic chemical info of the atoms and bonds in the Molecule object (namely atom symbols, formal charges, stereo, and bond orders).
The consequence of this is that any distinct Molecules with identical chemical tables in the same Topology will unavoidably assigned the same molecule ID in the atoms table when writing to LAMMPS
Reproduction
This turns out to affect even really basic systems, such as a box filled with nothing but water.
To illustrate, one could take the waterbox.pdb file found here and execute the following code:
from pathlib import Path
from openff.toolkit import Topology, ForceField

waterbox_path = Path('waterbox.pdb')
watertop = Topology.from_pdb(waterbox_path)

ff = ForceField('tip3p.offxml')
winc = ff.create_interchange(watertop)
winc.to_lammps('water.lammps')

Output
All atoms in the resulting water.lammps file will be labelled with molecule ID 500 (the number of unique water molecules in the Topology), rather than unique IDs from 1-500.
Solution
The simplest solution from my point of view is to salt the molecule ID hash in _write_atoms()  with the molecule ID to ensure distinct molecules with identical CTABs are hashed as such. This would look something like (interop/lammps/export/export.py, lines 296-300):
    for molecule_index, molecule in enumerate(interchange.topology.molecules):
        molecule_hash = hash(f'{molecule_index}_{molecule.ordered_connection_table_hash()}') # salt with mol ID
        molecule_map[molecule_hash] = molecule_index
        for atom in molecule.atoms:
            atom_molecule_map[atom] = molecule_hash

I've tested on my machine (via manual source code edits in a conda env) that this circumvents the non-uniqueness issue, and have put together a simple PR to do exactly this.
Software versions

OS: running on Linux Ubuntu 20.04.6 LTS
Installed OpenFF Toolkit (0.15.2) and Interchange (0.3.23) via mamba, though the offending portions of code are still present in the most recent versions on GitHub.

I was just working on this very issue and this seems to prove it's not isolated since it persists within interchange.to_gromacs as well. A broader solution may be necessary to fix this (i.e. somewhere in interop instead).

Thanks @timbernat for the great writeup and quick PR. Matt is on a much-needed vacation right now so I'll help polish up the PR but his final review won't come until next week :-)

We're pretty sure this is fixed in #1000, which I expect to include in 0.3.28


Defining extern-c functions and how cast works

When I define a c function, i would do it this way:
(def cSomeFunction (fn extern-c void ((x int)))) ;the original c function

(def T (struct intern ((a int)))) ;my own type for parameter

(def some-function (fn extern-c void ((x T)) ;the better typed version of the c function
  (cSomeFunction (cast x T)))

When T has the same bit-representation as the type in the c function, this also works:
(def cSomeFunction (fn extern-c void ((x T))))

This normally should work for struct types with a single field.
Another example where the first version works is casting array pointers:
(def cSomeFunction (fn extern-c void ((x (p int)))))

(def some-function (fn extern-c void ((x (p (array-of 2 int))))
  (cSomeFunction (cast x (p int))))

but the second version by just defining the c-function with the array-pointer-type does not work in this case,
This means the pointer gets automatically converted when casting, but I don't think, it is already documented, when implicit casting occurs.
I think, that number-types don't change their numeric values, while casting, pointer- and array-types automatically (de-)reference values, and other values don't change bit-representation, but it should be documented somewhere, how this works.

I'm not sure I follow why the second version does not work in the second case.  For example:
$ cat test.dt
(def printf
  (fn extern-c int ((str (p (const char))) ...)))

(def strlen
  (fn extern-c size ((str (p (array-of 5 char))))))

(def main (fn extern-c int (void)
  (def s (var auto (array-of 5 char) (array #\a #\b #\c #\d #\NULL)))
  (def x (var auto \ (strlen (# s))))
  (printf "%u\n" x)
  0))
$ ./dalec test.dt && ./a.out
4

That is, the above defines strlen with an array pointer type, and works as expected.
The implicit casting rules are documented in https://github.com/tomhrr/dale/blob/master/doc/1-1-introduction.md, though it's possible that this section is inaccurate in some way.

I know, the implicit casting rules are documented.
I am more interested in the implicit conversion of bit-representation when casting types.
In c int* and 'int[i]' are the same type, but if your example not (array-of i int) but (p (array-of i int)) seems  to work similar to (p int), but when casting an array-type to a pointer, it works, so this will dereference pointer for example.

If I understand correctly: there is no implicit conversion of bit-representation.  The reason (p (array-of i int)) can be cast to (p int) and still work is that the address of an array has the same value as the address of the first element.  The only difference between ($ arr 0) and (# arr) is the type.

but also (array-of i int) can be cast to (p int) but the bit representations are different in that case (one is the pointer value, one is the bit-representaitons of the numbers)
and also when casting float to int for example the bit representation change, because the format of these numbers is different. (even llvm uses different functions for casting only bit-representation (bitcast) or casting between number-types (fptosi))

but also (array-of i int) can be cast to (p int) but I thought the bit representations are different in that case (one is the pointer value, one is the bit-representations of the numbers).

If an array variable is passed as an argument to a core form or another function, including cast, it decays into a (p {type}), pointing to the first element of the array.  The exceptions to this are (should be) the same as in C.

Do you mean, a variable of (array-of i int) and of (p (array-of i int)) are both pointers to the first array element? (that would be weird, because the pointer-type should point to something of the pointed type)

No, not quite.  A variable of (array-of i int) is not a pointer to the first array element, but it does decay into that when it is used, with some exceptions.  The value of its decayed form is the same as the value of taking its address, though the types are different:
$ cat test.dt
(import cstdio)

(def main (fn extern-c int (void)
  (def x (var auto (array-of 2 int) (array 1 2)))
  (printf "%p %p\n" x (# x))
  (printf "%p %p\n" (p+ x 1) (p+ (# x) 1))
  0))
$ ./dalec test.dt && ./a.out
0x7fffffffeab8 0x7fffffffeab8
0x7fffffffeabc 0x7fffffffeac0

This is why the cast in the original second example works: the pointer-to-array can be cast to a pointer-to-first-element-of-array, and work as expected, without any change to the bits.

and also when casting float to int for example the bit representation change, because the format of these numbers is different. (even llvm uses different functions for casting only bit-representation (bitcast) or casting between number-types (fptosi))

Right, I see what you mean now in this respect.  I'll look at adding a separate section to properly document how things are cast.


In-place modification of operations in the queue

In addition, it feels hacky to pull ops out of the queue just to update return_type, then put them right back. There are three potential solutions, which differ in scope:

Re-think the queuing behaviour across the board (probably too hard)

Remove queuing from just observables (since it is not needed), and have the expval/sample/var functions perform the queuing

See if it's possible to find and update the observable in the queue, without removing it?

I'm thinking option number (2) is preferable.
Originally posted by @josh146 in https://github.com/XanaduAI/pennylane/issues/161#issuecomment-540121666

@smite noted in a PR that queuing of observables prior to calling the measurement function has one advantage: it provides validation and allows us to raise an error if an observable is used like a quantum operation. Otherwise, option (2) would cause observables within the operation queue to go 'un-noticed' and do nothing.
Option 3 (modifying in-place) would in that case be preferable.

Another related issue is that currently some Observables are also Operations, PauliX for example. I think it would be cleaner to split it into two classes, PauliX_as_a_gate and PauliX_as_an_observable. This has the advantage that every Observable instance would be an actual observable, and the queuing would get simpler.

As the API is laid out right now, you won't be able to do option (2) simply because of what @smite mentioned. As the measurement functions (e.g. qml.var) are called after the initialization of the Observable, we simply can not know at the time of initialization if a PauliX is used as an Observable or an Operation.
Note that I am still against having PauliX and PauliXObservable as separate entities because this will make no sense to the user.
Now on to what we can do: Actually, the operation would already be modified in place if they were not taken out of the queue. So what if we just queue all Operators in one queue and do all sanity checks that can sensibly be done at that point. Then, after the qfunction is executed, we sort the operators and observables into separate queues and do the additional sanity checks. This would make the measurement functions far easier, because they only come down to setting a return_type. And the triage happening after the function makes a lot of sense because this is the point where we have access to that information.
This is a small change and I quickly cooked it up, please have a look at PR #391
There are still 80 failing tests, due to tensor reasons. I think it is a little bit weird that Tensor observables don't queue. I did not closely follow the implementation, but I would have expected that the Tensor operation queues itself and removes its constituent operations from the queue at the same time.

@johannesjmeyer, I believe this is now solved after merging #548, let me know if this is not the case.

This is not "solved" in my opinion. It will only be (in my opinion) after the delete from queue / reinsert logic is removed from the measurement functions.

From: Josh Izaac<EMAIL_ADDRESS>Sent: Wednesday, March 25, 2020 6:10:19 AM
To: XanaduAI/pennylane<EMAIL_ADDRESS>Cc: Johannes Jakob Meyer<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [XanaduAI/pennylane] In-place modification of operations in the queue (#360)
@johannesjmeyerhttps://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjohannesjmeyer&data=02|01||dcbc5e49aac34087c4c108d7d07ad106|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637207098220528977&sdata=wKcDjQM6ym3GjVWmdHvsNdpNHaV%2BILbGhQfbh9LaNaU%3D&reserved=0, I believe this is now solved after merging #548https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FXanaduAI%2Fpennylane%2Fpull%2F548&data=02|01||dcbc5e49aac34087c4c108d7d07ad106|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637207098220528977&sdata=XudJXlZpKcehfKv5355YGf%2B0%2B4zN%2Bgd7Fn65gJMfCPs%3D&reserved=0, let me know if this is not the case.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FXanaduAI%2Fpennylane%2Fissues%2F360%23issuecomment-603643927&data=02|01||dcbc5e49aac34087c4c108d7d07ad106|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637207098220538971&sdata=F5hsYGD%2F5jkZ%2BfIGNz02INRB%2Fvp18Ckzp%2Frg%2BGKDseM%3D&reserved=0, or unsubscribehttps://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FALFXWIH53GP3WJ47KSDA5PDRJGG3XANCNFSM4JCISE3Q&data=02|01||dcbc5e49aac34087c4c108d7d07ad106|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637207098220538971&sdata=GjNTCdD7sWK3ZK7D6tQ3UJQ1CLFWMmRKUGoQ0aOydBU%3D&reserved=0.


Need to be able to publish schema files from specification repo

OTEP 0152 introduces the notion of schema files that need to be published at some canonical location for OpenTelemetry schemas. The OTEP proposes to use https://opentelemetry.io/schemas/ as the location for OpenTelemetry schema files.
The schema files are plain YAML file that should be published as is. The source of truth, the original content of the schema files will be in the specification repo, so that it is precisely tied with the version of the specification.
We will need to publish one schema file per each version of the specification.
I am looking for a solution to do that publishing here, in this repository, so that the schema files become available at https://opentelemetry.io/schemas/ and I need maintainer's advice on how they think we can achieve it.
Ideally it should be fully automated, so that whenever a new specification release is made the schema file is automatically published at https://opentelemetry.io/schemas/, however I think we can also settle for a semi-automated approach, since the publishing needs to happen monthly and provided that it is easy to do, it is not going to require much efforts or maintenance.
Once the schema files are published they never change, they are immutable.

@flands @mtwo @austinlparker I need your advice on this. Does website SIG do regular meetings? I can join to discuss if you prefer that.

We have meetings every two weeks, so if you want to show up next week then we can chat about it there.
From a technical side it's pretty straightforward though, we can create a static directory that serves to whatever path then use the same automation that's available to sync changes between the language repos into the website to sync that on a manual trigger or on a release of the spec.

The meeting is on the public calendar, it's 'Communications SIG' on every other thursday

@austinlparker Thanks for confirming this is possible. I will join the SIG meeting next week and in the meantime I will try to put together a draft PR that does what you described.

@austinlparker can you point me to the current automation that syncs the changes?

Sure thing, here's an example in the Java repo: https://github.com/open-telemetry/opentelemetry-java/blob/main/.github/workflows/docs-update.yml
Essentially you just need a source directory (on the spec side) and a target directory (on the website side), then the script will rsync one way from the source to the target on command/trigger.
It would be nice if we could get a bot user for these actions that had permissions across repos so we wouldn't have to use my PAT, but we're using my PAT for now.

@austinlparker so, just to clarify:

In the https://github.com/open-telemetry/opentelemetry-specification repo we will put the source files in some directory, e.g. /schemas, so /schemas/1.4.0 will be a YAML file containing the schema for specification version 1.4.0.
In this repository we will have all schema files in /static/schemas/.
When a new version of the specification is planned to be released the corresponding new YAML file should be already created https://github.com/open-telemetry/opentelemetry-specification repo, under the /schemas directory. This is a pre-requisite for spec release (and we can automate verification of this pre-requisite in the future).
The https://github.com/open-telemetry/opentelemetry-specification repo will have a manually triggered github action that creates a new commit from /schemas and pushes it to this repo as a new PR (similar to what we already have for Java).
Immediately after a new specification release the github action will be triggered manually by the person who does the spec release, as a result a PR will be created in this repo and once the PR is merged the new schema file will become available at https://opentelemetry.io/schemas/<version> (deployed via Netlify).
In the future we can automate the process a bit more so that the PR is created automatically when the spec release is made without requiring manual triggering, and possibly also merge the PR automatically if it passes the build.

Does this sound right?

Yeah, that all sounds right. There might be an extra piece of config on this side to expose /schemas but I think it should just work as long as /static/schemas/ exists.

Just as an FYI Tigran I'm moving house this week so my access will be limited from tomorrow until next Monday, in case we're trying to time this with something else. I'll try to keep an eye on things though.

@austinlparker thanks, no rush. We need to publish the first file for 1.4.0 spec release which is still 3 weeks away, so we have plenty of time. And for the very first release we can even do it completely manually, so it shouldn't be a problem.


Update README.md

@deep-diver could you provide me with the original figure that compares different cluster configurations and performance?

@sayakpaul
here is the link!

https://i.ibb.co/NjFp3m9/fastapi-load-test-results.png


enable docker autobuild for base image

@jimhester can I request to use Docker Autobuild from my docker hub account for r-lib?
I'd like to automatically build actions/Dockerfile on every commit, which is now the "base" image for all actions.
I'm currently just pushing to Docker hub by hand, so this isn't urgent by any means.

(I wasn't sure whether the supplied GitHub actions to push to Docker Hub were safe to use; their Auth action seems to store the password in plaintext or something -> https://github.com/actions/docker/issues/20)

actually, this is obsolete.
To get proper github caching support, one must use the github actions actions builder, which writes out all sorts of refs as docker tags.


fracline and sqrt line missing when fontsize change

version: 0.9.0-alpha2
OS: macOS10.12.6
browser: chrome
example: \dfrac{a}{ \sin A}=\dfrac{b}{ \sin B}=\dfrac{c}{ \sin C}

I don't even see the sqrt symbol.  @nyiuang can you link to a page with this and provide more details about what font size is causing the issue?  Please note that #1025 was merged recently and should fix the issue with the disappearing fraction lines.

sqrt line missing:
20px:

21px:

22px:

examples: \because a-b=\sqrt{2}-1
I find that when the formula's top has some other elements, it may appear this problem, but when the formulas in one line, it doesn't.

I'm also running MacOS 10.12.6.  I wasn't able to reproduce the issue with either \dfrac or \sqrt in Chrome on master.


GKE cluster being recreated occasionally with no changes

From a user on the Pulumi Community Slack:
Yesterday, i recreated a K8s cluster to use some new features from the latest version of pulumi/gcp. After recreating the cluster, i started to see the following error message regularly:
kubernetes:core:ConfigMap (api-config-map):
  warning: The provider for this resource has inputs that are not known during preview.
  This preview may not correctly represent the changes that will be applied during an update.

The error is inconsistent and when it happens, a new cluster is created and the previous one is marked to be deleted, what shouldn’t be possible because it has the flag protect.
The k8s resources from the previous cluster are moved to the new cluster instantly, but they’re not created in the new cluster actually. Also, to make any updates to the stack, the previous cluster needs to be deleted.
After downgrading this project back to the version 17.1 of the pulumi/gcp package, i literally had the same issue.
Another cluster that is running this same version pulumi/gcp version is working properly. Both clusters are using the same Pulumi version (17.2).
What it looks like is that Pulumi is having issues to get the information about the cluster, so it assumes that the cluster has a specific configuration, ignoring that fact it’s protected and triggering unnecessary changes. Don’t know if that’s what’s happening there.
I tried to create this same cluster about 10 times. I had issues in all of them.
Ah… they have something in common. All the new clusters that are having this issue are using one of the latest Kubernetes versions available in GCP (1.12.5-gke.5).

This may be related to https://github.com/pulumi/pulumi/issues/2579.

Closing this out as a duplicate of https://github.com/pulumi/pulumi-gcp/issues/88 since the core symptoms appear to be the same.  There's details above that are a little different, but since we don't have a concrete repo, it's hard to be sure which details are relevant.  If there are additional details on this, please add them along with any steps for reproducing at https://github.com/pulumi/pulumi-gcp/issues/88.


Update breadcrumb component to allow optional collapsed display

When viewing the new taxonomy navigation on mobile, we want to show the
parent taxon only rather than the full breadcrumb.
This commit allows a 'collapse_on_mobile' flag to be passed in by any
app rendering the component, changing the applied CSS accordingly.
Examples
Government frontend

Collections

https://trello.com/c/Y7OirowB/472-mobile-version-of-breadcrumbs-should-only-show-previous-link

Working on email, closing this PR until someone else picks this change up.


fixed issue 257

Signed-off-by: Shripad Nadgowda<EMAIL_ADDRESS>Fixed issue mentioned #257

Codecov Report

Merging #258 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master     #258   +/-   ##
=======================================
  Coverage   90.75%   90.75%
=======================================
  Files         102      102
  Lines        3657     3657
=======================================
  Hits         3319     3319
  Misses        338      338

Impacted Files
Coverage Δ

crawler/containers.py
96.66% <100%> (ø)
:white_check_mark:

Continue to review full report at Codecov.

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

Merging, thanks!


Listenbrainz fixes

Since the LB server went in to beta, the app doesn't recognise the updated response from a successful listen and continuously caches/retries when there is no need. Should fix #385
Also, don't send "listened_at" with "playing_now" requests as this causes the server to return a 400 bad request error. This isn't documented and I've mentioned it over on the LB issues system...
https://tickets.metabrainz.org/projects/LB/issues/LB-206

Wow @19379  this is beautiful. Saved me some time for sure!

I will test this ASAP.

Sorry if this is impatient, but any ETA on when we could see this PR in a release?

https://github.com/tgwizard/sls/releases

Doesn't seem to have hit F‐Droid yet though: https://f-droid.org/packages/com.adam.aslfms/ – I wonder if there's some way to get them to pull the newer code. 🤔

Hi @paramsingh it's been released. It was definitely rushed because I'm currently really busy.
If somebody else feels responsible enough to be a major contributor with releases etcetera and has the free time, please contact @ tgwizard.
I don't think those two small errors are the end of the world. Code works and the message is communicated to the user.
Please make a pull request to current code if you want changes.

I made an issue for F-Droid to get the 1.5.6 version: https://gitlab.com/fdroid/fdroiddata/issues/889


support row_axis_only MDX queries

code to test:
from TM1py.Services import TM1Service

tm1 = TM1Service()

mdx = """
        SELECT NON EMPTY
        {TM1SUBSETALL( [}Clients] )} * {TM1SUBSETALL( [}Groups] )}
        ON 0
        FROM [}ClientGroups]"""

csv = tm1.cubes.cells.execute_mdx_csv(mdx)

print(csv)

HI @rkvinoth
the code looks good, but On 0 means on COLUMNS. Some variable names in the changes should be different I think.

Nice one! Thanks for the MR.


Load Balancer HAProxy LifeCycle[Merge]

HAProxy Lifecycle [Merge] - only simulated HAProxy containers.

containers are started/stopped when hosts are added to load balancers
containers are automatically restarted when any Configs have been updated to support new changes.

Add new API to support "Set" of multiple LB Listeners
Need to understand what to do when HAProxy containers are stopped outside of Cattle.  Do we restart automatically or expect users to.

Multiple LB Listeners [MERGE]

Add actual HAProxy [MERGE]
Add actual programming of the HAProxy [PR]


chore(rockspec): add support for 5.4

Passed all tests in the test-app.
Requires patched "valua" from https://github.com/sailorproject/valua/pull/21
Requires patched "wsapi" from https://github.com/keplerproject/wsapi/pull/48

This is only required if using Xavante with CGILua 6.x (which is the current version)

oh, and I've also commented out lbase64 as a dependency because as far as I can tell it is not used anywhere...

wsapi and valua changes has been merged

thanks, @soapdog!


feat: add govukTable() component

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

154 of 154 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 98.402%

Totals

Change from base Build<PHONE_NUMBER>:
0.1%

Covered Lines:
3370

Relevant Lines:
3398

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

154 of 154 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 98.402%

Totals

Change from base Build<PHONE_NUMBER>:
0.1%

Covered Lines:
3370

Relevant Lines:
3398

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

154 of 154 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.02%) to 98.537%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
4405

Relevant Lines:
4437

💛  - Coveralls


cmd/entrypoint/subcommands/cp test does not respect umask

Expected Behavior
TestCp passes on main branch.
Actual Behavior
$ go test .
--- FAIL: TestCp (0.00s)
    cp_test.go:54: expected permissions 0311 for destination file but found 0310
FAIL
FAIL    github.com/tektoncd/pipeline/cmd/entrypoint/subcommands 0.017s
FAIL

Steps to Reproduce the Problem
This appears to be caused by an assumption that the system umask would be fully permissive, and the cp func would fully preserve permissions. On my system, the default umask is:
$ umask
027

This strips out the all-read permissions on the file, since os.OpenFile will set permissions post-mask -

If the file does not exist, and the O_CREATE flag is passed, it is created with mode perm (before umask).

Some potential fixes-

Make a manual os.Chmod after the file creation, though this would not respect any existing permissions on the file.
Set the umask via unix.Umask but this is also problematic since IIUC this will set it for system and would only work for unix environments.
Loosen the test requirements to be less sensitive to permissions.

@sbwsg Any preferences between these options?
Additional Info

Tekton Pipeline version: efaa416f02f8e7a8809346ddcc62fa50e1328398

/assign @wlynch

/cc @sbwsg in case the edit above didn't send a notification

Hm, couple alternatives spring to mind:

Could we infer what the user's equivalent of 0311 would be by attempting to pre-write a file with dstPermissions and then reading that back to set our expectations for the test?
Could we pre-calculate the eventual on-disk perms by reading the current processes' umask value and performing the calc ourselves in code?  (unix-specific, example of reading the umask here: https://www.yesthatblog.com/post/0072-go-and-umask/)

(1) strikes me as the most pragmatic solution (with accompanying code comment describing why we're doing it).  (2) feels like it'll be a lot of unix-specific code in the unit test.  I like "loosening the test requirements" if (1) isn't feasible (or if I'm missing why it's a bad choice in the first place).
wdyt?

I liked (1) at first, but after writing it, I think it's tautological so it doesn't provide much value (e.g. the permissions could be 0777 and it would still pass).
(2) is problematic for any non-unix systems, and I'm not exactly sure what happens if a unix syscall is performed on a non-unix system.
I'm thinking we can get away with checking if the resulting file has any permissions we don't expect. This loosens the check without completely removing it, but I think it is still good enough for what we need.


Fix the regression of SystemConfig apply

Introduced by https://github.com/fluent/fluentd/pull/794

@tagomoris check this patch.

LGTM


⚠ T:Riza Community Forum has degraded performance

In 2dfbee4, T:Riza Community Forum (https://community.triza.dev) experienced degraded performance:

HTTP code: 200
Response time: 2845 ms

Resolved: T:Riza Community Forum performance has improved in 26785df.


Add switches

[x] Climate (most logical use case in HA)
[x] Flash lights
[x] Horn

You can assign this one to me as well. I can rewrite my existing switches component to your bimmer connected module.
SWITCHES = {
    'climate': ['Climate', 'mdi:air-conditioner'],
    'light': ['Light', 'mdi:alarm-light'],
    'horn': ['Horn', 'mdi:bullhorn'],
}

The following remote service can be added to remote_services.py.
CLIMATE = 'RCN'
HORN = 'RHB'

@ChristianKuehnel
Allright, here is the first code for the switches.
Can you please check? Most important part is howto import the remote_service script.
"""
Support for BMW cars with BMW ConnectedDrive.

For more details about this component, please refer to the documentation at
https://home-assistant.io/components/switch.bmw_connected_drive/
"""
import logging
import asyncio
import time

from custom_components.bmw_connected_drive import DOMAIN as BMW_DOMAIN
# from homeassistant.components.bmw_connected_drive import DOMAIN as BMW_DOMAIN
# from custom_components.bmw_connected_drive.remote_services import(
#     RemoteServiceStatus, ExecutionState)
# from homeassistant.components.bmw_connected_drive.remote_services import(
#     RemoteServiceStatus, ExecutionState)
from homeassistant.components.switch import ENTITY_ID_FORMAT, SwitchDevice
from homeassistant.const import STATE_OFF, STATE_ON

DEPENDENCIES = ['bmw_connected_drive']

_LOGGER = logging.getLogger(__name__)

SWITCHES = {
    'climate': ['Climate', 'mdi:air-conditioner'],
    'light': ['Light', 'mdi:alarm-light'],
    'horn': ['Horn', 'mdi:bullhorn']
    #'refresh': ['Refresh data', 'mdi:refresh']
}

def setup_platform(hass, config, add_devices, discovery_info=None):
    """Setup the BMW Connected Drive switches."""
    accounts = hass.data[BMW_DOMAIN]
    _LOGGER.debug('Found BMW accounts: %s',
                  ', '.join([a.name for a in accounts]))
    devices = []
    for account in accounts:
        for vehicle in account.account.vehicles:
            for key, value in sorted(SWITCHES.items()):
                device = BMWLock(account, vehicle, key, value[0], value[1])
                devices.append(device)
    add_devices(devices)

class BMWLock(SwitchDevice):
    """Representation of a BMW vehicle switch."""

    def __init__(self, account, vehicle, attribute: str, sensor_name, icon):
        """Initialize the switch."""
        self._account = account
        self._vehicle = vehicle
        self._attribute = attribute
        self._name = sensor_name
        self._icon = icon
        self._state = None

    @property
    def name(self):
        """Return the name of the switch."""
        return self._name

    @property
    def icon(self):
        """Icon to use in the frontend, if any."""
        return self._icon

    @property
    def is_on(self):
        """Get whether the switch is in on state."""
        return self._state == STATE_ON

    @property
    def device_state_attributes(self):
        """Return the state attributes of the switch."""
        vehicle_state = self._vehicle.state
        return {
            'last_update': vehicle_state.timestamp,
            'car': self._vehicle.modelName
        }

    def turn_on(self, **kwargs):
        """Send the on command."""
        _LOGGER.warning("%s: switching on %s", self._vehicle.modelName,
                        self._name)   ###info
        if self._attribute == 'light':
            status = self._vehicle.remote_services.light()
            while status.state != ExecutionState.EXECUTED:
                status = self._vehicle.remote_services.\
                         get_remote_service_status()
                time.sleep(1) # use time.sleep() or something else?
        ### Add climate and horn

    def turn_off(self, **kwargs):
        """Send the off command."""
        _LOGGER.warning("%s: switching off %s", self._vehicle.modelName,
                        self._name)   ###info
        ### CAN CLIMATE BE PUT OFF?

    def update(self):
        """Update state of the switch."""
        _LOGGER.info("%s: updating data for %s", self._vehicle.modelName,
                     self._attribute)

        ### IS CLIMATE STATUS AVAILABLE?
        self._state = STATE_OFF

        self.schedule_update_ha_state()

    @asyncio.coroutine
    def async_added_to_hass(self):
        """Add callback after being added to hass.
        Show latest data after startup.
        """
        self._account.add_update_listener(self.update)
        yield from self.hass.async_add_job(self.update)

And a screenshot including the lock #19.

I just added air contidioning and horn in the latest PR: https://github.com/ChristianKuehnel/bimmer_connected/pull/29

I have added the switches in a custom component over here.
Can you review this script?

I cant comment on the file in your repo.
Things I noticed:

The class should have a differnt name than BMWLock, maybe BMWSwitch.
does it make sense to add that as a SwitchDevice shouldn't this be a service that can be triggered e.g. from an automation?
Since this does not have a state: you do not need update() and async_added_to_hass()

The class should have a differnt name than BMWLock, maybe BMWSwitch.

Oops... will indeed change that.

does it make sense to add that as a SwitchDevice shouldn't this be a service that can be triggered e.g. from an automation?

A switch might indeed be a bit strange, as you only need a button to activate it as it indeed doesn't have a state. Can you point me to some more info on the service?
I have found this but that's still an on and of button.

Since this does not have a state: you do not need update() and async_added_to_hass()

Will remove that part.

A service is basically a function call that can be triggered from an automation or a script.
Here is an example of how to create a service:
https://github.com/home-assistant/home-assistant/blob/678f284015a2c52f96a7687979cfd9f785e4527a/homeassistant/components/climate/__init__.py#L267-L269
And here is the documentation for these services:
https://github.com/home-assistant/home-assistant/blob/678f284015a2c52f96a7687979cfd9f785e4527a/homeassistant/components/climate/services.yaml

Can you reopen this one?
The code is there, but still needs to be changed to make it a service as Chrisitan suggested.
After that it can be added as a PR in HA.

I'd prefer creating a new one that focusses on services: #59


Add manifest file for Mozilla Firefox (Finnish) v79.0 x64

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

Microsoft Reviewers: Open in CodeFlow

/azp run


How to decode Union!

spring for graphql works great. I came across this issue & not sure how to decode this with HttpGraphqlClient retrieve or execute method.
union Notification  = TweetSuggestion | SomeoneLikedYourTweet |  SomeoneFollowsYou

@kitcars I don't think this issue has been triaged yet. If you've found a solution could you share that with us please?

One option is to use Jackson's polymorphic types feature and create a marker interface to hold the @JsonTypeInfo.
For example, given:
type Query {
  search: [SearchResult!]
}

union SearchResult = Book | Author

type Book {
  title: String!
}

type Author {
  name: String!
}

You could declare:
@JsonTypeInfo(
		use = JsonTypeInfo.Id.NAME,
		property = "__typename",
		visible = true
)
@JsonSubTypes({
		@JsonSubTypes.Type(value = Book.class, name = "Book"),
		@JsonSubTypes.Type(value = Author.class, name = "Author")
})
public interface SearchResult {
}

public class Book implements SearchResult {
	// constructor, getter/setters...
}

public class Author implements SearchResult {
	// constructor, getter/setters...
}

Then for your client:
HttpGraphQlClient client = HttpGraphQlClient.builder()
		.webClient(builder -> builder.baseUrl("http://localhost:8080/graphql"))
		.build();

String document = "query {\n" +
		"  search {\n" +
		"    __typename\n" +
		"    ...on Book {\n" +
		"      title\n" +
		"    }\n" +
		"    ...on Author {\n" +
		"      name\n" +
		"    }\n" +
		"  }\n" +
		"}";

List<SearchResult> results = client.document(document)
		.retrieve("search")
		.toEntityList(SearchResult.class)
		.block();

I'm closing this for now, as it seems possible, but if necessary we'll reopen.


Issue with Confluence and Github app connecting

Preflight Checklist

[x] I agree to follow the Code of Conduct that this project adheres to.
[x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Describe the bug
I have installed the draw.io app in my Github org and have a repository with a file I want to show on Confluence. The file loads perfectly fine in a repo readme and also opening the URL directly.
I then added the Confluence Plugin as a Trial to enable me to use the Github connectivity directly.
This is where it fails with 404 errors on the links. I then tried by setting my repo to public and when I did that and ticked private on the options for the confluence plugin, it suddenly loaded. Setting teh repo back to Private then breaks it.
To Reproduce
Steps to reproduce the behavior:

Install Draw.io github app and Draw.io confluence plugin.
Create a private or internal repo on github with a draw.io diagram in it
Setup draw.io Github app to have access to that repo
Create new page on confluence and add embed macro for existing diagram
on the Github tab enter file name, repo owner (the org in this case), enter repo name and the branch

Expected behavior
Diagram loads as expected.
Screenshots

draw.io version (In the Help->About menu of the draw.io editor):
Latest Confluence app version
Additional context
I also tried by loading this from URL directly to see if that would have a different result but got a different error. Not sure if it is relevant or related, but thought I would post it.
viewer-static.min.js?WB_REVISION=287bcd092a0b477ba6d89669655ea34f:253 Refused to connect to 'https://github.com/cat-home-experts/Diagrams/blob/main/Incident-mgt-flow-copy.drawio.svg' because it violates the following Content Security Policy directive: "connect-src 'self'

Hi @m-mohamedin. I thought I'd check back in and find out if you'd had a look at this at all?

Hi @cathex-sam-holdaway,
Sorry for the delay.
I've tried it and it works. Can you please share with us the full file path from Github (e.g, https://github.com/jgraph/drawio/blob/dev/src/main/webapp/templates/business/accd.xml). I want to confirm that the file path is correct (in the previous example, filename/path is "src/main/webapp/templates/business/accd.xml")

Hi, we are having the same issue.
404 from Github when trying to embed an existing Draw.io Diagram from our private Github Organization Repository in Confluence Cloud.
Github Authorization is working fine, i can open the desired Diagram in draw.io natively, but not with the confluence app.
Any Update on this?

@Wiegaz  Can you please share with us the full file path from Github (e.g, https://github.com/jgraph/drawio/blob/dev/src/main/webapp/templates/business/accd.xml). I want to confirm that the file path is correct (in the previous example, filename/path is "src/main/webapp/templates/business/accd.xml")
Also, private checkbox is checked

Hi @m-mohamedin,
Full file path: https://github.com/hpv-eG/Architecture/blob/master/model/Planned_Architecture.drawio

We use a GitHub App to access data in the repositories. Can you please make sure "draw.io for Confluence" have access to that repository

I'm also having this issue with embedding from private repo.
Reported first here ==> https://community.atlassian.com/t5/Marketplace-Apps-Integrations/How-can-I-embed-an-existing-draw-io-diagram-into-Confluence-from/qaq-p/2073618#U2524897

Does the OP still have this issue after checking the data access settings? For new users, please open new tickets as the underlying cause might be different.


[Feature] Steam payments

Accept payment through steam, like tf2 keys, csgo skins etc.

Turn it into a plugin as a external option.


[Sema] Improving integer literal as boolean diagnostic

Improving integer literal diagnostics to avoid test for '!= 0' instead as they don't make sense in a literal context.
Also additionally covering cases where we currently produce a Optional type 'Int?' cannot be used as a boolean; test for '!= nil' instead on contextual mismatch in situations like if 0? {} in the same way.
There is an extra case to cover on this
let variable = 0
if variable? {} // type of expression is ambiguous without more context

but that is a separate situation and is covered in another issue.

Resolves https://github.com/apple/swift/issues/63753

@swift-ci Please smoke test

@swift-ci Please test


Shrink Ray floats above the ground when dropped...

Shrink ray also does not fall to ground when dropped by delivery

fallTime=0f seems to have fixed it


Style WKOF menus

I'm losing my mind. I'd have sworn I already added an issue and started working on this, but now I can't find it.
Anyway, WKOF itself pops up some menus when it's loading stuff from the API, to let users change script settings, etc.
Current styling is unusable if ED is loaded:

It looks like there is an unmerged branch 40-style-wkof-menus. I will create a PR for it as well as review it, while Im at it.


No bulbs discovered

Hi,
I've installed the plugin on a working homebridge system on my FreeBSD 10 NAS.
The startup output log looks fine to me:
[Wed Mar 16 2016 19:33:17 GMT+0000 (UTC)] [LiFx] Initializing LifxLan platform... [Wed Mar 16 2016 19:33:17 GMT+0000 (UTC)] [Harmony Hub Woonkamer] Initializing HarmonyHub platform... Using Logitech Harmony hub ip address from configuration [Wed Mar 16 2016 19:33:17 GMT+0000 (UTC)] [Harmony Hub Woonkamer] Connecting to Logitech Harmony remote hub... [Wed Mar 16 2016 19:33:17 GMT+0000 (UTC)] Initializing HomeWizard platform... [Wed Mar 16 2016 19:33:17 GMT+0000 (UTC)] Loading 1 accessories... [Wed Mar 16 2016 19:33:17 GMT+0000 (UTC)] [thermostaat] Initializing NefitEasy accessory... [Wed Mar 16 2016 19:33:17 GMT+0000 (UTC)] [LiFx] Server Listening...
But after a good startup of homebridge the LiFx plugin does not discover my bulb, and consequently no bulbs are advertised with homebridge.
Where do I have to look for this problem?

Have you linked homebridge to a HomeKit compatible app?

Yes, i have linked it to both Insteon+ and MyTouchHome

@ronzelver are the lifx bulbs on the same subnet as the homebridge server ?

Yes, the bulb is on the same subnet

can you please try the following...

from the command line, goto the homebridge-lifx-lan directory
run node node_modules/node-lifx/cli.js

Does that show up any devices ?

This is the output
`[root@saclnas04 ~/node_modules/homebridge-lifx-lan]# node node_modules/node-lifx/cli.js
LIFX Client UDP packet error
Trace: { [Error: bind EADDRINUSE <IP_ADDRESS>:56700]
code: 'EADDRINUSE',
errno: 'EADDRINUSE',
syscall: 'bind',
address: '<IP_ADDRESS>',
port: 56700 }
at Client. (/root/node_modules/homebridge-lifx-lan/node_modules/node-lifx/lib/lifx/client.js:121:13)
at emitOne (events.js:90:13)
at Socket.emit (events.js:182:7)
at dgram.js:215:14
at _combinedTickCallback (node.js:380:13)
at process._tickCallback (node.js:401:11)
at Function.Module.runMain (module.js:449:11)
at startup (node.js:141:18)
at node.js:933:3
LIFX error:
Error: bind EADDRINUSE <IP_ADDRESS>:56700
at Object.exports._errnoException (util.js:856:11)
at exports._exceptionWithHostPort (util.js:879:20)
at dgram.js:214:18
at _combinedTickCallback (node.js:380:13)
at process._tickCallback (node.js:401:11)
at Function.Module.runMain (module.js:449:11)
at startup (node.js:141:18)
at node.js:933:3
dgram.js:320
throw new RangeError('Port should be > 0 and < 65536');
^
RangeError: Port should be > 0 and < 65536
at Socket.send (dgram.js:320:11)
at Client.sendingProcess (/root/node_modules/homebridge-lifx-lan/node_modules/node-lifx/lib/lifx/client.js:183:19)
at wrapper [as _onTimeout] (timers.js:275:11)
at Timer.listOnTimeout (timers.js:92:15)`

@ronzelver sorry, you will need to stop homebridge in order to run that

Ok, I've stopped homebridge, the output is now:
`Started LIFX listening on <IP_ADDRESS>:56700
{ size: 100,
addressable: true,
tagged: false,
origin: true,
protocolVersion: 1024,
source: '42524b52',
target: 'd073d500ae66',
reserved1: <Buffer 00 00>,
site: 'LIFXV2',
ackRequired: false,
resRequired: false,
sequence: 0,
time: <Buffer 44 a0 10 29 f3 ff 3d 14>,
type: 'echoResponse',
reserved2: <Buffer 00 00>,
payload: 'LIFX���7��=\u0014' } ' from <IP_ADDRESS>'
{ size: 38,
addressable: true,
tagged: false,
origin: true,
protocolVersion: 1024,
source: '42524b52',
target: 'd073d500ae66',
reserved1: <Buffer 00 00>,
site: 'LIFXV2',
ackRequired: false,
resRequired: false,
sequence: 0,
time: <Buffer 04 86 6c 17 f4 ff 3d 14>,
type: 'stateTemperature',
reserved2: <Buffer 00 00>,
temperature: 3800 } ' from <IP_ADDRESS>'
{ size: 40,
addressable: true,
tagged: false,
origin: true,
protocolVersion: 1024,
source: '42524b52',
target: 'd073d500ae66',
reserved1: <Buffer 00 00>,
site: 'LIFXV2',
ackRequired: false,
resRequired: false,
sequence: 0,
time: <Buffer 04 42 0d 7d f5 ff 3d 14>,
type: 406,
reserved2: <Buffer 00 00> } ' from <IP_ADDRESS>'`

@MariusRumpf any ideas why this bulb wouldn't be being listed as

@ronzelver if Marius doesn't reply here, you might try logging an issue on his project as his underlying framework is what I use for the Lifx bulb communications.

I got the cli.js working by adding a specific broadcast address in the client.init() call.
client.init({     broadcast: '<IP_ADDRESS>' });
Where do I need to change this to get it also working for this plugin?

@ronzelver I've released a new version (0.1.1) which updates the latest version of node-lifx. I've also exposed broadcast in the config.json so that you don't have to edit the index.js.
Please let me know how you get on.

@devbobo Thanks, it's working now, I can control my Lifx bulb with Homekit :-)


Remove jax dependency

We only use jax for the tree_flatten and tree_unflatten utilities, while introducing the heavy dependency.
Let us remove the jax dependency and use an alternative utilities.

@ray-project/rayfed


New Contribution

Contributor: Manoj
SSH Public key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMWlagxQfM9g0V+uaF7d65+UZfDkR6JOAMPN+fYVMYbJ
Attestation: [any form of attestation for contribution (e.g., signature) - Optional]

starting the contribution

hi @zvorcuit  any idea when my slot will be ? Just waiting for hours and dont want to miss the 1 hour window.

hi @zvorcuit any idea when my slot will be ? Just waiting for hours and dont want to miss the 1 hour window.

Hi @zvorcuit  waiting for my turn :)

Downloading contribution<PHONE_NUMBER>.csrs

Computing hashes for downloaded contributions..
0000000014.csrs 138557a82019c4ac80c676dd29e4a96bce6c7789d196d4177a46794db5d9ff46
starting the computation

Hi @zvorcuit does it take this time ? its still on the above screen. Or quickly I should try from my other VM even with very high capacity ? If so, I can immediately send you the new SSH Public key. I already have the machine and can do it immediately. What you suggest ? wait or continue with new machine ?

If process is alive, leave it for 30 more minutes, then report back with status please.

Ok sure. I will do that. I am constantly watching the screen. Will update in 30 mins

Hi @zvorcuit its the same. Still the process is running ! Without any further updates. Should i continue the process in new machine with updates capacity ?

ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG6yC67KGe1B2YYm6BbFF6x7DDba//zLH0EOwhTDiJFw
Downloading contribution<PHONE_NUMBER>.csrs

Download completed.
starting the computation
[2024-06-10T20:28:36Z INFO  ceremony::contribution] Reading contribution from "./contributions/0000000014.csrs"
[2024-06-10T20:29:30Z INFO  ceremony::check] Checking contribution with id 14
[2024-06-10T20:29:30Z INFO  ceremony::check] Contribution's k and n are correct
[2024-06-10T20:29:30Z INFO  ceremony::check] > SRS Check #1 Succeded: srs uses hardcoded group generators
[2024-06-10T20:29:30Z INFO  ceremony::check] > SRS Check #2 Succeded: g2 and s_g2 have order r
[2024-06-10T20:29:30Z INFO  ceremony::check] > SRS Check #3 Succeded: the g vector has expected size

Hi @zvorcuit in the computing phase
[2024-06-10T20:34:50Z INFO  ceremony::check] > SRS Check #4 Succeded: srs is well-formed
[2024-06-10T20:34:50Z INFO  ceremony::check] > SRS Check #5 Succeded: srs is non-degenerative
[2024-06-10T20:34:50Z INFO  ceremony::check] SRS is valid
[2024-06-10T20:34:50Z INFO  ceremony::check] Contribution with id 14 is valid
[2024-06-10T20:34:50Z INFO  ceremony::secrets] Generating secrets ..
[2024-06-10T20:34:50Z INFO  ceremony::secrets] Generating and hashing<PHONE_NUMBER> random bytes
[2024-06-10T20:34:54Z INFO  ceremony::secrets] Hashing hasher's state 1048576 times
[2024-06-10T20:34:54Z INFO  ceremony::secrets] Extracting secrets
[2024-06-10T20:34:54Z INFO  ceremony::contribute] Rescaling powers of tau..

@mkc0602 ok, let's give it another 15 minutes, if it is not completed by then, please paste your current configuration (ram/swap/cpu cores).

ok sure

Hi @zvorcuit  here are the details
root@ubuntu:~# free -h
total        used        free      shared  buff/cache   available
Mem:            34Gi        32Gi       237Mi       1.0Mi       1.4Gi       1.2Gi
Swap:          2.0Gi          0B       2.0Gi
root@ubuntu:~# cat /proc/cpuinfo  | grep process| wc -l
24 cores
34 GB RAM and 24 cores

oh wow now changed :)
[2024-06-10T22:19:08Z INFO  ceremony::contribute] Computing contribution proof..

@zvorcuit  its done
[2024-06-10T22:20:20Z INFO  ceremony::contribution] Contribution written to "./contributions/0000000015.csrs"
I will start the upload now

Uploading ./contributions/0000000015.csrs to /0000000015.csrs

ETA 2 mins

@zvorcuit Upload completed.
0000000015.csrs                                                                                100%   16GB  86.1MB/s
Thanks a ton for your patience. Appreciate it. Thanks again

Dear @zvorcuit that's wonderful. Here is my Ethereum address
0xF2019C719303513133d41113D6d40353745aAC4D


Remove duplicates repo from Acceptable formula doc

Duplicates repo is deprecated

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?

Thanks again @joshka!


Not receiving a message

Hi there,
I have a weird issue with pub/sub. The channel subscription works as expected, but after that no message can be received using this package.
The setup is a redis docker container running on MacOs. Elixir is up to date.
I set up a sample project requiring redix_pubsub 0.2.0, then started iex -S mix. Then this:
iex(1)> {:ok, pubsub} = Redix.PubSub.start_link()
{:ok, #PID<0.164.0>}
iex(2)> Redix.PubSub.subscribe(pubsub, "my_channel", self())
:ok
iex(3)> flush()
{:redix_pubsub, #PID<0.164.0>, :subscribed, %{channel: "my_channel"}}
:ok
// So far, so good. The subscription worked.
iex(4)> flush()
:ok
// At this point the redis message was published via redis-cli, see below. It is never received here.
iex(5)>
I published the message after the successful subscription using redis-cli like this:
<IP_ADDRESS>:6379> PUBLISH my_channel hello
(integer) 1
redis-cli monitor tells me this, verifying that the message is not going through:
1490714652.425079 [0 <IP_ADDRESS>:50936] "SUBSCRIBE" "my_channel"
1490714667.394015 [0 <IP_ADDRESS>:50938] "COMMAND"
1490714668.348758 [0 <IP_ADDRESS>:50938] "PUBLISH" "my_channel" "hello"
Tested the same procedure on Ubuntu and it worked as expected, so I am assuming it is a problem on my machine.
However...

Receiving messages in general (redis-cli SUBSCRIBE for example) works as expected.
:redix publishing works fine.
Receiving the message in Elixir using :exredis works as well (huh?).

I assume I can rule out a connection problem between the redis container and Elixir/BEAM, otherwise :exredis wouldn't work and the subscription shouldn't be successful.
Other than that I am out of ideas. Any hints would be greatly appreciated. :)

I just confirmed this with another Mac running 10.12 (same as mine), the same thing happens. Seems to be related to the OS. :/

Hi, which versions of redix and redix_pubsub are you using? Are you using the same version on both macOS and Ubuntu?
You can try to have a look at this PR: https://github.com/whatyouhide/redix_pubsub/pull/8 (it links to another issue in the Redix repo with more details).

Hi,
I was using redix 0.5.0 and redix_pubsub 0.2.0 on all OS. I just updated to 0.3.0 and redix 0.5.2 and the issue is resolved. The messages are received now. Thanks for your help!

Awesome, thanks for the report and sorry for the long wait @holgeradam  💟

You're welcome, thanks for the support. I'm glad this is resolved, because I love the package.  :)


I would like to know which browsers support the forceSpellCheck() method (

I would like to know which browsers support the forceSpellCheck() method (https://html.spec.whatwg.org/multipage/interaction.html#dom-forcespellcheck)

This issue was imported from Google Moderator
Moderator votes: +4
Issue added by David on 2014-11-18
To vote this issue up or down, simply include +1 or -1 in your comment.

+1 ... it doesn't seem to be present in IE11 :(

+1

+1

Available via MDN: https://caniuse.com/mdn-api_htmlelement_forcespellcheck


Integer Overflow

1x integer overflow attempting to store inf
[string "=[C]"]: in function format' [string "@StatWeightsClassic/shared/overlay.lua"]:529: in function ?'
[string "@StatWeightsClassic/shared/overlay.lua"]:653: in function <StatWeightsClassic/shared/overlay.lua:618>
[string "@StatWeightsClassic/shared/overlay.lua"]:821: in function <StatWeightsClassic/shared/overlay.lua:731>
[string "@StatWeightsClassic/shared/overlay.lua"]:854: in function <StatWeightsClassic/shared/overlay.lua:829>
[string "@StatWeightsClassic/shared/core.lua"]:306: in function <StatWeightsClassic/shared/core.lua:298>
Locals:
(*temporary) = "%d"
(*temporary) = Infinite

In order to fix this I'll need your help on how I can reproduce this error. Some information that may help:

Client
Class
Which spell is the cause (it will probably show an unusual expectation number in tooltip?)
Does it always happen?
Does it start happening on some event, like when you receive a buff?

You can try
/swc reset
but you will probably run into this again once you enable expectation overlay again after reset.

Client: Classic-Era SOD
Class: Shaman
it happens regularily quickly after login

I can try to reproduce. Will keep you updated

just happened when using a portal to og out of gnomeregan

Thanks. This is my theory: frostbrand/flametongue weapon is causing this when Blizzard's UnitAttackSpeed function incorrectly returns 0 for a short time after loading into a new zone for whatever reason. Can't think of anything else that could cause this behavior. I'll throw in a workaround for this in v3.2.22. Feel free to reopen later if that wasn't the fix.
In the meanwhile you could hide the weapon enchantment spells behind a macro without a tooltip so that the overlay error doesn't occur.

In the meanwhile you could hide the weapon enchantment spells behind a macro without a tooltip so that the overlay error doesn't occur.

No idea what you mean by that.

Thanks. This is my theory: frostbrand/flametongue weapon is causing this when Blizzard's UnitAttackSpeed function incorrectly returns 0 for a short time after loading into a new zone for whatever reason. Can't think of anything else that could cause this behavior. I'll throw in a workaround for this in v3.2.22. Feel free to reopen later if that wasn't the fix.

Will try

In the meanwhile you could hide the weapon enchantment spells behind a macro without a tooltip so that the overlay error doesn't occur.

No idea what you mean by that. How does the tooltip affect this error?

Thanks. This is my theory: frostbrand/flametongue weapon is causing this when Blizzard's UnitAttackSpeed function incorrectly returns 0 for a short time after loading into a new zone for whatever reason. Can't think of anything else that could cause this behavior. I'll throw in a workaround for this in v3.2.22. Feel free to reopen later if that wasn't the fix.

Will try, thanks

That way it won't recognize the spell inside the action button as something try to calculate and draw an overlay for which is the cause of the error. Anyway, it'll be fixed in the next patch.


Added new Concepts, Explore and Manage topics

Need some feedback on the following changes, Okay to proceed with creating some content

Reorganizing the sidebar,
Concepts:

Rill Cloud vs Rill Developer
What is an OLAP engine (contents from Connect OLAP engine)

Explore
- Sharing with public URL
- some notes inline, will add content (gifs) but thoughts on article as a whole?

Added a reference to our tutorials page and a brief summary, can be hidden until Tutorial is ready.

Added mock-users to rill-yaml.md from <manage/security#testing-your-policies> w/screenshot

@AndrewRTsao ,
when you get the chance, can you review the following for additional docs?
Added articles:
Concepts:
- Rill Cloud v Rill Developer
- What is an OLAP Engine? [moved from build section]
Explore:
- Sharing with public URL

Manage:
- User Group Management,
- Project Management. (thoughts on graphic?)

Will definitely try to take a look later this week. Thanks Roy!

Added/modified  articles:
Concepts:

Rill Cloud v Rill Developer
What is an OLAP Engine? [moved from build section]
Deploy:
Added UI deploy
moved some content to project / org managment
Explore:
Sharing with public URL
Manage:
User Group Management,
Org/ Project Management. (thoughts on graphic?)

Unless you also want to include tutorials as part of this, I'm comfortable pushing these changes @royendo

@royendo Will merge these changes for now and we can tackle / segment out tutorials separately


add NewWithReadyData() method for stringlabels

If the third-party storage system has encoded the labels-data basing varint format, so we need a direct method to create the stringlabels's object or change the "data" field to be public.

Could you tell us more about how the encoding is done on that 3rd party? what it takes as input and why the utils from labels_stringlabels.go aren't/cannot be used

This looks like something best kept in your own fork.
Note that we will hopefully move Prometheus to a different format, tag dedupelabels, after some issues are sorted out.


fix: EF6 config for .net 7

this fix
"Unhandled exception. System.Configuration.ConfigurationErrorsException: Configuration system failed to initialize
---> System.Configuration.ConfigurationErrorsException: Unrecognized configuration section system.data."
when launching SaintCoinach.Cmd
but EF6 data provider is not actually registered, makes libra data not usable, further config update is still required, may be update later
and tripletriad icon offset fix

this and #169 addresses to the same issue, which this adapts it, and 169 deletes it