Built-in endpoints settings

Over on the C2D messaging page, it describes some TTL and feedback settings and then sends you here for the details on how to change it.
"For more information about how to set these configuration options, see Create IoT hubs."
https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-messages-c2d#cloud-to-device-configuration-options
Those settings are configurable under the "Built-in endpoints" menu but there is no mention of those settings here. Can we get that info added?
Also, the other page says there is a max delivery setting for the feedback. I see the max delivery setting for the C2D messages in the portal, but not for the feedback. Is that one missing from the Portal only?

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

ID: 110959df-1981-b136-7dc7-25ac9bf19ff3
Version Independent ID: 51acc9c3-277d-26b3-ebe1-161dd417a1ed
Content: Use the Azure portal to create an IoT Hub
Content Source: articles/iot-hub/iot-hub-create-through-portal.md
Service: iot-hub
GitHub Login: @robinsh
Microsoft Alias: robinsh

@dcbrown16 , Thanks for raising the issue. We will investigate and update you.

Adding author @robinsh to evaluate and update the doc as appropriate.

#reassign @JimacoMS3

@dcbrown16 -- thanks for your feedback! You're right, the feedback max delivery setting does seem to be missing from the portal. You can change this setting using Azure CLI az iot hub update command (It's the --fd parameter). You can also do it by using the Set-AzIoTHub PowerShell command (the -CloudToDevice parameter).
I'm probably just going to add text to the topic rather than linking to the Use the portal to create an IoT Hub topic. I don't think we want to cover setting every property in that topic. I'll let you know when I update the topic.

@dcbrown16 Thanks again for your help here. I added portal and Azure CLI commands to the topic: https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-messages-c2d#cloud-to-device-configuration-options. We decided not to document PowerShell as that requires extra steps and the CLI is a better option here. I'm going to close this issue. If you don't think your feedback has been adequately addressed, please @-comment me in your response.
Thanks again,
Jimaco

#please-close

Thanks @JimacoMS3!


driver: flexcan:  flexcan support for the rt1170

add the flexcan3 support for the rt1170
Signed-off-by: Crist Xu<EMAIL_ADDRESS>

Please rebase


add graphite-cli package

Description of changes
Simple node2nix package, with some minor metadata fixups.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Now squash these commits into one.

Again, use git rebase to squash the commits into only one.

It appears that this is already in nixpkgs under nodePackages.graphite-cli. Since this is a user-facing CLI tool, it would be nice to add it to the top level so hydra builds it though. So maybe just have an entry like graphite-cli = nodePackages.graphite-cli in all-packages?

Cool, thanks for the useful suggestion @ryantm!

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

1 package built:

graphite-cli


APEXCORE-304 Added support for class to classpath via populateDAG.

Added support for class to classpath via populateDAG.
Added unit test for classpath check for StramClient
Added support for adding class to classpath for local mode.
Added unit test for classpath check for Local mode.

@tweise @PramodSSImmaneni @tushar Please review.

All comments are addressed here.
If there are no further comment, Can this pull request be merged?
Thanks.

Please rebase and squash. Let's try to wrap it up for 3.3

Commits are squashed.


I want to know the dynamic or kinematic model of vehicles in SMARTS

High Level Description
When I select ActuatorDynamic for my ActionSpaceType, I need to set throttle, brake, and steering_ Rate. But I don't know the dynamics or kinematic models inside the vehicle.
Version
latest
Operating System
No response
Problems
In your paper "SMARTS: Scalable Multi-Agent Reinforcement
Learning Training School for Autonomous Driving" that you mentioned "Physics is supported through the vehicle provider, which simulates the specific physical vehicle model and exposes a control interface at different levels of abstraction: throttle stroke training, trajectory tracking, and lane following." I would like to know if it is possible to set up a "physical vehicle model."

See https://github.com/huawei-noah/SMARTS/issues/2116.


$77 How can a non-interactive SYSTEM permission process use ShellExecuteW so that its child processes can be interactive

$77 How can a non-interactive SYSTEM permission process use ShellExecuteW so that its child processes can be interactive

That's impersonation what you're looking for. This question on SO is about exactly that. Although r77 is not a service, it is still non-interactive, so you need to impersonate in your case.


remove old node support due to koa-bodyparser

koa-bodyparser requires node >= 7.6

so, do we still support node 4/5/6 ?

so, do we still support node 4/5/6 ?

no, IMO


json hebrew content

@RoyTennenbaum I added a json content file only for the about page.
Please check that what you wanted so I can do the rest of the pages.

I also fixed the dark mode issue

@noams24 thank you!


PointSymbol3D: code snippets are missing white space after last symbol layer

My mistake the formatting looks correct on second glance.


[Emoji] Problem with emojis in the new skype android version

System Information (Required)

SDK Language: C#
SDK Version: 3.8.2
Development Environment: AZURE

Issue Description
On the new skype android version, certain emojis disappear when the message is send by a bot and not by the user!
For example, “med/pill reminder 💊” will be shown as “med/pill reminder”, whereas “weight ⚖” will be shown as “weight ⚖”.
This is a big issue for me, since I am using emojis for my Settings Scorable method to differentiate between “buttons” and real messages.
Code Examples
...
CardAction button3 = new CardAction()
            {
                Type = "imBack",
                Title = "Med/Pill reminder 💊",
                Value = "Med/Pill reminder 💊"
            };
reply.Attachments = new List<Attachment>();
KeyboardCard plCard = new KeyboardCard(text, cardButtons);
Attachment plAttachment = plCard.ToAttachment();

Result: Med/Pill reminder
also
await context.PostAsync(MessageDesign.AtRepliesPlusCancel(context, "Do you want to enter a goal for your tracker? 🎯"));

Result: Do you want to enter a goal for your tracker?

@Noc2 Can you post your code for the messages being sent that cause the problem?

Sure. I added a code examples to my original post. If you need a more detailed example feel free to ask. Although in my experience this is more a general issue and not specific to one line of code. I’m using a lot of emojis.

@Noc2  Can you please try the following code and see if it works for you,  I used suggested actions instead of keyboard card:
 var reply = message.CreateReply();
                            reply.Type = ActivityTypes.Message;
                            reply.TextFormat = TextFormatTypes.Plain;

                            reply.SuggestedActions = new SuggestedActions()
                            {
                                Actions = new List<CardAction>()
                                {
                                    new CardAction(){ Title = "Med/Pill reminder 💊", Type=ActionTypes.ImBack, Value="Med/Pill reminder 💊" },
                                }
                            };
                           var reply1 = await connector.Conversations.SendToConversationAsync(reply);

Thanks for your quick reply. It works, but suggest actions don’t show on every skype version. And a button without emojis is still better than no button at all 😉. I’m also using hero cards inside a carousel with the following code:
HeroCard plCard2 = new HeroCard()
            {
                Title = "Med/Pill reminder",
                Text = reminderText,
                Buttons = new List<CardAction>() { new CardAction(ActionTypes.ImBack, "Select", value: "Med/Pill reminder 💊") },
                Images = new List<CardImage>() { new CardImage(url: "https://florenceblob.blob.core.windows.net/menuimag/reminder.png") }
};

The message send by this code is also "Med/Pill reminder " instead of "Med/Pill reminder 💊"

Maybe moving the emoji to the beginning will work?  It seems you are trying to use an image for your user to recognize the intent of your message above the text.  This may help.

Thanks for the idea, but it didn’t work. The emojis do not only help users. They also helps my ScorableBase class. For example: if a message by the user contains: “information about xyz”, it's sent to luis. If the message contains “information 🔎”, I’m 99.99 % sure she or he clicked the button “information 🔎”. Of course, it also works without emojis, but I had much better results using them.
It currently works for some emojis, but not for all. The below image should have an emojis next to every button.

Please open a new issue if you were unable to resolve this


Revert "addROAUtil"

This reverts commit c8154b1f2036659556e81fb076c19b5af0c442a4.

Codecov Report

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

@@            Coverage Diff            @@
##             master     #172   +/-   ##
=========================================
  Coverage     96.36%   96.36%
  Complexity      135      135
=========================================
  Files            24       24
  Lines          1540     1540
  Branches         82       82
=========================================
  Hits           1484     1484
  Misses           50       50
  Partials          6        6

Flag
Coverage Δ
Complexity Δ

#csharp
95.29% <ø> (ø)
0 <ø> (ø)
:arrow_down:

#go
95.64% <ø> (ø)
0 <ø> (ø)
:arrow_down:

#java
98.76% <ø> (ø)
135 <ø> (ø)
:arrow_down:

#node_js
100% <ø> (ø)
0 <ø> (ø)
:arrow_down:

Continue to review full report at Codecov.

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


feat: remove next token param from list caches

Pending server side support, we remove the next token param from the
list caches control operation.
Note: though we remove the argument from the API, we leave next token in the response class.
Closes #382

Note: though we remove the argument from the API, we leave next token in the response class.

I actually took this out in node.js in my current PR.  thoughts?

Note: though we remove the argument from the API, we leave next token in the response class.

I actually took this out in node.js in my current PR. thoughts?

No strong thoughts. Perhaps an unused field is more confusing than just removing it. I was going to keep it for backwards compatibility since this part of the API was already 1.0

Note: though we remove the argument from the API, we leave next token in the response class.

I actually took this out in node.js in my current PR. thoughts?

No strong thoughts. Perhaps an unused field is more confusing than just removing it. I was going to keep it for backwards compatibility since this part of the API was already 1.0

we're already changing this signature though.  I think let's just remove it for now.

Removed in https://github.com/momentohq/client-sdk-dotnet/pull/385/commits/a7ef870505ecd955861f2126c4683ef6feaf23ba


Won't exit when Dev Tools is opened

Describe the bug
When BrowserWindow Dev Tools is opened, the BrowserWindow won't exit when click on close
To Reproduce
Steps to reproduce the behavior:

Start the window with Dev Tools opened
Click on exit button

Expected behavior
Window normally closes
Desktop (please complete the following information):

OS: Windows 10 1909
Electron version 10.1.0
Node Version 12.16.3

+1 also noticed this

Maybe that's not from the module, but from electron, I haven't tested with an HTML input that call close()

I've reported that issue for electron back in august and they consider it as an electron bug that is not yet resolved.
https://github.com/electron/electron/issues/25012
@GreepTheSheep , @DanielMcAssey - could you check over there if it fails for the same reasons on you side or if you have different conditions?

I will try it now, however mine isnt detached. I have mine docked to the right of the window and I still cant close it.

The devtools mode was not the problem - it was more related to frameless windows (frame: false).


Air purifier H7122: no fan speed control

What issue do you have? Please be as thorough and explicit as possible.
Issue
When I change the fan speed slider in the Home App the air purifier selects “custom” fan speed for fan speeds <= 75% and auto mode for fan speeds greater than 75%
Expected
Fan speeds 1, 2 and 3 are selected based on the appropriate fan speed slider position  in the Home App
Details of your setup.

Do you use Homebridge (with config-ui?) or HOOBS?

Homebridge running on macOS with config-ui

Which version of Homebridge/HOOBS do you have?

1.5.0

Which version of this plugin (homebridge-govee) do you have? Has the issue started since upgrading from a previous version?

5.2.0

Which Govee devices do you have that are causing issues? Please include product models if applicable.

Air purifier h7122

I actually like this feature as it allows me to use automations to set a fixed, low speed while I sleep at night and set auto mode for during the day,

Hi @horsenoggingit
I implemented this device with the following homekit speed to govee mode map:

0% - off
25% - govee speed 1 [low]
50% - govee speed 2 [med]
75% - govee speed 3 [high]
100% - govee auto mode

This was intentional and simply for a way to be able to put the device into auto mode if you wanted, as I couldn't think of a better way.
If you have any ideas please do let me know

I think that’s a nice compromise. Cheers. -JamesOn Oct 9, 2022, at 3:20 AM, Ben @.***> wrote:
Hi @horsenoggingit
I implemented this device with the following homekit speed to govee mode map:
0% - off
25% - govee speed 1 [low]
50% - govee speed 2 [med]
75% - govee speed 3 [high]
100% - govee auto mode
This was intentional and simply for a way to be able to put the device into auto mode if you wanted, as I couldn't think of a better way.
If you have any ideas please do let me know
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

Closing this as a bit overwhelmed with issues.
Please update to the beta version of the plugin, and if you are still having issues, do reopen this ticket!
Thanks and apologies if closing prematurely.


Add notes about Carthage to the README

Much like the CocoaPods note I’ve added a note on Carthage support.
As per discussion in #148 and #151.
Depends on #152 before it can be merged!

Wording has been updated


Support more datetime formats in --since and --until

#165 adds supports to deployctl for getting past logs. This feature is enabled by putting --since=<datetime> and/or --until=<datetime> as command line options, where <datetime> only accepts RFC3339 format currently.
It would be great to support more formats, especially relative and human-friendly ones, like "3 hours ago".
Firstly we need to determine what kind of formats should be supported. We can refer to existing tools like git for what good and familiar UI looks like. https://github.com/denoland/deployctl/pull/165#issuecomment-1651299345

git testcase for date parsing https://github.com/git/git/blob/1b0a5129563ebe720330fdc8f5c6843d27641137/t/t0006-date.sh


Is it extendable?

I found that two path is hardcoded in config.yml.
Is there any way to add my own categories with own q/a?

Hi,
of course, you have to edit the config.yml file to add the path to your own "packs".
Mickaël
PS: the cli app embed a hard coded configuration for consistency with the old versions (was done to train Symfony certification only).

@mickaelandrieu thank you for your response.
I would like to have  certificationy-cli as dependency in my vendor folder.
Maybe, as temporary solution add to StartCommand -c (--config) parameter.

Yes, I wanted to add this option and I totaly forgot.
But you're right, I will try to work on this feature asap.
Thank you

@mickaelandrieu it's already don by https://github.com/certificationy/certificationy-cli/pull/29

@spolischook issue closed, thank you for report 👍


Error: Can't find reason for requirement on<EMAIL_ADDRESS>

I'm seeing this error while trying to build the acmedns caddy using xcaddy.
I'm wondering if this module was left in the list during some debugging?  Or else maybe I'm running the wrong version of something.
My Dockerfile is pretty simple:
FROM caddy:builder AS builder

RUN xcaddy build \
    --with github.com/caddy-dns/acmedns

FROM caddy:latest

COPY --from=builder /usr/bin/caddy /usr/bin/caddy

This is due to a bug in the Go tool.
You can work around it in the meantime by specifying @master after the module path (in the case for this module).

@mholt Just tried your solution but it doesn't seem to work:
FROM caddy:2.6.4-builder-alpine AS builder
RUN xcaddy build --with github.com/caddy-dns/acmedns@master

FROM caddy:2.6.4
COPY --from=builder /usr/bin/caddy /usr/bin/caddy

Fails with:
#0 19.05 go: added google.golang.org/protobuf v1.28.1
#0 19.05 2023/06/27 14:07:04 [INFO] exec (timeout=-2562047h47m16.854775808s): /usr/local/go/bin/go get -d -v github.com/caddy-dns/acmedns@master <EMAIL_ADDRESS>#0 22.82 go: github.com/caddy-dns/acmedns@master: invalid version: unknown revision master
#0 22.83 2023/06/27 14:07:07 [FATAL] exit status 1
------
failed to solve: executor failed running [/bin/sh -c xcaddy build --with github.com/caddy-dns/acmedns@master]: exit code: 1

@mholt Ok, the "master" branch is called "main"....so using @main instead of @master works…


New Sample generic-bingmaps-format

Q
A

Bug fix?
no

New sample?
yes

Related issues?

What's in this Pull Request?
This sample demonstrates how to column Location to display Bing Map in column.

Processing for Demo. Thanks @aaclage


Remove version requirement from versionless library

Since nijilive still doesn't have a version number, removing the version requirement from here will make it easy to setup and build.

From my experience, retaining the version number from the beginning helps prevent environmental inconsistencies. We shouldn't remove it.

Instead, there is a WIP PR #7 document you can check.

It's just a bit more convenient, since it doesn't require to hardcode the version when doing dub add-local :3
That way dub is able to show the library version depending on the commit you are standing.
For example, running dub add-local on nijilive would return
Registered package: nijilive (version: 0.0.0+build.652.bd00329)

and it would show the version correctly when using dub describe or dub list, which I would prefer to have available for packaging purposes ^^

From my experience, retaining the version number from the beginning helps prevent inconsistencies dependencies. We shouldn't remove it.

I agree when those libraries actually have versions, since they don't right now it's just an unnecessary inconvenience.
setting the dependencies to "~>0.0.0" would be more acurate too considering that's what the libraries give when importing them without version overriding

@grillo-delmal I think github action have to be changed, too. and there are other PR to change gitver, maybe that must be applied first, and then need to look again about this.
current CI script set dub add-local 0.0.1 to compile nightly. so that part must be considered, too.

@grillo-delmal and I'm not sure "0.0.0" can be applied to the source code repository without any tag.

@grillo-delmal
Could you revert version related things to "0.0.1" once? I couldn't figure out the effect of the change yet. I prefer to merge other changes first.

@grillo-delmal Could you revert version related things to "0.0.1" once? I couldn't figure out the effect of the change yet. I prefer to merge other changes first.

done :)

@grillo-delmal and I'm not sure "0.0.0" can be applied to the source code repository and dub repository without any tag.

Just to be clear, setting it to ~>0.0.0 won't break the CI, since it matches 0.0.0 and 0.0.X where X > 0, so even if you add the library forcing 0.0.1 it won't break anything. but it's not something critical since it's just a thing that

@grillo-delmal Could you revert version related things to "0.0.1" once? I couldn't figure out the effect of the change yet. I prefer to merge other changes first.

ok ^^ that part is not critical anyway :3


Custom or Alternate Color Schemes for Lines

Is your feature request related to a problem? Please describe.
I'm color deficient and the lines for the different ridge types are basically indistinguishable for me and potentially others with this condition.
Describe the solution you'd like
I'd like to see an option to adjust the colors of the scheme, or to change the lines to dotted lines or bold, things like that.
Describe alternatives you've considered
I can save the pattern as an image and import it into something else like pixlr to adjust the colors I think, but that would be pretty challenging.
Additional context
I really appreciate all the time and effort that goes into implementing anything into a program, so thank you for your work thus far and any work you do in the future

I see, that's a very persuasive motivation for this feature. Since there're more than one type of color blindness, I think it's better to fully allow customizable colors rather than having a few predefined color schemes (the work is pretty much the same anyway). I'll add this feature in the upcoming version.

This is done in the DEV branch and will be shipped with the new version.

The new version is now officially released.

thank you so much for all you've done. this means the world to me


Update widget icons

Re-colored widget icons to match 8.0 theme

Followed the command line instructions fix the merge conflict, made PR #516 in new branch "update-widget-icons-merge" just in case. Can delete both branches if/when CI build works


High level client code generation

In addition to introspection, add an option to create high level clients with code generation.
This may involve extending the introspection format with doc comments (gtkdoc has a spec for this).
Advantages:

You don't need to rely on introspection
You don't need to include introspection xml in your project or get it dynamically
Better code completion
Better support for enum types and property types
You can include common interfaces in the library

I'm working on this, and have initial promising work.  I'll hopefully be able to share more soon.


VEX-7093: Protect initialization of DRM

This PR will fix the crash from the experiment on react-native-video
Jira: VEX-7093
velocity PR: https://github.com/crunchyroll/velocity/pull/2443
The crash was caused by using the player object before it was set by another thread, the change simply waits for the player to be available before executing any player interaction after DRM initialization.
Reviews

Major reviewer (domain expert):
Minor reviewer: @jacob-livingston

PR Checklist

[ ] Unit tests have been written
[ ] Documentation has been created and/or updated

Testing instructions
Web
Android mobile
Test harness: https://static.cx-staging.com/vilos-v2-qa/bugfix/VEX-7093-crash-in-exoplayer/android-mobile/android-app-debug.apk
Client app: https://static.cx-staging.com/vilos-v2-qa/bugfix/VEX-7093-crash-in-exoplayer/androidmobile-client/etp-android-debug.apk
Android mobile phone & tablet, use different Android versions to confirm
1. Execute yarn start-androidmobile-client --clean
2. Play a video
3. Make sure the video plays as expected

+1 minor


Write regex!

If we want to use regex
Should it be written in the path below?
service/foundation/validate

When you have these questions start with the "purpose" of the code. Without understanding the purpose, it's hard to answer.

When you have these questions start with the "purpose" of the code. Without understanding the purpose, it's hard to answer.

When you have these questions start with the "purpose" of the code. Without understanding the purpose, it's hard to answer.

Was this a mistake? I don't understand.

Oh, sorry, there was a mistake
Actually, I know how this code should be written
I just wanted to ask if the place where I should check regex is this part or not

I can't give you guidance on where to put it if I don't know the purpose of the code as it relates to the project. Saying you have a regex without telling me what and why you have this leaves blind

For example, I want to check the user name (check means the regex) which has a special regex
I want to check the correctness of the username entered by the user

Then you would want a Name type in the user package that would be the type for the name field in the user model. That regex would be used in the Parse function for this Name type.
Look at role.go in the core user package.


localization/translation

[ ] go through the SPA and move any strings into language files
[ ] figure out routing/persistence of language settings
[ ] figure out how to load/update valve data in multiple languages
[ ] have volunteer translators translate strings

The current design involves having a JSON file with text strings for each language (en.json, ru.json, etc.).  Currently we import lang/en into the components, but I think we'll need to refactor that into a general language component that exports the appropriate language strings based on user selection (perhaps persist language selection to a cookie).
Unfortunately this will not work well for SEO, but the standard model of having a subdomain for each language won't work well with the SPA.

@howardchung Can you update the status on this issue?

Extracting strings: Mostly done but there might be a few random spots with hardcoded strings.  I didn't enforce this during the early stages.
Need to build the LanguageSelector component that presents a selector and saves the chosen option to local storage.
Ability/item data from Valve is available in multiple languages, but we probably need to move to fetching it from API #338 to avoid bundling megabytes of data into the JS bundle.
Translation: @albertcui set up https://translate.opendota.com, and we'll mention it in our release post.

I guess we should put the link in footer "Help translate" or smth.

Sure, we can have a translate link.

Can you make them into separate issues and let's close this.

Done for 1 and 2.  3 is basically #338 and 4 is done automatically as users submit translations on crowdin.  When we add English strings to en.json, it also automatically puts them up for translation.


 Error with response: "Error: Place order error: Insufficient funds."

 Trying to send a btc_usd sell limit order: 0.06@8,383.80
 Error with response: "Error: Place order error: Insufficient funds."
I   have  money in balance.

CEX.IO  for short  must use
Open position
POST https://cex.io/api/open_position/{symbol1}/{symbol2}


docs(jokes): update highlighted lines

I corrected this wrong highlighted lines in app/routes/jokes/new.tsx of expected-errors

Thank you ! This is already addressed by #2395 that will get merged soon 🙏🏼


Add pre-commit configuration

This fixes #77

This works for me locally, no idea what the CI error is..

I haved fixed the CI. Do you agree with the approach of generating .pre-commit-config.yml if and only if the user has pre-commit installed? I wanted to avoid config bloat and also not generate too much that the user did not ask for.

Yes I think that makes sense - maybe we could add a sentence to the readme to say that if you have pre-commit installed it will also generate a pre-commit config file?

That sentence already is in the README as part of the feature list


The "interval" parameter doesn't work when used in bottomTitles

The "interval" parameter doesn't do anything when used in bottomTitles. For example, in bar_chart_sample1.dart:
bottomTitles: SideTitles(
          showTitles: true,
          interval: 2,
          [...]

I would expect that to hide one in two bottom titles but it does not.
Using the latest version. Thanks!

This appears to be broken in the migration to 0.50.0

@vfolz Please let's follow it in #964


[rancher-catalog] Prometheus package typo

Rancher versions:
rancher/server: 2.0+
Steps to Reproduce:
Install Prometheus from Library. Select Grafana Persistent Volume Enabled: true. And click create.
Results:
It'll be stuck on creation because it's using grafana.persistence.storageClass: longhorn instead of grafana.persistentVolume.storageClass: longhorn
Longhorn storage class here is just an example

@stiks can you please refresh the catalog by clicking the refresh button in the catalog page, the value name is correct for the templates, thanks.


Add LLM-based image description to PptxConverter

This pull request introduces the use of a language model to generate descriptive alt text for images in the markitdown module. The key changes include the addition of a new method to generate descriptions using a language model and the integration of this method into the existing image processing workflow.
Integration of language model for image descriptions:

src/markitdown/_markitdown.py: Added logic to convert method to use a language model client and model for generating image descriptions if provided in kwargs.

New method for generating descriptions:

src/markitdown/_markitdown.py: Added _get_llm_description method to generate image descriptions using a language model. This method constructs a data URI for the image and sends a prompt to the language model client to generate the description.

Limitation
BE AWARE BEFORE CONVERTING BIG PPTX FILE
It may take a long time.
Suggestion

Add a parameter as kwargs, such as “use_llm,” inside the convert method to allow not only PPTX but also other converters to selectively use LLM for dispatching image descriptions.
Refactor the file handling logic in _get_llm_description into a separate function to make _get_llm_description reusable across all converters.
Add asynchronous logic for generating image descriptions.

@microsoft-github-policy-service agree company="Asleep Inc."

hi, could you add tests

@l-lumin Simple LLM test added using the current test.pptx file. I included one page with some basic images.


Update to XBean ASM 4.7

This provides support for Java 10 classes

Hi @jgallimore please squash your commits


Add support for middleware installation

It would be nice to have the functionality to request permission from user to install the middleware.

Proposed API changes

plugin.py

add function to call request_middleware_installation(middlewares: List[Middleware]) -> None
add function for overriding async def install_middleware(middlewares: List[Middleware]) -> None

types.py

new struct Middleware

middleware_id : str
middleware_name : str

Proposed execution flow

GLX calls plugin::install_game()
integration checks that some software is not installed.
integration calls plugin::request_middleware_installation()
GLX displays window
User accepts middleware installation
GLX calls plugin::install_middleware()
Integration performs middleware installation

Hi - sorry for the late answer. Correct my if I'm wrong, but this feature is basically showing a pop-up in client, isn't it?

Yeah, something like that. This can be generalized up to the possibility of displaying some information to the user and getting a response to it.


New monitor min-max-avg-Gauge

problem: A function I was measuring performance on, took a payload. By accident I found occasional high spikes in processing time and input-payload for the function from around 2-10 k input to 500k input!
I need to continuously monitor said function as its part of our middle ware -  so I am interested in knowing the average processing speed but also understand the payload sizes. I think I best do this using an avg-max gauge.
solution: Introduce a bit more general gauge - a combination of 3 gauges, doing min-max-avg in one sitting.
I'd be happy to implement it if we can agree it be part of the distribution.

I think it would be a great addition

I'll look into it


⚠ PostgreSQL has degraded performance

In df3fcf7, PostgreSQL (https://news.ycombinator.com) experienced degraded performance:

HTTP code: 200
Response time: 3959 ms

Resolved: PostgreSQL performance has improved in cdcd74c after 11 minutes.


Concurrency: remove unused variable (NFC)

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

CC; @DougGregor

@swift-ci please test


hivelord resprite

About the PR
gives hivelord cool new sprites i made from scratch.
also gives the hivelord remains aka "rorocore" inhand sprites because why not
Why / Balance
hivelord looked stanky and was hard to see in the dark
Technical details
just png additions and meta json things.
also removed seemingly redundant sprites in the hivelord rsi, the "nocore" and "active" sprites, if these are used in-game somewhere let me know (i'll have alot more work to do if so :)).

[x] I have added media to this PR or it does not require an ingame showcase.

Changelog
no changeylog

added epic gif of hivelord destruction in mockup mining asteroid so you can see it animated in game

shnooo mimimimimi (i would like an update on this thanks)


Default type params

This adds quite a lot of functionality. The intended use case was a struct like this. It obviously has a problem because if you do not specify update or specialized_initial, then the compiler doesn't know what type they should be. This is because the macro was not utilising the default type params (which provide fn-pointers, which are enough to compile with since they're never executed because they're None).
#[derive(Builder)]
pub struct ClosureFold<K, V, R, FAdd, FRemove,
    FUpdate = for<'a> fn(R, &'a K, &'a V, &'a V) -> R,
    FInitial = for<'a> fn(R, &::im_rc::OrdMap<K, V>) -> R
> where
    FAdd: for<'a> FnMut(R, &'a K, &'a V) -> R + 'static,
    FRemove: for<'a> FnMut(R, &'a K, &'a V) -> R + 'static,
    FUpdate: for<'a> FnMut(R, &'a K, &'a V, &'a V) -> R + 'static,
    FInitial: for<'a> FnMut(R, &::im_rc::OrdMap<K, V>) -> R + 'static,
{
    pub add: FAdd,
    pub remove: FRemove,
    #[default(None)]
    pub update: Option<FUpdate>,
    #[default(None)]
    pub specialized_initial: Option<FInitial>,
    #[default(false)]
    pub revert_to_init_when_empty: bool,
    #[default(PhantomData)]
    #[hidden]
    pub phantom: PhantomData<(K, V, R)>,
}

The solution required a bunch of changes:

Make the fn new() return a builder with the default types substituted in their spots.
When you provide update, the FUpdate closure type can be different from the default. Hence you need to get the setter method to infer the FUpdate, and replace it in the return type. This is done using fn update<FUpdate_>(update: FUpdate_) and doing lots of substitutions on the bounds / generic params.
However, because you don't know what shape the field type will be, you need to tell the macro which params to do this with. Hence there's a new #[infer(T1, T2)] param. For this example you apply it to the update and specialized_initial fields, with #[infer(FUpdate)] and #[infer(FInitial)] respectively.
Lots of minor improvements, much of it relating to commas and macro edge cases.
Finally, an extra feature for fields like phantom: PhantomData<T> where T was specified with a default type T = f64 + a separate #[infer(T)] field. It needed special handling because if the macro writes a PhantomData in the fn new(), then it has to write another one with the inferred T_ (which means a different PhantomData<T_> type needs to be in the phantom field. So I introduced "late binding" of defaults, where they are only populated in the fn build() function, but the types are carried along the way. This required simple compile-time reflection in the form of the refl crate, which I pulled a few select functions from, in order to prove that if you still had a Some(Setter::LateBoundDefault) in the field, that basically T = T_. It worked pretty well!
Late binding is applied by default to #[hidden] fields. It also needed some way of doing it while also generating a setter method, so I made #[late_bound_default], but it might need a better name.

Altogether it needs some more docs, and I want to split out some of the example code, but the rest of it should be reviewable.

Thanks for your kind contribution! I'll look at it.

 I think it should be easy. At the very least they could produce a compile_error!("infer not supported with async setter"), if implementing that proves complicated.

@cormacrelf Using refl seems amazing! I wonder why you distinguish late_bound_default and default? It seems that using just late_bound_default only can handle every case.

I finally understand the meaning of this PR 😂. It's quite hard to understand at first because I didn't expect this detailed usage.
Now I agree your suggestion works like Default::default methods for implicit type inference. However, it adds some complexities to declaring attributes. So, what about using infer and late_bound_default by default for each field?
If you agree, I'll merge this PR to the new dev branch and work on it.

If #[infer] were the default, you would need to disable it (e.g. #[no_infer(T)]) on every other field. This is what happens when you put it on field_a:

It fails because the B_ param inserted into fn field_a<B_>(field_a: A) -> XBuilder<A, B_, ...> param that is inserted, does not appear in the field type. It's not inferable. Most fields will not be able to infer anything about type params that don't appear in their setter function args, so most fields will end up having a completely free type parameter that the compiler has no way of choosing something for.
The best you could do i think would be trying to find the type param ident inside the field type, and automatically infer that param if it appears. For this example, field_b: B obviously has a B in it, so it would automatically get #[infer(B)]. You'd be looking for B at the beginning of a syn::Path, or something. The token-stream type substitution is a bit dumber though.
With struct X<A, B=f64, C=f64>:

field type
infer?

B
#[infer(B)]

(A, B)
#[infer(B)], no need to infer A as that's done throughout the builder calls

(B, C)
#[infer(B, C)]

Vec<(A, C)>
#[infer(C)]

I think it would be possible to implement it as your table. When users set default types for generic types for a struct, I think it also implies that the types are inferred automatically. I'll try it this weekend!


Additional details on security

Add information that we tend to get asked about.
Zach to break down some of the paragraphs that have to do with specifics and have place holders as headers.

I'm pretty sure that's the correct path to the secured access to clusters page -- maybe there is something special I need to do to convince linkcheck?

Link check is a problem I was told to ignore.
But just in case I introduced an error, @marians  can you have a verify?

@marians - link check is still failing ☹

Hi, this is me from under the rock.
@Oshratn Please resolve conflicts and let the checks run again.

I wish I knew how 🤷♀

@Oshratn I resolved the conflict. This added the first three paragraphs of the page content.
If these paragraphs were supposed to be deleted by this PR, you'll have to delete them again.


[Issue report] Linux Does not work on raspberry pi 4B with 4gb ram.

Describe the bug or issue
A clear and concise description of what the bug is.
Describe your setup

Your Raspberry Pi model and spec variant, e.g. 4B with 2GB RAM
Your Chromium OS for Raspberry Pi release version, e.g. Chromium OS r77 r3
Your hardware configuration and setup, e.g. how you have wired the Pi board with any other peripheral connected to it

To Reproduce
Steps to reproduce the behavior:

Go to 'Settings'
Click on 'LDE( Linux Development Enviroment'
Scroll down to 'Turn On'
See error

Expected behaviour
A clear and concise description of what you expected to happen.
LDE to turn on without a hitch.
Screenshots and/or hardware setup photos
If applicable, add screenshots to help explain your problem. If your problem is hardware related, it's much easier to include a photo of how your setup looks like.
Additional context
Add any other context about the problem here.

What is funny is the fact that the issue was closed with zero input on how to fix it.

Not really funny, confused rather - confused why your issue was closed without reason?
Whoever had the intention to help you would be confused too. This is not how you raise an issue. The issue template was supposedly for you to use as a "template", not keeping the original content and post it as the "issue".
Issues like yours would be treated as spam.
Learn how to describe your issue and provide useful information before posting.

Not really funny, confused rather - confused why your issue was closed without reason?
Whoever had the intention to help you would be confused too. This is not how you raise an issue. The issue template was supposedly for you to use as a "template", not keeping the original content and post it as the "issue".
Issues like yours would be treated as spam.
Learn how to describe your issue and provide useful information before posting.

Steps to learn something:

Figure out what you want to learn.
Find someone or someone’s paper/article/instructions to teach you.
Success.

If there is no instructions on the topic, there is no way to learn.


Add no-license.java

What changes were proposed in this pull request?

Why are the changes needed?

Does this PR introduce any user-facing change?

How was this patch tested?

Was this patch authored or co-authored using generative AI tooling?

The test is finished.


Update training operator to use chisme to apply manifests

Training operator uses an outdated way of applying manifests, we should use our standard approach implemented in chisme.
This would also fix #44

Fixed by a1eb7b4 commit. Closing.


Solution for multiple reference implementations for QualityOnDemand

@MarkusKuemmerle @jordonezlucena  @shilpa-padgaonkar
I have a quarkus/kotlin implementation to share with you ... Have you any path / hierarchy to suggest ?
Maybe a split by technology like quarkus / spring ?
Originally posted by @patrice-conil in https://github.com/camaraproject/WorkingGroups/issues/63#issuecomment-1259452546

Discussion in https://github.com/camaraproject/WorkingGroups/issues/63 ongoing. Renaming the issue to reflect the fact that the solution is not yet found.

Issue https://github.com/camaraproject/WorkingGroups/issues/63 closed with the decision to move API implementation outside the subproject repository.
Which means DT and Orange will have separate repositories for managing their individual QoD solutions in Camara.
Details to be defined

Repositories for PI_1 and PI_2 available. Closed as discussed on Jan 13th.


Run any Distro in WSL

First was a DE, now is time to run another distro, the process is simple but time consuming.
Running Arch
For running Arch in WSL you need:

An Arch installation compressed inside a tar.

Steps

Run Bash, decompress(inside WSL, use sudo) the Arch tar.
Now exit bash and go to lxss directory.
Rename the actual rootfs to rootfs_old, now go inside your user's home and move(copy&paste don't work) the arch folder to the lxss folder and rename it to rootfs.
Now set the default user to root.
Run Bash.

That's it, very simple but time consuming like I said. The Arch instalation that I used was provided by @matiuri. The same process applies to other distros.

Any problem please leave a comment and I will help you.

Thanks. Anyone seeing this may also want to check out #8

Um, this doesn't seem like it will work unless you do the untar+edit fstab step inside of WSL.

@fpqc The fstab edit can be done before compression, is trivial.

@guerra24 This seems a whole lot more annoying and difficult than the methods in the linked thread.  For one, it requires you to build and set up an arch tarball.  I expect that there could be a number of network config problems if you just tarred up your arch system's rootfs including /etc.

It's not necessary to edit fstab, just leaving an empty fstab also works.

@Guerra24 How can I get an Arch tar? Using a virtual machine or ?

@fpqc Really no, I never changed any configuration and network is ok, but this method will work with any distro, not only arch.
@crazymonkeylyc Yea, install arch in a VM then compress all files inside a tar and use that.

Just update to Debian sid inplace but hold the libprocps3 and procps packages. Otherwise top(1) stops working.

@russalex  Hi Alex,
what percentage of the good work you are doing is the result of Canonical? or WSL layer is only by Microsoft?

@iz0eyj For legal reasons, pretty much all of the work has to be done by Microsoft, by a team that has not read the Linux Kernel sourcecode.
Also, his name is Russ Alexander, not Alex, lol.

@fpqc  I'm sorry for the name :)
Thanks for the answer, I think "Linux Kernel sourcecode" is "Win kernel source code", right?
Another question, do you know if exists a list for System Calls supported by WSL?

@iz0eyj I'm not sure if a full list exists as one file, but if you read the changelogs:
https://msdn.microsoft.com/en-us/commandline/wsl/release_notes
You can read all of the syscalls implemented version-by-version.

@Guerra24 Thank you for your guide, but after I decompressed the arch tar to rootfs, I got 0x8007001f error when I tried to get into bash. Could you tell me more things about this? such as the command line on tar etc.

@crazymonkeylyc Where did you decompressed arch?

@Guerra24 lol this was exactly what I was saying would happen if people followed those instructions you gave........

I used airrootfs.sfs in Arch Linux Installation ISO and managed to run it.Except some problems:

fakeroot not work (Because chroot cannot work),It will cause pacman report this error when install some packages:

could not change the root directory (Function not implemented)
error: command failed to execute correctly

systemctl not work because "Failed to connect to bus: No such file or directory".

makepkg cannot run as root,but if you use useradd command to create a user,you will cannnot use su command to change to it because "su: failed to execute /bin/bash (or other shell like /bin/zsh) : Permission denied"

@KenOokamiHoro I tried messing around with Arch, and there are a few problems that have workarounds for the lack of chrooting, but they don't work all that well.  I would suggest holding off on using Arch until chroot is supported.  I tested it extensively last night and gave up after pacman started installing packages and telling me they were inaccessible (and I had to manually chmod them to fix it).

@fpqc Do you have a reason to believe chroot would be supported? I'd love for it to be but I don't know of any dev related scenarios that depend on chroot

@SRGOM You need chrooting for "Use Privilege Separation" in sshd.  I'm 80% sure that I saw the WSL devs mention that it's planned.  One of the development situations we're talking about here is using Visual Studio's new Linux module without running a separate VM for compiling with gcc, and right now the way you do this is by connecting Visual Studio by ssh to a Linux VM for building.  It's, I think, one of the original use cases.

@iz0eyj, wanted to jump in here for just a minute and confirm what @fpqc stated.  WSL contains no code from Canonical or from the Linux kernel (nor do we read their source).  You can read a bit more about what we do on our blog as we are trying to be very open about our implementation.  Oh, and no worries about the name, very common mistake.
Also, for the record, we are working on supporting chroot.

By the way, I would like to plug this nice project https://github.com/RoliSoft/WSL-Distribution-Switcher
It handles everything pretty nice and safe, and with Insider build 14905, I have got ubuntu:devel (yakkety) working with no hacks and no problems.
I don't suggest using distros other than Ubuntu or Debian atm, because their package managers are using unsupported syscalls (pacman makes extensive use of chroot, and the current hacks to fix in #8 only lead to a semi-broken system.  I understand that there is a similar problem with CentOS and Redhat).  Also, read the instructions on how to enable the sample postinstall script, or you will end up with locale and sudo problems.

@Guerra24 Thanks for your reply. I executed "pacstrap -i /mnt base base-devel". mounted my USB to /media and did "tar -cvf /media/arch.tar /mnt". After that, I use bash on windows to decompress arch.tar in C:\ (tar -xvf arch.tar). rename the /mnt to rootfs ,and move it to %LOCALAPPDATA%\lxss. Then I tried to get into the bash, but got 0x8007001f. That is all.

@crazymonkeylyc you need to untar it inside of VolFS, or else it loses all of the permissions and linux data and breaks it.

@fpqc It works! Thank you for your help!

In case anyone is curious, I managed to get Gentoo working using https://github.com/RoliSoft/WSL-Distribution-Switcher by simply using the Gentoo stage3 tarball as the rootfs instead of a docker image. From there I followed the standard Gentoo installation process of installing portage. There were a few gotchas though:

I had to edit /usr/lib64/python2.7/site-packages/_emerge/AbstractEbuildProcess.py and set _enable_ipc_daemon to False as IPC isn't supported as of yet (#1016). I would also recommend setting the -ipc USE flag in your make.conf file. You can also add sys-apps/portage -ipc to your /etc/portage/profile/package.use.force file to allow disabling IPC if you ever rebuild or upgrade portage before #1016 is fixed
I had to edit /usr/lib64/python2.7/site-packages/portage/util/writeable_check.py and replace:

 attr2 = mount[1].split()[2]

with:
try:
    attr2 = mount[1].split()[2]
except IndexError:
    attr2 = mount[1].split()[1]

This is because WSL, at least for this machine, had invalid entries for /home and /root in /proc/self/mountinfo. However, I didn't have the same behavior on another machine, so this step wouldn't be required there. YMMV
3. Perl modules would not install properly unless I applied the workaround in #186, except in Gentoo the file I had to edit was /usr/lib/perl5/5.20.2/x86_64-linux/Config.pm
Once those fixes were in place I was able to build packages just fine. I'd also suggest putting the lxss rootfs in your antivirus exclusion list, and windows search indexer exclusion list as emerge downloads lots of source files, and having the rootfs not excluded can slow down things significantly.

@Sazpaimon for me it was /usr/lib64/python3.4/ but thanks a lot

Does locale-gen work for you? I get file not found errors even though the specified locale files exist.

So I installed Arch using this guide: https://www.reddit.com/r/bashonubuntuonwindows/comments/5vnne8/howto_installing_arch_on_wsl_manually/
Everything worked as expected and Pacman is running rather well. Setting the locale has failed however. Running locale-gen fails with this error:

Generating locales...
en_US.UTF-8...localedef: ../sysdeps/unix/sysv/linux/spawni.c:360: __spawnix: Assertion `ec >= 0' failed.
/usr/sbin/locale-gen: line 41:    36 Aborted                 (core dumped) localedef -i $input -c -f $charset -A >/usr/share/locale/locale.alias $locale

Anyone know a workaround? The Arch Repos and AUR have proven to be very useful.

@Vaporeon -- a similar issue is reported on #1878 .  Does the workaround there help you?

I instead worked around it by running locale-gen on a "real" Arch install and copied the generated file into the WSL instance.

The posix spawn issue fix is currently being merged into the http://github.com/alwsl/alwsl Arch Linux for WSL installer.

More distrubitons have been added with others on the way.


Modify Mining blocks according to Eligibility rules

Overview / Motivation
Modify mining so that a block is produced in the correct layer according to calculated VRF
The Task
TODO: Clearly describe the issue requirements here...
Implementation Notes
TODO: Add links to relevant resources, specs, related issues, etc...
Contribution Guidelines
Important: Issue assignment to developers will be by the order of their application and proficiency level according to the tasks complexity. We will not assign tasks to developers who have'nt introduced themselves on our Gitter dev channel

Introduce yourself on go-spacemesh dev chat channel - ask our team any question you may have about this task
Fork branch develop to your own repo and work in your repo
You must document all methods, enums and types with godoc comments
You must write go unit tests for all types and methods when submitting a component, and integration tests if you submit a feature
When ready for code review, submit a PR from your repo back to branch develop
Attach relevant issue to PR

@antonlerner is it still relevant?


Attribute classifier

How to train own attribute classifier? THx

Two simple steps:

collect a set of facial data that reflects variations in your target attribute and label each image for binary classification.
use this data to train a binary classifier to serve as your custom attribute classifier. A simple network like resnet should work well.

thanks! 🙏

Yes, that is correct. Additionally, images expressing a certain emotion are generally labeled as the positive class, while others are negative.
Performing face alignment before training the classifier is better.
In my replication experiment, I probably used hundreds of images for training a specific classifier. I'm not entirely sure as it has been a while. However, I believe the amount of data is also closely related to the distinguishability of the attributes and the quality of the data.

Just tested inference .
Output Face not equ to input =(

It could be due to GAN inversion if the facial identity recognition has worsened.


Enroll 007lva

@007lva
Can you create your profile in that way? On issue #31
Sorry for that, but in that way will be much more easy for all of us :smile:


Add CSS Declaration Sorter under Uncategorized

Add the CSS Declaration Sorter package, shameless self promotion. :shipit:

Any update on this?

@Siilwyn Why would someone use this instead of an integration with https://github.com/hudochenkov/postcss-sorting ( https://github.com/lysyi3m/atom-postcss-sorting )? Note that I'm only trying to incite you to make your package better or merge with postcss-sorting.
I'll merge this in as it looks simple and simple is good for quick usage. :+1:

Hi @mehcode good question. So first off css-declaration-sorter was there before postcss-sorting... I asked the author why he made another package doing the same thing. To which the answer was that css-declaration-sorter didn't support the features postcss-sorting does.
This bummed me out but in the long run I do see a difference in vision. Postcss-sorting has options that format the CSS which I won't include in css-declaration-sorter because I follow the Unix philosophy: do one thing well. Such transformations belong to other modules such as perfectionist.


chore(Data): solve ERR_COP style exceptions

This PR solves ERR_COP style exceptions by adding the copyright headers after having inspected the commit history of each file in Mathlib4 and in Mathlib3.

bors r+


Provide a command to add currently open, untracked file to source control

Type: Feature Request
There is a command "Git: Stage Changes" (git.stage) that will stage all the changes in the currently opened file, but it only stages the changes if the file is already tracked in source control. There does not appear to be any command that will add the currently open, untracked file to source control.
I recall vaguely that several years ago the stage command would both stage changes for tracked files and add untracked files. I only recall this because I used to have a single key binding that I would use to stage changes, and it also would add untracked files. Being able to stage changes for both tracked and untracked files with the same command was a very convenient workflow for me that was unfortunately lost at some point as the source control features in VS Code evolved.
I would love to be able to use the "Git: Stage Changes" command on an untracked file and have it track the file as well as stage the changes.
The "Git: Stage All Untracked Changes" (git.stageAllUntracked) command comes close to providing this capability, but it has two shortcomings.

It stages all untracked files, not just the currently open file.
It would be more convenient to be able to use one command (and one key binding) to stage changes from the current file regardless whether the file is already tracked.

VS Code version: Code 1.70.1 (6d9b74a70ca9c7733b29f0456fd8195364076dda, 2022-08-10T06:08:33.642Z)
OS version: Windows_NT x64 10.0.19044

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.70.2. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


WIP: Add browse works

WIP: Depends on https://github.com/artsy/metaphysics/pull/1415
Implements LD-56

Fails

:no_entry_sign:

No CHANGELOG added.

:no_entry_sign:

Missing Test Files:

src/lib/Components/ArtworkGrids/RelayConnections/__tests__/ShowArtworksGrid-tests.tsx
src/lib/Components/__tests__/Picker-tests.tsx
src/lib/Components/__tests__/Portal-tests.tsx
src/lib/Scenes/Show/Components/__tests__/ArtworksPreview-tests.tsx
src/lib/Scenes/Show/Components/__tests__/ShowArtworksGridFilters-tests.tsx
src/lib/Scenes/Show/Screens/__tests__/Artworks-tests.tsx

If these files are supposed to not exist, please update your PR body to include "#skip_new_tests".

:no_entry_sign:

[danger-plugin-jest] Could not read test results. Danger cannot pass or fail the build.

Warnings

:warning:

This PR comes from a fork, and won't get JS generated for QA testing this PR inside the Emission Example app.

  Generated by :no_entry_sign: dangerJS


Add getting started section to the README

README Update
Please add a getting started section to the README so folks know how to start with this project.

Added Getting Started section to the README file.


Svg transform not working with 2.0.13

Tried using svg transform with the following code:
var tween3 = KUTE.to('#element', {
  svgTransform: {
    translate: [50,50],
  }
})
tween3.start();

The HTML is as follows:

        <svg class="heart" id="heart" viewBox="0 0 1920 3000" xmlns="http://www.w3.org/2000/svg">
          <path id="element" d="M819.183 84C603.326 84 394.11 298.645 296.628 392.697 194.353 491.375 17.873 540.649 17.873 779.3c0 299.624 206.546 755.983 440.117 650.075 159.903-72.505 232.096-126.243 320.318-347.805 68.246-171.396 265.365-243.877 265.365-530.448C1043.673<PHONE_NUMBER>.56 84 819.183 84z" stroke="#f8566a" fill="transparent"></path>
        </svg>

I'm currently working on KUTE.js next version, please commit your example to fiddle or something so I can test on the spot.
Thanks

I just tested your example, cannot confirm.

@thednp , this is the fiddle for the above issue. https://codepen.io/zerismo/pen/MWyodPa

@zerismo this is the official build now, it doesn't feature the SVGTransform component anymore, you need to create your own custom builds. Perhaps you can use the index-extra.js build or a custom variation of that, with exactly what you need.

@zerismo, just to be clear, there is a reason why this component is not featured with the official distribution build, here's a quick note from the TransformMatrix demo page (something you should consider using):

Most importantly we have the update function which implements the DOMMatrix() API for smooth animation at no performance cost, which is different from other libraries that use a webkitCSSMatrix polyfill and lose performance.

Hope this makes it super clear. Cheers :)

Sorry to reopen a closed issue, but I am currently facing the same problem:
What is the best way to move a group (g) without svgTransform, but in the coordinate system of the SVG?
transform in the style-attribute uses either pixels or percentage.
Example: Move the Group test to svg-position 10,10:
  <svg width="100%", height="365px">
    <g id="test" transform="translate(100, 100)">
      <circle r="10" stroke="black" stroke-width="3" fill="red" />
    </g>
  </svg>

const buttonClick = () => {
  KUTE.to(
    "#test",
      { svgTransform: { translate: [10, 10]}}, // this will not work, because "svgTransform" is not in the build
      {duration: 500}
  ).start()
}

Many thanks!

Hi @simonhuwiler and thanks for dropping by.
Nowadays all major browsers support the new standard transform functions as CSS properties, even for SVGs (EG: I just tested #test { rotate: 25deg } and it works), the SVGTransform plugin could be bundled into a custom build to serve for a really old app which requires polyfils to work, for today's modern apps makes little sense.
I've started some time ago a Typescript sourced KUTE.js version for the future, I want all plugins modernized and modularized for tree shaking, a much more simple update function and support for major frontend UI libraries or render engines. But the time is not my friend lately.
In your case, yes, a custom build should meet your needs.
Have a good one.


Should we add a new device selector for SR-IOV PF's?

I think it would be nice to have a PF based selectors(PF interface names or PCI addresses). Lets discuss this idea.

Hi this is an excellent topic. I would like to join this dis
On Thu, Mar 28, 2019 at 12:52 PM Abdul Halim<EMAIL_ADDRESS>wrote:

I think it would be nice have a PF based selectors(PF interface names or
PCI addresses). Lets discuss this idea.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/intel/sriov-network-device-plugin/issues/109, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFL1HFZfFzFMtvKdij3eblh-MAytGZRHks5vbPNcgaJpZM4cQpcc
.

I think a PF based selectors will be helpful for:

backward compat with rootDevices configuration, I think kubevirt team is using this type of configuration in their project.
distinguish devices which have identical vendor ID, device ID and driver type (for example, two identical devices on the same host that are connected with different networks can be advertised as different network resources)

Some questions are:

From user perspective how they get to know which PF device name or PCI address is on the node when specifying it in the conf file?
Given a network device name or device PCI address, it can be any type of network devices with various drivers (not just PF device), do we want to support those devices as well? I think we actually already doing that with current driver selector that can be used to specify any type of driver such as virtio driver inside VM, this would make SR-IOV device plugin more generic for network devices and can be used in more advanced scenarios.

I think a PF based selectors will be helpful for:

backward compat with rootDevices configuration, I think kubevirt team is using this type of configuration in their project.

One main concern I have is this does not fit-well with cluster-wide resource config(using configMap). Because, an interface name 'enp2s0f1' OR a PCI address '0000:02:00.0' could mean completely different device on different node.
For example, a resource config like this:
{
	"resourceName": "intel_sriov_enp2s0f1",
	"selectors": {
		"pf": ["enp2s0f1"]
	}
}

What we expect to happen when a host does not have a PF interface matching this name OR PCI addr?

distinguish devices which have identical vendor ID, device ID and driver type (for example, two identical devices on the same host that are connected with different networks can be advertised as different network resources)

Some questions are:

From user perspective how they get to know which PF device name or PCI address is on the node when specifying it in the conf file?

This is probably the same scenario that have with currently supported PF PCI address based resource pool. The admin is expected to know which specific devices we are targeted.

Given a network device name or device PCI address, it can be any type of network devices with various drivers (not just PF device), do we want to support those devices as well? I think we actually already doing that with current driver selector that can be used to specify any type of driver such as virtio driver inside VM, this would make SR-IOV device plugin more generic for network devices and can be used in more advanced scenarios.

We are talking about SR-IOV network devices and add VFs from only those PF listed in the PF selector. Thus, the interface name and pci address are meant to me for SR-IOV PFs. If we want extend this for all sort of network devices then the selector list will very big and same as like manually figure out all the interface name/pci address and list them into the resource config. For those use-cases using other selectors would make more sense IMO.

I think a PF based selectors will be helpful for:

backward compat with rootDevices configuration, I think kubevirt team is using this type of configuration in their project.

One main concern I have is this does not fit-well with cluster-wide resource config(using configMap). Because, an interface name 'enp2s0f1' OR a PCI address '0000:02:00.0' could mean completely different device on different node.
For example, a resource config like this:
{
	"resourceName": "intel_sriov_enp2s0f1",
	"selectors": {
		"pf": ["enp2s0f1"]
	}
}

What we expect to happen when a host does not have a PF interface matching this name OR PCI addr?

Above should be considered as a limitation of PF based selectors when it's used in a heterogeneous environment, and I don't think we can solve the problem with PF selector itself without introducing other selectors like node selector or even network selector etc. we probably also need to understand better about the use case why PF selector is needed concerning above limitation, or is it possible to use other selectors instead?

distinguish devices which have identical vendor ID, device ID and driver type (for example, two identical devices on the same host that are connected with different networks can be advertised as different network resources)

Some questions are:

From user perspective how they get to know which PF device name or PCI address is on the node when specifying it in the conf file?

This is probably the same scenario that have with currently supported PF PCI address based resource pool. The admin is expected to know which specific devices we are targeted.

Right, the old rootDevices configuration has the same problem;
This is just a minor regression compared with current selector based configuration which doesn't require the understanding of device name in term of vendor/device IDs, driver type etc.

Given a network device name or device PCI address, it can be any type of network devices with various drivers (not just PF device), do we want to support those devices as well? I think we actually already doing that with current driver selector that can be used to specify any type of driver such as virtio driver inside VM, this would make SR-IOV device plugin more generic for network devices and can be used in more advanced scenarios.

We are talking about SR-IOV network devices and add VFs from only those PF listed in the PF selector. Thus, the interface name and pci address are meant to me for SR-IOV PFs. If we want extend this for all sort of network devices then the selector list will very big and same as like manually figure out all the interface name/pci address and list them into the resource config. For those use-cases using other selectors would make more sense IMO.

Makes sense.


Amp Video support HLS

Hi,
In Basic Usage of amp-video, you said amp-video support HLS (https://ampbyexample.com/components/amp-video/), but i can't found any sample.
Azure Media player can support HLS (http://ampdemo.azureedge.net/), but i can know it's possible "native" amp-video support this format without more players.
Thank you

I tried add vide-hls js, but seems not work.


Feature/update readme

Closing this branch in favor of this: https://github.com/RelevanceAI/RelevanceAI/pull/193


Need to extend username to fit the entire 32 char UUID

Need to extend username to fit the entire 32 char UUID
In my app, these two are set….
SOCIAL_AUTH_CREATE_USERS = True
SOCIAL_AUTH_FORCE_RANDOM_USERNAME = True
I was expecting that UUID as username and it should be 32 chars long but it is truncated to 30 chars. To allow more then 30 chars in usename is Django issue and I search the web and found
https://github.com/GoodCloud/django-longer-username
http://stackoverflow.com/questions/2610088/can-djangos-auth-user-username-be-varchar75-how-could-that-be-done
I’ve the DB migrated to allow than 30 chars however, social-auth is pointing to the original User-Model and  use max-length as 30 chars.
Could you help to extend this to allow full UUID length, meaning 32 chars in length. In my app, every object including user are tracked by UUID so it is not convenient to deal with special case of username is a truncated version of UUID.
Thanks a lot!

insider init_.py,
Added the following code so that it will be called when you do DB Sync..
But this will not take care of the Admin site problem that were discussed in stackoverflow. Since I don;t need to care of about Admin site... this solution works for me.
from django.utils.translation import ugettext as _
from django.db.models.signals import class_prepared
from django.db import models
MAX_USERNAME_LENGTH = 32
def customizeUserModel(sender, *args, **kwargs):
if sender.name == "User" and sender.module == "django.contrib.auth.models":
sender._meta.get_field("username").max_length = MAX_USERNAME_LENGTH
sender._meta.get_field("username").help_text = _("Required, %s characters or fewer. Only letters, numbers, and @, ., +, -, or _ characters." % MAX_USERNAME_LENGTH )
class_prepared.connect(customizeUserModel)


Wrong contract name at mint erc 20 task

While running the command:
hh erc20-mint  --contract  <ContractAddress>  --recipient  <RecipientAddress>  --network rskTestnet --amount <Amount>
https://github.com/JuanAgudeloRSL/rootstock-hardhat-starterkit/blob/33da1dbb58f8f8ff3695298ddb05dd17843f9703/tasks/erc20/mint.ts#L16
I am getting this error on the console:
Error HH700: Artifact for contract "BasicERC20" not found.

For more info go to https://hardhat.org/HH700 or run Hardhat with --show-stack-traces

To solve this issue I replaced BasicERC20 for MockERC20 as follows:
const contract = await ethers.getContractAt("MockERC20", taskArgs.contract)

Thanks, It has been updated.


Update Wycheproof chacha20_poly1305 to v1

Update Wycheproof testvector chacha20_poly1305 v0 to chacha20_poly1305 v1.

Checklist

[x] I've run tests to see all new and existing tests pass
[x] I've followed the code style of the rest of the project
[x] I've read the Contribution Guidelines
[x] I've updated the documentation if necessary

If you've made changes to gyb files

[ ] I've run .script/generate_boilerplate_files_with_gyb and included updated generated files in a commit of this pull request

Motivation:
We ought to use as many and as up to date test vectors as possible. Wycheproofs v0 were created 4 years ago and were due some upgrade.
Modifications:
Replaced the v0 with the v1 version, no other changed needed.
Result:
325 tests being run instead of v0's test count of ~151~.

https://github.com/apple/swift-crypto/pull/154

@swift-server-bot test this please


Use eslint specified in eslint.nodePath rather than global, for untitled files

For untitled files, why does it forcefully tries to use the global eslint, rather than the one specified in eslint.nodePath?
Instead, for untitled files, it should still continue to use the eslint specified in nodePath, or whatever it uses by default for workspaces.
I assume there's a technical limitation for this, and if so, then please mention it in the readme, and please suggest a workaround, if one exists. The reason this is a problem for me, is that since upgrading to eslint 6, my plugins cannot be accessed globally, so they are installed in the same dir as my global eslint config file, and now this vscode extension is trying to access the global plugins for untitled files, when I don't have any there anymore.
I'm also getting Error: Failed to load config "airbnb" to extend from. when opening JS untitled files, and I've installed eslint-config-airbnb locally, globally, in the same project as my global eslint config, etc. but nothing fixes it.
Per these lines:
https://github.com/microsoft/vscode-eslint/blob/9318950b070c2642fd76f5852ca12e6bee0884aa/client/src/extension.ts#L692-L698

@garyking where do you define the nodePath setting. In the user file or the workspace file. The problem is that for untitled files I actually don't know where it will be saved and hence don't know which setting to consider. But I think the user setting should still be respected.

I set nodePath in the user file (global settings.json VS Code) file. Yes, I think that one should be respected.

I tested it and the user setting is still respected in this case. Can you enable logging
"eslint.trace.server": "verbose" to see which node path is used in the server for the file.

The log is printed to the ESlint Output channel.

I can confirm that in untitled files, this extension still uses the global eslint package to lint the untitled file, so that's good.
BUT, when I made this thread, I had just upgraded to eslint v6, and had a bunch of problems with this extension and with that upgrade. So since then, I've downgraded to eslint v5.
From what I remember from when I was testing things, since eslint v6 doesn't support globally installed eslint packages, I had to install the packages locally to my global eslint config file. And so that's why I had to use the eslint.nodePath setting to point the extension to my global eslint config file's node_modules, which contained all my eslint plugins. (eslint.nodePath: "/Users/gary/.dotfiles/node_modules/")
And when I did that, and opened an untitled file and pasted some JS code to lint, I got the error as seen in the linked source code lines in the first post. My only solution was to disable warnings from eslint-ext, since they popped up every time I set an untitled file to the javascript language.
So unfortunately, I can't exactly reproduce this issue again, as I've since downgraded back to eslint v5 due to all the problems with v6. Feel free to close this issue if you feel there is no further action to be taken, or leave it open to be resolved in the future. I just found there were too many problems with eslint v6 itself, and with this extension.

The is a dedicated issue here to track the ESLint v6 problems: https://github.com/microsoft/vscode-eslint/issues/696
Especially useful might be this comment: https://github.com/microsoft/vscode-eslint/issues/696#issuecomment-519936333
I will close the issue. Please ping if you think there is something that needs to be done other than what is discussed in #696


Installation issue on Ubuntu server 20

Hi,
I was trying to install VarFish on Ubuntu server 20 but I encounter several issues :

make jannovar : ssh on localhost due to root permission (solved)
make postgres : No package matching 'centos-release-scl' is available (unsolved)

I try to remove pretasks from plays/postgres.yml but the files are'nt find :
fatal: [postgres]: FAILED! => {
"ansible_facts": {},
"ansible_included_var_files": [],
"changed": false,
"message": "Could not find file\nSearched in:\n\t/home//varfish-installer/.imported_roles/bihealth.postgres_server/vars/[]\n\t/home//varfish-installer/.imported_roles/bihealth.postgres_server/[]\n\t/home//varfish-installer/.imported_roles/bihealth.postgres_server/tasks/vars/[]\n\t/home//varfish-installer/.imported_roles/bihealth.postgres_server/tasks/[]\n\t/home//varfish-installer/plays/vars/[]\n\t/home//varfish-installer/plays/[] on the Ansible Controller.\nIf you are using a module and expect the file to exist on the remote, see the remote_src option"
}
Have you try on Ubuntu server 20 OS ?
Another question where is the Web client ?
Thank's a lot for your wonderfull work very inspiring.
Best
Manuel

Hello Manuel,
thank you very much for your interest in VarFish and your kind words! I also want to apologize that you experience issues with the installation. Currently, we are testing and revising the installation routine, so it is still work-in-progress, as you might have noticed.
That being said, the installation via ansible only supports CentOS 7 at this point in time. Unfortunately the manual is not clear in this. Technically, VarFish can also run on Ubuntu, and it is on our list to support other distributions in ansible as well. Do you have the possibility to set up a clean CentOS 7 for now?
My colleague @holtgrewe who primarily worked on the ansible scripts might add his thoughts (about next week).
The github repository of VarFish Web is located here:
https://github.com/bihealth/varfish-server
And the checkout on the server instance will be located here:
/srv/varfish-web/master
Cheers,
Oliver

Thanks a lor for your quick answer.
I will try with a CentOS7 distribution for now.
Thanks for the links.
Cheers,
Manuel

Hi,
I am trying to install VarFish on CentOS7 but I have some issue.
First the root must have permission to ssh in sshd_config (or sshkegen) for the make jannovar/postgres step.
Then during make varFish step I have an issue with on the "TASK [bihealth.postgres_client : on postgres host -- create database] "
postgres_client_host is not defined.
So I just add the variable definition in varfish-installer/inventories/production/group_vars/all/servers.yml as follow :
postgres_client_host: "<IP_ADDRESS>"
Then the make varFish goes to the TASK [bihealth.sodar_core_app : create virtualenv environment] .
Where i have this issue :
###################################
fatal: [varfish]: FAILED! => {
"changed": true,
"cmd": "set -xeo pipefail\ntrap "rm -rf /srv/varfish-web/master-venv" ERR\n$(which virtualenv) -p /usr/bin/python3.6 /srv/varfish-web/master-venv\n",
"delta": "0:00:00.003513",
"end": "2020-10-22 13:23:40.805035",
"rc": 127,
"start": "2020-10-22 13:23:40.801522"
}
STDERR:

trap 'rm -rf /srv/varfish-web/master-venv' ERR
++ which virtualenv
which: no virtualenv in (/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/pgsql-12/bin)
-p /usr/bin/python3.6 /srv/varfish-web/master-venv
/bin/bash: line 2: -p: command not found

MSG:
non-zero return code
###################################
I was thinking about a classical problem or name between python 2 vs 3 sor I create a symbolic link ln -s /bin/virtualenv-3 /bin/virtualenv.
Then when I rerun the make varFish I have similar issue but with much more logs.
###################################
fatal: [varfish]: FAILED! => {
"changed": true,
"cmd": "set -xeo pipefail\ntrap "rm -rf /srv/varfish-web/master-venv" ERR\nsource /srv/varfish-web/master-venv/bin/activate\npip install -r requirements/production.txt\n",
"delta": "0:00:38.797057",
"end": "2020-10-22 13:35:46.584571",
"rc": 1,
"start": "2020-10-22 13:35:07.787514"
}
STDOUT:
Collecting python-dotenv==0.9.1
Downloading python_dotenv-0.9.1-py2.py3-none-any.whl (17 kB)
Collecting wheel==0.34.2
Downloading wheel-0.34.2-py2.py3-none-any.whl (26 kB)
...
 building 'psycopg2._psycopg' extension
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/psycopg
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPSYCOPG_VERSION=2.8.6 (dt dec pq3 ext) -DPG_VERSION_NUM=90224 -I/usr/include/python3.6m -I. -I/usr/include -I/usr/include/pgsql/server -c psycopg/psycopgmodule.c -o build/temp.linux-x86_64-3.6/psycopg/psycopgmodule.o -Wdeclaration-after-statement
In file included from psycopg/psycopgmodule.c:28:0:
./psycopg/psycopg.h:36:22: fatal error: libpq-fe.h: No such file or directory
 #include <libpq-fe.h>
                      ^
compilation terminated.

It appears you are missing some prerequisite to build the package from source.

You may install a binary package by installing 'psycopg2-binary' from PyPI.
If you want to install psycopg2 from source, please install the packages
required for the build and try again.

For further information please check the 'doc/src/install.rst' file (also at
<https://www.psycopg.org/docs/install.html>).

error: command 'gcc' failed with exit status 1
----------------------------------------

ERROR: Command errored out with exit status 1: /srv/varfish-web/master-venv/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-k96uu23d/psycopg2/setup.py'"'"'; file='"'"'/tmp/pip-install-k96uu23d/psycopg2/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-ede71h00/install-record.txt --single-version-externally-managed --compile --install-headers /srv/varfish-web/master-venv/include/site/python3.6/psycopg2 Check the logs for full command output.
MSG:
non-zero return code
###################################
I did not understand well what happen here. The problem seems linked to virtual env and psycog2.
I tried to install it via root with yum install python-psycopg2
It seems to work as the new error is :
###################################
TASK [bihealth.sodar_core_app : django -- prepare static files]
fatal: [varfish]: FAILED! => {
"changed": false,
"cmd": "set -xeo pipefail\nsource /srv/varfish-web/master-venv/bin/activate\npython manage.py collectstatic --no-input\n",
"delta": "0:00:00.295932",
"end": "2020-10-22 13:52:44.474874",
"rc": 1,
"start": "2020-10-22 13:52:44.178942"
}
STDERR:

source /srv/varfish-web/master-venv/bin/activate
++ deactivate nondestructive
++ unset -f pydoc
++ '[' -z '' ']'
++ '[' -z '' ']'
++ '[' -n /bin/bash ']'
++ hash -r
++ '[' -z '' ']'
++ unset VIRTUAL_ENV
++ '[' '!' nondestructive = nondestructive ']'
++ VIRTUAL_ENV=/srv/varfish-web/master-venv
++ export VIRTUAL_ENV
++ _OLD_VIRTUAL_PATH=/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/pgsql-12/bin
++ PATH=/srv/varfish-web/master-venv/bin:/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/pgsql-12/bin
++ export PATH
++ '[' -z '' ']'
++ '[' -z '' ']'
++ _OLD_VIRTUAL_PS1=
++ '[' x '!=' x ']'
+++ basename /srv/varfish-web/master-venv
++ PS1='(master-venv) '
++ export PS1
++ alias pydoc
++ '[' -n /bin/bash ']'
++ hash -r
python manage.py collectstatic --no-input
Traceback (most recent call last):
File "manage.py", line 29, in
execute_from_command_line(sys.argv)
File "/srv/varfish-web/master-venv/lib/python3.6/site-packages/django/core/management/init.py", line 364, in execute_from_command_line
utility.execute()
File "/srv/varfish-web/master-venv/lib/python3.6/site-packages/django/core/management/init.py", line 308, in execute
settings.INSTALLED_APPS
File "/srv/varfish-web/master-venv/lib/python3.6/site-packages/django/conf/init.py", line 56, in getattr
self._setup(name)
File "/srv/varfish-web/master-venv/lib/python3.6/site-packages/django/conf/init.py", line 41, in _setup
self._wrapped = Settings(settings_module)
File "/srv/varfish-web/master-venv/lib/python3.6/site-packages/django/conf/init.py", line 110, in init
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/srv/varfish-web/master-venv/lib64/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 665, in _load_unlocked
File "", line 678, in exec_module
File "", line 219, in _call_with_frames_removed
File "/srv/varfish-web/master/config/settings/production.py", line 18, in
from .base import *  # noqa
File "/srv/varfish-web/master/config/settings/base.py", line 235, in
import sqlalchemy.dialects.postgresql
ModuleNotFoundError: No module named 'sqlalchemy'

MSG:
non-zero return code
###################################
But this time even a yum install python-sqlalchemy does not work. This error persist.
Sorry for the long post but I am not so far away from the end.
Have you got any idea of what happened in there ?
Does something I have done is wrong ?
Thanks a lot for your time,
Cheers,
Manuel


Does not work under Windows

Hi, I would really like to use this work A LOT. Is it possible that you can come up with a guide for using this under a Windows environment. I have seen several other people with a similar request, and I think a guide would help many people.
Thank you in advance.

I had the same issue with windows and fixed it including a short guide, see:
https://github.com/EmJay276/scikit-sparse

Hi EmJay276, I tried with windows.

I had the same issue with windows and fixed it including a short guide, see: https://github.com/EmJay276/scikit-sparse

Hi EmJay276, I followed your post with windows , but not working. Do you have an update? Thanks.

@ceanwang what error do you get?
For me it is still working following https://github.com/EmJay276/scikit-sparse#windows-installation

It is also already possible to install the current version of scikit-sparse via the provided guide to set the SUITESPARSE_INCLUDE_DIR and SUITESPARSE_LIBRARY_DIR
For a Windows Powershell the commands would be
$env:SUITESPARSE_INCLUDE_DIR='C:/Anaconda3/envs/<YOUR ENVIRONMENT NAME HERE>/Library/include/suitesparse'
$env:SUITESPARSE_LIBRARY_DIR='C:/Anaconda3/envs/<YOUR ENVIRONMENT NAME HERE>/Library/lib'
pip install scikit-sparse

For a Windows Powershell

Any possible without conda?

Did you install suitesparse and cython before running pip install scikit-sparse?

Replying to this issue. I have installed miniconda3 with all of the depencies (numpy, scipy, cython and suitesparse) on Windows. I have also installed visual studio build tools. But when I then run pip install scikit-sparse, I get the eventual error

C:\Users\j.vandeweg\AppData\Local\Temp\pip-install-49xkg_3z\scikit-sparse_55e38414f105475ab52bce6dd4987fcf\sksparse\cholmod_backward_compatible.h(1): fatal error C1083: Cannot open include file: 'cholmod.h': No such file or directory

Full error stack:
`(python39) C:\Windows\system32>pip install scikit-sparse
Collecting scikit-sparse
Using cached scikit-sparse-0.4.8.tar.gz (209 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: numpy>=1.13.3 in c:\programdata\miniconda3\envs\python39\lib\site-packages (from scikit-sparse) (1.23.5)
Requirement already satisfied: scipy>=0.19 in c:\programdata\miniconda3\envs\python39\lib\site-packages (from scikit-sparse) (1.9.3)
Building wheels for collected packages: scikit-sparse
Building wheel for scikit-sparse (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for scikit-sparse (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [27 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-39
creating build\lib.win-amd64-cpython-39\sksparse
copying sksparse\test_cholmod.py -> build\lib.win-amd64-cpython-39\sksparse
copying sksparse_init_.py -> build\lib.win-amd64-cpython-39\sksparse
creating build\lib.win-amd64-cpython-39\sksparse\test_data
copying sksparse\test_data\illc1033.mtx.gz -> build\lib.win-amd64-cpython-39\sksparse\test_data
copying sksparse\test_data\illc1033_rhs1.mtx.gz -> build\lib.win-amd64-cpython-39\sksparse\test_data
copying sksparse\test_data\illc1850.mtx.gz -> build\lib.win-amd64-cpython-39\sksparse\test_data
copying sksparse\test_data\illc1850_rhs1.mtx.gz -> build\lib.win-amd64-cpython-39\sksparse\test_data
copying sksparse\test_data\well1033.mtx.gz -> build\lib.win-amd64-cpython-39\sksparse\test_data
copying sksparse\test_data\well1033_rhs1.mtx.gz -> build\lib.win-amd64-cpython-39\sksparse\test_data
copying sksparse\test_data\well1850.mtx.gz -> build\lib.win-amd64-cpython-39\sksparse\test_data
copying sksparse\test_data\well1850_rhs1.mtx.gz -> build\lib.win-amd64-cpython-39\sksparse\test_data
running build_ext
building 'sksparse.cholmod' extension
creating build\temp.win-amd64-cpython-39
creating build\temp.win-amd64-cpython-39\Release
creating build\temp.win-amd64-cpython-39\Release\sksparse
"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.33.31629\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -Isksparse -IC:\Users\j.vandeweg\AppData\Local\Temp\pip-build-env-n0o11hlb\overlay\Lib\site-packages\numpy\core\include -IC:\ProgramData\Miniconda3\envs\python39/include -I/usr/include/suitesparse -IC:\ProgramData\Miniconda3\envs\python39\include -IC:\ProgramData\Miniconda3\envs\python39\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.33.31629\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" /Tcsksparse/cholmod.c /Fobuild\temp.win-amd64-cpython-39\Release\sksparse/cholmod.obj
cholmod.c
C:\Users\j.vandeweg\AppData\Local\Temp\pip-build-env-n0o11hlb\overlay\Lib\site-packages\numpy\core\include\numpy\npy_1_7_deprecated_api.h(14) : Warning Msg: Using deprecated NumPy API, disable it with #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
C:\Users\j.vandeweg\AppData\Local\Temp\pip-install-49xkg_3z\scikit-sparse_55e38414f105475ab52bce6dd4987fcf\sksparse\cholmod_backward_compatible.h(1): fatal error C1083: Cannot open include file: 'cholmod.h': No such file or directory
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.33.31629\bin\HostX86\x64\cl.exe' failed with exit code 2
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for scikit-sparse
Failed to build scikit-sparse
ERROR: Could not build wheels for scikit-sparse, which is required to install pyproject.toml-based projects`
I have also tried to add the described envs to PATH in the command line, but that didn't work either. I am not quite sure how to do this from powershell. Any help would be appreciated!

I have fixed this myself, using the "set" command in the command window:

set SUITESPARSE_INCLUDE_DIR=C:\ProgramData\Miniconda3\envs%envname%\Library\include\suitesparse
set SUITESPARSE_LIBRARY_DIR=C:\ProgramData\Miniconda3\envs%envname%\Library\lib
conda activate %envname%
pip install scikit-sparse

Perfect!
Sorry, I have only experience with Powershell, perhaps we should add your cmd commands to the readme too?

It is also already possible to install the current version of scikit-sparse via the provided guide to set the SUITESPARSE_INCLUDE_DIR and SUITESPARSE_LIBRARY_DIR
For a Windows Powershell the commands would be
$env:SUITESPARSE_INCLUDE_DIR='C:/Anaconda3/envs/<YOUR ENVIRONMENT NAME HERE>/Library/include/suitesparse'
$env:SUITESPARSE_LIBRARY_DIR='C:/Anaconda3/envs/<YOUR ENVIRONMENT NAME HERE>/Library/lib'
pip install scikit-sparse

I on the other hand have little to no experience with powershell :). I think it would be a wise idea to add the cmd options as well!