Transitive filters followed by constant comparisons

Hey all,
This PR adds transitive filters followed by constant comparisons. For filters like j >= i AND i>10, the optimizer will generate another extra filter j >= 10.

Thanks Tiago! Looks good. Could you perhaps add some tests that verify that the new conditions get added in test/optimizer? For an example you can look at test/optimizer/table_filter_pushdown.test. You can have a test such as e.g.:
PRAGMA explain_output='optimized';
EXPLAIN SELECT * FROM (VALUES (1, 2)) tbl(col0,col1) WHERE col0=col1 AND col0=3;

In this case I see that a transitive filter col1=3 is generated and present in the explain output, even though it wasn't in the original query:
logical_opt	PROJECTION[col0, col1]
PROJECTION[col0, col1]
    FILTER[col0=3, col1=3, col0=col1]
        EXPRESSION_GET
            DUMMY_SCAN

Now I can add a test that verifies this condition is present using a regex (note the .* at the beginning and end of the regex to match the rest of the explain).
query II
EXPLAIN SELECT * FROM (VALUES (1, 2)) tbl(col0,col1) WHERE col0=col1 AND col0=3;
----
logical_opt	<REGEX>:.*col1=3.*

Note that I explicitly use a VALUES statement rather than a base table here to avoid the table filter pushdown.

@Mytherin I have thought before how to test whether the optimizer created the new filter. Certainly, I will write more tests using the explain, nice trick BTW.

The last commits added more test cases and also treated the case of transitive filters from the left column.
Filters like WHERE i>9 AND j>= i AND k>= j will be optimized regardless of the transitivity order, .e.g., j>=i and  k>=j  are dependent transitive filters, such dependency is treated now.
P.S. I guess the Travis job shall be triggered manually.

Thanks! Looks good now.


coqPackages.flocq: 3.3.1 → 3.4.2

Motivation for this change
Support for Coq 8.14
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build framac coqPackages.interval


[SPARK-36303][SQL]  Label error classes for subset of QueryExecutionErrors

What changes were proposed in this pull request?
Adds error classes to some of the exceptions in QueryExecutionErrors.
Why are the changes needed?

Does this PR introduce any user-facing change?
Fills in missing error class and SQLSTATE fields.
How was this patch tested?
Existing tests

Can one of the admins verify this patch?

cc @karenfeng FYI


feat: add sample query to dataset filters

@baturayo  is this still being worked on ? If not can you close this?


make an isogeny validity test for the BLS12-377 G1 and G2

We need a test to verify that there is no mistake in the isogeny coefficients. And it defines a real isogeny.

the isogeny code now actually checks if the produced point is on the target curve or  otherwise it panics.


[Browser Build] Dependency or not?

For browser scripts file size is important... I don't know if it is a good idea to include EE2 with the build because people might already have it as a separate module included in their code base...

-1 If they're using flatiron they're using EE2. It's a package deal. Removing it seriously changes the semantics of writing isomorphic code.


Validation allows a pod with no containers - is this intended?

It is not commented as specifically intended - we should decide if it is actually supported and meaningful, or whether we should reject it.

We should support pods with no containers.  Pods contain volumes and will reserve resources in the future. I could easily imagine pods without containers being useful as a preparatory, intermediate, or cleanup state, and we shouldn't force users to run dummy containers.


Invalid after iscustomelement configuration，There are test cases

Version
3.0.4
Reproduction link
https://github.com/ht-sauce/vuemini-test
Steps to reproduce
app.config.isCustomElement = tag => tag.startsWith('ion-')
A minimum case has been provided according to the requirements in GitHub, please check
What is expected?
There should be no warning
What is actually happening?
There are still warnings

you should edit babel.config.js link this:
module.exports = {
  presets: [
    '@vue/cli-plugin-babel/preset'
  ],
  plugins: [
    /* eslint-disable-next-line global-require */
    [require('@vue/babel-plugin-jsx'), { isCustomElement: tag => /^ion-/.test(tag) }],
  ],
}

也许这不是Vue的错误，所以我关闭了PR。
作为工作场所，请像下面这样编辑babel.config.js：
模块。出口 =  {
  预设：[
    '@ vue / cli-plugin-babel / preset'
  ] ，
  插件：[
    / * eslint-disable-next-line global-require * /
    [要求（'@ vue / babel-plugin-jsx' ）， {  isCustomElement：tag  =>  / ^ ion- / 。测试（标签） } ] ，
  ] ，
}

Thank you. That really solves the problem.
But this configuration does not appear in the official documents, I think there will be a lot of people like me have doubts. Hope to improve the official documents

see https://github.com/vuejs/jsx-next

We should probably amend the Vue core docs for app.config.isCustomElement and explain that:

This check only runs for templates compiled at runtime.
a similar option can be configured for templates compiled during build:

vue-loader & rollup-plugin-vue (through their compilerOptions)
vue's jsx babel plugin

@LinusBorg
I agree, This problem may often be encountered.

Only adding the workaround from @edison1105 didn't work for me. (Reproduction Projekt: https://github.com/florianrusch/Foobar3)
I use @vue/cli. If I understand correctly the PR of @Xenonym (https://github.com/vuejs/docs-next/pull/779) and the note he added to the docs, I have to use vue-loader and thus a custom webpack configuration to set the compiler option. Is that correct? Or is there a way to set the compiler option without using vue-loader/a custom webpack config?

I have to use vue-loader and thus a custom webpack configuration to set the compiler option
@florianrusch yes

This is now documented better: https://vuejs.org/api/application.html#app-config-compileroptions
Closing this


Support Retina Displays

Right now the popup looks quite blurry on a retina display.

I can see that the screenshot is blurry, however, I'm not experiencing any blurriness on my Macbook Pro Retina. There's only one image in the extension, which I do need to update for Retina. There's also a glyph font which isn't visible in this screenshot.
Everything in this screenshot is just text, css borders and backgrounds. I've adjusted the zoom from 25% to 300% and I've adjusted my resolution from small to large; I haven't been able to duplicate the issue.
Can you provide more information on your display and settings?

https://code.google.com/p/chromium/issues/detail?id=443752
Chrome returns incorrect value for window.devicePixelRatio in extensions.

Indeed it happens only if an external (in this case non-retina) display is connected. If I use only the internal retina display it works correctly. Let's wait for Chrome to fix the issue then. Or do you by chance know of any workaround?


Check/remove usages of Array.prototype.concat for nested arrays

Because it's overloaded to support A | Array<A> it can falsely flatten: [].concat([]) == [] (want: [[]])

https://github.com/samhh/fp-ts-std/commit/860a7f5afb081dbde0b40ef15410702bed677184


Sort and normalize install_requires

Attempts to address part of #11

@asottile there's no 'request re-review' button for me but this is ready for another review

a little bit of irony
diff --git a/setup.cfg b/setup.cfg
index e7ee4cb..f857de3 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -18,8 +18,7 @@ classifiers =

 [options]
 py_modules = setup_cfg_fmt
-install_requires =
-    identify[license]>=1.3.0
+install_requires = identify[license]>=1.3.0
 python_requires = >=3.6

 [options.entry_points]


TextEdit code folding with comments

Fixes #13107
allows folding comment regions (non-indented only)
can fold over lines that start with # or //, as long there is still an indentation
also fixes horizontal scrolling over hidden lines

I did something similar in #13362. My fix is simpler but does not handle the comments.
I'm not sure folding comment section is desired however, but why not.

Someone requested the ability to fold comments so I figured I'd give it a shot.
@groud Your solution works but does not hide trailing lines that end with a tab, though I don't know if it should or not.
Regardless, I added my own fix for trailing lines at the end of the file as there would have been a conflict.
Also, I changed get_whitespace_level to get_indent_level, like what #13362 had.

I added an argument so get_indent_level handling comments makes more sense.
I modified the for loop as well, thanks for telling me about loop optimization.
Also, support for indented comments.

I added an argument so get_indent_level handling comments makes more sense.

Well, no, it does not make more sense. This function should just return the number of tabs / indente in front of a line. Keep it simple :)
Testing for comments outside of the function would make a lot more sense.

Hmm, I think it does make sense. A line can be indented and start with a comment.
Besides, I would have to run a whole loop to count the indentation after a comment, so it's not easy to just check outside the function. Maybe we should change the name of the function if it is still confusing.

I agree with @groud. The function should return only indent level regardless whether it's a comment or not. If the first non-whitespace char is # then the whole line is a comment. I don't understand the need of nested comment folding.

The main reason for this pr is to fix #13107
This happens when lines like
#\t\t var indentedcomment
and
\t\t var indentedline
do not have the same indentation level.
We want to treat them like they have the same indentation to solve this issue.
To do that I have to ignore the beginning-of-line comment if there is one and continue to count the indentation.  To me, it makes sense to get this comment-ignoring indentation level in the get_indentation_level function, at least when the argument p_ignore_comments is true.
But maybe I should make another function called get_indentation_level_after_comment or something?

I don't think comments should be hard coded. As they are language dependent ( shader editor also uses
/* */  )
Instead colour regions ( strings and comments ) should be made foldable providing they spill over to the next line.
For dealing with colour regions inside of indented blocks, they should take on the indent of the line following the region.

Closing.
Using #13362 for folding the last line, #14352 for horizontal lines, and I'm working on color region support like @Paulb23 suggested.


feat: migrated to sqlite database

Description
I have migrated the database to a sqlite based database using sqlalchemy
sqlalchemy write's python object into sql queries that can be run on the database to store in the database
Merch class serve's as the model for database entries
code is explained in comment's
There may be some issue's in image uploading since i don't have the appwrite key (it was previously stored in process.env file)
a function  has been provided that is to be run to initialize the database
the getproduct saveproduct and deleteproduct endpoint's have been changed accordingly

Related Issue

Fixes # (issue)
#2
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Motivation and Context

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Screenshots (if appropriate):
Checklist:

[x] I have registered myself at Contrihub website.
[x] My code follows the code style of this project.
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] Any dependent changes have been merged and published in downstream modules
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

Test Configuration:

Firmware version:
Hardware:
Toolchain:
SDK:

Thank You Sir


[Matchers] ReceiveMatcher can cause falsely passing tests

I'm really not sure of the details of how this happens, but the short version is that when I revert a fix I made to my code and adjust this test to use not(viaPolling(receive())), the test still passes.  Without the bug fix in place, it should be failing - and it does fail with the custom receive matcher that I have in that file.
[Note: I'm using local variables to alias matchers 'cause I hate dot imports, but using package selectors causes some stumbles in readability]
What I'm expecting to happen:

not will invert the result
viaPolling will return the first time there is a success
receive will return a success if it can read from the channel

This should result in a failing test the first time the channel has a value that can be read during the polling phase.  The reality is that even though a value is available, the default case is always chosen - so my tests pass no matter how long I set the ViaPolling duration to, even though my code is broken.
Again, I really can't understand the details, because I've tried to reproduce with simpler cases in the playground and haven't had any luck.  Maybe it has to do with the code in hel using reflect to generate a select statement?  But it definitely happens consistently.  I can occasionally reproduce the problem with my custom receiveMatcher if I set the timeout to 0 - I get some false passes there, too, albeit much less often.

HAH!  I finally managed to reproduce it
The problem was that the done channel is closed, so the process trying to send a value becomes a very tight loop that reads off of the done channel every time.  Polling means that the receiving and sending code almost never hit at exactly the right time - the default case is used effectively 100% of the time.


Create 2020-11-20LibreOfficeIntegration

New blog post that introduces the basic functions of LibreOffice integration and also shows the funtionality of two external tool. (For issues with usage see: e.g. https://discourse.jabref.org/t/libreoffice-integration-documentation-insufficient/2413)

You need to create this PR in the JabRef blog repository

This can be closed because of PR to "offical" JabRef PR: https://github.com/JabRef/blog.jabref.org/pull/49. We will fix some wordings, hope, this is OK ^^


[security] helm chart is outdated and includes images with 992 vulnerabilities

Describe the bug
helm chart is outdated and includes images with 992 vulnerabilities
In detail:

there are dependencies with well known security issues (with official CVE numbers)
there is a pretty huge number of known and documented vulnerabilities: 992
including important ones (critical, high rating)
not only in the accompanying software in helm (prometheus, grafana) but in core directly (pulsar)
some were known for 9 years (CVE numbers from 2013)
there are possible fixes for most of them (for 623)

see source https://artifacthub.io/packages/helm/apache/pulsar?modal=security-report
Of course, this is only a first rough impression given by this analysis.
And the chart does not contain the very latest version of pulsar (even so, it's the latest official helm chart)
When looking into every detail of the reported numbers, you can of course argue why not every counted vulnerabilities is a disaster...
=> But how can you easily argue to anyone having seen this fast result

In general, this software (pulsar) is secure, you can use it without any concerns.

?
This issue is a shortened copy from
Arguments for "why pulsar is secure?"
https://github.com/apache/pulsar/issues/18041
for more details and comments, please see there.

overview from link above:

more details:

would/will be very interesting to see, how an updated helm chart with latest pulsar image perform in the same scan.
=> is the update already the big part of the solution?

@hpvd - thank you for creating this issue. I am going to look into how we can get these issues resolved.

@michaeljmarshall many thanks for starting looking in it that fast
and especially your proposal to make a general approach set the ground to finally solve this (https://github.com/apache/pulsar-helm-chart/pull/299)!

just as background info, the security scanner used by artifacthub, providing results shown above
is trivy, so all the finding should be pretty valid.
For details, see:
https://artifacthub.io/docs/topics/security_report/
and trivy
https://github.com/aquasecurity/trivy)

Thank you for raising this issue @hpvd, and thank you for the extra context. It is very important to get the helm chart into a better place. Part of the reform is updating the release process, which I started here #301. This will take some extra time in the beginning, but should lead to easier releases in the future.

@michaeljmarshall
there is also an easy to use github action for scanning with trivy

the complete repository,
pull requests,
docker container
IaC
etc.

=> Maybe this is interesting to integrate this directly into the CI pipeline...
See Readme of https://github.com/aquasecurity/trivy-action

We could definitely investigate using that tool. For now, I am focused on getting the relevant dependencies upgrade and fixing the release process.

wow just saw the latest release 3.0.0!
What a great progress :-)
just did the same quick security check up again:
Latest security analysis show

a stunning step in reducing the number of included vulnerabilities (minus 85%!)

v2.9.4 with pulsar 2.9.3 1024 vulnerabilities (698 fixable) have been detected in this package's images.
https://artifacthub.io/packages/helm/apache/pulsar/2.9.4?modal=security-report
v3.0.0 with pulsar 2.10.2 136 vulnerabilities (79 fixable) have been detected in this package's images.
https://artifacthub.io/packages/helm/apache/pulsar?modal=security-report

on the other hand

the number of fixable vulnerabilities with a severity of CRITICAL has risen from 1 to 4 (plus 300%!)

very old fixable and already reported vulnerabilities (up to 9 years old) are still included:

edit: just opened a separate issue for this: https://github.com/apache/pulsar/issues/18338

follow-up issue: https://github.com/apache/pulsar-helm-chart/issues/334

Since we have a follow up issue, can we close this one @hpvd?

@michaeljmarshall
Yes I think that's good move!


Add escape to linkify() so it can handle CJK characters correctly

Fix #67
Signed-off-by: Tao Wang<EMAIL_ADDRESS>

sorry for the late reply! I'll try to merge today, I really appreciate this!


i have a problem.

i have a problem.
Can you help me?
======================================================
(j16134uk) EUNHYUKui-MacBook-Pro:sis eunhyulkim$ python server.py
Using TensorFlow backend.
WARNING:tensorflow:From /Users/eunhyulkim/opt/anaconda3/envs/j16134uk/lib/python3.6/site-packages/keras/backend/tensorflow_backend.py:74: The name tf.get_default_graph is deprecated. Please use tf.compat.v1.get_default_graph instead.
WARNING:tensorflow:From /Users/eunhyulkim/opt/anaconda3/envs/j16134uk/lib/python3.6/site-packages/keras/backend/tensorflow_backend.py:517: The name tf.placeholder is deprecated. Please use tf.compat.v1.placeholder instead.
WARNING:tensorflow:From /Users/eunhyulkim/opt/anaconda3/envs/j16134uk/lib/python3.6/site-packages/keras/backend/tensorflow_backend.py:4138: The name tf.random_uniform is deprecated. Please use tf.random.uniform instead.
WARNING:tensorflow:From /Users/eunhyulkim/opt/anaconda3/envs/j16134uk/lib/python3.6/site-packages/keras/backend/tensorflow_backend.py:3976: The name tf.nn.max_pool is deprecated. Please use tf.nn.max_pool2d instead.
WARNING:tensorflow:From /Users/eunhyulkim/opt/anaconda3/envs/j16134uk/lib/python3.6/site-packages/keras/backend/tensorflow_backend.py:174: The name tf.get_default_session is deprecated. Please use tf.compat.v1.get_default_session instead.
WARNING:tensorflow:From /Users/eunhyulkim/opt/anaconda3/envs/j16134uk/lib/python3.6/site-packages/keras/backend/tensorflow_backend.py:181: The name tf.ConfigProto is deprecated. Please use tf.compat.v1.ConfigProto instead.
2019-11-13 14:56:28.253959: I tensorflow/core/platform/cpu_feature_guard.cc:145] This TensorFlow binary is optimized with Intel(R) MKL-DNN to use the following CPU instructions in performance critical operations:  SSE4.1 SSE4.2 AVX AVX2 FMA
To enable them in non-MKL-DNN operations, rebuild TensorFlow with the appropriate compiler flags.
2019-11-13 14:56:28.254322: I tensorflow/core/common_runtime/process_util.cc:115] Creating new thread pool with default inter op setting: 4. Tune using inter_op_parallelism_threads for best performance.

Serving Flask app "server" (lazy loading)
Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
Debug mode: off
Running on http://<IP_ADDRESS>:5000/ (Press CTRL+C to quit)
<IP_ADDRESS> - - [13/Nov/2019 14:56:46] "GET / HTTP/1.1" 200 -
[2019-11-13 14:56:52,113] ERROR in app: Exception on / [POST]
Traceback (most recent call last):
File "/Users/eunhyulkim/opt/anaconda3/envs/j16134uk/lib/python3.6/site-packages/flask/app.py", line 2446, in wsgi_app
response = self.full_dispatch_request()
File "/Users/eunhyulkim/opt/anaconda3/envs/j16134uk/lib/python3.6/site-packages/flask/app.py", line 1951, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/Users/eunhyulkim/opt/anaconda3/envs/j16134uk/lib/python3.6/site-packages/flask/app.py", line 1820, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/Users/eunhyulkim/opt/anaconda3/envs/j16134uk/lib/python3.6/site-packages/flask/_compat.py", line 39, in reraise
raise value
File "/Users/eunhyulkim/opt/anaconda3/envs/j16134uk/lib/python3.6/site-packages/flask/app.py", line 1949, in full_dispatch_request
rv = self.dispatch_request()
File "/Users/eunhyulkim/opt/anaconda3/envs/j16134uk/lib/python3.6/site-packages/flask/app.py", line 1935, in dispatch_request
return self.view_functionsrule.endpoint
File "server.py", line 30, in index
query = fe.extract(img)
File "/Users/eunhyulkim/opt/anaconda3/envs/j16134uk/sis/feature_extractor.py", line 19, in extract
feature = self.model.predict(x)[0]  # (1, 4096) -> (4096, )
File "/Users/eunhyulkim/opt/anaconda3/envs/j16134uk/lib/python3.6/site-packages/keras/engine/training.py", line 1164, in predict
self._make_predict_function()
File "/Users/eunhyulkim/opt/anaconda3/envs/j16134uk/lib/python3.6/site-packages/keras/engine/training.py", line 554, in _make_predict_function
**kwargs)
File "/Users/eunhyulkim/opt/anaconda3/envs/j16134uk/lib/python3.6/site-packages/keras/backend/tensorflow_backend.py", line 2744, in function
return Function(inputs, outputs, updates=updates, **kwargs)
File "/Users/eunhyulkim/opt/anaconda3/envs/j16134uk/lib/python3.6/site-packages/keras/backend/tensorflow_backend.py", line 2546, in init
with tf.control_dependencies(self.outputs):
File "/Users/eunhyulkim/opt/anaconda3/envs/j16134uk/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 5426, in control_dependencies
return get_default_graph().control_dependencies(control_inputs)
File "/Users/eunhyulkim/opt/anaconda3/envs/j16134uk/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 4867, in control_dependencies
c = self.as_graph_element(c)
File "/Users/eunhyulkim/opt/anaconda3/envs/j16134uk/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 3796, in as_graph_element
return self._as_graph_element_locked(obj, allow_tensor, allow_operation)
File "/Users/eunhyulkim/opt/anaconda3/envs/j16134uk/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 3875, in _as_graph_element_locked
raise ValueError("Tensor %s is not an element of this graph." % obj)
ValueError: Tensor Tensor("fc1/Relu:0", shape=(?, 4096), dtype=float32) is not an element of this graph.
<IP_ADDRESS> - - [13/Nov/2019 14:56:52] "POST / HTTP/1.1" 500 -

======================================================

Please clone the latest repository, update all packages, and run again. If there's still problems, let me know the version of (1) python, (2) tensorflow, and (3) keras,

Respectfully,
Thank you so much for your kind reply.
Although the module was updated several times,
It didn't go well.
(1) Python 3.6.9 :: Anaconda, Inc.
(2) tensorflow
tensorflow                1.15.0          mkl_py36h4920b83_0
tensorflow-base           1.15.0          mkl_py36he1670d9_0
tensorflow-estimator      1.15.1             pyh2649769_0
(3) keras,
keras                     2.2.4                         0
keras-applications        1.0.8                      py_0
keras-base                2.2.4                    py36_0
keras-preprocessing       1.1.0                      py_1

You tf and keras are not the latest. Update tf to 2.x.  Current latest version would be:
$ pip list | grep tensorflow
tensorflow             2.0.0
tensorflow-estimator   2.0.1

$ pip list | grep Keras
Keras                  2.3.1
Keras-Applications     1.0.8
Keras-Preprocessing    1.1.0


hcatalog lib not found

i install in my linux(centos6) use apache hive0.13, apache hbase0.98, apache hadoop2.4.0,
kylin0.7.1，
when I run  kylin.sh start,  i have an issue about    hcatalog lib not found,
i didn't the reason.
please help me

The fastest way to get response from our developers is to send email to our mail list<EMAIL_ADDRESS>and remember to subscribe our mail list via<EMAIL_ADDRESS>

I have write letter to<EMAIL_ADDRESS>2 days ago and  receive no letter from now on.

hi,
can you give me some keyword of your previous email? i don't recall seeing your email in our dev list.

hi, here is my question:
I   try   to    install  kylin,  here is my install enviroment:
apache hive0.13.1
apache  hbase0.98
apache  zookeeper3.4.6
apache  hadoop2.5.2
kylin0.7.1,
when i try to  execute  kylin.sh start    , there are some issues:
KYLIN_HOME is set to /home/apacheHadoop/kylin
Logging initialized using configuration in file:/home/apacheHadoop/hive-0.13.1/conf/hive-log4j.properties
hcatalog lib  not found
best wishes
thx.
At 2015-05-14 20:01:36, "hongbin ma"<EMAIL_ADDRESS>wrote:
hi,
can you give me some keyword of your previous email? i don't recall seeing your email in our dev list.
—
Reply to this email directly or view it on GitHub.

hi, i failed to find you mail in mail list... it's wield
anyway, kylin requires hive 0.14 or later, please try a newer version of hdp(like 2.2) or cdh

Kylin will seek hive-hcatalog-core*.jar; please check whether you have installed that; With HDP and CDH, these are already configured well; BTW, Mailing list didn't receive your email; Please try again; We can discuss there.
Date: Thu, 14 May 2015 06:56:10 -0700
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS>Subject: Re: [Kylin] hcatalog lib not found (#462)
hi, here is my question:
I   try   to    install  kylin,  here is my install enviroment:
apache hive0.13.1
apache  hbase0.98
apache  zookeeper3.4.6
apache  hadoop2.5.2
kylin0.7.1,
when i try to  execute  kylin.sh start    , there are some issues:
KYLIN_HOME is set to /home/apacheHadoop/kylin
Logging initialized using configuration in file:/home/apacheHadoop/hive-0.13.1/conf/hive-log4j.properties
hcatalog lib  not found
best wishes
thx.
At 2015-05-14 20:01:36, "hongbin ma"<EMAIL_ADDRESS>wrote:
hi,
can you give me some keyword of your previous email? i don't recall seeing your email in our dev list.
―
Reply to this email directly or view it on GitHub.
―
Reply to this email directly or view it on GitHub.

hi, i want know  the mailing list is<EMAIL_ADDRESS> or<EMAIL_ADDRESS> ?
and how to write lettle to you mailing list?
I had write lettle to<EMAIL_ADDRESS> in  2015-5-15 16:45  by my email<EMAIL_ADDRESS>,  is that  the correct way  to  kylin mailing list ??

send any message to<EMAIL_ADDRESS>then your'll subscribe our mail list.(there might be another confirming letter)
if you want post any question to our mail list, send message to<EMAIL_ADDRESS>

can you still find the email in your "sent mails"? can you send another mail as a test?

yes， i have  send a message to<EMAIL_ADDRESS>as a  test,
and i will write my question to<EMAIL_ADDRESS>thx

hi  i bulid the sample cube with project learn_kylin , and the result is error,
the log detail is ：
java.lang.IncompatibleClassChangeError:Found interface org.apache.hadoop.mapreduce.JobContext,
but class was expected:
at org.apache.hive.hcatalog.mapreduce.HcatBaseInputFormat.getSplits(HCatBaseInputFormat.java 102)
I use apahce hive0.14,   and i want know if my hive version is not right or something else i dont konw.
thx

we still don't your email in mail list..
please try with another email and make it work in mail list, because we're supposed to discuss all of issues on mail list instead of github.
as shaofeng said, we find hive-hcatalog-core*.jar in your hive's libs. make make sure its verson >= 0.14
you can check it by lsof command.
if things still don't work, you may start from a standard sandbox like HDP 2.2

Hi,
I got the same issue:
"java.lang.IncompatibleClassChangeError:Found interface org.apache.hadoop.mapreduce.JobContext,
but class was expected"
My environment：
apache hive 1.0.1
apache  hbase <IP_ADDRESS>
apache  zookeeper3.4.6
apache  hadoop2.6.0
kylin0.7.2
Can anyone help this?

The fastest way to get response from our developers is to send email to our mail list<EMAIL_ADDRESS>and remember to subscribe our mail list via<EMAIL_ADDRESS>please discuss in mail thread

Github Issues here will be closed soon, please open JIRA instead of discuss here:
http://issues.apache.org/jira/browse/KYLIN
or, send mail to Kylin dev mailing list as Hongbin mentioned above.
Thanks.

I fixed this by modifying the "/bin/find-hive-dependency.sh" file.  The problem was the line that set the "hdp_home" variable.  The awk -F command was looking for a string like "/hive./lib/" but the most recent install of Hive has directory format "/apache-hive./lib/".  I merely changed the line to read '/apache-hive.*/lib/'.
Your results may be different if your install directory is different.  Add a line "echo $hive_exec_path" before the hdp_home line to see what's stored in the variable.

Hi @zjost
Could you please help to open one JIRA and attache patch for this?
We will review and merge into coming release.
Thank you very much

Luke,
Not sure I'm the best person to offer a robust solution.  I merely changed
the directory path regex expression to work for my install environment.
On Wed, Aug 5, 2015 at 12:33 AM, Luke Han<EMAIL_ADDRESS>wrote:

Hi @zjost https://github.com/zjost
Could you please help to open one JIRA and attache patch for this?
We will review and merge into coming release.
Thank you very much
—
Reply to this email directly or view it on GitHub
https://github.com/KylinOLAP/Kylin/issues/462#issuecomment-127864482.

@zjost, if it works for you, it should be reference for others at least, more beyond that it could be update by community;-)
Don't hesitate to raise any change to us, we are welcome and will help to review to make sure it works very well.
I have forwarded to mailing list, you could found here:
and please jump into there for further discussion and comments.
http://apache-kylin-incubating.74782.x6.nabble.com/FW-Kylin-hcatalog-lib-not-found-462-tt1003.html
Thanks.

thanks @zjost , i fix this problem. env: ubuntu12.04. hive1.2.1

I got the same problem when am trying to deploy kylin on ubuntu12.04.  and fix it using @zjost 's approach. thanks.


fixed small errors in docs

Coverage increased (+0.02%) to 69.92% when pulling 35c6cf6ff9b609bf20e2d05b958f389e6024df19 on 0xflotus:master into a2ff1e2ccd355df3b2d52003e6a194dcaddb700b on uber:master.


Merge back from release to master

Build succeeded (check pipeline).

https://checklist.intgdc.com/job/gooddata-public-demos/job/gooddata-public-demos-validation/144/ : SUCCESS in 5s
https://checklist.intgdc.com/job/compliance/job/gooddata-public-demos-oss-check/153/ : SUCCESS in 4s

Sonar scan result

No issue found. Congratulations!

More detail, see in https://sonarqube-gate.intgdc.com/dashboard?id=gooddata-public-demos-gate-PR71
To scan for vulnerabilities in dependencies and run unit tests (to get coverage report in sonar) please comment your PR with 'extended check sonar'.

Build succeeded (gate pipeline).

https://checklist.intgdc.com/job/gooddata-public-demos/job/gooddata-public-demos-validation/148/ : SUCCESS in 8s
https://checklist.intgdc.com/job/compliance/job/gooddata-public-demos-merge-compliance-check/61/ : SUCCESS in 10s
https://checklist.intgdc.com/job/compliance/job/gooddata-public-demos-sonarqube-scan-zuul-gate/59/ : SUCCESS in 40s
https://checklist.intgdc.com/job/compliance/job/gooddata-public-demos-fossa-scanning-zuul/22/ : FAILURE in 5s (non-voting)


Move logout into a dropdown under username along with "My profile"

Moved, and moved to right.
The username and profile menu entries are bolded if you're on the profile page.


[FLOC 3439] Add the Dell storage config doc as provided by Stmcginnis

Fixes 3439
A page for the new Dell storage config was contributed in https://github.com/ClusterHQ/flocker/pull/2158.
 It also adds Sean to our list of Authors.

All looks nice and tidy and all the links work fine :)


JS validations for scheduling. Closes #29, Closes #31

JS validations now in place.
Includes update to Vagrant Environment for PhantomJS install.

@cromulus if you have time, would you give a quick pass through the vagrant update? else we'll merge it in by the end of the day


Fail in loading the model due to torch.six

RuntimeError: Failed to import transformers.models.llama.modeling_llama because of the following error (look up to see its traceback):
No module named 'torch._six'

I have the same problem with you. Have you solved that problem?

It turns out that I am using torch 2 and the torch._six is deprecated. I install torch 1 and it works now. Here is the cmd I used to install torch after install the requirement packages.
!pip install torch==1.13.1+cu117 torchvision==0.14.1+cu117 torchaudio==0.13.1 --extra-index-url https://download.pytorch.org/whl/cu117

So it must be used under torch1.13?  Do you know any other ways to solve this problem?


Refs/heads/master

created a branch, created a file and made a commit, and opened a pull request

reated a branch, created a file and made a commit, and opened a pull request


Make ASTER Library available somewhere

We might wish to ship ASTER with COAL. I'll get my hands on a copy and then investigate the licensing.

I'm picking up a copy early next week and will make it available for everyone then.

Now available at https://drive.google.com/drive/folders/0B1hXUEnU66LkSzRqX3pfNnBNSHM


Start() not being fired after start

I'm facing a problem here, my service works fine if I run on debug or release, but when I try to install  and start via cmd the Start() method apparently is not being fired. Any thoughts? Thank you!
Program.cs
HostFactory.Run(configurator =>
            {
                configurator.Service<MyService>(s =>
                {
                    s.ConstructUsing(name => new MyService());
                    s.WhenStarted(service => service.Start());
                    s.WhenStopped(service => service.Stop());
                });

                configurator.RunAsLocalSystem();
                configurator.StartAutomatically();
                configurator.SetDescription("MyService");
                configurator.SetDisplayName("MyService");
                configurator.SetServiceName("MyService");
            });

MyService.cs

public bool Start()
        {
            var t = new Thread(new ThreadStart(Run));
            t.Start();

            return true;
        }

        public bool Stop()
        {
            return true;
        }

        private void Run()
        {
            while (true)
            {
                Logger.Info(interval.ToString());

                interval++;

                Thread.Sleep(1000);
            }
        }

Hey,  I am also facing similar issue. I have my start method to open command line and execute some commands. But when I install service, nothing works. I think the same issue with mine the start action is not being fired.
Somebody can help us ? Thanks in advance.

I found the problem. My log class was writing in a file located in  %LOCALAPPDATA%. I changed to another folder and voilà, it's working! Maybe the service account do not have permission to create a folder/file in there?

@jagguk1993 You can use [ProccessMonitor] (https://technet.microsoft.com/en-us/sysinternals/processmonitor.aspx) to check what your service is doing

Looks like this is resolved then. Environment locations will change on the user; though we do set the current base path to location of the service.


Is the order of  based redirects guaranteed?

DASH IOP v4.3 in the section on MPD Location and Reference Resolution says the following:

<IP_ADDRESS>. Client Requirements and Recommendations
Based on these descriptions, a DASH client operating on MPD updates and segment requests is expected to operate as follows:

For MPD update requests (when due) according to clause 5.4, the DASH client requests the MPD according to the following priority

If at least one MPD.Location element is present,

any the value of any MPD.Location element is used as the MPD request URL

The phrasing "any of the value of any MPD.Location element is used" sounds to me like the order of those Location elements is not considered.
In fact I see Shaka's implementation follows the order of the manifest. I can't really imagine why any implementation would not respect the order, but I don't think it's actually guaranteed. I suspect that content providers would want the order respected, for failover scenarios.
Do you think it's ambiguous? I will file a recommendation with IOP to update this section, but I'm curious if you agree.

Yeah, that seems unhelpfully ambiguous.  If there's room for clients to choose at random for load-balancing (or if that's recommended), then that should be stated somewhere and referenced from that spot.

Good point, I hadn't even considered the load-balancing case. I'll include that in my ticket.
Thanks for replying.

I have filed https://github.com/Dash-Industry-Forum/DASH-IF-IOP/issues/333


gssapi not compatible with Nuitka

Nuitka version, full Python version and Platform (Windows, OSX, Linux ...)

<IP_ADDRESS>
Python: 3.7.3 (default, Jan 22 2021, 20:04:44)
Executable /usr/bin/python3
OS: Linux (Debian 10)
Arch: X86_64

How did you install Nuitka and Python

pip3 install nuitka

The specific PyPI names and versions

certifi==2021.5.30
cffi==1.14.6
charset-normalizer==2.0.1
cryptography==3.4.7
decorator==5.0.9
gssapi==1.6.14
idna==3.2
pycparser==2.20
pypsrp==0.5.0
pyspnego==0.1.6
requests==2.26.0
six==1.16.0
urllib3==1.26.6

Many times when you get an error from Nuitka, your setup may be special
Code:

import gssapi

if __name__ == '__main__':
    print("Hi")

In your issue the options used

python3 -m nuitka main.py --standalone
python3 -m nuitka main.py --standalone --include-package=gssapi

Error:
 % ./main
Traceback (most recent call last):
  File "/tmp/mounta/PYTHON/nuitka_test/bin/main.dist/main.py", line 2, in <module>
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "/tmp/mounta/PYTHON/nuitka_test/bin/main.dist/gssapi/__init__.py", line 4, in <module gssapi>
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "/tmp/mounta/PYTHON/nuitka_test/bin/main.dist/gssapi/bindings/__init__.py", line 230, in <module gssapi.bindings>
  File "/tmp/mounta/PYTHON/nuitka_test/bin/main.dist/gssapi/bindings/__init__.py", line 187, in _read_header
  File "/tmp/mounta/PYTHON/nuitka_test/bin/main.dist/pkg_resources/__init__.py", line 1134, in resource_exists
  File "/tmp/mounta/PYTHON/nuitka_test/bin/main.dist/pkg_resources/__init__.py", line 1404, in has_resource
  File "/tmp/mounta/PYTHON/nuitka_test/bin/main.dist/pkg_resources/__init__.py", line 1457, in _has
NotImplementedError: Can't perform this operation for unregistered loader type

Seems that gssapi is not compatible with gssapi.
Related to: https://github.com/Nuitka/Nuitka/issues/1158
Basically I am just trying to use pypsrp which requires gssapi.

It is working. Something is extremely messed up with my pip packages. Will clean everything from python / pip and try again. But for all others: it is working.


Stops with exit code 0 if I choose an earlier server version

Set it up on an Oracle Cloud VM running Oracle Linux 8, ARM64. If I leave the Version environment variable blank, then the server works perfectly. But if I choose any other version then it stops almost instantly. Tried hosting a java server instead and that worked fine. I tested it on at least 4 different versions and it's always the same result. Here's the logs:

Minecraft Bedrock Server Docker script by James A. Chambers
,Latest version always at https://github.com/TheRemote/Legendary-Bedrock-Container
,Don't forget to set up port forwarding on your router!  The default port is 19132
,Ports used - IPV4: 19132 - IPV6: 19133
,Backing up server (to minecraftbe/backups folder)
,Backing up server (multiple cores) to minecraftbe/backups folder
,worlds/
,worlds/Bedrock level/
,worlds/Bedrock level/db/
,worlds/Bedrock level/db/000005.log
,worlds/Bedrock level/db/MANIFEST-000004
,worlds/Bedrock level/db/CURRENT
,worlds/Bedrock level/levelname.txt
,worlds/Bedrock level/level.dat_old
,worlds/Bedrock level/level.dat
,Checking for the latest version of Minecraft Bedrock server ...
,  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
,                                 Dload  Upload   Total   Spent    Left  Speed
,
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  311k    0  311k    0     0  1566k      0 --:--:-- --:--:-- --:--:-- 1566k
,Latest version online is bedrock-server-<IP_ADDRESS>.zip
,Override version, using version specified: <IP_ADDRESS>
,Current install is: bedrock-server-<IP_ADDRESS>.zip
,Requested version bedrock-server-<IP_ADDRESS>.zip is already installed
,Starting Minecraft server...
,tbedrock_server: error while loading shared libraries: libz.so.1: ELF load command alignment not page-aligned
,
,t[screen is terminating]

That is a very strange error.  This is on aarch64/ARM64?  I tried on my Pi with this exact version:
pi@pi48gb:~ $ uname -a
Linux pi48gb 5.15.32-v8+ #1538 SMP PREEMPT Thu Mar 31 19:40:39 BST 2022 aarch64 GNU/Linux
pi@pi48gb:~ $ sudo docker run -it -v yourvolumename:/minecraft -p 19132:19132/udp -p 19132:19132 -e Version=<IP_ADDRESS> 05jchambers/legendary-bedrock-container:latest
Minecraft Bedrock Server Docker script by James A. Chambers
Latest version always at https://github.com/TheRemote/Legendary-Bedrock-Container
Don't forget to set up port forwarding on your router!  The default port is 19132
Ports used - IPV4: 19132 - IPV6: 19133
Backing up server (to minecraftbe/backups folder)
Backing up server (multiple cores) to minecraftbe/backups folder
worlds/
worlds/Bedrock level/
worlds/Bedrock level/db/
worlds/Bedrock level/db/CURRENT
worlds/Bedrock level/db/000019.log
worlds/Bedrock level/db/MANIFEST-000018
worlds/Bedrock level/levelname.txt
worlds/Bedrock level/level.dat_old
worlds/Bedrock level/level.dat
Checking for the latest version of Minecraft Bedrock server ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  313k    0  313k    0     0   724k      0 --:--:-- --:--:-- --:--:--  724k
Latest version online is bedrock-server-<IP_ADDRESS>.zip
Override version, using version specified: <IP_ADDRESS>
Current install is: bedrock-server-<IP_ADDRESS>.zip
Requested version bedrock-server-<IP_ADDRESS>.zip is already installed
Starting Minecraft server...

But you don't get this with the latest version or when leaving it blank?  Specifically I'm looking at this error:
bedrock_server: error while loading shared libraries: libz.so.1: ELF load command alignment not page-aligned
That doesn't seem like something that would go away by changing versions so this is very strange.  Can you try clearing everything out in your "downloads" folder located in your volume that stores your Minecraft server data?  I almost wonder if something is corrupted in there.
You could also try clearing installed_version.txt and pin_version.txt for sure as well.  The only thing that makes me a little unsure is I don't see why the version would change this (or setting the environment variable would).
Can you investigate those and let's see if we can get any closer here!

Thanks for getting back to me and yes it's aarch64.
I did try changing the installed_version.txt and also deleted the whole volume multiple times and used different names for it. I've used the later version of the container every time and these are the logs of a fresh volume running the latest server version:
caution: excluded filename not matched:  *whitelist.json*
caution: excluded filename not matched:  *valid_known_packs.json*
Starting Minecraft server...
t[2022-06-02 11:13:29] NO LOG FILE! - setting up server logging...
[2022-06-02 11:13:29] [2022-06-02 11:13:29:770 INFO] Starting Server
[2022-06-02 11:13:29] [2022-06-02 11:13:29:773 INFO] Version 1.19.10-beta20
[2022-06-02 11:13:29] [2022-06-02 11:13:29:773 INFO] Session ID 85e9a1ab-5f19-4805-848b-c9797765b2be
[2022-06-02 11:13:29] [2022-06-02 11:13:29:793 INFO] Level Name: Bedrock level
[2022-06-02 11:13:29] [2022-06-02 11:13:29:811 ERROR] Error opening allow list file: allowlist.json
[2022-06-02 11:13:29] [2022-06-02 11:13:29:813 INFO] Game mode: 0 Survival
[2022-06-02 11:13:29] [2022-06-02 11:13:29:814 INFO] Difficulty: 1 EASY
[2022-06-02 11:13:29] [2022-06-02 11:13:29:304 INFO] opening worlds/Bedrock level/db
[2022-06-02 11:13:42] [2022-06-02 11:13:42:038 INFO] IPv4 supported, port: 19132
[2022-06-02 11:13:42] [2022-06-02 11:13:42:044 INFO] IPv6 not supported
[2022-06-02 11:13:45] [2022-06-02 11:13:45:933 INFO] Server started.
[2022-06-02 11:13:45] [2022-06-02 11:13:45:988 INFO] ================ TELEMETRY MESSAGE ===================
[2022-06-02 11:13:45] [2022-06-02 11:13:45:988 INFO] Server Telemetry is currently not enabled.
[2022-06-02 11:13:45] [2022-06-02 11:13:45:989 INFO] Enabling this telemetry helps us improve the game.
[2022-06-02 11:13:45] [2022-06-02 11:13:45:989 INFO]
[2022-06-02 11:13:45] [2022-06-02 11:13:45:989 INFO] To enable this feature, add the line 'emit-server-telemetry=true'
[2022-06-02 11:13:45] [2022-06-02 11:13:45:990 INFO] to the server.properties file in the handheld/src-server directory
[2022-06-02 11:13:45] [2022-06-02 11:13:45:990 INFO] ======================================================
[2022-06-02 11:13:45] [2022-06-02 11:13:45:046 INFO] IPv4 supported, port: 37044
[2022-06-02 11:13:45] [2022-06-02 11:13:45:046 INFO] IPv6 not supported
cd /varl  li   /lib

But then after deleting the volume and doing this:
docker volume create bedrock-server
docker run -it -v bedrock-server:/minecraft -e Version=<IP_ADDRESS> -p 19132:19132/udp -p 19132:19132 05jchambers/legendary-bedrock-container:latest

I get this:
caution: excluded filename not matched:  *whitelist.json*
caution: excluded filename not matched:  *valid_known_packs.json*
Starting Minecraft server...
tbedrock_server: error while loading shared libraries: libz.so.1: ELF load command alignment not page-aligned

t[screen is terminating]

It's honestly baffling me right now.

This is what I'm getting:
[root@minecraft-server /]# sudo mount /tmp -o remount,exec
mount: /tmp: mount point not mounted or bad option.

It's probably /var/tmp on your system or something like that.  It's a permissions issue basically.
Have you tried running the container as sudo?  If the system is configured with the right permissions that isn't typically necessary (with the user in the group docker and all of that).  Given the nature of this error I would try it as sudo and see if it works (it doesn't mean you have to keep running it that way, it would just be for a test).
https://support.oracle.com/knowledge/Oracle Linux and Virtualization/1609931_1.html
I don't have Oracle access so I can't read this article but this is definitely an Oracle configuration problem.  Specifically it seems like your temp folder has noexec on it (wherever that is on Oracle Linux).
Here's another one:  https://support.oracle.com/knowledge/Middleware/1918909_1.html
These aren't specifically for Docker but it's the same shared library error that is definitely present.  This one is specifically for Docker though:  https://developpaper.com/angry-liver-all-night-dockers-common-problems-and-solutions-have-been-exhausted-and-are-about-to-crack/
That issue is #3 on the most common Docker configuration issues.  It's related to temp folder permissions.  From what I can tell it's probably /var/tmp.
Some more links:
https://developpaper.com/solution-to-tns-permission-denied-in-linux/
https://support.oracle.com/knowledge/Oracle Database Products/1421013_1.html
https://support.oracle.com/knowledge/Middleware/1918909_1.html
Basically it looks like this is permissions related and I'm having no trouble finding references to the issue and commands to run to fix it (there's some more links in there).  I don't have one of these setups though so I can't tell you which one will work!

Going to close for now.  If you have more information or get a chance to try this let me know!
If others encounter this or this doesn't get it let me know and we can investigate further!


Dynamic search based select

This would probably be an entirely new feature. But, imagine you have a system with a million users stored in a database. And you want to select one based on a simple text search. Obviously, fetching a million users and rendering them in the select, and then using the searcher function to match them, is infeasible. Instead, you want the items that appear to be selected to be dynamic, using API calls to the backend to fetch the items based on what the user has typed so far. So, to implement it, instead of a static list of items, you'll have a callback:
func(input string) interface{}

This would have to use goroutines/channels to invoke the search in the background, while allowing the user to continue to enter text, so that after a user types a certain number of characters, it can immediately issue the search callback, and then continue to allow the user to type and refine the search, waiting till the previous callback has returned till it invokes the callback again with the currently input text (if different from the previous callback invocation).
Since Items in Select is currently interface{}, perhaps it could be possible to add this support to the existing select, I'm not sure if that would make sense or not.

I have the same idea, and I am going to implement it.


Enter on edit screen does not submit

If you hit enter while on an edit screen it just closes the window

Moving issues into rancherio/rancher.
https://github.com/rancherio/rancher/issues/321


accessibilty updates

Hello Guys,
I am using you package for an accessibility project. A colleague run accessibility tests and shared through this issue and change updates to be made to improve the pop up window.
I am trying to run ngx-cookieconsent to do a PR soon.
- [* ] feature request:
-> removing aria-label="cookieconsent" from the div (aria-labelledby is enough)
-> using real buttons instead of a a html tag with role set to button
-> No need of aria-label in these links because text links are understandables, but if you want to use aria-label translate them. let the user to input translate inside aria-label.
-> put the text of the popup and the links inside a tag ( p or div html tag)

Before starting any changes are you interesting by this feedback ?
CookieConsent and Library Versions?

cookieconsent version: 3.1.0

B.R

@liyokuna We're always concerned with Accessibility. We try to support every person no matter the use case... unless the tech is simply unreachable for the over all intended audience we're supporting with CookieConsent. Also, we always welcome PRs. We've been a little behind but are going to be catching up fast, so if you haven't already... by all means, PR away!

+1 to fix this issue
(More or less) same remarks:

why aria-role if button is sufficient
no aria-labels in links/buttons. I would not recommend adding aria-labels to buttons/links because of the risk of having a different visual (link text) and non-visual (aria-label) representation and it's unsure how speech recognition software is handling such cases (the user sees a link, but has to activate it using the invisible aria-label?)
I do not see added value for aria-label and aria-labelledby for the div[role='dialog']

@vandepitte I will make the same comment: We're always concerned with Accessibility. We try to support every person no matter the use case... unless the tech is simply unreachable for the over all intended audience we're supporting with CookieConsent. Also, we always welcome PRs. We've been a little behind but are going to be catching up fast, so if you haven't already... by all means, PR away!


Castle Windsor and Windows Activities

I am using visual studio 2012, and I am targeting .NET 4.5.  I have a project that makes use of windows activities and I was attempting to use Castle Windsor to resolve dependencies for me. However this application is not necessarily hosted in the web. This is code that is shared between a web project and a windows form project.
Create a new console application, add a blank activity to the project and build. The build will pass successfully. Now remove the activity and add Castle Windsor via NuGet, build and it should pass.  Now add a blank activity and attempt to build.  The build will error out with the following message:
Assembly 'System.Web, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' can not be resolved.  Please add a reference to this assembly in the project that is being built.

That is strange, after a few minutes of digging I found the error is thrown by the PartialClassGenerationTask called at Microsoft.Xaml.targets:L193.
c:\Users\Jonathon\Documents\Visual Studio 2013\Projects\ConsoleApplication1\Activity1.xaml : error XC1014: Assembly 'System.Web, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' can not be resolved.  Please add a reference to this assembly in the project that is being built.
Done executing task "PartialClassGenerationTask" -- FAILED. (TaskId:11)
Done building target "XamlMarkupCompilePass1" in project "ConsoleApplication1.csproj" -- FAILED.: (TargetId:22)

I found that I had to add a reference to System.Web which Windsor uses (in non client profile builds) and also System.Drawing which neither Windsor or Castle Core uses to get it to build.
I had a quick peek inside PartialClassGenerationTask and it looks like it gets all references and the references of your references to do some complex magic I didn't dig deep enough to find out.
http://referencesource.microsoft.com/#XamlBuildTask/Microsoft/Build/Tasks/Xaml/PartialClassGenerationTaskInternal.cs,294
Interestingly you can do the same test with a WPF XAML project and it all works, I'm not sure what is different with the WF ones, but it looks like you'll have to just add a reference to the extra assemblies or contact someone that knows more about the internals of WF's XAML build tasks.


Improve Tools setup file

Proposed changes
The setup.py file for deafrica_tools was insufficient to the task. This PR improves the file by ensuring all the necessary packages are included.
I've also removed the segmentation.py module since it can no longer work on the sandbox, and I commented out some older, now unused code on the load_era5.py module

LGTM. Let's confirm with Matthew?


sshagent plugin on mac sierra

as usual, mac is still running too old bash, so it has no -v yet:
-bash: /Users/user/.bash_it/plugins/enabled/250---sshagent.plugin.bash: line 129: conditional binary operator expected
-bash: /Users/user/.bash_it/plugins/enabled/250---sshagent.plugin.bash: line 129: syntax error near `SSH_AGENT_ENV'
-bash: /Users/user/.bash_it/plugins/enabled/250---sshagent.plugin.bash: line 129: `  [[ -v SSH_AGENT_ENV ]] \'

Closed in #1029


Python 3.10 tests currently failing

Describe the bug
Tests fail on Python 3.10 due to a binary incompatibility between the numpy version required by numba (currently < 1.23) and the numpy version used to build python-casacore. This cannot be resolved without a version of python-casacore which works with numpy < 1.23 or a version of numba which supports numpy>=1.23. Waiting for a numba release is the simpler approach but way take a few months.
To Reproduce
Simply run the tests under Python 3.10.
Expected behavior
QuartiCal should work under Python 3.10.

Yea you will probably need a reasonably new boost installed on the system
On Mon, 18 Jul 2022, 14:30 JSKenyon, @.***> wrote:

Running:
pip install --no-binary "python-casacore" python-casacore
gives:
/usr/bin/ld: cannot find -lboost_python-py310-mt
Presumably this is a a libboost dependency but I am not sure what to
install to satisfy it @bennahugo https://github.com/bennahugo.
—
Reply to this email directly, view it on GitHub
https://github.com/ratt-ru/QuartiCal/issues/174#issuecomment-1187288368,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB4RE6WJ35KVJVE5HNJ7HLLVUVE65ANCNFSM5332JUQQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

This is on 20.04. I still think I am justified in whining as this basically renders QuartiCal uninstallable under Python 3.10 without fiddling. I suspect that 20.04 doesn't have a sufficiently recent boost and installing that manually doesn't really resolve the issue. I have opened https://github.com/casacore/python-casacore/issues/235 as I believe that there should either be a final 3.4 release which supports 3.10 or the 3.5 release should work with the first version of numpy to support Python 3.10.

This has been fixed upstream.

Yup agreed.
Boost is only bundled for the python that is natively bundled with your
version - here 3.8 in other words.
It may help to upgrade to Ubuntu 22.04 which ships 3.10 as the default
On Mon, 18 Jul 2022, 14:39 JSKenyon, @.***> wrote:

This is on 20.04. I still think I am justified in whining as this
basically renders QuartiCal uninstallable under Python 3.10 without
fiddling. I suspect that 20.04 doesn't have a sufficiently recent boost and
installing that manually doesn't really resolve the issue. I have opened
casacore/python-casacore#235
https://github.com/casacore/python-casacore/issues/235 as I believe
that there should either be a final 3.4 release which supports 3.10 or the
3.5 release should work with the first version of numpy to support Python
3.10.
—
Reply to this email directly, view it on GitHub
https://github.com/ratt-ru/QuartiCal/issues/174#issuecomment-1187308872,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB4RE6UE7SQZTR25ONBUDR3VUVF7VANCNFSM5332JUQQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


Raspberry Pi OS no longer has PCM default sound device - breaks audio output

As detailed in https://www.raspberrypi.org/blog/latest-raspberry-pi-os-update-may-2020/, the latest version of the Raspberry Pi OS has removed the default sound device and made headphones and HDMI separate audio devices. I've been unable to get sound working in EmulationStation after updating to the new version. Also, there doesn't seem to be a way to auto-switch between HDMI sound and 3.5mm jack sound. I'm not sure exactly what would be needed to make this change, but I'd be happy to help test any solutions.

I didn't notice this is no longer the maintained repo, sorry.


Publishing

How do you publish games on tic.computer?

Fill title, author metadata in the code header and assign cartridge cover by pressing F7
then you can upload your cartridge to the website

closing


Validators

New features:
@properties.validator wrapper for methods of HasProperties classes.
If this wrapper is used without arguments, the wrapped function becomes a ClassValidator that is called on has_props_instance.validate()
If this wrapper is given property name(s) like the @properties.observer wrapper, then the wrapped function is called on property change. validator functions are called before the change; observer functions are called after the change.
@properties.observe => @properties.observer rename to match validator
Minor changes:
choices is now required on StringChoices init - this fixes problems with validation of default values (ie trying to set and validate default before the choices are set)

Current coverage is 94.47% (diff: 100%)

Merging #45 into master will increase coverage by 0.14%

@@             master        #45   diff @@
==========================================
  Files             5          5
  Lines           599        633    +34
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits            565        598    +33
- Misses           34         35     +1
  Partials          0          0

Powered by Codecov. Last update 2097530...e8a0381


[DO NOT MERGE] remove the messageScheduler since its not neeeded

just testing

Merged build triggered.

Merged build started.

Test build #41882 has started for   PR 8560 at commit 80aab55.

Test build #41882 has finished for   PR 8560 at commit 80aab55.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/41882/
Test PASSed.


Readd Clone to WindowBuilder

Adds the Clone auto-derive back to WindowBuilder after it was somehow removed in #819. Only tested on Windows.

Thanks


Automate dataset creation with new_stack script

Mostly a bunch of subprocess calls with some minor processing for Hail service account collection.
This script requires you to have created hail service accounts prior to running the script, good future project would be to do that automatically.

The sort of bad caveat to wanting to generate the account JSON is you need to deploy the stack before you generate it, which usually would require a review.

That's probably worth highlighting in a README?


SW-6251 Add monitoring plot/site link to search API

Allow the search API to navigate from planting sites to monitoring plots and back.
This will support searching for plots that aren't in subzones once we support
plots outside of site boundaries.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#2602  👈 (View in Graphite)
#2601
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Merge activity

Nov 15, 4:57 PM EST: A user started a stack merge that includes this pull request via Graphite.


JS Primer > Syntax > 1 variables: Has no tests, so cannot pass

https://workshop.bloc.io/exercises/variables-i

Tests. Added. Could be part of the bug.


Adding error handling to tag version creation

Description

Added error handling for malformed release.Tagnames to prevent methods being called on nil cur receiver and subsequent panic.
Removed redundant import alias yaml
Errant release.tag_name vedge causing the issue appears to have been changed or been removed.

 "tag_name": "vedge",

Issue reference

#1468

Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[x] Created/updated tests (Not applicable)
[x] Extended the documentation (Not applicable)

Changed merged in https://github.com/dapr/cli/pull/1469


Is there a way to set a component as an initValue?

Hello,
I'd love to know if I can set an imported component as an initValue/whether there is property that allows for the user to press a component to trigger the modal.
Thank you!
K

The visible prop controls whether the modal is displayed.  Your component could set that value when pressed.
https://github.com/peacechen/react-native-modal-selector#props

@peacechen how do you hide the actual button while showing another? It would be nice to have a prop like initValue that is also like, currentValue


New Toast Android Component Use Cases

Summary

New use cases for toast android component in rn-tester

Changelog
[General] [Changed] - Changed use cases for toast android component in rn-tester
Test Plan

Tested app in both Android and iOS
After -

Before -

Updated the test plan!

@chirag-singhal the new pressable items say "click me" instead of "tap me", shouldn't they say "tap"?

@rickhanlonii The older version says click me, the new changes says tap to view toast

@rickhanlonii the new version says tap to view toast, the older version had text 'click me'

Oh I see, thanks!


Do not constrain to one week

There is a hard coded limit to one week in the S3 signed URLs. My use case is to create cachable urls that are still protected (not completely public). The expire time needs to be high to enable browser caching, otherwise there is not really a point. I propose to remove this constraint.

Ah I see, AWS does not allow this. Sorry 🙃

Yup sorry!


[Breaking change]: FindSystemTimeZoneById Returns Incorrect StandardName for Id

Description
It looks like the TimeZoneInfo object that is returned from FindSystemTimeZoneById() is returning an incorrect name for a given ID (It gives the correct offset but with "GMT"). Further, it seems to only be a problem for IDs that are shaped like "Eastern Standard Time". In contrast, "America/New_York" works fine.
I suspect that this has something to do with the caching behavior introduced in .NET 8. Take a look at the unit test below, which will fail in different ways depending on the test cases provided
Unit test to reproduce behavior:
public class TimeZoneHelperTests
{
    [Theory]
    [InlineData("Eastern Standard Time", false, "EST")] // fully qualified IDs fail sometimes
    [InlineData("Central Standard Time", false, "CST")]
    [InlineData("Mountain Standard Time", false, "MST")]
    [InlineData("Pacific Standard Time", false, "PST")]
    [InlineData("Eastern Standard Time", true, "EDT")]
    [InlineData("Central Standard Time", true, "CDT")]
    [InlineData("Mountain Standard Time", true, "MDT")]
    [InlineData("Pacific Standard Time", true, "PDT")]
    [InlineData("America/New_York", false, "EST")] //America/X type IDs always succeed
    [InlineData("America/Chicago", false, "CST")]
    [InlineData("America/Denver", false, "MST")]
    [InlineData("America/Los_Angeles", false, "PST")]
    [InlineData("America/New_York", true, "EDT")]
    [InlineData("America/Chicago", true, "CDT")]
    [InlineData("America/Denver", true, "MDT")]
    [InlineData("America/Los_Angeles", true, "PDT")]
    public void GetTzAbbreviation_BuildsCorrectAbbreviation(string timeZoneId, bool isDaylightSavingsTime, string expectedAbbreviation)
    {
        // Arrange
        var tzi = TimeZoneInfo.FindSystemTimeZoneById(timeZoneId);

        // Act
        var abbreviation = GetTzAbbreviation(isDaylightSavingsTime, tzi);

        // Assert
        Assert.Equal(expectedAbbreviation, abbreviation);
    }

    private static string GetTzAbbreviation(bool isDaylightSavingsTime, TimeZoneInfo timeZoneInfo)
    {
        var timeZoneString = isDaylightSavingsTime ? timeZoneInfo.DaylightName : timeZoneInfo.StandardName;

        return string.Concat(Regex
            .Matches(timeZoneString, "[A-Z]")
            .Select(match => match.Value));
    }
}

Version
.NET 8 GA
Previous behavior
The standard name should be analogous the provided time zone.
New behavior
The standard name is set to GMT
Type of breaking change

[ ] Binary incompatible: Existing binaries might encounter a breaking change in behavior, such as failure to load or execute, and if so, require recompilation.
[ ] Source incompatible: When recompiled using the new SDK or component or to target the new runtime, existing source code might require source changes to compile successfully.
[ ] Behavioral change: Existing binaries might behave differently at run time.

Reason for change
N/A
Recommended action
Seems like the America/X IDs are working properly. Use those instead
Feature area
Core .NET libraries
Affected APIs
TimeZoneInfo.FindSystemTimeZoneById(String)

@tarekgh Can you take a look at this issue?

@jchli which OS are you running on? Windows, Linux, Mac...

I have done some investigations and this is unintentional bug. I careated the PR https://github.com/dotnet/runtime/pull/106038 and will try to check if we can import the fix to 8.0 servicing. If we couldn't, then we can document the behavior as described here.
To give some more information, this issue only happen on non-Windows OS's when using Windows time zone ids e.g. Eastern Standard Time.

I have ported the fix for this to 8.0 servicing through the PR https://github.com/dotnet/runtime/pull/106056. I am closing this issue as no more actions are needed here. Please let me know if you have any questions, I can help with answering them. Thanks @jchli for your report here.


Parsing error for dockerfile command on azure-cli image

$ dredge image dockerfile mcr.microsoft.com/azure-cli:2.60.0-cbl-mariner2.0-amd64
Parsing failure: unexpected '"'; expected ] (Line 1, Column 16); recently consumed: "/bin/sh"

This no longer repros.


Client modifications for new logging extension

@GuanLuo I think we have a ticket to study the performance of the two variants and check if it makes sense to keep maintaining the non-async version for triton client.

@GuanLuo / @tanmayv25 Why do we need to drop support for the sync client to prevent duplication? How about having a common GRPC class which receives client_stub as an argument and either awaits the response if it is an awaitable or just work with the response as-is? Then, the async client or sync client will be only an instantiation of this common class.

CC @kthui ^^^

Sorry, just see it.
The regular (sync) client and asyncio client in Python are syntactically two different things, which the asyncio client must be "enclosed" in async syntax, for example:
async def my_async_function():
    return await call_and_wait_on_another_async_function()

To call an async def from a regular def. The regular def must start an asyncio event loop and call the async def using the event loop, for example:
import asyncio
asyncio.run(my_async_function)

Each thread may only have at most one asyncio event loop (doc). Python used to support asyncio.get_event_loop(), which will find the current running loop and create a new one if non is running. Unfortunately, this is marked as deprecate since version 3.10. The closest function is asyncio.get_running_loop(), but it will only get the running loop and will raise an error if no loop is running.
Given this setup, it is better to let the user to manage the asyncio event loop, so the asyncio client is created/designed to support calling only from asyncio def. If the user does not want to use asyncio, we still need to provide a regular client for the user.
Therefore, unless there are some major changes with asyncio interfaces, we might have to support both clients into the future.


hidden entityType filterfacet for bulkExport functionality

Is your feature request related to a problem? Please describe.
The bulk export can only be triggered when the entityType filterfacet is configured on the discovery configuration. As a repository manager i might configure this facet on the default/site configuration, but not on relation boxes which mostly include only one entity type per tab. If the filterfacet is missing the export button will be shown with the available export formats, but in the modal the user will get some warning message. This is annoying for the user, because as an user i would expect that when there is some export button it offers me the possibility to export somethin.
No filters configured for configuration (entries exist)

Publication button is shown:

Modal shows message:

Describe the solution you'd like
We would like some additional configurable property to hide filterfacets to be shown on specific search configurations. The facets are still calculated and delivered through the Rest-API, but simply not shown.
On the backend this could be achieved by some new list of DiscoverySearchFilterFacet hiddenSidebarFacets on the DiscoveryConfiguration itself which contains the beans which are not shown. This information is added and passed through the REST API as some extra  property isHiddenOnSidebar on the SearchFacetEntryRest.
On the frontend this property is mapped in the search-filter-config.model and if the property is set than the filterfacet is hidden in the search-filters.component .
Describe alternatives or workarounds you've considered

check the current available entities for the query together with the list of available export formats.
Hide the export button when there are no entries

Additional context

At least in our current installation of 2023.02.03 it seems to be enough to configure the entity-type filter as a searchFilter only and  not as a sidebarFacet for the export to work. This way the entity-type filter only shows up on the corresponding search page in the dropdown next to the search field. This is still not optimal but much less better than having a redundant filter-facet in the sidebar.
One Exception are the Publications of a person and Publications of an Orgunit Pages. Here the export-Button does not work at all, even when the entity-type filter is added as a visible sidebar facet. This might be a separate bug, though.


ciw and viw doesn't work as expected.

I use these two commands very much, viw to select a single word under cursor or ciw to replace a single word under cursor (delete the word and leave the cursor in place in insert mode to type the new word).
VimStyle is my favorite extension, it even alters the default behavior of u. In default Vim everything from the last mode-change will be undone with u but as in VScode we don't change modes for saving a file, so that default behavior is often dangerous, but this extension changes that behavior in a nice way. Because of this behavior this is my favorite Vim emulator for VSCode, but I miss the above two command too much.

Thank you for using!
ciw and caw is work in progress. https://github.com/74th/vscode-vim/tree/feature/%2368
u calls only VSCode undo function. There are many things to do for u, and it is postponed.

@74th You can also make the u command configurable. Like I suggested to the another vim emulator extension.

For what it's worth, I prefer the finer-grained undo. The ciw and viw commands, for me, are important. (I'm not suggesting, even for a moment, that my priorities should be considered above anyone else's)
Thank you, by the way, for the extension. I find the more popular Vim extension breaks too many native VS Code keybindings and extensions. I find yours quite intuitive in terms of what works as Vim and what works as VS Code.

I forgot to mention a workaround. For those missing ciw, you can use bcw to go to the beginning of the word before changing the word, giving the same effect. Unfortunately, bvw won't do what you want because it will select the white space between the word you're trying to select and the next.


Make Realm collections conform to CollectionType

\c @jpsim @alazier

We could also make List conform to RangeReplaceableCollectionType, if we want to.

Unless there are technical limitations from doing so, it'd be nice to have a RealmCollectionType protocol conforming to CollectionType and add other realm niceties.

Rebased

Nice! :+1: :+1:

I think the ordering of methods in Results is kind of confusing - a bunch of protocol implementation interspersed with other methods. Since we also don't have explicit tests for this might be nice to have these methods in an extension or at the end of the class.

@alazier done

That seems a lot more sensible. :+1:


WIP: Feature/gadgetbridge sleep as android

This PR adds a bootloader which sends HRM and accelerometer data to Gadgetbridge for usage with the Sleep as Android integration. Feedback is greatly appreciated.

Looks good to me - might be worth mentioning in the readme that this app doesn't drive the HRM, so the user might want to adjust the HRM interval in their bangle's settings to the interval they'd like. Although that might be obvious? I can merge once you're happy with this either way though :)
(also - the title has "WIP", I guess it's no longer?)

Hey @bobrippling,
first of all thanks for your fast response :-).
The WIP is right. I haven't written the README yet. I just copied the folder I used for the GATT HRM exposure. I will update the README and ping you once it's ready, okay?
Further, the Gadgetbridge part - although seemingly working- isn't merged yet. I hacked everything together last night. Do you think the approach I chose is the right one? I don't have much experience in embedded development. So I'm not entirely sure whether my approach could be more battery-friendly.
Thanks again!

Hey @bobrippling, first of all thanks for your fast response :-). The WIP is right. I haven't written the README yet. I just copied the folder I used for the GATT HRM exposure. I will update the README and ping you once it's ready, okay?

Sounds good, no rush! I'll mark this as a draft in the meanwhile

Further, the Gadgetbridge part - although seemingly working- isn't merged yet. I hacked everything together last night. Do you think the approach I chose is the right one? I don't have much experience in embedded development. So I'm not entirely sure whether my approach could be more battery-friendly.

Not a problem, it seems @joserebelo knows enough to take care of that side of things :)

Hey @bobrippling and @joserebelo,
I added a feature for starting/stopping the reporting.
For this, I created an event inside the android.boot.js called "sleepasandroid".
The event receives a boolean (enable true/false) and writes the state to the settings file.
After writing, the load() function is called to reload the watch.
I also implemented the event In my Gadgetbridge PR.
Is this a good way to do it?
Thank you!

@AnotherStranger I don't think this should be branded as "Sleep as Android" on the Bangle side. All we need is to be able to toggle real-time accelerometer from Gadgetbridge, which may even be useful for other use-cases.
I'd recommend adding an "accel" request, with a on/off switch, which would report the accelerometer values to Gadgetbridge with a similar "accel" event. We can probably keep the heart rate being reported separate, as I believe that already happens when there is a measurement, and if I recall correctly, we receive the hr values in the "act" events.

@joserebelo Yeah, you're right! I was too focused on the Use Case I tried to implement for myself ;-).
I will refactor this to a more generic branding and will update my Gadgetbridge PR as well.
My proposal is:

Expose all fields we receive from the accel event
Make the interval configurable from Gadgetbridge (I would as first step hardcode it on the side of GB though)
Rename everything to a more generic and suiting name. (Suggestions welcome)

As a side note: I tested the tracking for two nights using Sleeps as Android and it seems to work well.
Are you okay with this?

Hey @joserebelo and @bobrippling,
I think this PR is ready.
@joserebelo The Gadgetbridge Implementation and the Bangle App are ready, right?
Or is there Anything I missed?
I also tested the integration again last night and the measurements seem to work and are reported to Sleep as Android.
Thank you for your patience and guidance!

The changes look good - one small question that's perhaps more for yourself and @joserebelo, would it be beneficial to bundle the accel data into the "act" event, so they go with the HRM values? Or do you prefer a separate event for accel data?

Hey @bobrippling,

I think bundling would make sense. However, Sleep as Android requires one accel event every 10 seconds.
If we wanted to integrate this, we needed to send the act event every 10 seconds once we activated Sleep as Android.

Concerning the accelsender event and load call, I chose this way because I thought it wouldn't be a great idea to put functions into the global namespace. However, I'm not very experienced with Banglejs, so I will rely on your informed decision and happily implement either version.

I think bundling would make sense. However, Sleep as Android requires one accel event every 10 seconds.
If we wanted to integrate this, we needed to send the act event every 10 seconds once we activated Sleep as Android.

That's a fair point, let's keep them separate now in that case

Concerning the accelsender event and load call, I chose this way because I thought it wouldn't be a great idea to put functions into the global namespace. However, I'm not very experienced with Banglejs, so I will rely on your informed decision and happily implement either version.

We could bring this in later if you didn't like the delay of loading again to apply settings, but as-is is ok :)

Kinda late to the party, but this sound that it can also enable other actions on Sleep As Android that couldn't be achieved with my initial PR in mi band.
I did included methods in gadgetbridge for sending alarm actions like snooze and dismiss from watch, plus tracking controls. https://codeberg.org/Freeyourgadget/Gadgetbridge/src/commit/c9326ca4470581a1d0a4ce710c04ffafc0e41164/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/SleepAsAndroidSender.java#L448


Feature request: git-tfs verify ignore whitespace and/or line ending differences.

I would like to use the verify command also if I have chosen to migrate TFS with autocrlf set to true and not getting a message the files differ because of the line endings. (--ignore-casing-differerence exists, but --ignore-line-ending or --ignore-whitespace would be nice too)

I have little time outside of my coding for work, but when I find the time I will have a look, and I (or anyone else) could make a fork for a PR.


Nightly brakes VS installation

Try to update the nightly.
It fails with something like "this addin is already installed into this SKU"
Launch VS
Result

@brettfo @KevinRansom could this be due to recent changes to pull in 15.5/15.6 changes into master?

What's strange is that Ctrl+F5 on master works on 15.4.1

So it's something with the nightly VSIX (which is not the same as OSS VSIX I think).

On it.

Neither @KevinRansom nor I are seeing this failure.  @vasily-kirichenko can you send us your ActivityLog.xml?  If you prefer you can email it directly to me (my email address is on my profile.)
On a related note we did see that project templates are gone, and that's to be expected because we recently re-factored out a VisualFSharpTemplate package that has them.  We're working now on publishing that VSIX to unblock project creation for nightly users.

I have this problem too. Two errors in ActivityLog:

Still unable to load MEF component DLL: Could not load file or assembly 'Microsoft.VisualStudio.CodeSense, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\EXTENSIONS\HOEK2K44.0U3\Microsoft.VisualStudio.ApplicationInsights.dll

and

LegacySitePackage failed for package [FSharpPackage]Source: 'Microsoft.VisualStudio.Composition' Description: Expected 1 export(s) with contract name "Microsoft.VisualStudio.FSharp.Editor.SettingsPersistence+ISettings" but found 0 after applying applicable constraints. Microsoft.VisualStudio.Composition.CompositionFailedException: Expected 1 export(s) with contract name "Microsoft.VisualStudio.FSharp.Editor.SettingsPersistence+ISettings" but found 0 after applying applicable constraints. at Microsoft.VisualStudio.Composition.ExportProvider.GetExports(ImportDefinition importDefinition) at Microsoft.VisualStudio.Composition.ExportProvider.GetExports[T,TMetadataView](String contractName, ImportCardinality cardinality) at Microsoft.VisualStudio.Composition.ExportProvider.GetExport[T,TMetadataView](String contractName) at Microsoft.VisualStudio.Composition.ExportProvider.GetExport[T](String contractName) at Microsoft.VisualStudio.Composition.ExportProvider.GetExportT at Microsoft.VisualStudio.Composition.ExportProvider.GetExportedValueT at Microsoft.VisualStudio.ComponentModelHost.ComponentModel.GetServiceT at Microsoft.VisualStudio.FSharp.Editor.FSharpPackage.Initialize() at Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsPackage.SetSite(IServiceProvider sp)

ActivityLog.xml.zip

Closing this for now, as this may have just been a bad nightly


ActionController issues with an 'undefined method helper_method'

Users/biosci/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.5/lib/action_controller/api.rb:110: warning: already initialized constant ActionController::API::MODULES
/Users/biosci/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.5/lib/action_controller/api.rb:110: warning: previous definition of MODULES was here
ActionController::RoutingError (undefined method `helper_method' for ActionController::API:Class):
app/controllers/application_controller.rb:1:in <top (required)>' app/controllers/api/postings_tables_controller.rb:1:in <top (required)>'
/Users/biosci/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.5/lib/action_controller/api.rb:110: warning: already initialized constant ActionController::API::MODULES
/Users/biosci/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-5.1.5/lib/action_controller/api.rb:110: warning: previous definition of MODULES was here

Duplicate of https://github.com/matiasgagliano/action_access/issues/12


primitive test runner

so, similar to bash, sl-sh might need some cli flags so I can tell it to not run in "non interactive mode" and not search for an rc file etc.. Ideally this would be a sl-sh script but invoking sl-sh in sl-sh was... weird behavior. Just trying to get a dialogue going about this. I'd prefer the script to look like this:
#!/bin/bash

for TEST in `ls tests | grep -Ev "^test.lisp$"`;
do
	echo "${TEST}"
	RET=$(sl-sh tests/${TEST} 2>/dev/null)
	if [[ ${RET} = "0" ]]; then
		echo "Pass"
	else
		echo "Fail"
	fi
done

but in sl-sh... but this doesn't work either, it never gets past the line RET=$(sl-sh tests/${TEST} 2>/dev/null)

I agree that is should either automatically bypass the rc file when executing scripts or it should be an option.  The script you provided seems to need this change:
sl-sh tests/${TEST} 2>/dev/null
RET=$?
to get the actual return code.  If I do that it seems to work.  If that does not do it it for you let me know, you may be doing something in your rc to cause issues.

@sstanfield now it's ready to go... finally


Upgrade kube-state-metrics

Summary
Upgrade kube-state-metrics to the latest version.

Implemented with #96.


Correct handle the value return from mgmt socket read and write (#6220)

[approve ci autest]

What is the problem that we are trying to solve here?

[approve ci].

@vmamidi

Fix a bug was introduced by PR #1014 / TS-4861 (v7.0.0).
Other minor bugs found through code review.