[Event Request] report 840 "Suggest Worksheet Lines" - Create new event OnInsertCFLineForSalesLineOnBeforeInsertTempCFWorksheetLine

Describe the request
Could we please have a new event OnInsertCFLineForSalesLineOnBeforeInsertTempCFWorksheetLine
in the function InsertCFLineForSalesLine from report 840 "Suggest Worksheet Lines"
this is similar to an existing event named "OnInsertCFLineForCustLedgerEntryOnBeforeInsertTempCFWorksheetLine" in the procedure InsertCFLineForCustLedgerEntry
Code:
local procedure InsertCFLineForSalesLine()
  var
      SalesLine2: Record "Sales Line";
  begin
      SalesLine2 := "Sales Line";
      if Summarized and (SalesLine2.Next() <> 0) and (SalesLine2."Sell-to Customer No." <> '') and
         (SalesLine2."Document No." = "Sales Line"."Document No.")
      then begin
          TotalAmt += CalculateLineAmountForSalesLine(SalesHeader, "Sales Line");
          MultiSalesLines := true;
      end else
          with CFWorksheetLine2 do begin
              Init();
              "Document Type" := "Document Type"::Invoice;
              "Document Date" := SalesHeader."Document Date";
              "Source Type" := "Source Type"::"Sales Orders";
              "Source No." := "Sales Line"."Document No.";
              "Source Line No." := "Sales Line"."Line No.";
              "Shortcut Dimension 1 Code" := SalesHeader."Shortcut Dimension 1 Code";
              "Shortcut Dimension 2 Code" := SalesHeader."Shortcut Dimension 2 Code";
              "Dimension Set ID" := SalesHeader."Dimension Set ID";
              "Cash Flow Account No." := CFSetup."Sales Order CF Account No.";
              Description :=
                CopyStr(
                  StrSubstNo(
                    SalesDocumentDescriptionTxt,
                    SalesHeader."Document Type",
                    Format(SalesHeader."Order Date"),
                    SalesHeader."Sell-to Customer Name"),
                  1, MaxStrLen(Description));
              SetCashFlowDate(CFWorksheetLine2, SalesHeader."Due Date");
              "Document No." := "Sales Line"."Document No.";
              if SalesHeader."Prepayment %" = 100 then
                  "Amount (LCY)" := GetSalesOrderPrepaymentAmt("Sales Line")
              else
                  "Amount (LCY)" := CalculateLineAmountForSalesLine(SalesHeader, "Sales Line");

              if Summarized and MultiSalesLines then begin
                  "Amount (LCY)" := "Amount (LCY)" + TotalAmt;
                  MultiSalesLines := false;
                  TotalAmt := 0;
              end;

              if "Cash Flow Forecast"."Consider CF Payment Terms" and (Customer."Cash Flow Payment Terms Code" <> '') then
                  "Payment Terms Code" := Customer."Cash Flow Payment Terms Code"
              else
                  "Payment Terms Code" := SalesHeader."Payment Terms Code";

  			//>>>>
  			 OnInsertCFLineForSalesLineOnBeforeInsertTempCFWorksheetLine(CFWorksheetLine2, "Cash Flow Forecast", "Sales Line");
  			//<<<<

              InsertTempCFWorksheetLine(CFWorksheetLine2, 0);
          end;
  end;

Event signature:
    [IntegrationEvent(false, false)]
    local procedure OnInsertCFLineForSalesLineOnBeforeInsertTempCFWorksheetLine(var CashFlowWorksheetLine: Record "Cash Flow Worksheet Line"; "Cash Flow Forecast": Record "Cash Flow Forecast"; "Sales Line": Record "Sales Line")
    begin
    end;

Thanks in advance,
Sameer
Additional context
We require updating some fields in CFWorksheetLine before performing the insertion.
Internal work item: AB#502637

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


Check module.exports

Create a unique symbol and type for module in each commonjs file. Previously, all references to module used the same symbol, which had type any. Now module has type { exports: typeof import("current-file") }. This module symbol is no longer identified by identity but by CheckFlags.ModuleExports.
A few notes:

I'm not sure that getSourceFileOfNode is the best way to get the symbol of the source file.
module has a fresh anonymous type for each file. This may have to change in order to fix #25533, although the outline of the solution will remain the same.
module.exports assignment is now unconditionally a Special Property Assignment for the purposes of checking. That means assignments to module.exports (1) will not have assignability errors (2) return the type of module.exports, not its initializer. This should work fine because references to module.exports now refer to the source file's type.
I see a few changes in the user tests that I'm investigating.

Fixes #25687
Fixes #25621

Looks like the build found some lint. I'll fix it in my next commit.

Notes from user tests:
Good

adonis-framework: Aliases of module.exports are now typed, so we find that Helpers._makePath should have its third parameter optional, but is not annotated as such in its jsdoc, and that Route.route should have it second parameter verb: string | string[] not just string.

assert: property assignments to an alias declaration (var assert = module.exports = ok) are now recognised. The type of this in those property assignments is still not right, but hasn't gotten worse at least.

npmlog: Same as assert, but the difference is much more dramatic. Also strict null checks catches a rogue undefined.

chrome-devtools-frontend: (1) includes a copy of assert (2) now has a contextual type for some assignments that sets this: any. This removes some errors! TODO: Finish later.

Bad

axios: Assignment to the default property (ironically commented as "Support typescript") has an incorrect "variable 'axios' is used before being assigned error"

var axios = {}
module.exports = axios // ok
module.exports.default = axios // should be ok, currently an error

npm: Alias of module.exports isn't callable in 3 different places. (Probably related to #25533).

var npm = module.exports = function (tree) {
}
module.exports.asReadInstalled = function (tree) {
    npm(tree) // should be callable, but isn't
}

npmlog: The alias of module.exports is missing the properties from its initialiser.

var EE = require('events').EventEmitter
var log = exports = module.exports = new EE()
log.on('error', function() { })

Ugly

create-react-app: No more "can't find module 'browserslist'." I have no idea why.
graceful-fs: Duplicate assignability error trying to overwrite fs.close. Maybe because of the special handling in checkBinaryLikeExpression? But this should have fewer assignability checks.

I fixed all the user test failures. The only incorrect change is to npm, which uses the same pattern as npmlog, but wrapped in an IIFE. Because the exports assignments aren't at top-level they aren't recognised. Now the error message is wrong as well &mdash it says typeof EventEmitter instead of EventEmitter. However, I don't think it's worth the additional effort to fix until we also make this pattern work inside an IIFE.


Boolean Form Submission Error in Business Forms Panel 4.8.0 with Grafana 11.1.0 - Form Element: Radio group with boolean options

Git Issue: Boolean Form Submission Error in Business Forms Panel 4.8.0 with Grafana 11.1.0
Summary
When using the Business Forms Panel (v4.8.0) in Grafana (v11.1.0), submitting a boolean field with a value of false results in an error. This issue arises due to the undefined value being sent in the update statement for false.
Steps to Reproduce

Set up a Grafana dashboard with:

Two form panels for numeric inputs.
One form panel using a "Radio group with boolean options".

Connect the form panels to a PostgreSQL database.
Ensure the database field for the boolean is initially set to false.
Perform the following actions:

Set the boolean form to true and submit: ✅ Submission succeeds.
Set the boolean form to false and submit: ❌ Submission fails.

Observed Behavior

When setting the boolean field to true, the update statement correctly sends true as the value.
When setting the boolean field to false, the update statement sends undefined, resulting in an error.

Expected Behavior

The update statement should send false when the boolean field is set to false, as displayed correctly in the "Update Confirmation Window".

Environment

Business Forms Panel: 4.8.0
Grafana: 11.1.0
Database: PostgreSQL

Additional Notes
The issue seems to originate from how the form panel processes and serializes boolean values during submission. The discrepancy between the "Update Confirmation Window" and the actual update statement may offer a clue.
Request
Can this behavior be verified and addressed? If additional debugging or testing is needed, please provide guidance.
Thanks

@m4v3rickmts Do you create payload using custom code with if statement? If yes, please remove it.

@mikhail-vl I set the "Custom Code" (Initial Request) field to empty but still the same issue.
I tried it with both "Custom Code" fields but the error with "undefined" won't be solved.
Any ideas?

@m4v3rickmts I will try to reproduce and get back to you.

Meanwhile I am using a workaround:
isactive=case when '${payload.isactive}'='true' then true else false end
I check if it is true and update the table with true, else with false. But I am sure it would be much more convenient if the radio group return was either true or false.

Hi @vitPinchuk
Thanks for your detailed configuration which helped me get it working.

@m4v3rickmts Thank you for confirming.


It requires Administrator's priviledge to preview unsaved (untitled) files in Windows

I created a new file, changed the language mode to AsciiDoc, and tried to open the preview of it, but I got the following message and couldn't get the preview:
'\Untitled-1' を開くことができません: EPERM: operation not permitted, open 'C:\Program Files\Microsoft VS Code\tmp-2476CeZ55Mzcku7q.adoc'。

i.e.
Cannot open '\Untitled-1': EPERM: operation not permitted, open 'C:\Program Files\Microsoft VS Code\tmp-2476CeZ55Mzcku7q.adoc'.

This was reproduced on my notebook (Windows 10 + VSCode 1.19.2 + Ruby 2.5.0 + Asciidoctor <IP_ADDRESS> + Asciidoctor PDF 1.5.0.alpha.16), but not reproduced on my desktop for research (Ubuntu 17.10 + VSCode 1.19.2 + Ruby 2.3.3 + Asciidoctor 1.5.5 + Asciidoctor PDF 1.5.0.alpha.16).
However, it didn't occurred when VSCode was opened with the Administrator's p;riviledge.

I think the designation of the option dir of tmp.fileSync is not perfect.
https://github.com/joaompinto/asciidoctor-vscode/blob/bf8b814a284cfb1c4dc14d2ce87613618b882354/src/AsciiDocProvider.ts#L126-L127
It must be a new temporary directory or a shared directory for temporary files if the document has not been saved.


Error: Dart library 'dart:js_interop' is not available on this platform.

context:
            [        ] import 'dart:js_interop' as js;
            [        ]        ^
            [        ] Context: The unavailable library 'dart:js_interop' is imported through these packages:
            [        ]     package:the_ninth_art => package:shadcn_flutter => dart:js_interop
            [        ] Detailed import paths for (some of) the these imports:
            [        ]     package:the_ninth_art/main_production.dart => package:the_ninth_art/presentation/app_entry_point_page.dart => package:shadcn_flutter/shadcn_flutter.dart => package:shadcn_flutter/src/shadcn_app.dart => dart:js_interop
            [        ] ../../../.pub-cache/hosted/pub.flutter-io.cn/shadcn_flutter-0.0.3/lib/src/shadcn_app.dart:2:8: Error: Dart library 'dart:js_interop_unsafe' is not available on this platform.
            [        ] import 'dart:js_interop_unsafe';
            [        ]        ^
            [        ] Context: The unavailable library 'dart:js_interop_unsafe' is imported through these packages:
            [        ]     package:the_ninth_art => package:shadcn_flutter => dart:js_interop_unsafe
            [        ] Detailed import paths for (some of) the these imports:
            [        ]     package:the_ninth_art/main_production.dart => package:the_ninth_art/presentation/app_entry_point_page.dart => package:shadcn_flutter/shadcn_flutter.dart => package:shadcn_flutter/src/shadcn_app.dart => dart:js_interop_unsafe
            [        ] ../../../.pub-cache/hosted/pub.flutter-io.cn/shadcn_flutter-0.0.3/lib/src/shadcn_app.dart:205:10: Error: Undefined name 'globalContext'.
            [        ]       js.globalContext.callMethod("onAppReady".toJS);
            [        ]          ^^^^^^^^^^^^^
            [        ] ../../../.pub-cache/hosted/pub.flutter-io.cn/shadcn_flutter-0.0.3/lib/src/shadcn_app.dart:205:48: Error: The getter 'toJS' isn't defined for the class 'String'.
            [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'toJS'.
            [        ]       js.globalContext.callMethod("onAppReady".toJS);
            [        ]                                                ^^^^
            [        ] ../../../.pub-cache/hosted/pub.flutter-io.cn/shadcn_flutter-0.0.3/lib/src/shadcn_app.dart:292:9: Error: No named parameter with the name 'checkerboardRasterCacheImages'.
            [        ]         checkerboardRasterCacheImages: widget.checkerboardRasterCacheImages,

sorry, this version is 0.0.3


Split Cloudformation templates

Create Cloudformation S3 bucket
Upload CF templates to S3 bucket
Pull output from all templates into master template

done in v2


trivy 0.42.1

Is there an endpoint we can hit to grab the latest stable version or something? they seem to bump versions semi-regularly

https://gist.github.com/lukechilds/a83e1d7127b78fef38c2914c4ececc3c
OR
https://github.com/marketplace/actions/get-latest-release


Fixed issue #307

Tested with both both a string and an array as value for the clientValidation key.

Looks good. Thanks.


Option to publish/unpublish app in Update Event

Feature Request
Feature Description
There should be an option to publish/unpublish event in toolbar in update event.
Would you like to work on the issue?
Yes

It isn't needed anymore as discussed in today's meeting. So, closing this.


[style] Adds more margin for description

Fixes issue with wordpress (and other pages) that didn't have enough content in the description.
See #2069 for screenshots.

this time you were fast :D @captn3m0
can we also incease width of context part a little ? because even we trim content a bit
still it is not fitting in that page (contributing)

That's dependent on our theme. Plus we're moving out the CONTRIBUTING file to the Wiki, so it shouldn't matter long.

@captn3m0 ok then i merged contribution.md changes and it is ready to moved in a wiki :D


Fix some bugs when using MSVC

At least on MSVC this needs stdint.h so we put that in here as well
In the long run, emu.h should probably #include all it needs by itself...?

Looks good!


[Question] It is possible to remove the  attribute “query” of the body of “payload” when selecting the “GraphQL” mode?

Insomnia Version: 5.14.9
Operating System: Ubuntu 16.04 LTS

Details
"message": "Syntax Error GraphQL request (1:2) Expected Name, found String "query"\n\n1: {"query"

Can you explain what you would like the body to be instead? Insomnia follows the  official GraphQL spec.

of course.
For example:
{ book(id: "09c97e60-5eb0-4c4a-bad1-15598ccba100") { id description } }
Insomnia inject:
{ query: { book(id: "09c97e60-5eb0-4c4a-bad1-15598ccba100") { id description } } }

Sorry for the delay!
Is this custom behavior specific to your company? I've never seen GraphQL requests being sent like that. GraphQL requests are usually sent with a variables and operationName key as well. How do you send these fields in your server implementation?
http://graphql.org/learn/serving-over-http/#post-request


chore: update pydid

Recent changes to the resolution of sov/indy DIDs caused PyDID to parse
service endpoints that should have been recognized as DIDComm services
as plain services. This broke some logic in accepting invitations from
public DIDs. Pulling in these updates from PyDID resolves the issue.
Signed-off-by: Daniel Bluhm<EMAIL_ADDRESS>

The error this fixes:
aries_cloudagent.connections.base_manager.BaseConnectionManagerError: Cannot connect via public DID that has no associated DIDComm services

Caused by these lines:
https://github.com/hyperledger/aries-cloudagent-python/blob/a8101e1fef6004c79a8f0fb10b63138fb0ad140f/aries_cloudagent/connections/base_manager.py#L256-L264

Codecov Report

Merging #1915 (1680475) into main (ccf3290) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1915   +/-   ##
=======================================
  Coverage   93.68%   93.68%
=======================================
  Files         540      540
  Lines       34187    34187
=======================================
  Hits        32027    32027
  Misses       2160     2160


AP mode

Dear Magnus,
Is my understanding correct that if inetbox2mqtt falls back to AP mode, which is open Wifi, anybody could connect, go to the WebGUI, click on "Status" and see the entered Wifi credentials? Would you consider this a safety concern?
Sorry if I am completely wrong and have unnecessarily stirred the water.
Wishing you and all other kind people peaceful Easter! ☮🥚🐔🍀

So if you were not in the "experimental phase", your ESP32 would be in "normal mode" and no one could see your credentials.
Yes, I put the data in the status on purpose. There were the problems with the credentials for most newbies to get the system up and running.


Rename Fecha and Numero to Date and Number

Fixes #1

Can you edit line 73 to?
https://github.com/manuelcanepa/wpf-prompt-dialog/blob/main/PromptDialog/Dialog.xaml.cs#L73

@manuelcanepa This happens when one is too lazy to compile and test, because one things the project is so small, what could possibly go wrong? 🤡
Well ... here we go.

Thanks! ❤


Handle unexpected disconnects via packets

Please describe the changes this PR makes and why it should be merged:
An attempt to fix #1494, this tries to help keep the Discord state and voice connection synchronous by doing the following:
if Discord sends a voice disconnect packet, but the voice connection still believes it isn't disconnected, forcefully disconnect the voice connection.
Semantic versioning classification:

[x] This PR changes the library's interface (methods or parameters added)

[ ] This PR includes breaking changes (methods removed or renamed, parameters moved or removed)

[ ] This PR only includes non-code changes, like changes to documentation, README, etc.

If #1499 happens, then the voice connection stays stuck in a status of 4 and won't destroy the voice connection. VoiceChannel.leave() nor VoiceConnection.disconnect() appear to have any effect. No discernable errors when running those functions either.

What exactly do you mean by destroy? If it's in status 4 that means it's disconnected. Therefore, it is destroyed. Do you mean that it isn't disconnecting from the channel?

why is this marked as changing lib interface

because the PR template is bad

@aemino Correct, I think. I understand that 4 is the correct status for DISCONNECT, but normally when I disconnect from a VoiceConnection, it becomes null again. Right now if this scenario happens where it gets stuck, I can no longer re-summon the bot to any voice connection inside that guild again.
I believe it might be this set of lines: https://github.com/hydrabolt/discord.js/blob/master/src/client/voice/ClientVoiceManager.js#L56
Here's some more examples of me showing that the client is showing it's in my voice channel, and any attempts at resummoning(VoiceChannel.join()) never succeed and it's effectively stuck until the process restarts.

I believe this issue arises when multiple attempts to create a voice connection happen simultaenously. I currently have a flag being set per guild that is set before the voice connection attempt is made so that if 2 happen at the same time, it won't try to do it twice.


Export popup attributes

This PR exports the PopupWindowAttributes type in MSAL Browser

Codecov Report

Merging #5364 (d4b2a52) into dev (0596334) will not change coverage.
The diff coverage is n/a.

Flag
Coverage Δ

*Carryforward flag

msal-angular
96.50% <ø> (ø)

msal-browser
86.47% <ø> (ø)

msal-common
85.45% <ø> (ø)

Carriedforward from 0596334

msal-core
82.84% <ø> (ø)

Carriedforward from 0596334

msal-node
82.90% <ø> (ø)

Carriedforward from 0596334

msal-node-extensions
76.03% <ø> (ø)

Carriedforward from 0596334

msal-react
94.50% <ø> (ø)

node-token-validation
88.88% <ø> (ø)

Carriedforward from 0596334

*This pull request uses carry forward flags. Click here to find out more.

Impacted Files
Coverage Δ

lib/msal-browser/src/index.ts
100.00% <ø> (ø)


Remote TaskHistoryLog

I need to get to the task history from a remote computer.  How would I go about doing that?  The constructor on TaskHistoryLog has a parameter for Machine, but not username or password (like the task service has).
Thanks
Originally posted: 2013-07-01T14:03:49

I have updated the TaskEventLog constructor so it accepts optional parameters for username and password.
Originally posted: 2014-02-27T13:56:20


support row margin

ie. a row margin that will be considered for each row

@thinkh @sgratzl, is this still an issue?

yes

part of https://github.com/sgratzl/lineupengine/tree/multi


Added updated Grafana dashboards

This PR adds a new Kafka Grafana dashboard with some new rates metrics views.
@jparrill tbh I wasn't able to test it locally. Can you do that?

I've tested it and works fine.
LGTM


Jsc/team

I think this completes all things Team/TeamAdmin on my list. Next stop....securityservice to check if user is in correct role for action being taken. Yeah!
On a side note, Bootstrap dropped glyphicons. Do we want to bring in Font Awesome, glyphicons, or GitHub Octicons (https://octicons.github.com/)?

Also.....I think we should merge and delete, then create new branch for the security service. Thoughts?

@jcubbage we are already using font awesome, so just use that one


[Bug Report] Need to update mujoco version

Describe the bug
When trying to add dm_control, dependency resolution fails because mujoco version is pinned at https://github.com/Farama-Foundation/Gymnasium/blob/33e32178ffdf040a095bd2c856f6410bc7ec1306/setup.py#L41
poetry add -G dm_control Shimmy dm_control
Using version ^0.1.0 for shimmy
Using version ^1.0.8 for dm-control

Updating dependencies
Resolving dependencies... (0.9s)

Because dm-control (1.0.8) depends on mujoco (>=2.3.0)
 and no versions of dm-control match >1.0.8,<2.0.0, dm-control (>=1.0.8,<2.0.0) requires mujoco (>=2.3.0).
So, because cleanrl depends on both mujoco (2.2) and dm-control (^1.0.8), version solving failed.

Solution
Update the mujoco version in the setup.py
Code example
No response
System info
No response
Additional context
No response
Checklist

[X] I have checked that there is no similar issue in the repo

Will be done in https://github.com/Farama-Foundation/Gymnasium/pull/71


Dress Rehearsal Grading

Usage
Frontend?
Elaborate:
Backend?
Elaborate:
APIs?
Elaborate:
Agile Methodology?
Elaborate:
Hook
Points: 3.6-4.0
Why that score?:
Knowledge
Points: 3.6-4.0
Why that score?:
Value
Points: 0.6-1.0
Why that score?:
WOW Factor:
What & why?:

Usage
Frontend?:
Elaborate: Simple design. It's not too complicated, but it's nice and it's functional.
Backend?:
Elaborate: Table data seems to be stored. It seems functional. Formulas calculate other data based on given data, like body weight and age. It's cool.
APIs?
Elaborate: Not sure.
Agile Methodology?
Elaborate: It seems that they collaborated well in the creation of their site.
Hook
Points: 3.6-4.0
Why that score?: 3.8 points. The hook wasn't too complicated, but the idea was engaging. They presented their key information well in the beginning.
Knowledge
Points: 3.6-4.0
Why that score?: 3.8 points. They knew what they were talking about regarding things like the mathematics (ex: formulas) behind the scene and how data is stored and retrieved.
Value
Points: 0.6-1.0
Why that score?: 0.85 points. Although it may not apply to everyone and it may be more interesting to some compared to others, but the site is a very simple yet effective way of getting some basic body information (data).
WOW Factor:
What & why?: I think it's cool that you managed to use several different variables (ex: height, weight) and combine them into one set of data.

USAGE OF:

[x]  Frontend
[x]  Backend
[x]  API
[x]  Agile

HOOK:
Points: 3.6-4.0
Reason: 3.9 Interesting topic that the website focuses on. Cool basis, real world applications
KNOWLEDGE:
Points: 3.6-4.0
Reason: 3.7 Very broad, not entirely accurate but it works and provides proper feedback most of the time
VALUE:
Points: 0.6-1.0
Reason: 1.0 Has an actual use in real life, could be used to help people find healthier meal planning
WOW FACTOR:
Reason: 0.8 Cool website but it didn't really stray too far from the original website template.

Usage
Frontend?
Elaborate: Looks very moderm and is very easy to navigate
Backend?
Elaborate: Is able to post data and get data which is very ahead.
APIs?
Elaborate: Works very well
Agile Methodology?
Elaborate: Looks good and people are working together
Hook
Points: 3.8
Why that score?: Very usefull tool for everyday use.
Knowledge
Points: 3.7
Why that score?: Understand the contend well but could elaborate more.
Value
Points: 1
Why that score?: provides great value for anyone
WOW Factor: decent wow factor doesnt have the best
What & why?: Not the best graphics but looks pretty good.

Hook: 3.8+3.9+3.8
(avg)=3.83/4
Knowledge: 3.8+3.7+3.7
(avg)=3.73/4
Value: 0.85+1+1
(avg)= 0.95/1
Total Average = (3.83+3.73+0.95)/9 = 8.51/9
94.5%


feat: impl fibonacci backoff

Fix #36

Unfortunately, the check failed because the stable version has been updated. Although this issue is not related to the current pull request, would you be able to assist in resolving it? Thank you in advance.


License?

Hey Marius,
I've basically just found this repository and did not use it (yet?). But I'll have to ask out of pure curiosity:
The repository includes a LICENCE.md for BSD-3-Clause, but the headers refer to a "Student License", although some of them also include a BSD header somewhere in the file.
What license do you want to publish this code under?

Hey v4hn,
thank you for asking! The MATLAB source is licensed with the BSD-3-Clause license.
But since I generated the CPP version with the Student Version of MATLAB Coder, MATLAB Coder inserts these additional headers into the CPP sources. To get rid of these headers, I suggest to use a non-student version of MATLAB Coder to regenerate the CPP sources. See this issue for a tutorial.
Best
Marius

Thank you for explaining! I'm not familiar with MATLAB Coder and wrongly assumed the C++ code was an independent component.
It would definitely improve the usefulness of this repository in ROS if someone were to contribute generated code with a full license.
Maybe you should leave an issue open until someone did that because the BSD-3-Clause indicator for this repository is technically wrong at the moment. :/
Though personally I'm happy to use "academia-only" code as well. :-)

Thanks for the suggestion. I was able to update from the student version to the academic version which in addition to academic research and meeting course requirements at degree granting institutions also allows use in teaching.
I will reopen the issue as suggested.
TLDR: If you have a commercial version of MATLAB, please follow this procedure to generate CPP files from the MATLAB sources and provide them to the public!


Deleting duplicate fake profiles

During the fake profile generator of 25 men, there are profiles with the same picture. How can i delete those profiles with the same picture so visitors don't see the same picture on several different profiles, because it's a clear giveaway that the profile is fake.
When i try to delete the profile, a warning message comes up:
Are you sure you want to do this?
WARNING, THIS ACTION IS IRREVERSIBLE!
If i select yes, then i've screwed up my /UserCoreModel file again. If i select no, I have a site with hundreds of duplicate photos/different profiles. I wanted to upload 25 profiles at a time and go through to delete the ones with the same photos.

Can you tell me what error exception message from UserCoreModel comes up?

Actually, no error message is coming up now, only the warning message and I am able to delete profiles so this is considered solved and I'll close this issue.


feat(designer): Adding support for warnings and custom messages to ErrorsPanel, rename to FlowChecker

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

Adds capability for host to supply custom errors/warnings to be displayed in ErrorsPanel. Renaming panel to FlowChecker
Adds new setHostFlowCheckerMessages for hosts to use to supply custom errors/messages

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

CSS classnames used by the panel have been renamed (classnames are not used outside of the panel)
Logical name of panel (PanelMode) changed from "Errors" to "FlowChecker", ex. hosts that wish to force open a panel now call openPanel(... 'FlowChecker') for the renamed errors pane

Please Include Screenshots or Videos of the intended change:

Still doing validation on my end, leaving this comment up to block merge

why 2 PRs for the same thing? Is the other one valid?

why 2 PRs for the same thing? Is the other one valid?

Closed it, the other was targeting the version PAuto uses so I could verify it worked for our needs.

Accidentally linked this PR on an unrelated pr


Adds missing dependency for restful mgr module

Please open this on master first and we will backport it if needed to stable-5.0 branches.
Also add a signoff and commit body.
Finally you probably need to handle python3 instead of python2. If I'm right, since octopus it's python3 only and python2 as been dropped.

BTW the python3-pecan package is automatically installed as a dependency when installing ceph-mgr package.
So if you propose this change that's because you're probably running on CentOS 7, but:
Note that the dashboard, prometheus, and restful manager modules will not work on the CentOS 7 build due to Python 3 module dependencies that are missing in CentOS 7.
https://docs.ceph.com/docs/master/releases/octopus/#general


Make files findable and searchable

If a file is forwarded from an encrypted room to an unencrypted room, it won't show up in the files list.  It ought to, though.  Also it would be really good to allow searching in the files list.

The spec issue here actually is that it is impossible to filter by msgtype, and contains_url is not sufficient for all usecases.

Searching = filtering

Effectively https://github.com/matrix-org/matrix-doc/issues/593


Revisit dependencies of @ionic/angular

Dependencies, devDependencies and peerDependencies
Is RouterModule required to use ionic?
Is FormModule required to use Ionic?

Thanks for creating this issue and for the work you guys do. Ionic is my favorite framework and blows React Native out of the water. I hope to be able to contribute a perspective of testability / modularity to this issue, specifically regarding the ion-button component. I had previously set up unit tests for an editable textfield component that uses ion-button and ion-icon. Previously (~beta.15), the dependency requirements for setting up unit tests looked like this:
describe('EditableTitleComponent', () => {
  ...

  beforeEach(async(() => {
    TestBed.configureTestingModule({
      declarations: [ EditableTitleComponent ],
      imports: [ReactiveFormsModule, IonicModule, FormsModule]
    })
    .compileComponents();
  }));
});
...

Not too bad. Just three modules -- two from Angular (FormsModule required by Ionic) and one from @ionic/angular. However, after upgrading to beta-17, two of the tests started failing with the following error:
Error: StaticInjectorError(DynamicTestModule)[HrefDelegate -> NavController]:
  StaticInjectorError(Platform: core)[HrefDelegate -> NavController]:
    NullInjectorError: No provider for NavController!

After going down the rabbit hole of imports, I arrived at a workaround that passed the tests again. Here's how the module imports looked after that:
describe('EditableTitleComponent', () => {
  ...
  beforeEach(async(() => {
    TestBed.configureTestingModule({
      declarations: [ EditableTitleComponent ],
      imports: [ReactiveFormsModule, IonicModule, FormsModule, RouterTestingModule],
      providers: [NavController, Platform]
    })
    .compileComponents();
  }));
});

RouterTestingModule came from Location being a dependency of NavController and same with Platform. Yet, the only Ionic components I'm using are ion-button and ion-icon! I'm not very familiar with the internals but I'll provide the unit test code in case it helps. The first two test cases continued to pass but the last two test cases fail without the additional three imports. Anyway it's a minor issue since we only care about tests being green :) but would be great to have fewer imports when setting up. It would make testing much easier.
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ReactiveFormsModule, FormsModule } from '@angular/forms';
import { IonicModule, NavController, Platform } from '@ionic/angular';
import { RouterTestingModule } from '@angular/router/testing';
import { EditableTitleComponent } from './editable-title.component';

describe('EditableTitleComponent', () => {
  let component: EditableTitleComponent;
  let fixture: ComponentFixture<EditableTitleComponent>;
  const defaultTitle = 'Test title';
  const titleSelector = '.title-wrapper .lead';

  beforeEach(async(() => {
    TestBed.configureTestingModule({
      declarations: [ EditableTitleComponent ],
      imports: [ReactiveFormsModule, IonicModule, FormsModule, RouterTestingModule],
      providers: [NavController, Platform]
    })
    .compileComponents();
  }));

  beforeEach(() => {
    fixture = TestBed.createComponent(EditableTitleComponent);
    component = fixture.componentInstance;
    fixture.detectChanges();
  });

  it('should create', () => {
    expect(component).toBeTruthy();
  });
  it('should accept a default title', () => {
    component.title = defaultTitle;
    fixture.detectChanges();
    expect(
      fixture.nativeElement.querySelector(titleSelector).innerHTML)
      .toEqual(defaultTitle);
  });
  it('allows title to be editable', () => {
    const newTitle = 'New title';
    component.title = defaultTitle;
    component.editingTitle = true;
    fixture.detectChanges();
    component.changingTitle.setValue(newTitle);
    component.finishEdit();
    fixture.detectChanges();
    expect(
      fixture.nativeElement.querySelector(titleSelector).innerHTML
    ).toEqual(newTitle);
  });
  it('allows user to cancel editing', () => {
    component.title = defaultTitle;
    component.changingTitle.setValue('Random canceled title');
    component.editingTitle = true;
    fixture.detectChanges();
    fixture.nativeElement.querySelector('#cancel').click();
    fixture.whenStable().then((): void => {
      expect(component.cancelEdit).toHaveBeenCalled();
      expect(component.title).toEqual(defaultTitle);
    });
  });
});

@selipso thanks a lot for taking your time to share your experience! this is veryyy useful!
We will review this before RC!


feat(lichess): add stylePieces option

🔧 What does this fix? 🔧
This adds the option for the pawn/rook/knight/bishop/queen/king pieces to not be styled, which allows the user to set a custom theme through lichess' UI
🗒 Checklist 🗒

[x] I have read and followed Catppuccin's contributing guidelines.
[x] I have updated the version appropriately in the ==UserStyle== header of the catppuccin.user.css file.

@coopw1 fyi since you maintain this userstyle you are supposed to be the person to merge it :)

@uncenter oo whoops didnt know that, ty!


metric divide_numerator_denominator_measure  macro 'dbt_macro__test_expression_is_true' takes no keyword argument 'condition'

C:\Users\xx-xx\fhir-dbt-analytics>dbt seed
17:44:33  Running with dbt=1.5.0
17:44:34  Unable to do partial parsing because saved manifest not found. Starting full parse.
17:44:40  Encountered an error:
Compilation Error in test dbt_utils_expression_is_true_metric_by_day_dimensions_calculation_IN_PROPORTION_RATIO____safe_divide_numerator_denominator_measure (models\metric_views\metric_views_config.yml)
macro 'dbt_macro__test_expression_is_true' takes no keyword argument 'condition'

Looks like dbt_utils has made a broken change in upgrading this to utils 1.0:
https://docs.getdbt.com/guides/migration/versions/upgrading-to-dbt-utils-v1.0#resolving-error-messages
"macro dbt_macro__test_expression_is_true takes no keyword argument condition
Cause: condition has been removed from the expression_is_true test, now that where is available on all tests automatically.
Resolution: Replace condition with where."
So we either need to be explicit on specifying version of dbt utils, or fix broken change, or both. I'll look further, and also check why we didn't catch this.

Fix is on the way, but if you don't want to wait, you should be able to make a local change in lines 28-32 of models/metric_views/metric_views_config.yml to
tests:
  - dbt_utils.expression_is_true:
      expression: "{{ safe_divide('numerator', 'denominator') }} = measure"
      config:
        where: "calculation IN ('PROPORTION', 'RATIO')"


[Bug] Can edit global areas even if the user doesn't have editing permissions

Tested on recent develop branch. Maybe related with #7006
Steps

Enable Advanced Permission mode.
Go to [Dashboard > Stacks & Global Areas > Global Areas > Header Navigation]
Change "Assign Permissions" to "Manually"
Remove all permissions for all Access Entities (See below image)

Sign in as the user belongs to Administrators group
Turn on Edit mode. You can edit existing blocks and add a new block.

Yeah, this is directly related to #7006 and the fix that we pulled in. The area code for global areas is checking areas and overrideCollectionPermissions is not set on these stacks any longer. So the existing area permissions checks don't work for GlobalAreas (which rely on Stacks) vs regular Areas.
I'm not sure what to do about this, as 8.5.2 has to come out soon, and the permissions are very obviously wrong, beyond just reverting #7061 . I think that has to be what we do.
Beyond that, I'm open to other suggestions - which most likely should start with us simply creating a completely new set of permissions at the stack level, and changing area permissions checks to pull from stacks if the area is a globalarea, etc...
@mlocati – your thoughts on reverting #7061 to fix this problem and working on a better solution for 8.6.0?

I think that we can fix this issue without changing anything: the permissions are already there,
Indeed, if you login as the non-superuser administrator as for example of @hissy, and visit that global area in the /dashboard/blocks/stacks/view_details/... dashboard page, you'll see that the user can't actually change anything about the global area.
I think we'd just need to fix the permission checks when we edit the pages.

Yeah, I understand, but I want to make sure that we preserve this method of accessing the permissions API:
$area = GlobalArea('My Area'); $permissions = new Permissions($area); if ($permissions->canAddBlocks()) { // Or whatever permission call we want to do. }
I suppose if we change the area permission assignment classes to pass through and use the stack page-level permissions this would work.

#7989 should fix this issue


Fix CI and MDL issues

Signed-off-by: Lance Albertson<EMAIL_ADDRESS>Description
Describe what this change achieves
Issues Resolved
List any existing issues this PR resolves
Check List

[ ] A summary of changes made is included in the CHANGELOG under ## Unreleased
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable.

Released as: 9.2.3


Implement auto-select of last booted system

@M1cha let me know if there's an easier/more correct way of doing this... The way I've done it feels like a dirty hack... but it works. There's a lot of duplicated code...

Actually, screw this PR. There's gotta be a better way of doing this... This code doesn't let me sleep...

But alas, I can't find any other way...

Nope, there's a better way... Standby...


Scroll bar not enabled when pdf is zoomed in Canvas

I am trying to use a Canvas as a container, in which user would control the zoom from outside the canvas (similar to navigation between the pages), but when the page is zoomed scrollbars are not enabled for the container, due tho this content is zoomed but only part of pdf is seen(looks like an image) looses the other part of PDF.
Please help to get the scroll bars in the canvas
Searched a lot for solution but no luck

You should look into how the default viewer does it: https://github.com/mozilla/pdf.js/tree/master/web. That also uses canvases where the zoom is controlled from the outside. Since this appears to be an implementation issue, please use the mailing list or IRC as this issue tracker is mainly used for tracking bugs in PDF.js itself. Thanks.


server side fetch does not support api/? for search params only api?

Describe the bug
I was banging my head against the wall with this. I think the problem is that it isn't being cached correctly.
Reproduction
The following does not work
routes/+page.ts
import type { PageLoad } from './$types'

export const load = (async ({ fetch }) => {
	console.log({r:await fetch('/api/fs/?ls')})

	// debugger
	const res = await fetch('./api/fs/?ls')

	const files = await res.json()

	return {files}
}) satisfies PageLoad

The following works
routes/+page.ts
import type { PageLoad } from './$types'

export const load = (async ({ fetch }) => {
	console.log({r:await fetch('/api/fs?ls')})

	// debugger
	const res = await fetch('./api/fs?ls')

	const files = await res.json()

	return {files}
}) satisfies PageLoad

Logs
No response
System Info
System:
    OS: Windows 10 10.0.22621
    CPU: (12) x64 AMD Ryzen 5 3600 6-Core Processor
    Memory: 5.68 GB / 15.91 GB
  Binaries:
    Node: 18.14.0 - C:\Program Files\nodejs\node.EXE
    npm: 9.4.2 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.22621.1265.0), Chromium (110.0.1587.63)
    Internet Explorer: 11.0.22621.1
  npmPackages:
    @sveltejs/adapter-auto: ^2.0.0 => 2.0.0
    @sveltejs/kit: ^1.10.0 => 1.10.0
    svelte: ^3.54.0 => 3.55.1
    vite: ^4.0.0 => 4.1.4

Severity
serious, but I can work around it
Additional Information
No response

Closing due to inactivity/lack of reproduction. I pasted the given files into a project and it worked as expected for me (the request succeeded and the request params were available in +server.js)


Handle full pipeline errors in a better way

Proposal to fix #22
Added a main try-except clause that will catch any "pipeline errors"
In case an error occurs:

tmp folder is deleted
all files and folders in the results folder are deleted
an error.log file is created with the traceback

The error.log file is the only file in the results folder, so this should solve the problem of failed assets being very large.
In addition, it should make failed jobs easier to detect!
@bjhardcastle @jtyoung84 let me know what you think!

That's great, thanks!


Create Getting Started Layout

GettingStartedModule
Brief description
Design for IBM Security has shown an interest in creating a consistent Getting Started page layout design using Layout Modules.
Details
Link to Design
Links to other materials

Design Maintainer(s)

Sarah Pedregon
Cameron Calder

Tasks
Before starting work on this epic, please review and complete the following.

[ ] Initial review of design/existing code

Working in Carbon for IBM Products package

[ ] Have you reviewed our
contribution guidelines?
[ ] Have you noted our
code guidelines?
[ ] Did you use the CLI to scaffold your new component?

Assuming this is for the Security package. If intended for IBM Products then please follow guidance here https://pages.github.ibm.com/cdai-design/pal/

@lee-chase Yes, this was for the security package.


Idva5 1313 return to check your answers

CI: No security warnings found

CI: No security warnings found


Feature: timecop_scale() should speed up sleep() and usleep()

I have a function which uses sleep(2)
I wrapped PHPUnit call in following way
if(extension_loaded('timecop')) {
    timecop_scale(1000);
}

$res = $instance->methodUsingSleep();

if(extension_loaded('timecop')) {
    timecop_scale(1);
}

I was wondering why this wasn't speeding up my unit tests, until I looked closer the list of overriden functions.
methodUsingSleep contains code that is using while loop to wait until specific time has passed or one other variable becomes true, I use sleep() to overcome max_execution_time, because in Linux environments (at least) sleep() is not counted as execution time. This allows that while loop to run longer than max_execution_time and wait that one variable to become 'true'.
I was trying to use timecop_scale() to speed up the test :)

sleep() and usleep() is not affected because this is not really a time function. I would suggest you not to test sleep-aware methods. Move the code responsible for checking the conditions to different class/method or replace the sleep() call with a class and inject an interface to your service. This way you will be able to mock the Waiter to do nothing and speed up your test.
interface Waiter
{
    public function wait(int $seconds);
}

class SleepWaiter implements Waiter
{
    public function wait(int $seconds)
    {
        sleep($seconds);
    }
}

class MyService
{
    /** @var Waiter */
    protected $waiter;

    protected $importantVariable = false;

    public function __construct(Waiter $waiter)
    {
        $this->waiter = $waiter;
    }

    public function doSomething()
    {
        while (!$this->importantVariable) {
            $this->waiter->wait(2);
        }

        echo 'The variable has been set!';
    }
}


added ember-cli-rest-index adapter to list of adapter

Add my adapter to the list? :)

Sure! Thx!


Kafka Output binding error: 'no topics provided'

Expected Behavior
The output binding should be available via dapr sidecar. It should not look consumer topics since it is just a publisher. Dapr should not make the OPTIONS call to the /newUser route either. If you remove the app.UseSpa() middleware the issue goes away.
Actual Behavior
daprd spams the following error message: ERRO[0007] error from c: no topics provided.
Steps to Reproduce the Problem
Run the dapr-run.bat from the following example repo https://github.com/LukePammant/dapr-kafka-output-bindings-issue
This is a simple project based on the React starter project.

Thanks to your sample and detailed report, I was able to find the cause for this.
In the meantime, a work around is to make your app return a 404 for the request coming in for /newUser.

@yaron2  Is this fix?

Closing this due to inactivity for years. Please create a new issue and reference this issue if more details should raise.


Anchor tags should not be used as buttons

Describe the new a11y feature or project enhancement

Anchor tags should not be used as buttons, it is bad for accessibility and usability. Links should redirect to a resource/page, if they don't they probably should be buttons.
Describe the solution you'd like

Display a warning if a link is being used as a button. Examples of links being used as buttons:
Do something

Do another thing

Do another thing

Basically, what should trigger the warning would be:

An anchor tag with href="#" (a link that doesn't go anywhere)
An anchor tag with href starting with "javascript:" (a link that calls a function instead of redirecting)
As a bonus, any anchor tag (or any element different than a button or input) that has role="button" should probably display the warning.

Link(s)

The Anchor Button: Bad for Accessibility, Bad for Usability
Proper Use of Buttons and Links
Anchor tag used as button

I'm fully behind this idea. I think also from a DX point of view, seeing anchors can be quite confusing when they're acting as buttons. I also agree that this should be a warning.

It seems like a simple change, good for someone looking for a first contribution.
I'll pick it if no one does after a while.

Hi, can I try to work on this feature?

@Matrix278 absolutely!

Do you have anything about how the branch should be named?

@Matrix278 not really, any naming is fine - as long as it describes the feature somewhat 🙂


Improve documentation

Right now, there is no documentation that describes the data structure of an Event object so I had to check fullcalendar library for that reference.

the data structure of the event object is completely up to you. there is no documentation to add about it. per the second paragraph http://intljusticemission.github.io/react-big-calendar/examples/index.html#api

I'm with @seiji619, I would like better docs, for anybody finding this, to clarify, you need to implement the accessors for events. hopefully this code helps.
<BigCalendar
            events={[{
              'title': 'All Day Event',
              'allDay': true,
              'start': new Date(),
              'end': new Date()
            }]}
            startAccessor='startDate'
            endAccessor='endDate'
            allDayAccessor='allDay'
            titleAccessor='title'
          />


et_module_shortcode_output rendering output issue after Divi 3.26. Had to roll back to 3.25.4

Problem Description
I'm using fields_unprocessed to add options to existing Divi modules using et_pb_all_fields_unprocessed_
I have a function that loads out the Divi Library(et_pb_layout) to the select field type.
$fields['divi_library'] = array(
            'label'            => esc_html__( 'Divi Library', 'et_builder' ),
            'type'            => 'select',
            'option_category' => 'layout',
            'default_on_front' => 'none',
            'tab_slug'        => 'custom_css',
            'toggle_slug'     => 'visibility',
            'options'           => divi_load_library(),
        );

During the output, var_dump($module->props['divi_library']) will come out with the ID of the library and it supposed to output the ID of the library which is working well introduced 3.26.  I guess this has something to do with the mechanism to allow to set site-wide section/row/module defaults from right inside the builder.
When I am in the Global mode, surprisingly the selected Divi library ID is showing up on var_dump! et_module_shortcode_output. Exited Global mode, did a var dump on $module->props['divi_library'] and it cannot be found. it's like not saving the data. Can anyone confirm that Divi 3.26 is having this weird bug?

How can we not show up the option in Website-Wide Design Editor. I am suspecting this is the cause of it.

The fix has been merged and will be included in the next release. 👍


README.md instructions result in broken code

Steps to Repro:

In Android Studio, create a new "Empty Activity" project
Per the LuckyWheel README.md, add the dependencies to the Gradle scripts
Open the activity_main.xml layout resource and add the XML block from the LuckyWheel README.md instructions

BUG: The build fails with the message "app\src\main\res\layout\activity_main.xml:18: AAPT: error: unbound prefix."
It seems like the fix is to remove the background_color attribute, so the XML block looks like this:
<com.bluehomestudio.luckywheel.LuckyWheel
        android:id="@+id/lwv"
        android:layout_width="250dp"
        android:layout_height="250dp"
        android:layout_centerInParent="true" />

but that means that we can't access LuckyWheel attributes in the XML settings. My guess is that a new XML namespace must be imported, but the README.md doesn't mention that before recommending the qualified XML attributes, and doesn't explain how to do the import.
Maybe the README.md should be changed to not mention the broken properties. Or, maybe it should offer complete instructions that show how to make them work correctly.

Maybe this is related to item #13. Looks like @mhkarami there explains how to add the required namespace. I think it would be helpful if that advice were added to README.md.

Yo lo solucione con esta línea en el layout padre
xmlns:LuckyWheel="http://schemas.android.com/apk/res-auto"

I solved it with this line in the parent layout
Yo lo solucione con esta línea en el layout padre
xmlns:LuckyWheel="http://schemas.android.com/apk/res-auto"

Why is this closed? The README hasn't been fixed.


Why put effort into cannon.js?

Hi dear followers of cannon.js,
I was thinking about making a proposal to put some extra resources on cannon.js at my lab. We have the knowledge to make a fully featured 3D physics engine in here, but the guys at my lab think that such investment isn't worth doing. All they think of is performance (which is fully understandable when working with real time simulation) and therefore they see JavaScript as a bad deal. C++ has been the language from the very start.
So I was wondering how you guys would explain the Need, Approach, Benefit and Competition to present this "innovation", making the best impression possible. I already have some ideas myself but I would like to hear yours too.
Thanks,
Stefan

I think the description in the README is already good to explain why this is needed.
I checked this project some weeks ago. It definitely seemed promising but there seemed to be some  bugs in the physics still (spheres rotating nonstop and so on).
If the lib managed to get into a state with similar features to JigLib and Ammo.js but in a more accurate and smaller filesize option I would definitely use it and promote it ^^

And, you know, WebGL is now enabled in Opera and Firefox for Android. I suspect Chrome and Safari will come soon. We need good physics engines for these platforms.

Thanks for these comments :)
I know about those bugs - will be OK when the tangential non-slip constraints for persisting contacts are added. A viscous force option for both linear and rotations are to be added to, that'll make things look more realistic.
I've already noticed that Opera 12 includes WebGL support, but thanks for the updates anyway :) Check out my cannon.js performance test on my Galaxy S: http://granular.cs.umu.se/browserphysics/?p=814. The framerate count may not be the best on my device - though I think it is pretty cool it runs at all! I believe WebGL is more heavy for the device while the actual physics engine runs very smooth.
I'll forward your positive thoughts about the engines' future potential. Perhaps this can help me get some hours per week to put on it.

@mrdoob @schteppe @chandlerprall It seems that cannon.js does not support webworker while phsijs does. And also cannon.js does not support well in es6. With asyn, await, we will definitely use webworker happily.
This will be good for real-time physics planning. For example, in tween.js we use following way to schedule animation continuousely based on  obstacles' peception from pseudo camera:

update(scene, delta) {
if (this.fixedRate) {
updateFixRate(scene, delta)
}

if (!this.isStarted()) {
 beforeStart()
}

cruise()

}

cruise() {
.... bla bla bla
let tweenjob = this.execute("create", param)
this.bufferArray.push(tweenjob)
}

async this._completeTweenCb() {
let tween
if (this.bufferArray.length > 0) {
  let tweenjob = this.bufferArray.shift()
  tween = this.execute("fetch", tweenjob.id)

} else {
  tween = await this.createAndFetch()

}
  this.tween.stop()
  this.tween = tween
  this.tween.start()
}

We can use the similar structure for cannon.js! Which means at least we could have two different clock cycles and the work will help us with planning.


add routes for C course

Description
templates for C course are there
add routing for it
Screenshots
No response

I would Like to work on this issue under Gssoc.

@soumali28  do this and make PR before tomorrow morning

Hey  @arpit456jain  it wont be possible to do it by tonight cuz m actually out now so if its urgent you can assign someone else.

You can assign it to me if she can't @arpit456jain

Plz, assign this issue to me  @arpit456jain

Please Assign Me @arpit456jain under GSSOC'22

I asked @arpit456jain to assign this issue to me before you @Atif0604
Please assign this issue to me and I will solve it asap

Plz, assign this issue to me and I will solve it asap @arpit456jain

ok @muhammadgalhoum

@muhammadgalhoum and @Atif0604
Please don't argue for getting assigned, we will assign contributors on the basis of First come first serve. If any assigned contributor fails to complete, we will assign the other person.

I asked @arpit456jain to assign this issue to me before you @Atif0604 Please assign this issue to me and I will solve it asap

I think so too, but I assure you that I came first @singhmansi25


Add Quarkus Jib example

Related to: https://github.com/GoogleContainerTools/jib/issues/3017
This PR adds a Quarkus jib extension example to the example folder.
Before filing a pull request, make sure to do the following:

[ ] Create a new issue at https://github.com/GoogleContainerTools/jib/issues/new/choose.
[ ] Ensure that your implementation plan is approved by the team.
[ ] Verify that integration tests and unit tests are passing after the change.
[ ] Address all checkstyle issues. Refer to the style guide.

This helps to reduce the chance of having a pull request rejected.

@pjgg Sorry I missed mentioning this, could you also sign the CLA for the contribution as mentioned in https://github.com/GoogleContainerTools/jib/pull/3810#issuecomment-1277781573?


[git] Add git fork updater

[x] Create #10 to replace the hardcoded github user in a later PR

This PR failed to get merged into master.  Fixed now by creating a new gavindidrichsen/master/sum branch where my local PRs can be merged safely.  See #12


Decouple most of the types from GlDevice and GlResources

Working towards #416.

@bjz I finished the review, now waiting for you to respond.


How to clone a video from one WPFMediaKit element to another?

Is it possible to copy a video that runs in one WPFMediaKit element to run at the same time in another element?
What is the Goal: Video preview, controls, etc. will be on the first monitor. The second monitor (projector or large TV) displays the same video on full screen.

Yes, see D3DRenderer.CloneD3DRenderer().

Thank you for quick response. To tell the truth, I do not know how to use it. I tried searching in the sample application, but there it is not used. I found it in the code here, but I do not know how to do it. (I'm using Capture Device, not video playback.)
Can you advise me how to use CloneD3DRenderer to clone an image from a camera to another element?

It's easier than I expected :-) Thanks a lot!
I added it as an example to the basic examples in the wiki. I hope, it does not matter ;-)

+1 for the Wiki enhancement.


Success icon missing

Describe the feature / bug 📝:
When using toast.promise, the success icon is not displayed after the promise resolves. This behavior persists across different environments, including on the official documentation site.
Steps to reproduce the bug 🔁:
it also do not display on sonner site)
Codesandbox

I'm unsure if it's related or a separate issue, but if I define my own icons, the spinner is never replaced by the success icon.
https://github.com/emilkowalski/sonner/assets/889260/c276febf-fdab-480b-8903-49243dbd317c

Fixed all bugs reported here in #352

In 1.4.2, my spinner is showing next to the success icon:
https://github.com/emilkowalski/sonner/assets/889260/f5b49ac0-3adf-420d-888c-cad539213a95
Icons configuration:
{
  success: <BsCheckCircleFill />,
  info: <BsInfoCircleFill />,
  warning: <BsExclamationTriangleFill />,
  error: <BsExclamationOctagonFill />,
  loading: <Spinner />,
}

If I remove my spinner icon, it works correctly (shows the spinner, then the spinner is replaced by the success icon).


connection.onclose() does not get called on disconnect

Describe the bug
connection.onclose() gets called after reconnect
To Reproduce
Steps to reproduce the behavior:

Using this version of signalr client - signalr-client-1.0.0-alpha2-final
Disconnect the client by disconnecting the network cable and observe that connection.onclose() is not called
Reconnect the client by reconnecting the network cable and observe that connection.onclose is called

Expected behavior
Shouldn't connection.onclose() be called when the disconnect happens?
Additional context
I know this is the alpha2 final client but its already deployed and we are seeing this behavior

Sorry, but that client is unsupported.
We're not going to diagnose a problem that is very likely solved in the shipped product.
Try upgrading to at least 1.0.0.

@bigswede74 Let us know if you still have an issue when you upgrade to a supported client. Thanks!


New Crowdin updates

Codecov Report

Merging #4500 (d8c6ab9) into develop (f8385e5) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop    #4500   +/-   ##
========================================
  Coverage    10.32%   10.32%
========================================
  Files          296      296
  Lines        15296    15296
========================================
  Hits          1579     1579
  Misses       13717    13717

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Please remove pycache from git repository

The pyc files should be build locally when installing, and it would be better if they were not included in the git repository.

Thanks for spotting that, I've deleted that


Deal with abnormal sentences.

My tacotron model cannot synthesize the abnormal sentences well.
I have found that a lot of TTS service can deal with this problem. But I don't know how did they do.
Is the training data included abnormal sentences,
or they used any technique to overcome this issue, or just another TTS model could do this itself.
Anyone has idea? Thank you so much.

Add to your training set fragments of your sentences, as long as they are at least 1 sec long.


fix: inline entity form errors

@callinmullaney @rebecaescandon This fixes the inline entity form error for me

@callinmullaney Sounds great, I will merge this one into yours.

:tada: This PR is included in version 4.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Test suite failure with GHCJS-7.10.3

You'll first need the commits associated with #7.

cabal configure --ghcjs -fdev --enable-tests -finstrumented -f-integer-gmp && cabal build && dist/build/tests/tests

...

Linking dist/build/tests/tests.jsexe (Consistency,Main,Vectors.FNV,Vectors.SipHash)
Assertions: On
Getting bytes from Float... OK
Getting bytes from Double...bytesDouble: -2.1006827528635512e-88 /= (136,171,127,215,173,186,190,170)

It appears to be a problem with the endianness, but on the level of 32-bit words.
The test suite expects:
(173,186,190,170,136,171,127,215)
but gets
(136,171,127,215,173,186,190,170)
Note how the first and last 4 bytes are swapped.
This appears to be offending code:
doubleToWord :: Double -> Word64
doubleToWord x = runST (castViaSTArray x)

castViaSTArray :: (MArray (STUArray s) a (ST s),
                   MArray (STUArray s) b (ST s)) => a -> ST s b
castViaSTArray x = newArray (0 :: Int,0) x >>= castSTUArray >>= flip readArray 0

I'll try to further pinpoint the problem.

@luite Do you have any idea what's happening here? Could it be related to GHCJ's representation of MutableByteArray#?

That hack for extracting bytes from Double may need to change regardless. I'm curious if it even works consistently without --ghcjs, on 32 and 64-bit platforms. I guess it depends on how writeDoubleArray# is implemented.

Are you interested in a GHCJS specific conversion? I could try and write one using typed arrays if you are interested.
But I agree that it would be nice to have a slower, but stable, conversion from Double to bytes. Maybe take a look at the solutions used by various binary serialisation libraries?

I just want something that works consistently across all platforms. Yep, that's a good idea. It looks like using decodeFloat would be a good approach, but we probably also need to get Integer to hash consistently with and without integer-gmp too, I think.

@roelvandijk I haven't used ghcjs at all and just digging into these tickets this weekend. Is this flag for integer-gmp the most convenient way to compile with ghcjs? I think instead we should have an impl(ghcjs) block in the cabal file which disables integer-gmp, but googling around briefly I'm not sure if that's fully supported (it might cause issues on hackage?)

Hmm, looking back now, I wonder if this specific problem is caused by some endianness mixups in GHCJS related to 64 bit load/store ops (which are executed as two 32 bit ops on a typed array).
Unfortunately the endianness of the underlying platform is not specified by JS, but GHCJS assumes little endian now because that's by far the most likely one in practice for things running JS (all x86(-64) and Android/iOS ARM devices are little endian).
I might be able to fix this one, but I don't think correctness can be guaranteed on more exotic targets. decodeFloat is definitely safer. GHCJS uses a similar approach here, going through a typed array, but has a fallback for unexpected endianness.
For decodeFloat, GHCJS should always produce the same value as GHC, which the exception of where decodeFloat itself is unspecified (NaN/infinite values): JS engines use the NaN space for other things, and often map all NaN values to a single one. We can't even observe "negative NaN" in JS (see decodeFloat (1/0) vs decodeFloat (-1/0)).

@luite thanks for commenting. I'm going to hash by way of decodeFloat, but I discovered this issue with Word64 serialization affects some of my other instances (e.g. ByteString). I'm not sure this has to do with endianness per se, nor do I think ghcjs is necessarily doing something wrong here; I think the issue is just that I can't make assumptions about how a Word64 is stored on a 32-bit platform.
I suppose the best thing for ghcjs to be doing is matching the same behavior as GHC on 32-bit x86. I need to getter a docker setup for developing and testing this in 32-bit mode, and I'll open a ticket if it looks like it's doing something different than 32-bit ghc, so you can have the discussion there.
I'm excited about the prospects of being able to compare hashes in JS and machine code on client/server! Pretty cool stuff.

Thanks again for your help! Version 2.0.0 just uploaded to hackage should build and work correctly with ghcjs, without any need to pass the -f-integer-gmp flag.


How to insert an excel sheet into mysql?

There is an article table in mysql database,it has these columns:
id  title content created_at updated_at

And there is an excel file  article.xls,it has the same columns as article table.
id title     content            created_at           updated_at
1  example1  example1's content 2017-04-02 00:00:00  2017-04-02 00:00:00
2  example2  example2's content 2017-04-02 00:00:00  2017-04-02 00:00:00

I use Laravel-Excel to load this excel file,
Excel::load('article.xls', function($reader) {

    // reader methods

});

Question:
How to insert the excel file's content into article table?

You need to handle it with $reader. Please see documentation.
And then you'll have to insert results into your database.

Something along the lines off:
foreach ($reader->get() as $sheet) {
            foreach ($sheet as $row) {
                Article::create([
                    'title' => $row->title,
                ]);
            }
        }


Add support for libjavascriptcoregtk-6.0.

I also wonder if I should do a check for webkit libraries being loaded and only allow it to load the version associated with the version of webkit that is loaded, but it seems like overkill.


File automatically deleted from FTP repo

Issue in ./help/components/classifications/importer/c-uploading-saint-data-files-via-ftp.md
Hi, based on my experience, once Adobe Analytics read and process a file uploaded in the FTP folder, then the files are deleted by Analytics itself. Can you please confirm and update the documentation accordingly?

Yes, @angeli-adobe, the files are indeed automatically deleted. I will add this to the doc.


GH-33801: [Python] Expose C++ ExtensionTypes/ExtensionArrays in pyarrow

Closes #33801

Rationale for this change

C++ Extension Types are not correctly exposed in pyarrow

https://github.com/apache/arrow/issues/33801

What changes are included in this PR?
__arrow_ext_class__ and __arrow_ext_scalar_class__ have been moved from ExtensionType to BaseExtensionType in types.pxi.
Are these changes tested?

Yes, a test has been added to test_cython.py. There may be better locations for this, but the existing cython testing machinery here is useful for generating a C++ extension type on the fly.
Are there any user-facing changes?
I don't believe there are any user-facing changes as __arrow_ext_class__ and __arrow_ext_scalar_class__ are moved into a base class.

@sjperkins FYI I also opened an issue about having custom subclasses for extension types implemented in C++ (instead of using the base class BaseExtensionType/ExtensionArray): https://github.com/apache/arrow/issues/33997

@sjperkins FYI I also opened an issue about having custom subclasses for extension types implemented in C++ (instead of using the base class BaseExtensionType/ExtensionArray): #33997

Thanks @jorisvandenbossche for mentioning this, as well as the review. I'm intending to address your review comments next week.

Apologies for triggering the assigned reviewer and label bots with the force pushes.

Is there anything else needed from me on this PR?

Thanks for the review and merging @jorisvandenbossche


Can't make the latest commits to v0.7b3

Not really a code issue, but since I'm not on Slack, though this was the next best place to post.
I am trying to do a git pull on the latest commits. At make I get
recipe for target 'xdump1090' failed
I tried a few times. Is it me or something wrong with xdump?

You pulled just in the middle of me reorganizing some things in the repo. Give it a try now.
https://github.com/cyoung/stratux/commits/master
You tried here, I assume: b1cbc74b543b3c7507f30e1a12579c7436e6cd65.
Should probably just delete the whole directory and start with a fresh clone. rm -rf stratux, git clone https://github.com/cyoung/stratux --recursive.
Still working on it, though.

I saw AvSquirrel's detailed instructions to Axtel4. But I figured that since you incorporated his commits into the Release page, that it would be the run of the mill git pull; make; make install.
I'll wait. Won't be flying for a few days.

Later Friday: I did a git pull; make; make install. That works now.
Unfortunately, Stratux stopped reporting traffic after that. No messages in either UAT or 1090. No traffic on the Traffic page and no traffic making it to iFly.
In the Settings page, the SDR, GPS, and logging enabled are constantlly disabled. When I enable one of them, they alll slide to enabled, the way I had them before. But the settings donlt persist. But when I come back to the Settings page, they're disabled again. (Although the status page shows both gas gauges. It also shows my correct GPS status.)
I've cleared the browser cache. N/C.
I do not have the SDR's named. (Never wrote to them.)

Ergo,
Same for me here!!  I have the same issues
I got a new SD card and loaded the v0.7b1 img and git pull to 0.7b3-latest commits and the same

I didn't notice weird icons. Where do I look?

checkout my stratux
http://stratux.no-ip.org

Actually, it looks like it's working for you. If by "weird" icons, you're talking about the new icons on the Traffic page, those are new. They depict where the original message originated. (Ground or air.)

I'm finding that the new changes have made the web UI even more browser specific. Foe example, the behavior I reported above were on the latest version of Chrome for Android. Whereas I get better behavior in a different Android browser.

checkout my stratux
http://stratux.no-ip.org

Looks normal to me.  I'm using Safari on a Mac to look at the site.

Is the settings page loading for you??  I get nothing on PC/chrome PC/Firefox Android/chrome android/internet android/firefox but the icons are correct in PC/firefox and Android/Firefox

And the GPS AHRS page has no graphics

Everything presents fine here on you UI when I link to your connection. (Spooky. I was able to disable your dongles? Could I command a reboot?)
Question: Had you done the eeprom thing to your SDR's?
I'm still not getting anything on iFly here. I suppose my 1090 SDR could have died.
(BTW, what's the Watch List on the Settings page?)

@peepsnet: cached files in your browser? Looked at your stratux link, works fine for me.

Ok someone load my page and turn off both my SDR's... let me know when and I will rtl_eeprom and see if they have really disconnected

Since the commits are working for you (at least thru your internet interface), I'll reimage and then pull to latest. (Swapping SDR's here made no difference.)

I'm having similar issues with the latest as well.  Same error Erg has, with the error 2.  I can make install after the error, but 1090 no longer works, and the web interface is very slow/unresponsive in chrome, the icons have become squares.,

rm -rf stratux ; git clone https://github.com/cyoung/stratux --recursive then try again

Sorry cyoung, same "error2"
root@raspberrypi:/home/pi/stratux# rm -rf stratux ; git clone https://github.com/cyoung/stratux --recursive
Cloning into 'stratux'...
remote: Counting objects: 3477, done.
remote: Compressing objects: 100% (100/100), done.
remote: Total 3477 (delta 61), reused 0 (delta 0), pack-reused 3377
Receiving objects: 100% (3477/3477), 23.42 MiB | 2.31 MiB/s, done.
Resolving deltas: 100% (2182/2182), done.
Checking out files: 100% (185/185), done.
Submodule 'dump1090' (https://github.com/AvSquirrel/dump1090) registered for path 'dump1090'
Submodule 'linux-mpu9150' (git://github.com/cyoung/linux-mpu9150) registered for path 'linux-mpu9150'
Cloning into 'dump1090'...
remote: Counting objects: 4354, done.
remote: Compressing objects: 100% (57/57), done.
remote: Total 4354 (delta 36), reused 0 (delta 0), pack-reused 4297
Receiving objects: 100% (4354/4354), 5.68 MiB | 2.26 MiB/s, done.
Resolving deltas: 100% (2955/2955), done.
Submodule path 'dump1090': checked out 'b360db74b99a408cb83833af802042d29cccffd9'
Cloning into 'linux-mpu9150'...
remote: Counting objects: 186, done.
remote: Total 186 (delta 0), reused 0 (delta 0), pack-reused 186
Receiving objects: 100% (186/186), 102.30 KiB, done.
Resolving deltas: 100% (100/100), done.
Submodule path 'linux-mpu9150': checked out '56658ffe83c23fde04fccc8e747bf9b7c1e184ea'
root@raspberrypi:/home/pi/stratux# make
make xdump978
make[1]: Entering directory '/home/pi/stratux'
cd dump978 && make lib
make[2]: Entering directory '/home/pi/stratux/dump978'
gcc -c -O2 -g -Wall -Werror -Ifec -fpic -DBUILD_LIB=1 dump978.c fec.c fec/decode_rs_char.c fec/init_rs_char.c
gcc -shared -lm -o ../libdump978.so dump978.o fec.o decode_rs_char.o init_rs_char.o
make[2]: Leaving directory '/home/pi/stratux/dump978'
sudo cp -f ./libdump978.so /usr/lib/libdump978.so
make[1]: Leaving directory '/home/pi/stratux'
make xdump1090
make[1]: Entering directory '/home/pi/stratux'
git rm --cached dump1090
fatal: pathspec 'dump1090' did not match any files
Makefile:20: recipe for target 'xdump1090' failed
make[1]: *** [xdump1090] Error 128
make[1]: Leaving directory '/home/pi/stratux'
Makefile:10: recipe for target 'all' failed
make: *** [all] Error 2

Is this stratux.conf correct??
{"UAT_Enabled":true,"ES_Enabled":true,"GPS_Enabled":true,"NetworkOutputs":[{"Conn":null,"Ip":"","Port":4000,"Capability":5,"LastUnreachable":"0001-01-01T00:00:00Z","SleepFlag":false},{"Conn":null,"Ip":"","Port":4001,"Capability":5,"LastUnreachable":"0001-01-01T00:00:00Z","SleepFlag":false},{"Conn":null,"Ip":"","Port":4002,"Capability":5,"LastUnreachable":"0001-01-01T00:00:00Z","SleepFlag":false},{"Conn":null,"Ip":"","Port":43211,"Capability":5,"LastUnreachable":"0001-01-01T00:00:00Z","SleepFlag":false}],"AHRS_Enabled":true,"DEBUG":true,"ReplayLog":false,"PPM":0,"OwnshipModeS":"000000","WatchList":"KFLL KFXE KMKY KAPF"}

Something changed in Chrome today. I reverted to v0.6r1 and saw the same thing (boxes replacing unicode characters, JS not updating).

@ayarbro: you're in the wrong directory.
cd .. ; rm -rf stratux ; git clone https://github.com/cyoung/stratux --recursive ; cd stratux

This is interesting also...

@cyoung my copy of stratux is on /root/stratux

@peepsnet Yeah, I get that too with some browsers. The Project might need to specify minimum system requirements.

ok well
<IP_ADDRESS>/getSettings
does not match
/etc/stratux.conf
aren't these the same file?

@cyoung wow, what a dumbass. K, makeing now.  Thank you!

Reimaged to v0.7b1. Set the date to GMT. In stratux directory. Did a git pull, same as I always do. No joy. Tried again. Same error.
github.com/ziutek/mymysql (download)
Makefile:16: recipe for target 'xgen_gdl90' failed
make[1]: *** [xgen_gdl90] Error 1
make[1]: Leaving directory '/root/stratux'
Makefile:10: recipe for target 'all' failed
make: *** [all] Error 2

Don't do git pull, do as above:
cd .. ; rm -rf stratux ; git clone https://github.com/cyoung/stratux --recursive ; cd stratux
The switch of repos for dump1090 messed up some stuff.

It wants a "username."

We've got issues on top of issues here, @ayarbro - did it work for you?

Well, if it's not building then do the above process, I've just committed a change - rm and re-clone.
@Ergonomicmike - no idea about the username, not sure how that came up.
I'm going to hook up CircleCI to the package builder and just have it build a new update file that you guys can download for each commit. The package is built by CircleCI anyways, and we're all using the same hardware - so no reason we should all be building intermediate versions.

Sorry about the username thing. Typo on my part. (So I deleted the comment.)  Reimaged again, did the rm, did the recursive. Am doing a make now. Should see in a few minutes if it works for me.

Rats. Still erroriing out. (Below.) So I'll reimage and do a new git pull with the fiftieth commit.
Cloning into '/root/go_path/src/github.com/kellydunn/golang-geo'...
error: RPC failed; result=7, HTTP code = 0
fatal: The remote end hung up unexpectedly
package github.com/kellydunn/golang-geo: exit status 128
Makefile:16: recipe for target 'xgen_gdl90' failed
make[1]: *** [xgen_gdl90] Error 1
make[1]: Leaving directory '/root/stratux'
Makefile:10: recipe for target 'all' failed
make: *** [all] Error 2

well, now I'm confused.    (it is a familiar state of mind)
On 02/26/2016 08:06 PM, cyoung wrote:

Don't do git pull, do as above:
|cd .. ; rm -rf stratux ; git clone https://github.com/cyoung/stratux
--recursive ; cd stratux|
The switch of repos for dump1090 messed up some stuff.
—
Reply to this email directly or view it on GitHub
https://github.com/cyoung/stratux/issues/287#issuecomment-189556449.

@peepsnet  - the UI failures appear to be an appcache issue on Chrome. I opened #289 to track.

Okay, some success. I reimaged to v0.7b1. I SSH'd in, via puTTY. I set the date to UTC. I did Chris's rm instruction. I did a git pull clone --recursive. I changed to /stratux and did a make; make. I got an error, like above, but it worked the second time I tried. I did a make install and rebooted.
I am now seeing 1090 messages. iFly is now painting traffic. I think the rest of the problems are with the new browser code.
For example:
When I enter the web UI, I see messages in the Status page and I see GPS acquired.. But when I go to the Settings page, it shows both SDR's, the GPS, and Records disabled. I can move the sliders, but they don't persist. They used to, but this changed with this last build. (Chrome. I cleared all the privacy stashes.)
The Weather page shows that I'm watching KBOS KATL KORD KLAX (0), even tho the Watch lIst on the Settings page is blank.
The GPS page does not show my location or a map. I suspect this is because the GPS slider keeps setting itself to disabled.
I apologize for the false starts and fat finger errors above.

@Ergonomicmike -- ref #289. If you rm /var/www/stratux-appcache and refresh Chrome (ctrl-F5 a couple times) does the UI come back?

Well, I got a little bit ahead of you. I sent the Shutdown command to Stratux and unplugged the power. Counted to 5 and plugged it back in - all the time with Chrome on my tablet still running. When the Stratux booted back up, the browser worked as normal. (That was with stratux-appache still intact.)
So then I removed the stratux-appache directory, powered down the Pi, turned off my browser and restarted. The web UI came back as normal. But that's not a good test, since it might have fixed itself after my first effort.
So I'll reimage back to 0.7b1, pull the clone and then I'll remove stratux-appache before I start the web UI. I'll report to you what happens.

Okay, when I did all the above, the web UI came up like it used to. Specifically, prior to this clone pull, my UI would come up after the first boot after an image with the SDR's enabled, but the GPS disabled. (BU-353.) It's doing that again now. (Once I enable the GPS, it stays enabled.)
Also, the Traffic page started populating right away. Of course that can be a function of nearby traffic. But it seemed laggy before. Now it's snappy.
Checked it thru a reboot of the Stratux and a wipe of browser cache. It's staying good.

@cyoung we're operational now.  testing new SDR with tcxo.  Only thing strange I'm seeing are web UI issues.  Which would be boxes instead of icons in chrome, but everything normal in Safari.  However both browsers have slow responsiveness for the settings page.  Have to click a setting, then all the settings properly display.  Also the Watching list settings don't seem to be reflected in the weather page, instead I'm seeing "KBOS KATL KORD KLAX". Would you like me to open a new issue for each of these?  Or are they already filed?
Sorry for the slow responses, had a visitor show up to my house unannounced that I hadn't seen in sometime.  Few hours of catch up time.

 You need to SSH in and delete the stratux-appcache directory.

Thank you

Yeah, it's .appcache in mine too. I thought that's what it was, but quoted AvSquirrel's comment instead. It's been a long day & I bet we're all tired.

This is just my personal opinion. but I don't think we should write to
Chrome's limitations.  Writing to Firefox as a baseline should be our
focus.  It is up to Google  to match the industry, not us
matching Googles bugs (er, features.)
Skypuppy
On 02/26/2016 11:31 PM, Anders Yarbrough wrote:

@cyoung https://github.com/cyoung we're operational now. testing new
SDR with tcxo. Only thing strange I'm seeing are web UI issues. Which
would be boxes instead of icons in chrome, but everything normal in
Safari. However both browsers have slow responsiveness for the
settings page. Have to click a setting, then all the settings properly
display. Also the Watching list settings don't seem to be reflected in
the weather page, instead I'm seeing "KBOS KATL KORD KLAX". Would you
like me to open a new issue for each of these? Or are they already filed?
Sorry for the slow responses, had a visitor show up to my house
unannounced that I hadn't seen in sometime. Few hours of catch up time.
—
Reply to this email directly or view it on GitHub
https://github.com/cyoung/stratux/issues/287#issuecomment-189579364.


500 error at /api/archetype/reassign

500 error at /api/archetype/reassign

500 Internal Server Error: The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

Reported on decksite by wizzerinus

InternalServerError 500 Internal Server Error: The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
Stack Trace:

Python traceback

  File "/home/discord/.local/lib/python3.8/site-packages/flask/app.py", line 2464, in __call__
    return self.wsgi_app(environ, start_response)
  File "/home/discord/.local/lib/python3.8/site-packages/flask/app.py", line 2450, in wsgi_app
    response = self.handle_exception(e)

Exception_hash: f6dd8402d1e448b6b5c43b94364ed2c834629e77

Request Data

Request Method: POST
Path: /api/archetype/reassign?
Cookies: ImmutableMultiDict([('__cfduid', 'd824412b12e2f8fffd6eeeb194b7b5fd31586883513'), ('page_size', '20'), ('session', '.eJx1UdtqwkAQ_Zd9DpJorr4lFRtLUQpqwVLCkozJ6mbX7oV4wX_vRFAfSt92zjkzZ-bshRQHUC0VIAwZG2XBIbRqmSDjLeUaqwpa1srqTlZMl1JVBUOEeH7iBvHIj7wwStwo9l3yVHBZUg6oUhbR__VMFLVl_OHAZV1D1a-lpbj5jCJv5JDW1LKwGpSgbT-2Y-czKCasxiGSWtMMC22o6TnR5Iu3dRTPj4ouMm_fTYfJz3vgpc1mdj4-9UbuAU-9EFqWoPW9JjsvnQduCmphj9nCJmu3281WWZPuZhxa7IfjgSnQBcXUvCCO_CQKh_4gGuJN4ZPucwxdP3ZdhyjYItQ8PMrM77o4ni5fJ6G3D15Web5M8894wlcfmz4YjPGAx3xhdvg7bHtC7JaUfjwGO4kW3w65DS3MqW8gGVAFilwd8idEQ1UNuLOwnF9_ASXlo5E.Xpm8Uw.P9I9fHAHQeQ9yEBT-i-jPE06KdY')])
Endpoint: post_reassign
View Args: {}
Person:<PHONE_NUMBER>67907840
Referrer: https://pennydreadfulmagic.com/admin/rules/
Request Data: {'deck_id': '71591', 'archetype_id': '256'}
Host: pennydreadfulmagic.com
Accept-Encoding: gzip
Cf-Ipcountry: RU
X-Forwarded-For: <IP_ADDRESS>, <IP_ADDRESS>
Cf-Ray: 5856d0c8ad89736f-SJC
X-Forwarded-Proto: https
Cf-Visitor: {"scheme":"https"}
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0
Accept: */*
Accept-Language: en-US,en;q=0.5
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Origin: https://pennydreadfulmagic.com
Dnt: 1
Referer: https://pennydreadfulmagic.com/admin/rules/
Cookie: __cfduid=d824412b12e2f8fffd6eeeb194b7b5fd31586883513; page_size=20; session=.eJx1UdtqwkAQ_Zd9DpJorr4lFRtLUQpqwVLCkozJ6mbX7oV4wX_vRFAfSt92zjkzZ-bshRQHUC0VIAwZG2XBIbRqmSDjLeUaqwpa1srqTlZMl1JVBUOEeH7iBvHIj7wwStwo9l3yVHBZUg6oUhbR__VMFLVl_OHAZV1D1a-lpbj5jCJv5JDW1LKwGpSgbT-2Y-czKCasxiGSWtMMC22o6TnR5Iu3dRTPj4ouMm_fTYfJz3vgpc1mdj4-9UbuAU-9EFqWoPW9JjsvnQduCmphj9nCJmu3281WWZPuZhxa7IfjgSnQBcXUvCCO_CQKh_4gGuJN4ZPucwxdP3ZdhyjYItQ8PMrM77o4ni5fJ6G3D15Web5M8894wlcfmz4YjPGAx3xhdvg7bHtC7JaUfjwGO4kW3w65DS3MqW8gGVAFilwd8idEQ1UNuLOwnF9_ASXlo5E.Xpm8Uw.P9I9fHAHQeQ9yEBT-i-jPE06KdY
Cf-Request-Id: 022a20d1640000736fe1337200000001
Cf-Connecting-Ip: <IP_ADDRESS>
Cdn-Loop: cloudflare
X-Forwarded-Host: pennydreadfulmagic.com
X-Forwarded-Server: pennydreadfulmagic.com
Content-Length: 30
Connection: Keep-Alive
Labels: decksite; InternalServerError

Apr 18 00:48:44 katelyngigante uwsgi[21920]: [2020-04-18 00:48:44,454] ERROR in app: Exception on /api/archetype/reassign [POST]
Apr 18 00:48:44 katelyngigante uwsgi[21920]: Traceback (most recent call last):
Apr 18 00:48:44 katelyngigante uwsgi[21920]:   File "./shared/database.py", line 51, in execute_anything
Apr 18 00:48:44 katelyngigante uwsgi[21920]:     return self.execute_with_reconnect(sql, args, fetch_rows)
Apr 18 00:48:44 katelyngigante uwsgi[21920]:   File "./shared/database.py", line 81, in execute_with_reconnect
Apr 18 00:48:44 katelyngigante uwsgi[21920]:     raise e
Apr 18 00:48:44 katelyngigante uwsgi[21920]:   File "./shared/database.py", line 67, in execute_with_reconnect
Apr 18 00:48:44 katelyngigante uwsgi[21920]:     n = self.cursor.execute(sql, args)
Apr 18 00:48:44 katelyngigante uwsgi[21920]:   File "/home/discord/.local/lib/python3.8/site-packages/MySQLdb/cursors.py", line 209, in execute
Apr 18 00:48:44 katelyngigante uwsgi[21920]:     res = self._query(query)
Apr 18 00:48:44 katelyngigante uwsgi[21920]:   File "/home/discord/.local/lib/python3.8/site-packages/MySQLdb/cursors.py", line 315, in _query
Apr 18 00:48:44 katelyngigante uwsgi[21920]:     db.query(q)
Apr 18 00:48:44 katelyngigante uwsgi[21920]:   File "/home/discord/.local/lib/python3.8/site-packages/MySQLdb/connections.py", line 239, in query
Apr 18 00:48:44 katelyngigante uwsgi[21920]:     _mysql.connection.query(self, query)
Apr 18 00:48:44 katelyngigante uwsgi[21920]: MySQLdb._exceptions.OperationalError: (1213, 'Deadlock found when trying to get lock; try restarting transaction')
Apr 18 00:48:44 katelyngigante uwsgi[21920]: During handling of the above exception, another exception occurred:
Apr 18 00:48:44 katelyngigante uwsgi[21920]: Traceback (most recent call last):
Apr 18 00:48:44 katelyngigante uwsgi[21920]:   File "/home/discord/.local/lib/python3.8/site-packages/flask/app.py", line 2447, in wsgi_app
Apr 18 00:48:44 katelyngigante uwsgi[21920]:     response = self.full_dispatch_request()
Apr 18 00:48:44 katelyngigante uwsgi[21920]:   File "/home/discord/.local/lib/python3.8/site-packages/flask/app.py", line 1952, in full_dispatch_request
Apr 18 00:48:44 katelyngigante uwsgi[21920]:     rv = self.handle_user_exception(e)
Apr 18 00:48:44 katelyngigante uwsgi[21920]:   File "/home/discord/.local/lib/python3.8/site-packages/flask/app.py", line 1821, in handle_user_exception
Apr 18 00:48:44 katelyngigante uwsgi[21920]:     reraise(exc_type, exc_value, tb)
Apr 18 00:48:44 katelyngigante uwsgi[21920]:   File "/home/discord/.local/lib/python3.8/site-packages/flask/_compat.py", line 39, in reraise
Apr 18 00:48:44 katelyngigante uwsgi[21920]:     raise value
Apr 18 00:48:44 katelyngigante uwsgi[21920]:   File "/home/discord/.local/lib/python3.8/site-packages/flask/app.py", line 1950, in full_dispatch_request
Apr 18 00:48:44 katelyngigante uwsgi[21920]:     rv = self.dispatch_request()
Apr 18 00:48:44 katelyngigante uwsgi[21920]:   File "/home/discord/.local/lib/python3.8/site-packages/flask/app.py", line 1936, in dispatch_request
Apr 18 00:48:44 katelyngigante uwsgi[21920]:     return self.view_functions[rule.endpoint](**req.view_args)
Apr 18 00:48:44 katelyngigante uwsgi[21920]:   File "./decksite/auth.py", line 25, in decorated_function
Apr 18 00:48:44 katelyngigante uwsgi[21920]:     return f(*args, **kwargs)
Apr 18 00:48:44 katelyngigante uwsgi[21920]:   File "./shared_web/decorators.py", line 41, in wrapper
Apr 18 00:48:44 katelyngigante uwsgi[21920]:     return f(*args, **kwargs)
Apr 18 00:48:44 katelyngigante uwsgi[21920]:   File "./decksite/controllers/api.py", line 206, in post_reassign
Apr 18 00:48:44 katelyngigante uwsgi[21920]:     archs.assign(deck_id, archetype_id, auth.person_id())
Apr 18 00:48:44 katelyngigante uwsgi[21920]:   File "./decksite/data/archetype.py", line 89, in assign
Apr 18 00:48:44 katelyngigante uwsgi[21920]:     db().execute(f'UPDATE deck SET reviewed = %s, archetype_id = %s WHERE id = %s {and_clause}', [reviewed, archetype_id, deck_id])
Apr 18 00:48:44 katelyngigante uwsgi[21920]:   File "./shared/database.py", line 44, in execute
Apr 18 00:48:44 katelyngigante uwsgi[21920]:     [n, _] = self.execute_anything(sql, args, False)
Apr 18 00:48:44 katelyngigante uwsgi[21920]:   File "./shared/database.py", line 59, in execute_anything
Apr 18 00:48:44 katelyngigante uwsgi[21920]:     raise DatabaseException('Failed to execute `{sql}` with `{args}` because of `{e}`'.format(sql=sql, args=args, e=e))
Apr 18 00:48:44 katelyngigante uwsgi[21920]: shared.pd_exception.DatabaseException: Failed to execute `UPDATE deck SET reviewed = %s, archetype_id = %s WHERE id = %s ` with `[True, '256', '71591']` beca>
Apr 18 00:48:44 katelyngigante uwsgi[21920]: [2020-04-18 00:48:44,824] ERROR in logger: At request path: /api/archetype/reassign

As this is a deadlock and a one-off I'm going to close this for now. Will reopen if it reoccurs.


Render via prettyprinter, automate testsuite

Render using prettyprinter instead of hand-written string formatting
Make the testsuite selfcontained so it can run via stack test

Cool, thanks


Add X-Vault-Namespace also to auth requests. Would get 400 Bad Reques…

Add X-Vault-Namespace also to auth requests. Would get 400 Bad Request - Invalid Role ID otherwise

@rosuvlad Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@rosuvlad Thank you for signing the Contributor License Agreement!

Can you step back and describe the problem you are seeing beyond

Would get 400 Bad Request - Invalid Role ID

What versions are you using?
IIRC X-Vault-Namespace is an enterprise feature that we can not test. @mp911de?

So I think it was removed here https://github.com/spring-cloud/spring-cloud-config/commit/814d0b1e3953bb865e9bdb1e079f5cb246994fcc#diff-bcc35146178531de2130c6b0069350feL77

Using:

springCloudVersion: Hoxton.SR1
org.springframework.boot: 2.2.4.RELEASE
org.springframework.cloud:spring-cloud-config-server: 2.2.1.RELEASE

We are having Enterprise Vault available in our company and we need to use the namespace segregation.
The problem is that the namespace is enforced for Auth endpoints (except the root one, token) in our Vault configuration.
In our case AppRole would be something specific for each namespace and the current state of spring-config-server is not passing X-Vault-Namespace in the calls for the AppRole flow.
By running the code without the fix, we would encounter a 400 - BadRequest - Invalid Role ID from the Vault backend.

So I think it was removed here 814d0b1#diff-bcc35146178531de2130c6b0069350feL77

Why?

You've duplicated code found here https://github.com/spring-cloud/spring-cloud-config/blob/5544f03128f5c6194d686d7f9e85303a93439b81/spring-cloud-config-server/src/main/java/org/springframework/cloud/config/server/environment/vault/SpringVaultClientConfiguration.java#L98

You've duplicated code found here
https://github.com/spring-cloud/spring-cloud-config/blob/5544f03128f5c6194d686d7f9e85303a93439b81/spring-cloud-config-server/src/main/java/org/springframework/cloud/config/server/environment/vault/SpringVaultClientConfiguration.java#L98

From our debug, the section there is not being called for the AppRole auth flow.

restOperations(

I believe that would be OK and will have the same result.

Why do you keep closing this? I'm trying to help you figure the right place for this to go to fix your problem. Why did the code get removed? I don't know. We can't check the flow because we don't have vault enterprise to test with, that's why this slipped thru.

Why do you keep closing this? I'm trying to help you figure the right place for this to go to fix your problem. Why did the code get removed? I don't know. We can't check the flow because we don't have vault enterprise to test with, that's why this slipped thru.

Sorry for closing, using Gitlab or Bitbucket on the company premise, not used to GitHub.
So should I create a new PR with the override on restOperations()?

Namespaces are an enterprise feature. In Spring Vault, we download the enterprise version for testing. The good news is that Vault enterprise works for 30 minutes without a license key. However, setting up namespaces for testing isn't trivial.
Namespaces are required to be set for authentication and secret operations. Note that the namespace must not be set for health check operations as these fail when using namespaces.

Namespaces are required to be set for authentication and secret operations. Note that the namespace must not be set for health check operations as these fail when using namespaces.

OK, let me give it another go and also update the tests.
Thank you for the support.

OK, updated and tests are passing :)

#1565 has been opened to track using vault enterprise during CI

Will close this PR to retarget to 2.2.x branch


osrm-backend: 5.26.0 -> 5.27.1

https://github.com/Project-OSRM/osrm-backend/blob/v5.27.1/CHANGELOG.md
The patch for Darwin support didn't apply anymore, so lets see how ofborg builds it.
Description of changes

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.

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

2 packages built:

osmscout-server
osrm-backend

Result of nixpkgs-review pr 327686 run on aarch64-darwin 1

1 package built:

osrm-backend

The patch for Darwin support didn't apply anymore, so lets see how ofborg builds it.

Seems like upstream has added Apple silicon support in 5.27.0


[ERROR:flutter/shell/common/shell.cc(93)] Dart Error: Dart_LookupLibrary: library 'package:bkash_next/config/env.dart' not found.

after payment this error sho
[ERROR:flutter/shell/common/shell.cc(93)] Dart Error: Dart_LookupLibrary: library 'package:bkash_next/config/env.dart' not found.

The package name is flutter_bkash
Error show on your comment as bkash_next. Please user proper package and get feedback to us.

I use flutter_bkash: ^0.2.0 in my project, and I use my real Bkash Credentials as Production, when I request payment then this error shows.

but where are you found library 'package:bkash_next/config/env.dart'
This is not our library. Please recheck again and again.

on console

This Issue is not valid, that's why close this issue. Thanks for your issue @aktarulahsan
Regards
@rdnasim