Sonoff Basic R2 Fails to populate in HA

Firstly, thank you for this intergration. It is absolutely brilliant.
I have multiple Sonoff and Zigbee devices showing in HA. I have added 2 Basic R2 switches yesterday and they are stable in the ewelink app. I have tried to update, then removed the sonoff.json file to regenerate it and also uninstalled SonoffLAN to see if they appear, which they don't.
I have looked through the sonoff.json file and they uid for both of the R2s are in there, but will not show in HA.
I am unsure as to what to do next as it has worked flawlessly with all the other devices. I am happy to test anything you need on this or other issues.

I am having this same issue. Brand new Sonoff Basic R2. Just setup the integration.
.sonoff.json is getting created.
Turning on DEBUG shows good local connection and updates on switch status change via physical button.
Nothing showing in HASS Logs.

The "sonoff.send_command" service is even working; just not importing as a device.

Show your config.

I have similar issue with same device, in my case switch is showing in HA but doesn't react to any command.
HA states API:
  {
    "entity_id": "switch.sonoff_1000f0d640",
    "state": "on",
    "attributes": {
      "manufacturer": "SONOFF",
      "model": "BASIC",
      "sw_version": "PSF-B01-GL v3.5.0",
      "local": "E#422",
      "cloud": "online",
      "rssi": -67,
      "friendly_name": "Sonoff Basic R2",
      "supported_features": 0
    },
    "last_changed": "2021-03-13T14:07:47.125741+00:00",
    "last_updated": "2021-03-13T14:10:41.166023+00:00",
    "context": {
      "id": "48e993d2cab396ea65652e22c622270c",
      "parent_id": null,
      "user_id": null
    }
  }

But if I try to send command to Sonoff switch (on/off) I'm getting error 422 and nothing happens.
Everything is working as expected from official mobile app.
Payload:
service: sonoff.send_command
data:
  device: 1000f0d640
  cmd: 'off'

Debug log:
2021-03-13 15:34:55  WARNING  sonoff_local  1000f0d640 => Local4 | {'cmd': 'off'} <= {'seq': 72, 'sequence': '1615646095667', 'error': 422}
2021-03-13 15:34:55  DEBUG    sonoff_cloud  1000f0d640 => Cloud4 | {'cmd': 'off'} |<PHONE_NUMBER>667
2021-03-13 15:34:55  DEBUG    sonoff_local  1000f0d640 <= Local3 | {'switch': 'on', 'startup': 'off', 'pulse': 'off', 'sledOnline': 'on', 'pulseWidth': 500, 'rssi': -69, 'ssid': '...', 'bssid': '...'} | 72
2021-03-13 15:34:55  DEBUG    sonoff_cloud  1000f0d640 <= Cloud3 | {'error': 0, 'deviceid': '1000f0d640', 'apikey': '...', 'sequence': '1615646095667'}
2021-03-13 15:34:55  DEBUG    sonoff_cloud  1000f0d640 => Cloud5 | Force update sequence:<PHONE_NUMBER>867
2021-03-13 15:34:55  DEBUG    sonoff_cloud  1000f0d640 <= Cloud3 | {'error': 0, 'deviceid': '1000f0d640', 'apikey': '...', 'sequence': '1615646095867', 'params': {'bindInfos': {}, 'version': 8, 'sledOnline': 'on', 'switch': 'on', 'fwVersion': '3.5.0', 'rssi': -69, 'staMac': '...', 'startup': 'off', 'init': 1, 'pulse': 'off', 'pulseWidth': 500, 'cmd': 'off', 'only_device': {'ota': 'success'}, 'ssid': '...', 'bssid': '...', 'command': 'off'}}

What I'm doing wrong? 🤔

I also tried configuring another piece of the same device type with different fw version v3.4.1, same problem.
If I configure cloud mode only I'm getting no errors and no action is taken, in other words state is not updated.
2021-03-13 17:34:04  DEBUG    sonoff_cloud  1000f0b026 => Cloud4 | {'cmd': 'off'} |<PHONE_NUMBER>028
2021-03-13 17:34:04  DEBUG    sonoff_cloud  1000f0b026 <= Cloud3 | {'error': 0, 'deviceid': '1000f0b026', 'apikey': '...', 'sequence': '1615653244028'}
2021-03-13 17:34:04  DEBUG    sonoff_cloud  1000f0b026 => Cloud5 | Force update sequence:<PHONE_NUMBER>150
2021-03-13 17:34:04  DEBUG    sonoff_cloud  1000f0b026 <= Cloud3 | {'error': 0, 'deviceid': '1000f0b026', 'apikey': '...', 'sequence': '1615653244150', 'params': {'bindInfos': {}, 'version': 8, 'sledOnline': 'on', 'switch': 'on', 'fwVersion': '3.4.1', 'rssi': -63, 'staMac': '...', 'startup': 'off', 'init': 1, 'pulse': 'off', 'pulseWidth': 500, 'cmd': 'off'}}

Why you send cmd? It should be switch

Thank you so much, that was the problem.
The reason why I used cmd was becasue it was specified like that in the example yaml.

Thank you one more time and keep up the good work.

But example is switch.
You can use:
cmd: switch
switch: 'on'

But if the command is the same as the main parameter (switch) - you can skip it.

Sorry about the delay, I have been away with work.
My Config.yaml is:
sonoff:
username: !secret sonoff_username
password: !secret sonoff_password
reload: once
debug: True
with the output of the debug showing
2021-03-24 10:32:38  DEBUG    main          SysInfo: {'version': '2021.3.4', 'dev': False, 'hassio': True, 'virtualenv': False, 'python_version': '3.8.7', 'docker': True, 'arch': 'x86_64', 'os_name': 'Linux', 'os_version': '5.4.99', 'supervisor': '2021.03.6', 'host_os': 'Home Assistant OS 5.12', 'docker_version': '19.03.13', 'chassis': 'vm'} 2021-03-24 10:32:38  DEBUG    main          AUTO mode start 2021-03-24 10:32:42  DEBUG    sonoff_cloud  17 devices loaded from the Cloud Server ... 2021-03-24 10:32:42  DEBUG    main          1000ef995f == Init   | {'uiid': 1, 'extra': {'manufacturer': 'SONOFF', 'model': 'BASIC', 'sw_version': 'PSF-B01-GL v3.5.0'}, 'params': {'version': 8, 'sledOnline': 'off', 'switch': 'off', 'fwVersion': '3.5.0', 'rssi': -49, 'staMac': '...', 'startup': 'off', 'init': 1, 'pulse': 'off', 'pulseWidth': 500, 'only_device': {'ota': 'success'}, 'ssid': '...', 'bssid': '...', 'cloud': 'online'}} ... 2021-03-24 10:32:43  DEBUG    sonoff_cloud  Cloud init: {'error': 0, 'apikey': '...', 'config': {'hb': 1, 'hbInterval': 145}, 'sequence': '1616581963919'}
The uid 1000ef995f is one of my R2 devices that does not show in HA.

But example is switch.
You can use:
cmd: switch
switch: 'on'

But if the command is the same as the main parameter (switch) - you can skip it.

It is but you have to agree the documentation is not complete.
Parameter switch with value 'on' or 'off' isn't stated anywhere in the documentation, that is what I'm trying to point out.
Anyhow thank you for your help. 😉

Regular user shouldn't use this service. It is only for debug purpose :)

You can reopen issue if it's still relevant


Get central route in tenant

I want to add some central routes in tenant app. I tried: route('plans.upgrade'), but it just generated a URL with tenant domain.
Thank you!

I think tenant_route() and passing the central domain as the domain should work.

It's work. Thank you!


updated gradle and dependencies

Thanks for the pull request! It's generally not a good idea for libraries to have pre-release dependencies like alpha or beta, because it would trickle down to consumers of the library transitively. Since many of them can't use the pre-release versions, they would have to exclude all the transitive dependencies manually. So I'm going to close this PR, but once these libraries are stable feel free to open an new one.


fix: email design changes

Describe your changes
resolves #1512
Checklist before requesting a review

[ ] I have performed a self-review of my code
[ ] I have added tests wherever relevant
[ ] I have made sure that all automated checks pass before requesting a review

@arsforza merge this before you proceed with the mjml changes #1527


create node (Entity) management window

accessible from project menu
displays list of custom entities/nodes loaded to the project, and allows editing them.

closed. duplicate of #332, double creation because of weird github bug

closed. duplicate of #332, double creation because of weird github bug


Shape error when using feat_static_cat

Hello, thanks for reviewing this:)
I am using deepar to forecast sales of multiple products so my input shape might be a little bit different from single time series forecasting. Since I have 1917 time series with 55 categorical features, my input-list shape for "feat_static_cat" is (1917,55). I could not find documentation for multiple ts forecasting of gluonts so that was my best guess based on my experience of using sagemaker. However, that gives me an error:
GluonTSDataError: Array 'feat_static_cat' has bad shape - expected 1 dimensions, got 2.

I am confused about why it is expecting something of dimension 1. Is it because it does not know that I am passing multiple time series?
My model init looks like this:
trainer = Trainer(epochs=100)

estimator = DeepAREstimator(freq="D", prediction_length=28, num_layers = 3,trainer=trainer,use_feat_static_cat=True,cardinality=randomlist)

predictor = estimator.train(training_data=training_data)

Thank you in advance :)

Hello,
the shape of feat_static_cat should be 55 in this case.
In my view the [DeepAR documentation] explains how to use it quite well. Note that the field-name is cat instead of feat_static_cat there.

Hi @Christotoooo I am facing the same issue, I have 12 categorical features but I can't find a way to use them because I get the same error: GluonTSDataError: Array 'feat_static_cat' has bad shape - expected 1 dimensions, got 2 which in my case is normal shape (data_size, n_cat_feature) = (10500, 12).
series = []
for group in sample_df.groupby('ref'):
    id, group_df = group
    series.append({
        FieldName.ITEM_ID: id,
        FieldName.TARGET: group_df[target_col].values,
        FieldName.START: group_df['timestamp'].min(),
        FieldName.FEAT_DYNAMIC_REAL: [group_df[col].values for col in input_cols],
        FieldName.FEAT_STATIC_CAT: [ group_df[col].values for col in static_cat],
    })

from gluonts.dataset.common import ListDataset

# Create GluonTS dataset from list of dictionaries
ds = ListDataset(series, freq='1H')

Hi @deltawi Were you able to solve this problem? I am having the same problem, I am not sure how to solve it.

Hi @deltawi Were you able to solve this problem? I am having the same problem, I am not sure how to solve it.

I switched to Pytorch Forecasting library which implements TFT and is a lot more stable than gluonTS.


Enabling AKS virtual node add-on fails with python error

This is autogenerated. Please review and update as needed.
Describe the bug
Attempting to enable the virtual node addon to an AKS cluster results in a python error
Command Name
az aks enable-addons
Errors:
AAD role propagation done[############################################]  100.0000%The command failed with an unexpected error. Here is the traceback:
'NoneType' object has no attribute 'rpartition'
Traceback (most recent call last):
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 231, in invoke
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 657, in execute
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 720, in _run_jobs_serially
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 691, in _run_job
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 328, in call
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/init.py", line 807, in default_command_handler
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/acs/custom.py", line 2368, in aks_enable_addons
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/acs/custom.py", line 1794, in _add_virtual_node_role_assignment
AttributeError: 'NoneType' object has no attribute 'rpartition'
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Cluster already existed, running k8s v1.18.14
Add subnet to exiting VNet via: az network vnet subnet create --resource-group myresgrp --vnet-name myvnetname --name virtual-subnet --address-prefixes <IP_ADDRESS>/16
Enable virtual nodes in cluster: az aks enable-addons --resource-group myclusterresgrp --name mycluster --addons virtual-node --subnet-name virtual-subnet

Put any pre-requisite steps here...
``

Expected Behavior
Expected the addon to be enabled successfully
Environment Summary
Windows-10-10.0.19041-SP0
Python 3.6.8
Installer: MSI
azure-cli 2.22.1

Additional Context

route to appropriate team

Bump.  I'm producing the same error today with a similar command.
In my case the command is
az aks enable-addons --addons azure-keyvault-secrets-provider --enable-secret-rotation --rotation-poll-interval 5m -n myCluster -g myResourceGroup


Changed VMwareIso in builder so that it has format prop

Issue
https://github.com/mayn/packerlicious/issues/103
List of Changes Proposed
Added 'format' prop to VMwareIso method in builder.py file.
Testing Evidence

Ran this in Python terminal.

Coverage remained the same at 82.971% when pulling 0269e57c8f5bdbe628968503fd9ea6b32adb5854 on hongjoonchew:master into a07923259629a47e59bc2b2121051dba5d75920a on mayn:master.


Removing movies that have been added by user's mistake

I have wrongly added a movie with a similar name and rated it. Now, there is currently no way to remove the entry.
Ideally there should be a way to remove an entry altogether from the tiles. Please consider adding such a feature.

This is already available. Since I was using Watcharr on a phone, the delete option was not clearly visible. Sorry about that.

Hey @n00b12345, thanks for opening an issue, we probably should improve this.
Having the delete option only available via the poster on your watchlist might confuse everyone.
I think we should probably add a button near the statuses on the main page for the show/movie?

I think that's a very good idea and will probably be helpful for people using Watcharr on a touchscreen device.


TVOCall attributes nullability

Description
uuid attribute of TVOCall marked as nonnull, but it can be nil.
Steps to Reproduce

calls from one iOS simulator to another one

Code
@interface TVOCall (CallKitIntegration)

/**
 * @brief UUID of the call.
 *
 * @discussion Use this UUID for CallKit methods.
 */
@property (nonatomic, strong, nonnull) NSUUID *uuid;

Expected Behavior
uuid must be marked as nullable
Actual Behavior
Swift app crashes when it's nil
<TVOCall: 0x600000110e90>
  uuid: (null)

@property(readonly, strong, nonatomic, nonnull) NSString *from;
--
`From` value of the call.This may be `nil` if the call object was created by calling the `<[TwilioVoice call:params:delegate:]>`

Same thing for other attributes all marked as nonnull

Thanks for reporting the issue @siberianisaev.
We've created a bug ticket and will be working on it in the following week.
In the meantime could you also share some more info with us about

what steps did you do to result in the problem
does this happen every time? (it seems so)
SDK log will also help

Thanks
-bobie

Hi @siberianisaev,
We've released the Programmable Voice iOS SDK beta20 and updated the nullability notations. Now to, from and uuid of TVOCall are marked as nullable.
Thanks,
-bobie

thanks


Run and Jump Game added

The game is added.
Please close the issue #1722

Thank you @Vidhi-44 ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

Thank you  @Vidhi-44 , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


Added example for generic types with interfaces or class inheritance

Summary
Added example for generic types with interfaces or class inheritance.
I put it here so as to not detract from the initial definition and examples of the where clause, but let me know if it should be placed elsewhere.
Fixes #18948

Hi @mducharm
I like the idea behind this addition. However, rather than the specific examples, I think this might be better as added text in the opening paragraphs. Something to the effect of:

The where clauses for any type parameters must be placed after any declared base class or implemented interfaces.

What do you think?

Hey there - that makes sense to me. I made an adjustment, let me know if this fits with what you had in mind.


scim: Order Users by id when queried using filter syntax.

django-scim2 doesn't order the rows when fetching them in reponse to a
query using the filter syntax. We ensure that ORDER BY id is always
appended to the SQL queries.
This commit also reverts the test change added in https://github.com/zulip/zulip/pull/20369 - because we actually want that test to fail if the results are returned unordered.

Merged, thanks for fixing this!


Cant find on marketplace

Is it possible to manually install? The powershell code doesnt seem to want to work

Hey, did you find an alternative option or don't have a theme yet?

I ended up editing the default user.css to fit my preferred colour scheme.
On Sat, Jan 7, 2023 at 12:09 AM ColiMC @.***> wrote:

Hey, did you find an alternative option or don't have a theme yet?
—
Reply to this email directly, view it on GitHub
https://github.com/luximus-hunter/accented/issues/7#issuecomment-1374389329,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIKBRRCQNQVJ7ONVOSM77HLWRECDHANCNFSM6AAAAAARXYMPL4
.
You are receiving this because you authored the thread.Message ID:
@.***>


Updated authentication org and team for grafana

This PR fixes the current access failures in
https://grafana-appstudio-workload-monitoring.apps.appstudio-stage.x99m.p1.openshiftapps.com
Signed-off-by: Bama Charan Kundu<EMAIL_ADDRESS>

/lgtm


Attach compiled code to GitHub releases

Please include compiled assets with the release

Do you mean assets (i.e. the media content), or asserts (i.e. checks in the code to validate invariants)?
If you are talking about the media, I don't see why we should include the media.  We don't provide media, we provide a library.  Requiring people to download gigabytes of media to get a library is highly unusual.  Also, a lot of our demo assets are not managed by us, but are hosted by third-parties.  So we can't just include the segments.
If you mean asserts, then why would you want them?  They should never happen in production code since they are checking our internal assumptions about our code.  Having them increases the size of the release and shouldn't add much.

@TheModMaker Hey. Sorry I was so brief.
I meant the compiled js and css - preferably not minified.
I was trying out the player for the first time and it is convenient for first use to be able to drag a javascript folder from the github release download into the local webserver static folder.  Figured the feedback would be useful from the perspective of a new user.
If you're strongly against it I don't suppose I would argue for it.  But it is certainly more convenient the first time trying a new project if the boiler plate can run against a local copy without making me learn the compilation toolchain.  Using a CDN version is certainly one way to do it but local copies can be preferable

Compiled code and CSS are included in our releases via NPM and various NPM-driven CDNs.  If you use any of these means, you have them in dist/.  If you want unminified, use the variants with debug in the file name.
The compiled code is never checked into the repository in github, even in release branches & tags.  I don't see why one would check in compiled binary code.  (Would we require it to be updated on every commit?)  Compiled releases of this project are generally consumed via NPM or some other distribution mechanism.  You won't get that through github download links.
If you want to compile it yourself (from git clone, a github download zip file, or even after npm install), it's pretty easy.  Compiling the code requires python (build scripts) and Java (compiler).  Just run python build/all.py.  That will generate both fully-compiled production builds and debug builds.
See also the "Basic Usage" tutorial and the "Debugging" tutorial.
Does this help?

@thenewguy is suggesting we add a tarball with the compiled release when we make a release.  This is how we do it in Shaka Player Embedded.  When we make a release, we could zip up the NPM bundle and include that in the GitHub release page so people can download it directly from the release tab.

Ah, I see.  That would be a change to our release process.  Jacob, can we automate that when we push the tag?

You should definitely be able to automate it. It shouldn't be a manual process as that would be a lot of trouble

We should be able to automate it within our release script.  When we publish the NPM package, we can just also run npm pack, which creates a tarball of the NPM files (the same as the release itself).  We can then upload that with the GitHub release tag.

This might simplify things for you: https://github.com/actions/upload-release-asset

We don't have time to augment our release tools yet, so I attached the tarballs manually to v2.5.14 and v3.0.2.  Hope this helps!

Is anyone interested in having this done? Thanks!

This is already done since we revamped the release workflow.  Every release since 4.0.0 has this.


Allow Simultaneous Transparent and Upstream Proxy Mode

Is your feature request related to a problem? Please describe.
I am in an environment, where I have to run two proxies to achieve a goal due to networking limitations. I can get mitmproxy to receive all traffic on a macOS computer, but I need that traffic to forwarded to a remote upstream proxy.
Describe the solution you'd like
I would like to run mitmproxy by using mitmproxy —mode transparent —upstream-proxy <address-to-upstream
Describe alternatives you've considered
I have tried proxychains and redsocks. The current state of these tools is not that great for macOS. I haven’t been able to get proxycahins to work, and there’s little obvious documentation and support for macOS. I have been able to get redsocks to work and use pf on macOS, but I had to use a forked repo that seems to no longer be maintained. I have looked at redsocks2, but they have made some breaking changes and the docs are difficult to parse through. Essentially redsocks requires specific configuration to get it working with macOS.

If this is possible today using scripts and HTTP Connect, then I’d be more than happy to do it that way. However, I haven’t seen any examples of this.


fix examples color_grading and mobile after BackgroundColor changes

Objective

#14017 changed how UiImage and BackgroundColor work
one change was missed in example color_grading, another in the mobile example

Solution

Change it in the examples

Thanks for catching these!


Revert "F/a lot of config"

Reverts bndw/pick#35

Sorry- meant to squash the commits into one on the merge -____-


Confirm notify_forkchoice_updated call behavior as per Cl spec 1.1.7 's PR: 2745

Investigate if notify_forkchoice_updated is called as expected

Investigated and working fine as expected


Merge pull request #2 from kayjeee/fixing-lintes

Fixing linters so our code can pass the test
and return green

hi @franclobo
can you assist from here, should I create a new PR or new Branch

hi @franclobo
can you assist from here, should I create a new PR or new Branch

Hi, @kayjeee,
Thanks for asking. If this is a First review it could be better to create a new PR in the correct way.
Happy coding 👍🏽


Update CONTRIBUTING.md to Reflect Relevant Details/Links of GitHub-ReadMe Repository

The current CONTRIBUTING.md file in the GitHub-ReadMe repository appears to be a direct copy of the CONTRIBUTING.md file from the CatsInTech/Rezume repository. This results in inaccurate and irrelevant information for contributors.

To maintain consistency and provide accurate guidelines for potential contributors, it is recommended to update the CONTRIBUTING.md file of the GitHub-ReadMe repository to reflect the necessary details and links specific to that repository. This would help ensure that contributors have the correct information and resources to make meaningful contributions to the project.

Please review https://github.com/CatsInTech/GitHub-ReadMe/discussions/37 discussion to use the appropriate filename.
cc/ @praveenscience

Up for grabs. 👍

@arpitghura It's yours... 💪🏻


Issues with Discord/IDE as Snap packages or from the Ubuntu Software Center

Hi, it is currently not possible to use this plugin when both Discord and your IDE are installed with snap because of the sandboxing, and the fact the plugin is not able to connect to the discord socket
therefore I recommend you to either :
install those applications with flatpak (and a workaround)
install those applications on "bare metal" (without any sandboxing environment).

As far as I know, there's no easy way to get this to work under Snap due to its nature of sandboxing applications. That being said I'm by far not a Snap expert so if anyone wants to prove me wrong feel free to do so.
For Discord's side, you can take a look at https://github.com/snapcrafters/discord/issues/25#issuecomment-673590214. Maybe you have some luck with that.

install those applications with flatpak (and a workaround)

what workaround?

As far as I can tell, sudo snap connect discord:system-observe is not effective.
While this isn't the end of the world, it would certainly make transitioning to Linux from Windows a little
less frustrating for new users,

Unfortunately the only workaround that I found was to not use snap for discord and intellij :/
I did:
sudo snap remove discord
sudo snap remove intellij-idea-community
sudo apt install alien

Download the discord's .deb and double clicked to install
Downloaded the intellij toolbox's .tar.gz from https://www.jetbrains.com/pt-br/toolbox-app/
ran:
sudo alien jetbrains-toolbox-<IP_ADDRESS>01.tar.gz

Duble clicked the generated jetbrains-toolbox.deb file t install
ran:
sudo ln -s /jetbrains-toolbox-<IP_ADDRESS>01/jetbrains-toolbox /usr/local/bin/jetbrains-toolbox

because it placed the runnable binary file in an bad place
ran jetbrains-toolbox
installed IntelliJ from GUI and everything was the same way has before, except that DiscordIntegration works now

honestly? The best thing you can do is remove Ubuntu Software and install Gnome-Software with snap+flatpak plugin.
It's WAY faster because it's not based on an ancient gnome software version and still supports snaps if you want them.
sudo snap remove snap-store --purge
sudo apt install flatpak gnome-software-plugin-snap gnome-software-plugin-flatpak


RabbitMQ issue when running docker-compose

Dear Team,
I have been trying to try out the Docker containers that you provide, but I come across an issue that could be related to RabbitMQ. Would you perhaps be able to share some insights?
I have installed Docker Desktop on a Windows 10, and have followed the steps that you detail in the README. However, when I run docker-compose, the rabbitmq container seems to fail with the following messages:

The COLID services appear to be launching, but with errors:

When I try to "Start reindex" under Administration > Metadata Graph Configuration according to Step 7 of the Installation Instructions, I get an error:

Do you perhaps have some intuition on what is going on? Is there something I might have missed?
Many thanks for any help that you can give us, and keep up the good work!

Hi,
Thanks for reaching out to us. Could you please confirm if you are using the .env file to set up the following variables

MESSAGEQUEUE_COOKIE=SWQOKODSQALRPCLNMEQG
MESSAGEQUEUE_USERNAME=guest
MESSAGEQUEUE_PASSWORD=guest

Also would be great if you can share the message queue docker container logs to us if possible

Thanks for the fast response! Indeed I have created an .env file in the root folder:

Is "rabbitmq" the message queue docker container? If yes, I can see nothing else other than the error I sent in the first message. What I'm getting as logs from Docker desktop is: rabbitmq-logs.txt. Let me know if you're referring to something else!

Hello - we noticed that over the weekend this issue with deprecated variables for rabbitmq image was reported by many other projects.
As per their new configuration docs, could you please try to remove the RABBITMQ prefix in the RABBITMQ_DEFAULT_USER, PASS and VHOST variables in the docker-compose.yml file and build the images again?

It worked! (when doing the same also for the cookie) Many thanks!


Simple history recording

#Comments#
Header file put in include as not only local files include it.
Data structure and basic functionalities of history record implemented.
TODO: algorithm for choosing victim when memory is full.

Feel free to merge this pull request after you fixed the issues.


4.4.0 - Wire points to plot

should fix this, think we did a pass on it already on some things on a branch: https://github.com/vkottler/runtimepy/commit/6d62dc040f99513802b3c315bf3bcf0c39249e52#diff-5a0a9d3697f325cabd34537b116dfb3ab3bfecc2229183a6ba0f62d8a922f8b7


No Insiders builds since Nov 24

No new Insiders build since Nov 24, last one is https://dev.azure.com/ms/vscode-python/_build/results?buildId=51221&view=results

I thought these were being tracked as part of fs changes

We have a build now.


Fix Object Creation Return Type in SurrealDB.js

Hello, this is my first time contributing to this project, so please forgive me if I'm not fully aware of all the details in your codebase. I'd like to suggest a change that I believe may improve the functionality of SurrealDB.js.
While working with SurrealDB.js, I noticed an issue with the return type of objects created using the .create method. Instead of returning the created object directly, it returns the object wrapped within a list. This may cause unexpected behavior and should be fixed.

This behaviour happens only when you don't specify an id so you shouldn't change the return type of the function.
A better approach might be changing the #outputHandler function since that's what determines if an object or an array of objects should be returned.
btw I'm also working on a fix for this issue

I'm changing this in an upcoming PR :)

Superseded by #95, thanks for your contribution and for bringing this to light though!


Improve copywriting on readme page

Hi!
Thanks for the wonderful plugin! I haven't used it yet, so I can't tell, but it sure looks awesome at first sight.
Here I just suggest a few tweaks to the content of the readme page, just so it reads more like proper english.
Thanks again!

Thanks for polishing the content.

My pleasure!
On Fri, Aug 14, 2020 at 7:11 AM Henry Leung<EMAIL_ADDRESS>wrote:

Merged #2
https://github.com/henryleunghk/flutter-native-text-input/pull/2 into
master.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/henryleunghk/flutter-native-text-input/pull/2#event-3655817101,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAAKA3DJIK5XOSZ7SBSBZ3SAULXRANCNFSM4P7KJLUA
.


Add a multi-page Hub example

The current Hub examples uses Tabs to represent its different content, but if a Hub is large enough it may be desirable to have multiple pages either using something like React Router and/or the location and navigation services.
It is not clear to me what the intended flow is for doing this, and a reference example would be helpful.

Yes! This is something I am missing too.


Add Clang 17 on MacOS to CI

Our Mac CI script was mistakenly mixing up the Homebrew names "LLVM" and "LLVM@16", meaning it broken when Homebrew updated the default version.
We'll take this opportunity to not only fix it, but test with both Clang 16 and 17

Windows CI isn't working right now, but that #135


Update circe-literal, circe-parser to 0.14.7

About this PR
📦 Updates

io.circe:circe-literal
io.circe:circe-parser

from 0.14.1 to 0.14.7
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.circe" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "io.circe" }
}]

labels: library-update, early-semver-minor, semver-spec-patch, version-scheme:early-semver, commit-count:1

Superseded by #326.


Make sure arrow concatenation kernel early outs where needed

Same thing we did for take and filter.
Once again, the kernel unsurprisingly copies a whole bunch of data even in trivial cases.
Checklist

[x] I have read and agree to Contributor Guide and the Code of Conduct
[x] I've included a screenshot or gif (if applicable)
[x] I have tested the web demo (if applicable):

Using examples from latest main build: rerun.io/viewer
Using full set of examples from nightly build: rerun.io/viewer

[x] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG
[x] If applicable, add a new check to the release checklist!
[x] If have noted any breaking changes to the log API in CHANGELOG.md and the migration guide

PR Build Summary
Recent benchmark results
Wasm size tracking

To run all checks from main, comment on the PR with @rerun-bot full-check.

@rerun-bot full-check

@rerun-bot full-check


[TW#18502] BLE register service change notify odd behaviour

Hi,
I have quite problem to find right time when I can write to BLE server (Scale).
When I start after open/connect event, then I collide with bta_gattc_register_service_change_notify
which also trying to write to the device and it ends with GATT_BUSY.
But when I start after ESP_GAP_BLE_UPDATE_CONN_PARAMS_EVT
Then I miss 5s on start, where is scale sending data about temporary weight.
Also the function bta_gattc_register_service_change_notify try to write before ESP_GATTC_OPEN_EVT
which does not make too much sense.
This is log when I start after ESP_GATTC_OPEN_EVT (you can see 5s delay)
I (15667) [BLE]: : Connect to the remote device.
I (15677) [BLE]: : stop scan successfully
I (16157) dbg: bta_gattc_conn_cback enter
I (16157) dbg: bta_gattc_register_service_change_notify enter
I (16157) dbg: need timer1 // position markers, which say if timer will be used
I (16167) dbg: need timer2
I (16167) dbg: bta_gattc_register_service_change_notify exit 1
I (16177) dbg: start timer
I (16177) dbg: bta_gattc_conn_cback exit
I (16187) [BLE]: : ESP_GATTC_CONNECT_EVT conn_id 0, if 1
I (16187) [BLE]: : ESP_GATTC_OPEN_EVT, status=0
I (17177) dbg: bta_gattc_wait4_service_change_ccc_cback enter
I (17177) dbg: bta_gattc_register_service_change_notify enter
I (17177) dbg: will write conn=1
I (17187) dbg: write status 132 // 0x84 GATT_BUSY
I (17187) dbg: need timer5
I (17187) dbg: bta_gattc_register_service_change_notify exit 5
I (17197) dbg: bta_gattc_wait4_service_change_ccc_cback exit
I (17397) dbg: bta_gattc_wait4_service_change_ccc_cback enter
I (17397) dbg: bta_gattc_register_service_change_notify enter
I (17397) dbg: will write conn=1
I (17407) dbg: write status 132 // 0x84 GATT_BUSY
I (17407) dbg: need timer5
I (17407) dbg: bta_gattc_register_service_change_notify exit 5
I (17417) dbg: bta_gattc_wait4_service_change_ccc_cback exit
I (17617) dbg: bta_gattc_wait4_service_change_ccc_cback enter
I (17617) dbg: bta_gattc_register_service_change_notify enter
I (17617) dbg: will write conn=1
I (17627) dbg: write status 0
I (17627) dbg: bta_gattc_register_service_change_notify exit 0
I (17637) dbg: bta_gattc_wait4_service_change_ccc_cback exit
E (17647) BT: No pending command
I (21177) [BLE]: : ESP_GAP_BLE_UPDATE_CONN_PARAMS_EVT status = 0, min_int = 40, max_int = 40,conn_int = 40,latency = 0, timeout = 600
I (21277) [BLE]: : ESP_GATTC_CFG_MTU_EVT, Status 0, MTU 23, conn_id 0
I (21277) [BLE]: : direct register notify, handle=0x2e
I (21287) [BLE]: : ESP_GATTC_REG_FOR_NOTIFY_EVT
I (21377) [BLE]: : WRITE DESCR: status 0
scale cmd=0, auto=1
send_hello
Then question is, what is proper order of evetns/ commands? Because gattc client example does not count with service change registration and initial writing to device.
Thanks

@jedi7 you can refer to gatt_client demo and gatt_server demo in our ESP-IDF.

@Weijian-Espressif yeah I started from gatt_client demo. But I think it does not work properly.
If I understand the flow. Then after connect the 1s timer is started for registering service change notification. And also after connect is registered notification. After this, data are started writing.
Then there can (and it is, in my prog) be collision when timer expires, and client wants write data and also try register service change notification.
I tried to disable registering of the service change registration and everything started working properly.
Then is please possible add an configuration option to disable this automatic service change registration? Because if I want it, then I register it in my program.
Thanks :)

@jedi7 our example is just a demo, you can write directly when get ESP_GATTC_SEARCH_CMPL_EVT.

@Weijian-Espressif Maybe I explain it wrongly. When you look at the log in first comment, I will hit the GATT_BUSY when I ignore the service change registration and start sequentially writing to client.
In other words. When I write after ESP_GATTC_WRITE_DESCR_EVT and then ESP_GATTC_WRITE_CHAR_EVT. Then I hit the GATT_BUSY (not always, depends on the service change timer expiration) and communication is going to hell.
When I comment out (in esp-idf) the service change registration, then everything works like charm.
I can create pull request, but I will need esp architect, which will say if I should disable the code by #ifdef or by parameter.

I'm using master branch,commit 363c096f2b4d518f5d423718973f76aa5e009fbc

@jedi7 You can set connection params before connection in gatt cilent , the API is esp_ble_gap_set_prefer_conn_params(),  gatt server do not need to update connection params.
gatt client steps:

stop scan and set prefer_conn_params
open
esp_ble_gattc_search_service when get ESP_GATTC_CONNECT_EVT
write char when get ESP_GATTC_SEARCH_CMPL_EVT

@Weijian-Espressif It little confuses me. How setting these parameters helps with avoid calling function bta_gattc_register_service_change_notify() in callback bta_gattc_conn_cback() ?
I'm looking into file ./esp-idf/components/bt/bluedroid/bta/gatt/bta_gattc_act.c
Line: 1626
exactly this Line 2314 GATTC_Write collides with my GATTC_Write.
I'm doing this sequention:
`ESP_GATTC_SEARCH_CMPL_EVT // But I can avoid searching, because I already know the handlers.
esp_ble_gattc_register_for_notify
ESP_GATTC_REG_FOR_NOTIFY_EVT:
esp_ble_gattc_write_char_descr
ESP_GATTC_WRITE_DESCR_EVT:
loop:
write user data to server (scale) - esp_ble_gattc_write_char
ESP_GATTC_WRITE_CHAR_EVT: mark I can write to server
ESP_GATTC_NOTIFY_EVT: - read data from server (scale)`

@jedi7  I write char directly when get  ESP_GATTC_CONNECT_EVT, it works properly. I work at IDF release/3.0.
I (574) GATTC_DEMO: REG_EVT
I (584) GATTC_DEMO: scan start success
I (614) GATTC_DEMO: 30 ae a4 80 59 22
I (614) GATTC_DEMO: searched Adv Data Len 28, Scan Response Len 28
I (614) GATTC_DEMO: searched Device Name Len 14
I (614) GATTC_DEMO: ESP_GATTS_DEMO
I (624) GATTC_DEMO:
I (624) GATTC_DEMO: searched device ESP_GATTS_DEMO
I (634) GATTC_DEMO: connect to the remote device.
I (644) GATTC_DEMO: stop scan successfully
bta_gattc_register_service_change_notify
I (774) GATTC_DEMO: ESP_GATTC_CONNECT_EVT conn_id 0, if 1
I (774) GATTC_DEMO: REMOTE BDA:
I (774) GATTC_DEMO: 30 ae a4 80 59 22
I (774) GATTC_DEMO: open success
I (1444) GATTC_DEMO: write char success
bta_gattc_register_service_change_notify
bta_gattc_register_service_change_notify
gatt server log:
I (463) GATTS_DEMO: REGISTER_APP_EVT, status 0, app_id 0
I (463) GATTS_DEMO: CREATE_SERVICE_EVT, status 0,  service_handle 40
I (473) GATTS_DEMO: SERVICE_START_EVT, status 0, service_handle 40
I (473) GATTS_DEMO: ADD_CHAR_EVT, status 0,  attr_handle 42, service_handle 40
I (483) GATTS_DEMO: the gatts demo char length = 3
I (483) GATTS_DEMO: prf_char[0] =11
I (493) GATTS_DEMO: prf_char[1] =22
I (493) GATTS_DEMO: prf_char[2] =33
I (503) GATTS_DEMO: ADD_DESCR_EVT, status 0, attr_handle 43, service_handle 40
I (503) GATTS_DEMO: REGISTER_APP_EVT, status 0, app_id 1
I (513) GATTS_DEMO: CREATE_SERVICE_EVT, status 0,  service_handle 44
I (523) GATTS_DEMO: SERVICE_START_EVT, status 0, service_handle 44
I (523) GATTS_DEMO: ADD_CHAR_EVT, status 0,  attr_handle 46, service_handle 44
I (533) GATTS_DEMO: ADD_DESCR_EVT, status 0, attr_handle 47, service_handle 44
I (38973) GATTS_DEMO: ESP_GATTS_CONNECT_EVT, conn_id 0, remote 30:ae:a4:00:46:d2:
I (38973) GATTS_DEMO: CONNECT_EVT, conn_id 0, remote 30:ae:a4:00:46:d2:
I (39633) GATTS_DEMO: GATT_WRITE_EVT, conn_id 0, trans_id 1, handle 42
I (39663) GATTS_DEMO: GATT_WRITE_EVT, conn_id 0, trans_id 2, handle 42
I (39693) GATTS_DEMO: ESP_GATTS_EXEC_WRITE_EVT
I (39693) GATTS_DEMO: ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
I (39693) GATTS_DEMO: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
I (39703) GATTS_DEMO: 00 00 00
here is my test demo, please refer to.
test_code.zip

@Weijian-Espressif Thanks for your effort. I looked into your test code (it looks like reduced the example one) And there is only one write to server.
My problem occurs on heavier writing/receiving after cca 1s (when the "ccc_timer" timer expire and "bta_gattc_register_service_change_notify" is called.
I can try to modify the example to do more work, but I do not have devices to test it. (I have only one now)

There is another example, when the collision happen:
I (33257) [BLE]: : Is known device
scale is probably awaked
I (33257) [BLE]: : Connect to the remote device.
I (33267) [BLE]: : stop scan successfully
E (33547) BT: bta_gattc_act bta_gattc_register_service_change_notify
I (33547) [BLE]: : EVT 40, gattc if 1
I (33547) [BLE]: : ESP_GATTC_CONNECT_EVT conn_id 0, if 1
I (33557) [BLE]: : REMOTE BDA:
I (33557) [BLE]: : c8 fd 19 94 27 9a
I (33557) [BLE]: : EVT 2, gattc if 1
I (33567) [BLE]: : ESP_GATTC_OPEN_EVT, status=0
E (34547) BT: bta_gattc_act bta_gattc_register_service_change_notify
E (34747) BT: bta_gattc_act bta_gattc_register_service_change_notify
I (34937) [BLE]: : EVT 18, gattc if 1
I (34937) [BLE]: : ESP_GATTC_CFG_MTU_EVT, Status 0, MTU 23, conn_id 0
I (34937) [BLE]: : register notify, handle=0x2e
I (34947) [BLE]: : EVT 38, gattc if 1
I (34947) [BLE]: : ESP_GATTC_REG_FOR_NOTIFY_EVT
E (34957) BT: bta_gattc_act bta_gattc_register_service_change_notify
E (34967) BT: gatt_api GATT_Write called conn=1
E (34967) BT: gatt_api GATT_Write called conn=1
E (34977) BT: GATTC_Write GATT_BUSY conn_id = 1
E (34977) BT: No pending command
E (35047) BT: No pending command
I (38597) [BLE]: : update connetion params status = 0, min_int = 40, max_int = 40,conn_int = 40,latency = 0, timeout = 600
Scale Watchdog - disconnecting scale
E (63567) BT: bta_gattc_conn_cback() - cif=1 connected=0 conn_id=1 reason=0x0016
I (63567) [BLE]: : EVT 41, gattc if 1
I (63567) [BLE]: : ESP_GATTC_DISCONNECT_EVT reason=22

I also fixed formatting in first comment, so it is now better readable (sorry for that)

My test is ok, Can you delete the connection parameter update in gatt server and try?  Or can you provide your test code?

@Weijian-Espressif that is the problem, the server is proprietary scale, I cannot make changes into server. Just on client. I can provide the client code for communicating with the scale. But without the scale you are not able to test it.
Anyway, I think, the problem is visible directly in the code. Where I have my chain of writing and reading to server and this chain is interrupted by the ccc timer with bta_gattc_act bta_gattc_register_service_change_notify.
And the scale (or BLE) is not able to handle two writes / commands at once.
I compared the release 3.0 and master and there only minor changes, then with proper test we will be able to create the scenario.
I will try to modify the example files, and send it to you.

jedi_gatt_test.zip
Please try this test client with an gatt server with enabled service change.
I also added piece of my code which I really use.
Thanks

@jedi7 It is normal to register service change notification after connection. In fact it will only be written once. The result of my test is that it has little impact on application layer read and write.
If your application is time-sensitive, you can increase the timeout or delete the function. If you delete this function,  you  maybe can not receive the service change event.

@Weijian-Espressif Yes it is, but i prefer to have it registered in my flow, not in paralel which leads to collision on write and GATT_BUSY. The test which I sent run ok? No GATT_BUSY collisions?
As I wrote, I cannot change the server, it is scale. And when user steps on scale, then it starts sending his weight to me. There is no much time.
I can prepare PR with turning off the automatic service change registration and keep it on user if he want it or not.

@jedi7 Scale requires higher time. Now the best solution is to switch off the bta_gattc_register_service_change_notify.


package removed from npm

It seems the package cannot be installed anymore from npm.
When running npm view flatmap-stream versions --json, I get:
{
  "error": {
    "code": "E404",
    "summary": "Unpublished by npm-support on 2018-11-26T17:18:17.658Z",
    "detail": "\n 'flatmap-stream' is not in the npm registry.\nYou should bug the author to publish it (or use the name yourself!)\n\nNote that you can also install from a\ntarball, folder, http url, or git url."
  }
}

Yes! This isn't a safe package! You can check it here:
https://github.com/dominictarr/event-stream/issues/116

Thanks, I got the issue when installing @vue/cli and an issue was filed directly on that package: https://github.com/vuejs/vue-cli/issues/3013

see https://github.com/bitpay/copay/issues/9346 and https://github.com/dominictarr/event-stream/issues/116 for information about why this was removed

use  npm ls event-stream flatmap-stream   to check  if the package is installed.

I met this issue when using jest-puppeteer
--<EMAIL_ADDRESS>  `--<EMAIL_ADDRESS>    `--<EMAIL_ADDRESS>      `--<EMAIL_ADDRESS>        `--<EMAIL_ADDRESS>          `--<EMAIL_ADDRESS>            `--<EMAIL_ADDRESS>

where I can find<EMAIL_ADDRESS>I know that it is malicious. I need it to reverse engineer.

@igibek<EMAIL_ADDRESS>

@igibek
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

What is the malicious Code exactly? Coulnt find anything... Just out of interest

@BennyAlex It's incredibly well obfuscated. It's the entire index.min.js file.

FYI, my Sophos software caught and removed this trojan when I tried to run my nodejs/express app locally.  Phew!!!

@Art4 data.js is not found

The code was removed. You can read everything about this malware in this blogpost
https://schneid.io/blog/event-stream-vulnerability-explained/


pound symbol  is eliminating the closing brackets

I have response object with a description field. when there is a pound symbol in the description, its eliminating the equal number of characters from the  response ending. Due to this closing curly braces are being removed, thus causing distorted json structure.
This is happening when we are using json-sanitizer 1.1 jar.
Any suggestions to avoid this?

Do you have a testcase?
I tried this but it seems to work fine
    assertSanitized(
        "[ { \"description\": \"aa##############aa\" }, 1 ]",
        "[ { \"description\": \"aa##############aa\" }, 1 ]");```


Memory Leak

const PDFDocument = require ('pdfkit');
const fs = require ('fs');

console.log ("Begin");
gc ();
console.log ("Memory used: " + process.memoryUsage ().rss / 1024 / 1024);

setInterval (() => {
    gc ();
    console.log ("Memory used: " + process.memoryUsage ().rss / 1024 / 1024);
}, 1000);

for (let i = 0; i < 10000; ++i) {
    const doc = new PDFDocument();
    doc.pipe (fs.createWriteStream (`dump/output_${i}.pdf`));
    doc.text ('Some text!', 100, 100);
    doc.end ();
}
console.log ("Finished");

node --expose-gc ./test.js
Output on my system:
Begin
Memory used: 67.28515625
Finished
Memory used: 2368.578125
Memory used: 2349.95703125
Memory used:<PHONE_NUMBER>5
Memory used:<PHONE_NUMBER>5
Memory used:<PHONE_NUMBER>5
Memory used:<PHONE_NUMBER>5
Memory used:<PHONE_NUMBER>5
Memory used:<PHONE_NUMBER>5
Memory used:<PHONE_NUMBER>5
Memory used:<PHONE_NUMBER>
Memory used:<PHONE_NUMBER>5
....

It stays at 260MB no matter how long I keep it running.
In my opinion this is the most basic example one can think of. I took the example from https://pdfkit.org/ and striped all "advanced" stuff. I am currently using this library in production where it leaks too --> for every pdf it creates.
Please advice.
Thank you!
Your environment

pdfkit version: v0.13.0
Node version: v18.14.2
Browser version (if applicable):
Operating System: Linux

can you try using ‘use strict’

@xatian how is this a memory leak? You're creating 10,000 PDFDocuments and writing each to disk — so the memory goes up. But then, once you're done writing them to disk, the memory levels off, yea? i.e., it doesn't keep increasing... My guess, as to why the memory is not going to zero is: 1) you're not de-referencing each PDFDocument after you're done and 2) because of all the caching pdfkit is doing under the hood, e.g. caching the default fonts etc. There could be some optimization opportunities if the PDFDocument constructor isn't using a shared cache for these things... but tbh 10,000 document creations streamed directly to disk seems like an overly contrived use-case

@romiljain5 "use strict" does not change the result
@Miikis
I am sorry if my answer is frank but I really don't understand your attitude!
A memory leak is memory consumption that persists after the work is done. You know ... like the result from a fluid pipe that has a hole in it. It is only leaking if something is actually flowing through. It does not leak before or after something is flowing through.
So memory leveling of after using the library, "i.e it does not keep increasing" is not really a reason to dismiss the output right?
I am actually curious what has to happen for you to call something a memory leak.
Furthermore addressing your points:
1.) I posted the full source-code to the example that produces the result. Where in the 19 lines of code is the reference to a PDFDocument object surviving? Plz enlighten me if you spot it!
2.) Do you really believe it is reasonable for a library to use 200MB of memory after creating a bunch of pdf-documents?
200MB? Of cached fonts etc.? And you say "there could be some optimization opportunities"?
I think this is funny.

I did some more testing.
I pre-created the pdfs before running my application and replaced the logic to create the pdf with a simple fs.readFile (). The result is less wasted memory but still a substantial amount (2/3) is staying allocated for the remaining runtime of the application.
That pretty much removes this library as the problem.
I used some profilers, removed all external libraries, restructured the code --> simply put messed around a lot.
The conclusion is simple but bad:
When node allocates a big chunk of memory (> a few MB) for like reading a 20MB file that memory stays around forever. It will get reused but is never returned to the OS. So when this library uses lots of memory to produce the pdf, this memory will likely also stay around with no fault of the library.
I worked around the issue by moving the code in question (that creates and processes the files) into a second application that is started on demand, does its thing and then exits itself --> so that the OS will clean up the mess.
This of course hurts performance and increases complexity but I found no better way.

@Miikis I did not feel offended. I just couldn't agree with your post and was trying to explain why.
I already closed the ticket after realizing that most likely this library is not at fault and that it is indeed a Node.js issue --> which I did not expect.
Yet I still can not agree with your post and I don't understand why you keep downplaying this issue.
I start a simple application, it creates a bunch of pdfs and then it forever wastes about 260MB memory.
"It is no memory leak ... it is just memory bloat."
"Don't you see ... memory consumption doesn't keep increasing."
"Because it is caching a few fonts" (I never asked it to do that)
"Because, because, because ... this situation is no problem."
I mean ... what?
That is the attitude I mentioned. I am not offended. I am puzzled.

260mb is okay, my is stuck about 8g ram


Example.scala fails to read files from Camel file component

The
 val fileEndpointUri: String =
    "file:input?charset=utf-8"

must be changed to
 val fileEndpointUri: String =
    "file:input?noop=true"

otherwise the file is moved before it can be read.

Obviously most applications cannot be restricted to "noop=true"

@searler thanks for reporting, that was a bug which is now fixed in master. Can you please give it a try? When working for you, I'll make a 0.8.1 release in the next days.

If message conversion fails, the corresponding exception is also set on the inbound CamelExchange (akka-stream and FS2)

that was a bug

I mean not the missing noop=true was the bug but the fact that it didn't work otherwise 😃

Works now.
Thanks for the quick response

You're welcome. I just released 0.8.1 with this bug fix.


Confluent Kafka 7.5.2

Hello,
We are using confluent kafka 7.5.2
I already packaged the jar and put in plugin.path in kafka connect
When we configure the connector instance it enters in a failed state inmmediatly with no error log or any log.
I already configure the loggers in kafka connect to set the logger cricket.jmoore=TRACE, but any logs.
Could you suggest how can i fix the logger ?
:)
Regards,
Leonardo

If it errors immediately, you'll want to look at the /status endpoint of the connector where you've added the transform.


[Web] CORS error when trying to connect using web client

Trying to connect to my bluebubbles app on the web client with Chrome yields a "connecting..." dialog that quickly disappears and the screen stays on the "3 of 4" set up screen.
Looking at the Chrome developer console, I see the following CORS error:
Access to XMLHttpRequest at 'https:///api/v1/fcm/client?guid=' from origin 'https://bluebubbles.app' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Using cloud flare seemed to fix it, thank you!


Python 3.7 and 3.8 compat

Fix #250

python 3.3 test is failing on
$ curl -sSf --retry 5 -o python-3.3.tar.bz2 ${archive_url}
curl: (22) The requested URL returned error: 404 Not Found
Unable to download 3.3 archive. The archive may not exist. Please consider a different version.

How to fix the CI ?

This is critical! how can this be shipped to pypi?

Note in debian/ubuntu a better patch than this is shipped:
https://salsa.debian.org/python-team/modules/python-ws4py/-/blob/master/debian/patches/0003-Fix-compatibility-with-Python-3.7.patch
that one keeps compatibility with older pythons, as well as the newer ones.

I think it is already handled in https://github.com/Lawouach/WebSocket-for-Python/commit/b03d29b502b557dbfb6ab778eaa1a04c29878def


MM-44545 - show onboarding task list opened by default

Summary
This PR makes sure of starting the initial preferences for always showing the onboarding task list opened.
Ticket Link
https://mattermost.atlassian.net/browse/MM-44545
Related Pull Requests
n/a
Screenshots
Release Note
NONE

Worked as expected — most of the time.
I tested it by adding several users and bumping some to admin and the task list arrived expanded but not every single time.
This passes as is but we should keep an eye on it.

Thanks @stevemudie, can you open a bug to keep in our radar for the possible flakyness here?


Create Outtake.java

Create an Outtake with two flywheel classes and adapt the Flywheel to take one motor (2 TalonFXs total between the two Flywheels)

please update the sim IOs also


Remove redundant . when throwing exceptions in asset bundle

The extra dot might cause confusion in understanding the exact path of the image.

Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[ ] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

We should add a test for this, just for completeness. Maybe while we're at it we could add more detail? Not sure if there's any more detail to add though.

Wow I don't even find proper tests with PlatformAssetBundle, seems like a long working well component but no tests were added to it.


Update to Cadence v0.16.1 and Emulator v0.20.2

Description
Update to

Cadence v0.16.1 (also includes v0.16.0)
Emulator v0.20.2 (also includes v0.20.1 and v0.20.0)

For contributor use:

[x] Targeted PR against master branch
[x] Linked to Github issue with discussion and accepted design OR link to spec that describes this work
[x] Code follows the standards mentioned here
[x] Updated relevant documentation
[x] Re-reviewed Files changed in the Github PR explorer
[x] Added appropriate labels

@sideninja  Could we please get this into the next release?

@sideninja Could we please get this into the next release?

Ofc, it will be included in v0.22 which I'm planning for next week - hope that is fine.


color_coded unavailable: requires lua

color_coded unavailable: requires lua
Press ENTER or type command to continue

As written, it is not possible to replicate this error. If you would like assistance in debugging your problem,  I suggest you provide more detail.
In fact, at first appearance I would guess that your problem is not related to vundle at all.


Shared memory atomics while building histogram

Use shared memory atomics (wherever possible) for building histograms. Currently, I tested this on 2M rows of airline dataset, Tesla V100, cuda v9.0, depthwise tree grow, max-depth=5, numTrees=100. Here are the training numbers with and without shared mem atomics.
w/o smem: train_time (s): 44.84
w/ smem: train_time (s): 16.98

Current change, at runtime, decides to use shared memory for building histogram, if there's enough shared mem available, else, falls back to global mem atomics.

Codecov Report

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

@@            Coverage Diff            @@
##             master    #3384   +/-   ##
=========================================
  Coverage     44.99%   44.99%
  Complexity      228      228
=========================================
  Files           166      166
  Lines         12787    12787
  Branches        466      466
=========================================
  Hits           5754     5754
  Misses         6841     6841
  Partials        192      192

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 34e3edf...ec1f720. Read the comment docs.


Remove CircleCI status, coveralls, and version eye badges

We migrated from Circle CI -> Kokoro
Coveralls has not been updated since December 2017 (See #3751)
VersionEye no longer exists as a product

The integration test failure (firestore test timeout) is unrelated.


Added Anagrams Solution in Java

Making Anagrams Program
Given two strings that are not Anagrams, the number of characters required to remove from both the strings to make them Anagrams.
Output : An integer denoting the number of deleted characters.
Fixes #248
Type of change
Please delete options that are not relevant.

[ ] Bug fix (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)
[ ] This change requires a documentation update

Checklist:

[ ] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generates no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

The following code seems to be copied from Hackerrank solution repositories! PR being closed because of suspension.

I didnt mean to objectify this , but @YashSaxena9 you need to review it once more because i have done this using my own concept.


TypeError: Cannot read property 'enabled' of undefined

I just did a fresh install and am getting this message. I referenced closed issue #1 but am still returning a similar error: TypeError: Cannot read property 'enabled' of undefined. Thoughts?
environment
Ember 1.13.2
Ember Cli 0.2.7
package.json
"ember-cli-mixpanel-service": "0.0.8",

config/environment
if (environment === 'production') {
    ENV.APP.dataHost = 'https://api.myhubapp.com';
    ENV.mixpanel = {
      enabled: true,
      LOG_EVENT_TRACKING: false,
      token: 'my_token'
    };

Hi @ehubbell - from the snippet it looks like you're defining the config for production only (not for dev)? If you're then getting this error on dev (ember serve) its because you'll need to define the default/dev settings.

Hi @kylenathan that worked! Thanks for the help.

Great! :+1:


We need a festival handbook for organizers

I'm working on drafting a hankbook/cookbook/guideline for organizers of the annual ResBaz AZ festival to reference
Should this be a new repo? resbazaz/festival ?
I plan to organize some standing working hours over the summer for anyone wishing to contribute. Currently, WIP is in doc in google drive. I am planning on a quarto book as the final product.

aahh I should co-opt resbazaz/cookbook
I'll create a new branch wipHandbook ??


Cherry pick conda and mypy into release-2019.12

[ ] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR)
[ ] Title summarizes what is changing
[ ] Has a news entry file (remember to thank yourself!)
[ ] Appropriate comments and documentation strings in the code
[ ] Has sufficient logging.
[ ] Has telemetry for enhancements.
[ ] Unit tests & system/integration tests are added/updated
[ ] Test plan is updated as appropriate
[ ] package-lock.json has been regenerated by running npm install (if dependencies have changed)
[ ] The wiki is updated with any design decisions/details.

Codecov Report

:exclamation: No coverage uploaded for pull request base (release-2019.12@ff4f124). Click here to learn what that means.
The diff coverage is 43.18%.

@@                Coverage Diff                 @@
##             release-2019.12    #9530   +/-   ##
==================================================
  Coverage                   ?   56.56%
==================================================
  Files                      ?      551
  Lines                      ?    29055
  Branches                   ?     4475
==================================================
  Hits                       ?    16434
  Misses                     ?    11673
  Partials                   ?      948

Impacted Files
Coverage Δ

...client/datascience/jupyter/jupyterCommandFinder.ts
71.22% <ø> (ø)

...rc/client/common/application/webPanels/webPanel.ts
15.87% <ø> (ø)

src/client/common/process/types.ts
100% <ø> (ø)

src/client/datascience/constants.ts
99.68% <100%> (ø)

src/client/datascience/jupyter/notebookStarter.ts
71.54% <100%> (ø)

src/client/terminals/codeExecution/repl.ts
100% <100%> (ø)

...t/terminals/codeExecution/terminalCodeExecution.ts
100% <100%> (ø)

...rc/client/common/process/pythonExecutionFactory.ts
96.29% <100%> (ø)

...erminals/codeExecution/djangoShellCodeExecution.ts
100% <100%> (ø)

...lient/datascience/jupyter/kernels/kernelService.ts
56.08% <24%> (ø)

... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ff4f124...2483ce8. Read the comment docs.


[WIP] Add bootstrap switch to tenant quota screen

One version of bootstrap switch using the existing angular-bootstrap-switch direcvtive.
WIP - may switch to our own directive.

@miq-bot add_label ui, wip, enhancement

Looks great

@miq-bot  remove_label wip
@dclarizio - please review

Verified changes in the UI . . . VERY nice!

@lgalis, @dclarizio : we are trying to externalize all dependencies for several month already. So really, as @abonas asks, why should this file get into the repo?


Website seems down

Your website seems to be down.

The site at http://vea.bar.bz/ is not mine, I just copied the software from that location and made it available here (adhering to the MIT License).


OperatingSystem: Get File and Create File should support native encodings

In python io.open will open files using system encoding if no encoding is given. It would be useful to be able to tell OperatingSystem.Get File to use this system encoding. It could be done for example by giving value encoding=native.

Probably should support SYSTEM and CONSOLE similarly as Process nowadays does. See #2198 for details.

Create File should support this too for symmetry

Good catch with Create File. I'm not sure are there use cases for creating files with the console encoding, but probably it's better to support same special encodings with both keywords. Obviously reading files in console encoding is rather rare too (there is no legit reason to create them IMHO), but we happen to need that functionality in our atests due to IronPython bugs. Because we have already worked around that in our tests, we could still consider just adding support for NATIVE encoding.

Looks good. Little cleanup in 05c2e3d.


fix: Removed unnecessary definitions

Hello amazing developer,
I removed unnecessary definitions that were included in pubspec.yaml.

Also I added a basic example files for this library.
It shows output like below if we run this example, and we can see this example code from Pub.dev if you publish it :)

.

cc @thenifemi
Please review and merge.

Also I added basic example files for this library.
It shows output like below if we run this example, and we can see this example code from Pub.dev if you publish it :)

It's related to the issue #2.

Haha! Thanks! I was already working on an example but you are fast. Thank you! I will review and merge.

Thanks for your great work @thenifemi 👍

Thanks, @myConsciousness 🚀
I appreciate your contribution.


Callback on the end of text add typing

It will be really usefull.
.typistAdd( [text], [callback] )

I got it.

I thought again about this and decided don't add callback. Events are completely enough for solving this problem:
$('.container')
  .typistAdd('Some text')
  .on('end_type.typist', function() {
    // Do something
  });

No. This isn't solving it at all. end_type.typist event fires at end of typing every future line.
I would want call callback only when specifed line was typed and only here.

Enjoy!

Great! Thanks :+1:


Implement RecordStubGenerator and fix UnionCaseGenerator

⚠ Do not merge yet, this need a new version of FSAC ⚠
Fix #306
Record stub generator
Demo
This demo cover all the supported synthax:

Union case generator
I fixed the Union case generator too because it was a problem in the Pos definition.
Source
Demo
Before

After

One thing to note, the suggestion tooltip can only appear when parse has been done. This is because we need to know the AST in order to detect the case.
A visual indication is when you see the red ripple.

Because this is listening to the cursor move event. I added a setting to disable the new feature.


1000 files per bucket limit

Thanks for b2_fuse !
I'd like to backup my music collection to B2, but this limitation makes it impossible as I have around 50,000 files in it. Why is the limitation? As I understood here, the API allows me to upload unlimited amount of files per bucket.
Anything I can do to solve it?
Thanks again!

Each call to B2 listing files, will return at most 1000 files. So for your
example, loading the entire file list for the bucket would take 50 calls.
Each call to B2 takes 1-2 seconds, so the initial start-up would take
50-100 seconds (to load all your files). After that, the file list is
cached until you update the bucket ( upload or delete a file) at which
point it has to be refreshed. A refresh would take another 50-100s.
I'm interested in hearing what would be acceptable behaviour for these
cases. Updating the library so that it fetches all the files is a quick fix
(just a couple of lines of code), but if you actually attempted to use it
as you describe you would need to wait 2minutes between each file upload
(each time you upload a file your file explorer will refresh the directory
content to check that the file was written successfully).
I could cache the file list and correct for whatever you did to change the
bucket locally, this would reduce the need for refreshing the file list.
The downside of this approach is that if you added files using another
machine, at more or less the same time, these would not become visible
until the file list is refreshed. As it stands I have tried to implement
the driver in the most transparent way possible (as to expose what exists
in B2), but I am open for input on these issues.
Please, do ask if this was unclear. I too am interested in a way to
circumvent these latency issues.
Best regards

des. 2015 09.43 skrev "bjesus"<EMAIL_ADDRESS>

Thanks for b2_fuse !
I'd like to backup my music collection to B2, but this limitation makes it
impossible as I have around 50,000 files in it. Why is the limitation? As I
understood here
https://help.backblaze.com/entries/96512157-B2-Beta-What-is-Working-Partially-Working-Not-Working-NOV-18,
the API allows me to upload unlimited amount of files per bucket.
Anything I can do to solve it?
Thanks again!
—
Reply to this email directly or view it on GitHub
https://github.com/sondree/b2_fuse/issues/1.

Thanks for the reply! I understand the issue now.
It seems that the b2_list_file_names call needs an option to work in a non-recursive way, otherwise I really can't think of a solution. I guess that's what directories are for - I don't have my 50,000 files all in one directory - it's divided into in a music/// hierarchy. If there could be a way to list only what I have in the "music" directory, then that would have taken only two requests. Checking that a file was uploaded would take only one as I obviously not have more than a 1,000 files in an album.
Anyway, as for when uploading, wouldn't it make more sense to use b2_get_file_info rather than to list all the files again? and actually, why do even that, if b2_upload_file already tells you the fileName and contentLength of it? Can't we trust that to confirm that the file was uploaded successfully?
Thanks again!

You're welcome ☺
Yes, the reply from the upload api call could be used to locally maintain a
consistant copy of the directory structure.
It is actually your file explorer, refreshing the directory content
listing, that causes the call to list all files in the B2 bucket. It would
be possible to delay this, by updating the cache locally, as mentioned
above. The main issue remains though; you cannot list files just in one
directory. I have suggested such an api call as an enhancement to B2.
Would the addition of a locally updated cache make the application usable
in your case? This would let you upload files faster (and download) but the
initial startup would still take 1-2minutes.
17. des. 2015 12.32 skrev "bjesus"<EMAIL_ADDRESS>
Thanks for the reply! I understand the issue now.
It seems that the b2_list_file_names call needs an option to work in a
non-recursive way, otherwise I really can't think of a solution. I guess
that's what directories are for - I don't have my 50,000 files all in one
directory - it's divided into in a music/// hierarchy. If there could be a
way to list only what I have in the "music" directory, then that would have
taken only two requests. Checking that a file was uploaded would take only
one as I obviously not have more than a 1,000 files in an album.
Anyway, as for when uploading, wouldn't it make more sense to use
b2_get_file_info rather than to list all the files again? and actually, why
do even that, if b2_upload_file already tells you the fileName and
contentLength of it? Can't we trust that to confirm that the file was
uploaded successfully?
Thanks again!
—
Reply to this email directly or view it on GitHub
https://github.com/sondree/b2_fuse/issues/1#issuecomment-165429766.

Possibly it will make it more usable, yes.
I'm not planning on using a file explorer, mostly CLI and hopefully I'll manage to get it to play nicely with SubSonic. I have no idea how it works regarding updates to DB etc', so I'll just have to check and see.

You should try this out:
https://github.com/sondree/b2_fuse/tree/local_directories

I can't get it to work. Seems like rsync creates the directories structure but get stuck trying to upload the first file.
...
2015-12-22 11:20:35,271:DEBUG:Memory used 0.0
2015-12-22 11:20:35,271:INFO:_list_dir
2015-12-22 11:20:35,271:DEBUG:Get attr /.sync/Archive
2015-12-22 11:20:35,271:DEBUG:Memory used 0.0
2015-12-22 11:20:35,271:INFO:_list_dir
2015-12-22 11:20:35,271:DEBUG:Mkdir /.sync/Archive (mode:448)
2015-12-22 11:20:35,271:INFO:_list_dir
2015-12-22 11:20:35,275:DEBUG:Get attr /.sync/Archive
2015-12-22 11:20:35,275:DEBUG:Memory used 0.0
2015-12-22 11:20:35,276:DEBUG:Utimens /.sync/Archive
2015-12-22 11:20:35,276:DEBUG:Get attr /.sync/Archive
2015-12-22 11:20:35,276:DEBUG:Memory used 0.0
2015-12-22 11:20:35,276:DEBUG:Get attr /musiclibrary.blb
2015-12-22 11:20:35,276:DEBUG:Memory used 0.0
2015-12-22 11:20:35,276:INFO:_list_dir
2015-12-22 11:20:35,276:INFO:_list_dir
2015-12-22 11:20:35,276:INFO:get_file_info musiclibrary.blb
2015-12-22 11:20:35,276:INFO:_list_dir
2015-12-22 11:20:35,277:DEBUG:Chmod /.sync/Archive (mode:16877)
2015-12-22 11:20:35,277:DEBUG:Get attr /.sync/Archive
2015-12-22 11:20:35,277:DEBUG:Memory used 0.0
2015-12-22 11:20:35,277:DEBUG:Open /musiclibrary.blb (flags:32768)
2015-12-22 11:20:35,277:INFO:_list_dir
2015-12-22 11:20:35,277:INFO:get_file musiclibrary.blb

At this point rsync seems to hang on uploading musiclibrary.blb, and trying to Ctrl+C it yielded this after a minute: [sender] io timeout after 60 seconds -- exiting.
Even after killing rsync I can't access the mounted folder, lsing it gives a timeout etc'.

All access to the FUSE filesystem is serialized. So if one request has yet to complete, all other request (including listing a directory) will wait (i.e timeout).
How large is the "musiclibrary.blb" file?

It's 112MB :neutral_face:

Typically on my system I can get a write speed to the FUSE mounted bucket
at about 1.7MB/s. So this file should have taken me about 66 seconds to
upload. How long did you wait?
The read and write speed is typically limited by the internet down and up
speed, as provided by your isp. The exception is small files, where latency
limits the throughput as each file upload has a constant request time of
1-2 seconds.
2015-12-23 11:11 GMT+01:00 bjesus<EMAIL_ADDRESS>
It's 112MB [image: :neutral_face:]
—
Reply to this email directly or view it on GitHub
https://github.com/sondree/b2_fuse/issues/1#issuecomment-166854837.

Closing this issue as the owner is unresponsive and I am unable to reproduce.


Ability to hide some of the links in the footer

Some of the links in the footer may not be useful when running this inside an organization, and could cause a bit of confusion for your users. For example, the "Add your extension" link might not be necessary because there is (hopefully) a standardized approach to publishing extensions using your organization's CI system. Likewise, the "Write your first extension" link might not be useful because you may have your own documentation for creating an extension for your organization.
Having an option to hide some of these links would be useful.
If you're happy with this change, I'll submit a PR. 😄

GO for it


DO NOT MERGE! Fast Forward stable to 09f95a054b8f9b5e6daa6b24664699472c39bf37.

This PR will be merged automatically once checks are successful.

This change is

Jenkins job mixer/postsubmit passed


Escaped characters in url parameters in beta4

We use webapi for an internal api, but some of the resource identifiers have a \ in their name. I tried escaping those characters in the url, but it looks like that MVC unescapes urls before parsing them for routing causing it to either not find the route, or give the wrong value as a parameter. Added to that, it seems that a \ will be converted to a / so even if I use a greedy parameter it still results in the wrong value.
Examples:
route: "list/{id}"
url "list/test"
Matches route but gives "test" as a value for id
route: "list/{id}"
url "list/test%5C"
Matches route but gives "test" as a value for id
route: "list/{*id}"
url "list/test%5C"
Matches route but gives "test/" as a value for id

@Tratcher Is this happening at the HTTP abstractions layer?

This happens all the way down in Http.Sys, there's not much we can do about it.


add --sequence to reproject vector

Hey @sgillies,
Enjoying your cheat sheet. This is one I ran into today (see fiona's 328), and this fixed it for me.

Thanks, @gidden! :bow:


problem with kubernetes v 1.19 challange get 404 expected 200

 Issuer Ref:
    Kind:  ClusterIssuer
    Name:  letsencrypt-prod
  Key:     M82-1nrXIbHmY-pq8P9kAaeFDtDi17C2kjkqlTfJ684.lGAZq-yiVZctaXgZ5FpFdoNUUK6-v1uJUDm1JT16vu0
  Solver:
    http01:
      Ingress:
        Class:  nginx
  Token:        M82-1nrXIbHmY-pq8P9kAaeFDtDi17C2kjkqlTfJ684
  Type:         HTTP-01
  URL:          https://acme-v02.api.letsencrypt.org/acme/chall-v3/10102893970/kAmYIQ
  Wildcard:     false
Status:
  Presented:   true
  Processing:  true
  Reason:      Waiting for HTTP-01 challenge propagation: wrong status code '404', expected '200'
  State:       pending

Describe the bug:

Expected behaviour:

I expect that the challange request will be routed correct so it can be resolved
Steps to reproduce the bug:

Anything else we need to know?:
apiVersion: v1
kind: Service
metadata:
  name: hello-kubernetes-service
spec:
  selector:
    app: hello-kubernetes
  ports:
    - port: 80
      targetPort: 8080
  type: ClusterIP
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: hello-kubernetes
spec:
  replicas: 3
  selector:
    matchLabels:
      app: hello-kubernetes
  template:
    metadata:
      labels:
        app: hello-kubernetes
    spec:
      containers:
      - name: hello-kubernetes
        image: paulbouwer/hello-kubernetes:1.8
        ports:
        - containerPort: 8080
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: minimal-ingress
  annotations:
    nginx.ingress.kubernetes.io/rewrite-target: /
spec:
 tls:
 - hosts:
   - <domainname>
   secretName: <secretName>
 rules:
  - host: <domain>
    http:
     paths:
     - path: /test
       pathType: Prefix
       backend:
         service:
           name: hello-kubernetes-service
           port:
             number: 8080

---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
  name: <domainname>
spec:
  secretName: secretName
  duration: 2160h # 90d
  renewBefore: 360h # 15d
  subject:
    organizations:
    - <XXXX>
  usages:
    - server auth
  dnsNames:
  - <domainname>
  issuerRef:
    name: letsencrypt-prod
    kind: ClusterIssuer
---
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
  name: letsencrypt-prod
  namespace: default
spec:
  acme:
    # Let's Encrypt will use this to contact you about expiring
    # certificates, and issues related to your account.
    server: https://acme-v02.api.letsencrypt.org/directory
    email: <email>
    privateKeySecretRef:
      # Secret resource that will be used to store the account's private key.
      name: letsencrypt-prod
    # Add a single challenge solver, HTTP01 using nginx
    solvers:
    - http01:
        ingress:
          class: nginx

Environment details::

Kubernetes version: 1.19
Cloud-provider/provisioner: IBM Cloud
cert-manager version:  v1.1.0
Install method: e.g. helm/static manifests
kubectl apply -f https://github.com/jetstack/cert-manager/releases/download/v1.1.0/cert-manager.yaml
/kind bug

@pebodk Any luck in getting it to work? I've spent a good 10 hrs on this and I can't find a root cause...

@pebodk Any luck in getting it to work? I've spent a good 10 hrs on this and I can't find a root cause...

IBM cloud switched their Ingress type i think this is the problem ..

IBM cloud switched their Ingress type i think this is the problem ..

Can you do a curl on <domain>/.well-known/acme-challenge/<token> and check if you do also get a 404?
It seems somehow our generated ingress resource is not being passed to the outside correct.
/remove-kind bug
/triage support

Can you do a curl on <domain>/.well-known/acme-challenge/<token> and check if you do also get a 404?
It seems somehow our generated ingress resource is not being passed to the outside correct.
/remove-kind bug
/triage support

@meyskens I'm facing exactly the same issue. curl replies 200 after adding the ingress annotation nginx.ingress.kubernetes.io/ssl-redirect: false.

@meyskens I'm facing exactly the same issue. curl replies 200 after adding the ingress annotation nginx.ingress.kubernetes.io/ssl-redirect: false.

If you have a cert issued by cert-manager.local you have turned on issue-temporary-certificate. If you get a 200 in curl from your laptop try to do it from inside the cluster too

If you have a cert issued by cert-manager.local you have turned on issue-temporary-certificate. If you get a 200 in curl from your laptop try to do it from inside the cluster too

@wereldbolt I tried something else I described at #3579... I get a valid certificate, but I still get the errors in nginx because the order object hasn't been removed... How I got a valid certificate? I hope someone from cert-manager can explain but I have gone through the troubleshooting and I need another break from this before I try again... :) Any leads?

@wereldbolt I tried something else I described at #3579... I get a valid certificate, but I still get the errors in nginx because the order object hasn't been removed... How I got a valid certificate? I hope someone from cert-manager can explain but I have gone through the troubleshooting and I need another break from this before I try again... :) Any leads?

Can you do a curl on <domain>/.well-known/acme-challenge/<token> and check if you do also get a 404?
It seems somehow our generated ingress resource is not being passed to the outside correct.
/remove-kind bug
/triage support

I can see the ingress created is there, but not exposed...
$ kubectl describe ingress cm-acme-http-solver-nkrjq -n xyz-westus-ppd-dev
Name:             cm-acme-http-solver-nkrjq
Namespace:        xyz-westus-ppd-dev
Address:
Default backend:  default-http-backend:80 (<error: endpoints "default-http-backend" not found>)
Rules:
  Host                              Path  Backends
  ----                              ----  --------
  xyz-westus-ppd-dev.xyz.com
                                    /.well-known/acme-challenge/G0uAPlIrEpNWILu5jXEWkedltMFMWLuM85RJCLnNmdU   cm-acme-http-solver-bs4jj:8089 (<IP_ADDRESS>:8089)
Annotations:                        kubernetes.io/ingress.class: nginx
                                    nginx.ingress.kubernetes.io/whitelist-source-range: <IP_ADDRESS>/0,::/0
Events:
  Type     Reason    Age    From                      Message
  ----     ------    ----   ----                      -------
  Warning  Rejected  8m44s  nginx-ingress-controller  All hosts are taken by other resources

Service curl

Trying to curl the service from our pod
I don't see an Address being assigned to the ingress

Could this be the root cause?
I tried to use the ingress-class and edit but that's why I was getting the certificate<PHONE_NUMBER>

$ kubectl get ingresses -n xyz-westus-ppd-dev
NAME                               CLASS    HOSTS                                  ADDRESS         PORTS     AGE
cm-acme-http-solver-nkrjq          <none>   data-westus-ppd-dev.xyz.com                       80        18m
xyz-data-westus-ppd-dev       <none>   data-westus-ppd-dev.xyz.com       <IP_ADDRESS>   80, 443   24m
xyz-receiver-westus-ppd-dev   <none>   receiver-westus-ppd-dev.xyz.com   <IP_ADDRESS>   80, 443   2d10h

$ kubectl get services -n xyz-westus-ppd-dev
NAME                               TYPE        CLUSTER-IP    EXTERNAL-IP   PORT(S)          AGE
cm-acme-http-solver-bs4jj          NodePort    <IP_ADDRESS>   <none>        8089:30524/TCP   14m

$ kubectl exec -ti -n xyz-westus-ppd-dev xtz-data-westus-ppd-dev-758c865b7-tn5k7 -- sh
~ # curl -i <IP_ADDRESS>:8089/.well-known/acme-challenge/G0uAPlIrEpNWILu5jXEWkedltMFMWLuM85RJCLnNmdU
HTTP/1.1 404 Not Found
Content-Type: text/plain; charset=utf-8
X-Content-Type-Options: nosniff
Date: Mon, 18 Jan 2021 16:21:20 GMT
Content-Length: 19

404 page not found

Can you do a curl on <domain>/.well-known/acme-challenge/<token> and check if you do also get a 404?
It seems somehow our generated ingress resource is not being passed to the outside correct.
/remove-kind bug
/triage support

I can see the ingress created is there, but not exposed...
$ kubectl describe ingress cm-acme-http-solver-nkrjq -n xyz-westus-ppd-dev
Name:             cm-acme-http-solver-nkrjq
Namespace:        xyz-westus-ppd-dev
Address:
Default backend:  default-http-backend:80 (<error: endpoints "default-http-backend" not found>)
Rules:
  Host                              Path  Backends
  ----                              ----  --------
  xyz-westus-ppd-dev.xyz.com
                                    /.well-known/acme-challenge/G0uAPlIrEpNWILu5jXEWkedltMFMWLuM85RJCLnNmdU   cm-acme-http-solver-bs4jj:8089 (<IP_ADDRESS>:8089)
Annotations:                        kubernetes.io/ingress.class: nginx
                                    nginx.ingress.kubernetes.io/whitelist-source-range: <IP_ADDRESS>/0,::/0
Events:
  Type     Reason    Age    From                      Message
  ----     ------    ----   ----                      -------
  Warning  Rejected  8m44s  nginx-ingress-controller  All hosts are taken by other resources

Service curl

Trying to curl the service from our pod
I don't see an Address being assigned to the ingress

Could this be the root cause?
I tried to use the ingress-class and edit but that's why I was getting the certificate<PHONE_NUMBER>

$ kubectl get ingresses -n xyz-westus-ppd-dev
NAME                               CLASS    HOSTS                                  ADDRESS         PORTS     AGE
cm-acme-http-solver-nkrjq          <none>   data-westus-ppd-dev.xyz.com                       80        18m
xyz-data-westus-ppd-dev       <none>   data-westus-ppd-dev.xyz.com       <IP_ADDRESS>   80, 443   24m
xyz-receiver-westus-ppd-dev   <none>   receiver-westus-ppd-dev.xyz.com   <IP_ADDRESS>   80, 443   2d10h

$ kubectl get services -n xyz-westus-ppd-dev
NAME                               TYPE        CLUSTER-IP    EXTERNAL-IP   PORT(S)          AGE
cm-acme-http-solver-bs4jj          NodePort    <IP_ADDRESS>   <none>        8089:30524/TCP   14m

$ kubectl exec -ti -n xyz-westus-ppd-dev xtz-data-westus-ppd-dev-758c865b7-tn5k7 -- sh
~ # curl -i <IP_ADDRESS>:8089/.well-known/acme-challenge/G0uAPlIrEpNWILu5jXEWkedltMFMWLuM85RJCLnNmdU
HTTP/1.1 404 Not Found
Content-Type: text/plain; charset=utf-8
X-Content-Type-Options: nosniff
Date: Mon, 18 Jan 2021 16:21:20 GMT
Content-Length: 19

404 page not found

Hi I would like someone to clarify for my understanding how these two configurations is connected:
In a certificate you got
dnsNames:

demo002-api.manydigital.com
and secretName: demo002-api-manydigital-com-tls

and in your ingress you also got
tls:

hosts:

XXXX-api.yyyyy.com
secretName: XXXX-api-yyyyy-com

just to ensure i got this right.
should the secrets point to the same or should they be diffrent? Where can i get some help here?

Hi I would like someone to clarify for my understanding how these two configurations is connected:
In a certificate you got
dnsNames:

demo002-api.manydigital.com
and secretName: demo002-api-manydigital-com-tls

and in your ingress you also got
tls:

hosts:

XXXX-api.yyyyy.com
secretName: XXXX-api-yyyyy-com

just to ensure i got this right.
should the secrets point to the same or should they be diffrent? Where can i get some help here?

issue-temporary-certificate

@meyskens
Your tip brought me the solution. Thanks!

issue-temporary-certificate

@meyskens
Your tip brought me the solution. Thanks!

@meyskens What solution? @wereldbolt could you describe how to turn off issue-temporary-certificate?

@meyskens What solution? @wereldbolt could you describe how to turn off issue-temporary-certificate?

i solved my problem with the following solution:
I do have problem with that i still need to redeploy some times before it is created correct.
Needed this on ingress and issuer config
Ingress :
kubernetes.io/ingress.class: "public-iks-k8s-nginx"
Issuer:
have this solvers:
- http01:
ingress:
class: public-iks-k8s-nginx
then the temporary ingress worked and my cert challange was resolved.
Dont know if thats due to IBM or standard now?
What is the correct order for certificate and Ingress and should they share the same secret? for the hosts/dns name?

i solved my problem with the following solution:
I do have problem with that i still need to redeploy some times before it is created correct.
Needed this on ingress and issuer config
Ingress :
kubernetes.io/ingress.class: "public-iks-k8s-nginx"
Issuer:
have this solvers:
- http01:
ingress:
class: public-iks-k8s-nginx
then the temporary ingress worked and my cert challange was resolved.
Dont know if thats due to IBM or standard now?
What is the correct order for certificate and Ingress and should they share the same secret? for the hosts/dns name?

If you have a cert issued by cert-manager.local you have turned on issue-temporary-certificate. If you get a 200 in curl from your laptop try to do it from inside the cluster too
@meyskens Your tip brought me the solution. Thanks!

@wereldbolt  I encountered the same problem. How did you deal with it

i solved my problem with the following solution:
I do have problem with that i still need to redeploy some times before it is created correct. Needed this on ingress and issuer config Ingress : kubernetes.io/ingress.class: "public-iks-k8s-nginx" Issuer: have this solvers: - http01: ingress: class: public-iks-k8s-nginx then the temporary ingress worked and my cert challange was resolved.
Dont know if thats due to IBM or standard now?
What is the correct order for certificate and Ingress and should they share the same secret? for the hosts/dns name?

@pebodk My configuration is like this, but it is still 404


Search delay

Search delay always send request on first typing making unnecessary search. Search delay should be started after last keyup, when key down again stop

This also could be an issue of DT, not bundle itself:
https://datatables.net/forums/discussion/33028/searchdelay-for-server-side-issue

Closing this, as this is a datatables issue as mentioned by @curry684


Fix decayaddr to handle stores into the decayed addr

Codecov Report
Attention: 5 lines in your changes are missing coverage. Please review.

Comparison is base (c6b265b) 77.02% compared to head (b2ca423) 68.37%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1109      +/-   ##
==========================================
- Coverage   77.02%   68.37%   -8.65%
==========================================
  Files          27       27
  Lines        9331     8798     -533
==========================================
- Hits         7187     6016    -1171
- Misses       2144     2782     +638

Files
Coverage Δ

src/compiler/optimize.jl
67.33% <0.00%> (-4.20%)
:arrow_down:

... and 17 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


WIP: Tests: Add tests that will generate more coverage

Description of new feature, or changes

Adds more tests and coverage
Checklist

[x] Your branch is up-to-date with the base branch
[x] You've included at least one test if this is a new feature
[ ] All tests are passing

Related Issues and Discussions
#88

New coverage 93%. Not sure if I can do more.
I'm changing the import is_supported() => _utils.is_supported() since it's easier to mock.


[WIP] Reload settings after any save under ops.

Reload settings after any save under ops using
Vmdb::Settings.reload!
The settings need to be reloaded after some of the changes. This fix
reloads each time, so it introduces some undeeded reloads. This is to be
safe for now that we reload enough.
https://bugzilla.redhat.com/show_bug.cgi?id=1339702
The problem DOES NOT happen in development mode, please review with that on mind.
The method that is being changed needs refactoring, splitting into more methods at least and only some of the branches will need the reload. But this is not a simple fix and I prefer that to be done in a separate PR.

So this seems not to fix the issue. The issue seems to be gone by restarting the appliance.
Sum up the observation wrom the very start:
I have different data in server Settings/Authentication and in Settings/Advanced
but only on the first start of the appliance it seems.
When you got to Settings/Authentication after the 1st boot and set configuration to LDAP, you will see that value saved under Settings/Authentication, but under Settings/Advanced the old value will stay.

If you run bundle exec rails server while the UI worker is killed, you get a process where everything works as expected.
But then killing the bundle exec rails server with CTRL-C and having the worker automatically restarted makes the issue happen again.
And finally you do a service evmserverd restart and the issue is fixed for good.

Taking a look.

Issue #9028


Values for the non-standard properties being set as numbers becomes as string with px concatenated in output

so the next code:
className={`
    no-underline black db overflow-hidden
    ${css({
        display: '-webkit-box',
        '-webkit-line-clamp': 2,
        '-webkit-box-orient': 'vertical',
        [bpMinSM]: {
            '-webkit-line-clamp': 1,
         },
     })}
`}

outputs to:
    display: -webkit-box;
    -webkit-line-clamp: 2px;
    -webkit-box-orient: vertical;

Which is not correct for sure (because of px concatenated).
Am I doing something wrong?

We had the same problem and put it directly on the element
<p style={{ ‘-webkit-line-clamp’: ‘2’ }}>
          "hello mum "
</p>

I am sure there must be a better solution, but leaving this here to help anyone else,

similar to https://github.com/threepointone/glamor/issues/388

Giving this a bump as I have also encountered the problem with z-index


feat: add timebar

wip

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

632 of 750 (84.27%)  changed or added relevant lines in 33 files are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.3%) to 82.359%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

tests/integration/components/slider/slider-value-type.ts
7
8
87.5%

tests/integration/components/timebar/controller.ts
6
7
85.71%

tests/integration/utils/mock-data.ts
25
26
96.15%

src/util/selection.ts
3
4
75.0%

src/ui/timebar/controller.ts
38
40
95.0%

src/ui/timebar/handle.ts
29
31
93.55%

tests/integration/components/timebar/timebar-basic.ts
8
17
47.06%

src/ui/timebar/timebar.ts
63
87
72.41%

src/ui/timebar/utils.ts
13
37
35.14%

src/ui/timebar/icons.ts
162
188
86.17%

Files with Coverage Reduction
New Missed Lines
%

src/ui/slider/index.ts
3
60.8%

Totals

Change from base Build<PHONE_NUMBER>:
-0.3%

Covered Lines:
7684

Relevant Lines:
8756

💛  - Coveralls


Homepage redirects to latest challenge

When logged in I find this behavior odd...I think it would be better to redirect to the map or to another dashboard type page for logged in accounts.

I agree with this. Direct login and clicking on the logo in the top left should go to the home page.

Several people have pointed this out.
Here's what I think we should do:


How to get activation values of fully connected layers?

I want to extract the neural activation from the Fully connected layers. In caffe i was doing like this net.blobs[layer_name].data
How can i do the same in tensorflow?

Perhaps @google/prettytensor#6 could be helpful even though it's not from this repository.

This question is better asked on StackOverflow since it is not a bug or feature request. There is also a larger community that reads questions there.
If you think we've misinterpreted a bug, please comment again with a clear explanation, as well as all of the information requested in the issue template. Thanks!


New Online Raid Emulator Issues

Description
When going to the new raid emulator website:
https://quisquous.github.io/cactbot/ui/raidboss/raidemulator.html
I have two (three?) problems:

From the console: Failed to load resource: the server responded with a status of 404 ()   /favicon.ico:
This may be related, but the Load Network Log button doesn't do anything.
This may also be related, but drag and dropping a log file just opens a new tab in Chrome.

Thank you very much for your help!

RE: favicon missing

This is a known issue, it just complains that the webpage has not declared an web icon (which would display in the left of the webpage title), this issue would not affect anything, so don't mind.

RE: button not working

Are you using OverlayPlugin from ngld?
Did you enable the WebSocket Server feature of the OverlayPlugin?
Did you use Chrome to open the emulator?
Did you add ?OVERLAY_WS=ws://<IP_ADDRESS>:10501/ws query to your url when you open it in Chrome?

I've used the emulator plenty of times before, no problem. It's only with this new update am I having issues.

I would presume so as Cactbot ahs been working, and from the fact that it has worked before
I don't know what this is, but I did Start the WSServer.
Yes
This was it.