M3-2128 Collapsible Docs Sidebar

Collapsible Docs Sidebar
The new Cloud Manager always presents links to docs in the right side bar and for an experienced user this may not be necessary.  So in an effort to provide a better user experience we want to provide the option to always view the docs or always collapse docs.  Similar to that of the Cloud Apps side bar we want to present a way to expand/hide the docs
The feedback from experienced users and stakeholders is that its not necessary to have a link a getting started doc.  until we are able to make the content relevant to user's profile we need to find a way to collapse the right sidebar.  The view that is preferable is that of the search landing page.
This collapsable side bar will be collapsed by default.
Type of Change

Non breaking change

Note to reviewers
This PR includes both the desktop and mobile device handling of the collapsible Docs. The following cases should be tested at all breakpoints, with both expanded and collapsed settings

landing pages with Docs and no backup
landing pages with Docs + backup CTA
local storage

Known issues:

we don't currently have cases with backup CTA without docs so no support is provided for that case
we don't have a design to show the backup CTA on mobile now that the sidebar as been replaced with a drop down

@rjstires rebased bc of a conflict with storage.js as well, pls take a quick look to make sure I did things right there and did not undo any of your changes


panic: store not initialized [1.9.3-rc.1]

Summary

gopass-jsonapi panics when being run with any parameter. Same happens gopass-hibp, maybe also the other binaries.
Steps To Reproduce

gopass-1.9.3-rc.1-darwin-amd64 ./gopass-jsonapi
panic: store not initialized. run gopass init first

goroutine 1 [running]:
main.main()
	/home/tex/src/go/src/github.com/gopasspw/gopass/cmd/gopass-jsonapi/main.go:39 +0x9da

Expected behavior

Command works as expected.
Environment

OS: macOS Catalina
OS version: [uname -a]
gopass Version: gopass 1.9.3-rc.1+a39aeeb9bdc304526dd9af477ffa0713a727d446 (a39aeeb9bdc304526dd9af477ffa0713a727d446) go1.14.2 darwin amd64
Installation method: gopass repo binary and from source

Interesting. Thanks for trying.
Does gopass itself work as expected?
Also I wonder why -trimpath doesn't seem to work.

We will definitely need more graceful error handing for the next release. Right now we just panic. There should be at least a helpful error message.


Using the SAP HANA Python Interface for Sentiment Analysis/ Entity Detection

Tutorials: https://developers.sap.com/tutorials/hana-clients-python.html
Is it possible to do sentiment analysis or entity detection or any other capabilities of Hana Text Analytics through the python interface? I didn't find any sample code for that!

If you are using using SAP HANA SPS 05, I believe there are instructions at
https://help.sap.com/viewer/62e301bb1872437cbb2a8c4209f74a65/2.0.05/en-US/a3adb442cbc44a84a626d99014d3dbc9.html
If you are using SAP HANA Cloud, the following link lists some high level feature differences.
https://help.sap.com/viewer/3c53bc7b58934a9795b6dd8c7e28cf05/hanacloud/en-US/e131e792973348d1ac072590fe3d137c.html
Hope that helps.

Thank you for your feedback. The issue seems to be resolved, so I am closing the issue.
If you still have questions, feel free to reopen the issue.


Add integer setting values

Add integer settings to handle multipliers for speed and fly.
Fly 1-10
Speed 1-5
Demo: https://youtu.be/GHS0TL1_DrE
This is by no means complete yet and there are still a couple fixme items I need to go through.
I would appreciate your feedback though.
Right now I am using a little hack to store values while settings are toggled off: negative values. I would like to get rid of this and add a proper value + status instead.
The migration from BOOLEAN to INTEGER should not create any problems on MySQL/MariaDB as BOOLEAN is an alias for INTEGER (or at least it is with InnoDB).

Hey@alexdrean, this is an awesome addition!
Your changes should be included once PR #32 is merged in. I have also added you as a contributor to the plugin's Spigot page.
Thanks a lot for your help 🙌


Bug with the collapse operation

Sometimes, a bug arises when collapsing a free pair.
Here is a short example.
from simplextree import SimplexTree

PrincipalFaces = [
    [0, 1],
    [0, 3],
    [1, 2],
    [1, 4],
    [2, 5],
    [4, 7],
    [5, 8],
    [7, 8]]

st = SimplexTree(PrincipalFaces)
print(st)
print("Maximal: " + str(st.maximal()))

st.collapse([0,3], [3]) # Works
print("Maximal: " + str(st.maximal()))

st.collapse([0,1], [0]) # Crashes, and this is a free pair
print("Maximal: " + str(st.maximal())) # Does not print, as the program has crashed
print("Simplices: " + str(st.simplices()))

Interesingly, replacing the collapse by removing the only coface, works:
st.remove([[0,1]]) # Works

Ok I've started a pull with a fixes. Assuming the package builds go through CI I'll upload the updated version to pypi today.
The bug was caused by a mismatch in the docs between sigma and tau due to an implicit precondition that tau is a face of sigma. The docs actually mixed these up, which caused the crash. The new version should just return false in that case.
Using your example:
PrincipalFaces = [[0,1],[0,3],[1,2],[1,4],[2,5],[4,7],[5,8],[7,8]]
st = SimplexTree(PrincipalFaces)
print(st)
# Simplex Tree with (8, 8) (0, 1)-simplices
st.collapse([0,3], [3])
# True
print(st)
# Simplex Tree with (7, 7) (0, 1)-simplices
st.collapse(sigma=[0,1], tau=[0])
# True
# Simplex Tree with (6, 6) (0, 1)-simplices
st = SimplexTree(PrincipalFaces)
st.collapse(sigma=[0], tau=[0,1]) # False, returns immediately as dim(tau) != dim(sigma) - 1
st.collapse(sigma=[0,1], tau=[0]) # still False, not a free pair

Ok, I understand that this was mostly documentation issue, and the bad usage leads to a crash.
Thanks

This has been patched in the most recent version on PyPI, and should be working now.
If you run into any other issues please don't hesitate to post them!


Make PR update behaviour configurable

As of #724, Scala Steward updates its pull requests only when they are in conflict with the base branch. This behaviour helps reducing the number of builds. However, it doesn't allow you to check for semantic conflicts which a successful git merge might have. This use case had been covered before the change.
This issue aims to make Scala Steward configurable so that the user can choose the new or the old (pre-#724) behaviour.
@fthomas also mentioned some ideas on how this might be implemented.

Fixed by #1227.


As a user, I'd like to be able to see Affiliations and Relationships in global search result

When someone searches on an account or contact, they expect to see Affiliation (and Relationship) records returned in global search results. There have been a few threads on the Hub on this, including this one https://powerofus.force.com/0D580000027EpZU
The reason this doesn't work is due to the fact that relationship field names are not indexed. https://success.salesforce.com/ideaView?id=08730000000iaAnAAI
The workaround is to have text fields that sync with the name of the related record. While users can create workflow rules to update values it's inefficient because if the Account or Contact name changes then the value on the Affiliation is out of sync and wrong. Should we bake these text fields in to the object and update on related record name changes?

I'm not a big fan of doing hacks like this to workaround the platform.  Given the idea is in the "considered" stage, I think we should defer to Salesforce core on this one.

I kind of agree with Dave. The workaround seems too hacky...
On Tue, May 12, 2015 at 9:32 AM, David Habib<EMAIL_ADDRESS>wrote:

I'm not a big fan of doing hacks like this to workaround the platform.
Given the idea is in the "considered" stage, I think we should defer to
Salesforce core on this one.
—
Reply to this email directly or view it on GitHub
https://github.com/SalesforceFoundation/Cumulus/issues/1548#issuecomment-101301677
.


Question

hi ,
i want to pull data from two progress open edge database and to push the data into oracle database, can you tell me if i need to connect the databases first ? and if so then how do i can make the connection?

The easiest solution is to export to csv and then import csv's to target db.

Exporting using CSV might be much slower than direct data transfer.
You could try data transfer (Data export->Database) feature. You will need to map all source table columns to target table columns (set proper column data types).


Remove dependency on javax.inject

We had originally planned to keep only javax.inject in dependencies so that plugins will be able to get some instances injected. javax.inject has been considered to be a semi-standard artifact, unlike Guice as a third-party library.
But, javax.inject will no longer continue. It will change to jakarta.inject. They change the Java packages, too, then they have no compatibility. It will cause dependency problems in the future again.
Finally, we decided to remove javax.inject, too.

Thanks!

do we want to mention it in some developer/release notes?
I basically don't think so -- no OSS plugins have never used injections. Just a changelog in Git annotations would be fine.


Tracker functionality

Add a function to compute the daily distribution of step count
Unit test updated
Fix some functions in missingess module: allow passing x_title, y_title and title as parameters.

Looks good to me


Fix build for gimp-with-plugins against exiv2 0.27.1

Motivation for this change
Fixes #64586
Things done
Path size<PHONE_NUMBER> vs<PHONE_NUMBER> when building against exiv2 0.26.2018.12.30

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

[X] NixOS
[ ] macOS
[ ] other Linux distributions

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

Hold up though - I forgot to actually test ufraw properly by opening a photo before. I downloaded a couple to check and it seems the release version is broken!
I dug around a bit more and found that someone is maintaining a fork on GitHub: https://github.com/sergiomb2/ufraw
It includes several distro patches, including the exiv2 fix: https://github.com/sergiomb2/ufraw/commit/a13c0f7385ff873bd7cf8fc8aae8657c75fb20c8
I'm going to go ahead and update to HEAD there, since at least I can actually open one test photo with it, although not the other.

That's sounds fine, I've checked and fedora also uses that fork.

@worldofpeace It appears that GIMP has not supported the ufraw plugin for some time. Should we remove all mention of ufraw.gimpPlugin?

@gloaming I believe that should be fine. If you do this please note you need to add a throw to aliases.nix on gimpPlugins.ufraw to explain the backwards incompatible change.

ping @gloaming
(sorry this is dragging on so long)

Ufraw was working recently to some capacity at least: https://github.com/NixOS/nixpkgs/pull/37915 What exactly does “GIMP not supporting plug-in” mean?

@jtojnar gimpWithPlugins doesn't have any trace of ufraw in its menus. I tried to open a RAW that opens with ufraw inside GIMP, and it gave me the same message it gives without the ufraw plugin:

The message itself implies that ufraw is no longer supported.

@gloaming I believe that should be fine. If you do this please note you need to add a throw to aliases.nix on gimpPlugins.ufraw to explain the backwards incompatible change.

@worldofpeace Hmm... Would it be better to put the throw in pkgs/applications/graphics/gimp/plugins/default.nix in case some future traveller looks for it there?

Actually, I think it's better to leave it for now. Rebased and checked it still works. @worldofpeace feel free to merge

Okay, I can confirm that opening RAW files through the file dialogue no longer works but the send to GIMP button in ufraw seems to still require the plug-in.

Ah, right. Happens the same for me. I've left it at just the updates then.

Ping @worldofpeace

Thanks, sorry about the delay on this.


Consecutive SyntaxErrors are not reported by webpack --watch

I'm submitting a bug report
Webpack version:
1.13.2
Please tell us about your environment:
Linux
Current behavior:

Run  webpack --watch
Put a syntax error in a source file. Webpack will report that error.
Change the source file to have different content, but still have a syntax error. Webpack will not report the new error.
Fix all syntax errors in the file. Webpack compiles it and shows a successful compilation.

It seems to me that webpack tries to compile every version of the file (based on the fact that once the syntax is fixed, the bundle is built and --progress shows output when changing the contents of the file while it still has syntax error(s) in it), but does not report subsequent syntax errors.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo
of the problem along with a gist/jsbin of your webpack configuration.

I created a sample repository here: https://github.com/Decor-Aid/webpack-rebuild-repro showing the problem.

What is the expected behavior?

Webpack should report errors in each version of the source file as these are saved to disk.

What is the motivation / use case for changing the behavior?

If a source file has multiple syntax errors, webpack --watch needs to be manually restarted until all errors are fixed. A situation that results in multiple syntax errors is for example trying to convert an Angular app to a React app - copy-pasting Angular code or templates into a .jsx file will produce tons of errors.

Browser:

not applicable

Language:

JS is sufficient

Enhancement?

Seem to be fixed in webpack 2


Generate Data not compliant with Evaluation JSON

Nuget Package
JsonSchema.Net.DataGeneration
Package Version
online
Operating System
None
.Net Target (if relevant, please specify the version in the description)
None
A clear and concise description of the bug.
Data generation is not compliant with schema
What did you expect?
when i use data generation that the data generated is compliant with the schema
Please add test code or steps to reproduce the behavior.
taking this schema
{
  "$id": "https://example.com/schemas/customer",
  "type": "object",
  "properties": {
    "first_name": { "$ref": "#/$defs/name" },
    "last_name": { "$ref": "#/$defs/name" }
  }
   ,
  "$defs": {
    "name": { "type": "string" }
  },
  "additionnalProperties" : false
}

it has  generated
{
  "last_name":<PHONE_NUMBER>55755589,
  "first_name": true,
  "Ipsa": null,
  "vero": false,
  "non": "Libero ut reprehenderit aspernatur sit dolorum cumque alias modi saepe. Velit aut veniam voluptatem laboriosam laboriosam perferendis. Laudantium sint molestiae nihil omnis aperiam ab eos officiis.",
  "fugit": false
}

that looks wrong , especially then taking the instance and putting back to schema validation it says it is not valid (and he is right !)
Is there any other information you'd like to share regarding this bug?
leveraging the online UI only as a great tool
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Yeah, it looks like the additional properties shouldn't have been generated.  I'll have a look.
Can you tell if this is consistent behavior, or does it only happen occasionally?  Sometimes the system gets confused.
Also, be aware that the docs clearly state that data generation doesn't support references, which your schema contains.

Okay, so a few issues here.
First is that $ref isn't supported, as noted above.
The second is that additionalProperties is misspelled.  (You have two ns.)
This works:
{
  "$id": "https://example.com/schemas/customer",
  "type": "object",
  "properties": {
    "first_name": { "type": "string" },
    "last_name": { "type": "string" }
  },
  "additionalProperties" : false
}

so sorry , i ve not follow the RTFM rules :)
in real world not having the $ref limits the usage. i could understand not resolving extenal reference for security reason but internal would be nice to have support ( i guess your lib should be capable to generate a extended schema from the one input)
I will close the ticket , could be an enhancement for the future
thx again for the analysis , and apologized about not having read the doc


Run helix tests on arm queues

Need to update the helix scripts to enable this properly as there are x64 things hardcoded today
PR working on this https://github.com/aspnet/AspNetCore/pull/8844

cc @JunTaoLuo looks like a duplicate of issues I just pinged you on in aspnet/AspNetCore-Internal.

Fixed in https://github.com/aspnet/AspNetCore/pull/11422


Translation

Hello everyone, I work for a Microsoft Partner in Argentina as an IT consultant and I am also a translator.
We found this article (https://docs.microsoft.com/en-us/power-bi/guidance/powerbi-adoption-roadmap-overview) extremely useful and wanted to ask if you would allow us provide you with a translation into Spanish. We are already translating this content for different presentations and thought of contributing to the Microsoft community by sharing our work. If you agree on this, would you please advice us on how to proceed? Thank you!
Kind regards,
José Caristina

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

ID: 5495a85a-be45-63a4-2dd8-6859f55e4737
Version Independent ID: 28ac0047-394b-670b-350a-8d8171b02b34
Content: Power BI adoption roadmap - Power BI
Content Source: powerbi-docs/guidance/powerbi-adoption-roadmap-overview.md
Service: powerbi
Sub-service: powerbi
GitHub Login: @peter-myers
Microsoft Alias: maroche

Hi @jcaristina - thanks for your feedback and willingness to translate to Spanish. The article is already in queue for translation to a number of languages, including Spanish. It's just a matter of time. You can monitor the article in Spanish using this link: https://docs.microsoft.com/es-es/power-bi/guidance/powerbi-adoption-roadmap-overview. Regards, Peter.
#please-close

Thank you, @peter-myers !
Regards,
JC


Weird DB Error after upgrade

I'm not sure what happened but I figure I'd report any weirdness.
The application got stuck in an infinite error loop :-1:
Here's a small snippet from my DatabaseMaster class:
    @Override
    protected void onConfigure(SQLiteDatabaseWrapper db) {
        db.enableWriteAheadLogging();
    }

    @Override
    protected void onOpen(SQLiteDatabaseWrapper db) {
        super.onOpen(db);
        mIsDbReady = true;
        LogUtils.log(TAG, "DB is ready!", null, Log.VERBOSE);
    }

07-21 16:30:07.773 4876-4876/org.fire.line V/~F~MyApplication: onCreate()
07-21 16:30:07.823 4876-4904/org.fire.line V/~F~TimeSyncIntentService: runTimeSyncServiceNow()
07-21 16:30:08.158 4876-4904/org.fire.line V/~F~DatabaseMaster: DB is ready!
07-21 16:30:08.169 4876-4904/org.fire.line E/SQLiteLog: (5) statement aborts at 2: [PRAGMA journal_mode=PERSIST]
07-21 16:30:08.209 4876-4876/org.fire.line V/~F~ActivityMain: onResume()
07-21 16:30:08.214 4876-4904/org.fire.line W/SQLiteConnection: Could not change the database journal mode of '/data/user/0/org.fire.line/databases/org.fire.line_db_master.db' from 'wal' to 'PERSIST' because the database is locked.  This usually means that there are other open connections to the database which prevents the database from enabling or disabling write-ahead logging mode.  Proceeding without changing the journal mode.
07-21 16:30:08.242 4876-4904/org.fire.line V/~F~DatabaseMaster: DB is ready!
07-21 16:30:08.259 4876-4904/org.fire.line E/SQLiteLog: (5) statement aborts at 2: [PRAGMA journal_mode=PERSIST]
07-21 16:30:08.262 4876-4904/org.fire.line W/SQLiteConnection: Could not change the database journal mode of '/data/user/0/org.fire.line/databases/org.fire.line_db_master.db' from 'wal' to 'PERSIST' because the database is locked.  This usually means that there are other open connections to the database which prevents the database from enabling or disabling write-ahead logging mode.  Proceeding without changing the journal mode.

Hmm, never seen anything like that before. Can you post what version of Android this was on and what version of SquiDB you're using? And can you confirm that your DatabaseMaster instance is an app-wide singleton?

Also, on the off chance it's related, are you doing anything with attached databases?

MotoG 2nd Generation, Android Marshmellow, com.yahoo.squidb:squidb:2.0.0
It happened during development. Confirm, it is an app-wide singleton.
That was the first and only time it's happened. I moved around some of the new code I was testing and it hasn't happened.
weird.

Very weird. We did change some of the logic around opening databases to be more robust in the face of obscure problems opening the database in version 2.0.3 using some new hooks, so you could upgrade to that version or later to try those things out.
Also, I found this in the comments of the android source code; might be relevant:

// Because we always disable WAL mode when a database is first opened
// (even if we intend to re-enable it), we can encounter problems if
// there is another open connection to the database somewhere.
// This can happen for a variety of reasons such as an application opening
// the same database in multiple processes at the same time or if there is a
// crashing content provider service that the ActivityManager has
// removed from its registry but whose process hasn't quite died yet
// by the time it is restarted in a new process.
That was the main reason I had asked about the singleton thing, but maybe there was just a stray open connection from a previous process somewhere?

This did happen immediately after building a new dev build on top of another dev build? maybe the uninstall didn't finish completely?

It's certainly possible. Was it an actual infinite loop that you saw or did it just log that statement a few times and then eventually stop?

I believe infinite, it went on for a solid 5min.

A few other things that might help us track down possible causes:

Do any components of your app that might access the database run in separate processes?
Do you override/implement any other hooks, like onTablesCreated() or onMigrationFailed()? If so, do these hooks do anything of interest?
Do you at any point call the recreate() method? (This method was not particularly safe prior to version 2.0.3).

Also, the new onDatabaseOpenFailed() hook introduced in version 2.0.3 can help you debug such problems by logging stack traces and/or short-circuiting during the database opening process if for any reason something goes wrong either opening the DB file or with the recovery logic after a failed migration. However, the logs you posted suggest that the file was locked by some other process, which is probably still the most likely cause of weird behavior.


fix readme: go-passbolt-cli instead of passbolt

the readme shows running the command 'passbolt' instead of the actual command that gets installed 'go-passbolt-cli'. This may be confusing to new users

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Brad seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

go-passbolt-cli is usually installed as passbolt.
Only if go-passbolt-cli is installed via go (which is not Preferred since there are also no tab completions or man pages when installed this way) then the binary is named go-passbolt-cli since it is out of my control.
this behavior is mentioned in the relevant section https://github.com/passbolt/go-passbolt-cli#via-go


Capacity service

@gopherstein this will require you to add --enable-capacity-service to the container command.
This will be released shortly with 0.5.3.

Coverage decreased (-1.2%) to 16.356% when pulling 7d702c781428b02627e7ccaf44df0b1ab9b59877 on capacity_service into 06ab00dd761b17bbf4c51a594fefa2d0ebc43d55 on master.

Coverage decreased (-1.3%) to 16.315% when pulling 69708a6a9652e55511f04fbcc6cf0f2f2d36cb37 on capacity_service into 06ab00dd761b17bbf4c51a594fefa2d0ebc43d55 on master.


Support for FASTQ

In the current Support Matrix there is no mention to the status (currently none) to FASTQ-files. Although HadoopBAM has it but it is not widely used, I would like to see support for it.
We can port the HadoopBAM version or we can also ask for other solutions like Fastdoop. I had previously contacted @umbfer about the availability of his library (before it got into GitHub) and also I mentioned him this project, so maybe he can also chime if he is interested to contribute to this project with a port of his code.
In any case, I think that the library might benefit form this support as FASTQ is still the most common file format for unmapped reads.

ADAM has support for FASTQ files.  My main goal in starting this effort is to reduce duplication of effort.

@heuermh - is it planned to port some functionality from ADAM?

Yes, I am in favor of bring things from downstream projects (e.g. GATK4, ADAM) up into Disq as necessary.

Perfect! So in that case we keep open until it is ported (or decided not to)

Hi everybody, we are focused on the development of a new version of Fastdoop and, unfortunately, we miss the time required for porting our code into your framework. But we could provide some form of support, if some you is willing to undertake this task.


OmniSharp doesn't find some namespaces.

Might be an issue with my install, but OmniSharp reports missing reference errors even though my project builds successfully.
For example, I'm trying to use System.Xml.XmlDocument or using System.Xml;, but I get The type or namespace name 'Xml' does not exist in the namespace 'System' (are you missing an assembly reference?). However, if I try to build the project with dotnet build, I see no errors and it runs fine.
I have installed the dotnet-sdk package from the official ArchLinux repositories (can be seen here). The following dlls for XmlDocument are present in my filesystem:
/usr/share/dotnet/shared/Microsoft.NETCore.App/5.0.4/System.Xml.XmlDocument.dll
/usr/share/dotnet/sdk/5.0.104/Microsoft/Microsoft.NET.Build.Extensions/net461/lib/System.Xml.XmlDocument.dll
/usr/share/dotnet/packs/Microsoft.NETCore.App.Ref/5.0.0/ref/net5.0/System.Xml.XmlDocument.dll
/usr/share/dotnet/packs/NETStandard.Library.Ref/2.1.0/ref/netstandard2.1/System.Xml.XmlDocument.dll

The issue can be reproduced by creating an empty project with dotnet new console, and trying to use System.Xml in any way.

Which client do you use for omnisharp-roslyn? VS Code or any of LSP clients?
Also, do you have mono installed on the system as well? It might interfere with the version distributted with the roslyn server. You can check the version of mono that is used on server (startup) log -- which may be available via different means on different editors.
Also have you tried running the latest version?

I'm using neovim's builtin LSP, and I do have mono installed, but I believe omnisharp is using the system's mono as well. I've installed omnisharp via my own PKGBUILD, which essentially uses the omnisharp-mono.tar.gz from the releases page. So, I'm running the latest release, not git commit, but I guess I could try that as well.

can you paste the log from the server (if that is available in nvim lsp client)? maybe it can provide clues to what could be the cuase..

I recently started getting the same error, here are the relevant log messages:
[ WARN ] 2021-05-07T01:44:26-0400 ] /usr/share/nvim/runtime/lua/vim/lsp/handlers.lua:412 ]	"OmniSharp.MSBuild.ProjectManager: Failed to load project file '/foo.csproj' | "
[ WARN ] 2021-05-07T01:44:26-0400 ] /usr/share/nvim/runtime/lua/vim/lsp/handlers.lua:412 ]	"OmniSharp.MSBuild.ProjectManager: Failed to load project file '/foocsproj'. | "
[ WARN ] 2021-05-07T01:44:26-0400 ] /usr/share/nvim/runtime/lua/vim/lsp/handlers.lua:412 ]	"OmniSharp.Extensions.LanguageServer.Server.LspServerOutputFilter: Tried to send request or notification before initialization was completed and will be sent later OmniSharp.Extensions.JsonRpc.Client.OutgoingNotification | @Request='OmniSharp.Extensions.JsonRpc.Client.OutgoingNotification'"
[ ERROR ] 2021-05-07T01:44:26-0400 ] /usr/share/nvim/runtime/lua/vim/lsp/handlers.lua:410 ]	"OmniSharp.MSBuild.ProjectManager: Attempted to update project that is not loaded: /foo.csproj | "
[ ERROR ] 2021-05-07T01:44:26-0400 ] /usr/share/nvim/runtime/lua/vim/lsp/handlers.lua:410 ]	"OmniSharp.MSBuild.ProjectManager: Attempted to update project that is not loaded: /foo.csproj | "

@razzmatazz do you have any idea what could be going wrong?

Can you paste your sln/csproj files? I think an issue could be that you use unix-style directory separators, while csproj expects Windows/DOS-Style backward-slashes ('')

// Foo.sln

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26124.0
MinimumVisualStudioVersion = 15.0.26124.0
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Foo.Bar", "Foo.Bar\Foo.Bar.csproj", "{6CA13554-2D5C-4F47-9C20-3BAB6D860D3A}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Debug|x64 = Debug|x64
		Debug|x86 = Debug|x86
		Release|Any CPU = Release|Any CPU
		Release|x64 = Release|x64
		Release|x86 = Release|x86
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{6CA13554-2D5C-4F47-9C20-3BAB6D860D3A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{6CA13554-2D5C-4F47-9C20-3BAB6D860D3A}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{6CA13554-2D5C-4F47-9C20-3BAB6D860D3A}.Debug|x64.ActiveCfg = Debug|Any CPU
		{6CA13554-2D5C-4F47-9C20-3BAB6D860D3A}.Debug|x64.Build.0 = Debug|Any CPU
		{6CA13554-2D5C-4F47-9C20-3BAB6D860D3A}.Debug|x86.ActiveCfg = Debug|Any CPU
		{6CA13554-2D5C-4F47-9C20-3BAB6D860D3A}.Debug|x86.Build.0 = Debug|Any CPU
		{6CA13554-2D5C-4F47-9C20-3BAB6D860D3A}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{6CA13554-2D5C-4F47-9C20-3BAB6D860D3A}.Release|Any CPU.Build.0 = Release|Any CPU
		{6CA13554-2D5C-4F47-9C20-3BAB6D860D3A}.Release|x64.ActiveCfg = Release|Any CPU
		{6CA13554-2D5C-4F47-9C20-3BAB6D860D3A}.Release|x64.Build.0 = Release|Any CPU
		{6CA13554-2D5C-4F47-9C20-3BAB6D860D3A}.Release|x86.ActiveCfg = Release|Any CPU
		{6CA13554-2D5C-4F47-9C20-3BAB6D860D3A}.Release|x86.Build.0 = Release|Any CPU
	EndGlobalSection
EndGlobal

This has been working perfectly for the past few months, I didn't update omnisharp until today, after the errors started showing up.

Oh, one thing I did recently, maybe around the time the errors started showing up, was upgrade to .net 5.0. Could there be a regression there?

can you show <packagereference contents? mangle it if it contains private info;
I think there might be cause with project paths

it doesn't have any relative paths:
<Project Sdk="Microsoft.NET.Sdk.Web">

  <PropertyGroup>
    <TargetFramework>netcoreapp5.0/TargetFramework>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="2.2.0" />
    <PackageReference Include="Microsoft.AspNetCore.Identity.UI" Version="3.1.6" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="2.2.0">
      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
      <PrivateAssets>all</PrivateAssets>
    </PackageReference>
    <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="2.2.0" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="2.2.0">
      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
      <PrivateAssets>all</PrivateAssets>
    </PackageReference>
    <PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="3.1.3" />
  </ItemGroup>
</Project>

this line is not correct for .net5:
<TargetFramework>netcoreapp5.0/TargetFramework>

should be
<TargetFramework>net5.0/TargetFramework>

according to migration guide: https://docs.microsoft.com/en-us/aspnet/core/migration/31-to-50?view=aspnetcore-5.0&tabs=visual-studio

Thanks, but <TargetFramework>net5.0</TargetFramework> doesn't fix the error messages.

mhm, your log complains about /foo.csproj and /foocsproj but those are not present, right?
I see just Foo.Bar\Foo.Bar.csproj
do you have another solution file(s) or projects? how could omnisharp pick those paths?

Ah, sorry,  I mangled the paths wrong in the log :)
[ START ] 2021-05-07T02:11:29-0400 ] LSP logging initiated
[ WARN ] 2021-05-07T02:11:56-0400 ] /usr/share/nvim/runtime/lua/vim/lsp/handlers.lua:412 ]	"OmniSharp.MSBuild.ProjectManager: Failed to load project file '/dev/Foo/Foo.Bar/Foo.Bar.csproj'. | "
[ WARN ] 2021-05-07T02:11:56-0400 ] /usr/share/nvim/runtime/lua/vim/lsp/handlers.lua:412 ]	"OmniSharp.MSBuild.ProjectManager: Failed to load project file '/dev/Foo/Foo.Bar/Foo.Bar.csproj'. | "
[ WARN ] 2021-05-07T02:11:56-0400 ] /usr/share/nvim/runtime/lua/vim/lsp/handlers.lua:412 ]	"OmniSharp.Extensions.LanguageServer.Server.LspServerOutputFilter: Tried to send request or notification before initialization was completed and will be sent later OmniSharp.Extensions.JsonRpc.Client.OutgoingNotification | @Request='OmniSharp.Extensions.JsonRpc.Client.OutgoingNotification'"
[ ERROR ] 2021-05-07T02:11:56-0400 ] /usr/share/nvim/runtime/lua/vim/lsp/handlers.lua:410 ]	"OmniSharp.MSBuild.ProjectManager: Attempted to update project that is not loaded: /dev/Foo/Foo.Bar/Foo.Bar.csproj | "
[ ERROR ] 2021-05-07T02:11:56-0400 ] /usr/share/nvim/runtime/lua/vim/lsp/handlers.lua:410 ]	"OmniSharp.MSBuild.ProjectManager: Attempted to update project that is not loaded: /dev/Foo/Foo.Bar/Foo.Bar.csproj | "


Nested Object Aliases

Mark,
I was adding alias support into the mongodb adapter and hit a snag.  It all works great until I need to alias a nested object and it's descendents.  For example, given the structure that users have an address, the following is the syntax I would need.
original shape:
usrs:
    adr:
        cty
        st

select portion of Query()
.Select(db.usrs.adr.As("Address")
    .Select(db.usrs.adr.cty.As("City"), db.usrs.adr.st.As("State"))

aliases shape:
usrs:
    Address:
        City
        State

I was going to add a Select statement onto ObjectReference and let the ObjectReference hold it's childrens selections, but wasn't sure if there were any problems that would cause.  If that seems ok, I'll do the work and send a pull request.  If you can think of another way, please let me know.

OK, this is going to be the main feature for 0.12.

The new With clause in 0.14 should work for this, e.g.:
db.Orders.With(db.Orders.OrderItems.As("Items");
Let me know if there's a more elegant syntax you would like to see.


Use node:5 container, removed --ignore-scripts

@lennym updated to 6

Is node:lts an option?

no, but node:latest is

Lame.


feat: wrap sensitive types in order to zero the memory on drop (#1240)

Closes #1240
This wraps sensitve variables into new types that will implement Zeroize and will zero the memory on drop. Unfortunately we can't use the VLBytes in that case and I had to switch to the regular Vec<u8>.
I've moved the HpkePrivateKey struct to the traits crate and since for testing PartialEq and Eq are required I had to introduce the test-utils feature in it.

With #1376 merged, you should now be able to just use SecretVLBytes from tls_codec instead of replacing VLBytes with Vec<u8>.

With #1376 merged, you should now be able to just use SecretVLBytes from tls_codec instead of replacing VLBytes with Vec<u8>. Do you want to give that a try?

In the types that were using Vec<u8> before, should I use SecretVLBytes or zeroize on them? For ex: the value attribute in the AeadKey is/was a Vec and not VLBytes

Good question. I guess it's going to be functionally the same since VLBytes is just a wrapper around Vec. Then I guess if it lets us avoid depending on zeroize explicitly, just use the SecretVLBytes. If it turns out to be a problem, it should be easy to reverse.

Good question. I guess it's going to be functionally the same since VLBytes is just a wrapper around Vec. Then I guess if it lets us avoid depending on zeroize explicitly, just use the SecretVLBytes. If it turns out to be a problem, it should be easy to reverse.

Another question. Should we also change the OpenMlsCrypto trait to return SecretVLBytes too (in the hkdf_expand and maybe the extract too)?


Wrong Earth radii are used in calculations

URL
No response
How to reproduce the issue?
There are wrong constants for  Earth radii here:
https://github.com/openstreetmap/iD/blob/46a2d6365f5609f66cfffe8d8b018516b82443d4/modules/geo/geo.js#L3-L4
Radii are reversed. See https://en.wikipedia.org/wiki/Earth_radius.
It is probably hard to notice but it is still a bug which may give additional error. Unit tests compare results with wrong constants too and not fail.
Screenshot(s) or anything else?
No response
Which deployed environments do you see the issue in?
No response
What version numbers does this issue effect?
No response
Which browsers are you seeing this problem on?
No response

Good catch. Thank you!


Trouble getting wifi working on ubuntu 22.04

Hello,
Thanks for your formula, it helped me a lot on ubuntu 21.
I recently made a clean install of ubuntu 22.04 (Linux 5.15), and Wifi stopped worked after a few days.
When I run
sudo salt-call -l error --local --file-root="$(pwd)" state.apply framework-laptop.intel-ax210-workaround
I get:
local:
----------
          ID: intel_ax210_workaround_linux_generic_latest
    Function: pkg.latest
        Name: linux-generic-hwe-20.04
      Result: True
     Comment: Package linux-generic-hwe-20.04 is already up-to-date
     Started: 18:51:14.702797
    Duration: 1324.113 ms
     Changes:
----------
          ID: intel_ax210_workaround_service_dead
    Function: service.dead
        Name: intel-ax210-workaround
      Result: True
     Comment: The named service intel-ax210-workaround is not available
     Started: 18:51:16.035617
    Duration: 4.695 ms
     Changes:
----------
          ID: intel_ax210_workaround_service_removed
    Function: file.absent
        Name: /etc/systemd/system/intel-ax210-workaround.service
      Result: True
     Comment: File /etc/systemd/system/intel-ax210-workaround.service is not present
     Started: 18:51:16.041953
    Duration: 0.354 ms
     Changes:
----------
          ID: intel_ax210_workaround_service_removed
    Function: module.run
        Name: service.systemctl_reload
      Result: True
     Comment: State was not run because none of the onchanges reqs changed
     Started: 18:51:16.042977
    Duration: 0.002 ms
     Changes:
----------
          ID: intel_ax210_workaround_firmware_restored
    Function: cmd.run
        Name: /bin/sh -c "mv -f /lib/firmware/iwlwifi-ty-a0-gf-a0.pnvm.renamed-by-salt /lib/firmware/iwlwifi-ty-a0-gf-a0.pnvm ; rmmod iwlmvm ; rmmod iwlwifi ; modprobe iwlwifi"
      Result: True
     Comment: unless condition is true
     Started: 18:51:16.043511
    Duration: 308.665 ms
     Changes:
----------
          ID: intel_ax210_workaround_firmware_reinstalled
    Function: pkg.installed
        Name: linux-firmware
      Result: True
     Comment: unless condition is true
     Started: 18:51:16.352294
    Duration: 4.037 ms
     Changes:
----------
          ID: intel_ax210_workaround_modprobe_conf_removed
    Function: file.absent
        Name: /etc/modprobe.d/intel-ax210-workaround.conf
      Result: True
     Comment: File /etc/modprobe.d/intel-ax210-workaround.conf is not present
     Started: 18:51:16.356399
    Duration: 0.282 ms
     Changes:
----------
          ID: intel_ax210_workaround_initramfs_updated
    Function: cmd.run
        Name: update-initramfs -u
      Result: True
     Comment: State was not run because none of the onchanges reqs changed
     Started: 18:51:16.356879
    Duration: 0.001 ms
     Changes:

Summary for local
------------
Succeeded: 8
Failed:    0
------------
Total states run:     8
Total run time:   1.642 s

And if I try the workaround described here  immediatly after
I get :
$ sudo systemctl disable intel-ax210-workaround.service
  > Failed to disable unit: Unit file intel-ax210-workaround.service does not exist.
$ sudo mv /lib/firmware/iwlwifi-ty-a0-gf-a0.pnvm.renamed-by-salt /lib/firmware/iwlwifi-ty-a0-gf-a0.pnvm
  > mv: cannot stat '/lib/firmware/iwlwifi-ty-a0-gf-a0.pnvm.renamed-by-salt': No such file or directory
$ sudo rmmod iwlmvm
$ sudo rmmod iwlwifi
$ sudo modprobe iwlwifi
$

I tried booting ubuntu 22 from a usb key and wifi didn't work there either.
I'm a bit lost as how to fix this issue do you have any idea of what's going on ?
Thanks

The workaround you tried is only relevant if you were running 20.04.3 or earlier with kernel 5.11. WiFi was broken on 5.11 which required the ax210 workaround the formula applies. Sometime between 20.04.3 and 20.04.4 the kernel got upgraded to 5.13 at which point WiFi broke for people who had used the formula because the workaround broke WiFi with 5.13. So this is to undo that so people get their WiFi back. The formula looks at the current kernel. If it sees it's not 5.11, it checks to find if it previously applied the ax210 workaround and if so, it removes it. It doesn't apply anything else on 20.04.4 or 22.04 as WiFi should work out of the box. So I'm afraid it won't solve your problem as it isn't relevant to it. You should probably post in the community forum with more details on the WiFi problem so more eyes can look at it.

Thanks for your help!
As explained on the forum here I chose to install install ubuntu 21 becuase I don't have the time to deal with this issues.


Upload fails, completely useless

What's up with this tool?  no updates in 3 years and it doesn't even work.

This project doesn't currently have an active maintainer. I originally
wrote it, but it's been years since I've worked with a Sendy installation,
and I don't even have a valid license anymore. Anyone is free to submit a
pull request or fork it for newer Sendy versions.
On Wed, Mar 10, 2021, 6:03 PM Steve Gehrman @.***>
wrote:

What's up with this tool? no updates in 3 years and it doesn't even work.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/userexec/Sendy-BEE-free-Uploader/issues/12, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABNRRWPROGJIAAAIUQFZ52TTDAJHLANCNFSM4Y7JXDGA
.


Tooltip not showing in Firefox browser

Tooltip not showing in Firefox.
Left - Firefox.  Right - Chrome

Firefox: 76.0 (64-bit)
Chrome: 83.0.4103.61 (Official Build) (64-bit)

duplicate.
https://github.com/apache/incubator-superset/issues/9976


IPV4 or CIDR for Storage, event hub etc

hi,
I am trying to add 2 IP or CIDR ranges to my storage account or event hub namespsace in this case using az cli but it won't let me add more than one at a time. I am using this following command:
az eventhubs namespace network-rule add
--namespace-name ns-name
--resource-group rg-name
--ip-address <IP_ADDRESS>/16,<IP_ADDRESS>/24 (allows me add one IP, how can I add more IPs here?)
I keep getting this error when I add more than one IP:
ERROR: BadRequest: The provided ip address mask does not follow the CIDR notation.
When I run the command twice with separate IPs then it works fine but I don't want that. I want to be able to add more IPs to one single command such as above az cli script. Any ideas? Thanks!

Hi @Ehsaan-Azizi, are you able to run the above script with azure cli in the terminal?

Hi Deepak,
Sorry for the late reply, yes I can run it in the terminal but it won't let me put more than one subnet.
Regards,
Ehsan Azizi, MS CS
Engineer | IT Infrastructure

From: github-actions[bot] @.>
Sent: Tuesday, February 1, 2022 3:00:50 AM
To: Azure/cli @.>
Cc: Azizi, Ehsan @.>; Mention @.>
Subject: Re: [Azure/cli] IPV4 or CIDR for Storage, event hub etc (Issue #70)
This issue is stale because it has been open for 7 days with no activity.
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/Azure/cli/issues/70*issuecomment-1026610816__;Iw!!OgnrLJOUc50AAzM!c7IJxr7G20Cl0u62zyPb3P2JOiCme7LjyHZwjFOGs1oxwI5CgusT3f2Ak-ISlA$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AUGSHGVN7TQNJKX2WZFSC3TUY6OMFANCNFSM5MQFMJJA__;!!OgnrLJOUc50AAzM!c7IJxr7G20Cl0u62zyPb3P2JOiCme7LjyHZwjFOGs1oxwI5CgusT3f12orifGg$.
Triage notifications on the go with GitHub Mobile for iOShttps://urldefense.com/v3/__https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675__;!!OgnrLJOUc50AAzM!c7IJxr7G20Cl0u62zyPb3P2JOiCme7LjyHZwjFOGs1oxwI5CgusT3f1yvN2ONA$ or Androidhttps://urldefense.com/v3/__https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign*3Dnotification-email*26utm_medium*3Demail*26utm_source*3Dgithub__;JSUlJSU!!OgnrLJOUc50AAzM!c7IJxr7G20Cl0u62zyPb3P2JOiCme7LjyHZwjFOGs1oxwI5CgusT3f3fJYEECQ$.
You are receiving this because you were mentioned.Message ID: @.***>

Hi there,
This issue should not be stale since I replied earlier this month. I still haven't resolved the issue. Please advise!

Hi @Ehsaan-Azizi

Sorry for the late reply, yes I can run it in the terminal but it won't let me put more than one subnet.

If I understand correctly you are not able to run the command even from azure-cli in your terminal. That means the issue if with the underlying cli itself. I have raised an issue with azure-cli team as this repo is for the action based on azure-cli rather than azure-cli itself.
https://github.com/Azure/azure-cli/issues/21098

Hi @Ehsaan-Azizi are you still facing this issue? If no then should I go ahead and close the issue. Any further azure-cli related conversation can continue on the issue  created with azure-cli team here https://github.com/Azure/azure-cli/issues/21098


[fixidx] Table function expression ids

Simplify and fix plan.TableAlias indexing. Some table alias children have their own expression ids, but sql.TableFunction implementations don't necessarily extend the plan.TableIdNode interface and rely on the analyzer to populate column ids. There are a couple ways to simplify this in the future, like adding an intermediate prunable sql.Projector node for table functions, or having pruning clean up after itself by updating node and parent table alias columns.
TODO: this case is kind of hard to test, but trying to come up with something.

Thanks! Added a table function script test that mimics the failure in Dolt.


Error MSB4018 The "ReplaceMUXWinRTRegistrations" task failed unexpectedly

Describe the bug
Severity	Code	Description	Project	File	Line	Suppression State
Error	MSB4018	The "ReplaceMUXWinRTRegistrations" task failed unexpectedly.
System.IO.FileNotFoundException: Could not find file 'C:\Users\USER\.nuget\packages\microsoft.projectreunion.winui\0.5.0-prerelease\buildTransitive\LiftedWinRTClassRegistrations.xml'.
File name: 'C:\Users\USER\.nuget\packages\microsoft.projectreunion.winui\0.5.0-prerelease\buildTransitive\LiftedWinRTClassRegistrations.xml'
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
   at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials, IWebProxy proxy, RequestCachePolicy cachePolicy)
   at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
   at System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver)
   at System.Threading.CompressedStack.runTryCode(Object userData)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   at System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state)
   at System.Xml.XmlTextReaderImpl.OpenUrl()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
   at System.Xml.XmlDocument.Load(XmlReader reader)
   at System.Xml.XmlDocument.Load(String filename)
   at InlineCode.ReplaceMUXWinRTRegistrations.Execute() in c:\Users\Andre\AppData\Local\Temp\sw24uwpw.0.cs:line 116
   at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
   at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext()	Downloader_Package	D:\VSTS\Source\Repos\Entertainment\Downloader\Downloader (Package)\build\Microsoft.WinUI.AppX.targets	45

"LiftedWinRTClassRegistrations.xml" does not exist in that path
content.txt
Steps to reproduce the bug
started from a "Win UI Desktop App" fresh created based on WinUI 3 Preview 4 and added WebView and other things
following Project Reunion instructions removed the WinUI VS Extensions and did also a revert of WebView Component
after removal installed Project Reunion Visual Studio Extension
removed WinUI3 Preview4 NuGET Package from WinUI Desktop App and added Microsoft.ProjectReunion NuGET Package
clean Solution and build Solution
Expected behavior
no error message and Project should successfully compile
Screenshots
n/a
Version Info
NuGet package version:
Microsoft.ProjectReunion 0.5.0-prerelease

Windows 10 version
Saw the problem?

20H2 (19042)
Yes

Additional context
n/a

Please replace Microsoft.WinUI.AppX.targets file in build folder of the packaging project with the one from Microsoft.ProjectReunion.WinUI package (under build folder).

i found the Microsoft.WinUI.AppX.targets file in build folder of the packaging project (its the only content in this folder) but what do you mean with "the one from Microsoft.ProjectReunion.WinUI package (under build folder)." ?

it's in your nuget cache. Usually it's under C:\Users[username].nuget\packages\microsoft.projectreunion.winui\0.5.0-Prerelease\build

this solved the problem and build was successful
thank you for your help!


Error: No artifacts were found.  (ubuntu-20.04)

I had used tauri-action@dev and the error still occurred.
Also, my project name is non-ascii and I am not sure whether it is causing.
my github action file:  https://github.com/1595901624/gpt-aggregated-edition/blob/master/.github/workflows/publish.yml

This will be fixed in tauri 1.3: https://github.com/tauri-apps/tauri/pull/5872 - imho it's not worth to add a workaround in tauri-action (since we'd have to detect the used tauri cli version etc)


Reasoning behind spanning CodeGeneration through the Engine assembly

Hello,
It appears as though TransformationContext is really key to driving the whole code generation process. However, what I do not understand is why instantiation occurs in the Engine assembly and not in the CodeGeneration.Roslyn?
Thank you, cheers.

CodeGeneration.Roslyn is supposed to only contain an API interface required for implementation of generators.
Engine package is used by the Tool (dotnet-codegen) and contains an implementation of the process.

Thank you for that. Appreciated.


list-wallets command test coverage

Issue #20

100 tokens rewarded. TXID: 40fa56e7e2e70d971e340cee0032cdf6b06ea1bc1c01d6b8f6553e5a7acd88ff

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


What is the best way to check for properties in multiple messages?

What is the best way to check for properties in multiple messages?
I would like to write something similar to
InMemorySink.Instance.Should()
            .HaveMessage("HTTP {RequestMethod} {RequestPath} responded {StatusCode} in {Elapsed:0.0000} ms")
            .WithLevel(LogEventLevel.Information)
            .Appearing().Times(2)
            .WithProperty("CorrelationId").BeEquivalentTo(new string[] { "CorrelationId1", "CorrelationId2"});  // Something like this.

My current solution is
        InMemorySink.Instance.Should()
            .HaveMessage("HTTP {RequestMethod} {RequestPath} responded {StatusCode} in {Elapsed:0.0000} ms")
            .WithLevel(LogEventLevel.Information)
            .Appearing().Times(2)
            .Subject
            .Select(r => r.Properties["CorrelationId"].ToString().Trim('"'))
            .Should()
            .BeEquivalentTo(new string[] { "CorrelationId1", "CorrelationId2" });


Adds gulp.

Not 100% ready. Needs work.

@AchillesKal could you outline what is missing from this pull request?


restructure-base

Restructuring repo

Created envs
Added seperate base.py with abstract class to each submodule
Seperated common in utils

TODO:
Create logical structure within utils

This structure makes more sense.
Tho why did you more rrtstar into rrt.py


ja: Make docs/concepts/cluster-administration/networking.md follow v1.18 of the original text

This is a Feature Request

What would you like to be added
Update docs/concepts/cluster-administration/networking.md to follow v1.18 of the original (English) text.
Why is this needed
content/ja/docs/concepts/cluster-administration/networking.md is outdated.
Comments
/language ja
/good-first-issue
File to update
https://github.com/kubernetes/website/blob/dev-1.18-ja.1/content/ja/docs/concepts/cluster-administration/networking.md
Original
https://github.com/kubernetes/website/blob/fb6364d/content/en/docs/concepts/cluster-administration/networking.md
diff between translated and v1.18
https://gist.github.com/04cb2c7deccea82a135648cdda61e606
Note
Currently, we use dev-1.18-ja.1 branch. Please open a PR targeting the branch.
ref
https://kubernetes.io/ja/docs/contribute/localization/
If you have a question, feel free to ask us at slack.k8s.io #kubernetes-docs-ja channel.

/assign

/close


Undefined is not an object (evaluating '_reactNative.Image.resizeMode.stretch')

Environment
React Native Environment Info:
    System:
      OS: macOS High Sierra 10.13.6
      CPU: x64 Intel(R) Core(TM) i5-4278U CPU @ 2.60GHz
      Memory: 30.31 MB / 8.00 GB
      Shell: 3.2.57 - /bin/bash
    Binaries:
      Node: 8.9.1 - /usr/local/bin/node
      npm: 5.5.1 - /usr/local/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 11.4, macOS 10.13, tvOS 11.4, watchOS 4.3
      Android SDK:
        Build Tools: 23.0.1, 23.0.3, 25.0.0, 25.0.1, 25.0.2, 25.0.3, 26.0.0, 26.0.1, 26.0.2, 26.0.3, 27.0.0, 27.0.1, 27.0.2, 27.0.3
        API Levels: 21, 22, 23, 24, 25, 26, 27
    IDEs:
      Android Studio: 3.1 AI-173.4819257
      Xcode: 9.4.1/9F2000 - /usr/bin/xcodebuild
    npmPackages:
      react: ^16.2.0 => 16.4.1
      react-native: ^0.56.0 => 0.56.0
    npmGlobalPackages:
      react-native-cli: 2.0.1
      react-native-git-upgrade: 0.2.7
      react-native-rename: 2.1.5

Description
I did the react-native upgrade to 0.56 after compiling on the android I get the following error when trying to open the application:
E/ReactNativeJS: undefined is not an object (evaluating '_reactNative.Image.resizeMode.stretch')
E/unknown:ReactNative: Unable to launch redbox because react activity is not available, here is the error that redbox would've displayed: undefined is not an object (evaluating '_reactNative.Image.resizeMode.stretch')

my code uses Image.resizeMode.cover and triggers the same error after upgrade, also on Android.

Anything here?

That's because since 0.56 Image.resizeMode is not exposed anymore.


Here's a question.

Hello, developers.
Thank you so much for the patch.
What is the overlay mark next to the Steam nickname after today's patch?

It makes your opponents know that you are using a overlay. In order to get rid of it all you need to do is to restart the game without running the overlay.


AttributeError: 'List' object has no attribute 'append'

class Track(dexml.Model):
def init(self, number = None):
self.number = fields.String()
self.total_length = fields.String()
self.subtracks = fields.List(SubTrack)
this_track = Track()
this_subtrack = SubTrack()
this_track.subtracks.append(SubTrack)
produces the error
AttributeError: 'List' object has no attribute 'append'

Thanks for reaching out. Unfortunately I am no longer actively maintaining this project, so I'm going to move it into archive mode:
https://rfk.id.au/blog/entry/archiving-open-source-projects/


Symlink libcuda.so.1 to libcuda.so stubs?

Comment:
In the system /usr/lib folder we have e.g.
lrwxrwxrwx.   1 root root       12 Mar 14 17:25 libcuda.so -> libcuda.so.1
lrwxrwxrwx.   1 root root       20 Mar 14 17:25 libcuda.so.1 -> libcuda.so.550.54.14
-rwxr-xr-x.   1 root root 24330976 Mar 14 17:25 libcuda.so.550.54.14

meaning that an application can access the real so through those three different points.
It seems unlikely that an application will use libcuda.so.550.54.14, but we've found one (llama.cpp) which looks for libcuda.so.1 (while building against cuda 12.3) so we had to create the symlink as part of that feedstock. Should it be here?

Can you please share the build?

It's here
But I've just been informed of cuda-compat, is that what the purpose of that is?

This allows using an older NVIDIA driver with a newer CUDA Toolkit, with several caveats.
More information about "Forward Compatibility" https://docs.nvidia.com/deploy/cuda-compatibility/#forward-compatibility-title

Ah ok. This isn't the use case I've got, though. So should the libcuda.so.1 to libcuda.so symlink be moved to this feedstock? (opposite way around to the symlinks in the system installation, but seems to make sense for this purpose).

Is libcuda.so.1 needed for linking or loading?

linking (compilation fails without the symlink in the host environment during build)


multi-node training does not launch on supercomputer cluster

System Info
accelerate 0.23.0
pytorch 2.0.1

working on school's super computer cluster:
Linux version 4.18.0-477.27.1.el8_8.x86_64<EMAIL_ADDRESS>(gcc version 8.5.0 20210514 (Red Hat 8.5.0-18) (GCC)) #1 SMP Thu Aug 31 10:29:22 EDT 2023

Information

[ ] The official example scripts
[X] My own modified scripts

Tasks

[ ] One of the scripts in the examples/ folder of Accelerate or an officially supported no_trainer script in the examples folder of the transformers repo (such as run_no_trainer_glue.py)
[X] My own task or dataset (give details below)

Reproduction
each node have 2 A100 cards, using below command to launch training
accelerate launch --config_file gpu8.yaml main.py

gpu8.yaml:
compute_environment: LOCAL_MACHINE
debug: false
distributed_type: MULTI_GPU
downcast_bf16: 'no'
gpu_ids: 0,1
machine_rank: 0
main_process_ip: <IP_ADDRESS> (example)
main_process_port: 43960
main_training_function: main
mixed_precision: bf16
num_machines: 4
num_processes: 8
rdzv_backend: static
same_network: true
tpu_env: []
tpu_use_cluster: false
tpu_use_sudo: false
use_cpu: false

the training does not start. log file is empty.
the codebase had been debugged, and always runs fine with 1 or 2 cards on a single node. is the yaml file wrong? and how does accelerate know where are the rest of the machines?
Expected behavior
training should start, and each process will have identifiable output in log file.

Are you running the launch command on each system?

Hi,
I just won the prize for dumbest question asked in the 21st century. I've never trained with multiple nodes before, thanks for pointing that out haha.
I will create use a script to create multiple configs, and assigning each node with appropriate command and config file.
Michael

Hi, sorry to reopen this. I modified my procedures, but its still not working. i am trying to use 4 nodes, each with 2 gpus.
i use a submit.sh file to submit the job, specifying all the parameters needed. within the submit.sh file, a python file will be executed to parse the nodes assigned, create all the required yaml files, and generate another burst_command.sh file with below content:
srun --nodelist=p-gc-3007 accelerate launch --config_file 8gpus_r0.yaml main.py
srun --nodelist=p-gc-3016 accelerate launch --config_file 8gpus_r1.yaml main.py
srun --nodelist=p-gc-3008 accelerate launch --config_file 8gpus_r2.yaml main.py
srun --nodelist=p-gc-3009 accelerate launch --config_file 8gpus_r3.yaml main.py

the submit.sh file will then run the burst_command.sh file, launching all the workers on different nodes.
This is the script i used to start the distributed training. and 8gpus_r0.yaml looks like this
compute_environment: LOCAL_MACHINE
debug: false
distributed_type: MULTI_GPU
downcast_bf16: 'no'
gpu_ids: 0,1
machine_rank: 0
main_process_ip: <IP_ADDRESS>
main_process_port: 30000
main_training_function: main
mixed_precision: bf16
num_machines: 4
num_processes: 8
rdzv_backend: static
same_network: true
tpu_env: []
tpu_use_cluster: false
tpu_use_sudo: false
use_cpu: false

where the machine_rank are changed to reflect the rank.
the rank0 machine fails with this error:
[W socket.cpp:426] [c10d] The server socket has failed to bind to [::]:30000 (errno: 98 - Address already in use).
[W socket.cpp:426] [c10d] The server socket has failed to bind to <IP_ADDRESS>:30000 (errno: 98 - Address already in use).
[E socket.cpp:462] [c10d] The server socket has failed to listen on any local network address.
Traceback (most recent call last):
  File "/storage/home/ybh5084/.conda/envs/richtsmeier_training/bin/accelerate", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/storage/home/ybh5084/.conda/envs/richtsmeier_training/lib/python3.11/site-packages/accelerate/commands/accelerate_cli.py", line 47, in main
    args.func(args)
  File "/storage/home/ybh5084/.conda/envs/richtsmeier_training/lib/python3.11/site-packages/accelerate/commands/launch.py", line 977, in launch_command
    multi_gpu_launcher(args)
  File "/storage/home/ybh5084/.conda/envs/richtsmeier_training/lib/python3.11/site-packages/accelerate/commands/launch.py", line 646, in multi_gpu_launcher
    distrib_run.run(args)
  File "/storage/home/ybh5084/.conda/envs/richtsmeier_training/lib/python3.11/site-packages/torch/distributed/run.py", line 785, in run
    elastic_launch(
  File "/storage/home/ybh5084/.conda/envs/richtsmeier_training/lib/python3.11/site-packages/torch/distributed/launcher/api.py", line 134, in __call__
    return launch_agent(self._config, self._entrypoint, list(args))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/storage/home/ybh5084/.conda/envs/richtsmeier_training/lib/python3.11/site-packages/torch/distributed/launcher/api.py", line 241, in launch_agent
    result = agent.run()
             ^^^^^^^^^^^
  File "/storage/home/ybh5084/.conda/envs/richtsmeier_training/lib/python3.11/site-packages/torch/distributed/elastic/metrics/api.py", line 129, in wrapper
    result = f(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^
  File "/storage/home/ybh5084/.conda/envs/richtsmeier_training/lib/python3.11/site-packages/torch/distributed/elastic/agent/server/api.py", line 723, in run
    result = self._invoke_run(role)
             ^^^^^^^^^^^^^^^^^^^^^^
  File "/storage/home/ybh5084/.conda/envs/richtsmeier_training/lib/python3.11/site-packages/torch/distributed/elastic/agent/server/api.py", line 858, in _invoke_run
    self._initialize_workers(self._worker_group)
  File "/storage/home/ybh5084/.conda/envs/richtsmeier_training/lib/python3.11/site-packages/torch/distributed/elastic/metrics/api.py", line 129, in wrapper
    result = f(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^
  File "/storage/home/ybh5084/.conda/envs/richtsmeier_training/lib/python3.11/site-packages/torch/distributed/elastic/agent/server/api.py", line 692, in _initialize_workers
    self._rendezvous(worker_group)
  File "/storage/home/ybh5084/.conda/envs/richtsmeier_training/lib/python3.11/site-packages/torch/distributed/elastic/metrics/api.py", line 129, in wrapper
    result = f(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^
  File "/storage/home/ybh5084/.conda/envs/richtsmeier_training/lib/python3.11/site-packages/torch/distributed/elastic/agent/server/api.py", line 546, in _rendezvous
    store, group_rank, group_world_size = spec.rdzv_handler.next_rendezvous()
                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/storage/home/ybh5084/.conda/envs/richtsmeier_training/lib/python3.11/site-packages/torch/distributed/elastic/rendezvous/static_tcp_rendezvous.py", line 55, in next_rendezvous
    self._store = TCPStore(  # type: ignore[call-arg]
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: The server socket has failed to listen on any local network address. The server socket has failed to bind to [::]:30000 (errno: 98 - Address already in use). The server socket has failed to bind to <IP_ADDRESS>:30000 (errno: 98 - Address already in use).

the rest of the ranks fail with this error:
Traceback (most recent call last):
Traceback (most recent call last):
  File "/storage/home/ybh5084/.conda/envs/richtsmeier_training/bin/accelerate", line 8, in <module>
  File "/storage/home/ybh5084/.conda/envs/richtsmeier_training/bin/accelerate", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/storage/home/ybh5084/.conda/envs/richtsmeier_training/lib/python3.11/site-packages/accelerate/commands/accelerate_cli.py", line 47, in main
    sys.exit(main())
             ^^^^^^
    args.func(args)
  File "/storage/home/ybh5084/.conda/envs/richtsmeier_training/lib/python3.11/site-packages/accelerate/commands/accelerate_cli.py", line 47, in main
  File "/storage/home/ybh5084/.conda/envs/richtsmeier_training/lib/python3.11/site-packages/accelerate/commands/launch.py", line 977, in launch_command
    args.func(args)
  File "/storage/home/ybh5084/.conda/envs/richtsmeier_training/lib/python3.11/site-packages/accelerate/commands/launch.py", line 977, in launch_command
    multi_gpu_launcher(args)
  File "/storage/home/ybh5084/.conda/envs/richtsmeier_training/lib/python3.11/site-packages/accelerate/commands/launch.py", line 636, in multi_gpu_launcher
    multi_gpu_launcher(args)
  File "/storage/home/ybh5084/.conda/envs/richtsmeier_training/lib/python3.11/site-packages/accelerate/commands/launch.py", line 636, in multi_gpu_launcher
    current_env = prepare_multi_gpu_env(args)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/storage/home/ybh5084/.conda/envs/richtsmeier_training/lib/python3.11/site-packages/accelerate/utils/launch.py", line 131, in prepare_multi_gpu_env
    current_env = prepare_multi_gpu_env(args)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/storage/home/ybh5084/.conda/envs/richtsmeier_training/lib/python3.11/site-packages/accelerate/utils/launch.py", line 131, in prepare_multi_gpu_env
    raise ConnectionError(
ConnectionError: Tried to launch distributed communication on port `30000`, but another process is utilizing it. Please specify a different port (such as using the `----main_process_port` flag or specifying a different `main_process_port` in your config file) and rerun your script. To automatically use the next open port (on a single node), you can set this to `0`.
    raise ConnectionError(
ConnectionError: Tried to launch distributed communication on port `30000`, but another process is utilizing it. Please specify a different port (such as using the `----main_process_port` flag or specifying a different `main_process_port` in your config file) and rerun your script. To automatically use the next open port (on a single node), you can set this to `0`.

this looks like an issue with port 30000 not free, but I use a python function to find a free port:
def find_free_port(ip, start_port, end_port):
    for port in range(start_port, end_port + 1):
        with closing(socket.socket(socket.AF_INET, socket.SOCK_STREAM)) as s:
            try:
                s.bind((ip, port))
                # If successful, return this port.
                return port
            except socket.error:
                # This port is already in use, try the next one.
                continue
    raise RuntimeError(f"No free port found in the range {start_port}-{end_port}")

i suspected that the port is not immediately free-ed for accelerate, i also tried to use a fixed port (without the function) 29500, didn't work. I also tried to add sleep 10 at the beginning of the burst_command.sh file, didn't work.
please let me know what else i should provide, and how to resolve this. Is this an accelerate issue? or is it a cluster issue?

@muellerzr
can you give some suggestions when you get a chance?

Hi @Michael-H777,
I'm also facing a similar issue (I'm also having trouble using accelerate for multi-node training). I'm running my code on my school's supercomputer cluster and don't have experience doing multi node training. Can you tell me how you assigned each node with appropriate command and config file?

@RoozbehNahavandi
PARTIAL SOLUTION!!!
i was not able to get multi-node to work. I keep having issue with socket binding. the below approach was able to assign each node specific command and .yml file, but the socket keeps having issue. I left the university before i can resolve this.
I added additional script at the begining of the launch script.
use the additional script to parse the nodes assigned, create separate .yml file for each node, then generated a secondary sh file with pre-determined name, where each node gets its own .yml in their respective command line.
=============
content of launch script:
#slurm configs xxxx
#slurm configs xxxx

python script_to_parse_nodes_and_create_new_command.py

bash burst_command.sh
=============
content of burst_command.sh
srun --nodelist=p-gc-{node1} accelerate launch --config_file 8gpus_node1.yaml main.py
srun --nodelist=p-gc-{node2} accelerate launch --config_file 8gpus_node2.yaml main.py
srun --nodelist=p-gc-{node3} accelerate launch --config_file 8gpus_node3.yaml main.py
srun --nodelist=p-gc-{node4} accelerate launch --config_file 8gpus_node4.yaml main.py
=============

content of the script
import re
import socket
import subprocess
from contextlib import closing

import yaml

"""
$ echo $SLURM_JOB_NODELIST
p-gc-[2131-2132]

$ nslookup p-gc-2131
Server: <IP_ADDRESS>
Address: <IP_ADDRESS>#53

Name: p-gc-2131.2e.xxx.xxx.xxx
Address: <IP_ADDRESS>
"""

def find_free_port(ip, start_port, end_port):
    for port in range(start_port, end_port + 1):
        with closing(socket.socket(socket.AF_INET, socket.SOCK_STREAM)) as s:
            try:
                s.bind((ip, port))
                # If successful, return this port.
                return port
            except socket.error:
                # This port is already in use, try the next one.
                continue
    raise RuntimeError(f"No free port found in the range {start_port}-{end_port}")

def main():
    with open("8gpus.yaml", "r") as file:
        yaml_config = yaml.safe_load(file)

    single_regex = re.compile("[^-](\d{4})[^-]")
    range_regex = re.compile("(\d{4}-\d{4})")
    # p-sc-[2131-2132]
    node_names = subprocess.run("echo $SLURM_JOB_NODELIST", stdout=subprocess.PIPE, shell=True, text=True).stdout
    print(f"output of [echo $SLURM_JOB_NODELIST]: {node_names}")
    single_nodes = [int(each) for each in single_regex.findall(node_names)]
    range_nodes = [each.split("-") for each in range_regex.findall(node_names)]
    node_names = single_nodes.copy()
    [node_names.extend(range(int(start), int(end) + 1)) for start, end in range_nodes]
    print(f"parsed node list: {node_names}")
    """
    output of [echo $SLURM_JOB_NODELIST]: p-gc-[3007-3009,3016]
    parsed node list: [3016, 3007, 3008, 3009]
    """

    hostname = subprocess.run("hostname", stdout=subprocess.PIPE, shell=True, text=True).stdout
    hostname = int(hostname.split("-")[-1].strip())
    print(f"hostname: {hostname}")

    node_names.remove(hostname)
    node_names.insert(0, hostname)

    head_node = node_names[0]
    head_ip = subprocess.run(f"nslookup p-gc-{head_node}", stdout=subprocess.PIPE, shell=True, text=True).stdout
    head_ip = head_ip.strip().split("\n")[0].split(":")[1].strip()
    print(f"{head_node} has ip: {head_ip}")
    """
    $ nslookup p-gc-2131
    Server: <IP_ADDRESS>
    Address: <IP_ADDRESS>#53

    Name: p-gc-2131.2e.xxx.xxx.xxx
    Address: <IP_ADDRESS>
    """

    yaml_config["main_process_ip"] = head_ip
    yaml_config["main_process_port"] = 6000

    for rank in range(4):
        with open(f"8gpus{rank}.yaml", "w") as file:
            yaml_config["machine_rank"] = rank
            yaml.dump(yaml_config, file)

    bash_template = "srun --nodelist=p-gc-{} {}"
    command_template = "accelerate launch --config_file 8gpus{}.yaml main.py"

    commands = [
        # srun --nodelist=p-gc-{2131} {accelerate launch --config_file gpu8_r{0}.yaml main.py}
        bash_template.format(node, command_template.format(rank))
        for rank, node in enumerate(node_names)
    ]
    commands.insert(1, 'sleep 20')
    with open("burst_command.sh", "w") as fileout:
        fileout.write('echo "reached burst_command.sh launch command"\n')
        [fileout.write(each + "\n") for each in commands]

    with open('srun.conf', 'w') as fileout:
        [fileout.write(f'{rank} {command_template.format(rank)}\n') for rank in range(4)]

if __name__ == "__main__":
    main()


(BUG)- Auth page

The SignIn page is not looking good because of this white background-

The SignUp page is not looking good because of this white background-

#225

Hi @jain-anshika , would you mind assigning this issue to me?

I will do it assign this to  me


Add encoder for refresh_token

I am using this bundle and it works perfectly and is easy to installe (great work guys ! Thanks !)
Anyway, i've noticed that tokens are actually stored in plain text in the db. I think this could be a weakness in any app if there is an fraudulous access on database.
I did not found any information on how to enable an encoding of the refresh tokens. Does anybody have an information on this ?
I would also suggest to add a buil-in solution for the bundle to easily add an encoder.
Thanks

# services.yaml
gesdinet.jwtrefreshtoken.refresh_token_manager:
        class: App\Security\RefreshTokenManager

<?php
# App\Security\RefreshTokenManager.php

namespace App\Security;

use Gesdinet\JWTRefreshTokenBundle\Model\RefreshTokenManagerInterface;

class RefreshTokenManager implements RefreshTokenManagerInterface
{
}

Now you can actually do what ever you want - put the refresh tokens in redis fx? - Or encrypt them as you like.


libimobiledevice-glue: 1.2.0 -> 1.3.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/libimobiledevice/libimobiledevice-glue/releases.
meta.description for libimobiledevice-glue is: Library with common code used by the libraries and tools around the libimobiledevice project
meta.homepage for libimobiledevice-glue is: https://github.com/libimobiledevice/libimobiledevice-glue
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 1.3.0 with grep in /nix/store/bw41jg0rzx4a7pqg341k4kbrvyp2ipfp-libimobiledevice-glue-1.3.0
found 1.3.0 in filename of file in /nix/store/bw41jg0rzx4a7pqg341k4kbrvyp2ipfp-libimobiledevice-glue-1.3.0

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

451 total rebuild path(s)

451 package rebuild(s)

First fifty rebuilds by attrpath

adapta-gtk-theme
ags
almanah
ayatana-indicator-datetime
ayatana-indicator-session
bubblemail
budgie.budgie-control-center
budgie.budgie-desktop
budgie.budgie-desktop-with-plugins
budgie.budgie-gsettings-overrides
budgie.budgie-session
budgie.magpie
budgiePlugins.budgie-analogue-clock-applet
budgiePlugins.budgie-user-indicator-redux
calls
chatty
cinnamon.cinnamon-common
cinnamon.cinnamon-control-center
cinnamon.cinnamon-gsettings-overrides
cinnamon.cinnamon-screensaver
cinnamon.cinnamon-session
cinnamon.cinnamon-settings-daemon
cinnamon.nemo
cinnamon.nemo-fileroller
cinnamon.nemo-python
cinnamon.nemo-with-extensions
clementine
clight
collision
droidcam
dropbox-cli
eiciel
endeavour
eolie
evolution
evolution-data-server
evolution-data-server-gtk4
evolution-ews
evolutionWithPlugins
folks
francis
gfbgraph
gitg
gnome-browser-connector
gnome-online-accounts
gnome-online-accounts-gtk
gnome-photos
gnome-recipes
gnome.cheese

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/bw41jg0rzx4a7pqg341k4kbrvyp2ipfp-libimobiledevice-glue-1.3.0 \
  --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 libimobiledevice-glue https://github.com/r-ryantm/nixpkgs/archive/b2ea3f9a4dba9ff747eb9483128cf07ee29e854c.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/b2ea3f9a4dba9ff747eb9483128cf07ee29e854c#libimobiledevice-glue

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/bw41jg0rzx4a7pqg341k4kbrvyp2ipfp-libimobiledevice-glue-1.3.0
ls -la /nix/store/bw41jg0rzx4a7pqg341k4kbrvyp2ipfp-libimobiledevice-glue-1.3.0/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.
nixpkgs-review took longer than 120m and timed out

Maintainer pings

Fixed by #320999


Import model fails

I tried to import my own tiny model (not done in exactly the same way as the browsermt student models) but it crashes the system. My tiny Swedish-Finnish model is here: https://object.pouta.csc.fi/Tatoeba-MT-models/browsermt/svfi.tiny.tar.gz and the bergamot/marian backend spits out:
[2021-12-10 09:13:29] Error: Item data size 65792 too large for memory 65536
[2021-12-10 09:13:29] Error: Aborted from void marian::TensorBase::set(const io::Item &) in /Users/tiedeman/research/translateLocal
ly/3rd_party/bergamot-translator/3rd_party/marian-dev/src/tensors/tensor.cpp:134

[CALL STACK]
3   translateLocally                    0x0000000108860668 _ZN6marian10TensorBase3setERKNS_2io4ItemE + 3816
4   translateLocally                    0x000000010899fe6d _ZNSt3__110__function6__funcIZN6marian5inits8fromItemERKNS2_2io4ItemEE4$
_12NS_9allocatorIS8_EEFv12IntrusivePtrINS2_10TensorBaseEEEEclEOSD_ + 29
5   translateLocally                    0x000000010898ef95 _ZN6marian5inits17LambdaInitConvert5applyE12IntrusivePtrINS_10TensorBaseEE + 101
6   translateLocally                    0x0000000108989c6b _ZN6marian9ParamNode4initEv + 59
7   translateLocally                    0x0000000108894650 _ZN6marian15ExpressionGraph7forwardERNSt3__14listI12IntrusivePtrINS_9Cha
inableIS3_INS_10TensorBaseEEEEENS1_9allocatorIS8_EEEEb + 128
8   translateLocally                    0x0000000108894555 _ZN6marian15ExpressionGraph11forwardNextEv + 997
9   translateLocally                    0x00000001086e7423 _ZN6marian8bergamot15BatchTranslator10initializeEv + 4131
10  translateLocally                    0x000000010870db4b _ZNSt3__1L14__thread_proxyINS_5tupleIJNS_10unique_ptrINS_15__thread_stru
ctENS_14default_deleteIS3_EEEEZN6marian8bergamot7ServiceC1ENS_10shared_ptrINS7_7OptionsEEENS8_12MemoryBundleEE3$_0EEEEEPvSG_ + 171
11  libsystem_pthread.dylib             0x00007fff7200d109 _pthread_start + 148
12  libsystem_pthread.dylib             0x00007fff72008b8b thread_start + 15

Hi @jorgtied ! I can confirm the issue. Could you please give me the raw .npzfile so i can debug and fix it. It's most definitely my bad, sorry about that.

I updated the tarball and the npz file should be in there now.

Hi Jorg. I have found the issue. TranslateLocally is based on this fork of marian: https://github.com/browsermt/marian-dev
You seem to have used a different model marian branch to convert the model to intgemm8. In order to fix it, just re-convert your  .bin model using the correct marian branch's marian-conv:
$ marian-conv -f opusTCv20210807+bt.model.npz -t model.myintgemm8.bin -g intgemm8
$ git remote -v
origin  git@github.com:browsermt/marian-dev.git (fetch)
origin  git@github.com:browsermt/marian-dev.git (push)

Also the model doesn't seem to have built-in alphas, which will cause the following runtime error:
[2021-12-11 13:02:03] [memory] Reserving 6 MB, device cpu0
[2021-12-11 13:02:03] Error: We did not find an alpha in the model named: F0::encoder_l1_self_Wq_QuantMultA.
[2021-12-11 13:02:03] Error: Aborted from marian::cpu::integer::fetchAlphaFromModelNodeOp::forwardOps()::<lambda()> in /home/dheart/uni_stuff/postdoc/debug_jorg/marian-dev/src/tensors/cpu/intgemm_interface.h:583

[CALL STACK]
[0x55fca9db8954]                                                       + 0x51f954
[0x55fca9b2d4e2]                                                       + 0x2944e2
[0x55fca9af8db5]                                                       + 0x25fdb5
[0x55fca9b69189]                                                       + 0x2d0189
[0x55fca99cb241]                                                       + 0x132241

To fix this change the last line of your config.intgemm8bitalpha.yml from:
gemm-precision: int8shiftAlphaAll

to:
gemm-precision: int8shift

Or bake in alphas in the model by following this tutorial: https://github.com/browsermt/students/tree/master/train-student#bergamot-fork-faster
I apologise for the poor documentation. I will add detailed guides on how to import your own model later today or tomorrow.

Fantastic! This did the trick and I got it running! Thanks a lot for the quick replies. This is so cool!
Just to confirm - the config file name is hard-coded and must be config.intgemm8bitalpha.yml, right?

Yeah the config file name is hard coded. I'll add instructions about it.

@jorgtied are you interested in having your models part of https://github.com/browsermt/students ?

Yes, why not. I still need some time to improve my compact / student models but once they are done they can definitely go into your collection if you like. I'd also like to have a separate opus-mt repository of compact models and will use a fork of translateLocally to demonstrate the use of that collection. Thanks for providing the app.

Yes definitely! If it is Ok with you, we can take the models that are ready and maintain a copy of them on our server. Also, if you need any help with creating efficient model/questions, let me know!

We could also get an extra metadata field that displays the origin of the model, so the models that you contribute will clearly be labelled.

Closing as resolved, we added documentation.


Bug: Cannot destructure property displayName of 'undefined' or 'null'.

When typing a lot of tags out, I seem to be getting this error for the currently released project at v1.0.1.
Cannot destructure property `displayName` of 'undefined' or 'null'.

I was noticing that incorrect entries were being left in the tree from watching typing of tags in relatively large documents ~500 lines. I'm thinking that I'll just need to debounce on file change to reduce the chance of the wrong tags being put into the tree.

The source of this is caused by tags that have a . in them.
<!--@nested-tags:some.md-->
Breaks the plugin.

I found another case can also cause this problem:
using a real tab instead of spaces before the tag keword.
For example:
---
title: Hello nested tags
tags:
	- topic  # a real tab instead of spaces
	- here/is/a/nested/example   # a real tab instead of spaces
---

Debugging is non-trivial. It will be great if the extension can complain something it can not handle...


Uses OpenMM 8.1 for CI tests

Codecov Report

Merging #32 (af2415e) into main (414b1b8) will not change coverage.
Report is 1 commits behind head on main.
The diff coverage is n/a.

Additional details and impacted files


Option for minimizing on start

Hey, first of all thanks for your great app, because it's really amazing.
Could you please add option for minimizing on start, because when we want to start a Spotify client from a apps menu, for example, we don't really want it to be minimized. So could you please add option for that, something like "-m" or "--minimized" would be great.
I have tried to do that by myself, but I haven't found where the app is being minimized on its boot.
Thanks in advance.

Update: I have done the feature that I described in this issue, but I believe that I haven't done it in the best way it can be done, because I have never worked with Qt Framework, so I haven't opened a PR. There's is my solution (very bad). If you want I can open a PR, or if you can find a better way to implement it, it would be very nice. Again, thanks in advance.

I had this need and what I did was add a script to start when the computer turns on. This script kills spotify (for some reason I couldn't remove it from startup :smile: ), starts it again, after a sleep starts the spotify-tray. I can share it here, I just don't do it now because I did it on my personal computer and it's dead now.

Thank you for your comments. I prefer to keep the minimized startup a default, so I have added a --show-window command line option. It must be specified as the first argument as all the others are passed to Spotify.
Also in your script you does not have to kill Spotify. spotify-tray will capture existing Spotify window instead of starting a new instance.


Update wps-office link

Tested on Debian testing & SparkyLinux 7

Hello, is there a way to find out these URLs programmatically (using curl or wget and grep)?

Done

Thanks @darekem73


Fix 4 findbugs warnings in JuniperSrxResource

Data should be read and written in UTF-8 to the SRX
Buffers were being used for reading but not for writing, PrintWriter was auto-flushing and code was explicitly flushing again, causing unnecessary operation to be performed.
Some operations might fail in OS that didn't use UTF-8 as default encoding, such as windows.

Patch fails for some reason

perhaps due to other changes in base file? I've rebased with current master, can you retry @bhaisaab ? :)

@rsafonseca works now, merging. Thanks for the PRs :)


Create prerequisites appropriate for load balancer.

This tutorial creates a Service of type LoadBalancer, so the reader needs to be using a cloud provider. I have updated the Before You Begin section to say, "Use a cloud provider ...".
This text was in the document originally, but I accidentally removed it in https://github.com/kubernetes/kubernetes.github.io/commit/c60107ea1c8b560a57fd4d190d832abe7ce49f58.

This change is

cc @waprin
Looking at Bill's minikube tutorial, can't type: LoadBalancer work with minikube as well?
Otherwise, I think a stand-alone page with instructions for running tutorials w/ node port might be good. It would be a shame of almost all of our tutorials stated they required a cloud provider.

@jeffmendoza

Looking at Bill's minikube tutorial, can't type: LoadBalancer work with minikube as well?

Otherwise, I think a stand-alone page with instructions for running tutorials w/ node port might be good. It would be a shame of almost all of our tutorials stated they required a cloud provider.
I think the three of us should discuss this in a meeting. It probably depend on whether you need an actual external IP address; you don't get that with Minikube.

Sounds good

/lgtm
If you want to merge now sounds good. We can come up with a better prereq template in January for how to run type: LoadBalancer on a non-cloud.

LoadBalancers don't work on Minikube in the sense that they don't provision an actual LoadBalancer. However do they make the Service externally visible (i.e. in your browser) via the minikube service command. In that sense, if you want to see your app run in the browser on Minikube, you must use type LoadBalancer.


Existing Extension services do not contain assembly definitions

Describe the bug
This issue stemmed out of attempting to create an example scene for an Extension Service I wrote (PR coming soon 😄 ). I found that it is impossible to reference anything inside of the Microsoft.MixedReality.Toolkit.Extensions namespace.
After further inspection, it appears Microsoft.MixedReality.Toolkit.Extensions does not have an assembly definition. @davidkline-ms pointed out that the proper pattern is for each extension service to have its own assembly definition.
To reproduce
Navigate to any of the Extension Services in Microsoft.MixedReality.Toolkit.Extensions.
Your Setup (please complete the following information)

Unity Version 2018.4.12f1
MRTK Version latest MRTK_development

Target Platform (please complete the following information)

HoloLens
HoloLens 2
WMR immersive
OpenVR

It feels like example scenes for extensions should ship side by side with the extension?
MRTK examples should be for core / SDK, while extensions, similar to ones that might ship independent of this repo and packaging, would be more standalone.

Totally valid point. I'd be happy to move everything over to appropriate Extensions folder before I open my PR. I haven't ever seen Examples anywhere other than in MixedRealityToolkit.Examples, including  MRTKExamplesHub which uses extension services.

Fixed in #6563 and added to 2.2.0 release in #6571


Misconfiguration issues

When there is a problem with the configuration file, there will be an error reminder, but after the server starts, the server will be stopped immediately, or it will crash directly, I checked for two days to know that it is a problem, can you change this?

It's a safety mechanism that I don't want to disable. If there's a configuration issue with some plugins while others are running, it can lead to internal data synchronization mismatches and corrupted state files. I don't want to cause any corruption and that's why the server is immediately stopped to prevent that from happening. Vane must be able to assume that all of the installed plugins are actually running to work correctly.
If you want to temporarily disable a plugin because you have configuration errors, please move the corresponding plugin file out of the plugins folder so that vane knows that it isn't currently in use.

It's a safety mechanism that I don't want to disable. If there's a configuration issue with some plugins while others are running, it can lead to internal data synchronization mismatches and corrupted state files. I don't want to cause any corruption and that's why the server is immediately stopped to prevent that from happening. Vane must be able to assume that all of the installed plugins are actually running to work correctly.这是一种我不想禁用的安全机制。如果某些插件在运行时出现配置问题，则可能导致内部数据同步不匹配和状态文件损坏。我不想造成任何损坏，这就是为什么立即停止服务器以防止这种情况发生的原因。Vane 必须能够假设所有已安装的插件实际上都在运行才能正常工作。
If you want to temporarily disable a plugin because you have configuration errors, please move the corresponding plugin file out of the plugins folder so that vane knows that it isn't currently in use.如果因为配置错误而想暂时禁用插件，请将相应的插件文件移出 plugins 文件夹，以便 vane 知道它当前未在使用中。

I see, but it could just be some eye-catching hint when vane shut down the server, otherwise no one would know what turned it off

The error message is quite extensive already. What do you find is unclear exactly?

Because my server will output a lot of logs when starting, and I used to occasionally encounter errors at startup, but it does not affect normal use, and vane has shut down the server after the error this time, can you not only remind that there is an error at startup, but when performing the shutdown, output a message prompt about whether the shutdown is performed by vane？


fixAnalyticEvalNode should call child's getOutputTupleIds method to get the correct output tuple id

Proposed changes
Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)

[ ] Does it affect the original behavior
[ ] Has unit tests been added
[ ] Has document been added or modified
[ ] Does it need to update dependencies
[ ] Is this PR support rollback (If NO, please explain WHY)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 33.94 seconds
stream load tsv:          424 seconds loaded<PHONE_NUMBER>9 Bytes, about 168 MB/s
stream load json:         24 seconds loaded<PHONE_NUMBER> Bytes, about 93 MB/s
stream load orc:          59 seconds loaded<PHONE_NUMBER> Bytes, about 17 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230427104308_clickbench_pr_136493.html


#79: refactoring to better reflect reality and improves navigation around the project.

LGTM.

LGTM.


[Bug] The "Track measurement" dialog does not appear when the left studies panel is folded.

Describe the Bug
If the left studies panel in the viewer is closed before creating any annotations, the "tracked measurements for this series" dialog does not appear at all, leaving the measurements untracked. This could lead to confusion for users as they may need to realize they need to open the panel before making the first annotations in order to mark the series as a tracked series.
Steps to Reproduce

Open the viewer.
Fold the left studies panel.
Create an annotation (for example, a length tool annotation).

The current behavior
The "Track measurement" dialog does not appear when the left studies panel is folded.
The expected behavior
The "Track measurement" dialog should appear even if the left studies panel is folded.
OS
macOS 13.4
Node version
19.7.0
Browser
Chrome 114.0.5735.133 (Official Build) (arm64)

Based on my understanding, when the panel is folded, the PanelStudyBrowserTracking component is not rendered, and as a result, the useEffect hook, which triggers the ‘TRACK_SERIES’ event that in turn displays the requested dialog, does not get executed at all.
One potential solution could be to move the contents of this useEffect to the parent SidePanel component. The SidePanel component appears to continue to be rendered even when the studies panel is folded, so this might be a more robust place to handle this functionality.


Tests are passing locally for one dev but not for another or Travis

We saw it at #194 and other PRs. Sometimes the tests fail on one machine and pass on others, with the different results on the second or third digit for some values. This is probably due to different versions of AVL, Python, or even dependencies.
This should be solved so we have consistency across machines and Travis.

Partially solved (only on Linux machines) with #200

Closed since we removed AVL (for now).


Update documentation link

Switch from the current readthedocs documentation to the Datafold hosted documentation, which is also open-source.

Page not found at root path: https://docs.datafold.com/os_diff/
Guides still mentions dbt: https://docs.datafold.com/guides/ci_guides_overview
imo The link to Join Us On Github should be just the repo https://github.com/datafold/data-diff, and not link the the README

Also, is it possible to use git submodule, or some other mechanism, so that the docs can stay on the same repo as the code? Having to do a separate docs PR, in a different repo from the code PR, will make keeping them in sync much harder.

@williebsweet I've added the Python API Reference and New Database Driver instructions to the datafold docs: https://github.com/datafold/datafold-docs/pull/32

@leoebfolsom There are some problems with this version of the Python API

There is no side menu for quickly jumping around
there are no links. for example, in "See Also", clicking object names doesn't send me to them.
Most importantly, this is not auto-generated. How will I keep it in sync with the docstrings?

Resolved the above by just linking out to the readthedocs for the Python API.
@erezsh should we remove the rest of the documentation from readthedocs so that we don't have to keep both up to date?


Update passportConfig.js

Greet Contributors Bot   Thank you for taking your time and effort for your contribution, we truly value it. :tada:   The amazing contributor in this pull request is @Naresh-chandanbatve


Update freedom-social-firebase version

freedom-social-firebase 0.0.11 had a bad build (firebase.js was missing, causing Facebook to be completely broken).  0.0.12 fixes this (includes firebase.js in the dist/ directory)

I'm going to be bad and merge this myself, as nobody is around for a code review and Firebase (Facebook) is completely broken in uProxy right now.  Sorry


New package: BetterExp v0.1.0

Registering package: BetterExp
Repository: https://github.com/oscardssmith/BetterExp.jl
Created by: @oscardssmith
Version: v0.1.0
Commit: f6d0ce9d6a1d99bd34b02b62dc1207615e7e81e6
Reviewed by: @oscardssmith
Reference: https://github.com/oscardssmith/BetterExp.jl/issues/2#issuecomment-687866307

Once I've made the change, what do I need to do to update the bot to that fact?

https://github.com/JuliaRegistries/General#how-do-i-retrigger-registrator-in-order-to-update-my-pull-request
[noblock]


Why doesn't  JedisCluster support pipelinling?

There isn't interface for pipelinling in the JedisCluster.

Because different commands in the pipeline might go to different nodes and
it's difficult to handle MOVED / ASK and errors when doing so.
On Thu, Jul 23, 2015 at 1:11 AM, ztianyi312<EMAIL_ADDRESS>wrote:

There isn't interface for pipelinling in the JedisCluster.
—
Reply to this email directly or view it on GitHub
https://github.com/xetorthio/jedis/issues/1065.


Add "set -o errexit"

Bash's default is not to exit on errors: This makes sense when it's used interactively, but it can make scripts hard to debug. Adding set -o errexit will make it exit on any non-zero status, which is probably what you want in a script. (Though there are differences of opinion.)
(Also good to be aware of other options, like pipefail.)

This entrypoint script is being used by docker build. Any errors occurred would cause the container fail to start. No need to make this PR.