Linear gain (amplifier_gain) is incorrectly extracted from our FCS files

The amplifier_gain FCSData attribute is extracted from the $PnG keyword-value pair from the TEXT segment. It appears that FCS files from our current cytometer setup don't use that keyword-value pair to store the linear gain. Furthermore, it appears that the linear gain is stored in a proprietary keyword-value pair with the keyword CytekP0nG. (or maybe CytekPnnG? I assume a cytometer with more than 9 channels would populate keyword-value pairs with 2 nonzero digits in place of the n).
This means that any FCS files with linear gains other than 1.0 would be incorrectly processed to a.u. by FlowCal.transform.to_rfi() (a use case which admittedly doesn't happen much for me).

Solution merged into branch develop.


Update Apache license to include Graph Protocol copyright specifics

Boilerplate copyright specification was still hidden in the bottom of the Apache license. It has been updated to include the year and copyright owner.

I think we should actually remove the boiler plate altogether from the license (since they are instructions on how to add the license). We already include the copyright year and the license info in our README.md.
May also want to add this block to our REAMDE.md:
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.


activeItems not preserved even if keepScrollPosition = true

Testing #133891

Have the following extension.
Run the extension. F1 > hello world
Notice how the scroll position is not preserved when the new items get added to the quick pick 🐛

import * as vscode from 'vscode';

export function activate(context: vscode.ExtensionContext) {

	let disposable = vscode.commands.registerCommand('sep-ext.helloWorld', async () => {
		const pick = await vscode.window.createQuickPick();
		pick.keepScrollPosition = true;
		const items = [{ label: 'january' }, { label: 'february' }, { label: 'march' }, { label: 'april' }, { label: 'may' }, { label: 'june' }, { label: 'july' }, { label: 'august' }, { label: 'september' }, { label: 'october' }, { label: 'november' }, { label: 'december' }];;
		pick.items = items;
		pick.show();

		let i = 0;
		setInterval(() => {
			items.push({ label: String(i++) })
			pick.items = items;
		}, 500);
	});
	context.subscriptions.push(disposable);
}

export function deactivate() { }

Your code seems to be working for me?

Can you be more specific of what you're doing?

Oh you are correct. The scroll position is preserved.
The problem is that the focused element in the Quick Pick list is not preserved. Sorry about the confusion!
So just use keyboard to put focus on some item -> when new item arrives focus is lost

I updated the title to reflect what you're seeing. Let me know if I've got it wrong. I don't think this is directly related to this feature but I agree that it would be nice to somehow fix this odd behavior.
Theoretically you, when you set .items could also set .activeItems to be the current .activeItems using some arbitrary .id property to do the comparison. I'm not sure how I might do this "by default" for the user just yet.

You got it right.
I would expect that this behaves same as the tree / list when I refresh it and provide new data. Tree will compare old data and new data and if it sees that the same active element is still present it would make sure that it remains focused.


Error in nunit-console.json

There is an error in the scoop/bucket/nunit-console.json
    "url": "https://github.com/nunit/nunit-console/releases/download/v3.10/NUnit.Console-3.10.0.zip",
    "hash": "64f4420a90a3ee12c60a13d7162ac52e32b84b704bfd54b9e9d6d4500313d0ac",
    "bin": "nunit3-console.exe",

The bin binding is to nunit3-console.exe. As from version 3.10, nunit-console has multiple executables in specific directories:

Hopefully this can be fixed!
Thanks in advance!

This release merges the .NET Standard version of the engine back into the nunit.engine NuGet package and adds a .NET Standard 2.0 version of the engine that re-enables most services and extensions. This deprecates the nunit.engine.netstandard NuGet package. Any test runners using the old .NET Standard version of the engine should switch to this release.

Should we link both files or just 2.0 or 3.5?

I think the most recent one?
Op ma 8 apr. 2019 om 18:39 schreef Richard Kuhnt<EMAIL_ADDRESS>
This release merges the .NET Standard version of the engine back into the nunit.engine NuGet package and adds a .NET Standard 2.0 version of the engine that re-enables most services and extensions. This deprecates the nunit.engine.netstandard NuGet package. Any test runners using the old .NET Standard version of the engine should switch to this release.
Should we link both files or just 2.0 or 3.5?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/lukesampson/scoop/issues/3304#issuecomment-480907695,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAlBUoHpKV2-rvdAje6sdkM4HNDqXgC8ks5ve3CmgaJpZM4ceRzA
.


CMR-8895 - remove references to echo token

CMR-8895 requests that all references to ECHO Tokens as this feature is being deprecated across all of CMR and CMR related applications.
Dropping functionality in favor of an Authorization header (which was already supported).
A new script exists to demo and test this change, run demos/scripts/edl_token.py.
Additionally an existing test script was added at demos/scripts/providers.py to demo that feature added some time ago.

Codecov Report

Merging #55 (f4ddb91) into master (3d16402) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

:exclamation: Current head f4ddb91 differs from pull request most recent head 74dc5e1. Consider uploading reports for the commit 74dc5e1 to get more accurate results

@@            Coverage Diff             @@
##           master      #55      +/-   ##
==========================================
- Coverage   99.50%   99.50%   -0.01%
==========================================
  Files           8        8
  Lines         803      801       -2
==========================================
- Hits          799      797       -2
  Misses          4        4

Impacted Files
Coverage Δ

CMR/python/cmr/search/common.py
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Add OpenAI user to CI runs.

This will allow us to track OpenAI usage on Helicone for CI jobs.

Closing in favor of #600


GD-559: add inspector directory collapse toggling

Implements #559
https://github.com/user-attachments/assets/ed68cdd0-5873-4f08-b18f-9507487ccdba
Why
Double clicking on a directory in the inspector does nothing currently, and causes an error.
IMO the expected behavior here should be to toggle collapse on the tree item.
What

Fix 'no meta' error message when double clicking a directory
Make double clicking a directory toggle its collapsed state

Thanks for fixing this bug


ui-grid-move-columns issue -Not able to move columns properly

This issue is also replicable on tutorial pages
http://ui-grid.info/docs/#/tutorial/310_column_moving
when i move columns multiple times the border start getting darker and after sometime not able to move any column.Please advice
Thanks

Wow, that is ridiculous. Definitely a bug; thanks for reporting.

This looks like something new, I will check.

The problem was this "$on" in line 148 in ui-grid-header-cell.js.
            $scope.$on('$destroy', function () {
              $contentsElm.off('mousedown touchstart');
            });

Because of this old click handlers of header cell were not removed and were creating trouble for move column when header was clicked.

The reason is apparently this line of code, this is leading to event handlers being bind multiple number of times:
        var dataChangeDereg = $scope.grid.registerDataChangeCallback( updateHeaderOptions, [uiGridConstants.dataChange.COLUMN]);

@PaulL1 , this line was added as part of commit "Enh(filtering): Fix #2067 allow enabling filtering dynamically". We need to move all event bindings outside "updateHeaderOptions", so that events are not bind repeatedly. Please suggest.

@jpuri: most likely what's happening is that the dataChangeCallback is being called (via notifyDataChange), and it's registering the handlers again without removing the old ones.  The logical thing to do would be to modify the updateHeaderOptions function to remove any existing handlers before registering new ones.

Hi @PaulL1 ,
What is happening is when column is moved first time one event is generated, when second time and third time 4 and number of events keep doubling. Thus move column is broken.
The reason could be when we move column, Grid is also re-rendered so some of the event handlers are just left there. If I comment the line above, its fixed.
We can do either of these:

Bind event only once and move code of event binding outside this function 'updateHeaderOptions'.
Each time function is called bind event only if it was not bind before.

As you mentioned is not possible to remove existing binding.

It should be possible to remove the existing binding - you call $off and pass in the same function that we used in $on.  That means that the function needs to be declared on the $scope so that we can always get the same instance.
Alternatively, as you say we could look at why we were adding and removing the handlers in the first place, and change it.  So instead of removing the handler, we could put an if condition in the handler and exit.  I chose not to because I figured the fewer handlers the fewer things to evaluate (and because it initially was built that way so I kept it), but you're right that we could just change that.

Hi @PaulL1 ,
I agree with you and we can probably move the event attaching part outside the function. Let me start with code changes for it, once I am done I will send it over for review to you.

@jpuri: I'm probably going to look at the touch events today, which will mean I'm in this code (probably rewriting it).  I can clean up the event handlers whilst I'm at it.

I think I have resolved this as part of #3142, which also addresses touch events and correctly deregistering the event handlers.  Could you review/test?

Hey @PaulL1 ,
I will test this for column.
Regards,
Jyoti

Hey @PaulL1 ,
The changes look good.

Excellent, I'll just wait for someone with a windows laptop that has both touch and mouse to verify the changes, and I can merge and close all the issues.


MyXQL with Ecto: Error in MyXQL.Messages.decode_com_stmt_prepare_response when performing a SELECT

Description
I've decided to check how MyXQL+Ecto work with my staging DB. Error below appears each time I'm trying to select, via Repo.get, from any table. There are no errors when using Ecto.Adapters.MySQL (while still using wojtekmach/ecto_sql).
How to reproduce

Use MyXQL with Ecto SQL:

in mix.exs set:{:myxql, "~> 0.1"},
{:mariaex, ">= 0.0.0"},
{:ecto_sql, github: "wojtekmach/ecto_sql", branch: "wm-myxql", override: true}

set adapter:
adapter: Ecto.Adapters.MyXQL

Create a simple table and schema
sql
CREATE TABLE `dummy` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(100) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;

defmodule Importer.Identity.Dummy do
  use Ecto.Schema

  schema "dummy" do
    field :name, :string
  end
end

... and add some records

Run:
 Importer.Identity.Dummy |> Importer.Repo.get(1)
-> Error Appears

Switch adapter:
adapter: Ecto.Adapters.MySQL

Run:
 Importer.Identity.Dummy |> Importer.Repo.get(1)
-> No error - you get results back

Example error
iex> Importer.Identity.User |> Importer.Repo.get(34)

a) With Ecto.Adapters.MyXQL
  [debug] QUERY ERROR source="phpbb_users" db=112.7ms queue=44.9ms
  SELECT p0.`user_id`, p0.`username` FROM `phpbb_users` AS p0 WHERE (p0.`user_id` = ?) [34]

** (MatchError) no match of right hand side value: <<60, 0, 0, 5, 3, 100, 101, 102, 9, 110, 119, 100, 95, 115, 109, 111, 107, 105, 2, 112, 48, 11, 112, 104, 112, 98, 98, 95, 117, 115, 101, 114, 115, 8, 117, 115, 101, 114, 110, 97, 109, 101, 8, 117, 115, 101, 114, 110, 97, 109, ...>>
    (myxql) lib/myxql/messages.ex:380: MyXQL.Messages.decode_com_stmt_prepare_response/3
    (myxql) lib/myxql/protocol.ex:329: MyXQL.Protocol.recv_packets/4
    (myxql) lib/myxql/protocol.ex:682: MyXQL.Protocol.prepare/2
    (myxql) lib/myxql/protocol.ex:89: MyXQL.Protocol.handle_prepare/3
    (db_connection) lib/db_connection/holder.ex:270: DBConnection.Holder.holder_apply/4
    (db_connection) lib/db_connection.ex:1180: DBConnection.prepare/4
    (db_connection) lib/db_connection.ex:1173: DBConnection.run_prepare/4
    (db_connection) lib/db_connection.ex:1185: DBConnection.run_prepare_execute/5
    (db_connection) lib/db_connection.ex:1282: DBConnection.run/6
    (db_connection) lib/db_connection.ex:504: DBConnection.parsed_prepare_execute/5
    (db_connection) lib/db_connection.ex:497: DBConnection.prepare_execute/4
    (ecto_sql) lib/ecto/adapters/sql.ex:546: Ecto.Adapters.SQL.execute!/4
    (ecto_sql) lib/ecto/adapters/sql.ex:538: Ecto.Adapters.SQL.execute/5
    (ecto) lib/ecto/repo/queryable.ex:147: Ecto.Repo.Queryable.execute/4
    (ecto) lib/ecto/repo/queryable.ex:18: Ecto.Repo.Queryable.all/3
    (ecto) lib/ecto/repo/queryable.ex:66: Ecto.Repo.Queryable.one/3

Displaying the list with IO.puts gives me
IO.puts([60, 0, 0, 5, 3, 100, 101, 102, 9, 110, ...)
<^@^@^E^Cdef    nwd_smoki^Bp0^Kphpbb_users^Husername^Husernam

where nwd_smoki is the DB(and DB User) name and phpbb_users is the table name.
b) With Ecto.Adapters.MySQL
[debug] QUERY OK source="phpbb_users" db=51.5ms decode=16.6ms queue=44.2ms
SELECT p0.`user_id`, p0.`username` FROM `phpbb_users` AS p0 WHERE (p0.`user_id` = ?) [34]

%Importer.Identity.User{
  __meta__: #Ecto.Schema.Metadata<:loaded, "phpbb_users">,
  user_id: 34,
  username: "test"
}

My DB, Table and Schema

Error appears even with a very simple table/schema:

The only unusual thing about my DB is the encoding (but error appears also when working with UTF-8 tables like the one above):

Thanks for the report. There were a few fixes since first release, could you try it on MyXQL master just in case this was already handled?

Just cleaned the deps and added the MyXQL master.
cat mix.lock | grep xql

"ecto_sql": {:git, "https://github.com/wojtekmach/ecto_sql.git","9a606732a30ae0ee29f5967d453f61a7b1afbdeb", [branch: "wm-myxql"]},
"myxql": {:git, "https://github.com/elixir-ecto/myxql.git", "a1351549d460b8994d60f700cc54b8bef7ceeadc", [branch: "master"]},

Unfortunately I'm still getting the same error.

I've spoken with @archdragon and he's running MySQL 5.6.40 on Amazon RDS. Fortunately RDS supports other versions, but 5.6 is the default I believe. MySQL 5.6 does not support CLIENT_DEPRECATE_EOF capability flag which we're assuming (MySQL 5.7.10+ always sets that flag, and that's the minimal version we're targeting). I'll improve our handshake code to raise a decent error message when the server does not send that flag.


Migrate from Laravel Mix to Vite

This pull request includes changes for migrating from Laravel Mix to Vite outlined in Migration Guide and automated by the Vite Converter.
Before merging, you need to:

Checkout the shift-70028 branch
Run composer update
Run npm install
Review all comments for additional changes
Thoroughly test your application (no tests?, no CI?)

Please send your feedback to<EMAIL_ADDRESS>or share the good vibes on Twitter.

:x: Shift did not remove some of the previous npm scripts running mix commands as they appeared to be customized. You should review the scripts configured in your package.json file and update any custom commands to use vite.

:information_source: Previously, Laravel configured several npm scripts for building assets. For Vite, Laravel configures a dev script for generating and watching your assets (for development) and build script for generating your assets (for production).
Shift automated this change by replacing commands using these scripts with their new Vite script. However, you may still be referencing these scripts in your code or in deployment scripts.

:information_source: Laravel renamed the environment variables used by Mix to use a VITE_ prefix, instead of MIX_. While Shift automated this change throughout your code, you should check for any additional references which may not be included in your Git repository.

:warning: Vite generates frontend assets to the public/build folder. This folder is not tracked by Git within a default Laravel project. As such, Shift added this folder to your .gitignore file.
If you wish to track the generated frontend assets within your project, such as for ease of deployment, you may undo this commit by running git revert 92af209b.

:information_source: Vite requires JavaScript files containing JSX to have a .jsx file extension. Shift did not detect any JSX in files with a .js extension under the resources folder. However, if you are using JSX, be sure the files have a .jsx extension.

:alembic: This Shift is still being refined. Please report any issues or suggestions to<EMAIL_ADDRESS>Your feedback is what helps improve the experience for everyone.


v5 Sequencer doesn't handle tempo changes smoothly.

Bug
I have been playing around with all the sequencers in AudioKit and one of the issues I found is that the Shaker Metronome which uses the AudioKit sequencer (not AppleSequencer) doesn't handle tempo changes gracefully. As the temp changes the hits will start happening close together and there will be big pauses sometimes. Some trippy random stuff can happen which is kinda cool but I think it should behave more naturally, like the AppleSequencer does.
Reproducing
You can reproduce this in the Cookbook by going to the Shaker Metronome and hitting start and then changing the tempo while it plays. The tempo doesn't smoothly ramp up between the changes.
Details (please complete the following information):

Type: iPhone 12 mini
OS: iOS 14.4
AudioKit Version: v5-main

I can check myself, but I'm sorta wondering the v4 sequencer also has this issue.

I'm working on profiling the timing of the v5 seq, I may be able to adapt the profiling code to 4v and then compare

I am using the v4 sequencer and I'm not having the same issue with tempo changes. As I set a new tempo sequencer.tempo = BPM(newBPM) it adjusts smoothly. There isn't any weird behavior like what I'm seeing in the Cookbook.
Both the v5 and v4 code changes the tempo by changing the tempo on the individual tracks. However, from what I can tell, the code to change tempo for tracks is quite different. In v4 it just sets the tempo on the internalAU vs v5 which calls the updateSequence function which looks much more involved, updating all the events and notes. I apologize for my naivety because I didn't dig further down so maybe the code is doing the same things.

there are definitely differences in the way that sequencer works between versions. I am currently working on sequencer bugs, so your debugging info is helpful.
if possible, try to create a programmatic test for the behavior you are experiencing.

On the topic of the sequencer, I've been trying to use Synth instead of Shaker in the cookbook example, but no Synth notes are triggering. Only STK nodes seem to produce any sound. Is this a current bug or am I missing something needed for other nodes such as Synth to work?

@Oli-C I'd prefer if we didn't add tangential issues onto current ones. What you mention is something else entirely.

@aure Apologies, was unsure if a bug or whether additional code is needed for non-STK nodes. Would you like me to log the issue?

Yes, do a new issue about your topic.


⚠ ClamAV has degraded performance

In 266aaa9, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 72 ms

Resolved: ClamAV performance has improved in 5173e9f.


MF-742 - Things to support single user scenario

What does this do?
Adds single user mode to things service.
Which issue(s) does this PR fix/relate to?
Resolves #742.
List any changes that modify/break current functionality
There are two new env vars for single user mode.
Have you included tests for your changes?
No.
Did you document any new/modified functionality?
I've updated existing README.md file.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #749   +/-   ##
=======================================
  Coverage   85.33%   85.33%
=======================================
  Files          66       66
  Lines        4228     4228
=======================================
  Hits         3608     3608
  Misses        416      416
  Partials      204      204

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 0dc4d12...271b774. Read the comment docs.


Private docker registry credentials

Hi,
In my testing environment I'm currently using a private docker registry set up on my machine. Then I have a kubernetes master/minion on a vm in my cluster. Kubelet cannot pull from my private registry since authentication is required. I've tried to login with docker login and copying the .dockercfg  in both /root and /var/lib/kubelet directories. I restarted all the kubernetes components but it still seems that kubelet cannot find the credentials (I checked the kubelet logs). I set up the kubernetes master following the docker-multinode getting started guide.
How can I solve the issue? Are then any workaround or hack that I can use?Or am I forced to remove the authentication from my private registry?
thanks!

I think you are looking for what will result from  https://github.com/GoogleCloudPlatform/kubernetes/issues/499 We are also looking forward to a solution to this.
In the meantime, the presented work-around seems to be pulling manually on each node.

try copying the dockercfg to /.dockercfg.
On Fri, May 8, 2015 at 7:30 AM, Tim H<EMAIL_ADDRESS>wrote:

I think you are looking for what will result from #499
https://github.com/GoogleCloudPlatform/kubernetes/issues/499 We are
also looking forward to a solution to this.
In the meantime, the presented work-around seems to be pulling manually on
each node.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/7954#issuecomment-100247782
.

I tried to copy .dockercfg in the root directoy but the kubelet still does not use any credential when pulling images.
I looked at the logs of the kubelet and it seems that it uses as root directory /var/lib/kubelet so I guess it would look there for a possible .dockercfg file.

The .dockercfg should be placed in $HOME/.dockercfg not in the root.

this is the case when you use sudo docker from command-line, kubelet looks in the kubelet home which may vary as said [here] (https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/images.md).

Totally useless without private image support from a business perspective... Really need documentation too, because it's also relatively useless with the feature if it's not documented well.

Copying to /.dockercfg worked before.
Now tried also /root, /home/coreos, /var/lib/kubelet, /var/lib/docker
Stopped working after I re-built my environment today with newest versions of everything.
Running manually works:
docker pull ...
sudo docker pull ...
kubelet's home directory seems to be /
sudo ls -ld /proc/909/cwd
lrwxrwxrwx 1 root root 0 May 19 14:20 /proc/909/cwd -> /

For people who still have a problem with this, try adding https:// to your .dockercfg. I found this to work for me:
	"hub.example.com:1024": {
		"auth": "asdf=",
		"email"<EMAIL_ADDRESS>	},
	"https://hub.example.com:1024": {
		"auth": "asdf=",
		"email"<EMAIL_ADDRESS>	}
}```
Without the https block, I was logged in from console (core user), but kubelet would throw auth errors (even when the `.dockercfg` file in its working directory, `/root/`, exists and is readable).

I noticed "docker login" wraps this "auths" json tag around the output in /root/.docker/config.json
When I copied it into  /.dockercfg  I had to remove it:
Did not work:
{
"auths": {
"hub.example.com:1024": {
"auth": "asdf=",
"email"<EMAIL_ADDRESS>}
}
Worked:
{
"hub.example.com:1024": {
"auth": "asdf=",
"email"<EMAIL_ADDRESS>}

On rhel 7, check the kubelet home directory in the kublet.service unit file and place the dockercfg in there, then restart kubelet. You need to remove the auths line and add https:// too.

Note that the current kubectl version (v1.4.6) does not support v2 API,

https://github.com/kubernetes/kubernetes/blob/60a34fda0a5a22c715d33f851f761614069f93a1/pkg/kubectl/cmd/util/factory_client_access.go#L455

Therefore, this will not work:
kubectl create secret docker-registry dockerio --docker-server=http://<IP_ADDRESS>:5000/v2/ --docker-username=gajus --docker-password=gajus<EMAIL_ADDRESS>
You need to explicitly specify that you are using v1, i.e.
kubectl create secret docker-registry dockerio --docker-server=http://<IP_ADDRESS>:5000/v1/ --docker-username=gajus --docker-password=gajus<EMAIL_ADDRESS>
Sadly, the event log does not include any information to detect this:
2016-12-29 19:12:02 +0200 EET   2016-12-29 19:01:04 +0200 EET   7         gajus-com-1623401367-hdwvp   Pod          spec.initContainers{create-workdir-volume}   Normal    Pulling             {kubelet minikube}         pulling image "gajus/gajus.com:v1.0.0"
2016-12-29 19:12:05 +0200 EET   2016-12-29 19:01:06 +0200 EET   7         gajus-com-1623401367-hdwvp   Pod                                                       Warning   FailedSync          {kubelet minikube}         Error syncing pod, skipping: failed to "StartContainer" for "create-workdir-volume" with ErrImagePull: "Error: image gajus/gajus.com not found"

Ignore my comment. Something else is off.

This works with me

docker login on each node
generate secret kubectl create secret docker-registry <secret-name> --docker-server=<your-registry-server> --docker-username=<your-name> --docker-password=<your-pword> --docker-email=<your-email>

OR
you can docker login on a single node, run kubectl create secret and send /root/.docker/config.json all minion
https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
https://kubernetes.io/docs/concepts/containers/images/#using-a-private-registry


IMWebContext

Hi There 👋

Hi @IngridMi, thank you so much for making this PR and encouraging me to keep working on this — it was a lot of fun.
You may like to read https://github.com/whatwg/html/pull/5572 if you're interested in progress here; it looks like import maps may finally ship.
I am not very familiar w/ Deno, but I guess we could write the tests using the Deno test runner for part of #2 if you'd like.


custom hover for bokeh

Is there a way to do something similar to what is described here:
http://bokeh.pydata.org/en/latest/docs/user_guide/tools.html#hovertool
This documentation describes how you can use the @ symbol to reference columns in a bokeh ColumnDataSource object. Is there something similar to reference columns in a dataframe that is being supplied to a holoviews Element object?

You can create a custom HoverTool instance, which will let you specify custom tooltips and supply that as a tool:
from bokeh.models import HoverTool
hover = HoverTool(
        tooltips=[
            ("index", "$index"),
            ("(x,y)", "(x=$x{0[.]00000}, y=$y{0[.]00000})"),
        ]
    )

points = hv.Points(np.random.rand(100,2)).opts(plot=dict(tools=[hover]))

Yes but about when you want to add custom information to the tooltip like below?
df = DataFrame({'x': [1, 2, 3, 4, 5], 'y': [2, 5, 8, 2, 7], 'desc': ['A', 'b', 'C', 'd', 'E'],})

hover = HoverTool(tooltips=[
    ("index", "$index"),
    ("(x,y)", "($x, $y)"),
    ("desc", "@desc"),
])

points = hv.Points(df).opts(plot=dict(tools=[hover]))

In the bokeh documentation is says -  "Field names that begin with @ are associated with columns in a ColumnDataSource. For instance the field name "@price" will display values from the "price" column whenever a hover is triggered. If the hover is for the 17th glyph, then the hover tooltip will correspondingly display the 17th price value." I'm wondering if there is someway to achieve the same functionality in holoviews.

Maybe I'm still not quite clear on what you want to do, any dimensions that you declare on your hv.Points will become part of the ColumnDataSource, so your example above works as is.

I think what I was missing was the need to specify the dims like below.
df = DataFrame({'x': [1, 2, 3, 4, 5], 'y': [2, 5, 8, 2, 7], 'desc': ['A', 'b', 'C', 'd', 'E']})

hover = HoverTool(tooltips=[
    ("index", "$index"),
    ("(x,y)", "($x, $y)"),
    ("desc", "@desc"),
])

points = hv.Points(df, kdims=['x', 'y'], vdims=['desc']).opts(plot=dict(tools=[hover]))

I have a similar problem with a choropleth map. I have a dataframe as follows:

indx
N_Barri
value
log_value
path

0
Baró de Viver
0.000449
-7.707512
gent_charts/58_ Baró de Viver_evolucio_poblacio.png

1
Can Baró
1.383090
0.324320
gent_charts/34_ Can Baró_evolucio_poblacio.png

and I build the map using geoviews.

shapefile = "datasets/divisiones_administrativas/barris/shape/barris_geo.shp"
shapes = cartopy.io.shapereader.Reader(shapefile)
density_hv = hv.Dataset(density)
density_hv.data.dropna(inplace=True)

%%opts Overlay [width=800 height=800 xaxis=None yaxis=None]

hover = HoverTool(tooltips=[
    ("index", "$index"),
    ("(x,y)", "($x, $y)"),
    ("Value", "@log_value"),
])

#%%output filename="holoviews"
gv.Shape.from_records(shapes.records(), density_hv, on='N_Barri', value='value',
                      index='N_Barri', crs=ccrs.PlateCarree(), group="Densitat Airbnb Barcelona per nombre d'hogars",
                      drop_missing=False)
%%opts Shape (cmap='Reds') [tools=['hover'] width=800 height=800 colorbar=True toolbar='above' xaxis=None yaxis=None]

This  way the map shows but the hover tool shows '???' whre log_value should be.

@BielStela Try supplying log_value as an additional index (i.e. index=['N_Barri', 'log_value']). This is a bit of a hack and will no longer be required once https://github.com/ioam/holoviews/pull/1514 is merged and fully integrated.

Cool! now it shows log_value if I use tools=['hover']. But If I declare a custom hover tool
myhover = HoverTool(tooltips = """

                @log_value

                """

and then I use it with tools = [myhover]  it shows the HTML structure but keeps showing '???' in log_value and doesn't show the image. So I'll wait until the merge and try it again.
Thanks for the answer!

Although this issue is older I'll close it as a duplicate of https://github.com/ioam/holoviews/issues/1600 since that has more recent discussion.


DCOS-14976: JSONEditor - Add searchbar

Checklist

[x] Did you add a JIRA issue in a commit message or as part of the branch name?
[ ] Did you add new unit tests?
[ ] Did you add new integration tests?
[ ] If this is a regression, did you write a test to catch this in the future?

Add the Ace editor searchbox to the JSON Editor. So if you press CMD + F on a mac the searchbar of the ace editor is going to open and you will be able to search in the Editor.
Closes DCOS-14976

Works as expected! We probably want to adjust the styles of the search dialog (cc @leemunroe) but this is a good first step.

@jfurrow @Poltergeist Nice! Yeh this looks a bit too un-dc/os. Do we have full control over the styles/CSS?

@leemunroe Sorry for the delay, I lost track of your comment. Yes, we have full control over the CSS for this.


[Fix] brand logo link not redirecting to /

fixed Clicking on the rocket. chat brand logo does not redirect to the homepage
Issue: #211
Before
https://user-images.githubusercontent.com/67755128/210505807-dc9bc0a7-f474-47ad-8aea-eb26392a5a1f.mp4
Now
https://user-images.githubusercontent.com/67755128/210504206-942b4dbe-da9b-436d-b018-412fe49c428b.mp4

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Hey @VenomFate-619
Thanks for the PR. The changes look good. However, sorry, but we can't merge it yet; you see, the changes are short, and it would be good if you could take on another issue and push the changes within this PR only, that will make it big.
Thank you!

I found some more minor fixes like

The rocket chat logo in the footer not directing to rocket chat the main website
rocket chat in the menu bar of the mobile layout is doing a whole reload to get on the homepage instead it should be a client-side routing
demo:-

https://user-images.githubusercontent.com/67755128/210494358-21d5abed-27d6-4b3e-8526-3a0f01409661.mp4
Should I also fix this and push this it in same PR

Hey @VenomFate-619 Thanks for the PR. The changes look good. However, sorry, but we can't merge it yet; you see, the changes are short, and it would be good if you could take on another issue and push the changes within this PR only, that will make it big.
Thank you!

ok I will look for other issues


module 'urllib' has no attribute 'request'

If you try a fresh environment and the basic example, you will get this error:
AttributeError: module 'urllib' has no attribute 'request'

and the error is located at hsemotion_onnx/facial_emotions.py", line 23, in get_model_path

I have just added a pull request that works with python 3.10+

Great thanks, I merged your pool request. Moreover, I fixed the same issue for hsemotion repository

Great!


method : about(topic)

about is a function taking topic as single parameter
it returns a function with name assertion


Camera Alignment issues❓

Question
I took the photo from the react vision camera but the photo is rotated 90 degrees irrespective if it is portrait or landscape
How do we exactly align the images on our app?
What I tried
camera.takePhoto(); method to take the photo
VisionCamera Version
3.4.0
Additional information

[ ] I am using Expo
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar questions in the issues page as well as in the discussions page and found none.

Take a look at this:
https://github.com/mrousavy/react-native-vision-camera/issues/1891
If you need it, think about funding it.

Exactly what @zzz08900 said.


fix: properly handle supertypes

Did you test this with the query formatter and linter?

nope, not sure how

This inflates state count quite a bit, though...

nope, not sure how

Manually build the parser, put it in .local/share/nvim/site/parser, then open the Haskell query with Neovim.

Seems to work as well. I do worry about state count, though.

Also, this will break queries, which expect name: (identifier).

Seems to work as well. I do worry about state count, though. Maybe try moving the seq into a separate hidden rule?

This increases it by 30

Also, this will break queries, which expect name: (identifier)?

No, unless it's anchored, since the name field is present in both places

This should not break the formatter, at least from what I can see. Running format-queries runtime/queries in the haskell PR results in 0diff with the result of latest nvim-treesitter

@amaanq Do we want to add queries for this?


CALC Alarms

It would be useful to have a new type of alarm that leveraged a CALC record like expression to alarm conditionally, with support to combine multiple topics containing EPICS updates using boolean logic and numeric arithmetic.

If our goal on the first day, is to include all of the existing alarms, implementation is a MUST

Epics alarm enunciation dependent on external condition
ODH heads should not enunciate if disabled
Corrector mismatch should not enunciate if trim rack power in alarm


arcanist with PHP in GitBash tab shows extra characters but not other tabs

Laptop Manufacture: ASUS
Laptop Model: K501UW
CPU Arch: x64
RAM: 16 GB
Disk: SSD 500 GB (Primary Drive for OS and Apps)
OS: Windows
OS Version: Microsoft Windows 10.0.18362
Windows Terminal Info: Windows Terminal (Preview)
Windows Terminal Version: Version: 0.7.3451.0

The profile for the tabs I'm including in this bug report are:

GitBash for WIndows
PowerShell Core

In both of these terminals, as shown in the screen shots I've used an app that is part of my path namely arcanist
As you can see, in the GitBash tab when I've run the command to "arc diff" the results include extra characters such as <-[44m or <-[1m
I've looked into the code of the arcanist CLI and it's using a version of PHP that runs on windows.
In futher testing, the GitBash for Windows running OUTSIDE of the windows terminal does NOT show these extra characters.
Not all lines from the arc commands include these lines. I've modified the source locally and it seems to be related to how PHP is interacting with the terminal output by attempting to create specific text to indicate how the text should be formatted in columns or with types of text.
The same command in the PS Core tab does NOT show these extra characters.
Any assistance with this would be greatly appreciated.

removed any sensitive info

removed any sensitive info

←[ is a telltale sign that the application in question is trying to use VT Escape Sequences to format the text - in this case, colorize the text. My guess is that the application in question isn't setting ENABLE_VIRTUAL_TERMINAL_PROCESSING to enable support for VT.
Curious that it's "working" in PS Core but not mingw - is the arc that's being run in both mingw and PS core the same?
Maybe something in the arc stack is trying to use the terminfo to format the text appropriately. In gitbash, the TERM env var would be set, but probably not in PS Core. Though, I bet mingw isn't blanket enabling VT processing for all child processes

Thanks for following up.
The arc command is in fact the "same" arc in both mingw and PS Core. I have arcanist installed on my machine which basically means I have the directory that houses the arcanist application on my path so from any command window I'm able to issue arc commands.
If I can make any adjustments to mingw to attempt to address I'm happy to give it a shot.

This does look like an msys/mingw/cygwin runtime issue in that it's not turning on ENABLE_VIRTUAL_TERMINAL_PROCESSING. The escape codes aren't even being printed in the PSCore example because, as @zadjii-msft says, msys is setting TERM where PSCore is not.

Resolving this one as (unfortunately) external.


Upgrade to .Net 8

Bump minor version when done.

Implemented https://github.com/Pure-the-Language/Pure/pull/33


MaxProtocol in conf file overwritten by application

With openssl 1.1.1l, I need to force max TLS version to 1.2, so I have below in conf file and expected TLS version should be capped at version 1.2.
'''
[ssl_sect]
system_default = ssl_default_sect
[ssl_default_sect]
MaxProtocol = TLSv1.2
'''
But on application side, if SSL_CTX_set_max_proto_version(ctx, TLSv1.3), or SSL_CTX_set_max_proto_version(cts, 0) is called, TLS version 1.3 is used.
Shouldn't SSL_CTX_ctrl() check the default config and apply the default limit if what application requests is above the default value?
We need default config to take effect since there is a big number of applications that need TLS and changing config for all of them is  not efficient.
Thanks,
yusshi

No, the configuration file just sets the default. Applications can still override it with an API call. This is by design and not something we would change.
In other words the values in the configuration are not a "hard policy limit".


It would be great to have the ability to customize the panel, like the Obsidian Editing Toolbar.

v0.2.2


[SPARK-33687][SQL] Support analyze all tables in a specific database

What changes were proposed in this pull request?
This pr add support analyze all tables in a specific database:
 ANALYZE TABLES ((FROM | IN) multipartIdentifier)? COMPUTE STATISTICS (identifier)?

Why are the changes needed?

Make it easy to analyze all tables in a specific database.
PostgreSQL has a similar implementation: https://www.postgresql.org/docs/12/sql-analyze.html.

Does this PR introduce any user-facing change?
No.
How was this patch tested?
Unit test.

Test build #132370 has started for PR 30648 at commit 78b9ffc.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/36970/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/36970/

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

Test build #132370 has finished for PR 30648 at commit 78b9ffc.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class AnalyzeTables(
case class AnalyzeTablesCommand(

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

Thank you for making this contribution, @wangyum .

Also, we need a SQL doc page for this new feature.

Test build #132467 has started for PR 30648 at commit 198babc.

Looks a nice feature. Btw, (just a question) Any system you referred to for defining this syntax?

PostgreSQL syntax is:
ANALYZE [ ( option [, ...] ) ] [ table_and_columns [, ...] ]
ANALYZE [ VERBOSE ] [ table_and_columns [, ...] ]

where option can be one of:

    VERBOSE [ boolean ]
    SKIP_LOCKED [ boolean ]

and table_and_columns is:

    table_name [ ( column_name [, ...] ) ]

This syntax ( ANALYZE TABLES ((FROM | IN) multipartIdentifier)? COMPUTE STATISTICS (identifier)?) is from
https://github.com/apache/spark/blob/1a163972331ad4d173e193b48096edf85f5f7759/sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4#L135-L136
and
https://github.com/apache/spark/blob/1a163972331ad4d173e193b48096edf85f5f7759/sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4#L200-L201

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37069/

Test build #132473 has started for PR 30648 at commit 1a16397.

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37069/

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

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37075/

Test build #132477 has started for PR 30648 at commit aafa658.

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37075/

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

Test build #132467 has finished for PR 30648 at commit 198babc.

This patch fails Spark unit tests.
This patch does not merge cleanly.
This patch adds no public classes.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37079/

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

Looks fine to me

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37079/

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

Test build #132477 has finished for PR 30648 at commit aafa658.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

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

Test build #132473 has finished for PR 30648 at commit 1a16397.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

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

@wangyum Could you resolve the conflict? This feature looks useful, so I wanna finish and merge it.

Test build #135428 has started for PR 30648 at commit a75a30d.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40008/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40008/

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

Test build #135428 has finished for PR 30648 at commit a75a30d.

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

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

Test build #135449 has started for PR 30648 at commit 81efb9d.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40029/

I am okay with this. cc @peter-toth too if you're interested in this.

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40029/

Test build #135449 has finished for PR 30648 at commit 81efb9d.

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

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

If no one have more comments, I'll merge this in a few days.

Thanks! Merged to master.

Thank you, @wangyum and all!


flyway.target=current will ignore all pending and future migrations when validating

Thanks for the pull request! Looks good.
Could you also post a PR against the flyway-3.2 branch of flywaydb.org with an updated description for flyway.target at all relevant places?
Cheers
Axel

Could you also extend the test to prove it works as expected for migrate too (no-op)?

No problem - updated this PR and added PR #36 in flywaydb.org

Merged. There turned out to be quite a few more places where the docs needed updating. I also slightly reworded the description.
Cheers,
Axel


[VTA] CMAKE fix

Should eliminate runtime bug, see: https://discuss.tvm.ai/t/vta-build-and-execution-error-with-new-3rdparty-vta-hw/6341/6

Traceback (most recent call last):   File "/usr/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap     self.run()   File "/usr/lib/python3.6/multiprocessing/process.py", line 93, in run     self._target(*self._args, **self._kwargs)   File "/home/root/tvm/python/tvm/rpc/server.py", line 118, in _serve_loop     _ffi_api.ServerLoop(sockfd)   File "/home/root/tvm/python/tvm/_ffi/_ctypes/packed_func.py", line 237, in __call__     raise get_last_ffi_error() AttributeError: Traceback (most recent call last):   [bt] (4) /root/tvm/build/libtvm_runtime.so(TVMFuncCall+0x37) [0xb37b44f4]   [bt] (3) /root/tvm/build/libtvm_runtime.so(+0x8c1f8) [0xb38111f8]   [bt] (2) /root/tvm/build/libtvm_runtime.so(tvm::runtime::RPCServerLoop(int)+0x6b) [0xb3810aa0]   [bt] (1) /root/tvm/build/libtvm_runtime.so(tvm::runtime::RPCEndpoint::ServerLoop()+0x13f) [0xb37fe4f0]   [bt] (0) /root/tvm/build/libtvm_runtime.so(+0x2d340) [0xb37b2340]   File "/home/root/tvm/python/tvm/_ffi/_ctypes/packed_func.py", line 81, in cfun     rv = local_pyfunc(*pyargs)   File "/home/root/tvm/vta/python/vta/exec/rpc_server.py", line 84, in server_shutdown     runtime_dll[0].VTARuntimeShutdown()   File "/usr/lib/python3.6/ctypes/__init__.py", line 361, in __getattr__     func = self.__getitem__(name)   File "/usr/lib/python3.6/ctypes/__init__.py", line 366, in __getitem__     func = self._FuncPtr((name_or_ordinal, self)) AttributeError: /home/root/tvm/vta/python/vta/../../../build/libvta.so: undefined symbol: VTARuntimeShutdown
I am facing error even now while running VTA on DE10 Nano

Hello,
I am still face with this error while running th is tutorial on Pynq-z1: https://tvm.apache.org/docs/vta/install.html
AttributeError: /home/xilinx/tvm/vta/python/vta/../../../build/libvta.so: undefined symbol: VTARuntimeShutdown.
I am using the latest version of TVM as well as PYNQ, I have also gone through all the commits including https://discuss.tvm.ai/t/vta-build-and-execution-error-with-new-3rdparty-vta-hw/6341/6.
It appears all the commits has already been implemented on the recent version of cloned TVM, however, I am still faced with, Ive tried this severally and yet no success,... can anyone help??


[SPARK-29913][SQL] Improve Exception in postgreCastToBoolean

What changes were proposed in this pull request?
Exception improvement.

Why are the changes needed?
After selecting pgSQL dialect, queries which are failing because of wrong syntax will give long exception stack trace. For example,
explain select cast ("abc" as boolean);
Current output:

ERROR SparkSQLDriver: Failed in [explain select cast ("abc" as boolean)]
java.lang.IllegalArgumentException: invalid input syntax for type boolean: abc
at org.apache.spark.sql.catalyst.expressions.postgreSQL.PostgreCastToBoolean.$anonfun$castToBoolean$2(PostgreCastToBoolean.scala:51)
at org.apache.spark.sql.catalyst.expressions.CastBase.buildCast(Cast.scala:277)
at org.apache.spark.sql.catalyst.expressions.postgreSQL.PostgreCastToBoolean.$anonfun$castToBoolean$1(PostgreCastToBoolean.scala:44)
at org.apache.spark.sql.catalyst.expressions.CastBase.nullSafeEval(Cast.scala:773)
at org.apache.spark.sql.catalyst.expressions.UnaryExpression.eval(Expression.scala:460)
at org.apache.spark.sql.catalyst.optimizer.ConstantFolding$$anonfun$apply$1$$anonfun$applyOrElse$1.applyOrElse(expressions.scala:52)
at org.apache.spark.sql.catalyst.optimizer.ConstantFolding$$anonfun$apply$1$$anonfun$applyOrElse$1.applyOrElse(expressions.scala:45)
at org.apache.spark.sql.catalyst.trees.TreeNode.$anonfun$transformDown$1(TreeNode.scala:286)
at org.apache.spark.sql.catalyst.trees.CurrentOrigin$.withOrigin(TreeNode.scala:72)
at org.apache.spark.sql.catalyst.trees.TreeNode.transformDown(TreeNode.scala:286)
at org.apache.spark.sql.catalyst.trees.TreeNode.$anonfun$transformDown$3(TreeNode.scala:291)
at org.apache.spark.sql.catalyst.trees.TreeNode.$anonfun$mapChildren$1(TreeNode.scala:376)
at org.apache.spark.sql.catalyst.trees.TreeNode.mapProductIterator(TreeNode.scala:214)
at org.apache.spark.sql.catalyst.trees.TreeNode.mapChildren(TreeNode.scala:374)
at org.apache.spark.sql.catalyst.trees.TreeNode.mapChildren(TreeNode.scala:327)
at org.apache.spark.sql.catalyst.trees.TreeNode.transformDown(TreeNode.scala:291)
at org.apache.spark.sql.catalyst.plans.QueryPlan.
.
.
.

Does this PR introduce any user-facing change?
Yes. After this PR, output for above query will be:

== Physical Plan ==
org.apache.spark.sql.AnalysisException: invalid input syntax for type boolean: abc;
Time taken: 0.044 seconds, Fetched 1 row(s)
19/11/15 15:38:57 INFO SparkSQLCLIDriver: Time taken: 0.044 seconds, Fetched 1 row(s)

How was this patch tested?
Updated existing test cases.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

I personally think this should be fixed in the QueryExecution side: https://github.com/apache/spark/blob/15218898cdc540420d6a6c957e5040f78e75cc61/sql/core/src/main/scala/org/apache/spark/sql/execution/QueryExecution.scala#L143.
That is a kind of runtime exceptions, so AnalysisException looks weird to me.
cc: @cloud-fan @dongjoon-hyun

Agree with @maropu . Optimizer does constant folding so runtime exception should be considered as well.

@maropu and @cloud-fan ,modified the change as per review comment.Could you please check it.

ok to test

Test build #114060 has started for PR 26546 at commit 209fa4d.

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-K8s/18920/
Test PASSed.

Test build #114060 has finished for PR 26546 at commit 209fa4d.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

retest this please

Test build #114079 has started for PR 26546 at commit 209fa4d.

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-K8s/18938/
Test PASSed.

Test build #114079 has finished for PR 26546 at commit 209fa4d.

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/114079/
Test PASSed.

thanks, merging to master!

late LGTM...

@cloud-fan or @maropu ,can you please update the SPARK-29913 JIRA status also.Thanks


Bitwise operations, hashing

Hey folks,
A large number of machine learning applications require hashing methods.  As far as I can tell, there are no hashing algorithms built into PFA; but, I'm more than happy to handle that on my end, as a user-defined function.
Hashing methods, however, rely heavily on bit-based operations.  The PFA spec already includes bitwise logic operations (&, |, ^, ~); but, it doesn't contain shift operators.
So, I guess my question is:

Are there any plans to add primitives for common hashing algorithms?
If not, are there any plans to add left and right bit shift operators?

Thanks!

Considering that PFA has explicitly sized integers, shift operators in PFA would be more reasonable than having them in Python (which it does). I think the reason that PFA doesn't have the shifts is because they're equivalent to multiplication and division by powers of 2, so it's just a performance thing. Performance things are supposed to be discovered and implemented by the PFA execution engine.
It would be more in line with PFA's focus to add common hashing algorithms as functions, rather than shift operators, so that work-alikes can be optimized in different vendors' implementations. This is the level of abstraction where PFA is supposed to operate.
New functions get decided upon in the DMG PFA working group; do you want to make a proposal? I think the membership is open, so you could join us and make your suggestion in person, or if you want to give it to me, I'll bring it up. I'd need a specification, though: the set of hashing functions you think PFA should have.

Thanks, @jpivarski !  I'd be happy to discuss the possibility of contributing; it would just depend on the level of obligation, of course.
As for the issue at hand: the big one that I see a need for is MurmurHash3, as this is used both by scikit-learn and by the Spark ML libraries.  I can do a little digging to see if there are any other commonly used ones.

Hi there - I would like to see MurmurHash3 added as the first built-in hash function if possible. @jpivarski let me know what the procedure is to do that via the Working Group?

Attend the next PFA working group (ask Walt Wells<EMAIL_ADDRESS>for the
time) and make the proposal there. The approval process will go faster if
you include an implementation that everyone can view.
Thanks,
Jim
On Jun 7, 2017 4:43 AM, "Nick Pentreath"<EMAIL_ADDRESS>wrote:

Hi there - I would like to see MurmurHash3 added as the first built-in
hash function if possible. @jpivarski https://github.com/jpivarski let
me know what the procedure is to do that via the Working Group?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/opendatagroup/hadrian/issues/22#issuecomment-306745340,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABxEHwDrgV62S0tbUAvJmsTiO9L4pVGSks5sBnC3gaJpZM4KFH6j
.

Ok - by implementation do you just mean a reference impl? The Scala std lib has one (and most other languages have a standard impl).

The implementation can involve dependencies, but it has to be
well-described and straightforward enough to reimplement on any platform,
any language. This is why Hadrian and Titus are using external libraries to
implement POSIX regular expressions, rather than Java regular expressions
in Java and Python regular expressions in Python. The hash algorithm has to
be exactly reproducible, and it might be easier to do that with a
reimplementation (so that the code can be ported) or not.
Jim
On Jun 7, 2017 5:16 AM, "Nick Pentreath"<EMAIL_ADDRESS>wrote:
Ok - by implementation do you just mean a reference impl? The Scala std lib
has one (and most other languages have a standard impl).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/opendatagroup/hadrian/issues/22#issuecomment-306752784,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABxEH6aX--5xM_cUZbUWeGhcNo4PSrYyks5sBnhkgaJpZM4KFH6j
.

@nrpeterson did you ever implement a version in PFA (if so could you share it perhaps?)


NO VIDEO PLAYBACK PROBLEM - WIDEVINE UPDATE - ARM DEVICES ONLY (Raspberry and similar)

No video playback problem
This problem concerns ONLY and exclusively devices with ARM architecture.
The recently new released version of the Widevine library (4.10.2252.0) prevents video playback on your device,
this is because of a lack of support, to enable your system to use this new version you must update it and/or make some specific changes.
Currently there are some solutions that do not cover all use cases, i will try to keep this page updated to include future new solutions.
How to do (easy way)
Downgrade the Widevine library (all Kodi OS and versions)
These steps are required only pre-existent Kodi installations, otherwise in new Kodi installation it will be executed automatically.

Open add-on Expert settings
Select InputStream Helper settings
In the new settings window select (Re)install widevine

How to use the new Widevine release
LibreELEC (Kodi 19)
LibreELEC has implemented the support from LibreELEC (Matrix) 10.0 BETA5 release
CoreELEC (Kodi 19)
CoreELEC has implemented the support from CoreELEC 19.2-Matrix_rc2
OSMC (Kodi 19)
https://discourse.osmc.tv/t/widevine-add-ons-stopped-working-from-01-09/90684
Linux operative systems like Raspbian etc... (Status unknown)
We are talking about cases where Kodi is running as a stand-alone application.
Currently i am not aware of a solution, if anyone knows it, please leave feedback.
More info on this and others OS
Try follow this page: https://www.matthuisman.nz/2021/05/widevine-arm-broken.html

CoreELEC currently spotting issues with the new 4.10.2252.0
We have the support in nightly and have done a release yesterday with 19.2-Matrix_rc1. The rolling out of the release got stopped as more and more users reported rebooting devices because of this cdm issue.

We tried to link tcmalloc_minimal directly into kodi.bin and the devices of some users getting rebooted, sometimes on stream start, sometimes after a while watching a stream.

A test version using the LD_PRELOAD function for tcmalloc_minimal (like LE is doing in 9.2) solved it a bit but users still reporting rebooting devices.

Another test was to LD_PRELOAD the cdm lib itself with kodi.bin what does show that tcmalloc_minimal is not needed. But using this approach does also show crash of the widevine cdm lib itself.

Another test showed when open/start/stop a stream multiple times kodi does crash randomly on stream stop after 5-20 cycles. We didn't had this behavior with the old cdm lib.

Next test is to downgrade the cdm lib down to version 4.10.1679.0 to check if the rebooting still does happen or not - now waiting for user reports...
Hint: "some users" does mean about 5 of 1500. Not much but too much as there were zero issues before.

@Portisch Can you try LD_PRELOAD=libwidevinecdm.so without linking libtcmalloc_minimal or preloading?  And see if there is crashing?

As I have written above:
Thread 1 (Thread 0xea52f2a0 (LWP 5478)):
#0  0xf6cffe1c in ?? () from /storage/.kodi/cdm/libwidevinecdm.so
#1  0xf6d03d48 in ?? () from /storage/.kodi/cdm/libwidevinecdm.so
#2  0xf6d0ba90 in ?? () from /storage/.kodi/cdm/libwidevinecdm.so
#3  0x00977f24 in ActiveAE::CActiveAESink::GenerateNoise() ()
#4  0x0097d02c in ActiveAE::CActiveAESink::OpenSink() ()
#5  0x0097d1c0 in ActiveAE::CActiveAESink::StateMachine(int, Actor::Protocol*, Actor::Message*) ()
#6  0x0097d8f4 in ActiveAE::CActiveAESink::Process() ()
#7  0x0056ab28 in CThread::Action() ()
#8  0x0056e3dc in ?? ()
#9  0xf2672f64 in ?? () from /usr/lib/libstdc++.so.6
#10 0xf6a08d64 in start_thread (arg=0xea52f2a0) at pthread_create.c:463
#11 0xf281f1b8 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:73 from /usr/lib/libc.so.6

This is one reason I think more and more it's the cdm lib itself what causes the kodi crashes/rebooting devices.

@Portisch Yeah interesting.  It's been pretty rock solid on RPi4, I think @ksazq has been testing on Amlogic more thoroughly?   I wonder if it is certain SoCs or ARM Cores that have issues, I guess the only option would be to stick with 4.10.1679.0 until it is revoked.  This might be why Google is pausing the revocation, because I imagine a number of the ChromeOS devices are Amlogic.

Meanwhile we switched over to LD_PRELOAD for tcmalloc_minimal for next nightly. But the tests shows it still crash sometimes with the new lib. It looks like after downgrade the CDM lib all crashes are gone.

@Portisch Looking at the forums some folks are reporting reboots without any playback.  Just for reference, this is what I am running:
CoreELEC (official): 19.2-Matrix_nightly_20210526 (Amlogic-ng.arm)
And this is on an S905D SoC.  It sits behind me in the office, and I don't watch it regularly, but I would notice if it rebooted because CEC would kick on the TV.  :)  I usually playback Tvheadend on it for background noise while I am working, so not a whole lot of Netflix, sometimes in the evening I will use the Youtube add-on (so ISA, but no Widevine) when the kid is watching the main TV.

We are currently completely lost what is going on.
Maybe it's the tcmalloc itself causing such issues.

On LibreELEC 10 (9.95.4) on ROCK64, I get this as soon as I start playing:
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `/usr/lib/kodi/kodi.bin --standalone -fs'.
Program terminated with signal SIGILL, Illegal instruction.
#0  0x003fd6a6 in Shaders::BaseYUV2RGBGLSLShader::~BaseYUV2RGBGLSLShader() ()
[Current thread is 1 (Thread 0xd9206240 (LWP 1390))]

Thread 1 (Thread 0xd9206240 (LWP 1390)):
#0  0x003fd6a6 in Shaders::BaseYUV2RGBGLSLShader::~BaseYUV2RGBGLSLShader() ()
#1  0xf7d43a48 in call_init (l=<optimized out>, argc=argc@entry=3, argv=argv@entry=0xff9daa04, env=env@entry=0x364bf80) at dl-init.c:74
#2  0xf7d43b20 in call_init (env=<optimized out>, argv=<optimized out>, argc=<optimized out>, l=<optimized out>) at dl-init.c:37
#3  _dl_init (main_map=0x8605340, argc=3, argv=0xff9daa04, env=0x364bf80) at dl-init.c:121
#4  0xf5554584 in __GI__dl_catch_exception (exception=0x86054a0, exception@entry=0x0, operate=0x0, args=0xd9204568, args@entry=0xd9204510) at dl-error-skeleton.c:182                                                                                #5  0xf7d47e64 in dl_open_worker (a=0xd9204718) at dl-open.c:783
#6  0xf5554544 in __GI__dl_catch_exception (exception=0x0, exception@entry=0xd9204704, operate=0xd920470c, args=0xd9204798, args@entry=0xd9204710) at dl-error-skeleton.c:208
#7  0xf7d47684 in _dl_open (file=0x877b6cc "/storage/.kodi/cdm/libwidevinecdm.so", mode=-2147483647, caller_dlopen=0xeb73814c <base::LoadNativeLibrary(std::string const&, base::NativeLibraryLoadError*)+20>, nsid=-2, argc=3, argv=0xff9daa04, env=0x364bf80) at dl-open.c:864
#8  0xf759eb48 in ?? () from /usr/lib/libdl.so.2
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

LD_PRELOAD is set to /usr/lib/libtcmalloc_minimal.so as recommended.
Am I doing anything wrong?

this is not the right place to post logs or ask solution for errors
you must write your feedbacks to InputStream Adaptive developers

I'm using Raspbian 9.13 with Kodi standalone and few days ago it was not working but today it's working again with the solution provided in the issue #1154 by downgrading Wide Vine from 4.10.2252.0 to 5.10.1679.0.
wget https://k.slyguy.xyz/.decryptmodules/widevine/4.10.1679.0-linux-armv7.so --output-document /tmp/libwidevinecdm.so
# sha1 : d5ee489d5c409ff6cb423f318a23dba71ff2f2b0
cp -a /home/kodi/.kodi/cdm/libwidevinecdm.so /tmp/libwidevinecdm.so.bak
sudo install  /tmp/libwidevinecdm.so --preserve-timestamps --owner kodi --group kodi --mode 0744 --no-target-directory /home/kodi/.kodi/cdm/libwidevinecdm.so

Playing a Netflix video works well.

I had misunderstood some time ago and then forgot to update
thanks

I'm using Raspbian 9.13 with Kodi standalone and few days ago it was not working but today it's working again with the solution provided in the issue #1154 by downgrading Wide Vine from 4.10.2252.0 to 5.10.1679.0.
wget https://k.slyguy.xyz/.decryptmodules/widevine/4.10.1679.0-linux-armv7.so --output-document /tmp/libwidevinecdm.so
# sha1 : d5ee489d5c409ff6cb423f318a23dba71ff2f2b0
cp -a /home/kodi/.kodi/cdm/libwidevinecdm.so /tmp/libwidevinecdm.so.bak
sudo install  /tmp/libwidevinecdm.so --preserve-timestamps --owner kodi --group kodi --mode 0744 --no-target-directory /home/kodi/.kodi/cdm/libwidevinecdm.so

Playing a Netflix video works well.

I'm using raspberry pi3 with OSMC (debian+kodi distro) Netflix works well for me too. No need to manually downgrade, simply after updating InputStream Helper to v0.5.5 and choosing (Re)install widevine it checks that the system does not support new widevine lib and prompts to install the older 4.10.1679.0.

This worked for me (official OSMC distro on rpi3) : https://github.com/CastagnaIT/plugin.video.netflix/issues/1179#issuecomment-864573879
thx !
Although the menu is a bit hard to find :

go to the Netflix extensions settings
in the Expert tab (on the left)
the third choice opens the InputStream Helper settings
the option to (Re)install widevine is at the bottom of the screen

Will be fixed or not? I have been waiting for this. This is not normal solution.

thanks for the feedbacks i have updated the (first) post

Hi CastagnaIT, thanks for excellent job! :)
I can confirm that Your collabo with CoreELEC and ISA teams ended successfully!
Now new DRM mechanism works like it should… 1080p plays again!
All I had to do additionally is ESN refresh… but it’s probably because I reset the kodi settings about a week ago, when I saw that 1080p stopped working… and then even SD stopped working for me…

thanks for the feedbacks i have updated the (first) post

Hi CastagnaIT, thanks for excellent job! :)
I can confirm that Your collabo with CoreELEC and ISA teams ended successfully!
Now new DRM mechanism works like it should… 1080p plays again!
All I had to do additionally is ESN refresh… but it’s probably because I reset the kodi settings about a week ago, when I saw that 1080p stopped working… and then even SD stopped working for me…

Hi Guys!
A tried to downgrade the libwidevinecdm.so, but got the following error message:
2021-09-28 21:03:30.710 T:1355797216   ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 406
2021-09-28 21:03:30.713 T:1355797216   ERROR: CCurlFile::Open failed with code 406 for https://lic.drmtoday.com/license-proxy-widevine/cenc/:
2021-09-28 21:03:30.713 T:1355797216   ERROR: AddOnLog: InputStream Adaptive: License server returned failure
2021-09-28 21:03:30.714 T:1355797216   ERROR: AddOnLog: InputStream Adaptive: License update not successful (no keys)
2021-09-28 21:03:30.785 T:1355797216   ERROR: AddOnLog: InputStream Adaptive: Initialize failed (SingleSampleDecrypter)

$ uname -a
Linux xbian 4.19.68+ #1 SMP PREEMPT Mon Aug 26 20:37:12 CEST 2019 armv7l GNU/Linux

backup libwidevinecdm version: 13505.111.0

Can you give me some pointers? Anybody using here XBian?

Hello
xbian works great with the new Widevine 4.10.2252.0, you need to update your xbian to bullseye.
Old Widevine is revorked and not working at the moment

ame issue. I downgraded and it's work now.

FWIW today I installed the latest Widevine CDM 4.10.2449.0 update on ARM and playback now occurs without any issue.

4.10.2449.0 confirm it's work.


Remove missing lines from configuration table

Refacto of PrettyBlocksModel::removeConfig() function:

Now also remove <id>_DEFAULT_PARAMS and <id>_TEMPLATE lines from ps_configuration table
Now return boolean to check if deletion was successful

Thanks again @micka-fdz !


style(lint): use @iopipe/scripts for lint, testing

Fixes #246 - Use iopipe/scripts for lint
Fixes lint issues
Adds test for uuid module
Use iopipe-scripts for testing (jest)

@pselle what do you think about this new solution for coldstart?


GetTenants doesn't return display name or domain name

The production published version hosted on resources.azure.com renders multiple tenants which my login is associated with.  The drop down shows multiple tenants I can switch contexts for and obtain a token for them.
However, when I run the code locally, it only returns the tenantID / guids and no friendly or readable identifier.  Under the hood, it looks like the data comes from https://management.azure.com/tenants endpoint, so it's not clear where the display name or domain data is coming from.  The /tenants endpoint doesn't include that data.

Right, I think there was a reason why this didn't work locally. Note that running locally is just for dev purpose, so I don't think it's a huge deal if we need to deal with tenant guids in that scenario.

Thanks for the response @davidebbo.  It looks like I'm having the same issue as #57.  I'm trying to get similar behavior in an app running in Azure (not just running locally).  What I'd like to do is retrieve tenant details from ARM (if possible) rather than the Graph since querying the graph will require a separate token and hence consent.
Is there some special AAD client you are using internally which has access to tenant details from ARM as @ahmelsayed implied you were doing in your production app?  As far as I have found from documentation you can only get tenantIds from ARM and you have to get tenant names from the graph.
Ultimately, I'm just looking for a way to implement the same behavior where I can render a drop down of the logged in users tenants without having to consent access for each tenant just to render the tenant names.

Resource Explorer is registered in a special 'trusted' way with AAD that allows certain behaviors that are not normally possible. I don't know whether listing tenant names is one of them.
That might be a good generic questions for AAD experts, whether there is a supported way for a normal app to do this.

Closing as there isn't much to do here. When testing locally, we can't get the tenant names, and we can live with that.


Exactly once guarantee

Is semantics not respected or am I wrong?

Process 1 read state https://github.com/ClickHouse/clickhouse-kafka-connect/blob/33842bec85d8a9eaf691ddf2457a1d7d1ee60d28/src/main/java/com/clickhouse/kafka/connect/sink/processing/Processing.java#L97
Process 1 stuck on https://github.com/ClickHouse/clickhouse-kafka-connect/blob/33842bec85d8a9eaf691ddf2457a1d7d1ee60d28/src/main/java/com/clickhouse/kafka/connect/sink/processing/Processing.java#L109
Process 2 started, and read state https://github.com/ClickHouse/clickhouse-kafka-connect/blob/33842bec85d8a9eaf691ddf2457a1d7d1ee60d28/src/main/java/com/clickhouse/kafka/connect/sink/processing/Processing.java#L97
Process 2 processing new blocks above replicated_deduplication_window
Process 1 recovered and do insert https://github.com/ClickHouse/clickhouse-kafka-connect/blob/33842bec85d8a9eaf691ddf2457a1d7d1ee60d28/src/main/java/com/clickhouse/kafka/connect/sink/processing/Processing.java#L114
Inserted data duplicated

This could have been avoided if the insertion and modification of the state had been atomic together.

We are planning to release a document that will describe the exactly one semantics in detail I will attach the link to this issue,
but just verify in the "doLogic" method we are handling only one topic & partition so I do not see a situation that two threads working on the same topic & partition.
If you can recreate that situation it will be great.

@worthdone https://github.com/ClickHouse/clickhouse-kafka-connect/blob/main/docs/DESIGN.md


OpenAI Cost calculation could have a bug!

System Info
I've run a prompt that said 1 + 1 = ? with my agent, I've used get_openai_callback to show some metric (see the image):

Used LLM model is GPT-3.5-turbo
On OpenAI website we have for GPT-3.5-turbo model a  0.002/1k tokens, that means my test/prompt should cost:
2206 ÷ 1000 x 0.002 = 0.004412
The weird thing based on my test is the cost, it shows $0.04412  and not $0.004412
It could be a bug, Any ideas?
Here is the code:
with get_openai_callback() as cb:
    response = agent.run(prompt)

    # Show OpenAI Cost
    print(f"Total Tokens: {cb.total_tokens}")
    print(f"Prompt Tokens: {cb.prompt_tokens}")
    print(f"Completion Tokens: {cb.completion_tokens}")
    print(f"Total Cost (USD): ${cb.total_cost}")

Can anyone please explain what's going on?
Thanks in advance.
Related Components

[X] LLMs/Chat Models
[ ] Embedding Models
[ ] Prompts / Prompt Templates / Prompt Selectors
[ ] Output Parsers
[ ] Document Loaders
[ ] Vector Stores / Retrievers
[ ] Memory
[ ] Agents / Agent Executors
[ ] Tools / Toolkits
[X] Chains
[X] Callbacks/Tracing
[ ] Async

@agola11
@hwchase17

I've found the issue, the issue is I've used model_name instead of model
-llm = ChatOpenAI(temerature=0, model_name="gpt-3.5-turbo")
+llm = ChatOpenAI(temerature=0, model="gpt-3.5-turbo")

With model_name it resulted in davinci model by default, which affected the cost ($0.02/1K tokens for davinci).
HHHH, By the way, I've just received an email from OpenAI informing me of price changes, I've chacked the website and it seems the pricing has changed with new models has just been released :D


Template is not analyzed when the parameters file it's missing a value

An exception occurred: Error while processing template. - The value for the template parameter '_secretsLocation' at line '19' and column '25' is not provided. Please see https://aka.ms/resource-manager-parameter-files for usage details.
https://github.com/Azure/azure-quickstart-templates/tree/6a0af97995850602ba1aef5a32896827b4265fe6/application-workloads/chef/chef-ha-cluster
The sample seems to be deployed successfully in the Quickstart pipeline

For AnalyzeTemplate, this experience is desired to get the error right away.
For AnalyzeDirectory, a best guess experience would be better


Update runClassification.py

fix edge case involving files that are too large to process

How is it going with this update?

Based on the small sample matrices I made to test it, I think it works; have you been able to test it yet?


undefined [postcss-discard-empty]

Hey,
so using css with gulp & postcss I always get this "warning":
resources/css/app.css
undefined [postcss-discard-empty]

If I remove cssnano, the message disappears. Am I doing something wrong? Is there any more information I can provide to help solve this issue?

Hello,
I think you are seeing the "status" messages that are being set. We introduced this change here: https://github.com/ben-eb/postcss-discard-empty/commit/c52c3c5e690e3f3dcf543de41e4c204cbb137be4.
My guess is that you have postcss-reporter installed and that is outputting these messages. Note that you can whitelist the plugins that you want to see messages from using the plugins option.

Two things, however:

This particular message is useless.
We'd want to see important messages from cssnano in postcss-reporter.

I added it because one of our users needed this functionality, so it is not useless. Furthermore it is not a warning, but a status message. Ideally any consumer of these messages should be able to tell this by the fact that each message that is produced does not bear the warning type. As for the rest of the plugins, nobody has offered to contribute code that fulfils this purpose, nor asked for this functionality, so unfortunately it is low on my priority list.

Definitely, and this is an area in which I would like to improve, but as you can appreciate I do this project in my spare time. If you agree & think it'd be worth adding more status messages from plugins then contributions (in the same vein as https://github.com/ben-eb/postcss-discard-empty/pull/9) are most welcome.

I hove nothing against logging messages bot this message is useless just as @mikestopcontinues said.
Ok for this part of message [postcss-discard-empty] I now that something is discarded but what undefined means? What was discarded? What is line number of discarded things? ...
If undefined means that "postcss-discard-empty" plugin is only started but nothing has discarded than this message is ridiculous.

undefined is being returned because the status message that we yield here does not have a message property. Is there any value in adding one, given that these are status messages which are not intended to be reported but consumed by other plugins?
Like I wrote above, you should exclude postcss-discard-empty with the plugins option from postcss-reporter if you don't want to see these messages.

If you using postcss-nesting which will unfortunately output empty rule as depicted here jonathantneal/postcss-nesting#19, then you will probably see this being reported.

To give an explicit example of what was mentioned in an earlier comment:
I managed to suppress those messages by changing my webpack.config.prod.js file's postcss entry from this:

  postcss: () => [
    // ...
    postcssReporter({
      clearMessages: true
    }),
    // ...
  ],

to:

  postcss: () => [
    // ...
    postcssReporter({
      clearMessages: true,
      plugins: ['!postcss-discard-empty']
    }),
    // ...
  ],

I'm not sure if there are any other messages that postcss-discard-empty might emit that I might miss, but it certainly suppresses these ones.


antrea.io/live , need to fully redirect

Describe the bug
looks like local urls in the README.md page for antrea.io/live doesnt load properly, i think it needs to be "fully" redirected/forwarded if possible ?
To Reproduce
Go to antrea.io/live and click on the links, they wont load bc they try to go back to the antrea.io/live root path
Expected
antrea.io/live would fully forward to its target
example

Ah thanks for rebuilding the issue here.  Any idea how to fix this ?

maybe changing the redirect status code to 301 would help: https://github.com/antrea-io/website/blob/e374e5b1a584ea9ea30d30faec23aeda6d79409f/static/_redirects#L11

This was fixed by https://github.com/antrea-io/website/pull/29


Update parity-codec version

Needed for the https://github.com/paritytech/substrate/pull/2855.

@dvdplm Sorry, I added you because you reviewed the https://github.com/paritytech/parity-common/pull/178 pull request. :upside_down_face:

parity-codec version has been updated to 4.1.
cc @Kianenigma

Since substrate is already depending on this I'd rather just merge this branch and have substrate track master (before we release finality-grandpa 0.8). This will also allow me to include these changes in #53 and have it build successfully on substrate's CI.


Fix Notebook Tree View smoke tests

ADS gets refreshed after each test suite, so we need to configure python every time.
Pinning a SQL notebook to prevent the Configure Python Wizard from popping up.

Is the difference now that we're reloading ADS after every test so it doesn't keep the state from the previous test?

Yes, after the merge we are reloading ADS on each test suite


Syntax Error

Hi Sir ,
Good Day !!!!
While Executing the below Script , getting the Syntax Error .
[root@localhost opt]# ./Simple-Anti-DDOS.sh
./Simple-Anti-DDOS.sh: line 7: syntax error near unexpected token newline' ./Simple-Anti-DDOS.sh: line 7: '
Thanks

It also gives me the same error.

This error is fixed, please report any other error.
Thanks.

I still have this mistake
root@debian:~# wget https://github.com/LasVegasCoder/Anti-DDOS-Script/blob/master/advanced-anti-ddos.sh
--2019-11-03 15:13:08--  https://github.com/LasVegasCoder/Anti-DDOS-Script/blob/master/advanced-anti-ddos.sh
Resolving github.com (github.com)... <IP_ADDRESS>
Connecting to github.com (github.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘advanced-anti-ddos.sh’
advanced-anti-ddos.     [ <=>                  ]  92.84K  --.-KB/s   in 0.09s
2019-11-03 15:13:09 (1012 KB/s) - ‘advanced-anti-ddos.sh’ saved [95064]
root@debian:~# chmod +x advanced-anti-ddos.sh
root@debian:~# ./advanced-anti-ddos.sh
./advanced-anti-ddos.sh: line 7: syntax error near unexpected token newline' ./advanced-anti-ddos.sh: line 7: '


fix order by db call for postgresql

This fixes a bug introduced in PR#169.  #169 was tested and worked locally (sqlite database), but failed when deployed to staging (postgresql database).  Postgresql requires that any columns in a ORDER BY clause also appear in a SELECT clause.
This has been tested on staging.  It addresses ticket #8242.

@AudreyAltman if I'm understanding correctly, the previous version failed with errors from PSQL, routed through ActiveRecord?
It's a minor frustration that AR doesn't handle this for us, but this fix seems okay.
@dpla/tech-staff should note that PRs that may affect database queries need to be tested beyond regular CI, to account for differences like this. We could also look into ways to loop PSQL into travis builds, keeping SQLite on the development enviornment.

@no-reply Yes, you are correct about the error.  The error message was:
ActiveRecord::StatementInvalid: PG::Error: ERROR:  for SELECT DISTINCT, ORDER BY expressions must appear in select list
Based on a quick search of Rails tickets, it seems that folks are aware of this problem, but are settling with work-arounds for the time being.


Stylint errormessage is no longer valid

Bug

The stylint default reporting was changed in this commit:

https://github.com/SimenB/stylint/commit/b041916c84322b8073c0a333fbe2b900ff7331ef#diff-23f2fc2985683e05d92872f3572515b4

Existing stylint errorformat still uses old format.

https://github.com/vim-syntastic/syntastic/blob/master/syntax_checkers/stylus/stylint.vim#L24

Requested Change

Update errormessage in stylint syntax_checker to match new format.

Old Output
[Warning|Error]: message here
File: filenamehere.styl
Line: 340: white-space pre

New Output
(Results are tabularized)
filename.styl
340:11  [warning|error]  message here  stylint_rule_here

This is what I've got so far, but I'm not even sure if I'm close:
let errorformat =
    \ '%A%f%l:%c %s %tarning %m %.%#,' .
    \ '%A%f%l:%c %s %terror %m %.%#,'

I'd be happy to submit a PR for this work, but I might need a bit of direction with the file name (and following newline) in addition to properly parsing errors and warnings.

What a terrible idea.  The new error format is ambiguous.  I suppose the proper fix for this would be to write a JSON reporter for stylint, and make syntastic use it.  A less proper fix would be to write some kind of preprocess function to adjust errors before trying to parse them.
However, I'm still recovering from surgery, and that makes me (1) even more cranky than usual, and (2) unable to type more than a few lines.  So I won't be looking too hard for workarounds.  Something like this will have to do instead: f3a5344.  Sorry about that.

:(
Can't blame you; thanks for taking a look into this so quickly!
I'll see about opening an issue here soon in the stylint repo to see about returning the default reporter either as the default or providing an option for it. I'll report back here if anything changes.
Thanks again!

I committed a fix (1c89d2a), but this is fragile and it's likely to silently drop some messages.  As I said, the proper solution would be to write a JSON reporter for stylint.


HTTP/2 fails with PROTOCOL_ERROR on nginx, including wordpress.com

In android 5.1.1 (Moto G 3) call to the url "https://public-api.wordpress.com/rest/v1/sites/73350021/posts/60915" gave the exception "android java.io.IOException: stream was reset: PROTOCOL_ERROR". The same works fine in devices with older OS.The stacktrace is :
10-05 20:32:41.195  15373-15373/? D/NetworkError﹕ stream was reset: PROTOCOL_ERROR
java.io.IOException: stream was reset: PROTOCOL_ERROR
at com.squareup.okhttp.internal.spdy.SpdyStream.getResponseHeaders(SpdyStream.java:145)
at com.squareup.okhttp.internal.http.SpdyTransport.readResponseHeaders(SpdyTransport.java:104)
at com.squareup.okhttp.internal.http.HttpEngine.readNetworkResponse(HttpEngine.java:830)
at com.squareup.okhttp.internal.http.HttpEngine.access$200(HttpEngine.java:95)
at com.squareup.okhttp.internal.http.HttpEngine$NetworkInterceptorChain.proceed(HttpEngine.java:823)
at com.squareup.okhttp.internal.http.HttpEngine.readResponse(HttpEngine.java:684)
at com.squareup.okhttp.Call.getResponse(Call.java:272)
at com.squareup.okhttp.Call$ApplicationInterceptorChain.proceed(Call.java:228)
at com.squareup.okhttp.Call.getResponseWithInterceptorChain(Call.java:199)
at com.squareup.okhttp.Call.execute(Call.java:79)

It works fine on an S3 running 4.4.4
I see this on a Samsung S5 running 5.0
The phone received an update the other day (that fixes Stagefright among other things), do not know if that is related.

Yes I had checked on a number of devices working on android on before 5.0, it works fine. It didn't work on 5.0 and 5.1 though.

Hi everybody
I have the same error here. My current setup is:
compile 'com.google.code.gson:gson:2.3.1'
compile 'com.squareup.retrofit:retrofit:1.9.0'
compile 'com.squareup.okhttp:okhttp-urlconnection:2.5.0'
compile 'com.squareup.okhttp:okhttp:2.5.0'
compile 'com.squareup.okio:okio:1.6.0'

RestAdapter apiRestAdapter = new RestAdapter.Builder()
    .setEndpoint(endpoint)
    .setLogLevel(RestAdapter.LogLevel.BASIC)
    .build();
mService = apiRestAdapter.create(WordpressService.class);

Hitting

https://public-api.wordpress.com/rest/v1/freshly-pressed?number=30

KitKat 4.4.4 works fine
Marshmallow 6 java.io.IOException: stream was reset: PROTOCOL_ERROR

If I switch to retrofit 2.0 beta, as suggested in #1844, both phones fail. If I force okhttp to use HTTP 1.1, as suggested in #1844 and in a couple of SO threads, I get 404 Page not found.
Any clue?
Thanks

How dit you set it to use HTTP1.1? for me this worked:
OkHttpClient client = new OkHttpClient().setProtocols(Collections.singletonList(Protocol.HTTP_1_1));

@jedrivisser I tried that during my tests with retrofit 2 and it didn't work. Which version of retrofit/okhttp are you using?

I am using okhttp directly:
compile 'com.squareup.okhttp:okhttp:2.5.0'

Unfortunately, I'm using it with retrofit. I hope I can get some feedback here https://github.com/square/retrofit/issues/1181

can you paste the code for how you forced retrofit to use HTTP 1.1?

I switched the project to retrofit 2 and I removed the dependency from okhttp, that should be implicitly imported:
build.gradle
compile 'com.google.code.gson:gson:2.4'
compile 'com.squareup.retrofit:retrofit:2.0.0-beta2'
compile 'com.squareup.retrofit:converter-gson:2.0.0-beta2'
compile 'com.squareup.retrofit:adapter-rxjava:2.0.0-beta2'
compile 'com.squareup.okio:okio:1.6.0'

Api Client
I edited the baseurl: it now ends with "/" and I forced HTTP 1.1 again, as @jedrivisser suggested :+1:
public WordpressApiManager(String endpoint) {
    OkHttpClient client =
                new OkHttpClient().setProtocols(Collections.singletonList(Protocol.HTTP_1_1));

    Retrofit retrofit = new Retrofit.Builder()
            .baseUrl(endpoint)
            .client(client)
            .addConverterFactory(GsonConverterFactory.create())
            .addCallAdapterFactory(RxJavaCallAdapterFactory.create())
            .build();

    mService = retrofit.create(WordpressService.class);
}

I fixed the endpoint accordingly to the new baseurl:
public interface WordpressService {

    @GET("freshly-pressed")
    Observable<PostsResponse> getPosts(@Query("number") int number);
}

It's working on Android 4.4.4, 5.0.2 and 6. I couldn't test it on 5.1.1.
Thank you for your help.

This is sth with h2 negotiation.

@praveenbb thanks for reporting this, I've been able to reproduce on the desktop JVM.

I think it’s a bug in the nginx beta.
OkHttp sends this header:
accept-encoding: gzip

This causes nginx to incorrectly report a protocol error.
I believe it's related to nginx’s HPACK decoder. I’m led to this assumption because I see similar PROTOCOL_ERRORs reported when using other headers in the indexed set, such as accept-charset.

http://mailman.nginx.org/pipermail/nginx/2015-October/048978.html

Fixed in NGINX. http://hg.nginx.org/nginx/rev/0e37389c0bd5

And some more help:
https://publicobject.com/2015/10/19/okhttp-http2-nginx-1-9-5/

thanks for all the feedback!

OkHttpClient client = new OkHttpClient().setProtocols(Collections.singletonList(Protocol.HTTP_1_1))
This worked for me.
Before that line of code added, the images were displaying on some android devices, but not others. The same image in the same Activity was working on 1 device and not on others.
forcing the protocol to HTTP1 fixed the issue.
okHttpClient.setProtocols(Collections.singletonList(Protocol.HTTP_1_1));


Play from specific timepoint.

Great library!
I'm trying to build a media bookmark manager where each bookmark consists of a url plus a timepoint. When the user clicks one, it should start playing from that timepoint. So the list might be like this:
youtube url1            t=200
youtube url2            t=100
youtube url2            t=150
soundcloud url1         t=50
soundcloud url1         t=150
soundcloud url2         t=10
mp4 url1                t=30

(Note that the list may contain multiple streaming providers, and any one may occur with with multiple urls. A particular url may occur with multiple timepoints.)
When an item is selected, ReactPlayer loads that url, and it seems I then need to call seekTo separately. Then problem is when to call it - switching timepoints on the same url vs switching urls for the same provider vs switching providers all seem to require it to be called differently and I'm getting inconsistent behavior where the video occasionally just starts playing from zero.
Right now my best solution is a very hackish one - I call seekTo immediately when the list item changes, again on the next onReady, and again on the next onProgress (where I only call it if played==0 to try to catch those random errors.) This seems to work around 90% of the time, and the remaining 10% of the time it still starts playing from zero.
Is there a better way to do this?

Does waiting for onPlay to seek help? There's not much that can be done here on ReactPlayer’s side.  seekTo is simply calling the relevant seek method for each player SDK, each of which may behave differently.

Hello guys. I have similar problems with ReactPlayer. I need to use seekTo to proper fragment in audio record. Slider (input with type="range") is working properly but if i run playerRef.current.seekTo(number) from for example different component then my player is jumping to proper place but what im hearing is wrong. I should hear different fragment of audio so i assume that running seekTo directly is wrong ? What did you mean by saying "Does waiting for onPlay to seek help" ?

@gracjan-op It means you need to wait until the onPlay callback is fired before you call seekTo. So you can build your own wrapper around react-player, with a property like myDesiredSeekPoint. When your wrapper receives the onPlay callback from react-player, it only then calls seekTo(myDesiredSeekPoint).

For custom player with hls stream you can do seekTo() in the handleDuration() function. This works for me.
handleDuration = (duration) => {
// console.log('onDuration', duration)
this.props.setPlayer({
...this.props.playerSlice,
duration: duration,
})
this.player.seekTo(this.props.playerSlice.played)
}


Update on supported device list?

The latest document on ROCm supported devices I found on AMD doc portal is this one:
https://docs.amd.com/bundle/Hardware_and_Software_Reference_Guide/page/Hardware_and_Software_Support.html
However, this document seems a little bit outdated. Some GitHub issues (such as https://github.com/RadeonOpenCompute/ROCm/issues/1803 ) claim cards that does not appear on this document can play ROCm (at least partially) as well. So I wonder if there is any update on ROCm supported device status.

Please refer to the ROCm Installation Guide for the latest information on supported devices.
https://docs.amd.com/bundle/ROCm-Installation-Guide-v5.2.3/page/Introduction_to_AMD_ROCm_Installation_Guide_for_Linux.html
Let us know if you cannot find the information you need.
ROCm Documentation Team

This makes me even more confused... Supported device on "Prerequisite" section on the installation guide clearly contradict with information listed on "Hardware and software support" document (https://docs.amd.com/bundle/Hardware_and_Software_Reference_Guide/page/Hardware_and_Software_Support.html). For example, RX Vega 64 and Radeon Instinct MI25 are listed as "supported" on "Hardware and software support", but does not appear on installation guide.
By the way, I am using a AMD Radeon Pro WX 9100, which I believe has a "Navi 10" chip, to play ROCm. Neither does it appear on the installation guide.

When can we expect NAVI 22 and 23 support?
ALL current AMD notebook GPUs are NAVI 22/gfx1031 (RX 6700M and RX 6800M) or NAVI 23/gfx1032 (RX 6600M) and a lot of scientific and engineering software development (before investing in very expensive professional hardware based on a proof of concept, tests and benchmarks) and education (engineering and AI) is done on notebooks.
Is it really necessary that everybody preferring AMD hardware has to go through a partial, experimental source compilation enabled only by the enthusiast community to make it work on this widespread hardware?
I don`t get it, buy a CPU and every compiler will support it out of the box or within weeks, buy a GPU and you may have to wait for months or years or forever due to artificially imposed limitations.

Also interested in clear support for Navi 23, in particular on Linux. Here and here and here show my and others' ongoing efforts in making things work on OpenSUSE and other distros.
Using HSA_OVERRIDE_GFX_VERSION=10.3.0 and AMD_LOG_LEVEL=4 shows that the 6700s can work with tensorflow on Tumbleweed, but there are some kinks to work out.
from tensorflow.python.client import device_lib
device_lib.list_local_devices()

2022-07-28 18:40:55.942148: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  SSE3 SSE4.1 SSE4.2 AVX AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.

[name: "/device:CPU:0"
 device_type: "CPU"
 memory_limit: 268435456
 locality {
 }
 incarnation:<PHONE_NUMBER>25071470
 xla_global_id: -1,
 name: "/device:GPU:0"
 device_type: "GPU"
 memory_limit:<PHONE_NUMBER>
 locality {
   bus_id: 1
   links {
     link {
       device_id: 1
       type: "StreamExecutor"
       strength: 1
     }
   }
 }
 incarnation:<PHONE_NUMBER>2745260538
 physical_device_desc: "device: 0, name: AMD Radeon RX 6700S, pci bus id: 0000:03:00.0"
 xla_global_id: 416903419,
 name: "/device:GPU:1"
 device_type: "GPU"
 memory_limit: 300941312
 locality {
   bus_id: 1
   links {
     link {
       type: "StreamExecutor"
       strength: 1
     }
   }
 }
 incarnation:<PHONE_NUMBER>384927665
 physical_device_desc: "device: 1, name: , pci bus id: 0000:07:00.0"
 xla_global_id:<PHONE_NUMBER>]

2022-07-28 18:40:55.945451: I tensorflow/stream_executor/rocm/rocm_gpu_executor.cc:838] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
....
2022-07-28 18:40:55.945930: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1532] Created device /device:GPU:0 with 7676 MB memory:  -> device: 0, name: AMD Radeon RX 6700S, pci bus id: 0000:03:00.0
....
:3:rocdevice.cpp            :416 :<PHONE_NUMBER>86 us: 9631 : [tid:0x7fd0be49e440] Initializing HSA stack.
:3:comgrctx.cpp             :33  :<PHONE_NUMBER>76 us: 9631 : [tid:0x7fd0be49e440] Loading COMGR library.
:3:rocdevice.cpp            :207 :<PHONE_NUMBER>67 us: 9631 : [tid:0x7fd0be49e440] Numa selects cpu agent[0]=0x55c55077abe0(fine=0x55c550751970,coarse=0x55c54ef6a220) for gpu agent=0x55c5531ca1d0
:3:rocdevice.cpp            :1611:<PHONE_NUMBER>59 us: 9631 : [tid:0x7fd0be49e440] HMM support: 1, xnack: 0, direct host access: 0

:4:rocdevice.cpp            :1918:<PHONE_NUMBER>46 us: 9631 : [tid:0x7fd0be49e440] Allocate hsa host memory 0x7fcfb2d00000, size 0x101000
....
:3:rocdevice.cpp            :207 :<PHONE_NUMBER>59 us: 9631 : [tid:0x7fd0be49e440] Numa selects cpu agent[0]=0x55c55077abe0(fine=0x55c550751970,coarse=0x55c54ef6a220) for gpu agent=0x55c5531c6070
....

Please refer to the ROCm Installation Guide for the latest information on supported devices.
https://docs.amd.com/bundle/ROCm-Installation-Guide-v5.2.3/page/Introduction_to_AMD_ROCm_Installation_Guide_for_Linux.html
Let us know if you cannot find the information you need.
ROCm Documentation Team

Hello,
-> page not found
Thanks

https://docs.amd.com/bundle/ROCm-Installation-Guide-v5.2.3/page/How_to_Install_ROCm.html

https://rocm.docs.amd.com/en/docs-5.7.1/release/gpu_os_support.html
https://rocm.docs.amd.com/en/docs-5.7.1/release/windows_support.html


Minor improvements to IceCap documentation

Proudly remove "WIP" designation, and add an additional paragraph about running tests on the Raspberry Pi 4.

@nspin can you rewrite history to sign all of your commits?  Merging is blocked otherwise.

@nspin can you rewrite history to sign all of your commits? Merging is blocked otherwise.

Oops, all done.

+1 reached, merging.