Supporting dynamic shape tensor in sparse_image_warp

Hello,
I am resubmitting this PR here, addons, from the previous PR.
The current version of sparse_image_warp.py only support static shaped tensors.
This PR is for upgrading sparse_image_warp.py to support computations of tensor with dynamic shape.
Updates of sparse_image_warp_test.py is also included.
The functional test is also done with time_warping operation in SpecAugment which requires sparse_image_warp.

LGTM. @comc35, would you mind addressing https://github.com/tensorflow/addons/issues/332 too? I do suppose dynamic shape tensor would benefit unknown shape compatibility. Maybe adding some unittests is necessary to verify the implementations. Many thanks for the contribution!

Hi @comc35, could you update the PR? Thanks.

I'll close this pull request as it has been inactive for a while now. Feel free to comment if you want me to reopen the pull request.

Check https://github.com/tensorflow/io/issues/839#issuecomment-607362644

Any updates on this one @comc35?


Handle unchecked exceptions in SaveLoadManager

We wrapped the IO actions, however there are still unchecked exceptions that can crash the game, e.g. invalid input characters

done in 0.2


Error when trying to bind socket to localhost rather than the loopback IP

I'm having an issue using this project on Linux.
Whenever I try and run the Initialize function, I get the following error:
OSError: [Errno 99] error while attempting to bind on address ('<IP_ADDRESS>', 3333): cannot assign requested address
I believe that I have found the issue which is that when you call WNPRedux._server = serve(WNPRedux._onConnect, 'localhost', port) on line 147 of pywnp.py, you are trying to bind to localhost and not the loopback IP <IP_ADDRESS> which has been known to cause issues on devices with IPv6 disabled/unavailable (See WebSockets: Read the Docs - FAQ)
The easiest way to fix this would be to change localhost to to <IP_ADDRESS>, but another parameter could be added to an overloaded version of the Initialize function to make it more configurable and avert issues if the user isn't using <IP_ADDRESS> as their loopback for whatever reason or allow the use of localhost in IPv6 environments.

Fixed in 1.0.2, added a fourth optional parameter to Initialize to specify the loopback address and changed it to use <IP_ADDRESS> by default


[stable/locust] Using predefined configmap

Is your feature request related to a problem? Please describe.
@haugene The locust.io documentation is good to follow, however, I am running into issues with configmap and it seems that there might be other people struggling as well (https://github.com/locustio/locust/issues/1012).
I am having the same issue, when I create a configmap referring to Python script as instructed, my master pod will fail, saying:
/usr/local/bin/locust -f /locust-tasks/locustfile.py --host=https://host.name/dev --master
[2019-05-30 15:55:46,760] helm-locust-master-6c4765bc9-xx459/ERROR/locust.main: Could not find any locustfile! Ensure file ends in '.py' and see --help for available options.

I suspect that  tasks/tasks.py in
kubectl create configmap locust-worker-configs --from-file tasks/tasks.py
is not right when making a configmap.
Describe the solution you'd like
It would be helpful if the configmap section (https://github.com/helm/charts/pull/10854) was explained a little more concise. For example, is kubectl create configmap locust-worker-configs --from-file path/to/scripts referring to Python scripts (the tasks.py file for example)?
Additional context

I am using my own docker image which has locustfile.py under directory /locust-tasks/
The documentation I am referring to:
https://github.com/helm/charts/tree/master/stable/locust .
Docker image works locally, but not with helm

I've found that if you rename your task file to tasks.py then it will load properly.

I've found that if you rename your task file to tasks.py then it will load properly.

Did you fork the repo, changed tasks.py and then deployed it? That's the way I got it to work.
What I really wanted to do is create a configmap of tasks and then deploy it without ever forking/downloading the locust chart before.


pull request for e2e test at 02/02/2017 01:26:14

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


feat(templates-require-inputs): initial

After we review this, I'll PR it into codelyzer proper

Overview
Angular provides no way to statically mark inputs as required. While AoT compilation runs type checking on inputs, all inputs are still optional, and this can cause errors. This PR adds a templates-require-inputs  rule which allows for more strict checking of component inputs. It operates in two modes, tagged and all-without-defaults
tagged
We parse comments around decorators for jsdoc-like @required tags. If they're present, we'll require that input whenever the component is used.
@Component({
  selector: 'foobar',
  template: '<foobar [foo]="42"></foobar>'
})
class Test {
  /** @required */
  @Input()
  public foo: number;
}

You can also add complex expressions after the @required tag, which are called with the presence of all other inputs as booleans. For example, you can create an input that's only required if some other input isn't passed.
@Component({
  selector: 'foobar',
  template: '<foobar [foo]="42"></foobar>'
})
class Test {
  @Input()
  public foo: number;

  /** @required if !foo */
  @Input()
  public bar: number;
}

Failing to pass a required input here would cause an error like this to be shown:
Component <foobar> is missing input `bar` required when `!foo` (used in file.ts:0)

all-without-defaults
This is a 'strict mode' will cause all inputs which do not have a default property set to be marked as required. The behavior in this mode can be overridden or augmented with @required tags.
In the first example above, foo would have been required even without the explicit tag when running with all-without-defaults.
Limitations
Only usages of components whose declarations are included in the linted files will be linted. There are ways to get around this, but doing so would make linting a whole lot slower; we need to parse the entire project and dependency tree, which tslint only partially does by default when --type-check is used--and not everyone uses or wants to use that.
Also, we can't always show errors by default in the right files, since we can't control tslint's iteration order  and there's no way to put an failure back into a previous file. We keep track of the positions that components are used at so that we can print out the right location, but tslint's default location output may be incorrect.

@connor4312 hi


Revisit Retrieval Pipeline

Task Description
In light of the changes introduced in #51, the design of the retrieval pipeline needs slight adjustment. I did not address this in #51 since I'm not too familiar with how the different operators work and what input they expect.
Roughly, I'd propose the following changes:

[ ] The interfaces org.vitrivr.engine.core.operators.retrieve.Aggregator and org.vitrivr.engine.core.operators.retrieve.Transformer can be replaced by the org.vitrivr.engine.core.operators.general.Transformer interface.
[ ] org.vitrivr.engine.core.operators.general.TransformerFactory probably needs some adjustment, to support both retrieval and extraction. Easiest way would be to make the method newTransformer accept Context as parameter instead of IndexContext.
[ ] Existing retrieval operators need to be adjusted. Special attention should be paid to operators that require a specific ordering of incoming elements (e.g., for temporal scoring).

## Dependencies

May depends on primitives added in #67

Boundary Conditions
None

I assigned this to you @lucaro since you added the existing retrieval operations.

I'll have a look

Added relevant changes in https://github.com/vitrivr/vitrivr-engine/tree/feature/68. @ppanopticon please have a look to see if that is along the lines of what you had in mind.

@ppanopticon any comments?

Looks good to me. If it works we can merge it. I opened PR #71 .


BlockStorage test: Do not create the test folder in cwd

Avoids clashing with whatever the user is doing (e.g. a node could be running).
Instead use the temporary directory, but make sure we only ever write at
one unique location.

Yeah, no more corrupting .cache when doing dmd -run ./tests/runner.d.
Regarding the module, I have in mind to add something for the unittest which provides a testing env (instantiate a ledger, perhaps?). But in the meantime I didn't have a good place to put this function.

Fixed copyright year


remove max space action: experiment to see if github has fixed issues with space

Summary
How was it tested?

Current dependencies on/for this PR:

main

PR #1445   👈

This comment was auto-generated by Graphite.


Duplicate messages when spells wear off

Only noticed a few times in combat, and now when I'm walking around Windurst - freshly upgraded to 0.9.0a

@zach2good I assume you were by yourself? No party members around or anything right?
This one might be a bit trickier to nail down, will try to replicate.

Yeah I've only seen this one while fighting stuff with trusts

I believe I know what's causing this, when different effects wear off at the same time it's interpreting it as a multi-target and trying to condense them, it might been a busy present on the original Battlemod, I'll see what I can do to fix it.
The reason it only happens with trusts is cause they are able to apply buffs rapidly, contrary to players.
Will do some tests and if I'm right fix it.

@zach2good I'm going to need more info to accurately replicate the issue.
Would you be able to track down which buffs wearing out are causing this please?

Can do 👍
On Mon, Jun 27, 2022, 15:44 Spike2D @.***> wrote:

@zach2good https://github.com/zach2good I'm going to need more info to
accurately replicate the issue.
Would you be able to track down which buffs wearing out are causing this
please?
—
Reply to this email directly, view it on GitHub
https://github.com/Spike2D/SimpleLog/issues/6#issuecomment-1167306475,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKTJIIGMRBADT7FJ2GZIR3VRGOY7ANCNFSM5Z4MF5PA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Not very easy to repro, just caught this by chance:

Play an Ambuscade V2 with Trusts, Yoran-Oran healing and providing Protect+Shell, while talking to the rewards NPC afterwards, got the message

I haven't been able to successfully replicate this, however I'll modify the code to avoid duplicated packets, and see if that solves it, might need some testing on your side Zach, it will be pushed with some more changes to how SimpleLog works with 0x029 packets.

Please see if you can reproduce in 0.10.1b, just released.

Well, I've tested with the 0.10.1b and it is kinda intermitent but it is still happening. As you can see, sometimes it duplicates a single(in red) message and some times it duplicates a batch(in orange) of messages.

For what its worth I want to say that this happens to me as well, and kind of a lot, and to add something here it happens to me with or without that setting in the GUI that seems to describe trying to prevent this. Unsure if programos has that on or not but doesn't seem to matter for me this happens either way

@GetAwayCoxn Could you share a screenshot of it as well please?

Sure thing I can get some tonight I'm sure but they will look pretty much exactly like what programos shared here. In fact if you look at his SS there are more examples in that SS then they highlighted. Look at the Blade: Retsu, and the Blade: Jin, and the ranged attack that missed him. I see tons of battle related duplicates like this all the time, doesnt seem to happen with non battle related messages that I've noticed so far though. I see what data I can gather tonight.

Ok sorry for spamming you guys with github notifications, but a couple of SS's for you, see my prior comment though

I cut off the players names as i don't have their permission to post but my char name is w/e. As you can scroll and see, a lot of just duplicate non sense, all battle related. I am only posting to try and contribute to the evidence to find a solution, cheers ~

Don't worry about the spam, funny enough, I think this is a separate issue all together, did it just began with the new release or was it happening prior to it?
Thanks for the report

Been happening for as long as I can remember but never felt I had enough information to create an issue on it. Kind of got used to it and then I saw this issue opened by programos and thought, well maybe it could be related so figured I'd mention it now.

Thorny was answering someone else's issue on Discord the other day. A user was having this same/similar problem on ashita v3 battlemod using Farmboy's shim. Thorny mentioned duplicate packets is causing this? I am mentioning only to try and provide more context into whats going on here. Link to the short discord convo:
https://discord.com/channels/264673946257850368/664782430355324939/1000353974140030998

Yeah that's correct, the culprit is duplicated packets, the reason we don't see this issue on windower is because windower handle duplication itself.
I didn't had the time to work on this sadly (summer time) but as soon as I can I'll implement a duplication prevention bit to the code and that should fix the issue.

Fixed with 1.0 release.
Fix by pogramos.
I'll close this for the time being.


Populate env from .env file

Here's the implementation of parsing .env file:
{ lib, file }:
let
  parseLine = line: let
      parts = builtins.match "(.+) *= *(.+)" line;
    in
      if (!builtins.isNull parts) && (builtins.length parts) == 2 then
        { name = builtins.elemAt parts 0; value = builtins.elemAt parts 1; }
      else
        null;

  parseEnvFile = content: builtins.listToAttrs (lib.filter (x: !builtins.isNull x) (map parseLine (lib.splitString "\n" content)));

  envContent = builtins.readFile file;
in
  parseEnvFile envContent

You'd use it something like:
{ lib, ... }:

{
  env = import ./parse-env.nix { inherit lib; file = ./.env; };
}

NOTES:

doesn't support multiline values
doesn't support comments

This would be a good feature to have; perhaps enabled by an option like envfile.enable = true.  The documentation could call out the limitations.

Planning to do this one next.


[fix] Two apparent security issues

Method hasUserRole (although it appears to be dead code at the moment) currently always returns true
There appears to exist some confusion between ROLES_CLAIM and BUSINESS_PARTNER_ROLES_CLAIM in JeapAuthenticationConverter.java (although it's hard to be sure, absent a spec)

Thanks for the comments. We corrected these 2 Issues in the current version.

Force-pushing to master wipes out all history, and makes it difficult to review changes. Please don't.


seperate battery values

Existing sensor definitions can be found here
Details about your Inverter: make/model/firmware
Sunsynk 5kw ecco
2 x sunsynk 5.1kwh IP65 batteries
I am pretty sure I need to update my version of the integration, but not sure that will help.
A clear and concise description of what the bug is.
Not sure if a bug or feature request.
But I have seen Bat1 SOC in the definitions file 'Sensor(603, "Bat1 SOC", "%"),' I copied it to my local definitions, but it always reads empty.
I have gone through 0-700 registers, and had a glance, and I can see 316 tracks similar to the battery SOC.
But I still can't find values for the 2 different batteries.
Any ideas what registers would show this, or if there is a way to read the battery BMS SOC's through this integration?
Any suggestions on proposed registers is welcome.
Logs (if applicable)
I don't think the log files are relevant, but there are a few errors in them, so attached in case they are any use to you.

paste logs in 3x backticks...
[4bb530c7_hass-addon-sunsynk-multi_2023-12-06T09-22-46.130Z.log](https://github.com/kellerza/sunsynk/files/13578952/4bb530c7_hass-addon-sunsynk-multi_2023-12-06T09-22-46.130Z.log)

These definitions come from the Sunsynk protocol document, but I’ve never managed to get individual battery stats on my Sunsynk either
I suspect the only way would be to interrogate the batteries directly via some other method

Slightly relatedly, I've been talking to the Solar Assistant guys about something like this. Even with an RS232 cable plugged straight into one of the Sunsynk batteries, it only gets the value of the battery it's plugged into...

Undocumented stuff? Say it ain't so ;)
I get barely anything there for my batteries

Hello Kellerza,
You're my savior after days and days of testing, errors, testing, errors, testing, errors. But the good thing is, you always learn a lot. So a fantastic software. Thanks.
I can't explain it, but the System Working Mode (Work Mode 2) doesn't seem to be working as expected. When I set it to "on" for grid charge, the watts I set are not being used. This issue doesn't seem to be related to your fantastic software. Even manually setting it directly on the Deye Sun-12K or using the Deye Cloud has no impact on this. Discharge works fine, is only for charging!
The only way for me to control the wattage is in the Battery Setting (Batt Set2), where I change the amps using the rough calculation of Amps x average Voltage (approximately 53V), which works fine. Since this Deye inverter is only for charging/ischarging my 20.48kWh rack as a base load system (no PV on this inverter), I can play with the time and have a fixed value (at a given time, 80A). In Node-Red, I can play with time instead of the wattage, but it would be nice to control this parameter directly.
Is there a way to change the values in the Batt Set2 (see pic)?
Thanks and greetings from Munich and Oslo

I found this from the first issue in this tread... in the code this:
#############
Inverter settings
#############
SENSORS += NumberRWSensor(230, "Grid Charge Battery current", AMPS, min=0, max=185)
Looks what I'm looking for?
If yes how can I use it in the config yaml in the app in HA?
Thx
Per

@europer you can add that line as a custom sensor - https://kellerza.github.io/sunsynk/reference/mysensors
You can see the registers mappings used today in the definitions.py file.
For other possible register values, take a look at #59 for the single phase inverter

@kellerza
thanks....what a great program. I got the custom sensor to work but I did find this in the main program and that was what I wantend, so now I can controll the Grid Charge Battery Current, just putted into the config yaml file and can now R/W what is perfect for estimating needed Watt for a time frame.
Thanks again :)
Per
#############
Inverter settings
#############
SENSORS += NumberRWSensor(230, "Grid Charge Battery current", AMPS, min=0, max=185)
SENSORS += NumberRWSensor(210, "Battery Max Charge current", AMPS, min=0, max=185)
SENSORS += NumberRWSensor(211, "Battery Max Discharge current", AMPS, min=0, max=185)

@europer I only have a 1-ph inverter, so it is very likely that I've added more sensors to the 1-ph definitions and that 3-ph is not in sync.
If you do find some of these that works in your mysensors.py and are not present in definition3ph.py, do you mind creating a PR to add them? (If you add only modify a single file you can do it all via the web, no need for git etc.)

Sure I will :) happy new year 🍾🥳🎉
And again thx for a fantastic software your giving to the community
Per

Just a stupid question from my side, can you rewrite it, since I did not understand 100% what you mean "do you mind creating a PR to add them? (If you add only modify a single file you can do it all via the web, no need for git etc.)" You mean email you? (But also here of course 😀)

PR=Pull request
You simply go to the file on the web interface, then "edit" it (it might ask you to create your own fork etc) and once you've done adding (comitting) the changes you have the option to create a Pull Request. The Pull request then gets added to the main software and you become a contributor to the project

Thx, never done it but will do it. Cool, have a good start in 2024.
Cheers
Per

I have just found the sunsynk modbus document
file:///C:/Users/wadech/Downloads/MODBUS_RTU_1P.pdf
and can see a list of 15 battery pack details, So I am trying values 603 and 617, but not sure if these should be factored by any amount, and how best to tell.
I wondered if the 0.1 meant a factor, but not sure?

Not all the registers are supported by all firmware versions. You could always try to update your Inverter firmware...
Mine is also 0 for other battery registers


dont receive the email to verify my email

Actions before raising this issue

[X] I searched the existing issues and did not find anything similar.
[X] I read/searched the docs

Steps to Reproduce
created account with my email<EMAIL_ADDRESS>but im unable to log in because ive still havent receive the email to confirm my own email.
been waiting for a long time to receive it, checked all email folders (like spam, unwanted and so), and still nothing.
Please help
Expected Behavior
No response
Possible Solution
No response
Context
No response
Environment
No response

Hi,
I see that 3 emails were sent on your email address. As reported, they were delivered by you didn't open them. Please check it on your side.
I have manually verified your account. You should be able to login. Have a great day!


Support for choosing upstream websocket by path

This PR would allow consumers to choose which upstream host to send the websocket request to.

Hi @damianh, are you available to review this PR? It's a fairly small change we need for a project.

Thanks for PR @bhameyie .
I'm going to tweak how websockets is configured (to allow header interception/rewrites).


Shift-left the functional test framework

Summary
Shift-left this framewark
Motivation
Faster to write more robust tests.
Proposal
	cancel, f := newFixture()
	defer cancel()
	f.Create(`
apiVersion: v1alpha1
kind: Workflow
metadata:
  name: my-wf
  namespace: my-ns
spec:
  entrypoint: main
  templates:
  - name: main
    dag:
      tasks:
      - name: step-1
        template: child
  - name: child
    container:
      image: my-image
    outputs:
      parameters:
      - name: my-param
        valueFrom:
          path: /my-path
`).
		Reconcile().
		Merge(`
kind: Pod
metadata:
  name: ...
  annotations:
    workflows.argoproj.io/outputs: "{...}"
`).
		Reconcile().
		Expect(func(wf *wfv1.Workflow) {
			assert.Equal(t, wfv1.NodeSucceeded, wf.Status.Phase)

		})

Message from the maintainers:
If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.

This is basically underway incrementally.


Add a link to the settings description from the default settings.json

In the header:

add:
See http://go.microsoft.com/fwlink/?LinkId=808995 for the most commonly used settings.
@seanmcbreen pls chime in with regards to words.

added the links, polished all labels,


Simplified MessageReferenceCallback in a common lambda

The allocations are now super good (on par with core protocol!!!!) but ConcurrentLinkedQueue::Node
that would disappear by using JCTools probably.
I see that HandlerBase could be reverted to use ThreadLocal, because it is more performant, but I can point it in the final review too: super good work!!!!!


A broken link in the RxJava interoperability documentation section (in vertx-lang-kotlin-coroutines doc page)

The link Guide to reactive streams with coroutines in the RxJava interoperability is broken.
Doc link: https://vertx.io/docs/vertx-lang-kotlin-coroutines/kotlin/#_rxjava_interoperability
Broken link: RxJava interoperability
Version: 4.0.0

@jtonic thanks for reporting it.

@jtonic thanks for reporting it.

Closed in https://github.com/vert-x3/vertx-lang-kotlin/commit/2541c409b8561ebdab90ea0109f75269c17d2534 and https://github.com/vert-x3/vertx-lang-kotlin/commit/9307474b914d17489952a7acee81ba6584a40a7e

Closed in https://github.com/vert-x3/vertx-lang-kotlin/commit/2541c409b8561ebdab90ea0109f75269c17d2534 and https://github.com/vert-x3/vertx-lang-kotlin/commit/9307474b914d17489952a7acee81ba6584a40a7e


Homepage: implement web sockets

@He1DAr I am lost with this one. Would you mind adding a description, please?


Error after launching app - Found interface com.google.android.gms.location.FusedLocationProviderClient

Your Environment

Plugin version: 5.2.1
Platform: Android
Device OS version: every android versions
Device manufacturer / model: every device with androiv
XCode version:
Capacitor info (npx cap doctor):

💊   Capacitor Doctor  💊

Latest Dependencies:

  @capacitor/cli: 5.4.2
  @capacitor/core: 5.4.2
  @capacitor/android: 5.4.2
  @capacitor/ios: 5.4.2

Installed Dependencies:

  @capacitor/cli: 5.4.2
  @capacitor/core: 5.4.2
  @capacitor/android: 5.4.2
  @capacitor/ios: 5.4.2

[success] iOS looking great! 👌
[success] Android looking great! 👌

Plugin config provided to #ready:

			desiredAccuracy: BackgroundGeolocation.DESIRED_ACCURACY_HIGH,
			reset: true,
			logLevel: BackgroundGeolocation.LOG_LEVEL_VERBOSE,
			heartbeatInterval: 60,
			preventSuspend: true,
			debug: false,
			fastestLocationUpdateInterval: 10000,
			stopOnTerminate: false,
			showsBackgroundLocationIndicator: true,
			startOnBoot: true,
			persistMode: BackgroundGeolocation.PERSIST_MODE_ALL,
			extras: {
				...params,
				os,
			},
			headers: {
				'x-api-key': 'some-key',
			},
			params: {
				...params,
				os
			},
			locationAuthorizationRequest: 'Always',
			disableLocationAuthorizationAlert: false,
			url: ApiRoutes.COORDS.updateCoords,
			backgroundPermissionRationale: {
				title: 'Some title',
				message: 'Some message',
				positiveAction: 'Zmień na "{backgroundPermissionOptionLabel}"',
				negativeAction: 'Anuluj'
			},
			autoSync: true,
			batchSync: false,

Expected Behavior

App should not crash
Actual Behavior
App crashes after accepting locations permissions with error listen below in logs
Steps to Reproduce

Context

Changed versions of plugin, looking in google for solution and found some similar issue for flutter plugin of transistorsoft but nothing from there helped me
Debug logs

Logs
E  FATAL EXCEPTION: pool-8-thread-4
	Process: io.hublock.truck.drive, PID: 11578
	java.lang.IncompatibleClassChangeError: Found interface com.google.android.gms.location.FusedLocationProviderClient, but class was expected (declaration of 'com.google.android.gms.location.FusedLocationProviderClient' appears in /data/app/~~PTCkVZQ2xYO1hddvO3mB2w==/io.hublock.truck.drive-Vg0R_0x-hXMVfmfNb8WFuA==/base.apk)
		at com.transistorsoft.locationmanager.location.SingleLocationRequest.startUpdatingLocation(Unknown Source:129)
		at com.transistorsoft.locationmanager.service.LocationRequestService.handleStartAction(Unknown Source:78)
		at com.transistorsoft.locationmanager.service.LocationRequestService.access$200(Unknown Source:0)
		at com.transistorsoft.locationmanager.service.LocationRequestService$a.run(Unknown Source:62)
		at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
		at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
		at java.lang.Thread.run(Thread.java:923)
E  Instabug Caught an Unhandled Exception: java.lang.IncompatibleClassChangeError
	java.lang.IncompatibleClassChangeError: Found interface com.google.android.gms.location.FusedLocationProviderClient, but class was expected (declaration of 'com.google.android.gms.location.FusedLocationProviderClient' appears in /data/app/~~PTCkVZQ2xYO1hddvO3mB2w==/io.hublock.truck.drive-Vg0R_0x-hXMVfmfNb8WFuA==/base.apk)
		at com.transistorsoft.locationmanager.location.SingleLocationRequest.startUpdatingLocation(Unknown Source:129)
		at com.transistorsoft.locationmanager.service.LocationRequestService.handleStartAction(Unknown Source:78)
		at com.transistorsoft.locationmanager.service.LocationRequestService.access$200(Unknown Source:0)
		at com.transistorsoft.locationmanager.service.LocationRequestService$a.run(Unknown Source:62)
		at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
		at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
		at java.lang.Thread.run(Thread.java:923)
E  Can't detect ANR because InstabugANRDetector thread was interrupted.
E  Can't detect Fatal Hangs because the app went to the background.
E  InstabugUncaughtExceptionHandler Caught an Unhandled Exception: java.lang.IncompatibleClassChangeError
	java.lang.IncompatibleClassChangeError: Found interface com.google.android.gms.location.FusedLocationProviderClient, but class was expected (declaration of 'com.google.android.gms.location.FusedLocationProviderClient' appears in /data/app/~~PTCkVZQ2xYO1hddvO3mB2w==/io.hublock.truck.drive-Vg0R_0x-hXMVfmfNb8WFuA==/base.apk)
		at com.transistorsoft.locationmanager.location.SingleLocationRequest.startUpdatingLocation(Unknown Source:129)
		at com.transistorsoft.locationmanager.service.LocationRequestService.handleStartAction(Unknown Source:78)
		at com.transistorsoft.locationmanager.service.LocationRequestService.access$200(Unknown Source:0)
		at com.transistorsoft.locationmanager.service.LocationRequestService$a.run(Unknown Source:62)
		at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
		at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
		at java.lang.Thread.run(Thread.java:923)
E  CrashReporting InstabugUncaughtExceptionHandler Caught an Unhandled Exception: java.lang.IncompatibleClassChangeError
	java.lang.IncompatibleClassChangeError: Found interface com.google.android.gms.location.FusedLocationProviderClient, but class was expected (declaration of 'com.google.android.gms.location.FusedLocationProviderClient' appears in /data/app/~~PTCkVZQ2xYO1hddvO3mB2w==/io.hublock.truck.drive-Vg0R_0x-hXMVfmfNb8WFuA==/base.apk)
		at com.transistorsoft.locationmanager.location.SingleLocationRequest.startUpdatingLocation(Unknown Source:129)
		at com.transistorsoft.locationmanager.service.LocationRequestService.handleStartAction(Unknown Source:78)
		at com.transistorsoft.locationmanager.service.LocationRequestService.access$200(Unknown Source:0)
		at com.transistorsoft.locationmanager.service.LocationRequestService$a.run(Unknown Source:62)
		at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
		at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
		at java.lang.Thread.run(Thread.java:923)

Duplicate #173.  This has been posted many times before.  Please search before posting.


Question: how to properly install ign_ros2_control

Hi @AndrejOrsula, thanks for the repository. I'm trying to check how description works with ignition and faces dependencies issue.
Following your readme we need to build "ign_ros2_control":

Build a version based on the selected combination of ROS 2 release and Ignition version

I'm using ROS2 Galactic and ignition fortress, I was checking out https://github.com/ignitionrobotics/ign_ros2_control/tree/ahcorde/galactic/ign_ros2_control branch and could build the workspace with ign_ros2_control and panda_ign_moveit2
However sourcing install/setup.bash, I see not found: "/ws/ros2_ws/install/share/ignition_ros2_control/local_setup.bash" and executing:
ros2 launch panda_description view_ign.launch.py

Captured stderr output: error: package not found: "package 'panda_moveit_config' not found, searching: ['/ws/ros2_ws/install', '/opt/ros/galactic', ]"
when processing file: /ws/ros2_ws/install/share/panda_description/urdf/panda.urdf.xacro

Looks like missing ignition_ros2_control/local_setup.bash failed to source panda_ign_moveit2.
Any advices on how to make everything work, please ? Thank
EDIT:
without installing at all ign-ros2-control and executing view_ign.launch.py, I see [Err] [SystemLoader.cc:66] Failed to load system plugin [ignition_ros2_control-system] : couldn't find shared library. and gazebo shows the arm.

Hello @vfdev-5 ,

Captured stderr output: error: package not found: "package 'panda_moveit_config' not found, searching: ['/ws/ros2_ws/install', '/opt/ros/galactic', ]"
when processing file: /ws/ros2_ws/install/share/panda_description/urdf/panda.urdf.xacro

It is quite strange that panda_moveit_config cannot be found when processing xacro from panda_description, as they are both part of the same repository (and same build). Both ros2 pkg prefix --share panda_description and ros2 pkg prefix --share panda_moveit_config should point to the same install share. When building with colcon, is there a chance that there was some build error or the package itself was skipped altogether?

However sourcing install/setup.bash, I see not found: "/ws/ros2_ws/install/share/ignition_ros2_control/local_setup.bash" ...
...
Looks like missing ignition_ros2_control/local_setup.bash failed to source panda_ign_moveit2.

I have not experience this issue yet. However, I feel like this suggests that there is something broken in the build of your workspace. More specifically, an error when building ignition_ros2_control, e.g. unset IGNITION_VERSION which would lead to missing ignition dependencies (just a guess).
It is also very strange that missing ignition_ros2_control/local_setup.bash would allow panda_description to be sourced while panda_moveit_config is not.

without installing at all ign-ros2-control and executing view_ign.launch.py, I see [Err] [SystemLoader.cc:66] Failed to load > system plugin [ignition_ros2_control-system] : couldn't find shared library. and gazebo shows the arm.

Yes, that is to be expected. If you don't want that to happen, you could set ros2_control arg in xacro2sdf.bash to false and execute it. However, the arm would then be without any control and just flop over to the ground.

I am currently using AndrejOrsula/ign_ros2_control:fortress_rolling. I have not tried to use ignitionrobotics/ign_ros2_control:ahcorde/galactic/ign_ros2_control yet, but I will give it a try now and let you know if I see any issues with it.

When building something new or developing, I generally use a separate workspace for each package (or a small group of related packages) to isolate possible problem. To source everything, I usually place source /opt/ros/${ROS_DISTRO}/setup.bash followed by source */install//local_setup.bash into a custom setup script (which can then be used in ~/.bashrc). I don't know whether it's the proper way of doing things, but it might help to isolate potential origin of issue.

Thanks a lot for the reply @AndrejOrsula !
Yes, as you suggested the main issue actually is that I couldn't build ign_ros2_control plugin library. Colcon does not show clearly (in red) in the end that something is wrong and I thought that everything is OK.
Looks like debian packages for ros2_control (ros-galactic-ros2-control) for galactic are somehow old and https://github.com/ignitionrobotics/ign_ros2_control/tree/ahcorde/galactic/ign_ros2_control assumes a newer api and thus shared plugin libignition_ros2_control-system.so build is failed.
I think my issue with panda_moveit_config is related to missing deps like ros-galactic-moveit ros-galactic-moveit-servo.
I close the issue as unrelated to your work. Thanks again for detailed analysis and hints

Just a follow-up. I tested ignitionrobotics/ign_ros2_control:ahcorde/galactic/ign_ros2_control, and it works fine on rolling (should/will work fine on galactic too).

Regarding missing moveit/moveit_servo, they are both listed under panda_moveit_config/package.xml#L20-L21. If they do not get installed through rosdep install, then there is some bug.

Below are the direct dependencies that I am currently using:

ros2_control - 1.3.0
ros2_controller - AndrejOrsula/ros2_controllers:jtc_effort

Needed for effort-only command interface, which is currently the default in the examples as both position and velocity bypass the physics
not my commits

ignition_ros2_control - Either AndrejOrsula/ign_ros2_control:fortress_rolling or ignitionrobotics/ign_ros2_control:ahcorde/galactic/ign_ros2_control work fine as mentioned above
moveit2 - AndrejOrsula/moveit2:ign_sim_time

Only needed if you want to plan path while the simulation is paused (otherwise it never times out)
not my commits

Yes, rebuilding from source ros2_control + ign_ros2_control:ahcorde/galactic/ign_ros2_control solves the problem of failing colcon 👍  Thanks for the confirmation!
That's true that moveit/moveit_servo are in package.xml. I just prefered to install everything manually.
A side question on "best-practices", have you tried or are you using a remote large machine for building/executing (even inside a docker container) and a small machine with VNC to visualize Gazebo, RViz etc ?
In my case, using a remote machine and VNC, running both Gazebo and RViz2 make everything freeze :(

I have not tried running VNC to view a session of Ignition Gazebo client or RViz2 running on another machine. In case both machines are on the same local network, then running Gazebo client or RViz locally on your laptop is probably the easiest (topics via ignition transport or ROS 2). If they are not on the same network then I suppose VPN could be used (I have not tried that)? There are also some projects that provide web browser-based viewers, but I have not looked into them so not sure what are their requirements and how much they support.
Regarding work on a remote machine, I have been running long-duration simulations using Ignition Gazebo inside Docker. However, I never needed to see the client / RViZ - so I was running everything headless. (It was not truly headless because display for Ignition sensors was still required until recently. Now there is support for EGL, so it should work completely headless - although I have not tried it yet.)
I am no expert in this topic though. I think I came across some threads that discuss this on ROS discourse or Gazebo community/answers, so you might find some better answers there.


Local pull request success status testing

Docs Build status updates of commit 4c5e9df:
:clock10: Pending: waiting for processors (9 builds ahead of you)
:warning: Docs Build is busy, currently there are 9 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 4c5e9df:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

E2E_DocsBranch_Dynamic/index.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Add regex to match the story's kind

What do you guys think about having these two config options: storyKindRegex and storyNameRegex instead of the current storyRegex?
storyNameRegex would behave just as the existing storyRegex, while storyKindRegex would match against the story's kind, giving users more flexibility.
For example, it could be used to solve #84 doing something like this:
// SomeComponent.stories.js

// ...
storiesOf('SomeComponent', module)
    .add('foo', () => {
        // ...
    });

// SomeComponent.test.js

import initStoryshots from 'storyshots';

initStoryshots({
  storyKindRegex: /^SomeComponent$/,
});

Which will cause storyshots (or jest actually) to output a __snapshots__ directory colocated with the component and with just its storyshots.
If you think it is a good idea, I'm happy to submit a PR!

I guess I'm submitting the PR anyway, it's simple enough and I need it for my projects.

Why not just writing snapshots next to the stories file? W/o dummy regexp for each component.


Standard users (as "cluster owner"/"project owner") are not allowed to create/ list certificates/registry/secrets.

Rancher server version  - v2.0.0-alpha19
Steps to reproduce the problem:
As admin , Create a cluster - C1.
In cluster c1 , default project - create a certificate.
Create user - test1 as standard user.
Make user - test1 as cluster owner of c1.
Log in as test1. Create cluster -c2.
In cluster c2 , default project - try to create "Certificate" . Certificate creation fails with - "secrets is forbidden: User "user-7b52z" cannot create secrets in the namespace "project-p29fb"".
The same behavior is also seen with registry and secrets.
Also test1 is not able to list any of registry/secrets/certificates that are in cluster C1's default project.

Tested with latest build from master
As standard user ( both as cluster owner and project owner) able to  crud certificates/registry/secrets.
Also able to list certificates/registry/secrets created by other users.


Unable to run example with continueOn: Unknown field continueOn

Is this a BUG REPORT or FEATURE REQUEST?:
BUG REPORT
What happened:
Failed to parse workflow: error unmarshaling JSON: while decoding JSON: json: unknown field "continueOn"

What you expected to happen:
I am able to include continueOn in my Workflow.
How to reproduce it (as minimally and precisely as possible):
argo submit https://raw.githubusercontent.com/argoproj/argo/master/examples/continue-on-fail.yaml

Anything else we need to know?:
Doesn't work for either of steps and dag
Environment:

Argo version:

$ argo version

argo: v2.2.1
  BuildDate: 2018-10-11T16:26:28Z
  GitCommit: 3b52b26190163d1f72f3aef1a39f9f291378dafb
  GitTreeState: clean
  GitTag: v2.2.1
  GoVersion: go1.10.3
  Compiler: gc
  Platform: linux/amd64

Kubernetes version :

$ kubectl version -o yaml

clientVersion:
  buildDate: 2018-10-10T16:38:01Z
  compiler: gc
  gitCommit: d4cacc0
  gitTreeState: clean
  gitVersion: v1.11.0+d4cacc0
  goVersion: go1.10.3
  major: "1"
  minor: 11+
  platform: linux/amd64
serverVersion:
  buildDate: 2019-08-01T13:19:47Z
  compiler: gc
  gitCommit: d4cacc0
  gitTreeState: clean
  gitVersion: v1.11.0+d4cacc0
  goVersion: go1.10.8
  major: "1"
  minor: 11+
  platform: linux/amd64

Other debugging information (if applicable):
Failed to parse workflow: error unmarshaling JSON: while decoding JSON: json: unknown field "continueOn"

Update your CLI to version 2.3. This version doesn't have that bug 😉

Nice! Thanks!


Build fails due to API changes

The build fails while compiling ResNet and ResNetv2 since useBias: false is used. By simply removing this argument, this should be fixed right ? I'd like to open a simple PR fix for this.

useBias by default is true. Removing the argument would make it true so I don't think that's desirable.

Right now both the variants of ResNet use Conv2D(filterShape:, strides:, padding:, ) as their initialize call, which has the default argument of biasInitializer:zeros(), so technically that's the equivalent of useBias: false, right ? @Shashi456

I'm referring to this call: https://www.tensorflow.org/swift/api_docs/Structs/Conv2D#initfiltershape:strides:padding:dilations:activation:filterinitializer:biasinitializer:

@vballoli zeros just initializes the bias variable to a tensor of zeros.

Oh yeah, I just realized it, my bad. Misread bias != nil for the initializer call. useBias was added later on by @sgugger. I guess a rebuild should fix it! Thanks a lot!! @Shashi456

I'll also point out that if you're seeing this in Colab, that's because we made this change in anticipation of Colab being updated with the 0.8 toolchain quickly. We hit a slight delay on that, but still expect the 0.8 toolchain to go live in Colab any day now. This API mismatch will be resolved in Colab once that happens. You can switch to the "tensorflow-0.7" branch of swift-models if you need to work in Colab before the new toolchain is live.


Rustup

@bors r+

:pushpin: Commit 76503978b752e33e5efcfe90235f723becdbf545 has been approved by RalfJung
It is now in the queue for this repository.

:hourglass: Testing commit 76503978b752e33e5efcfe90235f723becdbf545 with merge 4f8b3efa98368d16fc79bb230253ef4d55f38f42...

:sunny: Test successful - checks-actions
Approved by: RalfJung
Pushing 4f8b3efa98368d16fc79bb230253ef4d55f38f42 to master...


Implement RFE #630

Since #630 is about to be closed due to staleness, I went ahead and implemented the minor change suggested in the RFE.
Summary of changes
Remove the superfluous MPI_Barrier() that is called during the execution of a FORM TEAM statement.
Rationale for changes
MPI_Comm_split() alone is sufficient to provide image ordering semantics required by an image control statement like FORM TEAM.
This pull request (PR) is a:

[ ] Bug fix
[ ] Feature addition
[X] Other, Please describe: optimization

I certify that

[X] I certify that:

I have reviewed and followed the [contributing guidelines]
I will wait at least 24 hours before self-approving the PR to give another
OpenCoarrays developer a chance to review my proposed code
I have not introduced errant white space (no trailing white space or white space errors may
be introduced)
I have added an explanation of what these changes do and why they should be included
I have checked to ensure there aren't other open [Pull Requests] for the same change
I have you written new tests for these changes
I have successfully tested these changes locally
I have commented any non-trivial, non-obvious code changes
The commits are logically atomic, self consistent and coherent
The [commit messages] follow [best practices]
Test coverage is maintained or increased after this is merged

I'm still investigating the CAF_COMM_WORLD stuff, but I'm going to merge this since it's orthogonal to my concerns.


Destroy is not working (Remove event listeners)

Hi,
I created the listeners for drop events :
Vue.vueDragula.eventBus.$on("drop", function (args) {...
I add the listener when the component is mounted, now I want to remove the listener when its destroyed.
How can I remove the listeners.
drake.destroy is the original method, I tried the following, but it didnt work:
 Vue.vueDragula.destroy()
or
var bag = Vue.vueDragula.find("questions-bag"); bag.drake.destroy();

The directive will call destroy on unbind.
you can remove bus listener with Vue.vueDragula.eventBus.$off("drop", fn)


Failed to start Keyword and Dictation recognizer

Describe the bug
I'm following the "Getting started with MRTK" guide on https://microsoft.github.io/MixedRealityToolkit-Unity/Documentation/GettingStartedWithTheMRTK.html, and I'm facing some errors when I run the example scene HandInteractionExamples.
To reproduce
Steps to reproduce the behavior:

Run the scene named HandInteractionExamples

Expected behavior
No error on the console
Screenshots

Your Setup (please complete the following information)

Unity Version 2018.3.7f1
MRTK Version v2.0.0 RC1

Target Platform (please complete the following information)

Simulation on Unity (first)
HoloLens (later)

Additional context
I have installed Windows SDK 18362 as it is said in the guide.

Oddly enough, I thought we made some changes here to make these non-critical. We'll double check what's going on here.
If you don't need the voice/speech stuff and want to check out the other things, you can do the following to workaround this issue:

Basically press those little things that don't look like buttons but actually are, they will remove the speech/dictation stuff from the system.

How do I access to this window?

@mattandria , please see instructions below

Select "MixedRealityToolkit" object in your scene and make sure the Unity Inspector window is open
Select "Input" tab on left hand side
Select "Input Data Providers" which opens foldout
Follow Will's instructions above for rest

@Troy-Ferrell thank you, I found it and I have disabled Dictation and Speech Input.
Now the scene is working !!!!

I don't think we can guarantee that every system will have correctly set up privacy/speech settings to make the underlying Unity Dictation/Keyword APIs work - nevertheless, we should just not die when this happens.

Adding Urgency-Now tag because it is completely blocking partners at hack weeks with no known workarounds. They have updated to RC2 release.

This is completely blocking partners because they want to use speech input but have no way to test this in the editor.

I've tried to repro this one on the recent version of mrtk_development and it seems to be fixed. Errors with dictation and keyword recognizer are not fatal after #4498 .

@julenka no change needed on mrtk_dev, but I can keep this issue open until you confirm nobody is blocked by this (in case fix needs to be cherry-picked from dev branch).
@mattandria I saw that you are unblocked by now, but in case you need dictation/speech functionality, this issue is fixed in mrtk_development branch.

Closing this out based on @googlan's latest comments. Feel free to reopen with updated information if this is still a problem.


IPThermostatWall230V Class for HmIP-BWTH outdated

Hi @danielperna84 ,
the IPThermostatWall230V class for the HmIP-BWTH seems to be outdated. I can see the temperature & humidity and change the temperature but not the modes.
If I change the class for the HmIP-BWTH to IPThermostatWall2
"HmIP-BWTH": IPThermostatWall2
it works fine. Obviously there are errors for the OPERATING_VOLTAGE and LOW_BAT as there is none.
Is there a nice way to use the IPThermostatWall2 class and just remove the HelperLowBatIP.
thanks for your work and support!

As far as I can see only the HmIP-BWTH and HmIP-BWTH24 are using the IPThermostatWall230V. So you could simply add to that class what is missing. Probably add IPAreaThermostat to the inheritance chain, and rebuild mode-related stuff to match how IPThermostatWall2 does it.


Issue with zIndex is causing user experience issues

The zIndex is causing elements of the page to appear in front of PayPal Checkout. This is happening on the developer test site.
I have tested this on Chrome Desktop and Mobile.

Fixed and pushed. Please clean your cache and you should see the fix.


Incompatible with Chrome OS

Due to having to activate Password Alert by signing into https://accounts.google.com (Not possible to do on Chrome OS, as you are already logged into your Google Account), you cannot activate it on Chrome OS.

Have you attempted to change the SSO URL from the managed policy to another site?


New GIF demo

Delete the current demo and create a new one.
Requirements
Mandatory

Use PowerShell Core, not ISE
Use docker as the name of docker cli
Show completion for management commands
Show completion for subcommands
Show completion for options
Show completion for command/option arguments

Optional

Use d as the alias of docker cli (in this case, add an another file like "demo-alias.gif")
Show "Tab" being pressed at least once to clarify how to trigger completion
Show "Ctrl + Space" being pressed at least once to clarify how to trigger completion as a list

+1 for alias completion.

I suspect that I can achieve that creating ps1 file

You do not need to do that  :)
Please check the issue #1

oh, niiiice! thanks!

Any clue why this works only right after installation, but doesnt work anymore if I restart powershell?

@NikoTurunen Did you run Import-Module DockerCompletion after restarting powershell?

@NikoTurunen Did you run Import-Module DockerCompletion after restarting powershell?

Actually I didnt. Think if I add this to profile.ps1 file, it should work automatically.

@NikoTurunen Try to run Get-Module DockerCompletion after restarting powershell. The output will be:
PS> Get-Module DockerCompletion

ModuleType Version    Name                                ExportedCommands
---------- -------    ----                                ----------------
Script     1.1903.0.… DockerCompletion

If not, the DockerCompletion module is not imported in your current powershell session. Try to check your profile.ps1 file or run Import-Module DockerCompletion manually.

@NikoTurunen Try to run Get-Module DockerCompletion after restarting powershell. The output will be:
PS> Get-Module DockerCompletion

ModuleType Version    Name                                ExportedCommands
---------- -------    ----                                ----------------
Script     1.1903.0.… DockerCompletion

If not, the DockerCompletion module is not imported in your current powershell session. Try to check your profile.ps1 file or run Import-Module DockerCompletion manually.

Thank you for quick responses. I got it working now. I added :
Import-Module DockerCompletion
to my profile.ps1 file.

please update to new slick and nice Windows Terminal OR WSL2 (better to do both - to make linux people to shit onto pwsh:) )


Checks for multiple headers don't work

When receiving multiple headers with the same name (e.g. Set-Cookie) you can't assert using expectHeaderContains or expectHeaderToMatch
Fixed in PR #73

Closed via #73!


bump for release

Thanks for the ping, @quasiben
Fixes #435
We don't seem to have a changelog - is there anything more than the version numbers that need to be changed?

I'm not aware of anything. Thanks for the quick reply!

On PyPI now

Will conda-forge also get automagically created ?

Yes, but it will take the bot some time, unless someone wants to make the PR manually. I don't normally bother.

feedstock PR opened here: https://github.com/conda-forge/streamz-feedstock/pull/18


TBD: Use the tmux environment for communication

This is a proof of concept, and would need more documentation
adjustments if it works out.
This makes it less specific to Vim and avoids the fragile part of
detecting if Vim is running in the current pane.
Fixes: https://github.com/christoomey/vim-tmux-navigator/issues/36

It is worth noting that the grep -iqE method doesn't work with Neovim.  But this PR does work with neovim.

@sethwoodworth I'm surprised to hear that the grep -iqE method wouldn't work with Neovim? The specific pattern, grep -iqE "(^|\/)g?(view|n?vim?)(diff)?$" includes an optional leading "n" and is tested in the pattern-check file in the root of the repo. Can you comment?
Regardless, I still need to wrap my head around this alternative method and decide it its the right thing moving forward.

I've updated / rebased this PR/branch - adding a fixup-commit to prefer looking at the environment.
With tmux 2.0 there is if -F, which allows to expand FORMATS without invoking a shell.  If this could be used it should make it more efficient.

Does it make sense to keep the grep approach, given my previous comment about tmux select-pane failing with sudo/ssh anyway (https://github.com/christoomey/vim-tmux-navigator/pull/37#issuecomment-51611619)?
/cc @aschrab

No matter what's decided here I think I'll be sticking with the checking pane titles as I mentioned in a previous comment rather than using the tmux environment.
Although @blueyed is correct that this doesn't really solve the problem with sudo or ssh, it does have a different failure mode. My current method still allows me to use the usual bindings to switch between vim windows on a remote system, but fails to switch between tmux panes. Since I use vim windows more than tmux panes, this works better for me than if the breakage was reversed which I believe would be the case with this change.

JFI: % is not valid in variable names for Zsh, and should therefore get replaced probably.
I've only noticed this now when adding eval $(tmux switch-client \; show-environment -s) to my shell config.

Rebased it on master.

Any news on this one? #bump :smile:

No news. I've yet to really test this unfortunately. @keith have you run with this locally? Does it solve the issue of the plugin not being able to tell if Vim is active (for instance due to spawning Vim from a git commend, meaning the pane_current_command will be Git)? I've also been experimenting with https://github.com/christoomey/vim-tmux-navigator/issues/96 as an alternative approach that seems dicey due to platform inconsistencies, but intriguing for its possible completeness. Thoughts?

Closing this in favor of #117.

I'll test out 117 instead!


phi-3-mini support

Dear,
i've tried phi-3-mini with phi-2 code, and found below errors, might you please have a look at it?
(env_p311) C:\AIGC\llama\ipex-llm\python\llm\example\GPU\HF-Transformers-AutoModels\Model\phi-3-ed>python ./generate.py --repo-id-or-model-path "C:\AIGC\hf\Phi-3-mini-128k-instruct" --prompt "What is AI?"
C:\ProgramData\anaconda3\envs\env_p311\Lib\site-packages\torchvision\io\image.py:13: UserWarning: Failed to load image Python extension: 'Could not find module 'C:\ProgramData\anaconda3\envs\env_p311\Lib\site-packages\torchvision\image.pyd' (or one of its dependencies). Try using the full path with constructor syntax.'If you don't plan on using image functionality from torchvision.io, you can ignore this warning. Otherwise, there might be something wrong with your environment. Did you have libjpeg or libpng installed before building torchvision from source?
warn(
2024-04-29 16:28:26,539 - INFO - intel_extension_for_pytorch auto imported
2024-04-29 16:28:26,695 - WARNING - flash-attention package not found, consider installing for better performance: No module named 'flash_attn'.
2024-04-29 16:28:26,695 - WARNING - Current flash-attenton does not support window_size. Either upgrade or use attn_implementation='eager'.
Loading checkpoint shards: 100%|████████████████████████████████████| 2/2 [00:00<00:00, 14.75it/s]
2024-04-29 16:28:26,869 - INFO - Converting the current model to sym_int4 format......
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
2024-04-29 16:32:54,511 - WARNING - You are not running the flash-attention implementation, expect numerical differences.
Traceback (most recent call last):
File "C:\AIGC\llama\ipex-llm\python\llm\example\GPU\HF-Transformers-AutoModels\Model\phi-3-ed\generate.py", line 64, in
output = model.generate(input_ids,
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ProgramData\anaconda3\envs\env_p311\Lib\site-packages\torch\utils_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "C:\ProgramData\anaconda3\envs\env_p311\Lib\site-packages\ipex_llm\transformers\lookup.py", line 86, in generate
return original_generate(self,
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ProgramData\anaconda3\envs\env_p311\Lib\site-packages\torch\utils_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "C:\ProgramData\anaconda3\envs\env_p311\Lib\site-packages\ipex_llm\transformers\speculative.py", line 103, in generate
return original_generate(self,
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ProgramData\anaconda3\envs\env_p311\Lib\site-packages\torch\utils_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "C:\ProgramData\anaconda3\envs\env_p311\Lib\site-packages\transformers\generation\utils.py", line 1474, in generate
return self.greedy_search(
^^^^^^^^^^^^^^^^^^^
File "C:\ProgramData\anaconda3\envs\env_p311\Lib\site-packages\transformers\generation\utils.py", line 2375, in greedy_search
next_tokens = next_tokens * unfinished_sequences + pad_token_id * (1 - unfinished_sequences)
~^~~~~~~~~
TypeError: unsupported operand type(s) for +: 'Tensor' and 'list'
(env_p311) C:\AIGC\llama\ipex-llm\python\llm\example\GPU\HF-Transformers-AutoModels\Model\phi-3-ed>C:\AIGC\hf\Phi-3-mini-128k-instruct" --prompt "What is AI?"
'C:\AIGC\hf\Phi-3-mini-128k-instruct" --prompt "What' is not recognized as an internal or external command,
operable program or batch file.
(env_p311) C:\AIGC\llama\ipex-llm\python\llm\example\GPU\HF-Transformers-AutoModels\Model\phi-3-ed>

Hi, aoke79,
We recently added the Phi-3 example for both CPU and GPU. Could you please try it to see if it works?
Here's link for phi-3 GPU example: link. Please feel free to ask if there's any problem. :)

it works, thanks a lot! some warning like below, if it's ok, please help close this ticket. thanks a lot
2024-05-21 10:29:49,985 - INFO - intel_extension_for_pytorch auto imported
2024-05-21 10:29:50,037 - WARNING - flash-attention package not found, consider installing for better performance: No module named 'flash_attn'.
2024-05-21 10:29:50,037 - WARNING - Current flash-attention does not support window_size. Either upgrade or use attn_implementation='eager'.
Loading checkpoint shards: 100%|███████████████████████████████████████████| 2/2 [00:00<00:00, 15.89it/s]
2024-05-21 10:29:50,206 - INFO - Converting the current model to sym_int4 format......
C:\ProgramData\anaconda3\envs\env_p311\Lib\site-packages\torch\nn\init.py:412: UserWarning: Initializing zero-element tensors is a no-op
warnings.warn("Initializing zero-element tensors is a no-op")
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tunedor trained.
C:\ProgramData\anaconda3\envs\env_p311\Lib\site-packages\ipex_llm\transformers\models\phi3.py:93: UserWarning: You are not running the flash-attention implementation, expect numerical differences.
warnings.warn("You are not running the flash-attention implementation, "

Hello am asking here just to be sure because am about to buy 2 or 3 Intel ARC a770
Can I run phi3-medium-128k and llama3-70b with ollama docker image with these cards ?

Hello am asking here just to be sure because am about to buy 2 or 3 Intel ARC a770 Can I run phi3-medium-128k and llama3-70b with ollama docker image with these cards ?

llama3-70b can be supported with ipex-llm vllm TP, ipex-llm deepspeed TP and  ipex-llm PP with multiple ARCs.

Yes but what about phi3-medium model ?
I saw all of your presentation with llama3 but I wanted to now what other models can I run

Yes but what about phi3-medium model ? I saw all of your presentation with llama3 but I wanted to now what other models can I run

See https://github.com/intel-analytics/ipex-llm/tree/main/python/llm/example/GPU/Pipeline-Parallel-Inference


[#3290] Local dev setup

Pull Request Checklist:

[ ] Positive Test Case Written by Dev

[ ] Automated Testing

[ ] Sufficient User and Developer Documentation

[ ] Passing Jenkins Build

[ ] Peer Code review and approval

Positive Test Case

Please follow this link to test: https://docs.google.com/document/d/1_8ClNiIBVSEI3jY4UJKOWrV6uwKilKug-69LoVizezk/edit

This PR is closed and the branch will be also removed soon. Please move to #3318


Remove GetUrlWithoutQuery() and update the log policy call-site to use the individual URL component getters.

https://github.com/Azure/azure-sdk-for-cpp/blob/c5ddbbc430790fb8718dab7df792633c63f33d19/sdk/core/azure-core/inc/azure/core/url.hpp#L225-L229
cc @vhvb1989

@antkmsft - can you remove the usage of GetUrlWithoutQuery within log policy?
https://github.com/Azure/azure-sdk-for-cpp/blob/3b36c9091a6088281ca7fb17faa5335b1b04ffa3/sdk/core/azure-core/src/http/log_policy.cpp#L44-L46


test: cloud cleaner aws s3

remove unused aws s3 resources.
to do so, we also make sure s3 resources originated from tests are tagged with "gitlab-ci-test"
This pull request includes:

[ ] adequate testing for the new functionality or fixed issue
[ ] adequate documentation informing people about the change such as

[ ] submit a PR for the guides repository if this PR changed any behavior described there: https://www.osbuild.org/guides/

@jabia99 do you have a link to cloud cleaner logs so we can see some execution?

@jabia99 do you have a link to cloud cleaner logs so we can see some execution?

https://gitlab.com/osbuild/ci/osbuild-composer/-/jobs/1775869327 here you can see the logs for the cloud cleaner with the my last PR merged (cleaning aws EC2).


Allow listing tables to be created via TableFactories

Which issue does this PR close?
Closes #4111.
Rationale for this change
Described in issue.
What changes are included in this PR?
Described in issue.
Are there any user-facing changes?
They can register CSVs, parquets, jsons and avros from the datafusion-cli.

@andygrove and @alamb sorry for the immediate follow-on PR. I did not realize we could merge Ballista PRs pointed at git refs of Datafusion or I would have done these two as a single PR.

I know tests are somewhat painful to write, but if we don't have them I worry about breaking the functionality at some future time
Maybe making a example in datafusion-examples  https://github.com/apache/arrow-datafusion/tree/master/datafusion-examples/examples  would be a good way to

document a bit more how to use these features,
Ensure whatever APIs you need are properly exposed in the API
Ensure we don't break the feature when we reorganize things in the future

write a test

Done. I also filed this: #4114 . It's my own personal fault, so I understand if we don't want to inflict that on everyone.

Which method?

https://doc.rust-lang.org/std/path/struct.PathBuf.html#method.file_prefix


Steering angle values have not been completely recorded.

I tried to run this Autonomous driving cookbook on other maps like the neighborhood. However, the steering angle values in " airsim_rec.txt" only have three values: -1, 0, and 1. I have attached one file below.
airsim_rec.txt
Don't know how to deal with it. Has anyone ever met this issue? Thank you！

@mitchellspryn Thanks for the reminder! Yes I used keyboard to drive. I tried the Logitech G29 steering wheel before, but it could not use on Airsim. Which is another unsolved issue, haha.

Are you using x360ce to map the inputs to xbox controller inputs? We had to do that.

Did you put the x360ce exe in the same directory as the AirSim binary? I
think I recall having to do that.
On Sat, Apr 7, 2018, 7:21 AM BrianN92<EMAIL_ADDRESS>wrote:

@mitchellspryn https://github.com/mitchellspryn Yes, I tried x360ce to
map the inputs, but it still could not work.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/AutonomousDrivingCookbook/issues/27#issuecomment-379472914,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATWPw7M-b8CNptID3927FdOSutW3e3_iks5tmMt4gaJpZM4TEUYM
.

Yes, I did as you said. It did not work.

@mitchellspryn I bought the steering wheel you mentioned above. It did not work. Every time I connect the steering wheel with Airsim, the vehicle keep turning left with the "steering value: -1.25". The  "Accel" value was 0.5 all the time. I cannot use the wheel to control car's direction, but I can do it by pushing the braking panels. Besides, there was no values of "steering', "throttle" or "break" inside the "rec.txt" file. It was so weird, so could you tell me how did you use this steering wheels to control the car?
I did put the x360ce exe in the same directory as the AirSim binary.

I found this code in CarPawn.cpp. Seams like it is related to my problems

Hm. Are you using the binary that we provided, or the one from the AirSim page? The version we've tested with is a few iterations behind, and doesn't have that code...

Actually, I tried both. They had the same problems. I added "PhysXCar" : {
"RC": {
"RemoteControlID": 0
}
} to "AD_Cookbook_Start_AirSim"file and put the x360ce exe in the "AD_Cookbook_AirSim" folder.

Wait. What? Adding that json should either do nothing or cause a syntax error; it's a powershell script.
You need to put the x360ce in the same directory as the binary that is running. I think that would be $/AD_Cookbook_AirSim/JustAssets/Binaries/Win64, not the root directory. Also, make sure that when you push buttons on the steering wheel, the corresponding buttons light up in the x360ce GUI.

Fixed!! I deleted that json and put the x360ce in the correct directory. Now I can use the steering wheel to control the car! Thank you so much! I could have a good sleep now.


Command line interface with JSON output

I've created #28 to provide basic JSON output of state messages in stagelinq-discover. This was useful for local experimentation so I figured I'd offer it upstream.

I think this can be closed for now thanks to the PR. 👍🏻


Add me as contributor

@all-contributors please add @fraxken for code, doc, review, security, bug

@all-contributors please add @fraxken for code, doc, review, security, bug

@all-contributors please add @fraxken for code, doc, review, security, bug


Spyder is making me lose internet connection

Problem Description
So, since I decided to update Spyder (I think I was running 3.2.0 before updating) it started having this problem where at random intervals (5-30 minutes) it leads to a total loss of traffic in my internet connection for 1-3 minutes, even though it says it is connected. When I try to open any webpage it says there's no internet connection. I don't have to be running a script for this to happen, it'll be randomly happening as long as I have Spyder in the background.
Things I have tried:
Updating conda, anaconda, spyder
Uninstalling anaconda, then reinstall
Uninstalling spyder and anaconda, then reinstall
Turn off firewall
Nothing has worked as of now.
Thanks in advance if anyone can help
What steps will reproduce the problem?

Open Spyder (usually through Anaconda, but doesn't matter if it is through there)
Browse internet until webpages stop loading for 1-3 minutes until internet comes back

## Package Versions

* Spyder:3.2.7
* Python: 3.6
* Qt: 5.6.2
* PyQt: 5.6.0
*Anaconda: 5.1.0
* Operating System: Windows 10

### Dependencies
<!--- Please go to the menu entry Help > Dependencies,
press the Copy to clipboard button and paste below --->

IPython >=4.0    :  6.2.1 (OK)
cython >=0.21    :  0.27.3 (OK)
jedi >=0.9.0     :  0.11.1 (OK)
nbconvert >=4.0  :  5.3.1 (OK)
numpy >=1.7      :  1.14.0 (OK)
pandas >=0.13.1  :  0.22.0 (OK)
pycodestyle >=2.3:  2.3.1 (OK)
pyflakes >=0.6.0 :  1.6.0 (OK)
pygments >=2.0   :  2.2.0 (OK)
pylint >=0.25    :  1.8.2 (OK)
qtconsole >=4.2.0:  4.3.1 (OK)
rope >=0.9.4     :  0.10.7 (OK)
sphinx >=0.6.6   :  1.6.6 (OK)
sympy >=0.7.3    :  1.1.1 (OK)

Thanks for reporting. This has been reported before, but we don't know the cause nor how to fix it, sorry.


Go through our docs and make sure the content is up to date

[ ] Python Language
[x] Getting Started Tutorial https://github.com/microsoft/vscode-docs/pull/5963
[ ] Editing code
[ ] Linting
[x] Debugging https://github.com/microsoft/vscode-docs/pull/5951
[x] Environments https://github.com/microsoft/vscode-docs/pull/5960
[x] Testing https://github.com/microsoft/vscode-docs/pull/5955
[ ] Django tutorial
[x] Flask tutorial https://github.com/microsoft/vscode-docs/pull/5964
[x] Create containers https://github.com/microsoft/vscode-docs/pull/5866
[x] Deploy Python apps
[x] Python in the Web https://github.com/microsoft/vscode-docs/pull/5958
[x] 🏃♀ Settings reference https://github.com/microsoft/vscode-docs/pull/6111
[x] Go over all image files and make sure they're not screenshots of the old UI   https://github.com/microsoft/vscode-docs/pull/6080

https://github.com/microsoft/vscode-python/issues/2926

https://github.com/microsoft/vscode-python/issues/6676

Related #20263

Created https://github.com/microsoft/vscode-docs/issues/6138 for Python language.


Conda-install-error

when I run "snakemake --configfile=snakemake.yml --use-conda" or "snakemake --configfile=snakemake.yml --use-conda --profile=slurm"
it told me that "SyntaxError in line 920 of /public/home/GL_lixn/biosoft/dentist.v3.0.0.x86_64/Snakefile:
Unexpected keyword container in rule definition (Snakefile, line 920)"

when I run "singularity shell docker://aludi/dentist:stable"
it back that
Docker image path: index.docker.io/aludi/dentist:stable
Cache folder set to /public/home/GL_lixn/.singularity/docker
Creating container runtime...
ERROR  : Failed invoking the NEWUSER namespace runtime: Invalid argument
ABORT  : Retval = 255

Hi, please update Snakemake to at least v5.32.1. It will solve the syntax error.
Also be aware that I will release a new version v4.0.0 of DENTIST in the coming days.

Thank you!
But when I use snakemake=v5.32.1 or other higher  version snakelike to install the dentist, it back that
AttributeError in line 75 of /public/home/GL_lixn/biosoft/dentist.v3.0.0.x86_64/Snakefile:
'Workflow' object has no attribute 'sourcecache'
I'm looking forward to the release of the new version

Thanks for your feedback! Can you please tell me exactly which version of Snakemake you are using? I have neither fixed nor encountered the "sourcecache" bug, yet. I will try to fix it as soon as possible. I twill not be included in v4.0.0 though.

Hi
My Conda version is 4.10.3 and python=3.6.0
snakemake=5.32.1 , snakemake=7 also back this error
I hope future versions can be installed directly through Conda
Thank you very much！

Hi, thank you for providing the information.

I hope future versions can be installed directly through Conda

This is already possible: conda install -c a_ludi -c bioconda dentist-core should do the trick.

Thank you!
I had already install the dentist through your command:
conda install -c a_ludi -c bioconda dentist-core.
But I wonder that how can I execute dentist directly through Conda , you know that I can't execute it by snakemake .
Now I filled the snakemake.yml .
How can I execute dentist directly through Conda ? For example , dentist ---config *.yml ?

When I run snakemake --configfile=snakemake.yml --use-conda
it backs:
SyntaxError in line 920 of /public/home/GL_lixn/biosoft/dentist.v3.0.0.x86_64/Snakefile:
Unexpected keyword container in rule definition (Snakefile, line 920)

The whole workflow for using a manually installed conda package is this:
mamba create -n dentist -c a_ludi -c bioconda dentist-core
mamba activate dentist
mamba install -c conda-forge -c bioconda snakemake
# execute your workflow; for example...
snakemake --configfile=snakemake.yml --cores=all

If you do not have mamba installed (highly recommended), then just replace it by conda. Deactivate the newly created environment with mamba deactivate.


[FLAVA] add configs for larger models

Stack from ghstack (oldest at bottom):

-> #293
#287
#286

Codecov Report

Merging #293 (131b787) into gh/ankitade/18/base (293cc6f) will not change coverage.
The diff coverage is n/a.

@@                 Coverage Diff                  @@
##           gh/ankitade/18/base     #293   +/-   ##
====================================================
  Coverage                92.01%   92.01%
====================================================
  Files                       53       53
  Lines                     3157     3157
====================================================
  Hits                      2905     2905
  Misses                     252      252

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

@ankitade has imported this pull request.  If you are a Facebook employee, you can view this diff on Phabricator.

@ankitade has imported this pull request.  If you are a Facebook employee, you can view this diff on Phabricator.


Updates the Code to Pass Dictionary Objects. The Original No Longer Works.

Bump, any chance this could be merged? @joychak.

I ended up just writing my own, as there were a few things that needed fixing and this repo seems no longer maintained. https://github.com/jcrist/kerberosauthenticator, hopefully will be of use to others.


Enhancement: Spread payload by default

Is there any possibility of spreading ...payload to the reducer by default?
Having the change in syntax between single and multiple arguments is inelegant:
const foo = createAction('foo');
const bar = createAction('bar', (...args) => args);

const reducer = createReducer({
    [foo]: (state, a) => {...},
    [bar]: (state, [a, b, c]) => {...}
});

dispatch(foo('a'));
dispatch(bar('a', 'b', 'c'));

Whereas it would be really killer to have the 1:1 correspondence. Maybe it is just me, but this is what I intuitively thought would happen before I read the docs.
const foo = createAction('foo');
const bar = createAction('bar');

const reducer = createReducer({
    [foo]: (state, a) => {...},
    [bar]: (state, a, b, c) => {...}
});

dispatch(foo('a'));
dispatch(bar('a', 'b', 'c'));

This is completely backward compatible.

That's a nice idea but not backward compatible. The 3rd argument in the reduce function is the potential metadata object: (state, payload, meta) => newState.
At first, I didn't want any coupling between the action signature and the payload structure. For example, the reducer might expect a payload such as { foo: String, bar: Int }, but the action should be free to be either (String, Int) => action or (Int, String) => action or { foo: String, bar: Int} => action as long as it can produce the payload. But I'm not so sure about that...
I will give a thought but metadatas might be a blocking problem.

Maybe a higher order function can do the trick?
const createSpreadReducer = (definition) =>
  createReducer(
    Object.keys(definition)
      .reduce((acc, key) => /* vodoo and black magic happens here */)
  )

I know it's been forever @bholloway but that just mean I decided to stick with the current API. I understand that there would be benefit to spread the arguments but I prefer to keep things under control, knowing all possible arguments in advance. Thanks for the proposal.

@pauldijou in the end I went with the suggestion from @themouette.
Writing that and living with the results for a couple of months I can see that it isn't easy to find a "perfect" reducer pattern.
Thanks for indulging my question, and thanks to @themouette for the inspiration.


ZEPPELIN-3128: The autocomplete in Note Permissions does not work correctly

What is this PR for?
The autocomplete in Note Permissions does not work correctly, even if the user exists
in ldap directory, zeppelin can't show him after writing the first three letters.
What type of PR is it?
Bug Fix
What is the Jira issue?

ZEPPELIN-3128

Screenshots
with Bug :

with Fix :

Can someone share the status of this issue?

Would you mind closing this PR as it's too old?


feat: Redesign scroll up button

Thank you for your contribution to the KodaDot NFT gallery.
👇 _ Let's make a quick check before the contribution.
PR type

[ ] Bugfix
[x] Feature
[ ] Refactoring

What's new?

[x] PR closes #4204
[ ] Requires deployment <rubick/magick_issue>
[ ] <brief_description_of_what_I've_added>

Before submitting Pull Request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[x] I've didn't break any original functionality
[x] I've posted a screenshot of demonstrated change in this PR

Optional

[ ] I've tested it at </rmrk/collection/26902bc2f7c20c546a-1FVG7>
[ ] I've tested PR on mobile and everything seems works
[ ] I found edge cases
[ ] I've written some unit tests 🧪

Had issue bounty label?

[x] Fill up your KSM address: Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot

[x] My fix has changed something on UI; a screenshot is best to understand changes for others.

is it normal that we don't have the same hover state as footer button?

✅ FIXED

pay 50
love it

😍 Perfect, I’ve sent the payout
💵 $50 @ 34.14 USD/KSM ~ 1.465 $KSM
🧗 Caiv9TbPz68q5dC8EcHu5xKYPRnremimGzqmEejDFNpWWLG
🔗 0x58f705967b5bd278891c5673dc508112f90c07d4c95f120e8369cc226f4ecd26
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


A few decent fixes, but nothing I saw as needed by me

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Show a banner with link to a custom url when user joins for the first time

There are two parts for this project.
Part 1 - Banner
When a user joins an organization for the first time a banner would be shown with link to an external webpage. The banner would ask user to check out the link to know more details about the organization (Or something similar).
eg: In case of https://chat.zulip.org the link can point to http://zulip.readthedocs.io/en/latest/chat-zulip-org.html
The administrator should be able to customize the link and enable/disable the banner.
Part 2 - Link in Gear menu
The external URL should be also linked from the gear menu as the banner is shown only when the user joins an organization.  Perhaps the link can be called "Organization guidelines" or something, and only appear if an administrator has set that feature?
Discussion regarding this feature can be accessed here.
Check out the New feature tutorial to see how you should go on to implement a new feature in zulip.

Tagging as bite-size, since the new application feature tutorial should teach everything needed for the gear menu piece of this.  For that reason, I'd actually start with Part 2; once that's done, we can work on the banner part.

Possibly this should just be a configurable initial PM from from org admin (either sent as a PM or sent from welcome-bot)?
**A special message from the administrators**

[special message]

I think that's not ideal, in that organizations will want to change these guidelines over time and have users still be able to refer back to them.

@hackerkid  @rishig  I would like to work on this. Few clarifications,

In gear menu is it placed next to Statistics?
Where this setting should go? In Organization profile or in Organization settings?

@Balaji2198 I think it can go before logout. But that is something we can finalise later. I think an ideal place for this would be after Organisation description in Organisation profile. Make sure that you start with Part 2 instead of part 1 :)

@zulipbot  claim

@Balaji2198 Have you opened a PR for this issue?

@zulipbot claim

@zulipbot abandon

@zulipbot claim

@zulipbot abandon

@hackerkid Is this issue available?

@zulipbot claim

@zulipbot abandon

I and some students implemented this feature for a course project here: https://github.com/DD2480-group7-2020/zulip/tree/feature_first_message
Feel free to use the changes.

@zulipbot claim

@zulipbot claim

@zulipbot  claim

@zulipbot claim

@zulipbot claim

@zulipbot claim

@zulipbot claim I would like to try it to see what I can do.

@zulipbot claim I would like to try it to see what I can do.

@zulipbot  claim, I'm still working on it

I don't know if anyone will see this message but why limit it to just one URL?
A welcome message personalised by the administrator (with a possible URL in it) wouldn't be better?
The administrator could personalise the message much more, by adding some extra information.

@zulipbot claim

@zulipbot claim

@zulipbot claim

@zulipbot is it open claim

@zulipbot claim

Closing in favor of #4379.


GMP rational numbers

Any chance at supporting GMP's rational numbers?

Yes, it's something I will eventually need it too, but I cannot give you a practical timeline.


[web]: TextSpan recognizer is ignored when style is defined

The following RichText (with a styled and clickable TextSpan) works fine in regular Flutter but does not with Flutter Web:
          RichText(
            text: TextSpan(
              text: 'Regular text and ',
              style: DefaultTextStyle.of(context).style,
              children: [
                TextSpan(
                  style: TextStyle(decoration: TextDecoration.underline),
                  text: 'a link',
                  recognizer: TapGestureRecognizer()
                    ..onTap = () => debugPrint('tapped the link'),
                ),
              ],
            ),
          )

With Flutter Web, the link recognizer is ignored when the link style (the one with decoration) is defined. When the style is removed, the recognizer works as expected.
flutter_web version: commit 8d4c12a (June 29)
Mac OS X 10.14.5 18F132, locale en-KR

Merging into https://github.com/flutter/flutter/issues/34931


Fix: protect some lemmas

Are you protecting these lemmas just because it seems like a good idea (even though they are not protected in mathlib 3), or for a specific reason?
In general I think the porting process will be easiest/fastest if we don't make changes like this at the same time; they can wait.

In Lean 4, if you prove a lemma Filter.Tendsto.something , the namespace Filter.Tendsto is automatically opened. I had to protect the piecewise lemma. I protected if and if' at the same time because these names look too common.
We never open filter.tendsto in mathlib 3, so adding these protected attrs won't hurt. I can backport these changes, if you want.

Thanks :tada:
bors merge


Loss value 'nan'

Hello,
I am training the bart model for 5 epochs. While training the model, I have a defined value for loss in the first epoch. However, the value of loss for the rest of epochs is 'nan'. I am wondering if there is some problems with my training or it is normal.
It is mentioned:
epoch 002:  18%|▏| 1386/7494 [06:49<29:04,  3.50it/s, loss=nan, nll_loss=nan, ppl=nan, wps=216.1, ups=3.4, wpb=63.5, bsz=1.1, num_updates=8880, lr=1.71077e-05, gnorm=na
epoch 002:  19%|▏| 1387/7494 [06:49<28:22,  3.59it/s, loss=nan, nll_loss=nan, ppl=nan, wps=216, ups=3.4, wpb=63.5, bsz=1.1, num_updates=8881, lr=1.71062e-05, gnorm=nan,
Here is my z_train.sh:
#!/bin/sh
TOTAL_NUM_UPDATES=20000
WARMUP_UPDATES=500
LR=3e-05
MAX_TOKENS=512
UPDATE_FREQ=1
BART_PATH=/home/nlp/bart.large/model.pt
DATA_BIN=/home/nlp/neulab/guided_summarization/data/cnn_dm/bin
SAVE_DIR=/home/nlp/neulab/guided_summarization/data/model_result
CUDA_VISIBLE_DEVICES=0,1 python train.py $DATA_BIN
--restore-file $BART_PATH
--max-tokens $MAX_TOKENS
--max-epoch 5
--task guided_translation
--source-lang source --target-lang target
--truncate-source
--layernorm-embedding
--share-all-embeddings
--share-decoder-input-output-embed
--reset-optimizer --reset-dataloader --reset-meters
--required-batch-size-multiple 1
--arch guided_bart_large
--criterion guided_label_smoothed_cross_entropy
--label-smoothing 0.1
--dropout 0.1 --attention-dropout 0.1
--weight-decay 0.01 --optimizer adam --adam-betas "(0.9, 0.999)" --adam-eps 1e-08
--clip-norm 0.1
--lr-scheduler polynomial_decay --lr $LR --total-num-update $TOTAL_NUM_UPDATES --warmup-updates $WARMUP_UPDATES
--update-freq $UPDATE_FREQ
--skip-invalid-size-inputs-valid-test
--save-dir $SAVE_DIR
--find-unused-parameters;
Thank you very much for your consideration.

Does anybody has an idea about this?
Thanks in advance.

Hi, this is not normal. I am not sure how to solve this but I noticed that there are some differences between your parameter settings and this. could you try to follow the settings in https://github.com/neulab/guided_summarization/blob/master/bart/z_train.sh?

Hello,
Thank you very much for your reply. I needed to use my own setting regarding my GPU machine.
I have changed my guidance signal data and the problem was resolved. I believe there was a problem in that file.
Thank you for your consideration.


not working

🔍 Is there already an issue for your problem?

[X] I have checked older issues, open and closed

📝 Description
it's not working after few mins it's automatically crashes
🪜 Steps To Reproduce
it's not working after few mins it's automatically crashes
ℹ System Info
Dell G15 2023
16 gb ram
15 12th gen processer
gforce RTX 3050 grafics card

📸 Screenshots

Please provide reproduction steps, otherwise I can't help.


Text Classification scenario training error "fail to install runtime"

System Information (please complete the following information):

Model Builder Version (available in Manage Extensions dialog): <IP_ADDRESS>5902
Visual Studio Version: 17.4.3

Describe the bug

On which step of the process did you run into an issue:
Training Text Classification
Clear description of the problem:
when I run training on text classification I immediately get the error "fail to install runtime". It happens in both CPU and GPU.

To Reproduce
Steps to reproduce the behavior:

Go to 'Model Builder'
Click on 'Text Classification'
Scroll down to 'Select data'
Set Label and Text columns
Start training
See error

Expected behavior
I get an error saying "fail to install runtime". Happens with any dataset.
2022-12-23 02:19:10.9179 DEBUG fail to install runtime
at Microsoft.ML.ModelBuilder.AutoMLService.RuntimeManager.InstallRuntimeAsync(CancellationToken ct) in //src/Microsoft.ML.ModelBuilder.AutoMLService/RuntimeManager/RuntimeManager.cs:line 127
at Microsoft.ML.ModelBuilder.AutoMLService.TextClassificationExperiment.d__13.MoveNext() in //src/Microsoft.ML.ModelBuilder.AutoMLService/Experiments/TextClassificationExperiment.cs:line 61
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.ML.ModelBuilder.AutoMLEngine.d__21.MoveNext() in /_/src/Microsoft.ML.ModelBuilder.AutoMLService/AutoMLEngineService/AutoMLEngine.cs:line 141 (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
Screenshots

@abidur  sorry for hitting this issue.
@LittleLittleCloud  is this related to not consolidate torchsharp runtime version into the installation path?

Hello, any updates or work around ideas on this issue? Thanks!

Hi @abidur
Sorry for the late reply. There're various reasons cause "fail to install runtime" error and we need to take a few extra steps to determine which one it is.
First thing first though, here's the workaround on how to manually install runtime

go to %temp%ModelBuilder folder, you should see two folders: torchsharp-cpu.0.96.7 && torchsharp-cuda-windwos.0.96.7. If you don't find any folder, create one.
open cmd and cd to torchsharp-cuda-windwos.0.96.7 (suppose you are going to install gpu runtime)
run dotnet publish /path/to/torchsharp.gpu.csproj -r win-x64 -c Release --no-self-contained -o .. You can find /path/to/torchsharp.gpu.csproj in model builder output windw
rerun model builder

To help us determine what's going on, can you first send us a screenshot of %temp%ModelBuilder here? Another attempt that definitely worth a trial is to remove all folders under %temp%ModelBuilder and re-run model builder. This is because Model Builder only checks the existence of runtime folder instead of each dlls. Because runtime folder locates in temp folder, the content of which might be regularly removed by system, which also could cause runtime fail.


Create link to web published version in reference/other/backpack.html

@jsheldonmit @jisqyv
I tweaked the formatting to make the web published version look better.   It's still funny, but I suspect this is the best one can do in Google Docs.

@jisqyv @jsheldonmit @ram8647 @graceRyu
Jeff is currently the owner of the (non-web) version:
https://docs.google.com/document/d/14-VRxyUNDsYqzFplWHspThbkTQTL8gr0siAqPqYW5do/edit
Jeff, I think you should add the  Ralph and Grace as owners, so that they can see the public comments, and edit the doc in response.

@halatmit I've added Ralph and Grace. Btw. Can you look at #569. If you give it an LGTM, I can get it deployed as a minor release (no components).

LGTM, but add a comment explaining that the instance might not exist for generics.  (That's the issue here, right?)

LGTM

MERGED


Update header & footer

Being suggested by central docs and Rancher Prime integration. For Epinio, it's mostly already in place, the scheme below is the general suggestion.
Update the docs sites headers to be:
Header
Left

version selector
Language selector (optional)
Search

Right

Link to GH (project).. (Make sure Edit page is enabled)
More from SUSE
Light/Dark mode (optional)

Footer
Copyright © 2023 Rancher by SUSE. All Rights Reserved.
Adopt Epinio footer with some cleanup
Should we show legal policy on docs sites?

All done, maybe tweaks moving forwards.


<IP_ADDRESS>.0

This PR updates the partner version to <IP_ADDRESS>.0 for release.
DO NOT MERGE

Released: https://github.com/ChartBoost/chartboost-mediation-android-adapter-applovin/releases/tag/v<IP_ADDRESS>.0


CI fails to build

Currently, the CI action fails to build for Android.
Code for Android job in CI.
Python code responsible for building.
Error we are getting.
Useful resources: https://github.com/rust-lang/cc-rs/issues/459

As of 9f9f563e408cc562dfc4b99c61c14fc2c9a311e3 This isn't such a major issue, but will keep open for now, as it is still a problem

Python doesn't build either, can't seem to figure out why. Resources:

https://github.com/PyO3/pyo3/issues/3086
https://pyo3.rs/v0.18.2/building_and_distribution.html#linking


[SPARK-24004] Test of from_json for non-root MapType

What changes were proposed in this pull request?
New test checks that from_json is able to parse json contains MapType as a value type of struct fields. The test required adding of the equals and hashCode methods to ArrayBasedMapData to compare returned result to expected value.
How was this patch tested?
Added comparison tests for ArrayBasedMapData and a test for from_json.

Can one of the admins verify this patch?

Test build #89469 has started for PR 21089 at commit 4391b0a.

Test build #89469 has finished for PR 21089 at commit 4391b0a.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

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

Merged build finished. Test FAILed.

Test build #89471 has started for PR 21089 at commit 1458077.

Test build #89471 has finished for PR 21089 at commit 1458077.

This patch fails Spark unit tests.
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/89471/
Test FAILed.

@MaxGekk, mind taking an action to the JIRA too?

@HyukjinKwon I cannot find tests for not-root map types in JsonFunctionsSuite and JsonExpressionsSuite. I am going to propose a PR for supporting the map type as root type in from_json. The tests for non-root map type are not related to the PR and I want to extract them to separate PR.


adds netlify identity

What is this?
Adding Netlify's Identity authentication to the project to pave the way a better git integration and data separation
this will solve #31

Deploy preview processing.
Built with commit 4f5fea52bacde3c8cdada5d0423d91ed2d451b39
https://app.netlify.com/sites/open-sauced/deploys/59cc1819a6188f7f4d9d11e7


Enable beam_search for text-generation

Feature request
currently test-generation only support beam=1,which is not exposed to users, any possible that expose --beams user?
Motivation
enable beam_search algo path if beams > 1 and beams =1 falls into greedy_search
Your contribution
submit a PR

@regisss  I have noticed that you have enabled beam_search path(here) but not exposed --beams to user.
have you tested beam_search path before, since on Gaudi,  we can't concat the input_ids and new_tokens together see here, we should use token_idx to insert the new tokens into input_ids.  you have made such kind of changes for sample and greedy_search, so I think you forget do that for beam_search, am I right?

I also create a quick Fix @regisss  please have a look if I am right.

Well, it's not really that I forgot to do it (it was in my to-do list), I just have not got the time to work on it lately XD
Thanks for proposing a PR to enable it, I'll take a look at it today!


Question:  Is an implementation of workers threads planned for the upcoming versions?

I honestly believe that the implementation of Workers Threads is the feature that will propel this project to the stars.

Hi @thonymg -
Love the enthusiasm!  Can you say more about worker threads and how we should implement?


File extension is changed upon upload; breaks file

Laravel Version: 5.3.17
PHP Version: 7.0.11
Database Driver & Version: n/a

Description:
When uploading an MPG, the file extension is changed to mp4, rendering the movie unplayable. I tested this with an MPEG-2 video.
The file name before uploading
test.mpg

The code for uploading the file
$file = request()->file('file')->store('uploads');

The file name after uploading
e912e8f2c41bde3cf7731d9e374bdc2a.mp4

Steps To Reproduce:
Fresh install of Laravel.
Add this to routes/web.php
Route::post('/upload', function () {
    request()->file('file')->store('uploads');
});

Add this to welcome.blade
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title></title>
    </head>
    <body>
        <form action="/upload" method="post" enctype="multipart/form-data">
            {{ csrf_field() }}
            <input type="file" name="file"><br>
            <input type="submit" value="submit">
        </form>
    </body>
</html>

Visit / in browser and upload a video file with .mpg extension.

Laravel uses Symfony's mimetype guesser to guess the extension of the file, as for my I couldn't replicate the issue on a fresh laravel installation running valet.
Please run the following command file -b --mime path-to-file-here 2>/dev/null with the path to your file set to know what your system think the file mimetype is.
I'm closing this since it does appear to be an environment related issue, but please feel free to ping me if you ever had the chance to get what was causing the wrong behaviour.

Why does Laravel change the file extension? I'm having a similar problem where a file type (gcode) that doesn't really have a mime type (it assumes text/plain) gets changed to a .txt extension.


⚠ Guya.moe Proxied has degraded performance

In b20cd3f, Guya.moe Proxied (https://ice.guya.moe/) experienced degraded performance:

HTTP code: 200
Response time: 11897 ms

Resolved: Guya.moe Proxied performance has improved in d605271 after 23 minutes.