[Bug]: Can't set log level

What happened?
Trying to set esbuild's log level to attempt to debug a module resolution issue, but no matter what I set in the config, it doesn't seem to apply. Example:
esbuild(
    # ...

    config = {
        "logLevel": "debug",  # ignored
    }
)

Version
Development (host) and target OS/architectures: MacOS Monterey
Output of bazel --version: 6.1.1
Version of the Aspect rules, or other relevant rules from your
WORKSPACE or MODULE.bazel file<EMAIL_ADDRESS>How to reproduce
No response
Any other information?
No response

Never mind! Apologies, my bad on this one. Was using "debug" instead of "verbose", but it seems the logLevel does apply. Closing


proposal: cmd/go: Is it possible to support replace the standard library in go module?

Proposal Details
expect
replace database/sql => ./internal/src/database/sql

Doing this now will not cause an error, but it will have no effect.
go version go1.22.0 darwin/arm64
purpose
The reason for doing this is to insert some code into the std pkg for debugging.
A practical case, I found goroutines leak through /pprof/goroutine?debug=1 and /pprof/goroutine?debug=2.
10 @ 0x104b7a7a8 0x104b44004 0x104b43bc4 0x1054075e8 0x104bb5094
#        0x1054075e7        database/sql.(*Tx).awaitDone+0x37        /opt/homebrew/opt/go/libexec/src/database/sql/sql.go:2202

goroutine 638612 [chan receive]:
database/sql.(*Tx).awaitDone(0x14000492000)
        /opt/homebrew/opt/go/libexec/src/database/sql/sql.go:2202 +0x38
created by database/sql.(*DB).beginDC in goroutine 638919
        /opt/homebrew/opt/go/libexec/src/database/sql/sql.go:1915 +0x1ac

It is very difficult to find where the transaction is not released in the massive business code, so I want to insert some code in src/database/sql to track the parent caller stack.
Will Go provide similar capabilities?

Duplicate of #35283


feat: franklin experimentation integration

Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Fix #37
Test URLs:

Before: https://main--mammotome--hlxsites.hlx.page/en/experimentation/a-experience
After: https://37-ued-experimentation--mammotome--hlxsites.hlx.live/en/experimentation/a-experience

LHS reports some TBT - is this new or just a flaky measurement or caused by something prior to this PR?

LHS reports some TBT - is this new or just a flaky measurement or caused by something prior to this PR?

Experimentation can have some impact on the LHS, as the decision of which content to show to the end user, is taken in front-end and gathered on the fly from the server. Normally it should not be a big impact


Failed to find a workspace root (local workspace dependency)

Checklist

[X] I've looked through the issues and pull requests for similar reports

Describe your issue
Cross fails to compile local workspace dependencies with manifest inheritance.
The issue seems to be that only dependency paths are copied/mirrored into the container and not the workspace it belongs to.
What target(s) are you cross-compiling for?
armv7-unknown-linux-gnueabihf
Which operating system is the host (e.g computer cross is on) running?

[ ] macOS
[ ] Windows
[X] Linux / BSD
[ ] other OS (specify in description)

What architecture is the host?

[X] x86_64 / AMD64
[ ] arm32
[ ] arm64 (including Mac M1)

What container engine is cross using?

[X] docker
[ ] podman
[ ] other container engine (specify in description)

cross version
cross 0.2.4 (aa59bf2 2022-12-23)
Example
git clone https://github.com/Atmelfan/cross_workspace_inheritance_issue.git
cd cross_workspace_inheritance_issue/app
cargo build # works
cross build # doesn't work

Errors with:
error: failed to get `lib1` as a dependency of package `app v0.1.0 (/home/REDACTED/projects/cross_workspace_inheritance_issue/app)`

Caused by:
  failed to load source for dependency `lib1`

Caused by:
  Unable to update /home/REDACTED/projects/cross_workspace_inheritance_issue/dep_workspace/lib1

Caused by:
  failed to parse manifest at `/home/REDACTED/projects/cross_workspace_inheritance_issue/dep_workspace/lib1/Cargo.toml`

Caused by:
  error inheriting `version` from workspace root manifest's `workspace.package.version`

Caused by:
  failed to find a workspace root

Additional information / notes
No response

Thanks for raising this issue!
This is a related to #1088 and would be solved by that.
For now, you can circumvent this by specifying in Cross.toml or Cargo.toml accordingly
# app/Cargo.toml
[package.metadata.cross.build.env]
volumes = ["__LIB12_DEP=../dep_workspace"]

# app/Cross.toml
[build.env]
volumes = ["__LIB12_DEP=../dep_workspace"]

Why the correct way is writing __{XXX}2_DEP?

@TD-Sky It doesn't matter, I just did that to make it clear it's not used anywhere, you can name it whatever you want


🐛 Bug ➾ Taqueria has hardcoded plugin entry to index.js

🆘 What happened?
When Taqueria loads a plugin, it always goes to node_modules/foo-plugin/index.js, ignoring main/module path specified in node_modules/foo-plugin/package.json.
I think it is hardcoded in  getPluginExe(...) in plugin.ts.
🪵 Relevant log output
node:internal/modules/cjs/loader:928
  throw err;
  ^

Error: Cannot find module<EMAIL_ADDRESS>    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:925:15)
    at Function.Module._load (node:internal/modules/cjs/loader:769:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:12)
    at node:internal/main/run_main_module:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

🐘 How impactful is this bug?
🐜 Minor annoyance
⏱ Prevalance
No response
💻 Operating System
No response
🕸 System Architecture
No response
🌮 Taqueria Version
No response
🌿 Node.js Version
No response
☎ Contact Details
No response
Code of Conduct

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

Thanks for reporting this @psmolinsky!
Our team will be investigating this shortly

@mweichert, thoughts on this?

Why have you closed this bug? Can you explain please? Plugin does not work as a regular NPM module so it is a serious issue.


SharpDX.DirectWrite.FontFallback.MapCharacters has incorrect parameter

I was going to write a public wrapper for MapCharacters_ but noticed one paramter is incorrect. The method signature generated is:
internal void MapCharacters_(
   System.IntPtr analysisSource,
   int textPosition,
   int textLength,
   SharpDX.DirectWrite.FontCollection baseFontCollection,
   string baseFamilyName,
   SharpDX.DirectWrite.FontWeight baseWeight,
   SharpDX.DirectWrite.FontStyle baseStyle,
   SharpDX.DirectWrite.FontStretch baseStretch,
   int mappedLength,
   out SharpDX.DirectWrite.Font mappedFont,
   out float scale
)

However, mappedLength should be an out parameter per the docs.  Is there a way for me to fix this on my end without having to tamper with the C# code generation?

This is usually fixed in the mapping.xml file by adding a line like:
 <map param="IDWriteFontFallback::MapCharacters::mappedLength" attribute="out" />

The mappedLength must match exactly what is in the dwrite header file (sometimes the msdn doc might be off or not accurate).
Also, the parameter analysisSource is a special interface (callback from c++ to C#), so you will have to handle it differently - it should be used elsewhere in the code so you can have a look at it)

👍, thanks!


Save button not showing in Mobile View

From customer "It appears the lower menu is a bit cramped on an iPod.  We were having trouble saving the filename.  Is there a way to clear the project?  It seems to use an old name."

We need a redesign of tablet view and I am closing this in favor of that.


Fix RCS1049: Simplify boolean comparison

https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1049.md
See also: https://github.com/dotnet/runtime/pull/44564 for ComInterop

This PR makes changes to ComInterop, so a corresponding PR has been opened: dotnet/runtime#44564

dotnet/runtime#44564 is approved.

dotnet/runtime#44564 is merged.


Error - jb-input-datepicker' is not a known element:

Hello! I'm having a problem, following the steps indicated
1- Install angular2-datepickr via npm
2 - In my app.module.ts import
Import {Angular2DatepickerModule, Angular2DatepickerOptions} from 'angular2-datepickr / angular2-datepickr';
and
@NgModule ({
   Imports:
     BrowserModule,
     HttpModule,
     FormsModule,
     ReactiveFormsModule,
     routing,
     Angular2DatepickerModule,
     CommonModule
     ],
4 - And lastly, incorporate in the html of the component:

I get the following error:
**'jb-input-datepicker' is not a known element:

If 'jb-input-datepicker' is an Angular component, then verify that it is part of this module.
If 'jb-input-datepicker' is a Web Component then add "CUSTOM_ELEMENTS_SCHEMA" to the<EMAIL_ADDRESS>of this component to suppress this message. ("
-->**

Any ideas how to solve it ?? thank you very much!

Do you have it in lazy loaded module? If you adding it to the component
template in lazy route you have to add it to the imports in module which is
lazy loaded.
On Fri, Nov 11, 2016, 15:21 Santiago Martini<EMAIL_ADDRESS>wrote:

Hello! I'm having a problem, following the steps indicated
1- Install angular2-datepickr via npm 2 - In my app.module.ts import
Import {Angular2DatepickerModule, Angular2DatepickerOptions} from
'angular2-datepickr / angular2-datepickr';
and
@NgModule https://github.com/NgModule ({    Imports:
BrowserModule,      HttpModule,      FormsModule,      ReactiveFormsModule,
routing,      Angular2DatepickerModule,      CommonModule      ],
4 - And lastly, incorporate in the html of the component:

I get the following error:
**'jb-input-datepicker' is not a known element:

If 'jb-input-datepicker' is an Angular component, then verify that
it is part of this module.
If 'jb-input-datepicker' is a Web Component then add
"CUSTOM_ELEMENTS_SCHEMA" to the<EMAIL_ADDRESS>of this component to
suppress this message. ("
-->**

Any ideas how to solve it ?? thank you very much!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/JiriBalcar/angular2-datepicker/issues/1, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AGkHsiItKWelXpLMMMYx4sc-63nFbtDgks5q9HnugaJpZM4KvylR
.

Thanks for your answer JiriBalcar! , I do not have it  lazy loaded module

Try changing the imports part to Angular2DatepickerModule.forRoot(new Angular2DatepickerOptions({ todayString: 'TODAY' }))

@santiim are you still having this issue?

Hi jiriBalcar, thanks for asking, if I have not solved it yet, if you are interested in trying, I am trying to incorporate it into the following project:

If you manage to do it, I would appreciate it very much, without compromise;)

OK i did managed to make it work in your seed project.
You have to install moment js npm install moment which is requirement for the datepicker.
Another requirement is material icons for the back and next buttons. (I am working on removing this requirement)
Then I had to make changes to datepicker components itself and uncoment moduleId: module.id for systemjs.
Then you need to make changes to your systemjs file. So Systemjs knows where to find the library and moment:
var map = {
    'app':                        'app', // 'dist',
    '@angular':                   (isPublic)? '@angular' : 'node_modules/@angular',
    'rxjs':                       (isPublic)? 'rxjs' : 'node_modules/rxjs'
  };
  // packages tells the System loader how to load when no filename and/or no extension
  var packages = {
    'app':                        { main: 'main.js',  defaultExtension: 'js' },
    'rxjs':                       { defaultExtension: 'js' },
    'angular2-datepickr':         { main: 'angular2-datepickr.js', defaultExtension: 'js'},
    'moment':                     { main: 'moment.js', defaultExtension: 'js' }

There are still some bugs:

with default options for today button string which can be workarounded with Angular2DatepickerModule.forRoot(new Angular2DatepickerOptions({todayString: 'TODAY'}))

Thank you very much!! I really appreciate your time and dedication, now I will implement your solution! regards!

Glad to help @santiim. I will leave this issue open until I change the dependency on material icons and the default options. So you can get notified about new version.

From 0.3.4-beta2 there is removed dependency on material icons.
You can try it npm install angular2-datepickr@beta


OSX: ppl — NameError: name 'xonsh' is not defined

I'm trying to use ppl with this pipe find . | ppl "str(num) + ' ' + line" and get error.
any idea how to fix it?
~/D/C/book $ XONSH_SHOW_TRACEBACK = True
~/D/C/book $ find . | ppl "str(num) + ' ' + line"
xonsh: To log full traceback to a file set: $XONSH_TRACEBACK_LOGFILE = <filename>
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
  File<EMAIL_ADDRESS>line 125, in worker
    result = (True, func(*args, **kwds))
  File "/usr/local/Cellar/xonsh/0.9.27/libexec/lib/python3.9/site-packages/xontrib/pipeliner_parallel.py", line 28, in __call__
    return self.f(x)
  File "/usr/local/Cellar/xonsh/0.9.27/libexec/lib/python3.9/site-packages/xontrib/pipeliner_parallel.py", line 10, in f
    ctx = __xonsh__.ctx
NameError: name '__xonsh__' is not defined
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/Cellar/xonsh/0.9.27/libexec/lib/python3.9/site-packages/xonsh/procs/proxies.py", line 508, in run
    r = self.f(self.args, sp_stdin, sp_stdout, sp_stderr, spec, spec.stack)
  File "/usr/local/Cellar/xonsh/0.9.27/libexec/lib/python3.9/site-packages/xonsh/procs/proxies.py", line 305, in proxy_three
    return f(args, stdin, stdout)
  File "/usr/local/Cellar/xonsh/0.9.27/libexec/lib/python3.9/site-packages/xontrib/pipeliner.py", line 65, in _ppl
    xppl.go(func_args, stdout)
  File "/usr/local/Cellar/xonsh/0.9.27/libexec/lib/python3.9/site-packages/xontrib/pipeliner_parallel.py", line 23, in go
    for result in parallel_tasks:
  File<EMAIL_ADDRESS>line 870, in next
    raise value
NameError: name '__xonsh__' is not defined

Maybe have to import builtins?
import builtins

On MacOS global variables are not accessible from child processes (multiprocessing.Pool):

on Python 3.8 mac multiprocessing switched to spawn
you have to use https://docs.python.org/3/library/multiprocessing.shared_memory.html to share content between processes or pass it to be pickled in the args of imap_unordered

I've fixed the error and made release xontrib-pipeliner 0.3.3 but there are known issues around multicore pipelining on Mac that described in the "Known issues" section in the README now. Thanks for reporting this!


fix: allow GitLab edits to create & switch across new branches and source files

Why does this PR exist?
Closes #3076
Users were experiencing errors when switching from single / multi files or referencing new branches. Similar to ADO: https://github.com/tokens-studio/figma-plugin/pull/3071
What does this pull request do?

Adds checks in the GitLab client to create the necessary branch / file / directory before pushing
Creates the new branch based on the currently selected one in the plugin
Fallback to the previous state if the user doesn't push changes

Testing this change

Set up GitLab as a remote provider

Change some settings by going to: Settings ---> Edit your Sync provider

Edit the details by:

Switching from a single file (tokens.json) to a multifile setup (themes)
Switching branches

Pushing to the remote should work as expected

tested and worked properly!


Cluster support more than two nodes?

Cluster support more than two nodes ?
Node				Host	        IpAddress
node1(disc_copy)	host1  	<IP_ADDRESS>
node2(ram_copy)	host2   	<IP_ADDRESS>
node3			host3  	<IP_ADDRESS>

Run './bin/emqttd_ctl cluster' on host2:
./bin/emqttd_ctl cluster<EMAIL_ADDRESS>./bin/emqttd_ctl cluster<EMAIL_ADDRESS>
Run './bin/emqttd_ctl cluster' on host3:
./bin/emqttd_ctl cluster<EMAIL_ADDRESS>./bin/emqttd_ctl cluster<EMAIL_ADDRESS>
three nodes config , is right?

okay

在 2015年7月9日，下午8:37，sailingchen<EMAIL_ADDRESS>写道：
Cluster support more than two nodes ?
Node                Host            IpAddress
node1(disc_copy)    host1   <IP_ADDRESS>
node2(ram_copy) host2       <IP_ADDRESS>
node3           host3   <IP_ADDRESS>
Run './bin/emqttd_ctl cluster' on host2:
./bin/emqttd_ctl cluster<EMAIL_ADDRESS>./bin/emqttd_ctl cluster<EMAIL_ADDRESS>Run './bin/emqttd_ctl cluster' on host3:
./bin/emqttd_ctl cluster<EMAIL_ADDRESS>./bin/emqttd_ctl cluster<EMAIL_ADDRESS>three nodes config , is right?
—
Reply to this email directly or view it on GitHub https://github.com/emqtt/emqttd/issues/188.


Revert "fix: fix invoice pay issue sup-1866"

Reverts bigcommerce/b2b-buyer-portal#100
Jira: B2B-1290
Jira: SUP-1866
What/Why?
SUP-1866:
Due to rounding, the data is biased. So when the back end verifies based on the front end data, the value does not match, resulting in an error.
Modified to: When calling the invoice payment interface, the value is not rounded.
B2B-1290:
SUP-1866 caused the problem of B2B-1290, here the value entered in the input box will be compatible
Rollout/Rollback
undo pr
Testing
SUP-1866：

B2B-1290:

please, add a why... describe the issue

Hi @bc-victor
Today, when discussing the issue in SUP-1866 with micah, I confirmed that B2B-1290 was caused by SUP-1866.
I noticed that you raised this PR, so I added a [commit] to this PR and supplemented the changes for SUP-1866 and B2B-1290.

This issue has been tested in the staging environment.
Please check. @bc-victor @bc-micah

thanks @BrianJiang2021 . Merging.


[TEST][FLAKY] tests/python/frontend/tflite/test_forward.py::test_forward_convolution

https://ci.tvm.ai/job/tvm/job/master/1322/execution/node/354/log/

cc @anijain2305

Thanks @tqchen for diligently adding issues. For this one, I looked at the logs and this is the duplicate of https://github.com/apache/incubator-tvm/issues/6064
The PR to disable the tests is here - https://github.com/apache/incubator-tvm/issues/6064
It was failing CI earlier due to some other issues. I have retriggered CI. Lets try to land that PR soon.

Move to #6064 then, thanks @anijain2305


Error upon calling ExecuteNextAsync in v1.14.0 in Azure App Services

With the 1.14.0 of Microsoft.Azure.Documents.Client.dll I have been unable to make calls to  IDocumentQuery.ExecuteNextAsync after deploying my Web Api to Azure App Services.
When running my Web Api from localhost it works just fine, but not in Azure. Reverting to the 1.13.4 dll fixes the problem.
I've attached what the eventlog says.
Microsoft.Azure.Documents.Client-error.txt

I have exactly the same problem when running in Azure Cloud Service:
http://stackoverflow.com/questions/43985540/documentdb-client-1-14-kills-running-process

I've run into another related problem: when running DocumendDB client 1.13.4 against the latest local emulator I get the following exception:
Newtonsoft.Json.JsonReaderException
{"Unexpected character encountered while parsing value: ≻. Path '', line 0, position 0."}
   at Newtonsoft.Json.JsonTextReader.ParseValue()
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(JsonReader reader, JsonContract contract, Boolean hasConverter)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
   at Microsoft.Azure.Documents.Query.QueryPartitionProvider.GetPartitionedQueryExecutionInfoInternal(SqlQuerySpec querySpec, PartitionKeyDefinition partitionKeyDefinition, Boolean requireFormattableOrderByQuery, Boolean isContinuationExpected)
   at Microsoft.Azure.Documents.Routing.PartitionRoutingHelper.GetProvidedPartitionKeyRanges(SqlQuerySpec querySpec, Boolean enableCrossPartitionQuery, Boolean parallelizeCrossPartitionQuery, Boolean isContinuationExpected, PartitionKeyDefinition partitionKeyDefinition, QueryPartitionProvider queryPartitionProvider, String clientApiVersion, QueryInfo& queryInfo)
   at Microsoft.Azure.Documents.Query.DefaultDocumentQueryExecutionContext.<TryGetTargetPartitionKeyRangeAsync>d__1e.MoveNext()
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Azure.Documents.Query.DefaultDocumentQueryExecutionContext.<ExecuteOnceAsync>d__a.MoveNext()

Clearly there has been a breaking change in handling partition keys.

I have also seen that JsonReadException (with 1.13.4 client). Also happens when connecting to Cosmos DB in Azure.

happens to me when ddb used inside an azure webjob, locally it runs fine

Me too.

Three days of issues, compounded by the West Europe outage, and going via Premium Support.
We eventually found this.
This is a breaking release - it should be fixed or pulled. At least acknowledged.

I've got a tweet from DocDB team a few days ago stating that they are
"actively looking" into it.
On Sat, 20 May 2017 21:40 Kieron Lanning<EMAIL_ADDRESS>wrote:

Three days of issues, compounded by the West Europe outage, and going via
Premium Support.
We eventually found this.
This is a breaking release - it should be fixed or pulled. At least
acknowledged.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Azure/azure-documentdb-dotnet/issues/259#issuecomment-302897437,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABsWj3J006WCIFFSLMz6A3jyyD_0B0huks5r70-xgaJpZM4NbonB
.

To summarize, we identified a critical issue in the .NET SDK v1.14.0 release on x64 machines that dont support SSE4 instructions. We are working on a patch, but meanwhile please use https://www.nuget.org/packages/Microsoft.Azure.DocumentDB/1.13.4 or earlier. We will post an update when a patch is available.
We have posted an advisory on Twitter.

Could you please include the link to the tweet? I can't find any related
tweet under @DocumentDB handle.
On Sun, 21 May 2017 18:18 Aravind Ramachandran<EMAIL_ADDRESS>wrote:

To summarize, we identified a critical issue in the .NET SDK v1.14.0
release on x64 machines that dont support SSE4 instructions. We are working
on a patch, but meanwhile please use
https://www.nuget.org/packages/Microsoft.Azure.DocumentDB/1.13.4 or
earlier. We will post an update when a patch is available.
We have posted an advisory on Twitter.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Azure/azure-documentdb-dotnet/issues/259#issuecomment-302950120,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABsWj81Owqfs23wwvjnNDdZFfpq8NXfjks5r8HHvgaJpZM4NbonB
.

https://twitter.com/AzureCosmosDB/status/866341263955550208

@jkonecki and others - can you please test https://www.nuget.org/packages/Microsoft.Azure.DocumentDB/1.14.1
We believe this addresses the issue, but would like to validate that this covers all cases.

This seems to have fixed the original erroring use case (Azure WebJob would fail on first call to database) but I'm seeing a new issue where new logins are failing (Azure Website).  I'm debugging and will update this as I know more.. but wanted to put it out quick for anyone else experimenting.

I can confirm te original issue has been solved for me. I haven't experienced the problem reported by @codecadwallader

@codecadwallader let's follow up on a new Github issue for the problem you reported. Closing this one.

@codecadwallader  https://github.com/Azure/azure-documentdb-dotnet/issues/267


Eliminate contention on thread semaphors

Currently go-threads have a simplistic implementation of synchronized processes working on each thread with mutual exclusion. It results in a huge semaphor acquiring times, stacked delays and finally leads to request failures.

[ ] Analyze semaphor statistics, collected on a cafe node
[ ] Recognize internal processes affected by semaphors
[ ] Propose new design, eliminating synchronization problems
[ ] Make implementation
[ ] Make PR back to textile repository including motivation and analysis

2 days for research and then estimate

We need to change library architecture


Removing ie8-theme link

I believe we still have a reference to ie8-theme in serverRefTop :)

I believe we still have a reference to ie8-theme in serverRefTop :)

Ahh I missed that. Done!


Adding Declared license

Type: Missing
Summary:
Adding Declared license
Details:
Package license file in ClearlyDefined - https://clearlydefined.io/file/b60b18c3a580a564216584526901f5808700762896d7efc6f651b36f9049a329
Resolution:
Matches license link on NuGet page - https://raw.githubusercontent.com/nsubstitute/NSubstitute/master/LICENSE.txt
Affected definitions:

NSubstitute 2.0.3

@geneh Can you resolve this conflict? Thanks.

Done!


Attach upgrades to the network

When using the pocket/turtle wireless bridge, other peripherals should be provided to the network. This is required for #60 to work properly.
However I recommend we only attach specific peripherals - others might not expect to be attached to more than one computer - some sort of INetworkCompatible interface.

Partially implemented in a82e37b358a7a1cfb9adb4de2bf376b616d0fd38

Implemented for pocket computers in b302c71bacf8a5050e5de21eba86b6a44b2dc477. Peripherals should be updated when they change which will need some work.


When i use E-Shop With mongodb it refuse the connection due to -process out of memory

C:\xampp\htdocs\eshop-master\eshop-mongodb>node debug.js
----------------------------------------------------> PID: 5452 (v3.0)
PID          : 1872
Node.js      : v4.4.7
Total.js     : v2.0.1
Name         : E-shop
Version      : 6.0.0
Author       : Total.js Labs
Date         : 2016-08-15 12:53:40
Mode         : debug
http://<IP_ADDRESS>:8000/
<--- Last few GCs --->
25200 ms: Scavenge 968.6 (1010.2) -> 968.6 (1010.2) MB, 0.1 / 0 ms (+ 2.0 ms in 1 steps since last GC) [allocation failure] [incremental marking delaying mark-sweep].
25773 ms: Mark-sweep 968.6 (1010.2) -> 585.4 (623.7) MB, 573.4 / 0 ms (+ 2.0 ms in 2 steps since start of marking, biggest step 2.0 ms) [last resort gc].
26256 ms: Mark-sweep 585.4 (623.7) -> 585.4 (623.7) MB, 482.7 / 0 ms [last resort gc].
<--- JS stacktrace --->
==== JS stack trace =========================================
Security context: 000001B46DCB4639
2: /* anonymous */ [C:\xampp\htdocs\eshop-master\eshop-mongodb\models\pages.js:~397] [pc=000000DCC2F3DDDA] (this=0000015404E59F29 <a SchemaBuilderEntity with map<PHONE_NUMBER>5B7CD1>,error=000
001B46DC084B9 <an ErrorBuilder with map<PHONE_NUMBER>5AB049>,model=000001B46DC041B9 ,url=000002CC55A3A4D9 <String[1]: />,callback=000001B46DC085C9 <JS Function (SharedFunctionInfo 00000
328E5AF53...
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory
C:\xampp\htdocs\eshop-master\eshop-mongodb>

@chiragkanjariya Can you please provide some more informations?
Is it fresh installation of E-shop or have you been using it for a while?
How many pages, products and orders do you have in DB?
Have you changed anything in the code?
Thanks

thanks for response.


Automated cherry pick of #4168: fix: 避免创建安全组规则时未能接收到安全组参数

Cherry pick of #4168 on release/2.13.
#4168: fix: 避免创建安全组规则时未能接收到安全组参数

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.13@e3c1eb7). Click here to learn what that means.
The diff coverage is n/a.

@@              Coverage Diff               @@
##             release/2.13   #4247   +/-   ##
==============================================
  Coverage                ?   6.87%
==============================================
  Files                   ?     519
  Lines                   ?   88128
  Branches                ?       0
==============================================
  Hits                    ?    6055
  Misses                  ?   81575
  Partials                ?     498

Flag
Coverage Δ

#aFlag
6.87% <ø> (?)

Continue to review full report at Codecov.

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

/approve
/lgtm


(cloud-merge) Fix the case timeout because the sql fetches too many datas

Proposed changes
Issue Number: close #xxx

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

run buildall

run buildall


Compile error

when upgrading substrate

Can be closed with https://github.com/integritee-network/sgx-setup/issues/5


init: basic version of action

This is the initial version of the action

Will add some unit tests as a follow-up


New placeholder

Add a placeholder to retrieve the boot by business
%jobsr_user_boost_{jobsr_user_jobs}_money%

https://github.com/Zrips/Jobs/wiki/Placeholders#complexed-placeholders

It is to recover the current profession of the player and not a specific profession

You can't display such a variable without giving the job name at least.


"module" and "esModuleInterop" options should have affectsEmit set to true

TypeScript Version:  3.4.5

Search Terms: tsbuildinfo
Code
n/a
Expected behavior:
Changing the module or esModuleInterop options should invalidate the tsbuildinfo file, because it affects the emit.
Actual behavior:
Emitted files remain unchanged even though the option value has been modified.
Playground Link:
n/a
Related Issues:
https://github.com/Microsoft/TypeScript/issues/31118

I'd like to take a look at this if that's ok?


Invalidate parameters cache on circuit copy

Summary
Previously, the caching of the parameter view could persist between copies of the circuit because it was part of the copy.copy.

Details and comments
Fix #12617.
I verified that this is present in 1.1.0 as well.

@mergifyio backport stable/0.46 stable/1.1

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
6 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.003%) to 89.74%

Files with Coverage Reduction
New Missed Lines
%

crates/qasm2/src/lex.rs
6
92.37%

Totals

Change from base Build<PHONE_NUMBER>:
0.003%

Covered Lines:
63573

Relevant Lines:
70841

💛  - Coveralls


PowerShellVersion should be required for modules

Users need to know the PS version requirements for a module. To specify, add a value for PowerShellVersion key in the module manifest.
To verify, get the manifest:
iex (cat -raw (gmo -list ).Path)
Or PSModuleInfo
(gmo -list ).PowerShellVersion

I think it would be best if lack of a PowerShellVersion attribute generated a warning that the PowerShellVersion attribute should be added for any modules that require PowerShell 3.0 or later.  Legacy modules written for PowerShell 2.0 that work as is without a PowerShellVersion attribute in the manifest shouldn't be forced to have a manifest update when it is actually not required (hence the warning).

This brings up an interesting point about modules compatible with v2: we should probably provide a default profile that targets modules which intend to be compatible with v2.


wil::zstring_view data and c_str are not SAL annotated to indicate _Ret_z_, triggering analyzers

The implementation of wil::zstring_view does not have SAL annotations to indicate that the pointer returned by the data and c_str points to a null-terminated sequence. We are trying to use WIL's string view to improve safety and prevent the analyzer from flagging every usage of std's string_view, especially when we forcefully need to return raw pointers across-ABI interactions. Is there a plan to add annotations? Thanks in advance!

please create a PR with the fix. if you want to start in os.2020, that is acceptable.


[uriparser] update to 0.9.6

Fix #22395
[uriparser] update to 0.9.6
All features have been tested successfullly in the following triplet:
x64-windows
x64-windows-static
x86-windows

Thanks!


refactor: replace interface{} with any

Thank you but I don't think this is really necessary and it shouldn't have any effect for the end user.
I'll consider updating in the develop branch the 2 Go files sometime before v0.19 but it is definitely not something important.
Also note that the types.d.ts are auto generated and the file shouldn't be edited by hand.

@ganigeorgiev ok


Add ability to delete an kid account as a parent

As a parent, i should be able to delete one of my own kids account :
if the kid is u13

it should delete the kid profile and user
it should delete all attendances of the user
it should delete and free any tickets the user may have booked, in the future or in the past
it should remove the kids from the shared parents (other choice would be to not delete it at all and just remove the relationship with this parent)
if the kid is o13 (?)
it should not remove the kid
it should remove the relationship parent/kid and notify the parent of this quirk
@rosa : should we copy the data information to another "stats" table or do we consider this is mostly for duplicate/faulty kids?
Thoughts @rosalanghammer ?
Ref : https://github.com/CoderDojo/community-platform/issues/1193

I've a parent in my dojo which has created 5 children accounts instead of 2 by mistake and would like to remove the exceeding 3 accounts. Please consider this as user story as well.

We do, but our work capacity is quite small :)
In your scenario @sandrobonazzola it's an human error. We mostly thought of it as of "I want to leave the platform". Both scenarios are valid, but not with the same impact
In the meantime, I can take care of those extra kids if you want, contact me by email or PM on the forum :+1:

@Wardormeur I'm gathering man power :-) https://twitter.com/SandroBonazzola/status/876896919536246784

Is this still needing work? Id love to do the backend for it :)

Hey @williamlangroudi  :)
It does, indeed. There are new plans for the user-service, but by the time it get there, I believe your contribution would already have been useful in several ways!
In term of scope, that would mean that the user is :

deleted (table cd_profiles, sys_user and sys_login if exists, function may exists for sys_*, but definitely doesn't for cd_profiles: https://github.com/CoderDojo/cp-users-service)
his memberships are soft deleted (table cd_usersdojos, the function "sortof" already exists in cp-dojos-service, as the payload controls the content of the relationship)
his participations to events are deleted (table cd_applications, function to be implemented in https://github.com/CoderDojo/events-service)
and the action accessible to the parents. My pick would be to use the Vuejs one, but the My children page is currently in angular1 (https://github.com/CoderDojo/cp-zen-platform/blob/master/web/public/js/controllers/my-children-controller.js). Going for a rewrite of the page may be a bit "too much" when it comes to simply adding a button. I would, however, recommend a confirmation dialog. We'll get to that on time ;)
A bit of guidance to start it of :
Set-up https://github.com/CoderDojo/cp-local-development/
Make use of chaining from hapijs rather than using senecajs's networking ( example https://github.com/CoderDojo/cp-zen-platform/blob/master/web/lib/handlers/dojo.js#L5)
not all services have testing. I'll be behind to review as much as my time allows it :)

As you can see, it's quite the task. I'd be happy to help you out in the process, even unload some of it with my time if you're into it :)


feat: eliminate a few more tiny lodash libraries

Our bundle size is still massive, and our only dependencies are these huge gobs of lodash. Most of the pain is probably in _has (which is wrong anyway), but start by trimming out some of the easier ones.
And perform some general maintenance while we're here.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add support to ignore reverted commits

I just reverted a (conventional) commit. The problem is, that in the release notes this feature is still included. I have not found a way to exclude (ignore) a commit.
Would it be a good idea to add parsers that ignore previously added commits? For example, I have the following history.

sha=a001 message=Start
sha=a002 message=feat: a new feature
...
sha=a003 message=revert a002 feat: a new feature

If git cliff supported revert parsers, I could do something like this
commit_parsers = [
 ...
 { message = "^revert\s+(?<sha>.{40})", revert="true" }
]

Another option would be to add the git SHA explicitly
commit_parsers = [
 ...
 { sha = "7976e3a76d3a27e8024d95eeb51d75bbd7391e95", skip="true" }
]

Or is there another option that I did not find in the documentation?

I ended up with a similar situation before, made ever worse by the fact that it was a breaking change. The generated release notes not only had a giant BREAKING CHANGE warning, but also a revert for it. These are definitely things that should cancel each-other out, whether automatically or manually.

I think supporting sha in commit_parsers is a good start so I implemented that in #385 - feel free to have a look / test it out.
About detecting revert commits (i.e. cancelling out commits), there are some pending questions:

How do we know a commit is a revert commit?

Does git2 (i.e. git internals) provide any information about that?
Do we need to need to manually parse the commit body ("Reverts ... ") to get the SHA1 of the reverted commit?
Can this be offloaded to the conventional commit parser?

No, yes, maybe so.
As far as I know off the top of my head revert commits to not have any special meta data that can reliably be used other than parsing the commit message. It is not even guaranteed that they follow the commit message pattern, although being built into Git as a default message means a large portion of them will follow it.
Revert {{ original_message }}.
This reverts commit {{ original_sha }}.

The pattern you probably want to search for is not even the first line of the subject "Revert" but the "reverts commit " bit from the full body.

The pattern you probably want to search for is not even the first line of the subject "Revert" but the "reverts commit " bit from the full body.

Yeah I think that should be easily parseable.
Another question is how would config look like if we decide to skip revert commits and remove reverted commits from the changelog? Something like the following maybe?
[git]
include_revert_commits = false

Or even better, we can combine this with #85:
[git]
# commit types to skip as default, possible values are "merge" and "revert"
skip_commits = ["merge", "revert"]

Also, does enabling this automatically cancel-out the reverted commits? I guess yes.

Thanks for implementing the issue to ignore commits by adding the SHA to .cliffignore. This works very well.
Maybe a revert of a commit can be detected if a commit follows in the history that:

Is a revert-commit. Maybe defined by adding a parser like { message = "^[Rr]evert", revert = true }
Has a potentially short SHA in the body that was seen previously in the history

If this is not enough security, one can match the commit message with a regex defined in the parser to get the SHA as the group SHA.
{ message = "^[Rr]evert", revert = true, pattern="This reverts\\s+(commit)?\\s+(?<SHA>[a-fA-f0-9]+)"}

The text is somewhat defined here, so the pattern could be defaulted to the above without explicitly defining it.


Can solidity process images?

Solidity is a language for smart contacts deployed in Ethereum, It can deal with voting, crowd funding and so on. I wander whether this language can process images? Can this language support some libraries like OpenCV ? Please give me some advice and thank you very much.

@zrpkid this is the issue tracker for OpenZeppelin, a framework to build secure smart contracts on Ethereum, and as such is not the intended place for these kind of questions. Please ask in the Ethereum stackexchange, or in one of the Ethereum Gitter channels.


Generate Documentation Automatically from OAS specifications

This feature aims to provide automatic documentation generation capability to developer portal.
Refer: Issue-420

Publisher portal documents page view for a rest api with one user uploaded document

Publisher portal view for any other apis rather than rest (without any user uploaded documents)

Publisher portal view for any other apis rather than rest (with one user uploaded document)

Publisher portal view when viewing the generated document

Devportal documents page landing page for rest apis

Devportal view when switching to other user uploaded documents

Devportal view when an incorrect document url is requested

Since all the docmentation-related test cases passed which were affected by this PR and the failed cases are close to the expected number of intermittent failures, I am merging this PR.


Robot hangs up using any king of sh or terminal call

robotframework==6.1.1
Macos: 14.0 (23A344)
Python: 3.8.10
Whenever I try to call an executable script from a test it hangs up and the terminal crashes.
I tried these different methods:

Using run process
Run Keyword                   Run Process  ./scripts/mysql-reset-seed.sh  shell=yes

Using a Python script

@keyword('Reset Database')
def reset_database():
  subprocess.call("./mysql-reset-seed.sh", shell=True)

With this robot code:
Suite Setup
    # Initialize Test Data
    Log To Console    'hehe'
    Reset Database
    Log To Console    'hehe'

This is not failing in our Jenkins environment so it could be a macOS version issue (I recently update to 14).
It stays here:

Processes can hang for various reasons but one common problem is that output buffers get full. That can be avoided by redirecting outputs to files or /dev/null. See the Process library documentation for information how to do that with Run Process and subprocess docs for how to do it with call.
I doubt this is caused by Robot Framework itself. If you believe it is, you would need to create a simple example demonstrating the issue that doesn't involve databases or anything like that.

Processes can hang for various reasons but one common problem is that output buffers get full. That can be avoided by redirecting outputs to files or /dev/null. See the Process library documentation for information how to do that with Run Process and subprocess docs for how to do it with call.
I doubt this is caused by Robot Framework itself. If you believe it is, you would need to create a simple example demonstrating the issue that doesn't involve databases or anything like that.

Actually the script that i am using just has two echo lines with a dummy text:
echo 'Mysql reset started'
echo 'Mysql reset finished'

The subprocess call from the python script also hangs.

+1
Have exactly the same issue, it just hangs up.
Tried different keywords from Process library and OperatingSystem.

robotframework==6.1.1
Macos: 14.0 (23A344)
Python 3.11.5

Simple example:
*** Test Cases *** Run Command Directly     ${output}=    Run Process   command=pwd      Log    ${output}
*** Test Cases *** Run Command Directly     ${rc}    ${output}=    Run And Return RC And Output    ${consoleCommand}     Log   ${output}

Looks to be fixed in https://github.com/MarketSquare/robotframework-browser/pull/3155

@allanrodriguezh I don't have MySQL installed so your example won't work. Can you create an example without such external dependencies?

@allanrodriguezh I don't have MySQL installed so your example won't work. Can you create an example without such external dependencies?

The problem is with any script call, as I said, I just had a script with two echo functions.
But it seems solved in the @AntonShopin comment's link. Thanks Anton!


Create a script for downloading pre-trained embeddings

Create Python script which has the same functionality of the script and put it on pyner/tool/vector.

#54 solve this issue.

Merged.


1.2.0 rebase

Modulus Pull Request
Rebasing 1.2.0-rc onto main
Description

Checklist

[x] I am familiar with the Contributing Guidelines.
[x] New or existing tests cover these changes.
[x] The documentation is up to date with these changes.
[x] The CHANGELOG.md is up to date with these changes.
[x] An issue is linked to this pull request.

Dependencies

/blossom-ci

Sorry, I was making the sym one at the same time as this:
https://github.com/NVIDIA/modulus-sym/pull/66
Please see this one with some additional house keeping edits.


Database fails to save under C++ API

Binary Ninja Version: 1.0.794-dev, a22d60e6
Platform: Windows 10
Build the API and edit the bin-info sample from the examples folder, then add logging
LogToFile(BNLogLevel::DebugLog, "c:\\users\\public\\log.txt", false);
and after the analysis try to save a database
        std::string output = "C:\\Users\\Public\\dbTest\\Test.exe.bndb"; 	if (!bv->CreateDatabase(output)) 		printf("Error saving  database %08X\n", GetLastError());
Microsoft C++ exception: BinaryNinjaCore::DatabaseException
and in the log `Error initializing database: Unable to read file contents to store into database.
The same happens under linux, i tried using different path formats etc.
GetLastError() reports ERROR_HANDLE_EOF additionally a 12kb truncated db file
is created always.
Test.zip

What line number are you adding that code to? It's unfortunately a bit of a pain to troubleshoot since we use a different build system internally that doesn't build those plugins, but I the API itself does work -- it's the same API that the UI calls to save a database.

Here is an example of what i used under linux, i marked the 2 lines with // TEST, i did also notice that python api works from within the gui if i type bv.create_database("/tmp/test.bndb") however not from a compiled cpp program. something very odd is going on 😄
bin-info.zip

The easiest way to reproduce/debug this would be on ubuntu,
simply install the latest dev branch of binja or eventually your
debug build then:
cd ~ https://github.com/Vector35/binaryninja-api.git cd binaryninja-api/ make cd examples/bin-info/
copy the Test.exe to ~ and the bin-info.cpp over the one
in the examples/bin-info/ then:
cp ~/binaryninja/libbinaryninjacore.so.1 ~/binaryninja/libbinaryninjacore.so make bin/bininfo ~/Test.exe
on another note, i dont know why you have to copy and rename the core lib
for make to work
regards,
Rob.

My guess is you aren't calling InitCorePlugins() which is required for initialization.

I just checked my test code and i am calling InitCorePlugins() and i double checked the path is correct

Just to keep this issue up to date, the latest information is that:
bv->ReadBuffer() returns always a 0 length DataBuffer

Just looked into this again.
One way to fix this could have been to do:
if (!bv->GetParentView()->CreateDatabase("/tmp/test.bndb"))  // TEST

I've fixed the API so it does this for you automatically so your original code should work. Sorry about the delay in getting this fixed.
Fixed in build 1.1.1126


Add text deringing post-filter

Would be useful for screencasting and is not covered by the paint deringing filter.

@jmvalin are you referring to the old paint deringing filter? Should we close this issue?


Implement Mayhem

Added a Dockerfile for fuzz testing
Added Mayhemfile(s) for fuzz testing
Added a mayhem.yml file for automatically running fuzz tests with Mayhem using the mcode action
Wrote 2 fuzz harnesses

I removed the image name from the Mayhemfile. And replaced StdRng with Pcg64 to ensure that it generates the same random number on different builds/platforms.


Disallow multiple GPU profiling options at runtime

The options are effectively mutually exclusive, and hpcrun should detect and report the incompatibility

It will be fixed in the new cupti branch, which is not yet public.

This repository has moved to GitLab, please continue this issue there.


path and aliases setup in webpack

Path aliases are a way to change the starting location of an import from your file to a custom-named.

completed path and aliases setup in webpack5


Cleanup profile_build methods.

@dclarizio @h-kataria @martinpovolny  Please review.
This started as just a cleanup of the whitespace for the one profile_build method in vm_common.rb, and then I realized this is doing all kinds of useless stuff.

The sorting is not needed because the @catinfo is not used for doing anything for sorting.
The policy variable is a hash of all the attributes of a policy, but the code skips every attribute except "description".  So, in effect, all you have to do is just get the description.
The nil check is really just checking if we've ever seen that key before, so switch to .key? instead.
The nearly exact same code from vm_common is in policy_support, and that one already did bullet 2 above.  I made the code the same.  I think these two methods should be shared somewhere, but I have no idea where to put it...maybe application_controller/policy_support.rb in a new method?

Is profile_build defined in vm_common.rb even used?
Seems the only place this method is called is from policy_support.rb's profile_toggle.
Other than that, looks good.
(I had thought the sort may be needed for the return values, but it doesn't look like the return value of porfile_build is used.)

ping @martinpovolny - could you take a look at this one?

@kbrock Yeah, if it's not used I can just kill it

@Fryguy This pull request is not mergeable. Please rebase and repush.

Rebased...  @martinpovolny What are your thoughts on consolidating this?  I'm also not sure on the answer to @kbrock's question Is profile_build defined in vm_common.rb even used?; do you know?

profile_build method in vm_common is being called from profile_toggle that is no longer in use, profile_toggle method used to toggle between large/small tree sizes with dhtmlx trees we dont have this feature implemented with dynatrees. @dclarizio maybe we can delete these methods, thoughts?

profile_build method in vm_common is being called from profile_toggle that is no longer in use, profile_toggle method used to toggle between large/small tree sizes with dhtmlx trees we don't have this feature implemented with dynatrees. Same for methods in policy area, those are no longer in use. @dclarizio maybe we can delete these methods, thoughts?

If this is the only caller, then I agree, we can remove them.

yay I will delete them :scissors: :tada: :balloon:

I will do deletes in separate PR...when this goes green I think it's good.

:heart_eyes:   I love deleting unused methods... Less for us to wrap our minds around :+1:


[Docker Extension] Empty State needed for “Deploy a Service Mesh”

Current Behavior
When no Meshery Adapters are present, the “Deploy a Service Mesh” section is empty, leaving users potentially confused.

Desired Behavior
Show an empty state message, providing information to the user.
Implementation
See https://github.com/meshery/meshery/tree/master/install/docker-extension
Mockups
Show an empty state message, like:

No Meshery Adapters Detected

Connect one or more Meshery adapters to manage service meshes

Contributor Guides and Resources

🛠 Meshery Build & Release Strategy
📚 Instructions for contributing to documentation

Meshery documentation site and source

🎨 Wireframes and designs for Meshery UI in Figma
🙋🏾🙋🏼 Questions: Layer5 Discussion Forum and Layer5 Community Slack

@leecalcote Can I work on this issue

Thanks, @harkiratsm


Cleanup bindable package (loopback)

Renames loopback to bind, since this package is about being (go) bindable (specifically for gomobile)
Add error handling to binded methods, instead of logging and ignoring (still needs error handling in Android/iOS code to percolate to user in some way)
Separate Init and InitOnce methods, iOS can use regular Init method and fail if it errors
Remove serverURI config which was unused and could cause problems (e.g. stick with run mode)
Enable KBFS init (was commented out until PR was commited)

@chrisnojima
cc @keybase/react-hackers

👍


Absurd mem usage on situational_awareness/host/computerdetails

Empire Version
1.6.0
OS Information (Linux flavor, Python version)
win server 2k8 x86 edition
Expected behavior and description of the error, including any actions taken immediately prior to the error. The more detail the better.
(Empire: agents) > usemodule situational_awareness/host/computerdetails
(Empire: situational_awareness/host/computerdetails) > info
Options:

  Name      Required    Value                     Description
  ----      --------    -------                   -----------
  4648      False                                 Switch. Only return 4648 logon
                                                  information (RDP to another machine).
  AppLocker False                                 Switch. Only return AppLocker logs.
  Agent     True        None                      Agent to run module on.
  4624      False                                 Switch. Only return 4624 logon
                                                  information (logons to this machine).
  SavedRDP  False                                 Switch. Only return saved RDP
                                                  connections.
  PSScripts False                                 Switch. Only return PowerShell scripts
                                                  run from operational log.

powershell proceeds to kill itself via consuming up to 2gb of memory in one sitting.
my guess is it occurs where there's way too many event logs here because they're all loaded into memory before being filtered. which isn't very efficient tbh.
context: there's probably like 9001gb of event logs on the host. it'll probably OOM powershell on any call to Get-EventLog. is there any possibility of preventing/catching issues like this where it'll go out of memory really easily?
Screenshot of error, embedded text output, or Pastebin link to the error
my agent is now dead -- because a 2GB powershell.exe pegged memory and the system became unresponsive -- and we will be holding a funeral for it
Any additional information

We could change this to something like: Get-EventLog -Newest 100. Thoughts?

This can probably be alleviated by doing it with wmi and using filters.
Example:
gwmi -class win32_ntlogevent -Filter "LogFile='Security' and (EventIdentifier='4624' or EventIdentifier='4648')"
I see only the Message is accessed so what you get can be further shrunk with:
gwmi -query "Select Message from win32_ntlogevent where LogFile='Security' and (EventIdentifier='4624' or EventIdentifier='4628')"

Added a Limit option to only return the n newest log entries.


mixer/Beam Partner GenaroFPS: problema de configuração do Partner Center

Olá Boa tarde,
Lucas Santos
<EMAIL_ADDRESS>or<EMAIL_ADDRESS>Estou com problemas na inscrição no Partner Center recebi a seguinte mensagem de:
''Mixer Partnerships Onboarding Team<EMAIL_ADDRESS>Hello GenaroFPS,
Partner Center has encountered an issue with the tax information you provided during setup. Please visit Partner Center using the links below and verify that everything was entered correctly. Thank you!
Best regards,''
No mesmo dia verifiquei os dados estão ok e responde o mesmo e-mail que recebi com as seguintes prints.

No outro dia recebi uma outra mensagem para contatar a vocês para que possa me ajudar.
''Mixer Partnerships Onboarding Team<EMAIL_ADDRESS>Hi GenaroFPS,
Thanks so much for the heads up, it looks like you're having issues with Partner Center setup. Please follow the instructions below to get this resolved:
Go to https://developer.. Under Contact us, choose the Developer support topic of Dashboard Issue. Then choose the Issue Type of Account setup & management. Head over to the right-hand side of your screen and click the SUBMIT AN INCIDENT button. In the New support request window, please fill out the Issue title as "Mixer/Beam Partner GenaroFPS: Partner Center Setup Issue", fill out your first and last name and the email entries, then enter information regarding the error you are experiencing and hit the submit button.
Let me know your ticket number if they don't answer you within 24 hours.
Thanks,
Michaela''
Preciso da ajuda de vocês para solucionar este problemas pois estou no processo de inscrição para parceria.

Thanks for taking the time to let us know about this. However, this feels not so much like feedback specifically about the documentation but rather like a support request. Here are all of the developer support resources, for completeness.

The Feedback Hub app is the right place to lobby for a change, a feature, or to make a suggestion.
For community assistance with development questions, there are our forums, and StackOverflow.
The Windows developer support site explains other support options.
The Visual Studio developer community is available, and responsive. The former User Voice feature is now there on the Suggest a feature tab, if you want to lobby for a change, a feature, or to make a suggestion.
For developer issues, or suspected product bugs, there's Microsoft Support; a support engineer will look at the repro and see whether the issue is a Microsoft product bug, or something else. If it's a bug with a Microsoft product then the ticket will be free of charge.

If you receive assistance via any support resource, and you believe that information would help us improve the docs, then please come back and let us know.


how to write "pretty print" JSON for the HA-Bridge .db files (device.db, group.db)

Because that is much more easy to debug...
Thank you for your feedbacks!! :-)
With kind regards,
Jan

http://jsonprettyprint.net/

Is that possible or not? Thanks in advance for your feedback.
If there are any questions, so please don't heisitate to ask me.

Just cut and paste it into the json pretty print on the web page listed above. There are tools you can download as well. There is no real need for the ha-bridge to provide that in itself.

Thank you very much for your feedback.
I meant the the habridge will create pretty-printed files... much more easy to debug.
Or can i create a "hook" that executes a shellscript with uses ´jq´ and ´sponge´ (e.g.) for format the habridge JSON config files?

https://github.com/bwssytems/ha-bridge/issues/1300

Is that not possible??

anyway...


Search of a split word not finding the non split word.

For example:
If I search for "open vpn", without quotes, I would expect to see "openvpn" being part of the retrieved list.
Instead The list is showing 10 items unrelated to "openvpn".
This type of search used to work with the previous search version while narrowing the list down to the few items directly related to the word in question without showing un unnecessary long list of unrelated items.
Would it be possible to design a menu which would give the possibility to choose between different ways of searching?
Thank you

@alciono Thank you for reporting this. I'm trying to tune the search and it is easy to miss things.
The search should definetly show all 10 openvpn related packages. I think I have an idea why it is not.

Thanks a lot garbas for paying attention and taking the time to feed back!
Exiting idea this faceted search. Looking forward to seeing the results.
Please let me know if I could be of any help knowing that I am just starting to scratch the surface of the NIX intricacies.
Cheers

@alciono It took a bit longer then expected, but I managed to improve the search (in #197). Would you have time to test it and give feedback?

Many thanks garbas. I tried a few similar searches and it is working well now.
I also tried ".httpd." ( without quotes) to isolate from .lighttpd.,  for example, and  get a blank result.
Search doesn't seem to acknowledge punctuation. Is it on purpose?
If this remark is worth considering, would you take it from here or should I open  a new issue?
Thank you very much for your quick and good work!

@alciono if you want to isolate from others options I would use whole prefix services.httpd. even httpd. works.
In the future this is going to be improved even more with grouping of the options via faceted search. This is actually something I will be focusing next once redesign of nixos.org is done.


(darwin cci_srsi)  TypeError: Cannot read property 'currency' of undefined

KINDLY READ AND ACT ON THE BELOW INFORMATION BEFORE FILING YOUR ISSUE!
Please go to our Zenbot subreddit for questions, help and support:
https://www.reddit.com/r/zenbot/
If you open a GitHub issue, here is our policy:

It must be a bug or a feature request.
The form below must be filled out.

Here's why we have that policy: Zenbot developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals and rarely leads to bugfixes or useful enhancements. GitHub also notifies hundreds of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Reddit.

Remove everything above before creating your issue.
System information

Have I written custom code (as opposed to using zenbot vanilla): No

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 16.04

Zenbot version (commit ref, or version):  93452e6

Zenbot branch: unstable

NodeJS version: latest

Python version (when using a python script): latest

Exact command to reproduce (include everything):
/scripts/genetic_backtester/darwin.js --selector="bitfinex.ETH-USD" --days="50" --currency_capital="1000" --use_strategies="cci_srsi" --population="40" --population_data="simulations/cci_srsi1" --asset_capital="1" --order_type="taker"

Did I make any changes to conf-sample.js?: No

Describe the problem
The error didn't happen in first sims, it happens after the first 2 completed
Source code / Error logs
TypeError: Cannot read property 'currency' of undefined
TypeError: Cannot read property 'currency' of undefined
at processOutput (/home/osboxes/zenbot/lib/backtester.js:66:47)
at ChildProcess.proc.on (/home/osboxes/zenbot/lib/backtester.js:522:18)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
0: 67.1%, 1: 1.1%, 2: 67.2%
it happens for cci_srsi and srsi_macd

Just checking, but did you do an npm install after pulling the update?

I'm using this : git pull && npm install
But this error in darwin with those two specific strategy gave me this error since a long time ago
can someone try it by running a quick 20 pop of it please ?
./scripts/genetic_backtester/darwin.js --selector="bitfinex.ETH-USD" --days="50" --currency_capital="1000" --use_strategies="srsi_macd" --population="20" --population_data="simulations/cci_srsi1" --asset_capital="1" --order_type="taker"

same with trend_ema, idk if i'm missing something

+1
I've the same issue wiht srsi_macd


How to use a connected service from a custom Azure Devops extension index.ts?

I've written a custom extension for Azure Devops which contains a custom Connected Service and Build task. I can use the Connected Service when configuring the task via the pipeline visual designer to select a service and then use that service to populate a picklist with data from my API.
However, how do I use the selected service when the task is executed. I need to access the service from the index.ts. The service tells me the endpoint and the API Key.
In the index.ts I can access the Guid of the service using something like the following code but can I use the Guid to get the service or it's details?

import tl = require('azure-pipelines-task-lib/task');
async function run() {
try {
const serviceString: string = tl.getInput('TestService', true);
if (serviceString == 'bad') {
tl.setResult(tl.TaskResult.Failed, 'Bad input was given');
return;
} ...

I've done lots of searching and reading (including the following articles) but haven't been able to find any examples.
https://docs.microsoft.com/en-us/azure/devops/extend/develop/add-build-task?view=azure-devops
https://docs.microsoft.com/en-us/azure/devops/extend/develop/service-endpoints?view=azure-devops

Anyone know?

Fancy finding you here as well, @patricknolan
It would be good to add this as an example if one does not exist quite yet, but to use a connected service, you can do the following (copied from my own SO answer in case the internet breaks):

The trick is to use some more functions from azure-pipelines-task-lib/task (in your case, tl):
If your custom Connected Service adds an authentication scheme of type ms.vss-endpoint.endpoint-auth-scheme-token, then the id of the token input would be apitoken, and the code you would need to add would look something like the following:
const endpoint = tl.getEndpointUrl(serviceString, true);
// The second parameter here is the name of the associated input
// value(s) of the specific authenticationSchemes type (more on that later).
const token = tl.getEndpointAuthorizationParameter(serviceString, "apitoken", false)

How do I know this? Experimentation.
Other Authentication Types
My current experience echoes that of others' from the past: Azure DevOps does not play nicely with fully custom Connected Services. It does ship with a few that cover most bases. Depending on which one(s) you use, the value you pass for the second parameter of tl.getEndpointAuthorizationParameter changes:
ms.vss-endpoint.endpoint-auth-scheme-token
Ships with one standard input:

apitoken

ms.vss-endpoint.endpoint-auth-scheme-basic
Ships with two inputs:

username
password

Example Plus Suggestion
Suggestion first: to make your code clearer, rename your serviceString variable to connectedServiceId (or some variation to be clear that is represents the ID of your connected service).
import tl = require('azure-pipelines-task-lib/task');

async function run() {
    try {
        const connectedServiceId = tl.getInput('TestService', true);

        if (connectedServiceId == 'bad' || connectedServiceId == undefined) {
            tl.setResult(tl.TaskResult.Failed, 'Bad input was given');
            return;
        }

        const endpoint = tl.getEndpointUrl(connectedServiceId, true);
        const token = tl.getEndpointAuthorizationParameter(connectedServiceId, "apitoken", false)
    }
    finally {
        // Probably report some failure here, right?
    }
}

Additionally, adding the connectedServiceId == undefined check allows for safe usage of connectedServiceId in later function calls.
Examples I found helpful/created

SonarQube's extensions
Universal Git Tags


Tracker should not go down during deployment

Right now, whenever someone commits to this repo, the website goes down for a minute while the new code is git pulled, npm installed and the node process is started.
I'm okay with a few seconds of downtime for https://webtorrent.io, but not for the tracker, which is relied upon by other services. When the tracker is down, peers can't find each other.

We can reduce the downtime by copying the technique that study notes uses
https://github.com/feross/studynotes/blob/master/bin/deploy.sh


[docs] Improve documentation of savepoints

This PR improves the documentation of savepoints. The focus is on two questions that I have seen several times on the mailing list:

"How are savepoints different from checkpoints?"
"Can I move savepoints?".

CC @dawidwys

Great work. This would be much more explicit.

Thanks for the comments! Will merge.


UnicodeDecodeError on table value functions with non ASCII column names

This might be related to the general issue #112, but as it's a very specific case with exampel code and infrastrcuture details, I decided to open a separate issue:
When running an SQL query that accesses a table value function (TVF) with non ASCII characters in the column name (e.g. ä), pyodbc fails with:

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe4 in position 1: invalid continuation byte

To reproduce this, first create a trivial table value function TVF_temp that returns a single value with the heading "Waehrung" (ASCIIfied German for "currency"):
use SomeDatabase;

if object_id('SomeDatabase.dbo.TVF_temp') is not null
    drop function dbo.TVF_temp;
go

create function dbo.TVF_temp(@Waehrung char(1)) returns table as return
select @Waehrung as [Waehrung];
go

Using SQL Server Management Studio, it is possible to query this function:
select * from dbo.TVF_temp('€');

As expected, the result is:
Waehrung
--------
€

(1 row(s) affected)

Now run the same query using Python and pyodbc (replace SomeServer and SomeDatabase by approriate values and possibly add additonal connection parameters):
# -*- coding: utf-8 -*-
import logging
import pyodbc
from contextlib import closing

# Specify connection.
server = 'SomeServer'
database = 'SomeDatabase'
connection_string = 'DRIVER={{SQL Server}};SERVER={server};DATABASE={database}'.format(server=server, database=database)
query_statement = "select * from dbo.TVF_temp('€')"

# Setup logging.
_log = logging.getLogger('temp')
logging.basicConfig(level=logging.INFO)

_log.info('connecting to %s', connection_string)
with pyodbc.connect(connection_string) as connection:
    with closing(connection.cursor()) as cursor:
        _log.info
        try:
            for row in cursor.execute(query_statement):
                _log.info('row=%s', row)
        except UnicodeDecodeError as error:
            _log.error('error.args=%s', error.args)
            raise
_log.info('done')

With Python 3.5, the output is as expected:
INFO:temp:connecting to DRIVER={SQL Server};SERVER=...;DATABASE=...
INFO:temp:row = ('€', )
INFO:temp:done

This is exactly what was desired, so passing data and retrieving results with Unicode characters works fine.
Now change the column name [Waehrung] to [Währung]:
create function dbo.TVF_temp(@Waehrung char(1)) returns table as return
select @Waehrung as [Währung];
go

In SQL Server Management Studio this still yields the expected result, with a nice "ä" in the Heading:
Währung
-------
€

(1 row(s) affected)

Running the Python code again though fails with:
INFO:temp:connecting to DRIVER={SQL Server};SERVER=...;DATABASE=...
ERROR:temp:error.args=('utf-8', b'W\xe4hrung', 1, 2, 'invalid continuation byte')
Traceback (most recent call last):
  File "C:\Temp\pyodbc_unicode_error.py", line 23, in <module>
    for row in cursor.execute(query_statement):
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe4 in position 1: invalid continuation byte

In error.args you can see that "Währung" is encoded using CP1252 (b'W\xe4hrung'), nevertheless pyodbc attempts to decode it as UTF-8.
Adding CHARSET=UTF-8 to the connection string does not change this.
When researching the topic, I found the following ODBC Unicode tutorial: https://www.progress.com/odbc/resources/tutorials/unicode/non-unicode. According to this it seems that on Unix ODBC indeeed uses UTF-8 while under Windows it's either CP1252 or UTF16/UCS2.
Interestingly, running the above code with Python 2.6 yields the following result:
INFO:temp:connecting to DRIVER={SQL Server};SERVER=...;DATABASE=...
INFO:temp:row = ('\x80', )
INFO:temp:done

So it works, but Python just uses a byte string to represent the result, effectively leaving the CP1252 Euro Sign at 0x80 instead of translating it to the Unicode code point 0x20ac. I only added this example for comparison, I don't expect any fixes or changes for the dated pyodbc version we were using with Python 2.
So seemingly proper Unicode translation happens for queries sent, parameters specified and results transmitted over ODBC. For indirectly quering columns names used by table value functions, no translation takes placed and things are left to the mercy of Python default encoding. Which in case of Python 3's default result in a UnicodeDecodeError when attempting to decode CP1252 using UTF-8.
Here are the details on the infrastructure used:
Python

Python 3.5.1 (via Anaconda 3), pyodbc 3.0.10
Python 2.6.6, pyodbc 2.1.11

MS SQL Server properties:

Version: 11.0.56133.0
Language: English
Server collation: Latin_1_General_CI_AS
Operating System: Windows NT 6.1 (7601)
Platform: NT x64

ODBC Driver 1:

Name: SQL Server
Version: 6.01.7601.17514
File: SQLSRV32.DDL

ODBC Driver 2 (same result):

SQL Server Native Client 11.0
Version: 2011.110.3000.00
SQLNCLI11.DDL

I believe Unicode issues are fixed in the newly released 4.0.0 version.


fix: packages installation

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

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Possibility to improve  pdf.fromHTML ?

It would be perfect to be able to convert the fromHTML plugin to work with more CSS information and column width of table.
In particular I'm interested that the PDF generated from the following file (test.txt that is in fact an HTML) would renders as closely in the PDF that in the result obtained in the browser.
It means mainly that

the table should be 100% wide and column width correctly evaluated
SVG should be rendered
CSS for table should be taken into account
subscript and superscript should be understood
font-family should be understood (at least arial versus times)
cantering should be correctly interpreting

test.pdf
test.txt

it's a lot of hard work, unfortunately. html2canvas has manually coded rules for interpreting every individual css parameter... the same would have to be done here, I think.

Yes I can guess this. This is why I have provided a limited number of CSS tags and for sure I'm ready to pay more bounty if somebody want to do this code. I think I would not be the only one to be interested in this ...

The best html to pdf converter that i know is nreco pdf generator for c#, i could realize that it uses a html renderer library to make things like css, js rendering works good (PhantomJS wrapper for .NET (C#)) and i'm thinking if could jsPDF use some library like PhantonJS to do the same work like nreco

The problem there is license. All our tools and library we use are MIT / BSD (see http://www.cheminfo.org, http://github.com/cheminfo, http://github.com/cheminfo-js and https://github.com/npellet/visualizer). This is why we could not use this library.

Hi there,
There's now a html2pdf example which much better supports generating documents from HTML and an svg example :)
Get the latest master and try:
npm install
npm start

Then visit localhost:8000/examples/canvg_context2d/bar_graph_with_text_and_lines.html
localhost:8000/examples/html2pdf/showcase.html
Hope this works well for you :)
Many thanks,
James


ng-options is not trustable when using track by

I'm submitting a ...

[x] bug report

Current behavior:
ng-options is not trustable when using track by; modified info in any object inside the array is not passed to the ng-model - even though the object in the array shows the change, the ng-model isn't updated
Expected / new behavior:
ng-options should update the changes made to any object to the ng-model when the track by condition is met
Minimal reproduction of the problem with instructions:

In the first example, the items[1] information changes, but ng-model is not updated. When the user selects another option and selects the previous option again, ng-model is updated correctly.

Manipulating the list by reference

Live demo: http://jsbin.com/kexobeyahe/1/edit?html,js,output

<!DOCTYPE html>

  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>

    <select ng-model="c.wrapper.item"
            ng-options="it as it.name for it in c.items track by it.id"></select>

    Model

{{c.wrapper | json}}

    List

{{c.items | json}}

console.clear()

angular
  .module('app', [])
  .controller('Controller', function($scope, $timeout) {
    this.items = [
      {
        id: 1,
        code: 111,
        name: 'a'
      },
      {
        id: 2,
        code: 222,
        name: 'b'
      },
      {
        id: 3,
        code: 333,
        name: 'c'
      }
    ]

    this.wrapper = {
      // points to items[1], because of the id
      item: {
        id: 2,
        code: 333,
        name: 'b'
      }
    }

    $timeout(() => {
      // wrapper.item doesn't change, but it should
      this.items[1].code = 9999999
    }, 1000)
  })

In the second example, the items[1] information changes, but ng-model is not updated. But, when the user selects another option and selects the previous option again, ng-model is still not updated correctly - it's stuck with the first value

Manipulating the list by copy

Live demo: http://jsbin.com/jitiwemofa/edit?html,js,output

<!DOCTYPE html>

  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>

    <select ng-model="c.wrapper.item"
            ng-options="it as it.name for it in c.items track by it.id"></select>

    Model

{{c.wrapper | json}}

    List

{{c.items | json}}

console.clear()

angular
  .module('app', [])
  .controller('Controller', function($scope, $timeout) {
    var list = [
      {
        id: 1,
        code: 111,
        name: 'a'
      },
      {
        id: 2,
        code: 222,
        name: 'b'
      },
      {
        id: 3,
        code: 333,
        name: 'c'
      }
    ]

    this.items = angular.copy(list)

    this.wrapper = {
      // points to items[1], because of the id
      item: {
        id: 2,
        code: 222,
        name: 'b'
      }
    }

    $timeout(() => {
      var newList = angular.copy(list)

      // newList[1] changes correctly
      // wrapper.item doesn't change, but it should
      newList[1].code = 9999999

      // changes to the list passed to the list the view knows about
      this.items = newList
    }, 1000)
  })

AngularJS version: 1.x
Browser: all

This seems to be the same issue as https://github.com/angular/angular.js/issues/15980. The root cause is that ngOptions makes a copy of the options when track by is used.

Thanks, @Narretz.
I'll post the live demos there too, since it's a bit more explicity on what's going on.


1 call of showToast() does not fire a Toast Notification, 2 calls of showToast() fires 2 Toast Notifications...

I am working with this library for the first time (am also new to c++) and am running into an issue where the recommended code for usage will not send a toast notification, but including a second line of
WinToast::instance()->showToast(templ, handler)
causes 2 toast notifications to fire. Trying to understand what the root cause of this is so that I can resolve the issue I am experiencing here...
Code I have been using and experiencing the issue with is below and my compiler is set for c++20:
int main() {
    if (!WinToast::isCompatible())
    {
        std::wcout << L"Error, your system in not supported!" << std::endl;
    }

    WinToast::instance()->setAppName(L"WinToastExample");
    const auto aumi = WinToast::configureAUMI(L"mohabouje", L"wintoast", L"wintoastexample", L"20161006");
    WinToast::instance()->setAppUserModelId(aumi);

    if (!WinToast::instance()->initialize())
    {
        std::wcout << L"Error, could not initialize the lib!" << std::endl;
    }

    CustomHandler* handler = new CustomHandler;
    WinToastTemplate templ = WinToastTemplate(WinToastTemplate::Text02);
    templ.setTextField(L"title", WinToastTemplate::FirstLine);
    templ.setTextField(L"subtitle", WinToastTemplate::SecondLine);

    WinToast::instance()->showToast(templ, handler) // when this line is commented out, 0 toast notifications fire when compiled exe is run, when this line is included, 2 toast notifications fire when compiled exe is run

    if (!WinToast::instance()->showToast(templ, handler))
    {
        std::wcout << L"Error: Could not launch your toast notification!" << std::endl;
    }
}

definition of customHandler for reference (copy/paste from WinToast/example/qt-gui-example/WinToastExample/mainwindow.cpp):
class CustomHandler : public IWinToastHandler {
public:
    void toastActivated() const {
        std::wcout << L"The user clicked in this toast" << std::endl;
    }

    void toastActivated(int actionIndex) const {
        std::wcout << L"The user clicked on button #" << actionIndex << L" in this toast" << std::endl;
    }

    void toastFailed() const {
        std::wcout << L"Error showing current toast" << std::endl;
    }
    void toastDismissed(WinToastDismissalReason state) const {
        switch (state) {
        case UserCanceled:
            std::wcout << L"The user dismissed this toast" << std::endl;
            break;
        case ApplicationHidden:
            std::wcout << L"The application hid the toast using ToastNotifier.hide()" << std::endl;
            break;
        case TimedOut:
            std::wcout << L"The toast has timed out" << std::endl;
            break;
        default:
            std::wcout << L"Toast not activated" << std::endl;
            break;
        }
    }
};

Any help that anyone can offer is greatly appreciated.

Try calling CoInitialize(NULL); at the start of the main() and CoUnintialize(); at the end of the main().


Summary email - header and date range format

Expand header content / format
Date range key can't isn't coming through for user satisfaction module, so use start and end keys for all cases

@tombooth - comments amended, thanks


Build failed, can not find package Microsoft.DotNet.ILCompiler.LLVM

Using VS 2022 v17.11.4
Installed 8.0.11 SDK
Test.csproj:
<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Dll</OutputType>
    <TargetFramework>net8.0</TargetFramework>
    <ImplicitUsings>enable</ImplicitUsings>
    <Nullable>enable</Nullable>

	<RuntimeIdentifier>wasi-wasm</RuntimeIdentifier>
	<UseAppHost>false</UseAppHost>
	<PublishTrimmed>true</PublishTrimmed>
	<InvariantGlobalization>true</InvariantGlobalization>
	<SelfContained>true</SelfContained>
  </PropertyGroup>

	<ItemGroup>
	  <PackageReference Include="BytecodeAlliance.Componentize.DotNet.Wasm.SDK" Version="0.4.0-preview00007" />
	  <PackageReference Include="WebAssembly" Version="1.2.1" />
	</ItemGroup>
</Project>

nuget.config (next to the .sln solution file):
<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <packageSources>
    <!--To inherit the global NuGet package sources remove the <clear/> line below -->
    <clear />
    <add key="dotnet-experimental" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-experimental/nuget/v3/index.json" />
    <add key="nuget" value="https://api.nuget.org/v3/index.json" />
  </packageSources>
</configuration>

Trying to build, i got:
warning NU1604: Project dependency Microsoft.DotNet.ILCompiler.LLVM does not contain an inclusive lower bound. Include a lower bound in the dependency version to ensure consistent restore results.
warning NU1604: Project dependency runtime.win-x64.Microsoft.DotNet.ILCompiler.LLVM does not contain an inclusive lower bound. Include a lower bound in the dependency version to ensure consistent restore re
error NU1101: Unable to find package runtime.win-x64.Microsoft.DotNet.ILCompiler.LLVM. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Pac
error NU1101: Unable to find package Microsoft.DotNet.ILCompiler.LLVM. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org

Something I have missed?

it doesn't seem to be picking up the packageSources , so something is up with the nuget.config

Is there another nuget.config closer to the project csproj?  It looks like it is using a different configuration based on:
No packages exist with this id in source(s):
C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages,
[nuget.org](http://nuget.org/)


User: other feedback

What best describes you?
Person needing help
User feedback:

how could I receive a call when after the recording tells you to leave to a message  the recording hangs up .. i have been calling everyday  and always the same thing   Impossible to leave a message for help with a eviction proses

Question id: date housing court denied motion to stay
Variable being sought: date_housing_court_denied_motion_to_stay
Package version | <IP_ADDRESS>

The trial court number (833-91-COURT) on that page is still on the trial court's website in a few places (https://www.mass.gov/info-details/eviction-hearing-help-at-attorney-generals-office-technology-center-northeast#additional-help-), so it's likely okay? What we could and should do is also link the specific housing court's number on this screen as well, since we have that data in MACourts.


add base_url to Report, make report links work on dev

[ ] Closes #175 .
[ ] I am familiar with the contributing guidelines.
[ ] Tests added.
[ ] Updates entries to docs/source/api.rst for API changes.
[ ] Adds descriptions to appropriate "what's new" file in docs/source/whatsnew for all changes. Includes link to the GitHub Issue with :issue:`num` or this Pull Request with :pull:`num`. Includes contributor name and/or GitHub username (link with :ghuser:`user`).
[ ] New code is fully documented. Includes numpydoc compliant docstrings, examples, and comments where necessary.
[ ] Maintainer: Appropriate GitHub Labels and Milestone are assigned to the Pull Request and linked Issue.

@alorenzo175 I'll fix the tests if you're ok with the approach. Could also scrap this and wait for a reports refactor. I kinda wanted to put base_url on the Observations and Forecasts, too, but that felt like a step too far for now.

Not sure how I feel about it. I do think if we do it for reports, then we should do it for basically everything else. I think we should just hold off for now.


[Bug]: UI/UX issues in page properties

Is there an existing issue for this?

[X] I have searched the existing issues

Description
Below is the list of issues in the "Page Properties" page:

Icons in Page Properties page do not have a hover state. Refer to the video below.

The “Not Visible” icon is not a CTA like the other icons.
https://www.loom.com/share/2dde2ef1f7464d2181e56c7a6d5b0c27

The “General” in the Page Properties → Settings pop-up does not look like a section heading. There should be something to differentiate it from rest of the options.

The “Go to page” link add no value in the Page properties page as the page name itself is clickable. Can we remove it?

Steps To Reproduce

Go to any application.
In the pages section click on the "Page Properties" icon

Public Sample App
No response
Version
Cloud

No longer valid in the new IDE


[#1537] AbbreviationMatcher now treats aliases of the same object as one match

Fixes #1537.

I was finally able to review this.
Thank you for the contribution!


Getting translation issue in price field of downloadable product.

Bug report
Title
Getting translation issue in price field of downloadable product.
Issue Description
Getting translation issue in price field of downloadable product.
Preconditions
Please provide as detailed information about your environment as possible.
1. framework Version.-master

Steps to reproduce
It is important to provide a set of clear steps to reproduce this bug.If relevant please include code samples.
1. step1-Create a downloadable product
2. step2- Leave price field blank in customer group section and save.

Expected result
Error message should be correct
Actual result

Not fixed

fixed


Assignable access controls for who can edit templates

Add access controls to limit who can edit templates

A version of this has been completed. See issue #1083.  The initial version, already implemented, restricts access to the creator of the template (designated as the 'owner') and/or anyone with template_admin access. The initial template set, loaded at system start, are all marked as being owned by 'template-admin' a non-email owner; to avoid the possibility of accidental ownership.
A more complete "access control list" type of access is probably desirable, so I am leaving this issue open to represent that approach.


Profiling

In GitLab by @JoerivanEngelen on Feb 23, 2018, 11:38
I noticed two bottlenecks when I profiled reading a >4000 .IDFs.
Perhaps some of these bottlenecks can be tackled easily, some may cost too much work.
When memmap = True:
There are a lot of calls to setnodataheader(), I understand that since it is a memmap, it is easiest to change the raw file.
But when this has to be called frequently, it slows everything down. Is there an alternative?
The other is:
das.sort(key=lambda da: (da.layer, da.time))
I think what makes this sorting so slow is that the dimensions have to be accessed very frequently for a lot of files, even though accessing these is relatively slow compared than just accessing integers from e.g. a list. I'm now testing this.
prof_imodpy_gitlab.Result

In GitLab by @visr on Mar 19, 2018, 14:33
mentioned in commit b35798950d45395380db9391668dc20f4aa2dae0

In GitLab by @visr on Mar 19, 2018, 14:34
Hmm I was not expecting da.layer to be so slow. Perhaps we should file an issue in xarray.
I found this already speeds up things 6x as well:
import timeit

setup = """
import imod
da = imod.idf.load('conc/conc_*.IDF')
"""
print(timeit.timeit('da.layer', setup=setup, number=100))
# -> 0.00678
print(timeit.timeit("da.coords['layer']", setup=setup, number=100))
# -> 0.00135

Which I committed in b35798950d45395380db9391668dc20f4aa2dae0
Does it still speed up more using your fix?

In GitLab by @JoerivanEngelen on Feb 23, 2018, 14:51
Update on the second bottleneck:
Yes it was the accessing the DataArrays dimensions that resulted in the slow times.
I created an ugly fix by letting dataarray return xr.DataArray(x, **kwargs), kwargs
I stored these kwargs in a list and then sorted das based on the coordinates in the separate list of kwargs.
This reduced loading 4000 .IDFs from roughly 3 minutes to 24 seconds. (Note in this test I put memmap = False)
prof_imodpy_gitlab2.Result

In GitLab by @Huite on Mar 13, 2019, 18:58
closed

In GitLab by @visr on Mar 19, 2018, 16:56

I created an ugly fix by letting dataarray return xr.DataArray(x, **kwargs), kwargs

This is actually fine with me, as long as we don't return that unless we specify it in a keyword argument, similar to https://docs.scipy.org/doc/numpy-1.10.1/reference/generated/numpy.unique.html

When memmap = True:
There are a lot of calls to setnodataheader(), I understand that since it is a memmap, it is easiest to change the raw file.
But when this has to be called frequently, it slows everything down. Is there an alternative?

I don't know a good alternative. If we don't change the header we are creating corrupt file. We could of course just ignore nodata altogether, but now we have a situation where you can just forget about nodata values altogether, it's always NaN, so I prefer to keep it that way. I just made a small optimisation where it doesn't call setnodataheader if the nodata value is already NaN. If possible, try to get your output IDFs with NaN already.

In GitLab by @JoerivanEngelen on Mar 19, 2018, 16:29
Using a regular dictionary to store this data just for the sorting is still a lot faster.
I already implemented the change you proposed in my subdomain branch but it still resulted in the sorting to be a major bottleneck.
import timeit

setup = """
import imod
da = imod.idf.load(r'conc\\conc_*.IDF')"""

print(timeit.timeit('da.layer', setup=setup, number=100))
# -> 0.010727244886690884

print(timeit.timeit("da.coords['layer']", setup=setup, number=100))
# -> 0.0020677789787709178

setup2 = """
kwargs = {"layer" : 10}
"""

print(timeit.timeit("kwargs['layer']", setup = setup2, number = 100))
# -> 4.515697591134238e-06

My current branch has diverged quite severely from the master branch, due to several tweaks I had to make to read in  a lot of IDF's and some things I had to change to get this package to run on Cartesius.
I will try to update the subdomains branch if I find time, as it will cost me the least effort to merge and as the sorting of das is mostly a problem you run into when using subdomains.

In GitLab by @visr on Mar 19, 2018, 16:57
mentioned in commit 954c08cbc41b9175816b393431107afecddd5e98

In GitLab by @Huite on Mar 13, 2019, 18:58
Pretty much taken care of in c0bc7926c212ae252086b1b897a451cf986f343a by sorting based on header data rather than constructed DataArrays. Closing.


Sankey Plot can crash dashboard

Guidelines

NeoDash version: 2.1.5

Neo4j Database version: 4.3 Community

Steps to reproduce
When a circular link is detected in a sankey plot, the complete browser window crashes.
I could not narrow it down more as I am confused that there whould be circular links in the first place in the data I passed to it. Anyhow, whatever the user's query is, it should only crash the Sankey plot, not the complete dashboard. In case that the dashboard is reloaded from the cache, it also directly crashes again, making it impossible to save progress done elsewhere.

Could you please have a look for the next release?
CC @BennuFire

Hi Daniel, this issue has been resolved in version 2.1.6.
Thanks for letting us know!
Niels


bump(deps): bitcoin-waila to 0.4.0

bump(deps): bitcoin-waila to 0.4.0

for cashu token redeem
for fedimint OOBNotes

I can comeback to this one after the next waila release @benthecarman, any other requirements for cutting a release there ?

@oleonardolima
https://github.com/MutinyWallet/bitcoin-waila/releases/tag/v0.4.0

@benthecarman @futurepaul Is it normal for the iOS step fail ?

@benthecarman @futurepaul Is it normal for the iOS step fail ?

Yeah ios build uses env secrets that aren't available to outside PRs

Since we added the fedimint dep to waila, we don't want to use the wasm package of it anymore but are instead going to expose through mutiny-node so we don't blow up our download size
I have this PR if you want to try playing around with it https://github.com/MutinyWallet/mutiny-node/pull/1045

closing in favor of https://github.com/MutinyWallet/mutiny-node/pull/1045 and https://github.com/MutinyWallet/mutiny-web/pull/894


Edit inputs instructions for validation step

So it's not obvious from the current set up what a user is supposed to do if they are in the validation step and don't like what they see. We need to provide some instructions or a button or something that they can use to correct something that is wrong. It's not really much of a validation if they can't fix it! Sorry I didn't think about this before.
This is where in the process that I mean, and the update will need to sit on all validation plot sub-pages:

We currently add some text like this, let's discuss how to do this

Can we update this text box to the following?
"Validate that your data inputs are correct by reviewing these data summary plots. If you find something that does not look correct, navigate to the input Excel file in your project folder, update the values, save the file, and restart this application. The program will reload these input values and you can check again that they have been updated correctly.
The population pyramid represents the portion of the population that is of a particular age and gender at the start of the modeled timeframe, and should match your current local demographics. Fertility and mortality rates will determine how this population changes over time, and the values should match your current situation. Seasonality is applied to particular tasks performed by the health worker(s) and represents the changes in demand for healthcare throughout the year."

this is fixed in https://github.com/InstituteforDiseaseModeling/PACE-HRH-UI/blob/b33bd5534c70b4c7663bb811b3ce972efad118d6/R/tooltips.R#L13


Fix for Foundation on Android 6.0

Foundation's Host.swift uses getifaddrs and freeifaddrs, which currently causes Android 6.0 or below to fail to link.
This PR changes these functions so they are called using dlsym, which allows Android 6.0 to link while providing full support on later versions of Android.
This is a replacement for PR https://github.com/apple/swift-corelibs-foundation/pull/2439.

Does this not re-open the library each call and then lookup the symbol?  That isn't the cheapest operation.  Why not make the function a lazy static that will cache the value avoiding the dlopen/dlsym on subsequent calls?

No, RTLD_NOLOAD returns the shared instance.  This is only called once, then _resolved is set to true.

Ah, good point about the NOLOAD.  I’m still worried that future changes may end up calling the function multiple times, looking up the symbol each time.

Understood. I updated the comment to capture your concern for any future changes.

@swift-ci please test

CC: @drodriguez

@swift-ci please test

@swift-ci please test

I don't know why CI is not triggering. Someone else might need to trigger it.

@swift-ci please test

Looks like the Linux build failed for an unrelated reason...
/home/buildnode/jenkins/workspace/swift-corelibs-foundation-PR-Linux/swift-corelibs-libdispatch/src/swift/Block.swift:13:8: error: no such module 'CDispatch'

@swift-ci please test linux


Google Sign In Not Working

Describe the bug
The Google Sign-In is not working
To Reproduce
Steps to reproduce the behavior:

Go to the Homepage
Click on Sign In using Google

Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Please Assign this to me.

How are you thinking of implementing this one? @GuptaTanisha

@ADRE9 I can use this doc as refernce

Hey @ADRE9  I want to work on this issue.Can you assign it to me?

Hey @lopamudra2000 we were thinking of integrating the firebase authentication with our current Webapp . Will you be able to integrate the firebase google sign in with the front end and then we will need to integrate it with the backend to verify the token that we get from the firebase ?

Yes @ADRE9 I'd do .I'll require the client api key.

Ok I'll set up a temporary client api key and upload in a file called as firebase.js. Will that be ok?

I have made the PR adding the feature of client side authentication of firebase google login. Please Review PR #161 .

Yes we have actually updated the package manager from npm to yarn .


Fix back navigation in tabNavigator

Fix #1398
In TabNavigator when tabBarVisible is false the navigation back throw an error.

Found another bug related, as soon as fixed I will make another PR.