Breaking changes in nvim-treesitter cause wrong highlighting

Describe the bug
The <template> section in .vue files are currently being highlighted wrong, because of a breaking change to nvim-treesitter and the name of the highlight groups.
I coincidentally found out that a breaking change to names of highlight groups in nvim-treesitter probably cause this issue, by finding this reddit thread having the same issue as me. One of the comments under that thread explained what maybe caused this issue.
This other comment under the thread added a temporary fix that resolves the issue, until the theme is fixed. I will add a screenshot of the default highlighting without the fix and another screenshot with the temporary fix added.
To Reproduce
Steps to reproduce the behavior:

Open a .vue file with a <template>, <style> and <script> section
See wrong highlighting of <template> section

Expected behavior
Correct highlighting like in the <script> and <style> section
Screenshots
Current highlighting (without the fix):

Highlighting after adding the temporary fix:

I don't know how easily this is fixable and if this is even a problem with this theme, but I just wanted to share what I found out, so it may help someone.
Any help is greatly appreciated!
Thanks
Other related reddit thread: https://www.reddit.com/r/neovim/comments/ytc9d8/a_psa_to_colourscheme_maintainers_please_support/

We already support the new tree-sitter highlight groups here. Are we missing any groups? What neovim version are you using?

Thanks for your response, interesting. My current neovim version is:
NVIM v0.8.0-1210-gd367ed9b2
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3

Then it's weird that the highlighting is wrong for me. Could it be a wrong neovim version or an older gruvbox version, or what else could the reason be?

@timii can you try upgrading to latest stable (0.8.1) and trying again please?

Closing since we've got no answer. Feel free to reopen if the issue remains


Twitter & Google+ count not working

Hi,
I have an issue where the counts for twitter and Google+ are not working it seems. The urls have been shared on both networks but not showing up.
URL: https://www.coslimburg.nl/cos-actueel/277-fairtrade-week-in-heerlen-en-sittard-geleen.html

Hi, Twitter stopped providing these counts a long time ago: https://onlinecommunityhub.nl/community-tools/goodbye-twitter-counter
There is an issue with Google plus, that cannot be fixed.


Adds a shell script to help build the H3 toolchains

Maybe too much to ask but it would be great if the script also build curl with H3 support so you can run autest.

Maybe too much to ask but it would be great if the script also build curl with H3 support so you can run autest.

Can we add that later ?

Sure, I can add it later.

With the limit for the number of jobs, I confirmed that tools are built and works.

This builds curl, but I had to modify the code to make it speak draft-29 (it seems like the latest code is broken to me).
echo "Building curl ..."
[ ! -d curl ] && git clone https://github.com/curl/curl.git
cd curl
autoreconf -i
./configure --prefix=${BASE} --with-ssl=${OPENSSL} --with-nghttp2=${BASE} --with-nghttp3=${BASE} --with-ngtcp2=${BASE} CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}"
gmake -j
sudo gmake install

I added the curl section, but when I try it, it hangs:
odin (15:21) 277/0 $ /opt/bin/curl --http3 https://www.google.com/

Hangs? Mine simply failed. Anyway, the build step is correct. It'll probably be fixed at some point.

Cherry-picked to v9.0.x branch.


Tools to generate User Agent strings in the performance-test project

Description
Adds tools to the performance-test project to generate random User Agent strings. I created this to reproduce #4618 and then verify that the solution I provided in #4619 solved the problem.
To Use
Change Chain::sendApacheCommonLogPostRequest to:
    public static ChainBuilder sendApacheCommonLogPostRequest(final String name, final int batchSize) {
        return CoreDsl.exec(
                HttpDsl.http(name)
                        .post(PathTarget.getPath())
                        .body(CoreDsl.StringBody(Templates.userAgent(batchSize))));
    }

Run:
./gradlew :performance-test:gatlingRun-org.opensearch.dataprepper.test.performance.TargetRpsSimulation

Issues Resolved
N/A
Check List

[ ] New functionality includes testing.
[ ] New functionality has a documentation issue. Please link to it in this PR.

[ ] New functionality has javadoc added

[ ] Commits are signed with a real name per the DCO

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Looks good to me. Thanks for providing the change.

Thanks for the useful feedback!


All images are missing in client because of wrong path

I noticed that in current master 8adeb7cde395d7 images are missing. (mode, start stop flags etc).
The reason is wrong path. They are requested from /build/otpjs/lib/styles/images/.. but are in /build/otpjs/lib/images/ previous commit works OK.
This happens in building since before styles isn't in images path in css files.

Fixed in 19691d69720bc04f8cca0822ec4bab55bb97bf85


Increment dataflow client version

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[x] Each commit in the pull request should have a meaningful subject line and body.
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Run mvn clean verify to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[x] If this contribution is large, please file an Apache Individual Contributor License Agreement.

This is necessary in order to consume new v1b3 fields in the Dataflow worker.

R: @tgroh

Coverage increased (+1.0%) to 69.584% when pulling 7330cd023c2e0957bf04b55fe58204b59a50d1a3 on swegner:dataflow-client into 92615ca4c4e09bc63c37a933102035040c23aac9 on apache:master.

run dataflow validatesrunner

Ping


fix: Allow no policy for SparkEmrServerlessRuntime.createExecRole()

Issue #, if available:
#180
Description of changes:

Checklist

[ ] Update tests
[x] Update docs
[x] PR title follows conventional commit semantics (fix: , feat: , docs: , ...)

Breaking change checklist

RFC issue #:

[ ] Migration process documented
[ ] Implement warnings (if it can live side by side)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

can you add unit tests on the create execution role?

Done.


fix(collapse): manage expand behavior by prop

Manage expand behavior by prop /Collapse
TASK:  https://github.com/nextui-org/nextui/issues/162
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Only
[ ] Refactor

Description, Motivation and Context
I just replace initialExpanded to expanded, to be able to use this prop as a trigger to make changes in the state
Screenshots - Animations

Codecov Report

Merging #180 (c51042f) into main (3664bd5) will increase coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #180      +/-   ##
==========================================
+ Coverage   76.10%   76.13%   +0.03%
==========================================
  Files         140      140
  Lines        2272     2275       +3
  Branches      680      681       +1
==========================================
+ Hits         1729     1732       +3
  Misses        538      538
  Partials        5        5

Impacted Files
Coverage Δ

packages/react/src/collapse/collapse.tsx
95.74% <100.00%> (+0.29%)
: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 3664bd5...c51042f. Read the comment docs.

Thanks a lot @DaniAcu 🙌🏻


Multiline comments support

We need to support multiline comments. We should allow user to add multiple lines with SHIFT + ENTER

Fixed with #22

added auto-expandable support, but also set max-height to limit the expandable height.


IntelliSense breaks on files using import or export

VSCode Version: 1.46.1
OS Version: Microsoft Windows 10

I do not know if this is a bug, or an inteded feature, but when I am trying to rely on autosuggestion from the Javascript IntelliSense, Visual Studio Code does not parse files using import or export statements for types.
Steps to Reproduce:

Create a new empty workspace
Create file myclass.js

class MyClass {
    ... class methods here
}

Create file index.js

/** @type {MyClass} */
let instanceOfMyClass;

Now I get suggestions on methods available in MyClass in index.js file.

Add an import statement to myclass.js, ie: import jQuery from 'jQuery';

Now I do not see any autosuggestion on methods available in MyClass in index.js file.

The same applies when running VSCode without extensions.

By adding the import to myclass.js you have made the file into a module. Modules are isolated so their variables are not globally accessible. Instead you must import MyClass to use it

Okay, so basically, if I have an ES6 class definition inside a module, I instantiate that class in some file, and then start passing it over to different modules as a parameter (the instantiated variable, not the definition itself), it means that I have to also manually import my module with the definition in each and every file? Because this seems a bit like an overkill to me...

You can use import types for this case: https://github.com/Microsoft/TypeScript/issues/23692#issuecomment-384599074


Arm builds for Ubuntu

All the packages in ubuntu repository expect buildah are compiled for armh
Please add armh packages for buildah as well
Ubuntu repository
https://launchpad.net/~projectatomic/+archive/ubuntu/ppa

@brlbil @rhatdan sorry about the lag, but yes, armhf will be available in a bit, all other packages in the PPA do have armhf already https://launchpad.net/~projectatomic/+archive/ubuntu/ppa/+packages

v0.15 (built from master) should be available in a bit (pending publication) for all arches except powerpc. ptal and lmk.

Looks like these are built now.


Use historic quantiles with daily data for viz dates

Lots of cleaning/reorganizing, but a few main things:

Remove climate response gage code
Adjust NWIS fetch fxns in 1_fetch to use bounding boxes to query NWIS so that we can easily change the focus region in the future
Add two targets that take daily data for the time period and figure out the quantiles + categorize into very low to very high.

Here is a quick look at the distribution and a map (didn't implement into pipeline for now, just illustrating what data is available for FY20 Q1 and including the code for posterity).
library(ggplot2)
library(readr)
library(scipiper)
library(dplyr)
library(maps)

scmake("2_process/out/gw_data_anomalies.csv")
scmake("1_fetch/out/gw_site_info.csv")
dat <- read_csv("2_process/out/gw_data_anomalies.csv", col_types = 'cDnnc')
dat_info <- read_csv("1_fetch/out/gw_site_info.csv", col_types = 'cccnn')

ggplot(dat, aes(x = quant_category)) +
  geom_histogram(stat = "count")

dat_one_day <- dat %>%
  filter(Date == as.Date("2020-10-31")) %>%
  left_join(dat_info) %>%
  mutate(color = ifelse(
    quant_category == "Very high",
    yes = "#304965", no = ifelse(
      quant_category == "High",
      yes = "#5ea0d8", no = ifelse(
        quant_category == "Normal",
        yes = "#818a7f", no = ifelse(
          quant_category == "Low",
          yes = "#d29958", no = ifelse(
            quant_category == "Very low",
            yes = "#a02905", no = "black"))))))

par(mar = c(0,0,0,0))
map('usa', fill=TRUE, col = "grey", border = NA)
map('state', col = "#fcf8e8", add=TRUE)
points(dat_one_day$dec_long_va, dat_one_day$dec_lat_va, col = dat_one_day$color, cex = 1, pch = 20)

All data in FY20 Q1:

Just Halloween:

Amazing progress! What a fun site distribution 😺 That is actually quite a high proportion of data points that fall within the "very high" category. I wonder what's going on there

I agree! Will be fun to dig into it more :)


No output when running gcloud command

Running a gcloud command in my build does not produce any output.
Snippet of build script in command block:
#!/usr/bin/env bash

echo "Deploying $IMAGE to $ENVIRONMENT"

gcloud compute instances update-container ${INSTANCE} \
  --container-image ${IMAGE} \
  --container-env-file ${ENV_FILE} \
  --zone ${ZONE}

echo "Finished deploying $IMAGE to $ENVIRONMENT"

Output in Buildkite web UI:
Running script | 50s
  | $ ./deploy.sh
  | Deploying gcr.io/my-project/image:dev to dev
  | Finished deploying gcr.io/my-project/image:dev to dev

When I SSH into the agent and run the commands:
[buildkite-agent@ip-10-0-1-244 skepsi]$ gcloud compute instances update-container my-dev-instance --container-image gcr.io/my-project/image:dev --container-env-file env-dev --zone australia-southeast1-a

Updating specification of container [my-dev-instance]...done.
Stopping instance [my-dev-instance]...done.
Starting instance [my-dev-instance]...done.
[buildkite-agent@ip-10-0-1-244 skepsi]$

My guess is the gcloud command is adding a text-based spinner on the end of each line which Buildkite can't pick up?

The agent goes to some trouble to run things in a tty so that tools will show things like spinners, but it's certainly possible the gcloud cli is detecting that it's not in an interactive context!


PKG-2 not detected

File with missing mimetype not detecting PKG-2
Testing D:\ODS1\TestCorpusV2\PKG-2\MimeTypeMissing.ods
APP-1: [INFO] Validating D:\ODS1\TestCorpusV2\PKG-2\MimeTypeMissing.ods.
APP-4: [INFO] Validation report for D:\ODS1\TestCorpusV2\PKG-2\MimeTypeMissing.ods.
PKG-10: mimetype [ERROR] An OpenDocument package manifest SHALL contain a mimetype file IF a root "/" entry is present.
XML-4: META-INF\manifest.xml [ERROR] Not a valid XML document. Validation exception at line 2 and column 88: element "manifest:manifest" missing required attribute "manifest:version".
PKG-18: Thumbnails\thumbnail.png [WARNING] An OpenDocument package SHOULD contain a preview image Thumbnails/thumbnail.png.
NOT VALID, 2 errors, 1 warnings and 0 info messages.

This result is correct, see dewhattens/TestCorpus#2 to see the details. This requires a few test files and the result depends on the interplay between the root "/" element in META-INF/manifest.xml and the presence/contents of the mimetype file. The following error messages are all relevant to the various cases:

PKG-2: Warning triggered if no mimetype file present AND META-INF/manifest.xml has NO root "/" entry. (PKG-2 and PKG-20 will always be fired together and might be combined)
PKG-10: Error triggered if no mimetype file present AND META-INF/manifest.xml has a root entry.
PKG-11: Error triggered if a mimetype file is present and `META-INF/manifest.xml' has no root "/" entry.
PKG-12: Error triggered if a mimetype file is present and META-INF/manifest.xml' has a root "/" entry BUT the value of the root entry's media-typeattribute differs from the contents ofmimetype`.
PKG-20: Warning triggered if no mimetype file present AND META-INF/manifest.xml has NO root "/" entry. (PKG-2 and PKG-20 will always be fired together and might be combined)

This may need further discussion for clarification but I'm fairly confident in the interpretation of the specification here.


Bad file install locations

Problem
The <IP_ADDRESS> release installs some new files that are not in acceptable locations.
All .cmake files should be installed into one location. Extra support scripts should be installed under share not at the top of the filesystem.
Expected behavior:
A clean install with files in expected locations
Actual behavior:
cmake config files and extra support scripts are installed into two locations.
Versions

OSL branch/version: <IP_ADDRESS>

Solution
llvm_macros.cmake should have DESTINATION ${OSL_CONFIG_INSTALL_DIR} to put it with the other cmake files.
The serialize-bc.py script would be better installed somewhere like DESTINATION ${CMAKE_INSTALL_DATADIR}/build-scripts

Confirmed here, with latest <IP_ADDRESS>: llvm_macros.cmake ends up in /usr/cmake and serialize-bc.py in /usr/build-scripts.
The llvm_macros.cmake place you propose is OK AFAICT, but the serialize-bc.py one does not look right: if I'm not reading wrongly, llvm_macroscmake calls serialize-bc.py with the following statement:
`# Serialize the linked bitcode into a CPP file
set ( src_bc_cpp "${CMAKE_CURRENT_BINARY_DIR}/${output_name}.bc.cpp" )

add_custom_command ( OUTPUT ${src_bc_cpp}
    COMMAND ${Python_EXECUTABLE} "${_THIS_MODULE_BASE_DIR}/../build-scripts/serialize-bc.py"
        ${linked_src_bc} ${src_bc_cpp} ${output_name}
    DEPENDS "${_THIS_MODULE_BASE_DIR}/../build-scripts/serialize-bc.py" ${linked_src_bc}
    ${exec_headers} ${PROJECT_PUBLIC_HEADERS}
    WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}" )`

So you cannot put the python file everywhere: the build-scripts should go in a directory above the one where llvm_macros.cmake resides, otherwise the above command won't work...
However this is a weird path for python files, at least in my distro.


added my details

Thanks for contributing! This patch has already been merged. Create a new pull request with your name and location.


Expose configuration options in GraphCypherQAChain

Allows for passing arguments into the LLM chains used by the GraphCypherQAChain. This is to address a request by a user to include memory in the Cypher creating chain. Will keep the prompt variables as-is to be backward compatible. But, would be a good idea to deprecate them and use the **kwargs variables. Added a test case.
In general, I think it would be good for any chain to automatically pass in a readonlymemory(of its input) to its subchains whilist allowing for an override. But, this would be a different change.

@baskaryan Given that we would expose kwargs via this diff, I think it would make sense to deprecate the prompt variables at some point. I have reworked the diff to not ignore the prompt param but to throw an error if kwargs is also used (i.e. use one or the other but not both).

lgtm, thanks @sudranga!
not sure about deprecating prompt variables, imagine that's the kwarg folks pass in the most and it's a nicer UX to pass it in directly than via a dict


Add CLA workflow to pull requests

To make it easy (and legal) for people to contribute to the project, we need to ask them to sign a CLA.
To implement this workflow is simple:

Add a new webhook under "Settings > Webhooks & Services" for "https://cla.appcelerator.com/webhook"
Set the content type as "application/json"
Select individual events and select "Pull Request"
Click "Add Webhook"

Furthermore, you can enable branch protection and require that this check pass.
For questions about why a CLA is important, Github has a nice explanation.
https://cla.github.com/

Done:
Webhook:
https://github.com/appcelerator/amp/settings/hooks
Branch protection:
https://github.com/appcelerator/amp/settings/branches/master


HTTP/2 + TLS support

Hello,
do you support (or plan to) HTTP/2 with TLS?

Definitely plan to support it. Haven't had a chance to look into what's missing yet, although since 2.x uses Jetty 9 I'm hoping it won't be much more than flipping a config switch.

As far as I understand, Jetty 9.3 is required for HTTP/2 support and wiremock uses Jetty 9.2.

Ok, that's a bit unfortunate. We're holding off upgrading to Jetty 9.3 as it forces us to drop JDK7 support.
I've been thinking it might be a good idea to start releasing an additional build with 9.3 in it to solve this problem. This might be another good reason to do so.

Some work related to that is happening in #407.
@tomakehurst, @dsyer  I'm also interested in HTTP2 support for mocking services over grpc. I'll try to make a PR but if you have any pointers in term of what it entails and where are the places that require change it would be helpful.

I was able to upgrade to jetty 9.3 fairly easily (some changes in CustomizedSslContextFactory), but I am stuck with ALPN. Not sure how to tackle that :-/.
https://www.eclipse.org/jetty/documentation/9.3.x/alpn-chapter.html.
It seems that we must add a jar in the Xbootclasspath that depends on the version of the JDK we're running . That seems like a strong constraint especially if we're not running standalone.

As mentioned earlier in the thread, the issue with the Jetty upgrade is that 9.2 is the last version that supports Java 7, so upgrading means dropping Android support, which would make a lot of people pretty unhappy.
I would still welcome a PR that builds an additional JAR for Jetty 9.3 and adds HTTP/2 support.

Got it,
The way I was seeing it is to do a temporary PR that doesn't build the additional JAR. We can then see what changes are involved and from here gather input on how to proceed to build the different  JAR.
Does that sounds good ?

Sorry, it took me a while to free some time.
Here #887 is an initial attempt for review.

Any update on this thread?

@tomakehurst it's been 2 years since your last comment on this thread. Do you still have the same concerns you had back then about the upgrade to jetty 9.4 given Android now has some Java 8 support?
HTTP/2 is a really big gap IMO, would be good to get this supported.

Jetty 9.4 + HTTP/2 is already supported in the jre8 build.
Announcements on the mailing list e.g. for the 2.25.0 release are usually a better bet than old GH issues for up-to-date info (I don't get round to issue gardening very much at the moment).

I guess this issue can be closed then?


Ban and Unban methods for guild members

Summary
Right now, if we want to ban or unban a member, we have to use the bot's rest. But to make things easier, we can just call the ban
/unban method on a member object and it should work. This is a follow up/part of this issue
Problem
Reduces the amount of work required to ban/unban a member from a guild
Ideal implementation
Make an asynchronous function for banning and unbanning the member and it should call the bot's rest methods which are
required for banning and unbanning the member. This method should take the reason and delete_message_days arguments.
Checklist

[X] I have searched the issue tracker and have made sure it's not a duplicate.
If it is a follow up of another issue, I have specified it.

I am currently working on this issue

Im going to close this one as an extension of #37


Ansible 2.8 error

hi! when testing the callback against ansible 2.8 I face this error
Traceback (most recent call last):
  File "/usr/local/bin/ansible-playbook", line 110, in <module>
    exit_code = cli.run()
  File "/usr/local/lib/python2.7/site-packages/ansible/cli/playbook.py", line 123, in run
    results = pbex.run()
  File "/usr/local/lib/python2.7/site-packages/ansible/executor/playbook_executor.py", line 100, in run
    self._tqm.load_callbacks()
  File "/usr/local/lib/python2.7/site-packages/ansible/executor/task_queue_manager.py", line 162, in load_callbacks
    callback_obj = callback_plugin()
  File "/Users/ignacio.tolstoy/code/devops-mt--ansible/callback_plugins/datadog_callback.py", line 40, in __init__
    self._options = cli.options
AttributeError: 'PlaybookCLI' object has no attribute 'options'

Not related, what is the standard way to run the callback only when a env var is present?
For example, we have 3-4 playbooks but only want to run the callback in one of them.
Since all of them share the config they run the callback by default

This seems to be related with this PR and the fact that this callback imports cli to retrieve the inventory name.

In our case we workaround this with:
- if cli:
+ if cli and hasattr(cli, 'options'):

Also having this problem with Ansible 2.8 and python3, workaround is not working, breaks on line 274:
https://github.com/DataDog/ansible-datadog-callback/blob/596dc0d143e8bd75337669967e82f20d28190cbf/datadog_callback.py#L274
With this error:
ERROR! Unexpected Exception, this is probably a bug: expected string or bytes-like object

You should also default the inventory name to something. In our case we don't care about events so we just use 'default'

submitted this PR to check if using ansible 2.8 and do stuff accordingly: https://github.com/DataDog/ansible-datadog-callback/pull/47

Using the latest from master gets rid of this error.
But I am still getting errors sending metrics and events, even though everything is set up (api_key set in datadog_callback.yml as before):
Couldn't send metric "elapsed_time" to Datadog
API key is not set. Please run 'initialize' method first.

Anyone know the status of this? I am still getting:
ERROR! Unexpected Exception, this is probably a bug: 'PlaybookCLI' object has no attribute 'options'

looks like it was fixed. Can we close this since its misleading?

I also got it to work, so no issue anymore for me at least.
On Wed, 2 Oct 2019, 21:43 iknowajosh<EMAIL_ADDRESS>wrote:

looks like it was fixed. Can we close this since its misleading?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/DataDog/ansible-datadog-callback/issues/46?email_source=notifications&email_token=AB2KHPXBZ6HQUDST56GGCTTQMT2URA5CNFSM4HNUBEU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAF545I#issuecomment-537648757,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB2KHPUM3BORRXKTITYI55TQMT2URANCNFSM4HNUBEUQ
.

This also works for Ansible 2.9.6. Thanks!


MediaManager isn't getting the correct duration

We are pulling audio from AWS and it appears that it always has the incorrect duration. The current position will go above the total duration. Any ideas what is going on?

Is your audio in MP3 format? I am also pulling audio from AWS and works fine on my end.

This is my enviroment:
Cordova CLI: 6.0.0
Gulp version:  CLI version 3.9.0
Gulp local:   Local version 3.9.1
Ionic Version: 1.2.4-nightly-1917
Ionic CLI Version: 1.7.14
Ionic App Lib Version: 0.7.0
ios-deploy version: Not installed
ios-sim version: 4.1.1
OS: Mac OS X El Capitan
Node Version: v0.10.32
Xcode version: Xcode 7.2 Build version 7C68
And my plugins:
com.phonegap.plugins.facebookconnect <IP_ADDRESS> "Facebook"
com.pushwoosh.plugins.pushwoosh 4.2.0 "Pushwoosh"
cordova-plugin-audio-recorder-api 0.0.1 "AudioRecorderAPI"
cordova-plugin-console 1.0.2 "Console"
cordova-plugin-device 1.1.1 "Device"
cordova-plugin-dialogs 1.2.0 "Notification"
cordova-plugin-file 4.1.1 "File"
cordova-plugin-insomnia 4.2.0 "Insomnia (prevent screen sleep)"
cordova-plugin-media 2.0.0 "Media"
cordova-plugin-network-information 1.2.0 "Network Information"
cordova-plugin-nowplaying 1.0.0 "NowPlaying"
cordova-plugin-remotecommand 1.0.0 "RemoteCommand"
cordova-plugin-splashscreen 3.1.0 "Splashscreen"
cordova-plugin-statusbar 2.1.1 "StatusBar"
cordova-plugin-transport-security 0.1.1 "App Transport Security"
cordova-plugin-whitelist 1.2.1 "Whitelist"
cordova-plugin-x-socialsharing 5.0.10 "SocialSharing"
cordova-sqlite-storage 0.8.4-dev "Cordova sqlite storage plugin (core version)"
ionic-plugin-keyboard 1.0.8 "Keyboard"
What is your version of Media and Angular? Maybe there is a problem with my environment?

I am using cordova-plugin-media 2.2.0 with ionic 1.2.4

I updated and still no luck. It looks like this is actually an issue with the media plugin because that is where the duration comes from.

No dice.
So the application that we've built records audio and then pushes it to a server. The server converts it to mp3 and then through the app they have the ability to listen to it. We also have a webapp that does the same thing. All data is accessible on web or mobile. The files created by the web do not have this issue (they are originally mp3 files). The files generated by the app is m4v. I'm wondering if there is something going on with the conversion process. I'm not sure how cordova-plugin-media figures out the duration. Any ideas?

I've been looking into this issue for a while, and I agree with @arielfaur. It appears that it takes a short while for the plugin to be able to read the duration of the audio file, after the file starts playing. So, to come up with a work around, you need to:

play the file
set the volume to 0
constantly check for duration until you get it.

Below is a sample sample function I just created to tackle the issue:
getDurationAndSetToPlay() {
    this.curr_playing_file = this.media.create(this.file.externalDataDirectory + "hotel_california.mp3");
    this.curr_playing_file.play();
    this.curr_playing_file.setVolume(0.0);  // you don't want users to hear that you are playing the file
    let self = this;
    this.interval = setInterval(function() {
      if(self.duration == -1) {
        self.duration = self.curr_playing_file.getDuration();
      } else {
        self.curr_playing_file.stop();
        self.curr_playing_file.release();
        self.setRecordingToPlay();
        clearInterval(self.interval);
      }
   }, 100);
}

The complete .html and .ts are shown below:
home.html:
<ion-header>
  <ion-navbar color="primary">
    <ion-title>
      <ion-icon name="musical-note"></ion-icon>
      {{ filename }}
    </ion-title>
  </ion-navbar>
</ion-header>

<ion-content padding>

  <ion-card padding text-center>

Playback

    <ion-card-content>
      <ion-grid>
        <ion-row>
          <ion-col>
            <button ion-button color="primary" [disabled]="!is_ready">
                      <ion-icon name="skip-backward"></ion-icon>
            </button>
          </ion-col>
          <ion-col>
            <button ion-button (click)="playRecording()" color="primary" *ngIf="!is_playing" [disabled]="!is_ready">
                      <ion-icon name="play"></ion-icon>
            </button>

            <button ion-button (click)="pausePlayRecording()" color="secondary" *ngIf="is_playing" [disabled]="!is_ready">
                <ion-icon name="pause"></ion-icon>
            </button>
          </ion-col>
          <ion-col>
            <button ion-button color="primary" [disabled]="!is_ready">
                      <ion-icon name="skip-forward"></ion-icon>
            </button>
          </ion-col>
        </ion-row>
      </ion-grid>

    </ion-card-content>
  </ion-card>

Duration: {{ duration }}

  {{ message }}

</ion-content>

home.ts:
import { Component } from '@angular/core';
import { Platform, NavController, NavParams } from 'ionic-angular';

import { Media, MediaObject } from '@ionic-native/media';
import { File } from '@ionic-native/file';
import { FileTransfer, FileUploadOptions, FileTransferObject } from '@ionic-native/file-transfer';

@Component({
  selector: 'page-home',
  templateUrl: 'home.html'
})
export class AudioDetail {

  filename: any;
  curr_playing_file: MediaObject;

  is_playing: boolean = false;
  is_ready: boolean = false;

  message: any;

  duration: any = -1;
  position: any;

  interval: any;

  constructor(
    public platform: Platform,
    public navCtrl: NavController,
    public navParams: NavParams,
    private file: File,
    private transfer: FileTransfer,
    private media: Media) {
      // this.item = navParams.get('file');
      this.filename = "Hotel California";
      let url = "http://fabienne.sigonney.free.fr/tranquilit%E9/Eagles%20-%20Hotel%20California%20(Acoustic).mp3";

      this.platform.ready().then(() => {
        this.file.resolveDirectoryUrl(this.file.externalDataDirectory).then((resolvedDirectory) => {
          // inspired by: https://github.com/ionic-team/ionic-native/issues/1711
          console.log("resolved  directory: " + resolvedDirectory.nativeURL);
          this.file.checkFile(resolvedDirectory.nativeURL, "hotel_california.mp3").then((data) => {
            if(data == true) {  // exist
              this.getDurationAndSetToPlay();
            } else {  // not sure if File plugin will return false. go to download
              console.log("not found!");
              throw {code: 1, message: "NOT_FOUND_ERR"};
            }
          }).catch(err => {
            console.log("Error occurred while checking local files:");
            console.log(err);
            if(err.code == 1) {
              // not found! download!
              console.log("not found! download!");
              const fileTransfer: FileTransferObject = this.transfer.create();
              fileTransfer.download(url, this.file.externalDataDirectory + "hotel_california.mp3").then((entry) => {
                console.log('download complete' + entry.toURL());
                this.getDurationAndSetToPlay();
              }).catch(err_2 => {
                console.log("Download error!");
                console.log(err_2);
              });
            }
          });
        });
      });
  }

  getDurationAndSetToPlay() {
    this.curr_playing_file = this.media.create(this.file.externalDataDirectory + "hotel_california.mp3");
    this.curr_playing_file.play();
    this.curr_playing_file.setVolume(0.0);  // you don't want users to hear that you are playing the file
    let self = this;
    this.interval = setInterval(function() {
      if(self.duration == -1) {
        self.duration = self.curr_playing_file.getDuration();
      } else {
        self.curr_playing_file.stop();
        self.curr_playing_file.release();
        self.setRecordingToPlay();
        clearInterval(self.interval);
      }
    }, 100);
  }

  setRecordingToPlay() {
    this.curr_playing_file = this.media.create(this.file.externalDataDirectory + "hotel_california.mp3");
    console.log("audio file set");
    this.message = "audio file set";
    this.is_ready = true;
  }

  playRecording() {
    this.curr_playing_file.play();
    this.is_playing = true;
  }

  pausePlayRecording() {
    this.is_playing = false;
    this.curr_playing_file.pause();
  }

  stopPlayRecording() {
    this.is_playing = false;
    this.curr_playing_file.stop();
    this.curr_playing_file.release();
  }

}


Remove duplicate disablelocal setting

This setting is already set under the 'Time Machine' section

:+1:


Can't compile VerneMQ on Mac OS X

Environment

VerneMQ Version: Master Branch
OS: Mac OS X Mojave
Erlang/OTP version 21.2.4 (installed via Homebrew)
VerneMQ configuration (vernemq.conf): default
Cluster size/standalone: standalone

Expected behavior

Compilation works like described in README.md

Actual behaviour
Command:  make rel
Error appears:
===> Compiling lager
./mqtt/vernemq/_build/default/lib/lager/src/lager_util.erl: redefining predefined macro 'FUNCTION_NAME'
===> Compiling _build/default/lib/lager/src/lager_util.erl failed
_build/default/lib/lager/src/lager_util.erl:none: redefining predefined macro 'FUNCTION_NAME'

Since this seems to come from lager, could you try to upgrade the lager version by changing the version here https://github.com/vernemq/vernemq/blob/master/rebar.config#L15 from 3.6.3 to 3.6.8 and, remove the old build, then do a ./rebar3 upgrade lager and then rebuild and post the result here. No idea if that will work (not using macosx), but worth a shot.

Thanks for your advice. Yes, it seems it is related to lager. Unfortunately upgrading to 3.6.8 doesn't solve the problem.

I did hear someone say that there was some issue with OTP 21 but it worked with OTP 20, so maybe you could try that. Sorry for not being of more help.

One thing to note is that you need to upgrade to latest rebar3 3.9.0, there was a bug in the previous version that broke my OSX compilation. Maybe is not the same but worth a shot @volkrass

Ok, I switched to OTP 20, using lager 3.6.8, like mentioned by @larshesel, but I'm still not able to compile it.
Here my output:
...
===> Compiling vernemq_dev
===> Compiling recon
===> Compiling node_package
===> Compiling syslog
cc -O3 -std=c99 -arch x86_64 -finline-functions -Wall -Wmissing-prototypes -fPIC -I<EMAIL_ADDRESS>-I<EMAIL_ADDRESS>-c -o /Users//Projects/experiments/mqtt/vernemq/_build/default/lib/syslog/c_src/syslog_drv.o /Users//Projects/experiments/mqtt/vernemq/_build/default/lib/syslog/c_src/syslog_drv.c
cc /Users//Projects/experiments/mqtt/vernemq/_build/default/lib/syslog/c_src/syslog_drv.o -arch x86_64 -flat_namespace -undefined suppress -shared -L<EMAIL_ADDRESS>-lerl_interface -lei -o /Users//Projects/experiments/mqtt/vernemq/_build/default/lib/syslog/c_src/../priv/syslog_drv.so
===> Compiling goldrush
===> Compiling lager
/Users//Projects/experiments/mqtt/vernemq/_build/default/lib/lager/src/lager_util.erl: redefining predefined macro 'FUNCTION_NAME'
===> Compiling _build/default/lib/lager/src/lager_util.erl failed
_build/default/lib/lager/src/lager_util.erl:none: redefining predefined macro 'FUNCTION_NAME'
More Details: Mac OS X, 10.14.3, Erlang/OTP 20 [erts-<IP_ADDRESS>], Lager 3.6.8

And with lager 3.9.0 as proposed by codeadict?

@larshesel, sorry that I missed to tell you the rebar version.
Output: rebar 3.9.0 on Erlang/OTP 20 Erts <IP_ADDRESS>

ok - the only thing I can think of is the erlang installation itself. How did you install that? @codeadict how do you install Erlang?
Otherwise I'm out of suggestions....

I installed 21 with homebrew brew install erlang. OSX behaves so weird most of the time that we need to get those releases out from travis IMO.

@larshesel, I installed OPT 21 and OTP 20 via Homebrew.
'brew install erlang' to get latest version or 'brew install erlang@20'
What I would like to mention is, that I also compiled EMQ without any hassle.

ok - when you're compiling VerneMQ do you start from scratch? I mean, did you start from a fresh clone or removed the _build directory?
As I'm not on OSX I'm afraid I don't have any ideas how to help more besides what @codeadict said: we should get travis to build osx releases for us - but of course that doesn't solve the problem for those who want to develop and compile vernemq on osx.

I tried first from scratch, later on I removed only _build directory and has started build again. I will double check everything again.

I was fighting with the same problem for a month (with a different project) and have just figured out a solution that works for me after following your discussion!
Setup:

rebar 3.9.0 on Erlang/OTP 21 Erts 10.2.5
lager 3.6.8 from Hex

The trick was to add lager as a top level dependency in the project's rebar.config. Then use rebar3 upgrade lager to bump it to 3.6.8 despite other dependencies on prior versions. Apparently, the old lager version was creeping in through some dependencies.

@bieniusa this is great! i was having the same issue.

I'm Erlang newbie, can somebody give me an advice what I have to change in rebar.config?

@volkrass
{deps, [
        {lager, "3.6.8"},
        ..

and then then
rm rebar.lock
rm -rf _build
rm -rf ~/.cache/rebar3
rebar3 upgrade lager

make rel

A big thank you to everybody who has support me with my newbie problem.
Compilation works now like a charm.

Thanks @bieniusa and @cmnstmntmn for your support. Now I'm a step further...But unfortunately it looks like the compiling of eleveldb is not working here on my Mac.
     ^~~~~~~~

1 warning and 1 error generated.
cc  -I /Users//Projects/experiments/mqtt/vernemq/_build/default/lib/eleveldb/c_src/system/include -I. -I./include -mmacosx-version-min=10.8 -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -DSNAPPY  -O2 -g -DNDEBUG     -fPIC -MM -E -MT db/builder.d -MT db/builder.o -MF db/builder.d db/builder.cc
warning: include path for stdlibc++ headers not found; pass '-std=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
In file included from db/builder.cc:8:
In file included from ./db/builder.h:8:
./include/leveldb/status.h:16:10: fatal error: 'string' file not found
#include
^~~~~~~~
1 warning and 1 error generated.
g++  -I /Users//Projects/experiments/mqtt/vernemq/_build/default/lib/eleveldb/c_src/system/include -I. -I./include -mmacosx-version-min=10.8 -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -DSNAPPY  -O2 -g -DNDEBUG     -fPIC -c db/builder.cc -o db/builder.o
warning: include path for stdlibc++ headers not found; pass '-std=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
In file included from db/builder.cc:8:
In file included from ./db/builder.h:8:
./include/leveldb/status.h:16:10: fatal error: 'string' file not found
#include
^~~~~~~~
1 warning and 1 error generated.
make[1]: *** [db/builder.o] Error 1
===> Hook for compile failed!
make: *** [rel] Error 1

Seems that you are reproducing all the issues that I ran into several months ago. I will take care next time to document it somewhere properly.
The problem with the C++ headers is related to an upgrade on Xcode a couple of months ago.
You should try to install the most recent version of the Xcode command line tools from
the apple developer resources
This resolved it for me, I think.

In the meantime I'll create a PR to upgrade lager so at least that shouldn't be a problem in the future.

@volkrass there's an article on this subject - vernemq viki - Building-VerneMQ-on-OS-X

I would say it is done :)
===> release successfully created!
Thanks again for all your support here, guys.


Fix minor typos in TF Boosted Trees

Fix minor typos in TF Boosted Trees

Can one of the admins verify this patch?


Snake Game link

Describe the bug
When we open the game through the main page the link is broken
I would like to improve this issue please assign this issue to me @geekymeeky

Fixed #41


pull request for e2e test at 11/06/2016 12:26:02

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

Details

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


chore: add prometheus metrics

/deploy #persist

You can access the deployment of this PR at https://renku-ci-nb-1521.dev.renku.ch


forbid all explicit str concat Fixes #6

this also forbids any of these aberrant constructs:
ham = (
    "spam"
    + "eggs"
)

ham = "spam" \
      + "eggs"

Looks good in my local testing - found a couple I had missed on earlier version of this pull request:
https://github.com/biopython/biopython/pull/2359


Update add-external-user.md

Customers need a specific permission in AAD if they are guests of the tenant

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

Hi @AlexandraRamirezMS - If you work within the Microsoft network, you should link your GitHub account with your Microsoft account. Let me know if you need information about how to do this; I can email it to your Microsoft alias.

@chcomley - Hi, could you review the proposed update to your article? Thanks.

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

#sign-off


Bug fix - authentication cannot be turned on unless the username is empty

Actually, just adding ! before condition is enough:
if (!string.IsNullOrEmpty(this.usernameTextBox.Text))

true, but there's no validation feedback in the configuration tool so maybe it should just let whatever the user specifies through?

https://github.com/JuliusSweetland/NBug/blob/master/NBug.Configurator/SubmitPanels/Web/Mail.cs#L191

The code makes sense - it the user specifies authentication, but has not supplied a username, then turn off authentication. The problem, in my opinion, is that there is no feedback of this change to the user apart from the output xml, which may be encrypted.

True that! We should better display an error message to user. Something like:
// Warn user if authentication is enabled but no username supplied
if (string.IsNullOrEmpty(this.usernameTextBox.Text))
{
   MessageBox.Show("You can't leave username empty when SMTP authentication is enabled!");
   return null;
}

Merging this. Will add the error message also.
Realized that this weirdness never caused any issue because of the extra logic here: https://github.com/soygul/NBug/blob/master/NBug/Core/Submission/Web/Mail.cs#L126
If username is supplied at least, useAuth=true anway.


Prevent tab completion if the word to complete is a single dash

PR Summary
When using tab completion, functions with - are wrongfully selected. In order to prevent this, an additional check is added in this PR to prevent tab completion when the word to complete is a single dash.

PR Context

This PR resolves #16577. It simply adds an additional condition (making sure the word to complete is not a single dash) that should be satisfied before PowerShell performs tab completion.
PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

Breaking changes

[x] None
OR
[ ] Experimental feature(s) needed

[ ] Experimental feature name(s):

User-facing changes

[x] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[ ] N/A or can only be tested interactively
OR
[x] Make sure you've added a new test if existing tests do not effectively test the code changed

Tooling

[x] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
OR
[ ] I have considered the user experience from a tooling perspective and opened an issue in the relevant tool repository. This may include:

[ ] Impact on PowerShell Editor Services which is used in the PowerShell extension for VSCode
(which runs in a different PS Host).

[ ] Issue filed:

[ ] Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.

[ ] Issue filed:

[ ] Impact on PSScriptAnalyzer (which provides linting & formatting in the editor extensions).

[ ] Issue filed:

[ ] Impact on EditorSyntax (which provides syntax highlighting with in VSCode, GitHub, and many other editors).

[ ] Issue filed:

@iSazonov I can't see your suggestion/code review anymore. Can you please add it again?

@iSazonov Nevermind. I found your suggestion.

Nevermind. I found your suggestion and updated the code.

@ayousuf23 Sorry, I removed the post soon because it was wrong. Please remove your last commit and add a test for scenario you fix.

@iSazonov I reverted the most recent commit. Where should I add the test?

@iSazonov I reverted the most recent commit. Where should I add the test?

I think in TabCompletion.Tests.ps1

@iSazonov I added a test.

@iSazonov Is there anything remaining for me to do in order to get the PR merged?

@ayousuf23 We are waiting @daxian-dbw review.

@daxian-dbw Can you please review this PR?


typo in the release note

"This is R, but compiled for windwos using OpenBLAS", should be windows

Thanks. It made for a good time to go ahead and update some other outdated information as well.


ImportError: cannot import name 'SceneManager' from 'pycolmap'

Hi I have the following error when I try to execute simple_trainer.py
(base) C:\Users\intel>python "C:\Users\intel\Documents\05_3DGS\gsplat\examples\simple_trainer.py" --data_dir C:\Users\intel\Desktop\test_3dgs --data_factor 4 --result_dir "C:\Users\intel\Desktop\test_3dgs\output"
Traceback (most recent call last):
  File "C:\Users\intel\Documents\05_3DGS\gsplat\examples\simple_trainer.py", line 16, in <module>
    from datasets.colmap import Dataset, Parser
  File "C:\Users\intel\Documents\05_3DGS\gsplat\examples\datasets\colmap.py", line 8, in <module>
    from pycolmap import SceneManager
ImportError: cannot import name 'SceneManager' from 'pycolmap' (C:\Users\intel\AppData\Roaming\Python\Python311\site-packages\pycolmap.cp311-win_amd64.pyd)

Did you run pip install -r examples/requirements.txt? More specifically it needs to install git+https://github.com/rmbrualla/pycolmap@cc7ea4b7301720ac29287dbe450952511b32125e

I am sorry, i didn't found this readme for windows user, I'll close this issue as it isn't really relevant to official documentation, i think I just had tried
pip install gsplat
and
pip install git+https://github.com/nerfstudio-project/gsplat.git
but it is only for linux users.
Maybe the website should have more link to this github as it may take some time for users to found official guide, current github link look more like star-count and the rest of the website look like self sustainable documentation without requiring to read github readme.


Accept 409 as expected behaviour in plans-acceptance-test

Signed-off-by: Georgi Lozev<EMAIL_ADDRESS>

Coverage decreased (-0.3%) to 89.011% when pulling e96d50c4158a0c834cd3a286e51fb41ea50051e6 on SAP:accept_conflict into c8055a79a249c6054fca3c36aa7ac76a9bc8ce7b on cloudfoundry-incubator:master.


Update provider-grafana authorization with ServiceAccount implementation

APIKeys will become deprecated and ServiceAccounts with ServiceAccount Tokens will become the new Authorization flow.
This mechanism is already implemented in Terraform: https://registry.terraform.io/providers/grafana/grafana/latest/docs/resources/service_account_token
Can we get an update of the provider?

This works now and the example has been updated: https://github.com/grafana/crossplane-provider-grafana/blob/main/examples/cloud-stack-chain.yaml


i18n(de): Add editor-setup.md translation

Ready to review!

@sarah11918 and @delucis...it's ready to merge 🎉


Logging

Full text search
Completely interactive within the timeline view
Better resolution support (supports different scales of resolution and even tablets)
Comment support
Safe embedded markdown within the timeline view

Looks Gooooood.


Fix computing hit character if padding is set on the paragraph-text

This PR fixes computing hit character (at mouse press) if padding is set on the paragraph-text.
To reproduce this, apply a large padding (as below), click at some text in the styled text area and see where the caret is positioned. Without this fix the caret is always some characters right to the click location.
.styled-text-area .paragraph-box .paragraph-text {
    -fx-padding: 0 10em 0 10em;
}
.styled-text-area .paragraph-box:first-paragraph .paragraph-text {
    -fx-padding: 10em 10em 0 10em;
}
.styled-text-area .paragraph-box:last-paragraph .paragraph-text {
    -fx-padding: 0 10em 10em 10em;
}

Sorry for late response. This looks good to me! 👍 Should also fix #285. I suggest we wait a bit for #356 to be merged, as this one should be easier to rebase.

@JFormDesigner very cool ! I came across the same issue some days ago, and now its already fixed 👍

No merge conflict after all :)


colour output

One of my wants for CMurphi was colour in the progress output indicating convergence or divergence. I.e. showing the states in the queue as green if shrinking and red (or yellow?) if expanding.

Done in a6e46a0a8faedbf3122e9cdf5baee588e89aab9a.


workbook.addWorkSheet is not a function

Below goes code I have written
'use strict';

const Hapi = require('hapi');
const Path = require('path');
var fs = require('fs');
var Excel = require('exceljs');

// create new server instance and connection information
const server = new Hapi.Server({
    host: 'localhost',
    port: 5009
  })

//server.path(__dirname)

// Add the route
server.route({
    method: 'GET',
    path:'/path',
    handler: function (request, h) {
        let file = 'test.xlsx';
        let filePath = Path.join(__dirname,file);
        return 'file path - '+filePath;
    }
});

server.route({
        method: 'GET',
        path: '/test.xlsx',
        handler: function (request, h) {
            let file = 'test.xlsx';
            let filePath = Path.join(__dirname,file)
            let contentType = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
            let data;
            console.log(filePath)
            fs.readFile(filePath, function(error, content) {
                data = content;
            });
            console.log(data);
            const res = h.response(data).type(contentType)
                .header('Content-Disposition', 'attachment; filename=' + file);

            console.log(res);
            return res;
        }
});
function createWorkBook(filePath) {
        console.log("Inside the function createWorkBook");
        var workbook = new Excel.Workbook();
        console.log(workbook);
        workbook.views = [
            {
              x: 0, y: 0, width: 10000, height: 20000,
              firstSheet: 0, activeTab: 1, visibility: 'visible'
            }
        ]
        var worksheet = workbook.addWorkSheet("Data",{properties:{tabColor:{argb:'FFC0000'}}});

        workbook.xlsx.writeFile(filePath)
                .then(function() {
                    console.log("File created successfully")
                });
}

// Start the server
async function start() {

    try {
        await server.start();
    }
    catch (err) {
        console.log(err);
        process.exit(1);
    }

    console.log('Server running at:', server.info.uri);
};

start();
createWorkBook(Path.join(__dirname,'data.xlsx'));

Below goes the error:
    var worksheet = workbook.addWorkSheet("Fund Data",{properties:{tabColor:{argb:'FFC0000'}}});
                             ^

TypeError: workbook.addWorkSheet is not a function
at createWorkBook (C:\Work\FMS\src\core\server\hapiServer.js:82:34)
at Object. (C:\Work\FMS\src\core\server\hapiServer.js:131:1)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
at Function.Module.runMain (module.js:676:10)
at startup (bootstrap_node.js:187:16)
at bootstrap_node.js:608:3
Any help on this?

How did you solve it?

How ?

Please tell how you solved it? I have a same error now.

The casing is wrong, it is addWorksheet, not addWorkSheet. See the readme.

I got the same error, when I tried with correct case, please find the below code.
this.createsheet = async function (workbook, sheetname) {
try {
worksheet = await workbook.addWorksheet(sheetname);
return worksheet
}
catch (err) {
console.log('Error Message - ', err);
}
}

@Meenakshisundaram23 please format the code in your posts, see Mastering Markdown

This is probably a different issue, same response (since it's years later):  I'm getting this error.

This is with Typescript - where I start with type 'unknown' and then coerce it to type 'any'.
The first spreadsheet I create works just fine.
The second spreadsheet now gives me this error.

Note:  I'm not using streaming as these spreadsheets are quite small.  So if I'm reading the doc correctly, I don't have to do any commit calls when I create and write the first spreadsheet.
And I start the second spreadsheet out with 'const workbook = new ExcelJS.Workbook();' (same as the first one, as the method/function is shared).
I've done a 'console.log((workbook as any).addWorksheet' and for good measure logged getWorksheet:  For the first spreadsheet, I get the function listed as you'd expect.  For the second one, it's undefined for both functions/methods.
Do I need to do a worksheet.commit() or workbook.commit() before a do an xlsx.write(...) on the first spreadsheet?

The second spreadsheet I'm trying to create now gives me this error (TypeError: workbook.addWorksheet is not a function).

This is unlikely to be related to whether or not you make .commit() calls or whatever in the middle. Can you post a larger part of your code?

I can - may take a while to figure out what the threshold is of getting this error (will have to make time for it at work).
However:  My next step is leverage the ts definition file I found in the code, and add an import { Workbook } from exceljs - and see if that exposes anything with stronger typing.  If I still get this type of behavior, I'll work on something that can demonstrate what I'm encountering.
So never mind my comment about a .dts file - you've got one. However, I would like to replace the question with "can you document the typescript import" instead of the requireJS(...)?

Update:  While I haven't tested it yet and am about to - I'm pretty confident I know what happened.  In a nutshell:  Operator error.
  Such as:

Calling spliceRow instead of spliceRows.
Forgetting to put an await in calling an async function in one of the few lines of code that are different between constructing the first spreadsheet and the second one.

Bottom line:  Never mind.


Add docs for HAVING + GROUP BY clause

This PR adds an example on how to have  HAVING + GROUP BY  clause using ent.

@yonidavidson   Thanks for the review. I made the suggested changes, please re-review.


Update README.md

Links in the next steps section don't navigate to their intended locations.

Thanks!


Removed blog.handlebars

Updated CSS code
Updated profile.handlebars
Blog layout to profile page
main.handlebars navigation bar resources update

Destiny Completed this Work


Support Request: Switchbot Bot configured as door constantly displays Closing...

Describe Your Problem
My Switchbot Bot is set up as a Door and constantly displays <Closing...> in the Homebridge widget. Function does not seem to be affected.
 Code: 143, Signal: null
[10/21/2024, 8:59:16 AM] [SwitchBot] Restarting Process...
[10/21/2024, 8:59:17 AM] [SwitchBot] Launched child bridge with PID 9126
[10/21/2024, 8:59:24 AM] Registering platform<EMAIL_ADDRESS>[10/21/2024, 8:59:24 AM] [SwitchBot] Loaded @switchbot/homebridge-switchbot v4.0.1-beta.4 child bridge successfully
[10/21/2024, 8:59:24 AM] Loaded 11 cached accessories from cachedAccessories.0E42877738D0.
[10/21/2024, 8:59:25 AM] [SwitchBot] Failed to import noble: "socket creation failed"
[10/21/2024, 8:59:25 AM] Homebridge v1.8.4 (HAP v0.12.2) (SwitchBot) is running on port 37758.
[10/21/2024, 8:59:25 AM]

NOTICE TO USERS AND PLUGIN DEVELOPERS
> Homebridge 2.0 is on the way and brings some breaking changes to existing plugins.
> Please visit the following link to learn more about the changes and how to prepare:
> https://github.com/homebridge/homebridge/wiki/Updating-To-Homebridge-v2.0

[10/21/2024, 8:59:25 AM] [SwitchBot] No deviceType or configDeviceType for device. No device will be created.
[10/21/2024, 8:59:25 AM] [SwitchBot] Restoring existing accessory from cache: SB Hub 2 deviceId: E55460B62D51
[10/21/2024, 8:59:25 AM] [SwitchBot] Restoring existing accessory from cache: 2 AC Door deviceId: D2353334687D
[10/21/2024, 8:59:25 AM] [SwitchBot] Restoring existing accessory from cache: SB LR deviceId: EE927C000563
[10/21/2024, 8:59:25 AM] [SwitchBot] Restoring existing accessory from cache: SB Balcony deviceId: D1B95C6CA12E
[10/21/2024, 8:59:25 AM] [SwitchBot] Restoring existing accessory from cache: SB BathR deviceId: FD81452A7817
[10/21/2024, 8:59:25 AM] [SwitchBot] Restoring existing accessory from cache: SB BedR deviceId: DEB95B5130DE
[10/21/2024, 8:59:25 AM] [SwitchBot] Restoring existing accessory from cache: SB DR deviceId: ED5B287A4053
[10/21/2024, 8:59:25 AM] [SwitchBot] Restoring existing accessory from cache: SB Office deviceId: EB7427216D7B
[10/21/2024, 8:59:25 AM] [SwitchBot] Restoring existing accessory from cache: SB SBathR deviceId: F4CA70379451
[10/21/2024, 8:59:25 AM] [SwitchBot] Restoring existing accessory from cache: SB SR deviceId: CF160F90171D
[10/21/2024, 8:59:25 AM] [SwitchBot] Restoring existing accessory from cache: SB Kitchen deviceId: C570785DCA9D

Config for homebridge-switchbot
{
    "name": "SwitchBot",
    "credentials": {
        "token": "DELETED",
        "secret": "DELETED",
        "notice": "Keep your Token & Secret a secret!"
    },
    "options": {
        "devices": [
            {
                "configDeviceName": "SB Hub 2",
                "deviceId": "E55460B62D51",
                "configDeviceType": "Hub 2",
                "connectionType": "OpenAPI",
                "allowPush": true,
                "convertUnitTo": "FAHRENHEIT",
                "mqttURL": "<IP_ADDRESS>",
                "history": true,
                "firmware": "1.4-2.3",
                "refreshRate": 360,
                "pushRate": 360
            },
            {
                "configDeviceName": "2 AC Door",
                "deviceId": "D2353334687D",
                "configDeviceType": "Bot",
                "connectionType": "OpenAPI",
                "type": "door",
                "mode": "press",
                "doublePress": 1,
                "disableCaching": true,
                "maxRetries": 0,
                "delayBetweenRetries": 3,
                "firmware": "6.6",
                "external": false,
                "refreshRate": 360,
                "pushRate": 360
            },
            {
                "configDeviceName": "SB LR",
                "deviceId": "EE927C000563",
                "configDeviceType": "WoIOSensor",
                "connectionType": "OpenAPI",
                "convertUnitTo": "FAHRENHEIT",
                "maxRetries": 5,
                "delayBetweenRetries": 3,
                "history": true,
                "firmware": "0.4",
                "refreshRate": 360,
                "pushRate": 360
            },
            {
                "configDeviceName": "SB Balcony",
                "deviceId": "D1B95C6CA12E",
                "configDeviceType": "WoIOSensor",
                "connectionType": "OpenAPI",
                "convertUnitTo": "FAHRENHEIT",
                "maxRetries": 5,
                "delayBetweenRetries": 3,
                "history": true,
                "firmware": "0.4",
                "refreshRate": 360,
                "pushRate": 360
            },
            {
                "configDeviceName": "SB BathR",
                "deviceId": "FD81452A7817",
                "configDeviceType": "WoIOSensor",
                "connectionType": "OpenAPI",
                "convertUnitTo": "FAHRENHEIT",
                "maxRetries": 5,
                "delayBetweenRetries": 3,
                "history": true,
                "firmware": "0.4",
                "refreshRate": 360,
                "pushRate": 360
            },
            {
                "configDeviceName": "SB BedR",
                "deviceId": "DEB95B5130DE",
                "configDeviceType": "WoIOSensor",
                "connectionType": "OpenAPI",
                "convertUnitTo": "FAHRENHEIT",
                "maxRetries": 5,
                "delayBetweenRetries": 3,
                "history": true,
                "firmware": "0.4",
                "pushRate": 360
            },
            {
                "configDeviceName": "SB DR",
                "deviceId": "ED5B287A4053",
                "configDeviceType": "WoIOSensor",
                "connectionType": "OpenAPI",
                "convertUnitTo": "FAHRENHEIT",
                "maxRetries": 5,
                "delayBetweenRetries": 3,
                "history": true,
                "firmware": "0.4",
                "refreshRate": 360,
                "pushRate": 360
            },
            {
                "configDeviceName": "SB Office",
                "deviceId": "EB7427216D7B",
                "configDeviceType": "WoIOSensor",
                "connectionType": "OpenAPI",
                "convertUnitTo": "FAHRENHEIT",
                "maxRetries": 5,
                "delayBetweenRetries": 3,
                "history": true,
                "firmware": "0.4",
                "refreshRate": 360,
                "pushRate": 360
            },
            {
                "configDeviceName": "SB SBathR",
                "deviceId": "F4CA70379451",
                "configDeviceType": "WoIOSensor",
                "connectionType": "OpenAPI",
                "convertUnitTo": "FAHRENHEIT",
                "maxRetries": 5,
                "delayBetweenRetries": 3,
                "history": true,
                "firmware": "0.4",
                "refreshRate": 360,
                "pushRate": 360
            },
            {
                "configDeviceName": "SB SR",
                "deviceId": "CF160F90171D",
                "configDeviceType": "WoIOSensor",
                "connectionType": "OpenAPI",
                "convertUnitTo": "FAHRENHEIT",
                "maxRetries": 5,
                "delayBetweenRetries": 3,
                "history": true,
                "firmware": "0.4"
            },
            {
                "configDeviceName": "SB Kitchen",
                "deviceId": "C570785DCA9D",
                "configDeviceType": "WoIOSensor",
                "connectionType": "OpenAPI",
                "convertUnitTo": "FAHRENHEIT",
                "maxRetries": 5,
                "delayBetweenRetries": 3,
                "history": true,
                "firmware": "0.4",
                "refreshRate": 360,
                "pushRate": 360
            }
        ],
        "pushRate": 1
    },
    "_bridge": {
        "username": "0E:42:87:77:38:D0"
    },
    "platform": "SwitchBot"
}

Screenshots

Device & Model
Switchbot Hub2, Bot, Indoor/Outdoor Meter
Node.js Version
v20.18.0
NPM Version
v10.8.2
Homebridge Version
v1.8.4
Homebridge SwitchBot Plugin Version
v4.0.1-beta.4
Homebridge Config UI X Plugin Version
v4.62.0
Operating System
Docker

So it seems that this issue only occurs on plugin restart. A long while after the plugin has been restarted the Closing... disappears and the expected Closed appears and stays there, even upon page refresh.
I don't think any action is needed for this. Could just be my slow system (Synology DS1819+).

So it seems that this issue only occurs on plugin restart. A long while after the plugin has been restarted the Closing... disappears and the expected Closed appears and stays there, even upon page refresh. I don't think any action is needed for this. Could just be my slow system (Synology DS1819+).

Yeah I think you are right, looked over the code and I am not sending closing anywhere I am sending Close.


SOLR-17302: Convert /cluster filestore APIs to JAX-RS

https://issues.apache.org/jira/browse/SOLR-17302
Description
Solr has slowly been modifying its v2 APIs to align around a more REST-ful model, implemented using the JAX-RS framework.  Many APIs have already been through this re-alignment, but many more remain including Solr's filestore APIs (used internally by package store).
Solution
This commit migrates several of the filestore APIs, namely those under the /cluster/files path to use the JAX-RS framework.  The APIs themselves are unchanged from an end-user perspective.
Other endpoints, particularly the "fetch filestore entry" (GET /api/node/files/somepath.txt) and "delete local filestore entry" (DELETE /api/node/files/somepath.txt) are not attempted in this PR, but left for another.
Tests
Existing filestore and package-store tests continue to pass.
Checklist
Please review the following and check all that apply:

[x] I have reviewed the guidelines for How to Contribute and my code conforms to the standards described there to the best of my ability.
[x] I have created a Jira issue and added the issue ID to my pull request title.
[x] I have given Solr maintainers access to contribute to my PR branch. (optional but recommended)
[x] I have developed this patch against the main branch.
[x] I have run ./gradlew check.

Thanks for the quick review Eric!

I tagged some places where it would be nice ot have more descriptive variable names, however I suspect you are trying to minimize change

Your suspicion is correct.  This PR aims to convert the API(s) to JAX-RS without delving too deeply into cleaning up the underlying implementation.  I think some of the stuff you commented on is innocuous enough that I can be tempted into making a few cleanups though, particularly some of the naming and javadoc/comment issues.

Do we still need DistribFileStore in a world with ClusterFileStore?

Yes, we do.  There's some naming-related confusion going on here that I've definitely caused:

FileStore is an interface that defines the operations that Solr's file-store has to support.
DistribFileStore is the lone implementation of the FileStore interface.
ClusterFileStore is the entrypoint for the relevant v2 APIs.

ClusterFileStore is, on its surface, a pretty bad naming choice given the pre-existing FileStore interface.  It 100% appears to be an implementation of that interface, but it's not.
I do have an excuse, though it may be a bad one 😛 I chose ClusterFileStore for the v2 API class name to be consistent with a naming convention we've had since creating the "api" gradle module earlier this year.  (i.e. interfaces in "api" module are FooApi, with classes in solr-core being Foo).
The filestore (for reasons I still don't really understand) makes APIs available under two paths: /api/cluster/files and /api/node/files.  So I chose ClusterFileStoreApi/ClusterFileStore partially in an attempt to distinguish between these two sets of filestore APIs, and partially to maintain consistency with the existing naming convention.
The end result is clearly confusing; very open if anyone has other suggestions that'd avoid the ambiguity and confusion!?

If DistribFileStore is the lone implementation of FileStore, then do we need FileStore?    I never liked the whole "Let me have an interface for everything" cause it doubles the files to navigate through.   In the future, if we need a FileStore implementation because some wrote NonDistribFileStore then we can make it then...  We aren't C code, we don't need a seperate .h file for every .cpp file!

If DistribFileStore is the lone implementation of FileStore, then do we need FileStore?

I suspect the intention was that having an interface leaves the door open to adding a Solr-standalone filestore implementation at some point if someone is motivated enough.
I don't feel strongly on whether the interface remains or not.  Maybe that's worth cleaning up at some point, but IMO it's not necessary here since this PR isn't changing anything about how the FileStore is implemented, just some APIs around it.

is there an argument that ClusterFileStore should do everything DistribFileStore does?

I guess?  Idk about "do everything", but ClusterFileStore/ClusterFileStoreApi will eventually expose everything that DistribFileStore supports.
And I don't think that's a bad thing - it's an intentional "separation of concerns" thing.  "ClusterFileStore"/"ClusterFileStoreApi" define the HTTP interface an end-user sees, and some of the API concerns around that.  "DistribFileStore" is concerned with how we actually implement the "Filestore" idea in a SolrCloud context.  In theory, we could rewrite the filestore entirely without having to touch the API code, and that's a good thing!
The names are a mess and that definitely needs straightened out, but even in the long term IMO each of these classes has a distinct purpose that make them worth keeping around.  Totally agree about the other TODOs you mentioned in your comment above though - it'd be great if we could migrate all the BlobHandler usage onto the filestore.  (Though as you mentioned - those are different tickets for sure.)

I've since noticed two problems with this PR:

The generated SolrRequest class for uploading files doesn't handle the request body correctly, making it largely unusable.  We can fix this by modifying the JAX-RS annotations to be similar to those used in ZooKeeperReadAPI.
This breaks a test that @AndreyBozhko had in-flight on PR #2471.

I'm going to revert until I've had a chance to fix (1) and so that Andrey isn't blocked.


Portal & review page comment/note modals

[ ] Source list requires a comment button with modal popup (TBD)

datasets/templates/dataset/review.html The page where reconciliation results are reviewed.
On the review page, there is a “add note” link and the listener for the link is now in review-common.js. It’s broken. It led to a page with enough info to redirect back to the review page, at the same spot in the queue they were at. Should have been a modal, avoiding the tortured navigation.
The portal page in v2 has a “issue” link that opens a modal form (pic below). That was lost in creation of the v3 portal page. in v2 the listen lives in the review page. I see it has a “next” which would seem to be unnecessary given it’s a modal.
https://github.com/WorldHistoricalGazetteer/whgazetteer/blob/e67764bb61bb2fad8fc5a21bb4ab6ea40c446a6d/places/templates/places/place_portal.html#L452
 $(".create-comment").each(function () {
   var recpk = $(this).data('id');
   uribase="/comment/"+recpk
   next='?next='+"{% url 'places:place-portal' id=whg_id %}"
   $(this).modalForm({formURL: uribase+next});
 });

The v3 portal page needs a similar modal popup, creating a Comment record. There was discussion in PGH about what the options should be (figure) but it wasn’t exactly settled - Ali put it in a “can of worms” section of the whiteboard, because if the comment/issue is about one of the attestations in particular, it was unclear how they could specify that. It would seem to make sense to scrap existing listeners and create a comment modal useful for a) review.html, b) place_portal.html.
The issue remains for the portal - one “comment” link per page or per card. For review, it’s just one. Comment records refer to an individual place_id, and I think we should avoid the implied model changes if possible.

[ ] Add tag_vocabulary
[ ] Add logged-in class to filter building of modal, and hide/show trigger link & fas icons
[ ] Rename data-force-tag
[ ] Add to Portal records


dynamic use icon

how to use
  <icon-accessibility/>
  <icon-account-box style="font-size: 2em; color: red"/>

switch to
  <icon name="accessibility"/>
  <icon  name="account-box " style="font-size: 2em; color: red"/>

thus , I can dynamic use icon
  <icon :name="iconName"/>

as some time  we need to show a batch of icon by some kind of logic,but now seem to not support, Maybe I miss something.

It looks like this is not something that's planned for this library. See  https://github.com/antfu/unplugin-icons/issues/5


Support external spring config via configmap

https://github.com/provectus/kafka-ui/issues/1897#issuecomment-1113580606

This could be closed, becaus we implemnted it in https://github.com/provectus/kafka-ui/pull/2020


In file included from ../src/validation.cc:8:
In file included from /Users/thali/.node-gyp/jxb304/src/node.h:45:
In file included from /Users/thali/.node-gyp/jxb304/src/jx/Proxy/JSEngine.h:21:
In file included from /Users/thali/.node-gyp/jxb304/src/jx/Proxy/V8/v8_typed_array.h:25:
In file included from /Users/thali/.node-gyp/jxb304/src/jx/commons.h:34:
In file included from /Users/thali/.node-gyp/jxb304/src/jx/btree_map.h:31:
/Users/thali/.node-gyp/jxb304/src/jx/btree.h:918:10: warning: class 'btree_internal_locate_plain_compare' was previously declared as a struct [-Wmismatched-tags]
  friend class btree_internal_locate_plain_compare;
         ^
/Users/thali/.node-gyp/jxb304/src/jx/btree.h:893:8: note: previous use is here
struct btree_internal_locate_plain_compare {
       ^
/Users/thali/.node-gyp/jxb304/src/jx/btree.h:918:10: note: did you mean struct here?
  friend class btree_internal_locate_plain_compare;
         ^~~~~
         struct
/Users/thali/.node-gyp/jxb304/src/jx/btree.h:919:10: warning: class 'btree_internal_locate_compare_to' was previously declared as a struct [-Wmismatched-tags]
  friend class btree_internal_locate_compare_to;
         ^
/Users/thali/.node-gyp/jxb304/src/jx/btree.h:901:8: note: previous use is here
struct btree_internal_locate_compare_to {
       ^
/Users/thali/.node-gyp/jxb304/src/jx/btree.h:919:10: note: did you mean struct here?
  friend class btree_internal_locate_compare_to;
         ^~~~~
         struct
2 warnings generated.
 Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script.
npm ERR! This is most likely a problem with the thali package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     jx installCordovaPlugin.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls thali
npm ERR! There is likely additional logging output above.

npm ERR! System Darwin 14.5.0
npm ERR! command "/usr/local/bin/jx" "/Users/thali/.jx/npm" "--loglevel" "http" "--color" "true" "install" "/Users/thali/Github/testBuild/thali" "--save"
npm ERR! cwd /Users/thali/Github/ThaliTest
npm ERR! node -v v0.10.40
npm ERR! npm -v 1.4.14
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!      Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script.
npm ERR! This is most likely a problem with the thali package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     jx installCordovaPlugin.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls thali
npm ERR! There is likely additional logging output above.

npm ERR! System Darwin 14.5.0
npm ERR! command "/usr/local/bin/jx" "/Users/thali/.jx/npm" "--loglevel" "http" "--color" "true" "install" "/Users/thali/Github/testBuild/thali" "--save"
npm ERR! cwd /Users/thali/Github/ThaliTest
npm ERR! node -v v0.10.40
npm ERR! npm -v 1.4.14
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!      Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script.
npm ERR! This is most likely a problem with the thali package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     jx installCordovaPlugin.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls thali
npm ERR! There is likely additional logging output above.

npm ERR! System Darwin 14.5.0
npm ERR! command "/usr/local/bin/jx" "/Users/thali/.jx/npm" "--loglevel" "http" "--color" "true" "install" "/Users/thali/Github/testBuild/thali" "--save"
npm ERR! cwd /Users/thali/Github/ThaliTest/www/jxcore
npm ERR! node -v v0.10.40
npm ERR! npm -v 1.4.14
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!      Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script.
npm ERR! This is most likely a problem with the thali package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     jx installCordovaPlugin.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls thali
npm ERR! There is likely additional logging output above.

npm ERR! System Darwin 14.5.0
npm ERR! command "/usr/local/bin/jx" "/Users/thali/.jx/npm" "--loglevel" "http" "--color" "true" "install" "/Users/thali/Github/testBuild/thali" "--save"
npm ERR! cwd /Users/thali/Github/ThaliTest/www/jxcore
npm ERR! node -v v0.10.40
npm ERR! npm -v 1.4.14
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!

 Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script.
npm ERR! This is most likely a problem with the thali package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     jx installCordovaPlugin.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls thali
npm ERR! There is likely additional logging output above.

npm ERR! System Darwin 14.5.0
npm ERR! command "/usr/local/bin/jx" "/Users/thali/.jx/npm" "--loglevel" "http" "--color" "true" "install" "/Users/thali/Github/testBuild/thali" "--save"
npm ERR! cwd /Users/thali/Github/ThaliTest/www/jxcore
npm ERR! node -v v0.10.40
npm ERR! npm -v 1.4.14
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!      Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script.
npm ERR! This is most likely a problem with the thali package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     jx installCordovaPlugin.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls thali
npm ERR! There is likely additional logging output above.

npm ERR! System Darwin 14.5.0
npm ERR! command "/usr/local/bin/jx" "/Users/thali/.jx/npm" "--loglevel" "http" "--color" "true" "install" "/Users/thali/Github/testBuild/thali" "--save"
npm ERR! cwd /Users/thali/Github/ThaliTest/www/jxcore
npm ERR! node -v v0.10.40
npm ERR! npm -v 1.4.14
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /Users/thali/Github/ThaliTest/www/jxcore/npm-debug.log
npm ERR! not ok code 0

PR is added to the queue for testing as 3. task. (2133d08)

Build is completed without an error but couldn't commit the log file. (2133d08)
exit code:141

Test<PHONE_NUMBER>33d08(2133d08) has failed
See https://github.com/ThaliTester/TestResults/tree/485472912133d08_Merge_story_001_vjrantal_to_story_001_yarong_vjrantal/ for the fail logs

Reviewed 10 of 11 files at r1, 1 of 1 files at r2.
Review status: all files reviewed at latest revision, 2 unresolved discussions, all commit checks successful.

build.sh, line 32 [r2] (raw file):
I know this is a pain but I believe that we really need ERROR_ABORT on every single command. That way we know the build script will fail if a command fails and we will know which command is at fault.

build.sh, line 77 [r2] (raw file):
That than put these cp commands here why not just set binary_path/ios and binary_path/android in the mobile_test.json to ../ThaliTest/platforms/android/build/outputs/apk/android-release-unsigned.apk and similarly for iOS?

Comments from the review on Reviewable.io

Review status: 10 of 11 files reviewed at latest revision, 2 unresolved discussions, all commit checks successful.

build.sh, line 32 [r2] (raw file):
Agreed.
Done.

build.sh, line 77 [r2] (raw file):
I had it first like that, but that fails in the CI like this https://github.com/thaliproject/Thali_CordovaPlugin/pull/216#issuecomment-150541223 .
That copy can be removed once CI supports relate paths outside of the original parent.

 Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script.
npm ERR! This is most likely a problem with the thali package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     jx installCordovaPlugin.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls thali
npm ERR! There is likely additional logging output above.

npm ERR! System Darwin 14.5.0
npm ERR! command "/usr/local/bin/jx" "/Users/thali/.jx/npm" "--loglevel" "http" "--color" "true" "install" "/Users/thali/Github/testBuild/thali" "--save"
npm ERR! cwd /Users/thali/Github/ThaliTest/www/jxcore
npm ERR! node -v v0.10.40
npm ERR! npm -v 1.4.14
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!      Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script.
npm ERR! This is most likely a problem with the thali package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     jx installCordovaPlugin.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls thali
npm ERR! There is likely additional logging output above.

npm ERR! System Darwin 14.5.0
npm ERR! command "/usr/local/bin/jx" "/Users/thali/.jx/npm" "--loglevel" "http" "--color" "true" "install" "/Users/thali/Github/testBuild/thali" "--save"
npm ERR! cwd /Users/thali/Github/ThaliTest/www/jxcore
npm ERR! node -v v0.10.40
npm ERR! npm -v 1.4.14
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!      Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script.
npm ERR! This is most likely a problem with the thali package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     jx installCordovaPlugin.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls thali
npm ERR! There is likely additional logging output above.

npm ERR! System Darwin 14.5.0
npm ERR! command "/usr/local/bin/jx" "/Users/thali/.jx/npm" "--loglevel" "http" "--color" "true" "install" "/Users/thali/Github/testBuild/thali" "--save"
npm ERR! cwd /Users/thali/Github/ThaliTest/www/jxcore
npm ERR! node -v v0.10.40
npm ERR! npm -v 1.4.14
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /Users/thali/Github/ThaliTest/www/jxcore/npm-debug.log
npm ERR! not ok code 0

PR is added to the queue for testing as 1. task. (5f63e36)

Build is completed without an error but couldn't commit the log file. (5f63e36)
exit code:141

Test 485472915f63e36(5f63e36) has failed
See https://github.com/ThaliTester/TestResults/tree/485472915f63e36_Merge_story_001_vjrantal_to_story_001_yarong_vjrantal/ for the fail logs

PR is added to the queue for testing as 1. task. (8f203c3)

Test 48547291 build process is completed (8f203c3)
See https://github.com/ThaliTester/TestResults/tree/485472918f203c3_Merge_story_001_vjrantal_to_story_001_yarong_vjrantal/ for the logs

PR is added to the queue for testing as 1. task. (9331f37)

Test (Fail) 48547291 build is completed (9331f37)
See https://github.com/ThaliTester/TestResults/tree/485472919331f37_Merge_story_001_vjrantal_to_story_001_yarong_vjrantal/ for the logs

PR is added to the queue for testing as 1. task. (9331f37)

Test (Fail) 48547291 build is completed (9331f37)
See https://github.com/ThaliTester/TestResults/tree/485472919331f37_Merge_story_001_vjrantal_to_story_001_yarong_vjrantal/ for the logs

Reviewed 2 of 2 files at r4.
Review status: :shipit: all files reviewed at latest revision, all discussions resolved, all commit checks successful.

Comments from the review on Reviewable.io


240 UWP Samples versus 17 Windows App SDK???

The .NET Upgrade Assistant makes it easy to migrate apps from UWP to Windows App SDK, right?  When will the 240 UWP samples be migrated?  What I'd really like is to see the C++/CX versions migrated to C++/WinRT, but I'm not aware of an Assistant for that.

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 106b8e66-730a-c48d-b547-42ebd9af8ab6
Version Independent ID: f396349e-2083-b623-82bc-2372e9d33d18
Content: Sample applications for Windows development - Windows apps
Content Source: hub/apps/get-started/samples.md
Product: reunion
Technology: get-started
GitHub Login: @MatchaMatch
Microsoft Alias: mikben

Thanks, @dr-eck. This is something that's on our radar. It's a long-term enough work item that I'm not sure this is the best place to track it (plus, this repo isn't the one that contains the actual samples).
It might not be a bad idea to file an issue against the actual sample apps repo: https://github.com/microsoft/Windows-universal-samples/issues.
I'll close this one meanwhile.
Thanks again!
-Steve


Fix step snippet generation

Fixes #1840

@BugDiver before merging this PR can you take a look at the to other to pending PR's?
i.e. https://github.com/getgauge/gauge/pull/1816 and https://github.com/getgauge/gauge/pull/1815 I think their github actions are pending.

@BugDiver before merging this PR can you take a look at the to other to pending PR's?
i.e. https://github.com/getgauge/gauge/pull/1816 and https://github.com/getgauge/gauge/pull/1815 I think their github actions are pending.


Remove secrets from Quickstart bicep provisioning

Description
Defender for Azure is getting triggered by secrets, specifically the default Function App access key, appearing in the inputs and outputs of the bicep provisioning.
This PR removes those secrets and instead uses a bicep function to lookup with existing resource's access key.
Related issues
Resolves #125 .
Testing
This change was tested by provisioning the quickstart with the 'AZD' CLI and confirming the absence of secret values from the deployment logs.
Reviewer Checklist

[ ] Update the title of the PR to be succinct and less than 50 characters
[ ] Tag the PR with the type of update: Bug, New-Sample, Enhancement, or New-Feature
[ ] CI is green before merge

@sordahl-ga @mikaelweave I just approved this PR but I think it's stuck at "Azure Health DataServices Toolkit PR, CI, and Release" - is something wrong with our pipelines?

/azp run


[Bug] Stylebot turns github to black/white only

Describe the bug
The whole github.com site turns black/white/gray only. Same goes for internal github sites.
To Reproduce
Steps to reproduce the behavior:

Go to 'github.com'

Expected behavior
Colors.
Screenshots
It's pretty obvious.
Additional context
Turning off the extension fixes the issue.

Seems there is an entry "git" that contains:
div.position-relative.js-header-wrapper {
  filter: grayscale(100%);
}

div.show-on-focus {
  filter: grayscale(100%);
}

#js-flash-container {
  filter: grayscale(100%);
}

div.application-main {
  filter: grayscale(100%);
}

div.footer.container-lg.width-full.p-responsive {
  filter: grayscale(100%);
}

div.ajax-error-message.flash.flash-error {
  filter: grayscale(100%);
}

div.js-stale-session-flash.stale-session-flash.flash.flash-warn.flash-banner {
  filter: grayscale(100%);
}

#site-details-dialog {
  filter: grayscale(100%);
}

div.Popover.js-hovercard-content.position-absolute {
  filter: grayscale(100%);
}

div.js-global-screen-reader-notice.sr-only {
  filter: grayscale(100%);
}

div.chrome_websiteIP_right {
  filter: grayscale(100%);
}

But I don't remember adding this, does it come with the extension?

@timo-schmid You might have accidentally enabled grayscale mode. You can remove this css by going into "magic" tab and disabling grayscale (or just manually deleting css). There is a global shortcut (Alt+G) to toggle grayscale and you might have pressed those keys.

I am removing the default shortcuts for grayscale/readability so that will make this more stable.

It's quite likely I hit the keyboard shortcut, thanks! 👍


Horizontal Scroll Issue

#179
Hello Mr. Keller,
I really appreciate your reply.
However, I think we are not on the same page.
To be more specific with my issue,
When there are a lot of columns on the sheet, a horizontal scroll appears and it always comes with a vertical scroll as a default, even when it is unnecessary. Thus, that causes the problem, even though when I already assigned the innerHeight instead of the outerHeight.
FYI: My height calculation
<DataSheetGrid
  columns={config.columns}
  value={value}
  height={window.screen.availHeight / 2}
/>

Thanks a lot,
Philly

I have this same issue. I am setting the height of the DataSheetGrid to use up all of the available space on the browser page. If I have a grid with a single row of data, and that data fits in the width of the browser page, it looks fine. If I add an additional column that causes the grid to be wider than the window, then the grid will be displayed with the horizontal scrollbar added, but the grid with the scrollbar takes up exactly the same space as the grid without the scrollbar. This results in space for the actual data not being enough to display the entire height of the row. I can scroll vertically, but it is not possible to see an entire row at once.
The issue is not the height property. In the screenshot here, the height is set to 533, and you can see that there is plenty of space available, but the horizontal scrollbar is covering up part of the data.

Here is the same row, with the last column removed:

Thanks for the report. I don't have much time at the moment so feel free to send a PR.
I am in the process of re-writing the virtualisation myself, which should solve a few issues and allow for more performance and more flexible API. But the ETA on this is very uncertain :/

2024 and the horizontal scroll is still over last row...


[opentitanlib] FixedSizeBigInt to_bytes() methods should preserve byte length"

Ran into this while working on #14503: FixedSizeBigInt to_*_bytes() methods are thin wrappers around the underlying type's to_*_bytes() methods which return the minimal vec<u8> without any padding.
This is normally not a problem except the sign() method of the RSA crate we are using is expecting the input digest buffer to be exactly 32 bytes (256-bits for SHA256) and errors out if it's not here.
We should update these methods to preserve the byte length of the type.

@jadephilipoom


Readme Updates: --usecase=rocm

ROCm install updates to keep consistent with other libs

@r-abishek -- once this PR is merged into develop,, please add a few lines of summary of added features in changelog.


Create middleware pipeline

Create a pipeline used to register middleware to make it easier to logically segregate code in a unified way to process requests on the server.


~ Add doc for new shortcut for creating a new window

Doc for

https://github.com/FreeTubeApp/FreeTube/pull/2314
https://github.com/FreeTubeApp/FreeTube/pull/2306

Only merge this after those 2 are merged

Merge #27 first
I will resolve conflicts later

@absidue @efb4f5ff-1298-471a-8973-3d47447115dc @ChunkyProgrammer
Changes rebased~


libseccomp: 2.5.4 -> 2.5.5

Changes: https://github.com/seccomp/libseccomp/releases/tag/v2.5.5
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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 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

[x] Fits CONTRIBUTING.md.

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

Scheduling a backport. This change only includes an update of the internal syscall table which is necessary for https://github.com/NixOS/nix/issues/10585.


Option to specify schematics to install and run during new project creation

🚀 Feature request
Ability to specify schematics to install and run during new project creation with ng new
Command (mark with an x)

[x] new
[ ] build
[ ] serve
[ ] test
[ ] e2e
[ ] generate
[ ] add
[ ] update
[ ] lint
[ ] extract-i18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Description
Use case example: I want to start a new project and have angular material, cdk, and ngrx installed and setup right after the project been bootstrapped.
Describe the solution you'd like
ng new my-project --schematics=@angular/material,@angular/cdk,@ngrx/store

If the schematics have interactive setup scripts after installation, run the interactive installation scripts in the order defined in the --schematics option (the name for the options might not be appropriate, maybe pick a more explicit name for the option?)

Hi @avatsaev,
Thanks for opening this feature request.
This currently can be done by using ng add after the generation of the application.
ng new my-app
cd my-app
ng add @angular/material
ng add @ngrx/store

Or you can concatenate the commands as follows:
ng new my-app && cd my-app && ng add @angular/material && ng add @ngrx/store

Seeing that this is possible by running an additional command and creating an application is not something which is done that often, this request doesn’t currently fall in the CLI roadmap.
If you do create applications with the above often, it is possible to extend the default ng-new schematic to add the desired functionality. Alternatively you can also create a small Shell or Node script that does the above for you.


Setup Ethereum

Hi Team,
I am working on configuring Ethereum in peatio. I have installed geth and connected it to Rinkeby testnet. I  have also configured RPC detail in currencies.yml file. But when I deposit ether to my public address, it is not getting updates in peatio. In case of BTC, wallet notify peatio about the transaction but how we can achieve it in case of ether.
Please help me to resolve it. I will update the document once it started working for me.
Regards

Hi @sharmaabhishek2207
You should run all Peatio daemons so exchange will work.
Wallet notify is custom thing for ETH. Consider coding your own (available in Google).