include list of archived versions for further reference

had a situation where I have to reference the old documentation (yes it was just RC3 but yet it was implemented  in production on our app => I needed to give reference link to client and there was no resource)

https://github.com/json-api/json-api/issues/873

Thanks for submitting this @equivalent, and sorry for the delayed response.
I don't think we want to link to anything off-site that we don't control, which is why this hasn't been merged in.
If none of the other editors mind, though, I'd be happy to tag the points in the git history for the old RCs, and possibly link to the Tags page from the jsonapi.org homepage.

Hi Ethan, no problem
If you give me your Heroku details I can transfer the ownership of the Heroku app & the Github  to you, it's up to you if you keep me in the project (I can at least do some maintenance  when Heroku deprecates cluster again or something)
I'm not planing to update any of the content inside the app, I was purely aiming to have some old RC reference for quick access (both me and anyone else on the internet)

@ethanresnick I am going to land this. I don't see any harm in having the content managed by a third-party. The worst case scenario is that we remove the link because the page is gone or is no longer accurate. Thank you @equivalent!

@equivalent If you'd be willing to open a PR to put rc3 in the formats folder we can get this on the main site.


Why getting install error when installing latest tslint, when still using latest typescript?

Bug Report

TSLint version: 5.8.0
TypeScript version: 2.6.1
Running TSLint via: VSCode

TypeScript code being linted
// code snippet

with tslint.json configuration:

Actual behavior
➜  youtube-search git:(master) npm install -g tslint
/usr/local/bin/tslint -> /usr/local/lib/node_modules/tslint/bin/tslint
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>|| >=2.1.0-dev || >=2.2.0-dev || >=2.3.0-dev || >=2.4.0-dev || >=2.5.0-dev || >=2.6.0-dev || >=2.7.0-dev but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>|| >=2.1.0-dev || >=2.2.0-dev || >=2.3.0-dev || >= 2.4.0-dev || >= 2.5.0-dev || >= 2.6.0-dev || >= 2.7.0-dev || >= 2.8.0-dev but none is installed. You must install peer dependencies yourself.

Expected behavior
No errors as I using typescript 2.6.1

Maybe you don't have typescript installed globally. Try npm install -g typescript tslint

yes, I have it.. the latest version.. 2.6.1.. strange. anyway. the tslint
works when I generate a project with angular cli. :-)
2017-11-27 18:20 GMT+01:00 Klaus Meinhardt<EMAIL_ADDRESS>
Maybe you don't have typescript installed globally. Try npm install -g
typescript tslint
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/palantir/tslint/issues/3515#issuecomment-347255923,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJkZ9QNpg3gZpNl3h1ZQ1x37Ndnmpv1Bks5s6u94gaJpZM4Qrfxq
.

--
Kind Regards
Isak Engdahl

duplicate of https://github.com/palantir/tslint/issues/815


Fix Context Map

Codecov Report

Merging #133 (9e63c8c) into beta (a4c3f15) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             beta     #133   +/-   ##
=======================================
  Coverage   24.51%   24.51%
=======================================
  Files          24       24
  Lines         257      257
  Branches       65       65
=======================================
  Hits           63       63
  Misses        175      175
  Partials       19       19

Help us with your feedback. Take ten seconds to tell us how you rate us.


Duplication of Linux distro dependencies

Issue description
There is a lot of duplicate content between https://github.com/dotnet/docs/blob/master/docs/core/install/dependencies.md and each of the individual distro pages (e.g. https://github.com/dotnet/docs/blob/master/docs/core/install/linux-alpine.md).  Specifically, I'm referring to the list of dependencies that .NET has for a given distro.  For Alpine Linux, you can see the list here and a duplicate here.  Duplicate content like this is problematic because it just adds one more spot that needs to get updated when a change occurs.  This can easily lead to content getting out of sync (related: https://github.com/dotnet/runtime/issues/13291).
To me, it seems like the entire Linux section of https://github.com/dotnet/docs/blob/master/docs/core/install/dependencies.md#linux-distribution-dependencies should be removed in favor of https://github.com/dotnet/docs/blob/master/docs/core/install/linux.md.  The only stuff left would be Windows-specific.
The main point is that this needs to get cleaned up.
cc @thraka

@mthalman Yes, as part of the process of cleaning this up, I had this issue filed: #18870 I didn't explicitly call out the dependencies article in it, but it would have migrated as part of that change. I just updated the issue to cover it.

Duplicate of #18870


[P3] Persist cameras Mongo database with the CAMERAS provisioned

Issue:
When the applications is deleted, you lose the cameras already provisioned (you don't lose the 5G SIMs since they are in the cloud).
Solution:
We need a way to persist these cameras definition so even if you re-deploy the application to a new version, etc. you would still have the cameras deployed. That's important as soon as you have more than 2 cameras....
We can probably persist the MongoDB database into the K8s PersistentVolumes?
Temporal Workaround:
Another temporal workaround (useful in any case even after having the DB persisted) would be a feature to EXPORT/IMPORT the cameras to a .CSV file

Related issue:
https://github.com/Azure/mec-app-solution-accelerator/issues/126


Open the applicaitons on windows10

Hi, your project is very good. I can install myritlle in Windows Server 2012 and open the application （such as mspaint\notepad\cmd....）on Windows Server 2012.
but I encountered a new problem when I installed Myrtille (the latest version)on Windows 10（professional edition 1809）. Chrome browser display a desktop but not the application cmd. also, i added the application to the termainal services  "app allow" list(https://anthturner.com/2015/06/01/application-sharing-via-rdp-remoteapp/).
https://<IP_ADDRESS>/Myrtille/?__EVENTTARGET=&__EVENTARGUMENT=&server=<IP_ADDRESS>&domain=domain&user=administrator&password=password&program=C%3A\Windows\System32\cmd.exe&connect=Connect!
also i tested wfreerdp(wfreerdp.exe /u:administrator /p:password /app:"||cmd" /v:<IP_ADDRESS>) on windows10 and it is ok.
i tested RemoteApp on windows 10, manually create a .rdp file and open it(http://faq.thinstuff.com/index.php?action=artikel&id=96),  the cmd application is ok.
I expect you can realize the function of opening the applications using HTTPS on window10, and looking forward to your reply.

As said into the documentation (https://github.com/cedrozor/myrtille/blob/master/DOCUMENTATION.md#auto-connect--start-remote-application-from-url), the start program from URL feature only works for Windows Servers editions (not Windows 7, 8, 10).
I just re-tested on a Windows 10 machine with mstsc.exe (the Windows rdp client); I configured the "Program" tab to start c:\windows\system32\notepad.exe on session startup. It didn't worked.
That's weird, I agree, because I remember it worked in the past. It may be a configuration setting, either on the local machine or GPO, that was changed by default. I will dig a bit further.
What is surprising is that you say it works with wfreerdp.exe. Did you checked from the machine on which myrtille is installed, running wfreerdp.exe from the myrtille bin folder? why do you have /app:"||cmd" into the command line and use a different value for the &program= param into the URL?
It has nothing to do with HTTPS, which is only used between the browser and the myrtille gateway; wfreerdp uses a TLS (SSL) socket to connect the remote server.

thanks for your reply!
I run wfreerdp.exe from the myrtille bin folder（my personal computer Windows 10）,<IP_ADDRESS> is
another computer (windows 10 professional edition 1809,already installed Myrtille). on <IP_ADDRESS> i modify the regedit.  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\TSAppAllowList (You can refer to this website for modifications. https://anthturner.com/2015/06/01/application-sharing-via-rdp-remoteapp/)

But, the url
https://<IP_ADDRESS>/Myrtille/?__EVENTTARGET=&__EVENTARGUMENT=&server=<IP_ADDRESS>&domain=domain&user=administrator&password=password&program=C%3A\Windows\System32\cmd.exe&connect=Connect!
https://<IP_ADDRESS>/Myrtille/?__EVENTTARGET=&__EVENTARGUMENT=&server=<IP_ADDRESS>&domain=domain&user=administrator&password=password&program=cmd.exe&connect=Connect!
https://<IP_ADDRESS>/Myrtille/?__EVENTTARGET=&__EVENTARGUMENT=&server=<IP_ADDRESS>&domain=domain&user=administrator&password=password&program=cmd.exe&connect=Connect!
"||cmd" URL transcode:
https://<IP_ADDRESS>/Myrtille/?__EVENTTARGET=&__EVENTARGUMENT=&server=<IP_ADDRESS>&domain=domain&user=administrator&password=password&program=||cmd&connect=Connect!
https://<IP_ADDRESS>/Myrtille/?__EVENTTARGET=&__EVENTARGUMENT=&server=<IP_ADDRESS>&domain=domain&user=administrator&password=password&program=cmd&connect=Connect!
The above four URL methods，i had try,and the browser display a desktop not the application. it doesn't work.
I wonder if it's possible to pass the wfreerdp parameter（wfreerdp.exe /u:administrator /p:password /app:"||cmd" /v:<IP_ADDRESS>） to the HTTPS &program= parameter, but I don't know how to pass parameters.
Thanks you again! My test may be helpful to you.

thanks for your reply!
I run wfreerdp.exe from the myrtille bin folder（my personal computer Windows 10）,<IP_ADDRESS> is
another computer (windows 10 professional edition 1809,already installed Myrtille). on <IP_ADDRESS> i modify the regedit. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\TSAppAllowList (You can refer to this website for modifications. https://anthturner.com/2015/06/01/application-sharing-via-rdp-remoteapp/)
But, the url
https://<IP_ADDRESS>/Myrtille/?__EVENTTARGET=&__EVENTARGUMENT=&server=<IP_ADDRESS>&domain=domain&user=administrator&password=password&program=C%3A\Windows\System32\cmd.exe&connect=Connect!
https://<IP_ADDRESS>/Myrtille/?__EVENTTARGET=&__EVENTARGUMENT=&server=<IP_ADDRESS>&domain=domain&user=administrator&password=password&program=cmd.exe&connect=Connect!
https://<IP_ADDRESS>/Myrtille/?__EVENTTARGET=&__EVENTARGUMENT=&server=<IP_ADDRESS>&domain=domain&user=administrator&password=password&program=cmd.exe&connect=Connect!
"||cmd" URL transcode:
https://<IP_ADDRESS>/Myrtille/?__EVENTTARGET=&__EVENTARGUMENT=&server=<IP_ADDRESS>&domain=domain&user=administrator&password=password&program=||cmd&connect=Connect!
https://<IP_ADDRESS>/Myrtille/?__EVENTTARGET=&__EVENTARGUMENT=&server=<IP_ADDRESS>&domain=domain&user=administrator&password=password&program=cmd&connect=Connect!
The above four URL methods，i had try,and the browser display a desktop not the application. it doesn't work.
I wonder if it's possible to pass the wfreerdp parameter（wfreerdp.exe /u:administrator /p:password /app:"||cmd" /v:<IP_ADDRESS>） to the HTTPS &program= parameter, but I don't know how to pass parameters.
Thanks you again! My test may be helpful to you.
On Wednesday, November 21, 2018, 10:12:24 PM GMT+8, cedrozor<EMAIL_ADDRESS>wrote:

As said into the documentation (https://github.com/cedrozor/myrtille/blob/master/DOCUMENTATION.md#auto-connect--start-remote-application-from-url), the start program from URL feature only works for Windows Servers editions (not Windows 7, 8, 10).
I just re-tested on a Windows 10 machine with mstsc.exe (the Windows rdp client); I configured the "Program" tab to start c:\windows\system32\notepad.exe on session startup. It didn't worked.
That's weird, I agree, because I remember it worked in the past. It may be a configuration setting, either on the local machine or GPO, that was changed by default. I will dig a bit further.
What is surprising is that you say it works with wfreerdp.exe. Did you checked from the machine on which myrtille is installed, running wfreerdp.exe from the myrtille bin folder? why do you have /app:"||cmd" into the command line and use a different value for the &program= param into the URL?
It has nothing to do with HTTPS, which is only used between the browser and the myrtille gateway; wfreerdp uses a TLS (SSL) socket to connect the remote server.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

thanks for your reply!
I run wfreerdp.exe from the myrtille bin folder（my personal computer Windows 10）,<IP_ADDRESS> is
another computer (windows 10 professional edition 1809,already installed Myrtille). on <IP_ADDRESS> i modify the regedit. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\TSAppAllowList (You can refer to this website for modifications. https://anthturner.com/2015/06/01/application-sharing-via-rdp-remoteapp/)

But, the url
https://<IP_ADDRESS>/Myrtille/?__EVENTTARGET=&__EVENTARGUMENT=&server=<IP_ADDRESS>&domain=domain&user=administrator&password=password&program=C%3A\Windows\System32\cmd.exe&connect=Connect!
https://<IP_ADDRESS>/Myrtille/?__EVENTTARGET=&__EVENTARGUMENT=&server=<IP_ADDRESS>&domain=domain&user=administrator&password=password&program=cmd.exe&connect=Connect!
https://<IP_ADDRESS>/Myrtille/?__EVENTTARGET=&__EVENTARGUMENT=&server=<IP_ADDRESS>&domain=domain&user=administrator&password=password&program=cmd.exe&connect=Connect!
"||cmd" URL transcode:
https://<IP_ADDRESS>/Myrtille/?__EVENTTARGET=&__EVENTARGUMENT=&server=<IP_ADDRESS>&domain=domain&user=administrator&password=password&program=||cmd&connect=Connect!
https://<IP_ADDRESS>/Myrtille/?__EVENTTARGET=&__EVENTARGUMENT=&server=<IP_ADDRESS>&domain=domain&user=administrator&password=password&program=cmd&connect=Connect!
The above four URL methods，i had try,and the browser display a desktop not the application. it doesn't work.
I wonder if it's possible to pass the wfreerdp parameter（wfreerdp.exe /u:administrator /p:password /app:"||cmd" /v:<IP_ADDRESS>） to the HTTPS &program= parameter, but I don't know how to pass parameters.
Thanks you again! My test may be helpful to you.

Ok I understand the problem.
When you use the /app: param with wfreerdp, you are using the remoteapp feature of rdp. wfreerdp had many issues in the past with that feature so I preferred to use the alternate shell feature, which is almost equivalent (the difference being the rdp client displays the application in its own window in remoteapp mode, as if it was run locally, and into a desktop window in alternate shell mode).
So, you have to use with the /shell: param with wfreerdp, with the full application path: /shell:"c:\windows\system32\cmd.exe". Same with the &program= param into the myrtille URL.
If that doesn't work, I will have a look again to use the remoteapp feature instead of alternate shell. There were some commits about that into the latest FreeRDP version, it may now works correctly.

Hi,I tried the method you mentioned and used this command:
wfreerdp.exe /u:administrator /p:pwd13531 /shell:"C:\Windows\System32\cmd.exe" /v:<IP_ADDRESS>
But it's still a desktop, not an application.

Maybe you will try to use the remoteapp feature instead of alternate shell and wish you success.

I wish you success.


ns partially done

Signed-off-by: kevin xu<EMAIL_ADDRESS>

+1

Current coverage is 57.23% (diff: 18.29%)

Merging #35 into master will decrease coverage by 7.75%

@@             master        #35   diff @@
==========================================
  Files            25         29     +4
  Lines          1742       2130   +388
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           1132       1219    +87
- Misses          497        796   +299
- Partials        113        115     +2

Powered by Codecov. Last update 0e8cee2...4aa436c


avoid update native code when add new ios devices

Description
avoid update native code when add new ios devices
Compatibility

OS
Implemented

iOS
✅

Android
✅

Windows
✅

Checklist

[X] I have tested this on a device/simulator for each compatible OS
[ ] I added the documentation in README.md
[ ] I mentioned this change in CHANGELOG.md
[ ] I updated the typings files (deviceinfo.d.ts, deviceinfo.js.flow)
[ ] I updated the dummy web/test polyfill (default/index.js)
[ ] I added a sample use of the API (example/App.js)

Interesting! I like this idea, thank you contributing this. Let me think about it a little bit and test it, but for a library that starts in javascript and just binds in to native, it does seem to make sense to have the frequently-changed parts more accessible to users, yes.

This seems to work well for me, thanks for the contribution!

https://github.com/react-native-community/react-native-device-info/releases/tag/v2.0.2


Fix CLI jwtKey NPE issue

What changed?

Why?

How did you test it?

Potential risks

Release notes

Documentation Changes

Pull Request Test Coverage Report for Build 074fdb51-07db-4d89-917d-f8ffa1a0667b

0 of 4 (0.0%)  changed or added relevant lines in 1 file are covered.
117 unchanged lines in 17 files lost coverage.
Overall coverage increased (+0.02%) to 56.774%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

tools/cli/factory.go
0
4
0.0%

Files with Coverage Reduction
New Missed Lines
%

common/membership/rpServiceResolver.go
2
73.58%

common/persistence/historyManager.go
2
66.33%

common/task/fifoTaskScheduler.go
2
85.57%

common/task/weightedRoundRobinTaskScheduler.go
2
89.64%

common/types/mapper/thrift/shared.go
2
64.98%

common/persistence/nosql/nosqlplugin/cassandra/workflow.go
3
50.23%

common/persistence/statsComputer.go
3
95.36%

service/history/queue/timer_gate.go
3
95.83%

common/persistence/serialization/parser.go
4
65.41%

common/persistence/serialization/thrift_decoder.go
4
59.6%

Totals

Change from base Build f5b9f2ab-64ac-436c-b308-67b7edd585ea:
0.02%

Covered Lines:
77968

Relevant Lines:
137330

💛  - Coveralls


feat: admin action to delete all segments for project

Changes
Adds an admin action to delete all segments for a project.
This is mostly a support tool for a particular customer that breached the limit of segments and we need to clear them down. Since django handles cascading manually, it is challenging / risky to delete them manually in the database.
How did you test this code?
Added unit test and tested manually.

Codecov Report
Patch coverage: 92.85% and project coverage change: -0.02% :warning:

Comparison is base (1514bf7) 95.44% compared to head (2a9ac4c) 95.43%.
Report is 10 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2646      +/-   ##
==========================================
- Coverage   95.44%   95.43%   -0.02%
==========================================
  Files         976      976
  Lines       27319    27290      -29
==========================================
- Hits        26074    26043      -31
- Misses       1245     1247       +2

Files Changed
Coverage Δ

api/projects/admin.py
93.47% <70.00%> (-6.53%)
:arrow_down:

api/tests/unit/projects/test_project_admin.py
96.42% <96.42%> (ø)

api/audit/serializers.py
100.00% <100.00%> (ø)

api/environments/serializers.py
95.52% <100.00%> (-0.32%)
:arrow_down:

api/environments/views.py
90.59% <100.00%> (+1.16%)
:arrow_up:

api/organisations/views.py
91.16% <100.00%> (ø)

api/projects/serializers.py
100.00% <100.00%> (ø)

api/projects/tests/test_serializers.py
100.00% <100.00%> (ø)

api/projects/views.py
94.01% <100.00%> (-0.30%)
:arrow_down:

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


Remove locked maps from total_likes and total_shared counts

Fixes: https://github.com/CartoDB/product/issues/281

Acceptance 👌  https://github.com/CartoDB/product/issues/281#issuecomment-471953872

Thank you @csubira! 👏 👏 👏


Pubkey generation view uses uncolored primary action button

The primary action button, "Generate", is uncolored. This likely goes against Material Design guidelines and is visually confusing.
Screenshot attached:

@rhansby :
Now that you mention it:
The pubkey generation view also has two checkboxes. They should also be changed to switches to adhere to the Google Material Design Guidelines:
https://github.com/connectbot/connectbot/issues/169
https://github.com/connectbot/connectbot/issues/205
Regards


Caption language options do not appear correctly with DASH format

I believe there is an issue with the way React Player displays the language options for captions on DASH videos.
Current Behavior
When viewing a DASH video in the player that has captions, the available languages for captions show as numbers.

Expected Behavior
The available languages for captions should show the correct language names.
Steps to Reproduce

Find a url for a DASH video. I am using this one in my screenshots: https://rdmedia.bbc.co.uk/testcard/vod/manifests/avc-full.mpd taken from the DASH reference client website
Go to the react-player demo site and make sure to select the "Controls" checkbox.
Paste the mpd video link from above and click "Load"
With the video loaded, click the caption options (3-dot menu in Chrome, then "Captions")
The menu will show numbers instead of languages

Environment

URL attempting to play: https://rdmedia.bbc.co.uk/testcard/vod/manifests/avc-full.mpd (or any mpd with captions)
Browser: Chrome (115.0.5790.102), Firefox (117.0.1). I did not test others.
Operating system: MacOS Ventura 13.4

Other Information
The expected behavior can be seen on other players, such as the DASH reference player website, or Theo player test stream

React player has no control over this. Maybe bundled dash.js library needs a newer version.


LoggerFactory

Is there a way I can set the logger factory so that the internal logs can be viewed in case of any error in loading the plugins or it's dependencies.
I'm trying to understand the different options to integrate in my project. Once again thank you for sharing this project !

Hi @satishviswanathan. One option for configuring LoggerFactory is shown in the following sample: https://github.com/weikio/PluginFramework/tree/master/samples/WebAppWithNuget
In this sample we have the following custom logger:
public class NugetLogger : LoggerBase
{
    private readonly ILogger<NugetLogger> _logger;

    public NugetLogger(IServiceCollection serviceCollection)
    {
        var provider = serviceCollection.BuildServiceProvider();
        _logger = (ILogger<NugetLogger>) provider.GetService(typeof(ILogger<NugetLogger>));
    }

    public override void Log(ILogMessage message)
    {
        switch (message.Level)
        {
            case LogLevel.Debug:
                _logger.LogDebug(message.ToString());
                break;

            case LogLevel.Verbose:
                _logger.LogTrace(message.ToString());
                break;

            case LogLevel.Information:
                _logger.LogInformation(message.ToString());
                break;

            case LogLevel.Minimal:
                _logger.LogTrace(message.ToString());
                break;

            case LogLevel.Warning:
                _logger.LogWarning(message.ToString());
                break;

            case LogLevel.Error:
                _logger.LogError(message.ToString());
                break;
        }
    }

    public override Task LogAsync(ILogMessage message)
    {
        Log(message);

        return Task.CompletedTask;
    }
}

And to use that we configure the LoggerFactory in ConfigureServices:
    public void ConfigureServices(IServiceCollection services)
    {
        NugetPluginCatalogOptions.Defaults.LoggerFactory = () => new NugetLogger(services);
        ....

Hope this helps :)


Process Memory Scanning Issue on Windows 10

We noticed a problem with the process memory scanning on Windows 10 when using the 64bit version of YARA. (also counts for Python and Golang bindings)
To reproduce:
YARA 3.7.x process memory scan on Windows 10 64bit
32bit yara – 1 Rule
0.03 sec
32bit yara – 100 Rules
0.03 sec
64bit yara – 1 Rule
0.5 sec
64bit yara – 100 Rules
12 sec <<<
The number of rules involved in the process memory scan increases the scan duration proportionally but it shouldn't. Scanning a process memory on Windows 10 with 500 rules takes a significant amount of time. (~250 seconds)
We've noticed this issue using the golang bindings but you can reproduce it with the public yara binaries as well.
Details
Using yara32 on Windows 10
C:\yara>yara.exe 1068
[yarac37_32 -d filename=xxx -d extension=xxx -d filetype=xxx -d filepath=xxx rules\rule-0.yar rules\rule-0.yac]
[yara37_32 rules\rule-0.yac 1068]
took: 0.03387 seconds
[yarac37_32 -d filename=xxx -d extension=xxx -d filetype=xxx -d filepath=xxx rules\rule-1.yar rules\rule-1.yac]
[yara37_32 rules\rule-1.yac 1068]
took: 0.0346062 seconds
[yarac37_32 -d filename=xxx -d extension=xxx -d filetype=xxx -d filepath=xxx rules\rule-10.yar rules\rule-10.yac]
[yara37_32 rules\rule-10.yac 1068]
took: 0.0329233 seconds
[yarac37_32 -d filename=xxx -d extension=xxx -d filetype=xxx -d filepath=xxx rules\rule-11.yar rules\rule-11.yac]
[yara37_32 rules\rule-11.yac 1068]
took: 0.034042 seconds
[yarac37_32 -d filename=xxx -d extension=xxx -d filetype=xxx -d filepath=xxx rules\rule-12.yar rules\rule-12.yac]
[yara37_32 rules\rule-12.yac 1068]
took: 0.0327866 seconds
[yarac37_32 -d filename=xxx -d extension=xxx -d filetype=xxx -d filepath=xxx rules\rule-13.yar rules\rule-13.yac]
[yara37_32 rules\rule-13.yac 1068]
took: 0.0320835 seconds
[yarac37_32 -d filename=xxx -d extension=xxx -d filetype=xxx -d filepath=xxx rules\rule-2.yar rules\rule-2.yac]
[yara37_32 rules\rule-2.yac 1068]
took: 0.0329113 seconds
[yarac37_32 -d filename=xxx -d extension=xxx -d filetype=xxx -d filepath=xxx rules\rule-3.yar rules\rule-3.yac]
[yara37_32 rules\rule-3.yac 1068]
took: 0.0316628 seconds

Using yara64 on Windows 10
C:\yara>yara.exe 1068
[yarac37 -d filename=xxx -d extension=xxx -d filetype=xxx -d filepath=xxx rules\rule-0.yar rules\rule-0.yac]
[yara37 rules\rule-0.yac 1068]
took: 10.7976936 seconds
[yarac37 -d filename=xxx -d extension=xxx -d filetype=xxx -d filepath=xxx rules\rule-1.yar rules\rule-1.yac]
[yara37 rules\rule-1.yac 1068]
took: 11.8049727 seconds
[yarac37 -d filename=xxx -d extension=xxx -d filetype=xxx -d filepath=xxx rules\rule-10.yar rules\rule-10.yac]
[yara37 rules\rule-10.yac 1068]
took: 10.989832700000001 seconds

To reproduce this, you could use my signature set
https://github.com/Neo23x0/signature-base/blob/master/yara/apt_eqgrp_apr17.yar

@hillu who investigated that issue came to the conclusion that this is most likely caused by the high number of magic header checks in my rules, which are often in the form of uint16(0) == 0x5a4d.


Fix cml.service not waiting for process shutdown

Fixes #90; tested, but still requires another pair of eyes.

For now its working like a charm. I wonder If at some point we changed anything because it was working before, Im pretty sure


Fuel consumption

In Django Admin exports, add 'fuel consumption per drive'

@Ctilhs

Closed in #280


Github Links are broken for Samples

Github Links are broken for Samples

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

ID: 86412e3f-dcd6-53a3-f36d-9e6eb26b4d1f
Version Independent ID: 4b59d006-95a6-e53f-de37-690e2324d3ae
Content: Azure Data Factory - Samples
Content Source: articles/data-factory/v1/data-factory-samples.md
Service: data-factory
GitHub Login: @sharonlo101
Microsoft Alias: shlo

@pdeveau Thanks for the feedback and bringing this to our notice. At this time we are reviewing the feedback and will update the document as appropriate.

@pdeveau Thanks again for pointing this out. The PR for the fix has been created and it will be merged soon.

@pdeveau The PR for the fix has been merged and the sample links are available. Thanks again for pointing this out.
I am closing the issue based on this update, but please do let us know if there is something else that we can help you with.


Unexpected OTokenSecurityException

OrientDB Version: orientdb-community-gremlin-3.0.0RC2
Java Version: openjdk version "1.8.0_151"
(accordingly with java -v output)
OS: ubuntu 16.04
Expected behavior
Normal query execution
Actual behavior
OTokenSecurityException thrown
Steps to reproduce
I'm not sure it is easily reporducible in any environment. So I just describe what I see.
We are develooing application relying on OrientDb.
It starts to work in expected way. However at some moment (it could take few hours or day but it happens regularly) upon call to ODatabase.query() method some kind of exception is thrown.
Stack trace looks like following:
threw exception [Request processing failed; nested exception is com.orientechnologies.orient.enterprise.channel.binary.OTokenSecurityException: missing session and token] with root cause
com.orientechnologies.orient.enterprise.channel.binary.OTokenSecurityException: missing session and token
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.orientechnologies.orient.client.binary.OChannelBinaryAsynchClient.throwSerializedException(OChannelBinaryAsynchClient.java:318)
at com.orientechnologies.orient.client.binary.OChannelBinaryAsynchClient.handleStatus(OChannelBinaryAsynchClient.java:275)
at com.orientechnologies.orient.client.binary.OChannelBinaryAsynchClient.beginResponse(OChannelBinaryAsynchClient.java:191)
at com.orientechnologies.orient.client.binary.OChannelBinaryAsynchClient.beginResponse(OChannelBinaryAsynchClient.java:153)
at com.orientechnologies.orient.client.remote.OStorageRemote.beginResponse(OStorageRemote.java:1766)
at com.orientechnologies.orient.client.remote.OStorageRemote.lambda$networkOperationRetryTimeout$2(OStorageRemote.java:226)
at com.orientechnologies.orient.client.remote.OStorageRemote.baseNetworkOperation(OStorageRemote.java:284)
at com.orientechnologies.orient.client.remote.OStorageRemote.networkOperationRetryTimeout(OStorageRemote.java:214)
at com.orientechnologies.orient.client.remote.OStorageRemote.networkOperation(OStorageRemote.java:243)
at com.orientechnologies.orient.client.remote.OStorageRemote.query(OStorageRemote.java:860)
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentRemote.query(ODatabaseDocumentRemote.java:345)
It looks like problem happens on server side and exception is passed to client in serialized form.
Could you please kindly explain what could be reason to this. Shoud I tune something ?
Thanks,
Sergey Reznick

As soon as it happens first time it repeats in stable way until application is restarted.

Hi @sreznick
thanks for reporting this. I was able to reproduce this and I've just pushed a fix

@sreznick
I will be available in the next release

Thank you very much

this issue had fixed? which version?


Create graceful-delegate-shutdown-process.md

Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the maintainers.
What Type of PR is This?

[ x] Issue
[ ] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s) https://harness.atlassian.net/browse/DOC-1996

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[ x] Tested Locally
[ ] Optional Screen Shoot.

Preview environment: https://ci.pr.harness.io/pr-575

@pratmit I don't find any comments from Raghu in response to some issues Michael raised. I responded to Michael's comments by saying that pod deletion could be a trigger for the graceful shutdown process. You approved this document after I made that response so it sounds like we agree on that.
I implemented your changes.  You asked for the elimination of references to legacy in an intro sentence and I removed it. But after that, there is a table that has two lines -- one for immutable and one for legacy as follows:

Delegate type
Grace period
Default interval

Immutable
Yes
10 minutes

Legacy
No
30 seconds

Do you want me to strike the row with the legacy information? If so, I will put the immutable information into sentence form and merge the content.
Thanks.

Preview environment: https://hdh.pr.harness.io/pr-575

@pratmit, your latest changes should be integrated. Let me know if you want me to merge it. Thanks.

Preview environment: https://hdh.pr.harness.io/pr-575

Thanks @pratmit. Merging.


GraphQL @connection improvments

There is still some useful case not supported yet that not permit me to deploy my model. There is some example:
type A
@model
{
  id: ID!
}

type B
@model
{
  id: ID!
  objAID: ID
  objA: A @connection(fields: ["objAID"])
  # InvalidDirectiveError: All fields provided to an @connection must be non-null scalar or enum fields.
  # Why are we not able to have a check if it's null just return a null object?
}

union Obj = A | B
type C
@model
{
  id: ID!
  objID: ID!
  obj: Obj! @connection(fields: ["objID"])
  # InvalidDirectiveError: Could not find an object type named Obj.
  # By prefixing the id with the typename we can fetch in the correct table so why not supporting that?
  # specially because you don't allow us to manage IDs ourself!
}

The latest version of the CLI now supports nullable connection fields. For your other request about supporting union types, see: https://github.com/aws-amplify/amplify-cli/issues/266


Does not work with: ionic cordova run android --livereload

Any way to make this work with ionic cordova run android --livereload?
I can get the dev configs but for production I can't. Any ideias?
Thank you!

Maybe this? - https://stackoverflow.com/questions/46992418/dynamic-environment-variables-in-ionic-cannot-find-module

See:

https://github.com/ionic-team/ionic-app-scripts/issues/1271
https://github.com/ionic-team/ionic-app-scripts/blob/master/config/webpack.config.js


ea: fix build with rust 1.70

Description of changes
Pull in @deejayem's patch in https://github.com/dduan/ea/pull/64. For some reason, the build is succeeding without https://github.com/dduan/ea/pull/65.
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

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

1 package built:

ea

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/1055


Received notifications are duplicated

[REQUIRED] Step 1: Describe your environment

Xcode version: 12.5
Firebase SDK version: 8.1.1
Installation method: Carthage
Firebase Component: Messaging

[REQUIRED] Step 2: Describe the problem
Steps to reproduce:
Since using Firebase Messaging 7.11.0, multiple users started to complain that after some time all of the notifications received from our apps are duplicated. We have currently received several reports from 2 of our production apps. Notifications are being sent using Firebase Console to relevant topics. Unfortunately, we were not able to reproduce this issue locally. Users also reported that issue got fixed by reinstalling the app.
However, we have noticed that in some cases, SDK sends multiple FCM tokens (4-6) in a row, f.e. right after reinstalling the app. Could the problem be related to incorrect behavior of SDK, leaving user with multiple valid FCM tokens? Has anyone experienced the same problem?

@IgorRosocha Sending multiple FCM tokens (4-6) is definitely abnormal behavior. Although 7.11.0 is separating token logics between InstanceiD and messaging SDKs, so I suspect there might be some race conditions handling tokens between InstanceID and Messaging (even though we've tested that it shouldn't).
Our latest version no longer has InstanceID that should for sure resolve the suspicious condition above, would you mind updating to the latest SDK and remove InstanceID to try it out? The migration guide is here

@chliangGoogle thanks for you response!

Our latest version no longer has InstanceID that should for sure resolve the suspicious condition above, would you mind updating to the latest SDK and remove InstanceID to try it out? The migration guide is here

As mentioned above, first time user has reported the issue was from the version 7.11.0, but the latest report was actually from the latest 8.1.1 version of the SDK. We are using Carthage distribution and not calling InstanceID directly. I have noticed that we had InstanceID included in frameworks, so I have removed it. However, after launching the app again, I have immediately received 4 different FCM tokens in a row. However, I am not sure if this is the cause of the issue - when I tried sending notifications, they were delivered correctly.

Can you share the debugLog with me? You can send me email at<EMAIL_ADDRESS>

Can you share the debugLog with me? You can send me email at<EMAIL_ADDRESS>
Sure, I have sent you debug log in email. Looking forward to your response.


drawing legend in single column mode

I need to draw legend in single column mode for some reason.
that patch provide such possibility

While I appreciate the contribution, this feels like a solution trying to find a problem. It would be slightly more practical if instead it allowed you to specify the number of columns (e.g. numLegendColumns) rather than limiting it to a (seemingly arbitrary) single column.


Login/Logout

Functionality for login
Functionality for logout
Hides/Displays the login button on the home page/nav bar depending on if a user is signed
(Possible chance of refining the code later on by possibly using a component to stop me reusing the same code on the home view and the header component)

Let me know if there's any other suggestions

Good Job!


Code example to provision the container automatically is invalid

The code
string connectionString = "<connection_string>";
string containerName = "my-key-container";
BlobContainerClient container = new BlobContainerClient(connectionString, containerName);

// optional - provision the container automatically
await container.CreateIfNotExistsAsync();

services.AddDataProtection()
    .PersistKeysToAzureBlobStorage(container, "keys.xml");

is invalid, because .PersistKeysToAzureBlobStorage() does not take the provided arguments using dotnet >= 3.1.

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

ID: 59850a13-1322-0c54-9fd3-75ce837c2b1a
Version Independent ID: 7d481dae-d27d-909c-a35d-bad66c7508d2
Content: Key storage providers in ASP.NET Core
Content Source: aspnetcore/security/data-protection/implementation/key-storage-providers.md
Product: aspnet-core
Technology: aspnetcore-security
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

I'd strongly suggest moving to the Azure SDK owned packages now, see https://github.com/Azure/azure-sdk-for-net
See https://github.com/dotnet/aspnetcore/issues/25229
@markmcgookin  can you outline the changes I need to make to this document?

Thank you. You have do get  blobClient with name like „keys.xml“ from the blobContainerClient and pass this as argument


Parallelizing ashlar

Hello, I wanted to bring up the performance of ashlar. We use ashlar very heavily in our image pre-processing pipeline, but it's been pretty slow because of its single-threadedness, understandably because of memory concerns. I took a stab at parallelizing ashlar in this gist, without the pyramid step:
https://gist.github.com/ahnsws/b82ed163c773c5d841585e182825f472
I used viztracer to identify slow loops and threw a ThreadPoolExecutor context over them. I did have to place a lock over the reader, as that seemed to give bad results, as expected with multithreading. With the lock, we have exact concordance between images stitched with single-threaded vs parallelized ashlar.
For three rounds of 287 tiles, each with six channels of cycif data, single-threaded ashlar takes around 36 minutes, but with the parallelized version in the gist, it runs in three minutes (using 20 cores on our workstation). I think based on the merging step, the time to run will probably depend on ceil(n_channels / n_cores). I've also used tqdm to show progress bars in verbose mode:

There is a tradeoff here between compute time and memory usage, but because RAM is more plentiful nowadays we can speed things up by quite a bit, at least for our use case.
Thanks,
Seb

With six rounds and 35 total channels, with 287 tiles each, we see the following:

Not sure why the memory usage is logistic-like compared to before, but previously stitched channels seem to be properly gc'ed, and the total memory usage seems to be reasonable for modern computing environments.

Hey @ahnsws,
Would you think that this parallelization would work for HPC runs?
I am a newbie, but trying to improve run times for large WSI images.
Thanks in advance

Hi @josenimo, it's hard to say without knowing more about your pipeline. Have you tried profiling the steps in your pipeline and identifying bottlenecks? If it is possible to trade off computation time with memory in the context of your clusters, the parallelization should work.

@ahnsws, It is just mcmicro with some little changes, see josenimo/mcmicro .
ASHLAR is a bottleneck, time-wise, I know this from running various datasets.
(1) Illumination takes about 2 hours per cycle, but executor = "sge" in nextflow.config parallelizes this into different nodes wonderfully
(2) ASHLAR takes from 7 to 12 hours, with very little RAM and just one core
(3) Coreograph takes ~2 hours
(4) Segmentation and Quantification takes in total about 25 minutes per core, and because 'executor = "sge"' takes care of parallelizing each core into a different segmentation job.
Theoretically, for this parallelization I would just ask for more cores specifically for the ASHLAR step. I think asking for less time and more cores is a great tradeoff with our current HPC solution.
I will perform some tests later :)

Hi @ahnsws,
Thank you for contributing this file! ASHLAR is also the longest step of MCMICRO for me, so this implementation would be incredibly helpful. I'm wondering what the workflow is for using the gist file to run ASHLAR. Should it be downloaded separately and called by command prompt? Can it be implemented in MCMICRO?
Thank you.

Hey @ahnsws,
Would you think that this parallelization would work for HPC runs? I am a newbie, but trying to improve run times for large WSI images. Thanks in advance

Hi @josenimo
Im wondering if you were able to implement parallelization on HPC?. Im also looking for way to speed to speed it up, if you have any advice in this regard would be great to hear it.
Thanks

We recently implemented a parallelized version of Ashlar based on the gist shared here plus some additional changes which multithreads as much of the workflow as possible into an easily accessible Python API.
As of now, the longest step that we have only been able to parallelize to some degree is mosaic assembly. While the assembly of each channel can be put into its own thread, we currently can't multithread the assembly of each channel as this introduces image artefacts in overlapping image regions. Read and write IO can also become an issue for this step.
Our code utilizes out of memory computation to assemble even extremely large whole slide images (I've tried up to 500GB of raw input data which I could stitch into a whole slide image in a couple of hours) so RAM shouldn't be an issue.
Currently, we've only implemented the assembly of individual stitched images using Ashlar not the alignment of multiple image cycles.
And since I mainly work with data acquired on an opera phenix microscope which exports individual tif files all code has been heavily optimized for the FilePatternReader. Parallelization with the Bioformatsreader might need some additional code implementation. We are always happy for contributions though!
Feel free to check out an example notebook here:
https://mannlabs.github.io/scPortrait/pages/tools/stitching/example_stitching_notebook.html#Multi-threaded-Stitching
Or the entire package here:
https://github.com/MannLabs/scPortrait/tree/main
We are happy to get feedback!

Hi @mdposkus, so sorry I missed your message. Currently the gist as is is not exactly a script; it was meant more as a proof of concept. We do use a modified version of the gist that is more script-like, e.g. has arguments, tries to be general enough, etc., but I am not sure if the way our script works would match your workflow. Actually, if I do have some time I could try and write a script-like version that would match the signature of how ashlar is typically called (and account for changes in ashlar since I wrote it more than a year ago...).
Yes actually I think now that our images keep getting bigger and bigger 😆 (and also more channels) it would be great to more permanently shift to thread-safe out-of-memory methods, as shown by @sophiamaedler (thank you for that notebook! although as a minor point the last cell could be made a bit more concise by using np.all_close or np.array_equal, returning a single bool). That is something we would be very interested in incorporating!


Nested Table Search

Hi,
I have used nested table (2 and 3 level) in my project using expandComponent property. But search functionality is not working properly on it.
Can I get some help???
Thanks in advance!

@AllenFang facing  similar issue data like this
{
"COMPANY_NAME": "apple",
"COMPANY_SHORT_NM": "APPL"
"expand": [
{"ID": 2, "PRODUCT_NAME": "iphone"},
{"ID": 3, "PRODUCT_NAME": "ipad" },
{"ID": 1, "PRODUCT_NAME": "macbook"}
]
}
due to expand property i am able to expand products table bottom of the company name row. but i need funcanality on single searchbar search company as well as products.


odh-model-controller is in a separate dedicated repo

Motivation
https://issues.redhat.com/browse/RHODS-6136
https://github.com/opendatahub-io/modelmesh-serving/pull/53
Goal is to sync upstream and downstream. This replicated the PR #53 in opendatahub
Modifications
odh-model-controller folder is deleted since it exists as a separate dedicated repo now
Result
upstream and downstream are more in sync.

This PR should not be made to the rhods-1.20 branch, but can be cherry-picked over to the rhods-1.21 and rhods-1.22 branches.


Document public members of _BackdropScaffoldState

make the usage is described with _BackdropScaffoldState Backdrop.of(context) which exposes the members
members to be documented

[ ] AnimationController get controller
[ ] bool get isBackLayerConcealed
[ ] bool get isBackLayerRevealed
[ ] void fling()
[ ] void revealBackLayer()
[ ] void concealBackLayer()

I would suggest we also use the term "reveal" and "conceal" every where in documentation where ever we have mentioned "backLayer is visible" or "frontLayer is visible"

This should be worked on after #32 is merged with master


Interproject References in tsconfig.json

I've been thinking about project-level modularization with TypeScript, and I think the story is not nearly as good as what's available in other Microsoft languages like C# or VB.  TypeScript urges you to have everything in a single folder structure (and in VS within a single project) and if you want to break out of that structure, the cost is time spent writing manual scripts to copy definitions around (and figuring out how to even get those definitions if using external modules), and then waiting for those scripts to run before having to run a full compile.
Visual Studio has a great solution for this when using .NET : interproject references.  They're easy to set up and work great.  If I have a .NET project with a client EXE, a server EXE, and a shared logic DLL, when I change the DLL, both the client and the server EXE projects know immediately and will show type errors via the language services - even before I've actually compiled the modified DLL.  I'm yearning for such an experience in TypeScript.
I think that there may be a solution (pun intended) to this in TypeScript and it lies in allowing interproject references to be specified in the tsconfig.json file.  Here is my idea:
"projectReferences": {
   "MyOtherProject1": ["../MyOtherProject1/tsconfig.json","external/MyOtherProject1.d.ts"],
   "MyOtherProject2": ["../MyOtherProject2/tsconfig.json","external/MyOtherProject2.d.ts"]
}

The proposed projectReferences tag in tsconfig.json would be an object with named properties that are string arrays.  Each property's value would be a series of fallback pointers to a file on disk relative to the tsconfig.json.  The first element in each array that is found would be added to the compilation context for the current project only; the rest are ignored.  If none are found, it is a compile error such as "Failed to resolve project reference for 'MyOtherProject1'.".
With this example tsconfig.json:

If I have MyOtherProject1 cloned to my computer, then the files referenced by that project's tsconfig.json are added to my current project's compilation context.
If I don't have MyOtherProject2 cloned to my computer, then the d.ts file that I've provided would be added to the compilation context instead.  If that d.ts file is not found, it is a compiler error.

For me, this functionality (or something like it) would significantly improve the TypeScript modularization story and decrease the amount of plumbing I have to write to get different dependent modules in different folder structures compiling together.

It think there is a subtle challenge here, especially when comparing to other things like C# or VB.  The problem is that the common-currency in built TypeScript "packages" (e.g. EcmaScript) is something that is npm or bower based and even then.
I think there is a way to improve the "packaging" of TypeScript, but in lots of ways it would then try to enforce a new paradigm onto others that might be dependent on other types of packaging.  So I think in a way, TypeScript hasn't really been able to address packaging without breaking/affecting lots of other things.
Right now, there is a gap in bringing an entire TypeScript toolchain together and in lots of cases, there is still a dependency on native EcmaScript packages in any complex project (of where DefinatelyTyped and tsd come in) and there is also the dts-generator to build your definitions.
Right now, the way Dojo 2 is approaching packaging is to try to get a situation where you can depend upon TypeScript based modules a bit more seamlessly and generate something that can then be built and pulled into your project.  There are still gaps in it, but as you can see, there is a lot to the toolchain that is external to TypeScript and getting all of what you need into the baseline of TypeScript reduce options.  No one has been able to agree over the years on packaging for EcmaScript/JavaScript.  TypeScript, I think at this point, doesn't have a prayer of being able to tackle that right now.

I agree with you that JS packaging is an enormous subject.  I haven't looked at Dojo 2, but what you've said is interesting.  This proposal is solely intended to provide a way to augment how TypeScript arrives at its compilation context in a manner that is compatible with how people currently tend to develop JS packages (for consumption via npm or otherwise) using TypeScript.

To explicitly state the real-world example that I'm thinking of:
The TypeStrong project grunt-ts depends on csproj2ts.  Normal users get both of these projects via npm as plain JavaScript modules.
It would be great if I could add something like this to the tsconfig.json of grunt-ts.
"projectReferences": {
   "csproj2ts": ["../csproj2ts/tsconfig.json","node_modules/csproj2ts/csproj2ts.d.ts"],
}

What I would expect from this:

For a developer who (like me) has csproj2ts cloned to the relative ../csproj2ts/ folder, TypeScript would add anything referenced by that tsconfig.json file to the compilation context when compiling grunt-ts.  It wouldn't emit anything for csproj2ts - it'd just consider it for compilation purposes.  If I made a change to the csproj2ts project, a language service evaluating grunt-ts would react immediately - that's the win here.
For a developer who didn't have csproj2ts there, it would just fall back to the csproj2ts.d.ts file that came along the last time the package was fetched and everything would work identically to how things work today if the d.ts file were simply included in the list of files to compile.

Things that are out of scope for this suggestion:

Building using the tsconfig.json of grunt-ts would not cause the csproj2ts project to also build/emit JS.  This proposal is just for supplementing the compilation context.
It'd still be the developer's responsibility to update fallback definition files in dependent repositories, if necessary or desired.  (TypeScript would never auto-update the node_modules/csproj2ts/csproj2ts.d.ts file in grunt-ts, for example).
This has no impact on the emitted JS or its runtime behavior with regards to resolving modules.  If (for example) someone were working on grunt-ts and didn't run npm install so that the csproj2ts JS file were there, it would still fail.  This is a TypeScript compile-time feature only.

An obvious short-coming of this proposal is that it would still fall on the developer to copy emitted JS files as necessary to make their code work at runtime - this is still a smaller burden than the current system, and could perhaps be handled with additional tooling.

@nycdotnet,
Request #2180 has a suggestion for setting up a VS project structure using internal modules. What do you think of that? There is no copying of files involved. There are some missing features that I outlined in a comment, But in practice we have achieved good project-level modularisation.
For external modules we use NTVS. NTVS has npm integration.

@NoelAbrahams Thanks for replying.  I think that sounds like a good solution for projects using internal modules in VS.  I have been tracking NTVS for more than a year, but always uninstalled it because it felt too unstable with TypeScript.  Is the latest version fairly solid?  Does that help you link to external modules hosted in external projects, or do you still have to generate and copy around d.ts files?
I suspect you'll be interested in #3469 which sounds like it may be implementing something like #2180, but via tsconfig.json rather than in the Visual Studio project properties.  I'm going to close this request for now and post in #3469 only.  Thanks again for replying!


SEGFAULT In pictures_controller for picture uploading

Here is my backtrace, it speaks for itself, i think...

+++++++++ Error: Exiting on signal %s (%d) occured at <global.c>:423 in sighandler_crash
SIGSEGV
 +++++++++++++

/Users/sweed/.rvm/gems/ruby-1.9.2-p290@testapp/gems/tvdeyen-fleximage-1.1.1/lib/fleximage/model.rb:323:in `read'
/Users/sweed/.rvm/gems/ruby-1.9.2-p290@testapp/gems/tvdeyen-fleximage-1.1.1/lib/fleximage/model.rb:323:in `image_file='
/Users/sweed/.rvm/gems/ruby-1.9.2-p290@testapp/gems/activerecord-3.2.1/lib/active_record/attribute_assignment.rb:85:in `block in assign_attributes'
/Users/sweed/.rvm/gems/ruby-1.9.2-p290@testapp/gems/activerecord-3.2.1/lib/active_record/attribute_assignment.rb:78:in `each'
/Users/sweed/.rvm/gems/ruby-1.9.2-p290@testapp/gems/activerecord-3.2.1/lib/active_record/attribute_assignment.rb:78:in `assign_attributes'
/Users/sweed/.rvm/gems/ruby-1.9.2-p290@testapp/gems/activerecord-3.2.1/lib/active_record/base.rb:495:in `initialize'
/Users/sweed/.rvm/gems/ruby-1.9.2-p290@testapp/bundler/gems/alchemy_cms-56798717fe8b/app/controllers/alchemy/admin/pictures_controller.rb:36:in `new'

My enfvironment:
Rails 3.2.1 with Ruby 1.9.2 (p290) using the next_stable branch.

I think it comes from @tvdeyen 's fleximage...

I think this is a RMagick/ImageMagick issue.
Which version of imagemagick are you using?
Did you installed it with OpenMP? There are some know issues, especially under OSX

@SweeD Any news about this?
Could you please pull my recents commits from next_stable and check again?

@tvdeyen No news right now. I'll have to check this again. Haven't got time, yet. Sorry about that.


Dropdown such as ComboBox causes scrolling in modal.

A ComboBox will be constrained by a modal and start scrolling in the modal instead of simply laying on top of it as one would expect from a native dropdown menu.

It appears this is an issue in Carbon v10 and v11 CSS, and solutions and workarounds are being tracked here https://github.com/carbon-design-system/carbon/issues/7565
One of the suggested workarounds is to use a Select instead of a Combobox until a long-term solution is found in the core Carbon library.
Also related: https://github.com/carbon-design-system/carbon/issues/7565


Fix #1153: Fix native TS enums

Fix #1153: Fix native TS enums

@anymaniax when this fix is going to be released?


a new build (webpack) doesn't work

The compressed files in dist folder work.
Today I tried to rebuild the files in dist folder with ("npm install" and "npm run watch"). But it doesn't get data anymore. Two or three month ago it worked.
I think a change in the node_modules is the reason.

It worked for me ok, got the data, but I just tweaked the installation procedure and instructions in README a bit. Maybe you can start again from scratch?
Did you remember to connect to for example demo.signalk.org to get data?

Thank you for your fast reply.
2 hours ago I did a clean install of signalk-server-node "git clone ... npm install bin/nmea-from-file"
Gauges work!
killall node
clear browser cache
I now deleted simplegauges folder
bower install https://github.com/SignalK/simplegauges.git
cd bower../simple..
npm install
npm run build
bin/nmea-from-file
Gauges don't work!

You are right it does work with demo.signalk.org.
When I change lib/config/config.js line 52 to config.port= env.PORT || 80;
And start sudo bin/nmea-from-file
Gauges work because I don't need to connect to port 3000.


Issues updating HP Elite Compaq 8300 BIOS

Hi,
I'm struggelling to get the BIOS to update on the HP Elite Compaq 8300, HP Elite 800 G1. In both cases the BIOS update utility fails with  "Error Code  0x00000113  INCORRECT_PASSWORD". The BiosSledgehammer script confirms that the password file works, as does manual login, so I'm a bit lost, I haven't found anything useful on google. So I'm hoping I'm not the only one that has experienced this issue and someone can suggest an answer.
Here is the BiosSledgehammer log:

Windows PowerShell transcript start
Start time:<PHONE_NUMBER>0156
Username: WAIKATO\adwmaching
RunAs User: WAIKATO\adwmaching
Configuration Name:
Machine: computername (Microsoft Windows NT 10.0.17763.0)
Host Application: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -File c:\Temp\BiosSledgehammer-Firmware Upgrade 10\BiosSledgehammer.ps1 -WaitAtEnd
Process ID: 1812
PSVersion: 5.1.17763.592
PSEdition: Desktop
PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.17763.592
BuildVersion: 10.0.17763.592
CLRVersion: 4.0.30319.42000
WSManStackVersion: 3.0
PSRemotingProtocolVersion: 2.3
SerializationVersion: <IP_ADDRESS>

Transcript started, output file is C:\WINDOWS\temp\BiosSledgehammer.ps1.log-06.txt
        _
jgs   ./ |
     /  /    BIOS Sledgehammer Version 5.2.0
   /'  /     Copyright (c) 2015-2018 Michael 'Tex' Hex
  /   /
 /    \      https://github.com/texhex/BiosSledgehammer
|      `\
|        |                                ___________________
|        |___________________...-------'''- - -  =- - =  - = `.

/|        |                   -  =  = -  -= - =  - =-   =  - =|
( |        |                    |= -= - = - = - = - =--= = - = =|
|        |/- = - -= =- =-=- -==-=== -|
|        |                   ```-------...______.'
|________|
\    /     This is NOT sponsored/endorsed by HP or Intel.
|    |     This is NOT an official HP or Intel tool.
,-'    -,        |        |   Use at your own risk.     --------'
####################################################################
THIS SCRIPT MIGHT ALTER YOUR FIRMWARE AND/OR BIOS SETTINGS

You have 15 seconds to press CTRL+C to stop it.
####################################################################
Verifying environment...
Success
Verifying BIOS Configuration Utility (BCU) can communicate with BIOS.
Trying to read Universally Unique Identifier (UUID)...
Success
Collecting system information...
Name.........: computername
Model........: HP Compaq Elite 8300 USDT
SKU..........: QV997AV
BIOS (Raw)...: K01 v02.05
BIOS Family..: K01
BIOS Version.: v02.05  (Numerical: 2.0.5)
TPM Vendor...:<PHONE_NUMBER>
TPM Firmware.: 3.17  (Numerical: 3.17)
TPM Spec.....: 1.2  (Numerical: 1.2)
***** Locate Model Folder ***************************************
Searching [C:\Temp\BiosSledgehammer-Firmware Upgrade 10\Models]
for SKU [QV997AV] or [HP Compaq Elite 8300 USDT]...
Searching for SKU folder...
No folder found
Searching for exactly matching folder for this model...
No folder found
Searching for partially matching folder...
Matching folder: [C:\Temp\BiosSledgehammer-Firmware Upgrade 10\Models\HP Compaq Elite 8300]
Model folder is [C:\Temp\BiosSledgehammer-Firmware Upgrade 10\Models\HP Compaq Elite 8300]
Section -Model Folder- finished

***** Determine BIOS Password ***********************************
Checking which asset value setting name this device supports...
Testing setting name [Asset Tracking Number]...
Setting is supported, will use it for write tests
Testing BIOS password files from [C:\Temp\BiosSledgehammer-Firmware Upgrade 10\PwdFiles]...
Original asset value: [computername]
Asset value used for testing: [21qms6pnhvxadk]
Trying to write asset value using password file []...
Trying to write asset value using password file [C:\Temp\BiosSledgehammer-Firmware Upgrade 10\PwdFiles\biospassword.bin]...
Success; password file is [C:\Temp\BiosSledgehammer-Firmware Upgrade 10\PwdFiles\biospassword.bin]!
Restoring original asset value
Section -Determine BIOS Password- finished

***** BIOS Update ***********************************************
Reading settings from [C:\Temp\BiosSledgehammer-Firmware Upgrade 10\Models\HP Compaq Elite 8300\BIOS-Update.txt]...
Not found, looking for shared file [Shared-BIOS-Update.txt] in same directory...
Shared file found
Using settings from [C:\Temp\BiosSledgehammer-Firmware Upgrade 10\Shared\HP Compaq Elite 8300\BIOS-Update.txt]
Current BIOS Version: v02.05  (Numerical: 2.0.5)
Desired BIOS Version: 03.08  (Numerical: 3.0.8)
BIOS update required!
***** BIOS settings for BIOS update *****************************
Reading settings from [C:\Temp\BiosSledgehammer-Firmware Upgrade 10\Models\HP Compaq Elite 8300\BIOS-Update-Settings.txt]...
Not found, looking for shared file [Shared-BIOS-Update-Settings.txt] in same directory...
No settings file was found
Section -BIOS settings for BIOS update- finished

BIOS family is [K01]
Checking if the computer is on AC or DC (battery) power...
Querying CIM for Win32_Battery.BatteryStatus failed (The property 'BatteryStatus' cannot be found on this object. Verify that the property exists.), assuming this computer has no battery.
Battery status is OK or no battery present.
::: Preparing launch of update executable :::
Copying [C:\Temp\BiosSledgehammer-Firmware Upgrade 10\Shared\HP Compaq Elite 8300\BIOS-03.08]
to [C:\Users\adwmaching\AppData\Local\Temp\BIOS-03.08] ...
Done
Deleting [*.log] in target folder
Starting:
C:\Users\adwmaching\AppData\Local\Temp\BIOS-03.08\HPQFlash\hpqFlash.exe
-s -p"C:\Users\adwmaching\AppData\Local\Temp\biospassword.bin"
Done, return code is 259
--- Output ---
Waiting 10 seconds before checking if the process is still running...
[hpqFlash] is no longer running, waiting 5 seconds to allow cleanup...
Start of [C:\Users\adwmaching\AppData\Local\Temp\BIOS-03.08\HPQFlash\hpqFlash.exe] done
Checking for first file matching [*.log] in [C:\Users\adwmaching\AppData\Local\Temp\BIOS-03.08]...
***** ::BEGIN:: C:\Users\adwmaching\AppData\Local\Temp\BIOS-03.08\HPQFlash\hpqFlash.log *****
2019/10/29 15:02:32.588|00001F8C|Information|ChpqFlashApp::InitInstance|
2019/10/29 15:02:32.590|00001F8C|Information|ChpqFlashApp::InitInstance|--- START NEW HPQFLASH SESSION, HPQFLASH version <IP_ADDRESS> ---
2019/10/29 15:02:32.591|00001F8C|Information|ChpqFlashApp::CPQFProcessCmdLineArgs|Command line = -s -p"C:\Users\adwmaching\AppData\Local\Temp\biospassword.bin"
2019/10/29 15:02:35.803|00001F8C|Information|CCpqCIMIntf::GetsystemInfo|System name = HP COMPAQ ELITE 8300 USDT
2019/10/29 15:02:35.806|00001F8C|Information|CCpqCIMIntf::GetsystemInfo|System ID = 0x3398
2019/10/29 15:02:35.807|00001F8C|Information|CCpqCIMIntf::GetsystemInfo|System Serial Number = AUD31605QH
2019/10/29 15:02:35.809|00001F8C|Information|CCpqCIMIntf::GetsystemInfo|AT-p supported = 0 (0:  not supported, 1 supported)
2019/10/29 15:02:35.810|00001F8C|Information|CCpqCIMIntf::GetsystemInfo|Version of BIOS in system:
2019/10/29 15:02:35.812|00001F8C|Information|CCpqCIMIntf::GetsystemInfo|   Family = K01
2019/10/29 15:02:35.813|00001F8C|Information|CCpqCIMIntf::GetsystemInfo|   Major version = 0x2, Minor Version = 0x05
2019/10/29 15:02:35.814|00001F8C|Information|CCpqCIMIntf::GetsystemInfo|   Release Date = 05/07/2012
2019/10/29 15:02:35.834|00001F8C|Information|ChpqFlashApp::hpqFlashInSilentMode|Flashing in silent mode
2019/10/29 15:02:36.164|00001F8C|Information|CPQMessageBox|Error Code  0x00000113  INCORRECT_PASSWORD
2019/10/29 15:02:36.164|00001F8C|Information|ChpqFlashApp::hpqFlashInSilentMode|Exit hpqFlashInSilentMode, bStatus = 0
2019/10/29 15:02:36.164|00001F8C|Information|ChpqFlashApp::ExitInstance|Exit hpqFlash:  Return Code = 0x103
2019/10/29 15:02:36.164|00001F8C|Information|ChpqFlashApp::ExitInstance|--- END HPQFLASH SESSION ---
***** ::END:: C:\Users\adwmaching\AppData\Local\Temp\BIOS-03.08\HPQFlash\hpqFlash.log *****
::: Launching update executable finished :::
PS>TerminatingError(): "BIOS update failed, update program returned code 259"
C:\Temp\BiosSledgehammer-Firmware Upgrade 10\BiosSledgehammer.ps1 : BIOS update failed, update program returned code 259
At C:\Temp\BiosSledgehammer-Firmware Upgrade 10\BiosSledgehammer.ps1:1623 char:29

...             throw "BIOS update failed, update program returned code $ ...

            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

at Update-BiosFirmware, C:\Temp\BiosSledgehammer-Firmware Upgrade 10\BiosSledgehammer.ps1: line 1623
at , C:\Temp\BiosSledgehammer-Firmware Upgrade 10\BiosSledgehammer.ps1: line 3021
+ CategoryInfo          : OperationStopped: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,BiosSledgehammer.ps1
C:\Temp\BiosSledgehammer-Firmware Upgrade 10\BiosSledgehammer.ps1 : BIOS update failed, update program returned code
259
At C:\Temp\BiosSledgehammer-Firmware Upgrade 10\BiosSledgehammer.ps1:1623 char:29

...             throw "BIOS update failed, update program returned code $ ...

            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

at Update-BiosFirmware, C:\Temp\BiosSledgehammer-Firmware Upgrade 10\BiosSledgehammer.ps1: line 1623
at , C:\Temp\BiosSledgehammer-Firmware Upgrade 10\BiosSledgehammer.ps1: line 3021
+ CategoryInfo          : OperationStopped: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,BiosSledgehammer.ps1
BIOS Sledgehammer finished, return code 666.
Thank you, please come again!
Waiting 30 seconds...

Windows PowerShell transcript end
End time:<PHONE_NUMBER>0321

Thank you.
G

This is indeed very strange, given that the BIOS value change with the exact same password worked.
I think the message does not mean "Password incorrect" but instead "Incorrect update path". For the Elite 8300, we seem to have the same topic as with the Pro 8300: it requires a Two Step BIOS Update to move to 3.x.
Please first try flashing v2.99 (you can see this release by clicking "Previous releases" for BIOS v03.08), then update to 3.08.

@GregoryMachin As there was no update on this issue, I'm assuming this is solved with the extra BIOS update for the transition BIOS. I'm closing this issue.


Fix typo in pstAddHandler

This caused many warnings to appear in self-connection tests. A self
connection makes a local and a remote entry (it's both, technically) but
adding the remote handler wouldn't bump the count in the map, so it was
removed prematurely.

Oops. Nothing to see here :) @kantp


Support for Bamboo 5.14.x

Can you add support for version 5.14.x of Bamboo?  Currently the latest version of Bamboo that is supported is 5.13.2 by version 1.11.2 of the plugin.

We're currently working on plugin version compatible with Bamboo 5.14 @tdillon.
Version 5.14 includes a few changes to the VCS Repositories APIs, which broke the Release Staging feature.

@eyalbe4 is your release schedule public?  We are performing a Bamboo upgrade and this plugin may be a potential blocker.

@tdillon, we aim to release the compatibility fix by the end of next week, but we're working hard to release it sooner.

@tdillon, version 1.12.0 with Bamboo 5.14.x VCS Repositories API compatibility fixes has been released.

Thanks for the quick turnaround.


cargo-tree: Handle -e no-proc-macro when building the graph

What does this PR try to resolve?
Makes -e no-proc-macro more useful when combined with -i or -d. Fixes #12030.
How should we test and review this PR?
The new and existing tests should cover this, I hope!
Additional information
Pruning proc-macro crates during graph construction is closer to how the edge-based filters work ([no-]build etc.), so even though no-proc-macro isn't technically filtering on edges, it's following a well-established code path.

All reasonable requests. Updated!

@bors r+

:pushpin: Commit a0576d176756cd0c10c330a6fc7d34a0cd3b323d has been approved by epage
It is now in the queue for this repository.

:hourglass: Testing commit a0576d176756cd0c10c330a6fc7d34a0cd3b323d with merge a285008c8ec3c19896740e153332a2bd1ef93086...

:sunny: Test successful - checks-actions
Approved by: epage
Pushing a285008c8ec3c19896740e153332a2bd1ef93086 to master...


Set up a "Hello world" project with two apps

Create a new Rails API app called 'hello-rails-back-end'.
Initialize your project with Git.
Make sure that your project has a Postgres database set up.
Create a table for storing your messages and create 5 different greetings.
Create an API endpoint that selects a random greeting from your table (you will need a controller with an action and rails route).

Kindly review my PR
Thank you! 😁

Hey @Ghiftee, your app is complete.
Sorry for the inconvenient,
Please submit for a new review and it will be accepted.

Hello @od-c0d3r ,
My project has all you asked me to add already


Error unknown --profile command

With the --profile monitoring command we have slight changes the order of command to solved error unknown --profile command:
docker compose --profile monitoring up --pull always -d

same on Windows 11 with Docker Desktop 4.28.0
$ docker-compose version
Docker Compose version v2.24.6-desktop.1

$ docker-compose up --pull always --profile monitoring -d
unknown flag: --profile

working command
$ docker-compose --profile monitoring up --pull always -d


Add ability to set ReadUntypedAsString to false

When using OData v401 OpenTypes there is the ability to utilize types from a response.
The PR adds the ability to set the flag in settings for Microsoft.Odata.ODataMessageReader to enable that.
This PR duplicates #524 and resolves merge conflicts

Thank you for the PR.


Proposal: Support custom PID namespace

Currently you can do --net=host or --net=container:id.  I propose we add --pid=host or --pid=container:id so that you can control what PID namespace is setup.  The obvious use cause for such a thing is to run some monitoring tool that looks at processes in a container.  A simple example is to run htop against the host or another container.
The technical implications of this proposal is that Docker will need to track the processes of the container and kill them based on the cgroup.  Today if you stop/kill a container Docker will ensure the container PID 1 is killed.  Once the PID 1 is killed, Linux will kill all other processes in the PID namespace.  To support this behaviour I propose that Docker mimics the same behaviour with cgroups.  This means that Docker stop/kill the container PID as it does today.  Once the process is gone Docker should iterate all other processes in the cgroup and do a SIGKILL, as that is effectively what Linux does when a processes PID namespace goes away.

This was implemented in #10080

done with --pid.
Thanks for the update @phemmer

@crosbymichael Hate to be pedantic, but this shouldn't be closed as --pid=container:id doesn't exist yet.  This could be closed if we never plan to implement it, but I think there is still a use case.

@ibuildthecloud what is the use case?

People looking for --pid=container:id; There's a new issue created for that here: https://github.com/docker/docker/issues/10163


Add Benchmarks

Need memory usage and speed.
Looks like this might be useful: https://github.com/marketplace/actions/continuous-benchmark

Benchmarks now available here: https://dprint.github.io/jsonc-parser/dev/bench/


Windows 7 support

Hi Dmirty,
I need to add support for windows7, which I nearly got working on my end, but before I start submitting changes, a question to you is - do you have any preference as to what the $os variable should be?
You use $os = "server-2008r2" as an example.

Hi,
win7x64 or something like that? or windows7x64 I'd prefer to include bitness.

Should be working, but I still need to figure out how to add powershell support to boot.wim, which I can see you've commented out for some reason.
	Write-Host "WinPE-PowerShell3.cab"
	$package_path += "/PackagePath:'${update_dir}\WinPE-PowerShell3.cab'"

Any particular reason why this is disabled?

I just try to stay bare bones. Any particular reason why you need powershell?

I have thought that wget.vsb requires it in order to download the provisioning scripts from foreman

Doesn't require. It uses cscript only. So I would prefer not to include powershell of possible for now please

That's absolutely fine.
I think that I've been mistakenly using winpe.wim which doesn't contain cscript or anything.
I am pretty sure was was getting an error message - cant recall the exact wording but something among the lines of "invalid interface". Manually integrating packages you've commented out had fixed this.
I am going to try this with boot.wim from the Windows media and report if this still an issue.
Otherwise I think we're looking OK.

will submit a PR once I refactor the code


smile: init at 2.8.1

Description of changes
Add Smile, an emoji picker for Linux.

Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

Updated the package to 2.3.1. Also updated the package file a bit. This should also fix the error from ofborg build.

Run result on gnome wayland.
> ./smile

(process:4127576): Gdk-WARNING **: 00:40:06.509: No such backend: *
Traceback (most recent call last):
  File "/nix/store/lv38n9bb0s5n2h2jvwv90f714ic52a39-smile-2.3.1/bin/.smile-wrapped", line 45, in <module>
    from smile import main
  File "/nix/store/lv38n9bb0s5n2h2jvwv90f714ic52a39-smile-2.3.1/share/smile/smile/main.py", line 9, in <module>
    from .Picker import Picker
  File "/nix/store/lv38n9bb0s5n2h2jvwv90f714ic52a39-smile-2.3.1/share/smile/smile/Picker.py", line 24, in <module>
    from .components.CustomTagEntry import CustomTagEntry
  File "/nix/store/lv38n9bb0s5n2h2jvwv90f714ic52a39-smile-2.3.1/share/smile/smile/components/CustomTagEntry.py", line 4, in <module>
    from .CustomPopover import CustomPopover
  File "/nix/store/lv38n9bb0s5n2h2jvwv90f714ic52a39-smile-2.3.1/share/smile/smile/components/CustomPopover.py", line 5, in <module>
    gi.require_version('Adw', '1')
  File "/nix/store/bybx4aya78qc5bw8yb94bsiayh3afmxx-python3.10-pygobject-3.44.1/lib/python3.10/site-packages/gi/__init__.py", line 126, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Adw not available

As the last review shows, missing dependencies. Add libadwaita into buildInputs could solve this.

Run result on gnome wayland.
> ./smile

(process:4127576): Gdk-WARNING **: 00:40:06.509: No such backend: *
Traceback (most recent call last):
  File "/nix/store/lv38n9bb0s5n2h2jvwv90f714ic52a39-smile-2.3.1/bin/.smile-wrapped", line 45, in <module>
    from smile import main
  File "/nix/store/lv38n9bb0s5n2h2jvwv90f714ic52a39-smile-2.3.1/share/smile/smile/main.py", line 9, in <module>
    from .Picker import Picker
  File "/nix/store/lv38n9bb0s5n2h2jvwv90f714ic52a39-smile-2.3.1/share/smile/smile/Picker.py", line 24, in <module>
    from .components.CustomTagEntry import CustomTagEntry
  File "/nix/store/lv38n9bb0s5n2h2jvwv90f714ic52a39-smile-2.3.1/share/smile/smile/components/CustomTagEntry.py", line 4, in <module>
    from .CustomPopover import CustomPopover
  File "/nix/store/lv38n9bb0s5n2h2jvwv90f714ic52a39-smile-2.3.1/share/smile/smile/components/CustomPopover.py", line 5, in <module>
    gi.require_version('Adw', '1')
  File "/nix/store/bybx4aya78qc5bw8yb94bsiayh3afmxx-python3.10-pygobject-3.44.1/lib/python3.10/site-packages/gi/__init__.py", line 126, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Adw not available

As the last review shows, missing dependencies. Add libadwaita into buildInputs could solve this.

Thanks for looking out. I just rebased this to recent revisions from master branch and updated it to 2.8.1. Please have a look again.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/1176

Done in https://github.com/NixOS/nixpkgs/pull/284708


feat(telegraf): enable prometheus flag

currently at scale polling the prometheus endpoints will overwhelm the kubernetes masters.  This allows for the disabling of the prometheus data exporter.

Thanks for the contribution! Please ensure your commits follow our style guide. This code will be tested once a Deis maintainer reviews it.

Thanks for the contribution! Please ensure your commits follow our style guide. This code will be tested once a Deis maintainer reviews it.

Thanks for the contribution! Please ensure your commits follow our style guide. This code will be tested once a Deis maintainer reviews it.


[Lexical][Gallery] Create Simple Tableplugin example

Description
Create Simple Tableplugin example
Test plan

All integration tests are passing now, e2e failures are unrelated and due to flaky tests


Man page typo

"lanuched" should be "launched" in src/sixel.5

@silverhammermba Thanks, it will be released with next version.

libsixel-1.8.0 includes the fix for this. Thanks!


Move the source to a directory named shine

I don't think it's immediately obvious that the user has to create a directory named shine containing the repo's source files, and that this is the thing that is being required in the usage examples.
Have you considered moving the source files to a directory named "shine" in the repository, or adding the instruction at the start of the usage text explaining that one has to create the directory of the specific name? I feel either of these would make it clearer for potential users, especially those unfamiliar with how init.lua files work with modules.
Thanks for the excellent library!

If you do a git pull, shine will land in its own directory. In any case, you're right in that the readme should contain a "Getting started" or "Install" section.


Add an introduction/tour

This is a more or less "prototype" version to pitch the idea.
Most of the work I've done started at Meridian 2021's Docsprint.
You can find a demo of the current state here.
The idea 💡
Most developers starting their journey into the Stellar Network will sooner or later meet Laboratory.
While Laboratory is an awsome tool, it can be hard to wrap your head around at first.
So a more or less interactive Tutorial/Tour should give people a headstart on where they need to look out for specific features.
I could go deep into Labs features but for now it's a very basic overview over the different pages. We could expand it later as far as needed.
The implementation ⚙
I've seen (non open source) tour components build in react, but all of them have/had trouble with steps across js-chunks and blow up the js bundle size even when they're not used by the user.
For this prototype I'm using Sheperd, a well known library for Tour overlays.
The js is dynamically import()-ed when the tour is started, the only overhead loaded every time is shepherds css as I did't get around to lookup how I could dynamically import it without breaking jest.
Open TODOs / Things to discuss 🔧

In this version I'm manipulating Labs state by emitting click events on buttons/links.
Most of this could be replaced by using the redux store, as this code is fairly ugly and easy to break.
But manipulating the store could lead to different behavior of the tour and the real UI elements.
The selectos I've used are either href attributes, easy to break selector chains or event data-testid. This should probably be changed to either fixed ids or it's own data-attribute like data-tour-anchor to make it more obvious that this element is part of the tour.
Integration tests: As the tour (by it's nature of living along with react) is seperated from the views but interacts with them, it's fairly easy to break it by accident. So adding integration tests to ensure that elements are highlighted and the "next" button works are probably a good idea.

I'll happily continue work on this, but it may take time as I'm fairly busy.
But I'd love to hear thought and feedback on the idea, my points from above and anything else implementation related.

The tour idea is great, @Kanaye ! Thank you very much for starting the conversation in this PR!
We are in the middle of refactoring Lab to match our other frontend projects, so the Redux implementation could be an option. Would you like to give it a try? No need to write code just yet, but a high-level idea could be a good start. The code structure eventually will be the same as in the Account Viewer. It's also OK to say that we should figure this out ourselves when the time comes. :smile:
I like your suggestion to use the same data- attribute for all tour elements. That way it would be clear what is used where and won't break if some class is changed during refactoring.
Adding tests would be awesome, but we can probably do that later. The same goes for style tweaks.
Thanks again for your work on this! We understand that you're busy, so please take your time with any updates. :raised_hands: :rocket:

This feature won't work with Lab v2


Update to latest Debian stable release

Changed dockerfile.erb, guessing youll use the erb to generate all the other dockerfile
Also changed the one for the version im interested in runin: tested and runing fine >https://hub.docker.com/r/r0shii/bitcoin/builds/

btw, this reduce image size by 20% :)

Btw probably should have mentioned this in the last pr, but you can just run make update to regenerate all the dockerfiles.

Thanks for the PR! This is a good idea in general.
Let me know when you have addressed above feedback, and either run make update to refresh all the docker images, or just make to refresh and build/test everything locally.

Thanks once again
I'll amend the erb and run make update whithin 6 hours (can't do this from work...)
I will most likely submit a new pull request by then to make it cleaner.

Sounds good. No need to make a separate PR, just add more commits and we
can squash this one down when I merge it.
On Thu, Jul 6, 2017, 2:41 AM roshii<EMAIL_ADDRESS>wrote:

Thanks once again
I'll amend the erb and run make update whithin 6 hours (can't do this
from work...)
I will most likely submit a new pull request by then to make it cleaner.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/amacneil/docker-bitcoin/pull/20#issuecomment-313348355,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAm659zqGMIFOZElUBPbPpbVnGqPkQgMks5sLKu5gaJpZM4OO2fV
.

Sorry, I couldn't work on this yesterday but shall be able to do this over the weekend.
Cheers

looks good now :)

Thanks!


pipenv unistalls dev-packages on pipenv update

In pipenv version 3.5.6, 'dev-packages' are not considered during the update operation.
Steps to reproduce:
mkdir project && cd project
pipenv install
pipenv install --dev flake8
pipenv update

Pipenv installs flake8 and adds it to Pipfile as a dev-package (as expected).
However pipenv update purges flake8. Also, pipenv update --dev purges and reinstalls flake8. The expected behavior is that pipenv does not delete dev-packages on any update operation.

Hey @gregorias, thanks for taking the time to open this. So the help message for pipenv update --help seems pretty clear, and seems consistent with your observed behaviour. The update command "Updates pip to latest version, uninstalls all packages, and re-installs them to latest compatible versions."
Just like install, you'll only get dev packages when you specify --dev. This was a design decision made by Kenneth so he'd have to weigh in on change, but the current design seems reasonable to me.

Hi @nateprewitt, thank you very much for quick response! I have one left-over question and remark so as to make the point of contention more explicit.
My gripe is that the dev packages are just removed without the --dev flag. I believe that this makes sense when you think about it, but documentation is ambiguous on that issue. The line (emphasis mine):

uninstall all packages and re-installs them to latest compatible version.

suggests that all packages that are uninstalled are reinstalled. So pipenv should either not touch the dev-packages at all, or remove and re-install them. I suspect that the former might lead to some Python environment consistency problems, and that is why it is not done this way. Anyway, it might be just a tiny bit more helpful if docs made this case clear. I can do the change and a PR if a maintainer agrees.
Hope this issue doesn't waste too much of anybody's time.

Thanks for clarifying @gregorias. I'm more than happy to review a PR with documentation/help message clarifications if you feel like putting one together :)

Resolved with better help message in #317.


ci: add downstream tests for altair + scikit-lego

What type of PR is this? (check all applicable)

[ ] 💾 Refactor
[ ] ✨ Feature
[ ] 🐛 Bug Fix
[ ] 🔧 Optimization
[ ] 📝 Documentation
[ ] ✅ Test
[ ] 🐳 Other

Related issues

Related issue #
Closes #

Checklist

[ ] Code follows style guide (ruff)
[ ] Tests added
[ ] Documented the changes

If you have comments or can explain your changes, please do so below.

thanks @FBruzzesi ! this adds a 2-minute job for altair, and a 3-minute one for scikit-lego. for now, I'd suggest we play it safe and just run them, they're not too onerous


Potential access to method of nil object in TConfig

This line:
https://github.com/delphidabbler/unit2ns/blob/2a596e07fca57b550a9973979c2e9c83a2aa3863/src/UConfig.pas#L111
in
class procedure TConfig.WriteConfigFile;

needs to check that fConfigData has been assigned before calling the method on it. If fConfigData is nil then it's probably safer to empty the file.

The same problem occurs in:
https://github.com/delphidabbler/unit2ns/blob/2a596e07fca57b550a9973979c2e9c83a2aa3863/src/UConfig.pas#L94

Rather than accessing fConfigData directly and having to check if it is assigned each time it is accessed, it may be better to define a method, GetConfigData say, that takes care to create and load fConfigData if necessary. Something like:
class function TConfig.GetConfigData: TStringList;
begin
  if not Assigned(fConfigData) then
  begin
    fConfigData := TStringList.Create;
    fConfigData.NameValueSeparator := KeyValueSeparator;
    if TFile.Exists(ConfigFilePath) then
      fConfigData.LoadFromFile(ConfigFilePath, TextFileEncoding);
  end;
  Result := fConfigData;
end;

If the GetConfigData solution above is adopted then it make make sense to abstract the file aspects (ie the management of the file contents) into another class, say TConfigFile.

Maybe TConfigData would be a better name than TConfigFile from previous comment?
Or may class should be private to TConfig and just be called TData or TPersistantData?


Restore Python Snippets

Hi, please restore Python snippets.

In addition to massive productivity benefits, built-in snippets also help teach and enforce best practices, like docstrings.
def funcname(parameter_list):
    """
    docstring
    """
    pass

In addition to massive productivity benefits, built-in snippets also help teach and enforce best practices, like docstrings.
def funcname(parameter_list):
    """
    docstring
    """
    pass

Hey @s2t2, we don't intend to bring back the Python snippets for now as they're a point of confusion for a lot of users. For those who enjoy  and use this feature, it's pretty easy to configure it and bring them back. You can copy them from here and then set up them up in VS Code.
And you can also set up Settings Sync in VS Code so that you don't lose them when you switch machines 😊

@luabud at first, thank you and your team all for the hard and good work!
is there any reason why snippets weren't saved as part of the codebase and disabled by default? so if someone wants to keep using them and is part of their coding routine, they can simply reenable them in the settings.json config?
current state
restoring them seems kinda complicated, now you have to follow the entire tutorial https://code.visualstudio.com/docs/editor/userdefinedsnippets#_create-your-own-snippets just to figure out how to insert them again manually. i do not have insight into why you made the decision you did, nor i'm asking for an explicit answer, but this action disrupted the work of many developers relying on the existing features. you can see if you query the existing issues by typing snippet , that many members of the community expressed their unsatisfaction.
propositon
so what i'm proposing is to revert them to be part of the codebase, disabled by default, and add an option so that they can be restored by enabling them like enableSnippets: true .
keep up with the good work (and please keep us notified if changes like this are pending in future releases)


test: fix packaging tests errors

Small tweaks to fix non working packaging errors

As ubuntu 20.10 is not supported anymore, what do you think if we replaced for Ubuntu 21.10 (latest release before new LTS)?

As ubuntu 20.10 is not supported anymore, what do you think if we replaced for Ubuntu 21.10 (latest release before new LTS)?

We still do support ubuntu 20.10 ;-)


Safari incorrect capturing text from contentEditable after 1.0.0 version

[x] You are using the latest version
[x] You are testing using the non-minified version of html2canvas and checked any potential issues reported in the console

Bug reports:
Incorrect text capturing from div[contentEditable] in Safari browser
Chrome (expected):

Safari(unexpected):

All subsequent versions after 1.0.0 have the same bug, as i understand this changes has entailed current render behaviour
If i change version to 1.0.0 everything works as expected
Live example: https://codesandbox.io/s/focused-sky-ul7bf
Specifications:

html2canvas version tested with: 1.1.0 - 1.2.2
Browser & version: Safari, Version 14.1 (166<IP_ADDRESS>.6)
Operating system: macOS BigSur 11.3.1

I have the same problem with safari.

please refer to #2696 , it helped my issue.


Delayed / Missing Websocket data

Hi Team,
I have been having issues with missing/delayed data. So I setup a simple script to fetch options prices from websocket and log them. The script is below.
Attached screenshot shows my console logs.

I have marked in red, quotes that are delayed. As you can see, some of them are significantly delayed like 3 to 4 minutes which is a rather long time. Ideally, at say 12.58.XX (XX being seconds), we should get quote for 12.57.00 candle for all subscribed instruments. Preferably within the first 5-10 seconds.
How can I mitigate this issue? I tried running it in parallel using threads but that doesn't improve it either.
For 5 minute quotes, data gets delayed by 4-6 minutes, so the data we get is sometimes 1 entire candle late.
Please advise, as this is causing errors in my signal generation which is messing up my trading activity.
# Initialize keys
api_key = "************************"
api_secret = "************************"
api_session = "************************"

# Import Libraries
from datetime import datetime
import time
from breeze_connect import BreezeConnect
import logging

# Configure logging
logging.basicConfig(
    level=logging.INFO,
    format='%(asctime)s - %(message)s',
    datefmt='%Y-%m-%d %H:%M:%S'
)

# Setup API keys
breeze = BreezeConnect(api_key=api_key)
breeze.generate_session(api_secret=api_secret, session_token=api_session)

# Define strike ranges for calls and puts
call_strikes = list(range(23600, 24400, 50))
put_strikes = list(range(23600, 24400, 50))

# Callback to handle received ticks
def on_ticks(ticks):
    # Log required fields: datetime, strike_price, right
    logging.info(f"Datetime: {ticks.get('datetime')}, Strike Price: {ticks.get('strike_price')}, Right: {ticks.get('right_type')}")

# Main Function
if __name__ == "__main__":
    print("Starting Execution \n")

    # Connect to WebSocket
    breeze.ws_connect()
    print("Connected to WebSocket")

    # Assign the on_ticks callback
    breeze.on_ticks = on_ticks

    # Create subscriptions for call and put options
    subscriptions = []
    for strike_price in call_strikes:
        subscriptions.append({
            "exchange_code": "NFO",
            "stock_code": "NIFTY",
            "product_type": "options",
            "expiry_date": datetime.strftime(datetime.now(), '%Y-%m-%d'),  # Replace with your expiry logic
            "strike_price": str(strike_price),
            "right": "call",
            "interval": "1minute"
        })

    for strike_price in put_strikes:
        subscriptions.append({
            "exchange_code": "NFO",
            "stock_code": "NIFTY",
            "product_type": "options",
            "expiry_date": datetime.strftime(datetime.now(), '%Y-%m-%d'),  # Replace with your expiry logic
            "strike_price": str(strike_price),
            "right": "put",
            "interval": "1minute"
        })

    # Subscribe to each feed
    for sub in subscriptions:
        answer = breeze.subscribe_feeds(
            exchange_code="NFO",
            stock_code="NIFTY",
            product_type="options",
            expiry_date="05-Dec-2024",
            strike_price=sub["strike_price"],
            right=sub["right"],
            interval="1minute"
        )
        logging.info(f"Subscribed: {answer}")

    # Keep the script running to receive data
    try:
        while True:
            time.sleep(1)
    except KeyboardInterrupt:
        print("Execution stopped.")

So shall I expect a response or spend my weekend exploring their API? I have been an ICICI customer since 2004 so not in a mood to shift unless forced to...


ReferenceError: _ is not defined

I am using vue cli with webpack-simple. I am getting this error.I have install all dependencies of vue-mc. You can see my devDepencies:
  "devDependencies": {
    "axios": "^0.17.0",
    "babel-core": "^6.26.0",
    "babel-loader": "^7.1.2",
    "babel-preset-env": "^1.6.0",
    "cross-env": "^5.0.5",
    "css-loader": "^0.28.7",
    "file-loader": "^1.1.4",
    "lodash": "^4.17.4",
    "moment": "^2.19.1",
    "node-sass": "^4.5.3",
    "sass-loader": "^6.0.6",
    "underscore": "^1.8.3",
    "vue-loader": "^13.0.5",
    "vue-mc": "^0.1.1",
    "vue-template-compiler": "^2.4.4",
    "webpack": "^3.6.0",
    "webpack-dev-server": "^2.9.1"
  }

But I am getting this error.
vue-mc.es.js?c9ea:2456
Uncaught ReferenceError: _ is not defined
    at eval (vue-mc.es.js?c9ea:2456)
    at Object.<anonymous> (build.js:1010)
    at __webpack_require__ (build.js:679)
    at fn (build.js:89)
    at eval (31:4)
    at Object.<anonymous> (build.js:934)
    at __webpack_require__ (build.js:679)
    at fn (build.js:89)
    at Object.<anonymous> (build.js:789)
    at __webpack_require__ (build.js:679)

The way the current version works is it assumes that certain libraries are already in a global scope. This is far from ideal and we are working on fixing that.