Bump Dependencies #4653748297

Bumps dependencies for product-is. Link : https://github.com/wso2/product-is/actions/runs/4653748297

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.jenkins-is-staging seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Add machine config resource to create topolvm partition

Topolvm require a unused partition, which can be used by this operator and create layout accordingly. In this PR, machineconfig resource is used to create such partition as per document.

https://docs.openshift.com/container-platform/4.15/installing/installing_with_agent_based_installer/installing-with-agent-based-installer.html#installing-ocp-agent-disk-partition_installing-with-agent-based-installer
https://docs.openshift.com/container-platform/4.15/storage/persistent_storage/persistent_storage_local/persistent-storage-using-lvms.html

Thanks so much for looking into this and making it work, so the changes has to be done through MachineConfig and not directly using the ignition during boot for it to persist?

/retest

/test e2e-snc

bundles are at https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/pr-logs/pull/crc-org_snc/877/pull-ci-crc-org-snc-release-4.15-e2e-snc/1793504299356000256/artifacts/e2e-snc/gather-snc/artifacts/bundles.txt

this had questions around the (re)size of the root-partition, right?

this had questions around the (re)size of the root-partition, right?

yes, this was posted in the crc issue, https://github.com/crc-org/crc/issues/4117 i updated it with the information from the slack conversation

@anjannath Since we are going to move with 4.16 as default branch and same is what going  to be tested. Should we close this PR and open a new against release-4.16 ?

have changed the base branch, but need to rebase the branch

have changed the base branch, but need to rebase the branch

For what it's worth, rebasing praveenkumar:disk_part does not trigger any conflicts if you use
git rebase HEAD~4 --onto origin/master

or
git rebase HEAD~4 --onto origin/release-4.16

@anjannath Since we are going to move with 4.16 as default branch and same is what going to be tested. Should we close this PR and open a new against release-4.16 ?

Don't we want this in master as well?

/retest

Another comment, while going over the commits in this PR, and reading this PR as well, I have no idea why we want it in crc. I understand it is enabling (or switch to?) topolvm, but there is no discussion/explanation why this is a good thing to do (shortcomings of the previous solution, advantages of topolvm, ...)

there was some discussion about it in the issue: https://github.com/crc-org/snc/issues/854 but not a lot about its usefulness or shortcoming of the hostpath-provisioner.
the lvm-storage-operator supports a few more knobs for the pvc, like resize and setting size for the pvc which is not supported by hostpath-provisioner

/test e2e-snc

/test e2e-snc

/retest

/restart

/test e2e-snc

/test e2e-snc

/retest

/retest

/retest

Seems its not a good Return on investment, closing! sorry about the noise


WebView redirects to 'cancel.com' unexpectedly, preventing successful navigation

Steps to reproduce
I am encountering an issue with WebView in my Flutter app, where the WebView is unexpectedly redirecting to 'cancel.com'/'success.com' instead of navigating back. This behavior was working correctly previously, but it has suddenly stopped functioning as expected. It's working fine on debug mode only issue on release mode, Few days ago, it worked both debug and release without any issues.
  @override
  void initState() {
    super.initState();
    _controller = WebViewController()
      ..setJavaScriptMode(JavaScriptMode.unrestricted)
      ..loadRequest(Uri.parse(initialUrl)
      ..setNavigationDelegate(NavigationDelegate(
        onPageFinished: (String url) {
          if (url == initialUrl) {
            _redirectToStripe();
          }
        },
        onNavigationRequest: (NavigationRequest request) async {
         print('URL:${request.url}');
          if (request.url.startsWith('https://success.com')) {
          /// Other logics
              SnackBar().successSnackBar('Thank you for your payment!');
              Navigator.pop(context, true);
          } else if (request.url.startsWith('https://cancel.com')) {
          Navigator.pop(context, 'The payment has been cancelled!');
          }
          return NavigationDecision.navigate;
        },
      ));

Widget of Webview
    return PopScope(
      onPopInvoked: (value) async {
        Navigator.pop(context, 'The payment has been cancelled!');
      },
      canPop: false,
      child: Scaffold(
        resizeToAvoidBottomInset: false,
        body: SafeArea(
          child: WebViewWidget(controller: _controller),
        ),
      ),
    );

Expected Behavior:
I expect the WebView to navigate back when either success/cancel (URL is 'https://success.com/' and cancel URL is 'https://cancel.com/'). The code logic seems correct, and this behavior was working previously.
Actual results
Currently, the WebView is attempting to load 'cancel.com' when the cancel URL is matched, which is not the expected behavior.
Logs

Logs

I/flutter (10246): URL:https://checkout.stripe.com/c/....
I/flutter (10246): URL:https://cancel.com/
I/flutter (10246): URL:https://www.squadhelp.com/name/Cancel

Flutter Doctor output

Doctor output

flutter doctor -v
[✓] Flutter (Channel stable, 3.16.4, on macOS 14.2.1 23C71 darwin-arm64, locale en-LK)
    • Flutter version 3.16.4 on channel stable at /Users/bhanukaisuru/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2e9cb0aa71 (12 days ago), 2023-12-11 14:35:13 -0700
    • Engine revision 54a7145303
    • Dart version 3.2.3
    • DevTools version 2.28.4

[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
    • Android SDK at /Users/bhanukaisuru/Library/Android/sdk
    • Platform android-34, build-tools 32.1.0-rc1
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C65
    • CocoaPods version 1.14.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] VS Code (version 1.85.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.78.0

[✓] Connected device (3 available)
    • PRA LX2 (mobile) • 6MU7N17A12000618 • android-arm64  • Android 8.0.0 (API 26)
    • macOS (desktop)  • macos            • darwin-arm64   • macOS 14.2.1 23C71 darwin-arm64
    • Chrome (web)     • chrome           • web-javascript • Google Chrome 120.0.6099.109

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Found the issue. It's because of PopScope. I replaced WillPopScope again, now it's working fine.
But why does' PopScope' work fine with debug mode and not in release mode?

Thanks for filing this @bhanuka96.
Please can you provide a minimal complete reproducible code sample that doesn’t include 3rd party plugins or complex production code?


add a fix for "undefined method `assets'" based on comments in #50

This incorporates the patches suggested in #50 as-is.
I'd rather have this in the gem than use our fork, especially in the medium to long term.

Having the same issue. Would love to see this merged

Thanks @jipiboily I'll release a new version shortly

Sorry I merged this too quickly and I reverted it here as I need to look into it more calmly: https://github.com/basecamp/audits1984/pull/60
I don't love the approach where the engine is in charge of writing these files on the fly. I am not sure what the right approach is here but there must be a cleaner path to solve this.

Got it! Is there a new issue or PR to watch for news about this?

@jipiboily he reopened the old issue: https://github.com/basecamp/audits1984/issues/50


Service Bus - Track 2 - Management client model : Rename  QueueDescription

proposing using two separate types to model each entity - one for creation, and one for updating
[ ] Input to Create* is Create*Options
[ ] Rename *Description -> *Properties (none of the properties are optional)
[ ] Rename *RuntimeInfo -> *RuntimeProperties
Related dotnet issue : https://github.com/Azure/azure-sdk-for-net/issues/13352

Closed in favour of https://github.com/Azure/azure-sdk-for-java/issues/13000


Display price scale both on left and right side

Describe the solution you'd like
chart.applyOptions({
    priceScale: {
        position: 'both'
    }
});

Additional context
Might be nice to have option for price scale on both left and right position for a big/wide chart.

Hey @SuperPenguin, sorry for long delay.
The case you described is very interesting, and we even had something like like that some time ago in our charting_library library and on the main site www.tradingview.com (currently we have ability to use up to 8 scales at the same time).
But this is not case of the lightweight-charts, unfortunately - we want to leave the library simple as much as possible and cover the main cases at the same time. In this case, if we add mirroring to the library, I believe that the next request will be "add ability to use 2 scales separately" - and there are edge cases, and the hardest part here is clear and easy understandable API.

Given that 3.0 now has two scales this should be a tiny addition.
Right now you can only specify left or right, why not allow it on both ?

Given that 3.0 now has two scales this should be a tiny addition.
Right now you can only specify left or right, why not allow it on both ?

At the moment you can use 2 series with identic properties and data, but one of them is transparent color to achieve this.
Here is the example
import {
  BusinessDay,
  createChart,
  isBusinessDay,
  LineData,
  LineStyle,
  PriceLineSource,
  TickMarkType,
  UTCTimestamp
} from "lightweight-charts";

function formatTime(utcTimestamp: UTCTimestamp): string {
  const dt = new Date(utcTimestamp * 1000);
  const hour = dt.getUTCHours() < 10 ? `0${dt.getUTCHours()}` : dt.getUTCHours().toString();
  const minute = dt.getUTCMinutes() < 10 ? `0${dt.getUTCMinutes()}` : dt.getUTCMinutes().toString();

  return `${hour}:${minute}`;
}

const chartRoot = document.getElementById("main-chart") as HTMLDivElement;
const chart = createChart(chartRoot, {
  width: 400,
  height: 300,
  timeScale: {
    tickMarkFormatter: (time: UTCTimestamp | BusinessDay, tickMarkType: TickMarkType, locale: string) => {
      if (isBusinessDay(time)) {
        return "";
      } else {
        return formatTime(time);
      }
    }
  },
  localization: {
    timeFormatter: (time: BusinessDay | UTCTimestamp) => {
      if (isBusinessDay(time)) {
        return "";
      } else {
        return formatTime(time);
      }
    }
  },
  leftPriceScale: {
    visible: true
  }
});

const lineLeft = chart.addLineSeries({
  priceScaleId: "left",
  color: "#FF000000", // Red Transparent
  lineStyle: LineStyle.Solid,
  lineWidth: 1,
  priceLineSource: PriceLineSource.LastVisible
});

const lineRight = chart.addLineSeries({
  color: "#FF0000", // Red
  lineStyle: LineStyle.Solid,
  lineWidth: 1,
  priceLineSource: PriceLineSource.LastVisible
});

const data: LineData[] = [];
const now = Math.round(Date.now() / 60000) * 60000;

for (let i = 1; i < 1000; i++) {
  const value = Math.sin((i * 10 * Math.PI) / 180);

  data.push({
    time: (now + i * 60) as UTCTimestamp,
    value: value
  });
}

lineLeft.setData(data);
lineRight.setData(data);

Right now you can only specify left or right, why not allow it on both ?

@compunect am I right that you want to get something like "mirroring" for price scales? I meant, attach a series to both price scale at the time so change on one price scale will update other scale as well?

First thanks for the solution with the invisible series, but it’s also a performance hit to draw two.
@timocov I wanted to display the percentage left and the absolute price right

Ah, I see, we didn't plan to add this feature though.


Zero-phase digital filtering

This is a great library, now I translate matlab program to java code, there is a filtfilt() method in matlab, it's Zero-phase digital filtering, is it supported in your library?
thanks

A possible solution:
    public double[] bandPassFiltfilt(double[] signal, int order, double lowCutoff, double highCutoff) throws IllegalArgumentException {         if (lowCutoff >= highCutoff) {             throw new IllegalArgumentException("Lower Cutoff Frequency cannot be more than the Higher Cutoff Frequency");         }         double centreFreq = (highCutoff + lowCutoff) / 2.0;         double width = Math.abs(highCutoff - lowCutoff);         double[] output = new double[signal.length];         uk.me.berndporr.iirj.Butterworth bp = new uk.me.berndporr.iirj.Butterworth();         bp.bandPass(order, this.samplingFreq, centreFreq, width);         for (int i = 0; i < output.length; i++) {             output[i] = bp.filter(signal[i]);         }         bp.reset();         double[] result = new double[output.length];         for (int i = output.length - 1; i >= 0; i--) { // reverse             result[i] = bp.filter(output[i]);         }         return result;     }


Blynk\src/BlynkSimpleEsp8266.h

searched already for 2 days on the internet; always it says problem solved but the simple blynk example using nodemcu (esp8266 12E) still is saying same thing:
In file included from C:\Users\thuisgebruiker\Documents\Arduino\test\test.ino:39:0:
C:\Users\thuisgebruiker\Documents\Arduino\libraries\Blynk\src/BlynkSimpleEsp8266.h:18:21: fatal error: version.h: No such file or directory
#include <version.h>
yes I reinstalled latest arduino IDE and deleted all files left in sketchfolder
yes I installed using the guidannce video copying manually the files in right folder
yes it is indeeed the right folder - actually tried in IDE folder and in sketch folder - no difference
it is a windows install
I am getting very frustrated that the advertising is saying 5 min setup and this simply never worked so far
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h> --> this line does not turn orange in IDE so never found by the IDE
are the github files  - using latest version v0.6.0 - really ready to go or is there something I missed and all you experts are doing as an 'obvious' extra step ??
please help

Ok - found it in a post somewhere: 2 things:
1)
https://github.com/esp8266/Arduino/blob/master/README.md#installing-with-boards-manager
--> install/update latest 8266 core first; I did have an outdated one + I still had the HTTP link instead of the HTTPS link in my preferences
--> then install following guideline from Blynk
then it all compiles without complaints
I honestly think this should be added for esp8266 users as an extra prep step.
before they all jump into installing the blynk libs from github and start a pointless struggle.
Anyway - would be nice if someone was looking for a solution is now helped with this.
this one can be closed


Peer groups between web UI and API are inconsistent

Describe the problem
When using the API to retrieve peers, the groups listed on each peer are incorrect. I am seeing 2 different cases. The first seems to be more prevalent, most peers will lists all groups even if they are not part of those groups. The second case, peers are missing groups from the list that they belong to.
To Reproduce
Steps to reproduce the behavior:

Go to 'https://app.netbird.io/peers' to view a peers groups.
Use the API to pull list of peers from 'https://api.netbird.io/api/peers'.
Compare the list of groups from the JSON body to what is visible in the web UI.
See inconsistent data between the two.

Expected behavior
Group lists for each peer to be the same between the web UI and the API response.
NetBird status -d output:
N/A
Screenshots
Case 1, extra groups in JSON response that are not present in UI:
Note that the JSON lists a bunch of groups that should not be present. I would expect the "All" and "* Compute - Kansas - 1" group to be present as this is what was set via API and appears in the web UI.

Case 2, group that should be present is missing:
Note that the "* - Texas 1" group should be present in the JSON body but it is not.

Additional context
N/A

Hello @kent-hydra thanks for reporting this. We found a bug that is fixed in #1337


Hello! Using py to run Katas sample? Possible?

Hello! Using py to run Katas sample? Possible?
https://docs.microsoft.com/en-us/quantum/install-guide/pyinstall

Hi,
You can run the Katas either as C# projects using Visual Studio, VS Code or any editor you like with command line, or as Jupyter Notebooks. Some of the Jupyter Notebook tutorials (the ones dealing with classical computations only or the ones that require visualization) are implemented using Python, but most of them use Q#.
If your preferred setup is Python, you'll probably want to use the Jupyter Notebooks version, since the setup is closer to the Python one (and the tasks presentation is more polished).

I'll close this issue for now; please let us know if you run into any issues using the Katas with Jupyter Notebooks!


Plugin mechanism

This PR is work in progress for a plugin mechanism.
A plugin mechanism should allow extending the server's functionalities. Some examples:

derived data: calculate value X based on some other values and include the derived data in the SK outputs
conversion and output to 0183/N2K:

create 0183 autopilot data and send it to connected tillerpilot
convert AIS data from connected 0183 ais receiver to N2K

integration to external services: for example send location to MarineTraffic
logging: write all numeric data to

A plugin needs access to

SK input stream and full model data
0183 and N2K input streams
SK output stream & full model
all outputs (I2C, 0183, N2K, etc)
configuration data persistence
configuration data editing

Plugins should be installed independently, allowing independent versioning & dependencies.
There should be a standard plugin configuration UI.

I've been thinking that configuration could be based on JSON schema and the UI & data model would be dynamically generated.
The server would get a JSON schema for the configuration UI via plugin API and create the UI using for example https://github.com/mozilla-services/react-jsonschema-form. The server would take care of saving & retrieving the configuration data and plugin lifecycle.

My current idea is that plugins would be independent npm modules, installed as usual with npm install, but with a certain keyword in package.json identifying them as SK Node server plugins. The server can list the installed plugins based on this keyword.

The configuration UI could be browser-only, with no server side html generation apart from initial bootstrap.
The UI would use server's REST api to retrieve & store per plugin configuration data. This part of the architecture could be part of the shared SK spec.

During sailing season 2016 I had the following server side pluginish functionalities

raw data logging (hourly files) with sync to S3
SK data to pgn 129039 (AIS dynamic data)
SK heading to pgn 127250
SK data to MWV, RMC, APB
SK data to InfluxDB
SK data to MarineTraffic position report (AIS)

My plan is to turn these into plugins and eat this PRs dogfood with them.

#102 could be another plugin.

Capability to intercept and capture the data the server is passing out would be useful.
For example primary + backup: send data from backup source only if data from primary source is not available.

[ ] add server's index and demote bower plugins one level down
[ ] documentation
[ ] server-driven enable/disable mechanism

This is a really good initiative and should be able to cover many needs/requests. With good documentation and examples how to develop own plugins, we could have ourself an app store.

@joabakk  if you have the time it would be really great if you could try the plugins branch and possibly try to create your own plugin. See one of the plugins added in 91f0ab59b37869bc739498770cc245c1c1651d3f for examples.

I'm looking into it. But as far as I can see, none of these plugins are published on npm and npm update does not add these to my server. Would it be possible to make another example that takes sk data, does some calculation and sends back sk to the server? It could well be empty for me to fill in the paths.
Ideas for plugins:

Calculate propeller slip

Look up polar and target speeds from db

Generate seatalk datagrams to be sent as $STALK sentences

Ready for merging - I would appreciate any and all feedback. In case somebody bites: start from Readme.

I believe this is ready for merging.

It would be nice to be able to do a quick check to see if a specific plugin is installed and enabled. I currently have to get the config for all of the plugins and go through them.

@sbender9 you mean via http / rest?

See 43685884ac385e1f61a069dd101bcc36707f21cc

Yep. Perfect. Thanks!


Automatic switching from light to dark mode on macOS has bugs

macOS has the possibility to automatically switch to dark mode when the sun goes under.
This does not work correctly with Gittyup.

@LenaWil currently we don't have a macos developer. Shall this change happen only at restart or when the os chabges to darkmode Gittyup changes too?

When the sun goes under and the theme of macOS goes to dark, and Gittyup is open at the time of the change, Gittyup changes too and the glitch happens.
I tried to reproduce it both in Gnome on Ubuntu and on Windows 11 by changing the theme while it was open there, but the same glitch doesn’t happen there, because Gittyup stayed the same theme while opened even when set to system.

Thank you. We will check out to get it work also with Gnome so this might fix then also your problem

Thank you. We will check out to get it work also with Gnome so this might fix then also your problem
Okay, just to be clear, it did not happen with gnome.

Yes but if we get it work there we might also fix the issue with MacOS. Do you have screenshots how it looks in the lightmode? What happens if you start Gittyup at night, does it look same?

If I start up Gitty in light mode:

And this is what dark mode looks like normally:

The inverse glitch: (So switching from dark to light, aka sun rise, while open)

Thanks for the screenshot. I will have a look into it

Just for documentation:
Used in Application.cpp
  // Initialize theme.
  mTheme.reset(Theme::create(parser.value("theme")));
  setStyle(mTheme->style());
  setStyleSheet(mTheme->styleSheet());

@LenaWil If you restart Gittyup when this problem occurs, are the colors correct?

Yes.

Same on KDE Plasma.


Comment out statements with any effect

It looks like they're there to provide some guidance in code, so comment
them out instead of removing

I appreciate someone combing through the code :) Welcome aboard. This is a wontfix for now, I'm unable to merge PR's temporarily (until June 2019) as this project is the basis of my Masters, for which no external contribution is allowed, though I will check with my supervisor. Please come and chat over on the OpenNFS discord! https://discord.gg/x9hunv

Ah, too bad. In that case I would suggest turning PRs off (if that's an option for an already public project) or at least providing such information in the PR template on GitHub. https://blog.github.com/2016-02-17-issue-and-pull-request-templates/


Hashrate incorrect

I don't know why but the hashrate is incorrect

Incorrect how? If you mean the 0 H/s then it's most likely due to insufficient VRAM, you can set it to mine UBQ instead and you'll know if that's the case since UBQ only requires 1.6GB of VRAM (instead of ETC's 3GB).

I have removed the database file and downloaded it again. That same pc has been mining for a few days 30mh/s

They are probably running something that is taking up their VRAM.


Add editordeps folder with scons toggle opt and EDITORDEPS_DISABLED macro flag.

Lays the foundation for godotengine/godot-proposals#2063. Whether or not it closes the issue depends on whether we want to leave it open for people to suggest things that should be refactored out or delegate that entirely to separate proposals.
/editordeps can now have source code files added to it which can safely be accessed from /editor and anything in /modules. It is assumed that /core, /servers, and /scene have been loaded prior to /editordeps and that /editordeps is loaded before /editor (at least, to my understanding. Someone should check my SConstruct code since I'm not experienced with it).
Modules that reference it should take care that their code is wrapped in a flag check though since the editor dependencies can be independently added or removed from the build similar to Advanced GUI and 3D features. Example:
#ifndef EDITORDEPS_DISABLED
#include "editordeps/summator.h"
#endif

The SConstruct file prints an error and exits early if users attempt to build with disable_editordeps=yes tools=yes.
If people want to change the name of the directory/option/macro, that's fine too. I have no preference.

Looks like this is also relevant for godotengine/godot-proposals#2276 to be able to take all the custom resource editors from the Inspector and move them into /editordeps as reusable Control nodes.

Now that I've actually attempted to port a node, I've found that I needed to adjust the content that is part of this preparatory PR. editor_scale needs to be moved to editordeps so that the EDSCALE macro can be referenced in things that have been refactored as independent nodes. In such cases where the tools are not compiled in, editordeps uses a tool_scale instead which also defines EDSCALE and bases it on a new ProjectSettings value that also defaults to 1.0f just like the standard editor scale. This in turn adds many more files to the commit since most editor-related files in scene/, editor/, and modules/ now need to refer to editor scale in editordeps/ rather than in editor/.
I also made 2 more changes:

editordeps classes are also registered during tools-enabled tests in main (should've been done in the first place).
editordeps' scons flag is modified to be an enum rather than a bool where it now has a "default" behavior. Now, rather than always being true by default and needing to be manually turned off, the default behavior is to match whatever the tools setting is. Therefore, compiling a release build with tools=no will NOT include editor dependencies (to make default web/mobile builds be smaller) unless users specifically compile a build with tools=no disable_editordeps=no.


[SQL Server] Error inserting varbinary(max) with NULL value

I currently use Dapper and SqlKata for the data access in my application.
My entity class contains a byte[] which should be persisted in the database and might contain NULL values.
When I try to update or insert a varbinary(max) column with this NULL value, I get the following error:
Implicit conversion from data type nvarchar to varbinary(max) is not allowed. Use the CONVERT function to run this query.
When writing the necessary query by hand and using plain Dapper to execute it, everything works without any problems. The underlying entiry class containing the information to persist is in both cases the same.
This is the method to execute the SqlKata query with Dapper:
public int Execute(Query query, int? commandTimeout = null, CommandType? commandType = null)
{
    SqlResult sqlResult = _queryCompiler.Compile(query);
    return _connection.Execute(sqlResult.Sql, sqlResult.NamedBindings, _transaction, commandTimeout, commandType);
}

Hello,
My advice is you try one step at a time: meaning, try to insert first.  If you are trying to insert many data, try doing it one by one.  It will certainly cost you a lot of time but at least you will know where the error lies and you will get a better idea.  Because, from the error message you are getting: "Implicit conversion from data type nvarchar to varbinary(max) is not allowed.(...)", this is self-explanatory, maybe the error is in the data type in your C# code.  Once you know where the issue(s) is/are, try to update one by one.  This is the only way to know exactly where the problem is instead of having nightmares because of it!
Goodluck :)

@danehnert too late to reply, can you please first try the latest version to see if the issue persists,
if yes, can you post a full reproducible scenario:

Table schema
Working insert query with data
Failed insert query with data

public class test {public int a{get;set;} public byte[] data {get;set;} }
in sql log (mssql): "insert into [table] ([id], [data]) values(0, 'System.Byte[]')"
in error: Implicit conversion from data type nvarchar to varbinary is not allowed. Use the CONVERT function to run this query.


Cancelled downloads are blocking new downloads.

Setup

Epinio version: 1.9.0

Describe the bug

The Applications export creates a new zip file containing charts, values and the image part.
The download of the image part is demanded to a new job on Epinio cluster.
When the export is cancelled by the user, the job remains active and this prevents new exports, I assume because the old job blocks the creation of a new one.
> kubectl get jobs -n epinio
image-export-job-works-178b20f32af5b3baa26f5cab37eee65f4454f5e9   0/1           11s        11s

To Reproduce

1 Go to Applications -> menu -> 'Export App'.
2 Click on 'Chart and Images' tab and click 'Export'
3 Wait ~5 seconds and click cancel.
4 Do again points 1 & 2 (same application)
Screenshots

Additional context

While waiting for cluster to be up I looked more, and the job already exists error is definitely backend, and points at the code choosing a name for the job (using just namespace and app name). Should also use some kind of serial and/or nanosecond time. Above clash would be triggered by multiple concurrent requests (from different users) for the same app too. That should be even easier to reproduce.
And while writing Richard points to the same, regarding job identification.
Will also have a look into intercepting the htpp cancellation (something with go contexts).

Replicated for concurrent export request on same app.
Replicated for export request after a cancellation.
Replicated job left behind after command abort.


Technic pack export

Pack format is essentially the same as an installed .minecraft folder, but with:

Optional icon.png in the root to store an icon
In the bin folder:

For Fabric, a version.json file (obtainable from the API)
For Forge 1.13+, the installer JAR (obtainable from maven) renamed to modpack.jar
For Forge 1.12 or older, the universal JAR/zip (obtainable from maven) renamed to modpack.jar

potential method implementation

use the packwiz data folder as the root
Download Mods,
create bin folder,
Fetch version.json OR modpack.jar for modloader
zip folder
remove packwiz files from zip, such as pack.toml, index.toml, and mods/*.toml

technic:
	@echo "Making Technic pack"
	-rm -rf .technic
	-cp -r .minecraft .technic
	cp vanillia_icon.png .technic/icon.png
	cd .technic && java -jar ../.minecraft/packwiz-installer-bootstrap.jar https://gitlab.com/Merith-TK/vanillia-modpack/-/raw/main/.minecraft/pack.toml && cd ..
	-rm -rf .technic/packwiz* .technic/index.toml .technic/pack.toml .technic/mods/*.toml
	7z d ../vanillia-technic.zip ./* ./.* -r
	7z a ../vanillia-technic.zip ./.technic/* -r

This is how I do it in my modpack template, some of the zipping can be messed with to be simpler, I just did it like this to make sure that the dropbox url doesnt change


Is the Makefile still needed?

Since package.json contains the script starts and the script test, is the Makefile still needed?
I am a bit confused of the references to tabulator and /dev/WWW (which I assume they were probably originally used for quick & dirty testing)
Update
What I am seeing now is that in order to run the tests one has to run ldnode with some specific settings and just by doing make you start ldnode ready for test settings. However this should all be done by npm test. The user doesn't want to see or do too many things when running the tests

The makefile is used to start the server with different options (e.g. webid support).
The references to /dev/www are there because Tim wrote the tests for sparql-update support and they depend on some python scripts. I agree that they should be cleaned up but they are still separate tests from the ones in test.js.

Hey @martinmr, I still think this is something is still to be fixed, since having a Makefile with undocumented functionalities and using files not in the repo may confuse new developers.
Starting the server & testing should be in package.json.

I think this should be fixed in https://github.com/linkeddata/ldnode/commit/23d540f88f41952fa689961bf6d8a0132b8c3d8e, where there is no need for the Makefile

I think the node tests don't need the Makefile but I am not sure about Tim's old tests.

perfect will ask tomorrow!

The Makefile is not needed, so long as the tests from test/Makefile are incorporated into the new test setup.   I don't need those make commands (useful though they are for testing.)

I think we should keep the Makefile but rewrite it to match the current command line options and not use for automated testing. That way we have an easy way to start the server in certain configurations. For example, I could run:
make no-ssl

to start an http server and so on.

My sense is the idiom with node.js is to use "npm run" for that kind of thing.

+1 for npm run

Closing issue as Makefile is already removed in master.


cmd/link: use libsystem_kernel.dylib or libSystem.dylib for syscalls on macOS

As I understand it, Go currently has its own syscall wrappers for Darwin. This is explicitly against what Apple recommends, precisely because they're not willing to commit to a particular syscall ABI. This leads to issues like https://github.com/golang/go/issues/16570, and although we've been lucky in that things have generally been backward-compatible so far, there's no guarantee that it'll continue to happen. It doesn't seem inconceivable to me that we'd at some point end up having to specify "build for macOS 10.13+" vs. "build for 10.12 and below", for example.
Linking against libsystem_kernel.dylib (or the broader libSystem.dylib) would put Go back in line with Apple's recommendations for the platform, and the library is guaranteed to exist on all macOS boxes.
Apologies if this has been suggested before and people have already gone over good reasons not to do it, but I'm currently struggling to figure out what appears to be another Sierra incompatibility related to #16570 above (still haven't figured it out enough to post a reproducible bug) and am wishing we didn't have to deal with these issues.

I agree that we have to do this.  I'm not sure who is actually going to do it, though.

Note that the trouble with #16570 comes from fetching the current time, and that is something that is so performance critical that we might want to continue to use our own implementation even if we use libSystem for other syscall.

We got into a discussion about how to do this over on #17200. I believe this can be done without forcing external linking. But I also don't know who is going to do it, my plate is full for the foreseeable future.

Agree we should do this at some point. It's not terribly high priority though.

This is about using the system calls. We already link against libSystem.dylib when cgo is in use.

Hi, I made a CL for x86. https://go-review.googlesource.com/c/50290/
Could someone review it (after development cycle open) ?
If the overall design is OK, I'd like do something in go 1.10. Thank you.

Despite the release-blocker label I don't see this happening for Go 1.10. Moving to Go 1.11. If we really want to do this we need to make sure work starts at the beginning of the cycle.

Nick Kledzik suggested in e-mail:

There is a middle ground that some JIT creators use, which is to wrap their JITed code in a “boilerplate” mach-o.
For the Go case, since you already generate the wrapper mach-o structure for executables, you expand that a bit, and standard content for linking to libSystem.dylib.  This would include the stubs (PLT) section and lazy pointer section (GOT), and the LINKEDIT stuff to bind them for all the POSIX calls Go supports.  The Go compiler then calls the stub (PLT) instead of directly inlining the syscall.
The new mach-o content would be the same for all Go executables, so you don’t need a linker. You write a C program that calls all POSIX functions Go supports and compile/link that once, and copy the stubs/lazy pointer sections and LINKEDIT content for use as your boilerplate.
This won’t solve the thread local issue, but will make Go executables true dynamic executables and free Apple to evolve the private libSystem/kernel syscall interface.

Probably the wrong place to ask this, but I am curious: what does MOVL	$0xf1, 0xf1 do to trigger a crash?

MOVL $0xf1, 0xf1 assembles into exactly what it looks like: a store of a value to the memory address 0xf1.  Since that memory address is not mapped, it causes a bus error, crashing the program.  The advantage of using 0xf1 is that the address will be printed in the stack backtrace, giving a clue where the problem happened.

@randall77 Any reason to keep this issue open?

Yes, I still need to do x/sys/unix and vendor it into the stdlib.
I think everything else is done.


chore(gradle): update feedback portlet to version 1.2.2

Checklist

[x] the individual contributor license agreement is signed
[x] commit message follows commit guidelines

Description of change

Updates feedback portlet to version 1.2.2

:construction: :no_entry: CI is still catching up with Maven Central, will restart tests in about an hour.

:recycle: restarting appveyor

/cc @asgrant


Add localization editor

Hi together, let me know what I need to change in order to merge this

Added a localization editor

Easy update translations
Increase localization contributions
Improved translation status

Editor -> Fink Translation Editor (Open Editor)

What I added

I changed the languageTag confession from zh_CN to zh-CN because that is the BCP47 standard.
Added project.inlang/settings.json file to configure the inlang project.
repo id file was generated by the SDK
Added a translation badge to the readme

All opt-in

I didn't change you setup, everybody can use what they want (opt-in)
It's only a config

That's cool! Thank you for letting me know this localization editor!


Pass @partial-block via context?

Pass @partial-block via context?
When creating a container component, you can have it wrap partials like this:
//container.hbs

<div>
    {{> @partial-block }}
</div>

And then use it like so:
//container.test.hbs

{{#> container }}
    {{> anotherPartial }}
{{/container}}

My questions is: Is it possible to pass the @partial-block via context?
As in, could I do something like this:
context = {
    "@partial-block": "anotherPartial"
}

containerTemplate.render(context)

Any help or guidance would be appreciated!

I don't think it will work and it's certainly not meant to work. I'm not sure what you expect the outcome to be. If you want to call the partial "anotherPartial" dynamically, you can use
{{#> container}}
   {{> (dynamicPartial) }}
{{/container}}

with
context = {
  "dynamicPartial": "anotherPartial"
}

Thanks!!! I'll close this issue!


Add TypeScript definitions

Based on the work by @Keats (thanks!)

@tals thank you very much for the PR. I'm going to merge it and release a minor version. If there is anything which isn't correct, please raison another PR :) (cc @Keats).

@troch I actually have a minor update for it. Will send a PR :)

@tals cool, I had forgotten to release it. Will do now.


Failing to install esp-idf-tools-setup-2.3.exe in Windows 10 (IDFGH-2911)

Environment

Development Kit:      [ESP32-DevKitC]
Kit version: Not sure
Module or chip used:  [ESP32-WROOM-32]
Operating System:     [Windows 10]
(Windows only) environment type: [ESP Command Prompt].
Using an IDE?: Trying to configure VS Code but cannot install ESP-IDF, so I haven't gone deeper into configuring VS Code's Terminal and environment.
Power Supply:         [USB]

Problem Description
I have been trying to install ESP-IDF along with the ESP-IDF Tools by running the installer esp-idf-tools-setup-2.1.exe (and both newer and older versions of the installer including 2.3 and 1.2). I select the existing version of Python 3.7 for the installation, along with the existing version of Git 2.22. After I select the option of downloading ESP-IDF (having tried with both 4.0 and 3.3.1 versions).
After a while installing I get the following error: Installation has failed with exit code 1.
I have also gotten an exit code 2 in different attempts.
I have no spaces in the paths for ESP-IDF or the tools directories. Is this a bug in the installer?
Will really appreciate help on solving this issue.
Debug Logs
Here I attach an extract from the error log:
2020-03-18 12:25:10.778   --------
2020-03-18 12:25:10.778   Running command: C:\Program Files\Git\cmd\git.exe -C C:\Users\Edo\esp\esp-idf reset --hard
                          Checking out files: 100% (4424/4424), done
                          HEAD is now at 143d26aa4 Merge branch 'bugfix/doc_package_versions_v3.3' into 'release/v3.3

2020-03-18 12:25:10.778   --------
2020-03-18 12:25:10.782   Resetting the submodules: C:\Program Files\Git\cmd\git.exe -C C:\Users\Edo\esp\esp-idf reset --hard
2020-03-18 12:25:15.640   Done, exit code=0
2020-03-18 12:25:15.640   --------
2020-03-18 12:25:15.640   Running command: C:\Program Files\Git\cmd\git.exe -C C:\Users\Edo\esp\esp-idf submodule foreach git reset --hard
                          Entering 'components/asio/asio
                          HEAD is now at 55efc179 Merge branch 'idf' into 'master
                          Entering 'components/aws_iot/aws-iot-device-sdk-embedded-C
                          HEAD is now at 2991832 Merge tag 'v3.0.1
                          Entering 'components/bt/lib
                          HEAD is now at bd605c2 Fix assert in ld_fm.c due to no free element from(5aed448
                          Entering 'components/coap/libcoap
                          HEAD is now at 6468887 .gitignore: do not ignore custom files in m
                          Entering 'components/esp32/lib
                          HEAD is now at f50b25d Fix WiFi scan and connect bugs when coexist with BT/BLE(ac331d7
                          Entering 'components/esptool_py/esptool
                          HEAD is now at de30f21 Version 2.
                          Entering 'components/expat/expat
                          HEAD is now at a7bc26b Set release date for 2.2.
                          Entering 'components/json/cJSON
                          HEAD is now at 3c89356 Merge pull request #355 from DaveGamble/release-1.7.1
                          Entering 'components/libsodium/libsodium
                          HEAD is now at 70170c28 Inden
                          Entering 'components/lwip/lwip
                          HEAD is now at 9b9d126b dhcp_timeout: change the timeout type u16 to u3
                          Entering 'components/mbedtls/mbedtls
                          HEAD is now at f5f2e5926 Merge branch 'fix/warnings_in_NimBLE_build_failure' into 'mbedtls-2.16.2-idf
                          Entering 'components/micro-ecc/micro-ecc
                          HEAD is now at d037ec8 Add note that uECC_VLI_NATIVE_LITTLE_ENDIAN affects key compatiblit
                          Entering 'components/mqtt/esp-mqtt
                          HEAD is now at e3b013e Extended error structure to be used in mqtt library and include mqtt specific errors. Corrected typos in comments and log message
                          Entering 'components/nghttp/nghttp2
                          HEAD is now at 3bcc416e Update manual page
                          Entering 'components/nimble/nimble
                          HEAD is now at 8326807c Save the correct key on peer_sec
                          Entering 'components/protobuf-c/protobuf-c
                          HEAD is now at dac1a65 Merge pull request #283 from protobuf-c/edmonds/changelog/1.3.
                          Entering 'components/spiffs/spiffs
                          HEAD is now at f5e26c4 fixes #16
                          Entering 'components/unity/unity
                          HEAD is now at 7d2bf62 Merge pull request #363 from Deltrix/patch-
                          Entering 'examples/build_system/cmake/import_lib/main/lib/tinyxml2
                          HEAD is now at 7e8e249 Merge pull request #707 from SwiftEngineering/issue_70

2020-03-18 12:25:15.640   --------
2020-03-18 12:25:15.644   idf_tools.py exists in IDF directory
2020-03-18 12:25:15.644   idf_tools.py command: C:\Users\Edo\AppData\Local\Programs\Python\Python37\python.exe C:\Users\Edo\esp\esp-idf\tools\idf_tools.py
2020-03-18 12:25:15.644   Installing tools:C:\Users\Edo\AppData\Local\Programs\Python\Python37\python.exe C:\Users\Edo\esp\esp-idf\tools\idf_tools.py install
2020-03-18 12:25:15.959   Done, exit code=1
2020-03-18 12:25:15.959   --------
2020-03-18 12:25:15.959   Running command: C:\Users\Edo\AppData\Local\Programs\Python\Python37\python.exe C:\Users\Edo\esp\esp-idf\tools\idf_tools.py install
                          Traceback (most recent call last):
                            File "C:\Users\Edo\esp\esp-idf\tools\idf_tools.py", line 1349, in <module>
                              main(sys.argv[1:])
                            File "C:\Users\Edo\esp\esp-idf\tools\idf_tools.py", line 1345, in main
                              action_func(args)
                            File "C:\Users\Edo\esp\esp-idf\tools\idf_tools.py", line 1097, in action_install
                              tools_info = load_tools_info()
                            File "C:\Users\Edo\esp\esp-idf\tools\idf_tools.py", line 796, in load_tools_info
                              with open(tool_versions_file_name, 'r') as f:
                          FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Program Files\\Espressif\\ESP-IDF Tools\\tools/tools.json'

2020-03-18 12:25:15.959   --------
2020-03-18 12:25:15.959   Message box (OK):
                          Installation has failed with exit code 1
2020-03-18 12:27:20.424   User chose OK.
2020-03-18 12:27:20.431   Message box (Yes/No):
                          Installation log has been created, it may contain more information about the problem.
                          Display the installation log now?
2020-03-18 12:27:22.593   User chose Yes.
2020-03-18 12:27:22.609   CurStepChanged raised an exception.

Install directories:
ESP-IDF:
C:\Users\Edo\esp\esp-idf
ESP-IDF Tools:
C:\Users\Edo.espressif
Using Python 3.7:
C:\Users\Edo\AppData\Local\Programs\Python\Python37\python.exe
Using Git 2.22.0.windows.1:
C:\Program Files\Git\cmd\git.exe
Will download ESP-IDF v4.0 into:
C:\Users\Edo\esp\esp-idf
IDF tools directory (IDF_TOOLS_PATH):
C:\Users\Edo.espressif

Could you please check your environment variables and see if there is an entry for IDF_PATH set to C:\\Program Files\\Espressif\\ESP-IDF Tools? If there is one, please remove it and try again.

@Eric-AMIG Thanks for reporting, would you please help share if any updates for this issue? Thanks.

Setup Log 2020-10-28 #002.txt
I had everything working, since last many days.
I got it messed up due to my last merge to my develop branch.
So I uninstalled IDF tools and tried to re-install. but had this error.

In Path definitions I have:

Let me know if any more details required.

@Jigar3690 Please open a separate issue, this isn't the same problem as of @Eric-AMIG. Please also mention the version of ESP-IDF located in C:\users\jigar\Desktop\esp-mdf\esp-idf.

i have tried multiple configurations of python 3.7 and newer 3.9 i still cannot install the ide.. any suggestions?  i have used the master release etc, 4,0, 4.1 etc no difference
Installation has failed with exit code 1
Setup Log 2020-12-15 #010.txt

Facing same error ... plz help :(((
Installation has failed with exit code 1

Facing same error ... plz help :(((
Installation has failed with exit code 1

What I did to solve the issue was to

remove all python installs - installed python 3.6
the enviromental string was way to long to so I install python at the C:\python\Python36,
also make sure the python path has legal --no crazy issues mine installed with a "space" and the is not legal in windows paths --- set the enviroment paths at the system startup- I set them manually editing them for windows 10
rebooted machine tested python install and enviromental variables.
install the esp-idf tools for visual code.

What I did to solve the issue was to

remove all python installs - installed python 3.6
the enviromental string was way to long to so I install python at the C:\python\Python36,
also make sure the python path has legal --no crazy issues mine installed with a "space" and the is not legal in windows paths --- set the enviroment paths at the system startup- I set them manually editing them for windows 10
rebooted machine tested python install and enviromental variables.
install the esp-idf tools for visual code.

@Eric-AMIG @grlind61 @bharath5673 Thank you for reporting the problems and we're sorry for the late response.
Meanwhile, we updated the Windows Tools installer so that it contains Embedded Python which solves many problems with the collision of system Python or Anaconda distribution. We also built missing Python Wheels for Windows and the installer can load them from https://dl.espressif.com/pypi/.
We also added several checks and corrections to the installer based on GitHub issues.
Please, download latest version of the installer from https://dl.espressif.com/dl/esp-idf/
Should you find a problem, please let us know.

Thanks for reporting, feel free to reopen.


GH1743: Implements functionality for downloading NuGet packages

Fixes #1743

TODO:

[x] Make this opt-in through configuration param.
[ ] Add integration tests.
[x] Opt-in Load Dependencies (both config and directive)

@devlead rebased.

@devlead fixed

@mholo65
Found one thing on Windows, the nuget client libs doesn't seem to be able to use sources with encrypted passwords.
And it doesn't respect if you place a NuGet.config in repo root/tools folder/or cake folder.
Interestingly the source it complains about is disabled, so it shouldn't be used, if i remove the disabled sources and only have
<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <packageSources>
    <add key="NuGetV3" value="https://api.nuget.org/v3/index.json" />
  </packageSources>
</configuration>

Feels like an issue with the NuGet client libs.
I don't get the same errors as I got on Linux so I'll rerun the tests there if it was something temporary.

@devlead exception should be fixed... Will re-investigate re-download. If nothing helps, best would be to set PackageSaveMode to NuPkg. Any objections, @gep13?

@mholo65 I can confirm exception is sorted and it now works for me the first time.
But the second time I execute Cake with tools & addins restored in place it fails with:
Error: System.AggregateException: One or more errors occurred. ---> System.InvalidOperationException: Package 'gitreleasemanager 0.5.0' is not found in the following primary source(s): '/pullrequest/tools'. Please verify all your online package sources are available (OR) package id, version are specified correctly.

@devlead I blame NuGet client libs and awful xplat support when it comes to file system. This breaks support for nuspec package save mode since nuspec is stored to disk as normalized (e.g. filename to lower invariant). But then when it checks if package is installed, it expects to find nuspec in non-normalized form.

@devlead @gep13 rebased. Please take it for a spin.

@mholo65  your changes have been merged, thanks for your contribution 👍


Possible nodejs version incompatability?

Usage:
import chart from "svelte-lightweight-charts";
^ within my App.svelte running nodejs version 14.17.6
Error:
'default' is not exported by node_modules\svelte-lightweight-charts\index.js
Possible fix:
I just added 'default' on line 3 within 'svelte-lightweight-charts\index.js' like this:
'export default function chart(node, params) {'
and it removed the error
Other:
Love the repo! It's sooooo handy... Thx a lot.

Thank you for your message.
In order not to break possible use cases import {chart} from 'svelte-lightweight-charts' I added an additional default export of the same function as per the sample in the documentation. It is available in 1.1.1
Feel free to write an additional feedback.


Add types for SystemCommand.

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[ ] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew tests with your changes locally?
[x] Have you successfully run brew man locally and committed any changes?

Review period will end on 2020-11-24 at 03:55:47 UTC.

Review period ended.


Add refresh operation-type to chart generator

Chart should be generated per track and display a single line/area per task, each representing the whole duration of the task
cc @mayya-sharipova

@DJRickyB should we close this, as we agreed to drop chart generator?

Yes, good catch. In fact the refresh time chart is up on the public dashboards already :) https://elasticsearch-benchmarks.elastic.co/#tracks/dense_vector/nightly/default/30d


travis: Combine into single job to speedup testing

Actually, it doesn't make a significant difference (~2 minutes faster). Just Travis won't be needed to run npm ci three times.

Or the idea is that jobs can run in parallel?


fixing style of breadcrumb

Title and Issue number

@apu52
Title : fixing breadcrumb style
Issue No. :
#402
Code Stack :
Close #402

Video/Screenshots (mandatory)

Checklist:

[x] I have mentioned the issue number in my Pull Request.
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have gone through the  contributing.md file before contributing

Additional context (Mandatory )
Are you contributing under any Open-source programme?

@apu52  please check this and merge it

Thank you @apu52


Add Adaptive Average Pooling and Transposed Convolutions to the Pytorch Deep Explainer

Adds adaptive average pooling (prevents the warning in #593 ) and transposed convolutional layers to the PyTorch Deep Explainer

Sorry I have been out of the loop recently @gabrieltseng ...I am going to merge this under the assumption that travis will be happy now that @imatiach-msft fixed the XGB issue. If it causes a travis failure then we can deal with that since these are not massive changes code-wise
Thanks!


Monotonic tag projection

MMT tag projection can change the order of the sequence of tags in a sentence. This may cause a DTD-invalid result. This is especially damageable in full-automatic process.
Here is an experimental code for a monotonic tag projection. Of course, it will produce lower quality on sentences where words are strongly reordered. But, it will ensure that the final document is always DTD-valid (thus won't crash in a process using MS Office, for example).
It would be nice if such a tag projection could be added as an option, either at the MMT starting time, or at the translation request time.
TagProjector.java.zip
PS : I forgot to remove some commented lines from past versions. Of course, all commented lines of code are not pertinent.

Hi @EtienneAb3d
thank you for your feedback.
In ModernMT we paid strong attention that tag projection respect the consistency of tags found of the source text.
In other words, if the tags are  consistent  in the source, it should be consistent in the output as well.
Hence, I am surprised from your issue report, and we want to debug
To this purpose, could you please provide us:

the original text with the tags
the translation with tags
the source input (tokenized)
the generated output (tokenized)
the word alignment
Last three items can be found in the node.log when the engine is started with option (-v 2)

It can be demonstrated with any very simple cases.
For example:
Ceci est un <t1>chapeau</t1> <t2>rouge</t2> .
Provides with this kind of log (a bit enriched by me comparing to the standard log):
   sentence = 0-Ceci 1-est 2-un 3-chapeau 4-rouge 5-.
   translation = 0-Here 1-is 2-a 3-red 4-hat 5-.
   alignment = 0-0 1-1 3-4 4-2 4-3 5-5
   suggestions = [
      ScoreEntry{memory=-1, language=fr -> en, sentence=[Ceci est un chapeau rouge .], translation=[Here is a red hat .], score=1.0}
   ]

With this result, where the tags are inverted:
Here is <t2>a red</t2> <t1>hat</t1>.

Actually, this is the desired behaviour we implemented, and we think that is the correct way of projecting tags
I.e., tag t1 surrounded chapeauin the source and it surrounds hat, which is the translation of chapeau.
Imagine that t1 is a tag representing the bold character and t2 is a tag representing the colorization of the words , you probably wants the the bold terms are chapeau/hat and that rouge/red are actually red-coloured.

Yes, I know. It's the reason why I sent this request, with the experimental code, and the explanations above.

@EtienneAb3d
It is not clear to me why ModernMT approach could break the DTD when tags are "inverted".
Do you refer to cases where the DTD specifies explicitly the order the tags?
In this case, however there is no reason in my opinion to allow that the translation can  perform word-alignment.
We will take into account your solution, and discuss internally whether to include monotonic tag projection in ModernMT.

It's more a question of principle : in a very safe process, it's more secure to ensure that all tags are strictly preserve in their original order, and also that the text is strictly placed in the same original tags (even if this is not the good texts in the good tags).
 In this tag structure, the text must always be strictly placed in tags defined as text containers. All text outside of these text containers is discarded when the file is opened at screen.
Here is a short example, suppose that <t2> is the tag that must contain the text:
Input:
Ceci est un chapeau</t2></t1><t1><t2> rouge</t2></t1><t3/><t1><t2>.
MMT output:
Here is</t2></t1><t1><t2> a red</t2></t1> hat<t3/><t1><t2>.
The text  hat is outside of a <t2> tag and will be discarded at screen. This is due to the fact that all <t1><t2> tags are moved to their best places according to the word alignments, letting the  hat text in a not well-defined in-between place.
My monotonic projection:
Here is a red</t2></t1><t1><t2> hat</t2></t1><t3/><t1><t2>.
 Now, no text is discarded at screen, and the file looks good.

An other example (typical kind of inversion of the speaker in News sentences), suppose the t2 and t4 tags are the only ones that can contain text in the structure:
Input:
<t1><t2>Le Premier Ministre</t2></t1><t3><t4> explique que tout ceci n'est pas compréhensible</t4></t3>
MMT output:
<t1><t2>All this is not understandable, Prime</t2></t1> Minister<t3> explain<t4></t4></t3>
In this case, not only nearly all text is not in the good tags (in fact, only Prime), but also Minister explain is not in a text container and will be discarded at screen if this is a MS Word document.
My monotonic projection:
<t1><t2>All</t2></t1><t3><t4> this is not understandable, Prime Minister explain</t4></t3>
Of course, not perfect, but a larger part of the text is in the good tags (this is not understandable and explain), and no text is outside a text container.
This is possible because of 2 complementary behaviors :

the aligner tries to pair as much text as possible according to MMT word alignments (with a tolerant fuzzy positioning), and
it tries to compress unpaired word sequences according to the direction where there should be matched according to MMT word alignments .

In the pair trace below:

each word of the English part All this is not understandable is paired with one of its French MMT possible pairs
the French part explique que tout is compressed to the right, while the English part Prime Minister explain is compressed to the left, putting them all inside the t4 tag enclosure

p0 <t1>(0=>0)~	----------
p1 <t2>(0=>0)~	----------
p2 Le(0)~[5]	----------
p3 Premier(1)~[0]	----------	All(0)~[1]
p4 Ministre(2)~[6]	----------
p5 </t2>(3=>1)~	----------
p6 </t1>(3=>1)~	----------
p7 <t3>(3=>1)~	----------
p8 <t4>(3=>1)~	----------
p9 explique(3)~[5][7]	----------
p10 que(4)~[7]	----------
p11 tout(5)~[4]	----------
p12 ceci(6)~[1][4]	----------	this(1)~[6]
p13 n'(7)~[2][3]	----------
p14 est(8)~[2]	----------	is(2)~[7][8]
p15 pas(9)~[3]	----------	not(3)~[7][9]
p16 compréhensible(10)~[4]	----------	understandable,(4)~[5][6][10]
p17 	----------	Prime(5)~[0][3]
p18 	----------	Minister(6)~[2]
p19 	----------	explain(7)~[3][4]
p20 </t4>(11=>8)~	----------
p21 </t3>(11=>8)~	----------


controller: queue bugzilla for is with releaseAnnotationSource

The bugzilla queue was only get imagestreams with releaseAnnotationConfig set when it should have been getting ones with releationAnnotationSource instead.
/cc @stevekuznetsov

/lgtm


bounces = NO  can't swipe

When set pageScrollView.bounces = NO
can't swipe Page

This is the correct behavior. what are you trying to do?


Aot test

This is my fist pull request so sorry for any errors beforehand :) I reduced the dependencies to a minimum just for testing in package.json which may not be suitable for full merge. Changed the file structure a bit separated component and module and referred them in index.ts.
Used the following command to compile
ngc -p tsconfig.json
I tried to follow  the following documentaion as much as I could...
https://angular.io/docs/ts/latest/cookbook/aot-compiler.html
<EMAIL_ADDRESS>

I think I worked up a solution, so I am gonna close this. Thanks for the work!


FEATURE REQUEST: deep(er) query for json type

I can specify where params in the find query, like
Model.find({ where: { id: { '>': 5 } } });

I have a Model which has a data attribute specified as json. I would like to be able to include that in the where params.
e.g.
Model.find({ where: { data: { primary: { '>': 5 } } } });

I tried it and it does not seem to be possible at the moment, stating that primary is not a column (which is true of course).
Kind Regards

Closing this for now as it seems something that can only be implemented at the adapter level. Maybe raise this issue against a specific adapter project? Please reopen if you think otherwise.


Morph effect disabled after save or refresh

Describe the bug
If you configure keyboard light to use two colors with Morph actions, set speed and length correctly and click at "refresh" or "save" buttons, the effect stop. Interestingly, when you click on "refresh", keyboard color stop on first color, while clicking on "save" the color freeze on current keyboard color. To refresh effect, change any color, speed or length.
To Reproduce
Steps to reproduce the behavior:

On AlienFX Control, go to "colors"
Select any keyboard zone
Go to actions and add two "morph" actions with any different colors, speed 128 and length 5
Test the two bugs:
4.1. Click at "save" button to see freeze color bug or
4.2 Click at "refresh" button to see the color changing to first added color and freezing

Expected behavior
After click on "save" or "refresh", just keep the effect.
Screenshots
Morph effect configuration:

System:

Model: Alienware m15R6
Model details: Per-Key RGB keyboard
OS: Windows 11 Home Single Language stable
AlienFX-Tools release: 7.4.0 (Monitoring effect chains)

Additional context
The effect also freezes on the first color after some minutes, but I still can't say after how long. When I know, I'll document that part better.

You have Effect Mode set to monitoring.
In this case, if ANY light for the same device assigned to it, all hardware effects will be stopped.
It's a hardware bug, i mention it into application manual and readme.

Oh, I'm sorry... However, I have a doubt. If I change to "Any", events configured  into "events monitoring" for other zones too stop to work correctly?

According to grid and zone, you have APIv4 4-zone keyboard, right? (Dell G name it "Alienware keyboard")
For this device, you can only choose one - hardware effects or software effects (monitoring, ambient, etc.).
The issue is this chip stop all hardware effects at any device light update... even in case this light does not participate into it, as you can see.

And a word about effect freeze (in fact - device freeze). It can happen if you change power button color so frequently.
It's a hardware bug as well, AWCC have hard-coded delay in case you change it, i found how to check then device ready. But delay can be from 0 to 10 seconds after power button color update (1.5 sec in common)!

I understand. There are many details that I had no idea... However, I would like to thank you for your great job and incredible project. Hope to be able to collaborate with him soon, testing or writing code.

Thanks. I always need testers, i don't have all AW/Dell zoo at my table...
Join Discord support server (see readme), we have a "testing" channel for big releases there.

Thanks. I'm already in, but I will follow more messages there.


Git order

This branch contains work done to re-order to the Git tutorial so that it is clearer what is git (the version control system) and what is GitHub (working remotely with git version control). It updates and clarifies the whole tutorial, including new images that are identical to what the students should be seeing if they follow the steps and their new order. It also shortens the table of contents for the git session to a more easily viewed state.

Thanks! I've added some changes to your first two points. Point three could definitely be discussed and changed as we see fit.

I think this new order looks great! I also agree with the suggestion from @verku to add the account creation to under Working remotely. Nice work!

Great! I've added the requested changes, moved the creation of the GitHub account text and merged.


its like something wrong with  docker

when i  run a  docker    succese
open   website   its  not working
i cheek  the   F12  find that
the fontend/public  `s   file  like  ort....wasm   not  in

Hi, can you post the docker commands that you executed as well as the exact log that you're getting in dev tools?

in docker
Checking for script in /app/prestart.sh
Running script /app/prestart.sh
Running inside /app/prestart.sh, you could add migrations to this file, e.g.:
#! /usr/bin/env bash
Let the DB start
sleep 10;
Run migrations
alembic upgrade head
[2023-06-13 04:18:33 +0000] [1] [INFO] Starting gunicorn 20.1.0
[2023-06-13 04:18:33 +0000] [1] [INFO] Listening at: http://<IP_ADDRESS>:80 (1)
[2023-06-13 04:18:33 +0000] [1] [INFO] Using worker: uvicorn.workers.UvicornWorker
[2023-06-13 04:18:33 +0000] [7] [INFO] Booting worker with pid: 7
[2023-06-13 04:18:33 +0000] [8] [INFO] Booting worker with pid: 8
[2023-06-13 04:18:33 +0000] [9] [INFO] Booting worker with pid: 9
[2023-06-13 04:18:33 +0000] [10] [INFO] Booting worker with pid: 10
[2023-06-13 04:18:34 +0000] [8] [INFO] Started server process [8]
[2023-06-13 04:18:34 +0000] [8] [INFO] Waiting for application startup.
[2023-06-13 04:18:34 +0000] [8] [INFO] Application startup complete.
[2023-06-13 04:18:34 +0000] [7] [INFO] Started server process [7]
[2023-06-13 04:18:34 +0000] [7] [INFO] Waiting for application startup.
[2023-06-13 04:18:34 +0000] [7] [INFO] Application startup complete.
[2023-06-13 04:18:34 +0000] [9] [INFO] Started server process [9]
[2023-06-13 04:18:34 +0000] [9] [INFO] Waiting for application startup.
[2023-06-13 04:18:34 +0000] [9] [INFO] Application startup complete.
[2023-06-13 04:18:34 +0000] [10] [INFO] Started server process [10]
[2023-06-13 04:18:34 +0000] [10] [INFO] Waiting for application startup.
[2023-06-13 04:18:34 +0000] [10] [INFO] Application startup complete.
{"loglevel": "info", "workers": 4, "bind": "<IP_ADDRESS>:80", "graceful_timeout": 120, "timeout": 120, "keepalive": 5, "errorlog": "-", "accesslog": "-", "workers_per_core": 1.0, "use_max_workers": 5, "host": "<IP_ADDRESS>", "port": "80"}
<IP_ADDRESS>:43282 - "GET /index.html HTTP/1.1" 200
<IP_ADDRESS>:43282 - "GET /assets/index-387a752c.css HTTP/1.1" 200
{"loglevel": "info", "workers": 4, "bind": "<IP_ADDRESS>:80", "graceful_timeout": 120, "timeout": 120, "keepalive": 5, "errorlog": "-", "accesslog": "-", "workers_per_core": 1.0, "use_max_workers": 5, "host": "<IP_ADDRESS>", "port": "80"}
<IP_ADDRESS>:43286 - "GET /assets/index-5b28b8c0.js HTTP/1.1" 200
{"loglevel": "info", "workers": 4, "bind": "<IP_ADDRESS>:80", "graceful_timeout": 120, "timeout": 120, "keepalive": 5, "errorlog": "-", "accesslog": "-", "workers_per_core": 1.0, "use_max_workers": 5, "host": "<IP_ADDRESS>", "port": "80"}
<IP_ADDRESS>:43295 - "GET /index.html HTTP/1.1" 200
<IP_ADDRESS>:43295 - "GET /assets/index-387a752c.css HTTP/1.1" 200
<IP_ADDRESS>:43296 - "GET /assets/index-5b28b8c0.js HTTP/1.1" 200
<IP_ADDRESS>:43301 - "GET /index.html HTTP/1.1" 304
<IP_ADDRESS>:43303 - "GET /index.html HTTP/1.1" 200
<IP_ADDRESS>:43303 - "GET /assets/index-387a752c.css HTTP/1.1" 200
<IP_ADDRESS>:43304 - "GET /assets/index-5b28b8c0.js HTTP/1.1" 200
<IP_ADDRESS>:43515 - "GET /index.html HTTP/1.1" 200
<IP_ADDRESS>:43515 - "GET /assets/index-387a752c.css HTTP/1.1" 200
<IP_ADDRESS>:43518 - "GET /assets/index-5b28b8c0.js HTTP/1.1" 200
<IP_ADDRESS>:43527 - "GET /index.html HTTP/1.1" 200
<IP_ADDRESS>:43527 - "GET /assets/index-387a752c.css HTTP/1.1" 200
<IP_ADDRESS>:43528 - "GET /assets/index-5b28b8c0.js HTTP/1.1" 200
<IP_ADDRESS>:43535 - "GET /index.html HTTP/1.1" 304
<IP_ADDRESS>:43545 - "GET /index.html HTTP/1.1" 200
<IP_ADDRESS>:43545 - "GET /assets/index-387a752c.css HTTP/1.1" 200
<IP_ADDRESS>:43546 - "GET /assets/index-5b28b8c0.js HTTP/1.1" 200
<IP_ADDRESS>:43197 - "GET /assets/index-5b28b8c0.js HTTP/1.1" 200
<IP_ADDRESS>:43204 - "GET /assets/index-387a752c.css HTTP/1.1" 200
<IP_ADDRESS>:43197 - "GET /favicon.ico HTTP/1.1" 404
<IP_ADDRESS>:43197 - "GET /index.html HTTP/1.1" 200
<IP_ADDRESS>:43491 - "GET /index.html HTTP/1.1" 304
<IP_ADDRESS>:43490 - "GET /index.html HTTP/1.1" 304
<IP_ADDRESS>:43583 - "GET /index.html HTTP/1.1" 304
<IP_ADDRESS>:43584 - "GET /index.html HTTP/1.1" 304
<IP_ADDRESS>:43584 - "GET /index.html HTTP/1.1" 304
[2023-06-13 05:37:22 +0000] [9] [WARNING] Invalid HTTP request received.
<IP_ADDRESS>:43952 - "GET / HTTP/1.1" 307
<IP_ADDRESS>:54192 - "GET / HTTP/1.1" 307
[2023-06-13 05:37:24 +0000] [10] [WARNING] Invalid HTTP request received.
<IP_ADDRESS>:34610 - "GET /index.html HTTP/1.1" 200
[2023-06-13 05:37:25 +0000] [9] [WARNING] Invalid HTTP request received.
<IP_ADDRESS>:42896 - "GET /favicon.ico HTTP/1.1" 404
<IP_ADDRESS>:42520 - "GET /index.html HTTP/1.1" 200
<IP_ADDRESS>:42520 - "GET /assets/index-387a752c.css HTTP/1.1" 200
<IP_ADDRESS>:42526 - "GET /assets/index-5b28b8c0.js HTTP/1.1" 200
<IP_ADDRESS>:42538 - "GET /index.html HTTP/1.1" 304
<IP_ADDRESS>:42549 - "GET /index.html HTTP/1.1" 200
<IP_ADDRESS>:42549 - "GET /assets/index-387a752c.css HTTP/1.1" 200
<IP_ADDRESS>:42551 - "GET /assets/index-5b28b8c0.js HTTP/1.1" 200
<IP_ADDRESS>:42551 - "GET /index.html HTTP/1.1" 200
<IP_ADDRESS>:42549 - "GET /assets/index-5b28b8c0.js HTTP/1.1" 200
<IP_ADDRESS>:42551 - "GET /assets/index-387a752c.css HTTP/1.1" 200
<IP_ADDRESS>:42717 - "GET /index.html HTTP/1.1" 200
<IP_ADDRESS>:42717 - "GET /assets/index-387a752c.css HTTP/1.1" 200
<IP_ADDRESS>:42721 - "GET /assets/index-5b28b8c0.js HTTP/1.1" 200
<IP_ADDRESS>:42642 - "GET / HTTP/1.1" 307
<IP_ADDRESS>:42648 - "GET /index.html HTTP/1.1" 304
<IP_ADDRESS>:42651 - "GET /index.html HTTP/1.1" 200
<IP_ADDRESS>:42651 - "GET /assets/index-387a752c.css HTTP/1.1" 200
<IP_ADDRESS>:42652 - "GET /assets/index-5b28b8c0.js HTTP/1.1" 200
<IP_ADDRESS>:42679 - "GET /index.html HTTP/1.1" 200
<IP_ADDRESS>:42679 - "GET /assets/index-387a752c.css HTTP/1.1" 200
<IP_ADDRESS>:42680 - "GET /assets/index-5b28b8c0.js HTTP/1.1" 200
<IP_ADDRESS>:42710 - "GET /index.html HTTP/1.1" 304
<IP_ADDRESS>:42711 - "GET /index.html HTTP/1.1" 200
<IP_ADDRESS>:42726 - "GET /assets/index-5b28b8c0.js HTTP/1.1" 200
<IP_ADDRESS>:42711 - "GET /assets/index-387a752c.css HTTP/1.1" 200
<IP_ADDRESS>:42726 - "GET /index.html HTTP/1.1" 200
<IP_ADDRESS>:42726 - "GET /assets/index-387a752c.css HTTP/1.1" 200
<IP_ADDRESS>:42736 - "GET /assets/index-5b28b8c0.js HTTP/1.1" 200
<IP_ADDRESS>:42741 - "GET /index.html HTTP/1.1" 304
[2023-06-13 08:09:34 +0000] [10] [WARNING] Invalid HTTP request received.
[2023-06-13 08:43:50 +0000] [10] [WARNING] Invalid HTTP request received.
[2023-06-13 09:48:50 +0000] [10] [WARNING] Invalid HTTP request received.
[2023-06-13 09:50:38 +0000] [10] [WARNING] Invalid HTTP request received.
<IP_ADDRESS>:42562 - "GET / HTTP/1.1" 307
<IP_ADDRESS>:42562 - "GET /favicon.ico HTTP/1.1" 404
[2023-06-13 10:51:33 +0000] [10] [WARNING] Invalid HTTP request received.
[2023-06-13 10:51:59 +0000] [9] [WARNING] Invalid HTTP request received.
<IP_ADDRESS>:45238 - "GET / HTTP/1.1" 307
<IP_ADDRESS>:42678 - "GET /assets/index-387a752c.css HTTP/1.1" 200
<IP_ADDRESS>:42679 - "GET /assets/index-5b28b8c0.js HTTP/1.1" 200
<IP_ADDRESS>:42679 - "GET /favicon.ico HTTP/1.1" 404
<IP_ADDRESS>:42679 - "GET /index.html HTTP/1.1" 200
[2023-06-13 14:38:16 +0000] [9] [WARNING] Invalid HTTP request received.
{"loglevel": "info", "workers": 4, "bind": "<IP_ADDRESS>:80", "graceful_timeout": 120, "timeout": 120, "keepalive": 5, "errorlog": "-", "accesslog": "-", "workers_per_core": 1.0, "use_max_workers": 5, "host": "<IP_ADDRESS>", "port": "80"}
<IP_ADDRESS>:36176 - "GET / HTTP/1.1" 307
<IP_ADDRESS>:56928 - "GET / HTTP/1.1" 307
[2023-06-13 14:38:18 +0000] [9] [WARNING] Invalid HTTP request received.
<IP_ADDRESS>:33838 - "GET /index.html HTTP/1.1" 200
[2023-06-13 14:38:19 +0000] [10] [WARNING] Invalid HTTP request received.
<IP_ADDRESS>:38144 - "GET /favicon.ico HTTP/1.1" 404
[2023-06-13 17:11:42 +0000] [9] [WARNING] Invalid HTTP request received.
[2023-06-13 17:17:10 +0000] [9] [WARNING] Invalid HTTP request received.
[2023-06-13 17:20:29 +0000] [10] [WARNING] Invalid HTTP request received.
<IP_ADDRESS>:47512 - "GET / HTTP/1.1" 307
[2023-06-13 17:20:47 +0000] [10] [WARNING] Invalid HTTP request received.
<IP_ADDRESS>:37372 - "GET / HTTP/1.1" 307
[2023-06-13 17:31:22 +0000] [8] [WARNING] Unsupported upgrade request.
[2023-06-13 17:31:22 +0000] [8] [WARNING] No supported WebSocket library detected. Please use "pip install 'uvicorn[standard]'", or install 'websockets' or 'wsproto' manually.
[2023-06-13 17:31:22 +0000] [8] [WARNING] Invalid HTTP request received.
[2023-06-13 18:29:20 +0000] [10] [WARNING] Invalid HTTP request received.
[2023-06-13 18:42:18 +0000] [9] [WARNING] Invalid HTTP request received.
<IP_ADDRESS>:36812 - "GET / HTTP/1.0" 307
<IP_ADDRESS>:36824 - "GET /nice%20ports%2C/Trinity.txt.bak HTTP/1.0" 404
[2023-06-13 22:00:12 +0000] [10] [WARNING] Invalid HTTP request received.
[2023-06-13 22:00:12 +0000] [8] [WARNING] Invalid HTTP request received.
[2023-06-13 22:00:13 +0000] [10] [WARNING] Invalid HTTP request received.
[2023-06-13 22:00:13 +0000] [9] [WARNING] Invalid HTTP request received.
[2023-06-13 22:00:13 +0000] [10] [WARNING] Invalid HTTP request received.
[2023-06-13 22:00:14 +0000] [9] [WARNING] Invalid HTTP request received.
<IP_ADDRESS>:44496 - "OPTIONS / HTTP/1.0" 405
<IP_ADDRESS>:44512 - "OPTIONS / HTTP/1.0" 405
[2023-06-13 22:00:17 +0000] [8] [WARNING] Invalid HTTP request received.
[2023-06-13 22:00:18 +0000] [10] [WARNING] Invalid HTTP request received.
[2023-06-13 22:00:18 +0000] [10] [WARNING] Invalid HTTP request received.
[2023-06-13 22:00:19 +0000] [9] [WARNING] Invalid HTTP request received.
[2023-06-13 22:00:19 +0000] [10] [WARNING] Invalid HTTP request received.
[2023-06-13 22:00:20 +0000] [7] [WARNING] Invalid HTTP request received.
[2023-06-13 22:00:20 +0000] [10] [WARNING] Invalid HTTP request received.
[2023-06-13 22:00:21 +0000] [10] [WARNING] Invalid HTTP request received.
[2023-06-13 22:00:21 +0000] [10] [WARNING] Invalid HTTP request received.
[2023-06-13 22:00:21 +0000] [9] [WARNING] Invalid HTTP request received.
[2023-06-13 22:00:22 +0000] [9] [WARNING] Invalid HTTP request received.
[2023-06-13 22:00:22 +0000] [10] [WARNING] Invalid HTTP request received.
[2023-06-13 22:00:23 +0000] [9] [WARNING] Invalid HTTP request received.
[2023-06-13 22:00:23 +0000] [9] [WARNING] Invalid HTTP request received.
[2023-06-13 22:00:24 +0000] [9] [WARNING] Invalid HTTP request received.
[2023-06-13 22:00:24 +0000] [7] [WARNING] Invalid HTTP request received.
[2023-06-13 22:00:25 +0000] [9] [WARNING] Invalid HTTP request received.
[2023-06-13 22:00:25 +0000] [10] [WARNING] Invalid HTTP request received.
[2023-06-13 22:00:26 +0000] [7] [WARNING] Invalid HTTP request received.
[2023-06-13 22:00:26 +0000] [7] [WARNING] Invalid HTTP request received.
[2023-06-13 22:00:27 +0000] [9] [WARNING] Invalid HTTP request received.
[2023-06-13 22:00:27 +0000] [9] [WARNING] Invalid HTTP request received.
[2023-06-13 22:00:28 +0000] [7] [WARNING] Invalid HTTP request received.
[2023-06-13 22:00:28 +0000] [9] [WARNING] Invalid HTTP request received.
[2023-06-13 22:00:29 +0000] [9] [WARNING] Invalid HTTP request received.
[2023-06-13 22:00:29 +0000] [9] [WARNING] Invalid HTTP request received.
[2023-06-13 22:00:30 +0000] [9] [WARNING] Invalid HTTP request received.
[2023-06-13 22:00:30 +0000] [9] [WARNING] Invalid HTTP request received.
[2023-06-13 22:00:31 +0000] [7] [WARNING] Invalid HTTP request received.
[2023-06-13 22:00:31 +0000] [10] [WARNING] Invalid HTTP request received.
[2023-06-13 22:00:31 +0000] [10] [WARNING] Invalid HTTP request received.
[2023-06-13 22:33:31 +0000] [10] [WARNING] Invalid HTTP request received.
<IP_ADDRESS>:18248 - "GET / HTTP/1.1" 307
[2023-06-14 00:40:25 +0000] [10] [WARNING] Invalid HTTP request received.
<IP_ADDRESS>:5851 - "GET / HTTP/1.1" 307
<IP_ADDRESS>:5915 - "GET /index.html HTTP/1.1" 200
<IP_ADDRESS>:5965 - "GET /favicon.ico HTTP/1.1" 404
<IP_ADDRESS>:6037 - "GET /robots.txt HTTP/1.1" 404
[2023-06-14 00:45:12 +0000] [10] [WARNING] Invalid HTTP request received.
### its in your demo

its  in my web server

are you following the instructions found in the README when running this?
Are you making any of your own customizations?


Issue of Typo Error at w.Header().Set

Theres is a typo  error in the book-controller.go file
w.Header().Set("Content-Type","pkglication/json")
The pkglication/json supposed to be the application/json
w.Header().Set("Content-Type","application/json")

getting this panic: dial tcp <IP_ADDRESS>:3306: connect: connection refused
even i have set the ListenAndServe("localhost:9010",r)
Is anyone getting the same issue

"akhil:Axlesharma@12@tcp(localhost:5555)/simplerest?charset=utf8&parseTime=True&loc=Local"
tried with this got no error in terminal but not working in postman (socket hang up error)


Setup CI/CD pipeline with github actions

main.yml has successfully been setup and pipeline is passing. Only a trivial cypress test has been setup so far.


Character convenience functions

[x] Let characters.load take optional position arguments
[x] Add Character.prototype.setPosition(x, y)

The above is also now implemented for JelliImage


Figure numbering across the map

Converted from SourceForge issue 1903166, submitted by joezucker
For HTML output, currently the numbering scheme for figures and tables restart for each generated HTML file.
This request is to support the abiltiy to designate consecutive numbering across topics (specifically HTML numbering crosses the entire map).  This should be done as an option so that users do not get it by default.
For addtional information about this request, please see #290

I'm encountering the same behavior with PDF output (DITA-OT 1.8.5). Any news on this issues? And how does oXygen get around this problem? The PDF transformation run from oXygen numbers figures for the whole document.

For PDF there's no reason for not getting numbering across the publication since you have the merged doc available.
For HTML, you need something like the D4P map-driven processing framework, which is used by the D4P HTML2, HTML5, and EPUB transforms. It processes the map to construct an "enumeration" data file, which reflects the publication structure with just enough detail to allow numbering without literally merging the topics as is done for the PDF. All topic processing is done in the context of the map so that you know the use of context of the topic and can therefore locate it within the enumeration structure and number things appropriately.
The OT explicitly avoids this by only doing map-based processing during preprocessing.
In theory you could adapt the D4P enumeration processing to preprocessing but you wouldn't have access to the map during topic processing, which is also required.
Basically, the OTB OT processing is optimized to minimize memory usage at the cost of flexibility. The D4P processing is optimized for flexibility and publication-aware processing at the cost of increased memory usage.

Thanks for the quick reply, Eliot. We've been digging a bit deeper into the issue and it looks like a glitch in our customization. I will keep you posted.


[FEA] Debug C++ build

It would be good to build the C++ example in CI with -DCMAKE_BUILD_TYPE=Debug in order to detect issues downstream such as https://github.com/rapidsai/cudf/issues/10703.
If we could also run the example (basic_io), it would be great but that isn't essential.

cc. @charlesbluca

Something wrong with C++(build from source), After building and cmake, when  I make the project, error occurs:

Is this kvikio's fault?
@madsbk @charlesbluca

After adjusting my Gcc and G++ Version both to 11.1.0, and my cmake version is 3.22.5, it can be built.
test basic.io results are:
(wjpytorch) root@nuosen:/mnt/optane/wjtest/kvikio/cpp/examples/examples# ./basic_io
KvikIO defaults:
  Compatibility mode: disabled
DriverProperties:
  Version: 0.0
  Allow compatibility mode: true
  Pool mode - enabled: false, threshold: 4 kb
  Max pinned memory: 33554432 kb
Write: 4096
Read:  4096
Parallel write (16 threads): 4096
Parallel write (16 threads): 4096

But when I try to use  python -m pip install .
Errors occurs:
ERROR: Failed building wheel for kvikio
Failed to build kvikio
ERROR: Could not build wheels for kvikio which use PEP 517 and cannot be installed directly

My pip version is:
pip-22.1.2
more detailed error information are:
(wjpytorch) root@nuosen:/mnt/optane/wjtest/kvikio/python# python -m pip install .
Processing /mnt/optane/wjtest/kvikio/python
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: numpy in /root/anaconda3/envs/wjpytorch/lib/python3.9/site-packages (from kvikio==22.8.0a0+4.gab99911) (1.22.4)
Building wheels for collected packages: kvikio
  Building wheel for kvikio (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for kvikio (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [97 lines of output]
      /tmp/pip-build-env-s1qlleh3/overlay/lib/python3.9/site-packages/setuptools/dist.py:531: UserWarning: Normalizing '22.08.00a+4.gab99911' to '22.8.0a0+4.gab99911'
        warnings.warn(tmpl.format(**locals()))
      Not searching for unused variables given on the command line.
      -- The C compiler identification is GNU 11.1.0
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - done
      -- Check for working C compiler: /usr/bin/cc - skipped
      -- Detecting C compile features
      -- Detecting C compile features - done
      -- The CXX compiler identification is GNU 11.1.0
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Check for working CXX compiler: /usr/bin/c++ - skipped
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- Configuring done
      -- Generating done
      -- Build files have been written to: /mnt/optane/wjtest/kvikio/python/_cmake_test_compile/build
      CMake Error at /tmp/pip-build-env-s1qlleh3/overlay/lib/python3.9/site-packages/skbuild/resources/cmake/FindCython.cmake:65 (message):
        Command "/tmp/pip-build-env-gttnfxs0/overlay/bin/cython;--version" failed
        with output:

      Call Stack (most recent call first):
        CMakeLists.txt:38 (find_package)

      [1/9] Creating directories for 'rapids-cmake-populate'
      [1/9] Performing download step (git clone) for 'rapids-cmake-populate'
      -- Avoiding repeated git clone, stamp file is up to date: '/mnt/optane/wjtest/kvikio/python/_skbuild/linux-x86_64-3.9/cmake-build/_deps/rapids-cmake-subbuild/rapids-cmake-populate-prefix/src/rapids-cmake-populate-stamp/rapids-cmake-populate-gitclone-lastrun.txt'
      [2/9] Performing update step for 'rapids-cmake-populate'
      fatal: unable to access 'https://github.com/rapidsai/rapids-cmake.git/': Empty reply from server
      CMake Error at /mnt/optane/wjtest/kvikio/python/_skbuild/linux-x86_64-3.9/cmake-build/_deps/rapids-cmake-subbuild/rapids-cmake-populate-prefix/tmp/rapids-cmake-populate-gitupdate.cmake:97 (execute_process):
        execute_process failed command indexes:

          1: "Child return code: 128"

      FAILED: rapids-cmake-populate-prefix/src/rapids-cmake-populate-stamp/rapids-cmake-populate-update /mnt/optane/wjtest/kvikio/python/_skbuild/linux-x86_64-3.9/cmake-build/_deps/rapids-cmake-subbuild/rapids-cmake-populate-prefix/src/rapids-cmake-populate-stamp/rapids-cmake-populate-update
      cd /mnt/optane/wjtest/kvikio/python/_skbuild/linux-x86_64-3.9/cmake-build/_deps/rapids-cmake-src && /tmp/pip-build-env-s1qlleh3/overlay/lib/python3.9/site-packages/cmake/data/bin/cmake -P /mnt/optane/wjtest/kvikio/python/_skbuild/linux-x86_64-3.9/cmake-build/_deps/rapids-cmake-subbuild/rapids-cmake-populate-prefix/tmp/rapids-cmake-populate-gitupdate.cmake
      ninja: build stopped: subcommand failed.

      CMake Error at /tmp/pip-build-env-s1qlleh3/overlay/lib/python3.9/site-packages/cmake/data/share/cmake-3.22/Modules/FetchContent.cmake:1087 (message):
        Build step for rapids-cmake failed: 1
      Call Stack (most recent call first):
        /tmp/pip-build-env-s1qlleh3/overlay/lib/python3.9/site-packages/cmake/data/share/cmake-3.22/Modules/FetchContent.cmake:1216:EVAL:2 (__FetchContent_directPopulate)
        /tmp/pip-build-env-s1qlleh3/overlay/lib/python3.9/site-packages/cmake/data/share/cmake-3.22/Modules/FetchContent.cmake:1216 (cmake_language)
        /tmp/pip-build-env-s1qlleh3/overlay/lib/python3.9/site-packages/cmake/data/share/cmake-3.22/Modules/FetchContent.cmake:1259 (FetchContent_Populate)
        _skbuild/linux-x86_64-3.9/cmake-build/RAPIDS.cmake:35 (FetchContent_MakeAvailable)
        /mnt/optane/wjtest/kvikio/cpp/cmake/fetch_rapids.cmake:17 (include)
        /mnt/optane/wjtest/kvikio/cpp/CMakeLists.txt:17 (include)

      -- Configuring incomplete, errors occurred!
      See also "/mnt/optane/wjtest/kvikio/python/_skbuild/linux-x86_64-3.9/cmake-build/CMakeFiles/CMakeOutput.log".
      See also "/mnt/optane/wjtest/kvikio/python/_skbuild/linux-x86_64-3.9/cmake-build/CMakeFiles/CMakeError.log".
        File "/tmp/pip-build-env-s1qlleh3/overlay/lib/python3.9/site-packages/skbuild/setuptools_wrap.py", line 637, in setup
          env = cmkr.configure(
        File "/tmp/pip-build-env-s1qlleh3/overlay/lib/python3.9/site-packages/skbuild/cmaker.py", line 328, in configure
          raise SKBuildError(

      --------------------------------------------------------------------------------
      -- Trying "Ninja" generator
      --------------------------------
      ---------------------------
      ----------------------
      -----------------
      ------------
      -------
      --
      --
      -------
      ------------
      -----------------
      ----------------------
      ---------------------------
      --------------------------------
      -- Trying "Ninja" generator - success
      --------------------------------------------------------------------------------

      Configuring Project
        Working directory:
          /mnt/optane/wjtest/kvikio/python/_skbuild/linux-x86_64-3.9/cmake-build
        Command:
          cmake /mnt/optane/wjtest/kvikio/python -G Ninja -DCMAKE_INSTALL_PREFIX:PATH=/mnt/optane/wjtest/kvikio/python/_skbuild/linux-x86_64-3.9/cmake-install -DPYTHON_VERSION_STRING:STRING=3.9.12 -DSKBUILD:INTERNAL=TRUE -DCMAKE_MODULE_PATH:PATH=/tmp/pip-build-env-s1qlleh3/overlay/lib/python3.9/site-packages/skbuild/resources/cmake -DPython3_EXECUTABLE:FILEPATH=/root/anaconda3/envs/wjpytorch/bin/python -DPython3_INCLUDE_DIR:PATH=/root/anaconda3/envs/wjpytorch/include/python3.9 -DPython3_LIBRARY:PATH=/root/anaconda3/envs/wjpytorch/lib/libpython3.9.so -DPython_EXECUTABLE:FILEPATH=/root/anaconda3/envs/wjpytorch/bin/python -DPython_INCLUDE_DIR:PATH=/root/anaconda3/envs/wjpytorch/include/python3.9 -DPython_LIBRARY:PATH=/root/anaconda3/envs/wjpytorch/lib/libpython3.9.so -DPYTHON_EXECUTABLE:FILEPATH=/root/anaconda3/envs/wjpytorch/bin/python -DPYTHON_INCLUDE_DIR:PATH=/root/anaconda3/envs/wjpytorch/include/python3.9 -DPYTHON_LIBRARY:PATH=/root/anaconda3/envs/wjpytorch/lib/libpython3.9.so -DCMAKE_MAKE_PROGRAM:FILEPATH=/tmp/pip-build-env-s1qlleh3/overlay/lib/python3.9/site-packages/ninja/data/bin/ninja -DCMAKE_BUILD_TYPE:STRING=Release

      Traceback (most recent call last):

      An error occurred while configuring with CMake.
        Command:
          cmake /mnt/optane/wjtest/kvikio/python -G Ninja -DCMAKE_INSTALL_PREFIX:PATH=/mnt/optane/wjtest/kvikio/python/_skbuild/linux-x86_64-3.9/cmake-install -DPYTHON_VERSION_STRING:STRING=3.9.12 -DSKBUILD:INTERNAL=TRUE -DCMAKE_MODULE_PATH:PATH=/tmp/pip-build-env-s1qlleh3/overlay/lib/python3.9/site-packages/skbuild/resources/cmake -DPython3_EXECUTABLE:FILEPATH=/root/anaconda3/envs/wjpytorch/bin/python -DPython3_INCLUDE_DIR:PATH=/root/anaconda3/envs/wjpytorch/include/python3.9 -DPython3_LIBRARY:PATH=/root/anaconda3/envs/wjpytorch/lib/libpython3.9.so -DPython_EXECUTABLE:FILEPATH=/root/anaconda3/envs/wjpytorch/bin/python -DPython_INCLUDE_DIR:PATH=/root/anaconda3/envs/wjpytorch/include/python3.9 -DPython_LIBRARY:PATH=/root/anaconda3/envs/wjpytorch/lib/libpython3.9.so -DPYTHON_EXECUTABLE:FILEPATH=/root/anaconda3/envs/wjpytorch/bin/python -DPYTHON_INCLUDE_DIR:PATH=/root/anaconda3/envs/wjpytorch/include/python3.9 -DPYTHON_LIBRARY:PATH=/root/anaconda3/envs/wjpytorch/lib/libpython3.9.so -DCMAKE_MAKE_PROGRAM:FILEPATH=/tmp/pip-build-env-s1qlleh3/overlay/lib/python3.9/site-packages/ninja/data/bin/ninja -DCMAKE_BUILD_TYPE:STRING=Release
        Source directory:
          /mnt/optane/wjtest/kvikio/python
        Working directory:
          /mnt/optane/wjtest/kvikio/python/_skbuild/linux-x86_64-3.9/cmake-build
      Please see CMake's output for more information.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for kvikio
Failed to build kvikio
ERROR: Could not build wheels for kvikio, which is required to install pyproject.toml-based projects

After dealing with network problem， the errors are:
Processing /mnt/optane/wjtest/kvikio/python
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: numpy in /root/anaconda3/envs/wjpytorch/lib/python3.9/site-packages (from kvikio==22.8.0a0+4.gab99911) (1.22.4)
Building wheels for collected packages: kvikio
  Building wheel for kvikio (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for kvikio (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [78 lines of output]
      /tmp/pip-build-env-k5sn1ouq/overlay/lib/python3.9/site-packages/setuptools/dist.py:531: UserWarning: Normalizing '22.08.00a+4.gab99911' to '22.8.0a0+4.gab99911'
        warnings.warn(tmpl.format(**locals()))
      Not searching for unused variables given on the command line.
      -- The C compiler identification is GNU 11.1.0
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - done
      -- Check for working C compiler: /usr/bin/cc - skipped
      -- Detecting C compile features
      -- Detecting C compile features - done
      -- The CXX compiler identification is GNU 11.1.0
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Check for working CXX compiler: /usr/bin/c++ - skipped
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- Configuring done
      -- Generating done
      -- Build files have been written to: /mnt/optane/wjtest/kvikio/python/_cmake_test_compile/build
      CMake Error at /tmp/pip-build-env-k5sn1ouq/overlay/lib/python3.9/site-packages/skbuild/resources/cmake/FindCython.cmake:65 (message):
        Command "/tmp/pip-build-env-gttnfxs0/overlay/bin/cython;--version" failed
        with output:

      Call Stack (most recent call first):
        CMakeLists.txt:38 (find_package)

      CMake Error at _skbuild/linux-x86_64-3.9/cmake-build/_deps/rapids-cmake-src/rapids-cmake/cpm/find.cmake:152 (CPMFindPackage):
        Unknown CMake command "CPMFindPackage".
      Call Stack (most recent call first):
        cmake/thirdparty/get_nvcomp.cmake:19 (rapids_cpm_find)
        cmake/thirdparty/get_nvcomp.cmake:40 (find_and_configure_nvcomp)
        cmake/CMakeLists.txt:15 (include)

      -- Configuring incomplete, errors occurred!
      See also "/mnt/optane/wjtest/kvikio/python/_skbuild/linux-x86_64-3.9/cmake-build/CMakeFiles/CMakeOutput.log".
      See also "/mnt/optane/wjtest/kvikio/python/_skbuild/linux-x86_64-3.9/cmake-build/CMakeFiles/CMakeError.log".
        File "/tmp/pip-build-env-k5sn1ouq/overlay/lib/python3.9/site-packages/skbuild/setuptools_wrap.py", line 637, in setup
          env = cmkr.configure(
        File "/tmp/pip-build-env-k5sn1ouq/overlay/lib/python3.9/site-packages/skbuild/cmaker.py", line 328, in configure
          raise SKBuildError(

      --------------------------------------------------------------------------------
      -- Trying "Ninja" generator
      --------------------------------
      ---------------------------
      ----------------------
      -----------------
      ------------
      -------
      --
      --
      -------
      ------------
      -----------------
      ----------------------
      ---------------------------
      --------------------------------
      -- Trying "Ninja" generator - success
      --------------------------------------------------------------------------------

      Configuring Project
        Working directory:
          /mnt/optane/wjtest/kvikio/python/_skbuild/linux-x86_64-3.9/cmake-build
        Command:
          cmake /mnt/optane/wjtest/kvikio/python -G Ninja -DCMAKE_INSTALL_PREFIX:PATH=/mnt/optane/wjtest/kvikio/python/_skbuild/linux-x86_64-3.9/cmake-install -DPYTHON_VERSION_STRING:STRING=3.9.12 -DSKBUILD:INTERNAL=TRUE -DCMAKE_MODULE_PATH:PATH=/tmp/pip-build-env-k5sn1ouq/overlay/lib/python3.9/site-packages/skbuild/resources/cmake -DPython3_EXECUTABLE:FILEPATH=/root/anaconda3/envs/wjpytorch/bin/python -DPython3_INCLUDE_DIR:PATH=/root/anaconda3/envs/wjpytorch/include/python3.9 -DPython3_LIBRARY:PATH=/root/anaconda3/envs/wjpytorch/lib/libpython3.9.so -DPython_EXECUTABLE:FILEPATH=/root/anaconda3/envs/wjpytorch/bin/python -DPython_INCLUDE_DIR:PATH=/root/anaconda3/envs/wjpytorch/include/python3.9 -DPython_LIBRARY:PATH=/root/anaconda3/envs/wjpytorch/lib/libpython3.9.so -DPYTHON_EXECUTABLE:FILEPATH=/root/anaconda3/envs/wjpytorch/bin/python -DPYTHON_INCLUDE_DIR:PATH=/root/anaconda3/envs/wjpytorch/include/python3.9 -DPYTHON_LIBRARY:PATH=/root/anaconda3/envs/wjpytorch/lib/libpython3.9.so -DCMAKE_MAKE_PROGRAM:FILEPATH=/tmp/pip-build-env-k5sn1ouq/overlay/lib/python3.9/site-packages/ninja/data/bin/ninja -DCMAKE_BUILD_TYPE:STRING=Release

      Traceback (most recent call last):

      An error occurred while configuring with CMake.
        Command:
          cmake /mnt/optane/wjtest/kvikio/python -G Ninja -DCMAKE_INSTALL_PREFIX:PATH=/mnt/optane/wjtest/kvikio/python/_skbuild/linux-x86_64-3.9/cmake-install -DPYTHON_VERSION_STRING:STRING=3.9.12 -DSKBUILD:INTERNAL=TRUE -DCMAKE_MODULE_PATH:PATH=/tmp/pip-build-env-k5sn1ouq/overlay/lib/python3.9/site-packages/skbuild/resources/cmake -DPython3_EXECUTABLE:FILEPATH=/root/anaconda3/envs/wjpytorch/bin/python -DPython3_INCLUDE_DIR:PATH=/root/anaconda3/envs/wjpytorch/include/python3.9 -DPython3_LIBRARY:PATH=/root/anaconda3/envs/wjpytorch/lib/libpython3.9.so -DPython_EXECUTABLE:FILEPATH=/root/anaconda3/envs/wjpytorch/bin/python -DPython_INCLUDE_DIR:PATH=/root/anaconda3/envs/wjpytorch/include/python3.9 -DPython_LIBRARY:PATH=/root/anaconda3/envs/wjpytorch/lib/libpython3.9.so -DPYTHON_EXECUTABLE:FILEPATH=/root/anaconda3/envs/wjpytorch/bin/python -DPYTHON_INCLUDE_DIR:PATH=/root/anaconda3/envs/wjpytorch/include/python3.9 -DPYTHON_LIBRARY:PATH=/root/anaconda3/envs/wjpytorch/lib/libpython3.9.so -DCMAKE_MAKE_PROGRAM:FILEPATH=/tmp/pip-build-env-k5sn1ouq/overlay/lib/python3.9/site-packages/ninja/data/bin/ninja -DCMAKE_BUILD_TYPE:STRING=Release
        Source directory:
          /mnt/optane/wjtest/kvikio/python
        Working directory:
          /mnt/optane/wjtest/kvikio/python/_skbuild/linux-x86_64-3.9/cmake-build
      Please see CMake's output for more information.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for kvikio
Failed to build kvikio
ERROR: Could not build wheels for kvikio, which is required to install pyproject.toml-based projects

@Weigaa are you running in a Conda environment?

Implemented in https://github.com/rapidsai/kvikio/pull/70