Fix/autofill

before:
https://user-images.githubusercontent.com/25638585/218755028-74659c4a-cc2c-422d-a7ff-d639837c5586.mov
https://user-images.githubusercontent.com/25638585/218755065-9483462c-5407-4859-bbbb-3ef320f634a5.mov
after:
https://user-images.githubusercontent.com/25638585/218755115-867cd2ac-0acc-4cc2-b5f1-3f91ea795b6c.mov
https://user-images.githubusercontent.com/25638585/218755149-5a3d6894-db7e-4f51-b8ab-244dc08cbd74.mov

I think I'm missing what is happening here haha
Is it just the color? That when it gets autocompleted it uses a different one?
Is there a way to disabled autofill? We'd definitely want to do that if possible.  For some reason, I thought we need that autofill, so it would be easier to enter the same data every time. If we can just disable autofill, it's much easier

Yep, we don't want autofill. We've seen a lot of people doxxing their private house address by using SE1 components (sometimes in a live stream).
I think disabling it wasn't trivial at the time, because I remember people trying to do without success (some browsers still auto filling if it was enabled in their settings).
But yeah, let's disable it!

Reverted changes and disabled autofill. Bug for browsers still exists https://caniuse.com/input-autocomplete-onoff, but I think browser autocomplete for addresses/wallets won't work for inputs with names like userGreetingCounter_input_0__address_address


How to reproduce table 3 (main results table)?

Thanks for sharing this interesting work!
I have 2 questions:

Are there download links to the datasets used in Table 3? Specifically I cannot find datasets such as Microsoft, Telecom, Broken Machine etc online for download
Is there code associated with it to reproduce table 3?

Thanks!

Thank you for your interest in our work! The datasets are available at https://www.dropbox.com/s/8tj5ln7wz1r9arc/data.zip?dl=0.  I am still working on reorganizing the codes for the baseline methods and writing the documentation for better reproduction. I am planning to release the codes around 6.25 (as I am now rushing for another conference QAQ). Sorry for any inconvenience this may cause.

The code and datasets are now available in this new repository: https://github.com/ZhangTP1996/OpenFE_reproduce


Manage Addons: No User Feedback that Action was Completed

There is no feedback that requested action has been completed. For example, if you click 'Enable' or 'Disable' next to an AddOn, there is no change on the page. You do not see that your requested action has been completed unless you refresh the page.
I assume this is a Javascript issue. Tested on Brave and Firefox.
Confirmed that it does provide confirmation of user actions on v7.5.1

A fellow brave user! 👍
Also, side note, this is the first issue opened in the repo by someone besides me!  🥳

I wasn't sure if you wanted anyone else opening issues, so I took a shot :)
Appreciate the feedback.

Yes, issues are for anyone to open!  😄

This also impacts the Manage Regions pages. I assume it is the same code in play. May be others as well.

So... I tried to reproduce it just now and could not.  But I did notice Storefront was slow to show the modal saying it was done.
Also I noticed, the "addon enabled" modal does not use an overlay.
So then I tried something, I enabled one that is slow for me (storefront) then I scrolled away - and sure enough, it "appeared" nothing happened!  But really it just happened "off screen" and I did not see it and there was no overlay to give a clue anything happened off screen.  But then since I was watching for it, I noticed the page did reload.
Can you confirm if something like that is happening for you @WOs8lfTkz3E5g7I4Lm ?  Enable an addon, and don't scroll anywhere.  If you can reproduce and it isn't just "off screen" like I saw for me...  Try opening up the JS console and screenshot any errors it shows.  And/or screen video if you are able to do one.

All remarks based on Brave 1.35.101; all shields disabled for this site.

In Manage Regions, click on the Red '!' under 'Enabled?'

Nothing happens. Scrolled away and came back and no change. Refresh the page and the change shows (Green Check).

Tried 'Manage Addons' and no change. Nothing I did resulted in the visual changes showing until I manually refreshed the page.

Console: Click on Enable/Disable toggle
jquery.min.js?_=fa402:4          POST http://[snip].com/admin/AJAX.php?controller=AddonManage&action=_action&addon=account_balance&task=disable 500 (Internal Server Error)
In Network:

If I manually load the referenced AJAX.php page, I get a text string back: 'Not authorized'

Well, it looks like I need to try and get PHP 7.4 before I can do any real testing. I am not familiar with composer, but it is enforcing 7.4 when some scripts are run from cli, so, until then. Apologies if most issues reported today are bogus.

I was running PHP 7.2 and composer was causing a server 500 error when trying to load AJAX.php because it wanted 7.4+.

That is odd...  If it were somehow composer causing an error, it would have to be in the autoloader (which loads the vendor libraries).  And the autoloader is used on every page load, not just AJAX.php loads.  So if it were that, it would happen on any page at all.  I think there is more to this story, it might be worth looking into deeper.
Do you have the actual errors in a log or something?  500 just means something is wrong it doesn't tell you the error.  And I'm curious what lead you to think it had something to do with composer?
One thought I had, just speculating, but it could be a 3rd party addon (or an old version of a geo addon since you are upgrading, if we have removed the addon since then it would still be using old files).  We now use adodb (for database) in a different folder, I wonder if might be trying to load the old location?  Then it might cause an error trying to load 2 versions of ADODB.  I mean, just guessing, if you are able to get actual errors we could tell more.

Do you have the actual errors in a log or something? 500 just means something is wrong it doesn't tell you the error. And I'm curious what lead you to think it had something to do with composer?
I was trying to track down what was causing the 500 errors and couldn't find any log info or runtime errors. So, I tried running both scripts CLI. That's when I got the Composer warning about 7.4. The 500 error was likely caused because composer was not outputting any http headers.
since you are upgrading
So far I have only been working with a fresh install of 20.0.0. Now that the major errors have been resolved, I am ready to try a test upgrade of a 7.5.1 site.

So, I tried running both scripts CLI

How did you do that?  Like if I wanted to do the same thing, what do I do, what commands etc?  And specifically what was the command that showed a warning about composer?
Like I mentioned, if something about composer itself did not work on PHP 7.2 then the entire site would not work.  So it is specific to the ajax calls.

So far I have only been working with a fresh install of 20.0.0

Ah ok, that rules out some things like something trying to load libraries from the old location.  Unless I missed a spot in the main code base, but if I did, it "should" affect me too.

I didn't see any composer config files, so I don't know where it is getting the min requirements from.

The composer config is in composer.json but that is not part of the zip file, that is in the source code.

P.S. I can grant you access to my test site with shell if you like.

I can't remember for sure. Anyway it is there now if you run B3 on 7.2 on my machine.

I looked into it more, the autoloader does end up giving a 500 error if it detects the PHP version is too low.  Like it is actually coded to give the 500 header.  Mind you, it does not stop things from working, it is meant to just warn you about it.  But in this case I think the 500 makes the JS not work, it thinks the call failed (when it did not), so you get problems.
When I lower the required PHP version in the update / setup scripts, at that point I'll lower it in composer as well and it should solve it.
If you want to mess with it, I found where it does it, look buried in vendor/composer/platform_check.php and find PHP_VERSION_ID >= 70400 and change to PHP_VERSION_ID >= 70200 and that should do the trick.


In Android device , Map is empty

In Android its showing empty page even though i have followed all the installation instructions thata were mentioned. I am using Pixel device to test .
please help . its quite urgent

Could you post how are you showing the map?
did you set an explicit height and width?

<MapView
style={{width: 310, height:150}}
region={
latitude: 14.457282,
longitude: -90.628757,
latitudeDelta: 0.000922,
longitudeDelta: 0.000421
}
mapType={"standard"}
showsUserLocation={false}
zoomEnabled={true}
>

Does your code look something like this??

i installed using npm, then react-native link after that simple import mapview and provider and render below code
<MapView
style={styles.map}
provider={PROVIDER_GOOGLE}
initialRegion={{
latitude: 37.78825,
longitude: -122.4324,
latitudeDelta: 0.0922,
longitudeDelta: 0.0421,
}}
/>

i installed using npm, then react-native link after that simple import mapview and provider and render below code
<MapView         style={styles.map}         provider={PROVIDER_GOOGLE}         initialRegion={{           latitude: 37.78825,           longitude: -122.4324,           latitudeDelta: 0.0922,           longitudeDelta: 0.0421,         }}       />

Working now. Just installed google services from SDK.


Can @DataClassGenerate be automatically added for all data classes?

I have a lot of data classes in my project and adding the DataClassGenerate annotation to each one would be quite tedious. Is there a way or a MODE that could be added to automatically annotate all data classes? Thanks!

Just like:
mode.set(DataClassGenerateMode.AUTO) // defaults to EXPLICIT

Hi @ysy950803, we do have default configuration available. Please check this:
https://github.com/facebookincubator/dataclassgenerate?tab=readme-ov-file#how-to-use-in-your-project


Compatibility

I remember being told that XInstaller would cause a bootloop on MM, has this been fixed and is it safe on Nougat?

No, please do not use it on Nougat. Xposed is dead, this module too.

It's a shame that's your way of thinking, your modules were  the best of the best.


Php mailer not sent mails

Sir,
In public html the phpmailer is not working there is no error is shown but mail dorsnt sent...the same is run on localhost properly...i change the host usrrname,password and port in public html with my cpanel details..but not working...
What am I trying to do..
..What's happening

@aswinsasi uncomment line 15 from application/libraries/SendMail.php
// $this->mail->SMTPDebug = 2;
enable error logs from - application/config/config.php  $config['log_threshold'] = 1;
and check errors in application/logs/ folder.

K sir let's check it out.
On Wed, Mar 20, 2019, 23:32 Kiril Kirkov<EMAIL_ADDRESS>wrote:

@aswinsasi https://github.com/aswinsasi uncomment line 15 from
application/libraries/SendMail.php
// $this->mail->SMTPDebug = 2;
enable error logs from - application/config/config.php
$config['log_threshold'] = 1;
and check errors in application/logs/ folder.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kirilkirkov/Ecommerce-CodeIgniter-Bootstrap/issues/158#issuecomment-474961021,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AdGuQU1h-mV-xlIFKZGjePAz0J2E-xvhks5vYneagaJpZM4b1nGY
.

sir the following error is occuerd inside log errror...when i sent submit
order....mail cannt been sent...

ERROR - 2019-03-22 04:12:48 --> Severity: Warning --> ini_set() has
been disabled for security reasons
/home/cartmein/public_html/shop/system/core/CodeIgniter.php 245
ERROR - 2019-03-22 04:12:48 --> Severity: Warning --> ini_set() has
been disabled for security reasons
/home/cartmein/public_html/shop/system/core/CodeIgniter.php 278
ERROR - 2019-03-22 04:12:48 --> Severity: Warning --> ini_set() has
been disabled for security reasons
/home/cartmein/public_html/shop/system/libraries/Session/Session.php
282
ERROR - 2019-03-22 04:12:48 --> Severity: Warning --> ini_set() has
been disabled for security reasons
/home/cartmein/public_html/shop/system/libraries/Session/Session.php
304
ERROR - 2019-03-22 04:12:48 --> Severity: Warning --> ini_set() has
been disabled for security reasons
/home/cartmein/public_html/shop/system/libraries/Session/Session.php
314
ERROR - 2019-03-22 04:12:48 --> Severity: Warning --> ini_set() has
been disabled for security reasons
/home/cartmein/public_html/shop/system/libraries/Session/Session.php
315
ERROR - 2019-03-22 04:12:48 --> Severity: Warning --> ini_set() has
been disabled for security reasons
/home/cartmein/public_html/shop/system/libraries/Session/Session.php
316
ERROR - 2019-03-22 04:12:48 --> Severity: Warning --> ini_set() has
been disabled for security reasons
/home/cartmein/public_html/shop/system/libraries/Session/Session.php
317
ERROR - 2019-03-22 04:12:48 --> Severity: Warning --> ini_set() has
been disabled for security reasons
/home/cartmein/public_html/shop/system/libraries/Session/Session.php
348
ERROR - 2019-03-22 04:12:51 --> Severity: Warning --> ini_set() has
been disabled for security reasons
/home/cartmein/public_html/shop/system/core/CodeIgniter.php 245
ERROR - 2019-03-22 04:12:51 --> Severity: Warning --> ini_set() has
been disabled for security reasons
/home/cartmein/public_html/shop/system/core/CodeIgniter.php 278
ERROR - 2019-03-22 04:12:51 --> Severity: Warning --> ini_set() has
been disabled for security reasons
/home/cartmein/public_html/shop/system/core/CodeIgniter.php 245
ERROR - 2019-03-22 04:12:51 --> Severity: Warning --> ini_set() has
been disabled for security reasons
/home/cartmein/public_html/shop/system/core/CodeIgniter.php 278
ERROR - 2019-03-22 04:12:51 --> Severity: Warning --> ini_set() has
been disabled for security reasons
/home/cartmein/public_html/shop/system/libraries/Session/Session.php
282
ERROR - 2019-03-22 04:12:51 --> Severity: Warning --> ini_set() has
been disabled for security reasons
/home/cartmein/public_html/shop/system/libraries/Session/Session.php
304
ERROR - 2019-03-22 04:12:51 --> Severity: Warning --> ini_set() has
been disabled for security reasons
/home/cartmein/public_html/shop/system/libraries/Session/Session.php
314
ERROR - 2019-03-22 04:12:51 --> Severity: Warning --> ini_set() has
been disabled for security reasons
/home/cartmein/public_html/shop/system/libraries/Session/Session.php
315
ERROR - 2019-03-22 04:12:51 --> Severity: Warning --> ini_set() has
been disabled for security reasons
/home/cartmein/public_html/shop/system/libraries/Session/Session.php
316
ERROR - 2019-03-22 04:12:51 --> Severity: Warning --> ini_set() has
been disabled for security reasons
/home/cartmein/public_html/shop/system/libraries/Session/Session.php
317
ERROR - 2019-03-22 04:12:51 --> Severity: Warning --> ini_set() has
been disabled for security reasons
/home/cartmein/public_html/shop/system/libraries/Session/Session.php
348
ERROR - 2019-03-22 04:12:51 --> Severity: Warning --> ini_set() has
been disabled for security reasons
/home/cartmein/public_html/shop/system/libraries/Session/Session.php
282
ERROR - 2019-03-22 04:12:51 --> Severity: Warning --> ini_set() has
been disabled for security reasons
/home/cartmein/public_html/shop/system/libraries/Session/Session.php
304
ERROR - 2019-03-22 04:12:51 --> Severity: Warning --> ini_set() has
been disabled for security reasons
/home/cartmein/public_html/shop/system/libraries/Session/Session.php
314
ERROR - 2019-03-22 04:12:51 --> Severity: Warning --> ini_set() has
been disabled for security reasons
/home/cartmein/public_html/shop/system/libraries/Session/Session.php
315
ERROR - 2019-03-22 04:12:51 --> Severity: Warning --> ini_set() has
been disabled for security reasons
/home/cartmein/public_html/shop/system/libraries/Session/Session.php
316
ERROR - 2019-03-22 04:12:51 --> Severity: Warning --> ini_set() has
been disabled for security reasons
/home/cartmein/public_html/shop/system/libraries/Session/Session.php
317
ERROR - 2019-03-22 04:12:51 --> Severity: Warning --> ini_set() has
been disabled for security reasons
/home/cartmein/public_html/shop/system/libraries/Session/Session.php
348
On Thu, Mar 21, 2019 at 8:40 AM Aswin S<EMAIL_ADDRESS>wrote:

K sir let's check it out.
On Wed, Mar 20, 2019, 23:32 Kiril Kirkov<EMAIL_ADDRESS>wrote:

@aswinsasi https://github.com/aswinsasi uncomment line 15 from
application/libraries/SendMail.php
// $this->mail->SMTPDebug = 2;
enable error logs from - application/config/config.php
$config['log_threshold'] = 1;
and check errors in application/logs/ folder.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kirilkirkov/Ecommerce-CodeIgniter-Bootstrap/issues/158#issuecomment-474961021,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AdGuQU1h-mV-xlIFKZGjePAz0J2E-xvhks5vYneagaJpZM4b1nGY
.

@aswinsasi enable usage of ini_set .
https://www.google.com/search?client=ubuntu&channel=fs&q=Enable+ini_set+usage&ie=utf-8&oe=utf-8


Add  Encoding declarations to Library

Add  Encoding declarations which is considered as python standart to all the files(.py files) in the library(manimlib).
See
https://docs.python.org/3/reference/lexical_analysis.html#encoding-declarations

What's the need for this? Do other libraries do this?

If I'm not mistaken, this helps our files be ran (compiled?) cross-platform. It's a good addition, and it doesn't really change the actual code base. Unless I'm wrong. I've been known to be wrong in the past.

It's probably not gonna have any effect, considering that basically none of our deps do it

Shall I take up this issue.

TBH, I'm not sure how necessary this is... for example I don't see these on numpy's code base. What do you think @eulertour ?

I don't think it's necessary either.

@naveen521kk to be quite honest, I think your time and expertise can be best used tending to other open issues :)


Where gherkin.berp defines @TableRow?

I've tried to make changes for apply request pulls for issues #52 , #53  and #54 but i'm newer with berp.
I can imagine that @TableRow reffers to how parse each example but I where it's defined?
Thanks

Gherkin3 consists of a hand-written lexer and a parser generated by Berp.
TableRow is matched in TokenMatcher, which is part of the lexer. (Similarly in Go, Java, JavaScript, C#).


Foreign Keys are stripped unnecessarily for ActiveModelSerializer

https://ember-twiddle.com/072de99410f21ff42db8264bd9665ca3?openFiles=mirage.serializers.application.js%2C
In a simple situation with ActiveModelSerializer and a belongsTo relationship, the fk's are stripped from the payload, so the relationship is non-existent.
I am going to put together a PR to address this.

I have some troubles with this issue, and is good to know there are a pending PR to resolve this.
Meanwhile i have a solution on this post.

I can confirm that @cyberxander90's solution works, and that this is what I'm doing at present in my apps.

Sorry for my delay on this...I'll work on getting the test up soon.

I think if you use serializeIds: 'always' on the Serializer you should be all set here.
I know it should be the default behavior but I didn't want to add a breaking change. It should likely be changed to the default in the 1.0 release.


Add button to make navigate other conversions

Make the button and do navigation

In OptionComponent the First Pressable element is always calling toggleHistory function Fix it

The issue is fixed


Regression test coverage of otptool and socsec

Hello,
The PR adds a high-level regression test suite by capturing a set of reference outputs from the otptool and socsec scripts.
There's no attempt to validate the reference binaries against the intent of the input configurations, rather the reference binaries exist to identify changes in behaviour as the scripts evolve over time. This allows us to more freely make changes to the code, because we know if we cause an unintended change in behaviour it should be caught by the regression tests.
In developing the tests I encountered the issue described in #1. This pull-request includes the fix suggested in the issue.
I've also patched socsec to act in a deterministic way so we get binary outputs that are bit-for-bit equivalent to the reference binaries. This mainly involved fixing the source of IV data.
Please review!
Andrew

It looks nice, I merge it into the develop branch.


Newtonsoft.Json 13.0.3 NuGet fails to install to .NET Framework 4.8 projects

Expected behavior
Newtonsoft.Json 13.0.3 NuGet installs cleanly with no errors.
Actual behavior
Package Manager output shows the below:
Attempting to gather dependency information for package 'Newtonsoft.Json.13.0.3' with respect to project 'ConsoleApp1', targeting '.NETFramework,Version=v4.8'
Gathering dependency information took 62 ms
Attempting to resolve dependencies for package 'Newtonsoft.Json.13.0.3' with DependencyBehavior 'Lowest'
Resolving dependency information took 0 ms
Resolving actions to install package 'Newtonsoft.Json.13.0.3'
Resolved actions to install package 'Newtonsoft.Json.13.0.3'
Adding package 'Newtonsoft.Json.13.0.3' to folder 'C:\Users\dev.CLOUDDEV\source\repos\ConsoleApp1\packages'
Install failed. Rolling back...
Package 'Newtonsoft.Json.13.0.3' does not exist in project 'ConsoleApp1'
Package 'Newtonsoft.Json.13.0.3' does not exist in folder 'C:\Users\dev.CLOUDDEV\source\repos\ConsoleApp1\packages'
Executing nuget actions took 714 ms
System.UnauthorizedAccessException: Access to the path 'C:\Users\dev.CLOUDDEV\source\repos\ConsoleApp1\packages\Newtonsoft.Json.13.0.3\.signature.p7s' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
   at System.IO.File.OpenFile(String path, FileAccess access, SafeFileHandle& handle)
   at System.IO.File.SetLastWriteTimeUtc(String path, DateTime lastWriteTimeUtc)
   at NuGet.Packaging.ZipArchiveExtensions.Testable.UpdateFileTimeEntry(String fileFullPath, DateTime dateTime)
   at NuGet.Packaging.PackageFolderReader.CopyFiles(String destination, IEnumerable`1 packageFiles, ExtractPackageFileDelegate extractFile, ILogger logger, CancellationToken token)
   at NuGet.Packaging.PackageReaderBase.CopyFilesAsync(String destination, IEnumerable`1 packageFiles, ExtractPackageFileDelegate extractFile, ILogger logger, CancellationToken cancellationToken)
   at NuGet.Packaging.PackageExtractor.<ExtractPackageAsync>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at NuGet.ProjectManagement.FolderNuGetProject.<>c__DisplayClass13_0.<<InstallPackageAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at NuGet.Common.ConcurrencyUtilities.<ExecuteWithFileLockedAsync>d__5`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at NuGet.Common.ConcurrencyUtilities.<ExecuteWithFileLockedAsync>d__5`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at NuGet.ProjectManagement.MSBuildNuGetProject.<InstallPackageAsync>d__36.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at NuGet.PackageManagement.NuGetPackageManager.<ExecuteInstallAsync>d__97.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at NuGet.PackageManagement.NuGetPackageManager.<ExecuteNuGetProjectActionsAsync>d__86.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at NuGet.PackageManagement.NuGetPackageManager.<ExecuteNuGetProjectActionsAsync>d__86.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at NuGet.PackageManagement.NuGetPackageManager.<ExecuteNuGetProjectActionsAsync>d__86.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at NuGet.PackageManagement.NuGetPackageManager.<ExecuteNuGetProjectActionsAsync>d__85.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at NuGet.PackageManagement.NuGetPackageManager.<ExecuteNuGetProjectActionsAsync>d__84.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at NuGet.PackageManagement.VisualStudio.NuGetProjectManagerService.<>c__DisplayClass20_0.<<ExecuteActionsAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at NuGet.PackageManagement.VisualStudio.NuGetProjectManagerService.<CatchAndRethrowExceptionAsync>d__32.MoveNext()
Time Elapsed: 00:00:01.8687560
========== Finished ==========

Steps to reproduce

Create a brand new .NET Framework 4.8 project.
Attempt to install Newtonsoft.Json 13.0.3 NuGet to the project

Notes

I haven't tested this with other versions of .NET Framework
I have tested this with .NET 6+ projects, and it works fine
From what I can tell, the .signature.p7s file that is part of this NuGet (for framework only) is marked as Read-only:

After inspecting older Newtonsoft.json packages (v 13.0.1), I've confirmed that signature file isn't marked as Read-only during installation
Suspect that the fact the file .signature.p7s is marked as Read-only in the NuGet itself (for framework only) is what is causing the Access to the path is denied exception

Confirmed that an old version of the nuget was sitting in my packages folder. After deleting, it installed correctly. Somehow the signature file set as read-only. Thanks for looking.


use a keystone installed in a container

What this PR does / why we need it:
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
use a keystone installed in a container
Special notes for your reviewer:
Release note:

use a keystone installed in a container

Coverage remained the same at 37.948% when pulling de5ed28216ccb06c9d351ccd1549c961123e3f3d on BaiHuoYu:u_k_c_328 into b9cd3fe65a676e8b6fc1d507bcacfb8f1b242618 on opensds:master.

Coverage remained the same at 37.948% when pulling de5ed28216ccb06c9d351ccd1549c961123e3f3d on BaiHuoYu:u_k_c_328 into b9cd3fe65a676e8b6fc1d507bcacfb8f1b242618 on opensds:master.

Coverage remained the same at 37.948% when pulling de5ed28216ccb06c9d351ccd1549c961123e3f3d on BaiHuoYu:u_k_c_328 into b9cd3fe65a676e8b6fc1d507bcacfb8f1b242618 on opensds:master.

Can u also update it in the opensds-installer?

/retest


rancher-monitoring k8s 1.28 chart support

This issue is to implement the chart changes & perform the required testing to support k8s 1.28. The generic process that's applicable for most charts is described here. Please adjust the steps to fit your respective chart wherever required. Perform the steps below:

[ ] Once you pick up the issue for your chart, apply the label [zube]: Working to the issue
Note: If this is an upstream chart (ex: istio) and if the upstream chart doesn't support k8s 1.28 then this exercise is not applicable to you. Just add a comment that the upstream chart doesn't support k8s 1.28 and apply the label [zube]: Done. If this is not an upstream chart then proceed to the next step.
[ ] Update kube-version annotation in Chart.yaml to catalog.cattle.io/kube-version: '>= 1.23.0-0' or catalog.cattle.io/kube-version: '>= 1.23.0-0 < 1.29.0-0'
[ ] Follow the usual process to add a new chart version and file a PR to the rancher/charts:dev-v2.8 branch. Link the PR to the issue.
[ ] Perform the usual Developer testing and if everything looks good then merge the PR. After merging the PR,  apply the label [zube]: To Test. Tag the respective QA team members.
[ ] Perform below testing

[ ] Spin up Rancher 2.8 with k8s 1.27
[ ] Add a downstream cluster with k8s 1.28
[ ] Point the Rancher charts repository of the downstream cluster to dev-v2.8 branch
[ ] Install the dev version of the chart. Verify that the installation is successful
[ ] Perform chart functionality testing (any tests in QA test plans for the chart)
[ ] Uninstall the chart. Verify that the uninstallation is successful
[ ] Install the prod version of the chart. Verify that the installation is successful
[ ] Upgrade to the dev version of the chart. Verify that the upgrade is successful
[ ] Add a downstream cluster with k8s 1.27
[ ] Install the prod version of the chart
[ ] Upgrade the k8s version of the downstream cluster to 1.28. Verify the chart still works after the upgrade
[ ] Perform any additional testing specific to your chart if required

[ ] If the testing passes then apply the label [zube]: Done. If you are blocked with any steps, add a comment with details and apply the label [zube]: Blocked

SURE-7736

Pass Verified in rancher v2.8.3-rc2 Below are the test cases.
Local Cluster

Provisioned Rancher with local k8s v1.27.9+k3s1 cluster.
Installed rancher-monitoring: 103.0.4+up45.31.1
Installed rancher-alerting-drivers:103.0.1
Configured monitoring and alerting to monitor and send alerts on telegram
Upgraded Local cluster to k8s v1.28.5+k3s1
Verified configured monitoring still sending alerts.
Monitoring passed p0 test cases.
Monitoring outbound links, grafana, prometheus targets function properly - ie, no dead links.
Chart annotations are correct.
Uninstall Monitoring and Alert app successfully on local cluster and deleted respective namespaces.
Fresh install monitoring and alert app on K8s v1.28.5
Configured monitoring and alerting to monitor and send alerts on telegram on fresh installation of app.
Verified configured monitoring still sending alerts.
Monitoring outbound links, grafana, prometheus targets function properly - ie, no dead links.

Downstream Cluster

Provisioned downstream k8s v1.26.9 cluster.
Installed rancher-monitoring:103.0.4+up45.31.1
Installed rancher-alerting-drivers:103.0.1
Configured monitoring and alerting to monitor and send alerts on telegram
Upgraded downstream cluster to k8s v1.28.4
Verified configured monitoring still sending alerts.
Monitoring passed p0 test cases.
Monitoring outbound links, grafana, prometheus targets function properly - ie, no dead links
Chart annotations are correct.
Uninstall Monitoring and Alert app successfully on downstream cluster and deleted respective namespaces.
Fresh install monitoring and alert app on K8s v1.28.5
Configured monitoring and alerting to monitor and send alerts on telegram on fresh installation of app.
Verified configured monitoring still sending alerts.
Monitoring outbound links, grafana, prometheus targets function properly - ie, no dead links.


[GPII-4328] Move alerts and lbm to the owner modules

This PR moves the alerts policies and the lbms to the owner modules. Also some alerts depend on the flowmanager to be ready, in order to avoid noise when the cluster is deployed for the first time.

Thanks @amatas , nice improvements!
I have only suggestion about cluster-wide alert policies (and other resources), otherwise LGTM.

as we agreed in our last standup meeting, the alerts that must be created at the end of the deployment are in an isolated module called "late-alerts"


Fix repetitive USA labels in Explore

Currently USA fips code is added multiple times to the list feeding the Explore chart. This PR prevents this by ensuring USA fips code is only added if it doesn't exist in the list yet.
Before:

After:

 Bug: USA USA USA


clean up circular dependencies

Using pydeps, I found a few places where we have some circular imports that should probably be removed:

Possibly related to #1037

Some refactoring was performed in #1267 to fix some of the circular dependencies

Yes, I can think we can close this for now. #1267 seems to have fixed most issues with this.


maint: add a docker'd Redis TLS local setup

Which problem is this PR solving?

make it easy to run a TLS'd Redis locally in development
maybe a foundation for smoke-tests later

Short description of the changes

add a make target for building the Docker image locally like CI does for releases
add a docker-compose config in a new smoke-tests/ directory

redis is run with TLS enabled using self-signed certs generated as needed by the gen-certs service container

I know this is still in draft, but please add a README to the folder explaining how to use it?


fast movements are displayed as extrusion

Hello, super project.
But I have a problem with the display. It seems that the fast movements are displayed as normal extrusion.
I used the same Benchi as in the example code.
Could you help me further?

import { AfterViewInit, Component, ElementRef, ViewChild } from '@angular/core';
import { WebGLPreview } from 'gcode-preview';
import { FileSystemFileEntry, NgxFileDropEntry } from 'ngx-file-drop';

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.css']
})

export class AppComponent implements AfterViewInit {
  file: any;
  preview: any;
  private context: HTMLCanvasElement;
  @ViewChild('myCanvas', { static: false }) canvas: ElementRef;

  ngAfterViewInit(): any {
    this.context = (this.canvas.nativeElement as HTMLCanvasElement);

    this.preview = new WebGLPreview({
      canvas: this.context,
      //targetId: 'gcode-preview',
      //topLayerColor: new THREE.Color('lime').getHex(),
      //lastSegmentColor: new THREE.Color('red').getHex(),
      buildVolume: { x: 150, y: 150, z: 150, r: 0, i: 0, j: 0 },
      initialCameraPosition: [270, 300, 300],
      lineWidth: 4,
      allowDragNDrop: true
    });

    this.preview.renderExtrusion = true;
    this.preview.renderTravel = false;

    this.preview.render();

  }

  dropped(files: NgxFileDropEntry[]): any {
    for (const droppedFile of files) {
      if (droppedFile.fileEntry.isFile && droppedFile.relativePath !== undefined) {
        const fileEntry = droppedFile.fileEntry as FileSystemFileEntry; // cast droppedFile to FileEntry
        fileEntry.file(async (file: File) => {
          const url = window.URL.createObjectURL(file); // createUrl To The FileEntry
          const linesList = await this.fetchGcode(url); // get List Of Line of the current File
          this.preview.processGCode(linesList);
        });
      }
    }

    this.preview.renderTravel = false;

    //Canvas2Image.saveAsJPEG(gcodePreview.canvas,innerWidth, innerHeight, fileName.innerText.replace('.gcode','.jpg'));
  }

  async fetchGcode(url): Promise<any> {
    const response = await fetch(url);

    if (response.status !== 200) {
      throw new Error(`status code: ${response.status}`);
    }
    const file = await response.text();
    return file.split('\n');
  }

}

hi @hildnerb,
It must be the .lineWidth that you've set. When you set it to any value it will render this way unfortunately. I never got this working properly. So, to fix it just comment out that line.
I should remove the option altogether I guess. Eventually I want to render the lines as if they have volume. I hope to get around to it at some point.
cheers,
Remco

super, thanks for the quick reply :+1:


About Training & evaluation code

Hi @hangg7 ,
Thanks for your great work.
I'm curious when will you release the Training & evaluation code
Thanks a lot.

Hi, Thanks for your interest in our work! I am currently working on something else, but will try upload the classification code by the mid of June. Thanks!

@hangg7 I'm interested in trying out the classification code. If you're looking out to releasing the training and evaluation code, it would be really helpful. Thanks!


Updating global metadata after starting application

Hi guys,
I want to update the metadata of the global handler in a later stage.
When a user uses the application, afterwards it can choose some options and Angular knows more information like userdata, settings and permissions; I want to add it like this in my app.component:
var bugsnagClient = bugsnag(<IConfig>{
            apiKey: BUGSNAG_KEY,
          })

          bugsnagClient.metaData = {
            settings: settings,
            userData: this.auth.userData
          }

But this will only bind the metadata to any following .notify() functions I call myself.
Is there any way to bind this new metadata to the global errorhandler:
// configure Bugsnag ASAP, before any other imports
const bugsnagClient = bugsnag(BUGSNAG_KEY);

// create a factory which will return the bugsnag error handler
export function BugsnagErrorHandler() {
  return new errorHandlerFactory(bugsnagClient);
}

Thanks in advance!

Adding metaData should have the effect you desire (provided the error happens after the bugsnagClient.metaData = …` assignment).
Feel free to contact<EMAIL_ADDRESS>for further assistance using the notifier. Thanks!

@bengourley I know what you mean. But when I start my angular application, people can login and fill in information. I want the Global handler to include this metadata.
I can't find any possibility to edit the 'main' bugsnag client which was initialized in the app.module
I know that I can catch my own errors and add the metadata, but I want to change the metadata of the un-catched errors.

If you have access to bugsnagClient then setting bugsnagClient.metaData on it will result in that data being present in reports for handled and unhandled errors. There should only be one bugsnagClient in your application for the majority of use cases.
If you're setting bugsnagClient.metaData and you're not seeing it in unhandled error reports then it's a bug. Let us know if that is the case.

@bengourley  I have the same issue in the production mode. In the dev mode all metadata are in the reports. However, the application in the prod mode only reports user IP. Does custom metadata works with production mode in Angular app?

@Olgagr I can see you've now raised https://github.com/bugsnag/bugsnag-js/issues/733 so we'll investigate there.

@mattdyoung Thanks!


Possible improvement opportunity: New method on MiSTer unstable nightlies allowing direct access to currently played game

Hello. An Unstable nightly was just released with a feature that may aid this project greatly. (Link requires you to have already obtained access to the MiSTer FPGA Discord server)
It would seem that an update may be on the rise for MiSTer main to include a way to directly access the currently played file without issues or delays that the current implementation this project relies on requires.
Since the file selector design did not actually designate a difference between being cancelled or selected, the change was made to make sure that difference was saved to separate files in /tmp.
Thus, along with the CURRENTPATH, FULLPATH, and STARTPATH availability, I believe this could provide near-perfect real-time access to what's running on the MiSTer, and prevent mistakes that have the wrong game showing, along with other issues.
I thought I'd bring this up early, so perhaps keeping an eye out or even toying with the unstable build may yield positive results in preliminary testing.
I expect traction will continue on this, but you can check the MiSTer Discord for further news I'm sure.

Hey @Drakonas! I just saw your comment here...has there been any more traction using the new method perhaps on another project? I think Christopher is pretty much done with this project, so if there's any updates I'd love to hear about it here or just find me on Discord :)


relax pydantic pin, fixes #141

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

this should probably go before #139 so that 2.9.0 is more flexible on pydantic


types downport, some error

lines is a ddic string_table,
    DATA(lines) = get_lines( input ).

    LOOP AT lines INTO DATA(lv_line).

lv_line becomes a table, should be typed like the table row,
    let lines = new abap.types.Table(new abap.types.String());
    let lv_line = new abap.types.Table(new abap.types.String());

workaround: don't inline lv_line
probably a bug in abaplint

this should work now, closing


Fix emit interoperability

Fixes #60 . After fixing the code, I got result as below.

I had to add tests for this to make sure imports are ok, so closing this one via 14c130cc 🔒


Weird Crash with MineFantasy Reforged

Forge Version: <IP_ADDRESS>60
Minecraft Version: 1.12.2
When trying to make a pack just using MineFantasy Reforged, Untouched Nature, and a few others, it crashes right after 2/7 and trying to go into 3/7 on the loading screen with the following crash:
crash-2023-01-23_16.16.12-client.txt

The crash log doesn't say anything about UN directly, it's some MineFantasy mob spawning issue.Anyway, the biome dictionary part of the log is something that may be somehow connected with UN, I'l take a look.
Thanks for the feedback!

Unfortunately, my IDE cannot even run with MineFantasy installed (with any kind of mixins loader), and on the standalone client it also crashes (with the same error as yours), but it also says, that the MineFantasy  .jar file is corrupted and failed to read some it's class files.Turning off UN worldgen (there will be a plain vanilla world) doesn't help.It seems, that MineFantasy uses some advanced technics like ASM transformers and mixins, that are not compatible with UN for unknown reason.
I can only recommend you to submit an issue to the MineFantasy author.
Here is the part of my crash report that is different from yours, if you 'll need it:
latest.log


Library is not working above SDK version 9

Hi,
I'm using this library for my project it is working on sdk version 27 but when I am using on version 28 or above it is not working.. Can Anyone Please solve my issue.. Please reply as soon as possible
Thanks in Advance

facing same issue

Yes Still facing Same issue


How to change the data in FNum from 00 to number of my fans.

Last, edit FakeSMC.kext/Contents/Info.plist, change the data in FNum from 00 to number of your fans.
I have 2 fans,FNum=ui8 in info.plist,how to change it for 2 fans?

Thx!! How do i confirm my fan's Offset value like ur Offset (0xD0)

Use RW-Everything. Open "Access" -> "Embedded Controller" and you will see a table containing values of EC register, from which you can confirm fans' values. Normally they should be close to each other.
For testing, you may use the fn+fkey to enable maximum fan speed, and then press again to disable it, after disabling, fans will stop for a little while before start again. During that process, watch the EC register values and try to find out corresponding offset.

It seems a lot of work to do, I've seen many values are changing under EC reg,It's hard to tell which is the one I need.
My QQ is 2994638 ,Could u contact me for some help,Thx!!!!!!!!!


Remarks missing entry (not valid in 64-bit MASM)

Directive not valid in 64-bit MASM (ml64.exe).

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

ID: fe34c5eb-ac3f-8cd1-6a43-6a559e26c779
Version Independent ID: 7c905642-30ca-b9ff-a85a-c3850361a38b
Content: .FARDATA?
Content Source: docs/assembler/masm/dot-fardata-q.md
Product: visual-cpp
Technology: cpp-masm
GitHub Login: @corob-msft
Microsoft Alias: corob

fix should appear in 1-2 days. Thanks @Player1UK !


Highscore tracking stopped working

Platform information

Operating system: Ubuntu 16
Python version: 3.6
NabBot version: 1.5

Bug information
It has been reported on the support discord that highscore entries are not showing on /whois, and it has been verified that they are not being saved for some reason.

Forgot to mention that this was fixed in ced17d3e69af3c8ad341b97dc86b10e071c1dede


[Event Request] - table 246 "Requisition Line" - OnLookupFromLocationOnSetFilters

Can we please get the following event?
local procedure LookupFromLocation(var Location: Record Location): Boolean
begin
    Location.Code := "Transfer-from Code";
    Location.SetRange("Use As In-Transit", false);
    OnLookupFromLocationOnSetFilters(Rec, Location);//NEW
    exit(PAGE.RunModal(0, Location) = ACTION::LookupOK);
end;

[IntegrationEvent(false, false)]
local procedure OnLookupFromLocationOnSetFilters(RequisitionLine: Record "Requisition Line"; var Location: Record)
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


fix: types for fields prop in universal form modal

fix: types for fields prop in universal form modal

closed by #627


[RadioMelodieBridge] Bridge fixed after website update

The bridge has been adapted to the new website layout
The content now shows the header picture below the date

Thanks for keeping the bridge up-to-date! :1st_place_medal:


Plugwise plugin fails with XML parse error

Home Assistant release with the issue: 0.103.6

Last working Home Assistant release (if known):
Operating environment (Hass.io/Docker/Windows/etc.): Linux (Raspbian Buster Lite) venv install

Integration: Plugwise

Description of problem: I have a legacy Anna. When enabling the component and starting hass, an error is produced:
ERROR (MainThread) [homeassistant.components.climate] plugwise: Error on device update!
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
climate:
  - platform: plugwise
    password: <smileID>
    host: <hostname>
    legacy_anna: true

Traceback (if applicable):
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 292, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 461, in async_device_update
    await self.hass.async_add_executor_job(self.update)
  File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/plugwise/climate.py", line 262, in update
    self._domain_objects = self._api.get_domain_objects()
  File "/srv/homeassistant/lib/python3.7/site-packages/haanna/haanna.py", line 67, in get_domain_objects
    return Etree.fromstring(r.text)
  File "/usr/lib/python3.7/xml/etree/ElementTree.py", line 1315, in XML
    parser.feed(text)
  File "<string>", line None
xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 216, column 42

Additional information: When getting the URL manually (and verifying it with a tcpdump from the Pi), it seems that this line (216) is the culprit:
<vendor_name>Viessmann Elektronik GmbH & Co KG</vendor_name>
Something wrong the way the ampersand is encoded?

Yes. Ampersand is special in xml. It must be written as &

If you can't get the manufacturer to fix. Upstream library must try to handle the invalid XML.

i created a support case with Plugwise too... but i think they aren't gonna fix it anytime soon.
Maybe i'll just do a string replace before passing it to the parser...

@oxje Please go here: https://community.home-assistant.io/t/advice-how-to-load-sensor-info-from-plugwise-anna-thermostat-web-interface-xml/87801/143
And please test the update, let me know whether the fix works or not.

If the update from the post above does not work, I think I have found a solution that should work. It works in my simple simulation-environment.

Seems like the dev custom component change isn't working:
2020-01-13 17:27:17 ERROR (MainThread) [homeassistant.components.climate] plugwise_dev: Error on device update! ... xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 216, column 42

Ok, noted. Please change the haanna version to 0.14.2 in manifest.json, then restart HA.
Let me know the result, please.

Great success!

Nice! Thanks for testing.
I will push all the latest updates into HA, once I have received the confirmation from several other users that all is working OK.

So when that's done i can revert back to the original integration i guess...

@oxje We are working on a common platform for all Plugwise devices. There will be support for the Plugwise Anna's, Smile P1's and the Adam, and Plugs via the Adam. We have tested with the Adam, Plugs and the Anna with firmware 3.1.11. Now we are looking for testers that have a legacy Anna. Are you willing to help?


[BUG] GitHub Wrapped doesn't work for me

"Something went wrong. Please try again in a couple minutes or raise an issue on GitHub. Thank you!"

I've signed in properly, you can see the right corner, starred the repo, my username was correct, I gave access to both private and public repos.

https://www.githubwrapped.io/Rishi-Sudhakar
It's working for me, is it working for you?


Cannot read property 'Symbol(toStringTag)' of undefined for

The new Aurelia polyfills is erroring out when a null or undefined value is passed for the Object.prototype.toString polyfill.

I found the source usage that is receiving the above Aurelia error inside the momentjs library where it checks input using the Object.prototype (see screenshot below):

Let me know if you need more info.

We have a fix coming.

I got this error as well. I think the core.js library has the same issue also. When I tried importing core-js  from main.js, I get the same error message, but a different stacktrace (obviously).

I rolled back to core-js and this error has gone away.  I'm putting the core-js client right into index.html

Putting core-js in the index.html is probably the easiest way to ensure that it works correctly. We do have a fix for this particular issue coming shortly.

How can we update our packages references without getting this latest patch? It seems this start from aurelia-bootstrapper which is the one who has a reference to the aurelia-polyfills

Fixed. Release coming shortly.

Thank you Bob.

Ok now there is no more errors, but the application no longer renders.

For me, its working fine now.

paranoxx, did you try cleaning everything, node modules, jspm packages, dist, and start from scratch with npm install, then jspm update then gulp build?

No, why should i?

Excellent! Issue fixed.
Thank you for the quick turnaround.

paranoxx, you should not, but if you do you'll experience my issue. This might be unrelated to this issue, and I'm currently still trying to figure out which other updates to which other aurelia package is causing this. I only know that my app was working fine until the last 2-3 days.

Shoudn't you do a jspm install -y after a clean?

paranoxx You should not have too. I usually never do jspm install -y. Let me dig a little more into my config and see what I can find. I' put together a little solution with a subset and I'll post on github public shortly

I'm not that into the internals of jspm but that's what i do while preparing deployment.
Checkout project on destination server, npm install followed by jspm install -y followed by gulp bundle.

paranoxx all seems working again in my sandbox here https://github.com/damianof/aurelia-config-samples

Should that fix also cover null values? I'm getting a similar error when null.


Is anyone else having issues with this model not displaying anymore. Do you have a solution?

same issue for me. on chrome on regular computer it works fine - on rpi with MMM - not. there are some errors in console, but I'm not so expirienced to fix them. in case someone got ideas how to make it work on rpi - let us know please...


[Bug]: If multiples actions or traits have the same description, only the last one is displayed

Check for existing bug reports before submitting.

[X] I searched for existing Bug Reports and found no similar reports.

Expected Behavior
When writing multiples actions or traits, they should all be displayed as long as they have different names, whichever description they might have.
Current behaviour
If multiple actions or traits have different names but the same exact description, only the last one with this description gets displayed.
Reproduction
Here's a minimalist statblock that can reproduce this issue
```statblock
layout: Basic 13th Age Monster Layout
actions:
    - name: Action 1
      desc: 2 damage
    - name: Action 2
      desc: 3 damage
    - name: Action 3
      desc: 3 damage
traits:
    - name: Trait 1
      desc: description 1
    - name: Trait 2
      desc: description 2
    - name: Trait 3
      desc: description 2
```

and the displayed result

Which Operating Systems are you using?

[ ] Android
[ ] iPhone/iPad
[X] Linux
[ ] macOS
[ ] Windows

Obsidian Version Check
Obsidian version: v1.3.3 	Installer version: v1.2.8

Plugin Version
3.6.5
Confirmation

[X] I have disabled all other plugins and the issue still persists.

Possible solution
No response

Hey @freohr This should be fixed in #249. :) Can you confirm just in case?

Hey @freohr This should be fixed in #249. :) Can you confirm just in case?

@sigrunixia Yes, it works correctly now, thank you :)


Slow auto connection on app.starknet.id

When I connect to app.starknet.id, and then refresh the page, I need to click on connect again. On starknet.quest, I get connected automatically.
Edit: actually I seem to connect, but after a very long time. It's much faster on starknet.quest

I think it's just slow because argent is slow but SQ works better it's true


Command line options don't work for code insiders version

Issue Type
Bug
Description
The command line options don't work for code insiders version.  I'm trying to write a single script to download and install all extensions for VS Code and VS Code Insiders.  I think there is a separate script?  But, would it be possible to fix this bug so I can run my script for VS Code and VS Code Insiders without any special logic?
VS Code Info
VS Code version: Code - Insiders 1.21.0-insider (135d4a5d5cecd82e9e4da7ede655fb09af0dac35, 2018-02-14T06:09:28.551Z)
OS version: Darwin x64 17.2.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-7267U CPU @ 3.10GHz (4 x 3100)

Load (avg)
3, 4, 4

Memory (System)
8.00GB (0.07GB free)

Process Argv
/private/var/folders/90/lpgkdnnj293gmdz2pds2pm3w0000gn/T/AppTranslocation/C1EF80CB-B78A-4648-A359-F116D0267978/d/Visual Studio Code - Insiders.app/Contents/MacOS/Electron

Screen Reader
no

VM
0%

Extensions (1)

Extension
Author (truncated)
Version

python
ms-
2018.1.0

Reproduces only with extensions

Please provide more details. What command line options are you trying to use?
The command line when using the stable version is ´code´ when using the insiders version it is ´code-insiders´. If you want to write a single script then you need to distinguish between these two versions of the command line in you script.

install-extension . Why have two different scripts?

@egamma got it working 👍 feel free to close


chore: Update Manifests script

Proposed Change

Adds a script to handle updating versions in manifest.yaml files located in /manifests. This creates backup manifest files that can be removed by rerunning the script with --cleanup.
Formatted other existing scripts using a shell formatter

Usage:
./scripts/update-manifest-versions.sh <contrib_version> <collector_version> <agent_version>

./scripts/update-manifest-versions.sh --cleanup

Checklist

[ ] Changes are tested
[ ] CI has passed

Idk if we really need the backup manifests and --cleanup option, just something I threw in but cool with taking out too.


How to get the  semantic-rich floorplan result?

How to get the  semantic-rich floorplan result?

Hi, the instructions for the semantic-rich floorplan will come soon, hopefully within the next week.

Hi, the instructions and code for the semantic-rich floorplan have been added. Close the issue for now. Feel free to reopen it if you have further questions!


Allow CLI options to be passed to the new statinamic start/build

Closes #262

Current coverage is 67.57%

Merging #321 into next will increase coverage by +0.24% as of 553d7b8

@@             next    #321   diff @@
=====================================
  Files          42      43     +1
  Stmts         548     552     +4
  Branches        0       0
  Methods
=====================================
+ Hit           369     373     +4
  Partial         0       0
  Missed        179     179

Review entire Coverage Diff as of 553d7b8

Powered by Codecov. Updated on successful CI builds.

Oops
> Statinamic@ start /home/khoa/web/statinamic/docs
> statinamic start

/home/khoa/web/statinamic/lib/builder/index.js:85
    throw new Error("You need to specify --static or --server");
    ^

Error: You need to specify --static or --server
    at exports.default (index.js:78:11)
    at Object.<anonymous> (build.js:12:1)
    at Module._compile (module.js:413:34)
    at loader (/home/khoa/web/statinamic/node_modules/babel-register/lib/node.js:126:5)
    at Object.require.extensions.(anonymous function) [as .js] (/home/khoa/web/statinamic/node_modules/babel-register/lib/node.js:136:7)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
    at require (internal/module.js:16:19)
    at Object.<anonymous> (/home/khoa/web/statinamic/lib/bin/runner-cmd.js:12:1)

config = {
  server: false,
  static: false,
}

This works for the tests. How are you using this?

Tests failed but Travis status is green
https://travis-ci.org/MoOx/statinamic/builds/116612946#L3504-L3518

And tests/cli.js is not even executed haha.

PR updated.

:+1: lgtm


chore log class of unknown stmt in DdlExecutor

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

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

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

run buildall

run buildall

run buildall

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 34.12 seconds
stream load tsv:          423 seconds loaded<PHONE_NUMBER>9 Bytes, about 168 MB/s
stream load json:         21 seconds loaded<PHONE_NUMBER> Bytes, about 107 MB/s
stream load orc:          61 seconds loaded<PHONE_NUMBER> Bytes, about 17 MB/s
stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230515130627_clickbench_pr_143909.html


DBZ-2918 Conscious language update: replace black-/white- list strings

This change replaces the blacklist/whitelist strings that remained in some anchor link IDs in the connectors documentation with equivalent exclude-list/include-list strings.

Thx, good spot in the listings, too!

Thx, good spot in the listings, too!


"Error: failed decoding" Error!?

Latest beta started to give "Error: failed decoding" for me yesterday and on my wife's iPhone the the day before.
Please fix.
Regards Roger / Sweden

Interesting issue. But it's most certainly an error on the server...
Moving this issue there


integrate mesos cloud provider with k8s proper

Mesos cloud provider implementation. see #6676
cc @davidopp @bgrant0607 @guenter

I signed it!
I'm working for mesosphere and they've signed the CLA.

xref https://github.com/mesosphere/kubernetes-mesos/issues/114

cc @roberthbailey

@jdef I can see that TCPLoadBalancer is not implemented here. Reading #6676 it seems as if the intention is that eventually one can chain providers together, am I understanding it correctly with respect to external LB functionality?

Yes, that's the goal. This initial implementation is pretty vanilla. Future
iterations would add support to layer GCE, AWS, e.g. cloud support so that
we could leverage load balancers, etc.
On Tue, May 12, 2015 at 7:18 AM, Ilya Dmitrichenko<EMAIL_ADDRESS>
wrote:

@jdef https://github.com/jdef I can see that TCPLoadBalancer is not
implemented here. Reading #6676
https://github.com/GoogleCloudPlatform/kubernetes/issues/6676 it seems
as if the intention is that eventually one can chain providers together, am
I understanding it correctly with respect to external LB functionality?
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/8053#issuecomment-101240471
.

Future iterations would add support to layer GCE, AWS, e.g. cloud support so that we could leverage load balancers, etc.

@jdef that's great, is there a proposal for this? #2770 seems related, but hasn't seen much activity...

Also, I think there need to be some more explanation of how exactly Kubernetes on Mesos works and what's the benefit of doing so. I have attempted to find out, but it's hard to tell from the code. All I have  understood is that launching Kubernetes on a Mesos cluster magically makes all Mesos slaves available to Kubernetes, but how does it work is still mystery to me.

There was some discussion around this a while back:
https://github.com/GoogleCloudPlatform/kubernetes/pull/5980
We followed up with a hangout session to discuss and decided that keeping
things simple for now was a good bet, and that later iterations could
expand on a simple implementation.
On Tue, May 12, 2015 at 8:45 AM, Ilya Dmitrichenko<EMAIL_ADDRESS>
wrote:

Future iterations would add support to layer GCE, AWS, e.g. cloud support
so that we could leverage load balancers, etc.
@jdef https://github.com/jdef that's great, is there a proposal for
this? #2770
https://github.com/GoogleCloudPlatform/kubernetes/issues/2770 seems
related, but hasn't seen much activity...
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/8053#issuecomment-101262203
.

Does that explanation need to be a part of this PR? We're planning future
PR's to upstream the custom scheduler and executor components.
The diagrams are slightly out of date but perhaps this is a good starting
point? https://github.com/mesosphere/kubernetes-mesos/tree/master/docs
On Tue, May 12, 2015 at 8:47 AM, Ilya Dmitrichenko<EMAIL_ADDRESS>
wrote:

Also, I think there need to be some more explanation of how exactly
Kubernetes on Mesos works and what's the benefit of doing so. I have
attempted to find out, but it's hard to tell from the code. All I have
understood is that launching Kubernetes on a Mesos cluster magically makes
all Mesos slaves available to Kubernetes, but how does it work is still
mystery to me.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/8053#issuecomment-101264285
.

Does that explanation need to be a part of this PR?

No, thanks for the link!

@jdef generally we ask that you separate out godeps changes into a separate commit to make your code changes easier to review. I'm not sure if it's possible to back it out now that they are squashed together, but it's something to keep in mind as you add new dependencies.

@roberthbailey I attempted to address your code concerns and also split up the commit. HTH

Thanks. They were really just some drive-by comments, leaving a more thorough review to @davidopp.

Hi there, i am very curious about the mesos integration in kubernetes. What is the state of the integration and is there some kine of use-guide how to get it up and running? By the way, i sthe kubernetes-mesos project dead and it it succeeded by the kubernetes integration or will it still receive some updates?

@theiq the kubernetes-mesos project is not dead and is the current
reference implementation of the integration.
plans are moving forward to upstream most of (if not all of) the code from
that project into k8s, as per #6676. this PR is part of that effort.
On Wed, May 13, 2015 at 6:46 AM, theiq<EMAIL_ADDRESS>wrote:

Hi there, i am very curious about the mesos integration in kubernetes.
What is the state of the integration and is there some kine of use-guide
how to get it up and running? By the way, i sthe kubernetes-mesos project
dead and it it succeeded by the kubernetes integration or will it still
receive some updates?
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/8053#issuecomment-101621912
.

i don't know where or whom to ask, so sorry in advance. (when) will the kubernets-mesos project support version 0.17 or anything which understands API v1beta3 (v1)?

v1beta3 support: soon-ish. sorry, but don't have an exact date for you.
On Wed, May 13, 2015 at 7:11 AM, Stefan Reichel<EMAIL_ADDRESS>wrote:

i don't know where or whom to ask, so sorry in advance. (when) will the
kubernets-mesos project support version 0.17 or anything which understands
API v1beta3 (v1)?
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/8053#issuecomment-101629976
.

LGTM


Add batch inference support (WIP)

Closes #771

This is going to be a big PR as it requires refactoring a good deal of the Llama class to make it thread safe and support multiple parallel sequences. The goal is to introduce no breaking changes as long as you don't use the new functionality, some of the lower level methods like eval, sample, generate may have undefined behaviour when the kv cache has multiple sequences, asserts will need to be raised accordingly.

[ ] Refactor Llama._create_completion spaghetti-ball (should be able to fix #914 as well)
[ ] Add support for multiple completions per request
[ ] Add support for parallel requests

@abetlen any progress on this? I am very interested in this feature

@abetlen I'm also curious to know if this is still a planned feature.
Thank you

same here

Hey guys, yes it is, it's just taking longer than expected because I need to refactor a lot of the Llama class internals while avoiding breaking changes. At the same time I also don't want to hold up bug fixes and llama.cpp updates.
Next steps right now are

Refactoring create_completion so it can be used for parallel sequence completions
Introduce a sampling context to manage parallel sequences state like grammars, mirostat params, etc
Add multi-completion (ie n parameter in the OpenAI api) support
Add parallel completions support through a slots api similar to llama.cpp

+1 on this, would really really love to see this feature - right now, I can't use llama-cpp-python in production because of it :(

Add support for multiple completions per request
Add support for parallel requests

Hope we can get these two great features soon!

I am also highly interested in this, would be really really great! 😀

@abetlen Hey; this would be huge if you're still working on it.
Right now I'm using 100% of the VRAM on an A40, and getting like 3% utilization for the FLOPS and Memory Bandwidth 😆
I just need to be able to throw more inferencing at it, but running the python file twice simultaneously will take up twice the VRAM (Not viable, I'm at VRAM limit already).
I will happily sponsor you with the cloud compute that I will save :pray:
~ From my understanding of this PR; with this feature:
- A "context" will have its own specific kv_cache
- A context can be save_model/load_model'd, which will save/load all state (including kv_cache?)
- And then, I can have N threads, each one can do an llm load model to initialize a context, and then .eval, and then save_model to continue that evaluation at a later time. And keep a dictionary of llm states for all clients who are waiting on evals to progress.
- Target N to be whatever gives me 100% util on FLOP or Memory Bandwidth (probably bandwidth)

Or, alternatively, will the kv_cache be global? It could probably save RAM by allowing the parallel processes to share in the kv_cache, but also maybe that's harder to implement and it wouldn't matter in cases where the parallel processing threads don't share any substrings. Not sure.

Hey @abetlen any updates on this one? Looking to add support for this into instructlab/sdg and instructlab/instructlab !!!! Really hoping for this functionality 🙏


refactoring login+(captcha)requestPhoneCode from core to apps

doing some small improvment:

instead of using exit(errorCode), using throw when there is a missing config. I had issue some month ago where there was a config missing, and I could not see anything in the log because nodejs was exiting early as it encounter the exit() method. The way to uncover the issue was to detect that the error code was 99 or 98 which is a custom error we had defined. instead, going to a throw would add something in the log, that would make it more apparent what is the issue, as looking at the exit code is typically not the first thing one will be looking at when there is a crash in a pod.
importing subfunction in lodash instead of the whole lodash package. there is sometimes vulnerabilities discovered in lodash. importing only the few packages we are using will limit the noise we get around that. also will make our Docker image (marginally) smaller.

integration tests are still failing but would appreciate some early feedback on the PR @bodymindarts @vindard @dolcalmi

Can you clean up the history? Its hard to read:
$ gl
*   123215ae (HEAD -> improve_config, origin/improve_config) Merge branch 'improve_config' of https://github.com/GaloyMoney/galoy into improve_config
|\
| *   60bbdc37 Merge branch 'improve_config' of https://github.com/GaloyMoney/galoy into improve_config
| |\
* | \   6ae86b4b Merge branch 'improve_config' of https://github.com/GaloyMoney/galoy into improve_config
|\ \ \
| |/ /
|/| /
| |/
| * 1d20d285 work on fixing initialization issue
* | 2eb21fce work on fixing initialization issue

Can you clean up the history? Its hard to read:
$ gl
*   123215ae (HEAD -> improve_config, origin/improve_config) Merge branch 'improve_config' of https://github.com/GaloyMoney/galoy into improve_config
|\
| *   60bbdc37 Merge branch 'improve_config' of https://github.com/GaloyMoney/galoy into improve_config
| |\
* | \   6ae86b4b Merge branch 'improve_config' of https://github.com/GaloyMoney/galoy into improve_config
|\ \ \
| |/ /
|/| /
| |/
| * 1d20d285 work on fixing initialization issue
* | 2eb21fce work on fixing initialization issue

what the right way to clean it up? trying rebase -i and this doesn't seem to work

Can you clean up the history? Its hard to read:
$ gl
*   123215ae (HEAD -> improve_config, origin/improve_config) Merge branch 'improve_config' of https://github.com/GaloyMoney/galoy into improve_config
|\
| *   60bbdc37 Merge branch 'improve_config' of https://github.com/GaloyMoney/galoy into improve_config
| |\
* | \   6ae86b4b Merge branch 'improve_config' of https://github.com/GaloyMoney/galoy into improve_config
|\ \ \
| |/ /
|/| /
| |/
| * 1d20d285 work on fixing initialization issue
* | 2eb21fce work on fixing initialization issue

what the right way to clean it up? trying rebase -i and this doesn't seem to work

ok followed this tutorial: https://blog.oddbit.com/post/2019-06-17-avoid-rebase-hell-squashing-wi/

no, this does not require migration, this is at domain definition. You should do the parsing in service implementation (persistNew and userFromRaw)

yes but this means we need both a mapping from twilio and mongodb. a better fix would be to just map the value from twilio to a camelCase such that we don't have a map the value to/from mongodb?

This PR seems to be getting bigger and bigger. Is there no way to bring in the changes incrementally?

not straightforward. had to squash the commits to remove the multiple parent commits issue.


[stable/kibana] replace elastcisearch.url with elasticsearch.hosts

What this PR does / why we need it:
More recent versions of kibana complay about using elasticsearch.url, it appears that elasticsearch.hosts is the new name of this setting.
https://www.elastic.co/guide/en/kibana/7.0/docker.html#docker-defaults
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #12378

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

cc @compleatang @monotek

/ok-to-test

/lgtm

This is a breaking change and should have been advertised as such.

This is a breaking change and should have been advertised as such.

Thanks for pointing that out @desaintmartin , https://github.com/helm/charts/pull/13720 created


Much lower frame rate has been observed on the 1080ti

Hello, I've tested the repo on the 1080ti and on the below configuration I see that the elapsed time is about 600ms, which is extremely high, and I'm thinking maybe I'm doing something wrong.
#define STR2(x) STR1(x)
// #define USE_FP16  // comment out this if want to use FP16
#define CONF_THRESH 0.5
#define BATCH_SIZE 1
#define BILINEAR true
// stuff we know about the network and the input/output blobs
static const int INPUT_H = 512;
static const int INPUT_W = 512;
static const int OUTPUT_SIZE = 512 * 512;

const char *INPUT_BLOB_NAME = "data";
const char *OUTPUT_BLOB_NAME = "prob";

I have downloaded the weights from this link and converted them. I checked the MD5sum output with you and it was fine.I have attached the inference log.
678ms
1
662ms
1
658ms
1
658ms
1
665ms
1
664ms
1
664ms
1
657ms
1
661ms
1
663ms
1
716ms
1
654ms
1
657ms
1
667ms
1

Process finished with exit code 0

Test in pytorch
The same configuration was tested in Pytorch and the logs are attached
input to net -> torch.Size([1, 3, 512, 512])
output from net -> {} torch.Size([1, 1, 512, 512])
Predicted in 40.77601432800293 milliseconds

input to net -> torch.Size([1, 3, 512, 512])
output from net -> {} torch.Size([1, 1, 512, 512])
Predicted in 39.133310317993164 milliseconds

input to net -> torch.Size([1, 3, 512, 512])
output from net -> {} torch.Size([1, 1, 512, 512])
Predicted in 38.28907012939453 milliseconds

Could you please let me know why it takes so long? Thank you in advance
Saeed

I tried to use 3090 to test image, and the average inference speed is 160ms per image(1918x1280, batch size1), and maybe some information in CMakeList (sm version )influence the inference performance.  I suggest to comment some info in CMakeList.txt as following:
cmake_minimum_required(VERSION 2.6)
project(unet)
add_definitions(-std=c++11)
#option(CUDA_USE_STATIC_CUDA_RUNTIME OFF)
#set(CMAKE_CXX_STANDARD 11)
#set(CMAKE_BUILD_TYPE Debug)
set(CUDA_NVCC_PLAGS ${CUDA_NVCC_PLAGS};-std=c++11;-g;-G;-gencode;arch=compute_30;code=sm_85)
cuda directory
include_directories(${PROJECT_SOURCE_DIR}/include)
include_directories(/usr/local/cuda/targets/x86_64-linux/include)
link_directories(/usr/local/cuda/targets/x86_64-linux/lib)
tensorrt
include_directories(/home/workspace/TensorRT-<IP_ADDRESS>/targets/x86_64-linux-gnu/include)
link_directories(/home/workspace/TensorRT-<IP_ADDRESS>/targets/x86_64-linux-gnu/lib)
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Ofast -Wfatal-errors -D_MWAITXINTRIN_H_INCLUDED")
link library and add exec file
add_executable(unet ${PROJECT_SOURCE_DIR}/unet.cpp)
target_link_libraries(unet nvinfer)
target_link_libraries(unet cudart)
#add_definitions(-O2 -pthread)
opencv library
find_package(OpenCV)
include_directories(OpenCV_INCLUDE_DIRS)
target_link_libraries(unet ${OpenCV_LIBS})

I tried to use 3090 to test image, and the average inference speed is 160ms per image(1918x1280, batch size1), and maybe some information in CMakeList (sm version )influence the inference performance.  I suggest to comment some info in CMakeList.txt as following:
cmake_minimum_required(VERSION 2.6)
project(unet)
add_definitions(-std=c++11)
#option(CUDA_USE_STATIC_CUDA_RUNTIME OFF)
#set(CMAKE_CXX_STANDARD 11)
#set(CMAKE_BUILD_TYPE Debug)
set(CUDA_NVCC_PLAGS ${CUDA_NVCC_PLAGS};-std=c++11;-g;-G;-gencode;arch=compute_30;code=sm_85)
cuda directory
include_directories(${PROJECT_SOURCE_DIR}/include)
include_directories(/usr/local/cuda/targets/x86_64-linux/include)
link_directories(/usr/local/cuda/targets/x86_64-linux/lib)
tensorrt
include_directories(/home/workspace/TensorRT-<IP_ADDRESS>/targets/x86_64-linux-gnu/include)
link_directories(/home/workspace/TensorRT-<IP_ADDRESS>/targets/x86_64-linux-gnu/lib)
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Ofast -Wfatal-errors -D_MWAITXINTRIN_H_INCLUDED")
link library and add exec file
add_executable(unet ${PROJECT_SOURCE_DIR}/unet.cpp)
target_link_libraries(unet nvinfer)
target_link_libraries(unet cudart)
#add_definitions(-O2 -pthread)
opencv library
find_package(OpenCV)
include_directories(OpenCV_INCLUDE_DIRS)
target_link_libraries(unet ${OpenCV_LIBS})

Note that I have changed the sm version to the 1080ti corresponding as follows:
set(CUDA_NVCC_PLAGS ${CUDA_NVCC_PLAGS};-std=c++11;-gencode;arch=compute_61;code=sm_61)

It got worse after I commented on these lines. Time for inference has been changed from 600ms to 1400ms.

I can not test 1080ti performance but I searched and find a similar issue: https://github.com/NVIDIA/TensorRT/issues/1221,maybe use different cudnn can help

Hi, I cannot get a workable .wts file for the v1.0 pretrained model (unet_carvana_scale1_epoch5.pth) provided by Pytorch-UNet successfully.
I change the gen_wts.py to:
    net = UNet(n_channels=3, n_classes=2, bilinear=True)
    net.load_state_dict(torch.load('unet_carvana_scale1_epoch5.pth'))
    net = net.to('cuda:0')

I run it with the Pytorch-UNet V1.0.
The error is as follows:
  File "gen_wts.py", line 11, in main
    net.load_state_dict(torch.load('unet_carvana_scale1_epoch5.pth'))
  File "/usr/local/lib/python3.8/dist-packages/torch/nn/modules/module.py", line 1604, in load_state_dict
    raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for UNet:
	size mismatch for outc.conv.weight: copying a param with shape torch.Size([1, 64, 1, 1]) from checkpoint, the shape in current model is torch.Size([2, 64, 1, 1]).
	size mismatch for outc.conv.bias: copying a param with shape torch.Size([1]) from checkpoint, the shape in current model is torch.Size([2]).

Pytorch 1.12+cuda

According to the below test, the speed was fine with the normal onnx to trt process:
Average on 10 runs - GPU latency: 7.42174 ms - Host latency: 7.56389 ms (end to end 13.8005 ms, enqueue 0.470346 ms)

I will be glad to assist you in finding the problem or help you update the codes as follows(these are simple for you but maybe you don't have the time for that)

Finding the sm automatically
Create a cmake module for TensorRT finding
Update and refine the code to the latest TensorRT version
...
Please let me know via<EMAIL_ADDRESS>if that is fine with you.

Hi, could I know you how to get the test result here? I tried the ./unet -d ../samples in Jetson nano, and the result is similar to your device, 767ms per frame.

https://github.com/wang-xinyu/tensorrtx/tree/master/unet please use newest repo for testing, this old repo is no longer maintained


Allocation fixes

Fixes https://github.com/Deltares/Ribasim/issues/1103.

Some Rabbit holes I went down:

I thought maybe the problem was that the coefficients in the quadratic absolute objective function differ too much in magnitude, since there is a coefficient of 1 and also a coefficient of d^2 for every demand d. To test this I removed the d^2 terms (since adding a constant to the objective function should not have any effect) but this didn't solve the problem. If we want to look into rescaling to tackle this issue, we would have to come up with a robust way to do this based on the order of magnitude of demands and flows in a subnetwork.
I also looked into using the Ipopt optimizer instead of HiGHS. There were some difficulties with this involving being allowed to modify the constraints and retrieving values of variables after the model became 'dirty' (i.e. modified after optimization). I believe the first problem was solved by called JuMP.set_optimizer which initializes the optimizer in a different mode, and the second by storing the latest flow values in AllocationModel.flows::flows::Dict{Tuple{NodeID, NodeID}, Float64}.
When I got the Ipopt optimizer to work, I noticed some differences in optimization results. Most of them were just small deviations from the HiGHS results, but there were some notable exceptions, see below. Both of these were due to unconstrained variables in optimizations for collecting subnetwork demands, so the fact that these behaved desirably before was just a lucky coincidence (especially after the flow cost was removed). It would be nice if we could formalize or at least test that there are no unconstrained variables in the problem.

Terminal nodes: Currently these are already part of the allocation networks, but the allocation flow to them was not yet constrained. Adding their demands is part of #708, but I added constraints to the flow to the terminals so that they do not receive unnecessary flow when collecting subnetwork demands.
FractionalFlow nodes: Unlike the flow conservation constraints, the fractional flow constraints still have '$\le$' constraints instead of equality constraints, as I feel equality would be too restrictive. To still restrict the flow more (as the priority 1 flow towards the fractional flow node in the middle subnetwork in the main_network_with_subnetwork testmodels was some arbitrary high number), I made sure that there is also a flow conservation constraint for nodes that have downstream FractionalFlow nodes. The result is now though that less demand is collected from this subnetwork.

There's another rabbit hole I came across which I didn't go into yet, which is all the options JuMP has for making an optimization problem suitable to be solved by a specific solver (which was also briefly discussed by Ailbhe during our latest meeting with the RTC-tools team). In general my feeling is that we've come pretty far with trial and error, but maybe organising a meeting with an expert in JuMP would go a long way at this point (if possible).

I also noticed a silent error where in the new testmodel target_level_model the column allocation_network_id wasn't properly renamed to subnetwork_id, I'll fix it in my upcoming PR.

This PR can be closed because:

With the current choice of only the linear absolute objective function we can keep the HiGHS optimizer;
The problems with the terminal and fractional flow nodes are mentioned in https://github.com/Deltares/Ribasim/issues/1208.


[Bug] Show Data语句，结果Size为0

Search before asking

[X] I had searched in the issues and found no similar issues.

Version
2.0.1
What's Wrong?
使用show data命令查看表数据，size为0，实际30w左右的数据量。

What You Expected?
原因是什么
How to Reproduce?
No response
Anything Else?
No response
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

You have to wait for a while after the data is imported.


Added java code for linear search

Why:
Closes #4
What's being changed:
Check off the following:

[ ] I have reviewed my changes in staging (look for "Automatically generated comment" and click Modified to view your latest changes).
[x] For content changes, I have completed the self-review checklist.

Hey @PrajwalBorkar
Thanks for contributing to this project 😃
This PR will be reviewed and merged shortly


Delay on v-if="false"

Hello,
I don't know wheather is it a bug or a feature. I decided to open an issue for this. Please forgive me, if my opened issue is not accurate.
I'm experiencing an little delay when I'm hiding an element with the v-if="false" tag. I'm providing an gif for you.

My template source-code follows, so you can understand how the bug came off.

      <animated-group-bounce-in tag="div">

      </animated-group-bounce-in>
      keyboard_arrow_down

   <animated-flip-in-x>

   </animated-flip-in-x>

And the method to hide the picker
methods: {
    changeLocale: function (locale) {
      this.i18nListVisible = !this.i18nListVisible
      this.$locale.change(locale)
    }
  }

Hey @SHA-256
Thanks a lot for using this plugin!
I believe the delay might not be caused by the plugin itself, but the combination of v-if, animate.css' default animations delay and whatever events setting this.$locale triggers.
Let me ellaborate a bit on that:

Setting v-if=false is a resource-consuming operation since it removes the element from the DOM.
Animate.css animations are pure CSS animations, so the browser might give them a low priority in the graphic pipeline.
Depending on the i18n library you're using, operations performed by it have to conclude before the next rendering cycle can happen, thus causing a more notorious delay.

A few things to try before we confirm it's a bug on the plugin or something related to the above:

Use v-show instead of v-if, as it's more lightweight (it just sets the element's visibility).
Please remove the this.$locale.change... invocation in your click handler so we can discard the delay is related to events/actions triggered by it.

Please let me know how things go after making those changes and don't hesitate asking any questions you need!

Everything is working fine now. Thank you very much for your detailed answer.


Consolidate github service description for the wiki

We have a lot of description regarding the services in these files:
https://github.com/iotaledger/integration-services/blob/master/api/usage-audit-trail-GW.md
https://github.com/iotaledger/integration-services/blob/master/api/usage-ssi-bridge.md
We should consolidate relevant and not duplicated content add it to the wiki and remove these files from Github.

I've removed text which should not be moved into the Wiki and will give further instructions to Lucas.
See commit:
https://github.com/iotaledger/integration-services/commit/1344274678d6d41aa4ff2064ed6ddd511fd4a803


Weight conversion to safetensors format

In the wake of security concerns associated with the pickle module (see this), almost all of the new entries at HF are in the new safetensors format which seems to be becoming the de facto replacement for pickle at this rate (see this by Cohere for instance). Not only has it been shown that unlike pickle, arbitrary code execution is impossible through safetensors, safetensors also reduces potential RAM usage for bigger models through sharding and it demonstrates a loading speed-up of up to 2x on GPU and up to 76.6x on CPU.
I would like to propose a simple solution that allows you to serve your trained models on HF using the new safetensors format. The official safetensors HF page has a space that allows for very simple conversion of already existing models. This page, although very streamlined, has the drawback that existing model weights need to follow a certain naming convention (pytorch_model.bin or pytorch_model-xxxx-of-xxxx.bin).
Moreover, for offline conversion and a more customizable approach, I can refer you to a script from the text-generation-webui repository which is an actively maintained repository, and this.
I understand that this may not be a priority at this time and I can potentially volunteer a PR myself later when I find some free time if this pitch sounds reasonable to you.
I'd like to close this out by thanking you for your tremendous work on advancing Persian NLP and saving countless hours of research time.

Hi @Adversarian, thanks a lot for the suggestion.
Actually, I worked on this a while back. As a first step, I tried to provide safetensors format for our current weights alongside the old .pt weights for the same reasons you mentioned, but unfortunately I ran into some errors when trying to convert Hezar Model instances to safetensors format. I don't actually remember what the error was but I'm pretty sure I put a good amount of time into it. The thing is that Hezar Model classes are regular PyTorch nn.Module subclasses which must be (in theory) easily serialized using safetensors so I do know that it's definitely possible. If you're willing to help I'm down to start this task again. Since it's pretty straightforward to test it out, I'd be glad if you could try it on a few of our models and share the results.
Best,
Aryan

I'm afraid you were right, since hezar doesn't piggyback on HF for model save/load utilities, adding safetensors support is not trivial and requires a fair bit of alteration to the codebase. I strongly recommend sub-classing HF's AutoModel classes to minimize technical debt and facilitate further development efforts in the future. However, I'm working on a quick-and-dirty proof of concept PR which I will submit as soon as I have a MWE.


Add global presets of MD2 "Material Studies" for the theme provider

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Summary 💡
Material Studies are very nice showcases and presets as a starting point for new projects. The main page can be found here:
https://material.io/design/material-studies/about-our-material-studies.html
It would be great if Material-UI would introduce presets additionally to the current theming of a default light and dark theme.
Examples 🌈
This is a list of all current studies:
https://material.io/design/material-studies/basil.html
https://material.io/design/material-studies/crane.html
https://material.io/design/material-studies/fortnightly.html
https://material.io/design/material-studies/owl.html
https://material.io/design/material-studies/rally.html
https://material.io/design/material-studies/reply.html
https://material.io/design/material-studies/shrine.html
It would be great if for example the Material-UI customization (https://material-ui.com/customization/color/#color-tool) extends with this presets
Motivation 🔦
It would be great if the theme presets would be available to kickstart a new project. This is how I an example code could look like:
import { basil } from '@matarial-ui/core/presets'
import { createMuiTheme, ThemeProvider } from '@material-ui/core/styles'
const theme = createMuiTheme({
  preset: basil,
  overrides:{/* some customizations */}
})

I'm really looking forward to this as a common critique of Material-UI is that it "all looks the same".
It's not that important that these become part of the @material-ui scope (it's already hard to maintain the base theme). Rather we should use this as stress test for our theming API from which we can improve it.
I think a good start would be to to implement these themes with createMuiTheme() and report back any progress that is made.

Long term, I think that it would be great to provide other themes like fluent (Microsoft) or antd outside of the box, at least to demonstrate the theming capabilities and to help us improve it. I have seen Vuetify having some plan with the Material Studies. I think that @eps1lon is right, we might want to rely on the community for this, it might be better to provide a theme builder in the docs before considering more.

@oliviertassinari Vuetify just landed the presets in the beta: https://dev.vuetifyjs.com/en/customization/presets


write/read single submit+wait

Just to double check, can you not do write + read in a single submit+wait?:
io_uring_prep_write(sqe, fd, b'hello world', 11, 0)
io_uring_prep_read(sqe, fd, read_buffer, len(read_buffer), 0)

io_uring_submit(ring)
io_uring_wait_cqe_nr(ring, cqes, 2)
# process cqe

# read buffer: bytearray(b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')

never mind, the read was finishing before the write!

Sure, that should work just fine. You can do submit 2 + wait for 2 in a single system call. But you are lacking ordering, which means your read could complete before your write. You'd need to mark the dependency here, for example link the read after the write.

@axboe right, its flawless with sqe.flags |= IOSQE_IO_LINK. It was just tripping me up


Create News: Preview functionality

As a User I want to be able to preview piece of News, which I'm going to Post, so that I see how it'll look like in Single View.
Mock-up:

Acceptance criteria:

User should be able to go back to editing News by following "Back to editing" link.
User should be able to Post news using Publish button.
User should be able to Preview content before he/she has published or Cancelled any piece of News.

Updated story according to the change in story #544 - deleted requirements regarding Preview in three languages, since the form will be just in one language (depending on the language selected in the Header)


Test with JavaScript

Make sure it works with a plain JavaScript Svelte app

Nevermind, as long as we assume the TS -> JS compiler works there's no difference between the two versions.

We can safely assume that.


Add a flag to treat 403 as a missing resource

Artifactory, that is very popular software to serve Maven artifacts, in some configurations returns 403 instead of 404 when the artifact is missing (https://www.jfrog.com/jira/browse/RTFACT-13797).
Would it be possible add a flag (either to the command line or a field in repositories > maven) to treat the 403 Forbidden as missing ressource? This would make some Gradle tasks run much faster.
I think the most relevant part in the code for that issue is:
https://github.com/gradle/gradle/blob/757eadb00ccdd9ea7040a6482258149bf46bc83e/subprojects/resources-http/src/main/java/org/gradle/internal/resource/transport/http/HttpClientHelper.java#L151-L162

Sorry, I got it the way around. I meant treat 403 as missing. I have updated the title and description.
When the dependency is missing, Gradle will not try to download again, but it will when it gets a 403 Forbidden.
This makes a huge difference when we refresh the Gradle project in IntelliJ and some dependencies don't have sources for example. I means taking dozens of minutes versus just a few seconds.

Got it, thanks for the explanation!

FWIW Someone at my company created a patched version of Gradle internally, basically replacing the first if above with something like if (wasMissing(response) || wasForbidden(response)), and it works just great for us. I only suggested it begging a flag as I'm not fully aware about the possible consequences of always treating Forbidden in the same way as missing and it might break someone else's workflow. Otherwise, doing it always would be just fine with me.

I think it would make sense to configure things like this on the repository level. Basically give Gradle more information about each specific repository instead of a global flag.

Is there a good reason why treating 403 as missing shouldn't be default behaviour? Returning 403 for missing artifacts is actually good security practice in many situations (to avoid someone without access from implying the presence of something).
This is particularly insidious issue in my case because it hits our gradle plugins. The plugin resolver will look for the plugin descriptor, then for a pom (which it finds) then for a JAR (which it won't find), then look at the pom to find the actual JAR. Now that the JAR lookup returns 403 instead of 404 (our admins disabled global read access), this makes it impossible to resolve any plugin.
Basically, if plugin and dependency resolution treat missing artifacts as a recoverable error and it's reasonable for repositories to return 403 instead of 404 for missing artifacts, then they should be treated the same.

Is there a good reason why treating 403 as missing shouldn't be default behaviour? Returning 403 for missing artifacts is actually good security practice in many situations (to avoid someone without access from implying the presence of something).

Isn't that usually done the other way around? Returning 403 can be considered information disclosure whereas 404 does not expose that vulnerability (cf. https://lockmedown.com/when-should-you-return-404-instead-of-403-http-status-code/). IMHO this is a bug in Artifactory and should be fixed there.

Isn't that usually done the other way around?

Seems like it is. I suppose any case where some resources return 404 and others 403 can be used to test for their existence, but I digress: Given that gradle often looks at multiple repositories, and often for expected-to-be-missing resources (e.g. plugin jars next to the plugin poms) would it not make sense to treat 403s as recoverable just as it does 404?

IMHO this is a bug in Artifactory and should be fixed there.

For sure, but I think treating 403s as missing resources is still the right behaviour.

I can't argue with that. Even a feature toggle would be a hack in that case. Maybe close this issue as won't fix?

There are no plans on changing this behavior in Gradle.
Please re-open with added use cases if you believe it really is a missing configuration.