ci: Replace bash publish script with flub publish tarballs

Replaces the inline bash script we use for publishing packages with flub publish tarballs.
I have tested these changes with a test branch and packages were published successfully to the test feed (run is from July 24 5pm PST): https://dev.azure.com/fluidframework/internal/_build/results?buildId=282806&view=logs&j=88a4f9f3-7925-540d-9db1-365e924a72d7&t=98d2c737-d312-5150-8db7-f2751688770a
AB#8821

In build-docker-service we seem to still be using the /pack/scoped path, and flub list --tarball. The publish steps are shared so we need to adjust that, right? See here, but it's not the only place in that file that would need adjustment.
And I found two other places, in the perf benchmarks pipeline, and in the e2e/stress pipelines, that look like they might also need an update.

Good finds. Do you know if there is a way to easily trigger all pipelines, or all pipelines that a PR would trigger, in the internal project? I basically need to run all pipelines that are triggered by this PR in the internal project so the publish phase actually happens.

I basically need to run all pipelines that are triggered by this PR in the internal project so the publish phase actually happens.

I just manually listed all the ones that were triggered by this PR, and I'll add links to the test runs once done.

Do you know if there is a way to easily trigger all pipelines, or all pipelines that a PR would trigger, in the internal project?

Not that I know of. Also note that the e2e/stress tests and perf benchmarks don't exist in the public project so won't show up in the list of pipelines triggered by the PR.


Add ALPN

Thanks!

I don't think we should have merged this. It's a pointer to pull requests, not to a package a user will be able to use...

It's explicitly mentioned that HTTP2 is not supported yet, and that it's a list of ongoing work. For someone looking for the status of HTTP2 in OCaml (maybe interested to contribute) this is useful information.

Eh... normally I'd agree that we should have only links to projects in the ecosystem. I think we can make a small exception temporarily for this. HTTP2 is very high priority for the community, and pointing people to the relevant places makes sense, I think. Let's just keep this up to date so we don't end up linking to old PRs.
Another example I can think of is the lwt PR for httpaf, which is super high priority for the community but has yet to be merged. I wouldn't mind directing people there to bug the maintainer :yum:


Need to document or revise use of context

It is unclear how to properly use the context passed to NewPublisher when creating a new to go-legs publisher.  It is then passed to newSimpleSetup(), where it is then used in the creation of a gossip pubsub and DataTransfer.  What this context controls is not clear. This is not used only for cancelation when creating the publisher, because canceling the context after NewPublisher returns affects the publisher's DataTransfer instance.
The context is passed when creating a DataTransfer instance here, but then that same context is also passed into the call to stop the DataTransfer here.  Again it is not clear what the context does, and if it is correct to use the same context in both of these places.

Fixed in #57


Why CallStatement does not use TInvocation ?

we have: callStatement --|> tWithArguments
and in FAST: tInvocation --|> tWithArguments
???

possibly due t the fact that TInvocation implies TExpression
Need to correct FAST #66

try to delete FASTFortranTExpression from FASTFortranTInvocation, see if nothing breaks.
if not do ASTFortranCallStatement -> FASTFortranTInvocation


Update deploy-overview.md

Correction on Line 30 for "Microsoft Teams Rooms"
Change to "Microsoft Teams"

@MikePlumleyMSFT
PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


Sidebar not Tabbed

Hi how can i force to have reall sidebar. Not as tabbed. Im trying Android and it still on bottom as Tabbed, but i want to have it as sidebar on left side..
I just used your example code from pub.dev.. 1:1

Hi @michalss apologies for the late reply for the issue you are facing but I wanted to confirm the actual interface you're trying to achieve, is it like this you wanted to achieve or something else,

if this what you wanted then you need to use the widget called 'Nautics' and use the widget inside the 'Row' widget with the
child other than nautics wrapped with 'Expandable' widget then you'll achieve the exact engagement.
And if you need any more help from me I am available to connect let me know I am more than happy to help.

Hi @michalss, I hope your issue is resolved by the use of Nautics widget with the direction I provided, if you still face any problems you can reopen the issue I will resolve it.
Thanks.


Validate integrity of KGX graph produced by oakx-grape

Run KGX validate after KGX nodes/edges are produced, to see if any changes have been made in the transformation process.

May also be able to more or less ignore the node file and its contents, as it's just a list of nodes in the edge file


Closing a C# code block corrupts text elsewhere in the file

From @df-adam on August 11, 2016 18:28

VSCode Version: Code - Insiders 1.5.0-insider (3313a641ec505098c8625c459e49af3e8f5eb793, 2016-08-11T06:04:17.155Z)
OS Version: Darwin x64 15.6.0
CSharp Extension 1.3.0

Steps to Reproduce:

Create a C# class

Add the closing brace

Observe the corruption in line 1 (using System;)

Copied from original issue: Microsoft/vscode#10443

This smells like an issue with auto-formatting.

It turns out that this was the same issue as https://github.com/OmniSharp/omnisharp-vscode/issues/660. This was a regression in VS Code that was fixed here: https://github.com/Microsoft/vscode/issues/11593.


Property or signature expected for src/aggregator/exponential-histogram/mapping/types.d.ts

What happened?
Steps to Reproduce
Building our project with sdk-metrics.
Expected Result
sdk-metrics loaded.
Actual Result
../node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/exponential-histogram/mapping/types.d.ts(11,5): error TS1131: Property or signature expected.
../node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/exponential-histogram/mapping/types.d.ts(11,9): error TS1005: ';' expected.
../node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/exponential-histogram/mapping/types.d.ts(11,16): error TS1005: ';' expected.
../node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/exponential-histogram/mapping/types.d.ts(12,1): error TS1128: Declaration or statement expected.
/usr/src/app/backend/build.js:31

Additional Details
Node v16.13.0
@opentelemetry/sdk-metrics 1.15.1
OpenTelemetry Setup Code
import { MetricExporter } from "@google-cloud/opentelemetry-cloud-monitoring-exporter";
import { GcpDetectorSync } from "@google-cloud/opentelemetry-resource-util";
import opentelemetry, { DiagConsoleLogger, DiagLogLevel, diag } from "@opentelemetry/api";
import { Resource } from "@opentelemetry/resources";
import { ConsoleMetricExporter, MeterProvider, PeriodicExportingMetricReader } from "@opentelemetry/sdk-metrics";
import { CURRENT_ENV, LOGGING_ENVIRONMENTS } from "@smartrr/constants/env";

diag.setLogger(new DiagConsoleLogger(), DiagLogLevel.DEBUG);

// Create MeterProvider
const meterProvider = new MeterProvider({
  // The resource attribute is used to identify the service that the metrics are for.
  resource: new Resource({
    "service.name": "service",
    "service.namespace": CURRENT_ENV,
  }).merge(new GcpDetectorSync().detect()),
});

// Register the exporter
if (LOGGING_ENVIRONMENTS.includes(CURRENT_ENV)) {
  const projectId = process.env.GCP_PROJECT_ID;
  meterProvider.addMetricReader(
    new PeriodicExportingMetricReader({
      // Export metrics every 10 seconds. 5 seconds is the smallest sample period allowed by
      // Cloud Monitoring.
      exportIntervalMillis: 10_000,
      exporter: new MetricExporter({
        projectId,
      }),
    })
  );
} else {
  meterProvider.addMetricReader(
    new PeriodicExportingMetricReader({
      exportIntervalMillis: 10_000,
      exporter: new ConsoleMetricExporter(),
    })
  );
}

package.json
No response
Relevant log output
../node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/exponential-histogram/mapping/types.d.ts(11,5): error TS1131: Property or signature expected.
../node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/exponential-histogram/mapping/types.d.ts(11,9): error TS1005: ';' expected.
../node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/exponential-histogram/mapping/types.d.ts(11,16): error TS1005: ';' expected.
../node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/exponential-histogram/mapping/types.d.ts(12,1): error TS1128: Declaration or statement expected.
/usr/src/app/backend/build.js:31

Cannot reproduce. Likely a problem with your build setup but without any hints which build system, which version, which config it's hard to conclude.
Maybe a too old typescript version? Try the same one as OTel or newer.

It could indeed be an old TS version. I'll do some poking. Thanks.

I'm seeing this issue as well, I'm on typescript 3.9.10

I upgraded typescript to 5.1.6 as a test (not that we can upgrade our version in the real world ™ for other reasons) and the issue disappeared.

Thanks for the fast response @jamtur01.
We've tried upgrading to 4.3.5 and still seeing this failure. Will try to binary search on the minimum required version for this to work.

Sorry - I should have mentioned I also tested on 4.4.4 (which is the TS version that sdk-metrics package uses and it worked. Again, we're stuck a little earlier but the issue is the version so shrug


Markups update causes issue with pick points

Pick points (MarkupEditor) is not available. It is like it is not registered.

Fixed via commit https://github.com/SlicerMorph/SlicerMorph/commit/7cc50a5042a12692fb0624875f204a7c8ede64ad


[Request] Linux script too

Description of the new feature / enhancement
Hi there. I love your work and I wanna know if you can do this for linux too. I can test if you need.
📸 Screenshots
No response

Hi, unfortunately I don't use Linux or Mac, so I can't create a script for those systems, but there is a much more powerful alternative to spicetify, it support for these OC


No team, but showing loading team message

I have no team, but it's showing this message

I also found that. It should be api give back a 404 here. Need to change the loader to empty.

why should api give back 404? api is right, it's UI error message problem.

Shiva and Sangeetha has been working toward this issue for a couple days. They will know how to fix it. Thanks

I believed this has been fixed


No OpenBazaar from within Public Libraries

Brief Description:
OpenBazaar-Server is not working within Public Libraries.
Attached the (anonymized) result of http://netalyzr.icsi.berkeley.edu/ in case one desire to work on
this problem.
Operating System (OS and version):  All
OpenBazaar version:  ID:51b1e55 downloaded 2016-Mar-01 03:29:14 UTC
Hardware:  Intel
Reproducible (Always):
Steps to reproduce:

start OpenBazaar-Server
stuck at:
2016-03-01 16:42:07+1300 [OpenBazaard] [INFO] Finding NAT Type...
2016-03-01 16:43:21+1300 [OpenBazaard] [INFO] Blocked on None:None
^CTraceback (most recent call last):
File "./openbazaard.py", line 291, in
Parser(OpenBazaard('/tmp/openbazaard.pid'))
File "./openbazaard.py", line 209, in init
getattr(self, args.command)()
File "./openbazaard.py", line 247, in start
int(args.heartbeatport), time.time())
File "./openbazaard.py", line 180, in run
KeyChain(db, start_server, heartbeat_server)
File "/home/user/OpenBazaar/OpenBazaar-Server/keys/keychain.py", line 28, in init
callback(self)
File "./openbazaard.py", line 111, in start_server
looping_retry(reactor.listenUDP, port, protocol)
File "/home/user/OpenBazaar/OpenBazaar-Server/net/utils.py", line 9, in looping_retry
time.sleep(0.5)
KeyboardInterrupt

Additional info (links, images, etc go here):

What happened when you used a VPN?

I will try a suggested VPN next time I'm in the Library.

I suggest ExpressVPN? Works nicely with other p2p software.

Closing because this is the same issue as #251


Update to Terraform Plugin Framework

We've added new, as of yet under construction, functionality to the Terraform Bridge, which allows us to generate resources based on the new Terraform Plugin Framework.
This pull request includes those changes, and updates the TLS provider based on today's unreleased default branch version.

Update provider to use new Terraform Plugin Framework
Generate SDKS

These fields have been removed from upstream as a breaking change, therefore need to be removed from the example code:
Error:     ./main.go:20:4: unknown field 'KeyAlgorithm' in struct literal of type tls.SelfSignedCertArgs
[265](https://github.com/pulumi/pulumi-tls/actions/runs/4018810998/jobs/6904986695#step:21:268)
  Error:     ./main.go:47:4: unknown field 'KeyAlgorithm' in struct literal of type tls.CertRequestArgs
[266](https://github.com/pulumi/pulumi-tls/actions/runs/4018810998/jobs/6904986695#step:21:269)
  Error:     ./main.go:62:4: unknown field 'CaKeyAlgorithm' in struct literal of type tls.LocallySignedCertArgs


SDK cannot locate MigrationTool class

While testing UPM packages, i encountered the following error when importing only the foundation.
SDK\Editor\Inspectors\UX\ManipulationHandler\ManipulationHandlerInspector.cs(199,17): error CS0246: The type or namespace name 'MigrationTool' could not be found (are you missing a using directive or an assembly reference?)

Looks like an assembly reference is incorrect or missing.

this appears to have been a packaging error. appears resolved in the latest test set


jQuery's test suite reports

I'm going to use this issue for keeping track of a few stats about jQuery's test suite (mostly about how many tests we are passing for each module), that we can run with a patched version of jQuery that uses Cash's methods.

These tests should be disabled because they fail too hard, navigating the tab out to another page:

Deprecated:
trigger() shortcuts
Event:

on/off(Object), on/off(Object, String)
on immediate propagation
originalEvent type of simulated event

Manipulation:

remove() event cleaning
detach() event cleaning

Selector:

Iframe dispatch should not affect jQuery (#13936)

These other tests are too slow, mostly because we aren't running the test suite properly and the mock server for dealing with AJAX request isn't started:

Manipulation:

Check if CSP nonce is preserved
Check if CSP nonce is preserved for external scripts with src attribute
jQuery.globalEval supports nonce

Event:

on(beforeunload)
preventDefault() on focusin does not throw exception
focusout/focusin support
focus-blur order (#12868)
Event handling works with multiple async focus events (gh-4350)

AJAX:

jQuery.ajax() - execute js for crossOrigin when dataType option is provided
jQuery.ajax() - JSONP - Query String (?n)
jQuery.ajax() - JSONP - Explicit callback param
jQuery.ajax() - JSONP - Callback in data
jQuery.ajax() - JSONP - POST
jQuery.ajax() - JSONP
jQuery.ajax() - JSON by content-type disabled with options
jQuery.ajax() - transitive conversions
#8205 - jQuery.ajax() - JSONP - re-use callbacks name
#11426 - jQuery.ajax() - loading binary data shouldn't throw an exception in IE
gh-2587 .*
jQuery.ajaxSetup({ timeout: Number }) - with global timeout
jQuery.fn.load() - 404 error callbacks
#2046 - jQuery.fn.load( String, Function ) with ajaxSetup on dataType json
#10524 - jQuery.fn.load() - data specified in ajaxSettings is merged in
jQuery.ajax() - responseText on error
jQuery.ajax() - events with context

Offset:

empty set

This is how many tests we are passing right now:

ready: 12/19
basic: 52/57
core: 324/373
callbacks: 1297/1297
deferred: 492/492
deprecated: 40/46
support: 5/10
data: 320/376
queue: 46/47
attributes: 384/525
event: 221/412

inspect more throughly

selector: 533/604
traversing: 214/286
manipulation: 543/731
wrap: 50/74
css: 520/688
serialize: 30/35
ajax: 397/444
effects: 570/669
offset: 136/808
dimensions: 56/164
animation: 64/64
tween: 70/70
total: 5094/6781

I think I discovered quite a few (mostly very minor) bugs this way.
Many of the failing tests come from methods we either don't implement at all or not fully, meaning we don't support all possible ways to pass arguments to all methods as jQuery does.
The remaining failing tests are mostly about edge cases.
I'll try to fix some of them and align Cash more with jQuery, at the moment I have a 910 lines document containing tests coming from jQuery's test suite that we I should take a closer look at.

Great stuff, thank you @fabiospampinato for making cash great!

As of today these other tests should be disabled for performance:

Core:

jQuery.readyException (custom)

And these many tests are passing:

ready: 12/19
basic: 53/57 (+1)
core: 327/372 (+3)
callbacks: 1297/1297
deferred: 492/492
deprecated: 40/46
support: 5/10
data: 323/376 (+3)
queue: 46/47
attributes: 405/525 (+21)
event: 210/412 (-11 (?))
selector: 548/604 (+15)
traversing: 226/286  (+12)
manipulation: 552/731 (+9)
wrap: 55/74 (+5)
css: 527/688 (+7)
serialize: 30/35
ajax: 397/444
effects: 579/669 (+9)
offset: 118/808 (-18 (?))
dimensions: 56/164
animation: 64/64
tween: 70/70
total: 5158/6781 (+64)

I'm not sure what's the deal with the regressions there, I'll have to take a second look at them, and it's impossible to get anywhere near 100% tests passing, but I'd say generally the more tests we can make pass the better, even though most of the bugs I'm fixing are about edge cases, a few are nice findings though.
I'm also attaching the document listing things that needs to be attentioned, I've deleted two thirds of it so far, still a fair amount of stuff left.
BUGS.md.zip

Updated report:

ready: 12/19
basic: 63/65 (+10)
core: 324/372 (-3)
callbacks: 1297/1297
deferred: 492/492
deprecated: 44/48 (+4)
support: 5/10
data: 323/376
queue: 46/47
attributes: 413/531 (+8)
event: 241/418 (+31)
selector: 548/604
traversing: 255/317 (+29)
manipulation: 552/731
wrap: 55/74
css: 527/688
serialize: 34/35 (+4)
ajax: 397/444
effects: 579/669
offset: 118/808
dimensions: 56/164
animation: 64/64
tween: 70/70
total: 5158/6823 (+74)

There's still quite a bit of work to do though, I might defer that to a later point in time.

Other tests to disable:

Dimensions:

window vs. large document

Offset:

absolute

Updated report:

ready: 12/19
basic: 63/65
core: 327/372 (+3)
callbacks: 1297/1297
deferred: 492/492
deprecated: 44/48
support: 5/10
data: 322/376 (-1)
queue: 46/47
attributes: 462/577 (+49)
event: 228/350 (-13 (??))
selector: 548/605
traversing: 257/317 (+2)
manipulation: 558/735 (+6)
wrap: 53/74 (-2)
css: 527/686
serialize: 34/35
ajax: 397/444
effects: 579/667
offset: 639/767 (+521)
dimensions: 85/186 (+29)
animation: 64/64
tween: 70/70

Now for whatever reason running all tests at once creates some extra weird exceptions, possibly because of the way we are patching jQuery with Cash's methods to run this test suite, so I'm going to stop reporting the "total" section in the report.
To summarize, as I think this is pretty much the last thorough iteration I'm gonna do on this, at least for a while: some new features have been implemented, the $.fn.offset|offsetParent|position methods are way more aligned with jQuery now (it seems they were kind of broken before), a few important bugs have been fixed, many nuances/edge cases are now fixed/Cash is more aligned with jQuery.
The leftover failing tests are: tests about features we don't implement, tests about features we implement slightly differently (documented in the migration guide), other things jQuery smooths over which I don't think it would necessarily make sense for Cash to smooth over too, possibly other actual bugs I missed.
I'm going to quickly review the remaining failing tests for the last time now, mostly in order to update the migration guide.
Unfortunately Cash's minified and gzipped size ballooned by about ~11.2% (~600B), which is kind of lot, but I think the improvement brought to the library are worth it. I'd say now Cash is considerably more stable and reliable than it was before.

Outstanding work :muscle: :muscle: :muscle:
@fabiospampinato any estimation when a release with all those fixes will be published?

I'd hope today.

"Final" report as of v6.0.1:

ready: 12/19
basic: 63/65
core: 327/372
callbacks: 1297/1297
deferred: 492/492
deprecated: 44/48
support: 5/10
data: 323/376 (+1)
queue: 46/47
attributes: 463/577 (+1)
event: 244/416 (+16)
selector: 548/605
traversing: 259/317 (+2)
manipulation: 561/735 (+3)
wrap: 55/74 (+2)
css: 527/686
serialize: 34/35
ajax: 397/444
effects: 579/667
offset: 639/767
dimensions: 85/186
animation: 64/64
tween: 70/70


Dynamic src doesn't work

When hardcoding the image path in the src attribute everything works fine:

but when I use a dynamic src from my components data the image is not linked properly
<template>

</template>

(this just outputs: )
I'm running Nuxt 2.7.1
Is it possible to have dynamic src values like this?
Thanks!

Hello @danielkellyio. That issue is related to Vue as you can see here:

https://github.com/nuxt/nuxt.js/issues/2667
https://github.com/vuejs-templates/webpack/issues/126


Do not allow unquoted escape sequences

This commit updates the matchers parser to reject unquoted openmetrics escape sequences. As an example, foo=bar\n will no longer parse, and must instead be written as foo="bar\n". This avoids an issue where the input is valid in both the matchers and classic parsers, but results in two different parsings.

Please refer to the comment I left here https://github.com/prometheus/alertmanager/pull/3453#issuecomment-1779052198


⚠ Bofrost.lu has degraded performance

In c086cfe, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1881 ms

Resolved: Bofrost.lu performance has improved in 6a0b29a.


Add api option to compile command

Vue needs the option called "api" to be able to choose between composition and options apis

@samijaber  any idea about when this will be merged? its a stopper right now to me :(


Azure Functions SendGrid binding: Missing reference documentation for return object (javascript)

The javascript page does not have any references to the return format the SendGrid out binding expects. The sample is helpful for a single to/from and I can probably guess at multiple recipients,  cc or bcc, but it would be useful to see a list of the possible return object properties.

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

ID: 67219504-786d-cb28-da42-e36e227a1c8a
Version Independent ID: 9faa4531-ad36-7fda-c9e5-415aa2c5a400
Content: Azure Functions SendGrid bindings
Content Source: articles/azure-functions/functions-bindings-sendgrid.md
Service: azure-functions
GitHub Login: @craigshoemaker
Microsoft Alias: cshoe

@adamhwang Thanks for your question. We are checking on this and will respond to you soon.

@adamhwang I have assigned this to content author for further review and update as appropriate.


Adding a Makefile to kickoff PROW pjrehearse

Adding a Makefile to trigger rehearsal job in PROW: https://github.com/openshift/release/pull/45457/files

/lgtm


Remove PR legs we currently expect to fail.

These will be re-enabled as we fix issues.
Leave the non-PR legs in for now as these are less visible.

@dotnet-bot test ci please


Illegal instruction on non-AVX processor

Required Info

Camera Model
Any

Firmware Version
Any

Operating System & Version
Ubuntu 14.04

Kernel Version (Linux Only)
4.4.0

Platform
Pentium

SDK Version
2.14.1

Language
C++

Issue Description
As mentioned in previous issues (#1428, #1443, #1464, #1484), there have been issues executing AVX instructions on CPUs that don't support AVX (causing SIGILL, "Illegal instruction (core dumped)"). Using SDK version 2.14.1, the issue is two-fold:

If I compile with -mavx, my application crashes at global initialization. I see that there is auto-selection code to bypass the AVX implementation if not supported on a CPU, but in debugging, I saw crashes in two different locations (one in librealsense and one in another library). Generally speaking, adding -mavx gives the compiler free-reign to optimize using AVX wherever it wishes, so I don't think this should always be enabled for all non-ARM builds.

If I remove -mavx, the build fails due to SSSE3 guards (which my processor supports) where AVX guards should be used instead. I have a patch for this, which is ultimately the solution to my issue. I'll send a pull request with this patch shortly.

Thanks @kjkjava
We compile with -maxv only image_avx.cpp (CMakeLists.txt:849)
So with your PR functions implemented in image_avx will never get called.
I don't think that the compiler will auto-generate AVX unless we explicitly allow it (after all machines without AVX are not that uncommon)
Do you think we are still missing some case?

I think we should be good now, but feel free to open a new issue / PR if you identify something.
Thank you!

Hey @dorodnic, sounds reasonable, especially since it's just image_avx.cpp. I think we had just enabled it for the entire build as a workaround for the failed build fixed in this bug.


[Component Proposal] Link Bar

Is this an extension to an existing component, pattern, or a brand new asset?
This is an EDS item
What is the rationale for this contribution.
The link bar offers a text based, lightweight alternative to the content switcher and performs a similar role.
Note: Its value compared to the content switcher is under review.
Detail the intended behavior

The link bar presents itself as a series of text labels, spaced X rem apart from start to finish.
There will always be one link that is active, and styled as semibold 14px.
The other links will have either the traditional link styling from carbon, or the disabled link styling.

Found here: https://ibm.invisionapp.com/share/U2NYW8D7DFV#/screens/319257692
Image:

Closing this, as there is no requirement defined by an app team, and this seems redundant with our tabs


[Feature Request] Podman support

I tried to start this with podman compose up and got several errors like the following:
Error: short-name "nilsherzig/llocalsearch-backend:latest" did not resolve to an alias and no unqualified-search registries are defined in "/etc/containers/registries.conf"
I think this can be resolved by explicitly including the host in the container URLs?
I know you're using docker, but it would be nice if podman was supported as well.

So after specifying docker.io as the image hosts I can get the frontend up, but I had some DNS issues. I resolved these DNS issues by installing the aardvark-dns package on Arch.
Now I'm having issue pulling a model:
2024/04/04 12:43:52 WARN Model does not exist, pulling it model=all-minilm:v2
2024/04/04 12:43:52 ERROR Model does not exist and could not be pulled model=all-minilm:v2 error="Post \"http://host.docker.internal:11434/api/pull\": dial tcp <IP_ADDRESS>:11434: connect: connection refused"

It's trying to call something on docker.internal?

yes by default https://github.com/nilsherzig/LLocalSearch/blob/d3d6ed627baa4398eb93a77fa755f6f9f18d2371/docker-compose.yaml#L5

Actually, I think we can use <IP_ADDRESS> instead, but that isn't pointing to ollama properly.

I don't know if podman uses the defined private container networks (check "networks:" in the compose file). But if thats the case, "localhost" on the backend isn't your host systems "localhost"

as you can see the container has its own loopback device / locahost. That's why we use host.docker.internal to connect to the host.


Adding a Custom effect in Cursor .

Step 1: CSS for Custom Cursor
Step 2: HTML Structure
Step 3: JavaScript for Additional Effects
https://github.com/user-attachments/assets/ad3f586a-ae88-4f2e-9986-5e8c6fd3ab23
We can also change its color as per our choice.
Please Assign this to me.
Thankyou!

In the guidelines, it is already mentioned there should not be any changes in the home page, Do not be demotivated and raise a new issue.


[BUG] Regressions with "graphql-sse" subscription handling with altair-static.

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
I have migrated from v7.0.1 to v8.0.5 and observe the following problems:
I configure initialSubscriptionRequestHandlerId: "graphql-sse" in my RenderOptions object and pass this to the renderAltair() method, along with a query and a subscription endpoint. When I click on run subscription I notice that once the subscription returns, it continually re-executes the query until I press cancel and it appends the duplicate results in the results window.
Secondly when I open the Request Handlers dialog I expect my Subscription Handler value to be set to Graphql Over SSE but it's still set on "websocket".
All this functionality used to work in v7.0.1 (except I had to specify initialSubscriptionsProvider: "graphql-sse" instead of initialSubscriptionRequestHandlerId)
Expected Behavior
When I click on run subscription it should just run my subscription query once.
When I open up the Request Handlers dialog I should see my Subscription Handler set to Graphql Over SSE
Steps To Reproduce
Problem manifests when initialSubscriptionRequestHandlerId: "graqhql-sse" with a given query.
Environment
- OS:  Windows
- Browser:   Chrome
- Platform:  ?
- Version: v8.0.5 of altair-static

Additional context
No response

Thanks for reporting. I can confirm the issue. Will be fixed in the next release.

Hi there. So I upgraded to v8.1.1 and I see that the 2nd issue is fixed - ie it's showing the correct Subscription Handler in the Request Handlers dialog now. But the first and more problematic issue is still present - ie it's making repeated calls to the endpoint to get the same results. Any ideas?

@MurrayFurtado What version of graphql-sse do you use? Also are you using the single or distinct connection mode?

The graphql-sse client logic used in Altair is relatively simple too as the graphql-sse library is doing the heavylifting
https://github.com/altair-graphql/altair/blob/master/packages/altair-core/src/request/handlers/sse.ts#L32-L38


nixos/macos-builder.nix: Explain why and how to keep it stateless

Description of changes
Improve the error message to make it actionable for maintainers and users.
Context

https://github.com/NixOS/nixpkgs/issues/325610

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

That's a solution I mentioned in the PR

I didn't mean to ignore that. I just saw that the error message was incomplete, so I decided to improve it right away. It would have been more diligent to make sure to read everything first.

why

This profile is more of an appliance than a normal module. It's supposed to be very low maintenance for users; it just keeps itself up to date by updating Nixpkgs and they don't have to worry about some weird version in the VM's config.

worse, that “new” default is not exposed in the documentation or in search.nixos.org

It's possible to extend the VM with more configuration, but that's not what it's for.

\2. this still creates more of a barrier to depending on stateVersion (at least for modules which are enabled by default or in that profile)

I don't see this as a bad thing.

if means in every such case, cruft gets added to the profile, and over time it will become unclear what's actual related to the profile vs. what's there to work around stateVersion being ⊥

I don't mind a bunch more definitions getting added to the profile. If anything, it "documents" how the thing behaves.
So far, new definitions have been quite rare, like one or two in the past year.

what's there to work around stateVersion being ⊥

I don't think they're workarounds, but a record of compatibility decisions.
Only the swraid one feels a bit like a workaround, but that's ok.

but why?

Dealing with state is a liability. stateVersion makes users deal with more state. So stateVersion is a liability for users, and it's not even necessary.
I'll add that.

More generally, I'm having trouble following the logic in making NixOS module maintainers make compatibility decisions about the macos-builder appliance.

It's not actually all that macOS-specific, and it could easily be ported to, say, NixBSD, or even to NixOS itself, as a more robust/pure alternative to binfmt qemu-user emulation.

all NixOS module maintainers

Only the core modules, Nix modules, SSH.

if there were similar appliances for NixBSD, NixOS, etc. then we'd have to update all of them whenever dealing with a breaking change.

This could probably be handled with a single "profile" module that's portable.

we could force all users to deal with all breaking changes immediately.

That's not what I'm arguing for.
I'm only proposing that the maintainers of a small set of modules make a decision for a stateless appliance VM, and I can help with that.

I know I approved https://github.com/NixOS/nixpkgs/pull/207958 but I'm personally a bit inclined to roll it back based on the points @nbraud brought up.  It seems like the upside (not warning about an unset stateVersion) doesn't justify the downside (being bitten when you want to add any NixOS modules to the macos-builder.nix profile that use stateVersion.  I know I've seen someone else bitten by this before.

I thought it was supposed to be an appliance.
I guess I'll recuse myself and let y'all handle this. I'm currently under too much maintenance load and if this shouldn't be an appliance perhaps I shouldn't try to fight for appliance support in NixOS, or not at this point in time.

@roberth: I just wanted to clarify that I'm not opposed to anything you're trying to achieve with appliances, although I'm not that intimately familiar with that work.  I'm just more focused on the specific user experience issues that @nbraud brought up.  In particular, I don't view this proposed change as a referendum on appliances.


sshd: change location config file

Motivation for this change
Change the location of the configuration file to the default - /etc/ssh/sshd_config
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

@Izorkin Can you explain what's the benefit of doing this?

You can quickly see the current config. And in other distributions, the config is also located there. It is more convenient to navigate in the ssh configuration (/ etc / ssh / ssh_config) and sshd (/ etc / sshd_config)

It seems the right way to do this would be to keep the config file hashed in the nix store, but have an option to symlink it in /etc/ssh/sshd_config, like we do with the nixos configuration.nix system config.

l /etc/ssh/sshd_config
lrwxrwxrwx 1 root root 27 июн  9 11:54 /etc/ssh/sshd_config -> /etc/static/ssh/sshd_config

l /etc/static/ssh/sshd_config
lrwxrwxrwx 1 root root 59 янв  1  1970 /etc/static/ssh/sshd_config -> /nix/store/rpn69zmjl0gx25bzmm2rkpkn05dz3wwp-etc-sshd_config

This change was also proposed for nginx, which I was against for reasons, see https://github.com/NixOS/nixpkgs/pull/52098#issuecomment-450193761
I guess it's not as prevalent with ssh though, so this is probably okay. But I'd still prefer it being linked directly and having a configFile option for viewing the file.

I see the reason to have sshd_config on a writable medium in the possibility to edit it ad-hoc (for example to allow root login).
wpa_supplicant.conf is useful to place on a writable medium too, for the same reason - to reflect change of wifi network name or password without the system rebuild (as the system rebuild will likely require network so the network should be set up first).
But nginx.conf probably not


[feat] Can the fs provide an isDirectory method?

Describe the problem
I am using v1. Can the fs provide an isDirectory method?
declare async funtion isDirectory(path: string): Promise<boolean>

Describe the solution you'd like
I have implemented a rust method myself to solve the problem temporarily.
fn is_directory(path: &str) -> Result<bool, String> {
    if let Ok(metadata) = fs::metadata(path) {
        Ok(metadata.is_dir())
    } else {
        Err("is_directory throw a error. Invalid path or cannot find path.".to_string())
    }
}

export async function isDirectory(path: string) {
  const res = await invoke('is_directory', { path })
  return res as boolean | string
}

Can you provide a official function isDirectory ? Thank you !
Alternatives considered
No response
Additional context
No response

sorry for the confusion we have an fs-extra plugin for tauri that is not the same as the Node.js pacakge, you can find it here https://github.com/tauri-apps/plugins-workspace/tree/v1/plugins/fs-extra

and in v2, we have moved the fs APIs into its own plugins, that can be found here https://github.com/tauri-apps/plugins-workspace/tree/v2/plugins/fs

Thank you! That looks great!


raise RuntimeError vs raise NotImplementedError; might've falsely understood them as interchangeable

Hi,
Some methods appear to use runtime error, and others use NotImplemented error. i figured these had the same intention of showing us where to add code, although i now suspect that for those found in FunctionSpace, they seem to serve the purpose of alterting the user that the method that should not be called, is called. I suspect that these methods should not be called, because they should be overridden in a child class.
Is this correct? the RuntimeErrors should stay raised?

You are correct, at least that was my intention. For example, the method reference_domain is specific to the family of chosen basis functions and as such it cannot really be implemented with specific numbers in the base class FunctionSpace. Hence I used a RuntimeError, because the method should be overridden. You should never get to FunctionSpace.reference_domain. However, it is of course possible to implement the base class with a reference domain of (-1, 1) and then only overload for the families with reference domains that are different from this:-)


Make fh init take a language option.

It would be nice if fh init could take some CLI option like --lang rust  (or any other supported handler) because people will tend to initialize a flake on an empty directory.
For a rust project, I created a directory and had to touch an empty Cargo.toml before running fh init -- and wont even have cargo on my PATH until the flake is ready.
What do you think? I'd love to contribute this.

@vic I'm definitely intrigued by this idea! And I think it'd be reasonably straightforward to pull it off. I'll experiment a bit and see what I come up with 😄


Tools-2874 Add Aerospike Database server 7.1 support

Adds support for the following configs in server 7.1.

Name
Action
Section
Human Readable
Default
Data Type
Range Restriction
Required
dynamic

max-record-size
default changed from 0 to 64K
namespace
yes, size
64K

write-block-size
removed
storage-engine device

post-write-queue
removed
storage-engine device

tls-refresh-period
New
service
yes, time
60 seconds
uint32

no
yes

auto-revive
new
namespace (SC only)

false
bool

no
no

batch-max-requests
new
service
no
0
uint32

no
yes

default-read-touch-ttl-pct
new
namespace
no
0
uint32
0 to 100
no
yes

flush-size
new
storage-engine device/memory
yes, size
1M
uint32
must be a power of 2 and between 4096 and 8388608 bytes
no
yes

post-write-cache
new
storage-engine device
yes, size
256M
uint64

no
yes

default-read-touch-ttl-pct
new
set
no
0
uint32
-1 to 100
no
yes

default-password-file
new
security
no

string

no
no

For my own understanding, are changes in the mgmt-lib and the schemas repo required to support 7.1? If you know, what was needed in the mgmt-lib?

@jdogmcsteezy yes, there are required changes in the schema and the mgmt lib, here are links to both. https://github.com/aerospike/schemas/tree/server7.1 and https://github.com/aerospike/aerospike-management-lib/pull/50 .
The schema changes are what you'd expect, adding the new configs, removing removed ones, and changing some defaults. Most of the changes are reflected by https://aerospike.atlassian.net/wiki/spaces/DEV/pages/3350134792/7.1+Config+and+Metrics+Changes .
The management lib changes are needed because some tables that classify configs are used during config file parsing and writing. In particular, there is a table of config items that are strings that needs to be updated in order to prevent those fields being parsed as integers if they contain integer values. There are a few other tables that need to be checked for updates aswell, most of them are in the asconfig/utils.go file.

We should move to the generated schema as soon as possible but lets use the branch for now.


[zh-cn]Update content/zh-cn/docs/contribute/participate/_index.md

/lgtm

Hey @kinzhi,
Would you like to address the previous issue?
Please let us know what you think about it using the comment function.

Thanks for purposing this PR. But since you didn't respond for a while, we have to close this PR now.
/close
Feel free to /reopen when you are ready to move forward.
(Note that please don't push anything while PR closed, or you won't be able to reopen it.)


Error on scoped controller

My APP:
class Client::ApplicationController < ApplicationController

  # Devise
  before_action :authenticate_client!

  # Cancan
  def current_ability
    @current_ability ||= AbilityClient.new(current_client)
  end

end

class Client::ClientsController < Client::ApplicationController

  # CanCan
  load_and_authorize_resource

  .
  .
  .
end

ERROR:
undefined local variable or method `current_user' for #Client::ClientsController:0x007fb71153a550
cancancan (1.10.1) lib/cancan/controller_additions.rb:357:in current_ability' cancancan (1.10.1) lib/cancan/controller_resource.rb:215:in current_ability'
cancancan (1.10.1) lib/cancan/controller_resource.rb:77:in load_collection?' cancancan (1.10.1) lib/cancan/controller_resource.rb:33:in load_resource'
cancancan (1.10.1) lib/cancan/controller_resource.rb:25:in load_and_authorize_resource' cancancan (1.10.1) lib/cancan/controller_resource.rb:10:in block in add_before_filter'

I see current_client in the code not current_user (as cancancan expect). That's not a cancancan problem. Anyway you can easily fix it by delegating current_user to current_client:
def current_user
  current_client
end

Good idea!
I remember when I used the cancan gem that I did not set current_user to function properly.
Thank's for your help.


Create meeting minutes 2023-12-14.md

In the PQC / HAC topic, we discussed the masking of the GHASH component of GCM (Ref: See Section 6.4 of NIST SP 800-38D  https://doi.org/10.6028/NIST.SP.800-38D ).
The GHASH computation sets Y[0] = 0 and iterates Y[i] = (Y[i-1] + X[i]) * H over m ciphertext / associated data blocks X[i] and deriving the authentication tag from final Y[m] (here + and * are in a binary field). Here, H is a secret variable. It is initialized as H=AES_K(0), and hence, a version of masked AES that outputs ciphertext in shares could be used to create it.
Hence, we have d shares for secret H, and the intermediate variable Y as well. However, the input data X is an unmasked  (it's not secret). Hence, the iteration becomes an instance of a secure masked multiplication gadget in the field GF(2^128). This generally requires d**2 multiplications (in first-order d=2 case, four multiplications).
However, it seems that using the same masked representation of H for subsequent input blocks X[i] may be insecure; it would be preferable to refresh the masking of H between blocks. (In first order case this means XORin a random number with both shares, while for higher-order one would need at least d-1 random masks)
For this and other applications that use masking, it would seem advantageous to have a special "refresh" instruction that can generate pseudorandom numbers very fast ("1 cycle", figuratively speaking) for the refresh operation. These numbers need to be merely of sufficient quality for masking, i.e. to generate noise that obfuscates side-channel measurements. If such an instruction is adopted, it should be emphasized that such a fast generator must not be used to create cryptographic keying material, which has much higher quality requirements (SP 800-90A/B/C or AIS-20/31) than masking random.
[Ed note: if designed by a professional, the fast refresh / mask generator might still have better quality than the standard library "random" generators, so perhaps it would have non-cryptographic use cases in simulation, etc.]

On the PQC / HAC topic, we discussed the masking of the GHASH component of GCM (Ref: See Section 6.4 of NIST SP 800-38D https://doi.org/10.6028/NIST.SP.800-38D ).
The GHASH computation sets Y[0] = 0 and iterates Y[i] = (Y[i-1] + X[i]) * H over m ciphertext / associated data blocks X[i] and deriving the authentication tag from final Y[m] (here + and * are in a binary field). Here, H is a secret variable. It is initialized as H=AES_K(0), and hence, a version of masked AES that outputs ciphertext in shares could be used to create it.
Hence, we have d shares for secret H, and the intermediate variable Y as well. However, the input data X is an unmasked (it's not secret). Hence, the iteration becomes an instance of a secure masked multiplication gadget in the field GF(2^128). This generally requires d**2 multiplications (in first-order d=2 case, four multiplications).
However, it seems that using the same masked representation of H for subsequent input blocks X[i] may be insecure; it would be preferable to refresh the masking of H between blocks. (In first order case this means XORin a random number with both shares, while for higher-order one would need at least d-1 random masks)
For this and other applications that use masking, it would seem advantageous to have a special "refresh" instruction that can generate pseudorandom numbers very fast ("1 cycle", figuratively speaking) for the refresh operation. These numbers need to be merely of sufficient quality for masking, i.e. to generate noise that obfuscates side-channel measurements. If such an instruction is adopted, it should be emphasized that such a fast generator must not be used to create cryptographic keying material, which has much higher quality requirements (SP 800-90A/B/C or AIS-20/31) than masking random.
[Ed note: if designed by a professional, the fast refresh / mask generator might still have better quality than the standard library "random" generators, so perhaps it would have non-cryptographic use cases in simulation, etc.]

Thank you @mjosaarinen, I have added your text to the minutes.


Moved release notes for edit daily dependencies fix from 21.0.1 to 21…

….0.2

We are missing an update to index.md to highlight the version change also.

Fixed.


Timed out or not responding

Hi Miguel Angel,
I am trying to run it on a Xiaomi home Basic 1080 ( mijia_v3 ). It seems to be connecting correctly since there's an initial waiting for the error, but it does not seem to connect. The IP address of the camera and the token should be correct
Starting proxy...
Starting RTSP server on "rtsp://X.X.X.X:8554/"
(Using port 8000 for optional RTSP-over-HTTP tunneling.)

Got error when receiving: timed out
Traceback (most recent call last):
  File "/home/dietpi/.local/lib/python3.7/site-packages/miio/miioprotocol.py", line 192, in send
    data, addr = s.recvfrom(1024)
socket.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/dietpi/.local/lib/python3.7/site-packages/miio/miioprotocol.py", line 192, in send
    data, addr = s.recvfrom(1024)
socket.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/dietpi/.local/lib/python3.7/site-packages/miio/miioprotocol.py", line 192, in send
    data, addr = s.recvfrom(1024)
socket.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/dietpi/.local/lib/python3.7/site-packages/miio/miioprotocol.py", line 192, in send
    data, addr = s.recvfrom(1024)
socket.timeout: timed out

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

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/dietpi/.local/lib/python3.7/site-packages/miio/device.py", line 147, in send
    command, parameters, retry_count, extra_parameters=extra_parameters
  File "/home/dietpi/.local/lib/python3.7/site-packages/miio/miioprotocol.py", line 236, in send
    extra_parameters=extra_parameters,
  File "/home/dietpi/.local/lib/python3.7/site-packages/miio/miioprotocol.py", line 236, in send
    extra_parameters=extra_parameters,
  File "/home/dietpi/.local/lib/python3.7/site-packages/miio/miioprotocol.py", line 236, in send
    extra_parameters=extra_parameters,
  File "/home/dietpi/.local/lib/python3.7/site-packages/miio/miioprotocol.py", line 240, in send
    raise DeviceException("No response from the device") from ex
miio.exceptions.DeviceException: No response from the device
Can't read output line 1 from command: python3 -c "import miio;result = miio.device.Device('<IP_ADDRESS>', '6c38646e535433383050547448626350').send('get_ipcprop', ['all']);print(result['p2p_id']);print(result['avID']);print(result['avPass']);"
Error connecting to camera, make sure ip and token are correct.
Error, waiting 10 seconds and trying again.
^CTraceback (most recent call last):
  File "/home/dietpi/.local/lib/python3.7/site-packages/miio/miioprotocol.py", line 192, in send

    data, addr = s.recvfrom(1024)
socket.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
$   File "/home/dietpi/.local/lib/python3.7/site-packages/miio/device.py", line 147, in send
    command, parameters, retry_count, extra_parameters=extra_parameters
  File "/home/dietpi/.local/lib/python3.7/site-packages/miio/miioprotocol.py", line 236, in send
    extra_parameters=extra_parameters,
  File "/home/dietpi/.local/lib/python3.7/site-packages/miio/miioprotocol.py", line 192, in send
    data, addr = s.recvfrom(1024)

Do you know what else could I try? Any hint would be appreciated

Same here. Xiaomi 360 Camera CMSXJ13B


EquationCollections are now properly printed to dck file

Closes issues #40 and #41

Codecov Report

Merging #42 (d0a0d4a) into master (7a5c6d9) will increase coverage by 0.10%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #42      +/-   ##
==========================================
+ Coverage   94.11%   94.21%   +0.10%
==========================================
  Files          47       49       +2
  Lines        1936     1970      +34
==========================================
+ Hits         1822     1856      +34
  Misses        114      114

Impacted Files
Coverage Δ

trnsystor/__init__.py
100.00% <100.00%> (ø)

trnsystor/collections/equation.py
93.05% <100.00%> (+1.87%)
:arrow_up:

trnsystor/deck.py
93.71% <100.00%> (+0.01%)
:arrow_up:

trnsystor/statement/equation.py
98.18% <0.00%> (-1.82%)
:arrow_down:

trnsystor/externalfile.py
100.00% <0.00%> (ø)

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 7a5c6d9...d0a0d4a. Read the comment docs.


I just kicked off a nightly build, and noticed 4 test suites failing already (css-text, xss-sanitize, xml-conduit, tagstream-conduit). All four of these packages depend on attoparsec, and are failing in ways that may be related to the parser. Additional, attoparsec just had a release. Pinging @bos, I'll post more information soon.

Sample output with attoparsec-<IP_ADDRESS>
$ cat dist/dist-sandbox-6bf5dbc0/test/xss-sanitize-<IP_ADDRESS>-test.log
Test suite test: RUNNING...

html sanitizing
  big test
  relativeURI
  protocol hack
  object hack
  embed hack
  ucase image hack
allowedCssAttributeValue
  allows hex
  allows rgb
  allows units
css sanitizing
  removes style when empty
  allows any non-url value for white-listed properties
  rejects any url value FAILED [1]
  rejects properties not on the white list
  rejects invalid units for grey-listed css
  allows valid units for grey-listed css
balancing
  adds missing elements
  doesn't add closing voids
  removes closing voids
  interleaved

Failures:

  1) css sanitizing rejects any url value
       expected: "

"
        but got: "

"

Randomized with seed<PHONE_NUMBER>

Finished in 0.0028 seconds
19 examples, 1 failure
Test suite test: FAIL
Test suite logged to: dist/dist-sandbox-6bf5dbc0/test/xss-sanitize-<IP_ADDRESS>-test.log

I just saw a new version of attoparsec in available on Hackage as of 11 minutes ago, maybe this is already fixed...

Tests are passing with the updated attoparsec, closing issue. If I have trouble with the restarted full Stackage build, I'll reopen.


Migrate old TimeSlot data to new DB structure

Closes #977
Adds and interactor to migrate the data

I have some doubts about this, let's chat.


Evaluate Photos of Food Before Uploading in "Share Free Food," "Donate Food," and "Recycle Food" Pages

Description:
There is a need to implement a photo evaluation feature for the "Share Free Food," "Donate Food," and "Recycle Food" pages in the SpoonShare app. The purpose of this feature is to ensure that photos of food, when uploaded from the gallery, are taken within the last 30-40 minutes to maintain freshness and relevance.
Implementation Approach:

In Flutter, the EXIF package will be used to extract the timestamp metadata from the uploaded photos to evaluate their recency.

Expected Behavior:

Users should be able to upload photos of food in the "Share Free Food," "Donate Food," and "Recycle Food" pages.
The app should evaluate the timestamp of the photos uploaded from the gallery.
Only photos taken within the last 30-40 minutes should be accepted for upload.
Users should receive a clear notification if their photo does not meet the criteria, prompting them to take a new photo or select a recent one.

Steps to Implement:
--> EXIF Metadata Extraction:

Use the EXIF package in Flutter to extract the timestamp metadata from the uploaded photos.
Compare the extracted timestamp with the current time to determine if the photo falls within the 30-40 minute window.

Video
https://github.com/sanika391/SpoonShare/assets/123234840/ead48401-d9da-4d30-bb08-46f56b23f4bd
This may be a old photo. so we have to evaluate a photo when it's taken.

@sanika391 Assign this issue to me mam.

Happy to assign this issue to you, @igopi77! Thank you for taking this on. Looking forward to seeing your implementation.
Regards,
Sanika Chavan
[https://www.linkedin.com/in/sanika-chavan-52457b236]

@sanika391 I have completed this issue mam. You can please verify it and merge it mam.


refactor(msw): Switch to V2 + Vite

@machour Not sure if this is useful / where this could easily be documented, but this also works if your mocks files are written in typescript with some slight changes.

Install tsx package npm i -D tsx
Update mocks/index.cjs and mocks/handlers.cjs to .ts files
Update dev command binode --import=tsx --import ./mocks/index.ts -- @remix-run/dev:remix vite:dev

Hey @mikeybinns, thank you for the tip!
Do you want to open a PR to switch this example's mocks to typescript? Will happily review & merge.

Submitted :)


Auto backup

Description of your request
Create auto backup mechanism
Describe the solution you'd like
Creating an auto backup mechanism for example to volume in docker image.
Lets say I have a network folder that I want to backup to I can mount this folder to a volume so application will do a backup in set intervals

That's definitely useful. I'll evaluate this feature further.

Resolved.


improve error handling in supabase edge functions

some edge functions are returning a hardcoded 400 bad request error for any type of exception.
fix this and make sure that the request also returns error hints

[ ] room-jwtprovider
[ ] sign-in
[ ] sign-in-with-google
[ ] sign-out
[ ] sign-up

Is this needed for Milestone 1? Is there anything else with more priority to reach the goal of tomorrow's demo?


Restructure main Readme

I think a good overview of projects/tools is one of the most important things the ros-maritime group can offer.
This is an attempt to restructure the list of projects, such that people can hopefully find modules that they are interested in.
The main changes are as follows:

The simulation environment items have been sorted in gazebo and non gazebo groups. I checked the projects and apparently they are almost all running in gazebo. It can be helpful to show that this is apparently convenient for many people.
Added sections: Motion control - Control effort allocation - Planning/guidance.
I see these groups as the main building blocks that projects or modules can be categorized in. A working vessel control system needs all these modules, but theoretically they can be developed independently from one-another.
For many of these modules, there are actually only a few common approaches to solve them, and thus it would be convenient if they are listed according to the concept that they work on. I added the two most common approaches "dynamical positioning" and "heading+speed control" under section motion control modules.

Still a lot of these topics need links to relevant projects to make this repository reasonably useful. This PR is a proposal to strengthen the structure, to allow a logical fillup of available projects available. Let me know what you think.

Thanks  @bartboogmans


500 when Model::shouldBeStrict() is used in the application

Seems to be related more specifically to Model::preventAccessingMissingAttributes()
Using the latest version (1.0.5)

Hello @ahtinurme,
Certainly, as the progress isn't stored in the database; it's dynamically calculated.

I think this one can be closed as it falls back to Laravel framework itself, and I understand they are not planning to fix it.


error code

you have a code error on [tinyBIG by IFM Lab
Quickstart]https://www.tinybig.org/guides/quick_start/#data-expansion-function

it should be like this:

by the way, if you find any other typos, welcome to reply to this issue, I will keep it open


Differences between genomics readme and automatically generated tsv

There are currently the following differences between the information in the genomics readme (which is based on interactive submissions to ENA using the Webin portal) and the automatically generated .tsv (and json) that are based on the information pulled from ENA's xsd files.

name vs alias: different labels for the same field?
VIB's scripts pull a dedicated title field in addition to name/alias. Needed?
file_format vs file_type: different labels for the same field?

Moreover, the CV pulled from the xsd files (see eg in ENA_experiment_metadata_fields.json) is much more extensive. Maybe the additional fields are outdated in practice?

the fields are listed in a different order
different description texts

How to harmonize?

It is the automatically generated .tsv that can be regarded as sustainable, since it will be possible to keep the metadata up to date in the long run. However, thinking from end user / researcher point of view, it might be important that names and descriptions are the same as if the user would do an interactive submission without the help of our templates.

name is not the same as alias:

The name will be shown when data is public, while the alias is a unique identifier that can be used internally.
The alias is e.g. used when doing programmatic submission (where experiment and run metadata are located in two .xml files), in order to link a specific run with a specific experiment.
An alias is thus not needed when doing interactive submission via browser (using tsv files) (but I do think that ENA creates an alias for you, when you submit).

However, I'm almost 100% that name and title is the same (without checking description text of the browser versus .xsd sources).

thanks for the clarification @YvonneKallberg. Does this mean that the tsv we generate should include the name/title field instead of the alias field? If yes, do we use name or title?
title has the description "Short text that can be used to call out experiment records in searches or in displays. This element is technically optional but should be used for all new records." from here: https://github.com/enasequence/webin-xml/blob/8e764aab17b0557a786d72eb18cbe07a4121142f/src/main/resources/uk/ac/ebi/ena/sra/schema/SRA.experiment.xsd#L719

I would say yes on inclusion of name/title, and would call it title for 2 reasons

when I look at downloaded tsv templates from ENA they don't have this column (I think I got the name field (both the actual field as well as the name 'name') from documentation and it has stuck with me throughout submissions)
'title' is what we get automatically which make life easier.

Another difference I've noticed is study and sample fields:

study_alias from automated but study from interactive (the latter can be populated with either an accession number or an alias)
sample_alias from automated but sample from interactive (the latter can be populated with either an accession number or an alias)


Refactor package name

delete odfe-cli folder inside repo and update package path
accordingly.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@jmazanec15 @vamshin Yesterday we renamed repo from es-cli to odfe-cli. Previously we have a folder odfe-cli inside es-cli. Hence, i moved all files one level up. This commit covers refactor and update import statement to reflect new package path.


Further speedup for CFLARE

Uses the solutions of old problems to initialize the new one, only within one recurrent class.

Currently reduces the compute time on 32k cells for 482 absorbing states from 6:07 min to 5:55 min.

On just 12 absorbing states, it increases the compute time by 4s from 28 to 32s

On 69 absorbing states, using the initialisation starts to become an advantage:
with initialisation: 1:15 min
without initialisation: 1:23
with direct solver: 4:29 min
Just need to write one test for this.

Added a test for this. That was defenitely enough speedup for now. In the future, can experiment with scipy's other iterative solvers optimized for sparse problems. However, if only using few final cells, the problem is solved as we are essentially linear in cell number now.


Spectatorview preview: iphone does not trigger hololens camera

Overview
I'm using the HoloToolkit spectator view (preview), i did everything following the instruction, but when i run the app on both hololens and iPhone, the camera on HoloLens won't be triggered. I feel that iPhone did not even send a ping message to HoloLens since i got the error: (I'm using HoloToolkit 2<IP_ADDRESS>, Unity 2017.4.20f2 LTS)
2019-02-15 16:32:05.508713-0500 SpectatorView[11478:6313086] [si_destination_compare] send failed: Invalid argument
2019-02-15 16:32:05.508755-0500 SpectatorView[11478:6313086] [si_destination_compare] send failed: Undefined error: 0
2019-02-15 16:32:05.508775-0500 SpectatorView[11478:6313086] [si_destination_compare] send failed: Invalid argument
StartAsClient Discovery listening
UnityEngine.Networking.NetworkDiscovery:StartAsClient()
HoloToolkit.Unity.Preview.SpectatorView.SpectatorViewNetworkDiscovery:ManualStart()
(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
StartAsServer Discovery broadcasting
UnityEngine.Networking.NetworkDiscovery:StartAsServer()
HoloToolkit.Unity.Preview.SpectatorView.NewDeviceDiscovery:ManualStart()
(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
DontDestroyOnLoad only work for root GameObjects or components on root GameObjects.
UnityEngine.Networking.NetworkDiscovery:StartAsServer()
HoloToolkit.Unity.Preview.SpectatorView.NewDeviceDiscovery:ManualStart()
Expected Behavior
Actual Behavior
The hololens camera won't be triggered anyway. They are on the same network.
Unity Editor Version
Unity 2017.4.20f2 LTS
Mixed Reality Toolkit Release Version
HoloToolkit 2<IP_ADDRESS>

Actually, i found that it was not the iPhone end's problem. When i used unity editor to simulate hololens, it could receive the broadcast from iPhone. But when it launched on HoloLens, HoloLens never received it. Is there any setting on HoloLens that i ignored?

You might find this helpful:
https://github.com/Microsoft/MixedRealityToolkit-Unity/issues/3107

It may be worth checking what permissions you have enabled in the HoloLens appxmanifest. UNET may only require the basic internet permission, but enabling the internetClient and internetClientServer capabilities may be needed (https://docs.microsoft.com/en-us/windows/uwp/packaging/app-capability-declarations )
If you are building the unity generated solution in visual studio, you should also check that the capabilities you have declared in unity end up appearing declared in the visual studio solution's appxmanifest. I have had mixed experiences where sometimes new permissions don't get carried over without deleting the visual studio solution's directory and doing a clean rebuild in unity.

I have the same problem. @chrisfromwork I tried your solution but it doesn't work.
2019-03-06 10:19:48.326615+0900 ProductName[6702:14425684] [Technique] World tracking performance is being affected by resource constraints [0]
2019-03-06 10:19:50.877324+0900 ProductName[6702:14425399] [si_destination_compare] send failed: Invalid argument
2019-03-06 10:19:50.877388+0900 ProductName[6702:14425399] [si_destination_compare] send failed: Undefined error: 0
2019-03-06 10:19:50.877407+0900 ProductName[6702:14425399] [si_destination_compare] send failed: Invalid argument
DontDestroyOnLoad only work for root GameObjects or components on root GameObjects.
UnityEngine.Networking.NetworkDiscovery:StartAsServer()
HoloToolkit.Unity.Preview.SpectatorView.NewDeviceDiscovery:ManualStart()
[ line 485]
(Filename:  Line: 485)

@shxutoki is this an exception stack? If its only the console output compared to an exception stack, can we get the full log file? (https://docs.unity3d.com/Manual/LogFiles.html ) Also, is this output when running on the iPhone or HoloLens device?
@danielescudero and @maluoi have either of you ever seen issues similar to this when setting up the server when using UNET?
Thanks!
-Chris

Please reopen your issue in our new spectator view GitHub Repo:
https://github.com/Microsoft/MixedReality-spectatorview


Added whereDay() whereMonth() whereYear()

Allows you to do stuff like:
    $total = $this->blogs
        ->where('status', '=', 'live')
        ->whereYear('created_at', '=', $year)
        ->whereMonth('created_at', '=', $month)
        ->get();

This is not just some silly "I like using PHP methods instead of MySQL functions" situation. The trouble here is if you are trying to use the same PHP to interface with any DB engine that Laravel supports then just referencing MySQL functions in the where() just doesnt work.
PyroCMS can be installed with SQLite, Postgres or MySQL, so if we reference MySQL functions in the models then no joy there.
Most use the same thing, SQLite is a little crazy, but this all works nicely.

what should i do when i have to compare only hour , column store only time


Implement actual snapshot testing on CI

closing for now - going to try applitools / visual testing instead of snapshot testing


[release-0.49] Add guest-to-request memory headroom ratio

What this PR does / why we need it:
Manual backport of: https://github.com/kubevirt/kubevirt/pull/9364.
Release note:

Add guest-to-request memory headroom ratio.
This can be enabled by setting `kubevirt.spec.configuration.additinalGuestMemoryOverheadRatio = "1.234"`

waiting for https://github.com/kubevirt/kubevirt/pull/9364 to merge first.
/hold
/cc @acardace @vladikr


 I will probably be looking at this more tomorrow as well, but just opening for awareness/tracking/maybe someone else who's more up to date with this renderer stuff can take over.
To show what I mean, apply the following diff on current master:
diff --git a/osu.Framework.Tests/Visual/Containers/TestSceneFrontToBackBufferedContainer.cs b/osu.Framework.Tests/Visual/Containers/TestSceneFrontToBackBufferedContainer.cs
index 4388fd54d..67cce9d04 100644
--- a/osu.Framework.Tests/Visual/Containers/TestSceneFrontToBackBufferedContainer.cs
+++ b/osu.Framework.Tests/Visual/Containers/TestSceneFrontToBackBufferedContainer.cs
@@ -39,6 +39,31 @@ public void TestBufferedContainerBehindBox()
             });
         }

+        [Test]
+        public void TestBrokenColours()
+        {
+            AddStep("set children", () =>
+            {
+                Children = new Drawable[]
+                {
+                    new Box
+                    {
+                        Anchor = Anchor.Centre,
+                        Origin = Anchor.BottomCentre,
+                        Colour = Color4.Orange,
+                        Size = new Vector2(200)
+                    },
+                    new Box
+                    {
+                        Anchor = Anchor.Centre,
+                        Origin = Anchor.Centre,
+                        Colour = Color4.SlateGray,
+                        Size = new Vector2(300),
+                    },
+                };
+            });
+        }
+
         [Test]
         public void TestBufferedContainerAboveBox()
         {

then open TestBufferedContainerBehindBox, and compare the visual appearance of BufferedContainerBehindBox and BrokenColours:

BufferedContainerBehindBox
BrokenColours

Both boxes are Color4.Orange, but the one nested in the buffered container is noticeably... oranger? on Android. On desktop they will look exactly the same.
I originally notiiced this game-side, where blurred containers are also more red than they should be:

I also tried testing with textures, and all I got was that the green channel appears to be drawn wrong (left is android, right is desktop):

I'm not really sure where to begin looking for the cause quite yet. It doesn't seem to be anything related to colorspace conversion - at least not on the GPU side, because I tried changing all of the sh_Utils colour conversion functions to no-ops, but it didn't change the fact that buffered containers shift colours towards red.

Going to close this as #5721 got rid of the temporary workaround.


Monitoring

{# some process #}   +--->   +-------------+
                             | +-------------+
                             +-+ log items   |-+
                               +-------------/ |
                                  +------------/

 +-------------+         \        /
 |             |          \      /
 | Aggregation |           \    /
 |             |            |  |
 +-------------+            |  |

                              +
                              |
                              v

                             /\
             threshold      /  \
           +--------->     /    \
           +              / thr  \
                         /matched \ +-->    ()
+---------------+        \    ?   /  no
|               |         \      /
| Configuration |           \  /
|               |            \/
+---------------+
                             +
           +                 | yes
  internal |                 v
    action |
           |         +----------------+
           |         |                |
           +----->   | apply action ! |
                     |                |
                     +----------------+

what are possible actions? internal? external?
where does monitoring reside? (is it a Trace?, or is it a backend?, or part of the switchboard?)
internal action example: if you ever observe a "Warning" passing through a trace in a named context, then lower the min. severity filter for this named context (by one, Enum)
configuration will contain simple expressions (in a DSL) to compare values and thresholds.

Reset measurements (mean, avg) after manually or after a certain period of time.
Notify users via email or other means of alert (slack) when critical values have been overcome.
Log the overcome of a threshold (in a file).


Error on accepting the chat request on the aggregation channel

Hi
I have taken the default implementation for human handoff from here. It was working fine.
Then I added simple dialogs to the bot project. Now, when i attempt to use human handoff, I receive the following error:
Method not found: ‘Void Microsoft.Bot.Schema.ConversationAccount…ctor(System.Nullable`1, System.String, System.String, System.String, System.String, System.String)’.
The above error occurs after the user from web chat requests for help and the request arrives at the aggregate channel (in our case the emulator). The error comes up when the "Accept" button on the aggregate channel is clicked.
What could be the issue?
Some dependencies:
Bot Builder Framework: 4.3.2
Bot Message Routing: 2.0.2-alpha
ASPNETCore: 2.2.0
Cheers
Abhishek Kant

I am receiving the same error.

Sorry, it looks like something went wrong: Method not found: 'Void Microsoft.Bot.Schema.ConversationAccount..ctor(System.Nullable`1, System.String, System.String, System.String, System.String, System.String)'.

This problem is caused by the mismatch of the Bot Builder version - the Nuget package of Bot Message Router uses an older version. I will try update the package soon-ish, but in the meanwhile, here's what you can do:

Remove the Bot Message Routing Nuget package
Clone or copy the Bot Message Routing project (https://github.com/tompaana/bot-message-routing)
Add the Bot Message Routing project into the solution
Update the Bot Builder version used by the Bot Message Routing project

That will fix the method not found exception.

@tompaana
I am missing something. So I used Nuget package manager to remove the Routing package form  the solution (Step 1) then cloned the sample to the same directory (2) ... added the bot msg routing project by importing the CSPROJ file. and then updated the bot builder libraries

It is not able to find the assembly
Severity	Code	Description	Project	File	Line	Suppression State
Error	CS0246	The type or namespace name 'ConversationReference' could not be found (are you missing a using directive or an assembly reference?)	BotMessageRouting	C:\Users\124708\Desktop\intermediator-bot-sample\bot-message-routing\BotMessageRouting\MessageRouting\DataStore\RoutingDataManager.cs	152	Active

@tompaana Can you please check the snapshots I send and let us know what we need to do to fix this? Appreciate your help.

Hi @tompaana Could you please assist to get this sorted?

Worked for me.

Thanks @tompaana  It is working as expected. But how do we integrate this with the Enterprise Bot template? We are having issues compiling.

@tompaana Still, it is throwing the same issue when I updated bot framework to 4.5.1

@praveengov Check the thread. I faced the same issue and it was resolved.

@praveengov Check the thread. I faced the same issue and it was resolved.

@mailforsachin Yes Sachin. Just now I re-published and tested. Now it is working fine!! Thanks :)

Bot Builder Framework: 4.5.1

Remove the Bot Message Routing Nuget package from the solution
Clone or copy the Bot Message Routing project (https://github.com/tompaana/bot-message-routing)
Open BotMessageRouting.sln Update Nuget packet Microsoft.Bot.Builder from 4.2.2 to 4.5.1 and Rebuild project
Add reference BotMessageRouting.dll to solution

That will fix for me


Current version doesn't work as docked, or docs unclear

The README doesn't describe a working process, and the steps for the creds may be unclear, but here's the error when I pull it and try to install it after cloning and then generating a cred from the bundle in MASTER, as below.
My current guess is that I'm munging the concepts of the "do access key" -- for which I apparently only pass the name? in addition, the current porter.yaml file has this:
--host-bucket=%(bucket)s.{{bundle.parameters.region}}.digitaloceanspaces.com"
Um, don't we mean to escape the "bucket)s" part?
 🔋 44% (1:50)  porter install --tag jeremyrickard/porter-do-bundle:v0.3.10 -c spring-music --param space_name=cnab --param namespace=cnab                                         1 ↵  9011  09:54:50
installing spring-music...
executing install action from spring-music (bundle instance: spring-music) defined in /cnab/app/porter.yaml
s3cmd create bucket
ERROR: S3 error: 400 (InvalidRequest): Malformed request
Error: error running command /usr/bin/s3cmd s3cmd mb s3://******* --access_key=*******-storage --secret_key=******* --host=nyc3.digitaloceanspaces.com --host-bucket=%(bucket)s.nyc3.digitaloceanspaces.com: exit status 11
err: error running command /usr/bin/s3cmd s3cmd mb s3://******* --access_key=*******-storage --secret_key=******* --host=nyc3.digitaloceanspaces.com --host-bucket=%(bucket)s.nyc3.digitaloceanspaces.com: exit status 11
Error: mixin execution failed: exit status 1
Error: failed to install the bundle: container exit code: 1, message: <nil>

and if I build it from scratch, and THEN install:
 🔋 42% (1:47)  porter install spring-music -c spring-music --param space_name=cnab --param namespace=cnab                                                                           ✔  9016  09:58:46
installing spring-music...
executing install action from spring-music (bundle instance: spring-music) defined in /cnab/app/porter.yaml
s3cmd create bucket
ERROR: S3 error: 400 (InvalidRequest): Malformed request
err: error running command /usr/bin/s3cmd s3cmd mb s3://******* --access_key=*******-storage --secret_key=******* --host=nyc3.digitaloceanspaces.com --host-bucket=%(bucket)s.nyc3.digitaloceanspaces.com: exit status 11
Error: error running command /usr/bin/s3cmd s3cmd mb s3://******* --access_key=*******-storage --secret_key=******* --host=nyc3.digitaloceanspaces.com --host-bucket=%(bucket)s.nyc3.digitaloceanspaces.com: exit status 11
Error: mixin execution failed: exit status 1
Error: failed to install the bundle: container exit code: 1, message: <nil>

and the --debug enabled:
 🔋 32% (2:06)  porter install spring-music -c spring-music --param space_name=cnab --param namespace=cnab --debug                                                                 1 ↵  9021  10:26:12
installing spring-music...
installing bundle spring-music (.cnab/bundle.json) as spring-music
	params: [helm_release namespace node_count porter-debug region space_name database_name]
	creds: [do_spaces_secret kubeconfig do_access_token do_spaces_key]
DEBUG: defaulting debug to PORTER_DEBUG (true)
DEBUG: defaulting action to CNAB_ACTION (install)
executing install action from spring-music (bundle instance: spring-music) defined in /cnab/app/porter.yaml
s3cmd create bucket
DEBUG mixin:    exec
DEBUG mixinDir: /*******/app/mixins/exec
DEBUG file:
DEBUG stdin:
install:
- exec:
    arguments:
    - mb
    - s3://*******
    - --access_key=*******-storage
    - --secret_key=*******
    - --host=nyc3.digitaloceanspaces.com
    - --host-bucket=*******.nyc3.digitaloceanspaces.com
    command: s3cmd
    description: s3cmd create bucket

/*******/app/mixins/exec/exec-runtime /*******/app/mixins/exec/exec-runtime install --debug
DEBUG Parsed Input:
&exec.Action{Steps:[]exec.Step{exec.Step{Instruction:exec.Instruction{Description:"s3cmd create bucket", Command:"s3cmd", Arguments:[]string{"mb", "s3://*******", "--access_key=*******-storage", "--secret_key=*******", "--host=nyc3.digitaloceanspaces.com", "--host-bucket=*******.nyc3.digitaloceanspaces.com"}, Flags:builder.Flags(nil), Outputs:[]exec.Output(nil)}}}}
/usr/bin/s3cmd s3cmd mb s3://******* --access_key=*******-storage --secret_key=******* --host=nyc3.digitaloceanspaces.com --host-bucket=*******.nyc3.digitaloceanspaces.com
ERROR: S3 error: 400 (InvalidRequest): Malformed request

that's after repairing the strange (bundle)s. string in porter and then running it from source.

Yeah, I have a README update to push. Apologies, I haven’t had a chance to do that given everything else I’ve been trying to pull together

@squillace you shouldn't need to change anything with:
 - "--host-bucket=%(bucket)s.{{bundle.parameters.region}}.digitaloceanspaces.com"

That is indeed the strange format (where we are just replacing the region.
I believe your error is related to credentials. I've updated the README.md, please give that a look and see if it is any clearer.


⚠ Secret Website 3 has degraded performance

In 4b48429, Secret Website 3 ($SECRET_WEBSITE_3) experienced degraded performance:

HTTP code: 200
Response time: 16731 ms

Resolved: Secret Website 3 performance has improved in b3d2236.


Add synth script for redis

Created a GAPIC-only synth script for redis, and regenerated.

Also fixed the other two issues you found in oslogin (which are also present here).


fix(ONYX-473): UI improvements to the new Create Alert modal

This PR resolves ONYX-473
Description
Remove animation from the Pills
Use font weight bold instead of 500
(NOTE: on Android the tittles stay not bold no mater what font-weight we use)

iOS
Android

PR Checklist

[x] I have tested my changes on iOS and Android.
[ ] I hid my changes behind a feature flag, or they don't need one.
[ ] I have included screenshots or videos, or I have not changed the UI.
[ ] I have added tests, or my changes don't require any.
[ ] I added an app state migration, or my changes do not require one.
[ ] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

UI improvements to the new Create Alert modal -daria

iOS user-facing changes

Android user-facing changes

Dev changes

Need help with something? Have a look at our docs, or get in touch with us.

This PR contains the following changes:

Cross-platform user-facing changes (UI improvements to the new Create Alert modal -daria)

  Generated by :no_entry_sign: dangerJS against e3bf36cb87b7a9db1ab3db30b32f2ddd6ed5289e


Warnings in with NativeScript 2.5.0 > "Unable to sync files. Error is: ENOENT: no such file or directory..."

Platform: iOS
TNS: 2.5.0
Unable to sync files. Error is: ENOENT: no such file or directory, stat '/Users/name/testApp/platforms/ios/testApp/app/app.scss'
This is what I get every time it resyncs a change of SCSS files. Is there a way to ignore messages like these?

Closing because of duplicate issue #18.


Developed Script for Schedule FA Computation.

First Thanks a Lot for wonderful Work done in this Repo which has helped me get Historical Rates.
Using thees i have developed a Script for Computation of Two Difficult Fields of Peak Value and Closing Value in FY.
Requesting you to review this Script and Try it out. If its Useful we can include it in Readme with Link to My Repo so others can benifit from it.
https://github.com/amanhigh/go-fun/blob/master/components/learn/tools/simple/schedule_fa.py
I have used VANTAGE API's whose Data is Correct for US Stocks and has generous Free Tier to Download Ticker Data.
File contains Readme at top of it including description, usage instructions and Sample Run Output.
Please share your feedback if any can improve script based on that. Thanks

Appreciate the kind words, Aman. Glad you found it to be useful.
One of the main factors to take into account when calculating peak balances is the changing number of shares over the year.  In my cursory glance of your code, I didn't notice this being taken into account. I didn't get a chance to play with the code though.
Since we are not affiliated and I am unable to vouch for correctness, I am not comfortable referencing to your code.
Nevertheless, good luck for the project. It has potential to be quite useful!

Yes that is planned and your observation is correct. I am planning to build updated version which can work on last year snapshot of Holdings and Transaction history of current year.
This version still requires some logic after you get dollar values.


Folders with # and _ misbehaving

User reported that folders that start with # and _ seem to scan fine, but the thumbnails do not show up.

Replicate to confirm if this happens, maybe check folders that start with . too 🤷♂
Fix 😅

Instead of opening a new issue since it seems to be related: directories with a . omit the character when being displayed as a tag, but seem to store it internally.
So, for example, if you have a directory called foo.bar, the tag displayed will look like foobar, but searching for foobar will return nothing. Searching for foo.bar will return the expected result. So the only issue is with the display.

Thank you for the bug report!
I've never had a . in my folder name 😅 so I never came across this -- will replicate and fix 👍


The $everything operation doesn't return Medications referenced from MedicationOrders

After a discussion on Skype, if $everything is executed on a Patient, and that patient has a MedicationOrder, and that MedicationOrder references a Medication, the Medication order should be returned as part of the result set ("The server also returns whatever resources are needed to support the records - e.g. linked practitioners, medications, locations, organizations etc."). Currently, it doesn't.

Hmm, I can't reproduce this actually. I thought this wouldn't work, but it seems like it does.. Maybe it's not an issue after all? @wdebeau1 are you able to reproduce?


KAFKA-4050: Allow configuration of the PRNG used for SSL

Add an optional configuration for the SecureRandom PRNG implementation, with the default behavior being the same (use the default implementation in the JDK/JRE).

+1 for the PR
Perhaps a unit test will be useful? Could just add a simple test that uses SHA1PRNG in clients/src/test/java/org/apache/kafka/common/network/SslTransportLayerTest.java.

Thanks for the PR, this is great.
It doesn't need to be in this PR, but I think it would be interesting to add this parameter to the matrix in the ducktape benchmark tests: https://github.com/apache/kafka/blob/trunk/tests/kafkatest/benchmarks/core/benchmark_test.py

Since this PR introduces a new config, does it need a KIP?

I briefly thought about that and know that configurations are listed in the KIP "major change" section - I feel that if we are changing an existing config we definitely need to. However, for adding such a config that defaults to the existing behavior - I think we can use reasonable judgment. For this specific config I felt it is small enough to not require a KIP that I didn't even bring it up :)
If you strongly feel we need a KIP for this then we can definitely do that and back out changes if necessary.

I don't feel strongly personally, just good to have a shared understanding of when we need a KIP and when we don't. In a sense, one could claim that it's a bug that we forgot to expose this particular config (we seem to expose every other JDK config).
For this particular issue, the aspect that I am not sure we explored fully is if we should change the default. As you said in your comment, even if SHA1PRNG is not supported in every platform, we can fallback if that is the case.

wrt setting SHA1PRNG as the default, the concern that Todd raised above was if SHA1PRNG is ever considered to be insecure then we will continue to force that default on all users (while the JRE presumably translates the current default - null - to whatever is considered safe by the JRE). (How do we link to earlier comments? I just added a reaction to flag Todd's comment further above.)

I had put this in the PR above, but since it took an offline talk to make myself clear, I'll rephrase.
My concern is that if a vulnerability is discovered in SHA1PRNG, Kafka users may not realize it affects them. Since the default for the JRE is not SHA1PRNG, any communication about the vulnerability will state it's not the default implementation. Kafka users who have not changed Kafka's default may not realize that they are vulnerable because they didn't not change a default themselves. This will put the onus on us to make a change, push a bugfix, and update users.
In addition, it may not be as simple as a bugfix. If we can't use SHA1PRNG, and there is no other globally available implementation, our choices are to either add a lot of logic to select several different implementations (which is a lot of complexity and testing/performance issues), or to revert to the default behavior (which will be a severe performance regression). I feel that given all of this, it's better to retain the default behavior and explicitly call out in the documentation the performance concerns.

@toddpalino My bad, I missed your previous explanation. Thanks for reiterating. A couple of things:

Unsafe ciphers and algorithms are disabled by the JRE/JDK regularly. There is even a roadmap: http://www.java.com/en/jre-jdk-cryptoroadmap.html. So I think that weakens that part of the argument.
My concern is that people will miss the relevant paragraph in the documentation (the security docs are quite long) and leave a lot of performance on the table.

Having said that, I share your concern that an automatic fallback may lead to unexpected performance regressions if SHA1PRNG is unavailable. Given that, maybe we can leave things as they are, watch out for user feedback and re-evaluate then.

Heads up that DRGB is now preferred over SHA1PRNG in newer JDKs:
https://docs.oracle.com/javase/9/security/oracleproviders.htm#JSSEC-GUID-9DC4ADD5-6D01-4B2E-9E85-B88E3BEE7453


Add powerline faces

Thanks for your contribution!
Any chance you could provide a screenshot? I'm not as familiar with the powerline faces, so I'd like to make sure it still looks good.
Also, looks like it uses different settings from the normal modeline. Is that on purpose?
     (mode-line                                    :foreground base04 :background base02 :box nil)
     (mode-line-buffer-id                          :foreground base0B :background nil)
     (mode-line-emphasis                           :foreground base06 :slant italic)
     (mode-line-highlight                          :foreground base0E :box nil :weight bold)
     (mode-line-inactive                           :foreground base03 :background base01 :box nil)

Thanks for your contribution!
Any chance you could provide a screenshot? I'm not as familiar with the powerline faces, so I'd like to make sure it still looks good.

Sure I'll take before/after screenshots

Also, looks like it uses different settings from the normal modeline. Is that on purpose?

Yes. powerline still uses the modeline settings for the "background" portion of the line, but it uses these parts for the segments in the modeline

Before http://imgur.com/l7EC0si
The problem with this is that the lighter active window "looks" inactive, and the darker "inactive" windows look active.
After http://imgur.com/HGui14Q
Its much more obvious that the active center window is active

The screenshots are in base16-default-dark. If you'd like to see something else, let me know.

Hmmm. I took a look at some of the other themes and some of them don't look great. They didn't really look good with powerline before either. It's sort of hard to pick colors that work with all of the different themes here.

I've tested your changes on default-dark, and tomorrow (on tomorrow, it's hard to see contrast, but it looks better than before)... it looks good on those. However, on ones like github it looks pretty bad.
I know when I'm not really sure what to do, I sometimes look at the vim theme, or hybrid as it's a variation on tomorrow-dark. The project page also provides some basic guidelines, but doesn't account for everything (http://chriskempson.com/projects/base16/).

That looks good to me because it's very clear which is active and which is inactive.
I'm mostly happy with how this looks, so I can merge this as-is and iterate on it later, or if you want I can hold off if you want to tweak it.

Lets merge for now. I might take a look at it again later this weekend

Merged! I've opened an issue so I remember to take a look at this later.


AWS Instance MetaData Service V2 support

In 2019 AWS added a new version (v2) of their metadata service that is more resilient to relay attacks being performed against an instance's locally linked metadata API.
It would be amazing to support v2 of this API so this library can be used in environments where credentials generated using the v1 api have been disabled.
AWS announcement:
https://aws.amazon.com/blogs/security/defense-in-depth-open-firewalls-reverse-proxies-ssrf-vulnerabilities-ec2-instance-metadata-service/
More information:
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-service.html
You can see how other SDKs implement it here:
https://github.com/boto/botocore/blob/370cdf7d708c92bf21a42f15392f7be330cf8f80/botocore/utils.py#L370
https://github.com/aws/aws-sdk-go/blob/e2d6cb448883e4f4fcc5246650f89bde349041ec/aws/ec2metadata/service.go#L188
https://github.com/aws/aws-sdk-js/blob/307e82673b48577fce4389e4ce03f95064e8fe0d/lib/metadata_service.js#L113

Agreed looks good to implement and thanks for the PR #1489

I've proposed a solution #1489. Let me know what you think :)

@harshavardhana do you have any rough guess as to when somebody would have time to have a look at this? (days vs weeks vs months)

@harshavardhana do you have any rough guess as to when somebody would have time to have a look at this? (days vs weeks vs months)

This week for sure @michaelfoley1

closing this issue as PR #1489 has been merged


arm_rfft_fast_f32 causes Bus Fault on M33 for some FFT sizes

Hi,
I'm currently trying to get the real FFT function working on an M33. The function works perfectly for an FFT size of 512 but when increasing the size to 1024 or above a bus fault exception occurs like this:
### EXCEPTION ###
PC =0024C194, ExceptionNumber=D'-11, EXC_RETURN=FFFFFFED

R0 =20083D38, R1 =20082D38, R2 =2007ED38, R3 =20081D38
R4 =20080D38, R5 =20084D38, R6 =2007DD3C, R7 =80000008
R8 =00000078, R9 =00008000, R10=00001000, R11=00000078
R12=00000078, SP =20082D00, LR =00001000

MSP=20169FD8, PSP=20082C98
MSPLIM=20168F00, PSPLIM=200822D0

PRIMASK=00, FAULTMASK=00, BASEPRI=40, CONTROL=00
XPSR=21100000, APSR=nzCvq, EPSR=01000000, IPSR=00 (NoException)

ICSR =0440F805, AIRCR=FA050000, SCR  =00000000, CCR  =00000611
SHCSR=00070002, CFSR =00008200, HFSR =00000000, AFSR =00000000
MMFAR=80000004, BFAR =80000004
FaultInfo : (BusFault)
FaultCause: (Precise data bus error) (BFAR valid)

Stack:
  20082CC0: 00000000 80000000 00000000 00000000
  20082CD0: 00000000 80000000 00000000 00000000
  20082CE0: 7FFF0208 FFFF0208 00000000 00000000
  20082CF0: 00000000 80000000 00000000 00000000
* 20082D00: 00000000 00000000 00000000 00000000
  20082D10: 00000000 00000000 00000000 00000000
  20082D20: 00000000 00000000 00000000 00000000
  20082D30: 00000000 80000008 2007DD3C 20084D38
  20082D40: 20080D38 20083D38 20082D38 2007ED38
  20082D50: 20081D38 20087E14 20087A54 00000200
  20082D60: 00000001 20087694 2007D978 2007D97C
  20082D70: 49465853 3F99999A 43480000 439D1462

where my code is
    int fft_size = FFT_SIZE;

    static float32_t fft_in[FFT_SIZE];
    static float32_t fft_out[FFT_SIZE];

    /*CMSIS FFT initialise*/
    arm_rfft_fast_instance_f32 S;
    arm_rfft_fast_init_f32(&S, fft_size);
    arm_rfft_fast_f32(&S, fft_in, fft_out, 0);

Being new to these type of issues, would anyone be kind enough to point me in the right direction to debug this? What are the possible causes?

@cberk1 Can you check the return code of arm_rfft_fast_init_f32 to see if an error occurred during the initialization.
Do you use any compilation flag to avoid the inclusion of all FFT tables and keep only the ones you need ? (to minimize code size)

Hi Christophe, thank you for your reply.
Your are right - the initialization is failing (ARM_MATH_ARGUMENT_ERROR) for 1024, 2046 and 4096 fft sizes.
    arm_rfft_fast_instance_f32 S;
    int ret = arm_rfft_fast_init_f32(&S, 4096);

Here are my compilation flags:
ccflags-y += -DARM_TABLE_TWIDDLECOEF_F32_16\
             -DARM_TABLE_BITREVIDX_FLT_16\
             -DARM_TABLE_TWIDDLECOEF_RFFT_F32_32\
             -DARM_TABLE_TWIDDLECOEF_F32_16\
             -DARM_DSP_CONFIG_TABLES\
             -DARM_FFT_ALLOW_TABLES

I'm not using any others.

@cberk1 The compilation flags are wrong. You only include tables for RFFT of length 32. You need to change this to include the tables for the RFFT 1024 if you want to compute with this FFT length. It is the cause of the crash (and I am surprised it worked for length 512. Perhaps it did not crash but the result was probably wrong).

@christophe0606 this was of course the issue. Given the somewhat obscure memory errors I didn't think to dive into the CMake stuff, thanks for pointing me in the right direction. In the end, un-commenting the desired flags in arm_tables_config.h worked on my platform.


Possibly some .m files missing?

You get the following warning when trying to build this package
Warning: File listed in inline-c-objc/inline-c-objc.cabal file does not exist: src/Language/ObjC/Inline.m
Warning: File listed in inline-c-objc/inline-c-objc.cabal file does not exist: examples/hello.m
i

No. They'll be dynamically generated at compile time, and no default source is needed.