Backslashes in MsgId are interpreted as escape char

When calling catalog.GetString("\ ") on an empty catalog, I receive " " as result, the backslash disappears.
Is this intended or a bug? If it is a bug, I can look into that and (hopefully) create a PR.

It is not an issue with NGettext but with your code itself. In C#, \ in string is an escaping character. So your C# string itself is just the space string (see the reference documentation).
You need to either provide a verbatim string literal such as @"\ " or double-escape it "\\ ".

sorry, I oversimplyfied the example. I was using a string that was read from a file that contained a backslash and it was removed. So for the example above, it in deed would be catalog.GetString(@"\ ") that I was calling and it removed the backslash

I couldn't reproduce. I tried to translate @"\ " with an empty catalog, a catalog not containing the string and a catalog containing the string, and in all cases I did receive the backslash as expected.

Let me look up my example I had back then, maybe it is something that is somehow resolved now or involved more things like reading a mo file.


Generate JS or Update NPM

Hi,
I have my App using just JS, and I am having lots of trouble compiling the TS file, can someone release a the most recent version to NPM or regenerate the JS files?

I am trying to manually convert the TS file into JS but I have a couple of issues, all this for iOS:

The generated "images" page has this tag:
< Image height="78" width="78" opacity="{{ selected ? 0.7 : 1 }}" src="{{ $value }}" />
But $value is actually an object, this object has fileUri and if I replace $value with fileUri it works for the simulator, I am able to see the image but it does not work for the real device, no image is displayed

The object AssetPH is NOT observable so I get error when selecting an image (from the simulator), the error is related to line:
this.notifyPropertyChange("selected", this.selected);

this.notifyPropertyChange is not a function, because the object never extends an Observable, the weird thing here is that the demo works, but the demo is all TS, my project is all JS.
Any idea?
Thanks!

Hi @Daxito,
Could you provide more info about your scenario?
In case you would like to rebuild the plugin, you should first run npm install, which will install the needed dependencies and then run tsc.
The problem with using fileUri for Image src could be related to the case when you select an image from a cloud. Those images do not have real file Uri and could be caused this behavior.
About the last question, when the asset has been returned for the selected image you should use getImage() method, which will return imageSource. For example, review the sample here.
Hope this helps

@tsonevn
Thank you for the answer! I appreciate it.
Since I was stuck with this issue I had to create a new plugin for iOS, I use https://github.com/zhangao0086/DKImagePickerController instead, for Android works great though!


Dynamic UserAgent and other refactoring

Rather than having one hard-coded User-Agent, this update will aim to preserve the original user agent (on Chromium browsers)

Refactored code with descriptive comments so others can effortlessly examine how the code works

Looking good. Can you run npm run format?

Looking good. Can you run npm run format?

Gotchu! I think you meant npm run style


Fix lf_acc / lf_lowest_empicial_accs!

Print three statistics:

0.5E[l(x){y=1}] + 0.5
0.5E[-l(x){y=-1}] + 0.5
n labeled

I've pushed a simple fix in my current branch, extend to class-specific accs as above later...


Github Actions Unit tests

Description
Adding Github Actions for automatically testing lambda python script on pull requests to main
Type of change
Please delete options that are not relevant.

[ ] Bug Fix
[ ] New Feature
[ ] This change requires a documentation update

How Has This Been Tested?
N/A

Looks good to me. Very minor nit to consider naming consistency of "Python package" and "Terraform Validation".


[Bug][MapboxV10] wrong getCoordinateFromView on Android

Mapbox Implementation
Mapbox
Mapbox Version
default
Platform
Android
@rnmapbox/maps version
10.0.0-beta.57
Standalone component to reproduce
import React, { useRef, useState } from 'react';
import {
  MapView,
  ShapeSource,
  LineLayer,
  Camera,
  CircleLayer,
} from '@rnmapbox/maps';
import { Dimensions } from 'react-native';

const aLine = {
  type: 'LineString',
  coordinates: [
    [-74.00597, 40.71427],
    [-74.00697, 40.71527],
  ],
};

const BugReportExample = () => {
  const { width, height } = Dimensions.get('window');
  const [centerPoint, setCenterPoint] = useState({
    type: 'Point',
    coordinates: [-74.00597, 40.71427],
  });
  const center = [width / 2, height / 2];
  const mapRef = useRef();
  const onRegionDidChange = async () => {
    const centerInCoords = await mapRef?.current?.getCoordinateFromView?.(
      center,
    );
    setCenterPoint({
      type: 'Point',
      coordinates: centerInCoords,
    });
    console.log(centerInCoords);
  };
  return (
    <MapView
      style={{ flex: 1 }}
      ref={mapRef}
      onRegionDidChange={onRegionDidChange}
    >
      <Camera centerCoordinate={[-74.00597, 40.71427]} zoomLevel={14} />
      <ShapeSource id="idStreetSource" shape={aLine}>
        <LineLayer id="idStreetLayer" />
      </ShapeSource>
      <ShapeSource id="idCenterSource" shape={centerPoint}>
        <CircleLayer
          id="idCenterLayer"
          style={{ circleColor: 'red', circleRadius: 3 }}
        />
      </ShapeSource>
    </MapView>
  );
};

export default BugReportExample;

Observed behavior and steps to reproduce
Hello !
Seems like this old issue has come back to life.
Just call the getCoordinateFromView on the same pixel point, and you won't get the same values depending on the platform.
It's correct on IOS, wrong on Android.
In my practical case, I discovered this because my app has markers. And when I was on 8.5.0, my algo was working, but not anymore on v10.
Expected behavior
getCoordinateFromView should return correct values on Android
Notes / preliminary analysis
No response
Additional links and references
No response

I am still experiencing this bug on latest release 10.0.0-beta.62 (checked installed package.json version to make sure)
let point = await map.current.getPointInView([longitude, latitude])     const newCoords = await map.current.getCoordinateFromView(point)     console.log(newCoords, [longitude, latitude])     ...     [11.797216544651832, 60.90877448620131] [11.750504, 60.928799]

I think for some of the 10.0.6 or lower I was seeing this. Had to write a workaround
      const viewPoint = await current.getPointInView(coordinates)
      /**
       * @deprecated the return value is in pixels and needs to be converted.
       *
       */
      const offsetInDP = viewPoint[1] / PixelRatio.getPixelSizeForLayoutSize(1)

I think for some of the 10.x.x for android you need this workaround due to it returning the actual pixels not the pixel density that react-native uses.
      const viewPoint = await current.getPointInView(coordinates)
      /**
       * @deprecated the return value is in pixels and needs to be converted.
       *
       */
      const offsetInDP = viewPoint[1] / PixelRatio.getPixelSizeForLayoutSize(1)

@FrederickEngelhardt I think it should be PixelRatio.get() instead of PixelRatio.getPixelSizeForLayoutSize(1), because
PixelRatio.getPixelSizeForLayoutSize will round the returned value which may not be precise.

Thanks for the information. I just ran into this issue as well where my algorithm using getPointInView worked with version 8 on Android but not in version 10. I can confirm that PixelRation.get() seems to be the more accurate approach that fixed my issue. Thanks!


chore(package): update rollup to version 0.45.0

Closes #73

Codecov Report

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

@@         Coverage Diff          @@
##           master   #74   +/-   ##
====================================
  Coverage      80%   80%
====================================
  Files           1     1
  Lines          10    10
====================================
  Hits            8     8
  Misses          2     2

Continue to review full report at Codecov.

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


[#3526] Add support for MSI to JS samples and generators - ARM preexisting RG parameters (1/2)

Addresses #3526
Description
This PR updates the JS samples' ARM preexisting-rg-parameters.json files to include the parameters required to support MSI.
Detailed Changes

Added appType, tenantId, existingUserAssignedMSIName, and existingUserAssignedMSIResourceGroupName to the preexisting-rg-parameters.json files.
Added the missing file in samples 25.message-reaction and 46.teams-auth.

Testing
This image shows the bots being deployed and tested successfully after the changes.

@BruceHaley - Could you please review this PR? Thanks!


V1.5rc

Updated PPP
Updated UG/DG

Coverage increased (+1.0%) to 88.417% when pulling 5726065ff368627da8ecc88e5833fbdc4d70ca5c on 17navasaw:v1.5rc into edc09da74c31c94f129cdd76e03119c90d13b84b on CS2103AUG2017-T15-B2:master.


VK_LAYER_LUNARG_api_dump: Allow dumping debug markers

Supporting VK_EXT_debug_marker would make debugging a lot easier since it can easily tell the user where in the frame one is supposed to be when cross referencing draw calls.

Fixed in VulkanTools PR #393


OneDrive云同步Error

Onedrive云同步点SingIn后返回err：request resulted in error response: 401 Unauthorized

看请求应该是访问这个域名返回的：
https://77.cocogoat.cn/v2/aether/microsoft
error response
HTTP/2 500
date: Sun, 25 Feb 2024 04:55:29 GMT
content-type: text/plain; charset=utf-8
content-length: 52
server: openresty
access-control-allow-origin: *
x-content-type-options: nosniff
x: Riley/xy/_xxxxxxx_
x-ccdn-origin-time: 1199
via: _xxxxxxx_
x-hcs-proxy-type: 0
x-ccdn-cachettl: 0
access-control-expose-headers: Content-Length, Content-Range, Last-Modified, Authorization
access-control-allow-methods: GET, PUT, POST, DELETE, OPTIONS
access-control-max-age: 7200
access-control-allow-headers: Authorization, Content-Type, Content-Range, Content-Encoding, If-Unmodified-Since, X-Last-Modified, sentry-trace, AB

request resulted in error response: 401 Unauthorized


fix(generate): use prefix when initializing app (#2046)

E2E test would fail when using a prefix to generate the app.
I've updated the initial component generator to take prefix into account.
Fixes issue #2046

LGTM. Thanks!


Single Type Jekyll

Ever considered to inplement single types in jekyll?

Creating and using Single Types in Strapi is simple and well documented. However, I have not found a way to consume Strapi's Single Types in Jekyll. My specific use case is to enable a content manager to update the content of simple pages (e.g. the landing page) from the Strapi admin. This need is elementary. In spite of that, I have not found a solution. A solution would be greatly appreciated.

Hi @transdeco-git - did you manage to find a solution to retrieve single types from Strapi to use in Jekyll?


any plan for spark > 3.4.0

Hi, thank you for you project.
Any plan for spark ...3.4, 3.5?

+1

+1

+1

+1 (3.4.1)

any plan for spark 4?
https://spark.apache.org/news/spark-4.0.0-preview1.html


Update power-bi-visual-geocode.md

Added updates to account for the geocoding support added to Azure Maps visual last year.

@deniseatmicrosoft

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@deniseatmicrosoft , is this still waiting for info? Thanks.

yes @American-Dipper , It'd be appreciated we close this for now, we'll open the PR when dev has time to test and modify the doc. THANK YOU.

Closing this PR for now per https://github.com/MicrosoftDocs/azure-docs/pull/109688#issuecomment-1641556296


Add Ctrl+C to Cancel

There are some edge cases where when we spawn subcommands, control+c doesn't work anymore.
Let's look into something like https://github.com/jprichardson/node-death for trapping and exiting.
We should never lock up the user's shell.
First step would be to reproduce.  I think I remember experiencing this myself when a subcommand tried to prompt for input, but we weren't showing it.

@skellock Additionally, you cannot ctrl+c out once Ignite is cooking...

I can't seem to reproduce this. It works fine when I ctrl+C at the point @fvonhoven was at.

This would be very useful. On my Mac (Sierra + zsh), it doesn't halt execution.

I believe this is no longer an issue with the latest versions of Ignite. If it is, please open a new issue (and tag this issue, #888).


npm start throws an error code ELIFECYCLE

Is this a bug report?
no

Did you try recovering your dependencies?

yes i have tried it but it didn't solve the error.
Which terms did you search for in User Guide?

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>start: react-scripts start
npm ERR! Exit status 1
Environment

Environment Info:
(node:12916) UnhandledPromiseRejectionWarning: Error: The system cannot find the path specified.
at Function.e.exports.sync (C:\Users\jaysh\AppData\Roaming\npm-cache\_npx\12916\node_modules\create-react-app\node_modules\envinfo\dist\envinfo.js:1:7778)
at Object.copySync (C:\Users\jaysh\AppData\Roaming\npm-cache\_npx\12916\node_modules\create-react-app\node_modules\envinfo\dist\envinfo.js:1:104976)
at Object.t.writeSync.e [as writeSync] (C:\Users\jaysh\AppData\Roaming\npm-cache\_npx\12916\node_modules\create-react-app\node_modules\envinfo\dist\envinfo.js:1:123499)
at C:\Users\jaysh\AppData\Roaming\npm-cache\_npx\12916\node_modules\create-react-app\node_modules\envinfo\dist\envinfo.js:1:124274
at Promise.all.then.e (C:\Users\jaysh\AppData\Roaming\npm-cache\_npx\12916\node_modules\create-react-app\node_modules\envinfo\dist\envinfo.js:1:124289)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:189:7)

(node:12916) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:12916) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Steps to Reproduce

(Write your steps here:)

npx create-react-app xyz
cd demo-app
npm start

Expected Behavior

it should start the server on localhost://3000.
(Write what you thought would happen.)
Actual Behavior

(Write what happened. Please add screenshots!)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>start: react-scripts start
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Reproducible Demo

(Paste the link to an example project and exact instructions to reproduce the issue.)

Make sure you have up to date versions of node / npm / yarn
Try  npm cache clean --force  before npx create-react-app xyz

Make sure you have up to date versions of node / npm / yarn
Try npm cache clean --force before npx create-react-app xyz

i have tried it but didn't work. and i am using node 8.12.0 and npm 6.4.1

Steps to reproduce are looking not good if you ask me. First, you create an app named "xyz", then you cd to another directory.

Steps to reproduce are confusing if you ask me. First, you create an app named "xyz", then you cd to another directory.

Sorry my bad :) cd xyz .but it would be very helpful of you to suggest anything to resolve error. i have tried many things and wasted my 2 days behind this.
Things i have tried

Reinstalling and updating Node
Updating npm and babel-loader
tried yarn instead of npm
tried to create project in different locations
npm clean cache --force and after deleting node_modules and package-lock.json / yarn.lock than npm install but still same error persists.
Instead of using create-react-app tried manually creating the app as suggested here https://www.tutorialspoint.com/reactjs/reactjs_environment_setup.htm.

@JaySheth51 maybe try a different version of react-scripts?  Goto package.json, update to one of the older versions and see if you still run into this issue.
https://www.npmjs.com/package/react-scripts (click on versions)


Cloud control

Hello.
is there a possibility to just connect the integration to my tapo cloud account and controll all devices?
problem: my devices are not connected to the home assistant network . I‘ve currently problems with my tapo automation and want HA to take over control of all my tapo devices.
My scenario:
I‘ve tapo humidity and temperature sensors in place, based on their level I want to activate or deactivate certain tapo switches.
Currently the tapo automation is not working properly and did not react on temperature or humidity changes at all.
Would be great if there is something like a remote connect available, to control the tapo devices altough they are not in the same network

also see:
https://github.com/petretiandrea/home-assistant-tapo-p100/discussions/682


:listen doesn't connect

Hi, sorry to trouble you,
I followed the video on youtube but when I type ":listen" to get the id, it says: "Creating Connection" but that's it. I never get to see the next message with the Id.
I tried firefox 4, safari and chrome. I suppose is some feature in my windows 7 that is wrong? Or does it works only on OSX?

I am also having same problem. I am trying with Firefox 49.0.1 on Mac and :listen doesn't connect.

I am also having same problem. I am trying with Firefox 53.0.2 (64-bit) on ArchLinux 1.0


As a user, I want to browse all card images associated with a single member so that I can get an overview of their card activity.

notes for testing
Use member browse to find members, click through to their detail page, and then click the cards page.

You should see thumbnail images for all cards associated with that person (association is based on footnote bibliography record for the lending library card associated with the member account)
Card images should be labeled by year or year range when we can determine them from the database; years are based on events associated with those cards by footnote in the database; if no years are found, it's labeled as Unknown
Dates with unknown years should be ignored when generating year labels (I think Gertrude Stein is currently an example fo this)
Images are ordered based on the canvas order within the IIIF manifest (some of these probably still need to be edited in Figgy)
Card tab should be clickable from the membership activities page
Check at least one member who does not have cards: the card page should still be clickable, but no images will display and there should be text indicating the member does not have any cards available

design testing
Should display three thumbnails to a row on desktop and tablet; single thumbnail per row on mobile. Try to check a few accounts with cards that aren't multiples of three to check that the last row aligns the way you'd expect.
Member card gallery in Zeplin: desktop | tablet | mobile

Desktop:

YES, if a member has a card I am able to see thumbnails by clicking through the member detail page. I checked these members with cards: Pauline Alderman, Walter Benjamin, Antoinette Bernheim.
QUESTION: Bernheim's cards were out of order, so I went to Figgy and corrected them. But it did not update on the test site.
YES, card images are labeled by year or year range, and YES if no years are found, it's labeled as Unknown.
YES, if the card has unknown years but dates, like Gertrude Stein's, then the card is labeled as "Unknown"
YES, I see that the images are based  on the canvas order within the IIIF manifest. And yes, I did have to edit some. But like I said above: it didn't update on the screen. Is that because I have to update the order of the manifests elsewhere?
YES, the card tab is clickable from the membership activities page on each member
YES, if the member does NOT have a card, I am still able to click on the card page and see the text "No cards available." Tried with Ably and Adler.

@clmahoney we have to pull in figgy changes, they don't automatically propagate. Do you want me to try updating this one on the test site to check?

@rlskoeser yes!

@clmahoney is the functionality testing resolved based on our test of updating the figgy records you changed? And could you review the styles, also?

@rlskoeser Yes this is ready to close, but I thought @jkotin would be the one to review and close.

This works well, and is ready to close if @clmahoney has tested on tablet and mobile.
Some notes:

a rectangular square surrounds the card and date when cursor touches.  See attached screen grab.

We still need to figure out how to handle the blank cards. At the very least, they should not have "unknown" for dates. My current thinking is that we should not show blank cards on the site at all. If a user wants to know recto-verso, the user can go to the finding aid.  Most users will be discouraged/confused by the blanks.

Tablet:

YES, if a member has a card I am able to see thumbnails by clicking through the member detail page. I tested with Bedouret and Pound.
YES, card images are labeled by year or year range, and YES if no years are found, it's labeled as Unknown. I have found some mistakes where the year on the site is displaying differently than the year on the card, but I'm making a list of these to share once I've gone through all the cards.
YES, if the card has unknown years but does have days and months, like Pound's, the card is listed as "unknown"
YES, the card tab is clickable from the membership activities page on each member
YES, if the member does NOT have a card, I am still able to click on the card page and see the text "No cards available."

Mobile: tested with Arvanon e

YES, if a member has a card I am able to see thumbnails by clicking through the member detail page.
YES, the card images are labeled by year or year range, and YES if no years are found, it's labeled as Unknown.
YES, if the card has unknown years but does have days and months, the card is listed as "unknown"
YES, the card tab is clickable from the membership activities page on each member
YES, if the member does NOT have a card, I am still able to click on the card page and see the text "No cards available."

I'm ready to close once Josh's two questions have been addressed.

@jkotin re: your comment about the square (a focus indicator) - this one looks maybe a little peculiar, but in general this phenomenon is desirable because it indicates to users where the current focus is. this is particularly helpful for keyboard-only users who use tab or other keys to navigate around the site and can't always tell where they are "looking" unless there is a visible focus indicator.

@jkotin same question as on the other card story - what's your sense of the priority of excluding unknowns, and are you fine with possibly excluding non-blank cards with no footnotes?

@jkotin @clmahoney Updated to skip over images without any associated events unless you are logged in. Please test both logged in and not logged in to compare.
Note that login restrictions to member pages have been turned off in preparation for members MVP and to make it possible to test this feature.

@rlskoeser apologies: how do I explore the cards when I am not logged in?

@jkotin to log out, you can navigate to the admin site, click your name in the upper right-hand corner, and click "log out". then you can visit the site again to view it while logged out.

@rlskoeser Excellent. This looks good. I am looking at desktop, not logged in. I definitely think we made the right decision suppressing the blank cards. That said, we will have to un-suppress some cards. E.g. @clmahoney Alvear s7—there are no events on the card, but there is an address and the card is actually a card (as opposed to a scrap of paper or an envelop). Such cards should be part of the site. This isn't a blocker for this release, but I would like to have a list of cards that will be need to be "unsuppressed" for January 1 to include in the next release. Is this reasonable for everyone?  I found the problem by comparing the site to the finding aid on two screens, side by side.

@jkotin confirming - can this be closed?


Template with for loop leads to extra newlines

Hello,
The following code lead to extra newlines
using OteraEngine

template = Template(
    """{% for i in 1:3 %}
    Hello {{ i }}
    {% end %}""", path=false)

println(template())

see output
> julia .\for_example.jl
Hello 1

Hello 2

Hello 3

it should be
> julia .\for_example.jl
Hello 1
Hello 2
Hello 3

Kind regards

You can use autospace optioon like this:
template = Template(
    """{% for i in 1:3 %}
    Hello {{ i }}
    {% end %}""", path=false, config = Dict("autospace" => true))

println(template())

If it doesn't work, please tell me.

Thanks @MommaWatasu I wonder if it shouldn't be default ?

When including template in an other template it doesn't seems to work as expected (or that's a misunderstanding from my side)
See example
using OteraEngine

function api_example_rendering_complex_example()
    # Initialise the template
    template = Template(joinpath(homedir(), "Project.toml"), config = Dict("autospace" => true))

    """
    > cat Project.toml
    name = "{{ name }}"
    uuid = "{{ uuid }}"
    version = "{{ version }}"
    {% if !isempty(deps) %}

    [deps]
    {% for (dep, uuid) in deps %}
    {{ dep }} = "{{ uuid }}"
    {% end %}

    {% include "Compat.toml" %}
    {% end %}

    > cat Compat.toml
    [compat]
    {% for (name, version) in compat %}
    {{ name }} = "{{ version }}"
    {% end %}
    """

    # Create the object
    cryptoapis = Project(
        "CryptoAPIs",
        UUID("5e3d4798-c815-4641-85e1-deed530626d3"),
        v"0.13.0",
        [
            "Base64" => UUID("2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"),
            "Dates" => UUID("ade2ca70-3891-5945-98fb-dc099432e06a"),
            "JSONWebTokens" => UUID("9b8beb19-0777-58c6-920b-28f749fee4d3"),
            "NanoDates" => UUID("46f1a544-deae-4307-8689-c12aa3c955c6"),
        ],
        [
            "JSONWebTokens" => v"1.1.1",
            "NanoDates" => v"0.3.0",
        ],
    )

    # Create the dictionary
    d_cryptoapis = Dict(String(k) => v for (k,v) in zip(fieldnames(typeof(cryptoapis)), getfield.(Ref(cryptoapis), fieldnames(typeof(cryptoapis)))))

    # Render the template
    println(template(init = d_cryptoapis))

end

api_example_rendering_complex_example()

Thanks @MommaWatasu I wonder if it shouldn't be default ?

When I implement this option, I wasn't sure that it works perfectly. But now, I haven't recieved any issue about it, and I think I will make it default in next release.

Yep. But I think you should take care also about how it behave when including template into template
In this case even passing autospace = true it ends up outputing
name = "CryptoAPIs"
uuid = "5e3d4798-c815-4641-85e1-deed530626d3"
version = "0.13.0"

[deps]

Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"

Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"

JSONWebTokens = "9b8beb19-0777-58c6-920b-28f749fee4d3"

NanoDates = "46f1a544-deae-4307-8689-c12aa3c955c6"

[compat]

JSONWebTokens = "1.1.1"

NanoDates = "0.3.0"

instead of
name = "CryptoAPIs"
uuid = "5e3d4798-c815-4641-85e1-deed530626d3"
version = "0.13.0"

[deps]
Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
JSONWebTokens = "9b8beb19-0777-58c6-920b-28f749fee4d3"
NanoDates = "46f1a544-deae-4307-8689-c12aa3c955c6"

[compat]
JSONWebTokens = "1.1.1"
NanoDates = "0.3.0"

I have no idea what causes this issue because it works correctly in my environment. If you get some clue, please let me know.

What OS are you using? On my side I was using Windows 11 in this example.

I got it. I’m using Linux and CI(Github Actions) also run on Ubuntu.  This is the reason why tests fail(#38 ) and autospace doesn’t work correctly. Windows uses ¥r¥n as a new line but Linux uses ¥n instead.
I’ll work on this problem. Thank you for your cooperation, and wait for a while.

@femtotrader Now I released new version 0.5.8.
Please try it, and if you have no problem please close the issues.
Thanks again.

Thanks @MommaWatasu
It's working fine.


Fixes the handling of unicode special characters causing errors in i18n

Fixes #820

@mehtayash The change is causing some unit tests are failing

The change has been modified to now successfully take care of the Latin special chars which were ignored previously.

@amsul we should test this with some languages.
Also see https://github.com/amsul/pickadate.js/issues/1177

@DanielRuf good point.
@mehtayash would you be interested in helping write those tests?


Need a Simple Example or method to get stream response of ConversationChain

use AzureChatOpenAI,  no stream method. any help?


Add packaging and pom for plugin and application

We are currently developing a plugin for a customer and discovered that our example cannot be built.
The issue was resolved by adding the following items to the plugin and application pom.xml.
<packaging>pom</packaging>
Wouldn't it be better to fix it?

How did you try to build and what was the error you saw?

Hi, jackshirazi.
The error below:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:3.1.1:install (default-install) on project plugin: The packaging plugin for this project did not assign a main file to the project but it has attachments. Change packaging to 'pom'. -> [Help 1]


FAQ out of date, shared runtimes availble

looks like runtimes can be shared between factories, no longer 1-1 mapping.
https://docs.microsoft.com/en-us/azure/data-factory/create-shared-self-hosted-integration-runtime-powershell
https://docs.microsoft.com/en-us/azure/data-factory/create-self-hosted-integration-runtime

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

ID: 567118bc-05db-cb9d-d14f-faf835da048a
Version Independent ID: 9aaa1635-bb8c-07b4-ebc5-55baeb98149c
Content: Security considerations in Azure Data Factory
Content Source: articles/data-factory/data-movement-security-considerations.md
Service: data-factory
GitHub Login: @nabhishek
Microsoft Alias: abnarain

@nickbeagley Thanks for the feedback! We are currently investigating and will update you shortly.

@nabhishek the first question in the FAQ section may need to be updated:
https://docs.microsoft.com/en-us/azure/data-factory/data-movement-security-considerations#frequently-asked-questions

this has been updated. Thanks.
#please-close


Dont write fcsr for test w/ fp

For testing designs w/o FP, write to fcsr will be trap, causing failure.

Sorry, I'll review this ASAP.


new M1 macOS runner available to open source

I just heard about this today, and I think it would be a very useful thing to update the github actions test matrix to include the M1 macOS runner.
https://github.blog/changelog/2024-01-30-github-actions-introducing-the-new-m1-macos-runner-available-to-open-source/

GitHub Actions: Introducing the new M1 macOS runner available to open source!
January 30, 2024
Today, GitHub is excited to announce the launch of a new M1 macOS runner! This runner is available for all plans, free in public repositories, and eligible to consume included free plan minutes in private repositories. The new runner executes Actions workflows with a 3 vCPU, 7 GB RAM, and 14 GB of storage VM, which provides the latest Mac hardware Actions has to offer. The new runner operates exclusively on macOS 14 and to use it, simply update the runs-on key in your YAML workflow file to macos-14.

Related:

https://github.com/computational-cell-analytics/micro-sam/issues/181
https://github.com/computational-cell-analytics/micro-sam/pull/176
https://github.com/computational-cell-analytics/micro-sam/pull/183

Fixed by #370


ESP32-S3 Espressif IDE FreeRTOS task debugging using Eclipse FreeRTOS plugin (IDFGH-8655)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
Hello. I am trying to setup FreeRTOS debugging (monitoring each task stack, priority and etc) via the Eclipse IDE plugin.
I use ESP32-S3 Devkit and I am debugging using built in USB JTAG. I setup the debug configuration as following (selected the right cfg):

and I can debug the ESP32-S3 without any issues (placing breakpoints and etc...)
I have read about FreeRTOS debuging plugin from the NXP:
https://mcuoneclipse.com/2016/07/06/freertos-kernel-awareness-for-eclipse-from-nxp/
I have downloaded this plugin and added it into my view. I have run the debugging session and placed a breakpoint in one of my FreeRTOS tasks. The FreeRTOS task view seemed to work as it loaded some usefull information about currently running tasks.

In order to use full potential of this plugin, I should enable GENERATE_RUN_TIME_STATS for my project in the sdkconfig. After doing so, I would expect the FreeRTOS task view to automatically refresh and show live statistics. After enabling this and building project again, It does not seem to work as expected:
When there are no breakpoints placed, the FreeRTOS task view shows nothing. As soon as I place a breakpoint, it fetches data and displays freertos task information. When I remove the breakpoint and run the code again, the data dissapears. I cant seem to understand how can I debug freertos task in real time. For some reason enabling the GENERATE_RUN_TIME_STATS did not work and it still warns me that I need to enable:

But you can see from my sdkconfig that it is enabled:

Did anyone else have similar issues with ESP32 FreeRTOS task debugging? I really hope to get some help regarding this as I feel this is a cool debugging feature and could help me out.

Also waiting for this to be sorted out. Seems like a core feature required for professional development. Any workarounds?

Still waiting for any feedback regarding real time RTOS debugging from espressif team. I didint find any workarrounds yet.
Just need confirmation if its possible to achieve or not. Surely if they have option for enabling real time FREERTOS stats it should be capable?

+1 please!!!

@zikalino  Please shed some light :)

After doing so, I would expect the FreeRTOS task view to automatically refresh and show live statistics.

That might work on RISC-V chips (like the ESP32-C3) which implement memory access while the CPU is running, but not on Xtensa ones. On Xtensa, either tracing has to be done via app_trace (which we use for SystemView) or you need to halt the CPU, for instance by stopping on a breakpoint.
In general, this looks more like a feature request which should be directed at https://github.com/espressif/idf-eclipse-plugin rather than IDF.

After doing so, I would expect the FreeRTOS task view to automatically refresh and show live statistics.

That might work on RISC-V chips (like the ESP32-C3) which implement memory access while the CPU is running, but not on Xtensa ones. On Xtensa, either tracing has to be done via app_trace (which we use for SystemView) or you need to halt the CPU, for instance by stopping on a breakpoint.
In general, this looks more like a feature request which should be directed at https://github.com/espressif/idf-eclipse-plugin rather than IDF.

Thank you very much for your response. At least now we know!
I will try to get my hands on ESP32-C3 and test this out.
Additionally, can you clarify a little what do you mean :

On Xtensa, either tracing has to be done via app_trace (which we use for SystemView).

Does this need additional implementation on my program? Do I need to manually call app_trace functions?

Does this need additional implementation on my program? Do I need to manually call app_trace functions?

There are three options that I see:

Use SystemView tracing instead of the Eclipse plugin you have found. SystemView tracing is already supported in ESP-IDF. You can load the trace file into the SystemView utility to see the timeline of task execution. No implementation is needed on your part, just changing a few configuration options. The downside is that it's not the plugin you are asking about, it's another tool.
Still use SystemView on the chip side, but modify the plugin on the host side to interpret SystemView trace data, showing the same task list as in the plugin you have shown. This requires some work on modifying the plugin. (I think this is the most viable option, and what could be done in the feature request you have opened.)
Create a periodic timer, call FreeRTOS task list API from the timer callback to get the information about task run-time and stack size. Send this data to the host via app_trace API. Modify the plugin to get this data on the host side and present it in the same way as the plugin you have shown. A bit more work than in the previous option, but no dependency on SystemView.

Moved the issue to https://github.com/espressif/idf-eclipse-plugin/issues/712 so and closing here.


Am I supposed to be able to run this in node?

After lots of fiddling and different errors, I ended up with:
Error: no available backend found. ERR: [wasm] Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, data, and node are supported by the default ESM loader. Received protocol 'https:'
I tried both cpu/wasm as a param, I didn't see onnx-node under gliner/node_modules but I also installed transformers.js and it brought it in:
[1/4] 🤔  Why do we have the module "onnxruntime-node"...?
[2/4] 🚚  Initialising dependency graph...
[3/4] 🔍  Finding dependency...
[4/4] 🚡  Calculating file sizes...
=> Found<EMAIL_ADDRESS>info Reasons this module exists
   - "@xenova#transformers" depends on it
   - Hoisted from "@xenova#transformers#onnxruntime-node"
info Disk size without dependencies: "92.02MB"
info Disk size with unique dependencies: "92.86MB"
info Disk size with transitive dependencies: "92.86MB"
info Number of shared dependencies: 1

Just not sure if this lib knows how to use it..?

Hi, we are still working on node.js support. This library was mainly intended to be run in the browser, as there are other solutions to running gliner on a server.
I will however look into node.js again tomorrow and see if I can include it early. Will update you then.


minor simplifiation to code in #524

Hi Jairo, here is a minor code simplification for your PR #524.
I have not tested #524 out yet on example data but will do in upcoming days.

Great, I thought I would need to use the check_sleepMode several times, but you're right, it is finally used once, no need to store that object.


Try fix for #92

We need to process the ST_FIN packet even if the connection has not been fully established yet.

I believe the correct fix would be to consider ST_FIN as connection completion (as well as ST_DATA):
https://github.com/bittorrent/libutp/blob/master/utp_internal.cpp#L2160


Boolean Filed

First, great work and thanks a lot for sharing with community.
Boolean field is not working fine. In Edit form, if I check yes, it is not rendering as yes.

Sorry for not responding sooner!! I just saw this. I’ll take a look and let you know

Try the latest version and let me know!


SPFX - PnP JS Core for SPFx On-Premise v1.0.2

Category

[x] Question
[ ] Typo
[ ] Bug
[ ] Additional article idea

I want to use PnP JS Core in SPFx v1.0.2 React webpart for SP16 On-premise server .

What is the version of pnp need to use and how to install it?
What are the other options for accessing data in SP with this version(1.0.2)?

@VesaJuvonen - Can you answer the version question?
REST and CSOM are both available on prem in the same way that it is available in SPO.

@geogikk92 - please see my response to your original issue.

Resolved in the https://github.com/SharePoint/PnP-JS-Core/issues/600, so closing this one. All good and works.


[Chore] Remove dead codes

What does this PR do?
Remove dead codes from client side
Description of Task to be completed?
N/A
How should this be manually tested?
N/A
Any background context you want to provide?
N/A
What are the relevant pivotal tracker stories?
N/A
Screenshots (if appropriate)
N/A
Questions:
N/A

Coverage remained the same at 88.828% when pulling 936122ce29fe99aab3fe2ccd39b42e5f2ed598f6 on ch-feedback-implementation into 32c27e4c1bb87ffbad034841f6d28f07036c7f87 on develop.


HDDS-3020. Fix TestOzoneClientRetriesOnException.java

What changes were proposed in this pull request?
It fixes the unit test TestOzoneClientRetriesOnException#testMaxRetriesByOzoneClient by fixing the exception message in KeyOutputStream.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-3020
How was this patch tested?
The TestOzoneClientRetriesOnException tests are working successfully.

A different failure on next 20th run:
[ERROR] Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 84.073 s <<< FAILURE! - in org.apache.hadoop.ozone.client.rpc.TestOzoneClientRetriesOnException
[ERROR] testMaxRetriesByOzoneClient(org.apache.hadoop.ozone.client.rpc.TestOzoneClientRetriesOnException)  Time elapsed: 39.181 s  <<< FAILURE!
java.lang.AssertionError: Expected exception not thrown
  ...
  at org.apache.hadoop.ozone.client.rpc.TestOzoneClientRetriesOnException.testMaxRetriesByOzoneClient(TestOzoneClientRetriesOnException.java:218)

https://github.com/adoroszlai/hadoop-ozone/runs/455545015
log/output: https://github.com/adoroszlai/hadoop-ozone/suites/468331010/artifacts/2018291

Crashed again on merge to master: https://github.com/apache/hadoop-ozone/runs/457338931
May need some follow-up fix.


Could you help to create example like bcc/tcptop

Dear contributer:
could you add a example like bcc/tcptop or tcplife, can show below metrics, realy appreciate.
https://github.com/iovisor/bcc/blob/master/tools/tcptop_example.txt
https://github.com/iovisor/bcc/blob/master/tools/tcplife_example.txt
PID   COMM       LADDR           LPORT RADDR           RPORT TX_KB RX_KB MS
22597 recordProg <IP_ADDRESS>       46644 <IP_ADDRESS>       28527     0     0 0.23
3277  redis-serv <IP_ADDRESS>       28527 <IP_ADDRESS>       46644     0     0 0.28

This is high cardinality data and it doesn't belong in prometheus. You are welcome to contribute a per-cgroup example.


chore: bump vm2 to avoid vulnerability

PR summary

Bumps vm2 package to avoid vulnerability SNYK-JS-VM2-3018201
PR Checklist
General checklist
Please make sure that your PR fulfills the following requirements:

[x] The commit message follows the Angular Commit Message Guidelines.

:tada: This PR is included in version 0.44.0 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 0.95.0 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:


OSX + Unity error

Environment data
Version:            1.0.0-preview2-1-003177
Commit SHA-1 hash:  a2df9c2576
Runtime Environment:
OS Name:     Mac OS X
OS Version:  10.11
OS Platform: Darwin
RID:         osx.10.11-x64
VS Code version: 1.7.2
C# Extension version: 1.5.3
I get the following error when opening my Unity (5.4.1f1) project in vscode:
[WARNING:OmniSharp#ProjectFileInfo] Couldn't locate Mono, TargetFrameworkRootPath not specified
[INFORMATION:OmniSharp#ProjectFileInfo] Using tools version: 15.0
[ERROR:OmniSharp#ProjectFileInfo] The reference assemblies for framework ".NETFramework,Version=v2.0" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend.
[WARNING:OmniSharp#MSBuild] Failed to process project file '/Users/abc/Unity/temp/Assembly-CSharp.csproj'.
/Users/abc/Unity/temp/Assembly-CSharp.csproj

get the same error but complains of .NET framework v3.5 not found

Hi @ViktorEvil -- in order for the C# extension to provide IntelliSense for Unity, Mono needs to be installed somewhere on the system. Otherwise, it can't find the assemblies that your projects reference. You can install Mono by downloading it from http://www.mono-project.com/download/ or install it via Howebrew.

@klase I had this same issue, I think it was from multiple mono installs.  Installing mono from the download didn't work, but doing:
brew install mono
brew link --overwrite mono
fixed it for me.

It can also happen if "mono" isn't on your path. In order to provide IntelliSense, we attempt to locate the folder that Mono puts target frameworks from the location of "mono". (Essentially, we execute "which mono" and then execute "readlink" a number of times to find the real canonicalized path.)

@DustinCampbell Thanks :)

@Figbash cheers that did it for me as well :)

@DustinCampbell thanks for your help feel free to close this.

Glad to hear you got it working.

@DustinCampbell Thanks very much. brew install mono works for me.

@DustinCampbell Thanks very much. brew install mono works for me.

Awesome! Thanks for verifying.

Hello, I know that this is old, and there is already a recommended solution,
but it looks to me that in my setup I shouldn't need to install mono over brew,
since I have mono on my Path, and it looks like I have the reference assemblies
I did not install mono directly, it was installed by Xamarin Studio v6.3.
Do I really need to install mono over brew and overwrite my current installation?

--
joao:/Library$ which mono
/Library/Frameworks/Mono.framework/Versions/Current/Commands/mono
joao:/Library$ readlink /Library/Frameworks/Mono.framework/Versions/Current/Commands/mono
/Library/Frameworks/Mono.framework/Commands/mono
joao:/Library$ readlink /Library/Frameworks/Mono.framework/Commands/mono
mono-sgen
joao:/Library$ readlink /Library/Frameworks/Mono.framework/Commands/mono-sgen
mono-sgen32
joao:/Library$ readlink /Library/Frameworks/Mono.framework/Commands/mono-sgen32
joao:/Library$ readlink /Library/Frameworks/Mono.framework/Commands/mono-sgen32
joao:/Library$ readlink /Library/Frameworks/Mono.framework/Commands
/Library/Frameworks/Mono.framework/Versions/Current/bin
joao:/Library$ readlink /Library/Frameworks/Mono.framework/Versions/Current/bin/
joao:/Library$ readlink /Library/Frameworks/Mono.framework/Versions/Current/
joao:/Library$ readlink /Library/Frameworks/Mono.framework/Versions/Current
/Library/Frameworks/Mono.framework/Versions/4.8.1
joao:/Library$ readlink /Library/Frameworks/Mono.framework/Versions/4.8.1
joao:/Library$ *readlink /Library/Frameworks/Mono.framework/Versions/4.8.1/
joao:/Library$ cd /Library/Frameworks/Mono.framework/Versions/4.8.1/
joao:/Library/Frameworks/Mono.framework/Versions/4.8.1$ find . -name "mscorlib.dll"
./lib/mono/2.0-api/mscorlib.dll
./lib/mono/4.0/mscorlib.dll
./lib/mono/4.0-api/mscorlib.dll
./lib/mono/4.5/mscorlib.dll
./lib/mono/4.5-api/mscorlib.dll
[ ... ]
joao:~$ mono --version
Mono JIT compiler version 4.8.1 (mono-4.8.0-branch/22a39d7 Fri Apr  7 12:00:08 EDT 2017)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS:           normal
SIGSEGV:       altstack
Notification:  kqueue
Architecture:  x86
Disabled:      none
Misc:          softdebug
LLVM:          yes(3.6.0svn-mono-master/8b1520c)
GC:            sgen

I tried what @Figbash suggested which was close but what ended up doing it for me was:
brew unlink mono && brew link mono

Holy Moly! I got this nasty error after installing Visual Studio 2017 for Mac. Then I find it sucks, I uninstalled it, which caused VSCode & OmniSharp this error. Shouldn't have mess with MS products.
brew unlink mono && brew link mono
saved my night, it's 2:32 AM now

I only get this working when after installing something on xcode xcode-select --install and then brew install mono


🎉 2.0.4

ℹ About this release

Version: 2.0.4
Type: patch
Last Release: 2.0.3 (1/22/2022, 3:03:36 PM) [?]
Commits to merge: 57 [?]

📦 Dependencies

Update @types/node-fetch from ^2.5.12 to ^2.6.1
Update puppeteer from ^13.0.1 to ^13.5.1

📦 Development Dependencies

Update @amanda-mitchell/semantic-release-npm-multiple from ^2.15.0 to ^3.1.0
Update @types/mocha from ^9.0.0 to ^9.1.0
Update @types/node from ^17.0.8 to ^17.0.23
Update @typescript-eslint/eslint-plugin from ^5.9.0 to ^5.14.0
Update @typescript-eslint/parser from ^5.9.0 to ^5.14.0
Update eslint from ^8.6.0 to ^8.11.0
Update eslint-plugin-jsonc from ^2.0.0 to ^2.2.1
Update mocha from ^9.1.3 to ^9.2.2
Update mochawesome from ^7.0.1 to ^7.1.1
Update ts-node from ^10.4.0 to ^10.7.0
Update typedoc from ^0.22.10 to ^0.22.13
Update typescript from ^4.5.4 to ^4.6.2

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

v2.0.4
GitHub release
Docker container (sebbo2002/iubh-campus-sync:2.0.4)
v2.0.4

Your semantic-release bot :package::rocket:


[alert-manager] Add alert for process in D state that holds GPU memory

According to issue #3372, we have process in D state holds GPU memory and not release after job stopped.
Currently we only reports D state of nvidia-smi to detect the GPU status of the node, but not detect the situation that a process in D state that holds GPU.
Should add an alert for this.

We should have a zombie container alert for it

You are correct, but seems no alert triggered at this time. Need to check why this happens.


bus: alignment of header is not assumed

This @alignCast could fire. There are several options to fix it:

Require that message size is a multiple of header's alignment.
At the transport layer, artificially pad messages to alignment.
Copy the data to fix the alignment.

I think 3 makes most sense:
1 doesn't really work, as state_machine replies are not aligned. A replica is a sequence of (u32 index, u32 error code) tuples, and they are 8-byte and not 16-byte aligned.
2 feels hacky in general and changes our network protocol. Additionally, there could be all kinds of encryption&compression layers in the transport, and it feels odd to try to maintain physical alignment through all that.
3 initially felt wrong to me, but I've grown to like it. The thing is, we already have a memcpy here. If a replica gets two messages in a single .read call, the second one would be copied over to a new message anyway.
Although the current implementation copies the entire header for simplicity, we actually don't need to do that. Message bus uses header to calculate checksum and to look at a couple of fields (cluster, client, replica, version). It should be perfectly fine to do all that on an unaligned data.
Closes: #1518

By the way, that's how option 1 could look: https://github.com/tigerbeetle/tigerbeetle/commit/954aaf4a8f7d2cda862971f41bd6492f4c9852ae. Coded that up before reading the summary of the issue and learning that the approach doesn't work due to replies


Remove log message printed before logging system is initialized

This log message is printed before the application context is initialized and the logging subsystem configured.
This is a problem for 2 reasons

It looks different from all other log messages
It pollutes stdout with a message that does not come from the underlying command. This breaks use cases such as:
presto --execute '...' > output.txt

Coverage decreased (-0.008%) to 91.434% when pulling daeba1ad816242d38a08091fc7d15da15e7dbc3c on mprimi:master into 5111f3137bb6d78bfda9d1ca5ef81c8cf8281fbd on Netflix:master.


runtime: badsignal2 crash on windows/arm64

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

> go version
go version go1.19 windows/arm64

Does this issue reproduce with the latest release?
Yes, with the latest major version (1.19).
What operating system and processor architecture are you using (go env)?
go env Output
> go env
set GO111MODULE=
set GOARCH=arm64
set GOBIN=
set GOCACHE=C:\Users\billziss\AppData\Local\go-build
set GOENV=C:\Users\billziss\AppData\Roaming\go\env
set GOEXE=.exe
set GOEXPERIMENT=
set GOFLAGS=
set GOHOSTARCH=arm64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=C:\Users\billziss\go\pkg\mod
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=C:\Users\billziss\go
set GOPRIVATE=
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=C:\Program Files\Go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=C:\Program Files\Go\pkg\tool\windows_arm64
set GOVCS=
set GOVERSION=go1.19
set GCCGO=gccgo
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=NUL
set GOWORK=
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-mthreads -fno-caret-diagnostics -Qunused-arguments -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=C:\Users\billziss\AppData\Local\Temp\go-build481145130=/tmp/go-build -gno-record-gcc-switches

What did you do?
I ran a Golang program that uses a DLL that raises a Windows exception in a non-Golang thread. This results in a call to runtime.badsignal2 via runtime.sigtramp.
What did you expect to see?
I expected to see the message runtime: signal received on thread not created by Go.
What did you see instead?
An Access Violation in WriteFile.
Problem and solution
The problem is that WriteFile expects a valid pointer for the lpNumberOfBytesWritten parameter. However badsignal2 seems to initialize the x3 register (which contains the lpNumberOfBytesWritten argument) to a bogus value.
The solution is to properly initialize x3 prior to calling WriteFile.
See also
#50877
https://github.com/rclone/rclone/issues/5828#issuecomment-1269934140

cc @golang/windows @golang/runtime

The solution is to properly initialize x3 prior to calling WriteFile.

@billziss-gh thanks for report.
I am not familiar enough with arm64 assembler, but I am pretty sure you are correct.
Please feel free to send fix for this issue. Here https://go.dev/doc/contribute is how to contribute. Or you can just create Github PR, and Go bot will automatically create Gerrit CL for you.
Thank you.
Alex

CC @qmuntal in case you are interested
Alex

The following one-line patch appears to fix the problem on my Windows/ARM machine (i.e. badsignal2 now prints "runtime: signal received on thread not created by Go" before aborting).
diff --git a/src/runtime/sys_windows_arm64.s b/src/runtime/sys_windows_arm64.s
index 024625f821..0a293ec317 100644
--- a/src/runtime/sys_windows_arm64.s
+++ b/src/runtime/sys_windows_arm64.s
@@ -113,7 +113,7 @@ TEXT runtime·badsignal2(SB),NOSPLIT,$16-0
        MOVD    $runtime·badsignalmsg(SB), R1   // lpBuffer
        MOVD    $runtime·badsignallen(SB), R2   // lpNumberOfBytesToWrite
        MOVD    (R2), R2
-       MOVD    R13, R3         // lpNumberOfBytesWritten
+       ADD     $0x10, RSP, R3          // lpNumberOfBytesWritten
        MOVD    $0, R4                  // lpOverlapped
        MOVD    runtime·_WriteFile(SB), R12
        SUB     $16, RSP        // skip over saved frame pointer below RSP

Please note that I am very new to Go's assembly and consequently this patch may be brittle. For example, if there is a change in the prolog that the Go assembler outputs, the offset to add to RSP may have to change.

I confirm that with @billziss-gh patch badsignal2 does not crash and runtime·_WriteFile prints runtime: signal received on thread not created by Go. Please go ahead and submit a CL with the fix. Someone with more experience in Go assembly will have to step in and resolve the prolog question.
On the other hand, I don't think that the expected message should be runtime: signal received ..., but just exit status 42 (being 42 whatever status code passed to RaiseException), at least this is the windows/amd64 behavior.
Summary:

badsignal2 should not crash. Will be resolved by @billziss-gh CL
badsignal2 should not be reached if a DLL calls RaiseException. Might be related to #50877

@qmuntal as per your request I have submitted a PR with the above patch.


Game- Word Scrammble

The game word scramble, lets you practice jumbled words, makes you brain more attentive and forces it to think. Key - features:
one-second delay before starting a new game automatically
unlimited vocabulary

hi, once this is merged I would like to add a readme file and update the buttons

#49
@nidhi752 put all of your files under a folder then put it in project folder


Error in making LUMA

Hi,
I am trying to install LUMA in my Ubuntu 20.04 system. I had built all the dependencies.
When I start making by make command in LUMA directory everything works fine until it start using lapack libraries.
I am attaching a text file containing error I get.
input_output.txt
One more thing I like to add, the error seems to be same when I try to compile a cpp file using lapack blas libraries without using gfortran and blas, i.e., if I use g++ -o test test.cpp -llapack instead of g++ -o  test test.cpp -llapack -lblas -lgfortran
Hope you may help.
Thank you.

Please could you try adding -lblas to the line
LIB=-L$(HDF5_HOME)/lib -lhdf5 -llapack

so that it looks like
LIB=-L$(HDF5_HOME)/lib -lhdf5 -llapack -lblas

and report back?

Hi,
I added  -lblas in make file. Now the u defined reference to dgetrs.f and dgetrf2.f  functions are gone but I am still getting undefined reference to xerbla.f. I am attaching the text file of the error I am getting now.
input_output_2.txt
Thank you.

Please can you add -lgfortran as well?

Yes, it works.
Thank you for helping me.

I just googled the error messages 🙂  I don't know why the default makefile isn't working for you - perhaps something has changed with LAPACK in the newer versions of Ubuntu.  I assume you just followed the instruction for the dependencies?  We should test them with current Ubuntu and fix them. Thanks for finding the problem!

Yes, I had followed the instructions for the dependencies but for VTK and LAPACK the instructions are missing. It would be great if those are present there for LINUX/MAC.
By the way it was nice to talk to you.


:bug: Use 'default' as the mlflow run name when the pipeline is not specified in 'kedro run' command

Description
Fix #392
Development notes
If pipeline_name is None in the hook, use __default instead
Checklist

[X] Read the contributing guidelines
[ ] Open this PR as a 'Draft Pull Request' if it is work-in-progress
[ ] Update the documentation to reflect the code changes
[X] Add a description of this change and add your name to the list of supporting contributions in the CHANGELOG.md file. Please respect Keep a Changelog guidelines.
[X] Add tests to cover your changes

Notice

[X] I acknowledge and agree that, by checking this box and clicking "Submit Pull Request":

I submit this contribution under the Apache 2.0 license and represent that I am entitled to do so on behalf of myself, my employer, or relevant third parties, as applicable.

I certify that (a) this contribution is my original creation and / or (b) to the extent it is not my original creation, I am authorised to submit this contribution on behalf of the original creator(s) or their licensees.

I certify that the use of this contribution as authorised by the Apache 2.0 license does not violate the intellectual property rights of anyone else.

Codecov Report
Base: 100.00% // Head: 100.00% // No change to project coverage :thumbsup:

Coverage data is based on head (b4e4349) compared to base (e2afa95).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #393   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           27        27
  Lines          922       941   +19
=========================================
+ Hits           922       941   +19

Impacted Files
Coverage Δ

kedro_mlflow/framework/hooks/mlflow_hook.py
100.00% <ø> (ø)

kedro_mlflow/framework/cli/cli.py
100.00% <0.00%> (ø)

kedro_mlflow/pipeline/pipeline_ml.py
100.00% <0.00%> (ø)

kedro_mlflow/mlflow/kedro_pipeline_model.py
100.00% <0.00%> (ø)

..._mlflow/io/models/mlflow_abstract_model_dataset.py
100.00% <0.00%> (ø)

...lflow/io/metrics/mlflow_abstract_metric_dataset.py
100.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


⚠ ClamAV has degraded performance

In 7e50a43, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 645 ms

Resolved: ClamAV performance has improved in 8e217bf.


Invalid published build

The build published on npm as of 3.0.1 is incorrect and represents a broken older codebase.
Bumping to 3.0.2 and deprecate the impacted version.

The 3.0.2 version has been successfully published and a fresh install works.


Setting Personalize SSM parameters do not appear to be getting picked up

Hi, I'm walking through the tutorial and can see that my campaigns are created and SSM parameters set.
However, when I go to the application - it does not appear the recommendations are being picked up. I did a hard reset and redeployed the Web UI to double check. Any suggestions for how to debug? I am also not seeing any events picked up by AWS Personalize.
A few pictures:

campaigns and SSM parameters set

UI not showing that the personalization service is getting picked up

Hi @bradaallen. It looks like you have everything setup correctly for the Recommendations service to pickup your campaign ARNs. A couple things to get check would be the logs for the Recommendations service to see if there are any errors or logging messages that could be helpful (you can find these under CloudWatch or ECS in the console). Also, do you have any active experiments running such as an A/B test? If so, you may be receiving the non-personalized control experience as part of the A/B split for an experiment. You would have had to run through one of the experiment workshops for this to be the case.

Hi @bradaallen. Any updates on this issue?

Hi @james-jory. I didn't try further debugging. I did, however, use the updated CloudFormation template and it ran beautifully. Thanks!


add multi-arch build support to github action

@phact can you help to review this tiny PR when you have a chance?


Database of the project

Is there any way you could make the database available? My project uses cht.sh. In a single page I show a number (say 5) entries for a query. For each page I need to renew the entries. Currently, I send a get request for each entry, then I parse them to my needs. Parsing is OK, but sending requests take too long, even in parallel (mine took about 2 secs for 3 entries for a page). I can make the repo available on request. Thanks.
NOTE: I only would like to have the entries of course, not the secret stuff (e.g. this is an entry)

@Dj-Polyester Batuhan hi! Yes, you can have some of the entries (see the "standalone" issue for that). Unfortunately, not yet all of them: pages that are generated on the fly can't be fetched up-front.
There are some potential optimizations though, the could be helpful. Ping me if you still have interest to the project

@chubin Thank you for the reply. I decided to go for fetch API, and cache the data in a local Postgres server. For repeated access, it works fine; however, for the first time, requesting takes a while (5-10 secs for my connection). Thank you for the suggestion! I will look into that standalone part. If you have any other suggestions, you can reply in #292. I demonstrate my project there crediting your work.


Job graph fails to display in UI

Describe the bug
Clicking on the view graph icon...

...fails to display the job graph:

To Reproduce

click on view graph icon

Expected behavior
DAG of job task sequence

I worked on this some time ago, so I'd be happy to have a look at it.
@hokiegeek2 - does it fail at any job or specific jobs?

@onthebridgetonowhere Cool! Basically, no job graphs display in the UI in my experience

I took a look at it but I cannot reproduce the problem. Can you please provide more info about your configuration, version, build commit?
The first thing I'd try is to update to latest commit on main branch if possible.
Here's what I've done that works for me:

update to latest commit - 22029020
cd ballista/scheduler && cargo run RUST_LOG=info ballista-scheduler
cd ballista/executor && cargo run RUST_LOG=info ballista-executor
cd ballista/scheduler/ui && yarn start
cd examples && cargo run --release --bin sql

@onthebridgetonowhere cool, okay, I'll pull and build from that commit and see if I can reproduce your results

@hokiegeek2 sounds good, let us know how it goes.

Hi all, while working on #957 I faced the same issue, here's how to reproduce it:

In the API handler, get_job_svg_graph function replace .map_err(|_| warp::reject()) with .map_err(|err|  { info!("Issue: {:?}", err); warp::reject()})
https://github.com/apache/arrow-ballista/blob/9903ab27f121f16717a70de7a30f643c4c45dd34/ballista/scheduler/src/api/handlers.rs#L343-L348
Launch scheduler and executor
Submit a query, e.g. the standalone-sql.rs but with a call to remote:
use ballista::prelude::{BallistaConfig, BallistaContext, Result};
use ballista_examples::test_util;
use datafusion::execution::options::ParquetReadOptions;

#[tokio::main]
async fn main() -> Result<()> {
    let config = BallistaConfig::builder()
        .set("ballista.shuffle.partitions", "1")
        .build()?;

    let ctx = BallistaContext::remote("localhost", 50050, &config).await?;

    let testdata = test_util::examples_test_data();

    // register parquet file with the execution context
    ctx.register_parquet(
        "test",
        &format!("{testdata}/alltypes_plain.parquet"),
        ParquetReadOptions::default(),
    )
    .await?;

    let df = ctx.sql("select count(1) from test").await?;

    df.show().await?;
    Ok(())
}

Wait until query is executed
Look up the job ID, e.g. GET request to http://localhost:50050/api/jobs
Call http://localhost:50050/api/job/{job_id}/dot_svg with the retrieved job_id (e.g. http://localhost:50050/api/job/bvppZ4r/dot_svg)
Go to the terminal of the scheduler and monitor the logs - I got the following error:2024-01-25T22:28:24.800607Z  INFO tokio-runtime-worker ThreadId(19) ballista_scheduler::api::handlers: Issue: Error { kind: NotFound, message: "program not found" }

Hope that helps to narrow it down!

Ok I think I stumbled over the solution for this issue: The graphviz-rust library requires additionally the graphviz CLI to be installed:

Source: Documentation
On Windows these were the steps:

winget install graphviz
Add C:\Program Files\Graphviz\bin to PATH
Validate the CLI is installed with dot -V
Restart ballista scheduler


[PT Run] [System plugin] IPs, Mac addresses and net commands

Description of the new feature / enhancement
Adding the following commands:

ip adress[:adapter name]
ip adress v4[:adapter name]
ip adress v6[:adapter name]
mac adress[:adapter name]
~network adapter[:adapter name]~ => No use case!

The subtitle can contain the adapter name and connectivity state and mac (based on the search term). The tool tip can contain the full adapter details.
The context menu contains two buttons: 'copy ip/mac' and 'copy all details'.
The tooltip can
Scenario when this would be used?
When needing net adapter infos
Supporting information
No response

why not just ip / mac?  like, the command should be as simple / better than ipconfig

I am open for suggestions. What happened if multiple adapters are connected?

@crutkas
You can assign mee back.
I am worry that only ip is to short for having it in global results and brings to often fales positives. What do you think.

I will pick that up.

We already have some of this from the shell plugin.
In PTRun, try to type > ping localhost

We already have some of this from the shell plugin.
In PTRun, try to type > ping localhost

yes. but this doesn't keep open.

@crutkas
Here are some pictures from at an early state of the implementation.

(All network commands will be executed with cmd.exe /k.)

We already have some of this from the shell plugin.
In PTRun, try to type > ping localhost

yes. but this doesn't keep open.
my idea is to execute the commands with cmd.exe /k

@jaimecbernardo
I agree that system plugin not feels to be the right place. Should we add this predefined commands to the shell plugin instead? What do you think?
(cc: @crutkas)

Can we use an external service to get the external ip. (Can be a default off setting.) Which one should we use?

@htcfreek: I think https://checkip.azurewebsites.net/ would be great :D
@crutkas Do you agree?

Can we use an external service to get the external ip. (Can be a default off setting.) Which one should we use?

I will not implement this because it makes thing to complicated and brings problems.

This is fixed with 0.57.0. Please head over to https://aka.ms/installpowertoys


android-studio: add e2fsprogs dependency

Closes #171355
Description of changes
Adds the e2fsprogs dependency
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Looks good to me.

It seems like @GrahamcOfBorg is refusing to evaluate because android-studio has a non-free license: https://logs.nix.ci/?attempt_id=cbf654d8-c811-4d85-94af-88f04feea553&key=nixos%2Fnixpkgs.171356
I don't have write access to the repository to merge this. How can we proceed?
@alapshin ? (tagged because maintainer)
@grahamc ? (tagged because ofborg doesn't make it clear how to proceed)

I don't have write access either. We will have to wait for someone to merge it. Regarding borg I'm not sure how to proceed. I don't remember having such problem in the past.


Cannot run script using SCT's Python

Because of the recent modifications in SCT's nested Python management, it is no more possible to import SCT's Python libraries from external Python file. It results in the following error:
julien-macbook:~/code/gm-challenge $ ./run_pipeline.sh /Users/julien/Desktop/data 9418

========================
PROCESSING SUBJECT: 9418
========================
  /Users/julien/code/sct/python/bin/python /Users/julien/code/gm-challenge/process_data.py -i data1.nii.gz data2.nii.gz -s data1_seg_manual.nii.gz -g data1_gmseg_manual.nii.gz
Traceback (most recent call last):
  File "/Users/julien/code/gm-challenge/process_data.py", line 22, in <module>
    import numpy as np
ModuleNotFoundError: No module named 'numpy'

The solution is to remove the dependency to SCT's Python and to treat the script process_data.py as an 'external' Python dependency.

Fixed in #45


Add exit codes for logon failure and account locked out

Hello,
We found that when users were unable to connect to the server either because of incorrect login credentials, or because their account was locked out from too many incorrect attempts, freerdp returned the exit code 131.
I modelled this change after https://github.com/FreeRDP/FreeRDP/pull/4853, adding distinct exit codes for FREERDP_ERROR_CONNECT_LOGON_FAILURE and FREERDP_ERROR_CONNECT_ACCOUNT_LOCKED_OUT.
After this commit, the exit code for a logon failure is 134, and a locked out account is 135.

@freerdp-bot test


feat: browser testing!

🧰 Changes
Browser testing!
I've been using this browser testing flow of using Mocha and Chai for unit testing for a while now for some of our open source projects because tests written with them can be run directly in a browser, unlike Jest. The assertion syntax is a bit more verbose, but we can still do almost all of the same stuff we can do in Jest, just with a bit more sugar (eg. .to.equal() vs.toBe() and .to.deep.equal() vs .toStrictEqual())
Running npm test:browser locally will spawn up the test suite in Chrome, Firefox, and Safari:
https://user-images.githubusercontent.com/33762/164581993-1428353e-5058-41ac-92d2-81b4d8b1d8bf.mov
momoland banger alert, dont dmca me github
This is something I've wanted to do for a while now, but with me introducing the qs library in https://github.com/readmeio/oas-to-har/pull/77 now seems as good a time as any. Check out https://github.com/readmeio/fetch-har/pull/237 for some prior work on this browser testing migration front.
🧬 QA & Testing
Despite what the diff looks like, all unit tests are still the same they've just been moved into a test/ directory and slightly modified to run under Mocha + Chai.

[ ] CI should all be passing on all Node versions + browsers across windows and linux.
[ ] Running npm run test:browser locally should test it in Firefox, Chrome, and Safari.

Though for Safari to run its tests you'll need to manually click "Open" on the dialog that pops up. Puppeteer has long had an issue with not being able to fully run Safari like it can every other browser.

smh github


Add test, small refactor

Hey, I'm mining xsh and Web Developer.
I suggest to add some tests and small refactor. If you are good with this, I can work on some deep refactor and more tests.
Run npm i; npm test

.editrorconfig is common config for all editors. It's pretty nice when multiple people work on same code, you don't need to argue about indentation and so on. It's automatically parsed with most editors.

Ahh I see, I'll revert my change


[QST]The GPU does not seem to be called when submitting a Spark application【DataFrameExample,LR,GBDT etc】

What is your question?
Hello, when I use the IntelliJIdea to package LogisticRegressionSummaryExample.scala (in $SPARK_HOME/exampls/src/main/scala/org/apache/spark/examples/ml, and the DataFrameExample and GradientBoostedTreeRegressorExample have also been tried)  and submit it to spark standalone mode, and add the configuration parameters for calling the GPU. In the Spark://master:8080 webUI interface, I can see that the GPU is used, and I can also find that the GPU resource is called by the application from the historyServer webUI. But it is strange that if I use nvidia-smi to check the GPU on the node terminal, I find that the GPU does not seem to be called. Then I removed the parameters for configuring the GPU to be called, and only used the CPU, and found that the running time of the application did not differ much.
I changed the input data file, and the data size is about 1G.
the cudf-0.14-cuda10-2.jar and rapids-4-spark_2.12-0.1.0.jar are located at /opt/sparkRapidsPlugin/
in /etc/profile:
#Spark3.0-GPU Accelerator
export SPARK_RAPIDS_DIR=/opt/sparkRapidsPlugin
export SPARK_CUDF_JAR=${SPARK_RAPIDS_DIR}/cudf-0.14-cuda10-2.jar
export SPARK_RAPIDS_PLUGIN_JAR=${SPARK_RAPIDS_DIR}/rapids-4-spark_2.12-0.1.0.jar
The following is my submission case:
./bin/spark-submit --classs org.hik.LogisticRegressionSummaryExampl
--master spark://master:7077
--executor-cores 2
--conf spark.task.cpus 1
--conf spark.executor.resource.gpu.amount=4
--conf spark.executor.resource.gpu.discoveryScript=./examples/src/main/scripts/getGpusResources.sh
--conf spark.task.resource.gpu.amount=1
--conf spark.plugins=com.nvidia.spark.SQLPlugin
--jars ${SPARK_CUDF_JAR}, ${SPARK_RAPIDS_PLUGIN_JAR}, LR.jar
we can see from the webUI that the GPU is called [http://master:8080]

We can also see that the GPU is called from the historyServer webUI [http://master:18080]

However, through the nvidia-smi we can see that the GPU is not being used.

Actually I suspect that the GPU is indeed not called.
I spent 2 days and still did not solve this problem, which made me very confused.
Would you help me solve it? Thank you very much.

nvidia-smi can be used to see if the GPU is being utilized at a snapshot in time and if an active process has an active device context for a GPU.
A couple of things you can quickly check to verify the RAPIDS Accelerator plugin is active.  In the driver startup logs, you should see the following log:
SQLExecPlugin: Installing extensions to enable rapids GPU SQL support. To disable GPU support set `spark.rapids.sql.enabled` to false

You can also visit the SQL tab in the Spark UI to look at the visual description of the query plan.  Search for nodes that have Gpu in their name which will indicate its an operation destined for the GPU when the plan is executed.
You can also set the config spark.rapids.sql.explain to NOT_ON_GPU to have the plugin log any operations in a query that are not going to be performed on the GPU.  Setting that same config to ALL will log the entire query plan showing what will and will not run on the GPU.

Also be aware that most of the ML operations that you are looking at use RDD to do the processing and that is something we don't currently accelerate.  The only thing we might accelerate in the examples you pointed out is reading the input data.  And that is only if it is in a type we support, like parquet, orc, or CSV

Also be aware that most of the ML operations that you are looking at use RDD to do the processing and that is something we don't currently accelerate. The only thing we might accelerate in the examples you pointed out is reading the input data. And that is only if it is in a type we support, like parquet, orc, or CSV

Yes, my input data file is CSV, which is about 1G. And I change the submission case:
./bin/spark-submit --classs org.hik.LogisticRegressionSummaryExampl
--master spark://master:7077
--executor-cores 2
--conf spark.task.cpus 1
--conf spark.executor.resource.gpu.amount=4
--conf spark.executor.resource.gpu.discoveryScript=./examples/src/main/scripts/getGpusResources.sh
--conf spark.task.resource.gpu.amount=1
--conf spark.plugins=com.nvidia.spark.SQLPlugin
--conf spark.rapids.sql.enabled=true
--jars ${SPARK_CUDF_JAR}, ${SPARK_RAPIDS_PLUGIN_JAR}, LR.jar
But it doesn't seem to work，I found that there are no Gpu nodes from the SQL tab in the Spark UI.
Of course, you can see the used GPU in the resource column of Executors as shown in fig.3 above.
It's weird.

Do you see the startup log message showing the plugin is initializing?  Also run with --conf spark.rapids.sql.explain=ALL and examine the logs to see the explain output from the plugin for the query.  That will be useful in debugging why parts are not being applied to the GPU.

Do you see the startup log message showing the plugin is initializing? Also run with --conf spark.rapids.sql.explain=ALL and examine the logs to see the explain output from the plugin for the query. That will be useful in debugging why parts are not being applied to the GPU.

No, I can not find the plugin is initializing in the startup log message even if I run with --conf spark.rapids.sql.explain=ALL and --conf spark.rapids.sql.enabled='true'. I should have configured this plugin successfully, so the WebUI interface of Spark and HistoryServer can see the GPU.
I'm very confused as to what went wrong? Would you like to show a copy of your configuration information and  submitted cases on GPU?

GPU scheduling is built into spark. You don't need this plugin to be able to schedule a job with a GPU, so if you see GPU resources on the UI it does not indicate if you successfully installed the accelerator or not.

GPU scheduling is built into spark. You don't need this plugin to be able to schedule a job with a GPU, so if you see GPU resources on the UI it does not indicate if you successfully installed the accelerator or not.

Thank you, I have solved the question successfully.


Connection got disposed error after selecting conda environment

I get the following error when selecting my conda environment in VS Code:

Snippet of the error output:
[Error - 11:16:30 AM] Server initialization failed.
Error: Connection got disposed.
	at Object.dispose (C:\Users\mistr\.vscode\extensions\ms-python.python-2019.6.22090\out\client\extension.js:1:116994)
	at Object.dispose (C:\Users\mistr\.vscode\extensions\ms-python.python-2019.6.22090\out\client\extension.js:1:198289)
	at module.exports.t.BaseLanguageClient.stop._connectionPromise.state.g.Stopping._onStop._onStop.resolveConnection.then.e.shutdown.then (C:\Users\mistr\.vscode\extensions\ms-python.python-2019.6.22090\out\client\extension.js:1:195239)

The correct conda environment is not activated so this causes issues when running python notebooks through the integrated IPython Kernel.
Environment data

VS Code version: 1.36.0 (user setup)
Extension version: 2019.6.22090
OS and version: Windows 10 Home update 1903 | Windows_NT x64 10.0.18362
Python version: miniconda x64 version 4.7.5 | python version (conda env) 3.6.5
Jedi or Language Server?: "python.jediEnabled": false
Microsoft Python Language Server version: <IP_ADDRESS>
Related VS Code settings:

"python.terminal.activateEnvironment": true
"python.pythonPath": "D:\\Miniconda3\\envs\\righteous-pulse\\python.exe"
"python.condaPath": "D:\\Anaconda3\\Scripts\\conda.exe"

Expected behaviour
No error during conda environment activation. Language server initializes with the proper conda environment.
Actual behaviour
Conda environment is not activated successfully. Language server using base conda environment.
Steps to reproduce:

Install Miniconda as found here: https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe
Create conda environment using conda env update --name <your-env> --file environment.yml
Where environment.yml has the form:# Load Packages From Following
channels:
- conda-forge
- defaults

# Define Environment Dependencies
dependencies:
- python=3.6.5
- pip

Workaround
Manually create an environment activation file under <your-env>/Scripts/activate.bat that VS Code triggers in the background.
For me I had to create it under D:\Miniconda3\envs\righteous-pulse\Scripts\activate.bat with the file contents:
"D:\Miniconda3\Scripts\activate.bat" righteous-pulse

which executes "activate.bat" found in the base conda environment.
Possible related issue

https://github.com/microsoft/vscode-python/issues/6432
https://github.com/microsoft/vscode-python/issues/6343
https://github.com/microsoft/vscode-python/issues/6476

I was able to isolate the problem to the following code location:
https://github.com/microsoft/vscode-python/blob/66de533a2a72276f16d82d6d4494cebee47e63bd/src/client/common/terminal/environmentActivationProviders/commandPrompt.ts#L40-L48 where the extension is trying to find the appropriate activate.bat file in the sequence of most likely locations. But I think there may have been a recent change in conda which no longer creates this file. I haven't been able to confirm this yet.

Looks like re-installing anaconda fixed the issue.
The new VS Code python terminal initialization is:
D:\repos\VSTS\righteous-ai\righteous-pulse>D:/Anaconda3/Scripts/activate

(base) D:\repos\VSTS\righteous-ai\righteous-pulse>conda activate righteous-pulse

(righteous-pulse) D:\repos\VSTS\righteous-ai\righteous-pulse>

Curious as to how this occurred in the first place.
I'll close this issue now. My apologies for any confusion.


New approach to immunization feature

The old approach to integrate non-binary immunization was not utilizing the existing code base efficiently. In this new approach we avoid changing internal functions as much as possible.

Checks are not successful because of only two tests. We will inquire a consult from the original authors after merging into immunization, since the code changes to the main branch will be easier to understand once this feature branch is merged into the main feature branch immunization.


ISPN-7801 Disable RehashWithL1Test

https://issues.jboss.org/browse/ISPN-7801
Please don't close the JIRA.

Pushed to master


Documentation configuration

What's this PR do?
It creates the initial structure for our documentation.
Where should the reviewer start?
Opening the file in docs/_build/html/index.html and check the basic structure of the documentation, as the rest of the files are mostly automatically generated.
I would also like to suggest moving Sphinx==1.5.2, sphinx-rtd-theme==0.1.9, numpydoc==0.6.0 to the testing environment that would now become a testing and documenting environment, as their use is not widespread enough to be on listed as base dependencies. I would like to discuss this idea further in this pull request.
How should this be manually tested?
You should see the rendered documentation, and comment on the present structure.
Any background context you want to provide?
This template was adapted ~stolen~ from Quickleft/Sprint.ly

Codecov Report

Merging #7 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop       #7   +/-   ##
========================================
  Coverage    55.88%   55.88%
========================================
  Files           16       16
  Lines          102      102
========================================
  Hits            57       57
  Misses          45       45

Continue to review full report at Codecov.

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


Build: production build output isn't correct with app shell and scss

🐞 Bug report
Command (mark with an x)

[ ] new
[x] build
[ ] serve
[ ] test
[ ] e2e
[ ] generate
[ ] add
[ ] update
[ ] lint
[ ] xi18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Is this a regression?
Not sure
Description
When importing an scss file into any scss files in app, build app shell doesn't generate correct outputs anymore.
🔬 Minimal Reproduction

Clone example repo
Install dependencies with yarn
Open app.component.scss and notice that there is an scss import @import "color-palette";
Run ng run my-app:app-shell:production and observe an error in the console.
Open dist folder and observe that there is only one folder my-app.
Delete @import "color-palette"; in app.component.scss.
Run ng run my-app:app-shell:production and observe no error in the console.
Open dist folder and observe that there are 2 folders my-app and my-app-server.

🔥 Exception or Error
Screenshot of error in console in step 4

Screenshot of build output in step 5

Screenshot of build output in step 8

🌍 Your Environment

Angular CLI: 8.3.20
Node: 10.17.0
OS: win32 x64
Angular: 8.2.14
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... platform-server, router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.803.20
@angular-devkit/build-angular     0.803.20
@angular-devkit/build-optimizer   0.803.20
@angular-devkit/build-webpack     0.803.20
@angular-devkit/core              8.3.20
@angular-devkit/schematics        8.3.20
@angular/cli                      8.3.20
@ngtools/webpack                  8.3.20
@schematics/angular               8.3.20
@schematics/update                0.803.20
rxjs                              6.4.0
typescript                        3.5.3
webpack                           4.39.2

Anything else relevant?
N.A.

Hi, most likely the issue is that in your server target you don't have the stylePreprocessorOptions defined like you have in your build builder.
In angular.json try adding the below to projects -> architect -> server -> options:
"stylePreprocessorOptions": {
  "includePaths": [
    "src/assets/scss/base"
  ]
}

hi @alan-agius4 , my reproduce repo does have the option you mentioned

Hi @ahnpnl, in your reproduction it is only in the build target and is missing in the server target
https://github.com/ahnpnl/ng-app-shell-bug-scss/blob/09e3e1c129ac76b9b79faf99387ceb07679bba4c/angular.json#L131-L153

thanks @alan-agius4 , it works now with the solution you provided. So I assume anything related to stylePreprocessorOptions the project has in projects -> architect -> build -> options has to be copied to projects -> architect -> server -> options ?

Depends, only if the include paths are used for component style sheets.

👍 thanks, I will close the issue.


0.1.5 Not Allowing Multiple Instances

While I like a looot of the changes in .1.5, I found it extraordinarily useful to have several instances up so I could scan three different locations at the same time, and have my phone connect to it nicely.  It also seems to be pretty speedy when that's done this way too, instead of doing an entire section of the city.
(When I load up a second instance, it just defaults both to scanning whatever location I inputted into the new instance, unlike before where you could scan two locations)
Would it be possible to have multiple locations scanned within one app, or allow multiple again?  I ended up going back to the 1.2 release since that one works the best for it that I know of, and has been goin on for days on my desktop without any issues.

@EternisRequiem what os are you running? Running open -n -a on macOS seems to work for me.

I'm running Windows 10 and I have this same issue.

Windows 10.  There was a weird interaction and right now I only have one instance open but something is apparently still scanning in one area, so I'm not sure what that's all about...


server.crontab breaks if the tab already contains an entry with a "special" time

Describe the bug
If crontab contains an entry like: @daily echo hello, server.crontab fails because it tries to parse the results of ! command -v crontab > /dev/null || crontab -l and is explicitly expecting individual entries for each time parameter.
To Reproduce
Try an operation like this on an empty crontab (if cron hasn't been setup or was removed with crontab -r, server.crontab always fails, maybe should add an issue for that too?):
server.crontab(
    name="Install test cron job",
    command="echo hello",
    cron_name="TL test again",
    special_time="@daily",
)

And then attempt to run the operation again:
[----] >>> sh -c '! command -v crontab > /dev/null || (crontab -l)'
[----] # pyinfra-name=TL test
[----] @daily echo hello
    [pyinfra.api.connectors.ssh] Waiting for exit status...
    [pyinfra.api.connectors.ssh] Command exit status: 0
--> An unexpected exception occurred in: deploys/tasks/----/install_cron.py:

  File "/Users/----/.local/pipx/venvs/pyinfra/lib/python3.7/site-packages/pyinfra_cli/util.py", line 52, in exec_file
    exec(PYTHON_CODES[filename], data)
  File "deploys/tasks/----/install_cron.py", line 29, in <module>
    special_time="@daily",
  File "/Users/----/.local/pipx/venvs/pyinfra/lib/python3.7/site-packages/pyinfra/api/operation.py", line 347, in decorated_func
    commands = unroll_generators(func(*actual_args, **actual_kwargs))
  File "/Users/----/.local/pipx/venvs/pyinfra/lib/python3.7/site-packages/pyinfra/api/util.py", line 192, in unroll_generators
    for item in generator:
  File "/Users/----/.local/pipx/venvs/pyinfra/lib/python3.7/site-packages/pyinfra/operations/server.py", line 519, in crontab
    crontab = host.fact.crontab(user)
  File "/Users/----/.local/pipx/venvs/pyinfra/lib/python3.7/site-packages/pyinfra/api/facts.py", line 321, in wrapper
    fact_data = get_facts(state, name, args=args, kwargs=kwargs, ensure_hosts=(host,))
  File "/Users/----/.local/pipx/venvs/pyinfra/lib/python3.7/site-packages/pyinfra/api/facts.py", line 267, in get_facts
    data = fact.process(stdout)
  File "/Users/----/.local/pipx/venvs/pyinfra/lib/python3.7/site-packages/pyinfra/facts/server.py", line 343, in process
    minute, hour, day_of_month, month, day_of_week, command = line.split(' ', 5)
ValueError: not enough values to unpack (expected 6, got 3)

It looks like it is just a simple issue where it is expecting to always get a "standard" cron time entry, as opposed to a "special" one.
Expected behavior
Handle existing special time entries.
Meta

Include output of pyinfra --support.

❯ pyinfra --support
--> Support information:

    If you are having issues with pyinfra or wish to make feature requests, please
    check out the GitHub issues at https://github.com/Fizzadar/pyinfra/issues .
    When adding an issue, be sure to include the following:

    System: Darwin
      Platform: Darwin-18.7.0-x86_64-i386-64bit
      Release: 18.7.0
      Machine: x86_64
    pyinfra: v1.3.4
    Executable: /Users/----/.local/bin/pyinfra
    Python: 3.7.8 (CPython, Clang 10.0.1 (clang-1<IP_ADDRESS>))

How was pyinfra installed (source/pip)? pipx

Thanks for spotting this @taranlu-houzz; I've pushed fixes for both the fact & operation when using special times:

update fact & test: https://github.com/Fizzadar/pyinfra/commit/5a319b82daf4209423962bd1ed4b75b98544129f
update operation: https://github.com/Fizzadar/pyinfra/commit/8b136dc9679e5543743164c46f5b9cbfe3214bbd & test: https://github.com/Fizzadar/pyinfra/commit/680780d20b924c107862d487bb2342d05ee8b006

Aiming to release these in v1.3.5 this weekend!

Now released in v1.3.5!


Problem with Keycloak authentication on Kubernetes / "failed to turn code into token" "status 308"

Hi all,
My setup :

cluster Kubernetes on Azure Cloud
Nginx ingress controller that redirects all incoming requests to shinyproxies (multiple public apps so one shinyproxy per application)
shinyproxy is running inside a pod and redirects authentication to keycloak server
keycloak server is running inside a pod too (one for all apps)

For Keycloak server, proxy_adress_forwarding is set to true.
Shinyproxy application.yml:
proxy:
  title: AIRPC
  landing-page: /
  port: 8080
  authentication: keycloak
  keycloak:
    realm: dactika
    auth-server-url: http://keycloak.xxx.com/auth
    verify-token-audience: true
    resource: app
    credentials-secret: xxxxxxxxxxxx
  admin-groups: admins
  container-backend: kubernetes
  kubernetes:
    internal-networking: true
    namespace: ingress-app
  specs:
  - id: app
    display-name: APP
    container-cmd: ["R", "-e", "shiny::runApp('/app/tests/app.R')"]
    container-image: app.azurecr.io/app
    access-groups: app

logging:
  file:
    shinyproxy.log

server:
  useForwardHeaders: true

Problem : When I access to the app through the url app.xxxxx.com, it redirects me well to keycloak auth page (http:/keycloak.xxxxx.com/auth) but when I login, it exchanges between app.xxxxx.com and keycloak.xxxxx.com and finally, it downloads me a auth file staying at keycloak login page, it does not redirect me to shinyproxy page where I can select app and I have the following error in shinyproxy logs:
2021-06-18 08:33:19.450  INFO 1 --- [           main] e.o.c.util.StartupEventListener          : Started ShinyProxy 2.5.0 (ContainerProxy 0.8.8)
2021-06-18 08:33:35.396  INFO 1 --- [  XNIO-1 task-1] io.undertow.servlet                      : Initializing Spring DispatcherServlet 'dispatcherServlet'
2021-06-18 08:33:35.397  INFO 1 --- [  XNIO-1 task-1] o.s.web.servlet.DispatcherServlet        : Initializing Servlet 'dispatcherServlet'
2021-06-18 08:33:35.426  INFO 1 --- [  XNIO-1 task-1] o.s.web.servlet.DispatcherServlet        : Completed initialization in 29 ms
2021-06-18 08:34:56.157 ERROR 1 --- [  XNIO-1 task-1] o.k.adapters.OAuthRequestAuthenticator   : failed to turn code into token
2021-06-18 08:34:56.157 ERROR 1 --- [  XNIO-1 task-1] o.k.adapters.OAuthRequestAuthenticator   : status from server: 308
2021-06-18 08:34:56.157 ERROR 1 --- [  XNIO-1 task-1] o.k.adapters.OAuthRequestAuthenticator   :
<title>308 Permanent Redirect</title>

308 Permanent Redirect

nginx

Did anyone encounter this problem before ?
Thank you in advance !

Hi
Can you try these two things:

if you Keycloak server is using HTTPS, also specify https in the proxy.keycloak.auth-server-url field.
use the correct setting instead of useForwardHeaders, see: https://shinyproxy.io/documentation/security/#forward-headers

Hi,
Thank you for your answer, my keycloak server is under https, key and cert are defined in kubernetes cluster, I already tried with https://keycloak.xxx.com/auth, I have same problem, it's playing ping/pong between urls app.xxx.com and keycloak.xxx.com, then a file is downloaded and I have another log error :
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

For that, I tried to copy key and cert files in docker image of shinyproxy, define cert-path in application.yml but this didn't work so I gave up this idea.


scvmm plugin: cacheRegisteredStorageFileShares

I've requested a file share be added to the environment, there's too much incomplete to merge this PR as is.