.net core projects only support referencing .net framework assemblies in this release

i am getting this error when i am trying to add reference of 3rd party dll that not on nuget i am using Asp.Net Core Web Application(.Net Framework Standard 4.6)

Can you provide any details of the 3rd party DLL?

Yes Stripe.dll and SimplePsd.dll both are not available on nuget

@rdefreitas the DLL details don't matter, VS2015 throws this error trying to reference any DLL via the Add Reference dialog. Fire up VS and build a simple class project then try to reference that DLL from any core project (even a console app) and you'll see this message every time.
Our team really wants to begin using MVC Core because we don't want to base a large new years-long project on the old stand-alone WebAPI, yet this problem is giving us a lot of heartburn. We can get around it with NuGet packaging but that's a big hassle when the DLLs are in active development and changing frequently (versus just referencing them in a centralized build-target folder somewhere).

@MV10 @dotnetdeveloper786 I didn't try this with the current version of the tooling for Visual Studio... it was one of the nightly builds sitting on my machine at the time.
I'll see if I can figure out a workaround, as I've got a couple of projects where I did pull this off.

In my case this is with VS2015 Update3 and .NET Core 1.0 with tooling Preview 2, which I think is still current. (Since it also affects things like Core console projects I wondered if it might belong over in one of the rosyln gits somewhere...)

@MV10 this is probably the right place to start...
@rowanmiller do you know who the right person on the team would be to look at this, or the best repo to open an issue is?

@MV10 @rowanmiller but if i create portable class library and than  i add that dll as reference and then i add this portable library reference  in my core web application it's working fine  but i am not able to add reference of that dll directly in to my core web application it throws me above exception
so what to do?

@dotnetdeveloper786 yes, my point was that it doesn't matter what kind of DLL you try to add, a core project always shows that error. I was agreeing with you and that is the issue they're investigating now.

@MV10 that's why I asked Rowan. He's a member of the asp.net team and would probably know who the best person is to address this. I'm just a lowly community member like you ;-)

it is likely that the conversion back to msbuild will fix this issue

I am having the same problem. Is there any workaround for this ?

I have to put my files into a NuGet package locally, set up that folder as a NuGet source, browse to the package and load it up that way. Then when I change the DLLs, I update the package and either have to update the version (and filename) and load the new file. Or, since I don't want useless old packages proliferating, save with the same version/filename, blow away the global package cache (batch file), then do a full restore.
It's pretty annoying. (And in my case it's worse than that since part of the project requires a companion set of .NET 3.5 assemblies and isn't NuGet compatible, so there is more batch-file jockeying to update that project too.)
How this got through testing without anybody doing a simple Add Reference is beyond me. Isn't that what Unit Test coverage is all about? Do they really not have test coverage for VS and tools???

Same problem here (VS Update 3, Tooling Preview 2). This is more than annoying. It makes .NET Core pretty much useless for enterprise development. When will this be solved?

I still question whether "aspnet" is the right repo area for reporting this issue (and having any chance of somebody from MS paying attention to it). Awhile back I stumbled across a repo called "roslyn-project-files" or something similar, which sounds like it might be an exact match for the team that might care about this, but I spent 90 minutes this morning paging thru github project lists and search results, and I can't find it again. Ring any bells with anybody?

If your focus is on ASP.NET scenarios, this is probably the right place.
roslyn-project-system is for a new C#/VB project system (based on CPS) that includes .NET Core support I believe, but may or may not replace ASP.NET's project system for web scenarios (I just don't know).

Then I don't get either why nobody is answering to that bug... I mean... it's very annoying not to be able to reference a single .NET 4.X DLL...

Indeed. The very existence of that bug suggests to me that whoever is developing .NET Core is not actually using it for any real-life projects. As MV10 already said, it is really puzzling how such a fundamental bug could possibly slip through basic testing.
I was tasked to assess if .NET Core is ready for production development.
My answer at this point is a clear No.

The history of this from my understanding is that the folks who developed the tooling we have today envisioned every single project belonging to their system, and their system creates nuget packages automatically for every assembly. So it wasn't an issue, if you were entirely in the new system.
Going forward the tooling will be MSBuild based, and I expect that means assembly references will be allowed again.

I recommend reporting this on dotnet/cli or dotnet/corefx repos, as this is not an ASP.NET problem.
And I think @AArnott is right.

@muratg I don't have need to use the command line tools myself so I haven't tested whether it's a problem at that level, and corefx is about the core libraries which definitely doesn't sound relevant to project/reference issues.
@AArnott are you saying we probably have to wait for VS 15?

Referencing stuff is all in CLI now (It's true that ASP.NET had that before we moved from DNX to dotnet.)

@muratg Can you set up a quick test and let us know how it goes? On the VS side you can literally create a stubbed-out do-nothind DLL then ref from a console project and it fails. I'll be happy to move the report over there if it's a problem.
This issue brought our decision to use core to a screeching halt on a very large project (and everybody I know in the enterprise world was already unnerved by the project.json/msbuild overnight reversal).

@MV10 Sorry, don't have time. There's enough people reporting the problem (including yourself), so I do believe that there's an issue. :)

cc @piotrpMSFT

@MV10 please see the pattern for wrapping loose dll's here:
https://github.com/dotnet/cli/tree/rel/1.0.0/TestAssets/TestProjects/TestAppWithWrapperProjectDependency
You will need to add a project-per-dependency.
If that doesn't unblock you, let's move this to https://github.com/dotnet/cli.

Major blocking issue!!

so what  is the latest solution ? do we just create nuget packages and add them to a local source ?

I would like to know if there is a fix for this yet

There isn't and the only thing I managed to do was to setup a .net framework 451 dependency.

I actually need to reference .net core (.net standard 1.6) dlls, and I had to create .net package for this

@piotrpMSFT Is there a dotnet/cli bug tracking this?
I'd like to move this discussion there, and close this bug on ASP.NET side.

Any updates on this?

This is a huge blocker! Any updates on this yet?

it works fine in vs2017 using csproj. it will not be implemented for vs2915 and project.json.

I'm fairly new to NuGet so this might be 'old-hat' for some. But, for those who pursue the 'publish NuGet package' option I've just discovered that you can configure NuGet Manager to point to a local directory.
In Options...NuGet Package Manager...Package Sources, click on the + button (top right), and set the 'Source' to a local folder.
I have a step which creates NuGet packages and then copies them to this folder to be available for my .Net Core projects.

When adding a reference, use "Browse" tab, not the "Assemblies" tab. Then you can use unregistered libraries.

In VS2015 there is no "Browse" tab in the "Reference Manager" form:

How can I add references to .NET Framework 4.0 assemblies?

Just want to add my weight to the "this is really annoying" camp.  I should be able to use basic xunit with a basic class library in core.

@michaelarner This is talking about assembly references not project references so the scenario you mention works.

Thanks @davidfowel, sure doesn't work for me in VS2015 Update 3: I have a class library and an xunit project -- everything compiles and runs nicely, but I haven't been able to find anything that will let intellisense in my xunit tests see my class library.....

2 questions for ya:

Can you put the sample on github?
Are you using resharper?

I have DLL say "MyCustom.dll" located under my local machine. I want to refer the same in my .Net Core application. I am having below json file.
{
"version": "1.0.0-*",
"dependencies": {
"Microsoft.ApplicationInsights.AspNetCore": "2.0.0",
"Microsoft.AspNetCore.Mvc": "1.1.1",
"Microsoft.AspNetCore.Routing": "1.1.0",
"Microsoft.AspNetCore.Server.IISIntegration": "1.1.0",
"Microsoft.AspNetCore.Server.Kestrel": "1.1.0",
"Microsoft.Extensions.Configuration.EnvironmentVariables": "1.1.0",
"Microsoft.Extensions.Configuration.FileExtensions": "1.1.0",
"Microsoft.Extensions.Configuration.Json": "1.1.0",
"Microsoft.Extensions.Logging": "1.1.0",
"Microsoft.Extensions.Logging.Console": "1.1.0",
"Microsoft.Extensions.Logging.Debug": "1.1.0",
"Microsoft.Extensions.Options.ConfigurationExtensions": "1.1.0",
"Microsoft.NETCore.App": {
"type": "platform",
"version": "1.0.1"
},
"Price.Common": "1.0.0-*",//This is working as it is part of my main source.
"MyCustom": { "version": "1.1.13191.1" }//This is my new dll.
},
"frameworks": {
"netcoreapp1.0": {
"imports": [
"dotnet5.6",
"portable-net45+win8"
],
"bin": {
"assembly": "D:/Clubcard/Shared-Libraries/Lib/API/MyCustom.dll"
}
}
}
}
Can any one help on how to reference the dll.

Thanks David.  I'm unable to put it up on github, but I >am< using resharper  (I also notice that if I open with 2017 RC1, which I just installed, and which hasn't been upgraded with resharper), the problem does not appear.
M.
On Sunday, February 19, 2017 1:03 AM, David Fowler<EMAIL_ADDRESS>wrote:

2 questions for ya:

Can you put the sample on github?
Are you using resharper?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Is this issue fixed? I couldn't add Nunit to a .NET Core project from nuget since I got a "dependency Nunit >=3.6.1" could not be resolved so I downloaded Nunit and tried adding references to the NetStandard1.6, 4.5 and portable DLLs. None of them worked

I solved this for myself by making my test project a 4.6.1 Project instead of .NET core (NetStandard1.6), Nunit gets added. I am not able to add a project reference to netstandard1.6 project though. I have to manually add a reference by navigating to the project's Debug->netstandard1.6 folder and selecting the DLL

I have a solution that has an ASP.NET Core Web Application (.NET Framework) project, and two Class Library (.NET Core) projects. One of the class library projects needs to reference some legacy .NET Framework 4.6 assemblies. I am having the same problem as many of the people on this thread and, like them, am wondering if there is any resolution.
I saw references to moving this topic to dotnet/cli, but looked there and could not find it.
I saw some references in this thread to maybe needing to package my legacy assemblies in nuget packages and add them to my .NET Core class libraries that way. Is that the recommended workaround at this point?
I am using VS2015 Update 3 with Dot Net Core Tools Preview 2.

I've gone ahead and created a NuGet package for my .NET Framework 4.6 assembly and have successfully (I think) installed it in my project. My project.json now looks like this:
{   "dependencies": {     "NETStandard.Library": "1.6.0",     "mycompany.myassembly.pkg": "4.6.0"   },   "frameworks": {     "netstandard1.6": {       "imports": "dnxcore50"     }   },   "version": "1.0.0-*" }
VS2015 puts a squiggly red line under the "4.6.0" version of my package and complains that "The dependency mycompany.myassembly.pkg 4.6.0 does not support framework .NETStandard, Version=1.6." And I am not able to reference any namespace or class within my packaged assembly. Has anyone else gotten this far, seen this problem, and found a way around/past it?

I also created a local nuget package source on c:\mypackages for referencing my own .net core dlls

I ran into this problem as well. see the following link
https://www.hanselman.com/blog/HowToReferenceAnExistingNETFrameworkProjectInAnASPNETCore10WebApp.aspx
Basically you have to make the portable library target .net 4.6 if not the references do not work and compile time problems abound.

This issue is being closed because it has not been updated in 3 months.
We apologize if this causes any inconvenience. We ask that if you are still encountering this issue, please log a new issue with updated information and we will investigate.


Fix some recent issues with the iso image

Description of changes
This:

Revamps a bit of the code to be more understandable
Fixes a hang on at least the Steam Deck
Removes needless complexity around text mode
Fixes semantics of the "internal" graphicalGrub option
Fixes rotation on a single device (Steam Deck) in a generic way (by sheer luck!)
Makes sure the generated config is valid (!!)

They are the issues I was personally able to reproduce.
Do read the commit messages, they may help understanding the changes!
Things to do

[ ] Ask people who had issues since the GRUB update to test
[ ] Test on AArch64 (e.g. with Tow-Boot, and verify serial with Tow-Boot)
[ ] Update GRUB with the latest tag [in another PR]

Things done
I tested this on a few UEFI systems here already, without issues. But other than the Steam Deck, none of them had issues before the GRUB upgrade, and I had not tested the iso since.

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Works on my Steam Deck!


 Did you validate the values returned by the sensor? I used your code to compare it against the values returned by the adatfruit driver.

temperature: identical within the promised error range
humidity: identical, but both values are about 8% too high. 83.5% instead of 75.5% over a saturated NaCl solution, and similar for the "wet bulb" test (=pure water). I had a similar situation with an BME280, which reported 15% too low values. After re-conditioning, it's only 3% too low.
pressure: Your driver seems fine, the adafruit's values are 10 hPa too high, compared to other sensors and the value reported by the university weather station, which is about the same level as my place (~10m higher = ~1 hpa less). I have to look into their code.

Hi @robert-hh thanks for raising this question. I hadn't thought of doing any validation or 'comissioning' of the sensor, but if you want to make an absolute reading that would be required. I would suggest editing the code to accept 'callibration coefficients' to correct the readings. If you can write up a procedure for determining the coefficients I am happy to perform the measurement so we can compare values. Cheers


Update this after nice changes done to the "mega-CR" event

Done. Is on https://github.com/coderefinery/template-workshop-webpage/tree/large-workshop-template


Replace dots with something else on user create and edit screens

Fix for #1325
Dot notation handling in laravel means it was looking for the existence of a value in the wrong place.
Eg, if the role name was a.role.name it would look in roles['a']['role']['name'] instead of roles['a.role.name']
I couldn't find anywhere where the name of the role is used in setting roles (they are set with IDs), so changing the dots in the form elements name attribute to something else seems to have fixed this without any unintended side effects.
Could be an issue if someone had a role called a.role and a second role called aDOTrole, but I can't see this being the case for too many users.
Edit: I should note that the display name of the role isn't changed, so it will still appear in the form with dots.

Thanks again @cw1998,
Now merged for next release.


update happy-users.html

I m not sure about this check it once whether it is wrong or not.

I guess it should be "flawlessly".
I can resolve this typo.
Could you please assign me this?

Thanks for the interest but
I've done it, but the only thing left to do is rise PR.

Keptn V1 has reached EOL on December 22nd, 2023, so this issue has been closed.


Catch duel module's RuntimeError

I'm not sure if it's possible to be fixed, but at the very least it shouldn't throw an ugly error.
https://i.nuuls.com/T9XsD.png

the image link doesn't work anymore, unless you still have the original image I will have to close this
Please in the future remember to post stack traces as text or at the very least use GitHub's uploading image feature if you for some reason can't copy the text.


Add scroll to top button

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.
I want to add a scroll to top option in every page.
Additional context
Add any other context or screenshots about the feature request here.

@souvikpramanikgit proceed


Fix errors without canvas because of canvas.tokens being undefined

Fix various errors that happen when  canvas.tokens.controlled is accessed when the canvas is disabled because of canvas.tokens being undefined

The type needs to be updated such that it isn't guaranteed to be present.

The type needs to be updated such that it isn't guaranteed to be present.
As far as I can tell, getSelectedOrOwnActors always returns at least an empty array

The type needs to be updated such that it isn't guaranteed to be present.

As far as I can tell, getSelectedOrOwnActors always returns at least an empty array

Sorry, by "the type" I mean that Canvas#tokens needs to be made optional.

I think this is already resolved by #11693


Add test to verify all handshakes are middlebox compatible

Resolved issues:
resolves #1823
Description of changes:
Our SAW proofs used to verify that we matched the RFC state machine. The most common mistake they caught was the CCS messages appearing in the wrong place, or not appearing at all. Now that the SAW proofs are disabled for TLS1.3, nothing is verifying middlebox compatibility.
This PR adds a unit test to close that testing gap and verify that all TLS1.3 handshakes match the RFC's CCS message rules.
Call-outs:
Were the existing tests broken before? Despite appearances, no. Our tls13_handshakes array contains a list of messages for every handshake type, even the ones we haven't actually explicitly set a list of messages for. These unused handshake types are assigned an  "empty" message list that's just [client_hello, client_hello, ... client_hello]. The old tests were supposed to filter out those "empty" handshakes for sanity, but didn't due to a bug in identifying the "empty" handshakes. However, the old tests actually ran fine against the "empty handshakes". The old tests really just cared that CCS messages could be received anywhere in a handshake, regardless of the contents of the handshake. However, the new tests DO fail for the "empty" handshakes, because they expect the CCS messages to be part of the message list (as required for middlebox compatibility). Therefore, I had to fix the "filter out empty handshakes" logic.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #2084 into master will decrease coverage by 0.02%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##           master    #2084      +/-   ##
==========================================
- Coverage   80.42%   80.40%   -0.03%
==========================================
  Files         233      233
  Lines       17619    17625       +6
==========================================
+ Hits        14170    14171       +1
- Misses       3449     3454       +5


[FLINK-28985][table]Create table statement supports create table like view

What is the purpose of the change
Support language: create table  like view, in jira :https://issues.apache.org/jira/projects/FLINK/issues/FLINK-28985
Brief change log
Support language: create table  like view
Verifying this change

org.apache.flink.table.planner.operations.SqlCreateTableConverter#lookupLikeSourceTable
org.apache.flink.table.planner.operations.SqlToOperationConverterTest#testCreateTableLikeViewWithFullPath

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not documented)

@flinkbot run azur

@flinkbot run azure

@flinkbot run azure

@JingsongLi hi,WDYT?

@waywtdcc You should make sure that you first have your PR passes the CI build and is mergable. As, since this would involve exposing new SQL syntax to the user, it would probably require a FLIP and a vote.


update go version to 1.15 and k8s deps to v0.19.6

Signed-off-by: Abhilash Pallerlamudi<EMAIL_ADDRESS>This PR updates go version to 1.15 and k8s dependencies to v0.19.6.

@liyinan926 could you please help with review?


Build Android app on CI

As a developer, I want to be certain that my Android app is always buildable.
Therefore, I want the app to be build after every push so I can ensure that the app is not broken.

😭😭😭😭😭😭😭😭😭😭😭😭
Hehe!
Thank you for your reply !
-------- Original message --------
From: Dimitris Platis<EMAIL_ADDRESS>Date: 31/10/2020 19:29 (GMT+01:00)
To: DIT112-V20/group-11<EMAIL_ADDRESS>Cc: valusca<EMAIL_ADDRESS>Assign<EMAIL_ADDRESS>Subject: Re: [DIT112-V20/group-11] Build Android app on CI (#30)
@platisd commented on this pull request.
You're very close!

In .github/workflows/android.ymlhttps://github.com/DIT112-V20/group-11/pull/30#discussion_r515525040:

- name: run Tests

  run: |

     cd TrailGage

     ./gradlew test --info

You don't need to do that since you don't have any tests

In .github/workflows/android.ymlhttps://github.com/DIT112-V20/group-11/pull/30#discussion_r515525188:

- name: Build App

  run: |

     cd TrailGage

     ./gradlew build --stacktrace

Before you can cd TrailGage you need to clone/checkout your repository! The action will not do that automatically for you.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHubhttps://github.com/DIT112-V20/group-11/pull/30#pullrequestreview-521159581, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AK642ITDGUU4TTKBHPJM7ZTSNRJQPANCNFSM4OGUDURA.


Backend: Remove alerts and other fields to show in Activity feed

Affected module
Does it impact the UI, backend or Ingestion Framework?
Backend
Describe the bug
A clear and concise description of what the bug is.
Activity feed shows details related to modifications on alerts.
To Reproduce
modify the alerts and it sends it on the activity feed
Additional context
Add any other context about the problem here.

@ayush-shah can you not link collate slack link here and instead post the description of what needs to be done

The activity feed shows alert secrets

Fixed


GP based generic batch-UCB agent

This PR implements a new batch-mode UCB-based acquisition approach from Desautels et al. Journal of Machine Learning Research 15 (2014) 4053-4103 in agent GPBatchUCB.

This agent composes a batch in an iterative way that avoids over-exploration in a given batch due to clustered solutions. It can also automatically adjust the uncertainty mixing parameter alpha. Kernels and other hyperparameters can be customized for a given application.
This agent also covers both the strictly sequential (batch size=1) as well as "naive" batch composition techniques.
Internally tested with various datasets.

GPBatchUCB can serve as the default BO-agent option in camd for a lot of optimization problems where dataset sizes allow the use of GPs.

Thanks for coding it up. Look forward to the reviewing this -- will get to it tonight.

@chirranjeevigopal-TRI thanks! I'll look at the points you note, and @JosephMontoya-TRI will help fix the integration issues before we merge.

@JosephMontoya-TRI do you have any ideas why this is still failing ? I pulled the changes from master and everything looks identical related to build.

Hmm... it looks like there's an issue with teh branch name in deployment, let's just merge for now and I think it'll build correctly, I can fix before release.


Upgrade to a snakeyaml version without CVE

Fix for CVE-2017-18640: https://nvd.nist.gov/vuln/detail/CVE-2017-18640 has been patched into snakeyaml 1.26

@dcapwell can you please have a look?

what JIRA is this related to?  We currently use 1.23.

@crazylab is there a JIRA for this, if not can you create one?

@dcapwell created a card https://issues.apache.org/jira/browse/CASSANDRA-16150


[Documentation] Create a contributors guide for this repo

Include guidance on

Running tests
Running static analysis / checkstyle
Avoiding git push --force and history modification
Making 'complete' commits which compile and be reverted without causing breaks

Tagging Work-in-Progress as [WIP]
Tagging experimental or unfinished work as Do-Not-Merge [DNM]

Adding assignee @hamiltonha as this is a docs ask


Reference could not be resolved: ./params.json

I can't get the $ref to work no matter what I try. You README says "The base path is used to indicate the static folder containing references to the main Swagger file.", is this the basePath property of the spec? Unfortunately I can't find an example in the screenshots. Great extension by the way!

Hi! See you a example on my github PSD2 Example.
By the way, update to new version, for correct working on Windows. If the example don't is useful to you, contact me again.
Thanks for feedback!!!!

Your example gives me the error Reference could not be resolved: ./definitions.yaml. I didn't find any updates via VSC, so I also tried manually installing version 1.0.3. Still no success unfortunately. By the way, also in your PSD2 example, what doe you mean with "The base path is used to indicate the static folder containing references to the main Swagger file."? The basePath in your example is just /payments?

Please update extension and try again.

Yes, it works now! Great!


dubbo GenericInvoke throws exception local class incompatible

ref to this issue https://github.com/apache/dubbo/issues/4675

@qixiaobo Hi , the build fails on Travis

@qixiaobo The build fails
Sorry for late
Thanks @chickenlj


Forward actions

[ ] Description
[ ] Dialog
[ ] Label
[ ] Listbox
[ ] Menu
[ ] Popover
[ ] Radio Group
[ ] Switch
[ ] Tabs

Why was this issue closed?


Adding parent and fixing version

@wtrocki mind reviewing ?

One small question. Should we override stuff like this https://github.com/aerogear/aerogear-parent/blob/master/pom.xml#L52-L55 ?

@wtrocki updated, also removed license, since defined in parent


Make compatible with small device

Make BOSSA compatible with 8K ram devices, I have tested this version on a SAMR21E16 and it works

Please squash this to a single commit and resubmit the pull request.  It makes it much easier to track the revision history and determine who did what and when.

Closed as Pull Request #118 created


Feature request: add support for APNG animated images

APNG is now supported by all modern browsers: https://caniuse.com/apng
For now only the first frame of APNG animated images is considered by imgproxy as the format is backward compatible with PNG.
It would be great to be able to resize them as animated images when IMGPROXY_MAX_ANIMATION_FRAMES > 1.
Some patches are available for libpng, but it seems that libvips is waiting for libpng official support, itself waiting for libspng support, which is in progress:
libvips support: https://github.com/libvips/libvips/discussions/2000
libpng support: https://github.com/glennrp/libpng/issues/267
libspng support: https://github.com/randy408/libspng/projects/3

Thank you for your answer @DarthSim, I know about existing formats and most of their pros/cons.
I should have precised that my current use case is to transcode & rescale  APNG to animated WebP/AVIF, not to get an APNG output.
As you know very well from all its security features, imgproxy is also used for use cases where the source image comes from users and is not controlled. And APNGs definitely exist in the wild, for example in the NFT ecosystem. See for example this APNG collection (right save if you want to check): https://www.jpg.store/collection/chainsondogs
That said for sure APNG is not trending so I understand supporting it is far from a priority. But once it is natively supported in libvips, maybe supporting it at least for inputs will be a low effort enough to make sense. Until then this issue can provide information for those wondering like me if APNG is supported.

@DarthSim For information, I asked more about it and one of the main reasons APNG is used is because Discord still does not support animated WebP. For some projects, the ability to share media on social networks is very important and Discord is used a lot currently.


sql: replace wide rows with blobs

Today, some of the mysql tables related to mutable state have 30+ columns and growing. Using very wide rows result in the following disadvantages:

Add support for a new type of sql engine involves tedious work. And so is making changes to existing SQL queries that span several lines
New features / improvements will involve adding new columns i.e. schema change. This can potentially affect availability for some sql based storage engines. In addition, its an additional step during deployment / rollout
Performance Impact: A test performed on executions table show that write throughput can be improved by 2x and read throughput can be improved by about 50% by using blobs instead of wide rows. This test was performed on MySQL 5.7 (InnoDB) with multiple threads doing random reads / writes to the executions table.

Given the above, this patch changes the MySQL tables to use thriftrw blobs instead of wide rows. The change greatly simplified the sql queries and also some tables which used a combination of blobs + columns. Even with this change, there are a few exceptions where we still need columns in addition to blobs. These are:

Cases where we need conditional updates. Example - range_id, last_event_id
Cases where one or two columns are updated frequently. Example - lastHeartbeatTime
Tables which are deprecated (like eventsv1) are left untouched

Note on versioning: This patch does not add a "version" field to the thriftrw blob types. This is something that can be added when we need it

Do we need some form of backward compatibility here? Are people using SQL outside? If so how will they migrate to this version only dealing with blobs.

Do we need some form of backward compatibility here? Are people using SQL outside? If so how will they migrate to this version only dealing with blobs.

SQL support is officially in alpha. We have a few customers playing with it today but they are aware things can change. There will be an announcement in the public slack room after this is landed.
And yes, it will be very hard to do changes like this once we are out of alpha - one of the main reasons I front loaded this PR


⚠ Bofrost.es has degraded performance

In 264b0f6, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1380 ms

Resolved: Bofrost.es performance has improved in bab309e after 6 minutes.


Outdated

The code is now outdated. Please fix!

You're right, the code is outdated; but then, so is the book. I'd recommend getting a new book instead of Swift Essentials now, as it's so long out of date and isn't likely to be updated any time soon.


Enhanced remote_attestation sample to enforce integrity of secure channel

Addresses issue #1707
After the remote_attestation succeeds, added the following (high level):
Created an ephemeral symmetric key in one of the enclaves and exchanged it with the other enclave using PKI to establish a secure channel.
Used the symmetric key to encrypt/decrypt the secret message using AES_GCM to communicate after this point for confidentiality and authentication.
GCM parameters used: Random IV, sequence number as additional authenticated data to prevent replay attacks and secret message was the input data to the authenticated encryption function. The output tag, a cryptographic checksum on the data was verified during decryption phase.

@anakrish - The goal of this PR is to modify existing remote attestation sample to establish a secure channel after mutual attestation without TLS. The existing sample is also contrived as both enclaves are on the same host.
Another sample using TLS will be added once the TLS feature is in where the enclaves will communicate across different VMs using sockets.

@anitagov @anakrish @soccerGB I don't think it's a priority for the remote attestation sample to illustrate the establishment of a properly secured channel given the upcoming TLS feature. It is sufficient to demonstrate the use of remote attestation in performing Diffie-Hellman key exchange to reduce the size and scope of the sample.

I agree. It is better to restrict reduce the scope of the attestation sample.
From issue #1707 this PR is supposed to fix, @soccerGB says:

Given the attested tls feature (#1325) is coming in a couple weeks, what I am going to do is to update the remote attestation to limit it to mutual attestation and point out additional session exchange logics (such as Diffie-Hellman algorithm) in order to establish a really "secure" channel, instead of adding session exchange logics there, which will be soon replaced by the Attested TLS feature.

That indicates that the plan was to limit the scope of the sample to just mutual attestation and just have pointers to session exchange logics instead of adding session exchange logics.
This PR seems to do the opposite and tries to implement a key exchange algorithm and establish a secure channel.
There seems to be disconnect between the plan of action in #1707 and this PR. Can anyone provide more insight into this disconnect?

Thanks for all your valuable feedback and comments.
@CodeMonkeyLeet @soccerGB  and all - I have my alternate implementation coded and running fine. AES-GCM with random IV, sequence number (as additional authentical data) to prevent replay attacks, secret message as the input data to the authenticated encryption function and the output tag, a cryptographic checksum on the data which is verified during decryption phase.
Issues with the DH key exchange - The DH key exchange is also vulnerable to the man-in-the-middle attack and is by itself not authenticated. The best part is that there is no guarantee that the person on the other end that you are deriving keys together is whoever they say they are. DH can be used in combination with RSA (or ECDSA) to get a communication channel that are both authenticated and forward secure. Replay attacks will still be an issue. To get a final solution, it will require almost implementing what TLS 1.2/1.3 is doing (non-trivial but can be done). So, my suggestion is to go with my current implementation as the TLS solution is around the corner and will guarantee the secure channel.
My current implementation can serve as a specific use case where there is no transport layer such as TLS.
@soccerGB - Please let me know your thoughts. Thanks.

Overall, the secure channel mechanism looks good. We can add this sample to the extra sample repo (https://github.com/openenclave/openenclave-extra-samples) first after this PR review is completed. (I added a few comments)

@soccerGB I still don't understand the value that such a sample would provide, for the following reasons:

We will have proper tls implementation soon. That would be the standardized way of establishing a secure channel between two remote enclaves.
It is still not clear what the plan is to address the original customer reported issue (#1707) and we seem to be keeping that issue open even though that issue has a stated plan of action to reduce the scope of the sample.
If we really want to demonstrate the establishment of a secure channel that is a not tls, then why not demonstrate how to one enclave can securely make an ecall on another enclave via the host? That is a genuine use case and would help bring feature parity with Intel.

Thanks for your comments @soccerGB and @anakrish
@soccerGB - Can you please update issue #1707 if you want to go ahead with the reduced scope of the sample as you described it OR
an alternate reduced scope like requested by Simon i.e. demonstrate the use of remote attestation in performing Diffie-Hellman key exchange. This, I believe, is adding the DH key to reportData during mutual Attestation.
I can implement the reduced scope once we agree on what it should entail. Thanks.
This is an interesting PR and I see a new use-case/request with every update. We should capture the proposed use-cases for samples in a new issue and address them separately as this PR is getting overloaded.

bors try

This should be going into extra-samples repo

Thanks for all your feedback.
@CodeMonkeyLeet @dthaler - Incorporated your suggestions. Please review.
@soccerGB - Please review the code changes. Only pending thing is fixing the documentation. Will also change the name of this sample to something more appropriate so that it does not conflict with the existing sample.
This is still planned to get into extra-samples.

Closing this as this sample is being renamed to proprietary_secure_channel and will reside in
https://github.com/openenclave/openenclave-extra-samples. The following PR addresses the checkin to this repository.
https://github.com/openenclave/openenclave-extra-samples/pull/2


Cannot inject custom FirestoreMappingContext

Describe the bug
A FirestoreMappingContext is created in autoconfiguration at
https://github.com/spring-cloud/spring-cloud-gcp/blob/master/spring-cloud-gcp-autoconfigure/src/main/java/org/springframework/cloud/gcp/autoconfigure/firestore/GcpFirestoreAutoConfiguration.java#L128
However FirestoreTempate creates a new FirestoreMappingContext instead of allowing the configured bean to be injected at
https://github.com/spring-cloud/spring-cloud-gcp/blob/master/spring-cloud-gcp-data-firestore/src/main/java/org/springframework/cloud/gcp/data/firestore/FirestoreTemplate.java#L79
I am trying to alter the behaviour of the FirestorePersistentEntityImpl by creating a custom FirestoreMappingContext in an application configuration class however this cannot work.

Created https://github.com/spring-cloud/spring-cloud-gcp/pull/2313


wip2

➕ New translations:

#
Term

1
You don't have the right credentials to perform this action. Please login.

2
You don't have the right credentials to perform this action.

3
{VAR_PLURAL, plural, =1 {You can upload one file

with a maximum size of

} other {You can upload  files at most

with a 'maximum size of  each

}}

4
Select

5
Export content

6
Welcome to %s!

7
You have been added to %s as a user

8
The [productName] manual offers a simple, quick introduction to all the features of [productName].

➕ New translations:

#
Term

1
You don't have the right credentials to perform this action. Please login.

2
You don't have the right credentials to perform this action.

3
{VAR_PLURAL, plural, =1 {You can upload one file

with a maximum size of

} other {You can upload  files at most

with a 'maximum size of  each

}}

4
Select

5
Export content

6
Welcome to %s!

7
You have been added to %s as a user

8
The [productName] manual offers a simple, quick introduction to all the features of [productName].

➕ New translations:

#
Term

1
You don't have the right credentials to perform this action. Please login.

2
You don't have the right credentials to perform this action.

3
{VAR_PLURAL, plural, =1 {You can upload one file

with a maximum size of

} other {You can upload  files at most

with a 'maximum size of  each

}}

4
Select

5
Export content

6
Welcome to %s!

7
You have been added to %s as a user

8
The [productName] manual offers a simple, quick introduction to all the features of [productName].

➕ New translations:

#
Term

1
You don't have the right credentials to perform this action. Please login.

2
You don't have the right credentials to perform this action.

3
{VAR_PLURAL, plural, =1 {You can upload one file

with a maximum size of

} other {You can upload  files at most

with a 'maximum size of  each

}}

4
Select

5
Export content

6
Welcome to %s!

7
You have been added to %s as a user

8
The [productName] manual offers a simple, quick introduction to all the features of [productName].

➕ New translations:

#
Term

1
You don't have the right credentials to perform this action. Please login.

2
You don't have the right credentials to perform this action.

3
{VAR_PLURAL, plural, =1 {You can upload one file

with a maximum size of

} other {You can upload  files at most

with a 'maximum size of  each

}}

4
Select

5
Export content

6
Welcome to %s!

7
You have been added to %s as a user

8
The [productName] manual offers a simple, quick introduction to all the features of [productName].

➕ New translations:

#
Term

1
You don't have the right credentials to perform this action. Please login.

2
You don't have the right credentials to perform this action.

3
{VAR_PLURAL, plural, =1 {You can upload one file

with a maximum size of

} other {You can upload  files at most

with a 'maximum size of  each

}}

4
Select

5
Export content

6
Welcome to %s!

7
You have been added to %s as a user

8
The [productName] manual offers a simple, quick introduction to all the features of [productName].

➕ New translations:

#
Term

1
You don't have the right credentials to perform this action. Please login.

2
You don't have the right credentials to perform this action.

3
{VAR_PLURAL, plural, =1 {You can upload one file

with a maximum size of

} other {You can upload  files at most

with a 'maximum size of  each

}}

4
Select

5
Export content

6
Welcome to %s!

7
You have been added to %s as a user

8
The [productName] manual offers a simple, quick introduction to all the features of [productName].


design how a "folder asset" will work

(NOTE: there is debate about whether Onyo should be aware of this use-case, or whether a user crafted solution is sufficient).
It should be as similar as possible as the normal file-based use-case.
The folder must match the asset naming pattern, and the asset file within must also match it.
I am currently debating between an asset file names something simple like "asset" (I don't actually like "asset", but something simple like that) vs matching the folder name verbatim (which will likely complicate the onyo mv and onyo set commands).

Since I am cleaning up the readme.md and it contains some "legacy thoughts" about folder assets, I will add these here. The open TODOs (designing, documenting and implementing) are:

How to edit folder assets
How to validate folder assets
What is the file-name to describe the folder-asset?

server (tracked) and a NIC (tracked)
laptop (tracked) and software license (tracked)

How to convert an asset file into an asset folder (e.g. when a license is given to it)

Additionally, from this Issue, I think the question comes up if/how we want to explicitly implement these functions, or if we just make it possible to give a folder a name following a name scheme.
In any case, I think this contains some aspects to discuss at a point in the future.

The section, as removed by PR #91, for later design discussions:

Advanced
A folder can also bundle multiple assets together into a larger asset, such as a server with a separately tracked network card, or a laptop with a specific software license.
TODO:
what is the file-name to describe the folder-asset?
    server (tracked) and a NIC (tracked)
    laptop (tracked) and software license (tracked)

If licensing is attached to a particular machine (such as an OEM licence), then it is best encoded as a metadata field. If the license is transferable, then the laptop asset should be converted to a folder, and the license moved into it.

Folder assets are currently just thought of, and there where talks to not implement them as a separate thing, but instead allow them implicitely. For now I remove the parts of the readme that mention them:
Just Files and Folders
[...]
A folder can also be used to bundle multiple assets
together into a larger asset (see "Advanced").

I want to give this some more abstract thoughts and some actual tests with bundles of hardware that we consider as a unit but with parts that may be tracked separately by us or Admin. More comments to follow.

Thinking about this, I'd like to suggest the following:

Asset folders themselves have to follow the naming spec for assets (sort of obvious).
The respective YAML could be stored in that folder under .onyo-asset-dir.yml or similar. .onyo* already is a "reserved namespace", the file can't be mistaken to be an asset on its own, the existence of such a specific file allows easy detection for onyo (whether or not a dir is an asset) and it's easy to exclude from anything dealing with the content of said dir.
A regular asset can be auto-converted into an asset dir, whenever an asset is moved into it.
More generally, think about it as both: a location and an asset. Not as a special asset.
I suppose it would require a special flag for new and possibly a dedicated command to transform a regular asset into an asset dir and the other way around. I don't like that part yet, but with an auto-convert when it's a move target, it shouldn't be too inconvenient. May be we can still come up with a better idea of how to handle it interface-wise.

WDYT, @aqw , @TobiasKadelka , @aghisla , @nhjjr ?

Asset folders themselves have to follow the naming spec for assets (sort of obvious).

I agree in general, but am not sure if this actually always makes sense for the use cases (e.g. juseless would be a usecase I think). So probably before this gets actually implemented or defined there should be another issue very similar to your #345 :)

The respective YAML could be stored in that folder under .onyo-asset-dir.yml or similar. .onyo* already is a "reserved namespace", the file can't be mistaken to be an asset on its own, the existence of such a specific file allows easy detection for onyo (whether or not a dir is an asset) and it's easy to exclude from anything dealing with the content of said dir.

In general it is not clear for me what would be stored in the respective YAML file at all. The idea of asset folders (IIRC) is to define an asset that has exchangeable parts with their own serial/inventory numbers.
I wonder (and I don't say I like the idea :P) if this could not be combined in some form with the .anchor, which is also already a "reserved namespace".

A regular asset can be auto-converted into an asset dir, whenever an asset is moved into it.

This makes sense to me in theory. In practice I wonder if that would not be somewhat inviting errors or confusion. But I agree that having a way to later notice "it would be good if this asset had multiple separate parts" and act comfortably on it would be great. But if we want to have this happening automatically with a move, or with an additional flag (e.g. onyo mv --make_folder_assets or onyo set --to_asset_folder just to give badly named examples) is not clear for me.

More generally, think about it as both: a location and an asset. Not as a special asset.

Definitely!

I suppose it would require a special flag for new and possibly a dedicated command to transform a regular asset into an asset dir and the other way around. I don't like that part yet, but with an auto-convert when it's a move target, it shouldn't be too inconvenient. May be we can still come up with a better idea of how to handle it interface-wise.

I agree, that we would probably want to have dedicated flags or commands for this.

All things considered, I do not disagree with your thoughts, but see a few very big problems with asset folders in general, which make it hard to comment on the issue.

we do not have any fully defined use case or workflow, just a few loose thoughts why this is needed.
onyo can not sum up similar values over multiple assets, e.g. if we would have a cluster bundeling up multiple servers, we could currently not even count CPUs or such things.

@TobiasKadelka

In general it is not clear for me what would be stored in the respective YAML file at all. The idea of asset folders (IIRC) is to define an asset that has exchangeable parts with their own serial/inventory numbers.

Yes, but isn't the point that it is itself an asset? Hence, it got to have a YAML with it's own properties. Otherwise it would just be a location and no notion of an asset dir is required really. Or is your point that it only requires a serial number? Then my question would be: Do you think it reasonable to restrict all users to only assign the standard pseudo-keys to such assets, just because we couldn't come up with a case where we want more metadata on it? Is that a good enough reason to not allow more?

onyo can not sum up similar values over multiple assets, e.g. if we would have a cluster bundeling up multiple servers, we could currently not even count CPUs or such things.

Well, yes and no. We can query for the values of a specific key for all assets in a folder. Summing the values can be done outside of onyo commands - both via CLI or python. Don't see a problem there. More generally: From my POV onyo needs to deliver the relevant metadata not interprete it (which is what we'd do if we say "oh, this value is a count"). This is up to the user and what they want to use the option for arbitrary key-value-pairs for.

"server exists and is in juseless, but not connected yet", where it would be an asset in the folder location-wise, but should not be considered part of the asset.

I see. I'd argue that this is smashing two different concepts into one another and needlessly complicating things.
If one wants to distinguish the notions of "at location" and "part of" then both need to be represented by different folders.
One could have:
|---juseless  # regular location folder
        |-- not_connected_asset  # regular asset file
        |-- juseless # asset folder whatever the name needs to be
               |-- .onyo-asset-dir.yml  # juseless' metadata
               |-- connected_asset # regular asset file

Verdict from roadmap meeting for 1.0:
Go for asset folders with reserved name YAML file. No .anchor file in such folders. Have simple conversion command(s) for asset file <-> asset folder. Automatic conversion via mv or similar: Figure later, especially with respect to collapsing asset folder to file again.
Open question: Allow absence of .anchor or enforce absence?


Error: Alignment Issue Of Body And Footer

Describe the Error

• Their Is A indentation/ Alignmnet error in the body , before the search bar
• The footer is looking unattractive
Expected behavior

•  The Footer Can Be More Attractive
•  The Aligmnet of elements can be better
Additional context

• Please can you add this issue to the hackOctober fest and GSSOC-extd 2024

I would love to work on this issue!

@Mandy1200 Any update regarding this ? you were assigned to this.

sorry bearer , i am unable to configure the yml files

Bearer i'am unable to find any file for styles(like css or tailwind css) , it seems like the particular repo is hidden/privatized could you help me to find it and alter the issue i had mentioned in #570

Bearer i'am unable to find any file for styles(like css or tailwind css) , it seems like the particular repo is hidden/privatized could you help me to find it and then i would alter the issue i had mentioned in #570

Check the gh branch you will find all CSS files there @Mandy1200


[QUESTION] How to integrate cds-typer into the CI

Question
I have problems to integrate cds-typer in our CI process. I already had a look at the documentation  and I also tried to adapt the mta.yaml file. However, I always get an error like
Error: lib/masterData/businessPartners/DbBusinessPartnerRepository.ts(17,38): error TS2307: Cannot find module '#cds-models/sap/erp4sme/c4b/masterData/businessPartners' or its corresponding type declarations.
in the build process of the pipeline.
The build job on github is defined in our pr_voter.yml file. Here, npm run build is executed.
Thus, I added to the build script in the package.json the script:
"cds-typer": "npx @cap-js/cds-typer \"*\" --outputDirectory @cds-models && npx @cap-js/cds-typer \"*\" --outputDirectory gen/srv/@cds-models",
I tried several options and finally decided to run cds-typer twice, once with the output directory @cds-models and once with gen/srv/@cds-models. But the result is always the same: the error mentioned above.
E.g. the generated types cannot be found in the file DbBusinessPartnerRepository.ts.
Locally in Visual Studio Code, everything works fine.
It would be great if you can have a look at our repository  and the PR error and give some advice. If needed, we can schedule a meeting.
Thanks and best regards,
Michael

Hi Michael,
thanks for bringing up this issue. I checked your repository and the tsconfig.json appears to be missing the aliasing for #cds.models. Running cds add typer should add this section automatically. Does adding this section help?
Best,
Daniel

Hi Daniel,
finally, I noticed that we have besides the tsconfig.json also a tsconfig.deploy.json file. I added the path alias also to this file. The above mentioend errors are gone now. :-)
Please thinks about to include this informatuion also into your documentation. And the cds add typer command should also take care of such a tsconfig.deploy.json file.
Best regards,
Michael

Hi Michael,
glad you could fix the issue!
Best,
Daniel


Ignore static agents that are not sufficient for pending workload

If static agents with free capacities exist, but the agents cannot process pending workload due to their configuration, e.g. due to labels, the autoscaler still does not create any agents.

Checked again, this setup definitely causes problems.

Can confirm, had a static agent with workloads for amd64 and the autoscaler with a filter for arm64. The latter only kicked in once the static agent was removed.


Support yaml config for node-disk-manager

Add yaml support for NDM config. json support is preserved.
Fixes #148

Codecov Report

Merging #151 into master will increase coverage by 0.11%.
The diff coverage is 80%.

@@            Coverage Diff            @@
##           master    #151      +/-   ##
=========================================
+ Coverage   54.78%   54.9%   +0.11%
=========================================
  Files          42      42
  Lines        1577    1581       +4
=========================================
+ Hits          864     868       +4
  Misses        651     651
  Partials       62      62

Impacted Files
Coverage Δ

cmd/controller/ndmconfig.go
75% <80%> (+8.33%)
:arrow_up:

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 60986e2...3ee0a9d. Read the comment docs.


Implemented light punch move and animation

I'm currently using a delay timer that waits until the attack animation ends, and I'm unsure if that's the best way of doing it.

Good initial idea! I'll test this out.

Playing around and experimenting with the timer yield now. It works, but I'm not sure if it'd work with cancelling moves.


python311Packages.rns: 0.6.0 -> 0.6.1

Diff: https://github.com/markqvist/Reticulum/compare/refs/tags/0.6.0...0.6.1
Changelog: https://github.com/markqvist/Reticulum/releases/tag/0.6.1
Description of changes

Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

@OfBorg eval

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

12 packages built:

python310Packages.lxmf
python310Packages.lxmf.dist
python310Packages.nomadnet
python310Packages.nomadnet.dist
python310Packages.rns
python310Packages.rns.dist
python311Packages.lxmf
python311Packages.lxmf.dist
python311Packages.nomadnet
python311Packages.nomadnet.dist
python311Packages.rns
python311Packages.rns.dist


Change output directory of exports

Is it possible to change the directory where the exports (images, videos, builds) are created?

This is not currently possible but it's been on the roadmap for a while!
I'm curious what you'd like to be possible? Per sketch configuration ? Global configuration ?

Oh nice!
What I imagine would be nice, is a global config that could be defined in the root of the fragment directory. And then have the option to override this setting on a sketch-by-sketch basis by exporting a config from each sketch's JS file (similar to how you can currently define the filename structure).
Does that make sense / sound reasonable?

In case anyone was having the same issue as me, I came up with a pretty simple solution to solve my original problem of wanting to git ignore rendered images and videos.
Adding these lines to the .gitgnore file allows you to commit any .png or .mp4 file as long as they are in the gfx/ directory (name this what you want) but ignores any of these types of files elsewhere (ie, the rendered ones):
*.png
*.mp4
!/gfx/*.png
!/gfx/*.mp4

Hello @bravokiloecho. Apologies for the delay to bring this feature made months ago in a new proper release. You can now use a flag exportDir as described in #37.
Cheers!

Amazing! Thank you so much, and I really appreciate you letting me know here.
The feature looks great and definitely resolves the issue I had.
Is the architecture of this solution different to what would be needed if we wanted to define the output directory as an export in the sketch file. For example, adding something like:
export const exportDir = '../exports/'

That's a good idea to allow configuration of this on the sketch file as well. I'll have a look into that.

Hello @bravokiloecho! Maybe merged too quickly but I've added an exportDir exports from the sketch file as a possible way to change the exports directory. Can you have a look at it even if it's merged in dev already?
Let me know what you think!

Which OS are you running? That's weird, I don't see how this could end up in the Downloads directory as there is no fallback to that...
If you remove export let exportDir = ../exports/`, where does it save ?
One thing that could be the source of the problem might be not running the command and using the path to the command line instead, I'll have a look

I'm using Mac OS 12.5.1
If I remove the exportDir line in the sketch file it saves in the file's directory (as standard)

I tested on an other Mac and I wasn't able to reproduce the error. Would you be able to make a screen recording of the flow where it saves in the Downloads folder?

Any news @bravokiloecho ?

This was fixed in https://github.com/raphaelameaume/fragment/pull/49 and released in https://github.com/raphaelameaume/fragment/releases/tag/v0.1.14


Failed to use ptvsd_launcher.py with error "ValueError: invalid literal for int() with base 10: '--client'"

Environment data
VS Code version: Code - Insiders 1.29.0-insider (d7ac6e838f51a03f7d417b4758f5fb075878d615, 2018-11-01T06:11:43.390Z)
OS version: Darwin x64 17.7.0
Python version (& distribution if applicable, e.g. Anaconda): Python 3.6.6

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz (8 x 2500)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledrasterization: enabledvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
2, 2, 2

Memory (System)
16.00GB (6.67GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (8)

Extension
Author (truncated)
Version

tslint
eg2
1.0.40

vscode-azurefunctions
ms-
0.12.0

python
ms-
2018.9.2

azure-account
ms-
0.5.0

csharp
ms-
1.17.0

vscode-docker
Pet
0.3.1

java
red
0.33.0

vscode-java-debug
vsc
0.15.0

Actual behavior
As discussed offline, I'm preparing to use the new debug.getLauncherCommand api as described here: https://github.com/Microsoft/vscode-python/issues/3121 in conjunction with the Azure Functions extension. I specified the launcherCommand manually just to make sure it would work like this:
"languageWorkers__python__arguments": "/Users/ericjizba/.vscode-insiders/extensions/ms-python.python-2018.9.2/pythonFiles/experimental/ptvsd_launcher.py --client --host <IP_ADDRESS> --port 9091"

But I get this error in the logs for the func cli:
[11/5/18 6:22:28 PM] Starting language worker process:python  /Users/ericjizba/.vscode-insiders/extensions/ms-python.python-2018.9.2/pythonFiles/experimental/ptvsd_launcher.py --client --host <IP_ADDRESS> --port 9091 "/usr/local/Cellar/azure-functions-core-tools/2.1.725/workers/python/worker.py" --host <IP_ADDRESS> --port 64606 --workerId e9e619ac-29fd-491f-9dfc-3362894a18be --requestId 3dce2fc5-6be1-4d8a-a598-b59a24a9de7e --grpcMaxMessageLength 134217728
[11/5/18 6:22:28 PM] python process with Id=47489 started
[11/5/18 6:22:28 PM] Found the following functions:
[11/5/18 6:22:28 PM] Host.Functions.HttpTrigger
[11/5/18 6:22:28 PM]
[11/5/18 6:22:28 PM] Host initialized (342ms)
[11/5/18 6:22:28 PM] Host started (351ms)
[11/5/18 6:22:28 PM] Job host started
[11/5/18 6:22:28 PM] Traceback (most recent call last):
[11/5/18 6:22:28 PM]   File "/Users/ericjizba/.vscode-insiders/extensions/ms-python.python-2018.9.2/pythonFiles/experimental/ptvsd_launcher.py", line 40, in <module>
[11/5/18 6:22:28 PM]     port_num = int(sys.argv[1])
[11/5/18 6:22:28 PM] ValueError: invalid literal for int() with base 10: '--client'
[11/5/18 6:22:28 PM] Language Worker Process exited.
[11/5/18 6:22:28 PM] python exited with code 1
[11/5/18 6:22:28 PM]  ValueError: invalid literal for int() with base 10: '--client'.

I will note that the traceback is misleading as that code doesn't exist in https://github.com/Microsoft/vscode-python/blob/master/pythonFiles/experimental/ptvsd_launcher.py . Either the copy you are working from is old (are you running against the development build of the extension), or something else is going on.

@EricJizbaMSFT

Please install the development version of the extension from here https://pvsc.blob.core.windows.net/extension-builds/ms-python-insiders.vsix
Open the above extension directory and delete the folder ms-python.python-2018.10.*/pythonFiles/experimental/ptvsd
Open the above extension directory in your terminal
Run the following command:
python -m pip install -t ./pythonFiles/experimental/ptvsd git+https://github.com/Microsoft/ptvsd.git
Try debugging once again

Why:

You need to try using the latest development version of the extension
The latest version of the debugger (PTVSD) is not bundled with the dev version of the extension

Let me know how this goes

This is what I see now:
[11/5/18 9:36:23 PM] Starting language worker process:python  /Users/ericjizba/.vscode-insiders/extensions/ms-python.python-2018.10.0-beta/pythonFiles/experimental/ptvsd_launcher.py --client --host <IP_ADDRESS> --port 9091 "/usr/local/Cellar/azure-functions-core-tools/2.1.725/workers/python/worker.py" --host <IP_ADDRESS> --port 50136 --workerId 150538d2-cbd7-4d58-ac12-4d8f3fffebf0 --requestId 1c7559f0-9739-4166-9688-9176892887e8 --grpcMaxMessageLength 134217728
[11/5/18 9:36:23 PM] python process with Id=57453 started
[11/5/18 9:36:23 PM] Could not connect to <IP_ADDRESS>: 9091
[11/5/18 9:36:23 PM] Traceback (most recent call last):
[11/5/18 9:36:23 PM]   File "/Users/ericjizba/.vscode-insiders/extensions/ms-python.python-2018.10.0-beta/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd.py", line 1925, in main
[11/5/18 9:36:23 PM]     debugger.connect(host, port)
[11/5/18 9:36:23 PM]   File "/Users/ericjizba/.vscode-insiders/extensions/ms-python.python-2018.10.0-beta/pythonFiles/experimental/ptvsd/ptvsd/_vendored/pydevd/pydevd.py", line 484, in connect
[11/5/18 9:36:23 PM]     s = start_client(host, port)
[11/5/18 9:36:23 PM]   File "/Users/ericjizba/.vscode-insiders/extensions/ms-python.python-2018.10.0-beta/pythonFiles/experimental/ptvsd/ptvsd/pydevd_hooks.py", line 125, in <lambda>
[11/5/18 9:36:23 PM]     _start_client = (lambda h, p: start_client(daemon, h, p))
[11/5/18 9:36:23 PM]   File "/Users/ericjizba/.vscode-insiders/extensions/ms-python.python-2018.10.0-beta/pythonFiles/experimental/ptvsd/ptvsd/pydevd_hooks.py", line 71, in start_client
[11/5/18 9:36:23 PM]     sock, start_session = daemon.start_client((host, port))
[11/5/18 9:36:23 PM]   File "/Users/ericjizba/.vscode-insiders/extensions/ms-python.python-2018.10.0-beta/pythonFiles/experimental/ptvsd/ptvsd/daemon.py", line 211, in start_client
[11/5/18 9:36:23 PM]     connect(client, addr)
[11/5/18 9:36:23 PM]   File "/Users/ericjizba/.vscode-insiders/extensions/ms-python.python-2018.10.0-beta/pythonFiles/experimental/ptvsd/ptvsd/socket.py", line 197, in connect
[11/5/18 9:36:23 PM]     sock.connect(addr)
[11/5/18 9:36:23 PM] ConnectionRefusedError: [Errno 61] Connection refused
[11/5/18 9:36:23 PM] Language Worker Process exited.
[11/5/18 9:36:23 PM] python exited with code 1
[11/5/18 9:36:23 PM]  ConnectionRefusedError: [Errno 61] Connection refused.

launcher args:
"languageWorkers__python__arguments": "/Users/ericjizba/.vscode-insiders/extensions/ms-python.python-2018.10.0-beta/pythonFiles/experimental/ptvsd_launcher.py --client --host <IP_ADDRESS> --port 9091"

I tried switching to a different port (9093) and got the same exact error.

@EricJizbaMSFT
Sorry, but I don't quite remember how your extension launches the debugger.
Does it first launch the python process and then attach the debugger to it?
If so, then please change the command line args as follows:
"languageWorkers__python__arguments": "/Users/ericjizba/.vscode-insiders/extensions/ms-python.python-2018.10.0-beta/pythonFiles/experimental/ptvsd_launcher.py --host <IP_ADDRESS> --port 9091 --wait"

Remove --client
Add --wait (this tells the debugger not to start the python code until the debugger attaches to it). This is an optional flag.

Awesome that works for me! Any changes to the debug.getLauncherCommand api based on this?

We haven't started that yet. Will keep you posted


Update engine version to match LSP client

@karthiknadig are you okay with this going in? This would be for the hotfix branch? Not sure where you generate hotfixes from.

This is fine. But it should probably also be updated n main. Typically we put fix in main then pull it into branch

Okay I'll rebase it


Python Interactive: input box uses ">>>" instead of "[]"

To make it more IPython console-like, we should consider replacing ">>>" with "[]" in the Python Interactive input box.

within the "[]", show the next execution number.


Allow the user to hide the status bar

https://www.reddit.com/r/slide_ios/comments/9w0zud/request_hide_status_bar/

I think that is adding too many options just for the sake of it in my opinion


Coroutine on_public was never awaited error ?

/usr/lib/python3.6/site-packages/events/events.py:95: RuntimeWarning: coroutine 'Bittrex.on_public' was never awaited
f(*a, **kw)
^CTraceback (most recent call last):
File "async130.py", line 565, in
time.sleep(1337)
I am getting this error on 3.6.5 but strangely on 3.6.3 I dont get it.
PS: thanks for the lib, is this possible to donate BTC somewhere?

Post the script.

On Oct 23, 2018 at 2:40 pm,  <sahfd4eiugf (mailto:notifications@github.com)>  wrote:
/usr/lib/python3.6/site-packages/events/events.py:95: RuntimeWarning: coroutine 'Bittrex.on_public' was never awaited
f(*a, **kw)
^CTraceback (most recent call last):
File "async130.py", line 565, in
time.sleep(1337)
I am getting this error on 3.6.5 but strangely on 3.6.3 I dont get it.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly,   view it on GitHub (https://github.com/slazarov/python-bittrex-websocket-aio/issues/13), or   mute the thread (https://github.com/notifications/unsubscribe-auth/AbVUG4L0fQ3YKSCOZVnGawH39d_6ELTUks5unwAwgaJpZM4X1Xlz).

So I updated the my pip packages but still stayed in python 3.6.3, and now I am getting this error again, any ideas?

Now I updated to 3.7.3, still same error :(

I think the problem is as simple as having a mix-up between bittrex-websocket-aio and bittrex-websocket, if both are installed, or the wrong one is installed.
Because both are loaded in python using the same line:
from bittrex_websocket.websocket_client import BittrexSocket


add custom redirects and 404 page

Since the launch of the new site, there have been a variety of reports of 404s from google search results.

While reindexing should fix this, an interim solution would be a nicer 404 page.
Also, some commonly requested URLs could be redirected to their new home.
For example:
/install could go to /get_started

A detailed discussion on redirects for the old site can be found here and adapted to the new site:
https://cwiki.apache.org/confluence/display/MXNET/Redirects+on+the+Website
Please note there is already a .htaccess file and a 404 page in the static site. These just need to be linked up.
You can also test deployment on the staging server and this should have redirect enabled.
The code in this pipeline shows how to publish to beta.
http://jenkins.mxnet-ci.amazon-ml.com/job/restricted-website-publish-beta/
One strategy could be to just push your changes to the beta-site branch and preview there.
https://github.com/apache/incubator-mxnet-site/blob/beta-site/.htaccess
This file right now, is in fact, laced with garbage to test.

This is fixed in https://github.com/apache/incubator-mxnet/pull/16342


Fixing minFilter not getting set in TextureDescriptor

I'm new to this library and submitting pull requests, but I came across minFilter not being set on
This seemed to be the easiest way to do it.

Thanks for the PR, it looks good! :) I'll add some tests for it too.

So as a symbol of transparency, I'll be verbose on my thoughts:
At first I was thinking "ok I'll add tests for it before merging" but I'm trying to eliminate all barriers to entry for productivity.
So I'm now thinking:

this looks good and should work :D
instead of adding tests before merging, merge it, and add a new task to create tests that people can help with
something something contribution guide


Can not ping to IP address in VM

I have dpdk-ans running in my VirtualBox - Centos-7 environment.
I can run everything without error
I ran ->  ./build/ans -c 0x2 -n 1  -- -p 0x1 --config="(0,0,1)"
Checking link status ...............done
Port 0 Link Up - speed 1000 Mbps - full-duplex
USER8: main loop on lcore 1
USER8:  -- lcoreid=1 portid=0 rxqueueid=0

Opened another one and ran ./build/anscli inside dpdk-ans/ans
ip addr show

 veth0: mtu 1500
   link/ether 08:00:27:0c:45:ab
   inet addr: <IP_ADDRESS>/24

But I can not ping to <IP_ADDRESS> from VM or my host PC. I have changed the IP but no luck.
I would like to join dpdk-ans Slack community. Please let me know how to join.

You may do such test:

Don't run ans. the nic bind to linux kernel, configure <IP_ADDRESS>/24 on the nic.
ping <IP_ADDRESS> from host PC.
maybe the root cause is your virtual box network setting.

I have tested this dpdk example. It works. Only this example gets failed.

Check the arp table by anscli"ip neigh show", and check the stat of the nic by anscli "ip link show".
Print  all rx packets in ans_main.c and check it.

ip neigh show
ans> ip neigh show

ANS IP neigh table

ip link show
 veth0: port 0 state DOWN mtu 1500
   link/ether 00:1b:21:c0:51:b8
   IPV4 checksum offload enable
   UDP checksum offload enable
   TCP checksum offload enable
   TCP TSO offload enable
   Max allowed number of segments: 255
   RX packets:0 errors:0 dropped:0
   TX packets:0 errors:0 dropped:0

Something wrong with your nic.
The port is down.

In my network card, port as a different name other than veth0. But i have set hugepages and bind network card in dpdk module.

I have fixed Port down issue. But still it does not bind an IP for that.
Checking link status ...............done
Port 0 Link Up - speed 1000 Mbps - full-duplex
USER8: main loop on lcore 1
USER8:  -- lcoreid=1 portid=0 rxqueueid=0

IP assigning
ans> ip addr show

 veth0: mtu 1500
   link/ether 08:00:27:0c:45:ab
   inet addr: <IP_ADDRESS>/24
ans> ip add del <IP_ADDRESS>/24 dev veth0
Bad arguments
ans> ip addr del <IP_ADDRESS>/24 dev veth0
Del IP address successfully
ans> ip addr del <IP_ADDRESS>/24 dev veth0
Del IP address failed,  error code 17
ans> ip addr add <IP_ADDRESS>/24 dev veth0
Add IP address successfully
ans>
ans> ip addr show

 veth0: mtu 1500
   link/ether 08:00:27:0c:45:ab
   inet addr: <IP_ADDRESS>/24

But I still can not ping to it even inside the VM.

ans is userspace tcp/ip stack, you can't ping to it from linux kernel inside the VM, you shall ping to it from another vm.

Yes, VM to VM ping was working fine. Thanks for the support.

Good morning Sachith, I have been facing what I think is a similiar issue to yours.
I know the issue is closed, but maybe you can provide me some help.
I have 2 interfaces, one is NATted and the other one is for dpdk binding purposes.
Within my Ubuntu 16.04 I have isntalled dpdk and dpdk-ans, and run it with:
./ans -c 0x4 -n 1 --base-virtaddr=0x2aaa2aa0000 -- -p 0x1 --config="(0,0,2)" --enable-kni --enable-ipsync
I cannot ping <IP_ADDRESS> from other VM.
Do you know what can be happening or would it be bigger issue to you to explain me how to get connection from one VM with DPDK-ANS to another VM?
Thank you very much in advance

You may try the command "./ans -c 0x4 -n 1 --base-virtaddr=0x2aaa2aa0000 -- -p 0x1 --config="(0,0,2)""

Good evening. Thank you for your answer.
Without ipsync I am also unable to ping the dpdk-ans stack.
This is my configuration:
VM1(DPDK-ANS):
Interface NAT:
ens33: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 00:0c:29:8c:c9:bf brd ff:ff:ff:ff:ff:ff
inet <IP_ADDRESS>/24 brd <IP_ADDRESS> scope global dynamic ens33
valid_lft 1564sec preferred_lft 1564sec
inet6 fe80::b286:4947:3db5:fdfe/64 scope link
valid_lft forever preferred_lft forever
DPDK-ANS conf:
ans> ip addr show
veth0: mtu 1500
link/ether 00:0c:29:8c:c9:c9
inet addr: <IP_ADDRESS>/24
ans> ip route show
ANS IP routing table
<IP_ADDRESS>/24 via dev veth0 src <IP_ADDRESS>
<IP_ADDRESS>/24 via <IP_ADDRESS> dev veth0
From another VM in the same network (i can ping the NAT interface), i cannot ping <IP_ADDRESS>.
Could you please make me a short explanation about how to do it? I cannot find anything on the userguide.
Thank you very much in advance.

I have the same problem! Have you figured it out?

I have the same problem! Have you figured it out?

Thanks for your talks! It is helpful!


Create our own dropdown select component

Avoid 3rd party library
Mastering all the code (js, css, html)

https://github.com/thooams/Ui-Bibz/issues/67


Streaming is used when using Ollama as provider

Describe the bug
I am using Ollama to evaluate several models using promptfoo. When running the evals using the verbose flag, I get to see several individual tokens being sent from the Ollama server.
Checking the docs from Ollama, you can suppress streaming setting the stream parameter to false. (Related issue: https://github.com/ollama/ollama/pull/639).  I have used this configuration but the output is streamed (making no difference).
providers:
  - id: ollama:chat:llama3.1:8b-instruct-q8_0
    label: llama31_8B_Q8
    config:
      temperature: 0
      stream: false
      system: "You are an expert in foobar test generation ..."

Setting stream to false makes no difference and all requests are processed as streaming. Note that this also applies when using Ollama for the grader LLM.
Sample output:
Ollama generate API response: {"model":"llama3.1:8b-instruct-q8_0","created_at":"2024-09-02T12:49:16.348475547Z","message":{"role":"assistant","content":"No"},"done":false}
{"model":"llama3.1:8b-instruct-q8_0","created_at":"2024-09-02T12:49:16.36468283Z","message":{"role":"assistant","content":" tengo"},"done":false}
{"model":"llama3.1:8b-instruct-q8_0","created_at":"2024-09-02T12:49:16.38080782Z","message":{"role":"assistant","content":" información"},"done":false}
{"model":"llama3.1:8b-instruct-q8_0","created_at":"2024-09-02T12:49:16.396949072Z","message":{"role":"assistant","content":" sobre"},"done":false}
{"model":"llama3.1:8b-instruct-q8_0","created_at":"2024-09-02T12:49:16.413265688Z","message":{"role":"assistant","content":" las"},"done":false}

To Reproduce
Use the previous config snippet in a yaml file as a provider and call the evaluation as promptfoo eval --verbose to visualize the output.
Expected behavior
Non interactive evaluations should not use stream as it might be less efficient.
System information (please complete the following information):

Promptfoo version: 0.78.3

@elsatch 8be6447 disables streaming


[ENH] keep src in npm package

Hi @skellock, I know it can be considered as a good practice to reduce package size but I believe it's much nicer to have the source code in the package so I can read the code in my editor (and search) instead of coming to github. :)

My bad, its in d.ts .... :D


Packer class not compatible anymore with Spree 2.4

A call to product_assembly_package is completely incompatible with spree 2.4. The current Packer class still expects an order and loops through line items but the one in 2.4 no longer accepts an order instance and uses inventory_units to loop through
Also goes the same with the AssemblyPrioritizer where a call to Adjuster.new is not conforming to the revised Adjuster class on Spree 2.4.
I'm wondering if there's any plan to update this in the near future?

current master should be 2.4 compatible, 2-4-stable branch coming soon, cheers


"Search" in toolbar is not working

Git @ 911e6b0
Steps:

Click on "Search" input field in toolbar.
Type something.

What happened:
Nothing.
Expected result:
Search results are shown.

Good find! Duplicate of #21.


ImportError when using multiple threads

I installed kicost on windows with "pip install git+https://github.com/xesscorp/KiCost.git".
If "Parallel process" is set to >1, kicost produces an error with CSV or KiCad input files.
KiCad version 5.0.0-rc2-dev-727-ga9dc41731-dirty.
Cmd: kicost --debug
Traceback:
Process SpawnPoolWorker-3:
Process SpawnPoolWorker-6:
Traceback (most recent call last):
File "c:\program files\python36\lib\multiprocessing\process.py", line 258, in _bootstrap
self.run()
File "c:\program files\python36\lib\multiprocessing\process.py", line 93, in run
self._target(*self._args, **self.kwargs)
File "c:\program files\python36\lib\multiprocessing\pool.py", line 108, in worker
task = get()
File "c:\program files\python36\lib\multiprocessing\queues.py", line 337, in get
return ForkingPickler.loads(res)
File "c:\program files\python36\lib\site-packages\kicost\distributors\web_routines.py", line 35, in
from ..eda_tools.eda_tools import order_refs # To better print the warnings about the parts.
File "c:\program files\python36\lib\site-packages\kicost\eda_tools_init.py", line 51, in
eda_modules[module] = import(module, globals(), locals(), [], level=1)
File "c:\program files\python36\lib\site-packages\kicost\eda_tools\altium_init.py", line 29, in
from .altium import get_part_groups
File "c:\program files\python36\lib\site-packages\kicost\eda_tools\altium\altium.py", line 38, in
from ...kicost import distributor_dict
File "c:\program files\python36\lib\site-packages\kicost\kicost.py", line 54, in
from .distributors.web_routines import scrape_part, config_distributor
ImportError: cannot import name 'scrape_part'
...
And the same repeats.

By this repost appear to  be using Windows.
I could not reproduce the error.
Could you execute
kicost -i %YOUR_FILE% -d 8 > log.txt

and attach here the log file?

Windows does not write anything to the log.txt with this command, but here is console output:
log_.txt
with -np 1 it works fine.

And here is a log from -np 1 run (interrupted):
log.txt

On hold. Possible fix with #242.

Fixed on #242, merging soon.


API: Integrate the create student in the upload biodata

Check endpoints here: https://orderlies-555f0367f3ea.herokuapp.com/docs#/
Endpoint: /api/v1/{class_id}/students

Can  be assigned to this issue?


id_str added to tweet class

Tweet class contains the id (as long) but not the more important id_str (as string). id_str is needed to create a link to a single tweet.

Would like to merge this, but need to confirm that you've agreed to the Individual Contributor Agreement at https://support.springsource.com/spring_committer_signup.

Done


SMAC-integration

Major changes include

Added autopytorch/evaluation where
1.1. tae.py contains the ExecuteTAFuncWithQueue.
1.2. train_evaluater.py contains eval_holdout closure to be used in ExecuteTAFuncWithQueue. Currently, only tested with holdout on tabular tasks.
Changed way of creating splits in BaseDataset. now it will initialise splits attribute of the BaseDataset.
Made dataset_properties as a key in fit dictionary which contains output of datamanager.get_dataset_properties

I recommend the following test to be added:

Test that we can fit a dummy classifier

Test that we can fit a random forest with this and that the result is 1 (when evaluated with the same data used for training)

Test that we can capture an error. Make a fit that crash so we see what happens when you crash a fit configuration

We have to make sure the predictions saved to disk are for all the data.  check the size of the predictions saved by finish_up

Your second point means that we can fit a random forest using the ExecuteTaeFuncWithQueue, without having smac or the evaluator, right?

Yes, so that we make sure that your code in isolation works no matter what.


jetbrains: 2022.2 -> 2023.1.1

Description of changes
The next set of updates for jetbrains IDEs is there.
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

[x] Fits CONTRIBUTING.md.

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

5 packages built:

jetbrains.goland
jetbrains.mps
jetbrains.phpstorm
jetbrains.pycharm-community
jetbrains.pycharm-professional

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

6 packages built:

jetbrains.gateway
jetbrains.goland
jetbrains.mps
jetbrains.phpstorm
jetbrains.pycharm-community
jetbrains.pycharm-professional


Not able to define MAC address on container creation.

When I try to connect a network with a container, I am not able to define a IP or MAC address:
var networkObj = docker.getNetwork('network-name');
networkObj.connect(
	{
		"Container": 'container-id',
		"EndpointConfig": {
			"IPAddress": "<IP_ADDRESS>",
			"MacAddress": "aa:bb:ee:dd:ee:ff"
		}
	},
	function(err, data)
	{
		console.log(err);
		console.log(data);
	}
);

The network will be attached successfully but in the container the IP and MAC address values are ignored. Is there a bug or am I doing something wrong? The container only has its default docker values.

Everything seems ok from this side.
You seem to be respecting https://docs.docker.com/engine/api/v1.41/#operation/NetworkConnect
Not sure whats failing on the docker side.


mlora dependency deficiency

I pulled the latest docker image.
When i run the /opt/deploy.sh, it shows that the container lacks the "python-multipart" dependency. And it is hard to add this dependency because of the pyenv environment (compared with conda =_=). Can you update the docker image to add the "python-multipart" dependency?
Thanks!!!

ok I will submit a pr sooner.
I install the python-multipart in the offline situation by pip. But it needs other dependencies.
Then I install them in the same offline situation.
The problem is that when i have already installed the flit_core dependency. It seemed that it didn't find the flit_core dependency when i installed the pathspec dependency.
Have you encountered this problem before?
I have only used conda and pip before(didn't use the pyenv). Maybe it is installed in a wrong way? But I can find the flit_core by the command "pip list"
Hoping for your reply !!!
Thank you for your instructions !!!


Far too little contrast

Idk if its my monitor (or my eyes) but the contrast on this is far too low

Hi @YarekTyshchenko, ya this could be something with your monitor colour profile. Are there specific parts of the UI you find not enough contrast? The colours are similar to the original JetBrains theme which is intended to be less contrasty and easier on some eyes.
I will say I could slightly increase the contrast of the muted text (file tree, etc.). And will try to add additional variants (high-contrast, light mode) for accessibility when I have the time.


feat: select network design

Feature Request
Describe the Feature Request
This chain atom

Describe Preferred Solution

Properties:

status when the user is logged in:

Properties:

Status Hover

Status dropdown network opens:

Properties:

The networks above are just an example.

The network icon should have these properties:

Related Code

SVG Icons to use:

status when the user is not logged in:

Icons to open/close the dropdown

Network icons available on CCIP

Additional Context
SelectAuthedUserChain.tsx
SelectDestinyChain.tsx

Closed by #183


Change rpcbind restart to nfsidmap

Hi,
Step 4 of section Configure NFSv4.1 domain is incorrect (at least for RHEL systems), as restarting the rpcbind service does not cause the change to take effect.
The correct instruction should be:

Clear the keyring of the NFS idmapper ( nfsidmap -c )

Once the volumes are re-mounted, the 'nobody' ownerships show as 'root'.  This is not the case after running service rpcbind restart
Regards,
Brett

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

ID: ec934199-53e7-1b55-1925-57cfc9a59757
Version Independent ID: 1dcd506b-39b1-3138-aa81-c639e21c94fb
Content: Configure NFSv4.1 domain for Azure NetApp Files
Content Source: articles/azure-netapp-files/azure-netapp-files-configure-nfsv41-domain.md
Service: azure-netapp-files
GitHub Login: @b-hchen
Microsoft Alias: anfdocs

@swampf0etus
Thanks for your feedback! We will investigate and update as appropriate.

@swampf0etus - Many thanks, Brett! The technical team agrees to the change you suggested.  The doc is being updated (PR https://github.com/MicrosoftDocs/azure-docs-pr/pull/232480).  The change should show later day.

#please-close


Apply scalafmt

Time(Clean up before 3.5) to apply scalafmt!

@sequencer I've pushed over this. I integrated your 3 commits into 1 (adding the ability to run scalafmt), then there are 2 more commits: 1) Running scalafmt on everything, and 2) turning the check on in CI.
This is failing Mergify because some features were deprecated and removed so we need to fix that before we can merge any PRs now....

Note that this must be merged with a merge commit because we need different commits for making it possible to run scalafmt and actually running it. Separating these commits allows people to more easily update branches from before the formatting was applied without massive merge conflicts. The process is as follows:

Rebase (or merge) branch on commit where scalafmt was added
Run scalafmtAll
Rebase (or merge) on master

Voila, merge conflicts have been avoided.


upload and download inverted ?

It seems that upload and download charts are inverted. Upload one shows download and the download one shows upload.
Anyway, I hadn't tried linuxdash for some month and the tool has been improved hard :+1: )

Well, that was embarrassing. Thanks for catching that!
There is so much more I wish I had time to add to Linux Dash.

No problem :hamster:


sh install_requirements.sh Not working

I own the Coral Dev Board, and everytime I type in "sh install_requirements.sh", it outputs me this error message: "sh: 0: Can't open install_requirements.sh" . In the Instructions here on GitHub it says that I dont need to install anything extra, but now Im not sure If Im missing something. I hope somebody can help me!

Try to use bash install_requirements.sh. As the script starts with #!/bin/bash you need to use bash instead of sh.
For a more detailed explination please follow this answer on stackoverflow.

If I type in bash install_requirements.sh  , the output is bash: install_requirements.sh: No such file or directory In the Tutorial here on GitHub its the first Step, but Im not sure if Im missing something. Hopefully somebody can help me out, and Thanks for your Help!

What are the respective commands to reproduce the error?
The following commands should enable a smoothly installation:
git clone https://github.com/google-coral/project-teachable.git
cd project-teachable/
bash install_requirements.sh

Thank you, that fixed my problem. But before I had to install git by typing in sudo apt-get install git-all. Thanks for your help!


Question regarding the feature loss (coming from discriminator_seg) to train the generator!

Hi, thanks for sharing the code. Amazing work.
I have a question about the losses used to train the GAN, specifically the generator. I understand the adversarial losses coming from the discriminator_img and discriminator_seg. But I don't understand the L1 loss between the intermediate features of the fake and real predictions of the joint discriminator.
https://github.com/nv-tlabs/semanticGAN_code/blob/342889ebbe817695c0e64133100ede8f9877f3de/semanticGAN/train_seg_gan.py#L360-L365
What section of the paper mentions this L1 feature loss between fake and real features of discriminator_seg?
Thanks in advance.

I understand this from the original paper that used Multi-scale discriminator: https://arxiv.org/pdf/1711.11585.pdf


Scale down touch pad by 10-15%

What's the justification here?

It both feels a tiiiny bit too big to me, and also it's harder to work through the deadzone.  By going to 24mm, and running our fingers around the far outside, we can have better control I feel.
When working on the shroud, be sure to add an edge beyond the size of the spinner, itself.

I'll try to add a reasonable gap between the pad and the acrylic. I'll also be adding a courtyard to the part.


adapt.references not found

Hello authors, as the title suggests, there seems to be a missing reference file in adapt that can't be retrained. Looking forward to hearing from you, thank you!

sorry, something wrong with my ubuntu,  i find it on github. T^T


Nested configuration

Hi,
It is said that feathers-configuration is a simple wrapper on node-config. However, with node-config, if you have nested configuration, like that:
{
  "Customer": {
    "dbConfig": {
      "host": "prod-db-server"
    },
    "credit": {
      "initialDays": 30
    }
  }
}

you can access the host attribute by using config.get('Customer.dbConfig.host'). However, with feathers-configuration, this dot notation do not work.

Mainly because the underlying Express app.set and app.get() don't support it. It'll be app.get('Customer').config.host  instead. You could also require('config') directly and use it the way it is described.

OK thanks. I close the issue.


fix: resolves error regarding canvas already being used when updating

Resolves the following error:
Uncaught Error: Canvas is already in use. Chart with ID '0' must be destroyed before the canvas with ID '' can be reused.
Somehow the chart instance was not being kept correctly in this.chart.
I think this was being mentioned in https://github.com/filamentphp/filament/discussions/2552#discussioncomment-3559218 but hasn't been fixed.

Could you check chart-widget.blade.php to see if the same problem occurs, and if so ensure that it's consistent code with this PR?

Could you check chart-widget.blade.php to see if the same problem occurs, and if so ensure that it's consistent code with this PR?
Just checked the functionality and chart-widget.blade.php works fine. The code, however, is not consistent, packages/admin/resources/views/widgets/chart-widget.blade.php leverages a emit (updateChartData) to update the chart. While packages/admin/resources/views/components/stats/card.blade.php does not. I'm not experienced enough with the Filament codebase to make both more consistent. All that matters to me (and others) is that both charts function correctly.

If you insist, I could try to make a proper PR with all the required refactoring to make both more consistent. This, however, is something I have to make time for to do it properly. While the proposed changes in this PR already fix the bug.

Thanks

Reverting.

Toggle dark mode and try again

Toggle dark mode and try again

Just did. Chart not updating (broken as of v2.17.21). I'll try to make time so that I can create a proper PR.
https://user-images.githubusercontent.com/29407220/229122512-971af29f-930f-430d-a4ad-4e5258dd911d.mov


[VSCode Extension] Lateral panel hides REST action

When using a low resolution (or zoom-in view) with VS Code extension, the lateral panel with properties blocks the view to the REST action buttons on the left side.

Have you tried to resize?

I tried, but it looks like there is a minimum size for the panel:

defaultSize={'400px'}
maxSize={'800px'}
minSize={'300px'}


add outbound-type param to az cli extension

Which issue this PR addresses:

Fixes https://issues.redhat.com/browse/ARO-1478
What this PR does / why we need it:
Adds parameter --outbound-type to az aro cli extension for public IP removal.  This replaces PR https://github.com/Azure/ARO-RP/pull/2461 as there were some minor issues with it.  This should not be merged until the next stable API release.
Test plan for issue:
Currently only tested with unit tests.  I plan to do more testing once the next stable api is ready.
Is there any documentation that needs to be updated for this PR?
Yes, the Azure Doc will need to be updated though that will be a separate effort.

Depends on https://github.com/Azure/ARO-RP/pull/2760

@petrkotas From my understanding we can merge this since we generate the python client/sdk in the ARO-RP for the cli extension.  We will need to wait for the API to be merged upstream and SDKs generated before we can upstream this to azure-cli.


Kitchen add auth check for X-Waiter-Auth-Principal

Changes proposed in this PR
Kitchen's waiter-auth implementation should check for a non-empty X-Waiter-Auth-Principal header.
Why are we making these changes?
Many real-world Waiter apps use a waiter-auth implementation that fails when the X-Waiter-Auth-Principal header is not set or is empty. We'd like Kitchen to model that same behavior.

This is stale, and apparently not that important. Closing for now.