Flashing fails with handshake failed

Flashing using the command blisp write -c bl70x --reset Pinecilv2_EN.bin fails.
I ensured my device was authentic and validated its ID before attempting to update.
ChipID redacted in output, but matches what debug display shows.
output:
Handshake successful!
Getting chip info...
BootROM version <IP_ADDRESS>, ChipID: REDACTED
0b / 59200 (0.00%)
4092b / 59200 (6.91%)
8184b / 59200 (13.82%)
12276b / 59200 (20.74%)
16368b / 59200 (27.65%)
20460b / 59200 (34.56%)
24552b / 59200 (41.47%)
28644b / 59200 (48.39%)
32736b / 59200 (55.30%)
36828b / 59200 (62.21%)
40920b / 59200 (69.12%)
45012b / 59200 (76.03%)
49104b / 59200 (82.95%)
53196b / 59200 (89.86%)
57288b / 59200 (96.77%)
59200b / 59200 (100.00%)
Sending a handshake...
Received no response from chip.
Failed to handshake with device.

Try another PC / cable / try Linux. It's known that Windows have problems sometimes.

I forgot to mention, i tried that on 6.5.6-arch2-1, using both front-panel and motherboard USB-C ports, with two different cables :/

I tried with a USB-A to USB-C cable and it worked perfectly. Seems my otherwise working ports/cables are behaving weirdly.


Backport #471 Fix after events firing when task failed to 2.x branch.

Hia,
I've backported the fix in #471 made to the develop branch to the master branch so that we can use it in the stable 2.2.x release. Having the after tasks trigger on a failed deployment was causing a lot of confusion for us. This might help other folks using the current stable 2.x release.
Unit tests pass ok I think and I was getting nice exit code 1 after failing to deploy and none of the deploy.after tasks were run.
I haven't bumped the version constant, not sure of the protocol here :)
Hope it's ok,
Cheers,
Chris.

Thanks! No need to bump the version constant, that needs to be done when the tag is actually created, so will do that a bit later today

Woo, my first merged PR in Github, thank you. Great if you can create a new tag, then I can point our composer.json at that instead of my fork and we'll be all set.
Good stuff btw, I'm enjoying the deployment process with Rocketeer, makes it much easier and cleaner.


Typing in the Time Lapse Protocol Duration causes app to close

Entering a value in the Duration field causes the app to close.  High priority

Added a validity check to the update_period() and update_duration() to confirm values are numeric before updating actual values (allows deleting text in input field)


Please allow user to enter vertically oriented text in selected cells in a table

[ ] I agree to follow the Code of Conduct that this project adheres to.
[ ] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Is your feature request related to a problem? Please describe.
Draw.io does not allow us to enter vertically oriented text, as shown below:

Describe the solution you'd like
Please allow vertically oriented text in selected cells. The rest of the table may have horizontal text.
Describe alternatives you've considered
Additional context

Hi,
If you select a shape with text and click Vertical (Format panel on the right > Text tab) does it help?

Regards,

Yes, that works. Thank you for the tip.


Wrong build context path in existing container template

VSCode Version:

holms@debian ~/D/c/s/app-prebid-config> code-insiders --version
1.44.0-insider
2aae1f26c72891c399f860409176fe435a154b13
x64

Local OS Version: Debian latest
Name of Dev Container Definition with Issue: go

Steps to Reproduce:

Create custom Dockerfile in .devcontainer folder.
Uncomment step   which says context: . in .devcontainer/docker-compose.yml https://github.com/microsoft/vscode-dev-containers/blob/bf82fa0128cec15e935d04bbb50761e45a907f37/containers/docker-existing-docker-compose/.devcontainer/docker-compose.yml#L18-L21
Launch docker-compose -f docker-compose.yml -f .devcontainer/docker-compose.yml build
See the world burn: ERROR: Cannot locate specified Dockerfile: Dockerfile

This seems to be a bug in a docker-compose. I've already registered in here: https://github.com/docker/compose/issues/7350
I'm not sure is this indented behavior, or not. What is happening is that if you'd do docker-compose -f docker-compose.yml -f .devcontainer/docker-compose.yml config you'd see build context showing to a folder where docker-compose.yml is located, although in my opinion context should point to CWD of the config which overrides previous one. I'm pretty sure you've though it's using CWD (or maybe it was working this way before).
This is an issue on RC and also latest stable release. So if I use your provided build context: . this won't work, Dockerfile won't be found, you need to put  into build context this:./.devcontainer/,  then it works fine.
Here's first config docker-compose.yml
 app-prebid-config:
        container_name: app-prebid-config
        build:
            context: app
            dockerfile: Dockerfile
        volumes:
            - ./app:/app/prebid-config

Here's .devcontainer/docker-compose.yml
version: '3.7'
services:
    app-prebid-config:
        build:
            context: .
            dockerfile: Dockerfile
        volumes:
            - ./app:/workspace:cached
        cap_add:
            - SYS_PTRACE
        security_opt:
            - seccomp:unconfined
        command: /bin/sh -c "while sleep 1000; do:; done"

Now let's see what config command shows:
$ docker-compose  --project-name app-prebid-config -f docker-compose.yml -f .devcontainer/docker-compose.extend.yml  config
....
  app-prebid-config:
    build:
      context: /home/holms/Dev/contracts/setupad/app-prebid-config
      dockerfile: Dockerfile
...

And of course the build would fail:
holms@debian ~/D/c/s/app-prebid-config> docker-compose  --project-name app-prebid-config -f docker-compose.yml -f .devcontainer/docker-compose.extend.yml  build
Building app-prebid-config
ERROR: Cannot locate specified Dockerfile: Dockerfile

As no Dockerfile exist near docker-compose.yml. And I believe anyone would want to use .devcontainer/Dockerfile in the first place in your overriden docker-compose config, as it contains all custom tools for debuging golang specifically for vscode.  In docker-compose.yml I'm using default Dockerfile location which is a Dockerfile for CI only, and checking it it's builds locally is quite healthy for a developer I believe after coding job is done, at least checking does it compile on a build stage is extremely useful.
Also created this issue in release https://github.com/microsoft/vscode-remote-release/issues/2681  but I'm not sure if it's their fault, it's this template fault or docker-compose itself.
This btw might be related: https://github.com/microsoft/vscode-dev-containers/issues/247

@chrmarti who can I discuss this with :)?

This appears to be a common question for Docker Compose. See https://github.com/docker/compose/issues/3530#issuecomment-222490501
In effect, the build path in the override is relative to the first file in the array in devcontainer.json.  So, while the dev container can't be updated to guarantee the path is correct when un-commented, we can update the template with this detail.

Interesting.. Probably updating devcontainer.json would make sense.

Yeah I've got an update queued I'm about to push.  I'll also add some text to this effect to docs.
    # Uncomment if you want to use a different Dockerfile in the .devcontainer folder.
    # Note that the path of the Dockerfile and context is relative to the *primary*
    # docker-compose.yml file (the first in the devcontainer.json dockerComposeFile array).
    # The sample below assumes your primary file is in the root of your project.
    #
    # build:
    #   context: .
    #   dockerfile: .devcontainer/Dockerfile


Number of humans in 'train' and 'test'

Excuse me.
I'm confused about the human_num in crowd_sim.py.
Why should we set human_num = 1 when self.robot.policy.multiagent_training = 1?
`
np.random.seed(counter_offset[phase] + self.case_counter[phase])
if phase in ['train', 'val']:
    human_num = self.human_num if self.robot.policy.multiagent_training else 1
    self.generate_random_human_position(human_num=human_num, rule=self.train_val_sim)
else:
    self.generate_random_human_position(human_num=self.human_num, rule=self.test_sim)
# case_counter is always between 0 and case_size[phase]
self.case_counter[phase] = (self.case_counter[phase] + 1) % self.case_size[phase]

`
what I want to know is
In training stage, do we use 1 human agent or 5 human agents (env.config [sim] human_num=5)?
I really need your help, thanks~

Multiagent-training differentiates CADRL from our policy. The former takes one human during training and ours takes 5 during training. At test time, both are tested on 5-human scenario.

Multiagent-training differentiates CADRL from our policy. The former takes one human during training and ours takes 5 during training. At test time, both are tested on 5-human scenario.

Oh, I see❤. Thanks.
But what makes the difference? I suppose that, In theory, cadrl could also have five people in training stage?

yeah possibly. I was just reproducing the training detailed in the paper


Copyright scripts need love <3

I think you mean :heart:

does not work in the title :crying_cat_face:


Annotation: message color

When a test failed, only annotation title is colored. Message is not and is represented as ANSI code. Is it a bug?
ServiceInteg - Policies should be empty // title, this line is colored correctly
[31m- Policies should be empty[0m
    [31m Result was false[0m
    [1maccountPolicy[0m[1m[33m != Seq.empty[0m[0m[1m[0m
    [2maccountPolicy = [0mNil

Good day.
The visualisation is controlled by GitHub so that appears correct.
Related the content of the message. The action itself parses your junit report and shouldn't change the contents. Please have a look at your report and see if it already contains the details as shown above.

Hi mikepenz, the content is correct, it contains ANSI code for colorize. Github actions log already supports color  (other steps in my CI are colored correctly), so I suppose the log should be colored but it's not.
 🚀 Publish results   ℹ - ci/test - 136 tests run, 135 passed, 0 skipped, 1 failed. 🧪 - Integ.scala | [31m- Policies should be empty[0m
Btw if you know any workaround, please let me know.

Closing as this appears to be out of scope of the possible. If you have github documentation which describes how to achieve  this


Translation file empty

I'm working with backbone.js and Coffeescript and having an Issue setting up the translations.
What I've done so far to install Gem:
-Added the gem to my Gemfile and installed
gem 'i18n-js'
gem 'i18n',                   '~> 0.6.11'                         #'~> 0.7.0'

-Added //= require i18n/translations to my application.js
//= require i18n/translations

-Added config.middleware.use I18n::JS::Middleware to my application.rb
# Add I18n
config.middleware.use I18n::JS::Middleware

When loading the site we see the js files added as fallows:
<script src="/assets/i18n.js?body=1" type="text/javascript"></script>
<script src="/assets/i18n/shims.js?body=1" type="text/javascript"></script>
<script src="/assets/i18n/filtered.js?body=1" type="text/javascript"></script>
<script src="/assets/i18n/translations.js?body=1" type="text/javascript"></script>

However, if we view the source of that translation.js file it's empty. We do see the translations.js File generated in the Public/javascript folder, with the existing translations in it.
Any thought why this is happening? Are we missing a step? Thanks in advance!

In asset pipeline with debug on (default is on in development)
It generate script tags for sub-files
So you should look at /assets/i18n/filtered.js instead in this case
Since the translation are generated in this file:
https://github.com/fnando/i18n-js/blob/master/app/assets/javascripts/i18n/filtered.js.erb
If you turn off debug mode you will see /assets/i18n/translations only

Also you don't need to use I18n::JS::Middleware if using asset pipeline

Thanks a lot for the quick response!
Indeed all the translations are in the filtered.js file, although when using I18n.t('string') it still says that translation is missing. The exact same 'string' is in our filtered.js file.
 translated = I18n.t('label')

Is this due to debug mode then or am I still missing something?
Thanks a lot!

So you do have I18n.translations in your browser and I18n.t doesn't work?
Maybe try to inspect I18n.translations or even replace the data inside manually and test?

Gonna close this after this month


Product Picker in Detail section

Good afternoon,
I would like to see if someone could help me how to use a checkbox selection on the  Details grid to import into my Order dialog when creating a new Order.

(Advance Sample - Product Picker)
I have tried everything I've read on here so far but have yet to even get close to making it work.
If there is something else that would be a better option please let me know.
It would be great if someone share some link regarding this as soon as possible. It's really urgent
Thank you for any help!

@Shraddha996 That's a Premium feature. START# has that but u've got to pay for it.
In alternative you can try to implement it yourself and share with the community ;)


Showing RMRK2 latest lists on landing

Show latest sales in latest sales strip from RMRK2

raise a PR to for this issue https://github.com/kodadot/nft-gallery/pull/5252
seems subsquid.io service did't response correct result. hope some one can check this.

Closed in d362009beaf3f65c5bcbc561362c9ce2932ecc97

@vikiival can you post screenshot from landing it's working?

Made hard reset at 15:42


Connection terminated due connection parameters update failed

While pairing Windows 10 with my advertising Android app, BLE connection parameters update failed and connection terminated.
Steps to produce:

Scan for BLE devices through Windows 10 Bluetooth manager,
Find the advertising Android app (Peripheral) and pair to it,
Device bonded, but connection state will change from Connected to Paired immediately in both sides, or
Pairing failed.

Reason:
When I check the Bluetooth log in Android device, I can see the failure to update connection parameters.
I think it's because of Supervision Timeout parameter, because when I check the log for successful pairing and connection between two Android devices, I see they have agreed for timeout = 20000 ms, but Windows 10 and Android have not agreed for timeout = 9600 ms!
Note: BLE Supervision Timeout parameter is hard-coded in Android (=20000 ms)!
Note: I use the nRF Connect Android app for create a sample Peripheral, but I have same behavior with my main Android app.
I attached both logs for Windows-Android and Android-Android.
Log - Pair via Windows.txt
Log - Pair via Android.txt

This is not an issue with a sample in this repo. You can open a support case with our Developer Support team:

Visit http://aka.ms/storesupport and sign-in with your Microsoft account
Under the “App Development” section choose "Windows 10 universal app development", then choose the appropriate problem type and category to get engaged through a formal support channel.


4B5107D3 - Radirgy Noa Massive

Validation

[X] I've read the FAQ.
[X] The Xenia build used is from a canary branch. (not MLBS/AlexVS/master/pull requests, etc)
[X] This issue isn't for help (tech support) with Xenia, or a game.
[X] I've checked if this game doesn't already have a compatibility report.

Xbox 360 Marketplace link
https://marketplace.xbox.com/ja-JP/Product/ラジルギノア-MASSIVE/66acd000-77fe-1000-9115-d8024b5107d3
Xenia version
https://github.com/xenia-canary/xenia-canary/commit/7b6cbc2f137efd9ef06a5560f2d9aff4a43793e4/
Issues
Partial in-game audio.
When testing the game in any stage it loads the first music track successfully, but then all subsequent tracks doesn't load. The same issue happens with SFX sounds.
Initially I tested this game with the Xenia latest master build and it had audio delay which it was solved when I moved to the Canary branch with the max_queued_frames = 3 setting. I tested all the available APU's but the missing audio issue is still there and from the error logs I get the following issues:
i> 00002378 Build: canary_experimental@7b6cbc2f1 on Feb  8 2022
i> 00002378 Storage root: C:\Users...\Documents\Xenia
!> F8000028 MmAllocatePhysicalMemoryEx: bad protection bits
!> F8000028 ResolvePath(shader) failed - device not found
!> F8000028 ResolvePath() failed - device not found
!> F8000028 ResolvePath(loading) failed - device not found
!> F80000D4 ResolvePath(sound) failed - device not found
!> F80000D4 ResolvePath(radirgy2) failed - device not found
My current Xenia configuration is attached:
xenia-canary.config.toml.zip
Log
xenia-log.zip
Screenshots
No Screenshots available. Audio issue
Labels
apu-silent, state-gameplay

Xbox 360 Marketplace link
https://marketplace.xbox.com/ja-jp/Product/ラジルギノア-MASSIVE/66acd000-77fe-1000-9115-d8024b5107d3
Xenia version
https://github.com/xenia-canary/xenia-canary/commit/1ae524a8d51f7de5df8d2a1f72d7a5fb0416e266/
Issues
Sound works, so I could reach the point every time to shoot but nothing on the screen.
Log file is massive somehow.
Log
xenia.zip
Screenshots

Labels
state-nothing


Change repo, bot name, and default command prefix to "ada"

"I am ADA, also known as Artificial Directory and Assistant, tasked to support pioneers, such as you, in their mission."
--ADA
https://satisfactory.gamepedia.com/ADA

The repo and bot name have been changed, but not the default command prefix yet. Also need to clone the git repo using the new name.


Simulate handle op

Description

switch from simulateValidation to simulateHandleOp - ECDSA signatures can be set to "0x" during estimation
fix callGasLimit estimation

Tested with ERC20 transfer on a fresh wallet:
Estimated callGasLimit before: 0x5820 = 22560
Estimated callGasLimit after: 0xda69 = 55913
Example tx with fixed callGasLimit: https://mumbai.polygonscan.com/tx/0x8fca08aa8fe2575538844ad7fe192c05ed6d7ff8f6725a894c013bd9d10a6e9c

Types of changes
What types of changes does your code introduce?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Other (please describe):

Further comments (optional)

after the latest commit


Error flood when using nameless 2.1.0

EDIT: put error in a hastebin https://hastebin.com/share/ivoxasipen.csharp

Fixed by https://github.com/NamelessMC/Nameless/pull/3356


Completed Spanish translation

The Spanish translation was incomplete, now with this it's complete. It would be good if another contributor who speaks Spanish reviews the changes. I used Poedit for this and followed the instructions mentioned in TRANSLATIONS.md.

thank god finally

Nice, thank you!


Improve the integration of the Metrics pipeline in the release

Context
The OT Metrics are computed on a VM. All the necessary files are copied to the VM and then the relevant metrics are generated.
We want to migrate the logic to accept gs:// locations for the input data, so that no local files are used and therefore the pipeline can be submitted to a Dataproc cluster.
The current workflow is explained in detail in the Metrics repo: https://github.com/opentargets/ot-release-metrics#run
It essentially entails:

Setting up the environment in a VM
Copying the input data: we use PIS for the pre pipeline metrics and the gs://open-targets-data-releases buckets for post pipeline.
Running metrics.py. This will generate a CSV file with all the metrics.
Uploading the CSV to the data folder in Github.
The app will be automatically redeployed to make the latest data available.

Actions
We want to streamline the above workflow. For that, we've identified 3 actions:

Adapt the metrics script to work with remote data (#2613)
Parametrise the metrics script with a configuration file (#2614)
Make the metrics app fetch data from a google bucket (#2615)

The code has been adapted to follow the mentioned requirements (PR#19).
Instructions to run the code are available in the docs: https://github.com/opentargets/ot-release-metrics/blob/il-2614/docs/metric-calculation.md
We probably want to upscale the machine since it currently takes a significant amount of time (~45min).
I've been able to generate the metrics for the latest ETL outputs in the dev bucket: gs://open-targets-pre-data-releases/development/output/etl/parquet
The outputs are uploaded to 2 locations:

Stored as metadata as part of the release outputs (metadata/metrics/${run_id}.csv)
Stored in the metrics bucket so that they can be digested by the app (gs://otar000-evidence_input/release-metrics)

Note: we've temporarily dropped the functionality of running the pre ETL metrics as PIS is a dependency at the moment and I haven't figured that out yet.
Now I guess it's a matter of plugging it to the ETL.

please also see link to a relevant closed ticket

duplicate - linked to most recent one

@ireneisdoomed and @prashantuniyal02 , I think we should close this issue, as the metrics things is taking a completely different shape

@ireneisdoomed
Let's revisit this issue, as it's my understanding that some containerization work around the metrics pipeline is being completed by @tskir .

Hi @tskir, has there been any update on making the metrics part of the pipeline?

This step is ready to be plugged in the orchestration layer. The metrics generation script is dockerised and ran using Dataproc Serverless.

@prashantuniyal02 Status update from my side as requested: as Irene mentioned above, the metrics generation script can now be run with a single command. The instructions are provided here: https://github.com/opentargets/ot-release-metrics/blob/master/docs/metric-calculation.md
So from the data team side, this issue is complete. The command can now be plugged into the orchestration layer.


Remote API Error during configuration

Hello,
integration was working fine till some days ago, then stopped.
Tried to delete the configuration and create from scratch but now Iget the error: Remote API Error
Version of the custom_component
1.0.15
Configuration
Configuration made via UI inserting AppID and APPSecret, before it worked, now it doeas not work anymore
Home Assistant
Core: 2024.2.5
Supervisor: 2024.02.1
Operating system: 12.0
Frontend: 20240207.1
Thanks for support

It's server side. Please wait sometimes then try to reload configuration.

Great thanks,  it works again now
Il Ven 1 Mar 2024, 08:57 thangnd85 @.***> ha scritto:

It's server side. Please wait sometimes then try to reload configuration.
—
Reply to this email directly, view it on GitHub
https://github.com/user2684/imou_life/issues/96#issuecomment-1972696008,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOHWQCVVYT4JEGZNYRY4BYTYWAYFNAVCNFSM6AAAAABEAIECFWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZSGY4TMMBQHA
.
You are receiving this because you authored the thread.Message ID:
@.***>

HI Team,
Even if lower than 30K per month is still failing during reload of configuration.

openapi.lechange.cn
api换成这个

I don't get any notifications about person detection. I can't activate the switch in HA either. There is the error: Error calling service switch/turn_off. 40999: Unknown error. The same with various other switches. What do I have to do for this to work? Does this have something to do with the API?

Thanks @thangnd85 !!!
Indeed worked like a charm!!  Just 1 dolar it enabled back all the services!

thanks for helping! Good TIP!

Just for your reference, I've summarized all the information regarding this on https://github.com/user2684/imou_life/wiki/Imou-API-usage-restrictions. Thanks


answers in wrong language

Sometimes answers are returned in a different language from the one specified. e.g:
$ curl cht.sh/python/progress+meter  # correctly returns python [so/q/3160699]
$ curl cht.sh/python/progress+bar  # incorrectly returns java [so/q/19417246]

Yes it is a know problem (but we seem to have no issue for that; thank you for opening one).


Batch HTTP 400

Version
3.1.0
Steps to Reproduce
Trigger any event.
Wait for send to the /batch endpoint.
Expected Result
Expected HTTP 2xx code after send.
Expected to see some events in Activity feed.
Actual Result
No logs are shown in the Xcode console.
No events are shown in Activity feed on website.
Debug with breakpoint indicates a response status code is always 400 (PostHogApi.batch()) without any error.
SDK is initialised with:
let configuration = PostHogConfig(apiKey: postHogKey, host: "https://eu.posthog.com")

configuration.captureApplicationLifecycleEvents = false
configuration.captureScreenViews = false
configuration.debug = true

PostHogSDK.shared.setup(configuration)

@bddq I just checked it and it's working alright for me.
Usually, a wrong apiKey returns 401, but not 400.
What do you see in the logs if enabling configuration.debug = true?

@marandaneto As mentioned, logs are not displayed at all in Xcode console.
I'm using Xcode 14.2.
I checked the API key used. I use the right one.
I'm still having an HTTP 400 error.
I upgraded to 3.1.1, same issue.

@bddq we had some DNS issues yesterday, not sure if its the same thing but I will double check.
https://status.posthog.com/incidents/qqslrk8p86hx
I will check why there are no logs as well.

@marandaneto I got same behaviour with default host.
BTW, I tested the same source code on another device and it works.
Device with PostHog working: iPhone 11 Pro, iOS 15.6, WiFi.
Device with PostHog not working: iPhone SE (3rd gen), iOS 16.2, WiFi.
Both tests were done with PostHog SDK v3.1.1.
Can it be an issue with Gzip on iOS 16 or something else making the request bad?

@bddq https://github.com/PostHog/posthog-ios/pull/104
After this PR we'd have better logging, not sure, gzip is wrapped in a try-catch, so it'd throw and return early instead of calling the API and returning 400.
Let me get this merged, so you can test and check the logs.
I'll try to create an emulator using iPhone SE (3rd gen), iOS 16.2, WiFi

https://github.com/PostHog/posthog-ios/releases/tag/3.1.2
If you're using GH directly, please test it, if you're using Cocoapods, it'll take a few minutes.

I got it. Logs are now popping in Xcode console with 3.1.2 version.
You have an issue with the send_at value.
The toISO8601String(_) currently returns "2024-02-09T10:32:21.671 AMZ" value for my device.
This value seems not to be supported by your server.
Why in your DateUtils you are not using an ISO8601DateFormatter?

@marandaneto my device have 12-hour time format, so the date formatter is adding  AM before Z. That's why.
I definitely advise you to use the ISO8601DateFormatter  if it fits your need.

oh damn, let me check this @bddq thanks!

Thanks @bddq for debugging with me.
https://github.com/PostHog/posthog-ios/releases/tag/3.1.3


chore: update msrv to 1.70.0

How come this wasn't caught in the CI?
Doesn't rust-version force a build for that rust version, or is that only for non-workspaces?

We misunderstood it - it doesn't set the current version, it's just a minimum version constraint. The CI builds with whatever the latest version is, but checks if it's greater than the set rust-version.
We can manually check for the MSRV in the CI if we want.


Fix language display name and show active Language

It should show "español" instead of "Spanish"

@miltontony @peter ready for review :)

@peterp @saeedmb8 please review.

@peterp this is now fixed. Thanks

👍


Clean up this repo

It is not currently fit for perusing by anyone outside of Legalese, but it won't be long before people will want to.

[ ] Let's put all the rough work in a subdirectory.
[x] I will do something with the ExamplesLSM* directories. Eventually all but ExamplesLSMMath (which should be renamed ExampleContractsPseudocode or something like that) should be removed, and updated versions of those files put in pyL4/examples_sexpr.
[ ] I think we should remove and re-add this repo, to change its name to something more appropriate (computational-contracts?). Obviously it's not just a compiler. And should we remove the legalese- prefix? Or is that deliberate? Am I making a big deal out of nothing?

Edit this description to tag people who might have an opinion about this. @mengwong

@mengwong your input wanted on checkbox 3.

but that would require asking Sylvia to change the URL in the report.


关于麻将提示词的错误

GAME INFO:
Tiles Discarded in Previous Rounds: B6 B7 B8 C7 C9 D2 D2 D5 D5 D5 D8
Observe: Drew D4
Current Tiles: B3B3B3 B9B9B9 C7C7C7 D4D4 D5 D6 D4(just drew)
DECISION:
Thought: The tiles are close to a Bumps-win pattern. The newly drew D4 can form a bump D4 D4 D4. I need a pair to get a Bump-win. D5 and D6 can be the pair choices. Consider all other three D5 has been discarded already, it is impossible for me to get another D5 to form a pair. Thus I should keep D6 and discard D5.
Target Winning Pattern: Bumps-win
Winning Tile(s): D6
Action: Discard D5
本例中，你码到了D4后，就已经mixed-win了，所以这个例子，应该给出
Thought：The tiles are Mixed-Win pattern.The newly drew D4 can form a  Straights D4-D5-D6
Target Winning Pattern:Mixed-win
Winning Tile(s):D4(just drew)
Action：None

@Bazinga-Wang 好像有道理，你看看？

Fixed in https://github.com/babelcloud/LLM-RGB/commit/620a82c653e17ac9855036a3996b82081cc31f9b


Make flow types available to NPM users.

If there's a file with the extension .js.flow next to the file being imported, then flow uses that instead of the .js file.
Using this technique, when users import the module from NPM, they will get the flow types automatically.

LGMT. Thanks!


Crates don't get visually unloaded

When pressing unload, no crate disappears.

Okay, I will fix it!

This is impossible to fix!

Still an Issue!

ISSUE HAS BEEN FIXED!


Need to recognize multiple types of indexing on a collection

iRODS 4.2.7
Ubuntu16/18
When full text indexing is configured on a Collection, adding metadata indexing to the same Collection has no effect. (Asynchronous indexing jobs which should result from the addition of AVU's on data objects under that collection, do not get spawned.)

This awaits the writing of couple more tests to box it in ... but fully expect it to be solved before release.


Model max-in-vehicle-time

related to https://discuss.graphhopper.com/t/constraint-on-the-time-gap-between-pickupshipment-and-corresponding-delivershipment/836
ToDo:

[x] new development branch
[x] specifying max-in-vehicle-time when building services and shipments
[x] constraints and states
[x] tests

pushed a first version of this feature here: https://github.com/graphhopper/jsprit/commit/42ae57d00b3c30c3cebe5451af08bffd061fb479
here is an example of how to use it: https://github.com/graphhopper/jsprit/blob/42ae57d00b3c30c3cebe5451af08bffd061fb479/jsprit-core/src/test/java/com/graphhopper/jsprit/core/algorithm/MaxTimeInVehicle_IT.java
still open:

[ ] add state-update and constraint automatically
[ ] make pickup and service work

regarding the latter, currently, this maxTimeInVehicle feature is only supported for Delivery and Shipment. It is unsupported for Pickup and Service.

https://github.com/graphhopper/jsprit/commit/e8fe642e16737beeeb03d029ed2fa095d4bdec4c


Make it so that registration_type is editable in admin UI

We need to be able to change someone's crew designation

Fixed in #351


Some unit tests fail on Windows platforms

Some unit tests in store_test.go fail on Windows platforms, and the error message is like below:

--- FAIL: TestLoadTrustStoreWithSymlinks (0.01s)
store_test.go:28: symlinks should return error : "Error while reading certificates from "testdata\\trust-store\\trust-store-with-cert-symlinks\\GlobalSignRootCA_SYMLINK.crt". Error : "x509: malformed certificate""
--- FAIL: TestLoadTrustStoreWithDirs (0.00s)
store_test.go:35: sub directories should return error : ""testdata\\trust-store\\trust-store-with-directories\\sub-dir" is not a regular file (directories or symlinks are not supported)"
--- FAIL: TestLoadTrustStoreWithInvalidCerts (0.00s)
store_test.go:42: invalid certs should return error : %!q()
--- FAIL: TestLoadTrustStoreWithLeafCerts (0.01s)
store_test.go:49: leaf cert in a trust store should return error : "certificate with subject "CN=lol,OU=lol,O=lol,L=lol,ST=Some-State,C=AU,1.2.840.1135<IP_ADDRESS>=#13036c6f6c" from file "testdata\\trust-store\\trust-store-with-leaf-certs\\non-ca.crt" is not a CA certificate, only CA certificates (BasicConstraint CA=True) are allowed"
FAIL
FAIL    github.com/notaryproject/notation-go/verification       4.042s
FAIL

It's because these test functions check the returned error by comparing its error message with a hard-coded error string, but the returned error message contains a Windows-style path which does not match the hard-coded path (See  TestLoadTrustStoreWithInvalidCerts).

https://github.com/notaryproject/notation-go/pull/58

Closed by #58


update npm package repo

Hi!
is there any plans to update the version in NPM repository for this package? The latest version there is quite old: https://www.npmjs.com/package/jupyterlab-skip-traceback
Thank you!
Let me know if there is anything I can help with.

No. Please use the python package: https://github.com/deshaw/jupyterlab-skip-traceback?tab=readme-ov-file#install


Zoom in on an image

Type

✨ Feature

Requirements
We're pretty likely to want to offer deep zoom functionality beyond what can be done within native browser. What are our options for zooming in on IIIF images?
Options in the world include:

http://iiif.io/apps-demos/
OpenSeadragon
https://viewdir.github.io/
Universal Viewer
....and there are more I'm sure!

@jennpb @gestchild and I've been working on this. I plan to get user feedback on following

use of icon
location of CTA
zoom in/out interaction
Here's the prototype link.
https://invis.io/6XDWSYMPS#/257889595_WorkPage_Update


chore(consensus): increase polling rate for consensus proposals

@joschisan Does this value make any difference?

There are two philosophies to this:

me: Ideally we'd make this a async fn or channel so that modules can send CIs whenever deemed necessary, with the lowest latency.
@joschisan: CIs shouldn't be latency critical. Once the old LN module is phased out the polling could be done every 10s or so even.

What's the use case @dpc? My position is based on the idea that there might be a module type where it's the best solution (e.g. trading engine) to do something latency critical via consensus that doesn't need to be a transaction.
But @joschisan did great work refactoring all existing modules such that this isn't the case anymore, mostly by removing signature aggregation from the server. So maybe there's a simple fix here too.

The only latency critical items we had / still have are signature shares, which is a strongly discouraged pattern since it’s very wasteful with respect to disk and compute consumption and it’s not even necessary to order the shares, so we have a unnecessary ordering latency added.
Therefore, I suspected that latency critical CIs may be an indicator of a misled module design and wanted to support them when we have a module that actually does require them.

@elsirion @joschisan
If I have a test that sets a meta value on peers and then waits to see if it was set, IIUC, it might be x10 speedup for such test. A win is a win.
And a delay here (1s) dwarfs the AlephBfts internal tick time, IIUC, which is like 60ms. Decreasing the exact number here is not a complexity problem, and I doubt the load will increase anyway.
IIUC the delay here is adding latency for anything submitted through the API to get into consensus. And it's not a problem for other modules, because we basically special-cased transactions.
BTW. A relatively simple solution would be to turn that sleep into a select over (sleep, some_notification_channel), and let modules send over that channel when they did something that could have benefit from instant consensus proposal check. Which is effectively the same thing we're doing for Transactions, I think. The API can stay the same, consensus_proposal can be dumb, and we can get optimal performance.

I guess after  #4811 , the default time here could be even increased if we desired, so closing.


42 Enhanced History View

Closes #42

Fantastic, this UX is slick 💯
Some minor tweaks:
One
Can we make the entire second line gray?

Two
In my local Branta, I have a LOT of addresses. It looks like there is a bug where the addresses aren't being picked up.
See this example - history shows "No Wallet," Clipboard shows "Testnet P2TR." Happens on Testnet & Mainnet

LGTM, merging


Optional host/interface to go along with the port.

It appears that the port is the only value accepted. I'd like to be able to specify which host it's listening on.
https://github.com/sgentle/phantomjs-node/blob/master/phantom.js#L16
I think, this is it:
  startPhantomProcess = function(binary, port, args) {
    return spawn(binary, args.concat([__dirname + '/shim.js', port]));
  };

2.0.0-alpha doesn't use sockets anymore. So closing.


[Deprecated] this.pickFiles is deprecated warning for ember CLI 0.2.3

After install of ember-cli-bourbon addon to ember cli 0.2.3 project, starting the server gives me
[Deprecated] this.pickFiles is deprecated, please use broccoli-funnel directly instead  [addon: ember-cli-bourbon]

duplicate of: https://github.com/yapplabs/ember-cli-bourbon/pull/6


Fix burst rate limit for edge case on requests

Burst could run into issue in the following example:

Create 2 requests (_requestsThisBurst = 2 and _burstStart = X)
Wait 5 minutes
Create 60 requests

first 28 go through
Next request triggers as it's over the burst limit
Immediately exists while loop as _burstStart is from 5 minutes ago
Immediately executes next 30 requests
Waits until burst ends
Executes last 2 requests

Because the burst didn't reset during the 5 minute wait, it could execute some requests and immediately start a new burst resulting in > 30 requests sent in under 1 minute.
Additional changes:

Add Get properties for burst information (useful for debugging / ability to tell if you are getting throttled)
Add _lastRequest datetime for burst requests too (nice to see the time the last request was made even for bursts)

LGTM, thanks


Instructs the pipeline it's ok to save cache on partial builds?

Hello,
It looks like the cache is only persisted on "Successful" builds (cf. https://github.com/microsoft/azure-pipelines-agent/blob/0533383fe43ae079cd1d8f38342bbd465e7c2c4e/src/Agent.Plugins/PipelineCache/SavePipelineCacheV0.cs#L27-L30).
Some of our tasks fail on non critical steps (yarn outdated for instance) and are decorated with the "continueOnError" marker. We use this to warn the user that the build passed but some work still has to be done.
How open would you be to add an opt-in option to allow cache saving on "Partially succeeded" builds?

any update on this? I would very much like to have this feature

Hello,
We have decided to only allow caching for successful builds.
Thanks.

Hello, just wanted to throw another use-case out there for consideration of that feature; namely flakey tests. Being able to compile binaries and cash them based on the commit id and rerun a failed build/stage due to a flakey test without running the full build again necessarily.

@fadnavistanmay could you share the reason behind the decision? At least you should give the control to end users.


Is Voicebank pre-trained weight available?

Just wonder whether is Voicebank's pre-trained weight available now?

I will upload the weights soon.
Thank you.

Hi!
Thank you very much for sharing this repo publicly.
you stated that the model you uploaded is MANNER (small), but when i tried to load it with the small version i got a mismatch error. I then loaded it with the large MANNER model and got it ok.
I think the weights you gave us are of the large MANNER model. Am I right?

Hi,
We have uploaded both MANNER (small) and MANNER (base) a while ago.
The weight you tried is MANNER (base) maybe.
You can check the updated release.
Thank you

Hi have you uploaded the pretrained weights? I can't find it.


currentUser.createRoom() addUserIds does not fire the addedToRoom event

When creating a new chat room and adding user_2 to it using the addUserIds method the addedToRoom event doesn't fire in user_2's websocket.
currentUser.createRoom(
    {
        name: "aol_chat_room",
        addUserIds: ['user_2']
    },
    function (room) {},
    function (error) {}
);

In order to get it to fire you'd need to add the user to the chat room after the room is created in the success callback like so.
currentUser.createRoom(
    {
        name: "aol_chat_room",
    },
    function (room) {
        Laravel.chatkit.currentUser.addUser(
            'user_2',
            room.id,
            function (room) {},
            function (error) {}
        );
    },
    function (error) {}
);

I would expect that regardless of how someone is added to a room, either at creation or moments after, both would fire the addedToRoom event.

That sounds like a bug as the behaviour you've described is how it should be working. I'll take a look at what's going on and get back to you.

Just to keep you updated, I tested this and it doesn't seem to be an issue with this SDK but in fact with the service itself. We'll should have a fix for it tomorrow if all goes well!
Thanks for the report. I'll update this when it's fixed.

@hamchapman I suspected it was with the backend service but didn't know if there was a better place to report it. Thanks for the update.

@gileswells I've just created a PR for our server side and is up for review tomorrow morning when we're all back at work. We'll ping you when its all merged in and good to go!

@gileswells We've just pushed out a fix and tested with the JS SDK. Hopefully it should all be working as expected. Thanks for reporting this issue.

I see it working on my end as well. Thanks for the quick fix @vivangkumar!


fixed broken links within documentation

abstract
@mewmew created #180 in which he pointed to some broken references within the projects documentation. Here I tried to fix this issue where possible. Please give me a shout on what you think.
fixes
This PR aims to fix #180.
checklist

[x] Make sure you read and understood the CONTRIBUTING.md.
[x] Make sure you applied sufficient labels, milestone and assignee.
[ ] Make sure all TODOs are addressed.
[x] Make sure there is sufficient documentation.
[x] Make sure there are sufficient tests.
[ ] Make sure all commits are squashed before merging.
[ ] Make sure to delete the feature branch after merging.

Current coverage is 93.35% (diff: 100%)

Merging #182 into master will not change coverage

Powered by Codecov. Last update b49a19c...fffea10

Please give me a shout on what you think.

Looks good! The only comment I had was related to the PR template CONTRIBUTION.md link.
To see an example, click on the CONTRIBUTION.md link from the follow page:
https://github.com/xh3b4sd/anna/blob/6345902893f432be4439a2e50ff0185422050376/.github/PULL_REQUEST_TEMPLATE.md
It should bring you to https://github.com/xh3b4sd/anna/blob/6345902893f432be4439a2e50ff0185422050376/.github.com/CONTRIBUTING.md, which will work once your fix has been merged.
However, the same link (i.e. .github.com/CONTRIBUTING.md) will not work from other pages. For instance, go to the PR at page https://github.com/xh3b4sd/anna/pull/168 and click on  the CONTRIBUTION.md link.
It should result in a 404 at https://github.com/.github.com/CONTRIBUTING.md
Other than that, the fix looks good, and you may go ahead to merge it.
I have been unable to verify that the links are fixed programatically however, since the robots.txt file at GitHub prevents crawling of branches other than master.


v0.14.8 not published on the npm repo?

Hi @ebaauw
is this expected?
Thanks JO!

Oops.  Fixed now.


[Qualcomm feedback] Chapter 4: Clarification on multiple supervisor domains

Reference: link

More than one confidential supervisor domains may be hosted by the TSM-driver. Similarly, more
than one TVMs may be hosted by the host OS/VMM via confidential supervisor domains. Each TVM
may consist of the guest firmware, a guest OS and applications. The software components included
in the TVM are implementation specific.

It is not clear what differentiates  a confidential supervisor domain from the regular supervisor domain from the perspective of the isolation mechanisms (isa and non-isa). Is this distinction only attained for a specific SW implementation and services and flows provided? sounds like it but just want to understand if there is any subtlety

From the perspective of confidential computing, the usage of supervisor domains is described in the intro of this section -

The design describes an isolated (Confidential) Supervisor
Domain to enforce TCB and confidentiality properties, while using an isolated
(Hosting) Supervisor Domain for the host domain, thus maintaining the OS/VMMs
role as the resource manager (for both legacy VMs and TVMs). The resources
managed by the hosting supervisor domain (OS/VMM) include memory, CPU, I/O
resources and platform capabilities to host the TVM workload.

the main distinction between a supervisor domain used to host confidential workloads, vs the hosting supervisor domain is the function separation between resource management and security management. Other usages may have different functions associated with supervisor domains. hope that addresses the question.
cc @ozkoyunku


text color issue

Hello
I am going to create chart like this.
Please let me know.
How can I change text color

You can configure the color using the options props. Full PieChart Google reference


Support for adding key from Ledger hardware wallet

Added support for adding key from Ledger hardware wallet which was requested in this issue.

@vsmysle Hey, please, feature-gate the ledger support as not all the platforms have it, and there is already a ledger feature in Cargo.toml that is used throughout the codebase.

@vsmysle Thank you for the contribution! 🚀


Move header/footer to base layout

Currently we use the global-bottom.vue Global Layer component to display a on each slide.
Known issues with the current approach

As the component has position: absolute to display it on the bottom of the slide, it is taken out of the flow and can overlap with the content
The footer doesn't transition with the slides, making it look really awkward
We need to introduce the global-top.vue component as well to display the logo on the top left on some slides
The logo is either on the top left or the bottom right, so we need to determine its placement in 2 different components

New Approach
Create 2 new components: Move global-top.vue and global-bottom.vue to /components and rename them Header and Footer, respectively. Place these components in the BaseLayout component and have it determine where to display the logo. This solves the aforementioned issues:

It is part of the layout, thus part of the document flow, so no overlap anymore (NB: content could push the header/footer out of the viewport
Since it's part of the slide, it will transition with it
Have 1 single source of truth to determine where the logo is displayed

Notes

This new approach might also help with #59

Won't do
Discussed with @Lingertje.
After some investigation the described approach results in a few new issues mostly encasing alignment. The effort to fix this is not worth the result.


in thread, instantiating PhysicsBody2D with a CollisionShape2D child raises error

Godot version
4.1
System information
Godot v4.1.1.stable - Windows 10.0.19045 - Vulkan (Forward+) - integrated Intel(R) UHD Graphics (Intel Corporation; <IP_ADDRESS>75) - 13th Gen Intel(R) Core(TM) i7-1370P (20 Threads)
Issue description
In thread, instantiating physicsbody2ds with a collision shape child raises a get_transform error.
According to https://docs.godotengine.org/en/stable/tutorials/performance/thread_safe_apis.html#scene-tree, this isn't the intended behavior.
Steps to reproduce
see project
Minimal reproduction project
gd_thread_instantiate.zip

Looks like a thread guard issue, instantiating the scene eventually calls Node2D::get_transform() which has ERR_READ_THREAD_GUARD_V() guard. Might be intentional or not.
You can work around this by calling Thread.set_thread_safety_checks_enabled(false) in the thrad function, but be careful as this might not be fully supported currently.


image-action: Fix open and download hover highlight in night mode.

Fixes #11887.
When we try to hover over Open or Download they were not highlighted
in night mode. This commit adds highlighting in night mode.
GIFs or Screenshots:

@synicalsyntax can you review this one?

(This might be a case where there's a inherit we should be using instead somewhere)

@timabbott i got what i did wrong.. i had to change the specificity of the hover code instead of copying it to the night_mode.scss. Adding the lightbox_overlay does just that. Please review. Thanks.

Great, merged, thanks @vsvipul!
(And yeah, often one needs to do some investigation like this to fix CSS problems -- it's rarely the case that just adding a few lines is the right fix).


Update color tokens for theming support

General Support Request
In order to make Auro components themeable, we need to make sure there are no hard-coded and correct semanticly named tokens within the component. There also needs to be investigation around border rules which have a combination of size and color tokens, making them more complex, as well as background-color and color rules.
Possible Solution
Work with designers to figure out what tokens need updated values or renamed.
Additional context
This work stems from theming work happening to all Auro components:

https://github.com/AlaskaAirlines/AuroDesignTokens/issues/147

Rules and tokens to be edited can be found in the comments.
Exit Criteria
All hardcoded values and tier 1 tokens (brand tokens), are removed and replaced by semanticly named tier 2 and 3 tokens

Tier 1

Logo color: var(--ds-color-brand-midnight-400, $ds-color-brand-midnight-400);
On dark logo color: var(--ds-color-base-white, $ds-color-base-white);


Add last page to responses with rel last link

Hey,
This adds support for the last_page link. There was already support for next_page but not for last_page, as described here: http://developer.letsfreckle.com/v2/entries/#list-entries.
Please check it out, thanks!

@mauro-oto Well spotted, thanks!
Test is great. I think the store_next_and_last_page_links method mixes up functional and imperative a bit too much. Looks like we're also missing support for first and prev rel links.
I've cherry picked 2e16b97 and re-implemented the pagination a bit differently to support all of the links. Available in version 1.1.0, you should be able to get the last page like this:
first_page = freckle.get_entries
last_page = freckle.get(first_page.link.last)


.rc files: Proper task names

At least on windows these are displayed in the task manager.
I left Namecore as product name as is the case in the Qt .rc file.

Untested ACK (Windows specific).  However, I wonder why Bitcoin kept the ProductName as bitcoin-cli.  Is there a reason why they did this?
Also, I think we should use "Namecoin Core" instead of "Namecore".  No strong opinion on that, though.

okidoki, "Namecoin Core" it is

ACK.


Cleaning servers artefacts in test suite after test execution

Removing the tests artefacts to reduce the filesystem usage of the test suite

:-1: This execution should not be enabled by default.  The general concept is fine (e.g. for CI runs), but IMO, it should be explicitly enabled via a property.

In case of failure in the test the server directories wouldn't be deleted except if using -fae as the build would stop before the clean is called so I didn't think opt-in was required.
Adding a profile for this cleanup

Our CI jobs all use --fae, so we can't count on this not running in the case of CI failure. And in the case of failure we can't be deleting the log files. The reason we archive log files in CI (for example see https://ci.wildfly.org/viewLog.html?buildId=52414&buildTypeId=WF_MasterLinux&tab=artifacts) is to make them available when analyzing failed runs.

@ehsavoie Adding this to each fileset should address my concern about the logs:
          <excludes>
            <exclude>**/*.log</exclude>
          </excludes>

retest this please


PHP-CS-Fixer and GitHub Actions CI

This PR adds PHP-CS-Fixer to the project, using the Symfony ruleset.
The main changes to the code are indentation, but there are a couple more controversial ones includes in the Symfony ruleset such as yoda style conditions (true === $value instead of $value === true) - let me know if you want me to update that.
This PR also adds Continuous Integration via GitHub Actions, which runs on every push and every pull request. The CI action will:

Parse all PHP files for syntax errors (php -l)
Ensure that all PHP code adheres to the php-cs-fixer configuration
Static analysis with PHPStan - currently only on level 1 but good be increased with a bit of work to the codebase if desired

I'd like to contribute a few more things to this project, but it would be great to see this merged beforehand so that everyone is working towards the same codestyle.

hi @andyexeter, thank you for this pr and with pleasure if you have ideas to contribute to this bundle! good evening

@lhapaipai thank you for merging this :)
We should add 7.4 to the php-versions matrix here:
https://github.com/lhapaipai/vite-bundle/blob/639d3e76f62eab08aa4e37642e3f90406fdfe826/.github/workflows/ci.yaml#L11


Using resample_reduce on a Dataset with more than one data variable produces incorrect results

Forgive me if I'm too eager to use this package -- I'm excited about the concepts behind it!  I noticed some unusual behavior when using resample_reduce.  For some reason it seems like it uses the values of the last data variable for all data variables in the resultant Dataset.
See the following minimal example:
>>> import pandas as pd; import xarray as xr; from dask_groupby.xarray import resample_reduce
>>>
>>> times = pd.date_range("2000", periods=5)
>>> foo = xr.DataArray(range(5), dims=["time"], coords=[times], name="foo")
>>> bar = xr.DataArray(range(1, 6), dims=["time"], coords=[times], name="bar")
>>> ds = xr.merge([foo, bar]).chunk({"time": 4})
>>> resampler = ds.resample(time="4D")
>>> expected = resampler.mean().compute()
>>> result = resample_reduce(resampler, "mean").compute()
>>>
>>>
>>> expected
<xarray.Dataset>
Dimensions:  (time: 2)
Coordinates:
  * time     (time) datetime64[ns] 2000-01-01 2000-01-05
Data variables:
    foo      (time) float64 1.5 4.0
    bar      (time) float64 2.5 5.0
>>> result
<xarray.Dataset>
Dimensions:  (time: 2)
Coordinates:
  * time     (time) datetime64[ns] 2000-01-01 2000-01-05
Data variables:
    foo      (time) float64 2.5 5.0
    bar      (time) float64 2.5 5.0

Forgive me if I'm too eager to use this package -- I'm excited about the concepts behind it!

Thanks @spencerkclark this is great. I am excited too. See #34 for more exciting stuff!
That said there are clearly bugs. I've only run xarray's groupby tests so resample and groupby_bins operations are quite buggy.
This bug is quite bad. If I remove the compute call for result; then result.foo.compute() and result.bar.compute() work but dask.compute(result.foo.data, result.bar.data) fails as you show. I think I've messed up some dask tokens somewhere.


Move to spf-tools organization

https://github.com/spf-tools/spf-tools

@jsarenik, any chance you can invite my personal (AlexCline) GitHub account to the spf-tools org rather than my work GitHub account (AlexClineBB)?

Sure. Will do.
On Tue, Sep 11, 2018, 20:52 Alex Cline<EMAIL_ADDRESS>wrote:

@jsarenik https://github.com/jsarenik, any chance you can invite my
personal (AlexCline) GitHub account to the spf-tools org rather than my
work GitHub account (AlexClineBB)?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/spf-tools/spf-tools/pull/158#issuecomment-420362138,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAO7VQ_25WscdY8RPmbzNfv-5jxBhYISks5uZ_hFgaJpZM4Wjtt8
.


W5500 : Is not consistently able to assign GW, SUBM, IP, & MAC

I was trying to replicate the set up given in the following link:
http://wiznetmuseum.com/portfolio-items/ble-to-ethernet-thin-gateway/
connections between NRF51 and wiznet board are done as mentioned in the link.
I am using the same ioLibrary_Driver. Is not consistently able to assign GW, SUBM, IP, & MAC
But with DNS it has no problem.  I am not able to figure out if the problem is with SET or GET
ctlnetwork(CN_SET_NETINFO, (void*)&gWIZNETINFO);
OR
ctlnetwork(CN_GET_NETINFO, (void*)&gWIZNETINFO);
GET gives me all zeros(00:00:00:00:00:00, <IP_ADDRESS>) except for DNS. DNS assigns successfully

BY inconsistency i mean :    sometimes w5500 is initialized and sometimes not. i.e static ip, mac, gw, subm get assigned and sometimes fails. failure rate is high.(success:failure) = (1:50)
BUT DNS initialization always succeeds

For my issue it was changing the SPI mode, I was using the Wiz5100 and had to change the SPI mode to 0

HI ToasTer86,
DId u check this link....
https://forum.wiznet.io/t/topic/2323
Do let me know if u figure out something.......

Hi ToasTer86,
"For my issue it was changing the SPI mode, I was using the Wiz5100 and had to change the SPI mode to 0"  what did u mean by this..........did changing SPI mode to 0  solve your issue

Hey tmtpune,
I was able to fix the issue. The Wiznet 5100 does not support SPI mode 3, only SPI mode 0. The library we are both using has the SPI0 interface initiate on SPI mode 3.
So after I changed the SPI mode to 0 everything started working.

My IP adress is being setup correctly and I can ping the Wiznet 5100 as well.
Which chip are you using? If it is the Wiznet 5100 be sure to check you got the SPI mode on 0
void spi0_master_init()
{
SPIConfig_t spi_info = {.Config.Fields.BitOrder = SPI_BITORDER_MSB_LSB,
.Config.Fields.Mode     = SPI_MODE0,
.Frequency              = SPI_FREQ_8MBPS,
.Pin_SCK                = ARDUINO_13_PIN,
.Pin_MOSI               = ARDUINO_11_PIN,
.Pin_MISO               = ARDUINO_12_PIN,
.Pin_CSN                = ARDUINO_10_PIN};
spi_master_init(SPI0,&spi_info);
}

HI ToasTer86,
I am using Wiznet 5500.....Let me check if this solution of yours, solves my problem........
I will be able to revert back with the result only on monday.........
Thank u

good luck

u r possibly right......as far as i remember at one point of time while merging the code i came across this file: nrf_drv_config.h in which the following can be found
#define SPI0_ENABLED 1
#define SPI1_ENABLED 0
#define SPI2_ENABLED 0

That is the SPI bus you are using on your primary board ( SPI master) . SPI also had 4 different modes in which it communicates : 0, 1, 2 and 3
Read more about here: https://www.corelis.com/education/SPI_Tutorial.htm

The wiznet 5100 only operates on SPI mode 0, and I have it configure to SPI bus 0 on my main board (nRF52840).

Hi ToasTer86,
Can you send me the connection diagram of nrf52840 and wiznet 5100.
I have to create a similar setup using nrF52840 and wiznet5500 (WIZ550io) ........
Current setup comprises nrf51 and wiznet5500 (WIZ550io)
i have used the help of http://wiznetmuseum.com/portfolio-items/ble-to-ethernet-thin-gateway/
connect these boards

Dear all
Do you know the following site?
Maybe it will help.

First, please check H/W connection by reference schematic.
Second, make sure SPI interface between host and W5100/W5500 chip in firmware level.
Thanks.

Dear all,
i would like to share my new observation.......
The network initialization always succeeds in the case of a recently programmed host(nrf51). But when i restart the host network initialization fails. But if i reprogram(flash) the host with the same .hex file, network initialization succeds.......what could be the reason


[Brainstorming][add request][Improvement] Easier way to install/update/add plugins or themes

Feature Request:
I think there is a simple solution to install plugins.
It could be an extra UI, where you can simply instal plugins from the homepage without having to manually download them from the homepage, unzip them and then move them into the plugins folder and activate them, of course.
This UI could look like this and be in the plugins UI.

The User could also upload a plugin from his computer to bludit CMS
That could work just as well for themes.

great idea!👌
I personally think, the best way of quickly realizing this actually would be to build a plugin to load other plugins:
my basic idea:

choose plugin
download plugin ZIP file from the GitHub repo
unzip to plugin folder
delete ZIP
activate plugin

actually, this should be a pretty simple task.😁
I'll definitely look into this in the very near future😉

Okay, so this is my progress so far:
I started to integrate the installer into the admin sidebar for ease of use

checking if curl is installed, if not: display alert for now

if cURL is enabled, display the form (method="GET"; action="") with a url input and a submit button
When clicking on the button, the form submits and now comes the tricky part where I'm currently stuck.

I need some way to download the ZIP into the directory HTML_PATH_PLUGINS (defined in init.php)
the simples approach I took was this:
file_put_contents(HTML_PATH_PLUGINS."plugin-download.zip", fopen("https://github.com/philippd1/bludit-auto-update/archive/master.zip", 'r'));

This does not work tho.
Maybe @SamBrishes or @dignajar know how to help here?
all of the current code can be found here: https://pastebin.com/9203Ykqf

damn i just finished with the ui of the plugin. just download, extract and  activate is missing :/

hahah😂
well if we get the zip download to work it's gonna be easy

i got an idea from stack overflow
but no time ti test. its late (in europe)
$f = file_put_contents("my-zip.zip", fopen("http://www.externalsite.com/zipfile.zip", 'r'), LOCK_EX);
if(FALSE === $f)
  die("Couldn't write to file.");

  $zip = new ZipArchive;
  $res = $zip->open('my-zip.zip');
  if ($res === TRUE) {
    $zip->extractTo('/extract-here');
    $zip->close();
          //
   } else {
          //
  }

will quickly try this, then gonna hit the hay too ^^ (I'm from Germany 😉)

me too xD
attached my progress, looks quite like plugin settings

dang, that looks clean👌
when trying out your code I'm getting 'Couldn't write to file.'
I think I'll have to look into this tomorrow, as it also seems that I cannot even write a simple file like this
$myfile = fopen("test.txt", "w") or die("Unable to open file!");
fwrite($myfile, "test msg here");
fclose($myfile);

yes youre right let me just setup a repo. as you suggested ealier, i build a plugin.
https://github.com/naplaya/plugin-downlaod

thought there was an auto update plugin and found this. may it helps
https://github.com/Hatschipuh/plugin_update

it seems i could downlaod zip and extract it to PATH_PLUGINS, but dont know if it works on other systems

Sounds great!
I will either check it later today or tomorrow 😉

iam done for today, download and extract works fine but plugins were not activated. i gues there is an error finding the name of the class for activation.

naplaya are you german?

Yes, I am
Hatschipuh<EMAIL_ADDRESS>schrieb am Mi., 20. März 2019, 12:49:

naplaya are you german?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/bludit/bludit/issues/994#issuecomment-474796735, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AXwE115xn7dy962awJQE8n0OTSsMx-jJks5vYiBJgaJpZM4b3-TX
.

Hellow,
Another German here... Just Kidding, I'm not German, just living in Germany. The idea is good, I'll check the plugin and test it on my both environments :D.
Sincerely,
Sam.

I think Bludit should include a webhook on Github commit that builds/generates a master-plugins.json of all plugins (without screenshots for faster loads).
Then from the Admin Interface, this master-plugins.json could be called via AJAX to list available plugins.
On install, it could look for download_url of plugin, use the inbuilt TCP:: class, unzip it. Search the directory recursively for the metadata.json path. Consider that as the root of plugin and then move to plugins path. We could also include plugin update alerts by comparing installed version and version from the master-plugins.json
Same thing could be for themes, should probably be a part of core bludit like Bludit Package Manager :D

Same thing could be for themes, should probably be a part of core bludit like Bludit Package Manager :D

agreed 👍
I will work on a theme installer soon ;)

Here's the theme installer plugin: https://github.com/philippd1/theme-download
working with AJAX JS so it nearly instantly loads the list of available themes
if @dignajar accepts this, it should soon be available (PR)

Any updates on this? Could this be extended to be able to update bludit itself via the frontend?
@misterunknown yes, take a look at https://github.com/bludit/bludit/issues/1057#issuecomment-586924593 + https://github.com/philippd1/bludit-auto-update 😎

Thanks for the link, nice to see the progress.

Hello, with the new version of Bludit v4.0 rc1, I would like to close the old Github issues. If you feel that your issue is not resolved in the latest version, create a new ticket.

Help and Support use the Forum https://forum.bludit.org
Bugs and new requests here in Github https://github.com/bludit/bludit/issues


cdml-kinesis-analyzer to 0.0.6

Promote cdml-kinesis-analyzer to version 0.0.6

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


git continue alias

context-based alias to replace two subcommands: git merge --continue, git rebase --continue

won't do


ci(appveyor): remove node/yarn caches

Description:
Remove the node and yarn caches on travis/appveyor They are rarely ever used and take several minutes to restore and unzip at the start of every build
Motivation and Context:
If package.json changes that will trigger a rebuild of the node_modules. package.json changes fairly infrequently. Caching node_modules is enough and we don't also need to cache the npm/yarn caches in addition.
Caching npm and yarn caches adds a lot of extra time to builds unnecessarily. It takes several minutes to restore these directories from the cache and unzip them into place and they are not used 90% of the time. The only time they would be used is if package.json changed and that was triggering a rebuild of node_modules, in which case installing with a clean npm/yarn cache may be preferable to using an old npm/yarn cache.
How Has This Been Tested?
Ensure builds pass on ci and compare builds times before/after
Types of changes:
CI improvements
Checklist:

[x] My code follows the code style of this project.
[x] I have reviewed and updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes where needed.
[x] All new and existing tests passed.
[x] My commits have been squashed into a concise set of changes.

Coverage remained the same at 16.201% when pulling 5ed7ac88d9650d9bcf6902489a4db5130ccf6275 on mrfelton:ci/remove-yarn-and-node-caches into cf53d926339458b0fc9d5f6d4c4b8e09cf7859a2 on LN-Zap:master.


[GitHub] Adds an action to sort the PRs, issues, discussions and repos.

Description

Adds an action to sort the PRs, issues, discussions and repos. The options are similar to those presented on Github website for these entities.

Screencast
Repo Sorting

Discussions Sorting

Issues/PRs

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Hey @thomaslombart can you please take a look when you have some time?

Hey there! I'll be on vacation next week, so I'll review this PR the following week. @pernielsentikaer, feel free to handle this one if you have time.

Hello @thomaslombart please take a look when you find some time.

Thanks for the review @thomaslombart . I have updated the PR and addressed the 2 issues.

Hey @thomaslombart I think the feedbacks are already addressed in the latest changes. Can you please take a look?


Recursive Component Factory

Feel free to close, I know this is left basic on purpose and there's even the comment about it! :)
I thought i'd share the component generator change I just tinkered with that fits most of the JS projects I work on, where components are grouped with Major/Minor components and then sub-components that make up those Major/Minor components.
The Issue
Recursive generation of components in the Component Factory
The limitations
Knowing which components are meant to be pushed and which are just component partials.
The Solution
Recursively trawl the components, files with matching Folder/File names, or index files in any folder get pushed, otherwise they are ignored.
The Code

I don't think we'd want to add the additional complexity out of the box but this could certainly serve as an example for those wanting to customize the parse behavior - that's why this code is customizable in the first place, to fit team opinions :)


Vulnerability report process

It is recommended to create a security policy that includes a mail address to contact if one have found a security vulnerability in order to follow best practices for Free/Libre and Open Source Software (FLOSS) projects.
As an example you can have a look on xclim's security policy.
@aanderss, @rcornes
Do we have a mail address to contact in this case?

As project lead this should be a DWD address


[Browser Bookmarks]

Extension
https://www.raycast.com/raycast/browser-bookmarks
Description
I opened this issue in relation to https://github.com/raycast/extensions/commit/3dca7873bc565613d252a87dea196ec52f193bc5.
It's a nice feature, but I have that case when I have all bookmarks in Safari (to have it synced via iCloud with iPhone). I'm using Arc as the default web browser and now I need to copy the bookmark link from Safari (because the bookmarks are stored in Safari, so the extension is opening Safari) and paste it into Arc. That isn't very pleasant, when I'm using this extension a lot 🤔
Maybe it will be a good idea to let the user choose which web browser should open the bookmark via extension preferences. What do you think?
Steps To Reproduce

Open extension
Open any bookmark

Current Behaviour
The bookmark opens in the browser where the bookmark comes from.
Expected Behaviour
The bookmark opens in the browser which is selected in extension preferences:

Where the bookmarks come from
In default web browser
In the specific web browser

@iloveitaly maybe you want to look at this Issue 🤔

Interesting one. Let's make that a preference, yes. @iloveitaly, do you mind taking care of that? 😊

@teziovsky You can now uncheck the preference called Open Browser's Bookmark.


Register Krang

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/108316
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.0.1 -m "<description of version>" c9e74dd51dc441036d7141c5dd672186743a5298
git push origin v0.0.1


Support for 700 series Robot Vacuum

I have added basic support for the 700 Series Robot Vacuum, the successor to the PUREi9 Series, which differs from the PUREi9 in terms of capabilities.
In this version, support for the 700 Series Vacuum Mode (also known as Power Mode in PUREi9) is not yet included, as I am still determining the best approach to implement this feature.
However, this basic implementation should allow users to set up essential automations.
This implementation provides basic vacuum support for the following models:
Electrolux

Clean 600
Hygienic 600
Hygienic 700
Ultimate 700

AEG

6000 Robot Vacuum Cleaner
7000 Robot Vacuum Cleaner

Thank you!
It would be greatly appreciated if @joakimjalden and @derkrasseleo could also verify that this update doesn’t cause any regressions with the PUREi9 and PUREi9.2 models.

It would be greatly appreciated if @joakimjalden and @derkrasseleo could also verify that this update doesn’t cause any regressions with the PUREi9 and PUREi9.2 models.

@ivancoppa  Functionally it works (start, pause, stop, return) but the addition messes up the battery status. The battery status of the PUREi9 is reported as an integer number in the range of 1 to 6, not a percentage. The change makes the integration report a full battery on the PUREi9.2 as only 6% full. I have not had time to debug in my development environment (and will not be able to for a few days) but I would assume that something goes wrong with the battery_range property on line 398 in api.py.

...and out of curiosity, do the newer models report any capabilities for maps and cleaning zones?

Can confirm, battery status shows 6% for me, even though the robot was charging all day..

@ivancoppa Also, a suggestion is to change line 56 in vacuum.py to VACUUM_CHARGING_STATES = [9, 'sleeping'] or VACUUM_CHARGING_STATES = [9, 'idle'] and then line 114 to charging = self.get_entity.state in VACUUM_CHARGING_STATES so that the new models also get the little lightning bolt by the battery when charging.

@derkrasseleo @joakimjalden, thanks so much for checking!
I hope to work on a fix tomorrow and implement your suggestions.

...and out of curiosity, do the newer models report any capabilities for maps and cleaning zones? Could you post the "capabilities" part of the reply to the appliance info call?

From what I observed, it doesn’t seem to support cleaning zones, it just draws the map in the app.

@ivancoppa I was mucking about in the code today, and I have another suggestion for the 700 series support. When implementing the PUREi9 support, I got the (good) suggestion to give the Vacuum Entity a default friendly name based on the appliance name; see
https://github.com/JohNan/homeassistant-wellbeing/pull/146#issue-2554857654
I'm assuming the change would be a simple change of line 223 in ´api.py` to 206. Maybe we should also consolidate the naming convention (now "Vacuum" for PUREi9 and "Robot Status" for the 700 series).

Good point @joakimjalden,
I'll try to have a look during the weekend.


Disable integrated search

Could you please add an option to disable the integrated search? I know it supports regex, but sometimes the Chrome find command is just simpler to use / has better readability.

Hi @mariussoutier, you already is able to turn off the custom search, the problem is: to allow big files the plugin doesn't highlight all the content at once, it only highlights the visible part therefore it is impossible to the browser search to find anything that its not rendered. You can enable __ alwaysRenderAllContent__ and then JSON Viewer will render all the content and the custom search will be turned off, but be aware that large files could take a lot longer to load (there a people handling JSON files with +10MB)
The option that I mentioned is in the add-ons section.

Just to add, you can open Chrome's Find / Replace (and skip this extension's search) with Find Next (Cmd + G)


Added animated splash screen

#29
issue fixed. Please review this pr @Archita01

@Jatin887 can you tag this pr as hactoberfest accepted?


Error Fetching Usage Charges

Issue summary
Write a short description of the issue here ↓
I'm trying to get a list of all the charges made for my Shopify App.  I have created a ShopifyAPI::RecurringApplicationCharge, stored the id and then look for the charges as per this line
https://github.com/Shopify/shopify_api/blob/49ac8ccd0235233bd5ff2b67c0204636d5dcbb01/lib/shopify_api/resources/recurring_application_charge.rb#L16
 @charges = ShopifyAPI::UsageCharge.find(:all, params: { recurring_application_charge_id:<PHONE_NUMBER>2 })
Expected behavior
I should get a collection of charges?
Actual behavior
I get an error:
ActiveResource::MissingPrefixParam in Retailer::ShopifyController#charges
recurring_application_charge_id prefix_option is missing

Specifications

shopify_api version:9.3.0
activeresource version:5.1.1
Shopify API version used (example: 2020-10):

Thanks for reporting this @asecondwill, we'll investigate it!

Hey @asecondwill, do you see the same error if you try to get the usage charge with the following?
rec_charge = ShopifyAPI::RecurringApplicationCharge.find(21194801315)
@charge = rec_charge.usage_charges

Could you attach logs if that's the case?

Hi, sorry for the delay on this.  got put on something else.
Trying your suggestion:```
rec_charge =<EMAIL_ADDRESS>)
#<ShopifyAPI::RecurringApplicationCharge:0x00007fa6456ab6f0 @attributes={"id"=>22064857260, "name"=>"Basic Plan", "api_client_id"=>4447377, "price"=>"29.00", "status"=>"accepted", "return_url"=>"https://e0c25fbbf27a.ngrok.io/retailer/shopify/charges", "billing_on"=>nil, "created_at"=>"2021-04-08T09:53:06-04:00", "updated_at"=>"2021-04-08T09:53:53-04:00", "test"=>true, "activated_on"=>nil, "cancelled_on"=>nil, "trial_days"=>0, "trial_ends_on"=>nil, "decorated_return_url"=>"https://e0c25fbbf27a.ngrok.io/retailer/shopify/charges?charge_id=22064857260"}, @prefix_options={}, @persisted=true>
And then

@charge = rec_charge.usage_charges
*** ActiveResource::ForbiddenAccess Exception: Failed.  Response code = 403.  Response message = Forbidden (Forbidden).


[RFC] Design for plugin lifetimes and syntax binding

This RFC describes a design idea for how to solve a bunch of plugin-related problems with one simple-ish mechanism.
Rendered

Going to just leave some highlevel thoughts + questions, and we can start discussing.
I'm on the same page with sharing processes between views. I think this should be the default behaviour.
Re: commands: My thinking is that certain commands can be marked as being 'activation' commands, which are available when a plugin isn't running, and launch the plugin when invoked. The plugin does not need to be a global for this to work.
This also makes me realize another oversight, which is the distinction between enabled/disabled and running/not running. Because our plugins are not in some in-proc scripting language, this distinction is relevant for us in a way it isn't for some other plugin systems. This deserves some more thought.
Re: syntax, I'm uncomfortable with some stuff around syntax right now. You touch on some of these problems. I think that syntax highlighting is one of various ways we may desire to annotate and decorate text, and overriding the syntax system (by having all text styling happen through scope assignation) still doesn't feel like the best solution to me.
I've also been thinking (and @trishume has mentioned this before) that syntax information should probably be used for other editor functionality, such as autoindent and code folding. These could either happen in core, or syntax information could be exposed to other plugins.
This makes me think that a 'syntax provider' should be a special class of plugin; there should be a single syntax provider per buffer. (This RFC's proposals for figuring out who that is sound good, to me)
Anyway: I'd like to sort of get some thoughts on these broader framing topics before digging into the meat of this proposal, to make sure we're solving the right problem.

I think you're right about needing a way to mark where commands apply, but I'd structure it a little differently. Like plugins can bind to buffers with a selector, maybe commands can be enabled with a selector, this is how Sublime works. So an empty selector is a global command, but you can also have for example a "Cargo build" command that only shows up in Rust files. The same plugin can have both global and language-specific commands, including for multiple different languages. All commands start the plugin if it isn't already started.
Re: enabled/disabled vs running/not running. Our process starting mechanism is synchronous so we can use that to ensure that enabled+not running never occurs by starting it on transition into enabled. The only problem is plugins crashing while they are enabled, with a selector matching based enabled system you might need an extra flag for "crashed and we already tried restarting and it didn't work" that disables binding when it otherwise would.
Re syntax highlighting via scopes: I'd be interested to hear about example plugins that you think are reasonable but don't work well in the existing rich text via scopes framework. See https://github.com/google/xi-editor/issues/284#issuecomment-308190866 for my thoughts on the tradeoffs of having one blessed syntax highlighting plugin per buffer.
I definitely think plugins should have access to scope information.

I may be over-focusing on the processes comment & I need to spend a bit more time digesting the RFC, but can I get clarification on what the problem points are going to be & what the tradeoffs are in either direction?  For example, some potential future design decisions I can see are restricting or reprioritizing plugin execution on a per view-basis to reduce memory & cpu usage.  The per-process overhead I would expect would be dwarfed by the actual requirements of what the plugin is accomplishing & if you have 100 views that work has to be managed regardless if it's split across 100 processes, 100 threads in 1 process, or 1 thread in 1 process.  Similarly in-process prioritization/work interruption/shutdown is largely domain-specific whereas cross-process prioritization/work interruption/shutdown is pretty well established.  Re multiple processes, most text editors I would think would struggle to display a meaningful UI with 100 active text views open anyway so how big a problem is this actually?  Would a design that assumed plugins were shutdown more aggressively work (i.e. plugins serialize & deserialize state from disk to avoid redoing work or sharing work across views)?

I'd need to spend a bit of time getting back into the headspace for this, but it's definitely going to be time to revisit soon; thinking about this on and off I like the proposal more and more. I'm going to be posting an RFC with a bunch of proposed bits of refactoring in the next few days, and this proposal is on that list; will comment more then.

@vlovich I don't see resource management as a big concern, definitely so for CPU, and somewhat so for memory.

That leaves memory. The only class of plugins I can think of that would need an amount of memory substantially larger than the size of the text are compiler/autocompletion plugins, which want to work at a per-project level anyway so would be in one process. I expect the size of the text files to be less than a typical process memory overhead, so I think for normal plugins it would be a loss.
Also some context, I'm certainly not thinking about scenarios with 100 visible panes, I'm thinking of things like tabs in Sublime or buffers in Emacs. Files where I can have pending edits and expect to be able to switch to quickly, but aren't necessarily on screen. The normal limit for views on screen is probably 10 for the 99th percentile.
And if resource management really becomes an issue, I think it can be done quite cleanly in this kind of system. For heavy plugins you could have a functionality where instead of binding to any open buffers matching a selector, they can bind on any "active views" matching a selector. When a view becomes inactive that plugin is unbound and so knows to drop all its resources for that buffer just as if it had been closed.

I agree with tris; I think plugin use is going to be driven by interactions, and if you have n views you'll be doing approximately the same amount of work in one process or many.
The main argument I could see for multiple processes is that a crash or hang in one plugin is only a matter for one buffer.
I think the best argument against is simplicity; we definitely are going to need plugins that handle multiple buffers (for language server at the very least) and if we're building support and API around that I think it makes sense to focus support there, unless there's something compelling I'm missing.


Allow apps to declare secret values

Add support for a secrets dictionary in Schema. Apps can declare
secrets by providing an encrypted value that can only be decrypted by
private key.
Each runtime.Applet now accepts a SecretDecryptionKey. If a key is
provided, the runtime will use it to decrypt all of an app's secrets
when loading the Starlark script.
The decrypted values are provided to Starlark via the config object.
During development, a value can be provided via pixlet render, or a
querystring when using pixlet serve.

This functionality is not yet documented. Soft-launching it to be able to test it out. If everything works end-to-end, I will add developer documentation on how to use it.


configure zuul to use eureka serviceId instead of URL

I am deploying a simple application to PCF and having issues with zuul/eureka/config server. Specific versions used:
Spring Cloud Dependencies: Edgware.SR2
Spring Cloud Services Dependencies (PCF): 1.6.1.RELEASE
Spring Boot Version: 1.5.10.RELEASE
Issue:
I have an application.yml with the following content:
spring:
  application:
    name: myapp
zuul:
  prefix: /services
  routes:
   myservice:
     path: /mysvc/**
     url: http://localhost:8081

I created **myapp-dev.yml which has overrides for zuul
eg: in dev
zuul:
  prefix: /services
  routes:
   myservice:
     path: /mysvc/**
     serviceId: myservice

When I see zuul's /env it shows the overridden routes. The issue is when I access the gateway on PCF with a URL like this:
http://mypcf/services/mysvc to invoke the mapped controller, the gateway still tries to use the localhost URL from the application.yml instead of serviceId. myservice is the name of the service registered in eureka.

I tried including both the url and serviceId in the route and toggling the ribbon.eureka.enabled to true/false. That property is not being honored.
zuul:
  prefix: /services
  routes:
   myservice:
     path: /mysvc/**
     serviceId: myservice
     url: http://localhost:8081

Where does myapp-dev.yml reside?

In the git-repo that the config server points to. And to narrow down the problem, I put the serviceId and url in the same application.yml and ran the application locally (without eureka running locally) like this below. The flag ribbon.eureka.enabled is not being honored.
So, my application.yml would be: (for the first test
zuul:
  prefix: /services
  routes:
   myservice:
     path: /mysvc/**
     serviceId: myservice
     url: http://localhost:8081

ribbon:
  eureka:
    enabled: false

Zuul routes to http://localhost:8081, which is expected behavior.
But when I change the application.yml to disable the flag (in the same application.yml) like this below:
zuul:
  prefix: /services
  routes:
   myservice:
     path: /mysvc/**
     serviceId: myservice
     url: http://localhost:8081

ribbon:
  eureka:
    enabled: true

It still works, which is not expected. If eureka is enabled with the flag, shouldn't it fail since it depends on the serviceId (instead of the URL) and I do not have eureka running locally, so there should be nothing found.

It is not a valid configuration to have both a serviceId and url specified.  Only one or the other should be present.

Ok, in that case, back to the original question - how do I override the zuul routes so I can make the configuration work locally and when I push to the cloud without having to switch to serviceId and URL based on where I am working. Shouldn't the config server serviceId property override the URL property in the application.yml?

I think the best solution is to use profiles and enable a profile when running locally that uses a config file from the config server that contains the local configuration.

Thanks! That is what I was trying to do which I posted in my original post. Sorry if the message was not clear. The dev profile myapp-dev is what is used when I push the code to PCF. So, when I check the environment (/env), it shows my Zuul routes with the serviceId (in the configService section), and also shows the url down below in the applicationConfig: [classpath:/application.yml] section.
When I try to hit the service from Zuul, there is an error in my logs showing that it is trying to connect to localhost:8081 which is where my service is running. So, the profile override for the Zuul properties is not working. I tried it with the ribbon.eureka.enabled property toggle as well, not sure if that is working.

OK I misunderstood, thanks for clarifying.
Yes its going to merge the configuration together in that case.  What about keeping the configuration in two separate branches, a "dev" branch and a "production" branch?

Yes, that may work too. I was putting URL in application.yml so developers on my team do not have to make any changes when running Zuul locally. And then when I push to PCF, it picks serviceId from the environment profile. I was hoping that Zuul route in the config server would override what the application.yml has and use serviceId when forwarding to that service. It is not working that way as it merges the Zuul properties (like you mentioned) and tries to go to localhost based on the url when I push to PCF. So, you think the ribbon.eureka.enabled will not work in this case and toggle between true/false based on application.yml and the yml file in the config server?
Is there a different way to support local development without having to remember to change the serviceId to url every time I run Zuul locally. I do not use config server or eureka locally. They are only bound when I push to PCF.

I dont think ribbon.eureka.enabled will have any effect since that is not going to effect the filter zuul will choose to route the request I dont believe.
If you are not using the config server locally then you can just use the url property in your local configuration properties.  When deployed to PCF and using the config server your app should not be using the application configuration in the jar itself, is that not what you are seeing happen?  I was under the impression that you were using the config server locally and on PCF.

"When deployed to PCF and using the config server your app should not be using the application configuration in the jar itself, is that not what you are seeing happen?"
Yes, that is not happening. Zuul is using the application configuration in the jar. It is not using the configuration from the config server based on the profile.

I created 2 sample projects to demonstrate the issue.
https://github.com/sdesa/simple-gateway
https://github.com/sdesa/simple-service
There are config files in the projects that need to be copied over to the config server.

Sorry for the delay in responding. I created all the additional services required.
https://github.com/sdesa/simple-config-server
https://github.com/sdesa/simple-discovery-server
https://github.com/sdesa/config_files
Created a dev profile to override the Zuul URL with the serviceId that the service gets registered as. I intentionally set the port in application.yml to 7071 to validate that the service gets invoked via the serviceId and NOT the url.
When I run the service and access the URL
http://localhost:9090/api/simple
Zuul throws a forwarding error despite the active profile (note the active profile is dev) having a serviceId which it should be looking at and NOT the url from the application.yml.
So, I believe this seems to be a Zuul bug and not specific to Spring Cloud Services. Hope this clarifies it.

Since you are only using the config server in PWS I would rename simple-gateway-dev in the config repo to just simple-gateway.
The in the application.yml of simple-gateway change the dev profile section to
---
spring:
    profiles: dev

zuul:
  routes:
    simple:
      url: http://localhost:8081

and activate the dev profile when running locally.  I think this will achieve the functionality you are looking for where in the cloud you would use the serviceId (since the dev profile is not activated) but when running locally you would use the url since the dev profile is activated.

Thanks Ryan. In theory it should. I will try this out.

This works fine locally, but when pushed to PWS, it does not find the route. Also, if I rename the routes without the dev prefix, I would not be able to differentiate dev, test and prod profiles.

You are going to have to provide more details, just saying it doesnt work is not very useful.

Also, if I rename the routes without the dev prefix, I would not be able to differentiate dev, test and prod profiles.

I never said to rename the routes.

Sorry for the ambiguity. I meant to say, rename the profiles. What you had asked me to do is rename simple-gateway-dev to simple-gateway. So, all I was saying is, what do I do for the other environments.
Either way, it did not work. I am confused why adding a flag to Zuul to toggle between URL and serviceId based on discovery disabled or enabled respectively would not be useful.
To restate the original problem:
I am defining a Zuul route in application.yml with URL (localhost:port) as I am not running discovery locally. When I push the same application to PWS/PCF or even when I run locally with eureka enabled, I want to tell Zuul to use serviceId instead of URL. That is the ask.
I hoped that I could control the URL vs serviceId behavior by profiles, which did not work. The repos I created can be used to recreate the behavior locally (without PWS or PCF). If you think it is still confusing, please feel free to close this as a non issue.
Thanks!

I dont think your application.yml is correct https://github.com/sdesa/simple-gateway/blob/master/src/main/resources/application.yml.
It doesn't make sense that you have the serviceId in the default profile.  Here is what my modified application.yml looks like
spring:
  application:
    name: simple-gateway

#  profiles:
#    active:
#    - dev

  cloud:
    config:
      enabled: false   #currently not working, there is an open bug - https://github.com/spring-cloud/spring-cloud-config/issues/829

server:
  port: 9090

zuul:
  ignoredServices: "*"
  prefix: /api
  routes:
    simple:
      path: /simple/**

ribbon:
  ConnectTimeout: 30000
  ReadTimeout: 10000
  maxAutoRetries: 1
  MaxAutoRetriesNextServer: 2
  eureka:
    enabled: false

hystrix:
  command:
    default:
      execution:
        isolation:
          thread:
            timeoutInMilliseconds: 10000

#disable basic authentication as spring cloud config enables it by default
security:
  basic:
    enabled: false

#disable registering with eureka when running locally
eureka:
  client:
    enabled: false
    serviceUrl:
      defaultZone: http://localhost:8761/eureka
endpoints:
  routes:
    sensitive: false

management:
  security:
    enabled: false

---
spring:
    profiles: dev

zuul:
  routes:
    simple:
      url: http://localhost:8081

So, all I was saying is, what do I do for the other environments.

Well from what I understood from you use case the dev profile was only being used locally and locally you were not using the config server so you wouldnt need a dev profile in the config server.

Sorry for the late response on this. So, if I use the dev profile locally it works. When I get ready to deploy to PCF, and add serviceId to routes for the cloud profile, PCF still picks up the URL from the dev profile (or the default profile) and fails because there is no localhost on PCF. Would adding a flag like zuul.routes.enable.eureka to tell zuul to use serviceId instead of URL if both are present?

Why is the dev profile active in PCF?  You should only enable that locally

Thanks for the quick response.
PCF does not have dev profile, it only has the cloud profile. But the URL is in my application.yml (not in any profile), and the cloud profile has serviceId.
When I push the code to PCF, the application.yml's URL is still read even though the cloud profile has serviceId .
So, the question is, even though I have zuul routes set to serviceId for the cloud profile and I deploy to PCF with cloud profile, why does zuul still read the URL property from my application.yml and routes the user to the URL (in this case localhost).

Ok, makes sense. I was hoping the default profile can be what is in the application.yml, so I do not have to tell developers running the application locally to pass in a profile when they start the applicaiton. But I get it now, nothing in application.yml and add a profile for running locally with the URL and another profile for cloud for running with serviceId. Understood. I will try this and if it works, will close the issue.