arm64v8 - 27 Illegal instruction

Hey,
I tried running a basic mongoDB instance on a raspberrypi 4 8GB running ArchArm v8 using something as simple as :
docker run --name some-mongo -d mongo
or using docker-compose:
version: '3.8'
services:
  mongo:
    container_name: mongoDB-FinTechApp
    image: mongo
    command: --logappend --auth
    restart: always
    environment:
      MONGO_INITDB_ROOT_USERNAME: root
      MONGO_INITDB_ROOT_PASSWORD: HvuTu!Kge28
    volumes:
      - "../databases:/data/db"
      - "./setupScripts:/docker-entrypoint-initdb.d"
    ports:
      - "<IP_ADDRESS>:27017:27017"
    networks:
      default:
        ipv4_address: <IP_ADDRESS>
networks:
    default:
      ipam:
        driver: default
        config:
          - subnet: '<IP_ADDRESS>/16'

Each time I get the following error:
/usr/local/bin/docker-entrypoint.sh: line 392:    27 Illegal instruction     (core dumped) "${mongodHackedArgs[@]}" --fork
I thought this might be an architecture issue (even though the official image is tagged to support aarch64) so I tried the arm64v8 image specifically:  https://hub.docker.com/r/arm64v8/mongo however that gives me the same exact error.
Any idea or reason why this may be happening, and/or how to mitigate it?

That's definitely strange -- I'd suggest trying a dedicated support forum, such as the Docker Community Forums, the Docker Community Slack, or Stack Overflow to get more help digging in and figuring out what's happening.

I'm seeing this too. Though in my case, I get an exit code of 132, not 27.
docker inspect mongo:latest gives me:
[
    {
        "Id": "sha256:6c5e5224a222d91fdfaf07ff04cbc6dea76b59e8da49ef843818164b7f712410",
        "RepoTags": [
            "mongo:latest"
        ],
        "RepoDigests": [
            "mongo@sha256:212ea8211a6044bf74f0befabfa420a812307fababe446d9cd030c8cc636706e",
            "mongo@sha256:f796ef5b684c9e18b5793e7881433fb4f21f2a92924112887a2f00acf2ac070a"
        ],
        "Parent": "",
        "Comment": "",
        "Created": "2021-11-16T01:44:39.295174137Z",
        "Container": "9410b3c5c05f15287b747bf60260225e173df27cb18011534850c29465a57fc8",
        "ContainerConfig": {
            "Hostname": "9410b3c5c05f",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "ExposedPorts": {
                "27017/tcp": {}
            },
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "GOSU_VERSION=1.12",
                "JSYAML_VERSION=3.13.1",
                "MONGO_PACKAGE=mongodb-org",
                "MONGO_REPO=repo.mongodb.org",
                "MONGO_MAJOR=5.0",
                "MONGO_VERSION=5.0.4"
            ],
            "Cmd": [
                "/bin/sh",
                "-c",
                "#(nop) ",
                "CMD [\"mongod\"]"
            ],
            "Image": "sha256:224a5259a19758481e45223e8d8a533491ceb1bd454383ec0c576a9831b5080b",
            "Volumes": {
                "/data/configdb": {},
                "/data/db": {}
            },
            "WorkingDir": "",
            "Entrypoint": [
                "docker-entrypoint.sh"
            ],
            "OnBuild": null,
            "Labels": {}
        },
        "DockerVersion": "20.10.7",
        "Author": "",
        "Config": {
            "Hostname": "",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "ExposedPorts": {
                "27017/tcp": {}
            },
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "GOSU_VERSION=1.12",
                "JSYAML_VERSION=3.13.1",
                "MONGO_PACKAGE=mongodb-org",
                "MONGO_REPO=repo.mongodb.org",
                "MONGO_MAJOR=5.0",
                "MONGO_VERSION=5.0.4"
            ],
            "Cmd": [
                "mongod"
            ],
            "Image": "sha256:224a5259a19758481e45223e8d8a533491ceb1bd454383ec0c576a9831b5080b",
            "Volumes": {
                "/data/configdb": {},
                "/data/db": {}
            },
            "WorkingDir": "",
            "Entrypoint": [
                "docker-entrypoint.sh"
            ],
            "OnBuild": null,
            "Labels": null
        },
        "Architecture": "arm64",
        "Variant": "v8",
        "Os": "linux",
        "Size": 656113420,
        "VirtualSize": 656113420,
        "GraphDriver": {
            "Data": {
                "LowerDir": "/var/lib/docker/overlay2/326c994c9455d6ad0216a0a895f00fcb0daa8d459734721b2d10f2c7b19fa732/diff:/var/lib/docker/overlay2/34b1be32f0273214f9adf706744a5cb39e5c6ea501d7a312c797390dce4fd000/diff:/var/lib/docker/overlay2/9592c86083f4ab3e056982806f3636f4434f24a9fda2f9819ff36db1bee9a813/diff:/var/lib/docker/overlay2/38aef878502145bcbc2569c6cf7895208db7a0ed7c14155d55ab7877e9de1495/diff:/var/lib/docker/overlay2/c9191dd084a33e85b0e0f22886408a5064c2b10a82f03a1e53cc34973b502af7/diff:/var/lib/docker/overlay2/bbca61fb8c10c6844d8b8f7d28fed60e8b555f4c48c6159f84c1660631ec8d5d/diff:/var/lib/docker/overlay2/d11b433a8a5598ba3645bd47c2ddbae78b289a1232d49cc43f7e8628814cf8ac/diff:/var/lib/docker/overlay2/b9cccaecc2df28933b0951f74e90928ec1ede653c13aff394167a780e259cd4f/diff:/var/lib/docker/overlay2/8f21b693650fc72681655c5a643731fa1fb7a497dcec72623cfe2afc578e16b8/diff",
                "MergedDir": "/var/lib/docker/overlay2/0faded7a8be70e43e6e485267660904b322661b2203a02ebe6c6bae0a69d5985/merged",
                "UpperDir": "/var/lib/docker/overlay2/0faded7a8be70e43e6e485267660904b322661b2203a02ebe6c6bae0a69d5985/diff",
                "WorkDir": "/var/lib/docker/overlay2/0faded7a8be70e43e6e485267660904b322661b2203a02ebe6c6bae0a69d5985/work"
            },
            "Name": "overlay2"
        },
        "RootFS": {
            "Type": "layers",
            "Layers": [
                "sha256:350f36b271dee3d47478fbcd72b98fed5bbcc369632f2d115c3cb62d784edaec",
                "sha256:64c7b4d3cae2c07a28cfc902ac572bfa4a230ba2754f2adeb52397c535b5181b",
                "sha256:ae10afaa85f5eb0891f5182b64564d506a3c6b0f5907391682b8149c591f597f",
                "sha256:b0d0cf7f7f237a481dc4b738132ed1e4acf631a4838279ab5057109c624dfe28",
                "sha256:1d671e6a908d0add4db9fd9cf217e76535f23fe8d6398315c114409c1e9ec1f3",
                "sha256:c70aeb87acdd8bfd1f8c51175388ab37a496d9531db4bf9df046a7823676db07",
                "sha256:48681e055855ec673387e861b01ff6f184297082c3811826a7dd8fef8e3582a1",
                "sha256:c4d8a628608d9ad3786e11a487997d9ea8c4777e21ed968b0fa22b3c0b6ea3f3",
                "sha256:fa6849f8f3018b459a109d9cc0564cae0f2f2ca1a958f5a90c95cf5a6f83e958",
                "sha256:d640c847f8a457f786cd62a106aeb967394630e41a7af0bbe134156eb56a8399"
            ]
        },
        "Metadata": {
            "LastTagTime": "0001-01-01T00:00:00Z"
        }
    }
]

apt-cache show raspberrypi-kernel gives me:
Source: raspberrypi-firmware
Version: 1:1.20211029-1~buster
Architecture: arm64
Maintainer: Serge Schneider<EMAIL_ADDRESS>Installed-Size: 88903
Breaks: raspberrypi-bootloader (<< 1.20160324-1)
Replaces: raspberrypi-bootloader (<< 1.20160324-1)
Provides: linux-image, wireguard-modules (= 1.0.0)
Homepage: https://github.com/raspberrypi/firmware
Priority: optional
Section: kernel
Filename: pool/main/r/raspberrypi-firmware/raspberrypi-kernel_1.20211029-1~buster_arm64.deb
Size: 21824524
SHA256: 78f72fc6a0d8f383510859100deede1cc15b19f60bd176c920c88d7f05fa7dfd
SHA1: 8137fe4874dc46c81e90ec415aeb3d857b9a6b6b
MD5sum: 62e7494d0b92e1dac255ceb190dcee78
Description: Raspberry Pi bootloader
 This package contains the Raspberry Pi Linux kernel.
Description-md5: 7536ab227cf13dcddacdeb86a3d06624

I definitely have the right image, and I'm running 64-bit raspberry pi OS (this is on a pi4). But it's exiting with status 132 which is illegal instruction.

What's the output of dpkg --print-architecture and cat /etc/os-release?

@yosifkit
$ dpkg --print-architecture
arm64

$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

I should add - I switched from mongo:latest to mongo:4.4.6 and that has "fixed" it. So it's definitely something to do with :latest.

Arghhhh, this is the same underlying cause as our pinned #485, but ARM instead of x86:
https://docs.mongodb.com/manual/administration/production-notes/#arm64

MongoDB on arm64 requires the ARMv8.2-A or later microarchitecture.

(What that translates to is Cortex-A75 or later, and RPi4 is only Cortex-A72 :disappointed:)

Does this basically mean that this will never work on rpi4?

Does this basically mean that this will never work on rpi4?

Yes, MongoDB has chosen a minimum arm64 instruction set for 5.0+ and the Pi 4 does not fit that. The alternatives are to stick to 4.x or compile 5.x from source.

That's a shame. Thanks for clearing that up for me, though.
On Wed, Nov 17, 2021, 12:36 yosifkit @.***> wrote:

Does this basically mean that this will never work on rpi4?
Yes, MongoDB has chosen a minimum arm64 instruction set for 5.0+ and the
Pi 4 does not fit that. The alternatives are to stick to 4.x or compile 5.x
from source.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/docker-library/mongo/issues/510#issuecomment-971805133,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEDIVC2GYRWMNKZSOGCEV3UMPR3NANCNFSM5IA2RDDA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


feat(sbb-time-input): initial implementation

Preflight Checklist

[x] I have read the Contributing Guidelines for this project.
[x] I agree to follow the Code of Conduct that this project adheres to.
[x] I have searched the pull request tracker for a Pull Request (PR) that matches the one I want to submit, without success.

Issue
This PR Closes #1488
Pull request checklist
Please check if your PR fulfills the following requirements:

[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been reviewed and added / updated if needed (for bug fixes / features)

See Review Guidelines for more information what is checked during review process.
Changes
Changes in this pull request:

add sbb-time-input component
minor improvement in sbb-form-field

Browsers
I tested the build on the following browsers:

[x] Firefox Desktop
[x] Chrome Desktop
[x] Edge Desktop
[ ] Safari Desktop
[ ] Chrome Mobile
[ ] Safari Mobile

Screen readers
I tested the build on the following browsers:

[ ] JAWS Firefox Desktop
[ ] JAWS Chrome Desktop
[ ] NVDA Firefox Desktop
[ ] NVDA Chrome Desktop
[ ] VoiceOver Safari Desktop
[ ] VoiceOver Chrome Desktop
[ ] VoiceOver Safari Mobile
[ ] Android Accessibility Suite Chrome Mobile

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

Does this introduce a breaking change?

[ ] Yes
[x] No

Other information

Codecov Report

Merging #1527 (918fe2e) into master (ab917b0) will decrease coverage by 1.41%.
The diff coverage is 62.21%.

@@            Coverage Diff             @@
##           master    #1527      +/-   ##
==========================================
- Coverage   54.85%   53.43%   -1.42%
==========================================
  Files          49       84      +35
  Lines        1659     3550    +1891
  Branches      406      979     +573
==========================================
+ Hits          910     1897     +987
- Misses        671     1517     +846
- Partials       78      136      +58

Impacted Files
Coverage Δ

...mponents/sbb-accordion-item/sbb-accordion-item.tsx
0.00% <0.00%> (-37.21%)
:arrow_down:

src/components/sbb-clock/sbb-clock.tsx
0.00% <0.00%> (ø)

src/components/sbb-link/sbb-link.tsx
59.57% <ø> (-31.86%)
:arrow_down:

src/components/sbb-logo/sbb-logo.tsx
0.00% <ø> (ø)

src/components/sbb-menu-action/sbb-menu-action.tsx
61.90% <ø> (ø)

src/components/sbb-menu/sbb-menu.tsx
25.89% <ø> (ø)

...ts/sbb-navigation-action/sbb-navigation-action.tsx
71.42% <ø> (ø)

...onents/sbb-navigation-list/sbb-navigation-list.tsx
84.00% <ø> (ø)

...mponents/sbb-checkbox-group/sbb-checkbox-group.tsx
30.61% <30.61%> (ø)

src/components/sbb-alert-group/sbb-alert-group.tsx
33.33% <33.33%> (ø)

... and 67 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Note: the Storybook's date control is broken, no way of make it works; if time is changed, dateAsValue always stays 'null' in the 'render' function. :|

Ok, that's fine. Just remove it from the storybook.
I just noticed, the documentation is slightly off due to my change requests.


Remove all selected applications

Summary of the pull request
Implemented a "Remove All" button to clear all the selected applications in setup flow.
References and relevant issues
https://github.com/microsoft/devhome/issues/1625
Detailed description of the pull request / Additional comments

Added "Remove all" button in UI
Implemented remove all functionality in RemoveAllPackages to clear all selected applications
Ensured that the button is only enabled when at least one application is selected

Validation steps performed

PR checklist

[x] Closes #1625
[ ] Tests added/passed
[ ] Documentation updated

@AmelBawa-msft figured I'd let you do a first pass on this? Do you think we need to involve Ian with this?

Adding @ianyyu to help review the suggested change. Note: we're removing the 'Add all' button soon as part of removing the carousel in app install page.

I don't think we need a design pass here. I'd rather us get this merged in and do a design pass later :) @AmelBawa-msft @bbonaby

I agree with @cinnamon-msft


Add animal and handler info screens

What is this?
Developed frontend for animal and handler info screens
Setup

[x] No special setup needed

Steps to Test

[x]  npm run dev & scan generated QR code on phone

Associated Issues
Closes #11

Overall, mostly minor changes that need to be made -- some of the font sizes seem to be a tad bit out of proportion and colors a bit off but that is something I'll change after merging.
I think the biggest question I had was what was the motivation of using react-native-gesture-handler as opposed to just the react-native library (we will prob want to stick with the regular react-native library since some  react-native-gesture-handler components were buggy on android. Other than that, good work.


Fix node update

Objective
Fixes #3784
Solution
Check if the node size is actually different from previous

bors r+


Notification on startup that a newer version is available

Make it easier to notify users that a new servicing release or newer GA release is available on non-preview builds.  On preview builds, notify when new preview release is available.
We should probably push latest information to a well known Azure Blob during publishing time.  On startup, have the check run on a separate thread to do the check and store some state (maybe just the latest version) on the system (probably a file).  On next startup, if that file exists, compare versions and if running one is older, show the message.

Excuse me being a curmudgeonly old-fashioned grump, but I dislike this UI trend. VS Code prompts for updates every time I open it, Discord does, Java does every reboot, FireFox does, NotePad++ does, I think Skype/Office365 do but less frequently, Repl.it does if you leave it open too long..
Chrome and Adobe reader have a different approach - a service which just does the update in the background. On a CentOs system I install yum-cron and set it to update everything whenever it wants to.
I suggest that I would prefer:

if I did an MSI install, prompt me once during install to "do updates automatically and never bother me about it"
If I did a copy-paste deployment, never check or prompt me at all ever
If I installed from a package management tool, leave update handling to that.

Perhaps provide an Update-PowerShell cmdlet (don't know if it's already there...) and users who want it could call this in their $PROFILE? We should be careful when introducing interactive elements to the shell, because automation workflows that invoke PowerShell without -NonInteractive (which I assume is everywhere) could get broken.
If you're making Update-PowerShell, I propose the following prototype:
Function Update-PowerShell
{
    [CmdletBinding(SupportsShouldProcess=$True,
        ConfirmImpact='High')]
    Param
    (
        [switch]$Automatic,
        <# Not really needed from the perspective of functionality.
         # Convenient alternative for -Confirm:$False
         #>
        [switch]$Force
    )
    Begin
    {
        If ($Force)
        {
            $local:ConfirmPreference = [System.Management.Automation.ConfirmImpact]::None;
        }
        $local:InstallPowerShellUpdate = {
            If ($PSCmdlet.ShouldProcess('PowerShell new version', 'Install'))
            {
                Write-Host 'Install new version.';
            }
            Else
            {
                Write-Host 'Do not install because of WhatIf or denied confirmation.';
            }
        };
        If ($Automatic)
        {
            Write-Host 'Check if a new version is already found and recorded.';
            Write-Host 'If no new version is recorded:';
            If ($PSCmdlet.ShouldProcess('PowerShell new version', 'Check in background'))
            {
                Write-Host 'Check in background.';
            }
            Write-Host 'If a new version is already recorded:';
            . $InstallPowerShellUpdate;
        }
        Else
        {
            Write-Host 'Check the new version synchronously and report error.';
            Write-Host 'If a new version is found:';
            . $InstallPowerShellUpdate;
            Write-Host 'If no new version is found:';
            Write-Host "Write-Verbose 'PowerShell is up-to-date.'";
        }
    }
}

I'm sure it should not be in the engine.
This is the function of package managers, WindowsUpdate, secure scanners and so on. If customer OS system is well-configured (pre-configured) the customer always get the new version notification and get update.
The presence of non-standard features is always a problem for centralized management in the interprise environment.

@iSazonov There isn't a good package manager story on Windows.  Also, if the user isn't installing the package, but using the zip or tgz, they won't know there is a newer version.  It would make sense if we want this notification to only be active for an interactive shell.  Many apps (Chrome, VSCode) handle their own notification to the user that an update is available.  Update-PowerShell is a bit more complicated particularly on Windows where open files can't be overwritten although it's possible to download it to a known location and on startup install it (using a helper process) if it's detected.

There isn't a good package manager story on Windows.

Windows has great update infrastructure. Standalone Internet connected computer always gets updates from WindowsUpdate. In isolated enterprise network WSUS and SCCM is great tools.
Firefox and Chrome have msi installers for enterprises.
It is products that do not have such capabilites create a headache for enterprise system administrators and annoy users with their reminders and notifications.
Also we cannot force users to use a newer version if they have no motivation or need (or it is disabled by local enterprise policy).
If we talk about security, then again this is a task for other products (WindowsUpdate, Windows Defender ...). It is too wasteful to inject in each utility its own update/notify tool.

We should probably push latest information to a well known Azure Blob during publishing time.

This would be nice, I would like more software to do something like this. If it was as simple as Invoke-RestMethod -Uri https://aka.ms/PowerShellCoreLatestVersionData with no login and no complex protocols, people could implement their own checks very easily.

Also, if the user isn't installing the package, but using the zip or tgz, they won't know there is a newer version.

The recent Telemetry RFC - that will feedback to Microsoft how often PowerShell Core is opened, and will include versions, is that right? If so, waiting until that is implemented could provide context for how many people are not updating, to see if this is a problem which needs solving. I feel that people who download PowerShell Core from a zip/tgz are the sort of people who will be able to update when they want to, or will know that they don't want to.
In the meantime, an opt-in mailing list "tell me when there are updates" on the download page, could be less effort (assuming Microsoft has existing mailing list infrastructure), and could indicate how much demand there is for knowing about new versions. I feel that people who download PowerShell zip/tgz are more likely to know about 3rd party package managers on Windows than the general population.

I'm digressing, but I had published Update-PowerShellCore function in my module (PSCoreUpdate) a year ago.
This will be helpful for updating PowerShell Core on Windows and macOS.

Related RFC https://github.com/PowerShell/PowerShell-RFC/pull/97

After further thinking about this, I definitely would not want to have this opportunity on enterprice and cloud servers - OS images there should be managed centrally and have predictable versions of applications. This feature could be moved to our new decoupled helper module, which, when loaded in an interactive session, could check for a new version (in the background and with help -CheckNewVersion).

Fixed via https://github.com/PowerShell/PowerShell/pull/10689


publish a new version to npm

...so that we don't need to yarn link the changes we want to make in the statechannels repo.

via b945251


MDTabs on_tab_switch is not called on a tab switch by swipe

Description of the Bug
The most intuitive way to change a tab is a swipe. Currently, on_tab_switch function is called only when one taps on a tab label. The other option is on_carousel_index, which a) doesn't work (#340) and b) contains no convenient way to work with MDTabsBase-like widgets.
So, there is no, at least obvious to me, way to add/remove widgets from tab screens, thus no way to implement pagination for tabs. My app loads circa 15 seconds, adding 40 lightweight list widgets total to 5 tabs.
Code
from kivymd.app import MDApp
from kivy.app import Builder
from sys import exit as sys_exit

kv = """
<Tab@FloatLayout+MDTabsBase>
    text: "circle"

BoxLayout
    MDTabs
        on_tab_switch: app.on_tab_switch(*args)
        Tab
        Tab
"""

class App(MDApp):
    def build(self):
        return Builder.load_string(kv)

    def on_tab_switch(self, *args):
        sys_exit()

App().run()

Versions

OS: Win10 1909
Python: 3.8.3
Kivy: 2.0.0rc2
KivyMD: 0.104.1

@hematogender I do not understand the essence of the issue.

Users switch tabs mostly by swiping, not by clicking on tab labels at the top of the screen.
The name of the function is on_tab_switch. It is not called when tab changes by swipe, it is only called when you click on a label.
I want to implement pagination in my app, thus I need a way to know when the tab is switched to another. Neither on_tab_switch nor on_carousel_index is suitable to do it.

The behavior that is described in this issue has not been confirmed during testing.

I'm having the same issue. I changed the code to print instead of closing so it's easier to see:
from kivymd.app import MDApp
from kivy.app import Builder
from sys import exit as sys_exit

kv = """
<Tab@FloatLayout+MDTabsBase>
    text: "circle"

BoxLayout
    MDTabs
        on_tab_switch: app.on_tab_switch(*args)
        Tab
        Tab
"""

class App(MDApp):
    def build(self):
        return Builder.load_string(kv)

    def on_tab_switch(self, *args):
        print('hello')

App().run()

if you click the tab it switches and prints hello to the console. If you swipe with the mouse, it switches tabs but does not print hello. Thus, the on_tab_switch works only with click and not with swipe.


Load the weights from a trained model for evaluation

i've been able to get this workflow to work, but it is only partially checked in. in train_system.py, it uses the constructor, but in the inference code it uses .from_pretrained() (that's the part that isn't committed yet). Check the most recent commit for updates on how to use the model and train_system: https://github.com/Machine-Learning-for-Medical-Language/cnlp_transformers/commit/c90ee824a79df03cdb7939bdae73c8a95fbc86f5

Got it, I will check that part of the code.

Main changes from lines 271-355.

move model registration before loading configuration files.
If load fine-tuned cnlpt models for evaluation, using AutoConfig.from_pretrained (line 298- 301) and model = CnlpModelForClassification.from_pretrained (line 325-321)
add a few if-else statements to check whether the model is pre-trained or whether we use the model for fine-tuning or evaluation.


Will this make the emulator run faster? like BotW.

:beer:

Depends on the type of game. lower res graphic packs won't increase speed most of the time, especially for a game like BotW.


fix relative ref with http ref bug

This patch fixes https://github.com/swagger-api/swagger-parser/issues/805.

The change looks good to me, but your new unit test requires a server call to https://raw.githubusercontent.com/. Please mock it in the unit tests.

Thanks for the review, and fine example to support this PR.
I reflected your review point.

I added a test to confirm that "./" is still attached to relative local ref file.

I am not owner of this project, but this PR looks good to me.
Thank you a lot for this contribution

Thanks for this PR @fujigon

@gracekarina I ran into this issue in the 2.0.2 release and was about to file an issue, when I see it has been fixed here. Do you have a timeline for the 2.0.3 release with this fix?
Thanks!


AVRO-1692: Allow multiple logical types for a Java class.

This changes the class to conversion lookup to store multiple
conversions and choose based on the logical type name. This still
assumes that only one conversion is registered for each logical type.

@busbey, I've fixed the things you noted and responded to you question about thread safety. I also added a test that requires this change and demonstrates how to use logical types for circular references (AVRO-695). Please have another look when you get a chance. Thanks!

Merged by Tom.


gopls: couldn't exec 'go [list -f {{context.GOARCH}} {{context.Compiler}} -- unsafe]'

What version of Go are you using (go version)?

$ go version
go version go1.13.1 linux/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE="auto"
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/jeremy/.cache/go-build"
GOENV="/home/jeremy/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GONOPROXY="go.mhub.my"
GONOSUMDB="go.mhub.my"
GOOS="linux"
GOPATH="/home/jeremy/Project/go"
GOPRIVATE="go.mhub.my"
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build965965451=/tmp/go-build -gno-record-gcc-switches"

What did you do?

Open my go project folder using visual code which is using go.mod
What did you expect to see?
Visual code with go to definition and linter working
What did you see instead?
Visual code with go to definition and linter Not Working and the following error from gopls logs
[Error - 4:59:46 PM] Request textDocument/definition failed.
  Message: couldn't exec 'go [list -f {{context.GOARCH}} {{context.Compiler}} -- unsafe]': exec: "go": executable file not found in $PATH *exec.Error
  Code: 0

@jeremyjohn: Is the go command on your $PATH?
The problem I have this is with the latest version of the go extension in visual code 0.11.7.
When i downgraded it to 0.10.2 it's using older version of gopls if not mistaken so I don't have this problem.

Solved, My $PATH was defining my $GOROOT before my $GOROOT was even define in my .bashrc


kubernetes 1.5.x

Hi,
I wanted to ask if istio is compatible with k8s 1.5.x? As I saw in the getting started docs, it assumes k8s 1.7.x is present.
My use case revolves around just using envoy as an edge router to ingress to a grpc service and also do in cluster load balancing (service to service) for the same service.

0.1.6 is compatible with k8s 1.5
0.2.x requires at least 1.7


Can we have a feature of ignoring the NaN y values come across for certain hyperparameter configurations

My optimization stopped in the middle of  iterations, and returned this error: ValueError: Input y contains NaN. I tried to fix it but then realized that I couldn't narrow my hyperparameter searching space such that I can be sure there will be no NaN value generated by a certain parameter configuration in this space.
Thus I would really appreciate that if you could add a feature that can ignore the Nan y values in the optimization process and still let the optimization continue even NaN y-value appears.

If I'm understanding right, this is not a bug in our code, but your target function potentially returning NaN(?)
In that case there are many ways you could avoid the problem, e.g. using the suggest-evaluate-register technique demonstrated in the advanced notebook or by optimizing a surrogate function that catches the NaNs before returning them.

If I'm understanding right, this is not a bug in our code, but your target function potentially returning NaN(?)
In that case there are many ways you could avoid the problem, e.g. using the suggest-evaluate-register technique demonstrated in the advanced notebook or by optimizing a surrogate function that catches the NaNs before returning them.

If I'm understanding right, this is not a bug in our code, but your target function potentially returning NaN(?)
In that case there are many ways you could avoid the problem, e.g. using the suggest-evaluate-register technique demonstrated in the advanced notebook or by optimizing a surrogate function that catches the NaNs before returning them.

Thanks! Indeed, you understand right, I will try the advice you provided. If my problem is solved I will close this issue;)

After using the suggest-evaluate-register technique, I still got error: ValueError: Input y contains NaN.
I might not have mastered the idea of SER technique, could you help me look at my code? My code is here:

    optimizer = BayesianOptimization(
        f=None,
        pbounds=pbounds,
        verbose=2,
        random_state=12,
    )

    from bayes_opt import UtilityFunction

    utility = UtilityFunction(kind="ucb", kappa=2.5, xi=0.0)

    next_point_to_probe = optimizer.suggest(utility)
    print("Next point to probe is:", next_point_to_probe)

    target = objective_function(**next_point_to_probe)
    print("Found the target value to be:", target)

    optimizer.register(
        params=next_point_to_probe,
        target=target,
    )
    obj_value = []
    configuration = []
    n_iter=100

    for _ in range(n_iter):
        next_point = optimizer.suggest(utility)
        target = objective_function(**next_point)
        optimizer.register(params=next_point, target=target)

        obj_value.append(target)
        configuration.append(next_point)

    # print(optimizer.max)

    with open('Bayes_opt_output/BO_G{}.csv'.format(ins_index[i]), 'w') as file:

        writer = csv.writer(file)
        writer.writerow(['Cut', 'Configuration Hyperparameter'])
        for i in range(len(obj_value)):
            writer.writerow([obj_value[i], configuration[i]])

you should never pass a NaN to the model. write an objective like this:
import numpy as np

def objective():

    objective = some_function():
    if np.isnan(objective):
        return 0  # or whatever you want
    else:
        return objective

Thanks! Now it works!


List of items initially not rendering (iOS)

Since upgrading to RN 0.59.10, I'm finding quite often the list of items do not initially show at all, though space for them is taken up, but manually scrolling the container seems to make them suddenly appear. Anyone else with this issue and is there a workaround? Using version 0.2.9.
Problem on iOS only.

Only workaround I've found is to scroll the container programatically on a timeout from componentDidMount (timeout can be 0, still forces a render cycle after mounting).

I have this issue as well.

No movement on this? Makes the component unusable.

Solution is to add removeClippedSubviews={false} to the ListView/> component rendered.


Compiling plain SCSS

I have a main.scss file consisting basically of imports:
@import 'layout/about';
@import 'layout/footer';
// etc.

When I change layout/_about.scss, this file is compiled to layout/_about.css, although we need to compile main.scss
A workraround would be to change the sass command to something like
sass --sourcemap {{projectdir}}/main.scss {{projectdir}}/main.css

But I can't find any information about such a macro.

Hi
BracketstoIX supports the following macros:
{{in}}, {{inpath}}, {{infile}}, {{out}}, {{outpath}}, {{outfile}}
Which allows you to do what you need.
This information is written on README.ME of github page.
https://github.com/apptoix/bracketstoix


Big issue on Multicraft, Downloading MoreBlocks pack adds +100 slopes from Circular Saw

this is the whole message:
“Failed to load and run script from /private/var/mobile/Containers/Data/Application/0529E8C0-2299-4951-A248-2660E9455522/Documents/mods/moreblocks/init.lua:
...2F38F5E3/MultiCraft.app//builtin/common/misc_helpers.lua:488: table index is nil
stack traceback:
...2F38F5E3/MultiCraft.app//builtin/common/misc_helpers.lua:488: in function 'copy'
...2/Documents/mods/moreblocks/stairsplus/registrations.lua:108: in main chunk
[C]: in function 'dofile'
...60E9455522/Documents/mods/moreblocks/stairsplus/init.lua:82: in main chunk
[C]: in function 'dofile'
...951-A248-2660E9455522/Documents/mods/moreblocks/init.lua:20: in main chunk
Revisa debug.txt para más detalles.”

Hello, I use Multicraft to Join BlockCity Server.
Recently I tried to do my own one player server with Minetest on the Multicraft App
I downloaded a bunch of Mods who work just perfect
The More Blocks Mod also works correctly, the issue is when I try to activate all of the downloaded stuff including the More Blocks, the map won’t load and this message from the image above appears.
I’m sorry about my english, I don’t know nothing about programming, and im from Mexico, I just wanted to ask for help.
I use the circular saw a lot, and I don’t see why if I’m downloading that pack, then why am I getting all the possible blocks from the circular saw to fill my inventory, I see this as a big issue.
When I load a new map adding only the MoreBlocks pack the map will load just great, but my inventory gets filled with all of the possible blocks from the circular saw.
I only need the blocks, not the already cut ones. (That’s why I have the circular saw)
But when I Load a map with More Blocks + other Mods the map won’t load
I hope I’m making myself clear, I’ll upload more images if needed.
Just erase the rest of the already cut ones from the inventory
Thanks for reading.

This is expected, and is done by default so you can use these nodes without having to place a circular saw every time (it would get annoying over time).
https://github.com/minetest-mods/moreblocks/issues/144 is a better solution to the problem described here, so I'll close this in favor of that issue.

Hello Hugo, thanks for the reply
I asked someone (wsor) for help and told me this Is a setting and I can
change It to use only the circular saw, the problem Is this setting can
only be disabled on PC (for what I understood
Im using iPad and there Is no way to disable this setting.)
Besides
I dont understand why would It be an issue to place the circular saw each
Time someone needs to use it, I would prefer to place 10 of them instead of
go through +150 Pages just to find one particular slope, stair, etcétera.
I hope, anyways, if maybe you or someone can do something, specifically for
Mobile device players, in order to Fix this, because It Is a real issue, we
have to decide between downloading More Blocks & nothing else or download
any quantity of packs except for More Blocks.
-Maybe you or someone can increase the memory of LUAscript for Mobile
devices (for what I understood this Is the issue in order to run this pack
with all others)
-Maybe add a way to able/disable this from the inventory, for the Users
that prefer to display the circular saw and dont want to go through all the
inventory just to find a specific piece (there Is no way to disable It on
mobiles actually)
Thanks for reading
Happy holidays!
Saludos desde México! 🫂
El mar., 19 de diciembre de 2023 10:58, Hugo Locurcio <
@.***> escribió:

This is expected, and is done by default so you can use these nodes
without having to place a circular saw every time (it would get annoying
over time).
#144 https://github.com/minetest-mods/moreblocks/issues/144 is a better
solution to the problem described here, so I'll close this in favor of that
issue.
—
Reply to this email directly, view it on GitHub
https://github.com/minetest-mods/moreblocks/issues/202#issuecomment-1863143068,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BEX2LJJHJHGVLDKFOPUVH7DYKHBU3AVCNFSM6AAAAABAY62OT2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRTGE2DGMBWHA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Collapse all sections in mobile view

Does anyone know how to hook into the script to collapse all sections by default in the mobile view?  Currently the active one is open by default and I'd like to have all sections collapsed in that view.  Thank you!

I guess I could see this as an option to remove the active class from the panels on initialize.


Problem with autotune

Hey I try to do autotune via website https://autotuneweb.azurewebsites.net/ and I still get the problem.
Could someone could help pe resolve it ? For night scout I use service from website  https://ns.10be.de/
maybe I need some settings to be changed ?
I attach the log
autotune.2024-05-14-093320.log
autotune.2024-05-14-075601.log

What is the problem you're seeing? What behavior are you getting, vs. what do you expect?


config.json no findie

config.json is needed; client side socket.js line 3.
But it's in the gitignore so the whole client side script throws an error at line 3 and gives a white screen :(

Forgot to add a check + a default config file. I'll get that straightened out once I'm home.

I tried to work on the current build and still seeing this. :(

Purposely missing a config file to prevent leaking server endpoint. This project is technically ongoing, but not currently a focus (at-least at the moment).


How do I merge a branch back into its parent

There's a section about source control with GIT.  Among other things it shows how to create a branch, but doesn't show how to merge the branch back into the master - which is even more important.
If I open the Manage Branches screen, there's an option to merge Main into the , which doesn't seem right.
While I'm here - how do I abandon a branch?  Again nothing's said about this.
Not much help working with source control.

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

ID: 982d97c4-0275-dc36-e2e0-669b90d52a7a
Version Independent ID: 982d97c4-0275-dc36-e2e0-669b90d52a7a
Content: Create a branch - Visual Studio (Windows)
Content Source: docs/version-control/git-create-branch.md
Product: visual-studio-windows
Technology: vs-ide-general
GitHub Login: @TerryGLee
Microsoft Alias: tglee

@tomb-fronde -- Tom, thank you for your feedback.  Please consider these resources:

Visual Studio on Microsoft Q&A
Visual Studio MSDN Forum
Stack Overflow
Reddit

@TerryGLee -- Terry, please look into this issue.

Thanks William
I checked out the Visual Studio on Microsoft Q&A  and tried a couple of ideas but none work.  It seems to be all the VS files - .suo, *.cache, etc - that change as you do things, and are marked modified by GIT even though they are supposed to be ignored.  Don't know why GIT doesn't ignore them. (using VS 2019 Community Version 16.11.10).  Perhaps Terry can clarify.

@tomb-fronde Thanks for taking the time to write up this issue report. To address the first question you had about how to merge a branch back into master/main, we do have documentation on how to do that. However, it wasn't discoverable from the page you were on; as such, we added the following to the Next Steps section: "To learn more about how to manage branches in Visual Studio, see Merge and rebase branches."
As for how to abandon a branch, we're not sure what you mean. Are you asking how to delete a branch?
In regards to your inquiry about files to ignore, it depends on where the repo was originally created. For example, if you create your Git repo in Visual Studio, we provide a long list of different .ignore templates to choose from:

You can also right-click on any files that aren't tracked and then choose to ignore the selected item or file extension:

Or you could edit the .gitignore file by going to the Git settings (on the menu bar, go to Tools > Options > Source Control > Git Repository Settings):

We'll take an action item to make sure all this info is included in the documentation; meanwhile, let us know if we can be of further assistance.

Hi Terry,
Thanks for the helpful information.  When I said "abandon a branch" I did
mean delete it.  I found how to do so, did so, and have recreated the work
I wanted to keep in the main branch since I couldn't merge the branch.
.gitignore is still an issue.  I'm very much a newbie with GIT which
probably explains many of my troubles.  I'm working on a C# project that
has been ported from an older Visual Studio/Visual SourceSafe environment
to VS 2019/GIT by someone else who knew GIT but not VS or SourceSafe.  The
upshot is that the code has lots of history from SourceSafe that we want to
keep.  When I cloned the project, I don't believe it had a .gitignore
file.  I added one that had little in it and have since added one of the
GIT models for VS in my local rep. but the .gitignore file appears to not
have any effect.
The files that are causing trouble are those created and maintained as part
of Visual Studio's management of the code compilation and general keeping
track of things.  These files are all binary and do not appear alongside
the code.  The only time they are visible (apart from snooping at the
filesystem level outside VS) is in the GIT Changes section.  There, there's
no way for me to say 'exclude these from the project' - nothing in popup
menus nor in dropdown 'File' etc menus.  Everywhere else, I can't see them
and so can't exclude them.
This is a problem with branching.  I can commit the changes including the
VS files, and sync, but if I do anything - including glancing at a code
file without making any changes - these pesky VS files change and appear
back in the GIT Changes.  If I try to merge the branch into the main branch
(I haven't gotten to deeper levels) some of these VS files have reappeared
and I'm told to commit the changes first.  And it keeps going around and
around this cycle.  Branching (and merging) probably work fine in VS if set
up correctly but my project doesn't appear to be set up correctly in this
regard.
Is there a way to get the project back on track?  Would deleting my local
rep and re-cloning the project with a good .gitignore work?
Thanks in advance for any help you can offer.
Tom
On Sat, 5 Mar 2022 at 08:11, Terry G. Lee @.***> wrote:

@tomb-fronde https://github.com/tomb-fronde Thanks for taking the time
to write up this issue report. To address the first question you had about
how to merge a branch back into master/main, we do have documentation on
how to do that. However, it wasn't discoverable from the page you were on;
as such, we added the following to the Next Steps section: "To learn more
about how to manage branches in Visual Studio, see Merge and rebase
branches http://git-manage-repository.md#merge-and-rebase-branches."
As for how to abandon a branch, we're not sure what you mean. Are you
asking how to delete a branch?
In regards to your inquiry about files to ignore, it depends on where the
repo was originally created. For example, if you create your Git repo in
Visual Studio, we provide a long list of different .ignore templates to
choose from:
[image: git-ignore-selection]
https://user-images.githubusercontent.com/23244653/156825790-bae85812-2802-4dfb-aa90-33f291f97d00.png
You can also right-click on any files that aren't tracked and then choose
to ignore the selected item or file extension:
[image: image]
https://user-images.githubusercontent.com/23244653/156825886-01d35ac2-8a9e-4014-a171-9023169f40c6.png
Or you could edit the .gitignore file by going to the Git settings (on the
menu bar, go to Tools > Options > Source Control > Git Repository
Settings):
[image: image]
https://user-images.githubusercontent.com/23244653/156826017-7ffe0cf9-596d-417a-a7d8-345e54bccb65.png
We'll take an action item to make sure all this info is included in the
documentation; meanwhile, let us know if we can be of further assistance.
—
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/visualstudio-docs/issues/7723#issuecomment-1059441050,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AR7GUOAQAPHAHMZMCQLYYALU6JN5DANCNFSM5POVRTVQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Tom Britton
Business Consultant
Fronde
[image: Fronde Logo]
Level 1, 222 Lambton Quay | PO Box 11-545 | Wellington 6011, New Zealand
m. +64 21 995 967  | e. @.*** | w. www.fronde.com
--
The information contained in this email is privileged and confidential and
intended for the addressee only. If you are not the intended recipient,
please respect that confidentiality and do not disclose, copy or make use
of its contents. If received in error, please destroy this email and
contact the sender immediately. Thank you.

Hi again,
An update: I must have put the .gitignore file in the wrong place.  In VS,
looking in the Files folder I can see a .gitignore file that is different
than the one I had described previously.  The one I see via VS Files didn't
contain much so I added the VS .gitignore template.  VS now ignores most of
the VS files but not the .suo despite *.suo being in the .gitignore file.
I'll try another branch and see how it goes.
Regards,
Tom
On Mon, 7 Mar 2022 at 23:51, Tom Britton @.***> wrote:

Hi Terry,
Thanks for the helpful information.  When I said "abandon a branch" I did
mean delete it.  I found how to do so, did so, and have recreated the work
I wanted to keep in the main branch since I couldn't merge the branch.
.gitignore is still an issue.  I'm very much a newbie with GIT which
probably explains many of my troubles.  I'm working on a C# project that
has been ported from an older Visual Studio/Visual SourceSafe environment
to VS 2019/GIT by someone else who knew GIT but not VS or SourceSafe.  The
upshot is that the code has lots of history from SourceSafe that we want to
keep.  When I cloned the project, I don't believe it had a .gitignore
file.  I added one that had little in it and have since added one of the
GIT models for VS in my local rep. but the .gitignore file appears to not
have any effect.
The files that are causing trouble are those created and maintained as
part of Visual Studio's management of the code compilation and general
keeping track of things.  These files are all binary and do not appear
alongside the code.  The only time they are visible (apart from snooping at
the filesystem level outside VS) is in the GIT Changes section.  There,
there's no way for me to say 'exclude these from the project' - nothing in
popup menus nor in dropdown 'File' etc menus.  Everywhere else, I can't see
them and so can't exclude them.
This is a problem with branching.  I can commit the changes including the
VS files, and sync, but if I do anything - including glancing at a code
file without making any changes - these pesky VS files change and appear
back in the GIT Changes.  If I try to merge the branch into the main branch
(I haven't gotten to deeper levels) some of these VS files have reappeared
and I'm told to commit the changes first.  And it keeps going around and
around this cycle.  Branching (and merging) probably work fine in VS if set
up correctly but my project doesn't appear to be set up correctly in this
regard.
Is there a way to get the project back on track?  Would deleting my local
rep and re-cloning the project with a good .gitignore work?
Thanks in advance for any help you can offer.
Tom
On Sat, 5 Mar 2022 at 08:11, Terry G. Lee @.***>
wrote:

@tomb-fronde https://github.com/tomb-fronde Thanks for taking the time
to write up this issue report. To address the first question you had about
how to merge a branch back into master/main, we do have documentation on
how to do that. However, it wasn't discoverable from the page you were on;
as such, we added the following to the Next Steps section: "To learn more
about how to manage branches in Visual Studio, see Merge and rebase
branches http://git-manage-repository.md#merge-and-rebase-branches."
As for how to abandon a branch, we're not sure what you mean. Are you
asking how to delete a branch?
In regards to your inquiry about files to ignore, it depends on where the
repo was originally created. For example, if you create your Git repo in
Visual Studio, we provide a long list of different .ignore templates to
choose from:
[image: git-ignore-selection]
https://user-images.githubusercontent.com/23244653/156825790-bae85812-2802-4dfb-aa90-33f291f97d00.png
You can also right-click on any files that aren't tracked and then choose
to ignore the selected item or file extension:
[image: image]
https://user-images.githubusercontent.com/23244653/156825886-01d35ac2-8a9e-4014-a171-9023169f40c6.png
Or you could edit the .gitignore file by going to the Git settings (on
the menu bar, go to Tools > Options > Source Control > Git
Repository Settings):
[image: image]
https://user-images.githubusercontent.com/23244653/156826017-7ffe0cf9-596d-417a-a7d8-345e54bccb65.png
We'll take an action item to make sure all this info is included in the
documentation; meanwhile, let us know if we can be of further assistance.
—
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/visualstudio-docs/issues/7723#issuecomment-1059441050,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AR7GUOAQAPHAHMZMCQLYYALU6JN5DANCNFSM5POVRTVQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Tom Britton
Business Consultant
Fronde
[image: Fronde Logo]
Level 1, 222 Lambton Quay | PO Box 11-545 | Wellington 6011, New Zealand
m. +64 21 995 967  | e. @.*** | w. www.fronde.com

--
Tom Britton
Business Consultant
Fronde
[image: Fronde Logo]
Level 1, 222 Lambton Quay | PO Box 11-545 | Wellington 6011, New Zealand
m. +64 21 995 967  | e. @.*** | w. www.fronde.com
--
The information contained in this email is privileged and confidential and
intended for the addressee only. If you are not the intended recipient,
please respect that confidentiality and do not disclose, copy or make use
of its contents. If received in error, please destroy this email and
contact the sender immediately. Thank you.

@tomb-fronde It looks like the issue you originally reported as been resolved; as such, we'll close this issue now. However, if that isn't the case, please feel free to open a new issue to let us know how we can help. Thanks!


_Events.IsUsingMessages  and   _Events.IsUsingStreams

_Events.IsUsingMessages  and   _Events.IsUsingStreams  always true.
I only put event Events.StreamReceived

Thanks - probably because by default I'm setting the event handlers to delegate { }; - let me test to make sure leaving them empty doesn't create an issue, and I'll push a patch.  Thanks for letting me know

Hi @kzonesoft thanks for letting me know - this should fix it.  Please re-open if it doesn't!  And thanks for making the library better!  Cheers, Joel
NuGet: https://www.nuget.org/packages/WatsonTcp/<IP_ADDRESS>
Commit: https://github.com/jchristn/WatsonTcp/commit/5854847742b9d85603c7e22b35ee3ff841f94202

OK. it's working bro :+1:


My playerPrefs does not work...

Is there any way I can fix this? It may be because it's from mobile...

Can you provide more details please?

Is there any way I can fix this? It may be because it's from mobile...

Could you tell me what isn't working?
Are you creating the file on PC then running it on mobile?
What error messages are showing?

I can't open it. Is there a way I can open it with the among us file editor. Is there a place I should open it?

Please join the discord for support, your reply doesn't make enough sense for me to offer a solution.
My main guess is you don't know how to download or run the editor,
On the right hand side of the main page for this github repository, press releases then scroll down and click on the .jar file to download it.
If you already downloaded it, download java from https://java.com/download and install it then right click the Among-Us-Editor.jar file and press Open With Java

Closing this as it's been 2 days without a response.
Not sure if I helped them in discord or not, but 90% chance they just didn't have Java installed.


Bump 6.8 branch to 6.8.14-SNAPSHOT

This PR bump chart version and Docker images to 6.8.14-SNAPSHOT version to test 6.8.14 development version.
See New branching model for more details.

jenkins test this please


Syntax highlight colors are not always respected

When using this plugin, the syntax highlight colors are not always respected (at least within terraform).
Normal highlighting(using treesitter):

Highlighting with nvim-treesitter-context:

It seems to use the basic vim highlights instead of the treesitter ones.
Python does seem to work correctly with treesitter hightlights.

It seems to be using the same highlighting as when you visual select something:

Normal:

treesitter-context:

Visual Selection:

This is by design. The highlights can not be replicated from treesitter since the code snippet is partial. The fact we get any highlighting is a bonus.

I dont have the same issue:

Visial Selection:

Vim highlights are not used. The treesitter highlights are applied by reading the AST at the position.
Please provide precise instructions on how to reproduce this.

Hi, I'm having a similar issue with a plugin of mine, reported here. Is there any way for other highlights to also get added to the context buffer? I'm using nvim_buf_set_extmark to add my plugin's highlights

Is there any way for other highlights to also get added to the context buffer? I'm using nvim_buf_set_extmark to add my plugin's highlights

Not currently. ts-context has its own mini treesitter highlighter to apply highlights directly from the AST. Other highlights in the buffer aren't looked at.

Interesting. Maybe it would be nice to allow other plugins to register a callback to add highlights on top of that, or something like that. I could maybe try my hand at it this weekend if you think it makes sense

Here's a reproducible example. It seems to occur with some colour schemes, so I've included one that has the issue. @rwblokzijl seems to have one too which looks like some sort of gruvbox variant.
Minimal config
-- minimal.lua
vim.cmd([[packadd packer.nvim]])

local packer = require("packer")
packer.init({
	enable = true,
	threshold = 0,
})

local use = packer.use
packer.reset()

packer.startup({
	function()
		use({
			"rose-pine/neovim",
			as = "rose-pine",
			config = function()
				vim.cmd("colorscheme rose-pine")
                vim.opt.background = 'dark'
			end,
		})
        use { 'nvim-treesitter/nvim-treesitter-context' }
	end,
})

require('treesitter-context').setup{
    enable = true, -- Enable this plugin (Can be enabled/disabled later via commands)
    max_lines = 0, -- How many lines the window should span. Values <= 0 mean no limit.
    trim_scope = 'outer', -- Which context lines to discard if `max_lines` is exceeded. Choices: 'inner', 'outer'
    patterns = { -- Match patterns for TS nodes. These get wrapped to match at word boundaries.
        -- For all filetypes
        -- Note that setting an entry here replaces all other patterns for this entry.
        -- By setting the 'default' entry below, you can control which nodes you want to
        -- appear in the context window.
        default = {
            'class',
            'function',
            'method',
            'for',
            'while',
            'if',
            'switch',
            'case',
        },
        -- Patterns for specific filetypes
        -- If a pattern is missing, *open a PR* so everyone can benefit.
        tex = {
            'chapter',
            'section',
            'subsection',
            'subsubsection',
        },
        rust = {
            'impl_item',
            'struct',
            'enum',
        },
        scala = {
            'object_definition',
        },
        vhdl = {
            'process_statement',
            'architecture_body',
            'entity_declaration',
        },
        markdown = {
            'section',
        },
        lua = {
            'local function',
        }
    },
    exact_patterns = {
        -- Example for a specific filetype with Lua patterns
        -- Treat patterns.rust as a Lua pattern (i.e "^impl_item$" will
        -- exactly match "impl_item" only)
        -- rust = true,
    },

    -- [!] The options below are exposed but shouldn't require your attention,
    --     you can safely ignore them.

    zindex = 20, -- The Z-index of the context window
    mode = 'cursor',  -- Line used to calculate context. Choices: 'cursor', 'topline'
    separator = nil, -- Separator between context and content. Should be a single character string, like '-'.
}

Example file
-- example.lua
require('test').setup({
    function()
        -- this is a test

        -- scroll so require leaves the screen
        -- and shows up in treesitter context

        -- You can use C-e to scroll down
        -- without moving the cursor
    end
})

Yes i use ellisonleao/gruvbox.nvim with a red i liked better: https://github.com/rwblokzijl/neovim/blob/85326669b4db8a5de346a0af8a5b9a69378c0e99/lua/util/colors.lua#L40

Seems fixed (tested with https://github.com/nvim-treesitter/nvim-treesitter-context/pull/210)

I see 1 exception: the first line of a template literal

Hi all!
In the past I've noticed the same issue (I mainly use Sonokai as colorscheme), and it shows up with the example.lua provided by @hisbaan. In mine only the color of the word setup is wrong though.
From what I've seen poking around, the highlights are applied in the correct order using the vim.api.nvim_buf_set_extmark() but when you query the extmark for that specific area the order is not respected:

From row 0 to 0 and from col 0 to 7 with Extmark ID 1 --> Name capture: 'variable'    || Node type: 'identifier'    || Highlight group<EMAIL_ADDRESS>From row 0 to 0 and from col 0 to 7 with Extmark ID 2 --> Name capture: 'function.call'    || Node type: 'identifier'    || Highlight group<EMAIL_ADDRESS>From row 0 to 0 and from col 0 to 7 with Extmark ID 3 --> Name capture: 'function.builtin'    || Node type: 'identifier'    || Highlight group<EMAIL_ADDRESS>From row 0 to 0 and from col 7 to 8 with Extmark ID 4 --> Name capture: 'punctuation.bracket'    || Node type: '('    || Highlight group<EMAIL_ADDRESS>From row 0 to 0 and from col 8 to 14 with Extmark ID 5 --> Name capture: 'string'    || Node type: 'string'    || Highlight group<EMAIL_ADDRESS>From row 0 to 0 and from col 8 to 14 with Extmark ID 6 --> Name capture: 'spell'    || Node type: 'string'    || Highlight group<EMAIL_ADDRESS>From row 0 to 0 and from col 14 to 15 with Extmark ID 7 --> Name capture: 'punctuation.bracket'    || Node type: ')'    || Highlight group<EMAIL_ADDRESS>From row 0 to 0 and from col 15 to 16 with Extmark ID 8 --> Name capture: 'punctuation.delimiter'    || Node type: '.'    || Highlight group<EMAIL_ADDRESS>From row 0 to 0 and from col 16 to 21 with Extmark ID 9 --> Name capture: 'variable'    || Node type: 'identifier'    || Highlight group<EMAIL_ADDRESS>From row 0 to 0 and from col 16 to 21 with Extmark ID 10 --> Name capture: 'field'    || Node type: 'identifier'    || Highlight group<EMAIL_ADDRESS>From row 0 to 0 and from col 16 to 21 with Extmark ID 11 --> Name capture: 'function.call'    || Node type: 'identifier'    || Highlight group<EMAIL_ADDRESS>From row 0 to 0 and from col 21 to 22 with Extmark ID 12 --> Name capture: 'punctuation.bracket'    || Node type: '('    || Highlight group<EMAIL_ADDRESS>From row 0 to 0 and from col 22 to 23 with Extmark ID 13 --> Name capture: 'punctuation.bracket'    || Node type: '{'    || Highlight group<EMAIL_ADDRESS>From row 0 to 0 and from col 22 to 23 with Extmark ID 14 --> Name capture: 'constructor'    || Node type: '{'    || Highlight group<EMAIL_ADDRESS>From row 1 to 1 and from col 4 to 12 with Extmark ID 15 --> Name capture: 'keyword.function'    || Node type: 'function'    || Highlight group<EMAIL_ADDRESS>From row 1 to 1 and from col 12 to 13 with Extmark ID 16 --> Name capture: 'punctuation.bracket'    || Node type: '('    || Highlight group<EMAIL_ADDRESS>From row 1 to 1 and from col 13 to 14 with Extmark ID 17 --> Name capture: 'punctuation.bracket'    || Node type: ')'    || Highlight group<EMAIL_ADDRESS>{ { 9, 0, 16 }, { 11, 0, 16 }, { 10, 0, 16 } }

The last line is obtained with vim.api.nvim_buf_get_extmarks() specifying the row and columns where setup is in  example.lua. I think that the correct order should be: { { 9, 0, 16 },  { 10, 0, 16 }, { 11, 0, 16 } }


Cannot remote display the website

I follow the order of the document. And I'v finished that I can see the website locally by executing
bundle exec jekyll serve

But at the last step, when I exec the deploy file, it shows
Permission denied(publickey)
fatal:could not read from the remote repository

And I check the deploy file, I found that the file is aimed to operate the gh-pages branch.
But I just wanna display the website on my homepage so I just need the master branch is enough. So I just simply push the code on master branch. But when I visit the my homepage, it shows nothing.
Here is what I put on my github.

ps, I got many error emails from the github, all mails show like it cannot recognize the liquid tag:

The tag asset_path on line 1 in _posts/2016-10-15-chalk-sample-post-with-all-elements.md is not a recognized Liquid tag.

A file was included in _posts/2016-10-15-chalk-sample-post-with-all-elements.md that is a symlink or does not exist in your _includes directory.

The tag stylesheet on line 10 in 404.html is not a recognized Liquid tag

Ah..I try a method that builds locally and include the results in the Pages repository..Then it worked. I guess the model you produce got some unrecognized tags so that we have to build it locally...And then submit the after-build files.

@Elitack indeed you should be working on another branch than master and make sure you deploy the output files to the master branch. I need to add some documentation for people who use a github.io repo as that works differently.


ja-phonetic.yml

Created a reference file for sorting phonetically in Japanese. (Currently only lists some lexicons).

Should already have been integrated in #705


If there is any one can help me with  this error

I compiled cartographer-master
$cmake CMakeLists.txt
when it comes out error infomation like:
`- Build type: Release
CMake Warning at /usr/share/cmake-3.5/Modules/FindBoost.cmake:725 (message):
Imported targets not available for Boost version 106600
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindBoost.cmake:763 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.5/Modules/FindBoost.cmake:1332 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:31 (find_package)
-- Boost version: 1.66.0
-- Found the following Boost libraries:
--   iostreams
-- Found installed version of Eigen: /usr/lib/cmake/eigen3
-- Found required Ceres dependency: Eigen version 3.2.92 in /usr/include/eigen3
-- Found required Ceres dependency: glog
CMake Error at /usr/local/lib/cmake/Ceres/CeresConfig.cmake:88 (message):
Failed to find Ceres - Missing requested Ceres components: [SuiteSparse]
(components requested: [SuiteSparse]).  Detected Ceres version: 1.14.0
installed in: /usr/local with components: [EigenSparse,
SparseLinearAlgebraLibrary, SchurSpecializations, OpenMP, Multithreading].
Call Stack (most recent call first):
/usr/local/lib/cmake/Ceres/CeresConfig.cmake:390 (ceres_report_not_found)
CMakeLists.txt:32 (find_package)
CMake Error at CMakeLists.txt:32 (find_package):
Found package configuration file:
/usr/local/lib/cmake/Ceres/CeresConfig.cmake

but it set Ceres_FOUND to FALSE so package "Ceres" is considered to be NOT
FOUND.
-- Configuring incomplete, errors occurred!
See also "/home/tby/cartographer-master/CMakeFiles/CMakeOutput.log".
See also "/home/tby/cartographer-master/CMakeFiles/CMakeError.log".
`
and I searched for this ,I found the Suitesparse problem is fixed under Debian , but not under Ubuntu.
how could I solve this problem?

Hi,
have you tried sudo apt-get install libsuitesparse-dev and then rebuild Ceres? It should work on Ubuntu as well.
If you are using the version in Ubuntu that you installed with apt-get, then remove it with sudo apt-get remove and build it yourself instead.
 -G Ninja -DCXX11=ON  -DCMAKE_INSTALL_PREFIX=/usr/local/stow/ceres
ninja -j15
sudo ninja install
cd /usr/local/stow/
sudo stow ceres

Now you can rebuild Cartographer with cmake .. -G Ninja && ninja -j15.  Do not forget to clean-up you build directories before that.
You can actually build Cartographer without SuiteSparse. It will be slower though. To do that, just open CMakeLists.txt and replace the line find_package(Ceres REQUIRED COMPONENTS SuiteSparse) to find_package(Ceres REQUIRED).

Hi pifon2a ,
I must thank you for your concern the question at your first convinence.
I followed  your way but the terminal seems to hang up when i input
$ninja -15
[1/2] Building CXX object examples/CMakeFiles/nist.dir/nist.cc.o
the system seems very slow
and i start a new terminal and execute
$sudo ninja install
[1/3] Building CXX object examples/CMakeFiles/nist.dir/nist.cc.o
the system seems very slow

then all other shell cmd would not work properly
I replace the line in CMakeLists.txt like you said,and compiled with the shell line
$cmake ./CMakeLists.txt -G Ninja && ninja -j15
but the error infomation comes like below:
./CMakeLists.txt: 行 15: 未预期的符号 VERSION' 附近有语法错误 ./CMakeLists.txt: 行 15: cmake_minimum_required(VERSION 2.8.12)  # Ships with Ubuntu 14.04 (Trusty)'
I am not so familiar with linux system,i usually use windows.
thanks again!!!!

Hi @senses1 ,
could you please run cmake --version and copy-paste here the output. It might have happened that your cmake should be updated.
Also, please, do not run the next command after the previous has failed:
ninja -j15 this command compiles stuff
sudo ninja install this one copies the output of the previous step into the specified directory (DCMAKE_INSTALL_PREFIX).

the cmake version is 3.5.1 , and i uninstalledd it

The version of cmake is 3.5.1 ,I uninstalled it.
i download cmake 3.10.1 .
execute shell below:
$bootstrap
$make
$make install
but cmake could not install properly, and cmake command seems not to be found.

Hi @pifon2a,
I think ninja compile is a dead process
[1/2] Building CXX object  examples/CMakeFiles/nist.dir/nist.cc.o
another dead file is something like 3d_map...
I restart VM directly, I guess this way would not get pass.
Is there another way to compile ceres-solver without ninja?
BTW, I'm using Virtual Box : Ubuntu 16.04 on 1 Core 1.5GB RAM
Physical is Win7 SP1 on  i7 6500U ,4GB RAM Solid State Disk 120GB.

I only use 2D indoor SLAM , it is enough for me

You can do it just with cmake without ninja.
Ceres part:
git clone https://github.com/ceres-solver/ceres-solver.git
cd ceres-solver
mkdir build && cd build
cmake .. -G Ninja -DCXX11=ON -DCMAKE_INSTALL_PREFIX=/usr/local/stow/ceres
cd /usr/local/stow/
sudo stow ceres

Cartographer part:
git@github.com:googlecartographer/cartographer.git
cd cartographer
mkdir build
cd build
cmake ..
make -j10

Hi @pifon2a,
compile seems went well,but I ran
$sudo stow ceres
the terminal shows as below:
$ cmake .. -G Ninja -DCXX11=ON -DCMAKE_INSTALL_PREFIX=/usr/local/stow/ceres
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detected Ceres version: 1.14.0 from /home/tby/ceres-solver/include/ceres/version.h
-- No preference for use of exported Eigen CMake configuration set, and no hints for include directory provided. Defaulting to preferring an installed/exported Eigen CMake configuration if available.
-- Found installed version of Eigen: /usr/lib/cmake/eigen3
-- Found Eigen: /usr/include/eigen3 (found version "3.2.92")
-- Found Eigen version 3.2.92: /usr/include/eigen3
-- Enabling use of Eigen as a sparse linear algebra library.
-- Looking for dgemm_
-- Looking for dgemm_ - found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- A library with BLAS API found.
-- Found LAPACK library: /usr/lib/liblapack.so;/usr/lib/libf77blas.so;/usr/lib/libatlas.so
-- A library with BLAS API found.
-- Found AMD headers in: /usr/local/include
-- Found AMD library: /usr/local/lib/libamd.a
-- Found CAMD headers in: /usr/local/include
-- Found CAMD library: /usr/local/lib/libcamd.a
-- Found COLAMD headers in: /usr/local/include
-- Found COLAMD library: /usr/local/lib/libcolamd.a
-- Found CCOLAMD headers in: /usr/local/include
-- Found CCOLAMD library: /usr/local/lib/libccolamd.a
-- Found CHOLMOD headers in: /usr/local/include
-- Found CHOLMOD library: /usr/local/lib/libcholmod.a
-- Found SUITESPARSEQR headers in: /usr/local/include
-- Found SUITESPARSEQR library: /usr/local/lib/libspqr.a
-- Did not find Intel TBB library, assuming SuiteSparseQR was not compiled with TBB.
-- Found SUITESPARSE_CONFIG headers in: /usr/local/include
-- Found SUITESPARSE_CONFIG library: /usr/local/lib/libsuitesparseconfig.a
-- Found LIBRT library: /usr/lib/x86_64-linux-gnu/librt.so
-- Adding librt: /usr/lib/x86_64-linux-gnu/librt.so to SuiteSparse_config libraries (required on Linux & Unix [not OSX] if SuiteSparse is compiled with timing).
-- Did not find METIS library (optional SuiteSparse dependency)
-- Found SuiteSparse: TRUE (found version "4.0.2")
-- Found SuiteSparse 4.0.2, building with SuiteSparse.
-- Found CXSparse: /usr/local/include (found version "2.3.0")
-- Found CXSparse version: 2.3.0, building with CXSparse.
-- No preference for use of exported gflags CMake configuration set, and no hints for include/library directories provided. Defaulting to preferring an installed/exported gflags CMake configuration if available.
-- Failed to find installed gflags CMake configuration, searching for gflags build directories exported with CMake.
-- Failed to find an installed/exported CMake configuration for gflags, will perform search for installed gflags components.
-- Performing Test GFLAGS_IN_GOOGLE_NAMESPACE
-- Performing Test GFLAGS_IN_GOOGLE_NAMESPACE - Success
-- Found Gflags: /usr/include
-- Found Google Flags header in: /usr/include, in namespace: google
-- No preference for use of exported glog CMake configuration set, and no hints for include/library directories provided. Defaulting to preferring an installed/exported glog CMake configuration if available.
-- Failed to find installed glog CMake configuration, searching for glog build directories exported with CMake.
-- Failed to find an installed/exported CMake configuration for glog, will perform search for installed glog components.
-- Found Glog: /usr/include
-- Found Google Log (glog). Assuming glog was built with gflags support as gflags was found. This will make gflags a public dependency of Ceres.
-- Building with OpenMP.
-- Performing Test COMPILER_HAS_CXX11_FLAG
-- Performing Test COMPILER_HAS_CXX11_FLAG - Success
-- Looking for C++ include unordered_map
-- Looking for C++ include unordered_map - found
-- Performing Test HAVE_UNORDERED_MAP_IN_STD_NAMESPACE
-- Performing Test HAVE_UNORDERED_MAP_IN_STD_NAMESPACE - Success
-- Found unordered_map/set in std namespace.
-- Looking for C++ include memory
-- Looking for C++ include memory - found
-- Performing Test HAVE_SHARED_PTR_IN_STD_NAMESPACE
-- Performing Test HAVE_SHARED_PTR_IN_STD_NAMESPACE - Success
-- Found shared_ptr in std namespace using  header.
-- Performing Test CXX11_MATH_FUNCTIONS_FOUND
-- Performing Test CXX11_MATH_FUNCTIONS_FOUND - Success
Compiling Ceres using C++11.  This will result in a version
of Ceres that will require the use of C++11 in client code.
-- Failed to find Google benchmark library, disabling build of benchmarks.
-- Building Ceres as a static library.
-- No build type specified; defaulting to CMAKE_BUILD_TYPE=Release.
-- Enabling CERES_USE_EIGEN_SPARSE in Ceres config.h
-- Enabling CERES_USE_CXX11 in Ceres config.h
-- Enabling CERES_USE_OPENMP in Ceres config.h
-- Enabling CERES_HAVE_PTHREAD in Ceres config.h
-- Enabling CERES_HAVE_RWLOCK in Ceres config.h
-- Enabling CERES_STD_UNORDERED_MAP in Ceres config.h
-- Build the examples.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/tby/ceres-solver/build
tby@tby-VirtualBox:~/ceres-solver/build$ cd /usr/local/stow/tby@tby-VirtualBox:/usr/local/stow$ sudo stow ceresstow: ERROR: The stow directory stow does not contain package ceres

Oh, I am so sorry: you need two more commands for Ceres:
git clone https://github.com/ceres-solver/ceres-solver.git
cd ceres-solver
mkdir build && cd build
cmake .. -G Ninja -DCXX11=ON -DCMAKE_INSTALL_PREFIX=/usr/local/stow/ceres
make -j10
sudo make install
cd /usr/local/stow/
sudo stow ceres

I changed the cmake command like:
cmake .. -G "Unix Makefiles" -DCXX11=ON -DCMAKE_INSTALL_PREFIX=/usr/local/stow/ceres
make -j2
sudo make install
cd /usr/local/stow/
sudo stow ceres
and Trying.
But I have tried yesterday morning in ceres-solver-master , the compile process still not respond when it goto nist.cc.o

[100%] Linking CXX executable ../../../bin/ba_sparseschur_cxsparse_user_threads_test
[100%] Built target ba_sparseschur_cxsparse_user_threads_test
The terminal window show the last line like this and do not move on.
I think  make -j2 exhausted my laptop's resources.
The code compile should be under a very high performance PC?

@senses1, I do not know, we have a quite powerful hardware here. Try to remove -j* at all.

finally I compiled the cartographer,I found 2 Error , but still can not find which file to modify the situation  of not compile TEST funstions:
/usr/local/lib/libgmock_main.a(gmock_main.cc.o)：在函数‘RUN_ALL_TESTS()’中：
gmock_main.cc:(.text._Z13RUN_ALL_TESTSv[_Z13RUN_ALL_TESTSv]+0x5)：对‘testing::UnitTest::GetInstance()’未定义的引用
gmock_main.cc:(.text._Z13RUN_ALL_TESTSv[_Z13RUN_ALL_TESTSv]+0xd)：对‘testing::UnitTest::Run()’未定义的引用
collect2: error: ld returned 1 exit status
CMakeFiles/cartographer.transform.transform_test.dir/build.make:103: recipe for target 'cartographer.transform.transform_test' failed
make[2]: *** [cartographer.transform.transform_test] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/cartographer.transform.transform_test.dir/all' failed
make[1]: *** [CMakeFiles/cartographer.transform.transform_test.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2

在函数 ****中       means in function
未定义的引用       means undefined reference.

$make -k
but I wonder if this command would lead to a successful compile to key module?

Hi pifon2a,
Well I am disturbing you again for the 3 commented question listed up above.
Thanks again

Try to do 'make clean' and recompile. Gmock should link.

I've commented the gtest code compile command in CMakelist.txt and it passed.
And I am going to try cartographer.
Thank you you your help very much!!!

@pifon2a

I compiled cartographer-master
$cmake CMakeLists.txt
when it comes out error infomation like:
`- Build type: Release
CMake Warning at /usr/share/cmake-3.5/Modules/FindBoost.cmake:725 (message):
Imported targets not available for Boost version 106600
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindBoost.cmake:763 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.5/Modules/FindBoost.cmake:1332 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:31 (find_package)
-- Boost version: 1.66.0
-- Found the following Boost libraries:
-- iostreams
-- Found installed version of Eigen: /usr/lib/cmake/eigen3
-- Found required Ceres dependency: Eigen version 3.2.92 in /usr/include/eigen3
-- Found required Ceres dependency: glog
CMake Error at /usr/local/lib/cmake/Ceres/CeresConfig.cmake:88 (message):
Failed to find Ceres - Missing requested Ceres components: [SuiteSparse]
(components requested: [SuiteSparse]). Detected Ceres version: 1.14.0
installed in: /usr/local with components: [EigenSparse,
SparseLinearAlgebraLibrary, SchurSpecializations, OpenMP, Multithreading].
Call Stack (most recent call first):
/usr/local/lib/cmake/Ceres/CeresConfig.cmake:390 (ceres_report_not_found)
CMakeLists.txt:32 (find_package)
CMake Error at CMakeLists.txt:32 (find_package):
Found package configuration file:
/usr/local/lib/cmake/Ceres/CeresConfig.cmake

but it set Ceres_FOUND to FALSE so package "Ceres" is considered to be NOT
FOUND.
-- Configuring incomplete, errors occurred!
See also "/home/tby/cartographer-master/CMakeFiles/CMakeOutput.log".
See also "/home/tby/cartographer-master/CMakeFiles/CMakeError.log".
`
and I searched for this ,I found the Suitesparse problem is fixed under Debian , but not under Ubuntu.
how could I solve this problem?

build_isolated/ceres-solver/install/CMakeCache.txt 里找到EIGENSPARSE:BOOL=OFF ， 把OFF 改成ON


BUG: sparse.linalg: Fix deprecation warnings.

Attempting to use scipy.sparse.linalg.eigen.arpack or
scipy.sparse.linalg.dsolve.linsolve resulted in an incorrect
warning message.
Closes gh-15206.

I added this to the 1.8.0 milestone, meaning this should end up in the final 1.8.0 release.

Before and after...
Before (note the incorrect deprecation messages):
In [1]: import scipy.sparse.linalg as spla

In [2]: spla.eigen.arpack.ArpackNoConvergence
<ipython-input-2-92782cf841ae>:1: DeprecationWarning: Please use `arpack` from the `scipy.sparse.linalg` namespace, the `scipy.sparse.linalg.eigen` namespace is deprecated.
  spla.eigen.arpack.ArpackNoConvergence
Out[2]: scipy.sparse.linalg._eigen.arpack.arpack.ArpackNoConvergence

In [3]: spla.dsolve.linsolve.factorized
<ipython-input-3-015a515a0257>:1: DeprecationWarning: Please use `linsolve` from the `scipy.sparse.linalg` namespace, the `scipy.sparse.linalg.dsolve` namespace is deprecated.
  spla.dsolve.linsolve.factorized
Out[3]: <function scipy.sparse.linalg._dsolve.linsolve.factorized(A)>

After:
In [1]: import scipy.sparse.linalg as spla

In [2]: spla.eigen.arpack.ArpackNoConvergence
<ipython-input-2-92782cf841ae>:1: DeprecationWarning: The module `scipy.sparse.linalg.eigen.arpack` is deprecated. All public names must be imported directly from the `scipy.sparse.linalg` namespace.
  spla.eigen.arpack.ArpackNoConvergence
Out[2]: scipy.sparse.linalg._eigen.arpack.arpack.ArpackNoConvergence

In [3]: spla.dsolve.linsolve.factorized
<ipython-input-3-015a515a0257>:1: DeprecationWarning: The module `scipy.sparse.linalg.dsolve.linsolve` is deprecated. All public names must be imported directly from the `scipy.sparse.linalg` namespace.
  spla.dsolve.linsolve.factorized
Out[3]: <function scipy.sparse.linalg._dsolve.linsolve.factorized(A)>

The test failures in the Azure check scipy.scipy (Main Linux_Python_38_32bit_full) are not related to this PR.  The test summary is
=========================== short test summary info ============================
FAILED scipy/stats/tests/test_distributions.py::TestStudentizedRange::test_moment_against_mp[case_result1]
FAILED scipy/stats/tests/test_distributions.py::TestStudentizedRange::test_moment_vectorization
= 2 failed, 46218 passed, 2527 skipped, 924 xfailed, 11 xpassed in 1211.79s (0:20:11) =

I added this to the 1.8.0 milestone, meaning this should end up in the final 1.8.0 release.

I guess it also needs the backport tag, so I've added that now.  This is not a high priority fix, however, so there is no problem if it is bumped to 1.8.1.


I have released a fix to apply rawaccel at boot. I am unsure where to contact appropriately.

https://github.com/samfisherirl/RawAccel-Apply-at-Boot
simple program.

jeesus, tghats an autohotkey macro to start rawaccel.
way cleaner would be simply to load it via autorun at startup. that would also allow to run it befoire login which is nessesary for people scaling down very high dpi

It even has instructions to

create basic scheduled task to schedule "when i on login" and point to rawaccelboot.exe

while all you had to do was schedule the writer.exe settings.json  that comes with rawaccel :|

jeesus, tghats an autohotkey macro to start rawaccel.
way cleaner would be simply to load it via autorun at startup. that would also allow to run it befoire login which is nessesary for people scaling down very high dpi

from my experience, it requires clicking apply to work. not autorun

It even has instructions to

Seeing how there's such a high frequency of issues related to autoruns, perhaps there should be a video or GIF of a complete example within the main README for adding Raw Accel to Windows' shell:startup.
This would likely solve more future issues than the effort to produce the PR.

sorry, but using AHK is a hard no
and I agree Fuwn, updating the docs makes the most sense for now


Start redis-server only if it is available

It fixes open-telemetry/opentelemetry-ruby-contrib#36.

Hello, and thank you for your contribution!
We recently split Ruby instrumentation out into the opentelemetry-ruby-contrib repo.
This PR is related to instrumentation, so we'll need you to re-open it against opentelemetry-ruby-contrib. Sorry for the inconvenience!
To do that, you can:

Create a fork of opentelemetry-ruby-contrib and copy the git url
In your opentelemetry-ruby repo, run git remote add tmp-contrib <your-fork-git-url>
git push tmp-contrib your-branch-name
Open a new PR in contrib (feel free to just copy/paste your original PR description there)
Close your open PR in this repo with a comment that links to your new PR in contrib
Delete your tmp-contrib remote from opentelemetry-ruby (git remote rm tmp-contrib)
git clone your opentelemetry-ruby-contrib fork, check out your branch, and make all changes in that repo from now on!

Sorry again for the inconvenience, and thank you for contributing!

I'll do it. Thanks for the info, @plantfansam 🙇
https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/55


It's not working on touch devices.

Hi @irizariton, thanks for the notice. will make it work on touch devices next version

@irizariton for current version, it's work on touch devices, but you need to add a dragable="false" attribute on the image.For now, I won't publish a new version.


Title is the same when window is active and inactive

Describe the bug

The title of the app stays the same when inactive
Steps to reproduce the bug

Steps to reproduce the behavior:

Open XAML Controls Gallery
Click on an empty spot in the taskbar

Expected behavior

Title would be a lighter grey with the light theme
Actual behavior

Title is the same colour.
Screenshots

Version Info

Gallery version (found on Settings page):

<IP_ADDRESS>
Windows 10 version:

[ ] Insider Build (xxxxx)
[x] May 2019 Update (18362)
[ ] October 2018 Update (17763)
[ ] April 2018 Update (17134)
[ ] Fall Creators Update (16299)
[ ] Creators Update (15063)
[ ] Anniversary Update (14393)

Device form factor:

[x] Desktop
[ ] Mobile
[ ] Xbox
[ ] Surface Hub
[ ] IoT

Additional context

I agree, that for some apps this a desired behaviour, however if you look at apps that manage the border themself, for example Outlook, Visual Studio, VS Code or Spotify, you will notice that none of them behave that way.
All of those app preserve the colors even when they are not focused.
The question now is if XLC should change it or not, however I think that it is not unusal for an app to behave that way and not change the color of the title.

I think that it is not unusal for an app to behave that way and not change the color of the title.

@chingucoding @stmoy When is that ever a desired behaviour???
Oh and the title bar caption buttons are invisible! White on a white title bar.

I'll close this as it no longer applies to the current version of the XCG.

@gregwoo-microsoft I'm still seeing this issue.

Could you please post a screenshot? :)

https://user-images.githubusercontent.com/51363864/148634372-c7ee1c52-6c1b-4644-a290-3d07a9d89108.mp4

This seems to only occur in Windows 10. I can't repro this in Windows 11.
https://user-images.githubusercontent.com/90726278/149015882-446bb262-dc5a-4414-802e-a4cfde4ff06a.mp4

I can still see the bug in your video... @gregwoo-microsoft

My bad, I had misunderstood your issue as "Title bar" not the actual title itself. You are right, the title does not currently change when the XCG is inactive. What I meant to say with the video was that there is an active/inactive difference with the top right buttons of the window (light grey when inactive and darker grey when active).
Thanks for filing this issue @poopooracoocoo, I'll reopen it now. Please keep in mind though that this is not a top priority right now.

You're referring to #653 which relates to the caption buttons.

Thanks! I've closed #653 but I'll leave this one open since I can repro it.

This was fixed in #1293


Update OWNERS b/c @aaron-prindle is changing teams 🚢

Removing @aaron-prindle as an owner because he has moved on to
another team. Plus we're trying to clean up the OWNERS files so that we
can make more use of the automatic reviewer assignment

😿
/lgtm


New feature: Renovator

This removes two MCP utilities (page relocator and folder relocator) and replaces them with one shiny new tool: Renovator.
These changes also include a minor API change adding a few methods to the API surface.  Namely the function classes now offer wrappers to convert Java.util.functions and the lambda-based visitor classes now allow visitor lambdas which throw exceptions to halt the tree walking process.

Coverage decreased (-0.4%) to 40.479% when pulling 21ed06276a275aeb10b4d2aaafd5248ae6ad258e on feature/feature-1446-REORGANIZER into 71e98ec2e5d8eb660e9f33f8b4ae2ab18c040e12 on master.


Fixed  43438

https://issues.jenkins-ci.org/browse/JENKINS-43438

Codecov Report

Merging #97 into master will increase coverage by 0.01%.
The diff coverage is 60%.

@@            Coverage Diff             @@
##           master      #97      +/-   ##
==========================================
+ Coverage   59.63%   59.64%   +0.01%
==========================================
  Files          42       42
  Lines        3275     3281       +6
  Branches      535      536       +1
==========================================
+ Hits         1953     1957       +4
- Misses       1165     1167       +2
  Partials      157      157

Impacted Files
Coverage Δ

...dson/plugins/performance/PerformancePublisher.java
56.85% <100%> (ø)
:arrow_up:

...son/plugins/performance/parsers/ParserFactory.java
79.48% <50%> (-5.37%)
:arrow_down:

...dson/plugins/performance/PerformanceReportMap.java
38.02% <0%> (+0.7%)
:arrow_up:

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 6069945...8e1a054. Read the comment docs.


Rav 4755 nvl synapse support

All checks have failed please have a look.

All checks have failed please have a look.


added UMD support and create npm package file

This is a nice little module. :)  I've added support for AMD (requirejs), node and plain browser window globals. I've also added a package file so this could be published on npm.

Thanks for this. What I did was merge your changes into a new branch UMD and updated the package.json (hopefully correctly). The node version is great but I also wanted to keep the simplicity of the original... UMD is very JavaScript-y for beginners. :-)

What I did was merge your changes into a new branch UMD and updated the package.json (hopefully correctly)

It looks right, but the package hasn't been published. Do you have an account on npmjs?  https://www.npmjs.com/search?q=LootTable

I also wanted to keep the simplicity of the original... UMD is very JavaScript-y for beginners. :-)

@jotson it's true that it is slightly more complicated for beginners, but I would wager that most beginners are not modifying LootTable. They are likely just calling the API. In that case, there is no difference to them; they can still add a script tag to the page and call it as a window global.
Modern libraries/modules are adopting this pattern so the code is usable by more people with different setups.

published to npm as loot-table:  https://www.npmjs.com/package/loot-table


Disable Complex Arithmetic Updates Test in Jakarta Data TCK

The test for arithmetic updates (e.g., UPDATE Box SET length = length + ?1, width = width - ?1, height = height * ?2) should be disabled in the Jakarta Data TCK due to the inconsistent support for such operations across different NoSQL databases. NoSQL databases like MongoDB, Cassandra, Redis, Couchbase, and DynamoDB have varying capabilities and syntax, leading to potential interoperability issues and making it difficult to implement a standardized and reliable test.
Additionally, NoSQL databases often struggle with arithmetic operations involving parentheses in update statements, further complicating the implementation of these tests. Disabling this test will help maintain the consistency and reliability of the Jakarta Data TCK.

We can exclude arithmetic in updates for NoSQL databases that aren't capable, but the changes here are too broad and allow many different operations to raise UnsuportedOperationException. See #806 for a more precise solution that only excludes the operations with arithmetic in update, and doesn't lose other testing or allow UnsuportedOperationException in other parts of the test that should still need to work.

@njr-11 Once the method has the scenario to test with parenthesis, which I cannot do, why should I have a partial test working?

"This method also tests the addition, subtraction, and multiplication operators."

What we can do is break this test into two smaller ones.
What I do have in mind: As soon as I finish with these common tests, I would love to create a test that only makes sense to NoSQL, mainly because we are handled with two different databases, and it is natural to have different behaviors sometimes.
What do you think?

@njr-11 Once the method has the scenario to test with parenthesis, which I cannot do, why should I have a partial test working?

To preserve TCK coverage for the aspects of the spec (such as JDQL without a WHERE clause) that NoSQL databases are still required to be capable of.

What we can do is break this test into two smaller ones.
What I do have in mind: As soon as I finish with these common tests, I would love to create a test that only makes sense to NoSQL, mainly because we are handled with two different databases, and it is natural to have different behaviors sometimes.
What do you think?

The same applies to all of these exclusions for NoSQL non-capabilities that are being discovered after the 1.0 release. It's a good idea to have improvements like this in a 1.1 or 2.0 release. I think I have mentioned this before. But we are working on 1.0.1 now where it is inappropriate to be doing any refactors or even introducing new tests.  In 1.0.1, we should make only the necessary exclusions to accommodate the capabilities of NoSQL and not go beyond it by unnecessarily removing other assertions and coverage that NoSQL still needs to support.


Fix node grouping pipeline and add reliablity tests

This is disabled for now because it creates some issues with text grouping. It's required to reduce the size of the axt

@giordano-lucas can we close this issue or not yet?


GfsObjectService closes repository without incrementing useCnt during construction

GfsObjectService during close calls a close on the reader, inserter and repo. However during construction only object reader and object inserter are created. For the repo I think that an incrementOpen should be called during construction so close can work as expected.
  @Override
  public synchronized void close() {
    if(!closed) {
      closed = true;
      reader.close();
      inserter.close();
      repo.close();
    }
  }

  GfsObjectService(final Repository repo) {
    this.repo = repo;   // should be updated to      this.repo = repo.incrementOpen();
    this.reader = repo.newObjectReader();
    this.inserter = repo.newObjectInserter();
  }

Please let me know if you would like me to create a PR for this.

Just as a side note
this.repo = repo.incrementOpen(); does not work, as incrementOpen() is void.
How about changing
this.repo = repo
to
repo.incrementOpen();
this.repo = repo;


✨  Feature : Contact section not working for unregistered user

Describe  feature .
The contact form should work despite the user sending request is a registered user or not.
It is not intended that any user who is not a platform user cannot ask questions.
So it should be allowed
Additional context

Describe feature .
The contact form should work despite the user sending request is a registered user or not.
It is not intended that any user who is not a platform user cannot ask questions.
So it should be allowed
Additional context

Thanks for your feature request. We will consider it.


This library is not upgraded to Swift 3.0?

We're currently in the process of rewriting this library. The rewrite will result in a clean Swift 3 library with all the features currently available as well as a few new features. Sorry for the delay!

for now if you need Swift 3 capabilities. The feature/restructure branch should work for you if you do a manual install


Fix FormatException during startup => Use InvariantCulture when calling Rect.ToString()

Use InvariantCulture when calling Rect.ToString() so that bounds are always persisted in invariant format: "x,y,width,height" instead of "x;y;width;height" (format depends on current culture)
Fixes System.FormatException when calling Rect.Parse(..) during app startup in LoadWindowLayout() on my machine.

Thanks for the fix!
So you're using the master instead of the latest release? Naughty ;)


Test method in zafira couldn't belong to different test suites

This issue arises when at least one of the test methods is running in different suites. In this case, these methods will be included in the latest finished test suite.

By design.