When a breakpoint is hit, the caret (cursor) should move to that line

Issue Type: Bug
Currently, there is a minor problem with at least Javascript/Typescript debugging in VS Code on macOS. When you hit a breakpoint while running the web application, the caret (cursor) doesn't move to that line automatically like it does in Visual Studio (the bigger cousin). In fact, it's seen nowhere in the Editor Window, and trying to move with arrow keys won't work. I'm not even sure if the Editor Window is in focus at that point at all or not. We have to click on the line to focus on the line with the breakpoint. One problem with not doing it for example is if we want to quickly disable or delete that breakpoint with the keyboard (in case it's hitting too frequently), it won't work as the cursor is not on the line at that point.
VS Code version: Code 1.63.2 (Universal) (899d46d82c4c95423fb7e10e68eba52050e30ba3, 2021-12-15T09:37:28.172Z)
OS version: Darwin x64 20.6.0
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz (16 x 2400)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
2, 3, 4

Memory (System)
32.00GB (10.21GB free)

Process Argv
--crash-reporter-id 71ea9e01-a319-4ace-a2ba-6f58c4d27d45

Screen Reader
no

VM
0%

Extensions (21)

Extension
Author (truncated)
Version

bracket-select
chu
2.0.2

glsl-canvas
cir
0.2.14

vscode-mac-color-picker
dae
1.0.2

vscode-quick-select
dba
0.2.9

gitlens
eam
11.7.0

clipboard-manager
Edg
1.4.2

glsl-snippets
j0h
0.0.1

tws
jki
1.0.1

render-crlf
med
1.5.21

jscs-formatter
moo
0.1.1

vscode-glsl-linter
mrj
1.2.0

cpptools
ms-
1.7.1

vscode-typescript-next
ms-
4.6.20211229

vetur
oct
0.35.0

shader
sle
1.1.5

vscode-lldb
vad
1.6.10

vscodeintellicode
Vis
1.2.15

vscode-java-debug
vsc
0.37.0

vscode-java-dependency
vsc
0.18.9

vscode-java-pack
vsc
0.20.0

vscode-maven
vsc
0.34.2

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythontb:30283811
pythonvspyt551cf:30345471
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805cf:30301675
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30410667
vscop804:30404766
vscop453:30404998
vsrem710:30416614
vscexrecpromp3t1:30407762

@roblourens it seems that the editor does not get focus when hitting a breakpoint.

We don't move DOM focus or the cursor when hitting a breakpoint. I have also been annoyed by this and want to implement it with a setting, but I'm not sure what the default should be. I'd be worried about messing up workflows where people are editing or doing other things at the same time as debugging.
I guess currently we open the file and reveal the debug viewlet, so that's sort of disruptive already, it seems fine to also focus the editor and move the cursor, with a setting to disable.

@roblourens Yes, I agree with your assessment: focus the editor and move the cursor should be the default.
For the setting I suggest to expand the existing setting "Debug: Focus Window on Break" instead of introducing a new setting:

"Debug: Focus On Break Behavior"

Focus Window
Focus Editor
Focus Editor and Move Cursor (default)

I think this is a regression compared to 1.62. After reinstalling 1.62.2 and hitting a breakpoint, the editor has focus, and arrow keys work, whereas on 1.63 they do not.

Are you sure? I don't see that behavior and don't see how it would have worked before

@roblourens  I investigated a bit more. I realize I did not fully describe in my previous comment what I did. Now I noticed I mindlessly threw in an Esc press without noticing.
There is definitely some regression from 1.62 to 1.63, although it's hard for me to pinpoint what exactly.
I see behavioral differences if the following sequence is executed:

hit a breakpoint
press Esc.
press Right Arrow key.

I both 1.62 and 1.63 I see the caret appear at the beginning of the line after pressing Esc, however, in 1.62 the caret responds to Right Arrow whereas in 1.63 it does not.
Some notes:

I debug in Python, but I suspect that it's regardless of in which language the breakpoint is hit
I have no User keybindings associated with the Esc or Right Arrow; only the default.
I now realize that this is not exactly the same issue as described by OP, although related. Sorry for confounding.

Workaround
I can mention a workaround, though:
After hitting a breakpoint, press Esc to move the caret to that line.

I'm not sure what Esc is doing here - it probably depends on where focus started, or some other condition. In any case I plan to fix it by forcing focus to go to the right place

Adding this with a new setting. Not building on the "focus window" setting because I think this is totally independent from focusing the window. I would have options for "focus window but not editor" and "focus editor but not window" and the other combinations.

@roblourens yeah, having a new settings seems to be more appropriate.

I'm currently seeing the opposite problem on Windows 10 where even with the new setting set to false, I get the following behaviour:

Start debugging a single JS file with many breakpoints.
The debugger should hit the first endpoint.
Navigate to another editor.
Press the play button to continue debugging the program.
:bug: The focus switches back to the next breakpoint even though I set debug.focusEditorOnBreak to be false.

We have always revealed the editor where you paused. But previously we didn't focus the editor. I don't plan to change revealing the editor, I think that makes sense, you should know that you paused.

I see the difference now. LGTM!


Unable to query same layer multiple times in search settings

If the same layer is queried multiple times in search settings, the search results in the application display the result from the last query listed in search settings.
Please refer to http://<IP_ADDRESS>/LWLissue135 as an example.
For the WORK workflow, which uses webmap fb6babab116c4ddaa4a80b4e4eaecbb0, the "County and Demographic Info" is in the webmap once, but is referenced four times in the config.js for querying different attributes:
 SearchSettings: [{
                UnifiedSearch: "true",
                Title: "County and Demographic Info",
                QueryLayerId: "7",
                SearchDisplayTitle: "Personal Income Tax",
                SearchDisplayFields: "${SITENAME} / ${PERSINCTX}",
                SearchExpression: "UPPER(SITENAME) LIKE UPPER('${0}%') OR UPPER(COUNTY) LIKE UPPER('${0}%')"
            }, {
                UnifiedSearch: "true",
                Title: "County and Demographic Info",
                QueryLayerId: "7",
                SearchDisplayTitle: "Median Household Income",
                SearchDisplayFields: "${SITENAME} / ${COUNTY} / ${MEDHOUSINC}",
                SearchExpression: "UPPER(SITENAME) LIKE UPPER('${0}%') OR UPPER(COUNTY) LIKE UPPER('${0}%')"
            }, {
                UnifiedSearch: "true",
                Title: "County and Demographic Info",
                QueryLayerId: "7",
                SearchDisplayTitle: "Labor Force",
                SearchDisplayFields: "${SITENAME} / ${LABORFORCE}",
                SearchExpression: "UPPER(SITENAME) LIKE UPPER('${0}%') OR UPPER(COUNTY) LIKE UPPER('${0}%')"
            }, {
                UnifiedSearch: "true",
                Title: "County and Demographic Info",
                QueryLayerId: "7",
                SearchDisplayTitle: "Unemployment",
                SearchDisplayFields: "${SITENAME} / ${UNEMPLOY}",
                SearchExpression: "UPPER(SITENAME) LIKE UPPER('${0}%') OR UPPER(COUNTY) LIKE UPPER('${0}%')"
            }]

Rather than showing the four different attributes in the search result, "Unemployment" displays four times.

(As a workaround, the layer can be added to the webmap multiple times and given different names.  The LIVE workflow at the URL above is an example of this.)

@CTLocalGovTeam   What are your thoughts on this issue?

@lindsayking We are analyzing this behavior and will provide findings early next week.

@lindsayking,
We investigated and found this was because the search settings were being tracked on a per layer basis in the app and it was getting overridden when the same layer was configured more than once and only the last setting was retained. This caused the search to be executed/displayed as many times as configured, but with the same settings that was read last.
This was fixed by a minor code change in mapSettings.js. The app now tracks search settings separately. A diff is shown below to help you visualize the magnitude of code change.

@lindsayking, please let us know if you have any questions and how you'd like to proceed further on this.

@lindsayking have you tested this fix specifically?

@LindsayThomas Yes, this has been tested.  This adjustment in MapSettings.js fixes the issue.


Refactor recursions with loops and splice builtin

https://github.com/franalgaba/onnx-cairo/pull/25


I am using alphafold to predict protein structure. while running the first step, i found the error int he comment. Can anyone help me with this error?

Hello everyone,
I am using alphafold to predict protein structure. while running the first step, i found the following error. Can anyone helps me please.
CalledProcessError                        Traceback (most recent call last)
 in
35       PATH=get_ipython().run_line_magic('env', 'PATH')
36       get_ipython().run_line_magic('env', 'PATH=/opt/conda/bin:{PATH}')
---> 37       get_ipython().run_line_magic('shell', 'conda update -qy conda            && conda install -qy -c conda-forge              python=3.7              openmm=7.5.1              pdbfixer')
38       pbar.update(80)
39
2 frames
/usr/local/lib/python3.7/dist-packages/google/colab/_system_commands.py in check_returncode(self)
133     if self.returncode:
134       raise subprocess.CalledProcessError(
--> 135           returncode=self.returncode, cmd=self.args, output=self.output)
136
137   def repr_pretty(self, p, cycle):  # pylint:disable=unused-argument
CalledProcessError: Command 'conda update -qy conda            && conda install -qy -c conda-forge              python=3.7              openmm=7.5.1              pdbfixer' returned non-zero exit status 1.

Sorry about this! See https://github.com/deepmind/alphafold/issues/573 for a workaround, we are working on a fix.

Sorry about this! See #573 for a workaround, we are working on a fix.

thank you !!

Fixed in https://github.com/deepmind/alphafold/commit/dad1f286aeaa158702a98aeee0f5661f30de6da8


AIX machines fall over at cleanws()

https://ci.adoptopenjdk.net/view/Failing Builds/job/build-scripts/job/jobs/job/jdk8u/job/jdk8u-aix-ppc64-openj9/
https://ci.adoptopenjdk.net/view/Failing Builds/job/build-scripts/job/jobs/job/jdk8u/job/jdk8u-aix-ppc64-hotspot/

Seen on both build-osuosl-ppc64-aix-71-1 and build-osuosl-ppc64-aix-71-2, the build completes successfully and archives its artifacts but fails to clean up afterwards.
[Pipeline] cleanWs
build-osuosl-ppc64-aix-71-2 was marked offline: Connection was broken: java.io.IOException: Unexpected EOF
	at hudson.remoting.ChunkedInputStream.readUntilBreak(ChunkedInputStream.java:99)
	at hudson.remoting.ChunkedCommandTransport.readBlock(ChunkedCommandTransport.java:39)
	at hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:34)
	at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:63)

Could do with a restart to see if that resolves it?

They both seem to be online at the moment despite that error message - did someone bring them back?

They get this error at the same point every time for the last 3 builds.  I don't think someone is turning them off and on again mid build

They get this error at the same point every time for the last 3 builds. I don't think someone is turning them off and on again mid build

I wasn't suggesting so - it just looked like build-osuosl-ppc64-aix-71-2 was marked offline was indicating that jenkins had marked it offline during the build due to the connection failure, but that may not be correct. There's nothing obvious wrong with the machines at the moment though so unclear why this would be happening, or why it's just on JDK8. Will take a look at the /tmp file system

I couldn't find aything obvious wrong on the machine and I rean a couple of JDK8 builds today without incident which makes me wonder if somethign is happening at a particular time on the machines (Which would explain why it only hits the builds running through the regularly scheduled nightly pipeline)
On this basis, I don't think it'll impact the GA builds this week, but I'll leave this open as if there is a recurring issue now appearing we'll need to mitigate it one way or another

https://ci.adoptopenjdk.net/view/Failing Builds/job/build-scripts/job/jobs/job/jdk8u/job/jdk8u-aix-ppc64-openj9/ seems to be fine now. Hotspot failed last night on build-osuosl-ppc64-aix-71-1.

Next two builds passed.

Next builds passed on build-osuosl-ppc64-aix-71-1 and build-osuosl-ppc64-aix-71-2. I'm going to close this but it can always be reopened if this pops up again


Position (top/bottom/vers)

Is there a way of having the profile information viewable in addition to the current basics? (age, height, weight)
Particularly relevant with the latest Grindr is that it includes the facility to enter sexual preference into your profile.
You sound a bit dumb having to ask guys that crucial question: if they are top / bottom etc when it is now easily viewable on some guy's profile.........

To piggyback on mark's issue / request. I made this issue request in April.  ;-)
@tomlandia

Profile information Displayed in Table ( Missing from individual Profile Text ): Looking For / Tribe / Ethnicity / Body Type / relationship status / sexual position (existing: table w/ height/weight/age)

Missing as of August 2016 Prior version Fuckr Filters: Ethnicity, Height, Weight, Grindr Tribe, HIV Status, Relationship statuses" (ie. Single / open relationship)

4 ) Please Add newly added Filter Sept 2016 "Top/Bottom/Vers"

Guys,
@mark-chat  some of those filters are pulled from managed fields.  The current app is a version 2 client, the filter for the sexual position and hiv status are a version 3 filter.  The version 2 filters are pulled from https://primus.grindr.com/2.0/managedFields and the version 3 filters are pulled from https://grindr.mobi/v3/managed-fields.  This basically means that until the program is updated to version 3, you won't be able to filter the sexual position or the hiv status.
@powline99 Some of those things are not simple to pull the info for, ti would also have to be processed to be output correctly.  I put filters in myself for things like the ethnicity, which comes out as numbers.  For example, ethnicity would come out with 1 through 7, depending on the ethnicity, so these guys would also have to probably write a script to process that and then switch to the name of the field that the number corresponds with.  For example, under ethnicity, 7 equals white, when i ran that and had it in the profile, every white guy came up with the number 7.  I never bothered to write a script, and for all I know, these guys might have a simple way to make the program convert these.  I do know you can add the filter for relationship, and it will pull all the fields into the drop down list to select one and it will filter out what you select then.

Committed, will be in next release.


Host Linux Apache: Change for RHEL, Ubuntu & SLES and Apache2

Related to Linux content improvement project tracked internally here: Azure DevOps 30648
Originally written/coded for CentOS and an early Apache2.  Add/update commands and config, mods etc. for RHEL, Ubuntu and SLES plus more recent Apache2 (changes in mods, config, etc. need to be reflected, and different per Linux distro.
This doc may require additional work be completed in a separate issue/pr.  The goal for this one is to get RHEL, Ubuntu and SLES represented quickly on what would be a reasonable Apache2 install stream.
Also:
Investigate and fix for the following raised issues:

Area
Follows standard (yes/no)
Notes

Major Linux distributions
No
Prequisite requires CentOS- software is available for ALL major distros, new standard is tabs for all three distros (RHEL/SLES/Ubuntu) as seen in this doc example: see this example: :https://learn.microsoft.com/en-us/azure/iot-edge/how-to-provision-single-device-linux-symmetric

Linux distribution trees
No
Distribution level is EOLUpdate content to include most recent versions of RHEL and SLES and Ubuntu

Package management commands
No
several sections contain "yum" commands, will not work on SLES or Debian/Ubuntu servers New standard is tabs for all three distros (RHEL/SLES/Ubuntu) as seen in this doc example: see this example: :https://learn.microsoft.com/en-us/azure/iot-edge/how-to-provision-single-device-linux-symmetric

Linux tool/command preferences
No
several sections lists nano command. While Nano is considered commonly acceptable, it is not an industry standard like vi/vimConsider changing to vi/vim or make editor agnostic

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

ID: cfd9a1f0-c1b6-4443-0700-4c5beafeed03
Version Independent ID: c22ca7a0-d1d4-200d-fc36-a9798d350c6e
Content: Host ASP.NET Core on Linux with Apache
Content Source: aspnetcore/host-and-deploy/linux-apache.md
Product: aspnet-core
Technology: aspnetcore-hostdeploy
GitHub Login: @Rick-Anderson
Microsoft Alias: shboyer

Associated WorkItem - 340923

This topic did receive some updates but was eventually retired.


[objc] Fix the case where bound type A creates instance of bound type B

As Alex pointed out this scenario requires the _object field to be
public.

Build and tests passed.


[Crash] Game has crashed with beansbackpacks and other mods

Could not execute entrypoint stage.
beans_crash.txt
Mod version: 0.7-v2
Fabric API: 0.91.0
Fabric Loader: 0.15.3

From what I can see, the crash report points to a problem with the Additional Redstone mod causing the other mods not to load. Try the modpack without that or try with a different version. Hopefully it should work :)

From what I can see, the crash report points to a problem with the Additional Redstone mod causing the other mods not to load. Try the modpack without that or try with a different version. Hopefully it should work :)

I also thought that the problem was in the modification Additional Redstone.
But when installing the latest version of the modification BeansBackpacks, the client crashes with this error. If you install your mod version 1.* - there won't be any problems
The problem occurs after installing the mod version 0.7-v2

I couldn't say what the problem is from the crash report alone, I'll have to do some testing and get back to this issue.

It was an Issue with "bettersmithingtable". I was breaking his mod by trying using unsafe injects into minecraft's vanilla code. I fixed the crash and added support for his smithing screen in 20.1-0.4-v2 & 20.2-0.10-v2


react-woodworm.js.org

JS.ORG CLEANUP
Hello, it seems a js.org subdomain that was requested to target this repository (or another on this user/organisation) no longer works.
The subdomain requested was react-woodworm.js.org and had the target of rofrischmann.github.io/react-woodworm.
To keep the js.org subdomain you should add a page with reasonable content within a month so the subdomain doesn't resolve to a 404 any longer.
Otherwise the requested subdomain will be removed from JS.ORGs zonefile and the list of active subdomains.
If you are wanting to keep the js.org subdomain and have added reasonable content, YOU MUST reply to the main cleanup issue with the response format detailed at the top to keep the requested subdomain.

Oh thanks for notifying me, forgot to remove that!

@rofrischmann So do you need the domain still or no?

@rofrischmann Yeah that's correct. Thanks :)


Fix brittle test: sort triggers before comparison #15268

Ordering of triggers is not guaranteed after a migration, because the underneath queries do not enforce the ordering.
This fixes it by sorting them before comparing the list of triggers.

PR here: https://github.com/CartoDB/cartodb/issues/15268


Winning State when u end a song (NOT WINNING ICONS)

What feature do you want to get added on the base engine?
When u end a song add a winning screen (Like FNF Modding + (optionable on the option menu on gameplay))
To test your sight, and reliability, please select the option of what should NOT be requested.
Stage Editor, 6K+ support, and winning icons.

sounds interesting, tbh. maybe it could use the unused "WIN!" animation from the base game?

sounds interesting, tbh. maybe it could use the unused "WIN!" animation from the base game?

u damn. u thinked the same as me. do you think it at the end of the song? like https://www.youtube.com/watch?v=Fc_yCzKX294&ab_channel=Foxy_Jr

sounds interesting, tbh. maybe it could use the unused "WIN!" animation from the base game?

u damn. u thinked the same as me. do you think it at the end of the song?

something like that ye

sounds interesting, tbh. maybe it could use the unused "WIN!" animation from the base game?

u damn. u thinked the same as me. do you think it at the end of the song?

something like that ye

Maybe the end of the week. It would be pretty annoying to see that screen during every song in a week. Unless it's freeplay.

So basically the end screen that happens at the end of the song... so ok I understand!

This may be already possible...
Requires thorough knowledge in Lua tho...

pls shadow add this

#8562 can somone see this as i can make a video of how it looks like?

This may be already possible... Requires thorough knowledge in Lua tho...

Who said we needed LincLUA?

Just make a Lua one.


fix(datepicker): datePicker now supports formatting of date

🛠 Enhancement: Added Date Formatting Support to DatePicker
This PR introduces date formatting support to the DatePicker component by leveraging the date-fns package. Users can now customize date formats such as dd-MMM-yyyy or dd MMM yyyy according to their preferences.
outputs/examples:
dd-MMM-yyyy // output => 11-Mar-2024

dd MMM yyyy // output => 11 Mar 2024

dd-MM-yyyyy // output => 11-03-2024

Summary by CodeRabbit

New Features

Enhanced the Datepicker component with an inputFormat property for custom date formats.

Documentation

Updated the Datepicker component documentation to include information on using the inputFormat property.

Tests

Improved Datepicker tests to accommodate the new inputFormat property for date formatting.

btw, what code editor are u using @dhavalveera ? It seems to me that u are not formatting the code on-save, or at all.

I'm using VSCode, and when I do save (Ctrl + S) it saves the files for me, but I'll check again

@dhavalveera could you please rebase it with main? I want to get this one approved. :)

@dhavalveera could you please rebase it with main? I want to get this one approved. :)

@rluders --- this conflicts, can't be done from my end, as I don't have the write access to this repository.

@rluders --- it seems like I need to modify the helpers.ts where it's using new Intl.DateTimeFormat() as the language type is passed is getting incorrect, as date-fns package have locales as enUS whereas INTL needs it as en-US, any guidance please

Hello @SutuSebastian , currently I'm facing an issue is like date-fns have different locales and the new Intl.DateTimeFormat() accepts the locales differently.
e.g. for date-fns it have locales like enUS, but whereas for Intl.DateTimeFormat() have locales like en-US due to which many Date Picker Helper Function & Test Cases are failing, how to handle this, can you please help/guide me on this, please 🙏

Any news on this ?

needs a re-work after #1190 is merged


Forms missing dropdown arrows

Please use arrow style in Figma

Note this is the same arrow icon that is used in the main site nav.

Arrow icon also needs to be fixed on https://staging.designsystem.webstandards.ca.gov/contact-us/

Got an arrow in an upcoming branch/PR.
Minor issues:

Getting arrow to be flush right - not sure what margin or other css it's inheriting, so need to suss that out.
Using an inline SVG - but wondering if @kkoryaka would want to make this arrow CSS only as well.

I'll submit the PR tomorrow


(Potentially) install pyright as the default language server

Pylance by nature of the agressive ToS Microsoft bakes into it, does not always work in all scenarios (eg, codium, neoVIM).
As such, it may be advantageous to use the OSS package Pyright to increase compatibility with more development ecosystems.
I believe this is standard practice in the neoVIM community although, as a degenerate VSCodium user, I can't say with any real certainty.
@HakierGrzonzo , you use neoVIM right? how do you handle python support for python?

@JAS-lzn neovim has many elaborate ways of managing LSP servers (for example pyright). I use Mason.
I do not install LSP servers per project or even system wide, neovim manages their installation and keeping them up to date.
The way most neovim users, that use m, (that being me) use m is outside of the devcontainer. Also the devcontainer.json file is VS Code specific and ignored by neovim itself.
However, this is a consideration for VS Codium users, as many linux distributions ship it instead of the official VS code binary. It will happily run devcontainer projects, but further investigation is required. It may fail to install it or Microsoft may fail to block it.

@JAS-lzn neovim has many elaborate ways of managing LSP servers (for example pyright). I use Mason.
I do not install LSP servers per project or even system wide, neovim manages their installation and keeping them up to date.
The way most neovim users, that use m, (that being me) use m is outside of the devcontainer. Also the devcontainer.json file is VS Code specific and ignored by neovim itself.
However, this is a consideration for VS Codium users, as many linux distributions ship it instead of the official VS code binary. It will happily run devcontainer projects, but further investigation is required. It may fail to install it or Microsoft may fail to block it.

I was thinking about in the containers, yes.  Sorry, I probably should have been more specific.
For some reason, I had it in my head that neovim had some workaround for the MS devcontainer plugin, is this even true?

@JAS-lzn neovim has many elaborate ways of managing LSP servers (for example pyright). I use Mason.
I do not install LSP servers per project or even system wide, neovim manages their installation and keeping them up to date.
The way most neovim users, that use m, (that being me) use m is outside of the devcontainer. Also the devcontainer.json file is VS Code specific and ignored by neovim itself.
However, this is a consideration for VS Codium users, as many linux distributions ship it instead of the official VS code binary. It will happily run devcontainer projects, but further investigation is required. It may fail to install it or Microsoft may fail to block it.

I was thinking about in the containers, yes. Sorry, I probably should have been more specific.
For some reason, I had it in my head that neovim had some workaround for the MS devcontainer plugin, is this even true?

There are some workarounds (no experience with this one), but they ignore the extensions configuration, since it is not applicable.


[BUG] - 2023.11.1 Upgrade does not remove kbatch from config

Describe the bug
Nebari version 2023.11.1 installed
nebari-config.yaml has version 2023.10.1 and is valid for that version
Ran nebari upgrade -c nebari-config.yaml successfully (nebari_version: 2023.11.1 was set in config)
However, the config block below was not removed so I still got 'Extra fields not permitted error' when trying to run nebari deploy after the upgrade
kbatch:
enabled: true
Expected behavior
The upgrade command should clean up any config items that are no longer accepted in v2023.11.1
OS and architecture in which you are running Nebari
Ubuntu 22.04 amd64
How to Reproduce the problem?
With nebari==2023.11.1 installed, run nebari upgrade then nebari validate on a config file that begins with these two entries:
...
kbatch:
enabled: true
...
nebari_version: 2023.10.1
...
Command output
No response
Versions and dependencies used.
No response
Compute environment
None
Integrations
No response
Anything else?
No response

Closing as won't fix.  Users have likely resolved this themselves by now, and it's unlikely people continue to see this issue now.


Add plotting actions to experiments table context menu

Closes #2382.
Two actions have been added to the experiments table multi-select context menu. Plot & Plot and Show. The former will plot the selected experiments. The latter will plot the selected experiments and open the plots webview.
Demo
https://user-images.githubusercontent.com/37993418/189787167-f5ad0327-63a3-4662-a2fa-9189cd1e7de6.mov

Looks great!
I noticed that when I attempt to select more than the max, the previously selected plots are overridden. Do we want this behavior or would we prefer the action to get canceled entirely?
Screen.Recording.2022-09-13.at.8.13.55.AM.mov

See https://github.com/iterative/vscode-dvc/issues/2382#issuecomment-1244124462


File Handle Sometimes Remains Open

Hi.
You may want to use the LoadFromStreamAsync method of Windows.Data.Pdf.PdfDocument, as it seems to have an issue where it doesn't always immediately release the file resource once it is done.

Hi @SHADOW202021,
I agree that the PDF renderer does keep a handle around for a bit.  It also keeps a number of D2D resources.  I think it does this to speed multi-page renders (think of the standard use in a PDF viewer).  After some unspecified delay, the renderer does clean these up.  I don't notice any leaks when looping through thousands of files.
I've not noticed any ill effect from the handle staying open for a bit.  The file handle is opened as FILE_SHARE_DELETE | FILE_SHARE_READ, so unless you are opening the file for subsequent writes it should not cause a problem.
Can you clarify what issue you are running into?

Closing for now. Feel free to reopen.


Sharing the constants, and adding the model

Merging as one commit. Individual commits can be tracked within the branch.


Fix typos: Successfully facilitate getting pipeline overridden

Correctly spell the words: Successfully facilitate getting pipeline overridden

I agree that all information entered is original and owned by me, and I hereby provide an irrevocable, royalty-free license to Apple to use, modify, copy, publish, prepare derivate works of, distribute (including under the Apple Sample Code License), such information and all intellectual property therein in whole or part, in perpetuity and worldwide, without any attribution.


Can't enable Focused speech voice command, no voice commands on buttons

Describe the bug
Started from the default MRTK v.2.6.1 project for Hololens 2.
Enabled microphone, camera, internet capabilities
Using Cloned version of the Default Hololens2 XR SDK configuration profile
Added Windows Speech Data Provider (described here :  https://docs.microsoft.com/en-us/windows/mixed-reality/develop/unity/tutorials/mr-learning-base-09?tabs=winxr )
Inside the device I see the requests for microsoft/track eyes, camera - all of them accepted
Button configured to be used with Focused flag.
Can't use "Select"/any other voice command to initiate button press (using Hololens2 Button with ButtonHelperConfig)
To reproduce
Steps to reproduce the behavior:
Add a single Button from MRTK Toolbox and Build for device (ARMx64, Hololens)
Expected behavior
Interactable propagates the command into the OnClick
Screenshots
Here are some screenshots:

Your setup (please complete the following information)

Unity Version [e.g. 2019.4.22f1]
MRTK Version [e.g. v2.6.1]
2 toolbox Hololens 2 buttons
Clones Default XR SDK  Configuration Profile

Target platform (please complete the following information)

HoloLens 2

Please, help to understand why voice command is not working. (MRTK v2 speech is not working)
Edit:
Tried with the default SpeechInput Demo - Open/Close works with my configuration, but the focused items do not.

Should I add some sort of focus provider?

@cre8ivepark might you have more context on this topic?

for now I've just added MRTK.SpeechInputHandler (global) and added custom component (has a method for set focus, which is being set from interactable button). It works fine, but not ideal solution.

I found that the Select keyword is not recognized/triggered. Tested with other example scenes as well.
Somehow, other keywords are working well. For example, if I add a new keyword Message to a HoloLens2 style button and assign it using Interactable's Speech keyword, it works well.
Select keyword is still in the Speech Input Profile list. @keveleigh any insights?

I think this might be due to the lack of a way to get information on the voice select state like we had in legacy XR via https://github.com/microsoft/MixedRealityToolkit-Unity/blob/38626e1c32e2d6268d5b3d5044f9c22fb35b3fba/Assets/MRTK/Providers/WindowsMixedReality/XR2018/WindowsMixedRealityDeviceManager.cs#L868-L887
We're actively thinking about the right way to expose this in OpenXR, and I'll have to look into ways we can access this info via Windows XR Plugin.

So a few comments on some findings.

The select command is being detected and processed by the input system, so we can be confident that the speech handler is able to understand and process the speech keyword
Focused objects that can be affected by speech commands seems to be limited to objects in focus via the GazeProvider, hence why the SpeechInputExamples Scene has this label over it's objects

The Gaze Cursor (and thus I believe the gaze pointers) are deactivated the minute that hands are detected on device. Combined with needing to say "Select" to bring up the gaze cursor in the first place, this makes interacting with focused objects via voice commands really hard to use in general.

I'm wondering if for the near term, making voice commands work on objects "focused" via hand interactions is sufficient? Longer term, we might need to have more considerations on how we want to incorporate more eyetracking and hands free interaction along side articulated hand interactions. @cre8ivepark @keveleigh

We should also remove the 'Select' to bring up gaze cursor behavior since it's hard coded.
https://github.com/microsoft/MixedRealityToolkit-Unity/blob/265a0ea3621c84b88e4b02e7fcd1b5682afef56a/Assets/MRTK/Services/InputSystem/GazePointerVisibilityStateMachine.cs#L101-L107

Small update on how we're faring here compared to the hololens shell.

Hololens lets the select action work on objects that are in focus via the hand ray pointers.
Objects will always bring up a small dialogue under objects that can be activated via speech commands, greatly improving the usability of those controls
The Hololens doesn't hide the gaze cursor and disable interaction via gaze until the hands are actively engaging in near interactions or far interactions (ie. getting close enough to touch an interactable or forming a pinch gesture). This makes it much easier to stay in the Gaze Interaction Mode for an extended period of time.

These three points will need to be addressed to make speech voice commands (and likely other gaze/eyetracking inputs) work much more smoothly within MRTK and we'll make separate issues to track the different pieces of this endeavor.


Fix tests with pandas 2.0

Codecov Report

Merging #461 (9258a8f) into main (da4e501) will increase coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #461      +/-   ##
==========================================
+ Coverage   64.60%   64.63%   +0.03%
==========================================
  Files          78       78
  Lines        8794     8802       +8
==========================================
+ Hits         5681     5689       +8
  Misses       3113     3113

Impacted Files
Coverage Δ

lumen/transforms/base.py
84.27% <100.00%> (+0.40%)
:arrow_up:

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


Add object overloads to some Transformer api's

Add object overloads to Transormer.sealDirectory and Transformer.write family of Api's. This will make it more easy to add overloads in the future. After this is in we should go over help clean up our customer's usage of these api's to see if we can get all users off of the old ones and deprecate. At least new features should be added tot he object-style api's.
This also:

Adds unittests for the Transformer.write* family of Api's
Adds unittest for scrub argument.

/azp run Public BuildXL PR Validation — #

/azp run Public BuildXL PR Validation

/azp run Primary BuildXL PR Validation
/azp run Public BuildXL PR Validation

/azp run Primary BuildXL PR Validation

/azp run Public BuildXL PR Validation


Recipes: Cluster Proxy/Agent

Drafted and Uploaded 6 Recipes for ClusterProxy/Agent in response to PR:

https://github.com/sporeprotocol/spore-sdk/pull/45

In this PR:

[x] Create Cluster Proxy
[x] Create Cluster Agent
[x] Transfer Cluster Proxy
[x] Transfer Cluster Agent
[x] Melt Cluster Proxy/Agent
[x] Reordered Recipes in menu
[x] Updated some links to code examples

@ShookLyngs please take your time to help me check this, thx

I approved that not to block work


Develop

add action to create release number

I just realized I forgot to add the proposed changes to the Conditions/Measures fields, so I will hold off on merging for now.

Updated the condition/measure slots AND added "Global" to describe INCLUDE internal IDs, per Allison's presentation today. I think I'm finally done making changes now!


How do I run Empire exe?

When I run powershell.exe, why doesn't it run Empire?

@mattifestation it does, could you stop please, i have enough agents ;-)

Can you please help? You should know what my issue is without me providing any context or reproduction steps.  Come on, man.

https://github.com/blog/2111-issue-and-pull-request-templates :)

NM. I'll just use Metasploit...

"Remove-Item C:* -Recurse -Force" should fix your issue.

$url='http://lmgtfy.com/?q=why+doesn't+it+run+empire&l=1'
Start-Process -FilePath "c:\Program Files\Internet Explorer\iexplore.exe" -ArgumentList $url

I have the same issue. When I run PowerShell I am not getting an Empire shell. Looking for help. Running BackTrack version 1 with python 1.2.

Does this work on windows 98 SE?

For those who may still be having this problem: try running the Windows Network Troubleshooter.  If you get a "can't identify the problem" result, that almost certainly means systemd has become corrupted on your machine. Set up dual-booting on the box with Windows 10 and the latest version of Solaris; most of the time that should resolve the issue.

I seem to be having the same issue running powershell scripts:
#~ chmod +x PowerView.ps1
#~ ./PowerView.ps1

Why it no worky?

Perhaps use the sudo? Sudo makes everything worky. Sh...py...ps1...bmp.

@byt3bl33d3r try adding
#!c:\Windows\System32\WindowsPowerShell\v1.0\powershell to the top of the
script.
On Fri, Jun 2, 2017 at 10:33 PM, byt3bl33d3r<EMAIL_ADDRESS>wrote:

I seem to be having the same issue running powershell scripts:
#~ chmod +x PowerView.ps1
#~ ./PowerView.ps1
Why it no worky?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/EmpireProject/Empire/issues/143#issuecomment-305945002,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACFwUHeBtGZUrsWlzo_qhVYrMvx-6HwJks5sAMXwgaJpZM4HhGBp
.


Python: fix: Preserve class type in experimental_class decorator to avoid type inference issues

Motivation and Context

Closes https://github.com/microsoft/semantic-kernel/issues/6707
Description

Introduce TypeVar T bounded to type to ensure the decorator maintains the class type.
Modify the experimental_class decorator to use the bounded TypeVar for accurate type hinting.

Contribution Checklist

[ ] The code builds clean without any errors or warnings
[ ] The PR follows the SK Contribution Guidelines and the pre-submission formatting script raises no violations
[ ] All unit tests pass, and I have added new tests where possible
[ ] I didn't break anyone :smile:

Python 3.10 Test Coverage Report • FileStmtsMissCoverMissingTOTAL637272589% report-only-changed-files is enabled. No files were changed during this commit :)
Python 3.10 Unit Test Overview

Tests
Skipped
Failures
Errors
Time

1511
1 :zzz:
0 :x:
0 :fire:
19.254s :stopwatch:


fail fast: refuse to start server with invalid option systemProperties

This PR fixes some jshint warnings, restructures one test a bit and finally checks if systemProperties is used.
If so, honoring the fail fast philosophy, the server refuses to start and prints an error regarding the renamed option.

Can you please resolve the merge conflicts then I can merge the PR, thanks

@jamesdbloom go.

I invested quite some time finding the error, fixing it, preparing this (and some other) PR, rebasing the master as you merged a different PR first and now I am waiting again for my changes to get into master.
@jamesdbloom this is frustrating and does absolotely not lead to another PR from my side. Could you please merge this one and let us be done with it?

I've merged it now, sorry it took so long but I have a lot on at the moment.


Curius integration

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
I want to include Curius on my quartz digital garden.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Integration like Jaclyn's website here: https://www.jaclynchan.me/
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Er not sure
Additional context
Add any other context or screenshots about the feature request here.
Thanks!

Closing as this is now possible with custom components in Quartz 4 :) Will leave this to user implementation


revise utils.center_mass_exp; additional tests

1st time doing this... let me know if there is anything wrong! Thanks!

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Jenkins, add to whitelist.

Hi, I thought everything is up-to-date... Maybe I'm misunderstanding something? What do you mean by merging?
Here're the checks:
Qihong@:brainiak$ git checkout master
Switched to branch 'master'
Your branch is up-to-date with 'origin/master'.
Qihong@:brainiak$ git pull origin master
From https://github.com/QihongL/brainiak

branch            master     -> FETCH_HEAD
Already up-to-date.
Qihong@:brainiak$ git merge new-feature
Already up-to-date.
Qihong@:brainiak$ git push origin master
Everything up-to-date

It looks like you found the update button on GitHub. :) Now you should not merge on your computer anymore, because it will create a conflict. In any case, it is not necessary, as I am merging the PR.
Regarding your question, it looks like your master branch is following your fork instead of upstream. Add a new remote for upstream and change your master branch to follow it:
git remote add upstream https://github.com/brainiak/brainiak
git branch --set-upstream-to=upstream/master

Thanks, @QihongL. Looking forward for working with you more in the future!

I see! Thanks! Sorry about the confusion!

Ah, when I ran git branch --set-upstream-to=upstream/master, I got the following message:
Qihong@:brainiak$ git remote add upstream https://github.com/brainiak/brainiak
Qihong@:brainiak$ git branch --set-upstream-to=upstream/master
error: the requested upstream branch 'upstream/master' does not exist
hint:
hint: If you are planning on basing your work on an upstream
hint: branch that already exists at the remote, you may need to
hint: run "git fetch" to retrieve it.
hint:
hint: If you are planning to push out a new local branch that
hint: will track its remote counterpart, you may want to use
hint: "git push -u" to set the upstream config as you push.
It seems that it couldn't find the master. Do you know why it happens?

I forgot one step: you also need to fetch the data from the new remote, it is not sufficient to declare it:
git fetch upstream

This is mentioned in our contributing docs:
https://github.com/brainiak/brainiak/blob/master/CONTRIBUTING.rst#how-to-contribute

Thanks! @mihaic ! I probably missed that step... lol


Need Help

How can I run a function when variable changes ? GetX always wants a Widget in observer's return type

I Think what you need is ever()
https://github.com/jonataslaw/getx/blob/master/documentation/en_US/state_management.md#workers

as @SchabanBo  mentioned Workers are best solution.

As informed, you must use Worker ever.
Please, when you need help, try to use the community channels, there you will be answered faster, and it is the right place.

Thanks. I got helped from Discord channel. Any further discussion I will post there.
Anyway thanks :)


Homepage example not working

It's not a plugin issue, but as I checked the plugin and the Get Started section, I couldn't get it working. I think the issue was that the ".tooltip" class shouldn't be used as the class for elements need to be tooltipped as advised, because it is reserved for the tooltip itself.
 <script>         $(document).ready(function() {             $('.tooltip').tooltipster();         });     </script>
When I tried it this way, the div itself got hidden.
Great plugin anyway.

Hello, thanks for the support. Maybe you're using Bootstrap who already uses a tooltip class, in which case yes you should use another name. But besides that conflict, I can't see any issue here. Thanks

Hello, Yes I do use Bootstrap 3. You're probably right sorry. Thanks
2016-04-24 11:57 GMT+02:00 Louis Ameline<EMAIL_ADDRESS>
Hello, thanks for the support. Maybe you're using Bootstrap who already
uses a tooltip class, in which case yes you should use another name. But
besides that conflict, I can't see any issue here. Thanks
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/iamceege/tooltipster/issues/549#issuecomment-213921979

--
Have a successful day! / Sikeres napot!
Gábor Szurdoki
Nightworld Design
www.nightworldweb.com
FREE ARTICLE - What A Quality Website Can Do For A Business
http://inspirebiz.nightworldweb.com/what-a-quality-website-can-do-for-a-business/

No problem, thank you for reporting :)


python310Packages.pysensibo: 1.0.20 -> 1.0.21

Description of changes
https://github.com/andrey-git/pysensibo/releases/tag/1.0.21

Things done

Built on platform(s)

[x] 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.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 201001 run on x86_64-linux 1

1 package failed to build:

home-assistant-component-tests.sensibo

2 packages built:

python310Packages.pysensibo
python39Packages.pysensibo


feat: Sierra -> CASM compilation ✨

Feature Request
Describe the Feature Request

Describe Preferred Solution

Implement some Proof of Concept of this feature.
Basically we'd want Madara to take only a Sierra class as an input and handle by itself the compilation in a provable way.
Open Questions

How should the compiler version be defined ? In Solidity we have some #pragma instruction but here it would be different, the compiler version is defined at class declaration time and Madara would need to know this information in order to compile it down to CASM and check against it.

Can I try this one @EvolveArt?

@EvolveArt Sierra -> CASM compilation cannot take place in the runtime. The lib it depends on is not no_std compatible.
How should we design this?

Adding some notes from Telegram here :

Jonathan LEI, [24 Jun 2023 at 15:13:01]:
Note that the system will HAVE TO do the recompilation anyways regardless of whether you submit a casm class or just the hash cuz otherwise you'll be able to submit arbitrary casm and we're back to Cairo 0.

Timothée Delabrouille, [24 Jun 2023 at 14:56:57]:
So, we can accept it in a rpc. Do the compilation, compare the hash in the client, create our own tx that will contain the sierra program + it's casm hash + it's casm compiled representation. Submit this tx to the pool.
The runtime then store the sierra + hash on one storage, the casm on the other one.
All 3 (sierra, casm hash, casm) are bundled together in the crafted tx. The original one is never actually passed to the runtime


Live Client Side Latency is not working

This was working on local, is this a CORS problem?

This is linked to #8 - the typo means the address is not valid as an endpoint for the Client Side Latency check. Resolving one will fix the other.

fixed #23

Will close once released live and tested.

Working - closed.


Fix Internal server error in Get Profiles by invalid Params

What does this PR (Pull Request) do?

[x] This PR fixes #5510

This updates the Error message in GET profiles?param=test and profiles?cdn=test
Which Traffic Control components are affected by this PR?

CDN in a Box
Traffic Control Client
Traffic Ops
CI tests

What is the best way to verify this PR?
Execute all the Integration tests and make sure the tests are passed.
If this is a bug fix, what versions of Traffic Control are affected?

Master

The following criteria are ALL met by this PR

[x] This PR includes tests OR I have explained why tests are unnecessary
[x] This PR includes documentation OR I have explained why documentation is unnecessary
[x] This PR includes an update to CHANGELOG.md OR such an update is not necessary
[x] This PR includes any and all required license headers
[x] This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY (see the Apache Software Foundation's security guidelines for details)

@dmohan001c It looks like the go format checks are failing. Once that is fixed, I can test this and approve.


Add unit lookup?

Hey,
Thought further on possible additions to the library. What do you think on a unit lookup - means a mapping table from unit number to the real unit like kWh or such. Plus the relevant supporting functions in the relevant classes. Would you see that as a part of your library?
Ingo F

Hi,
really interesting feature but I think it is not part of this library and have to handle by developer separately in their project using this lib.

ok


[BUG] list_pages  is not fetching Start page as part of the results

list_pages is not fetching Start page for any flow.
Expected Behavior
list_pages should list start_page along with all other pages.
Current Behavior
It is fetching all other pages correctly except start_page.
Steps to Reproduce
!pip install dfcx-scrapi --quiet
import IPython
app = IPython.Application.instance()
app.kernel.do_shutdown(True)
import os
from dfcx_scrapi.core.pages import Pages
from google.colab import drive
drive.mount("/content/drive")
creds_path = "</content/drive/MyDrive/Credentials/.json>"
os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = creds_path
pages_instance = Pages(creds_path=creds_path)
pages_list:list[Pages]=pages_instance.list_pages(flow_id="")
for p in pages_list:
print(p.display_name)

Thanks Naveen for raising this. START_PAGE is not a page but it's a flow. To get the START_PAGE you should use the Flows object.
flows_instance = Flows(creds_path=creds_path)
start_pages = flows_instance.list_flows(agent_id=agent_id)

Yes i am getting the required results now. I was trying to fetch all the routes present across all pages in all flow. Hence for this, i was trying to use only list_pages. Now i think i need to use both transition routes present in list_flows and list_pages.


Issue with key for 31st January Shift 1 (31s1.json)

Unlike the rest of the answer keys, 31s1 just has the question ID and the corresponding question number from the user who submitted the answer key I assume. Could you look into that? Thanks a lot for the script, great work!

Oh yes you are right. I'll update that.


configure.py not working on r1.14 - aarch64 nivida jetson nano

Describe the problem
I am trying to build tensorflow c-library 1.14 from source on my jetson nano dev kit https://developer.nvidia.com/embedded/jetson-nano-developer-kit. I am running ubuntu 18.04 with aarch64, I have python3.6.9 installed.
I have cloned the tensorflow repo and checked out r1.14 branch, when I run
python3 configure.py

I get the following

python3 configure.py
WARNING: ignoring LD_PRELOAD in environment.
WARNING: --batch mode is deprecated. Please instead explicitly shut down your Bazel server using the command "bazel shutdown".
You have bazel 0.24.1- (@non-git) installed.
Please specify the location of python. [Default is /usr/bin/python3]:

Found possible Python library paths:
  /usr/lib/python3.6/dist-packages
  /usr/lib/python3/dist-packages
  /usr/local/lib/python3.6/dist-packages
Please input the desired Python library path to use.  Default is [/usr/lib/python3.6/dist-packages]

Do you wish to build TensorFlow with XLA JIT support? [Y/n]: n
No XLA JIT support will be enabled for TensorFlow.

Do you wish to build TensorFlow with OpenCL SYCL support? [y/N]: n
No OpenCL SYCL support will be enabled for TensorFlow.

Do you wish to build TensorFlow with ROCm support? [y/N]: n
No ROCm support will be enabled for TensorFlow.

Do you wish to build TensorFlow with CUDA support? [y/N]: y
CUDA support will be enabled for TensorFlow.

Do you wish to build TensorFlow with TensorRT support? [y/N]: y
TensorRT support will be enabled for TensorFlow.

Traceback (most recent call last):
  File "configure.py", line 1571, in <module>
    main()
  File "configure.py", line 1448, in main
    if validate_cuda_config(environ_cp):
  File "configure.py", line 1340, in validate_cuda_config
    tuple(line.decode('ascii').rstrip().split(': ')) for line in proc.stdout)
ValueError: dictionary update sequence element #9 has length 1; 2 is required

Provide the exact sequence of commands / steps that you executed before running into the problem
exact sequnce:
git clone https://github.com/tensorflow/tensorflow.git
cd tensorflow
git checkout r1.14
python3 configure.py

b'cublas_include_dir: /usr/include\n'
b'cublas_library_dir: /usr/lib/aarch64-linux-gnu\n'
b'cuda_binary_dir: /usr/local/cuda/bin\n'
b'cuda_include_dir: /usr/local/cuda/include\n'
b'cuda_library_dir: /usr/local/cuda/lib64\n'
b'cuda_toolkit_path: /usr/local/cuda\n'
b'cuda_version: 10.2\n'
b'cudnn_include_dir: /usr/include\n'
b'cudnn_library_dir: /usr/lib/aarch64-linux-gnu\n'
b'cudnn_version: \n'
b'cupti_include_dir: /usr/local/cuda/include\n'
b'cupti_library_dir: /usr/local/cuda/lib64\n'
b'nvvm_library_dir: /usr/local/cuda/nvvm/libdevice\n'
b'tensorrt_include_dir: /usr/include/aarch64-linux-gnu\n'
b'tensorrt_library_dir: /usr/lib/aarch64-linux-gnu\n'
b'tensorrt_version: 7\n'
I think it might be because cuda-nn seems to be empty

But I have cudann on my compute under /usr/lib/aarch64-linux-gnu/libcudnn.so

setting cuda version manully in third_part/gpus/finda_cuda_config.py at 348 made it work for me
cudnn_version = "8"

or well appears to work, not done building tensorflow yet.

@JonasRSV
Can you try with tested build configuration for TF required and see whether the problem still persists?.
Is there any particular reason for using 1.x as there is support for 2.x , please upgrade and let us know if the issue exists.
If you want CUDA 11 you can use nightly. If you want to keep 1.x APIs then you can only use CUDA 10.0

Jetson Nano comes with these cuda version pre-installed so I'd prefer to to try to change.
Unfortunately the compilation now crashes with some obscure error:
INFO: From Compiling external/highwayhash/highwayhash/sip_hash.cc:
In file included from external/highwayhash/highwayhash/arch_specific.h:39:0,
                 from external/highwayhash/highwayhash/sip_hash.h:23,
                 from external/highwayhash/highwayhash/sip_hash.cc:15:
external/highwayhash/highwayhash/state_helpers.h: In function 'void highwayhash::PaddedUpdate(highwayhash::HH_U64, const char*, highwayhash::HH_U64, State*)':
external/highwayhash/highwayhash/compiler_specific.h:52:46: warning: requested alignment 32 is larger than 16 [-Wattributes]
 #define HH_ALIGNAS(multiple) alignas(multiple)  // C++11
                                              ^
external/highwayhash/highwayhash/state_helpers.h:49:41: note: in expansion of macro 'HH_ALIGNAS'
   char final_packet[State::kPacketSize] HH_ALIGNAS(32) = {0};
                                         ^~~~~~~~~~
ERROR: /home/jonasrsv/.cache/bazel/_bazel_jonasrsv/71718566c3609207e5a44599481f772c/external/nccl_archive/BUILD.bazel:67:1: fatbinary external/nccl_archive/device_dlink_hdrs.fatbin failed (Exit 1)
fatbinary fatal   : Unknown option '-bin2c-path'
Target //tensorflow/tools/lib_package:libtensorflow failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 1732.677s, Critical Path: 143.12s
INFO: 2101 processes: 2101 local.
FAILED: Build did NOT complete successfully

Should I close this issue and re-open a new one for this compilation error? Since the original problem was with configuration, but by manually setting version that got resolved.
The reason why not using 2.x is simply because my code base is in 1.14 so I assume I need a 1.14 library file to run it.

Seems to be related to this: https://github.com/tensorflow/tensorflow/issues/34429

So essentially I have some code in tf 1.14 that creates a saved_model, I then have a c++ library that uses saved models.. in that issue it seems as if tf 1.14 will not ever get a fix for this error?
So would it be possible to load saved_models trained with tf 1.14 with a later tensorflow version that resolves this issue?

@JonasRSV
Yes please as the configuration issue is resolved, please create a new issue for the compilation error faced.


should depends be interpreted before substeps are executed?

I cannot easily reproduce it but i think this is related to #1375. Here is a MWE:
[global]
parameter: samples = path('1.txt')
parameter: chroms = [x for x in range(10)]

[filter_samples: provides = [f'{samples:n}.out1', f'{samples:n}.out2']]
input: samples
output: f'{_input:n}.out1', f'{_input:n}.out2'
print("I'm executed")
bash: expand = True
  sleep 3
  touch {_output}

[clumping_1]
depends: f'{samples:n}.out1'
input: for_each  = 'chroms', group_by = 1
output: f'{_chroms}.dat'
bash: expand = True
  touch {_output}

$ sos run test.sos clumping
INFO: Running filter_samples:
I'm executed
INFO: Running filter_samples:
ERROR: filter_samples (id=a952b03af38f236b) returns an error.
INFO: filter_samples is completed.
INFO: filter_samples output:   1.out1 1.out2
ERROR: [filter_samples (1.out1)]: [0]: Failed to obtain lock /tmp/gw/.sos/3ec690f110ffd286.lock for input 1.txt and output 1.out1 1.out2. It is likely that these files are protected by another SoS process or concurrant task that is generating the same set of files. Please manually remove the lockfile if you are certain that no other process is using the lock.
[clumping]: Exits with 2 pending steps (clumping_1, clumping_2)

The problem is that each substep in clumping depends on a step filter_samples, that can take a while to generate. So when substeps starts they don't see the depended file and they each ask for them, creating a race condition.
I guess this also holds for checking software availability / installing packages -- R/Python packages can be installed multiple times if every substep calls a depends that autoinstalls them.

I cannot reproduce this. Still trying.

Maybe try increase chroms and also use more -j, and increase sleep? Is it true that each substep will look for the dependencies and independently trigger the dependent step?

Because depends: is before input: it is actually processed only once, and the substeps will not be started before it is completed.
Even in the case when you put depends: after input,
[clumping_1]
input: for_each  = 'chroms', group_by = 1
depends: f'{samples:n}.out1'
output: f'{_chroms}.dat'
bash: expand = True
  touch {_output}

The depends statement would be processed sequentially before substeps starts after all sos statements.
So you might have something else going on.

it is actually processed only once, and the substeps will not be started before it is completed.

Oh okay this is good behavior.
I'm sorry my example was overly trimmed. It has to be used in two steps, see below:
[global]
parameter: samples = path('1.txt')
parameter: chroms = [x for x in range(10)]

[filter_samples: provides = [f'{samples:n}.out1', f'{samples:n}.out2']]
input: samples
output: f'{_input:n}.out1', f'{_input:n}.out2'
print("I'm executed")
bash: expand = True
  sleep 3
  touch {_output}

[clumping_1]
depends: f'{samples:n}.out1'
input: for_each  = 'chroms', group_by = 1
output: f'{_chroms}.dat'
bash: expand = True
  touch {_output}

[clumping_2]
depends: f'{samples:n}.out2'
input: for_each  = 'chroms', group_by = 1
output: f'{_chroms}.dat2'
bash: expand = True
  touch {_output}

This will trigger the error.

rm *.out1 *out2; sos run test  clumping  -s force -j8
INFO: Running filter_samples:
I'm executed
INFO: Running filter_samples:
ERROR: filter_samples (id=b20940729fccfda0) returns an error.
INFO: filter_samples is completed.
INFO: filter_samples output:   1.out1 1.out2
ERROR: [filter_samples (1.out1)]: [0]: Failed to obtain lock /var/folders/th/qqjbxl1s5b35z0bmg047_p2w0000gp/T/bpeng/.sos/3ec690f110ffd286.lock for input 1.txt and output 1.out1 1.out2. It is likely that these files are protected by another SoS process or concurrant task that is generating the same set of files. Please manually remove the lockfile if you are certain that no other process is using the lock.
[clumping]: Exits with 2 pending steps (clumping_1, clumping_2)

So filter_samples were run twice, although it should be run only once. The problem is that

cluming_1 and  cluming_2 both do not have any input and depend on step filter_samples.
Since cluming_1 and cluming_2 are independent, filter_samples are called twice.

Usually the output are separated so filter_samples are ok, but in this case the step generates the same outputs, so there is a race condition.

The problem is that when we build the DAG, we see that the step is producing two different outputs, so they are called twice. Only when the step is actually executed would SoS know that there is an output statement that says otherwise.
That means we will have to actually look into the auxiliary steps during the building of DAG.

The ticket is valid, but are you aware of that fact that
[filter_samples: provides = [f'{samples:n}.out1', f'{samples:n}.out2']]

is actually
[filter_samples: provides = ['2.out1', '1.out2']]

so your
input: samples

is not matched from filename, rather defined from parameter.

Oh sure, thanks! I was being sloppy with this minimal example. We should be good in our actual workflow.

Now, for
[clumping_2]
input: for_each  = 'chroms', group_by = 1

will take the output from climping_1, and each with an element of chroms, ...
So, it seems that you either do not need for_each and group_by or do
input: None, for_each  = 'chroms', group_by = 1

It took me a few minutes to see the problem here and I am wondering if how I can make this easier, at least let users know what is going on.

Ahh, sorry this is still a sloppiness from the MWE. Here is an updated example:
[global]
parameter: samples = path('s.txt')

[filter_samples: provides = [f'{samples:n}.out1', f'{samples:n}.out2']]
input: samples
output: f'{_input:n}.out1', f'{_input:n}.out2'
print("I'm executed")
bash: expand = True
  sleep 3
  touch {_output}

[clumping_1]
depends: f'{samples:n}.out1'
input: '1.txt', '2.txt', '3.txt', group_by = 1
output: f'{_chroms}.dat'
bash: expand = True
  touch {_output}

[clumping_2]
depends: f'{samples:n}.out2'
output: f'{_input}.dat2'
bash: expand = True
  touch {_output}

$ touch 1.txt 2.txt 3.txt s.txt
$ sos run test.sos

and we get the same error.

A patch is submitted, please test.
The root of the problem is
[filter_samples: provides = [f'{samples:n}.out1', f'{samples:n}.out2']]
input: samples
output: f'{_input:n}.out1', f'{_input:n}.out2'

SoS avoids evaluating any input or output statements during the building of DAG because they can be quite complicated. In your case, because output involves _input, SoS just uses the default_output provided by pattern matching. The output would be evaluated later when the step is executed, and everyone is happy.
In this particular example output: has to be evaluated to determine the real output is different from default_output, so I will have to evaluate input, then output. Because they are executed in an incomplete environment, things can go wrong here. In particular, substeps are not allowed here (step_input == _input), although i guess no one has used substeps in auxiliary steps.

I have reverted this patch because it broke a few tests. I am investigating.

Yes and no, because when an auxiliary step is really executed, it will have a context that is passed from SoS, and should be able to dynamically trigger another step, and it also allows substeps. In the DAG stage, SoS simply tried to evaluate the output if it is simple enough, and guess the output of the step using lexical analysis (named output etc) if failed, and give up it is too complicated. The bottomline is that it does not attempt to run the step.
Your example would work if
[step: provides=['{sample}.txt', '{sample}.out']]
output: '{sample}.txt', '{sample}.out'

because sample would be known from filename matching. Unfortunately, you did something like
[step: provides=['{sample}.txt', '{sample}.out']]
input: sample
output: '{_input}.txt', '{_input}.out'

so SoS failed to get output.
I tried to evaluate things before output, which worked for your example but broke some tests so I am re-implementing the change.

Your example would work if ...because sample would be known from filename matching. Unfortunately, you did something like

Okay I see that was what you tried to tell me yesterday it seems. Indeed that bit is the same in my workflow and in the MWE. I can change that by doing what you suggest.
But do you still see it as a bug or user error?

Any thing like "too many open files", "unable to get lock" would be a bug on the SoS side, since sos should either run without problem or point out what is wrong with the script.
In this particular case I tend to generate an error and let users know that the SoS needs to know the output. However, as I said I do have tests like this and ran well because the steps are not triggered from two different input files that generate two nodes to be executed at the same time...

OK, your example should now work, and all tests pass now.


CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_79kc4kkp2n/clone/recipe/meta.yaml:15: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_79kc4kkp2n/clone/recipe/meta.yaml:20: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_79kc4kkp2n/clone/recipe/meta.yaml:36: missing_documentation: The recipe is missing a doc_url or doc_source_url
ERROR: /tmp/abs_79kc4kkp2n/clone/recipe/meta.yaml:36: missing_license_family: The recipe is missing the about/license_family key.
ERROR: /tmp/abs_79kc4kkp2n/clone/recipe/meta.yaml:36: missing_dev_url: The recipe is missing a dev_url
WARNING: /tmp/abs_79kc4kkp2n/clone/recipe/meta.yaml:36: missing_description: The recipe is missing a description
Errors were found


feat: support toBigInt method

close: #352

Nice work but more test cases are required. In the documentation you add the following example,
y = new BigNumber('45987349857634085409857349856430985')
y.toBigInt()                    //<PHONE_NUMBER>7634085409857349856430985n

but your implementation of toBigInt actually returns  a BigInt with value<PHONE_NUMBER>7634086842492183761649664 because you are converting the BigNumber's value to a JS number using +.
A correct implementation would be the following.  Note that I use toFixed because BigInt does not handle exponential notation.
P.toBigInt = function () {
  if (!this.isInteger()) throw Error(bignumberError + 'Not an integer: ' + valueOf(this));
  return BigInt(this.toFixed());
};

or, if we want to allow BigInts to be formed from non-integers, and to return null for NaN and Infinity
P.toBigInt = function () {
  return this.isFinite() ? BigInt(this.integerValue(1).toFixed()) : null;
};

where 1 is BigNumber.ROUND_DOWN, but it could be left out if we wanted the current global ROUNDING_MODE setting to be used when rounding non-integers, or we could allow the option of passing a rounding mode as an argument.
The most efficient implementation would be the following. Like the BigInt constructor, it always throws on non-integers. It is easy for a user to use integerValue before calling toBigInt if required.
P.toBigInt = function () {
  if (!this.isInteger()) throw Error(bignumberError + 'Not an integer: ' + valueOf(this));
  var str = coeffToString(this.c);
  for (var i = this.e + 1 - str.length; i > 0; i--) str += '0';
  return BigInt(this.s < 0 ? '-' + str : str);
};

Okay, so this PR needs the implementation of toBIgInt to be replaced with the one directly above and more tests to be added.

Nice work but more test cases are required. In the documentation you add the following example,
y = new BigNumber('45987349857634085409857349856430985')
y.toBigInt()                    //<PHONE_NUMBER>7634085409857349856430985n

but your implementation of toBigInt actually returns  a BigInt with value<PHONE_NUMBER>7634086842492183761649664 because you are converting the BigNumber's value to a JS number using +.
A correct implementation would be the following.  Note that I use toFixed because BigInt does not handle exponential notation.
P.toBigInt = function () {
  if (!this.isInteger()) throw Error(bignumberError + 'Not an integer: ' + valueOf(this));
  return BigInt(this.toFixed());
};

or, if we want to allow BigInts to be formed from non-integers, and to return null for NaN and Infinity
P.toBigInt = function () {
  return this.isFinite() ? BigInt(this.integerValue(1).toFixed()) : null;
};

where the 1 is BigNumber.ROUND_DOWN, but it could be left out if we wanted the current global ROUNDING_MODE setting to be used when rounding non-integers, or we could allow the option of passing a rounding mode as an argument.
The most efficient implementation would be the following. Like the BigInt constructor, it always throws on non-integers. It is easy for a user to call integerValue before toBigInt if required anyway.
P.toBigInt = function () {
  if (!this.isInteger()) throw Error(bignumberError + 'Not an integer: ' + valueOf(this));
  var str = coeffToString(this.c);
  for (var i = this.e + 1 - str.length; i > 0; i--) str += '0';
  return BigInt(this.s < 0 ? '-' + str : str);
};

Okay, so this PR needs your implementation of toBigInt to be replaced with the one directly above and more tests to be added.

Thanks for taking the time here. This is a great implementation. I will replace it later

I replaced and added some tests. Do we need more test cases? what tests need to add?

No, it's all good. I'm still not 100% on including this because up to now this library uses ECMAScript 3 (ES3) features only and I am not sure I want to break that convention. I'll leave this PR open for now. Thanks for your efforts.

I'm still not 100% on including this because up to now this library uses ECMAScript 3 (ES3) features only and I am not sure I want to break that convention.

We could determine if the current environment supports BigInt or else throw an error so that we can support the modern browser without affecting ES3 users. do you think that would work?

Good stuff, thank you. Better late then never.

Why did this get reverted?


Navbar 'md' triggers at 992 instead of 768

I noticed that while all of the other responsive classes define medium (md) as 768 px viewport, the navbar collapses the menu at 992 px. navbar-toggleable-md is the problematic class, although there could be others.

Fixed with #21719
navbar-toggleable-md will now break at 768px

You might want to keep the issue open until the PR is merged, for tracking purpose. Just in case the PR doesn't get merged...


process rules from results for axe tool properties

Description of changes

Moved driver property from axe-tool-property-provider to sarif-converter-21 so it's easier to add rules to axe tool property
Moved functions for converting results to rules from sarif-converter-21 to new class ResultToRuleConverter (will remove ResultDecorator in future PR)
Added function to format rules in rulesDictionary to relationships
Added unit tests for ResultToRuleConverter
Added rules to axe tool properties in sarif-converter-21
Moved WCAG taxonomy reference data and getter to wcag-taxonomy-provider and added relevant unit test

Pull request checklist

[ ] PR title respects Conventional Commits (starts with fix:, feat:, etc, and is suitable for user-facing release notes) N/A this is part of a feature
[x] PR contains no breaking changes, OR description of both PR and final merge commit starts with BREAKING CHANGE:
[x] (if applicable) Implements: 1553642
[x] Added relevant unit tests for your changes
[x] Ran yarn precheckin
[x] Verified code coverage for the changes made

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Working pam-demo for acc

https://ssh-demo-acc.lab.surf.nl/ niet goed genoeg?

Bas to review PR and merge.

waiting for SVP ACL change

https://jira.ia.surf.nl/servicedesk/customer/portal/1/ISSD-28458

ACL ticket marked as Done, should be ready for test

Works on acc now with service https://acc.sram.surf.nl/services/62
<EMAIL_ADDRESS>
surf.nl:2022/


undefined reference to MaterialX::GLContext::GLContext

The current revision 0f94298 fails:
ld: error: source/MaterialXRenderGlsl/libMaterialXRenderGlsl.so.1.38.3: undefined reference to MaterialX::GLContext::GLContext(std::__1::shared_ptr<MaterialX::SimpleWindow>, __GLXcontextRec*) [--no-allow-shlib-undefined]

@yurivict Can you provide more details on the operating system and compiler you're building with?  So far, we're seeing successful building, testing, and rendered results with this specific revision of MaterialX main:
https://github.com/materialx/MaterialX/actions/runs/1446033189
But there are certainly operating systems and compilers that we don't yet (or can't yet) include in our build matrix, and we're interested in ideas on how to extend it further going forward.

The compiler is clang-12. Did you test with clang?

Yes, we include Clang 9, 11, and 12 in our build matrix, and here's a link to the build output for Clang 12:
https://github.com/materialx/MaterialX/runs/4170571805?check_suite_focus=true

What about MATERIALX_BUILD_VIEWER? Is it on during tests?

For all configurations in our build matrix, we build with MATERIALX_BUILD_VIEWER set to ON.  (You can see all of these details in the links above, including the specific command line options set for each build.)

I'll close out this issue for now, and let us know if you learn more details about the situations in which this build error occurs.  Since we don't yet have support for FreeBSD builds in our GitHub Actions matrix, we'd appreciate any insights into fixes that would address build issues on that platform.


Split payment

Is your feature request related to a problem? Please describe.
I would like to make split payment between 2 credit cards in my RN app after migrate from tipsi-stripe.
What I want is to have 2 different CardField components on the same page. After PAY button is clicked I would like to call confirmPayment for both payments. I have 2 clientSecrets from backend and  call initPaymentSheet for each of them. The problem comes from  that I could't distinguish credit card data when I call confirmPayment. The second CardField component seems to override first  CardField component and both calls of confirmPayment sends second credit card data.
Describe the solution you'd like
I would like to implement CardField with some identifier and later pass this identifier to confirmPayment so in that way I will have the ability to have 2 different CardField components with 2 different payment intents.

You can only have one CardField mounted at a time. I'd recommend you collect card details one after the other. For more help with your specific integration please use our developer chat https://stripe.com/go/developer-chat

Hi @thorsten-stripe. Thanks for answer.
I've reworked my Payment logic and now I've got different screens for both credit cards.
Now I have problem with second card again. When I try to call confirmPayment it gives me this response:
"error": {
    "code": "Failed",
    "declineCode": null,
    "localizedMessage": "Card details not complete",
    "message": "Card details not complete",
    "stripeErrorCode": null,
    "type": null
}

The screens for the first and the second credit cards are almost same. The first one was processed successfully but the second throws this error. I've collected the data from CardField and everything seems to be OK (the problem with override first card has gone).
This is the data of the credit card:
 {
     "brand": "Visa",
     "complete": true,
     "expiryMonth": 11,
     "expiryYear": 33,
     "last4": "1111",
     "name": "John Doe"
}

What could be the problem?


Autowalk, floor plus all the assets and unity files

Temporary floor plan and autowalking set up. imported assets

@calthomson Going to merge this right away cause, it's working fine from my brief smoke test.


[Remote Store] Permit backed futures to prevent timeouts during upload bursts

Description
During burst of uploads happening typically in finalize recovery in cases like shrink, split and force merge where lot of segments or large segments become available for upload, large number of requests get queued up behind connection pool. This either results in timeouts due to failure in acquiring a connection or idle connection timeout where an ongoing request takes too long to read and compute data for upload which is because of high wait time for acquiring a thread in stream reader pool. It is more prevalent in async flow since main thread doesn't wait for the response and everything ends up getting submitted for upload. Both sync and async S3 SDK apis do not have a way today to handle such bursts.
This PR resolves these problems by applying natural backpressure on main thread with the help of backing permits. It also adds retries on future in case of a SDK exception or failure in acquisition of a permit. This means that in case of multi-part upload, a failing part can be independently retried.
Testing

During post recovery of a 98gb shard on a r7g.medium box after split of nyc_taxis index, I did not observe any IO timeout. Concurrent execution of so workload benchmark also did not produce any timeout error.
No impact on indexing performance on executing benchmarks on main build and build with this PR.

Related Issues
Resolves #[Issue number to be closed when this PR is merged]

Check List

[x] New functionality includes testing.

[x] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[x] Failing checks are inspected and point to the corresponding known issue(s) (See: Troubleshooting Failing Builds)
[x] Commits are signed per the DCO using --signoff
[ ] Commit changes are listed out in CHANGELOG.md file (See: Changelog)
[ ] Public documentation issue/PR created

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@vikasvb90 , please confirm the release target - is it 2.13 or 2.14 ?

[Storage Triage - attendees 1 2 3 4 5 6 7 8 9 10 11 12]
@vikasvb90 Thanks for opening this. Looking forward to getting this merged


Encounter an error when deploying a project with v3 func cli to a Linux function app with Python runtime

OS: Win10
Build Version: 20191031.33
Repro Steps:

F1 --> Type and select "Azure Functions: Uninstall Azure Functions Core Tools".
Click a new Python project --> Select "Azure Functions v3 Preview (.NET Core)" when asked to select a version --> Select "Http Trigger" template.

Prompt to install Linter pylint --> Intsall.
Debug.
Prompt to install the Azure Functions Core Tools --> Install.
Deploy--> Check the result.

Expect:
Succeed to deploy without any errors.
Actual:
Pop up an error when deploying.

Verified on the build 20200107.1, this issue doesn't reproduce for now. So I close it temporarily.


[posix] more robust netlink message handler

Check and ensure at least the netlink header is received in the netlink socket to be safe before interpreting the buffer as a netlink message.

The crash is probably caused by missing checking NLMSG_DONE. According to netlink, this is mandatory.

The crash is probably caused by missing checking NLMSG_DONE. According to netlink, this is mandatory.

good point :+1: , added it the second commit. PTAL @bukepo


A build error with Next.js

The recent release (v0.2.1) comes with the error:
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace thread '<unnamed>' panicked at 'failed to invoke plugin: failed to invoke plugin

Caused by:
    0: failed to invoke<EMAIL_ADDRESS>as js transform plugin at<EMAIL_ADDRESS>    1: RuntimeError: out of bounds memory access
       at rkyv::impls::alloc::boxed::<impl rkyv::Deserialize<alloc::boxed::Box<T>,D>

Related - https://github.com/lingui/swc-plugin/issues/24

Could you narrow the case to one file or particular line in code which cause the issue?

@doc-sultan @stovmascript, we've just released the 0.2.2 version, could you please try it?

Don't forget to remove 'next' folder, otherwise you may not see changes

The bug is still there:
ncu -u
rm -r .next node_modules/
npm run dev

The error log:
ready - started server on <IP_ADDRESS>:3000, url: http://localhost:3000
info  - Loaded env from /my-project/.env
warn  - You have enabled experimental features (appDir, swcPlugins) in next.config.js.
warn  - Experimental features are not covered by semver, and may cause unexpected or broken application behavior. Use at your own risk.

info  - Thank you for testing `appDir` please leave your feedback at https://nextjs.link/app-feedback
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: LayoutError', /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/rkyv-0.7.37/src/impls/core/mod.rs:265:67
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: LayoutError', /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/rkyv-0.7.37/src/impls/core/mod.rs:265:67
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: LayoutError', /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/rkyv-0.7.37/src/impls/core/mod.rs:265:67
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>' panicked at 'failed to invoke plugin: failed to invoke plugin on 'Some("/my-project/node_modules/next/dist/client/dev/amp-dev.js")'

Caused by:
    0: failed to invoke<EMAIL_ADDRESS>as js transform plugin at<EMAIL_ADDRESS>    1: RuntimeError: unreachable
           at rust_panic (<module>[1365]:0xe288b)
           at std::panicking::rust_panic_with_hook::h911ba172265603df (<module>[819]:0x8f4c0)
           at std::panicking::begin_panic_handler::{{closure}}::h7b07dd737a4d8757 (<module>[1372]:0xe2f89)
           at std::sys_common::backtrace::__rust_end_short_backtrace::ha54585d732ac30f6 (<module>[1371]:0xe2ebf)
           at rust_begin_unwind (<module>[749]:0x85a68)
           at core::panicking::panic_fmt::h6958314cbbe045b2 (<module>[448]:0x628a8)
           at core::result::unwrap_failed::h5a65fd54aeec1613 (<module>[33]:0x42bc)
           at rkyv::impls::alloc::vec::<impl rkyv::Deserialize<alloc::vec::Vec<T>,D> for rkyv::vec::ArchivedVec<<T as rkyv::Archive>::Archived>>::deserialize::h63fbbdb1a00b4c47 (<module>[70]:0xb8c7)
           at __transform_plugin_process_impl (<module>[594]:0x7b8e2)
           at __transform_plugin_process_impl.command_export (<module>[1587]:0xfc0f2)
    2: unreachable', /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/swc-0.242.2/src/plugin.rs:228:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>' panicked at 'failed to invoke plugin: failed to invoke plugin on 'Some("/my-project/node_modules/next/dist/client/next-dev.js")'

Caused by:
    0: failed to invoke<EMAIL_ADDRESS>as js transform plugin at<EMAIL_ADDRESS>    1: RuntimeError: unreachable
           at rust_panic (<module>[1365]:0xe288b)
           at std::panicking::rust_panic_with_hook::h911ba172265603df (<module>[819]:0x8f4c0)
           at std::panicking::begin_panic_handler::{{closure}}::h7b07dd737a4d8757 (<module>[1372]:0xe2f89)
           at std::sys_common::backtrace::__rust_end_short_backtrace::ha54585d732ac30f6 (<module>[1371]:0xe2ebf)
           at rust_begin_unwind (<module>[749]:0x85a68)
           at core::panicking::panic_fmt::h6958314cbbe045b2 (<module>[448]:0x628a8)
           at core::result::unwrap_failed::h5a65fd54aeec1613 (<module>[33]:0x42bc)
           at rkyv::impls::alloc::vec::<impl rkyv::Deserialize<alloc::vec::Vec<T>,D> for rkyv::vec::ArchivedVec<<T as rkyv::Archive>::Archived>>::deserialize::h63fbbdb1a00b4c47 (<module>[70]:0xb8c7)
           at __transform_plugin_process_impl (<module>[594]:0x7b8e2)
           at __transform_plugin_process_impl.command_export (<module>[1587]:0xfc0f2)
    2: unreachable', /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/swc-0.242.2/src/plugin.rs:228:14
thread '<unnamed>' panicked at 'failed to invoke plugin: failed to invoke plugin on 'Some("/my-project/node_modules/next/dist/client/app-next-dev.js")'

Caused by:
    0: failed to invoke<EMAIL_ADDRESS>as js transform plugin at<EMAIL_ADDRESS>    1: RuntimeError: out of bounds memory access
           at rkyv::impls::alloc::boxed::<impl rkyv::Deserialize<alloc::boxed::Box<T>,D> for rkyv::boxed::ArchivedBox<<T as rkyv::ArchiveUnsized>::Archived>>::deserialize::h4156d05ee7d17887 (<module>[504]:0x6c5e6)
           at rkyv::impls::alloc::vec::<impl rkyv::Deserialize<alloc::vec::Vec<T>,D> for rkyv::vec::ArchivedVec<<T as rkyv::Archive>::Archived>>::deserialize::h63fbbdb1a00b4c47 (<module>[70]:0xb7a0)
           at __transform_plugin_process_impl (<module>[594]:0x7b8e2)
           at __transform_plugin_process_impl.command_export (<module>[1587]:0xfc0f2)
    2: heap_get_oob', /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/swc-0.242.2/src/plugin.rs:228:14
thread '<unnamed>' panicked at 'failed to invoke plugin: failed to invoke plugin on 'Some("/my-project/node_modules/next/dist/client/router.js")'

Caused by:
    0: failed to invoke<EMAIL_ADDRESS>as js transform plugin at<EMAIL_ADDRESS>    1: RuntimeError: unreachable
           at rust_panic (<module>[1365]:0xe288b)
           at std::panicking::rust_panic_with_hook::h911ba172265603df (<module>[819]:0x8f4c0)
           at std::panicking::begin_panic_handler::{{closure}}::h7b07dd737a4d8757 (<module>[1372]:0xe2f89)
           at std::sys_common::backtrace::__rust_end_short_backtrace::ha54585d732ac30f6 (<module>[1371]:0xe2ebf)
           at rust_begin_unwind (<module>[749]:0x85a68)
           at core::panicking::panic_fmt::h6958314cbbe045b2 (<module>[448]:0x628a8)
           at core::result::unwrap_failed::h5a65fd54aeec1613 (<module>[33]:0x42bc)
           at rkyv::impls::alloc::vec::<impl rkyv::Deserialize<alloc::vec::Vec<T>,D> for rkyv::vec::ArchivedVec<<T as rkyv::Archive>::Archived>>::deserialize::h63fbbdb1a00b4c47 (<module>[70]:0xb8c7)
           at __transform_plugin_process_impl (<module>[594]:0x7b8e2)
           at __transform_plugin_process_impl.command_export (<module>[1587]:0xfc0f2)
    2: unreachable', /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/swc-0.242.2/src/plugin.rs:228:14
thread '<unnamed>' panicked at 'failed to invoke plugin: failed to invoke plugin on 'Some("/my-project/node_modules/next/dist/pages/_error.js")'

Caused by:
    0: failed to invoke<EMAIL_ADDRESS>as js transform plugin at<EMAIL_ADDRESS>    1: RuntimeError: out of bounds memory access
           at rkyv::impls::alloc::boxed::<impl rkyv::Deserialize<alloc::boxed::Box<T>,D> for rkyv::boxed::ArchivedBox<<T as rkyv::ArchiveUnsized>::Archived>>::deserialize::h4156d05ee7d17887 (<module>[504]:0x6c5e6)
           at rkyv::impls::alloc::vec::<impl rkyv::Deserialize<alloc::vec::Vec<T>,D> for rkyv::vec::ArchivedVec<<T as rkyv::Archive>::Archived>>::deserialize::h63fbbdb1a00b4c47 (<module>[70]:0xb7a0)
           at __transform_plugin_process_impl (<module>[594]:0x7b8e2)
           at __transform_plugin_process_impl.command_export (<module>[1587]:0xfc0f2)
    2: heap_get_oob', /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/swc-0.242.2/src/plugin.rs:228:14
thread '<unnamed>' panicked at 'failed to invoke plugin: failed to invoke plugin on 'Some("/my-project/node_modules/next/dist/pages/_app.js")'

Caused by:
    0: failed to invoke<EMAIL_ADDRESS>as js transform plugin at<EMAIL_ADDRESS>    1: RuntimeError: out of bounds memory access
           at swc_ecma_ast::stmt::_::<impl rkyv::Deserialize<swc_ecma_ast::stmt::Stmt,__D> for <swc_ecma_ast::stmt::Stmt as rkyv::Archive>::Archived>::deserialize::h896b4914e2b65c61 (<module>[156]:0x2da92)
           at swc_ecma_ast::stmt::_::<impl rkyv::Deserialize<swc_ecma_ast::stmt::Stmt,__D> for <swc_ecma_ast::stmt::Stmt as rkyv::Archive>::Archived>::deserialize::h896b4914e2b65c61 (<module>[156]:0x2db26)
           at swc_ecma_ast::stmt::_::<impl rkyv::Deserialize<swc_ecma_ast::stmt::Stmt,__D> for <swc_ecma_ast::stmt::Stmt as rkyv::Archive>::Archived>::deserialize::h896b4914e2b65c61 (<module>[156]:0x2db26)
           at swc_ecma_ast::stmt::_::<impl rkyv::Deserialize<swc_ecma_ast::stmt::Stmt,__D> for <swc_ecma_ast::stmt::Stmt as rkyv::Archive>::Archived>::deserialize::h896b4914e2b65c61 (<module>[156]:0x2db26)
           at rkyv::impls::alloc::vec::<impl rkyv::Deserialize<alloc::vec::Vec<T>,D> for rkyv::vec::ArchivedVec<<T as rkyv::Archive>::Archived>>::deserialize::h63fbbdb1a00b4c47 (<module>[70]:0xb9ff)
           at __transform_plugin_process_impl (<module>[594]:0x7b8e2)
           at __transform_plugin_process_impl.command_export (<module>[1587]:0xfc0f2)
    2: heap_get_oob', /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/swc-0.242.2/src/plugin.rs:228:14
thread '<unnamed>' panicked at 'failed to invoke plugin: failed to invoke plugin on 'Some("/my-project/node_modules/next/dist/pages/_error.js")'

Caused by:
    0: failed to invoke<EMAIL_ADDRESS>as js transform plugin at<EMAIL_ADDRESS>    1: RuntimeError: out of bounds memory access
           at rkyv::impls::alloc::vec::<impl rkyv::Deserialize<alloc::vec::Vec<T>,D> for rkyv::vec::ArchivedVec<<T as rkyv::Archive>::Archived>>::deserialize::h63fbbdb1a00b4c47 (<module>[70]:0xb342)
           at __transform_plugin_process_impl (<module>[594]:0x7b8e2)
           at __transform_plugin_process_impl.command_export (<module>[1587]:0xfc0f2)
    2: heap_get_oob', /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/swc-0.242.2/src/plugin.rs:228:14
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: LayoutError', /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/rkyv-0.7.37/src/impls/core/mod.rs:265:67
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>' panicked at 'failed to invoke plugin: failed to invoke plugin on 'Some("/my-project/node_modules/next/dist/pages/_document.js")'

Caused by:
    0: failed to invoke<EMAIL_ADDRESS>as js transform plugin at<EMAIL_ADDRESS>    1: RuntimeError: unreachable
           at rust_panic (<module>[1365]:0xe288b)
           at std::panicking::rust_panic_with_hook::h911ba172265603df (<module>[819]:0x8f4c0)
           at std::panicking::begin_panic_handler::{{closure}}::h7b07dd737a4d8757 (<module>[1372]:0xe2f89)
           at std::sys_common::backtrace::__rust_end_short_backtrace::ha54585d732ac30f6 (<module>[1371]:0xe2ebf)
           at rust_begin_unwind (<module>[749]:0x85a68)
           at core::panicking::panic_fmt::h6958314cbbe045b2 (<module>[448]:0x628a8)
           at core::result::unwrap_failed::h5a65fd54aeec1613 (<module>[33]:0x42bc)
           at rkyv::impls::alloc::vec::<impl rkyv::Deserialize<alloc::vec::Vec<T>,D> for rkyv::vec::ArchivedVec<<T as rkyv::Archive>::Archived>>::deserialize::h63fbbdb1a00b4c47 (<module>[70]:0xb8c7)
           at __transform_plugin_process_impl (<module>[594]:0x7b8e2)
           at __transform_plugin_process_impl.command_export (<module>[1587]:0xfc0f2)
    2: unreachable', /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/swc-0.242.2/src/plugin.rs:228:14
thread '<unnamed>' panicked at 'failed to invoke plugin: failed to invoke plugin on 'Some("/my-project/node_modules/next/dist/pages/_app.js")'

Caused by:
    0: failed to invoke<EMAIL_ADDRESS>as js transform plugin at<EMAIL_ADDRESS>    1: RuntimeError: out of bounds memory access
           at swc_ecma_ast::stmt::_::<impl rkyv::Deserialize<swc_ecma_ast::stmt::Stmt,__D> for <swc_ecma_ast::stmt::Stmt as rkyv::Archive>::Archived>::deserialize::h896b4914e2b65c61 (<module>[156]:0x2da92)
           at swc_ecma_ast::stmt::_::<impl rkyv::Deserialize<swc_ecma_ast::stmt::Stmt,__D> for <swc_ecma_ast::stmt::Stmt as rkyv::Archive>::Archived>::deserialize::h896b4914e2b65c61 (<module>[156]:0x2db26)
           at swc_ecma_ast::stmt::_::<impl rkyv::Deserialize<swc_ecma_ast::stmt::Stmt,__D> for <swc_ecma_ast::stmt::Stmt as rkyv::Archive>::Archived>::deserialize::h896b4914e2b65c61 (<module>[156]:0x2db26)
           at swc_ecma_ast::stmt::_::<impl rkyv::Deserialize<swc_ecma_ast::stmt::Stmt,__D> for <swc_ecma_ast::stmt::Stmt as rkyv::Archive>::Archived>::deserialize::h896b4914e2b65c61 (<module>[156]:0x2db26)
           at rkyv::impls::alloc::vec::<impl rkyv::Deserialize<alloc::vec::Vec<T>,D> for rkyv::vec::ArchivedVec<<T as rkyv::Archive>::Archived>>::deserialize::h63fbbdb1a00b4c47 (<module>[70]:0xb9ff)
           at __transform_plugin_process_impl (<module>[594]:0x7b8e2)
           at __transform_plugin_process_impl.command_export (<module>[1587]:0xfc0f2)
    2: heap_get_oob', /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/swc-0.242.2/src/plugin.rs:228:14
error - ./node_modules/next/dist/client/dev/amp-dev.js
Error: failed to process failed to invoke plugin: failed to invoke plugin on 'Some("/my-project/node_modules/next/dist/client/dev/amp-dev.js")'

Caused by:
    0: failed to invoke<EMAIL_ADDRESS>as js transform plugin at<EMAIL_ADDRESS>    1: RuntimeError: unreachable
           at rust_panic (<module>[1365]:0xe288b)
           at std::panicking::rust_panic_with_hook::h911ba172265603df (<module>[819]:0x8f4c0)
           at std::panicking::begin_panic_handler::{{closure}}::h7b07dd737a4d8757 (<module>[1372]:0xe2f89)
           at std::sys_common::backtrace::__rust_end_short_backtrace::ha54585d732ac30f6 (<module>[1371]:0xe2ebf)
           at rust_begin_unwind (<module>[749]:0x85a68)
           at core::panicking::panic_fmt::h6958314cbbe045b2 (<module>[448]:0x628a8)
           at core::result::unwrap_failed::h5a65fd54aeec1613 (<module>[33]:0x42bc)
           at rkyv::impls::alloc::vec::<impl rkyv::Deserialize<alloc::vec::Vec<T>,D> for rkyv::vec::ArchivedVec<<T as rkyv::Archive>::Archived>>::deserialize::h63fbbdb1a00b4c47 (<module>[70]:0xb8c7)
           at __transform_plugin_process_impl (<module>[594]:0x7b8e2)
           at __transform_plugin_process_impl.command_export (<module>[1587]:0xfc0f2)
    2: unreachable

Do you update only plugin or nextjs also?  I wondering what can cause such isse because stacktrace is useless.
Looks like somethong else was also updated, no only SWC plugin.

confirmed, was able to reproduce the bug in the ./example/nextjs-13 in this repo

@thekip experimenting same issue, just updated the plugin.

Issue in SWC repo for tracking https://github.com/swc-project/swc/issues/6807

@thekip thank you!

Do you update only plugin or nextjs also? I wondering what can cause such isse because stacktrace is useless.
Looks like somethong else was also updated, no only SWC plugin.

When I put back: "@lingui/swc-plugin": "0.2.0" it works. No updates except @lingui/swc-plugin.


Add TCRA in edu for free JET Brains licences

Add files for TCRA edu for free JET Brains Licence. Thanks

@SmartOne2017 I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host tcra.edu not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for your understanding!


Gh 760 fix after review

CC @robotmrv

Also @bsideup since he gave advice in this area originally


Symbols can not be friendly converted, like α  β

If there are some symbols(eg. α  β...) in html content , it will be converted as black square as below.
Can someone help on this? Much appreciate.

Solved

@Yangchunyu01 you could share the solution, I currently present the same problem

you can try like below:

you can try like this:
string.replace("δ", "δ)
Hope it works for you!