[sram_program] configure default ISRs for SRAM programs

When developing an SRAM program, several exceptions occured due to programming errors. These were initially difficult to track down as there was no visibility into which exception(s) had occurred.
This adds the default OTTF ISRs to SRAM programs to provide basic error messages when exceptions occur durring SRAM program execution.

Why is OTTF_DEFINE_TEST_CONFIG necessary? Is that used by the OTTF ISR library somehow?

Yep exactly, it is used to determine how we backup stack pointer on a interrupt: https://cs.opensource.google/opentitan/opentitan/+/master:sw/device/lib/testing/test_framework/ottf_isrs.S;drc=6a5a3ea13572d4b1d842aa439ebd5c627bc665f2;l=61


cranelift-jit: Panic when calling colocated function in riscv64

👋 Hey,
Fuzzgen found this when I tried to run #5765 on a RISC-V machine.
.clif Test Case
test run
target riscv64gc

function %b() {
block0:
    return
}

function %a(i16) -> i16 {
    sig0 = () system_v
    fn0 = colocated %b sig0

block0(v0: i16):
    call fn0()
    return v0
}

; run: %a(1) == 1

Steps to Reproduce

clif-util test ./the-above.clif

Expected Results
The test to pass
Actual Results
     Running `qemu-riscv64 -L /usr/riscv64-linux-gnu -E LD_LIBRARY_PATH=/usr/riscv64-linux-gnu/lib /home/afonso/git/wasmtime/target/riscv64gc-unknown-linux-gnu/debug/clif-util test ./lmao.clif`
thread 'worker #1' panicked at 'not implemented', cranelift/jit/src/compiled_blob.rs:105:22
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
 ERROR cranelift_filetests::concurrent > FAIL: panicked in worker #1: not implemented
FAIL ./lmao.clif: panicked in worker #1: not implemented
1 tests
Error: 1 failure

Versions and Environment
Cranelift version or commit: main
Operating system: Linux
Architecture: riscv64
Extra Info
The testcase passes if we drop the colocated flag.
Looks like we are missing handling for the RISC-V Call relocation in the JIT.

Looks like we are missing handling for the RISC-V Call relocation in the JIT.

Indeed: https://github.com/bytecodealliance/wasmtime/blob/1e6c94bec1a56a88ea3df518de0d073d26596580/cranelift/jit/src/compiled_blob.rs#L105


Proposal :  s2i-compose

Declarative programming & CoC ( convention over configuration) is already the way.

Dockerfile is the declarative definition of new image.
docker-compose is the declarative definition of container runtime
s2i is the declarative definition of build/runtime process.

However, running s2i itself requires extra arguments : builder image, code, runtime image, build-args,... so on.
The proposal is about having BuildConfig, but that it can run locally with podman or docker .
It must look like as following:
version: '3.7'

services:
   app:
      build:
         context: myapp/
         builder_image: centos/python-35-centos7
      ports:
        - 5000:5000
      image: hello-python

Assume this file is named s2i-compose.yaml and exist under this git repo https://github.com/sclorg/django-ex centos/python-35-centos7".
That time, this YAML file should be alternative of this long command:
s2i https://github.com/sclorg/django-ex centos/python-35-centos7 hello-python --context-dir=myapp

Good idea.
It would be good if the same buildconfig that is used in openshift, and that has the strategy of s2i, can work with the s2i binary.

Can we get this re-opened?
I think this is a really useful feature - and it probably hasnt had the visibility to truly garner  interest.


Support for index Sass or SCSS File

In Dart Sass, we can import a directory and the import takes the index.scss or index.sass file from the directory. Like if I use @import "directory" in Sass, Dart Sass will try to import directory/index.{sass, scss}. Can we get a similar feature like that? This feature will be really useful.

Duplicate of #2339


0.12.5 升级到0.13.0后，聚合查询求和时没有数据的行不会补零，而是返回了“null”

select sum(jiangyuliang) from root.disaster.sd.* where time>=2022-05-01T08:00:00 and time<=2022-05-01T23:00:00 align by device

使用group by 聚合分组查询也是一样返回了null，不过group by查询时，可以使用 fill(0) 来兼容之前的代码，而非group by 查询时，结果使用fill(0)报错：411: Error occurred in query process: The condition of WHERE clause must be like time=constant

I'm sorry about that. The result will show null when there is no data. Why we don't show 0 any more is that we can't know it's no data or the true sum value is 0. Therefore, it's bug actually in 0.12.5, but it's fixed in 0.13.0. It will be fixed in 0.12.6 too. You may have to modify your code before.
聚合结果在时间序列没有数据时会返回 null，因为此时如果返回0的话就不知道是因为没有数据还是真正的sum值就是0。
因此0.12.5返回 0 其实是个bug，0.13.0 修复了这一bug，后续 0.12.6也会修复这个bug。因此可能需要您对之前的代码判断做一些修改。

聚合结果在时间序列没有数据时会返回 null，因为此时如果返回0的话就不知道是因为没有数据还是真正的sum值就是0。
因此0.12.5返回 0 其实是个bug，0.13.0 修复了这一bug，后续 0.12.6也会修复这个bug。因此可能需要您对之前的代码判断做一些修改。

hm...
if we have a time series root.a.b, but the series has no data. How about the following 4 sqls:

select max(b) from root.*;
select max(b) from root.* group by ([t1, t2], 5m);
select max(b) from root.a;
select max(b) from root.* group by ([t1, t2], 5m);

All 4 sqls will return null, multi null while using group by interval.

and how about raw data query?  select b from root.*?

Just result header without data, like this:

and how about raw data query?  select b from root.*?

so,  the common rule is: raw data query will return empty while aggregation-based query will return null if there is no data?

so, the common rule is: raw data query will return empty while aggregation-based query will return null if there is no data?

Hi, I found that count is an expection. Count will return 0 when there is no data, while others will return null.

This issue is fixed in #5812 . I will close this issue.


API-mode tx frame

When I send a frame from python "tx frame" to another digimesh connected using XCTU to check the received packets, from 10 packets sent only arrives 1. Please help me with that if I am forgetting to sent any API command or something.
NOTE: I tested both digimesh using XCTU and both can receive and send packets correctly, so it must be the API in python the problem, but I have no idea what.
this is my tx frame
xbee.send("tx", frame_id="G", dest_addr=destination, data=message)
destination: the destination address
data: the message to be sent (ASCII)

Did you ever get a conclusion to this? Is this still an issue?

If your message to be sent exceeds the maximum payload (which can be found in XCTU) the packet will be dropped. Maybe that's it?


feat: allow selection of generator version

Description
Add a version selector in the template selection screen that shows all published versions of the selected template and allowsd the user to use whichever version they like to create their bot
Task Item
fixes #8016
Screenshots

Coverage decreased (-0.01%) to 50.324% when pulling 60d10eba7f2b0b274b18a1fd0f895ca670d5d0b4 on pavolum/templateVersionSelection into f0abc315739d20e9eca989d8b2028177903b3884 on main.

@pavolum  could you attach snapshots to the PR as changes affect UI?

@pavolum could you attach snapshots to the PR as changes affect UI?

Yes I will add some now. Note that this feature is behind a hidden feature flag so the UI isnt up to shipping standards but has been approved by design for internal use which for the time being is the future of this feature

@pavolum Looking at the snapshot do you see the need to have a maxheight and scroll on the callout for versions? It seems it would span the height of the Composer container.

@pavolum Looking at the snapshot do you see the need to have a maxheight and scroll on the callout for versions? It seems it would span the height of the Composer container.


more coverage

Coverage increased (+2.1%) to 95.745% when pulling e97c3ea8f6e50b7deb13bebdb6f039cc245f0d6e on coverage into dbd8924eb2245793f85ef912a8b69210a2bc3cd2 on master.

Coverage increased (+2.1%) to 95.745% when pulling e97c3ea8f6e50b7deb13bebdb6f039cc245f0d6e on coverage into dbd8924eb2245793f85ef912a8b69210a2bc3cd2 on master.

Coverage increased (+2.1%) to 95.745% when pulling e97c3ea8f6e50b7deb13bebdb6f039cc245f0d6e on coverage into dbd8924eb2245793f85ef912a8b69210a2bc3cd2 on master.

Coverage increased (+2.1%) to 95.745% when pulling e97c3ea8f6e50b7deb13bebdb6f039cc245f0d6e on coverage into dbd8924eb2245793f85ef912a8b69210a2bc3cd2 on master.

Coverage increased (+2.1%) to 95.745% when pulling e97c3ea8f6e50b7deb13bebdb6f039cc245f0d6e on coverage into dbd8924eb2245793f85ef912a8b69210a2bc3cd2 on master.

Coverage increased (+4.3%) to 97.917% when pulling 71dda9d0d6a3288b6723d81542a73fd4d18b0a01 on coverage into dbd8924eb2245793f85ef912a8b69210a2bc3cd2 on master.

Coverage increased (+4.3%) to 97.917% when pulling 71dda9d0d6a3288b6723d81542a73fd4d18b0a01 on coverage into dbd8924eb2245793f85ef912a8b69210a2bc3cd2 on master.

Coverage increased (+4.3%) to 97.917% when pulling 71dda9d0d6a3288b6723d81542a73fd4d18b0a01 on coverage into dbd8924eb2245793f85ef912a8b69210a2bc3cd2 on master.

Coverage increased (+4.3%) to 97.917% when pulling 71dda9d0d6a3288b6723d81542a73fd4d18b0a01 on coverage into dbd8924eb2245793f85ef912a8b69210a2bc3cd2 on master.

Coverage increased (+6.4%) to 100.0% when pulling ca848403aa3dac106eb521a341b94e6df6accc7a on coverage into dbd8924eb2245793f85ef912a8b69210a2bc3cd2 on master.


Inline 'dollarmath' rich tab label doesn't render right on https://sphinx-inline-tabs.readthedocs.io/

Hi,
I was just reading the docs on Rich Tab labels, which currently looks like this:

I think the $2^2$ is meant to be dollar-delimited-math from MyST, but that it isn't rendering properly.
Maybe this is because the dollarmath MyST extension needs to be enabled? According to the docs this should be enabled by a block like:
myst_enable_extensions = [
    "dollarmath",
]

in the docs/conf.py of sphinx-inline-tabs - but I don't see this present. I could be misdiagnosing this thought, but thought it was worth mentioning. I'll keep looking and see if I can find a resolution (and if so, open a PR).

Just confirmed my attempted diagnosis - if I add the below to the conf.py:
myst_enable_extensions = [
    "dollarmath",
]

then it renders as I would expect:

I'll open a PR (although I hacked around the install locally - I found trying to install with flit I got an error:

See issue #45.


 Why not?

Fixed issue.  CSP preventing AngularJS evaluation.  unsafe-eval needed to be added.  Good to know!


[Bug]: Can't connect to Dataverse Devtools via "Username/Password"

What happened?
I can't connect to Dataverse Devtools via "Username/Password"
What version of the tool are you using?
2.1.4
What version of Visual Studio Code are you running?
1.79.2
Any relevant session id from VSCode?
9e44946a-e675-4e44-94c4-98049be16ee51687767110164
Relevant log output
Error occured in connectDataverse command.
Error code: undefined.
Error message: undefined.
Error stack: undefined.

Based on the error looks like you are not using the right combination. Please ensure correct credentials are used. If MFA is enabled on the account then using other available options. Closing this issue but feel free to re-open if this is still an issue.


Draft: Config: Add ESLint configuration for frontend

This draft pull request adds a new ESLint configuration for the frontend code. It includes configuring VS Code auto formatting based on ESLint rules and adding the .eslintrc.js file to the Dockerfile. Additionally, it fixes linting issues in the codebase.
You should see this as the entry point for a discussion about how we want to setup proper linting (for JS & React)
Some questions about format and linting preferences I would have for you already:

Do you prefer indentation of 2 or 4 spaces?
How strict do you want the linting to be?
Can we leave unused variables or undefined variables in the code?
Should the last item of an array have a dangling comma?
Double or single quotes?
Should props be typed and if so, how strict should we be on it?

I'm closing this PR due to the lack of response and because some form (a bit more minimal) of eslint will eventually be added in #688


video-slider-response plugin: start and slider_start parameters not working

In the jspsych-video-slider-response plugin, the start and slider_start parameters do not seem to be working. I'm using the plugin's example HTML file to test this.
The video always starts at the beginning, regardless of the start value. The start parameter works fine in the two other video plugins.
The slider is always set to the maximum value, regardless of the slider_start value. The slider start parameters work fine in the html and image slider plugins.
This happens in Firefox and Chrome, with no errors in the console.
It would be great to know if someone else can reproduce this problem, since I think the plugin must've been tested and worked fine when it was added in jsPsych v6.1.0, and I don't know what would cause it to stop working now.
I'll look for a cause/fix and update here.

I think the plugin must've been tested and worked fine when it was added in jsPsych v6.1.0, and I don't know what would cause it to stop working now.

😐 😐 😐

https://github.com/jspsych/jsPsych/blob/83980085ef604c815f0d97ab55c816219e969b84/plugins/jspsych-video-slider-response.js#L186
This is because the start option is used for the slider (instead of slider_start), and the slider_start parameter doesn't appear to be used at all. I'll submit a pull request fixing this now.

Regarding start not working, it looks like there are two elements with the same id, so the video element is not being picked by querySelector().
https://github.com/jspsych/jsPsych/blob/83980085ef604c815f0d97ab55c816219e969b84/plugins/jspsych-video-slider-response.js#L149
https://github.com/jspsych/jsPsych/blob/83980085ef604c815f0d97ab55c816219e969b84/plugins/jspsych-video-slider-response.js#L180

World's fastest fix. Thanks very much @vijaygopal1234 !!

I think the plugin must've been tested and worked fine when it was added in jsPsych v6.1.0, and I don't know what would cause it to stop working now.

😐 😐 😐

@jodeleeuw sorry, I genuinely thought that I must've accidentally done something weird with my version to cause it to stop working... :grimacing:

I think the plugin must've been tested and worked fine when it was added in jsPsych v6.1.0, and I don't know what would cause it to stop working now.

😐 😐 😐

@jodeleeuw sorry, I genuinely thought that I must've accidentally done something weird with my version to cause it to stop working... :grimacing:

Haha well that's my fault for not having better testing in place!


Avoid race conditions in EditorFileSystem that cause issues with reimporting

Fixes https://github.com/godotengine/godot/issues/53871. Maybe some other reimporting issues as well (perhaps, https://github.com/godotengine/godot/issues/73053).
I identified two issues with the current process, and I am pretty green with threading so I may be missing something important. But here it goes.

EditorFileSystem has a stack of "scan actions", which are created when we need to react to various file system and file changes. One of those actions is ACTION_FILE_TEST_REIMPORT, which attempts to reimport resource that seems like it needs a reimport (we assume it based on some general clues, but it is checked more strictly while processing ACTION_FILE_TEST_REIMPORT itself). Actions are added per file, and currently any file can have an infinite amount of ACTION_FILE_TEST_REIMPORT actions associated with it. This confuses the importer (possibly due to threading), and causes a conflict when we try to process them at the same time.

There possibly many ways to trigger this situation, but the one that happens in the linked issue is caused by two things happening at once:

We start by dropping a file from outside of the Godot Editor's window, when this window is not in focus;
This causes a file dropped routine to happen, which adds a new file and puts it into the queue for ACTION_FILE_TEST_REIMPORT;
At the same time the editor regains focus, and sees a new file without a corresponding .import file, so it adds it into the queue again. (There are several other conditions that can trigger a rescan here, but this is the one that gets met.)

This causes some kind of deadlock, brings an empty popup and hangs the editor. The file is in fact correctly imported upon the restart (probably thanks to a scan action during the editor startup routine). To prevent that I'm adding a check to avoid adding ACTION_FILE_TEST_REIMPORT actions to the queue for the same file more than once. This removes the deadlock and the empty popup, but makes the second issue more obvious. 👇

The stack itself can be processed multiple times, due to the same circumstances, or a direct request to do so from other engine components. The code that does the processing, EditorFileSystem::_update_scan_actions(), takes the current stack, performs everything, and then flushes it. But the methods itself can be called multiple times, before the stack is flushed. So even if we remove duplicated actions from the queue, the existing actions can be processed over and over again, causing all sorts of incorrect states.

To fix this I'm adding a boolean flag that is set immediately for each action to indicate that it is already being handled, so subsequent calls to EditorFileSystem::_update_scan_actions() should no longer attempt to process them. This leaves one problem with the code, but I don't see it causing any issues at the moment. At the end of the call, the entire queue is flushed with scan_actions.clear();. So even if there are multiple calls to update scan actions going at the same time, the first one of them will remove all pending and processed actions. I could add a bit of logic to remove only the actions each particular call has handled, but... we are still modifying the queue that other actions may be iterating over. Which is very problematic.
But, again, I don't see any immediate problem during the execution, and it is something that already happens, just with more bugs on top. We should probably delay the flushing until after all EditorFileSystem::_update_scan_actions() calls are done. I can think about a way to do that, but I'm not sure my overall solution in this PR is permanent. Once again, I'm not even close to an expert on threading, and EditorFileSystem is maintained by @reduz for many reasons. So maybe in a follow-up, if we're okay with this?

I have two commits here, one for each problem, because of my uncertainty if this is a good solution, any part of it. So reverting each should be easier this way.

PLEASE DO TEST THIS!

Superseded by #73214. (Though feel free to reopen if some of this PR would still be worth merging for safety.)

Though feel free to reopen if some of this PR would still be worth merging for safety.

Personally, I think it wouldn't hurt, but if reduz doesn't want it, then we can simply wait for a rewrite that would be safer. Wonder if this would fix https://github.com/godotengine/godot/issues/73053 though (or if his PR does).


A token is being saved locally in the device to enable automatic re-login after a sudden disconnection.

closed 405c645


oversized padding for embed Component

Tested page URL:

Experience is embedded here:
https://www.netcentric.biz/what-we-do
https://www.netcentric.biz/de/what-we-do
**Steps to Reproduce:**

Go to the pages above and check the padding for the class="block embed embed-offerings embed-is-loaded" padding.
Expected Result:
Top padding is 32px L-XL 28.8px M 25.6px  S

Optional solution suggested by Jonatan:
Make the padding editable by the authors

Actual Result:

65%
Screenshot attached √
Code
Found in embed.js
const embedOfferings = (url) => {
const embedHTML = `

</ifram

e>
`;

Checked in Chrome after alignment with Sonald and Daphne. Looks good in small, medium and large viewports.

Checked again on:
https://www.netcentric.biz/what-we-do
https://www.netcentric.biz/de/what-we-do
Both look fine now in small, medium, large and x-large sizes.


orElseGet argument

Hi,
Optional.orElseGet currently takes another optional as argument, or at least an object with a get attribute. So to use it I have to write something like :
Optional.ofNullable('foo').orElseGet({get: ()=>'bar'})

which looks a bit awkward.
It would probably be better if orElseGet took directly a function as an argument to allow a similar syntax as Java:
Optional.ofNullable('foo').orElseGet(()=>'bar')

Ah... yes, you're totally right; it should take a supplier as an argument. Thanks!
Feel free to send a PR or I can push an update tomorrow.

Just released v1.1.1 with your suggestion. Let me know if you think of anything else.
Now, if a .get() method is not present, it checks to see if the provided argument is a function, and uses that instead.

That's perfect, thanks for the good work !


Add environment variables for agreements and documents buckets

The supplier app uses them but they were absent until now.

:+1:


[PE-D][Tester B] Command Summary Format in UG

The command summary table in the User Guide still has an issue since not showing the table as a whole

Labels: type.DocumentationBug severity.Low
original: Daphne789/ped#1

Already fixed


quarkus: 3.14.2 -> 3.14.4

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/quarkusio/quarkus/releases.
meta.description for quarkus is: Quarkus is a Kubernetes-native Java framework tailored for GraalVM and HotSpot, crafted from best-of-breed Java libraries and standards
meta.homepage for quarkus is: https://quarkus.io
meta.changelog for quarkus is: https://github.com/quarkusio/quarkus/releases/tag/3.14.4
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 3.14.4 with grep in /nix/store/ghyky0qw3317hsdakk4396m83rq1a2lg-quarkus-cli-3.14.4
found 3.14.4 in filename of file in /nix/store/ghyky0qw3317hsdakk4396m83rq1a2lg-quarkus-cli-3.14.4

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

quarkus

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/ghyky0qw3317hsdakk4396m83rq1a2lg-quarkus-cli-3.14.4 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A quarkus https://github.com/r-ryantm/nixpkgs/archive/33825c7ae708fe71571ee78ea7acd061be48cb8b.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/33825c7ae708fe71571ee78ea7acd061be48cb8b#quarkus

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/ghyky0qw3317hsdakk4396m83rq1a2lg-quarkus-cli-3.14.4
ls -la /nix/store/ghyky0qw3317hsdakk4396m83rq1a2lg-quarkus-cli-3.14.4/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

quarkus

Maintainer pings
cc @vinetos for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

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

@NixOS/nixpkgs-merge-bot merge


No reference error when the variable is not an argument

Consider the following code:
try {
    xxxx;
} catch(e) {
    print(e);
}

Will not print out the expected ReferenceError string. But if we change the code in a way that the xxxx variable is part of an argument list then the exception is correctly raised.
So using the following code:
try {
    print(xxxx);
} catch(e) {
    print(e);
}

Will print out the expected ReferenceError string.
Jerry version:
Checked revision: ac87616f0
Build: debug.linux

Works on master (f17f785b6ec0c71c2ef37e4e80a98aff1eff0963)


Generated python code has syntax errors while ts code works

:question: Guidance

Affected Languages

[ ] TypeScript or Javascript
[x] Python
[ ] Java
[ ] .NET (C#, F#, ...)
[ ] Go

General Information

JSII Version: <!-- Output of jsii --version -->
1.54.0
Platform:
Darwin C02Z2DYSLVCF 20.6.0 Darwin Kernel Version 20.6.0: Mon Aug 30 06:12:21 PDT 2021; root:xnu-7195.141.6~3/RELEASE_X86_64 x86_64

The Question

I meet some syntax errors in generated python code(TypeScript code just works correctly).  such as

class declaration code is behind the use of the class in  the generated init.py
circle dependency in  the generated init.py

Hey!
Would you be able to share a reproduction of your problem? This would help us diagnose and either fix it, or add compile-time detection of the issue (certain circular dependency patters simply cannot be implemented in Python).


SPO start page - I would like to remove the "News From Sites" section or move to bottom of page

[Enter feedback here]

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

ID: 0d22faa3-6e72-a382-cb45-fd2f98d735d2
Version Independent ID: 8e095a7f-d8af-4105-6c4a-effe3d3856bc
Content: Add featured links to the SharePoint start page
Content Source: SharePoint/SharePointOnline/change-links-list-on-sharepoint-home-page.md
Service: sharepoint-online
GitHub Login: @kaarins
Microsoft Alias: kaarins

@tierratom  Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

The start page cannot be changed. The only control you have is for the featured links.

Thank you, Trevor
Tom Greene
East End Computers

From: Trevor Seward<EMAIL_ADDRESS>Sent: Thursday, November 7, 2019 10:20:38 AM
To: MicrosoftDocs/OfficeDocs-SharePoint<EMAIL_ADDRESS>Cc: Tom Greene<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/OfficeDocs-SharePoint] SPO start page - I would like to remove the "News From Sites" section or move to bottom of page (#1502)
The start page cannot be changed. The only control you have is for the featured links.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/OfficeDocs-SharePoint/issues/1502?email_source=notifications&email_token=ALFPMPP2OKVGLKQ6YNOFF63QSQW4NA5CNFSM4JJYFQ5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDMX4HY#issuecomment-551124511, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALFPMPKISOVKZWVCSXLAIG3QSQW4NANCNFSM4JJYFQ5A.

@scanum this one can be closed. Thanks

@tierratom Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.


Ability to delete users

Is your feature request related to a problem? Please describe.
Support ability to delete users. This will help clean up the list of users who have left the organization.
Describe the solution you'd like
A Delete User API which will do a soft delete.
And GET users API will return only those users who are not soft-deleted.

The API should also remove any access given to the user and remove the user from all the groups the user is part of

@kushsharma has this been covered?

This is supported at /raystack.frontier.v1beta1.FrontierService/DeleteUser


ListItem not working with onPress.  onPress function only fires when icon is pressed

Hi all!
I've been trying to debug this issue for a couple days now and am starting to believe it's an issue w/ ListItem class.
Here is the return of my render function:
return (
      <View style={styles.container}>
        <List>
          {
            list.map((item, i) => (
                <ListItem
                  onPress={() => console.log("item clicked")}
                  key={i}
                  title={item.title}
                  leftIcon={{name: item.icon}}
                />
            ))
          }
        </List>
      </View>
    )
 };

Package.json:
{
  "private": true,
  "scripts": {
    "start": "node node_modules/react-native/local-cli/cli.js start",
    "test": "jest",
    "bundle-android": "react-native bundle --platform android --dev false --entry-file index.android.js --bundle-output android/app/src/main/assets/index.android.bundle --sourcemap-output android/app/src/main/assets/index.android.map --assets-dest android/app/src/main/res/"
  },
  "dependencies": {
    "firebase": "^3.5.0",
    "immutable": "^3.8.1",
    "react": "^15.4.1",
    "react-dom": "^15.4.1",
    "react-native": "0.40.0",
    "react-native-drawer": "^2.3.0",
    "react-native-elements": "^0.9.0",
    "react-native-keyboard-spacer": "^0.3.0",
    "react-native-swiper": "^1.5.4",
    "react-native-vector-icons": "^3.0.0",
    "react-redux": "^4.4.5",
    "redux": "^3.6.0",
    "redux-immutable": "^3.0.8",
    "redux-logger": "^2.7.4",
    "redux-thunk": "^2.1.0",
    "underscore": "^1.8.3"
  },
  "jest": {
    "preset": "jest-react-native"
  },
  "devDependencies": {
    "babel-jest": "16.0.0",
    "babel-preset-react-native": "1.9.0",
    "jest": "16.0.1",
    "jest-react-native": "16.0.0",
    "react-test-renderer": "15.3.2"
  }
}

The onPress function only fires whenever I press on the icon of the item, I need it work when a user presses on the entire list item.
Let me know if I can help give any more details.

@sunnypatel Unable to reproduce this with the given code. Also I looked at the source code and the onPress is wrapped around the entire ListItem not just the Icon. So I am not sure why in your case, it would be different.
Please make sure you have the latest version of react-native-elements. Going to leave this issue open until you confirm that it works for you.

The issue was I was using react-native-drawer instead of SideMenu and it wouldn't release the touch event I believe.
I switched to SideMenu and it all works.  Thanks for looking into it!

Ok great, glad you figured it out!


[Feature request] Being able to order the visible tabs according to your wishes

The admin can define the visible tabs :

but he can't define the order

Best regards

Next release

Released.

👍
Thanks !


Add more detail to Monitor Query stats & viz README sections

Addresses https://github.com/Azure/azure-sdk-for-net/issues/27286

Looks good to me


Populate metric namespace with meter/instrumentation scope name

From: https://github.com/microsoft/Telemetry-Collection-Spec/pull/122

API change check
API changes are not detected in this pull request.


[Storage - Blob] BlobServiceClient ListContainers including system containers failing in nightly runs

Storage - Blob nightly test runs are failing with:

Error message:
System containers should be included in listing result
Stack trace:
AssertionError [ERR_ASSERTION]: System containers should be included in listing result
at Context. (/Users/runner/work/1/s/sdk/storage/storage-blob/test/blobserviceclient.spec.ts:77:12)
at runMicrotasks ()
at processTicksAndRejections (node:internal/process/task_queues:96:5)

For more details check here:

https://dev.azure.com/azure-sdk/internal/_build/results?buildId=1226354&view=results

Thanks, I've fixed this issue, the test against later commit has been passed here: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=1226557&view=results


FlutterFragmentActivity get Intent Action with kotlin

Hello guys!
i'm developing an app which needs to access intent.action and i'm using local_auth plugin which needs FlutterFragmentActivity. how can i access the intent.action within FlutterFragmentActivity?
i searched everywhere there is no getactivity in kotlin

Hi @Sepehr13
This platform is not met for assistance on personal code.
Please see https://flutter.dev/community for resources for asking questions like this,
you may also get some help if you post it on Stack Overflow.
Closing, as this isn't an issue with Flutter itself,
if you disagree please write in the comments and I will reopen it
Thank you


[Task] Enforce intra-document fragment uniqueness

Description
We should enforce uniqueness of fragments in DID documents, since multiple identical fragments in one document could lead to errors or at least unexpected or undefined behavior, during credential validation and other operations.
Motivation
Prevent user errors and keep documents in a consistent state.
Sub-tasks

Ensure no two methods in the document have the same identifier []
Ensure services and methods have different identifiers[]
Ensure document id, controller ids and also known as URIs are unique across the document

Change checklist
Add an x to the boxes that are relevant to your changes, and delete any items that are not.

[ ] The feature or fix is implemented in Rust and across all bindings whereas possible.
[ ] The feature or fix has sufficient testing coverage
[ ] All tests and examples build and run locally as expected
[ ] Every piece of code has been document according to the documentation guidelines.
[ ] If conceptual documentation (mdbook) and examples highlighting the feature exist, they are properly updated.
[ ] If the feature is not currently documented, a documentation task Issue has been opened to address this.

I have updated the issue with a few sub-tasks. Note that we cannot reliably ensure that the custom properties users can pass in our CoreDocument don't break fragment/identifier uniqueness because we don't have enough context. We can however consider embracing JSON-LD support in the future and provide an additional method to check that the document can be serialized to valid JSON-LD. That method cannot be called by Serde though as it will likely need to be asynchronous.


iss1 - add bio

Hello,
I appreciate it if you could review my .md file.
Thanks,
Arian

Hello! That's great, you're on track :)
One small things: could you create a repo with the <last_name>_project convention, as explained here? Much easier for us to keep track of who has completed what :)
And for the rest, you just need to complete your small bio ( details about your academic background, affilitation, interests, etc).

Fantastic, you're done!


New Theme-Slack

Created a New Theme - Slack
This will look like as :

Sorry, I forget to create the "slack" theme in Themes.md before. So I created it in the second commit. Also it will look like :

Hello,
Thanks for adding a new theme to our list! 😊


The specification should be Content Information Type agnostic

As it is now - the Content Information Type specifications for different Content Information Types are within the specification.
Find placeholders and responsible people for Content Information Type specifications

Content Information Type Specifcations (CITS) information has been removed. People responsible for CITS must look at older versions of the DIP specification if there is something of value to their CITS.


chore: bump version to v0.5.1+dev

Codecov Report

Merging #93 into master will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #93      +/-   ##
==========================================
+ Coverage   66.02%   66.03%   +0.01%
==========================================
  Files          22       22
  Lines        2540     2538       -2
==========================================
- Hits         1677     1676       -1
+ Misses        863      862       -1

Flag
Coverage Δ

#unittests
66.03% <100.00%> (+0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pdftotree/_version.py
100.00% <100.00%> (ø)

pdftotree/utils/pdf/vector_utils.py
66.34% <0.00%> (-0.33%)
:arrow_down:

pdftotree/utils/pdf/render.py
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


Translations in the database

Well, I decided to stick to this project and contribute to its development.
I am now upgrading from Laravel 4.2. I have a large amount of translations in the database, made with
https://github.com/Waavi/translation
In my opinion the necessary feature is MIXED solution (database and files), which I use very often.
What are your plans in regard of translations stored in DB?
Do you consider using https://github.com/dimsav/laravel-translatable?

Thank you to contribute to this project.
It's a big work to changes all french items in code !
I did not ask me about multilingual model instances.  I'll have a look to this package. But packages have some issues for now to publish config on L5. I want to wait until L5 package system is done.

Now when L5 is finally released, can we create a solution described in my initial post?
I means sth to replace Waavi functionality.


Computgraph

Codecov Report
Attention: 472 lines in your changes are missing coverage. Please review.

Comparison is base (0686d76) 57.46% compared to head (27bdeee) 67.02%.
Report is 18 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #160      +/-   ##
==========================================
+ Coverage   57.46%   67.02%   +9.56%
==========================================
  Files          56       64       +8
  Lines        3390     4601    +1211
==========================================
+ Hits         1948     3084    +1136
- Misses       1442     1517      +75

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


Hero image is 4.2MB and therefore makes first load slow

Is there an existing issue for this?

[x] I have searched the existing issues

URL
https://dotnet.microsoft.com/en-us/
Browser
Edge 130.0.2849.80
Description
The new hero image is 4.2MB and takes ~2.5 seconds on a good connection to download it from the server.

This gives no good first impression for .NET.
This should be much smaller.
Additional context
No response

I just checked again and the image is now replaced.
But I took a look at the .NET Conf page, and there is a svg that is even bigger: 5.6MB!

@mairaw Yes, I already discovered this as of my last comment.
Did you read my last comment about https://dotnetconf.com/? Or is this repo not the right place to report issues with https://dotnetconf.com/ also? Because there, the issue that I additionally mentioned persists.

I failed to see the dotnetconf comment. It's not this repo but I'm not sure if they have a public location for feedback. I'll keep this issue open and I'll contact the team directly.

Here is a more optimized image under 1mb. I hope this helps.

Thank you for reporting the issue. The image size on dotnetconf.net has been reduced.


Cannot create dashboard

When navigating to the Dashboard's there is currently only the option to create a folder or a view, no option for new dashboard.

@nico-oz is this closed by https://github.com/MemberJunction/MJ/pull/553 ?


test, rootless: enforce cgroupfs manager

Signed-off-by: Giuseppe Scrivano<EMAIL_ADDRESS>

/cc @baude

tested and verified to work

LGTM

merging as I need this patch...

@rh-atomic-bot r+


MESA-LOADER: failed to open $driver

On latest nixos-unstable (a45f68c) and master (b0edcfd09bbf9e8571704cf5df8d68956c79af44) sway fails with the following errors:
$ sway -d
2020-07-31 12:42:07 - [sway/main.c:152] Linux AMD-Workstation 5.4.50 #1-NixOS SMP Tue Jun 30 20:21:55 UTC 2020 x86_64 GNU/Linux
2020-07-31 12:42:07 - [sway/main.c:168] Contents of /etc/os-release:
2020-07-31 12:42:07 - [sway/main.c:152] NAME=NixOS
2020-07-31 12:42:07 - [sway/main.c:152] ID=nixos
2020-07-31 12:42:07 - [sway/main.c:152] VERSION="20.09.20200731.b0edcfd (Nightingale)"
2020-07-31 12:42:07 - [sway/main.c:152] VERSION_CODENAME=nightingale
2020-07-31 12:42:07 - [sway/main.c:152] VERSION_ID="20.09.20200731.b0edcfd"
2020-07-31 12:42:07 - [sway/main.c:152] PRETTY_NAME="NixOS 20.09 (Nightingale)"
2020-07-31 12:42:07 - [sway/main.c:152] LOGO="nix-snowflake"
2020-07-31 12:42:07 - [sway/main.c:152] HOME_URL="https://nixos.org/"
2020-07-31 12:42:07 - [sway/main.c:152] DOCUMENTATION_URL="https://nixos.org/learn.html"
2020-07-31 12:42:07 - [sway/main.c:152] SUPPORT_URL="https://nixos.org/community.html"
2020-07-31 12:42:07 - [sway/main.c:152] BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
2020-07-31 12:42:07 - [sway/main.c:140] LD_LIBRARY_PATH=(null)
2020-07-31 12:42:07 - [sway/main.c:140] LD_PRELOAD=(null)
2020-07-31 12:42:07 - [sway/main.c:140] PATH=/nix/store/jd3pdmjdz8kjisb5ryw6kdgfg4i7j5gr-swaybg-1.0/bin:/nix/store/jd3pdmjdz8kjisb5ryw6kdgfg4i7j5gr-swaybg-1.0/bin:/run/wrappers/bin:/home/balsoft/.nix-profile/bin:/etc/profiles/per-user/balsoft/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:/home/balsoft/.zsh/plugins/zsh-nix-shell:/home/balsoft/.zsh/plugins/zsh-autosuggestions:/home/balsoft/.zsh/plugins/you-should-use
2020-07-31 12:42:07 - [sway/main.c:140] SWAYSOCK=/run/user/1000/sway-ipc.1000.23481.sock
2020-07-31 12:42:07 - [sway/server.c:40] Preparing Wayland server initialization
2020-07-31 12:42:07 - [backend/wayland/backend.c:255] Creating wayland backend
2020-07-31 12:42:07 - [backend/wayland/backend.c:100] Remote wayland global: wl_shm v1
2020-07-31 12:42:07 - [backend/wayland/backend.c:100] Remote wayland global: zwp_linux_dmabuf_v1 v3
2020-07-31 12:42:07 - [backend/wayland/backend.c:100] Remote wayland global: wl_drm v2
2020-07-31 12:42:07 - [backend/wayland/backend.c:100] Remote wayland global: wl_compositor v4
2020-07-31 12:42:07 - [backend/wayland/backend.c:100] Remote wayland global: wl_subcompositor v1
2020-07-31 12:42:07 - [backend/wayland/backend.c:100] Remote wayland global: wl_data_device_manager v3
2020-07-31 12:42:07 - [backend/wayland/backend.c:100] Remote wayland global: zwlr_gamma_control_manager_v1 v1
2020-07-31 12:42:07 - [backend/wayland/backend.c:100] Remote wayland global: gtk_primary_selection_device_manager v1
2020-07-31 12:42:07 - [backend/wayland/backend.c:100] Remote wayland global: zxdg_output_manager_v1 v3
2020-07-31 12:42:07 - [backend/wayland/backend.c:100] Remote wayland global: org_kde_kwin_idle v1
2020-07-31 12:42:07 - [backend/wayland/backend.c:100] Remote wayland global: zwp_idle_inhibit_manager_v1 v1
2020-07-31 12:42:07 - [backend/wayland/backend.c:100] Remote wayland global: zwlr_layer_shell_v1 v2
2020-07-31 12:42:07 - [backend/wayland/backend.c:100] Remote wayland global: xdg_wm_base v2
2020-07-31 12:42:07 - [backend/wayland/backend.c:100] Remote wayland global: zwp_tablet_manager_v2 v1
2020-07-31 12:42:07 - [backend/wayland/backend.c:100] Remote wayland global: org_kde_kwin_server_decoration_manager v1
2020-07-31 12:42:07 - [backend/wayland/backend.c:100] Remote wayland global: zxdg_decoration_manager_v1 v1
2020-07-31 12:42:07 - [backend/wayland/backend.c:100] Remote wayland global: zwp_relative_pointer_manager_v1 v1
2020-07-31 12:42:07 - [backend/wayland/backend.c:100] Remote wayland global: zwp_pointer_constraints_v1 v1
2020-07-31 12:42:07 - [backend/wayland/backend.c:100] Remote wayland global: wp_presentation v1
2020-07-31 12:42:07 - [backend/wayland/backend.c:100] Remote wayland global: zwlr_output_manager_v1 v1
2020-07-31 12:42:07 - [backend/wayland/backend.c:100] Remote wayland global: zwlr_export_dmabuf_manager_v1 v1
2020-07-31 12:42:07 - [backend/wayland/backend.c:100] Remote wayland global: zwlr_screencopy_manager_v1 v2
2020-07-31 12:42:07 - [backend/wayland/backend.c:100] Remote wayland global: zwlr_data_control_manager_v1 v2
2020-07-31 12:42:07 - [backend/wayland/backend.c:100] Remote wayland global: zwp_primary_selection_device_manager_v1 v1
2020-07-31 12:42:07 - [backend/wayland/backend.c:100] Remote wayland global: zwp_virtual_keyboard_manager_v1 v1
2020-07-31 12:42:07 - [backend/wayland/backend.c:100] Remote wayland global: zwlr_virtual_pointer_manager_v1 v1
2020-07-31 12:42:07 - [backend/wayland/backend.c:100] Remote wayland global: zwlr_input_inhibit_manager_v1 v1
2020-07-31 12:42:07 - [backend/wayland/backend.c:100] Remote wayland global: wl_seat v7
2020-07-31 12:42:07 - [backend/wayland/backend.c:100] Remote wayland global: zwp_pointer_gestures_v1 v1
2020-07-31 12:42:07 - [backend/wayland/backend.c:100] Remote wayland global: wl_output v3
2020-07-31 12:42:07 - [backend/wayland/backend.c:100] Remote wayland global: wl_output v3
2020-07-31 12:42:07 - [backend/wayland/wl_seat.c:569] seat 0x63bb80 offered pointer
2020-07-31 12:42:07 - [backend/wayland/wl_seat.c:582] seat 0x63bb80 offered keyboard
libEGL warning: MESA-LOADER: failed to open radeonsi (search paths /run/opengl-driver/lib/dri)

2020-07-31 12:42:07 - [EGL] command: eglInitialize, error: 0x3003, message: "DRI2: failed to load driver"
libEGL warning: MESA-LOADER: failed to open swrast (search paths /run/opengl-driver/lib/dri)

libEGL warning: MESA-LOADER: failed to open swrast (search paths /run/opengl-driver/lib/dri)

2020-07-31 12:42:07 - [EGL] command: eglInitialize, error: 0x3001, message: "eglInitialize"
2020-07-31 12:42:07 - [render/egl.c:184] Failed to initialize EGL
2020-07-31 12:42:07 - [EGL] command: eglMakeCurrent, error: 0x3008, message: "Invalid display (nil)"
2020-07-31 12:42:07 - [render/wlr_renderer.c:221] Could not initialize EGL
2020-07-31 12:42:07 - [backend/wayland/backend.c:324] Could not create renderer
2020-07-31 12:42:07 - [backend/noop/backend.c:51] Creating noop backend
2020-07-31 12:42:07 - [sway/server.c:47] Unable to create backend

If I don't restart sway, glxgears do actually work, as do other opengl apps like blender.
To Reproduce
Steps to reproduce the behavior:

Update to b0edcfd
Run sway either as a client of a wayland compositor or as a standalone compositor
It doesn't start and prints out the log similar to the one above.

Expected Behaviour
Sway starts and works correctly
Additional context
hwinfo section for the GPU:
39: PCI 700.0: 0300 VGA compatible controller (VGA)
  [Created at pci.386]
  Unique ID: aK5u.iUpPjqlt8XB
  Parent ID: w+J7.0mdkldd4FZB
  SysFS ID: /devices/pci0000:00/0000:00:03.1/0000:07:00.0
  SysFS BusID: 0000:07:00.0
  Hardware Class: graphics card
  Model: "ATI Baffin [Radeon RX 460/560D / Pro 450/455/460/555/555X/560/560X]"
  Vendor: pci 0x1002 "ATI Technologies Inc"
  Device: pci 0x67ef "Baffin [Radeon RX 460/560D / Pro 450/455/460/555/555X/560/560X]"
  SubVendor: pci 0x148c "Tul Corporation / PowerColor"
  SubDevice: pci 0x2385
  Revision: 0xe5
  Driver: "amdgpu"
  Driver Modules: "amdgpu"
  Memory Range: 0xe0000000-0xefffffff (ro,non-prefetchable)
  Memory Range: 0xf0000000-0xf01fffff (ro,non-prefetchable)
  I/O Ports: 0xe000-0xe0ff (rw)
  Memory Range: 0xfce00000-0xfce3ffff (rw,non-prefetchable)
  Memory Range: 0x000c0000-0x000dffff (rw,non-prefetchable,disabled)
  IRQ: 100 (1743487 events)
  Module Alias: "pci:v00001002d000067EFsv0000148Csd00002385bc03sc00i00"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #24 (PCI bridge)

Notify maintainers
@primeos @Synthetica9 @Ma27
Metadata

system: "x86_64-linux"
host os: Linux 5.4.50, NixOS, 20.09.20200731.b0edcfd (Nightingale)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.4pre20200701_6ff9aa8
channels(root): ""
channels(balsoft): ""
nixpkgs: /etc/nixpkgs

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute: sway
# a list of nixos modules affected by the problem
module: programs.sway

Weston does start, so the problem is specifically with sway.

Just noticed that it was discussed in https://github.com/NixOS/nixpkgs/pull/76787 and https://github.com/swaywm/sway/issues/4898 . Interestingly, a commit that works for me (bdac777becdbb8780c35be4f552c9d4518fe0bdb) was later than this update, so probably something else broke in the meantime.

Interestingly, pinning any combination of mesa_drivers and sway from bdac777becdbb8780c35be4f552c9d4518fe0bdb doesn't fix the error.

Fixed by pinning mesa_drivers to the version from bdac777.

@balsoft I have the same problem. How did you pin your mesa_drivers? Could you share a snippet?

I'm using flakes, so probably not relevant to your config, but:

Add a separate nixpkgs version: https://code.balsoft.ru/balsoft/nixos-config/src/branch/master/flake.nix#L6
Override mesa_drivers and sway so that both packages are taken from that old version: https://code.balsoft.ru/balsoft/nixos-config/src/branch/master/modules/packages.nix#L24
Override hardware.opengl.package because NixOS of a module system quirk (AFAIU the option evaluation happens before overlay application, which results in default package being different from the one available in pkgs): https://code.balsoft.ru/balsoft/nixos-config/src/branch/master/modules/hardware.nix#L15

If you want something a bit more conventional, try
  nixpkgs.overlays = [
    (self: super:
      let
        nixpkgs-mesa = builtins.fetchTarball
          "https://github.com/nixos/nixpkgs/archive/bdac777becdbb8780c35be4f552c9d4518fe0bdb.tar.gz";
      in { mesa_drivers = (import nixpkgs-mesa { }).mesa_drivers; })
  ];

Most likely a driver specific Mesa issue as you've already figured it out. I probably cannot reproduce this on my systems (I'm currently running Sway 1.5 but still with Mesa 20.0.2) so I guess you're unfortunately on your own. However, this should hopefully be fixed soon im Mesa anyway.
bdac777becdbb8780c35be4f552c9d4518fe0bdb still provides Mesa 20.0.8 so this probably broke with Mesa 20.1.
a45f68ccac476dc37ddf294530538f2f2cce5a92 and b0edcfd09bbf9e8571704cf5df8d68956c79af44 are still on Mesa 20.1.3 while we already have 2.1.4 in staging (#93708), but it doesn't seem like 20.1.4 contains related fixes. You could also try removing ~/.cache/mesa_shader_cache/ as that recently also caused some issues (though only with Vulkan so far - see #93946).

@primeos thanks for the heads-up!

I am seeing the same issue with qemu when trying to start Redox OS:
SDL_VIDEO_X11_DGAMOUSE=0 qemu-system-x86_64 -display sdl -d cpu_reset -d guest_errors -smp 4 -m 2048 -chardev stdio,id=debug,signal=off,mux=on,"" -serial chardev:debug -mon chardev=debug -machine q35 -device ich9-intel-hda -device hda-d\
        -drive file=build/harddrive.bin,format=raw \
        -drive file=build/extra.bin,format=raw
libGL error: MESA-LOADER: failed to open radeonsi (search paths /run/opengl-driver/lib/dri)
libGL error: failed to load driver: radeonsi
libGL error: MESA-LOADER: failed to open radeonsi (search paths /run/opengl-driver/lib/dri)
libGL error: failed to load driver: radeonsi
libGL error: MESA-LOADER: failed to open swrast (search paths /run/opengl-driver/lib/dri)
libGL error: failed to load driver: swrast
X Error of failed request:  GLXBadContext
  Major opcode of failed request:  152 (GLX)
  Minor opcode of failed request:  6 (X_GLXIsDirect)
  Serial number of failed request:  111
  Current serial number in output stream:  110
make: *** [mk/qemu.mk:61: qemu] Error 1

(Obviously qemu without graphics still works)

Yeah, seems like some strange things are going on here. E.g. with Mesa 2.0.2 I cannot run glxgears with iris (i965 works):
$ glxgears
libGL error: MESA-LOADER: failed to open iris (search paths /run/opengl-driver/lib/dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open swrast (search paths /run/opengl-driver/lib/dri)
libGL error: failed to load driver: swrast
X Error of failed request:  GLXBadContext
  Major opcode of failed request:  150 (GLX)
  Minor opcode of failed request:  6 (X_GLXIsDirect)
  Serial number of failed request:  38
  Current serial number in output stream:  37

With Mesa 2.1.3 glxgears works again with iris but now mpv crashes with a similar error (forgot to save a copy).
I just ran it again with LIBGL_DEBUG=verbose (https://docs.mesa3d.org/envvars.html) which is more useful:
$ LIBGL_DEBUG=verbose glxgears
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/michael/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/michael/.drirc: No such file or directory.
libGL: pci id for fd 4: XXXX:XXXX, driver iris
libGL: MESA-LOADER: failed to open /run/opengl-driver/lib/dri/iris_dri.so: /nix/store/jx19wa4xlh9n4324xdl9rjnykd19mmq3-glibc-2.30/lib/librt.so.1: undefined symbol: __clock_nanosleep, version GLIBC_PRIVATE
libGL error: MESA-LOADER: failed to open iris (search paths /run/opengl-driver/lib/dri)
libGL error: failed to load driver: iris
libGL: MESA-LOADER: failed to open /run/opengl-driver/lib/dri/swrast_dri.so: /nix/store/jx19wa4xlh9n4324xdl9rjnykd19mmq3-glibc-2.30/lib/librt.so.1: undefined symbol: __clock_nanosleep, version GLIBC_PRIVATE
libGL error: MESA-LOADER: failed to open swrast (search paths /run/opengl-driver/lib/dri)
libGL error: failed to load driver: swrast
X Error of failed request:  GLXBadContext
  Major opcode of failed request:  150 (GLX)
  Minor opcode of failed request:  6 (X_GLXIsDirect)
  Serial number of failed request:  38
  Current serial number in output stream:  37

But I didn't have time to look into it so far.
(The drirc warning/error should be unrelated but is also not ideal. If someone want's to fix that feel free to reuse #89657 if that helps.)

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/opengl-unusable-on-my-machine/8192/3

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/nixos-rebuild-fails-because-bash-is-broken-dependency-issue-in-libpthread-so-0-undefined-symbol-nanosleep-nocancel/8494/3

Yeah with unstable I am currently unable to start any 32bit games. 64bit still works since I have amdvlk installed. Without amdvlk no opengl or vulkan applications are able to start

I forgot to close this issue. I do now believe that these are actually only temporary breakages due to the combination of breaking changes in the last glibc update and impurities introduced via /run/opengl-driver/.
Some other relevant notes:

https://discourse.nixos.org/t/opengl-unusable-on-my-machine/8192/3?u=primeos
https://discourse.nixos.org/t/nixos-rebuild-fails-because-bash-is-broken-dependency-issue-in-libpthread-so-0-undefined-symbol-nanosleep-nocancel/8494/3?u=primeos

Feel free to comment/reopen (or open a new issue) if you get different errors.

Hi @primeos could you maybe elaborate what you mean by "temporary breakage"? Does that mean it will solve itself in one of the next releases? How could I get a working sway system on unstable until then?
Thanks!

@Algram did you check for this? It normally shouldn't happen and only be caused by using overrides, Nixpkgs pinning, system+user packages, overlays, flakes, etc.
Or in other words: Try to use /run/opengl-driver and sway from the same Nixpkgs revision/commit.

@primeos Thats what I am doing (At least I think so). I am using now overlays, flakes, pinning etc. This is the opengl config:

This is the sway config (using the home manager module, but with the package from nixpkgs):

And this is the channel I am using:

That should work. You need to obtain some useful output then to track this down. E.g. with LIBGL_DEBUG=verbose like in https://github.com/NixOS/nixpkgs/issues/94315#issuecomment-667942575 (but use export LIBGL_DEBUG=verbose instead).

@primeos you where right! My system had an old sway version running in parallel. I don't even know how that could happen, but after a nix-env -e sway and then another rebuild it is working now!

I'm not at all new to nix, had this issue a while back, fixed it, and a month later, it's back. This needs more focus it obviously isn't something intuitive.

I am suffering from a very similar problem on intel where running glxinfo just yields:
name of display: :0
Error: couldn't find RGB GLX visual or fbconfig

What brought me here is that this issue was linked in this thread https://discourse.nixos.org/t/opengl-unusable-on-my-machine/8192/4?u=busti
The linked comment contains a command which makes glxinfo work on my machine:
nix run -f channel:nixos-unstable glxinfo

So my assumption is that I am having the same problem as the one described in this issue.
Problem is, the fix mentioned above does not work anymore. Is there any new workaround?


Support for Kafka offsets in addition to Zookeeper offsets

Hi there. I couldn't find something in documentation, and I was wondering if the client supports Kafka offsets in addition to Zookeeper offsets.
Ideally I would like to enable double commitments to both types until all the topics are migrated, then completely switch to kafka offsets.
Thank you in advance for your time

This client does not support ZK based offsets and it is highly unlikely that it ever will, since it is a deprecated legacy feature.
You could implement it yourself using a zookeeper library though.

Thanks for the quick reply. That's good news, I thought I had a different problem.
I'm using the advanced consumer and I commit on every message. The problem is that after a topic has been consumed for some time using this client, people connecting with a different client (using the same consumer group) receive an error indicating that offsets are not available at group coordinator.
The confluent client works as expected, and the other consumer also works fine for other topics we haven't consumed using confluent.
Any ideas or suggestions would be highly appreciated

If you consume messages at high rate, commiting after every message is killer-perf, you should rather commit every x messages / t secondes. If you need exactly once, you will need to make this a transactional way through other mechanism, you will get at least once with this
But the error looks more like a broker configuration issue, did you check your logs on broker and topic configuration?

Thanks for the tips treziac. I don't have direct access to the broker/topic configuration but I think you are right, that's where the problem should be.


Bump blpapi: 0.1.14 => 1.0.0

Addresses #14

For consistency with the other version bumps git commit summaries, do you mind renaming to: bump blpapi: 0.1.15 => 1.0.0?  Thanks!

lgtm and is straight forward.  Thanks!


empty columns trigger duplicate column names error

Bug Report

Information
Description

Version
9.19.0

PHP version
8.1.31

OS Platform
CloudLinux v7.9.0

Summary
When importing a CSV file that has empty columns, a "duplicate column names" error is thrown when calling getHeader(). According to the documentation, extra fields should be truncated. I've examined the raw text file and the extra columns are "clean" -- there are no characters between the commas delineating columns. I don't see anything in the documentation suggesting additional steps required to auto-truncate these fields. Ref: https://csv.thephpleague.com/9.0/reader/
Standalone code, or other way to reproduce the problem
$csv = Reader::createFromPath($file['name'], 'r');
$csv->setHeaderOffset(0);
$csv->setEscape('');
$header = $csv->getHeader();
$records = $csv->getRecords();

Expected result
Empty columns ignored/truncated and getHeader() returns column names without error.
Actual result
Error thrown.
Checks before submitting

[x] Be sure that there isn't already an issue about this. See: Issues list
[x] Be sure that there isn't already a pull request about this. See: Pull requests
[x] I have added every step to reproduce the bug.
[x] If possible I added relevant code examples.
[x] This issue is about 1 bug and nothing more.
[x] The issue has a descriptive title. For example:  "JSON rendering failed on Windows for filenames with space".

@lcdservices thanks for using the package. I believe you misread the documentation or perhaps the documentation is not clear enough.
when using the setHeaderOffset the package will use the selected record as header.
Upon selection the package will examine the content of the selected record.
In you case you seem to have multiple empty columns which means that the record you selected contains multiple fields with empty value which result in the error you are seeing.
To avoid that error you can either stop using ay header at all OR when using a retrieving method like getRecords or getRecordsAsObject fill in the $heaader parameters which will superseed the header record.
What you are describing is expected behaviour.


Resubscribing doesn't properly load data

Hey @djhi - your project is the best thing that happened to me in understanding how Redux works with Meteor in a clean way.
However, I've changed some things in the way you handle subscriptions in the MeteorSubscription middleware.

I think there is a bug at line 4 where handles and computations are defined as arrays [] while they should be objects {}.

Stopping subscriptions when they already exist doesn't work for me: for example, when I logout from my app, and then re-login, the new subscription never gets ready() and I'm stuck at loading (possibly because of the way I handle auth, I don't know). My way of making it work at the moment is to skip the new subscription, but I guess I might run into issues.

Good catch, thx for reporting this. I'll take a look asap


Not all problems are reported

I have a file with two problems. On vscode with the extension installed, only one is reported. When I use the CLI (downloaded by the extension) I see the two problems.
On PHPStorm I see the two problems too.

Could you provide console output from sonarlint-cli with additional `--reportType console" params?

$ /home/luis/.vscode/extensions/silverbulleters.sonarqube-inject-1.1.5/tools/sonarlint-cli/bin/sonarlint --src "app/module/expedicao/service/business/ExpedirCargaBO.php" --reportType console
INFO: Java 1.8.0_121 Oracle Corporation (64-bit)
INFO: Linux 4.4.0-21-generic amd64
INFO: Connected mode (wms-mv.com)
INFO: Using storage for server 'sbx' (last update 26/04/17 08:44)
INFO: Index files
INFO: 1 files indexed
INFO: 1 source files to be analyzed
INFO: 1/1 source files have been analyzed
INFO: No PHPUnit test report provided (see 'sonar.php.tests.reportPath' property)
INFO: No PHPUnit unit test coverage report provided (see 'sonar.php.coverage.reportPath' property)
INFO: No PHPUnit integration test coverage report provided (see 'sonar.php.coverage.itReportPath' property)
INFO: No PHPUnit overall coverage report provided (see 'sonar.php.coverage.overallReportPath' property)
INFO: {/home/luis/projects/wms/app/module/expedicao/service/business/ExpedirCargaBO.php} {MINOR} {null:null - null:null} {php:S113} {Add a new line at the end of this file.}
{/home/luis/projects/wms/app/module/expedicao/service/business/ExpedirCargaBO.php} {MAJOR} {104:64 - 104:71} {php:S881} {Extract this increment or decrement operator into a dedicated statement.}

-------------  SonarLint Report  -------------

          2 issues (1 file analyzed)

          1 major
          1 minor

-------------------------------------------

INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 2.825s
INFO: Final Memory: 7M/173M
INFO: ------------------------------------------------------------------------

Looks like this regexp can't handle null in string line and coloumn. Thanks for bug report, i'll try to fix this soon!

Check the 1.2.0 release, please!

Is working well now. Thanks :)


Support for Android/ios

I am currently using Tailscale and it has been great. I was planning to move to Nebula since its opensource, but I came across this project and found it exactly like Tailscale but open source. My concern is the android/ios app for VPN Connectivity.
The existing wire-guard VPN app can be used to establish network connectivity with wiretrustee network?
Thanks

it would be great if you could do NAT traversal between android devices. At the moment there is no open-source solution, which uses wireguard (considering netmaker and innernet). Really looking forward to it.

@danielkrajnik thank you for the feedback :)
Mobile device definitely in our plans!

Thank you, in the meantime if you heard about any workaround how to accomplish this on Android that would be much appreciated

@danielkrajnik With a bit of configuration, regular Wireguard can do this I believe...

Unfortunately, the existing wire-guard VPN app can't be used with the Wiretrustee network.

So wireguard-go won't work? Is it an issue with Go and we need to pivot to something like boringtun?

Unfortunately, the existing wire-guard VPN app can't be used with the Wiretrustee network.

So wireguard-go won't work? Is it an issue with Go and we need to pivot to something like boringtun?

The stock WireGuard android app won't work with NetBird. But there will be one from NetBird :)

Are you planning to use a go client for android? I can tell you that the tailscale go client is draining a lot of battery and is not usable for always on. The stock wireguard app on the other hand is great.

Hey @a1ad!
We plan to support both Android and iOS. It will be a custom app written by us. We will try to make it as efficient as possible to the stock WireGuard app :)

When you add the app, try to make it "connect on demand" based on DNS suffix (I haven't tested NetBird yet, but assume it runs an internal dns server, for addressing).
Also, see e.g. ZeroTier (they have connect on demand in their iOS app).
https://github.com/zerotier/ZeroTierOne/issues/856

iOS / Android apps would be great for mobile dev. Easy way of connecting device with Mac during app development, without having to listen on public IPs (security risk).

We are already experimenting with go-mobile to make a universal app for Android and iOs.
Definitely mobile apps is our priority. We will deliver it either in December or early Q1 2023

Will the Android client also work for Android TV?

It is January. Close to release?

An Android-App ist the only missing thing in our use-case.

An Android-App ist the only missing thing in our use-case.

Same here!

Hey guys love the product!
Excited for some mobile apps to come to make this a replacement solution for my currently more manual wireguard network solution.
This just makes things so much easier <3

Looking forward here for iOS app as well.

What's the current state of Android support?

@renne in progress!
We just merged #735.
The UI is coming soon

@braginini @mlsmaycon
How about long waited iOS app..?

Form for testing is closed, is there anotger way into testing Android App?

Will the Android client also work for Android TV?

For those wondering, short answer is yes but it needs some more work: see https://github.com/netbirdio/netbird/issues/889

Looking forward also to iOS app..

The iOS app is under development and should be released in Q3

@mlsmaycon
Any news on iOS version?

The iOS app is under development and should be released in Q3

Already Q4 and no info about iOS version :(
Once there is a working iOS version, I'll probably switch immediately from zerotier to netbird.io (don't get me wrong, zerotier works perfectly, I just like netbird more in common way, except for lack of mobile app for iOS)

Hello folks, we progressed a lot with the development and now we are going through  Apple's store process to open the app for testing by external people.
I will update you all next week with the progress.

Hello folks, you can sign up for the iOS preview here: https://forms.gle/HVAdMKt2vSdCiTzY9
We will send you test flight invites when the first version is ready for testing.

Any news on this? I see the form is no longer open.

Hello folks, we published the iOS app!!!
You can find it here:
https://apps.apple.com/us/app/netbird-p2p-vpn/id6469329339
We are looking into, publishing to China's store but it might be a problem as it requires more paperwork. So it will be great to hear from the community there, if there is an alternative distribution channel.

Any plans on updating the android app to support android tv and qrcode url login method?

Any plans on updating the android app to support android tv and qrcode url login method?

There is already an issue to track progress on that part: https://github.com/netbirdio/netbird/issues/889

大神  是否能提供netbird sdk支持安卓项目调用？

Is there an SDK to support Android project calls

@13812585862, What do you mean by Android project calls? The android's source code is available at https://github.com/netbirdio/android-client

@13812585862, What do you mean by Android project calls? The android's source code is available at https://github.com/netbirdio/android-client

I made an Android project, hoping to enable the netbird function by calling the netbird api. Currently, I only see Android downloading the netbied client, but this method is not integrated into my project.

@pappz, can you share a bit about how @13812585862 can achieve this?

@pappz, can you share a bit about how @13812585862 can achieve this?

Hello, I am not using React Native for development. I am using Android native and iOS client, but I am not sure if there are any plans to develop Android native. I have tried to port React Native to Android native, but it has not been successful so far


Using ZoneContextManager and FetchInstrumentation in browser causes lots of leaked Promises

What version of OpenTelemetry are you using?
"@opentelemetry/api": "^1.1.0",
"@opentelemetry/context-zone": "^1.3.0",
"@opentelemetry/core": "^1.3.0",
"@opentelemetry/exporter-trace-otlp-http": "^0.29.1",
"@opentelemetry/instrumentation-fetch": "^0.29.1",
"@opentelemetry/sdk-trace-base": "^1.3.0",
"@opentelemetry/semantic-conventions": "^1.3.0",

What version of Node are you using?
Not using Node, using Chrome Version 102.0.5005.63 (Official Build) (64-bit) on Windows 10.
Please provide the code you used to setup the OpenTelemetry SDK
See below.
What did you do?
This is in a React app.
Instantiate a tracer and an exporter, with ZoneContextManager, and add the FetchInstrumentation plugin.
What did you expect to see?
Fetch spans and traces.
What did you see instead?
Fetch spans and traces, and Promise leaks that pretty quickly grinds the process to a halt.
Additional context
How I instantiate the SDK:
import Logger from "../../../../common/src/client/Logger";
import {SamplingDecision} from "@opentelemetry/api";
import {Resource, ResourceAttributes} from "@opentelemetry/resources";
import {SemanticResourceAttributes} from "@opentelemetry/semantic-conventions";
import {
    ConsoleSpanExporter,
    BatchSpanProcessor,
    BufferConfig,
    SpanExporter,
} from "@opentelemetry/sdk-trace-base";
import {WebTracerConfig, WebTracerProvider} from "@opentelemetry/sdk-trace-web";
import {ZoneContextManager} from "@opentelemetry/context-zone";
import {registerInstrumentations} from "@opentelemetry/instrumentation";
import {FetchInstrumentation} from "@opentelemetry/instrumentation-fetch";
import {OTLPTraceExporter} from "@opentelemetry/exporter-trace-otlp-http";

export interface IWebTracerOptions {
    //  disable open telemetry tracing
    disable?: boolean;

    //  annotations that go on the root spans
    rootAnnotations?: ResourceAttributes;

    //  when tracing, configure parameters here
    customerId: string;
    accessToken: string;
    tracingEndpoint?: string;

    //  override exporter, for unit testing
    exporter?: SpanExporter;
    processorOpts?: BufferConfig;
}

let provider: WebTracerProvider;

export function startOpenTelemetry(opts?: IWebTracerOptions): WebTracerProvider {
    if (provider !== undefined) {
        Logger.info("OpenTelemetry already started");
        return provider;
    }

    //  Figure out whether to disable collection for this session.
    //  We want to sample either everything in a given session, or nothing.
    //  Additionally, when disabled, tell the tracer to sample nothing.
    let disable: boolean = opts?.disable || false;

    Logger.info("Initializing OpenTelemetry");
    const tracerConfig: WebTracerConfig = {};
    const rootAnnotations: ResourceAttributes = {
        [SemanticResourceAttributes.SERVICE_NAME]: "someapp",
        [SemanticResourceAttributes.SERVICE_NAMESPACE]: "somename",
        [SemanticResourceAttributes.SERVICE_INSTANCE_ID]: "someid",
        [SemanticResourceAttributes.SERVICE_VERSION]: "0.0.0",
    };
    if (opts?.rootAnnotations) {
        for (const [k, v] of Object.entries(opts.rootAnnotations)) {
            rootAnnotations[k] = v;
        }
    }
    tracerConfig.resource = new Resource(rootAnnotations);
    if (disable) {
        tracerConfig.sampler = {
            shouldSample: () => {
                return {decision: SamplingDecision.NOT_RECORD};
            },
            toString: () => "discarding sampler",
        };
    }

    //  we always allocate a provider, but it may not be doing much if we're disabled
    provider = new WebTracerProvider(tracerConfig);

    if (!disable) {
        const exporter: SpanExporter = chooseExporter(opts);
        const processorOpts: BufferConfig = opts?.processorOpts || {
            maxExportBatchSize: 100,
            scheduledDelayMillis: 500,
            exportTimeoutMillis: 20000,
            maxQueueSize: 1000,
        };
        provider.addSpanProcessor(new BatchSpanProcessor(exporter, processorOpts));
        provider.register({
            contextManager: new ZoneContextManager(),
        });
        const fetchInstrumentation = new FetchInstrumentation({
            ignoreUrls: [/.*collect\.service.*/],
        });
        // Registering instrumentations / plugins
        registerInstrumentations({
            instrumentations: [fetchInstrumentation],
        });
        Logger.info("Started OpenTelemetry");
    } else {
        Logger.info("OpenTelemetry is disabled");
    }

    return provider;
}

function chooseExporter(opts?: IWebTracerOptions): SpanExporter {
    let exporter: SpanExporter;
    if (opts?.exporter) {
        Logger.info("Using provided SpanExporter");
        exporter = opts.exporter;
    } else if (opts?.tracingEndpoint && opts?.customerId && opts?.accessToken) {
        Logger.info(`Using OTLPTraceExporter to ${opts.tracingEndpoint}`);
        const cid = opts.customerId;
        const authtoken = opts.accessToken;
        exporter = new OTLPTraceExporter({
            url: opts.tracingEndpoint,
            headers: {
                "Content-Type": "application/json",
                Authorization: `Bearer ${cid} ${authtoken}`,
            },
            concurrencyLimit: 3,
        });
    } else {
        Logger.info("Using ConsoleSpanExporter");
        exporter = new ConsoleSpanExporter();
    }
    return exporter;
}

Also: we do not use our own zone-js.

Can you provide a minimal reproduction for this? It is hard to look at an entire instrumentation and see a memory leak. It may be caused by a particular option or method that is called.

That would be a pretty heavy lift. Let me see what I can do, it may take some time.

I'm sorry. I assumed since you had already narrowed your leak down to the fetch instrumentation that you had some idea of the cause. I really just wanted to know if the leak is in the "happy path" or if your application is doing anything unusual or esoteric that may be causing the leak.

I'll take a look at this one late this week.

@jwatte I have started looking at this, and I am not seeing a significant overhead when making ~1000 fetch calls. Can you please provide a little more details on how to reproduce this? How did you come to the conclusion that the issue is with the fetch instrumentation and/or promises?

@jwatte I have started looking at this, and I am not seeing a significant overhead when making ~1000 fetch calls. Can you please provide a little more details on how to reproduce this? How did you come to the conclusion that the issue is with the fetch instrumentation and/or promises?

I encountered the same problem, but I don't know how to troubleshoot it? At present, the package can work normally as long as the page is commented out, otherwise it will get stuck

@jwatte I have started looking at this, and I am not seeing a significant overhead when making ~1000 fetch calls. Can you please provide a little more details on how to reproduce this? How did you come to the conclusion that the issue is with the fetch instrumentation and/or promises?

I encountered the same problem, but I don't know how to troubleshoot it? At present, the package can work normally as long as the page is commented out, otherwise it will get stuck

Sorry, after analysis, it was found that the page crash was caused by the micro front-end application. We used the qiankun framework and initialized the sub application. The sub application will crash after the route switch. It is speculated that it was caused by multiple initializations

So @jwatte you end up not using just the default context manager that WebTracerProvider provides?

Are there any plans to make the ZoneContextManager work in ES2017+ ?

Are there any plans to make the ZoneContextManager work in ES2017+ ?

Given that Zone.js doesn't support async/await, it seems unlikely to me that ZoneContextManager will gain support. Monkey-patching Promise.prototype.then doesn't seem to affect async functions, as demonstrated by the following script:
const promiseThen = Promise.prototype.then;
Promise.prototype.then = function(...args) { console.debug('then'); return promiseThen.call(this, ...args); }
// Uses patched then()
Promise.resolve(1).then(v => console.debug(v));
// Doesn't use patched then()
(async () => { const val = await Promise.resolve(2); console.debug(val); })();


cannot import name 'ask_voxelgpt_interactive' from 'voxelgpt' (c:\Users\abra\Desktop\fiftyone\voxelgpt_init_.py)

I wanted to directly use the voxelgpt module or develop the project locally. I've followed Local use/development instructions.
import voxelgpt
Above code does not give an error.
from voxelgpt  import ask_voxelgpt_interactive
Above code gives cannot import name 'ask_voxelgpt_interactive' from 'voxelgpt' (c:\Users\abra\Desktop\fiftyone\voxelgpt_init_.py) error. What is the problem here?

Hey @tugcekiziltepe, thanks for reaching out!
A few things.

Have you tried going into the voxelgpt directory on your machine and then running these commands?
Otherwise, can you pip install it locally?

Thanks!

I did the first thing you said and it worked. What could be the problem here and how can I fix it? @jacobmarks

I'm having the same problem! Is there a solution for this? Thanks.

Het @tugcekiziltepe and @danielnortef , so sorry I lost the thread on this. If you're still interested, I think the problem you are facing is that to import VoxelGPT when your python process is running in a different directory, you need to have the Python package installed, which requires running pip install -e . (the -e for editable, and the . for current directory) from within the voxelgpt dir. The reason it works for you when you're in that dir is the Python process knows where to look!
Also, this should not be tied to usage of the plugin within the FiftyOne App. As long as you either use the syntax:
fiftyone plugins download https://github.com/voxel51/voxelgpt
fiftyone plugins requirements @voxel51/voxelgpt --install

or you clone the repo and then symlink it to your plugins dir:
git clone https://github.com/voxel51/voxelgpt
ln -s "$(pwd)" "$(fiftyone config plugins_dir)/voxelgpt"

then you should see the OpenAI logo on a button in the FiftyOne App.
Once again, really sorry about the delayed response. I hope that this helps, or that you were able to find another solution!


[Bug Report]: github action can't config azure deployment name

Module path
gpt github review
review-gpt CLI version
0.9.4
Describe the bug
add_pr_comment:
name:  OpenAI PR Comment
steps:
- id: review
uses<EMAIL_ADDRESS>with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
AZURE_OPENAI_API: ${{ secrets.AZURE_OPENAI_API }}
AZURE_OPENAI_API_KEY: ${{ secrets.AZURE_OPENAI_API_KEY }}
It use default model names in src/gpt_review/constants.py
WARNING: This command is in preview. It may be changed/removed in a future release.
WARNING: Command group 'github' is in preview. It may be changed/removed in a future release.
ERROR: The API deployment for this resource does not exist. If you created the deployment within the last 5 minutes, please wait a moment and try again.
To reproduce
add_pr_comment:
name:  OpenAI PR Comment
steps:
- id: review
uses<EMAIL_ADDRESS>with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
AZURE_OPENAI_API: ${{ secrets.AZURE_OPENAI_API }}
AZURE_OPENAI_API_KEY: ${{ secrets.AZURE_OPENAI_API_KEY }}
Run github action
Code snippet
No response
Relevant log output
No response

same issue with me

They should be named from these https://github.com/microsoft/gpt-review/blob/main/azure.yaml.template like this


Add tests.

I investigated code which has especially low coverage.
(from https://coveralls.io/builds/25971809 )

[ ]  login.py: but service is not found
[ ]  split_input: almost all part is not tested.
[ ]  test_reactive: almost all part is not tested.
[ ]  utils.exec_command: FileNotFoundError and PermissionError
[ ]  test.py: compare_as_floats
[ ]  test.py: compare_mode==line
[ ]  hackerrank.py: _get_lang_display_mappingandget_available_languages`
[ ]  dispatch.py: almost all part is not tested, may be unittests for functions are effective.

These are also not covered, but it seems difficult to test

[ ] login_with_browser
[ ] FormSender
[ ] DummySubmission

I know this report is not perfect, your suggentions are welcome.

I recommend make one PR for one untested item.


Add test result detail view

Related Issue or Background Info

Resolves #490

Changes Proposed

Adds new modal view
Changes constants.js -> constants.ts
Adds symptom parser util and tests it

Screen Recording

Just noticed I need to add the time (e.g., 9:00am) to the "Test date" row, will make that change now

Thx @nickscialli-usds! Can you also make the following capitalization fixes?
Change "Test Details" to "Test details"
Change "Test Date" to "Test date"
Change "SARS-CoV-2 Result" to "SARS-CoV-2 result"
Change "Symptom Onset" to "Symptom onset"

@katiealoisi Will do!

@katiealoisi here's a screenshot of the updates

Looks great!


Suricata as a lib

Hello,
I am wondering why do we use suricata as a lib in DPDK instead of DPDK as a lib of suricata.
If so we can easy to handle suricata

@vipinpv85,
Thank you,
It makes sense now.
I want to build DPDK as load balancer, each application as suricata can run. That's why I ask you.

[Question] can we use DPDK to run a load balancer as multiple instances of suricata
[Answer] is yes.

The physical interface on DPDK gets packets from the external world.
VHOST, TAP or KNI interface sends to the virtual interface.
Multiple suricata instances feed on the traffic on a virtual interface.

example: port 1 ==> DPDK load balancer ==> virtual instance "tap1, tap2, tap3"
suricata 1 uses tap1
suricata 2 uses tap2
suricata 3 uses tap3

Thank you for kindly
I will do DPDK load balancer with suricata, bro.

if you are interested to help, please update the code base as a separate tag. This will help other too.

Thank you,
I will create new repo on my github and do it.

sure, once you are comfortable with the code changes you can share git pull request to merge

Thank you,
I will create new repo on my github and do it.

are there any code contributions from your end?

@vipinpv85,
I have made 2 repositories for dpdk & suricata on my github
https://github.com/Onotoko/dpdk-gateway
https://github.com/Onotoko/suricata-dpdk
Hopefully, it can help who needs to start working on this field

hi @Onotoko are you sharing your code to the current repository via git pull? or is your ask something different?

@Onotoko

dpdk-gateway is supposed to clone packets, so this means this is going to be used for only Suricata IDS mode (copy packet).

suricata-dpdk
a. ReceiveDpdkLoop -  is running infite for loop, you need not do this
b. configure_tx_buffer - you have enabled tx callback, what will be real advantage of invoking yet another function in run loop?
c. DpdkProcessPacket - is not using zero copy, it is still fetching from the SC heap
d. DpdkDumpCounters - dtv->livedev is per worker thread or multiple worker using same device?
e. configure - is created by autoconf so why is it committed with changes?
f. configure.ac - should this be  DPDK support:                         ${enable_dpdk} rather than PF_RING support:                         ${enable_dpdk}
g. source-dpdk.h - not sure if this right way of having the linkedlist
h. source-dpdk.c - ReceiveDpdkLoop any specific reason for still using ring?

way I see the code base https://github.com/Onotoko/suricata-dpdk has taken up the idea and code from the original repository and hacked it to PF_RING.
as far I can understand PF_RING uses customized kernel driver and userspace topology. I am not sure if have permission to change the code based managed by

\author William Metcalf<EMAIL_ADDRESS>\author Eric Leblond<EMAIL_ADDRESS>

@Onotoko reach out to be on skype or hangout.

@vipinpv85

dpdk-balancer is responsible for receiving the packet from NIC and load balancer to others application as suricata, ...

suricata-dpdk is a slave process, will read all packets from a ring (when dpdk-balancer pushes in) and handle it.

Yes I based on the idea of pf_ring handle in suricata and your idea too

@Onotoko As updated the solution works only for IDS and IPS mode. Suricata workers are the bottleneck, and using rte_pktmbuf_clone you have added overhead of late free.
you could have achieved the same with rte_mbuf_refcnt_update

@vipinpv85,
Suricata workers are the bottleneck, and using rte_pktmbuf_clone you have added overhead of late free. -> What did you mean while  each thread of suricata will use another ring repectively?
you could have achieved the same with rte_mbuf_refcnt_update -> You mean I can use  rte_mbuf_refcnt_updateinstead ofrte_pktmbuf_clone`?
DpdkProcessPacket - is not using zero copy, it is still fetching from the SC heap -> I was thinking zero copy will use in another situation
 I am not sure if have permission to change the code based managed by -> I added them to the header of file

@Onotoko current code in dpdk-gateway process_packets is invoked which round-robins packets across rx_rings. This leads to workers getting flow-A on different worker-threads, leading to DPDk worker thread flow lock and reassembly locks.
Sharing the same set of issues as pointed out in

https://github.com/vipinpv85/DPDK_SURICATA-4_1_1/issues/2

@vipinpv85,
Thank you  information,
 round-robins packets across rx_rings -> I am using RSS value to load balancer. I am considering  around  using 5 tuples for it

@vipinpv85,
Suricata workers are the bottleneck, and using rte_pktmbuf_clone you have added overhead of late free. -> What did you mean while each thread of Suricata will use another ring respectively?
you could have achieved the same with rte_mbuf_refcnt_update -> You mean I can use rte_mbuf_refcnt_updateinstead ofrte_pktmbuf_clone`?
DpdkProcessPacket - is not using zero copy, it is still fetching from the SC heap -> I was thinking zero copy will use in another situation
 I am not sure if have permission to change the code based managed by -> I added them to the header of file

I have evaluated your ideas and shared responses.
Issues with Primary-Secondary model in DPDK.
I did not hear from you or any git pull merge request.
What is your ask from me?

4. What is your ask from me? -> No, I mean I added all author at beginning of a header file
3. I did not hear from you or any git pull merge request. ->  I am making the different solution with you, so I made another repository instead of making a pull request from you
1.I have evaluated your ideas and shared responses -> got it, I still have not a good solution fo rit
2. Issues with Primary-Secondary model in DPDK.-> Yes, but I have no choice now

@vipinpv85,
Thank you information,
 round-robins packets across rx_rings -> I am using RSS value to load balancer. I am considering around using 5 tuples for it

5 tuples suffers from same problem as discussed above

4. What is your ask from me? -> No, I mean I added all author at beginning of a header file
3. I did not hear from you or any git pull merge request. -> I am making the different solution with you, so I made another repository instead of making a pull request from you
1.I have evaluated your ideas and shared responses -> got it, I still have not a good solution fo rit
2. Issues with Primary-Secondary model in DPDK.-> Yes, but I have no choice now

if you really intend to collaborate you would have a clone, branched and push changes as git merge. I do not see them

@vipinpv85,
Thank you information,
 round-robins packets across rx_rings -> I am using RSS value to load balancer. I am considering around using 5 tuples for it

5 tuples suffers from same problem as discussed above

I see it is really a hard problem when I want to use the primary-secondary model, but I have seen rss solution is really good for now

4. What is your ask from me? -> No, I mean I added all author at beginning of a header file
3. I did not hear from you or any git pull merge request. -> I am making the different solution with you, so I made another repository instead of making a pull request from you
1.I have evaluated your ideas and shared responses -> got it, I still have not a good solution fo rit
2. Issues with Primary-Secondary model in DPDK.-> Yes, but I have no choice now

if you really intend to collaborate you would have a clone, branched and push changes as git merge. I do not see them

As I mentioned above, your model and my model are not the same. so cannot pull or push anything

4. What is your ask from me? -> No, I mean I added all author at beginning of a header file
3. I did not hear from you or any git pull merge request. -> I am making the different solution with you, so I made another repository instead of making a pull request from you
1.I have evaluated your ideas and shared responses -> got it, I still have not a good solution fo rit
2. Issues with Primary-Secondary model in DPDK.-> Yes, but I have no choice now

if you really intend to collaborate you would have a clone, branched and push changes as git merge. I do not see them

As I mentioned above, your model and my model are not the same. so cannot pull or push anything

@Onotoko if you think this is true, I am happy to tell you observation is incorrect

Summary: description on DPDK build, library and run mode integration into dev branch of Suricata
Introduction:

DPDK is set of Hardware and Software library, that helps to run on userspace.
DPDK process is classified as Primary & Secondary, where huge pages and devices are shared between them.
For an existing application to be support DPDK; both build and code is to be changed.
One can skip the DPDK lcore-threads and service-threads too. But has to invoke rte_eal_init and relevant library call.

image.png
What mode to use: (to be decided - which one to support and start)

Primary (singleton/monolithic):
Pros:
a) Suricata will run as Primary managing all DPDK PMD and Libraries.
b) Requires access to hugepages and root permission.
c) Does not need ASLR to be disabled.
d) can run in baremetal CPU, VM, Docker too.
e) can make use DPDK secondary apps like proc-info, pdump, any other custom secondary application.
Cons:
a) pausible to run as non root, but requires DPDK familirity.
b) code becomes bulky.
c) HW vendor or device offload, code needs to updated with generic API or SW fallback.

Seocndary:
Pros:
a) Suricata will run as Secondary with zero or a little managment and setup code for PMD and Libraries.
b) Requires access to hugepages and root permission.
c) ASLR needs to be disabled, for consistent or hiigher chance of start.
d) can run in baremetal CPU, VM, Docker too.
e) Code becomes lighter.
Cons:
a) plausible to run as non-root, but requires DPDK familiarity.
b) cannot make use of DPDK secondary apps like proc-info, pdump, any other custom secondary application.
c) Need to probe the configuration settings for HW vendor or device offload.

Detached Primary:
Pros:
a) Suricata will run as Primary, getting packets from another DPDK primary via memif/vhost/AF_XDP interface.
b) Requires access to huge pages and root permission.
c) can run in bare-metal CPU, VM, Docker too.
d) Code becomes lighter because we are using SW generic NIC and offloads.
e) all vendor-specific and non DPDK offloads can be run on the alternative process.
f) Useful in scenarios where selected packet mirror can be implemented in HW, or SW and fed to DPDK.
g)
Cons:
a) plausible to run as non-root, but requires DPDK familiarity.
b) secondary apps like proc-info, pdump, any other custom secondary application works.
c) can make use of XDP (eBPF) to redirect selected traffic too.

How to do:

There are ABI and API changes across DPDK releases.
Use a long term stable release as de-facto for DPDK. example 19.11.1 LTS.
Depending upon individual or distro releases not all NIC, HW or features are enabled.
Identify and choose the most common NIC like memif/Pcap/tap/vhost for ease of build.
Update configure.ac to reflect
a) $RTE_SDK & $RTE_TARGET for custom or distro dpdk package.
b) edit for new field --enable-dpdk as flag
c) add necessary changes for CFLAGS and LDFLAGS if flag is enabled.
Add Compiler flag HAVE_DPDK to build for DPDK mode.
Start for single and multi worker mode.
Code changes in
a) suricata.c: for DPDK initialization, run-mode registration, parse of suricata.yaml for DPDK sections and add-hook to Rules Add for DPDK ACL.
b) source-dpdk, run mode-dpdk: new files to support DPDK configuration and worker threads.

Proof of concept with single worker mode: https://github.com/vipinpv85/DPDK-Suricata_3.0
ongoing work with multi-worker: https://github.com/vipinpv85/DPDK_SURICATA-4_1_1
Performance: by redirecting rule match packets to worker threads

1 worker can perform around 2.5 Mpps
10Gbps with line rate (64byte) we need to 6 workers with each worker having 2.5Mpps flows
40Gbps with line rate (128byte) we need 16 worker threads with 2.5Mpps flows each.

@vipinpv85,
Oh I see, I am adding ACL to dpdk-balancer too.
We have the same observation

@vipinpv85,
Oh I see, I am adding ACL & ndpi as well to dpdk-balancer too.
We have the same observation

this is already done

this is already done
You are done with it @vipinpv85?

this is already done
You are done with it @vipinpv85?

did not follow you, it is there in repository https://github.com/vipinpv85/DPDK-Suricata_3.0.

Sorry, I no have time for tracking your progress on your repositories so I don't know you are done with acl and ndpi.
I only work as my knowledge :)

Sorry, I no have time for tracking your progress on your repositories so I don't know you are done with acl and ndpi.
I only work as my knowledge :)

perfect :), I do not have time for asking or tracking every day where are you, are you contributing, are you stuck etc.
Based on your reply today, I have updated you.
note: I work based on spare time on this codebase, which is used by students, faculties, companies and others. So my answer is same for you, I do not understand what is your ask from me?

best wishes

I do not understand what is your ask from me? -> Before I start working with dpdk + suricata, I did search on the internet and I saw your source. That why I made this issue (Just want to get help from the previous person for right direction)
Thanks in advance

I do not understand what is your ask from me? -> Before I start working with dpdk + suricata, I did search on the internet and I saw your source. That why I made this issue (Just want to get help from the previous person for right direction)
Thanks in advance

My friend, this is a section for issues. your question was never an issue, but idea/suggestion/brainstorm. So if there nothing as an issue, let me again say best wishes.


What should be inside --refdir

Hi, could you update this link https://www.dropbox.com/sh/2ufsyu4wvrboxxp/AABk5-_Fwy7jdM_t0vIsgYf4a?dl=0. or. at least give us a list about what should be inside of it. We can't see what should be inside of the refdir and it took too much time to rerun the code and get the new error.

There is one in github documentations


fix statement containing columnsegment

Fixes #4671.
Changes proposed in this pull request:

Instead of columnName, parse ColumnSegment as  member of RenameColumnSegment
Instead of columnName, parse ColumnSegment as  member of ColumnAfterPositionSegment
Instead of columnName, parse ColumnSegment as  member of ColumnPositionSegment
Instead of columnName, parse ColumnSegment as  member of ColumnDefinitionSegment

Pull Request Test Coverage Report for Build 10198

0 of 14 (0.0%)  changed or added relevant lines in 6 files are covered.
93 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.01%) to 59.079%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-sql92/src/main/java/org/apache/shardingsphere/sql/parser/sql92/visitor/impl/SQL92DDLVisitor.java
0
1
0.0%

shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-oracle/src/main/java/org/apache/shardingsphere/sql/parser/oracle/visitor/impl/OracleDDLVisitor.java
0
2
0.0%

shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-sqlserver/src/main/java/org/apache/shardingsphere/sql/parser/sqlserver/visitor/impl/SQLServerDDLVisitor.java
0
2
0.0%

shardingsphere-sql-parser/shardingsphere-sql-parser-statement/src/main/java/org/apache/shardingsphere/sql/parser/sql/segment/ddl/column/ColumnDefinitionSegment.java
0
2
0.0%

shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-postgresql/src/main/java/org/apache/shardingsphere/sql/parser/postgresql/visitor/impl/PostgreSQLDDLVisitor.java
0
3
0.0%

shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-mysql/src/main/java/org/apache/shardingsphere/sql/parser/mysql/visitor/impl/MySQLDDLVisitor.java
0
4
0.0%

Files with Coverage Reduction
New Missed Lines
%

sharding-orchestration/sharding-orchestration-core/src/main/java/org/apache/shardingsphere/orchestration/internal/util/IpUtils.java
3
76.0%

shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-oracle/src/main/java/org/apache/shardingsphere/sql/parser/oracle/visitor/OracleVisitor.java
90
0%

Totals

Change from base Build 1054:
-0.01%

Covered Lines:
12185

Relevant Lines:
20625

💛  - Coveralls