mount: add virtio-fs mount driver

Mounting a virtio-fs filesystem is similar to 9pfs.
Signed-off-by: Stefan Hajnoczi<EMAIL_ADDRESS>This is a preview of the virtio-fs shared file system.  This pull request is the kata-agent piece needed for virtio-fs (https://virtio-fs.gitlab.io/).
Please see the related kata-runtime pull request here: https://github.com/kata-containers/runtime/pull/1016.

thanks @stefanha, please file an issue and add fixes in your commit message, for example
fixes #99999

lgtm.
Just needs the Fixes comment as @devimc mentioned. The Travis logfile points you at

https://github.com/kata-containers/community/blob/master/CONTRIBUTING.md#patch-format

Or the direct:

https://github.com/kata-containers/community/blob/master/CONTRIBUTING.md#main-patch

ping @stefanha

/test

@stefanha virtio-fs is not released yet, but as discussed with the community, Kata wants some early support for it, therefore I think you could remove the WIP label on this PR in order to get it merged.
Moreover, except the WIP label, only Power8 is failing, which should not be a blocker to get this PR merged anyway. @jodh-intel @grahamwhaley any objection about this?

@sboeuf I think Power8 CI has been  failing for this repo: https://github.com/kata-containers/agent/pull/468
@nitkon Can confirm.
I think we can merge this PR once wip label is removed.


log_error() with multiple arguments

I am calling log_error() with multiple arguments. The issue is that  does not properly handle inet_ntoa().
static int udp_to_tun(int sock, int tun, char *buf, size_t buflen) {
        struct iphdr *iph;
        struct sockaddr_in orig_src;
        char saddr[32], daddr[32];
        ssize_t pktlen = sock_recv_packet(sock, buf, buflen, &orig_src);
        if( pktlen < 0 )
                return 0;

        iph = (struct iphdr *)buf;

        log_error("received packet for %s from %s (%s)\n",
                        inaddr_str(iph->daddr, daddr, sizeof(daddr)),
                        inaddr_str(iph->saddr, saddr, sizeof(saddr)),
                        inet_ntoa(orig_src.sin_addr));

i get the following output:
Jun 07 19:22:09 ip-192-168-16-146.inf.ise.com flanneld[10012]: received packet for <IP_ADDRESS> from <IP_ADDRESS> (<IP_ADDRESS>)

However, if I fix the code to:
        log_error("received packet for %s ",
                        inaddr_str(iph->daddr, daddr, sizeof(daddr)));
        log_error("from %s ", inaddr_str(iph->saddr, saddr, sizeof(saddr)));
        log_error("via %s\n", inet_ntoa(orig_src.sin_addr));

it works as expected, i.e. prints public IP address of a remote peer:
Jun 07 19:28:54 ip-192-168-16-146.inf.ise.com flanneld[10316]: received packet for <IP_ADDRESS> from <IP_ADDRESS> via <IP_ADDRESS>

where:

<IP_ADDRESS> remote subnet
<IP_ADDRESS> remote peer public ip

The problem is not with log_error but with the fact that inet_ntoa uses a static buffer and inaddr_str uses inet_ntoa (so the static buffer is overwritten). Follow the example and use inaddr_str instead of inet_ntoa and it'll work fine.


The condition that detects webpack 4 is broken

Library Affected:
<EMAIL_ADDRESS>Browser & Platform:
macOS, webpack 4.44, in a yarn 1 monorepo with nextjs
Issue or Feature Request Description:
I use Webpack ^4.44 and I noticed this condition doesn't work as expected:
File: workbox-webpack-plugin/build/generate-sw.js:242
apply(compiler) {
    this.propagateWebpackConfig(compiler); // webpack v4/v5 compatibility:
    // https://github.com/webpack/webpack/issues/11425#issuecomment-690387207

    if (webpack.version.startsWith('4.')) { // <<<<<<<<<<<<<<<< THIS
      compiler.hooks.emit.tapPromise(this.constructor.name, compilation => this.addAssets(compilation).catch(error => compilation.errors.push(error)));
    } else {

I was getting a weird error which did not happen with webpack 5, so figured to patch it to be always true for webpack 4 and it worked! So I think the if is broken in some cases.

That's very strange; based on the<EMAIL_ADDRESS>source code, as well as our test suite, I'm not sure why that wouldn't work.
What version of node are you using? If you patch the code to add a console.log(webpack.version) before that statement, what is logged? And is there any exception thrown?

I'm going to close this for now, as it's not something that we can reproduce. If you can still reproduce the issue, and can get back to me with those additional details, we can revisit.


Adapter for E-Mail Service with mocked response

Current coverage is 96.96% (diff: 100%)

Merging #7 into master will increase coverage by 0.12%

@@             master         #7   diff @@
==========================================
  Files            23         24     +1
  Lines           348        362    +14
  Methods          42         44     +2
  Messages          0          0
  Branches         26         26
==========================================
+ Hits            337        351    +14
  Misses           11         11
  Partials          0          0

Powered by Codecov. Last update 34b871a...f27f34c


Release Charts

Please create gh-pages with chart release

It doesn't seem to work) I'm not very good at github actions


feat(graph): Added reconstruct itinerary.

Coverage remained the same at 100.0% when pulling adaca97947d66d721f9ef215cb1f7b04e029c655 on reconstruct-itinerary into 702e6c365c55d14c5d05a66071ccaed6fb73c917 on master.


Extend editor to handle cell creation

I'm using custom editors heavily and I'd like easier control over the initial creation of the cell. At the moment, I'm using the updateTable option to customise the cell creation and then removing the updateTable function afterwards. It would be nice if the editor had an additional function: initializeCell(el, cell, x, y, value)  which could be called in createCell after setting the innerHTML to the value.
In case it's helpful: my use case is that I have a column that can have a few different types of data in it. E.g. a checkbox, a date etc. I've got this working using a custom editor which locates a specific editor for the cell and calls the appropriate openEditor, closeEditor, setValue etc. so this is just an improvement rather than a need.
I'd be happy to submit a PR for this - I wanted to ask your opinion on the idea first.

Yes, you are absolutely right. I am going to add that in the next release.

Yes, you are absolutely right. I am going to add that in the next release.

Hello @paulhodel  can you also take a look here: https://github.com/paulhodel/jexcel/issues/652? You have examples there and you promised you will do that :)
Thanks!

I'm struggling with a way to have the default date on a calendar input type fall within its valid range (legal employment today - 13 years to today - 65 years) when its first opened.    I tried messing with column options for value and onopen to no avail.
I'm wondering if initializeCell is something you were thinking of for when the user first opens an editor on the cell or if it's something you do when when the sheet first renders (thinking about it UpdateTable makes me think it's the later).

That has been included on the Pro distribution and should go to the CE eventually.
https://jexcel.net


Pay someone - Add receipt placeholder is shown when receipt is not allowed when paying someone

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

Version Number: 1.4.69-2
Reproducible in staging?: Y
Reproducible in production?: N
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:

Go to staging.new.expensify.com
Go to FAB > Pay someone.
Select a user.
Pay them.
Go to transaction thread.

Expected Result:
Add receipt placeholder should not appear in the transaction thread because "Pay someone" does not allow receipt to be added in the first place.
Actual Result:
Add receipt placeholder appears in transaction thread after paying someone (send money) when there is no option to add receipt in the first place.
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
https://github.com/Expensify/App/assets/115492554/ed48d33f-2377-4565-af30-a743d098e184

View all open jobs on GitHub

@trjExpensify I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors.

We think this issue might be related to the #collect project.

Production
https://github.com/Expensify/App/assets/115492554/6ec75617-9f45-454c-af84-881a3b6b4a31

Proposal
Please re-state the problem that we are trying to solve in this issue.
Add receipt placeholder is shown when receipt is not allowed when paying someone
What is the root cause of that problem?
https://github.com/Expensify/App/blob/20bd1140e14c220af3704c81cd1cc69bbe052d45/src/components/ReportActionItem/MoneyRequestView.tsx#L331
What changes do you think we should make in order to solve the problem?

We can get the type from parentReportAction which is pay in this case and use it here
canEditFieldOfMoneyRequest
We can also create a utility function for future cases.
Pseudocode
 const isPay = parentReportAction?.originalMessage?.type
 const shouldShowReceiptEmptyState = !isPay && !hasReceipt && !isInvoice && (canEditReceipt || isAdmin || isApprover);

What alternative solutions did you explore? (Optional)

Proposal
Please re-state the problem that we are trying to solve in this issue.
Add receipt placeholder is shown when receipt is not allowed when paying someone
What is the root cause of that problem?
https://github.com/Expensify/App/blob/20bd1140e14c220af3704c81cd1cc69bbe052d45/src/components/ReportActionItem/MoneyRequestView.tsx#L331
What changes do you think we should make in order to solve the problem?

We can get the type from parentReportAction which is pay in this case and use it here
https://github.com/Expensify/App/blob/20bd1140e14c220af3704c81cd1cc69bbe052d45/src/components/ReportActionItem/MoneyRequestView.tsx#L331
We can also create a utility function for future cases.
Pseudocode
 const isPay = parentReportAction?.originalMessage?.type === 'pay'
 const shouldShowReceiptEmptyState = !isPay && !hasReceipt && !isInvoice && (canEditReceipt || isAdmin || isApprover);

We should also add this check here
https://github.com/Expensify/App/blob/20bd1140e14c220af3704c81cd1cc69bbe052d45/src/components/ReportActionItem/MoneyRequestView.tsx#L339-L344
We can hide the above part (total + separator) to make the view similar to invoices
What alternative solutions did you explore? (Optional)

This is related to the shouldShowEmptyReceiptState logic implemented in https://github.com/Expensify/App/pull/37813
I think it makes sense to not show the receipt empty state if the IOU is already paid. cc: @cead22 @JmillsExpensify for confirmation on what the expected UI/UX should be here.

I also don't think this should necessarily block the deploy.

If the receipt can't be added, then I agree we shouldn't show the empty state (cc @Krishna2323 @sobitneupane)

Thanks

PR is in review, and close!

The PR has been approved and merged

Chill Melv, awaiting a deploy.

Apols, I've been OoO. Payment summary as follows:

$250 to @sobitneupane for the C+ review
$250 to @Krishna2323 for the fix

@sobitneupane go ahead and request, @Krishna2323 I've sent you an offer.

Paid!

Regression Test Proposal:

Go to FAB > Pay someone > Enter amount > Select user > Submit
Open the paid IOU request > Verify Add receipt placeholder is not shown
Open any paid or approved IOU report in paid policy that doesn't have any receipt
Verify Add receipt placeholder is not shown

Do we agree 👍 or 👎

$250 approved for @sobitneupane. Reopeninf for the decision on the regression test.

Regression test created, closing again.


[BEAM-8151] Swap to create SdkWorkers on demand when processing jobs

Most of this PR is about removing usage of num_workers and all of its plumbing all over the place.
We also simplify down to use a single worker queue and thread pool for both processing of bundles and progress/split requests. Since the process bundle requests are never delayed, we can remove the lull monitoring for scheduled but unstarted bundles.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

R: @acrites
CC: @robertwb @aaltay
Favoring this PR if tests pass over the much worse #10091

Long overdue cleanup. Thanks!


refind: 0.11.2 -> 0.11.3

Motivation for this change
New update, changes here.
Things done

✔ Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

✔ NixOS
⬜ macOS
⬜ other Linux distributions

❌ Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
❌ Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
❌ Tested execution of all binary files (usually in ./result/bin/)
✔ Determined the impact on package closure size (by running nix path-info -S before and after)
✔ Fits CONTRIBUTING.md.

Test of bin/ not done as I am unsure how they even acted beforehand.
What was tested was updating my local install of rEFInd on my computers.
/nix/store/a40ynmfd0r63n1qasjwnsmm696jc53sg-refind-0.11.2          31488168
/nix/store/4gzw8kwx3dkgndc3yj5999w1gbzyvj7q-refind-0.11.3          30824472

-663696.

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: refind
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: refind
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: refind
Partial log (click to expand)
shrinking RPATHs of ELF executables and libraries in /nix/store/s623zmfddmxc9xm9vxf7s82xy5vas24g-refind-0.11.3
strip is /nix/store/fzsyclvxz1p2ia83caniy93v8cwarg0j-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/s623zmfddmxc9xm9vxf7s82xy5vas24g-refind-0.11.3/bin
patching script interpreter paths in /nix/store/s623zmfddmxc9xm9vxf7s82xy5vas24g-refind-0.11.3
/nix/store/s623zmfddmxc9xm9vxf7s82xy5vas24g-refind-0.11.3/bin/refind-mvrefind: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/8i8hqj3hg3axirbp7f990s1x50mnmq73-bash-4.4-p23/bin/bash"
/nix/store/s623zmfddmxc9xm9vxf7s82xy5vas24g-refind-0.11.3/bin/refind-mkrlconf: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/8i8hqj3hg3axirbp7f990s1x50mnmq73-bash-4.4-p23/bin/bash"
/nix/store/s623zmfddmxc9xm9vxf7s82xy5vas24g-refind-0.11.3/bin/refind-install: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/8i8hqj3hg3axirbp7f990s1x50mnmq73-bash-4.4-p23/bin/bash"
/nix/store/s623zmfddmxc9xm9vxf7s82xy5vas24g-refind-0.11.3/bin/refind-mkfont: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/8i8hqj3hg3axirbp7f990s1x50mnmq73-bash-4.4-p23/bin/bash"
checking for references to /build in /nix/store/s623zmfddmxc9xm9vxf7s82xy5vas24g-refind-0.11.3...
/nix/store/s623zmfddmxc9xm9vxf7s82xy5vas24g-refind-0.11.3


Fix CONTRIBUTING.md typos

Fix the directory name of cloned repository ui-router/ng2.

Merged manually


drivers: uart: Properly configure pins in NRF UARTE power management

Configure pins before enabling and after disabling UARTE through
power management functions.
Signed-off-by: Mieszko Mierunski<EMAIL_ADDRESS>Pins without proper prior configuration could result in undefined behaviour of UARTE at start
Fixes #16861

@endian-benjamin Please check if provided patch fixes your issue, as I was unable to reproduce it locally

@Mierunski Thanks, my schedule prevents me from testing the patch immediately but the changes makes perfect sense.


Onboarding Request

Your Twitch username
TheLonleyOlive

My spotify is also TheLonleyOlive @SaxyPandaBear

What is the email address? That's what I need


sbd: init at 1.37

Description of changes
The official website tigerteam.se (not more available) had also latest version 1.37, that should be the version used in Kali Linux. Not sure if a good idea could be to upload this latest version to the packetstormsecurity website, that was the main website where the devs of sbd uploaded the different versions of sbd (except the last one).

Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

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

[ ] sandbox = relaxed
[ ] sandbox = true

[X] Tested, as applicable:

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

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

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

[X] Fits CONTRIBUTING.md.

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

what's wrong with just using netcat?

the unix and darwin builds are basically identical and windows isn't listed in supported platforms so just build with unix target.
{ lib
, stdenv
, fetchurl
}:

let
  archive-url = "https://web.archive.org/web/20220626230420/";
in
stdenv.mkDerivation (finalAttrs: {
  pname = "sbd";
  version = "1.37";

  src = fetchurl {
    url = "${archive-url}http://www.tigerteam.se/dl/sbd/sbd-${finalAttrs.version}.tar.gz";
    hash = "sha256-Qt5Q3PynV80DAXxuVqx6L4dTKgjnBDQjzSDZEf1kX10=";
  };

  makeFlags = [
    "PREFIX=${placeholder "out"}"
    "CC=cc"
  ];

  buildFlags = [
    "unix"
  ];

  meta = with lib; {
    description = "Netcat-clone, portable, offers strong encryption - features AES-128-CBC + HMAC-SHA1 encryption, program execution, choosing source port, continuous reconnection with delay and more";
    mainProgram = "sbd";
    homepage = "${archive-url}http://www.tigerteam.se/dl/sbd";
    license = licenses.gpl2Plus;
    maintainers = with maintainers; [ d3vil0p3r ];
    platforms = platforms.unix;
  };
})

still not sure how this is better than netcat -- i'm not going to merge this. also just saw the matrix discussion on the review requests channel.

still not sure how this is better than netcat -- i'm not going to merge this. also just saw the matrix discussion on the review requests channel.

As you wish, I can also close this PR. Let me know.

@a-n-n-a-l-e-e netcat has not encryption (and authentiication controls) so in an untrustworthy network the usage of vanilla netcat could be problematic. Unlike netcat, sbd offers some encryption on data flow. So, this is one use case. I understand the discussion on Matrix but I work in the InfoSec field so I understand the needs of a pentester, architect, blue teamer wherease people not working in this field cannot understand, mostly because InfoSec field is very huge. Feel free to tell your point, if you think it is a bad idea, I can close the PR.

you also have a PR for https://github.com/NixOS/nixpkgs/pull/288104 which seems to be a slightly modified version of sbd in this PR. not sure why both are necessary.


Emit reconnection events and intervals

Necessary for https://trello.com/c/BkIGjcNX/36-chat-countdown-to-reconnections

@connor4312, thanks for your PR! By analyzing the history of the files in this pull request, we identified @SimonSchick and @JamyDev to be potential reviewers.


Update MD file on new branch 2017-11-13_19-23-29

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestRef1.md
:white_check_mark:Succeeded

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


Text changes

5 areas where I changed or removed text in the demo.

[Current coverage][cc-pull] is 58.82%

Merging [#66][cc-pull] into [master][cc-base-branch] will not change coverage

@@             master        #66   diff @@
==========================================
  Files             3          3
  Lines            34         34
  Methods           7          7
  Messages          0          0
  Branches          4          4
==========================================
  Hits             20         20
  Misses           14         14
  Partials          0          0

Powered by Codecov. Last updated by [cb41258...79bd706][cc-compare]
[cc-base-branch]: https://codecov.io/gh/watson-developer-cloud/tone-analyzer-nodejs/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/watson-developer-cloud/tone-analyzer-nodejs/compare/cb412589498f46f7bba893f695fea3d17711c3a4...79bd706206a66427206273f7d892e29107d1a4b5
[cc-pull]: https://codecov.io/gh/watson-developer-cloud/tone-analyzer-nodejs/pull/66?src=pr


Mouse button error

In Inputs/MouseCursor.ts line 116 there is a minus sign where there should be an equals.
This might be preventing the detection of mouse buttons.

This has been fix and updated in the 1.2 branch :)


object meshing bug

Hi, I've brought in the changes and I'm encountering an object meshing bug. Occasionally an object will just appear at local position 0, 0, 0 (so it follows you around). When this happens, placing an object of that type results in no object thin instance being placed inside the placed block position (so I'm theorising the object at 0, 0, 0 is lots of the object stacked on top of each other). I've encountered this on both babylon 5.14.1 and 5.25.0.

I know there were changes as a result of changes to babylon internals, perhaps this is related.
I've also noticed now when I first open the world, object meshes briefly flash visible on the screen (also at 0, 0, 0 local I think). This isn't such a big deal but may also be related. Unsure when the thin instances are placed at the correct position, if there's a gap that could explain the brief flashing.

Hmm, I've not seen either of these. Can you share the code you're using to create the mesh you're using, and the code where you register it as an object block?

I've been able the object at local 0,0,0 in stress:

With the following code:

import { Engine } from 'noa-engine'
// registration
import atlasURL from '../textures/terrain_atlas.png'
import tallgrass from '../textures/tallgrass.png'

import { Mesh, PBRMaterial, PlaneBuilder, Texture } from '@babylonjs/core'

var noa = new Engine({
    debug: true,
    showFPS: true,
    // inverseY: true,
    chunkSize: 48,
    chunkAddDistance: [1, 1],
    playerStart: [0, 10, 0],
    playerAutoStep: true,
})

noa.registry.registerMaterial('grass', { textureURL: atlasURL, atlasIndex: 0 })
noa.registry.registerMaterial('g_dirt', { textureURL: atlasURL, atlasIndex: 1 })
noa.registry.registerMaterial('dirt', { textureURL: atlasURL, atlasIndex: 2 })
noa.registry.registerMaterial('stone', { textureURL: atlasURL, atlasIndex: 3 })
noa.registry.registerMaterial('stone2', { textureURL: atlasURL, atlasIndex: 4 })
noa.registry.registerMaterial('cloud', { textureURL: atlasURL, atlasIndex: 5 })
noa.registry.registerMaterial('seethrough', { textureURL: atlasURL, atlasIndex: 6, texHasAlpha: true })

var id = 1
var dirt = noa.registry.registerBlock(id++, { material: 'dirt' })
var grass = noa.registry.registerBlock(id++, { material: 'grass' })
var stone = noa.registry.registerBlock(id++, { material: 'stone' })
var stone2 = noa.registry.registerBlock(id++, { material: 'stone2' })
// var cloud = noa.registry.registerBlock(id++, { material: 'cloud', opaque: false })
// var seethrough = noa.registry.registerBlock(id++, { material: 'seethrough', opaque: false })
var centrecross = noa.registry.registerBlock(id++, {
    blockMesh: getCentreCrossModel(noa, tallgrass),
    opaque: true,
    solid: true,
    onCustomMeshCreate: null,
})

function getCentreCrossModel(noa, tex) {
    const scene = noa.rendering.getScene()

    const plane1 = PlaneBuilder.CreatePlane(
        `BlkMdl1`,
        {
            size: 1,
            sideOrientation: Mesh.DOUBLESIDE,
        },
        scene
    )
    plane1.isPickable = false
    plane1.rotation.x = Math.PI
    plane1.position.y = 0.5
    plane1.bakeCurrentTransformIntoVertices()
	plane1.setEnabled(false)

    const plane2 = PlaneBuilder.CreatePlane(
        `BlkMdl2`,
        {size: 1, sideOrientation: Mesh.DOUBLESIDE},
        scene
    )
    plane2.isPickable = false

    plane2.rotation.y = Math.PI / 2
    plane2.rotation.z = Math.PI
    plane2.position.y = 0.5
    plane2.bakeCurrentTransformIntoVertices()
	plane2.setEnabled(false)

	const mat = new PBRMaterial(`BlockModelMeshMat`, scene)
    const texture = new Texture(tex, scene, null, null, 1)
    mat.unlit = true
    texture.hasAlpha = true
    mat.albedoTexture = texture
    mat.freeze()

    plane1.material = mat
    plane2.material = mat

    const mergedMesh = Mesh.MergeMeshes([plane1, plane2], true, false, null, false, true)
	mergedMesh.isPickable = false
	plane1.dispose()
	plane2.dispose()

    return mergedMesh
}

// worldgen
var decideVoxel = (x, y, z, ht, clo, chi, pillar) => {
    let id = 1+Math.floor(Math.random()*4)
    // if (Math.random() < 0.00002) {
        // id = 5
    // }
    if (y < ht) {
        return id
    }
    if (y < ht + pillar) return id
    if (y > clo && y < chi) return id

    if (y < ht+1 && Math.random() < 0.0002) {
        return 5
    }

    return 0
}
noa.world.on('worldDataNeeded', async (requestID, data, cx, cy, cz) => {
    await waitMs(1000)
    for (var i = 0; i < data.shape[0]; i++) {
        var x = cx + i
        for (var k = 0; k < data.shape[2]; k++) {
            var z = cz + k
            var ht = Math.sqrt(x * x + z * z) / 100
            var a = noise(x, 150)
            var b = noise(z + 50, 140)
            var c = noise(x - z - 50, 120)
            ht += 2 * a + b + c
            var pillar = (Math.random() < 0.002) ? 5 : 0
            var clo = 39 + 2 * (b - c)
            var chi = 35 + 2 * (a - b)
            for (var j = 0; j < data.shape[1]; j++) {
                var y = cy + j
                var id = decideVoxel(x, y, z, ht, clo, chi, pillar)
                data.set(i, j, k, id)
            }
        }
    }
    // tell noa the chunk's terrain data is now set
    noa.world.setChunkData(requestID, data)
})

async function waitMs(ms) {
	return new Promise(((resolve, reject) => {
		setTimeout(() => {
			resolve()
		}, ms)
	}))
}

add the following texture:

to repro just fly backwards on first load. you might have to do it a few times to get it to repro

https://streamable.com/cohlbf

Hey, thanks very much for the complete repro steps. This was really thorny, it seems to have been a timing issue with Babylon internals, which depended on the timing of the call to mat.freeze() (but only in the case of PBR materials).
I've pushed a fix that seems to resolve it - can you check? I was only really able to reproduce the issue sporadically, so it's hard to be sure about a fix.

Thanks for looking into it. It's always the race conditions that get you 😅
Seems to fix it for me as well
something to consider: it could be good to lock to a specific babylon version in both noa and the examples (or at least only allow patch upgrades with ~). An awful amount of things seem to break with babylon updates

Thanks for checking! Let's hope this is the last we see of this one...


Create a PR to sign ICLA

Describe your changes
Related issue number or link (ex: resolves #issue-number)
Checklist before opening this PR (put x in the checkboxes)

[ ] This PR does not contain plagiarism

don’t copy other people’s work unless you are quoting and contributing it to them.

[ ] I have signed off on all commits

signing off (ex: git commit -s) is to affirm that commits comply DCO. If you are working locally, you could add an alias to your gitconfig by running git config --global alias.ci "commit -s".

I was trying to sign the ICLA, and I followed this guide to create a PR to sign it, but it seems like I forked wrong repo.
Sorry for interruption.


Supporting Arducam USB pi camera

Hello
Just wondered whether there is any support or any users who have used the Arducam’s USB camera family. Based on the 1/2.8” Sony IMX291 image sensor? https://thepihut.com/products/wide-angle-1080p-uvc-compliant-usb-camera-module-with-metal-case
Any ideas on how and if I could get this working if I was to purchase one?

I've ordered one of these cams as well. Mark McIntyre has an ALLSKY branch that supports IMX291 IP cams but not IMX291 USB Web cams.
I'm going to try using VLC to create a stream, so that it appears as an IP cam. If that doesn't work, I will be begging for someone to add USB web cams to Capture.cpp

I have the IP cam version too which I have now used for meteor detection on the Pi, but given the quality I'd have liked to have incorporated this ace set up from Thomas with the ability to use that cam which is just superb

@spacetrace1982  I am using fswebcam and capturing jpegs from the USB camera. I am currently just using a cron job to save an image every minute to create a time-lapse. I don't know if there is a way to use fswebcam instead of raspistill (what the RaspiHQ cam uses) to capture images and control the camera in Allsky. I imagine that Thomas has neither the time nor the inclination to support more and more cameras.

I might purchase one of those cameras at some point to test them. In the meantime if anyone was interested at taking a crack at it, you could modify the capture_RPiHQ.cpp file and more specifically this line https://github.com/thomasjacquin/allsky/blob/master/capture_RPiHQ.cpp#L156 (and any other mention of raspistill). I understand fswebcam probably doesn't have the same arguments as raspistill but that's a good starting point. And then recompile the code by running make capture_RPiHQ.

Thanks @thomasjacquin  I'm capturing a time-lapse with the Arducam tonight, to get a baseline for settings and then will give swapping Raspistill calls a shot In capture_RPIHQ.cpp over the next few nights. Thanks again for Allsky!

@spacetrace1982 @thomasjacquin  I've made some progress, in that I can run a capture script and control the settings of the camera using usbwebcam. Basically usbwebcam is using the v4l2 driver and you could also use VLC or player to capture using the same driver.
Here is a controls list for the camera:
brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=100
power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=1
white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=156 value=156 flags=inactive
exposure_auto_priority 0x009a0903 (bool)   : default=0 value=0
My nighttime capture script looks like this:
`#!/bin/bash
DATE=$(date +"%Y%m%d%H%M")
fswebcam -p MJPEG -r 1280x720 --no-banner --frames 300 set gain=50 set exposure_auto=0 set exposure-absolute=2500  /home/pi/allsky/webcamcap/$DATE.jpg
`
and then I am running a cron job to capture an image every minute.
The next step will be to attempt to replace raspistill with usbwebcam in capture_RPiHQ.cpp

I replied all instances of raspistill with fswebcam in capture_RPiHQ.cpp.
when I try to compile I get the following error:
pi@allsky:~/allsky $ make capture_RPiHQ cc  capture_RPiHQ.cpp -o capture_RPiHQ -Wall -Wno-psabi -g -D_LIN -D_DEBUG    -lpthread  -DGLIBC_20  -lASICamera2 -I/usr/include/libusb-1.0 -lusb-1.0 /usr/bin/ld: cannot find -lASICamera2 collect2: error: ld returned 1 exit status make: *** [Makefile:60: capture_RPiHQ] Error 1
any ideas?

I replaced all instances of raspistill with fswebcam in capture_RPiHQ.cpp.
when I try to compile I get the following error:
pi@allsky:~/allsky $ make capture_RPiHQ cc capture_RPiHQ.cpp -o capture_RPiHQ -Wall -Wno-psabi -g -D_LIN -D_DEBUG -lpthread -DGLIBC_20 -lASICamera2 -I/usr/include/libusb-1.0 -lusb-1.0 /usr/bin/ld: cannot find -lASICamera2 collect2: error: ld returned 1 exit status make: *** [Makefile:60: capture_RPiHQ] Error 1
any ideas?

Hey not sure if you maanaged to fix this but using the following will help complile.
arm-linux-gnueabihf-g++  capture_RPiHQ.cpp -o capture_RPiHQ -Wall -Wno-psabi -g -D_LIN -D_DEBUG   -Llib/armv7 -I./include -lpthread  -DGLIBC_20 -I/usr/include/opencv -lopencv_shape -lopencv_stitching -lopencv_superres -lopencv_videostab -lopencv_aruco -lopencv_bgsegm -lopencv_bioinspired -lopencv_ccalib -lopencv_datasets -lopencv_dpm -lopencv_face -lopencv_freetype -lopencv_fuzzy -lopencv_hdf -lopencv_line_descriptor -lopencv_optflow -lopencv_video -lopencv_plot -lopencv_reg -lopencv_saliency -lopencv_stereo -lopencv_structured_light -lopencv_phase_unwrapping -lopencv_rgbd -lopencv_viz -lopencv_surface_matching -lopencv_text -lopencv_ximgproc -lopencv_calib3d -lopencv_features2d -lopencv_flann -lopencv_xobjdetect -lopencv_objdetect -lopencv_ml -lopencv_xphoto -lopencv_highgui -lopencv_videoio -lopencv_imgcodecs -lopencv_photo -lopencv_imgproc -lopencv_core -lASICamera2 -I/usr/include/libusb-1.0 -lusb-1.0
I have got the same issue with USB version of the IMX and have started editing the file up myself today.

This is still a working progresss but i have started intergrating the commands fswebcam supports into a seperate file then added so addition code to check for the camera. the lsusb part is where it fails to find other camera's.
pi@allsky:~/allsky $ ./allsky.sh
Making sure allsky.sh is not already running...
lsusb: option requires an argument -- 'D'
Usage: lsusb [options]...
List USB devices
  -v, --verbose
      Increase verbosity (show descriptors)
  -s [[bus]:][devnum]
      Show only devices with specified device and/or
      bus numbers (in decimal)
  -d vendor:[product]
      Show only devices with the specified vendor and
      product ID numbers (in hexadecimal)
  -D device
      Selects which device lsusb will examine
  -t, --tree
      Dump the physical USB device hierarchy as a tree
  -V, --version
      Show version of program
  -h, --help
      Show usage and help
Trying to automatically choose between cameras
USB MX291 camera found. Choosing MX291usb
Settings check done
CAMERA: MX291usb
CAMERA_SETTINGS: /home/pi/allsky/settings_MX291usb.json
Starting allsky camera...

 ******************************************
 *** Allsky Camera Software v0.6 | 2019 ***
 ******************************************

Capture images of the sky with a Raspberry Pi and an ZWO ASI or RPi HQ camera

Add -h or -help for available options

Author: Thomas Jacquin -<EMAIL_ADDRESS>
Contributors:
-Knut Olav Klo
-Daniel Johnsen
-Yang and Sam from ZWO
-Robert Wagner
-Michael J. Kidd -<EMAIL_ADDRESS>-Rob Musquetier

Capture Settings:
 Resolution: 0x0
 Exposure: 2500
 Auto Exposure: 0
 Gain: 50
 Brightness: 50
 Gamma: 50
 Delay: 10ms
 Daytime Delay: 30000ms
 Rotation: 0
 Flip Image: 0
 Filename: image.jpg
 Latitude: XXXXXN
 Longitude: XXXXXW
 Sun Elevation: 10
 Camera: USB MX291 camera

Determine if it is day or night using variables: desired sun declination angle: 10 degrees, latitude: XXXXN, longitude: XXXXXW
Check for day or night: NIGHT

Saving 2500 seconds exposure images with 10 ms delays in between...

Press Ctrl+Z to stop capturing images...

Capturing & saving image...
Capture command: nice fswebcam -d /dev/video0 -p MJPEG --greyscale -r 1920x1080 --set gamma=50 --set brightness=50 --set gain=50 --set exposure_auto=0 --set exposure_absolute=2500 image.jpg
--- Opening /dev/video0...
Trying source module v4l2...
/dev/video0 opened.
No input was specified, using the first.
Setting Brightness to 50 (89%).
Setting Gamma to 50 (-5%).
Value is out of range. Setting anyway.
Setting Gain to 50 (50%).
--- Capturing frame...
Captured frame in 0.00 seconds.
--- Processing captured image...
Greyscaling image.
Writing JPEG image to 'image.jpg'.
Capturing & saving image done, now wait 0 seconds...
Determine if it is day or night using variables: desired sun declination angle: 10 degrees, latitude: XXXXXN, longitude: XXXXXW
Check for day or night: NIGHT (waiting for changing NIGHT into DAY)...

I am also getting images to the dashboard. I need to add couple other fixes to ensure the new image goes to guis live feed
other then that it is taking images using a custom config file for the  USB MX291 camera but this should also work for other cameras as it uses fswebcam the alternative to raspistill.

For some reason My Arducam camera is only outputting analog YUV at 640X480 lately. The dev/video0 MotionJPEG is outputting garbage video, as is the H264 stream on dev/video3. So I am afraid I borked the camera. I am wondering whether to purchase another one in the hope that the results will be higher quality images than the RPi HQ camera.
Michael, can you post a night Image that you have captured with Arducam with your settings, please?
Thanks!

Hi Jay,
Sorry for the slow reply. I think the cameras are still not going to be
sensitive enough but I'm still messing around with the settings
to see if i can find a nice point.
On Tue, 15 Jun 2021 at 17:24, CleverJay @.***> wrote:

For some reason My Arducam camera is only outputting analog YUV at 640X480
lately. The dev/video0 MotionJPEG is outputting garbage video, as is the
H264 stream on dev/video3. So I am afraid I borked the camera. I am
wondering whether to purchase another one in the hope that the results will
be higher quality images than the RPi HQ camera.
Michael, can you post a night Image that you have captured with Arducam
with your settings, please?
Thanks!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/thomasjacquin/allsky/issues/339#issuecomment-861644276,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AICWKOMPKT6USPCLW5SCGUTTS55FVANCNFSM4ZIRB5ZQ
.

@Zy0d0x0  I am getting the same result in that, the camera isn't as sensitive as I would have thought. I am going to try frame stacking with  an app called Astro Dmx to capture with.

Has anyone made progress on this project? I also have a usb IMX291 I'd like to try with this terrific software setup.

I ended up moving to a raspberry pi camera in the end.
On Sat, 25 Sep 2021, 19:21 Blueshawk, @.***> wrote:

Has anyone made progress on this project? I also have a usb IMX291 I'd
like to try with this terrific software setup.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/thomasjacquin/allsky/issues/339#issuecomment-927163266,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AICWKOM2JSIYNXJIBSVQETDUDYHKVANCNFSM4ZIRB5ZQ
.
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.

Bummer. I guess I should try to run some long exposure tests on mine and decide if I should return it while I can. Thanks for the heads up.


Automagic Relationship Connection is Order Dependent

Hi All (this is probably for Blake though),
I have a NSManagedObject which has a parent child relationship. An
example model looks like this:
@interface MyModel : NSManagedObject
@property (nonatomic, retain) NSNumber * railsID;
@property (nonatomic, retain) NSString * name;
@property (nonatomic, retain) NSNumber * parentID;
@property (nonatomic, retain) MyModel * parent;
@property (nonatomic, retain) NSSet* children;
@end

The JSON response would look like this:
[
   { "id": 2, "name": "Child Object 1", "parent_id": 1 },
   { "id": 3, "name": "Child Object 2", "parent_id": 1 },
   { "id": 1, "name": "My Object Name", "parent_id": null }
]

The mapping looks like this:
objectMapping = [RKManagedObjectMapping mappingForEntityWithName:@"MyModel"];
objectMapping.primaryKeyAttribute = @"railsID";
[objectMapping mapKeyPathsToAttributes: @"id", @"railsID", @"name", @"name", @"parent_id", @"parentID",   nil];
[objectMapping mapRelationship:@"parent" withObjectMapping:parentMapping];
[objectMapping connectRelationship:@"parent" withObjectForPrimaryKeyAttribute:@"parentID"];
[objectManager.mappingProvider addObjectMapping:objectMapping];

If you havn't already guessed, the problem is when you go to parse an
object and connect it to its parent, if at the moment a child is being
mapped the parent has not been loaded then the relationship connection
will be unsuccessful. The parentID is still saved in the database but
the CoreData relationship is not provided.
Ensuring that the json / xml response is sorted with parents above
their children does not guarantee this either since the collection
results are handled as a dictionary before being passed to the mapper,
therefore losing their sort order.
There are 2 options that I can see to make this work - either restkit
could have a way of specifying a field to order by before mapping, or
an option is added to allow the mapping to happen in one pass, and
then the connectRelationships: method is called afterwards in a second
pass.
Thoughts?

Great work Blake! :) I think it was working in 0.9.0 where mapping was done in a different way, am I right?


Allow typical usage of checkbox and radio labels

Labels should point to each checkbox or radio element, so that it is
possible to click on them.

Thanks @martin-v ! I made a slight tweak to the label positioning, but added the rest to v1.5. Appreciate the contribution :)


allow application to know if the user is still engaged with the slider

Description
I needed a way to know when the user was done interacting with my sliders so I could send the REST command resulting from the value change just once.  This exposes knowledge to the application creating the slider widget if the user is still touching the slider, or if they did a quick tap to move the slider.  In both cases, I want to then trigger my action.
Tests
I added the following tests:
I need some help with adding tests for this.  I did just run with the slider and confirm with the logging that touch active status I added is true until I release and also quick taps of the slider work to trigger a touch active.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[ x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[ x] I signed the [CLA].
[x ] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[ x] I updated/added relevant documentation (doc comments with ///).
[ ] All existing and new tests are passing.
[ x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[ x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require Flutter developers to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (Please read [Handling breaking changes]). Replace this with a link to the e-mail where you asked for input on this proposed change.
[x ] No, this is not a breaking change.

I did sign the CLA, not sure how to fix that.  I don't know of any other authors.  This was a small change off master.

CC @clocksmith

onChangeEnd fires once when the user is done interacting with the slider. onChange fires every time the slider value updates (including within an interaction). Can you use onChangeEnd to accomplish sending the rest command only once?

onChangeEnd fires once when the user is done interacting with the slider. onChange fires every time the slider value updates (including within an interaction). Can you use onChangeEnd to accomplish sending the rest command only once?

From my original testing, onChangeEnd fires twice.  It was firing when I started changing the slider and it fired when I lifted my finger.  I will test again and see if that's still causing me the same issues.


add ImmutableTree (plus still-WIP sss tree)

Codecov Report

Merging #80 (c11510b) into next (9115796) will decrease coverage by 0.07%.
The diff coverage is 87.97%.

@@            Coverage Diff             @@
##             next      #80      +/-   ##
==========================================
- Coverage   88.59%   88.52%   -0.07%
==========================================
  Files          32       39       +7
  Lines        3964     5875    +1911
==========================================
+ Hits         3512     5201    +1689
- Misses        452      674     +222

Files Changed
Coverage Δ

src/mirror_select_nth_unstable_by.rs
99.43% <ø> (ø)

src/test_utils.rs
6.57% <0.00%> (-1.56%)
:arrow_down:

src/immutable/float/construction.rs
42.59% <42.59%> (ø)

src/immutable/float/query/approx_nearest_one.rs
66.66% <66.66%> (ø)

src/immutable/float/kdtree.rs
87.03% <87.03%> (ø)

src/immutable/float/query/best_n_within.rs
99.02% <99.02%> (ø)

src/best_neighbour.rs
50.00% <100.00%> (+3.84%)
:arrow_up:

src/immutable/float/query/nearest_n.rs
100.00% <100.00%> (ø)

src/immutable/float/query/nearest_one.rs
100.00% <100.00%> (ø)

src/immutable/float/query/within.rs
100.00% <100.00%> (ø)

... and 2 more

... and 3 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Add basic tests to the registry

My team at Yelp would like become familiar with the registry to run it internally. We think a good way to get started would be to add a few tests to the project.
Are there any preferences around what testing library to use? We want to make sure our changes are upsteamable.

@struys I've updated repo so writing integration tests is more pleasurable.
Please see test/integration.js


"Cornești" is listed in the drop-down menu

Description:
"Cornești" is listed in the drop-down menu alongside its corresponding county according to the law
Precondition:
The website is up an running.

Step 1
Type "Cornești" in the search bar.

Expected results
The location is listed in the drop-down menu as "Comuna Cornești, DÂMBOVIȚA".


feat: add node refresh subcommand

Description
This pull request changes the following:

adds the solo node refresh subcommand
fix .github/workflows/flow-update-readme.yaml typo
add Jest default reporter summary threshold
added better error handling for checkNetworkNodeProxyUp
enhanced stopPortForward to test for port to be closed before continuing
updated config.txt to include fully qualified DNS from Kube DNS
added dev mode to test loggers for better reporting on failures

Related Issues

Closes #96
Depends on https://github.com/hashgraph/full-stack-testing/pull/815

:tada: This PR is included in version 0.24.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 0.24.0 :tada:
The release is available on:

npm package (@release-0.24.x dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add Gentx json file

Add Gentx json file from MinatoFund

Please make sure your node is up and running now. Join #validators on Discord for help: https://discord.gg/QeJWCrE.


Hello-World-Nginx Failed to Pull Image

Expected behavior
Download and access image
Actual behavior
failed to register layer: re-exec error: exit status 1: output: ProcessBaseLayer C:\ProgramData\Docker\windowsfilter\8471a9a9e19ae66589faa66976d80f5a544732d431c78b41611cc52739a49ea7: The system cannot find the path specified.
Information about the Issue
Windows 10 build
Steps to reproduce the behavior

docker pull kitematic/hello-world-nginx

Seems to be a Docker for Windows issue, since the CLI does the same thing - Can you open up an issue here: https://github.com/docker/for-win


add a new member node name for feedback message

Just for internal review
Signed-off-by: Chen Lihui<EMAIL_ADDRESS>

Close it. After consideration, we don't use this method.


⚠ Bofrost.de has degraded performance

In c0b7b19, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1979 ms

Resolved: Bofrost.de performance has improved in a5efd1d after 6 minutes.


Won't work with magicmirroros (or any Docker container version of MM2)

Because Docker won't let you access other assets on the local network, I could not get this module to work on the magicmirroros version.  I'm guessing it won't work on any other Docker container version of MM2 without substantial work to enable mDNS and/or local networking access to the container.
I'm not a seasoned raspi guy, but I'm not a total noob, either, but I've been pulling my hair out for 2 straight days trying to get the most basic version of MM2 loaded and it's incredibly frustrating

Are you trying to access the Octoprint instance using an *.local address or the actual IP?

Running into something of the same issue.  Rebuilding my Magic Mirror using magicmirroros.  Currently getting a broken file icon instead of the stream & the printer state doesn't list anything after it.  Used the static IP address for the octoprint install in the config file.


Inaccurate result of analyzing emotion

I checked your website https://www.deepaffects.com/emotion-recognition-api/ and in the first section where you can play the sounds by emotion, I grab the sound file of happy which is this url
Happy Audio
I converted the audio file to wav format and load the file using your api
  var body = DeepAffects.Audio.fromFile("happy-audio.wav");

  var callback = function(error, data, response) {
    if (error) {
      console.error(error);
    } else {
      console.log('API called successfully. Returned data: ' + data.length);
      for(var i=0; i < data.length; i++) {
        console.log("Emotion: " + data[i].emotion + " Score: " + data[i].score);
      }
    }
  };

  var result = apiInstance.syncRecogniseEmotion(body, callback);
  res.json(result);

The result I am getting is

the highest score mood is neutral but the audio file that I used is happy

Please check the scores carefully. The neutral score is 4.9e-24 which is effectively 0. Happy is the highest score.
Also, only open issues related to the deepaffects-node in this repository. For any other support raise request here: https://deepaffects.atlassian.net/servicedesk/customer/portal/1


Create codeql-analysis.yml

Enable codeQL analysis on code. Fix some security issues found by the tool.

Revisit at a later time.


UI request: make photo title field editable

Right now, it's not clear how to edit the title of a photo.   If you go to the Photos > [click photo] > Photo Tools > Edit Photo page,  the photo title is grayed out.
For example
Suggested changes:

Make the title field editable.  If the title is changed, change the file name to match.
Keep the Caption field, but make it a true caption, i.e.  a brief description of the photo, rather than the title of the photo.

Renamed Caption to Title to better reflect what this actually does.

Thank you @git-marijus! What's the best way to test?  I'm not running my own hub yet.


HDDS-11174. [hsync] Change XceiverClientRatis.watchForCommit to async.

What changes were proposed in this pull request?
In the code below, it should just return the replyFuture instead of calling CompletableFuture.get(). This change is useful for HDDS-9844.
//XceiverClientRatis.watchForCommit
      CompletableFuture<RaftClientReply> replyFuture = getClient().async().watch(index, watchType);
      final RaftClientReply reply = replyFuture.get();

What is the link to the Apache JIRA
HDDS-11174
How was this patch tested?
Updating existing tests.

@duongkame and @smengcl , I will keep RatisBlockOutputStream unchanged here.  Filed HDDS-11208 to do the further change.  Please review this when you have time.  Thanks.

This PR won't make it into the HDDS-7593 feature branch before the branch gets merged next week.
Please rebase onto master branch after the branch merge. Thanks!

Sure, will fix the conflicts after the merge.

Would you like to take a glance at this @duongkame ?

Merged. Thanks @smengcl @szetszwo

@jojochuang , @smengcl , thanks for your helps!


Missing Param - SITL. Not reading position

Trying to read global position using SITL. This is the output I get. Lat Lon and Alt values are read as nan.

What's your PX4 version and what's the MAVSDK version?

PX4: 1.12.3
I'm not sure how to check which version of MAVSDK is being run.

It looks like I'm running the latest version of mavsdk (0.48.0)

Not sure I get the problem. What is the code you run, what do you expect as a result, and what do you get instead?

I'm just trying to print the location of the UAV (Latitude, Longitude, Altitude). After setting the update rate, I call my callback function as so:
telemetry->subscribe_position(PositionCallbackFunc);
`void PositionCallbackFunc(Telemetry::Position position)
{
gDronePosition.alt = position.absolute_altitude_m;
gDronePosition.lat = position.latitude_deg;
gDronePosition.lon = position.longitude_deg;
std::cout<< "Reported Drone Position: \r\n";
std::cout << "Altitude: " << position.relative_altitude_m << " m" << std::endl
<< "Latitude: " << position.latitude_deg << std::endl
<< "Longitude: " << position.longitude_deg << std::endl;
std::chrono::time_point<std::chrono::system_clock> now = std::chrono::system_clock::now();
auto duration = now.time_since_epoch();
m_drone_pos_update_Time = std::chrono::duration_cast<std::chrono::milliseconds>(duration).count();

}`
It never seems to enter the Callback function, and when I try to print the altitude latitude and longitude values they print as "nan"

Did you try running an example, e.g. https://github.com/mavlink/MAVSDK/tree/main/examples/takeoff_and_land? Does that work?

I get this when attempting to build the example

Did you install mavsdk on your system?

I believe so. I followed the instructions found here:
https://mavsdk.mavlink.io/v0.38/en/cpp/guide/build.html

Your last screenshot shows a linking error when building the example, because the example tries to link against mavsdk. You have to solve that linking error, I cannot guess what's on your system :sweat_smile:

It looks like I'm having issues building the library. Would this be a place to start?

Looks like I'm having issues building the library. Would this be a place to start?

If the cmake configure step fails ("Configuring incomplete, errors occurred"), then there is no need to try the build step :sweat_smile:.
It does not appear in your screenshot, but it seems like you are using the deprecated -DBUILD_BACKEND=ON, so probably you want to use a more recent version of the docs, e.g. just upstream: https://mavsdk.mavlink.io/main/en/cpp/guide/build.html.
Also to use MAVSDK-C++ (i.e. if you don't plan on using MAVSDK-Swift or MAVSDK-Java or MAVSDK-Python), no need to build mavsdk_server.

Followed the install instructions from that link. Specifically did this:
$ sudo apt-get update
$ sudo apt-get install build-essential cmake git
$ cd MAVSDK
$ git clone https://github.com/mavlink/MAVSDK.git
$ git submodule update --init --recursive
$ cmake -DCMAKE_BUILD_TYPE=Debug -Bbuild/default -H.
$ cmake --build build/default -j8
$ cmake -Bbuild/default -DCMAKE_BUILD_TYPE=Release -H.
$ cmake --build build/default -j8
$ sudo cmake --build build/default --target install
Seemed to build and install properly. The linking error persists when I try to run the takeoff_and_land example. Specifically did this:
$ cd MAVSDK
$ cd examples
$ cd takeoff_and_land
$ cmake -Bbuild -H.
$ cmake --build build
Error messages come up - same as my 2nd most recent screenshot. Am I missing anything obvious?

So $ cmake -Bbuild -H. in the example project worked and found mavsdk on the system?

When I run $ cmake -Bbuild -H. here's what I get:
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/MAVSDK/examples/takeoff_and_land/build

And do you have the symbols in the build binaries? For me:
% nm ./build/default/src/core/libmavsdk.so | grep subscribe_on_new_system                                                       [0]
000000000017bd0e T _ZN6mavsdk10MavsdkImpl23subscribe_on_new_systemERKSt8functionIFvvEE
00000000001771d4 T _ZN6mavsdk6Mavsdk23subscribe_on_new_systemERKSt8functionIFvvEE

Where would I see that? Not sure how to access build binaries.
Really appreciate the help. I'm new to this stuff

Something like this should find it:
find ~/MAVSDK | grep libmavsdk.so

No more answer, closing.


invalid hook call

Is any other person having this issue? i keep getting invalid hook call when i try to call the share social component

yes getting the same error

same. can't even use the package

@Sergecodes I ended up using this instead https://github.com/sakerhetspolisen/react-share-on-social


Mujoco release

I suggest cloning the latest main of ros2_mujoco and moveit_pro build with a 6.0.0-rc4 image until rc5 is cut with this PR merged

@marioprats do you have any guess why the Move With Velocity and Distance Example objective drifts to the side? I had to remove the distance criteria because I don't think we have a behavior to unpack a pose message for the script to evaluate. It is removed in this version

@marioprats do you have any guess why the Move With Velocity and Distance Example objective drifts to the side? I had to remove the distance criteria because I don't think we have a behavior to unpack a pose message for the script to evaluate. It is removed in this version

The distance criteria is the stop condition. It will keep moving forever without that.
We should have the unpack Behaviors in MP main, not in the 6.0 release.
If this is for the 6.0 release I suggest just removing those example VFC Objectives.

@marioprats do you have any guess why the Move With Velocity and Distance Example objective drifts to the side? I had to remove the distance criteria because I don't think we have a behavior to unpack a pose message for the script to evaluate. It is removed in this version

The distance criteria is the stop condition. It will keep moving forever without that.
We should have the unpack Behaviors in MP main, not in the 6.0 release.
If this is for the 6.0 release I suggest just removing those example VFC Objectives.

@marioprats The fact that I didn't stop was not surprising, but it seems like it was moving in an odd coordinate frame, is it supposed to move in world? It looked like it was moving down into the left in the base frame but maybe it was moving in the wrist frame

@marioprats do you have any guess why the Move With Velocity and Distance Example objective drifts to the side? I had to remove the distance criteria because I don't think we have a behavior to unpack a pose message for the script to evaluate. It is removed in this version

The distance criteria is the stop condition. It will keep moving forever without that.
We should have the unpack Behaviors in MP main, not in the 6.0 release.
If this is for the 6.0 release I suggest just removing those example VFC Objectives.

@marioprats The fact that I didn't stop was not surprising, but it seems like it was moving in an odd coordinate frame, is it supposed to move in world? It looked like it was moving down into the left in the base frame but maybe it was moving in the wrist frame

It should move down a couple of cm until it finds the table, then left, like this:
This is what I was seeing:

But then I realized what the intention was and updated the start waypoint:

All good now!

@MikeWrock I added back the stop conditions and tested in main, everything seems to be working.
I would suggest merging this in main, and then cherry-pick it in 6.0 and remove the VFC Objectives and ConverterBehaviorsLoader.

I think this work got done elsewhere?


Add google analytics to LIFF

Google analytics setup for LIFF; use the same Google analytics tracking ID as chatbot event handlers
sends pageview on page change
sends user timing on LIFF load
record redirect count as redirect event

Pageview

Event

utm_source & utm_medium in LIFF URL also works

Pull Request Test Coverage Report for Build 978

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 98.379%

Totals

Change from base Build 976:
0.0%

Covered Lines:
541

Relevant Lines:
542

💛  - Coveralls

I forgot to note the new GA event / pageview in README.

Confirmed that the LIFF / chooseArticle is working. Ready to review now.


price values validation for ShippingMethodChannelListingUpdate mutation in 31

I want to merge this change because it is a 3.1 changes port from  #8654

Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations
[ ] Documentation needs to be updated

Pull Request Checklist

[ ] Privileged queries and mutations are guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migration files are up to date
[ ] The changes are tested
[ ] GraphQL schema and type definitions are up to date
[ ] Changes are mentioned in the changelog

Task linked: SALEOR-4488 Mutation ShippingMethodChannelListingUpdate does not validate input fields max values


WIP: feat: :sparkles: useLocalStorage hook added

The functionality seems to be working but facing a hydration issue on react 18, some open discussions about this

Latest Preview Deployment URL: https://2acf73b3.howtoprofessionallysay.pages.dev/
Sometimes it feels a bit janky on the load for questions card list, used to be much cleaner earlier but since now the content / layout can change based on user pref (flow in localstorage) it needs to do the hydration once the page is loaded and not present on the direct HTML itself.


security review bogle.tools (local storage, xss, and beyond)

https://auth0.com/blog/secure-browser-storage-the-facts/
https://learn.microsoft.com/en-us/aspnet/core/security/cross-site-scripting?view=aspnetcore-7.0

wifi scenario to attack localstorage


DRAFT: Adding Ollama as host resource

Starting WIP for adding Ollama (#4177) as a hosting resource for local LLM.  Incomplete, but draft PR for soliciting pattern of 'initializing' the ollama resource with models, which is required for the resource to be usable.
This uses a client library to perform the model pulls.
Microsoft Reviewers: Open in CodeFlow

What does the deployment model look like here. Is the expectation that this is primarily for local dev scenarios and when deploying to production you would use a hosted AI service (for performance reasons).

What does the deployment model look like here. Is the expectation that this is primarily for local dev scenarios and when deploying to production you would use a hosted AI service (for performance reasons).

Yes, that's my assumption is that this is a local dev scenario. I think that is a common pattern here, and that you'd have a conditional check for deployment and use a connection string to an OpenAI compatible endpoint (https://github.com/dotnet/aspire/pull/4707/files#diff-6b205cd5a1b204bf166dc8863d7fd0ca24c1bb0dea3d2f14ae73314ffd00e3a5R3-R9)
@luisquintanilla does that sound right? Are you seeing Ollama as a production-deployed LLM?

What does the deployment model look like here. Is the expectation that this is primarily for local dev scenarios and when deploying to production you would use a hosted AI service (for performance reasons).

Yes, that's my assumption is that this is a local dev scenario. I think that is a common pattern here, and that you'd have a conditional check for deployment and use a connection string to an OpenAI compatible endpoint (https://github.com/dotnet/aspire/pull/4707/files#diff-6b205cd5a1b204bf166dc8863d7fd0ca24c1bb0dea3d2f14ae73314ffd00e3a5R3-R9)
@luisquintanilla does that sound right? Are you seeing Ollama as a production-deployed LLM?

Sounds about right.
As I see it, there are two potential paths to production:

Azure AI Model Catalog - You can deploy many of the open models provided by Ollama as a service to Azure. The challenge here is that since it's not 1:1 with Ollama, you'd have to use another component / client when going to production.
Azure Container Apps Services - Enables you to take the same Ollama configuration to production so you can reuse the Ollama component / client / SK connector.

Given that the 2nd doesn't exist today, I'd recommend prioritizing the Azure AI Model Catalog.
One more thing to keep in mind:

use a connection string to an OpenAI compatible endpoint

While this is somewhat of a standard, it's not "official", and implementations may be subject to change. Not unique to Ollama, but just something to be aware of.

Mostly @mitchdenny curious of opinions on the pattern here on 1) model acquisition and 2) using client lib to do the work

I'm happy with the answer that Ollama is primarily focused on local dev. I can see downsides of encouraging folks to download such a large model into a Container App instance. We should probably consider how expensive that would be for different model sizes (same issue for all compute environments that charge for compute / RAM per minute/second).

Closing this draft per discussions with @luisquintanilla on possible interesting deployment scenarios. I'll keep the branch active with these changes.


pywapi cannot be installed anymore

$ pip install -r requirements.txt --allow-external pywapi --allow-unverified pywapi
DEPRECATION: --allow-external has been deprecated and will be removed in the future. Due to changes in the repository protocol, it no longer has any effect.
DEPRECATION: --allow-unverified has been deprecated and will be removed in the future. Due to changes in the repository protocol, it no longer has any effect.
Collecting beautifulsoup4==4.4.1 (from -r requirements.txt (line 1))
  Using cached beautifulsoup4-4.4.1-py3-none-any.whl
Collecting imgurpython==1.1.6 (from -r requirements.txt (line 2))
  Using cached imgurpython-1.1.6.tar.gz
Collecting oauthlib==1.0.3 (from -r requirements.txt (line 3))
  Using cached oauthlib-1.0.3.tar.gz
Collecting pyaml==15.8.2 (from -r requirements.txt (line 4))
  Using cached pyaml-15.8.2.tar.gz
Collecting PyAudio==0.2.9 (from -r requirements.txt (line 5))
  Using cached PyAudio-0.2.9.tar.gz
Collecting pywapi==0.3.8 (from -r requirements.txt (line 6))
  Could not find a version that satisfies the requirement pywapi==0.3.8 (from -r requirements.txt (line 6)) (from versions: )
No matching distribution found for pywapi==0.3.8 (from -r requirements.txt (line 6))
$ pip --version
pip 8.0.2 from /usr/lib/python3.5/site-packages (python 3.5)

Can't replicate on testing with OS X and Linux Mint. If the problem persists or can be replicated, feel free to re-open this issue.


Implement Conversion of Espon Plaintext format

Epson has an example format for receipts that looks like it can be parsed and converted into binary format.
See:
https://download4.epson.biz/sec_pubs/pos/reference_en/escpos/receipt.html
If anyone wants to take a stab at it and send a pull request, I'm happy to bring it in.
Rough idea for the parsing:

Remove comments (start with '//)
Split on whitespace but honor whitespace in quotes.
Quoted tokens are string literals
Check the token against a map (Example, ESC would convert to 1B)
Check if the token starts with 0x and convert from the hex.
Otherwise token is decimal

Map
'// ============================================================================
'// Issuing receipts
'// ============================================================================

'// Initialize printer
    ESC "@"

'// --- Print stamp --->>>
'// Set line spacing: For the TM-T20, 1.13 mm (18/406 inches)
    ESC "3" 18
'// Set unidirectional print mode: Cancel unidirectional print mode (Unnecessary
'// in the TM-T20, so it is comment out)
'//   For models equipped with the ESC U command, implementation is recommended.
'//   Designate unidirectional printing with the ESC U command to get a print
'//   result with equal upper and lower parts for the stamp frame symbol
'//    ESC "U" 1
'// Select justification: Centering
    ESC "a" 1

This is now done and merged into main.


Prepare 0.11.0-beta npm release with tag @next

Summary
This PR prepares the repo for the 0.11.0 release by replacing the convertFromHTMLToContentBlocks module with convertFromHTMLToContentBlocks2 entirely.
I'm going to publish a new npm package 0.11.0-beta with tag @next with the refactored HTML converter removed later today.
I think it's beneficial to disseminate an early beta so that users can test it and report any bugs ahead of the 0.11 release.
Test Plan

Publish package with @next tag
Disseminate via Twitter and other channels
Invite early adoption and report issues

Rebasing off latest master, will publish shortly to npm if checks pass 🤞


relative import fix

Fixing some in-function relative imports that would fail because of
from future import absolute_import
Specifically for me it  would fail bacause of
ENABLE_SELECT2_MULTI_PROCESS_SUPPORT = True
Also would be good to cover such cases in testes

Coverage remained the same at 56.43% when pulling bd761ec197b91de8a769b875b4d535b22667ea94 on superqwer:imports into 42b73198b726e2e9278a0889a608ea7c31811d61 on applegrew:master.

Coverage remained the same at 56.43% when pulling bd761ec197b91de8a769b875b4d535b22667ea94 on superqwer:imports into 42b73198b726e2e9278a0889a608ea7c31811d61 on applegrew:master.

Coverage remained the same at 56.43% when pulling bd761ec197b91de8a769b875b4d535b22667ea94 on superqwer:imports into 42b73198b726e2e9278a0889a608ea7c31811d61 on applegrew:master.

Coverage remained the same at 56.43% when pulling bd761ec197b91de8a769b875b4d535b22667ea94 on superqwer:imports into 42b73198b726e2e9278a0889a608ea7c31811d61 on applegrew:master.

Coverage remained the same at 56.43% when pulling bd761ec197b91de8a769b875b4d535b22667ea94 on superqwer:imports into 42b73198b726e2e9278a0889a608ea7c31811d61 on applegrew:master.

Coverage remained the same at 56.43% when pulling bd761ec197b91de8a769b875b4d535b22667ea94 on superqwer:imports into 42b73198b726e2e9278a0889a608ea7c31811d61 on applegrew:master.

@superqwer thanks!


Problem with running a local docker image

I built an image OK but when I run it using
docker run my:tag
I get the following:
            ____      ____
           /  _/___  / __/___  _________ ___  ___  _____
           / // __ \/ /_/ __ \/ ___/ __ `__ \/ _ \/ ___/
         _/ // / / / __/ /_/ / /  / / / / / /  __/ /
        /___/_/ /_/_/  \____/_/  /_/ /_/ /_/\___/_/

        by @paulpierre 11-26-2019

INFO:root:SERVER_MODE: prod GAE_ENV: prod
Traceback (most recent call last):
  File "bot.py", line 23, in <module>
    informer = TGInformer(
  File "/usr/informer/informer.py", line 114, in __init__
    creds = ServiceAccountCredentials.from_json_keyfile_name(google_credentials_path, scope)
  File "/usr/local/lib/python3.8/site-packages/oauth2client/service_account.py", line 219, in from_json_keyfile_name
    with open(filename, 'r') as file_obj:
FileNotFoundError: [Errno 2] No such file or directory: 'credentials/gcloud_api.json'

You have to generate your json credentials file if you want to run on Google App Engine:
https://cloud.google.com/iam/docs/creating-managing-service-account-keys


Lya - mjw

First pass at comments on the English version.  You've been ambitious =)
I guess if you open this notebook on colab currently, mount the drive, it will
run today.  For the event.

Thanks @michaelJwilson  nice adds to the content!  I didn't tried to use it, but advertised we have new stuff coming soon.


unable to use normally

当我clone此项目到本地后无法正常使用。
首先运行 OneNoteDigitCracker.py 报错，
运行 OneNoteDigitCracker.exe报错。
Traceback (most recent call last):
File "Lib\site-packages\PyInstaller\hooks\rthooks\pyi_rth_multiprocessing.py", line 12, in
File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
File "multiprocessing_init_.py", line 16, in
File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
File "multiprocessing\context.py", line 6, in
File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
File "multiprocessing\reduction.py", line 16, in
File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module
File "socket.py", line 51, in
ModuleNotFoundError: No module named '_socket'

之后先后尝试配置了 requirements.txt；build.bat；install.bat后项目可以正常打开了。
但是执行OneNoteDigitCracker.exe后按照提示在OneNote的“分区保护页面”输入；后继续报错。

我的库安装的都没问题，我使用的python版本时python 3.10
PS D:\Documents\Github Project\OnenotePasswordDigitCracker> pip install -r requirements.txt
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Requirement already satisfied: PyAutoGUI==0.9.53 in d:\documents\github project\onenotepassworddigitcracker.venv\lib\site-packages (from -r requirements.txt (line 1)) (0.9.53)
Requirement already satisfied: keyboard==0.13.5 in d:\documents\github project\onenotepassworddigitcracker.venv\lib\site-packages (from -r requirements.txt (line 2)) (0.13.5)
Requirement already satisfied: pyinstaller==5.4.1 in d:\documents\github project\onenotepassworddigitcracker.venv\lib\site-packages (from -r requirements.txt (line 3)) (5.4.1)
Requirement already satisfied: pymsgbox in d:\documents\github project\onenotepassworddigitcracker.venv\lib\site-packages (from PyAutoGUI==0.9.53->-r requirements.txt (line 1)) (1.0.9)
Requirement already satisfied: PyTweening>=1.0.1 in d:\documents\github project\onenotepassworddigitcracker.venv\lib\site-packages (from PyAutoGUI==0.9.53->-r requirements.txt (line 1)) (1.2.0)
Requirement already satisfied: pyscreeze>=0.1.21 in d:\documents\github project\onenotepassworddigitcracker.venv\lib\site-packages (from PyAutoGUI==0.9.53->-r requirements.txt (line 1)) (1.0.1)
Requirement already satisfied: pygetwindow>=0.0.5 in d:\documents\github project\onenotepassworddigitcracker.venv\lib\site-packages (from PyAutoGUI==0.9.53->-r requirements.txt (line 1)) (0.0.9)
Requirement already satisfied: mouseinfo in d:\documents\github project\onenotepassworddigitcracker.venv\lib\site-packages (from PyAutoGUI==0.9.53->-r requirements.txt (line 1)) (0.1.3)
Requirement already satisfied: setuptools in d:\documents\github project\onenotepassworddigitcracker.venv\lib\site-packages (from pyinstaller==5.4.1->-r requirements.txt (line 3)) (63.2.0)
Requirement already satisfied: altgraph in d:\documents\github project\onenotepassworddigitcracker.venv\lib\site-packages (from pyinstaller==5.4.1->-r requirements.txt (line 3)) (0.17.4)
Requirement already satisfied: pyinstaller-hooks-contrib>=2021.4 in d:\documents\github project\onenotepassworddigitcracker.venv\lib\site-packages (from pyinstaller==5.4.1->-r requirements.txt (line 3)) (2024.10)
Requirement already satisfied: pefile>=2022.5.30 in d:\documents\github project\onenotepassworddigitcracker.venv\lib\site-packages (from pyinstaller==5.4.1->-r requirements.txt (line 3)) (2024.8.26)
Requirement already satisfied: pywin32-ctypes>=0.2.0 in d:\documents\github project\onenotepassworddigitcracker.venv\lib\site-packages (from pyinstaller==5.4.1->-r requirements.txt (line 3)) (0.2.3)
Requirement already satisfied: pyrect in d:\documents\github project\onenotepassworddigitcracker.venv\lib\site-packages (from pygetwindow>=0.0.5->PyAutoGUI==0.9.53->-r requirements.txt (line 1)) (0.2.0)
Requirement already satisfied: packaging>=22.0 in d:\documents\github project\onenotepassworddigitcracker.venv\lib\site-packages (from pyinstaller-hooks-contrib>=2021.4->pyinstaller==5.4.1->-r requirements.txt (line 3)) (24.2)
Requirement already satisfied: Pillow>=9.2.0 in d:\documents\github project\onenotepassworddigitcracker.venv\lib\site-packages (from pyscreeze>=0.1.21->PyAutoGUI==0.9.53->-r requirements.txt (line 1)) (11.0.0)
Requirement already satisfied: pyperclip in d:\documents\github project\onenotepassworddigitcracker.venv\lib\site-packages (from mouseinfo->PyAutoGUI==0.9.53->-r requirements.txt (line 1)) (1.9.0)
PS D:\Documents\Github Project\OnenotePasswordDigitCracker> pip install pyscreeze pillow
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Requirement already satisfied: pyscreeze in d:\documents\github project\onenotepassworddigitcracker.venv\lib\site-packages (1.0.1)
Requirement already satisfied: pillow in d:\documents\github project\onenotepassworddigitcracker.venv\lib\site-packages (11.0.0)
PS D:\Documents\Github Project\OnenotePasswordDigitCracker>

@SpideyZac, could you please help me see where the problem is? 😄

not sure, i would try running it without building as an exe but the program is very old and probably deprecated

not sure, i would try running it without building as an exe but the program is very old and probably deprecated

OK. Thank you. Let it be.


Call to Scan method crashes in Xamarin.Forms app running on iPhone from Visual Studio 2019

I'm testing the iOS version of my Xamarin.Forms app on my iPhone from Visual Studio 2019 and when the code reaches the point of calling the Scan method of the MobileBarcodeScanner object, the app crashes. In particular, the screen displays the overlay and the camera is on, but no scanning happens and I get the output below. When I hit the Cancel option at the bottom of the screen, I get a return from the Scan call with a null result. My code for making the call follows the error dump and that's followed by version data. I'm using the Hot Restart feature in Visual Studio that allows me to deploy to an iPhone as long as I have iTunes running. Scanning seems to work fine on UWP and Android simulators and Android Fire tablet.
-- Start Error Dump --
`2021-01-31 22:01:01.928 Xamarin.PreBuilt.iOS[20513:3446096] Starting to scan...
2021-01-31 22:01:01.984 Xamarin.PreBuilt.iOS[20513:3446096] ZXingScannerView.Setup() took 50.176 ms.
2021-01-31 22:01:01.985 Xamarin.PreBuilt.iOS[20513:3446096] StartScanning
Thread started:  #16
Thread started:  #17
=================================================================
Native Crash Reporting
Got a segv while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
Native stacktrace:
0x102218120 - /private/var/containers/Bundle/Application/9F407528-3DA5-4573-9F05-08FFF7A05512/SandboxXamarinApp.iOS.app/Xamarin.PreBuilt.iOS : mono_dump_native_crash_info

0x10220ecbc - /private/var/containers/Bundle/Application/9F407528-3DA5-4573-9F05-08FFF7A05512/SandboxXamarinApp.iOS.app/Xamarin.PreBuilt.iOS : mono_handle_native_crash

0x10221ba60 - /private/var/containers/Bundle/Application/9F407528-3DA5-4573-9F05-08FFF7A05512/SandboxXamarinApp.iOS.app/Xamarin.PreBuilt.iOS : mono_sigsegv_signal_handler_debug

0x1e03a9290 - /usr/lib/system/libsystem_platform.dylib : <redacted>

0x1023aa9e4 - /private/var/containers/Bundle/Application/9F407528-3DA5-4573-9F05-08FFF7A05512/SandboxXamarinApp.iOS.app/Xamarin.PreBuilt.iOS : xamarin_collapse_struct_name

0x1023b6198 - /private/var/containers/Bundle/Application/9F407528-3DA5-4573-9F05-08FFF7A05512/SandboxXamarinApp.iOS.app/Xamarin.PreBuilt.iOS : _ZL15param_iter_next14IteratorActionPvPKcmS0_Pj
0x1023aff84 - /private/var/containers/Bundle/Application/9F407528-3DA5-4573-9F05-08FFF7A05512/SandboxXamarinApp.iOS.app/Xamarin.PreBuilt.iOS : xamarin_invoke_trampoline

0x1023b6074 - /private/var/containers/Bundle/Application/9F407528-3DA5-4573-9F05-08FFF7A05512/SandboxXamarinApp.iOS.app/Xamarin.PreBuilt.iOS : xamarin_arch_trampoline

0x1023b6c18 - /private/var/containers/Bundle/Application/9F407528-3DA5-4573-9F05-08FFF7A05512/SandboxXamarinApp.iOS.app/Xamarin.PreBuilt.iOS : xamarin_arm64_common_trampoline
0x1aee19f20 - /System/Library/PrivateFrameworks/AVFCapture.framework/AVFCapture : <redacted>
0x1aee19c4c - /System/Library/PrivateFrameworks/AVFCapture.framework/AVFCapture : <redacted>

0x1aeee3844 - /System/Library/PrivateFrameworks/CMCapture.framework/CMCapture : <redacted>
0x1af15d338 - /System/Library/PrivateFrameworks/CMCapture.framework/CMCapture : <redacted>
0x1947d1db0 - /usr/lib/system/libdispatch.dylib : <redacted>
0x1947d512c - /usr/lib/system/libdispatch.dylib : <redacted>
0x1947e6c08 - /usr/lib/system/libdispatch.dylib : <redacted>
0x1947d8fd8 - /usr/lib/system/libdispatch.dylib : <redacted>
0x1947d9c5c - /usr/lib/system/libdispatch.dylib : <redacted>
0x1947e3d78 - /usr/lib/system/libdispatch.dylib : <redacted>
0x1e03af804 - /usr/lib/system/libsystem_pthread.dylib : _pthread_wqthread
0x1e03b675c - /usr/lib/system/libsystem_pthread.dylib : start_wqthread

=================================================================
Basic Fault Address Reporting
Memory around native instruction pointer (0x1023aa8c4):0x1023aa8b4  a8 83 5e f8 09 00 80 52 09 01 00 39 a8 03 5f f8  ..^....R...9...
0x1023aa8c4  09 01 40 3
9 69 0f 00 34 a8 03 5f f8 09 01 c0 39<EMAIL_ADDRESS>0x1023aa8d4  29 8d 00 71 e8 03 09 aa 08 7d 40 d3 1f 69 01 f1<EMAIL_ADDRESS>0x1023aa8e4  e8 13 00 f9 68 0b 00 54 08 00 00 90 08 61 2c 91  ....h..T.....a,.
=================================================================
Managed Stacktrace:
=================================================================
2021-01-31 22:01:12.694 Xamarin.PreBuilt.iOS[20513:3446096] Stopping...
`
-- End Error Dump --
-- Start Code Fragment --
    private async void InvokeScanner()
    {
        try
        {
            MobileBarcodeScanner scanner = new MobileBarcodeScanner();
            MobileBarcodeScanningOptions opt = new MobileBarcodeScanningOptions()
            {
                PossibleFormats = new List<ZXing.BarcodeFormat> { ZXing.BarcodeFormat.QR_CODE },
            };

            var result = await scanner.Scan(opt);

            if (result != null)
            {
                System.Diagnostics.Debug.WriteLine(String.Format("Result = |{0}|", result.Text));

                Barcode = result.Text;
            }
        }
        catch (Exception ex)
        {
            System.Diagnostics.Debug.WriteLine(ex.ToString());
        }
    }

-- End Code Fragment --
-- Start Version Info --
iPhone XR, iOS 14.3
Visual Studio 2019 - v16.8.4
Xamarin.iOS SDK - <IP_ADDRESS>
The shared Xamarin app is a .NET Standard 2.0 library
All parts use:
Xamarin.Forms - v<IP_ADDRESS>1
Xamarin.Essentials - v1.6.1
ZXing.Net.Mobile - v<IP_ADDRESS>-beta5
ZXing.Net.Mobile.Forms - v<IP_ADDRESS>-beta5

@tnewell
Update Xamarin.Forms to <IP_ADDRESS>2 and I bet that will fix it. I had basically the same Native Stack trace and upgrading the NuGet packages across the solution removed the crash.

Same problem for me for both, the stabel (2.4.1) and the current newest beta (3.1.0-beta2) version. I allready using Xamarin.Forms <IP_ADDRESS>.
Stacktrace

Stacktrace

2021-06-02 12:23:54.291 UniversalInventory.iOS[5326:5133071] Starting to scan...
2021-06-02 12:23:54.335 UniversalInventory.iOS[5326:5133071] ZXingScannerView.Setup() took 41,221 ms.
2021-06-02 12:23:54.335 UniversalInventory.iOS[5326:5133071] StartScanning
=================================================================
Native Crash Reporting
Got a abrt while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
Native stacktrace:
0x10d6604e4 - /private/var/containers/Bundle/Application/051ED1DD-582D-456F-ADD3-BA04964BBE87/UniversalInventory.iOS.app/UniversalInventory.iOS : mono_dump_native_crash_info

0x10d656750 - /private/var/containers/Bundle/Application/051ED1DD-582D-456F-ADD3-BA04964BBE87/UniversalInventory.iOS.app/UniversalInventory.iOS : mono_handle_native_crash

0x10d65fa30 - /private/var/containers/Bundle/Application/051ED1DD-582D-456F-ADD3-BA04964BBE87/UniversalInventory.iOS.app/UniversalInventory.iOS : sigabrt_signal_handler
0x1ea1f7298 - /usr/lib/system/libsystem_platform.dylib : <redacted>
0x1cc6a4a30 - /usr/lib/system/libsystem_kernel.dylib : <redacted>
0x1cc6a4a64 - /usr/lib/system/libsystem_kernel.dylib : <redacted>
0x1e245201c - /System/Library/PrivateFrameworks/TCC.framework/TCC : TCCAccessRequest
0x1e2452adc - /System/Library/PrivateFrameworks/TCC.framework/TCC : <redacted>
0x1e24570f4 - /System/Library/PrivateFrameworks/TCC.framework/TCC : <redacted>
0x1ea23017c - /usr/lib/system/libxpc.dylib : <redacted>
0x1ea223aa8 - /usr/lib/system/libxpc.dylib : <redacted>
0x19e345e38 - /usr/lib/system/libdispatch.dylib : <redacted>
0x19e361410 - /usr/lib/system/libdispatch.dylib : <redacted>
0x19e35765c - /usr/lib/system/libdispatch.dylib : <redacted>
0x1ea1fd84c - /usr/lib/system/libsystem_pthread.dylib : _pthread_wqthread
0x1ea20476c - /usr/lib/system

/libsystem_pthread.dylib : start_wqthread
=================================================================
Basic Fault Address Reporting
Memory around native instruction pointer (0x1cc69fb84):0x1cc69fb74  ff 0f 5f d6 c0 03 5f d6 30 41 80 d2 01 10 00 d4  ......0A......
0x1cc69fb84  03 01 00 54 7f 23 03 d5 fd 7b bf a9 fd 03 00 91  ...T.#...{......
0x1cc69fb94
23 78 ff 97 bf 03 00 91 fd 7b c1 a8 ff 0f 5f d6  #x.......{.....
0x1cc69fba4  c0 03 5f d6 d0 03 80 d2 01 10 00 d4 03 01 00 54  ..............T
The app has been terminated.

Device
iPhone 12, iOS 14.4.2
Environment
Visual Studio 2019 - v16.9.6
Xamarin.iOS SDK - <IP_ADDRESS>
Xamarin.Forms - v<IP_ADDRESS>2
Xamarin.Essentials - v1.6.1
ZXing.Net.Mobile - v2.4.1 / v3.1.0-beta2
ZXing.Net.Mobile.Forms - v2.4.1 / v3.1.0-beta2

Any updates on this?

I think that this might be related to using the Hot Restart feature in Visual Studio. I have ran https://github.com/jfversluis/XFScanBarcodeSample project with Hot Restart and I always got the native crash reporting stuff.
However, after deploying to iPhone device through Mac device (paired Mac device) while still in Visual Studio in Windows it seems to work properly.
Can anyone try if they get the same results on this?

I got the same error. still not fixed

Not sure if this helps anyone, I had this error until I added the correct permission check for iOS in Info.plist:
<key>NSCameraUsageDescription</key>
<string>Please allow the camera to be used for scanning barcodes</string>


Fix link clicks

Fixes https://github.com/microsoft/vscode-jupyter/issues/8839
VS code was modified to support opening file links from a webview.
However it doesn't give focus to the same file if it's already open (which we used to do) and doesn't allow for a line number query (which we used to do).
And since we have our own link handler, it was opening twice. This opening twice breaks the IW (because you can't run a cell if the same file is open twice).
This change creates a new scheme that works around this problem - essentially going back to our link click handling.

Codecov Report

Merging #8840 (235341c) into main (62356af) will decrease coverage by 0%.
The diff coverage is 22%.

@@          Coverage Diff          @@
##            main   #8840   +/-   ##
=====================================
- Coverage     71%     71%   -1%
=====================================
  Files        382     382
  Lines      24695   24697    +2
  Branches    3805    3806    +1
=====================================
+ Hits       17671   17672    +1
+ Misses      5498    5495    -3
- Partials    1526    1530    +4

Impacted Files
Coverage Δ

...rc/client/datascience/errors/errorRendererComms.ts
24% <0%> (-1%)
:arrow_down:

...datascience/editor-integration/cellhashprovider.ts
82% <40%> (ø)

src/client/datascience/baseJupyterSession.ts
75% <0%> (-1%)
:arrow_down:

...atascience/interactive-window/interactiveWindow.ts
69% <0%> (-1%)
:arrow_down:

src/client/datascience/dataScienceSurveyBanner.ts
75% <0%> (ø)

src/client/datascience/jupyter/jupyterSession.ts
73% <0%> (+<1%)
:arrow_up:

.../client/datascience/notebook/liveKernelSwitcher.ts
78% <0%> (+7%)
:arrow_up:

@rebornix is going to back out the change to VS code. We'll discuss a longer term solution next week.


Task/us3.2 task4 create endpoint top5 users

Now the search returns max 5 users. And the name of the function is the correct one.

Wrong destination branch


Storybook - tree shaking issues

We figured out the issue is related to react-docgen-typescript and how it perceives our packages compiled using Vite.
I created a minimal fork to reproduce the issue: https://github.com/Powerplex/spark-docgen-fix
I shared it inside an issue on their repository: https://github.com/styleguidist/react-docgen-typescript/issues/481
I also am discussing with support in Storybook discord.

I think we need a way to keep track of it and fix it.


adding new countries

countries shared have been updated for some datasets

did you forget to add the link for educational data access request form? or are you planning to do it later?


Add githooks to project

Reason: Improve developer productivity, and prevent pushing code with bugs.
Adds a pre-push hook that runs the following gradle tasks: test, clean, checkstyleMain and checkstyleTest. Did not add a pre-commit hook so that developers can cut down on commit time.
Secured approval via this issue filed on the GitHub forum for CS2103.

As discussed in our team meeting this week, @mkeoliya and I will be updating the Developer Guide. We will include a note about the git hooks when we do that.


Validation error appears twice

When the field "Students (who do person-oriented research as part of their program) do, in principle, not need to submit a proposal with the ethical committee..." is left empty and the form is saved, the validation error "This field is required" appears twice.

Worth looking into, hopefully softvalidationmixin can fix this. But otherwise not a priority right now

Here the same happens:


0.8.18 Support

Bumps solhint, prettier, and prettier-plugin-solidity to support 0.8.18.
solparse-exp-jb doesn't understand mapping key/value names, though.
  Message: Request textDocument/definition failed with message: Expected "=>", "[", comment, end of line, or whitespace but "c" found. Line: 10, Column: 24
  Code: -32603

CC @PaulRBerg you can clone this branch, run npm install && npm run package, and install the .visx file manually to get editor support for named keys/values in maps.


Not documented option "Set up an SSH key later" in Advanced Settings

If one selects "Enable SSH access" in Advanced Settings from instance creation wizard there is a required field "SSH public key source".
There are 4 option and one of them is "Set up an SSH key later". This option is not documented at all. It's not obvious what it actually does and how to set up this SSH key later after the instance was created.

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

ID: 70b332b2-b671-a5e8-0db0-38aa1378dbaf
Version Independent ID: 13cd812a-48e4-dd85-3cc8-a0b357a5a453
Content: Create and manage a compute instance - Azure Machine Learning
Content Source: articles/machine-learning/how-to-create-manage-compute-instance.md
Service: machine-learning
Sub-service: core
GitHub Login: @jesscioffi
Microsoft Alias: jcioffi

I have the same issue

@FloridaDataGuy
Thanks for your feedback! We will investigate and update as appropriate.

@jesscioffi
Could you please review add comments on this, update as appropriate.

I am experiencing the same issue. Very frustrating.

I am also experiencing that! Very annoying issue.

@FloridaDataGuy
Thank you for bringing this to our attention.
I've delegated this to content author @jesscioffi, who will review it and offer their insightful opinions.

Hello all and thank you for bringing this to our attention! We had an issue where our SSH enablement documentation was not displaying properly on our pages. I have made the change so that this will no longer happen, and it should display on the main page normally. Expect this update to display in the coming days.
As for questions regarding setting up an SSH key later, I have added guidance into the documentation as well that will display when the update above goes live.
In the meantime, if you select to "Set up an SSH key later", the steps you would take after the compute instance is created is to go to the Details page of your compute instance and edit your SSH keys on the CI where SSH is enabled. There you will be able to add your SSH key.

Great. Thank you for the feedback.

#please-close


Basics of the Blockchain

Write a blog on Basics of the Blockchain .
This file should be under :-> Blog/Basic of blockchain/Readme.md
Made image folder if  u r using any image under the blog section.
f anyone want's  take this issue feel free to comment . Below are the points need to keep in mind while writing blog

Introduction
Pre requesite
Main content
Flow diagram
Conclusion
Refrence

HI , I would like to work on this @Vikash-8090-Yadav

ya sure @legendarykamal

Any updates ??

@Vikash-8090-Yadav In progress

@legendarykamal  complete  this also .