Using own pretrained model from checkpoint

Hi,
so I have the problem that training using my own, further pretrained model results in very long training time.
I tried with bert-base-uncased first which trains fairly fast. However my model has additional tokens in the added_tokens.json file of the checkpoint which results in at least 5x slower training. When I delete it, its as fast as usual. Also using the model to train a bert model with AutoModelForTokenClassification gives the same fast speed with the additional tokens. Only with this, it slows down when training the entity model. Any advice why this happens or how to speed this up?
Thank you.

Hi!
How many additional tokens does your model have?
I am not sure what causes this issue. It will be helpful to identify the problem if you can show any profiling results (e.g., runtime of each component of the model) for a forward run!

Closing the issue as it is not active.


Windows 11 error 65000

Is "NewsAndInterests" relevant for Windows 11? I just get error 65000 when I set it through the settings catalog
https://call4cloud.nl/2021/07/65000-days-of-night/

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 9b8f2d68-ff96-ff9e-7707-fe8ac2efede0
Version Independent ID: 9b8f2d68-ff96-ff9e-7707-fe8ac2efede0
Content: Policy CSP - NewsAndInterests - Windows Client Management
Content Source: windows/client-management/mdm/policy-csp-newsandinterests.md
Product: w10
Technology: windows
GitHub Login: @vinaypamnani-msft
Microsoft Alias: vinpa

Thanks @pchatham for taking the time to share this with the Windows documentation team. I confirmed that the AllowNewsAndInterests policy is applicable for Windows 11 and I’m sorry that you’re having problems, and I want to make sure it gets to the right people that can help. There are a couple of options available to provide the best level of support for this issue:

Post to Windows on Q&A. These are moderated by community members who are very experienced, knowledgeable, and helpful.
Use Microsoft Support to search for the issue, or open a case with professional support.
Contact your Microsoft Unified Support team, such as a Customer Engineer or Customer Success Account Manager.

I'm closing this issue as there's nothing actionable for docs at this time.


include file "uECC.h" missing (IDFGH-1341)

Just did a git pull and makes now fail with:
CC src/secure_boot_signatures.o
/home/robin/esp/esp-idf/components/bootloader_support/src/secure_boot_signatures.c:21:18: fatal error: uECC.h: No such file or directory
#include "uECC.h"
^
compilation terminated.

Hi Robin,
Thanks for reporting this, sorry for the hassle. You can run git submodule update --init to get past this.
The build system should check this submodule automatically, but isn't. I'll get a fix for that into the repository ASAP.
Angus

That worked, thanks.  There are a couple of warnings still:
/home/robin/esp/esp-idf/components/bootloader_support/src/secure_boot_signatures.c:49:14: warning: unused variable 'digest_len' [-Wunused-variable]
uint32_t digest_len;
^
/home/robin/esp/esp-idf/components/bootloader_support/src/secure_boot_signatures.c:48:27: warning: unused variable 'digest_data' [-Wunused-variable]
const uint8_t *data, *digest_data;
^

Hello
I'm facing this issue but I can't get the remedy right. Can anyone help please ?
here is my screen shot
spuremicro@UbuntuServer:~/esp/esp-idf/examples/get-started/blink$ make flash
Toolchain path: /home/spuremicro/esp/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
WARNING: Toolchain version is not supported: esp32-2019r1
Expected to see version: crosstool-ng-1.22.0-80-g6c4433a
Please check ESP-IDF setup instructions and update the toolchain, or proceed at your own risk.
WARNING: Compiler version is not supported: 8.2.0
Expected to see version(s): 5.2.0
Please check ESP-IDF setup instructions and update the toolchain, or proceed at your own risk.
WARNING: Toolchain version is not supported: esp32-2019r1
Expected to see version: crosstool-ng-1.22.0-80-g6c4433a
Please check ESP-IDF setup instructions and update the toolchain, or proceed at your own risk.
WARNING: Compiler version is not supported: 8.2.0
Expected to see version(s): 5.2.0
Please check ESP-IDF setup instructions and update the toolchain, or proceed at your own risk.
CC build/bootloader/bootloader_support/src/secure_boot_signatures.o
/home/spuremicro/esp/esp-idf/components/bootloader_support/src/secure_boot_signatures.c:22:10: fatal error: uECC.h: No such file or directory
#include "uECC.h"
^~~~~~~~
compilation terminated.

Hi @polineer,
What version of IDF are you using and how did you install it? You can change to the IDF directory and run git describe --tags to check.
Can you please confirm that running git submodule update --init in the IDF directory doesn't change anything?

Hello projectgus
Thanks for your consideration once more on this closed issue.
I followed this guide : https://docs.espressif.com/projects/esp-idf/en/stable/get-started/
When I switch to IDF directory and run git submodule update --init , nothing happens - it behaves like hiiting the "enter" key.
git describe --tags returns  "v3.3-beta1"

Hello,
Same problem here, I have updated the Toolchain and Compiler version to the latest and I'm still getting the same error with "v3.3-beta1"

It looks like you have switched from master branch. On master, micro-ecc component has been moved in components/bootloader directory in recent times from its original location in components
On the branch you are working with, check the status git status and just remove the untracked folders (the new bootloader subcomponent should be one of them) and give it a try.

Hi!
I was using the esp32-at firmware that uses a previous version of the IDF (while I was in master branch). I just cleaned the repository removing the untracked folders and it is working now.
Thank you for your help @dhrishi :)

Hello guys
Thanks for the quick turn around on this.
I have also done some cleaning and it looks good now.
Thank you all for your support.
Regards


Previous Capture

Overview

<pcap> previous capture functionality does not work as documented.
See PR-255 for a test implementing the documented functionality.

@wehriam ,  ....  is work for me

@domanhha Correct! In complex conversation, use  instead of  for simple-single replies.
Thanks,

Since the tests merged in #255 work, I imagine this is resolved - cheers!


exampleSite/content translation

Perhaps related to https://github.com/budparr/gohugo-theme-ananke/issues/257
I see metadata is translated, but why not demonstrate an entire post in https://github.com/budparr/gohugo-theme-ananke/tree/master/exampleSite/content to exercise https://github.com/budparr/gohugo-theme-ananke/blob/master/layouts/partials/i18nlist.html IIUC
Found this theme with https://gohugo.io/getting-started/quick-start/ so this is my goto for learning Hugo templating.
Thanks!

Hi @kaihendry  Yes, I think what you're looking for is what we intend to do with #257. I'll close for now, but thank you for your vote for that feature.


Remove-Item throws "Attempted to divide by zero" on PS 7.5.0-preview.3

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
Remove-Item throws Attempted to divide by zero on PS 7.5.0.preview.3 when removing items from folder where some of files are locked by other processes (like VSCode):

Start VSCode or other process that locks files in user's LOCALAPPDATA\Temp folder
Remove-Item -Path "$env:LOCALAPPDATA\Temp\*" -Recurse -Force -ErrorAction Ignore -Verbose

This does not throw on PowerShell 7.4.2 or PowerShell 5.1
Possible cause
I guess this might have something to do with new progress bar for Remove-Item?
Workaround
The error is gone when I disable the progress bar with $ProgressPreference = 'SilentlyContinue'

Expected behavior
No error is thrown

Actual behavior
PS C:\> Remove-Item -Path "$env:LOCALAPPDATA\Temp\*" -Recurse -Force -ErrorAction Ignore
Remove-Item: Attempted to divide by zero.

Error details
Exception             :
    Type       : System.DivideByZeroException
    TargetSite :
        Name          : RemoveDirectoryInfoItem
        DeclaringType : [Microsoft.PowerShell.Commands.FileSystemProvider]
        MemberType    : Method
        Module        : System.Management.Automation.dll
    Message    : Attempted to divide by zero.
    Source     : System.Management.Automation
    HResult    : -2147352558
    StackTrace :
   at Microsoft.PowerShell.Commands.FileSystemProvider.RemoveDirectoryInfoItem(DirectoryInfo directory, Boolean recurse, Boolean force, Boolean rootOfRemoval) in
D:\DEVELOPMENT\PowerShellCore\src\System.Management.Automation\namespaces\FileSystemProvider.cs:line 3124
   at Microsoft.PowerShell.Commands.FileSystemProvider.RemoveDirectoryInfoItem(DirectoryInfo directory, Boolean recurse, Boolean force, Boolean rootOfRemoval) in
D:\DEVELOPMENT\PowerShellCore\src\System.Management.Automation\namespaces\FileSystemProvider.cs:line 3073
   at Microsoft.PowerShell.Commands.FileSystemProvider.RemoveDirectoryInfoItem(DirectoryInfo directory, Boolean recurse, Boolean force, Boolean rootOfRemoval) in
D:\DEVELOPMENT\PowerShellCore\src\System.Management.Automation\namespaces\FileSystemProvider.cs:line 3073
   at Microsoft.PowerShell.Commands.FileSystemProvider.RemoveDirectoryInfoItem(DirectoryInfo directory, Boolean recurse, Boolean force, Boolean rootOfRemoval) in
D:\DEVELOPMENT\PowerShellCore\src\System.Management.Automation\namespaces\FileSystemProvider.cs:line 3073
   at Microsoft.PowerShell.Commands.FileSystemProvider.RemoveItem(String path, Boolean recurse) in
D:\DEVELOPMENT\PowerShellCore\src\System.Management.Automation\namespaces\FileSystemProvider.cs:line 2904
   at System.Management.Automation.SessionStateInternal.RemoveItem(CmdletProvider providerInstance, String path, Boolean recurse, CmdletProviderContext context) in
D:\DEVELOPMENT\PowerShellCore\src\System.Management.Automation\engine\SessionStateContainer.cs:line 1018
CategoryInfo          : NotSpecified: (:) [Remove-Item], DivideByZeroException
FullyQualifiedErrorId : System.DivideByZeroException,Microsoft.PowerShell.Commands.RemoveItemCommand
InvocationInfo        :
    MyCommand        : Remove-Item
    ScriptLineNumber : 1
    OffsetInLine     : 1
    HistoryId        : 1
    Line             : Remove-Item -Path "$env:LOCALAPPDATA\Temp\*"  -Recurse -Force -ErrorAction Ignore
    Statement        : Remove-Item -Path "$env:LOCALAPPDATA\Temp\*"  -Recurse -Force -ErrorAction Ignore
    PositionMessage  : At line:1 char:1
                       + Remove-Item -Path "$env:LOCALAPPDATA\Temp\*"  -Recurse -Force -ErrorA …
                       + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    InvocationName   : Remove-Item
    CommandOrigin    : Internal
ScriptStackTrace      : at <ScriptBlock>, <No file>: line 1

Environment data
Name                           Value
----                           -----
PSVersion                      7.5.0-preview.3
PSEdition                      Core
GitCommitId                    7.5.0-preview.3-20-gcdb7556d041b5db42049b39a9cf0363b5b9806a6
OS                             Microsoft Windows 10.0.19045
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals

@237dmitry  Yes, I've mentioned that PR in the issue description:

A simple reproducer is to delete a directory with a 0 byte file as _totalBytes will equal 0. I've got a fix so will submit a PR with the fix and a test for it.

@jborean93 FYI https://github.com/PowerShell/PowerShell/pull/19038 😄

Yep that's the code I've got to fix it :) The trouble is I think there might be a race condition I need to sort out before writing the tests as the total file calculator is done in a background task so the deletion might happen before it is enumerated.

Yep definite race condition there so this may or may not happen depending on the timing of when a file/folder is deleted and when it was enumerated in the size task. Unfortunately this means I can't write a consistent test for this so left it out.


Frequently used emojis shown even when user didnt select this emoji before - reported by @Puneet-here

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Login to new account
Open emoji picker
Select an emoji it will show up in frequently used section

Expected Result:
It should only show up as frequently used when you have used that emoji multiple times or we should change the it to Recently used.
Actual Result:
It shows up after selecting an emoji only one time
Workaround:
unknown
Platform:

Where is this issue occurring?

Web
iOS
Android
Desktop App
Mobile Web

Version Number: 1.1.56-0
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/43995119/164366069-169c879a-d019-45b9-a9e7-1612fac0d528.mp4
Expensify/Expensify Issue URL:
Issue reported by: @Puneet-here
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1648671339728759
View all open jobs on GitHub

@Puneet-here I'm a little confused on why you feel this is a bug.
The way that frequently used emojis works is we keep a count each time you use one (smile: 1, laugh: 5 etc). Once you have 16 frequently used emojis, we only show the top 16 from that list. If you are someone who doesn't use emojis often, then only the ones you have used will be there, even if they have only been used once. In my opinion, that is the correct behavior.
Am I missing something?

Hi @stitesExpensify, I think frequently used emoji means the emojis that we use frequently and other platform list like slack only lists an emoji in frequently used category when it gets used sometimes but in Expensify we are listing emojis that the user has selected even for once and even if they don't send that emoji it will be in frequently used, which isn't correct I think because of this when the 16 frequently used emoji gets listed some of them will be replaced just because of selecting a new emoji once even you don't use it. I think if we wanna keep the functionality like this we should change the title to recently used as they work like recently used emoji and in mobile native emoji picker they also use the term recently used and they list recently used emojis.
Sorry for the lengthy comment.

No worries about the comment length!

in Expensify we are listing emojis that the user has selected even for once

If you have used an emoji once and that's more than any other emoji, then it would be more frequently used than the others though, right?

I think because of this when the 16 frequently used emoji gets listed some of them will be replaced just because of selecting a new emoji once even if you don't use it

That will only happen if the emoji has been selected more than the 16 that are currently being shown though right?

I think if we wanna keep the functionality like this we should change the title to recently used

I don't think recently used is really what's happening though right? It is actually the 16 emojis you have selected the most times

I just checked we list 24 emoji in that section

That will only happen if the emoji has been selected more than the 16 that are currently being shown though right?
I don't think recently used is really what's happening though right? It is actually the 16 emojis you have selected the most times

No I checked it's not the case they are getting replaced by any new emoji

Oh wow, that's definitely a bug then thanks for checking! I still think that emojis only used once should be in the frequently used, if they are in the top 24 on the list. Do you want to propose a solution?

I don't have a proposal for this also currently I am trying to find solution for some other issues so I won't be able to work on it.

Sounds good, I'll open it up to others then (and you will get the reporting fee)!

Upwork job here: https://www.upwork.com/jobs/~01f2ba2b8e27f04695

@stitesExpensify @Puneet-here When I worked on this, I added support for both - frequently uses as well as recently used. This also might sound a bit confusing but recent emojis takes precedence over some frequently used.
https://github.com/Expensify/App/issues/4559#issuecomment-910726330

Thanks for reminding me @mananjadhav I totally forgot about that! TBH I like that design a lot so I think this should just be closed. Thanks for creating the upwork job @trjExpensify! My bad for not remembering

Cool, I've pulled the job down from Upwork.


Poor Accuracy

Hi, I run all the experiments and I am getting 2/3% less accuracy on every transfer task. Even, on the sketch (PACS) domain transfer task I am getting 10% less accuracy than the reported accuracy.

Hi, Thanks for your interest in our code. The results in the paper are the mean accuracy of three random experiments. You can set different random seeds and get the results using following scripts:
python3 get_results.py --config config/pacs/sketch/uda.yaml

For example, I just repeated the experiments on PACS, the results on sketch target dataset are as following:
$ python3 get_results.py --config config/pacs/sketch/uda.yaml
cache/pacs_sketch_uda_100/logs
Reading results from cache/pacs_sketch_uda_100/logs/run_2020_10_24_08_09_58.log
2020-10-24 08:21:21,281 INFO Best testing accuracy: 75.64 %
Reading results from cache/pacs_sketch_uda_200/logs/run_2020_10_24_08_21_23.log
2020-10-24 08:32:54,628 INFO Best testing accuracy: 74.80 %
Reading results from cache/pacs_sketch_uda_300/logs/run_2020_10_24_08_32_56.log
2020-10-24 08:44:40,981 INFO Best testing accuracy: 76.08 %
===> rotate mean: 75.51, std: 0.53

We have tested on different machines. It can happen that the results on different machines are not the same even if using the same random seed.


Update Puppeteer to 13.4.1 + Typescript 4.6.2

Changes

Update puppeteer to 13.4.1
Update typescript

Breaking Change
cli --pdfFormat replaced with --pageFormat  (to align with puppeteer).  cli param has been marked deprecated.

Very usefull PR! This let us print mermaid diagrams 🥇

@jafin @pixnlove  I have created a new repo and merged all usefull PRs here, feel free to contribute


MNT: Build on Python 3.9 environment

Quick check. If this works, then let's upgrade to Python 3.9 for 22.0.x. Otherwise it can wait.

ah, nipype 1.8.1 is not yet available on conda-forge

@mgxd This configuration installs nipype 1.8.1. I think we should be good to go here.


CLI SCOUT-AUDIT  --OUT-FORMAT

cargo scout -audit - out-format , does not work,
the short Yes .# cargo scout-audit -o [format]

Hey @polblancoo, thanks for reporting this! We're working on it and it will be fixed shortly.
Feel free to add any other feedback on the tool.

Great job, I met them on Polkadecode, which is online. If you're okay with it, I'll do a review for subsocial.
_------
gran trabajo , los conoci en el polkadecode que estan online , si les parece bien  hago review para subsocial .


sitemap.xml is messed up

http://www.freecodecamp.com/sitemap.xml

@QuincyLarson I'm looking into this.

The only thing I can thing I can think of that could have screwed this up is the stories url's might no parse as correct xml. I don't see any recent changes to this file.
@QuincyLarson I can create a separate service to do sitemap for us (I'd prefer to move this into a separate repo all together) since we wanted to move away from doing this on our main servers anyways. I'm not going to be available till late tonight to do this. Give me a call when you can.

@dcsan Thanks for finding this(have no idea what you where doing to find this :) )
We suspect it was a story with a malformed URL that was throwing off the xml. It is fixed now.

I was just chatting over some SEO ideas for FCC with someone and they pointed it out. you probably have some good people in the community who are learning to code but know a lot about SEO!


vscode-extensions.ms-vscode-remote.remote-ssh-edit: init at 0.47.2

Description of changes
Adds the ms-vscode-remote.remote-ssh-edit vscode extension.
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Please note: Microsoft has removed the VSCode marketplace changelog page. As such, I am unable to provide meta.changelog.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/4100

Commit message is still wrong. I can fix it while squashing. Or you can do it. Still, I'm waiting for CI eval atm.


Broken history management

Undo/Redo in the editor is broken at the moment and doesn't work at all.
This might stem from the refactoring to use reducers under the hood and needs some investigation.
Related: #67

Assigning to @barklund as you mentioned on Slack that you're going to look into this and that it's about restore() not restoring all the objects by reference properly. Hope that's alright.


Gather feedback from clients about UI design and adjust accordingly

Clients were satisfied with the current UI design.


Update 2022-10-07-oss-usage-east-africa.md

Added the required frontmatter
Made formatting changes to the headers

@scoker-me @ctgrogel  - please review and merge when you're ready. This should be merged before pull request #88


MongoDB: Collection-agnostic aggregations like $currentOp don't work

Agent 7.29.1, running on Ubuntu Linux 18.04.
Steps to reproduce the issue:
Add the following configuration to /etc/datadog-agent/conf.d/mongo.d/conf.yaml and restart the agent:
    custom_queries:
      - metric_prefix: mongodb.custom.queries_slower_than_60sec
        run_on_secondary: true
        query: { "aggregate": 1, "maxTimeMS": 1000, "pipeline": [ { "$currentOp": { "allUsers": true }}, { "$match": { "active": true, "secs_running": {"$gt": 60}}} ], "cursor": {}}
        fields:
        - field_name: secs_running
          name: secs_running
          type: gauge
        - field_name: appName
          name: app_name
          type: tag
        - field_name: ns
          name: mongo_op_namespace
          type: tag

Describe the results you received:
When Datadog attempts to run this command, it produces an error (found via journalctl):
Traceback (most recent call last):
2021-07-22 06:44:38 UTC | CORE | WARN | (pkg/collector/python/datadog_agent.go:122 in LogMessage) | mongo:375a6f2e54dabf11 | (custom_queries.py:153) | Errors while collecting custom metrics with prefix mongodb.custom.queries_slower_than_60sec
TypeError: name must be an instance of str
    raise TypeError("name must be an instance "
  File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/pymongo/collection.py", line 160, in __init__
    pymongo.collection.Collection(db, collection_name), result['cursor'], None
  File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/mongo/collectors/custom_queries.py", line 113, in _collect_custom_metrics_for_query
    self._collect_custom_metrics_for_query(api, raw_query)
  File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/mongo/collectors/custom_queries.py", line 150, in collect

Describe the results you expected:
I would like to be able to send information about slow queries to Datadog.
Additional information you deem important (e.g. issue happens only occasionally):
It seems like the problem here is that when using this syntax to run an admin aggregation like $currentOp, you have to specify "aggregate": 1 in the query to indicate that there is no associated collection. However, the API that Datadog is calling in pymongo expects the collection name to always be a string. Unfortunately, "aggregate": "1" is not equivalent and will fail.
More details on the syntax: https://docs.mongodb.com/manual/reference/command/aggregate/

Hey @atodd-circleci
Acknowledging the limitation, I'm able to reproduce.
I'm thinking we should be able to work around that by putting $cmd.aggregate instead of "1" as the collection name here: https://github.com/DataDog/integrations-core/blob/master/mongo/datadog_checks/mongo/collectors/custom_queries.py#L113 but I'd have to confirm that

@FlorianVeaux Thanks for taking a look so quickly. I manually edited custom_queries.py on my installation to replace collection_name with the literal $cmd.aggregate. It seems to have worked. When I start the agent, I see this in the log:
Exception: Custom query returned an empty result set.
    raise Exception('Custom query returned an empty result set.')
  File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/mongo/collectors/custom_queries.py", line 145, in _collect_custom_metrics_for_query
    self._collect_custom_metrics_for_query(api, raw_query)
  File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/mongo/collectors/custom_queries.py", line 150, in collect
Traceback (most recent call last):
2021-07-27 05:20:05 UTC | CORE | WARN | (pkg/collector/python/datadog_agent.go:122 in LogMessage) | mongo:<redacted> | (custom_queries.py:153) | Errors while collecting custom metrics with prefix mongodb.custom.queries_slower_than_60sec

I'm not expecting any results, so this is good. I can't really go around manually editing our installations this way, though, so I'm looking forward to a more permanent fix.


Cannot find module 'metro/src/blacklist'

[X] Review the documentation: https://facebook.github.io/react-native
[X] Search for existing issues: https://github.com/facebook/react-native/issues
[X] Use the latest React Native release: https://github.com/facebook/react-native/releases

Environment
React Native Environment Info:
System:
OS: macOS High Sierra 10.13.6
CPU: x64 Intel(R) Core(TM) i7-6567U CPU @ 3.30GHz
Memory: 440.67 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 8.11.3 - /usr/local/opt/node@8/bin/node
Yarn: 1.9.4 - /usr/local/bin/yarn
npm: 5.6.0 - /usr/local/opt/node@8/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.0, macOS 10.14, tvOS 12.0, watchOS 5.0
Android SDK:
Build Tools: 21.1.1, 21.1.2, 22.0.0, 22.0.1, 23.0.1, 23.0.2, 23.0.3, 24.0.1, 25.0.0, 25.0.2, 25.0.3, 26.0.0, 26.0.2, 27.0.3, 28.0.0
API Levels: 22, 24, 26, 27
IDEs:
Android Studio: 3.1 AI-173.4697961
Xcode: 10.0/10A254a - /usr/bin/xcodebuild
npmPackages:
react: 16.5.0 => 16.5.0
react-native: 0.57.0 => 0.57.0
npmGlobalPackages:
react-native-cli: 2.0.1
react-native-git-upgrade: 0.2.7
Description
(node:94806) UnhandledPromiseRejectionWarning: Error: Cannot find module 'metro/src/blacklist'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)

If you bot could read, you would realize that I DID run react-native info, but it did not work!

Are you using a custom rn-cli.config.js?
If yes, you should update the code related to requiring blacklist to something like:
try {
  // >= 0.57
  blacklist = require('metro-config/src/defaults/blacklist');
} catch (e) {
  // <= 0.56
  blacklist = require('metro/src/blacklist');
}

I'm not using a custom rn-cli.config.js. But the one in the project directory looks like this:
const blacklist = require('metro/src/blacklist')
module.exports = {
getBlacklistRE () {
return blacklist([/react-native/local-cli/core/fixtures.*/])
},
}

Maybe you should try to rm -rf node_modules; yarn.

I have removed node_modules. But I changed the rn-cli.config.js per your instructions and at least now got the react-native info working. Probably the metro bundler too. Next have to figure out how to resolve the RN issues with XCode 10 GM. Really hate wasting time with fighting with buggy RN...

Whats in the line // ... where alternateRoots should be defined? Would be nice to have the whole file in the guide.

Also: (node:17719) UnhandledPromiseRejectionWarning: Error: Cannot find module './scripts/transformer.js'

This is your new file.
const blacklist = require('metro-config/src/defaults/blacklist')
  module.exports = {
    getBlacklistRE () {
      return blacklist([/react-native\/local-cli\/core\/__fixtures__.*/])
    },
  }

Sorry, I just realised the blackListing reference is incorrect, it should be.
const blacklist = require('metro-config/src/defaults/blacklist')
  module.exports = {
  resolver: {
    blacklistRE: blacklist([/react-native\/local-cli\/core\/__fixtures__.*/]),
  },
};

I feel that we can close this now, since this is also shown in the changelog for 0.57 https://github.com/react-native-community/react-native-releases/blob/master/CHANGELOG.md#updating-to-this-version


mpfshell: init at 0.8.1

Motivation for this change
This pull requests adds the mpfshell-software.
Things done

[x] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] Linux

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

The commit message should be mpfshell: init at 0.8.1. I'll just squash the commits for you and fix the message.


Keeping User LoggedIn

This PR adds feature to keep user logged in next time the app is opened
Also Added Logout functionality.

Issue #39


Use user from OCI config per default

We have to use the user from the OCI configuration to have the right set
of user permissions inside container.

Hello @saschagrunert !
Thanks for your contribution! All the github repos are mirror of repos on gitlab, do you mind making your contribution here: https://gitlab.com/nvidia/container-toolkit/container-toolkit
Thanks!

Yes sure :+1: Thank you for the hint

Ref: https://gitlab.com/nvidia/container-toolkit/container-toolkit/-/merge_requests/5


TRIVIAL: tune for building on el9

adding rexml gem (not bundled anymore by default in ruby3)
change github url to clone directly from https

Build succeeded (check pipeline).

LGTM

Sonar scan result

No issue found. Congratulations!

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

Build succeeded (gate pipeline).

https://checklist.intgdc.com/job/compliance/job/serverspec-core-merge-compliance-check/9/ : SUCCESS in 24s
https://checklist.intgdc.com/job/compliance/job/serverspec-core-fossa-scanning-zuul-el7/2/ : FAILURE in 1m 06s (non-voting)
https://checklist.intgdc.com/job/compliance/job/serverspec-core-sonarqube-scan-zuul-gate/1/ : SUCCESS in 43s


[card] Fix deposit timer UI

We should probably not have the deposit timer reset on every client startup. It should probably only activate when we navigate to the deposit page (maybe even have a button to click saying "Allow Deposit" or similar).

No longer exists


Timeshift don't work if shift interval field isn't a cycle

Hey everyone
First and foremost, amazing plugin! I've been using it a lot and it is a game changer!
I have one minor question related to time shifting. I'm trying to setup a new fileClass in which I have the following attributes:
due-date: <Date>
recurring-interval: <amount of days/weeks/etc>

I've added the nextShiftIntervalField to the due-date field mapping to recurring-interval but, for some reason, it only works if the recurring-interval field is a list
But, this doesn't work for me, since each note can have a different recurring-interval but I don't need it to cycle
What should I do?

you can define a shiftInterval in the settings if you don't want to set the intervals as a "progressive cycling values" list

I recently had the same need. It would be great to allow the user to specify a different field for the recurring interval that isn't of the cycling type. This would enable us to replicate repeating tasks, which is currently not possible. As Delucca mentioned, the repeating interval varies for each note, so it doesn't make sense to define an interval in the settings.


Floor upon Floor

Hi Guys,
Just wanted to know how I can stack layers upon layers in a single screen.
Like this
http://www.schule3d.eu/standalone/en/#/stocke
Any pointers are appreciated.
Regards,
Hasnain.

i need this function too!!plz add it thanks!

@haznainRashid did you happen to find something for this ?


Feature/ integration tests

Fixes #1133 .
Changes proposed in this PR:

implement simple flow test
wip implement marketplaceflow test
fix bugs/ tests/ and small refactors

Superseded by #1184


Add places (or waypoints) representation on the map

We'll need to mark the places (or waypoints) on the RomiDashboard Map.  E.g: on the attached Image.

pr merged


MINOR : Removed the depreciated information about Zk to Kraft migration.

The current document about Zookeeper to kraft migration is depreciated.
Accord to KIP-833: Mark KRaft as Production Ready, the migration from ZK mode supported as GA.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@chiacyu thanks for your contribution!

@chiacyu , thanks for the contribution! Could you also open a PR in "kafka-site" repo to fix the current kafka site?


Add BranchesToBeNotified to Slack notification service properties

As per the API documentation this field is missing (and I need it)

Thanks @pcarranza! LGTM!


[Windows] Attempted to send a key down event when no keys are in keysPressed.

Steps to Reproduce

Type in a character using the numpad (further reference: https://en.wikipedia.org/wiki/Alt_code)

Expected results: Corresponding character appears
Actual results: Flutter crashes

Logs
[  +49 ms] Building Windows application... (completed in 71.4s)
[ +888 ms] Observatory URL on device: http://<IP_ADDRESS>:19587/xrtS4_FUOYs=/
[  +23 ms] Caching compiled dill
[ +109 ms] Connecting to service protocol: http://<IP_ADDRESS>:19587/xrtS4_FUOYs=/
[ +321 ms] Launching a Dart Developer Service (DDS) instance at http://<IP_ADDRESS>:0, connecting to VM service at http://<IP_ADDRESS>:19587/xrtS4_FUOYs=/.
[OMITTED]
[  +46 ms] DDS is listening at http://<IP_ADDRESS>:19590/34xjsOUxWck=/.
[ +162 ms] Successfully connected to service protocol: http://<IP_ADDRESS>:19587/xrtS4_FUOYs=/
[  +41 ms] DevFS: Creating new filesystem on the device (null)
[  +42 ms] DevFS: Created new filesystem on the device ([OMITTED])
[  +10 ms] Updating assets
[ +522 ms] Syncing files to device Windows...
[  +80 ms] <- reset
[   +3 ms] Compiling dart to kernel with 0 updated files
[  +48 ms] <- recompile [OMITTED]/.dart_tool/flutter_build/generated_main.dart 5fd93401-e149-44fe-82b4-62b961b9e0c6
[  +77 ms] <- 5fd93401-e149-44fe-82b4-62b961b9e0c6
[OMITTED]
[  +32 ms] Updating files.
[   +2 ms] DevFS: Sync finished
[  +62 ms] Syncing files to device Windows... (completed in 945ms)
[  +21 ms] Synced 0.0MB.
[  +20 ms] <- accept
[ +180 ms] Connected to _flutterView/0x21a35bed6d0.
[  +86 ms] Flutter run key commands.
[  +11 ms] r Hot reload.
[   +6 ms] R Hot restart.
[   +6 ms] h List all available interactive commands.
[   +2 ms] d Detach (terminate "flutter run" but leave application running).
[   +7 ms] c Clear the screen
[  +25 ms] q Quit (terminate the application on the device).
[   +3 ms]  Running with sound null safety
[  +13 ms] An Observatory debugger and profiler on Windows is available at: http://<IP_ADDRESS>:19590/34xjsOUxWck=/
[  +22 ms] Activating Dart DevTools...
[OMITTED]
[+4217 ms] Unable to parse JSON message:
[   +6 ms] The document is empty.
[  +32 ms]
           ══╡ EXCEPTION CAUGHT BY SERVICES LIBRARY ╞══════════════════════════════════════════════════════════
           The following assertion was thrown during a platform message callback:
           Attempted to send a key down event when no keys are in keysPressed. This state can occur if the key
           event being sent doesn't properly set its modifier flags. This was the event:
           RawKeyDownEvent#30887(logicalKey: LogicalKeyboardKey#00237(keyId: "0x200000237", keyLabel: "Numpad
           7", debugName: "Numpad 7"), physicalKey: PhysicalKeyboardKey#700e2(usbHidUsage: "0x000700e2",
           debugName: "Alt Left")) and its data: RawKeyEventDataWindows#3635f(keyCode: 103, scanCode: 56,
           characterCodePoint: 8226, modifiers: 0)
           'package:flutter/src/services/raw_keyboard.dart':
           Failed assertion: line 668 pos 7: 'event is! RawKeyDownEvent || _keysPressed.isNotEmpty'

           Either the assertion indicates an error in the framework itself, or we should provide substantially
           more information in this error message to help you determine and fix the underlying cause.
           In either case, please report this assertion by filing a bug on GitHub:
             https://github.com/flutter/flutter/issues/new?template=2_bug.md

           When the exception was thrown, this was the stack:
           #2      RawKeyboard.handleRawKeyEvent (package:flutter/src/services/raw_keyboard.dart:668:7)
           #3      KeyEventManager.handleRawKeyMessage (package:flutter/src/services/hardware_keyboard.dart:818:33)
           #4      BasicMessageChannel.setMessageHandler.<anonymous closure> (package:flutter/src/services/platform_channel.dart:73:49)
           #5      BasicMessageChannel.setMessageHandler.<anonymous closure> (package:flutter/src/services/platform_channel.dart:72:47)
           #6      _DefaultBinaryMessenger.setMessageHandler.<anonymous closure> (package:flutter/src/services/binding.dart:379:35)
           #7      _DefaultBinaryMessenger.setMessageHandler.<anonymous closure> (package:flutter/src/services/binding.dart:376:46)
           #8      _invoke2.<anonymous closure> (dart:ui/hooks.dart:205:15)
           #12     _invoke2 (dart:ui/hooks.dart:204:10)
           #13     _ChannelCallbackRecord.invoke (dart:ui/channel_buffers.dart:42:5)
           #14     _Channel.push (dart:ui/channel_buffers.dart:132:31)
           #15     ChannelBuffers.push (dart:ui/channel_buffers.dart:329:17)
           #16     PlatformDispatcher._dispatchPlatformMessage (dart:ui/platform_dispatcher.dart:544:22)
           #17     _dispatchPlatformMessage (dart:ui/hooks.dart:92:31)
           (elided 5 frames from class _AssertionError and dart:async)
           ════════════════════════════════════════════════════════════════════════════════════════════════════
[+2554 ms] Service protocol connection closed.
[  +63 ms] Lost connection to device.
[  +12 ms] DevFS: Deleting filesystem on the device ([OMITTED])
[ +138 ms] Activating Dart DevTools... (completed in 9.9s)
[ +138 ms] Ignored error while cleaning up DevFS: TimeoutException after 0:00:00.250000: Future not completed
[  +37 ms] "flutter run" took 89,757ms.
[ +242 ms] ensureAnalyticsSent: 222ms
[  +35 ms] Running shutdown hooks
[   +2 ms] Shutdown hooks complete
[  +17 ms] exiting with code 0

No issues found! (ran in 5.7s)

[√] Flutter (Channel stable, 2.5.3, on Microsoft Windows [Version 10.0.19043.1348], locale en-DE)
    • Flutter version 2.5.3 at C:\SDKs\Flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 18116933e7 (7 weeks ago), 2021-10-15 10:46:35 -0700
    • Engine revision d3ea636dc5
    • Dart version 2.14.4

[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at C:\SDKs\Android
    • Platform android-31, build-tools 31.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • CHROME_EXECUTABLE = C:\Users\Craftplacer\AppData\Local\Chromium\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.0)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.11.31605.320
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2020.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[☠] IntelliJ IDEA Community Edition (the doctor check crashed)
    X Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at
      https://github.com/flutter/flutter/issues.
    [Omitted]

[√] VS Code, 64-bit edition (version 1.59.0)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.27.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19043.1348]
    • Chrome (web)      • chrome  • web-javascript • unknown
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 96.0.1054.34

! Doctor found issues in 1 category.

https://user-images.githubusercontent.com/22963120/144330269-db78d2f8-33be-4813-a4d9-af879bf7586c.mp4

Hi @Craftplacer, Thanks for filing the issue, I ran the newly created counter app on windows as a Desktop app and tried pressing Numpad keys and also by holding the alt key but I could not see any error in the console. Could you please specify the steps to reproduce the issue?

flutter doctor -v
[√] Flutter (Channel stable, 2.5.3, on Microsoft Windows [Version 10.0.19042.1348], locale en-US)
    • Flutter version 2.5.3 at C:\flutter_sdk\stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 18116933e7 (7 weeks ago), 2021-10-15 10:46:35 -0700
    • Engine revision d3ea636dc5
    • Dart version 2.14.4

[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at C:\Users\mahesh\AppData\Local\Android\sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.4)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.11.31727.386
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2020.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[√] VS Code (version 1.61.2)
    • VS Code at C:\Users\mahesh\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.28.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19042.1348]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 96.0.4664.45
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 95.0.1020.44

• No issues found!

Thank you.

There are no additional steps "necessary", Flutter crashes as soon as Windows tries to input a character (for example by pressing Numpad 7 while holding Alt and having Num Lock enabled)

Flutter crashes as soon as Windows tries to input a character (for example by pressing Numpad 7 while holding Alt and having Num Lock enabled)

Thanks for the info @Craftplacer, enabling Numlock is crucial info. I was able to reproduce the issue on stable 2.5.3, but on the master channel this is not reproducible, It seems like this is fixed as of master  2.6.0-12.0.pre.885. You may either wait until the fix lands on the stable or switch to the master channel using
flutter channel master
flutter upgrade

flutter doctor -v
[√] Flutter (Channel master, 2.6.0-12.0.pre.885, on Microsoft Windows [Version 10.0.19042.1348], locale
    en-US)
    • Flutter version 2.6.0-12.0.pre.885 at C:\flutter_sdk\master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 16ec56ee0f (in the future), 2021-12-02 02:49:05 -0500
    • Engine revision 888f4c0fc6
    • Dart version 2.16.0 (build 2.16.0-56.0.dev)
    • DevTools version 2.8.0

[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at C:\Users\mahesh\AppData\Local\Android\sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.4)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.11.31727.386
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2020.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[√] VS Code (version 1.61.2)
    • VS Code at C:\Users\mahesh\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.28.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19042.1348]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 96.0.4664.45
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 95.0.1020.44

• No issues found!

Closing as fixed on the master channel. If you still encounter the issue, feel free to write back and I will reopen it.
Thank you


Be sure to fire waffle rules on the same request as the github issue creation to ensure it starts off in the right waffle list

Issue created with imdone.io

TODO: Be sure to fire waffle rules on the same request as the github issue creation to ensure it starts off in the right waffle list +enhancement id:132
lib/plugins/plugin-view.coffee:79
@imdone Issue Creator. The developer's task board. imdone.io

TODO: Be sure to fire waffle rules on the same request as the github issue creation to ensure it starts off in the right waffle list +enhancement id:132 gh:204 due:2017-02-01
lib/plugins/plugin-view.coffee:79
@imdone commenter. The developer's task board. imdone.io

TODO: Be sure to fire waffle rules on the same request as the github issue creation to ensure it starts off in the right waffle list +enhancement id:132 gh:204
lib/plugins/plugin-view.coffee:79
@imdone commenter. The developer's task board. imdone.io

TODO: Be sure to fire waffle rules on the same request as the github issue creation to ensure it starts off in the right waffle list +enhancement id:132 gh:204
lib/plugins/plugin-view.coffee:79
@imdone commenter. The developer's task board. imdone.io

Issue closed with imdone.io by removing a comment.

https://github.com/imdone/imdone-atom/blob/b7251b7ccf00e69c484ae85d9668078cedb7152e/lib/plugins/plugin-view.coffee#L79-L84


Endless Spinner with latest Firefox 84.0.2

After the stream has started, the spinner should disappear, this works in Chrome and Edge but not in the latest Firefox.

fixed https://github.com/deepch/RTSPtoWeb/commit/2bca0c71ab36ecc02e37bffbd329c9910c73841e

fixed https://github.com/deepch/RTSPtoWeb/commit/2bca0c71ab36ecc02e37bffbd329c9910c73841e


SE-0356: Implement snippet slicing

Add an optional slice argument to the @Snippet directive, which
will only render a code listing comprised of the line range of the slice.
Remove snippet groups, as they are no longer used in the current design.
Replace logic that filters snippets and fake modules that hold snippets
to a more generic "is virtual" logic. A virtual symbol, topic, or documentation
node should not have its own page of documentation.
Testing: Moved snippet tests to their own test bundle as it was causing a lot
of thrash with navigator tests.
rdar://95220570
Requires SymbolKit model changes:

https://github.com/apple/swift-docc-symbolkit/pull/50

Related change:

https://github.com/apple/swift-docc-plugin/pull/20

Looks like the CI can't fold in multiple PRs for this project, so the SymbolKit changes will need to land first.

@swift-ci Please test

@swift-ci Please test

Just popping in to share how happy I am to see this happening already :) Even if it just lands in the packages we could be using it already in server projects -- really looking forward to it, thanks @bitjammer !

A pleasure, @ktoso, looking forward to seeing what you do with it!

@swift-ci Please test

@swift-ci Please test

@swift-ci Please test

@swift-ci Please test

A pleasure, @ktoso, looking forward to seeing what you do with it!

Basically I want to throw out our workaround that collects all inline code pieces from a md file and makes a compile test for it.
We really need to have our docs code be compiled since we often end up with some old or partial code snippet and then users are utterly confused: like even yesterday there was such user:

Don't get this example, .terminated is internal, you can't call it, or it's just an example what will happen when you creating a cluster system?

While the actual issue was... well, this method does not exist... and since the docc code is not verified, we missed it.
Really looking forward to this :) Thanks!

Removed temporary commit to point to in-flight SymbolKit branch.

@swift-ci Please test


[gui error report] Error: Initializing daemon...

After "Advanced -- Move Repository Location" it cannot find the config... If I chose the same path again it says that the repository is not an empty folder.
👉 Please describe what you were doing when this error happened.
Specifications

OS: win32 10.0.19045
IPFS Desktop Version: 0.27.0
Electron Version: 19.1.9
Chrome Version: 102.0.5005.167

Error
Error: Initializing daemon...
Kubo version: 0.19.0
Repo version: 13
System version: amd64/windows
Golang version: go1.19.1
Error: directory missing SHARDING file: C:\Users\Andrey\.ipfs\blocks

    at errorTemplate (D:\progs\dev\IFPS\IPFS Desktop\resources\app.asar\src\daemon\migration-prompt.js:78:49)
    at Object.loadWindow (D:\progs\dev\IFPS\IPFS Desktop\resources\app.asar\src\daemon\migration-prompt.js:129:26)
    at startIpfsWithLogs (D:\progs\dev\IFPS\IPFS Desktop\resources\app.asar\src\daemon\daemon.js:191:25)
    at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async startDaemon (D:\progs\dev\IFPS\IPFS Desktop\resources\app.asar\src\daemon\daemon.js:216:27)
    at async startIpfs (D:\progs\dev\IFPS\IPFS Desktop\resources\app.asar\src\daemon\index.js:48:17)
    at async setupDaemon (D:\progs\dev\IFPS\IPFS Desktop\resources\app.asar\src\daemon\index.js:116:3)
    at async run (D:\progs\dev\IFPS\IPFS Desktop\resources\app.asar\src\index.js:85:5)

Copying did not work. I had to start entire process over.


compiler: Patch issue #1592 (HaloScheme with time subdimensions)

Fix #1592

I think I made some mistake here. I'll review that and let you guys know.

Some explanation..
When using the factor argument in ConditionalDimension, LoweredEq replaces the dimension index by IntDiv(index, factor). Since IntDiv is a sympy.Expr child, builtins max and min are getting in trouble when selecting maximum/minimum loc_indice from candidates in compute_local_indices(...). Replacing these builtins by sympy.Max/Min solved the issue (not sure if this is the only way). It just needed a little adjustment since sympy.Max/Min does not offer a key-like argument as in max/min.

CI errors are not related with the issue, but with the way I'm checking the index in test_dimension.py. I'll take a look at this soon.

GTG, merging


Make it clearer in search results which product an article belongs to

As reported in slack:

If you're on the help site for GitHub.com is search expected to pull up results for Desktop? I just had a very confused user looking for a 'history' button, because if you search for 'revert' on help it drops you into https://help.github.com/en/desktop/contributing-to-projects/reverting-a-commit without really flagging to you that you've left GitHub.com

@jleaver replied:

yes, that is expected. we want people to be able to search across the entire library of content. in the future, it’ll also include search results for developer docs content (once those sites are combined). the product dropdown at the top indicates what product you’re in (in this case, it indicates that they were in github desktop content).
i think this is good feedback though and we could look into  making it more apparent which product’s content you’re viewing in search results. maybe even a small label by the search result indicating which product it’s in…?

Let's look into supporting this!
/cc @github/product-docs-engineering @gladwearefriends

Possible to add the mockups here? That link in not accessible for me.

@github/docs-engineering Is it possible to get some more information (screenshots or mockups) added to this issue? The links above ☝ aren't available to contributors. Thank you!

Yes! Mockups and some additional context is below:
We think users should be able to search one or many of each "product" that exists in the site's sidebar:

GitHub.com
Enterprise
GitHub Actions
GitHub Packages
Developers
REST API
GraphQL API
GitHub Insights
GitHub Desktop

Mockup for search on homepage
The search design/UI has changed a bit but the UX here should be accurate.
Notes:

Searching on the homepage by default should search the query through all products on the site ().
It should be easy to decipher which product results fall under.
For homepage search, we should only show the latest version of each product
Users should be able to apply a filter to search only within a specific product

Mockup for search elsewhere on the site

Search on any page, that is not the homepage, should by default search the query within the current product (and version, if viewing enterprise docs).
The example mockup shows the user on an Enterprise doc page, thus the search is only looking within Enterprise docs and the current version the user is viewing.
User should be able to clear these filters, and search through all products.

Sure! These are some (old) screenshots that should help illustrate the concept as once imagined by one of our designers:

@saracope thanks for pointing that out! We added the mockups and the missing context ☝🏿


Could not load file or assembly

There is a problem while loading fresh downloaded Geo7 into BricsCAD:
: NETLOAD

Loading .NET runtime v4.0.30319:

Error Message: Could not load file or assembly 'file:///C:\Program Files\Bricsys\BricsCAD V15 en_US\Support\Geo7\Geo7.BricsCAD.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
; ----- LISP : Call Stack -----
; [0]...BRXLOADMANAGEDDLL <<--
;
; ----- Error around expression -----
(AL_EXECUTEADSDEFUN "BRXLOADMANAGEDDLL" REST)
;
; error : SDS request returned error at function : BRXLOADMANAGEDDLL
failed to load module C:\Program Files\Bricsys\BricsCAD V15 en_US\Support\Geo7\Geo7.BricsCAD.dll

The problems is that the .NET Framework CLR v4 security policy model has changed since previous versions and are not sandboxing assemblies as before. This is because the code is extracted from a zip file downloaded from the Internet, so it is treated by Windows as unsafe. The extracted files are also blocked.
Solution 1
Right clicking on all *.DLL files in Geo7 folder, choosing Properties, and then pressing the "unblock" button. The DLL has a stream that is marking it as an external file - and by clicking unblock you remove that designation.

Solution 2
To fix your issue just find the location of bricscad.exe and create (or edit) a bricscad.exe.config in the same folder with following contents (or add this contents):
<configuration>
  <runtime>
    <loadFromRemoteSources enabled="true" />
  </runtime>
</configuration>

TODO
Fix this problem in future releases. Use stremas.exe from Sysinternals Suite or custom c# code to unblock DLL
http://weblogs.asp.net/dixin/understanding-the-internet-file-blocking-and-unblocking


List with one element doesn't work

I'm using latest version 3.2.4.
Following the simplest repetition example from Parquet documentation:
https://blog.twitter.com/engineering/en_us/a/2013/dremel-made-simple-with-parquet.html
(see "Repetition levels" chapter).
I've created a code to reproduce their example:
var idField = new DataField("id");
var idColumn = new DataColumn(idField, new int[] { 1, 2, 3 });
        var arrayField = new DataField("level2", DataType.String, isArray: true);
        var groupField = new ListField("level1", arrayField);

        var arrayColumn = new DataColumn(arrayField,
            new string[] { "a", "b", "c", "d", "e", "f", "g", "h", "i", "j" },
            new[] {         0,   2,   2,   1,   2,   2,   2,   0,   1,   2 });

        var schema = new Schema(
            idColumn.Field,
            groupField
        );

Expected:
The second record should have two groups.

Actual:
This is that I see from parq:

Thanks for finding this. Yes seems like on repetition levels 0,1,2 there should be a new list created between 1->2 but it doesn't happen for some reason. Feel free to raise a PR for this.

fixed by @CurtHagenlocher


began inital EDA

looks good to me. As a suggestion, maybe we can make our commit messages more informative?


⚠ Bofrost.es has degraded performance

In 1c5f859, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1424 ms

Resolved: Bofrost.es performance has improved in 1aa9941 after 38 minutes.


Handle Vertical Images

Figure out a way to handle vertical images across the site.

This is how vertical images display in the SiteList:


us chat server url change

change the us server to use the new address
us: "chat.na2.lol.riotgames.com"

done in #2 dfcb091


Validate experience in dashboard when server is unavailable

#1476 introduced a gRPC service to the app host, and client to the dashboard. That PR still has the components communicating in-process, just over a socket. Future work will move the dashboard to a separate process.
When that split happens, it will be possible that the client cannot connect to a server. We need to provide feedback about this.
Quick tests suggest the current experience is an empty resource page, with no error messages or indication that it's not connected.

The dashboard should also work when there's no resource server configured at all. In that mode it's just an OTLP server.
cc @jamesnk for thoughts. Do we hide the resource tab in that case?

Perhaps if no URL is passed as an environment variable, we don't even try to connect and hide resources.
Alternatively, we could show a "no resources available" message on the Resources page, along with a Retry button.
The dotnet aspire-dashboard run case should default to localhost on a given port.

The dashboard should also work when there's no resource server configured at all. In that mode it's just an OTLP server.

These are different scenarios:

Dashboard is configured to have a resource server but can't call it.
Dashboard is configured not to have a resource server. I created a new issue for that here.

This issue is about scenario 1: dashboard has a server configured but can't call it. It's a UI question of how to display that status to the user. Related scenario is the dashboard has successfully loaded resources but then loses the connection (i.e. the background watch task breaks and can't be re-established.
Options:

Display a loading splash screen until the dashboard can connect to the server. Simple, but no one likes splash screens.
Display an error messages in the app:

Error message on the resources page. I don't think a retry button is necessary because the background watch task is automatically attempting to reconnect.
Also need an error message for the situation for when resources were loaded but the connection has been lost. We don't want to hide away resources we already have so this message could appear above or below the resource list.
What should happen to the application name in the UI if it can't be fetched?

This was fixed https://github.com/dotnet/aspire/pull/2199

We should file new issues with any follow up logic.


Now blackout is in MELPA, needs to update Installation doc

https://melpa.org/#/blackout
The title says it all...

Thanks!


Missing arguments for scale_x_log and scale_y_log

The documentation states that these functions have arguments of name, breaks, labels, limits.  But I get an unexpected keyword argument error when trying to use them. I looked at scale.py and they are missing from the VALID_SCALES variable which I think is where they should be defined.
By the way, 'base' is missing from the documented arguments but is defined in scale_log.py.

Same here, problem not fixed after two years.


Fix that Function Calling with no argument function fails when using Tool Use

Fixes #16

Would love to have this feature 👍

thanks and will check soon


Moved subscene creation from scene menu to an icon on the scene dock

Based on @Fiona's PR #2220.
The previous "subscene" concept is also renamed to "new scene", as those subscene are just like regular scenes.
I think it's a nice enhancement; there is one issue though: the default width of the scene tree dock is now too small for all the icons to fit, so the padding between icons or the default width of docks should be changed a bit.

And this fixes #2214.

have a screen of how it looks?

Here's how it looks like without the PR:

And with the PR:

As you can see the scene tree panel goes a bit out of its dock on the right, because the new icon makes it too wide compared to the default minimal dock width. So either the minimal width would have to be increased by something like 10-20  px,

Oh cool! I had completely forgotten I did this. Thank you very much for updating it @akien-mga :)
It's still a change that needs to be made IMO (at the very least "subscene" needs renaming). I think that reducing the padding on the icons is probably the best bet. There's a lot of padding there! This problem wasn't there when I did the original PR, I guess the layout of those buttons slightly changed in the interim.

I just noticed that you commented on the original PR last month requesting a rebase, I'm very sorry, I did not check my Github notifications before now. My mistake.

No problem :) If you know how to reduce the icon padding I'd be glad to add this to this PR :)

From @TheHX on IRC:

if you add hbc_bottom->add_constant_override("separation",0), maybe all buttons will fit on the dock

Will try this asap.

I've removed the padding on the lower HBoxContainer as suggested by @TheHX, it now looks like that:

WDYT about the change @reduz, @godotengine/user-interface?
Compare the first screenshot in https://github.com/godotengine/godot/pull/2928#issuecomment-163138781 with the one directly above.

I like the way it looks and works, but icon is not really meagningfull imo, i'd use the packed scene icon instead of a blank sheet, here's a little mockup

Your mockup looks good! Could you send me the icon in png maybe, then I can replace the current one in the PR with yours?

i'm not a designer :/ i did my best but maybe someone can do it better

OFFTOPIC reparent icon looks wrong too, the picture is meaningless...

reparent icon looks wrong too, the picture is meaningless...

It looks fine to me, it shows that you move a node from one level to the the parent level, i.e. you reparent it.

I replaced the icon with @MarianoGnu's.

reparent icon reminds me to size icon, looks odd to me, but whatever, i'm nor designer :tongue:

I'll merge as IMO it's an improvement already, but as @reduz already pointed out in some other issues there will be further work done on the menus for 2.1, so we'll maybe change it again :)


Pretty printing of Turing models

I am trying to use TuringGLM to better learn Turing, and so I wrote the simplest LM and would like to re-write that in Turing.
using RDatasets
using TuringGLM

data = RDatasets.dataset("datasets", "mtcars")

fm = @formula(MPG ~ WT)
model = turing_model(fm, data)
model

DynamicPPL.Model{TuringGLM.var"#normal_model#19"{Int64,Int64,CustomPrior},(:y, :X, :predictors, :μ_X, :σ_X, :prior, :residual),(:predictors, :μ_X, :σ_X, :prior, :residual),(),Tuple{Vector{Float64},Matrix{Float64},Int64,Int64,Int64,CustomPrior,Float64},Tuple{Int64,Int64,Int64,CustomPrior,Float64},DynamicPPL.DefaultContext}(TuringGLM.var"#normal_model#19"{Int64,Int64,CustomPrior}(0, 1, CustomPrior(TDist{Float64}(ν=3.0), LocationScale{Float64,Continuous,TDist{Float64}}(
                μ:19.2σ:5.411498097545447ρ:TDist{Float64}(ν=3.0)
            ), nothing), Core.Box(TuringGLM.var"#normal_model#18#20"(Core.Box(TuringGLM.var"#normal_model#19"{Int64,Int64,CustomPrior}())))), (y=[21.0, 21.0, 22.8, 21.4, 18.7, 18.1, 14.3, 24.4, 22.8, 19.2 … 15.2, 13.3, 19.2, 27.3, 26.0, 30.4, 15.8, 19.7, 15.0, 21.4], X=[2.62; 2.875…3.57; 2.78;;], predictors=1, μ_X=0, σ_X=1, prior=CustomPrior(TDist{Float64}(ν=3.0), LocationScale{Float64,Continuous,TDist{Float64}}( #= circular reference @-4 =#
                μ:19.2σ:5.411498097545447ρ:TDist{Float64}(ν=3.0)
            ), nothing), residual=6.026948052089105), (predictors=1, μ_X=0, σ_X=1, prior=CustomPrior(TDist{Float64}(ν=3.0), LocationScale{Float64,Continuous,TDist{Float64}}(
                μ:19.2σ:5.411498097545447ρ:TDist{Float64}(ν=3.0)
            ), nothing), residual=6.026948052089105), DynamicPPL.DefaultContext())

Unfortunately, I can't get my head around this output to format in a standard Turing syntax. Is there a way to "pretty-print" or format the Turing model call? Thanks!

This is how Turing.jl prints the model: as a Julia struct.
There is nothing special about how TuringGLM handles the model.
We just parse the formula as a Turing model and delegates that to Turing.
@torfjelde is there a way to get the underlying model of an instantiated Turing model?

is there a way to get the underlying model of an instantiated Turing model?

What do you mean by this? As in, what information are hoping to extract? As you say, it's just a struct and so you can access the arguments it's been instantiated with, etc.
As for the pretty-printing, I agree we should do something. I'll make an issue over at DPPL.

What do you mean by this?

The underlying macro call.
Like:
@model function demo(x, y)
  # Assumptions
  σ2 ~ InverseGamma(2, 3)
  σ = sqrt(σ2)
  μ ~ Normal(0, σ)

  # Observations
  x ~ Normal(μ, σ)
  y ~ Normal(μ, σ)
end

That's not possible, but why would you want that? Sorry, maybe I'm not
fully understanding.
On Fri, May 26, 2023, 9:24 AM Jose Storopoli @.***>
wrote:

What do you mean by this?
The underlying macro call.
Like:
@model function demo(x, y)
Assumptions
σ2 ~ InverseGamma(2, 3)
σ = sqrt(σ2)
μ ~ Normal(0, σ)
Observations
x ~ Normal(μ, σ)
y ~ Normal(μ, σ)end
—
Reply to this email directly, view it on GitHub
https://github.com/TuringLang/TuringGLM.jl/issues/91#issuecomment-1564003858,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACUPZZAKFIFSIRCL44TBI6DXIBSEJANCNFSM6AAAAAAYH4KPGI
.
You are receiving this because you were mentioned.Message ID:
@.***>

Gotcha. That would have to be provided by TuringGLM if so.

Yeah, but I don't want any scaffolding on Turing from TuringGLM. That would need a TuringGLM custom type to hold that as a field (maybe a String).

My rationale for this was two-fold:

Educational: I know than many people learned for instance Stan by fitting models in brms and then inspecting the Stan code, and so I think that many new Julia transitionners might start with TuringGLM, but might be interested in seeing what the model looks like in raw Turing
Clarity: When we print the model now it is not super clear what priors/model have been used which can impede easy and transparent reporting. Having some pretty printing like "these are the priors used:" - even if not exactly presented like a Turing model - would be useful in that regards :)

I don't have the time to pursue this right now, but you could do something like this:
struct TuringGLMModel{M,F,P}
    model::M
    formula::F
    priors::P
    # other stuff
    # ...
end

and then just display this in a different way than what you would for typical Turing.jl models.


Add EKS K8s 1.21 support to Pipeline

Q
A

Bug fix?
no

New feature?
yes

API breaks?
no

Deprecations?
no

Related tickets
fixes #3555

License
Apache 2.0

What's in this PR?
Add EKS K8s 1.21 support to Pipeline, add default images for EKS 1.21.
Checklist

[x] Implementation tested (with at least one cloud provider)
[x] Code meets the Developer Guide
[x] OpenAPI and Postman files updated (if needed)
[x] User guide and development docs updated (if needed)
[x] Related Helm chart(s) updated (if needed)

Also don't forget the enterprise and web components and don't forget to check the CloudFormation template changes for any breaking changes or important minor changes which we should adapt to.


\ddot\imath is too wide

\ddot\imath should render ï with the width of an i, not the width of the umlaut accent.  I think the fix would be to render the accent with style width:0px, but then we need to fix the horizontal offset to be half the width of the accent character.  So I believe this depends on #587 / #632 to add the width of characters (specifically the accent characters) to fontMetricsData.js.

Once #1030 gets merged I'll open a PR to add horizontal metrics.


Add pip_install_keeping_cached_packages query for Docker

This query evaluates if the --no-cache-dir flag is set when installing packages with pip (to make Docker images smaller) . Closes #1067

Closed due to new PR #1410


fix(app): updated token for release job

Codecov Report
Patch and project coverage have no change.

Comparison is base (8fb16bc) 89.74% compared to head (00522c8) 89.74%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #610   +/-   ##
=======================================
  Coverage   89.74%   89.74%
=======================================
  Files         101      101
  Lines        3980     3980
=======================================
  Hits         3572     3572
  Misses        272      272
  Partials      136      136

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


Change default port from 5000, as it sometimes is in use

MacOs uses 5000 for the Airplay Receiver, for instance, which leads to unexpected errors.
The 5000 port is the default Flask port. It being in use on Mac is of course off-putting. Can you add a warning about that in the docker-compose part of the docs?

For a real solution, I agree we could simply make FlexMeasures use a more unique port number, but we'd have to discuss that in a new issue.

Originally posted by @nhoening in https://github.com/FlexMeasures/flexmeasures/issues/592#issuecomment-1445224503
We first need to choose a new port number. Here we can check which ones seem to be taken by popular applications/services. I suggest 6135 - made from f=6,l=13,e=5. I'm open to objections.
For the implementation, let's update the Dockerfile, docker-compose.yaml, and also check the documentation for necessary changes.
Other candidates:

utils/tests/test_entity_address_utils.py
data/scripts/_test_simulation.py

This issue might affect custom scripts which expect the 5000 port, so we need an upgrade warning next to the changelog entry.

Shouldn't we also discuss alternatives to changing the default port, ones that have less impact on production systems? For example, if unavailable, we could fall back to the next available one and log a warning.

I find that technologically difficult. For instance, it needs to happen in Docker Compose somehow, somewhere.
And why do you want to stay with a port that is quite crowded?

Still exploring the issue before making/supporting a decision. The underlying issue is that the port used by FlexMeasures may be in use, right? Possible remedies:

Setting a less often used port as a new default
Falling back to some free port
Allowing developers to set their preferred port explicitly (FLASK_RUN_PORT?)
...

I find that technologically difficult. For instance, it needs to happen in Docker Compose somehow, somewhere.

I read that you can use port 0 to let the kernel assign a free port. But that would solve only part of the challenge.

And why do you want to stay with a port that is quite crowded?

I'm being conservative with changes that may affect production systems, to minimize the required maintenance effort for FlexMeasures hosts. It's also the default port for Flask development, so new users may expect it to run there.

I want to minimize the hurdles for new users, of which there are many more than current production systems we don't know about. This is a slightly tricky hurdle, I believe, in the sense that it's not easy to spot in our own code, to give a proper warning and helpful hint for resolution. I still opt for option 1.

What is the impact on production systems, actually? For example, do hosts actually need to change something in their configuration if we change the default port?

It might be that someone runs FlexMeasures and their production setup expects it to be at port 5000. So maybe there are other systems they have which contact it at that port.
So basically, if we update the default port, they have two options:

Re-route this port to 5000 in their setup
Update their setup to use the new port.

We would of course add a prominent warning about this in the release notes.

I tried option 3 (setting FLASK_RUN_PORT) and this seems to work well. For Docker users, we need to adapt our docker-compose.yaml as follows:
ports:
  - ${FLASK_RUN_PORT:-5000}:5000

which keeps the default to 5000 in case the environment variable is not set.
And also, in our docker-compose.yaml:
healthcheck:
  test: ["CMD", "curl", "-f", "http://localhost:${FLASK_RUN_PORT:-5000}/api/v3_0/health/ready"]

Users can then run FlexMeasures on any port they like, using:
FLASK_RUN_PORT=6135 docker-compose up

Or alternatively, by adding the port setting to their .env file. If their environment file is named differently (e.g. .my-env), they can reference it like this:
docker compose --env-file .my-env up

The big problem is not if it can be set to some custom value, but how to ensure that people who run it for the first time on their MacBook will know that this problem can be easily overcome.

Let's make it more concrete if we can. Which cases, and where in the docs would someone get stuck?

The from-scratch tutorial which now has a note about this for Docker users, but would still need a note for the "On your PC" part (to use FLASK_RUN_PORT)
The docker compose tutorial (which you mentioned)
The tutorial for hosters to run FlexMeasures on Docker. The one for deploying on a server is not mentioning ports.
For developers who run locally. Probably FLASK_RUN_PORT works here.


Clean up customRender prop handling

Background
The _customRender prop does 3 things:

it is called instead of drawLayers on each redraw
it prevents the render pass from clearing the canvas
it prevents Deck from registering pointer events

2 & 3 are not implied in the prop name, and makes it very difficult for the user of this prop to control side effects.
The _customRender prop is currently only used in mapbox integration.
Change List

Deck always create EventManager regardless of _customRender
Remove customRender logic from DeckRenderer and LayersPass
Simplify mapbox integration event handling logic - always use deck events
Remove layerFilter hack from mapbox integration (was not working)

Coverage increased (+0.1%) to 61.82% when pulling af6b820ec1abbd58d4f20eec8368c11cf6e404b8 on x/custom-render into 93f8e18cfabfdd7171b0f56a3911d81d012f0ae0 on master.


Mod compress

Codecov Report

Merging #106 into develop will increase coverage by 0.17%.
The diff coverage is 65.83%.

@@             Coverage Diff             @@
##           develop     #106      +/-   ##
===========================================
+ Coverage    52.78%   52.96%   +0.17%
===========================================
  Files          200      206       +6
  Lines        20791    21031     +240
===========================================
+ Hits         10975    11139     +164
- Misses        8600     8644      +44
- Partials      1216     1248      +32

Impacted Files
Coverage Δ

bfe_modules/mod_compress/compress_rule_table.go
100% <100%> (ø)

bfe_modules/mod_compress/conf_mod_compress.go
56.25% <56.25%> (ø)

bfe_modules/mod_compress/gzip_filter.go
58.33% <58.33%> (ø)

bfe_modules/mod_compress/action.go
58.82% <58.82%> (ø)

bfe_modules/mod_compress/mod_compress.go
60.41% <60.41%> (ø)

bfe_modules/mod_compress/compress_rule_load.go
72.22% <72.22%> (ø)

... and 4 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 a228bcf...16596d7. Read the comment docs.


Operation was cancelled

Getting "Operation was cancelled" issue in production. Bot was working fine all the time. Suddenly, from morning we are facing this issue.

Hi @Mrinnaal There isn't a lot of detail to go on here. Can you post your appId and a time frame this is happening, along with the SDK version you're using, your OS type and what channel this is happening on?

Ideally we had a call with Microsoft cloud team and realised it’s an issue from azure. They fixed it and now everything works fine. @jwiley84 thanks for the swift response 😊 appreciated!!


window support

There is a possibility to add support for windows as well??

Hi @pruteanualex, pdf-images is just an abstraction over imagemagick and pdfimages. I personally haven't worked with windows and the package wasn't meant to support windows when I wrote it, but if you install imagemagick and pdfimages on your windows system successfully and then try using pdf-images I guess it should work.

thanks,I will try to solve the problem with the windws and I will come back
with a message with the answer
On Wed, May 18, 2022 at 9:30 PM Kartik @.***> wrote:

Hi @pruteanualex https://github.com/pruteanualex, pdf-images is just an
abstraction over imagemagick and pdfimages. I personally haven't worked
with windows and the package wasn't meant to support windows when I wrote
it, but if you install imagemagick and pdfimages on your windows system
successfully and then try using pdf-images I guess it should work.
—
Reply to this email directly, view it on GitHub
https://github.com/kartik1998/pdf-images/issues/9#issuecomment-1130369731,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQAPKW3ZZFDWBT64AZZUNO3VKUZMBANCNFSM5WENQEMQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


[protobuf] Fix protobuf build failed on CI

Describe the pull request

What does your PR fix?
Due to the following code, protobuf arm64-windows arm-uwp x64-uwp build failed on CI pipelines, modify the ci.baseline.txt to fix this issue. Related PR #11397

if(CMAKE_HOST_WIN32 AND NOT VCPKG_TARGET_ARCHITECTURE MATCHES "x64" AND NOT VCPKG_TARGET_ARCHITECTURE MATCHES "x86")
    set(protobuf_BUILD_PROTOC_BINARIES OFF)
elseif(CMAKE_HOST_WIN32 AND VCPKG_CMAKE_SYSTEM_NAME)
    set(protobuf_BUILD_PROTOC_BINARIES OFF)
else()
    set(protobuf_BUILD_PROTOC_BINARIES ON)
endif()

if(NOT protobuf_BUILD_PROTOC_BINARIES AND NOT EXISTS ${CURRENT_INSTALLED_DIR}/../x86-windows/tools/protobuf)
    message(FATAL_ERROR "Cross-targetting protobuf requires the x86-windows protoc to be available. Please install protobuf:x86-windows first.")
endif()

Which triplets are supported/not supported? Have you updated the CI baseline?
Yes
Does your PR follow the maintainer guide?
Yes

@strega-nil Could you please merge this PR first?
Thanks.

Cool, LGTM! Thanks @LilyWangL :)


[Urgent] It doesn't redirect, neither count the order as paid. please help (video included)

The Problem is Explained in This video detailed, please respond as soon as possible.
https://streamable.com/y9200g

hello  @mhmahran
thank you for opening the issue , this is not the behaviour of the plugin
let me explain to you ..

the website should redirect into a path where the site will check the session with thawani
https://github.com/PhazeRoOman/thawani-for-woocommerce/blob/master/src/WC_Gateway_ThawaniGateway.php#L137-L146
it seems that the link(path) is not exists in your site ...

for the logs it just a statements of printing the expected results
https://github.com/PhazeRoOman/thawani-for-woocommerce/blob/master/src/WC_Gateway_ThawaniGateway.php#L433-L438
if the plugin had an issue then you will never see thawani page.
make sure that the path of the redirect from thawani exists
https://yoursitename.com/wc-api/thawani_gw?ref=order_id

Thank you, solved.


DartEditor needs to bring back being able to view getter properties

This issue was originally filed by<EMAIL_ADDRESS>
What steps will reproduce the problem?

Debug it to see the value of a getter

What is the expected output? What do you see instead?
Debugger should show the getter values
Debugger does not show any value that is a method call.
What version of the product are you using? On what operating system?
Please provide any additional information below.
I understand why this might be done but can we add a checkbox or an option/preferences to enable seeing the value of getters much like it was a few weeks ago.
C1

This issue has been moved to dart-lang/eclipse3#25.


XFAIL_IF: nullary functions must have parenthesis

     Doctest provides the default flags ‘DOCTEST_OCTAVE’ and
     ‘DOCTEST_MATLAB’, but you can access arbitrary variables and
     (nullary) functions.

Those nullary functions must be written as foo not as foo().
If not really a bug but the docs are a bit unclear.
One way to fix would be to extend this functionality!

I'm taking a look at this now.


fix: Variable props needs to be set in configTree instead of unEvalTree

Description
variables prop of JSobject is part of configTree. it was getting set to the wrong location ie unEvalTree
Fixes #21676
Type of change

Please delete options that are not relevant.

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions, so we can reproduce.
Please also list any relevant details for your test configuration.
Delete anything that is not important

Manual
Jest
Cypress

Test Plan

Add Testsmith test cases links that relate to this PR

Issues raised during DP testing

Link issues raised during DP testing for better visibility and tracking (copy link from comments dropped on this PR)

Checklist:
Dev activity

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

QA activity:

[ ] Test plan has been approved by relevant developers
[ ] Test plan has been peer reviewed by QA
[ ] Cypress test cases have been added and approved by either SDET or manual QA
[ ] Organized project review call with relevant stakeholders after Round 1/2 of QA
[ ] Added Test Plan Approved label after reveiwing all Cypress test

/ok-to-test sha=fbfa883

/ok-to-test sha=5a56ed9

/ok-to-test sha=ca7b93a

/ok-to-test sha=460cf9a

/ok-to-test sha=1b538ed

/ok-to-test sha=def3239

/ok-to-test sha=5927df1

/ok-to-test sha=f531c14

/ok-to-test sha=9d79b28

closing this on account of https://github.com/appsmithorg/appsmith/pull/19926


[BUG] CSV of failed cases is generated with -d always

This functionality was removed (it never worked well). Reporting failing cases is still an open issue. This bug is not pertinent anymore.


Support faster copying of potentially discontiguous data.

Motivation:
Data and DispatchData have the potential of being discontiguous:
hiding the fact that they're made up of multiple contiguous chunks of
memory where each of those chunks is separated from the rest.
Currently these are copied in less-efficient mechanisms. Data is copied
via ContiguousCollection: while some Datas are, if the Data is
non-contiguous then ContiguousCollection will actually copy each byte
twice: once to make them contiguous, and then again to move them into the
ByteBuffer.
DispatchData, on the other hand, is treated like any other Sequence of
bytes, which potentially leads to extremely poor copying times, even
though a DispatchData could usually be copied in a small number of memcpy
calls.
This patch improves performance when writing these data types by using their
enumerateBytes methods to obtain a view of what chunks of their memory are
contiguous.
Modifications:
Defined a new CompositeCollection protocol.
Conformed Data and DispatchData to that protocol.
Implemented new ByteBuffer.set(compositeBytes:at:) and ByteBuffer.write(compositeBytes:at:) methods.
Result:
Improved performance when writing Data and DispatchData types.

@Lukasa should we rewrite this with DataProtocol?

Yup, probably.

clearing the 2.0.0 milestone but a new version of this can land anytime, not major breaking


throw new IllegalStateException("Can't happen ... loop fell through");

throw new IllegalStateException("Can't happen ... loop fell through");
This gets thrown when calling MergingDigest.cdf after many tdigests have been merged together.  Any ideas how this would happen?

Wow.
No idea.  That is what I meant with "Can't happen".  Basically what
happened is that the assumption that the loop would always terminate is
clearly wrong.
Can you point to a line number?
On Mon, Jun 25, 2018 at 4:28 PM Sean McCauliff<EMAIL_ADDRESS>wrote:

throw new IllegalStateException("Can't happen ... loop fell through");
This gets thrown when calling MergingDigest.cdf after many tdigests have
been merged together. Any ideas how this would happen?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/tdunning/t-digest/issues/112, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPSeobc0v-fzET6LPaW65Vkwq1m-dlaks5uAXIkgaJpZM4U3Ae6
.

MergingDigest.java:652
I see that mean[n] is NaN and so this check (on line 637) will not pass:
if (mean[it] <= x && mean[it + 1] > x) {
So the loop will exit and the exception will be thrown.

OK.
mean[n] being NaN is also "impossible", so this is useful.
On Mon, Jun 25, 2018 at 5:08 PM Sean McCauliff<EMAIL_ADDRESS>wrote:

MergingDigest.java:652
I see that mean[n] is NaN and so this check (on line 637) will not pass:
if (mean[it] <= x && mean[it + 1] > x) {
So the loop will exit and the exception will be thrown.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/tdunning/t-digest/issues/112#issuecomment-400133895,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPSeoDyjOiYS98BAQsP5nlL9BfB4sdxks5uAXuQgaJpZM4U3Ae6
.

I wonder if this is actually an edge condition due to some accumulated
errors.  Hmmm....
Or the approximate centroid size limit is biting somehow.
On Mon, Jun 25, 2018 at 5:29 PM Ted Dunning<EMAIL_ADDRESS>wrote:

OK.
mean[n] being NaN is also "impossible", so this is useful.
On Mon, Jun 25, 2018 at 5:08 PM Sean McCauliff<EMAIL_ADDRESS>wrote:

MergingDigest.java:652
I see that mean[n] is NaN and so this check (on line 637) will not pass:
if (mean[it] <= x && mean[it + 1] > x) {
So the loop will exit and the exception will be thrown.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/tdunning/t-digest/issues/112#issuecomment-400133895,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPSeoDyjOiYS98BAQsP5nlL9BfB4sdxks5uAXuQgaJpZM4U3Ae6
.

This hasn't been reported lately and lots of changes have been made that likely fixed it.
Closing as WONTFIX


Add package source override to toc script.

The parameter is needed to determine the source of package repository.
Will pass through the value docindex pipeline.

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow


Create unified download page for Pi4J binaries and OS images

Pi4J OS can currently be downloaded at https://pi4j-download.com/, sponsored by Karakun.
In addition to that, there also exits https://pi4j.com/download/, hosted by GitHub Pages.
The following idea exists to unify these two pages:

[x] Update GitHub Actions workflow on Pi4J/download to automatically generate a markdown file which contains (a) all files in the download repository and (b) all files on the pi4j-download.com host using external links.
[x] Deprecate the current download page hosted on Karakun and auto-redirect to the Pi4J page
[x] Ensure download repo is updated whenever either pi4j-os or the download repo contents change
[x] Update CrowPi documentation to reflect new way of downloading things

Update GitHub Actions workflow on Pi4J/download to automatically generate a markdown file which contains (a) all files in the download repository and (b) all files on the pi4j-download.com host using external links.

I like this idea.  Actually its what I originally intended to do with the Pi4J downloads but never got around to it.  Some auto-generated markdown page that promoted the latest RELEASE and SNAPSHOT downloads as well as a lower complete listing of all available downloads.
Please be aware that there is an existing GitHub action for this repository that generates the necessary APT repository artifacts/metadata used by the Debian installer scripts anytime a new *.deb file is added in the repo.

This is being implemented as part of https://github.com/Pi4J/download/pull/1
The CrowPi documentation has already been updated to refer to the new download URLs

This has been fully implemented and https://pi4j.com/download/ always shows the most recent versions available for download.