Problem moving straight directory after update

This issue has just begun after updating my config. (I was on bookstrap-version 5 and moved up to 6; don't know if that's important.)
I need to have my straight/ directory inside my ~/.emacs.d/ (as I share my main Emacs config with other machines using Dropbox, which is syncing my main emacs directory, ~/Dropbox/emacs/).
Before this, I had this line in my bootstrap code, which used to work:
(setq straight-base-dir (expand-file-name "~/.emacs.d"))

However, the straight directory is now deployed in my main emacs directory (~/Dropbox/emacs/).
Is there any way to revert this issue?
I'm running GNU Emacs 29.1 (build 1, x86_64-redhat-linux-gnu, GTK+ Version
3.24.38, cairo version 1.17.8) of 2023-07-27
On Fedora Linux 28.
Thanks!

Is "~/.emacs.d/" a symlink?

No, just the real directory.

Please link to or share your configuration.

It's here:
https://raw.githubusercontent.com/nivaca/emacsconf/main/mylisp/mypackages.el
Notice that I had to comment lines 6-7 to avoid error messages.

It's here: https://raw.githubusercontent.com/nivaca/emacsconf/main/mylisp/mypackages.el Notice that I had to comment lines 6-7 to avoid error messages.

What are the error messages?

OK. When I uncomment both lines, I get no error, but the straight directory is created inside my ~/emacs directory (which is actually symlinked), which I don't want.
But when I have the two following lines:
(setq straight-base-dir (expand-file-name "~/.emacs.d"))
(setq straight-build-dir (expand-file-name "~/.emacs.d"))

I get the following error:
File is missing: Cannot open load file, No such file or directory, /home/nivaca/emacs/straight/repos/straight.el/bootstrap.el

Get rid of the straight-build-dir setting; that almost certainly doesn't do what you want.
For straight-base-dir, try https://github.com/radian-software/straight.el/pull/1123.

Ok, I have this in my init:
(setq straight-base-dir (expand-file-name "~/.emacs.d"))

;; Bootstrap straight.el ----------------------------
(defvar bootstrap-version)
(let ((bootstrap-file
       (expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
      (bootstrap-version 6))
  (unless (file-exists-p bootstrap-file)
    (with-current-buffer
        (url-retrieve-synchronously
         "https://raw.githubusercontent.com/radian-software/straight.el/develop/install.el"
         'silent 'inhibit-cookies)
      (goto-char (point-max))
      (eval-print-last-sexp)))
  (load bootstrap-file nil 'nomessage))
;; ---------------------------------------------------

And I get this error when launching Emacs:
File is missing: Cannot open load file, No such file or directory, /home/user/emacs/straight/repos/straight.el/bootstrap.el
Any ideas on what's going on?
Thanks.

You need to use the bootstrap snippet from https://github.com/radian-software/straight.el/pull/1123/files.

Thanks. That did the trick.


Automatic Linux test manifest generation

https://bugs.swift.org/browse/SR-710
(This is a reopened #156, see that for previous discussions)
This is first stab at automatically generating Linux test manifests. Generation seems to be working correctly, but I haven't written any tests yet, so it's not ready to merge. I wanted to present this early to get feedback.

Please note that at the moment I'm using naive string-based parsing of the test classes to find test cases. Even though it's simple, I haven't yet found a case which it can't handle. Still, AST-based discovery is the long term goal here (and I hear @aciidb0mb3r is already working on it).

Note that the generation only happens on Linux, so if you want to test it out on a Mac just comment out the couple of ifdefs in describe() that have anything to do with test manifests.

By comparing running tests before and after the changes in this PR, I noticed that on Linux SwiftPM already wasn't running 2 tests that did run on OS X (124 Linux vs 126 OS X). This is just another reason to move to automatic generation, because missing tests might lead to a false sense of security. Now all 126 tests are ran on both platforms.

DONE

[x] in build phase automatically generates XCTestMain.swift file (replacement for LinuxMain.swift) for each test product and a XCTestManifest.swift file for each module. The files are now generated in folder .build/xctestmanifests, meaning we don't add any user-visible files.
[x] all test classes in XCTestMain are now scoped by their module, so there's no issue when two modules have the same test class name.
[x] swiftpm's own tests are getting generated correctly, so this PR removes the manual Linux XCTestCaseProvider extensions and LinuxMain.
[x] XCTestManifest.swift for each module are now correctly added to the module's sources. I had to add a function on Module to allow for adding sources after creation with an array of absolute paths.
[x] originally this PR generated the test manifest files next to user's test cases, but that was later changed to generate these files in .build, to avoid users having to manage those files with SCM etc.
[x] no migration planned, as @mxcl pointed out, we're allowed to make a breaking change like this this early in the development process

TODO with Questions

[ ] where should this code go? (A new module. @mxcl does testGen sound good to you?)
[ ] look into using an actual AST parser (e.g. swiftc -dump-ast), @aciidb0mb3r working on that
[ ] unit tests

@mxcl Before I can go any further, I need some answers on https://github.com/apple/swift-package-manager/pull/156#issuecomment-190454623 and https://github.com/apple/swift-package-manager/pull/156#issuecomment-190451106.

Hey @mxcl, I could use some guidance regarding this one and #164 before I update it with the latest XCTest syntax. Questions above, thanks!

@czechboy0 Sorry I never followed up on https://github.com/apple/swift-package-manager/pull/156#issuecomment-190454623

I think pushing everyone to the same approach, whatever that is, is preferable in the long term. But if not breaking existing packages becomes a requirement here, your suggestion is the best one I've seen so far.

I agree that pushing for uniformity is very much in-line with SwiftPM's goals, but I'm not thrilled about the idea of committing to an approach that would be entirely incompatible with packages interested in writing tests with tools like Quick or Spectre. It seems to me that the convention of providing an XCTestMain.swift function already goes a long way towards ensuring that packages work in an expected manner, without needing to be so strict as to make SwiftPM code generation a requirement for using swift test.

Yeah I agree, but I was working with the assumption that the goals are to 1. get XCTest working on Linux without extra work required by the user, then 2. define a testing protocol to support non-XCTest runners. I feel like slowing down 1. will in turn also slow down 2.
But I don't think we need to prematurely try to optimize for a future work flow which hasn't yet been defined by a proposal. I understand it might lead to a bit of work being thrown out when step 2. is defined, but I'd prefer to have a great user experience at all stages of SwiftPM's development, not just after custom test runners are supported. Does that make sense?

Yup, it does make sense.
In any case, I'm mostly just glad to see this work coming together so quickly after the initial landing of the swift test code. There is plenty of time to extend the functionality for step 2.

I'd like to resurrect this PR (somehow combined with @aciidb0mb3r's #164). It's still very annoying to have to make changes to tests twice plus I constantly see projects not testing everything on Linux simply because they forget to add the tests to the Linux manifests.
@mxcl Could you please chime in? I have a couple of questions in the comments above.
We also need to figure out where this code will live. I'd be for putting it into SwiftPM, while keeping in mind the testing protocol being designed at the moment - so that we can easily disable it for 3rd party testing frameworks once we can detect them in the future. That way users can just run tests on both platform and it just works.

Can we reiterate the questions and issues in this thread? The conversation has become a little all-over-the-place and I think it would help to clarify.

Parsing Swift with an ad-hoc parsers is doomed to be perpetually buggy and become a maintenance liability.

Parsing -dump-ast is going to be fragile, or not even work at all, after we remove -dump-ast from production compilers to save code size.

=> The only viable solution (to me) seems to move the relevant test scanning code from SourceKit into libIDE, and provide a documented and supported driver option in the swift compiler.

Can we reiterate the questions and issues in this thread? The conversation has become a little all-over-the-place and I think it would help to clarify.

I added a comment on SR-710 with a summary of my understanding here.

@mxcl Sure, I was mainly wondering where you'd like to see this code.
@gribozavr I absolutely agree, this PR was mostly focused on building the infrastructure & generation, I was hoping the parser would be replaced by one that uses a stable and robust format. I guess we're blocked till your suggested changes are made.
I guess there's not much worth doing until we have access to the stable AST suggested by @gribozavr, so this PR is blocked by that work (does anyone have a SR-XXXX link to that work?)

I think we should start the discussion about getting the proper implementation of that kind of work off of the ground.
There are several important features for which we would like to have deeper integration with the Swift compiler:

The tests-on-linux problem. I hoped we would be able to do this with reflection capabilities instead of test case source code inspection, but that seems too far off on the horizon to be something we can wait for.
The design for Package.swift intended that we would mechanically validate the "leading package specification" to ensure it was machine editable. This is important for long term maintenance and for our ability to do things like auto-edit projects to add dependencies.
We would like the package manager to assist with (target) dependency management, by being able to recognize missing dependencies and help with declaring them. We may want access to the AST for that, or other ways of interacting more deeply with the compiler (e.g., a richer output interface).

I'm not necessarily convinced the right answer for SwiftPM is to live directly atop the SourceKit functionality (since as others have mentioned, we should support 3rd-party frameworks), but we should start figuring out the right production quality interfaces to design and build here.
This is going to end up being a pretty big project, we should probably move the primary discussion to swift-build-dev. Someone will need to drive it, and I suspect neither @mxcl or myself will have time in the short term.
I think independently we may want to see if there is any other short-term mitigation for the tests-on-linux problem we can put in.

@ddunbar Check out the discussion in SR-710 if you haven't already. @drewcrawford is of the opinion that Swift reflection is already at a point that we can use it to implement this feature. I haven't been following the reflection work closely so I can't say either way.
I'd love to help get this done, and I think the first step is to centralize the discussion. I personally would prefer SR-710, but if you'd like to start a mailing list thread, we can direct the discussion there.

Closing this, as it's definitely not the way we'll take this feature. Although, if in the meantime you have a large test code base without a manifest, and would prefer to have it generated automatically, try this: https://github.com/czechboy0/SwiftXCTestLinuxNameGenerator
It's the naive, text-based parser & manifest generator, saved me hours of time already. Not robust, but definitely better than having to write the manifests manually 😊


Plan validation with consumers

If I can get some podcast creators onboard. Perhaps create the form and ask the podcast creators to share it with their audience. Actually, after writing the blog post, call the podcast producers to action to share it with their audience

The plan is as follows:

[ ] Write blog post introducing the idea
[ ] Call to action: join the Telegram group
[ ] If I get 100 Telegram group members, I'll start working on the MVP
[ ] Pin a message explaining the 100 group member goal and asking for help
[ ] Promote the article

[ ] Reach out to all podcast owners and listeners who responded positively and/or would be okay with me reaching out again
[ ] Tweet the article myself
[ ] Publish the article on Hackernoon
[ ] Publish the article on Hacker News
[ ] Publish the article on Reddit
[ ] Find relevant Reddit threads, Telegram groups, or other places where Ethereum is discussed, particularly Dapps


parser::finish doc

"finish Parse JSON incrementally." is lacking a clearer summary

This should be good now


[ENH] Raising exceptions instead of printing warnings for errors.

Currently, it is not possible to react on LBFGS errors in a meaningful way:
Quite some errors (eg LBFGSERR_MAXIMUMITERATION) wouldn't render the result completely useless - one might be still interested in x. However, since they trigger an exception, x is not accessible anymore. Just issueing a warning for these doesn't seem a good idea either, since a warning cannot be dealt with in an automatic way.
This is a vague proposal on how to do this differently:

all warnings are replaced by (different!) exceptions
because these would prevent returning x, x can (optionally) be written back to a parameter.

There might be a more clean way to do this, I'm happy for suggestions

All the LBFGSError are already exceptions:
class LBFGSError(Exception):
   pass

I think you are saying that this is not useful because the exceptions are not propagated from the C code back to the python interpreter.
For that I think you want this: http://docs.cython.org/src/reference/language_basics.html#error-and-exception-handling

Actually, sorry for my previous comment. I thought I understood what you were intending, but I think I do not.
If an "error" message raised by the C code is recoverable, it seems like we should show that as a warning. I think we should just add those "recoverable" conditions to this line: https://github.com/datamade/pylbfgs/blob/master/lbfgs/_lowlevel.pyx#L397

Yeah, that would help already.
There's at least LBFGSERR_ROUNDING_ERROR, LBFGSERR_MAXIMUMLINESEARCH, LBFGSERR_MAXIMUMITERATION (maybe even LBFGSERR_INCREASEGRADIENT), that might, depending on the actual application, be recoverable.
So my suggestion is raising an exception on any of these, and then let the user decide (with try/catch) how to deal with them.
E.g., one might decide that LBFGSERR_MAXIMUMLINESEARCH can be recovered from, whereas other errors cannot. Then, with my patch you could do:
try:
    lbfgs.minimize(..., x_result)
except errors.MaximumLinesearch:
    pass

# result can be obtained from x_result

Oops, didn't intend to close, sorry.


Better validation errors reporting

Maintainers will complete the following section

[ ] Commit messages are descriptive enough
[ ] Code coverage from testing does not decrease and new code is covered
[ ] JSON/YAML configuration changes are updated in the relevant schema
[ ] Changes to metadata also update the documentation for the metadata
[ ] Pull request has a link to an osbs-docs PR for user documentation updates

If you want to test atomic-reactor with these changes, run test.sh in the atomic-reactor repo like this:
OS=fedora OS_VERSION=29 PYTHON_VERSION=2 \
OSBS_CLIENT_REPO=https://github.com/SalatskySal/osbs-client \
OSBS_CLIENT_BRANCH=osbs-8518 ./test.sh

And pro tip (in case you don't already know this trick): after tests start running, you can cancel them and run them like this:
podman exec -ti atomic-reactor-fedora-29-py2 pytest tests/ --stepwise

^ this means tests will always start from the last failure

If you want to test atomic-reactor with these changes, run test.sh in the atomic-reactor repo like this:
OS=fedora OS_VERSION=29 PYTHON_VERSION=2 \
OSBS_CLIENT_REPO=https://github.com/SalatskySal/osbs-client \
OSBS_CLIENT_BRANCH=osbs-8518 ./test.sh

And pro tip (in case you don't already know this trick): after tests start running, you can cancel them and run them like this:
podman exec -ti atomic-reactor-fedora-29-py2 pytest tests/ --stepwise

^ this means tests will always start from the last failure

Thanks for the information :+1:

@SalatskySal please rebase, looks like master has had some changes in the container.json schema which are required for atomic-reactor unit tests

/packit copr-build

RN: - Improved schema validation error messages


Chat message not sent, key remapping plugin issue perhaps

The vast majority of my messages get sent but I notice my messages not sending like 3 to 5 times per day, I believe I've started noticing it the past week. Usually I've been busy with something and disregarding it, thinking I must've cancelled typing a message by pressing escape but just now it happened again and I'm 100% sure that's not what happened.
Steps to reproduce the behavior:

Press Enter/Return to start chatting (because that's required with the key remapping plugin)
Type message
Press Enter/Return to send
Rarely, the message isn't sent and the input box resets to the "Press Enter to Chat...." text from the key remapping plugin

Expected behavior
Message is sent ;)
Windows 10
RuneLite 1.5.27
Launcher 1.6.0

Additional information - I can recreate this consistently. It is only showing up when you have key remapping turned on. Steps to reproduce:
Start typing in clan chat ("/hello")
Press escape, which clears the text chat
Type a new message ("/world")
Press enter
The message "world" does not show up.
This only shows up in clan chat for me.

This was due to a change introduced which cleared the chatbox input when enter was pressed in typing mode. It races with the client's keyhandler which can cause the message to sometimes not send. Fixed in 0e8d377adfe688e5b9a98f5564ae2e2b4f46692f


InMemoryFileSystem doesn't support FileShare.Delete

Bug Report
Environment / Version Details

Operating System (OS):

[x] Windows

[x] Win32
[x] UWP

[x] Linux
[x] macOS

.NET Runtime:

[x] .NET Framework
[x] .NET Core
[x]  .NET
[ ] Other (Please specify the details in the description)

Files Version:

[x] Newest Version
[ ] Older Version (Please specify the details in the description)

Description

This is a follow-up issue for #11 (see Discussion).
The InMemoryFileSystem doesn't support FileShare.Delete.
Expected behavior

The InMemoryFileSystem should support FileShare.Delete. Files should be deleteable when initially opened with this FileShare value.
Actual behavior

Currently deletion will simply fail because FileShare.Delete is not handled in any way.
Steps to Reproduce

None.
Discussion

None.

Closing for now. See this comment for the reasons.


[In testing, do not review] Failed the file names only differ in case

Resolve https://github.com/Azure/azure-sdk-tools/issues/3109
Testing without file name collision: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=1647423&view=results

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow


The business sample is very weak

The actual business sample we are using is very weak and from a certain point of view it is implemented, in order to keep it as simple as possible, in the wrong way.
We should move to a better business sample, such as the "hotel reservation" one

the re-design of the exercises and the new demo alleviates this. Closing for now.


Demo local deploy system

@rqthomas Talking with @mdietze , I think we should add a demo local deploy.  Just a rocker container and a minio container, no Caddy, no monitors, no volume binds, and bind local ports.  That way someone can stand up a self-contained system that can start sending data to buckets without needing any external AWS or Jetstream2 accounts.

preliminary example in https://github.com/eco4cast/challenge-ci/tree/main/example
@mdietze is testing it out.  lots of places we can streamline / generalize a bit more though.

Awesome!  Would it make sense to include a script that creates the set of
s3 buckets with the associated permissions?  That would help easy launching
from scratch.  Since this is forecasting CI the bucket names are general
and represent the key steps in the forecasting workflow.
On Sat, May 28, 2022 at 3:26 AM Carl Boettiger @.***>
wrote:

preliminary example in
https://github.com/eco4cast/challenge-ci/tree/main/example
@mdietze https://github.com/mdietze is testing it out. lots of places
we can streamline / generalize a bit more though.
—
Reply to this email directly, view it on GitHub
https://github.com/eco4cast/challenge-ci/issues/3#issuecomment-1139831539,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADXRP2GOQAWT2PBFOVUQJG3VMEAUNANCNFSM5XEQN67A
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Sent from phone


[test] Support 32-bit ARM in class_resilience.swift

Offsets for getelementptr differ between 32-bit and 64-bit architectures. The current CI only tests 64-bit architectures on Linux, so this test passes as-is. However, it fails for Swift ports targeting 32-bit architectures, such as armv6 and armv7.
Add an additional branch to the tests, to verify the behavior on both 32-bit and 64-bit Linux systems.

In #1157, @slavapestov suggested changing all of the CHECK-native offsets because we're only testing 64-bit on Linux. However, that's precisely the problem: the tests already succeed for 64-bit Linux, but they fail for 32-bit Linux. This is why this test fails on the Linux armv6/armv7 ports, as well as on Android armv7.

@modocache , I have @slavapestov 's solution to this test in my open PR as commit https://github.com/hpux735/swift/commit/3a0be39058ee1500b24942f2a8c6e0db01fd2c56 I don't mind reverting that commit so that it doesn't conflict.  Would you like me to?

Ooh! I should have realized that's what @slavapestov meant. Sorry, I had misinterpreted his comments. Yes, let's land this in your PR! :+1:


Change MAC Address on tun device for Openvpn windows client

Hi, fellows.
First, congratulations on working on this great open source software.
I have this infrastructure:
Softether Server:

OS: Ubuntu 16.04.
Securenat Enabled (full: NAT + DHCP)
Openvpn protocol enabled: listening on 1194 / UDP

Client:

OS: Windows (tested on W7 and W10)
Openvpn GUI
Using tun device

Problem:

I find no way to change MAC Address detected by the Softether's DHCP server when a machine is connecting using tun device.

Description:
I have tried:
1.- To change MAC Address shown on Windows Network and Sharing Center (that MAC address is no even the same that get detected on softether server).
2.- Delete and create new tun/tap device, using Windows tun/tap driver scripts deltapall.bat and addtap.bat.
Problem: Same MAC Address is always detected on Softether (SE) server when connecting from my Windows machine (that happens to be a Virtualbox Virtual Machine). This means that a same IP is always leased from SE's DHCP server.
Please help me diagnose this problem. Thanks in advance.

Aren't you using L3(tap) mode client?
In L3 mode, OpenVPN client doesn't send MAC address to server.

@MtCedarNet Hi, thanks for answering.
Yes, I would like to use L3 mode if possible. However problem is that I can't solve IP conflicts because I can't make server to see another MAC and assign a new IP.
Using L2 mode, I am able to change MAC address (and then obtain new IP), but then the routing table is no correctly set to have all internet networking through VPN. Probably I could find a way to correctly update the routing table when using L2 mode.
Well, probably what you say explain why I can't make server see another MAC Address from same Windows machine.

If somebody interested, I was able to make it work by using tap device (layer 2) and routing traffic through VPN adding these lines to configuration file:
dev tap
route-delay 10
route-gateway dhcp
redirect-gateway def1
The route-delay is no essentially necessary. You can test with/without it.


Board color themes

Let the user pick between multiple color themes when creating a game. Optionally, let the user specify 'black' and 'white' colors for their game board.

Use blight and bdark options to specify either rgb or hex colors.
example:
dom/new?blight=%23**e97a2d**&bdark=**rgb(55,185,233)**
hex colors must be encoded as %23


Please make a "never combine taskbar buttons" feature.

Description of the new feature / enhancement
In I believe every previous Windows version we had the option to "never combine taskbar buttons". For some reason it is no longer there in w11 and this significantly reduces productivity for IT professionals. It is ridiculous especially for ultrawide screen users to have that all taskbar real estate unutilized.
Scenario when this would be used?
When I have multiple instances of the same program open, as I often do, they all stack, and I have to press many extra buttons or make mouse movements to go to the window I want to go to.
For a casual user this isn't a big issue, but for someone who spends half the day working on a PC all this wasted time adds up, and also is an overall annoyance, and slows you down in time-critical operations.
With the "never combine taskbar buttons" feature I would be, once again, able to go to the window I want to rapidly.
Supporting information
There are some third party apps that can do this but most are from untrusted sources. PowerToys is made by reputed developers and I already use it for many W11 enhancements.
Hundreds of complaints can be found by simply Googling, for example, "ungroup icons on the taskbar in Windows 11 reddit".

/feedbackhub


Add t.RBXScriptSignal, t.RBXScriptConnection

Pull Request Test Coverage Report for Build 110

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 107:
0.0%

Covered Lines:
316

Relevant Lines:
316

💛  - Coveralls


Add styling for table caption

We need to add styling for the table  HTML element if someone wants to use it - as they sometimes should.
The table caption has the same styling as H3 title - both for Posten and Bring.

Made a copy of this issue to KP Trello


Upgrade driver for changes from using Tx ID as Asset ID

From https://github.com/bigchaindb/bigchaindb/pull/926/, the interface for Transaction.transfer() has changed to take in a AssetLink instance rather than an Asset.
The ramifications of this should be limited; I think only offchain.py needs to be slightly modified.

Unnecessary with #223.


Put expose classes at an independent package

Expose classes adds dependencies for Django and others when they are not always
necesary. I propose to put it at an independent 'expose' egg/deb package being
the PyFilesystem core a dependency of it.

Original issue reported on code.google.com by piranna on 2 Mar 2012 at 9:40

Is there any plan to do this for the new rewrite https://github.com/PyFilesystem/pyfilesystem2 ?
If not officially, then would you mind people making a minimal "fs-base" package that will be kept in sync with PyFilesystem versions?
Having dependencies like django and boto make this library difficult to use in large development environments. It should also simplify development and packaging of filesystems by seperate teams. PyFilesystem maintainers don't need to worry about API changing breaking consumers because thats what pypi requirements.txt versions are for :)

Yes, that's the plan! Pyfilesystem2 will contain filesystems that can be implemented with the stdlib only. Other filesystems will be in namespaces packages, so you can pip install fs.s3fs etc.

Excellent!


On build, docusaurus creates a "Tags" page

🐛 Bug Report
On build, docusaurus creates a "Tags" page at:
tags\index.html

...which renders as:

Prerequisites

[x] I'm using the latest version of Docusaurus.
[ ] I have tried the npm run clear or yarn clear command.
[ ] I have tried rm -rf node_modules yarn.lock package-lock.json and re-installing packages.
[ ] I have tried creating a repro with https://new.docusaurus.io
[ ] I have read the console error message carefully (if applicable)

Description
Have you read the Contributing Guidelines on issues?
(Write your answer here.)
Steps to reproduce
Navigate to the following page to see an example:
https://docusaurus.io/docs/tags
Your environment

Docusaurus version used: 2.0.0-beta.6

Reproducible demo
Navigate to the following page to see an example:
https://docusaurus.io/docs/tags

Yes this is a new docs tags feature, but we should probably disable this when there are no tags 😅


How to apply custom-message in micro_ros_arduino

Issue template

Hardware description: ESP32
RTOS: N/A
Installation type: micro_ros_agent
Version or commit hash: foxy

Steps to reproduce the issue
I added the generated msg files from ROS2 directly to the src directory of micro_ros_arduino. However, an error occurs during compilation in the Arduino-IDE,
Expected behavior
Below is Arduino Debug.
"c:/users/..../appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: sketch\micro-ros_publisher.ino.cpp.o:(.literal._Z5setupv+0x28): undefined reference to rosidl_typesupport_c__get_message_type_support_handle__tutorial_interfaces__msg__Num' c:/users/..../appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r2/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: sketch\micro-ros_publisher.ino.cpp.o: in functionsetup()': C:\Users....\Documents\micro\micro-ros_publisher/micro-ros_publisher.ino:65: undefined reference to `rosidl_typesupport_c__get_message_type_support_handle__tutorial_interfaces__msg__Num' collect2.exe: error: ld returned 1 exit status exit status 1"
Actual behavior
It doesn't compile.
Additional information.
Where on earth is this problem coming from?
Do I need to go through certain steps in ROS2 before applying the library in 'micro_ros_arduino'?

You need to rebuild your library:  https://github.com/micro-ROS/micro_ros_arduino#how-to-build-the-precompiled-library
adding your msg packages to extra_packages folder.


mx.io.NDArrayIter with scipy.sparse, last batch becomes dense and with no warning upfront

I noticed that mx.io.NDArrayIter accepts scipy sparse matrix but does not properly handle the last batch (it becomes dense) and did not output an error/warning upfront (like it would do with nd.sparse matrix, with a message "NDArrayIter only supports CSRNDArray with last_batch_handle set to discard.").
Please see attached ipython notebook printout as an example.
printout: example.pdf
ipynb file: example.zip
Mixing dense with sparse is not too bad with imperative mode but throws off the computation in symbolic mode (i.e. hybridized blocks) and the error messages weren't very helpful.

Suggest to let NDArrayIter have the same behavior for scipy.sparse and nd.sparse.

Thanks for reporting this.
Supporting last_batch_handle  options other than discard with sparse matrix is on the TODO list. We'll support it after MKL concat operator is merged so that it properly returns a sparse matrix. For now probably we should add the missing error message
@ZiyueHuang

Sure. Working on it.

Hi @eric-haibin-lin, by the way, I have a related observation regarding sparse. It seems as though the operator is slower (less optimized?) compared to handling dense matrix, at least on GPU.
I don't have a simple example readily available, but you can take a look here https://github.com/dingran/nvdm-mxnet/blob/master/nvdm.ipynb
In cell [3], the flag use_dense controls whether to use sparse or dense matrix. Even counting the cost of converting mini batches of CSR into dense, the training speed when using dense matrix is still about 15~20% faster for this particular example.
Would be good to have some benchmark between CSR and dense operators on CPU and GPU as guidelines (do we have them somewhere?) Thanks!

@dingran I’ll take a look at your notebook shortly


[Tabs] How I can access Foundation.Tabs.selectTab() ?

Foundation.Tabs.selectTab doesn't work. either it's a bug or the docs are not obvious.
If you write Tabs.selectTab then it looks like a static function where I don't need any instance of the tab.
Otherwise it should be lowercase at the beginning.
Anyway, I can only access to the constructor via Foundation.Tabs
http://foundation.zurb.com/sites/docs/tabs.html#selecttab

Call plugin methods using the .foundation() jQuery method.
$('#tabs').foundation('selectTab', param1, param2);

This is outlined in the JavaScript overview of the documentation, but we don't make it super obvious in individual plugins. We'll work on improving that.


Support JSCS v2.2.1

Can be upgraded to support the newer version?

v0.7.4 has been published to the Brackets Extension registry with the latest jscs version (v2.3.0)

I installed the new version but now I get this error:
Unexpected JSCS processing error: Unable to load one of the modules: ..../Brackets/extensions/user/globexdesigns.brackets-jscs/domain, reason: Cannot find module 'colors'


Fix AggregateCostModel's parsing of configured SharedOverhead

What does this PR change?

Implement GetSharedOverheadCostPerMonth as a clear and safe way to access the configured shared overhead field.

How does this PR impact users? (This is the kind of thing that goes in release notes!)

When shared overhead is an empty string, the value will default to 0.0 instead of creating errors.

How was this PR tested?

Manually on gcp-niko

Before

After

Also confirmed that setting non-zero shared costs still works, then reset to $0.00 and confirmed that that still worked, too.

Thanks, let's get this merged for the upcoming release!


Changed mouseScroll to use X and Y as direction.

For my project I require side to side scrolling and have found that robotjs does not have any way of doing this. This change will make it so that you can specify a x and y coordinate like a vector for scrolling. Also instead of using 'up' and 'down' we would use negative and positive values.
I know that this removes how we previously did things so I am not sure if this needs to be a separate method or if we need to mark something as deprecated. I did it this way because robotjs is still relatively in alpha or pre.

This is awesome, thanks for the PR! I'll have to think a bit about this. I like using "up" and "down", we do it in a few other places as well. Would it be possible to use "left" and "right"?

I just don't see the need for using "up" or "down". It seems odd to use both a number and a direction instead of using something like a vector.
We could add "left" and "right", but I am in the need of doing diagonal scrolling as well. I think using numbers would also make smooth scroll implementation easier.

You're right that using just the numbers makes more sense. I'm fine with this, and breaking backwards compatibility is fine. Give me a bit to test this and I'll get it merged!
Thanks again!

Did I do it correctly? Not sure what you mean...

Did I do it correctly? Not sure what you mean...

I'd really like to get this function. Is it merged now?

I just fixed the merge problem. Not sure what formating I need to fix. Could you link me to the style guide or the specific line number you have a problem with?

Think I fixed all the spacing.

How do I go about making sure that both parameters are numbers and then printing an error if they are not for the new scroll method?

Is the repo dead?

Hi @BHamrick1, it's not dead, I'm just busy. I'll try to take a look this week.
Thanks!

@BHamrick1 thanks for the PR. I was also thinking of extending robotjs for horizontal scrolling too but I tried this and it works.

Do I need to change the documentation?

Made the change in the docs https://github.com/octalmage/robotjs.io/pull/3

@octalmage just to check when will this change be pushed to npm?

0.4.6 has been released to npm! Thanks again!

Why was the type script file not updated? https://github.com/octalmage/robotjs/blob/master/index.d.ts#L26


Computational Law and Blockchain Festival

###########
SEO
###########
The title of the page, displayed by the browser on the title of the window.
Ideally this is the same as the name of the event.
title: Computational Law and Blockchain Festival Paris
Description for this event.
description: Conference, workshops and hackathon about law and blockchain technologies
#####################
EVENT DETAILS
#####################
synopsis:
Conference, policy and tech workshops, and hackathon

The second edition of the Computational Law and Blockchain Festival Paris aims to bring meaningful
conversations through a hands-on approach

The date should be in the format year-month-day (ISO 8601).
Example: 2018-02-28
date: 2019-03-01
The date when the event ends. Can be left empty or set to the same day the
event starts.
endDate: 2019-03-03
Set the time in 24 hours format, surrounded by quotes.
Only the starting time!
Example: '18:00'
time: '14:00'
Time when the event ends. Can be left empty.
endTime: '16:00'
The URL where to aquire the tickets. Can be left empty.
tickets: http://bit.ly/CLBFest2019
If the entrance is free, set zero (0) as the price, or leave it empty.
Don't write the currency symbol (Euro symbol will be used).
price: 0
The name of the venue where the event will be held. Can be left empty.
venue: The Square Paris
The address to link to a Google map. Please test the address on Google Maps.
address: 3 passage Saint Pierre Amelot, 75010 Paris, France
The category of the event.
category: hackathon
#################
SPEAKERS
#################
DON'T MAKE CHANGES BELOW THIS LINE!

Added


[HOPS-163] Fixed Fsck for small files

Make sure there is no duplicate PR for this issue

Please check if the PR fulfills these requirements

[x] Tests for the changes have been added and passed (for bug fixes / features)
[x] HOPS JIRA issue has been opened for this PR
[x] All commits have been squashed down to a single commit
[x] The commit message has the following format: [HOPS-XXX] message

Post a link to the associated JIRA issue
https://hopshadoop.atlassian.net/browse/HOPS-163

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

What is the new behavior (if this is a feature change)?

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

Other information:

Can one of the admins verify this patch?

Jenkins test this please.


Add optional #/links/topics to HMRC Manuals

HMRC Manuals're in the process of becoming 'linkable' to topics.
It was decided that we should publish a manual's list of topics as part of its
links data, as an array of topic content_ids.

These changes originally added the field as an anyOf guid_list or null, but I've now updated it to allow just a guid_list

@alext You OK with this being merged now?


Is this project dead?

I have been a meteor user since February.  The interface descriptions I see look very good and useful.
At one point early on the package seemed to work and give me debug info.  However, it has seemed to degrade regularly.
It has degraded to the point now where I am getting nothing at all today.  See #26.  I just tried running it against the simple app that meteor create produces and the package has a build error.
The issues have stacked up and I do not see any activity.
Is there a debug alternative?

Yes. Gone.


Add fee estimation caps to the config file

At the moment fees are being capped.
By adding a toggle to the config file we'd have an easy way to add or remove those caps without having to go through a wallet release.

@beguene Appreciate some testing input or use case for the ticket
Thx

@Eshwari007 This is a bit tricky to test. I added a console.log so you can check.
The data looks like this if you open the devtools in google chrome when you are on the send page

The default values for fee estimations caps are
"maxValues": [500000, 750000, 2000000]
How to change the default values
To change the values in the config you can change it in this current branch:
feat/use-wallet-config-for-max-fee-estimations/I2039
you can change the values directly here
https://github.com/hirosystems/stacks-wallet-web/blob/feat/max-fee-estimation-qa-config/I2039/config/wallet-config.json
Those changes have to be committed to the branch to take effect.
Here are some test cases:
Test case 1 : no regression
Just test that everything works correctly
Test case 2: change the max values

Change wallet-config.json     "maxValues": to something else for example [800000, 900000, 4000000)
Login and go to send page
Check that the values in the chrome console are the one you set.
Fill the form to send and check that the fees are capped according to the values you set

Test case 3: disable max values

change wallet-config.json maxValuesEnabled to false
Login and go to send page
It should still work.
Check that the values in the chrome console are the default values (500000, 750000, 2000000)

@beguene I am trying to view the console log but seems the connection issue with url:http://localhost:8000/config/wallet-config.json

@Eshwari007 My bad, I forgot to remove changes to test locally. It's working now.

Thank you @beguene
Was able to test the fee estimation -thx to the console log.


Just a question.

So is the iPad Air iOS 12.1.2 Beta (Previously not jailbreakable) jailbreakable now?
I keep getting "exploit failed!"

Instead of creating an issue, you should redirect your question(s) to r/jailbreak.
iPad Air (first gen, since you didn't specify) is the A7 chip, and should be able to be jailbroken as of unc0ver version b40.
Please close this "issue," thank you.

Try b41 the exploit made by psycho tea is very good


Deletion protection

I like the idea of the termination_protection for services, but since this cannot prevent disasters for production services, I was wondering if there's a way to enable deletion protection for resources such as databases, topics, etc.

Hi,
yes, it is possible to do so by utilizing Terraform prevent_destroy - This flag provides extra protection against the destruction of a given resource. When this is set to true, any plan that includes a destroy of this resource will return an error message.
Example:
resource "aiven_service" "kafka-service1" {
  project = aiven_project.project1.project
  cloud_name = "google-europe-west1"
  plan = "business-4"
  service_name = "kafka1"
  service_type = "kafka"

  kafka_user_config {
    kafka_version = "2.4"
    kafka {
      group_max_session_timeout_ms = 70000
      log_retention_bytes =<PHONE_NUMBER>
    }
  }

  lifecycle {
    prevent_destroy = true
  }
}

Ivan

Hi Ivan, Terraform has a problem that prevent_destroy does not warn of the impending deletion of resources in all cases.
https://github.com/hashicorp/terraform/issues/17599
We host one of our most crucial databases on Aiven. I want a to find a way to configure it so that Terraform cannot destroy it for any reason — i.e. that destruction, if required, needs manual intervention. As context, our organisation has had disasters caused by Terraform's deletion and recreation of resources in the past and so are rightfully wary of taking up Terraform in the present. I want to put safety barriers in place so that we can safely adopt it once more.

Hi,
Unfortunately, I cannot offer anything better than using termination_protection and prevent_destroy=true right now, and it looks like you are already using both of them. And we do not have anything like that on the pipeline, and I will create a ticket in our internal issue tracking system. And such a feature should be implemented on the Aiven API side and will be exposed through our Terraform provider when available.
Ivan

Well, I was wrong and did some experiments, it is possible to prevent the deletion of a resource. We will create a separate resource field, and if it is set to the true resource would be impossible to delete via terraform but of course, can be removed via UI. Or perhaps we can enable this logic based on termination_protection value. I will come back to you soon with a solution.

@ivan-savciuc That's really great news. Thank you!

@steshaw we did some tests and termination_protection option when enabled prevents on API level from deletion of termination of service. Even if Terraform attempts to delete this resource use will get 403 error response from the server referring to termination_protection enabled. We decided not to add any new login to our TF provider but added all the necessary checks to our acceptance tests plan, which we run before every release.


[improve][txn] Add getState in transaction for client API

Motivation
now org.apache.pulsar.client.api.transaction.Transaction dont have a interface for user to get the transaction state.
user can get the transaction state to do user's own op.
Modifications

add the interface in org.apache.pulsar.client.api.transaction.Transaction getState
TransactionImpl implement the interface

     * Get transaction state.
     *
     * @return {@link State} the state of the transaction.
     */
    State getState();

Verifying this change
add the test
Does this pull request potentially affect one of the following parts:
If yes was chosen, please highlight the changes

Dependencies (does it add or upgrade a dependency): (no)
The public API: (no)
The schema: (no)
The default values of configurations: (no)
The wire protocol: (no)
The rest endpoints: (no)
The admin cli options: (no)
Anything that affects deployment: (no)

Documentation

Does this pull request introduce a new feature? (yes)

If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

If a feature is not applicable for documentation, explain why?

If a feature is not documented yet in this PR, please create a followup issue for adding the documentation

[x] doc-not-needed

I hope it can be cherry-picked to release branches from branch-2.9.
So that users can use the new method to check the transaction state.
And the change will not introduce risk to release branches.

@Anonymitaet Please help review the Java Doc

@Anonymitaet @codelipenghui I have fixed the comments, please review again. Thanks!  :)

@nicoloboschi I see a transaction production user. They are using TransactionImpl.checkIfOpen() to do some checks when they using transactions. Otherwise, they can only do it by catching exceptions, but it's a bad experience. The ideal case is users don't need to care about the transaction state, just commit it or abort it. Always under some complex use cases, users depend on the state check (same as client.isConnected(); consumer.isConnected();)


LogViewer: Don't refresh on initialization

Brief description
Logs are refreshed on initialization of log viewer window which slows down tray application launch.
Description
Refresh of logs is triggered on first show of the window instead of on initialization.
Testing notes:

LogViewer module must be enabled
Start of tray should be a little bit faster
Log viewer should still show logs on showing the window

Haha - with PRs being merged this fast typos will creep in. :)


Update to serde 0.9

Closes #8

Ping

Sorry, I've been busy as hell lately and I don't really have the ability to properly evaluate this as I haven't been tracking serde's recent changes... Looks good though from a cursory review! I think I'll at least add a sort of smoke test so that there's more than just "it compiles!" to be gleaned from the test results.

No worries, thanks for landing it! :D


[Persistence] Consolidate common behaviour between Pool and Account into a shared interface (Issue #102)

Description
This PR addresses issue #102. It consolidates Account and Pool to use a shared interface ProtocolAccountSchema that generalises the functions that both actors use.
The ProtocolAccountSchema interface is implemented by the BaseProtocolAccountSchema struct - following the same pattern laid out by the ProtocolActorSchema and BaseProtocolActorSchema. Two new types are then created - Account and Pool these are instances of the BaseProtocolAccountSchema struct and are initiated with their relevant SQL table names, height constraints and column names.
The functions in the PersistenceRWContext for both Account and Pool utilities are now generalised to use shared logic dramatically reducing the code footprint.
In addition to this all relevant unit tests have been updated and usages of these functions are working correctly. Also regarding issue #149 address []bytes has been removed from InsertPool.
Issue
Fixes #102
Type of change
Please mark the relevant option(s):

[x] New feature, functionality or library
[ ] Bug fix
[x] Code health or cleanup
[ ] Major breaking change
[ ] Documentation
[ ] Other

List of changes

Create ProtocolAccountSchema interface and BaseProtocolAccountSchema struct that implements this interface
Create Account and Pool types that share the common functionality of BaseProtocolAccountSchema
Generalise all Account and Pool functions to use shared logic
Remove address []byte from InsertPool()

Testing

[x] make develop_test
[x] LocalNet w/ all of the steps outlined in the README

Required Checklist

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have tested my changes using the available tooling
[ ] I have updated the corresponding CHANGELOG

If Applicable Checklist

[ ] I have updated the corresponding README(s); local and/or global
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added, or updated, mermaid.js diagrams in the corresponding README(s)
[ ] I have added, or updated, documentation and mermaid.js diagrams in shared/docs/* if I updated shared/*README(s)

@Olshansk I have also addressed the discussion comment in the persistence/account.go  file and included the code for the relevant change if desired - commented out though. The current functionality is identical to how it was prior - only using shared logic instead.

@Olshansk

1. Make sure to re-request review when you need me to take another look
2. Don't hesitate to resolve the comments yourself if your confident you addressed the comment

I thought I did these but will make sure going forward 🫡

3. Just double checking that LocalNet works fine? If so, go ahead and squash-and-merge!

All good - will update CHANGELOGs and merge after that


crossref exceptions: author - {given, family} and {name}

Both given, family and name
10.1101/2<IP_ADDRESS>8598
This is returned out-of-order (as the last item) compared to the RIS.
{
"name": "the HPAP Consortium",
"sequence": "additional",
"affiliation": []
}

Only name
This DOI is present in Dev, but not in Production, but noting that it may occur:
https://api.crossref.org/works/10.1038/nature24277
This is a case where author isn't a person and therefore instead of given and family, we only have name
"author":[{"name":"GTEx Consortium","sequence":"first","affiliation":[]} ...
This is a mismatch with the RIS citation:

AU  - Aguet, François
AU  - Brown, Andrew A.
AU  - Castel, Stephane E.
AU  - Davis, Joe R.
AU  - He, Yuan
AU  - Jo, Brian
AU  - Mohammadi, Pejman
...
AU  - GTEx Consortium

And if you click on GTEx Consortium link on the DOI - the same author list appears in a popup.

If name is the first author, ensure that it’s captured for use in the summary citation.
name(s) will not be included in the author filter only individual scientists.

Updated Data consumers can use publication metadata to find datasets in the portal.


Support to scan for multiple organization nodes a customer might have.

reported by @lukwam

resolved by #199


Question: how to set write parameters by using curl?

Hi,
I read a lot of discussions and learned, that it is possible to read not only realtime data but also set parameters from solax devices by using http requests, e.g. :
curl -d "optType=ReadSetData&pwd=<solaxcode>" -X POST http://192.168.xx.xx
which returns e.g.
[0,0,6,6,0,265,160,18,80,30,12000,0,0,0,0,0,0,1,61,107,101,64876,0,0,0,0,0,0,0,0,12593,12593,12593,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
I wonder if there is also a possibility to write set data to a solax device in the same way. Does this work? How? e.g. if I would like to change the 6 on position 3 in the array?
Thanks a lot for any hint!

Hi. Yes, all mapping which I was able to find (read and write ) is included in this integration.
You can use integration for HA.
If you plan to write code for other system, let me know. I'll help you understand mapping and known information.
Be aware that there is zero official documentation from Solax at the moment.

I am working on an integration for fhem. It would be great if you could share some information. E.g it would help a lot if you could give an example how to write a parameter by using curl command. Another interesting point is how to switch between charging modes, e.g from fast to green or to stop. Did you also find a way how to control this modes or to stop loading by command?

I am one step further and figured out how to set one value, e.g. the house current limit, which is to be seen in the settings array on position 18 (see example in first post, value 61). To set this value to e.g. 63 this can be done by posting:
curl -d 'optType=setReg&pwd=<solaxcode>&data={"num":1,"Data":[{"reg":18,"val":"63"}]}' -X POST http://192.168.xx.xx/
Now, I thought I got it and figured out, that mode configuration for green and eco mode is stored in the settings array on positions 2 and 3. So I tried this to set eco mode to 6A:
curl -d 'optType=setReg&pwd=<solaxcode>&data={"num":1,"Data":[{"reg":2,"val":"6"}]}' -X POST http://192.168.xx.xx
Doing so, I receive a success message, but indeed nothing changes in the settings array. I have no clue why.
So, maybe it would really help if you could lead me through your code and explain the mapping. Thanks in advance!

Look here to code. As I said, all mapping is already done. We know how to set all values. Don't need to reinvent wheel.

Thats perfect. But indeed I need some help to understand the code. Lets go for an example:
Assume car is loading and I want to stop loading process. In plugin_solax_ev_charger.py I found:
    SolaXEVChargerHttpSelectEntityDescription(         name = "Charger Use Mode",         key = "charger_use_mode",         register = 0x60D,         scale = {             0: "Stop",             1: "Fast",             2: "ECO",             3: "Green", },         icon = "mdi:dip-switch",     ),
Thats probably the description of the control corresponding to that one in the solax app:

So, which string do I have to post e.g. by using curl? Where in the code can I find the implementation of this REST call?

Hi, unfortunately my workload does not allow me to write proper mapping documentation. Here are notes how you can find it in code.

Definitions are as you already found here: plugin_solax_ev_charger.py#L69

You will find description and characteristics (scale, min, max ...). Main mapping you need to note is "register".
Register maps to Modbus TCP, because it is only official documentation we have.
These definitions are here to track other (Modbus) communication protocols maping.

For writing you need to look here: plugin_solax_ev_charger.py#L796

By register id you can find Json fragment you require to write on HTTP.
Http writing method is here: coordinator.py#L102

For reading you need mapping from registry: plugin_solax_ev_charger.py#L843
There you also find special processing of values if it is required.

Writing method for "Set" is here: coordinator.py#L114
For "Info" and "Data" here: coordinator.py#L88
NOTE: YES, read and write ID is sometimes different. Do not write to unknown IDs if you are not prepared to harm your device. For example writing to 19 is Factory reset (personally tested :) )
I hope that it helps. Feel free to write here if you need more info.
Also if you produce some documentation, please share it here to help other understand.
There is no SolaX documentation and lots of developers struggles with mapping.

Thanks a lot, that really helps. With this information I can understand your code. The most important information was that read and write IDs may differ, that caused my confusions.
Till now there is only one thing I was wondering about:

For Modbus Register 0x628 I found read index 76 and write index 82 in the code.
But If I read set data from my inverter only 64 entries are returned.

Maybe this is a typing mismatch? Or is it a question of the wallbox type? Mine is X3-EVC-11K

Thanks a lot, that really helps. With this information I can understand your code. The most important information was that read and write IDs may differ, that caused my confusions.
Till now there is only one thing I was wondering about:

For Modbus Register 0x628 I found read index 76 and write index 82 in the code.
But If I read set data from my inverter only 64 entries are returned.

Maybe this is a typing mismatch? Or is it a question of the wallbox type? Mine is X3-EVC-11K

You have old firmware. You can ask SolaX support and it will be updated online.
With old firmware there are only 64 entries.
I have 1.12 and I see all entries.
It is on my worklist to check firmware version and enable sensor only when it is available.

You are right, new firmware helped. Thank you!

Closing this. Please raise another discussion if you need more help.


Moving hard delete classes out of PersistentIndex

Moving hard delete functionality out of PersistentIndex because of the logical seperation
Also helps reason about log segmentation and compaction changes down the line
./gradlew build && ./gradlew test have passed.
Formatted.
No core code has been changed. Some class variables have been added and qualifiers of some functions have changed.

@pnarayanan Made the change. Built on OSX and Linux successfully.


Create an entity Row only server side (no .ts file)

There is a way to create a row class without creating the corresponding Row.ts when trasform T4 templates?
I have entities that are used only server side and never client side.

Currently that's not possible, unless you put them in a separate assembly.

Another option is to add generated .ts file into exclude list in tsconfig.json

Perfect, thank you @volkanceylan


people places and things IOT was a problem for me

Everyday I hear my people call out for a hero.And everyday their crys go unanswered. I was one once someone who listened and want to know what kind of man thad i'dbe. I still hear what I could hear then.

@Infraton11 appears to be a bot creating PR's


Markdown source isn't searched when rendered option is also enabled

I can't remember how this is supposed to work, and I see the same in the notebook find widget and the search view.
When I just search in markdown source, I can get this result

and when I also select markdown source, I have both options checked but get no results

so when Rendered Markdown is enabled it's supposed to take precedence over results from the source?

ooohhh yeah that's right. I can't think of a way to make it more obvious how it works in this situation.


Allow yawing with 0 throttle, changed condition to not being landed

Fixes #3450
Test-flown yesterday.

Applied to master, thanks!


TypeError: forms.map is not a function

There is another issue about this exact problem. But the user has closed it. So I decided to open another issue.
I'm on the master branch and performed the following tasks.
$ cd google-forms
$ npm install && cd server && npm install
$ cd ..
$ npm run dev

And when I tried to log in as incognito, I got the following error.

I think maybe forms is not an array, so it doesn't have a map function.

The owner (@rohitsaini1196) seems to be inactive.


sealed-secrets: remove in Sealed Secrets in favor of Mozilla SOPS

Use Mozilla SOPS instead of the Bitnami Sealed Secrets operator.  The cluster is regularly rebuilt from git and it is easy to lose the auto-generated private key and cert used for Sealed Secrets decryption.  Without it, we cannot access the sealed secrets and they all need to be regenerated.
Should work better to just keep the SOPS decryption key on a development machine and kubectl apply our few non-ephemeral secrets during the bootstrap process.
Added apply_encrypted_sops_secrets make target to assist with decryption and application of SOPS-encrypted secrets.  It assumes
export SOPS_AGE_KEY=$(age -d [path_to_encrypted_age_key])

has already been run.

bors r+

bors r+


Add support for Leptos 0.5.0

I am working on this issue with actix-web support on this pull request. It will be done soon
https://github.com/nicoburniske/leptos_image/pull/3


Put guild_id into MessageContextInteractionImpl's messages as Discord…

… doesn't provide them
Pull Request Etiquette

[x] I have checked the PRs for upcoming features/bug fixes.
[x] I have read the contributing guidelines.

Changes

[x] Internal code
[ ] Library interface (affecting end-user code)
[ ] Documentation
[ ] Other: _____

Closes Issue: NaN
Description
Discord message context menu events do not put guild_id into the message payload.  This PR will put that into the payload so that the EntityBuilder constructs the correct channel type surrounding it

This is a bandaid fix for now. After discussing with Discord devs it has been made apparently that we will only ever receive a guild_id with a message object when it is received over the websocket gateway.
As such, we need a more fundamental restructure for how we build Message objects to handle this lack of information as right now the system is open to these kinds of problems in future additions.


Implement Auth Policy

https://github.com/Azure/azure-sdk-for-cpp/issues/5

Same as https://github.com/Azure/azure-sdk-for-cpp/issues/18


Send imagemagick command as a string

This fix is working!

The comparison happened (and one of the failed). This implies that the library was able to find the images in the same, space-containing path that used to break the compare function.
Thanks, @jz-jess !


support running Dockerfiles with different platforms than x86_64, such as ARM

closing as this is almost 2 years old and no new activity related to it


how to replace my defined class id(int) to className

I opend morph_non_final_pojos option, but it is write className string to the final bytes,  It is too large when use the colloctions or maps,  so I want to replace my defined class id(int) to className, how to do it?

I tried to inherit the DefaultIdStrategy to override wirtePojoIdTo, transferPojoIdto, resolvePojoFrom function to support it, but the DefaultIdStrategy is final class, it can not be inheritted

I got it


fix incorrect constants for earth radius

see https://github.com/openstreetmap/iD/issues/9791 - the values were the wrong way around

Thanks @k-yle ! 👍
I'm surprised nobody noticed until now!


More control to vnode equality comparison during patch

Hi @paldepind and thanks for the great library! I noticed this issue when I was implementing snabbdom interpreter to TSERS.
Reactive libs (e.g. RxJs, Kefir, ...) usually have a combinator function for arrays of observables (like Rx.Observable.combineLatest) that cache the latest values from the combined observables and return the cached values from other observables than the changed one.
I discovered that if I remove one item from the existing observable list (list$ = O.combine(item1$, item2$, ...., render)) the list rendering crashes. It seems that this happens because snabbdom mutates  the patched/rendered new vnode by adding elm into it. However, because the items are cached inside the O.combine, the next patch/render (after item removal) receives exactly same vnodes as old and new ones. If I remove one item from the beginning of the list, snabbdom starts to patch and mutate existing vnodes, hence causing unexpected behaviour (somethings it crashes, sometimes just renders the DOM incorrectly, depending on the content).
Here is an example that is broken:
var snabbdom = require('snabbdom');
var patch = snabbdom.init([ ]);

var h = require('snabbdom/h');

var root = document.getElementById('app')

var li_1 = [
  h("li", [h("span", ["1"])]),
  h("li", [h("span", ["2"])]),
  h("li", [h("span", ["3"])]),
  h("li", [h("span", ["4"])])
]

var first = h('div', [
  h("ul", li_1)
])

var li_2 = [
  li_1[0],
  li_1[2],
  li_1[1],
  li_1[3],
]

var second = h('div', [
  h("ul", li_2)
])

patch(root, first)
patch(first, second)

In the end, that should render 1, 3, 2, 4. However, the final output is 1,2,3,4.
Fortunately this can easily be avoided by cloning the vtree before the patching operation:
function cloneVTree(vnode) {
  return {
    sel: vnode.sel,
    data: vnode.data,
    children: vnode.children && vnode.children.map(cloneTree),
    text: vnode.text,
    key: vnode.key,
    elm: vnode.elm
  }
}

However, this disables a very important performance optimization: vnode identity check.
My proposal is to give more control to vnode's equality comparison. The solution would be extremely simple: optional .equals function to vnode which performs the equality comparison. The solution would require only one backwards compatible change:
    ...
    var elm = vnode.elm = oldVnode.elm, oldCh = oldVnode.children, ch = vnode.children;
-   if (oldVnode === vnode) return;
+   if (oldVnode === vnode || (isDef(i = vnode.equals) && i(oldVnode, vnode))) return;
    ...

Now it would be possible to clone the existing vtree (thus avoid invalid patching behaviour) and preserve the identity check optimization:
// in my library code (simplified...)
const hh = require("snabbdom/h")
const h = (...args) => {
   const vnode = hh(...args)
   vnode.data.identity = {}
   vnode.equals = (old, vnode) => old.data.identity === vnode.data.identity
   return vnode
}

What do you think? Does this modification make any sense? I already have a forked branch with the modification and tests. If this is ok for you, then I'll make a PR for this.
Thanks!

However, this disables a very important performance optimization: vnode identity check.

This optimization only applies when using thunks or something similar. Are you using thunks?

This optimization only applies when using thunks or something similar. Are you using thunks?

Nope. It actually applies to normal vnodes as well and when using snabbdom with Observables it's quite easy to take advance of that optimization when using e.g. combineLatest.
You can verify this by debugging my example above (place debugger statement between first and second patch: the first li vnode is caught by the identity check, thus it and its children are not diffed/patched further).

There are 7 likes on this issue. But I'm not sure whether they are users who came here because they reused VNodes (which I'm pretty sure is not supported) and got undesired behavior or they support the suggestion of a custom VNode equality check API. Regardless, I've changed the title to make it obvious what this is about.
I am skeptical about the necessity of this feature. I'd like to see evidence of insufficient performance myself.


Fix TextEdit placeholder with Inherited text direction.

See https://github.com/godotengine/godot/issues/81348#issuecomment-170843871 (first)

Thanks!


Provide branch/commit in version output

Pull request
Description
Adds explicit version tracking for branches/commits not made on the main branch.
Related

Related Issues: https://github.com/tremor-rs/tremor-runtime/issues/607

Checklist

[x] The RFC, if required, has been submitted and approved
[x] Any user-facing impact of the changes is reflected in docs.tremor.rs
[x] The code is tested
[x] Use of unsafe code is reasoned about in a comment
[x] Update CHANGELOG.md appropriately, recording any changes, bug fixes, or other observable changes in behavior
[ ] The performance impact of the change is measured (see below)

Performance

Coverage increased (+0.002%) to 83.538% when pulling b16ecb72ec5cd350d962bff0a6e4b39e595a2b47 on wayfair-contribs:commit-hashes-on-release-versions into 62c2e7026b0d3b30d2761ea2976deaa1c5e511aa on tremor-rs:main.

@GaryPWhite in case you didnt find i yet, we have the command make clippy we run before we push a PR, it will show you all nitpicks from the whole codebase. Hope this helps. Clippy is a really strict master.

I'm not sure this fully resolves the issue, since building tremor without docker / makefile won't include the hash. Would it be possible to leverage the build.rs to intern this natively into the build process?

ah, I assumed the build processes used for any dev work would be through the makefile... I can look into getting the same input to build.rs!

Really nice! Only one tiny thing: lets default to something like "<NOT BUILT FROM GIT>" (or really any sensible placeholder / warning )" when we can't use got, otherwise tarball builds won't work and I think at least nix depends on that. Otherwise, it'd cause people with tarballs problems :), that aside I love it Darn good work :D

had to update the dockerfile -- found that after we include the build argument, it would detect all the surrounding folders included in the rust image. Instead of building on /, it builds now in /app


[Improvement][Alert Instance] Improvement alert plugin instance i18n  Informational tips

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
Further optimization of the issuse #16517
The prompt information is currently hardcoded in the backend, and it needs to be moved to the frontend to avoid interaction with the database.
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

Please create an DSIP first and provide full design details.


ks.sql()

This builds on earlier sql work by @thunterdb and @floscha. I updated the following based on Tim's PR https://github.com/databricks/koalas/pull/360:

Increased test coverage
Fixed a bug with string conversion
Added license header
Removed pymysql dependency and inlined the string escape function
Changed the function to instead expose indexes as top level columns, rather than hiding it. I think that makes more sense in general because it's very likely I'd like to query the indexes.

Resolves #285

Codecov Report

Merging #448 into master will decrease coverage by 0.14%.
The diff coverage is 88.34%.

@@            Coverage Diff             @@
##           master     #448      +/-   ##
==========================================
- Coverage   93.06%   92.91%   -0.15%
==========================================
  Files          27       28       +1
  Lines        3343     3444     +101
==========================================
+ Hits         3111     3200      +89
- Misses        232      244      +12

Impacted Files
Coverage Δ

databricks/koalas/namespace.py
90.09% <ø> (-0.09%)
:arrow_down:

databricks/koalas/__init__.py
93.1% <100%> (+0.24%)
:arrow_up:

databricks/koalas/sql.py
88.23% <88.23%> (ø)

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 2df5f64...8ff95ee. Read the comment docs.

@floscha any other feedback other than the exception handling part? If not, I will merge this and fix the exception as a follow up when Tim is back.

Thanks. I added a TODO just in case we forget. Merging now.

BTW, I think we can use the same code path when we happen to implement to_sql  (https://pandas.pydata.org/pandas-docs/version/0.23.4/generated/pandas.DataFrame.to_sql.html)


Upgrade to Unity 5.0 => cannot find Unity.RegistrationByConvention in any package

Hi,
just updated to Unity 5.0 and had compilation troubles as I cannot find Unity.RegistrationByConvention in any nuget package.
Am I doing something wrong?

No, you are doing everything right. The package is sitting here and waiting to be finished.
I was hoping to get to it soon but other things prevented me.
You are welcome to solve this little puzzle and submit a pull request. I'll deploy it in a heartbeat.

Duplicate of unitycontainer/registration-by-convention#2


Modernizing views for iPhone X/iOS 12

What are you working on now ❓
Currently working on modernizing the views for iPhone X/iOS 12.
The branch where the updates live 🌴
https://github.com/selfconference/selfconf-ios/tree/update-views

PR is up for this issue: https://github.com/selfconference/selfconf-ios/pull/7

Closing this since the PR has now been merged!


error logs: invalid CIDR address: Device "eth0" does not exist

I'm seeing lots of errors in my logs along the lines of:
kubelet[2320]: E0428 10:30:04.003907    2320 manager.go:309] NetworkPlugin cni failed on the status hook for pod 'getter-kd3x7' - invalid CIDR address: Device "eth0" does not exist.
I think its benign, but we're hitting quite a few of them.
Using calico-containers v0.19.0 on a CoreOS VM in GCE and K8s v1.2.0.

Dupe of https://github.com/projectcalico/calico-containers/issues/943.  Looks like a benign upstream k8s issue.


Upgrade terraform to 1.0.0

Overview
A terraform upgrade was necessary for a desired feature surfaced from work in another PR in the parent issue.
Connects #1998
Notes
This was a multi-step upgrade that involved jumping through multiple versions to minimize the amount of code changes necessary at each step. Due to the nature of the upgrade, the terraform code was applied at each step, so code covered by this PR is currently in place on the OSH staging environment.
Testing Instructions
This code is currently deployed to staging, so testing should be done as a verification of the changes.

ensure that jenkins completed successfully
review the console output in jenkins to verify that nothing was changed that affects the functioning of the site
navigate the staging site to ensure correct functionality
submit a list to ensure that submitted lists are processing correctly.

Checklist

[ ] fixup! commits have been squashed
[ ] CI passes after rebase
[ ] CHANGELOG.md updated with summary of features or fixes, following Keep a Changelog guidelines
[x] This PR is targeted at the correct branch (develop vs. ogr/develop)
[ ] If this PR applies to both OAR and OGR a companion PR has been created

a warning in the terraform upgrade flagged these five variables in the .tfvars file because they're defined, but not used anywhere. We've commented out the 5 relevant lines for now:
tile_ecs_desired_count
tile_ecs_deployment_min_percent
tile_ecs_deployment_max_percent
tile_fargate_cpu
tile_fargate_memory

I believe that the tile_ variables were related to this experimental PR that was never put into production https://github.com/open-apparel-registry/open-apparel-registry/pull/1107

I changed the title of the PR to Upgrade terraform to 1.1.9 to more accurately reflect the upgrade.


Broken link in your help file

Dear James,
Thank you for this Stata package. Reading the help file of fgini, note that the reference to Accurate calculation of a Gini index using SAS and R, by Vic Duoba and Nairn MacGibbon (also there is a writing error in your help file to be corrected, instead of on it should be MacGibbon ) is broken.
It currently can be found here: https://statsnz.contentdm.oclc.org/digital/collection/p20045coll1/id/4199/
Best regards,
Eric

@ericmelse - Thanks. I've merged a new version of the help file and put link in the repo landing page README.


Is bool boolval

fixes #452

Why include BoolVal locally and not globally?
My comment has to do in general with the structure of the file and its imports.
At the same time, we include globally things we use only once (iterable, combinations, math) or dont even use (chain).


Feature: Configure callback

I'd like to attempt to make the hardcoded callback url (http://localhost:3000) for openid implicit to be configurable. Is this a feature you'd be interested in merging were I to open a PR?
At the very least, I'd expect to be able to use something like --callback http://localhost:8653/whatever/path or similar via CLI option and the http server to respect this.

The change would also affect the VSCode extension. Therefore, when starting the server, it would be necessary to check whether a server has already been opened on this port and to reuse it if necessary. This makes it necessary to manage the servers that have been started.
To customize the path, the logic for recognizing the callback call must be adjusted.
I actually don't mind features that extend functionality. However, backwards compatibility should always be taken into account (if possible).

The pull request I have just published with the new version


Implement insertAtEnd() function for a Singly Linked List

Taking reference from issue #12, implement the insertAtEnd() function for a Singly Linked List.
First step
Search, read, and understand information about lists, linked lists, and singly-linked lists, and how they are implemented.
Second step
Open a pull request with the data structure implementation, and wait for comments from @code-sherpas/kollections-maintainers.
Minimum acceptance criteria

The implementation must be well documented with proper Javadoc at Class and function levels.
The implementation must be tested with automatic tests that cover all relevant cases and situations.
The implementation must be generic.
The implementation must have the expected time complexity according to Computer Science. Here you can find a very helpful cheat sheet.

Related resources:

https://www.youtube.com/watch?v=v4cd1O4zkGw&ab_channel=HackerRank
https://www.youtube.com/watch?v=njTh_OwMljA&ab_channel=HackerRank
https://en.wikipedia.org/wiki/List_(abstract_data_type)
https://en.wikipedia.org/wiki/Linked_list#Singly_linked_list
https://www.bigocheatsheet.com/

Hey @ashikka could i work on this?

Hey @ashikka could i work on this?

Definitely!

Hey i made a PR regarding this please check it out. #47


Suspend the serial queue if we don't have the device id

What?
If user wants to subscribe to an interest and we don't have the device id, we will suspend the serial queue and resume it once we get the device id.

CC @pusher/mobile

Codecov Report

Merging #51 into master will decrease coverage by 0.3%.
The diff coverage is 13.04%.

@@            Coverage Diff             @@
##           master      #51      +/-   ##
==========================================
- Coverage   68.55%   68.25%   -0.31%
==========================================
  Files          28       28
  Lines         916      926      +10
  Branches       20       20
==========================================
+ Hits          628      632       +4
- Misses        288      294       +6

Impacted Files
Coverage Δ

Sources/PushNotifications.swift
12.13% <13.04%> (+1.42%)
: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 2f3afec...5526ecd. Read the comment docs.


Updated members in 'swarm' workspace

If you want to create a space follow this guide
https://docs.snapshot.page/guides/create-a-space

It's now possible to create and edit a space without doing pull requests but using ENS and IPFS instead. Could you use this new method to create your space? Here is the guide: https://docs.snapshot.page/guides/create-a-space (you can keep your PR for add the images and skin)

Hi, yeah, we could use the new method, but we realized only now that the swarm.eth was already taken. We had to rename our space to 'swarmnetwork' and I think this will have to go in as a pull request after all. Thanks and let me know in case this is not all right.

Your space path should be similar to your ENS domain name, something like spaces/swarmnetwork.eth/logo.png.  Keep this in your ENS parameters.

Changed directory name to swarmnetwork.eth and deleted index.json. Hope that's right

@bowsernet Sorry but there is a confusion in your PR. I thought you were creating a new space when you are editing an existing one.
In this PR you add 2 images in a new space and delete index.json from the existing space.
We have to choose here whether you want to modify the swarm' space or create the swarmnetwork.eth' space.
Thank you.

Well, I admit I'm confused myself. We don't need the old space since we couldn't manage it through ENS (someone else owns swarm.eth). Should I keep it anyway? Does the new space need index.json then?
The PR as it is now renames the space from 'swarm' to 'swarmnetwork.eth' and deletes index.json because as I understand it, it's no longer needed. If this is wrong, what's the proper way to achieve what we need? Which is to have a new 'swarmnetwork.eth' space which we can manage ourselves and ideally remove the old one ('swarm')?
Sorry if I'm missing something and thanks!


libxft-bgra seems to be removed from the AUR

So, when you try to download libxft-bgra from the AUR as Luke suggested libxft-bgra from AUR it shows you a 404 error which suggests that the package has been removed. Searching for it in the AUR gave me these results 1st result and 2nd result.
St doesn't seem to crash without it, at least for me. Just pointing it out that the original package is nowhere to be found.

README now changed. The relevant package is now libxft-git until the new version of libxft comes out and it becomes unnecessary.


remove stray kubeconfig from testing

In testing commit 095d76f, there was a kubeconfig file created that was accidentally included in the commit.
See https://github.com/openshift/hive/pull/594.

/lgtm


Rule proposal: jsx-no-undef-props

This rule enforces that no props have the value undefined. In React, these props will not be passed down to the instance of the component, so just suggest to the user to leave off the prop instead of passing undefined as its value.
Not sure if this is wanted or needed, but I thought it could be useful!

Yeah that was kind of the point to check for literally undefined - this was more for newcomers to React to say you don't need to pass down an undefined prop that you've maybe defined in propTypes. I can see, also, that this conflicts with #611 which I think is more valuable, anyway.

I don't see how it conflicts with #611 - that's checking for unused propTypes within the same component file, at the definition site, while this one checks for undefined props at the rendering site.
We already have a rule that checks for literal true, so I think it's helpful to have one for literal undefined as well.

Ah you're right I misunderstood - it would only conflict if someone defined a prop in propTypes and then weirdly just passed it down with undefined as a value, but I don't think that's much to worry about. I'll update to just check for the literal undefined.

LGTM

@evcohen this seems like a bad merge - can you force push to the branch and update the PR in-place?

@ljharb what the heck just happened, i rebased against master 😢

@evcohen I think it needs a rebase, NOT a merge, so as to reduce the 56 commits included in this PR to a more manageable number

@ljharb as soon as i get a few mins i will rebase and squash


chore: migrate firestore samples to java-firestore repo

https://github.com/googleapis/java-firestore/pull/315

[ ] Locations updated in devsite
[ ] Please merge this PR for me once it is approved.

Do you want to move from draft so we can merge?

Not yet, I'm waiting for the devsite cl to be submitted before we remove the snippets from this repo.

Devsite CL has merged, this is ready for merging


asm-lsp: 0.6.0 -> 0.7.1

Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

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

1 package built:

asm-lsp

I don't know why ofborg is trying to rebuild on darwin, asm-lsp is marked as linux-only.


Homebridge is crashing on my Raspberry Pi 3

This is what homebridge is going.
pi@raspberrypi:~ $ homebridge
*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=node
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister
[2/17/2017, 9:41:04 PM] Loaded plugin: homebridge-homeassistant
[2/17/2017, 9:41:04 PM] Registering platform 'homebridge-homeassistant.HomeAssistant'
[2/17/2017, 9:41:04 PM] ---
[2/17/2017, 9:41:05 PM] Loaded plugin: homebridge-liftmaster
[2/17/2017, 9:41:05 PM] Registering accessory 'homebridge-liftmaster.LiftMaster'
[2/17/2017, 9:41:05 PM] ---
[2/17/2017, 9:41:06 PM] Loaded plugin: homebridge-nest
[2/17/2017, 9:41:06 PM] Registering platform 'homebridge-nest.Nest'
[2/17/2017, 9:41:06 PM] ---
[2/17/2017, 9:41:06 PM] Loaded config.json with 1 accessories and 2 platforms.
[2/17/2017, 9:41:06 PM] ---
[2/17/2017, 9:41:06 PM] Loading 2 platforms...
[2/17/2017, 9:41:06 PM] Initializing Nest platform...
[2/17/2017, 9:41:06 PM] Fetching Nest devices.
[2/17/2017, 9:41:06 PM] [HomeAssistant] Initializing HomeAssistant platform...
[2/17/2017, 9:41:07 PM] [HomeAssistant] Fetching HomeAssistant devices.
[2/17/2017, 9:41:07 PM] Loading 1 accessories...
[2/17/2017, 9:41:07 PM] [Garage Door Opener] Initializing LiftMaster accessory...
[2/17/2017, 9:41:07 PM] [HomeAssistant] Received event: ping
[2/17/2017, 9:41:07 PM] [HomeAssistant] Initializing platform accessory 'Front Door'...
[2/17/2017, 9:41:08 PM] Software version for Upstairs Thermostat is: 5.6-7
[2/17/2017, 9:41:08 PM] Temperature unit for Upstairs Thermostat is: Fahrenheit
[2/17/2017, 9:41:08 PM] Current temperature for Upstairs Thermostat is: 70 F
[2/17/2017, 9:41:08 PM] Current humidity for Upstairs Thermostat is: 45%
[2/17/2017, 9:41:08 PM] Target temperature for Upstairs Thermostat is: 65 F
[2/17/2017, 9:41:08 PM] Target heating for Upstairs Thermostat is: Heating
[2/17/2017, 9:41:08 PM] Away for Upstairs Thermostat is: 0
[2/17/2017, 9:41:08 PM] Software version for Downstairs Thermostat is: 5.6-7
[2/17/2017, 9:41:08 PM] Temperature unit for Downstairs Thermostat is: Fahrenheit
[2/17/2017, 9:41:08 PM] Current temperature for Downstairs Thermostat is: 69 F
[2/17/2017, 9:41:08 PM] Current humidity for Downstairs Thermostat is: 40%
[2/17/2017, 9:41:08 PM] Target temperature for Downstairs Thermostat is: 68 F
[2/17/2017, 9:41:08 PM] Target heating for Downstairs Thermostat is: Heating
[2/17/2017, 9:41:08 PM] Away for Downstairs Thermostat is: 0
[2/17/2017, 9:41:08 PM] Software version for Upstairs Nest Protect is: 3.1rc9
[2/17/2017, 9:41:08 PM] Initializing platform accessory 'Upstairs Thermostat'...
[2/17/2017, 9:41:08 PM] Initializing platform accessory 'Downstairs Thermostat'...
[2/17/2017, 9:41:08 PM] Initializing platform accessory 'Upstairs Nest Protect'...
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
┌────────────┐
│ 987-65-432 │
└────────────┘

[2/17/2017, 9:41:08 PM] Homebridge is running on port 51826.
[2/17/2017, 9:41:11 PM] [HomeAssistant] Received event: {"time_fired": "2017-02-18T02:41:11.518717+00:00", "event_type": "state_changed", "data": {"entity_id": "media_player.neels_apple_tv", "new_state": {"entity_id": "media_player.neels_apple_tv", "last_updated": "2017-02-18T02:41:11.518611+00:00", "last_changed": "2017-02-18T02:38:15.882046+00:00", "state": "paused", "attributes": {"supported_features": 21043, "media_title": "No title", "media_position_updated_at": "2017-02-18T02:41:11.518223+00:00", "media_duration": 0, "friendly_name": "Neel's Apple TV", "media_position": 0, "media_content_type": "movie"}}, "old_state": {"entity_id": "media_player.neels_apple_tv", "last_updated": "2017-02-18T02:41:00.531529+00:00", "last_changed": "2017-02-18T02:38:15.882046+00:00", "state": "paused", "attributes": {"supported_features": 21043, "media_title": "No title", "media_position_updated_at": "2017-02-18T02:41:00.531069+00:00", "media_duration": 0, "friendly_name": "Neel's Apple TV", "media_position": 0, "media_content_type": "movie"}}}, "origin": "LOCAL"}
undefined:1
Request RejectedYour request has been denied.[5442595389366450653]
^
SyntaxError: Unexpected token <
at Object.parse (native)
at Request._callback (/usr/local/lib/node_modules/homebridge-liftmaster/index.js:59:25)
at Request.self.callback (/usr/local/lib/node_modules/homebridge-liftmaster/node_modules/request/request.js:373:22)
at emitTwo (events.js:87:13)
at Request.emit (events.js:172:7)
at Request. (/usr/local/lib/node_modules/homebridge-liftmaster/node_modules/request/request.js:1318:14)
at emitOne (events.js:82:20)
at Request.emit (events.js:169:7)
at IncomingMessage. (/usr/local/lib/node_modules/homebridge-liftmaster/node_modules/request/request.js:1266:12)
at emitNone (events.js:72:20)
at IncomingMessage.emit (events.js:166:7)
at endReadableNT (_stream_readable.js:913:12)
at nextTickCallbackWith2Args (node.js:442:9)
at process._tickCallback (node.js:356:17)
This is my config file
{
"bridge": {
"name": "BatHome",
"username": "AC:BC:32:CF:27:6D",
"port": 51826,
"pin": "987-65-432"
},
"accessories": [{

	"accessory": "LiftMaster",
	"name": "Garage Door Opener",
	"username": "********",
	"password": "********"
}],

"platforms": [{
	"platform": "Nest",

	"token": "********",

	"clientId": "********",
	"clientSecret": "********",
	"code": "********",

	"username": "********",
	"password": "********"
}, {
	"platform": "HomeAssistant",
	"name": "HomeAssistant",
	"host": "********",
	"password": "********",
	"supported_types": ["fan", "garage_door", "input_boolean", "light", "lock", "media_player", "rollershutter", "scene", "switch"]
}]

}
What am I am doing wrong?

Check node version is correct as per docs. And try without homeassitant plugin, then eliminate each plugin one by one.
One of them is hurting you
Sent from my iPhone

On 18 Feb 2017, at 03:46, Neelrp12<EMAIL_ADDRESS>wrote:
This is what homebridge is going.
pi@raspberrypi:~ $ homebridge
*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=node
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister
[2/17/2017, 9:41:04 PM] Loaded plugin: homebridge-homeassistant
[2/17/2017, 9:41:04 PM] Registering platform 'homebridge-homeassistant.HomeAssistant'
[2/17/2017, 9:41:04 PM] ---
[2/17/2017, 9:41:05 PM] Loaded plugin: homebridge-liftmaster
[2/17/2017, 9:41:05 PM] Registering accessory 'homebridge-liftmaster.LiftMaster'
[2/17/2017, 9:41:05 PM] ---
[2/17/2017, 9:41:06 PM] Loaded plugin: homebridge-nest
[2/17/2017, 9:41:06 PM] Registering platform 'homebridge-nest.Nest'
[2/17/2017, 9:41:06 PM] ---
[2/17/2017, 9:41:06 PM] Loaded config.json with 1 accessories and 2 platforms.
[2/17/2017, 9:41:06 PM] ---
[2/17/2017, 9:41:06 PM] Loading 2 platforms...
[2/17/2017, 9:41:06 PM] Initializing Nest platform...
[2/17/2017, 9:41:06 PM] Fetching Nest devices.
[2/17/2017, 9:41:06 PM] [HomeAssistant] Initializing HomeAssistant platform...
[2/17/2017, 9:41:07 PM] [HomeAssistant] Fetching HomeAssistant devices.
[2/17/2017, 9:41:07 PM] Loading 1 accessories...
[2/17/2017, 9:41:07 PM] [Garage Door Opener] Initializing LiftMaster accessory...
[2/17/2017, 9:41:07 PM] [HomeAssistant] Received event: ping
[2/17/2017, 9:41:07 PM] [HomeAssistant] Initializing platform accessory 'Front Door'...
[2/17/2017, 9:41:08 PM] Software version for Upstairs Thermostat is: 5.6-7
[2/17/2017, 9:41:08 PM] Temperature unit for Upstairs Thermostat is: Fahrenheit
[2/17/2017, 9:41:08 PM] Current temperature for Upstairs Thermostat is: 70 F
[2/17/2017, 9:41:08 PM] Current humidity for Upstairs Thermostat is: 45%
[2/17/2017, 9:41:08 PM] Target temperature for Upstairs Thermostat is: 65 F
[2/17/2017, 9:41:08 PM] Target heating for Upstairs Thermostat is: Heating
[2/17/2017, 9:41:08 PM] Away for Upstairs Thermostat is: 0
[2/17/2017, 9:41:08 PM] Software version for Downstairs Thermostat is: 5.6-7
[2/17/2017, 9:41:08 PM] Temperature unit for Downstairs Thermostat is: Fahrenheit
[2/17/2017, 9:41:08 PM] Current temperature for Downstairs Thermostat is: 69 F
[2/17/2017, 9:41:08 PM] Current humidity for Downstairs Thermostat is: 40%
[2/17/2017, 9:41:08 PM] Target temperature for Downstairs Thermostat is: 68 F
[2/17/2017, 9:41:08 PM] Target heating for Downstairs Thermostat is: Heating
[2/17/2017, 9:41:08 PM] Away for Downstairs Thermostat is: 0
[2/17/2017, 9:41:08 PM] Software version for Upstairs Nest Protect is: 3.1rc9
[2/17/2017, 9:41:08 PM] Initializing platform accessory 'Upstairs Thermostat'...
[2/17/2017, 9:41:08 PM] Initializing platform accessory 'Downstairs Thermostat'...
[2/17/2017, 9:41:08 PM] Initializing platform accessory 'Upstairs Nest Protect'...
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
┌────────────┐
│ 987-65-432 │
└────────────┘
[2/17/2017, 9:41:08 PM] Homebridge is running on port 51826.
[2/17/2017, 9:41:11 PM] [HomeAssistant] Received event: {"time_fired": "2017-02-18T02:41:11.518717+00:00", "event_type": "state_changed", "data": {"entity_id": "media_player.neels_apple_tv", "new_state": {"entity_id": "media_player.neels_apple_tv", "last_updated": "2017-02-18T02:41:11.518611+00:00", "last_changed": "2017-02-18T02:38:15.882046+00:00", "state": "paused", "attributes": {"supported_features": 21043, "media_title": "No title", "media_position_updated_at": "2017-02-18T02:41:11.518223+00:00", "media_duration": 0, "friendly_name": "Neel's Apple TV", "media_position": 0, "media_content_type": "movie"}}, "old_state": {"entity_id": "media_player.neels_apple_tv", "last_updated": "2017-02-18T02:41:00.531529+00:00", "last_changed": "2017-02-18T02:38:15.882046+00:00", "state": "paused", "attributes": {"supported_features": 21043, "media_title": "No title", "media_position_updated_at": "2017-02-18T02:41:00.531069+00:00", "media_duration": 0, "friendly_name": "Neel's Apple TV", "media_position": 0, "media_content_type": "movie"}}}, "origin": "LOCAL"}
undefined:1
Request RejectedYour request has been denied.
[5442595389366450653] ^
SyntaxError: Unexpected token <
at Object.parse (native)
at Request._callback (/usr/local/lib/node_modules/homebridge-liftmaster/index.js:59:25)
at Request.self.callback (/usr/local/lib/node_modules/homebridge-liftmaster/node_modules/request/request.js:373:22)
at emitTwo (events.js:87:13)
at Request.emit (events.js:172:7)
at Request. (/usr/local/lib/node_modules/homebridge-liftmaster/node_modules/request/request.js:1318:14)
at emitOne (events.js:82:20)
at Request.emit (events.js:169:7)
at IncomingMessage. (/usr/local/lib/node_modules/homebridge-liftmaster/node_modules/request/request.js:1266:12)
at emitNone (events.js:72:20)
at IncomingMessage.emit (events.js:166:7)
at endReadableNT (_stream_readable.js:913:12)
at nextTickCallbackWith2Args (node.js:442:9)
at process._tickCallback (node.js:356:17)
This is my config file
{
"bridge": {
"name": "BatHome",
"username": "AC:BC:32:CF:27:6D",
"port": 51826,
"pin": "987-65-432"
},
"accessories": [{
"accessory": "LiftMaster",
"name": "Garage Door Opener",
"username": "",
"password": ""
}],
"platforms": [{
"platform": "Nest",
"token": "********",
"clientId": "",
"clientSecret": "",
"code": "********",
"username": "",
"password": ""
}, {
"platform": "HomeAssistant",
"name": "HomeAssistant",
"host": "",
"password": "",
"supported_types": ["fan", "garage_door", "input_boolean", "light", "lock", "media_player", "rollershutter", "scene", "switch"]
}]
}
What am I am doing wrong?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

It's liftmaster, see #1136
I recommend closing this duplicate.

I used a different plugin and it worked.
https://github.com/luisiam/homebridge-liftmaster2