The open-webui installation failed.

When I started open-webui again, I downloaded the nodejs file because the software did not automatically configure the environment variables, so I manually configured the environment variables and checked that they worked with the npm -v and node-v commands, but when I executed npm install there was a serious error

After I query on the Internet, it shows a network error, but I checked the network configuration and it shows that there is no problem, and all kinds of networks can be accessed normally. How can I solve this problem

Displays after a few attempts....


Readme cleanup

The README.md file was growing to a large size, it was broken up into multiply pages.

Hmm, you mixed things up there are other changes, not only readme

my bad will fix and reupload thought I switch branches.


Replace deprecated method calls in tests

Following https://docs.flutter.dev/release/breaking-changes/mock-platform-channels to remove deprecated method calls.
Specifically:

Code that does not have access to a WidgetTester can refer to TestDefaultBinaryMessengerBinding.instance!.defaultBinaryMessenger instead of tester.binding.defaultBinaryMessenger.

I know we've had the Android 29 test run fail, but I think it's clear that failure doesn't relate to the contents of the PR so I'm still going to land it.


Fix permissions issue when cache hit is returned

discussed here and elsewhere https://www.elkarte.net/community/index.php?topic=6126

Codecov Report

Merging #3642 (8f71abd) into development (6a1ac25) will increase coverage by 0.00%.
The diff coverage is 64.70%.

@@              Coverage Diff               @@
##             development    #3642   +/-   ##
==============================================
  Coverage          30.56%   30.56%
  Complexity         16072    16072
==============================================
  Files                430      430
  Lines              75012    75011    -1
==============================================
  Hits               22930    22930
+ Misses             52082    52081    -1

Impacted Files
Coverage Δ

sources/Load.php
56.30% <57.14%> (+0.02%)
:arrow_up:

sources/ElkArte/BBC/PreparseCode.php
75.19% <100.00%> (ø)

sources/Subs.php
61.64% <100.00%> (+0.06%)
:arrow_up:

Continue to review full report at Codecov.

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


GitHub Actions workflow improvements

This PR refactors the existing CI workflow. Notable changes include:

renaming the file to ci.yml to better reflect its function,
replaces much of the setup-related job steps with CargoSense/setup-elixir-project reusable Action,
adds workflow_dispatch as an event trigger so that we may manually invoke the Action (should that prove useful)

I've retained the use of a matrix even though there's only one configured OTP and Elixir version. @billylanchantin and I have been chatting about what an improved test matrix might look like, but haven't yet come to a conclusion. One we do, I'm happy to update the matrix with additional versions.
Updated in c9e6068. Pulling out my commit message since it includes some relevant notes:

This required using an older version of Ubuntu to support older Erlang/OTP versions. Pulled that bit of knowledge from the README here:
https://github.com/erlef/setup-beam
Additionally, Erlang/OTP compatibility charts are maintained here:
https://hexdocs.pm/elixir/compatibility-and-deprecations.html#between-elixir-and-erlang-otp
…and lastly, the matrix expansion via include is documented here:
https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#expanding-or-adding-matrix-configurations
I'm mostly confident this will work as desired.

I suspect the changes to this workflow aren't running as part of the PR status checks because I renamed the file. 🤦🏻


Add remote state publication transport call

Description
This change adds a new transport call which will be used to publish remote state to follower nodes
Related Issues
NA
Check List

[x] New functionality includes testing.

[x] All tests pass

[x] New functionality has been documented.

[x] New functionality has javadoc added

~[ ] API changes companion pull request created.~
~[ ] Failing checks are inspected and point to the corresponding known issue(s) (See: Troubleshooting Failing Builds)~
[x] Commits are signed per the DCO using --signoff
~[ ] Commit changes are listed out in CHANGELOG.md file (See: Changelog)~
~[ ] Public documentation issue/PR created~

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

❌ Gradle check result for 9feb4be: FAILURE
Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

Flaky: https://github.com/opensearch-project/OpenSearch/issues/12197
https://github.com/opensearch-project/OpenSearch/issues/12675


Build failure: alacritty-theme

Steps To Reproduce
Steps to reproduce the behavior:

build alacritty-theme

Build log
warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/nix/store/28v4wdzdz8xnf5d61yfi2bymg3gmi17a-alacritty-theme.drv^*'
@nix { "action": "setPhase", "phase": "unpackPhase" }
Running phase: unpackPhase
unpacking source archive /nix/store/fspc2v4jrpfx30avp5aagfigq0vhy8pz-source
source root is source/themes
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "installPhase" }
Running phase: installPhase
install: missing file operand
Try 'install --help' for more information.

Additional context
The default.nix appears to still assume that the themes are yaml files. They were recently switched to the toml format.
Notify maintainers
@nbraud
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
this path will be fetched (0.00 MiB download, 0.00 MiB unpacked):
  /nix/store/8ckiaa7f3lzzb6mqvr32kavbmwf8s8fg-nix-info
copying path '/nix/store/8ckiaa7f3lzzb6mqvr32kavbmwf8s8fg-nix-info' from 'https://cache.nixos.org'...
 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.69, NixOS, 24.05 (Uakari), 24.05.20240102.bd645e8`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Add a :+1: reaction to issues you find important.

Should be fixed with #279354


Indentation and Text selection broken in code view

Build: d04ee59
It works fine till 3 indents but with 4 or more indents, indentation is clamped at 3 and text selection breaks.

Fixed in<PHONE_NUMBER>79310847d7b35e7e61bb1bfa038bd4.


Do not assign previousSessionId property in client_session context entity when user anonymisation is enabled

In addition to anonymising the userId, we should also anonymise the previousSessionId attribute in the client_session context entity when user anonymisation is enabled. Otherwise, one can recreate the user journey by traversing through the previous session references.
The previousSessionId property is optional, so we can just set it to null.

This was closed in commit https://github.com/snowplow/snowplow-android-tracker/commit/6c76c1a289327d891dc9ec456542ceba2e8393c4


Minor formatting change to make yellow-outline Comment box appear in UI

Apologies- had some minor design issues around the Comment box from the prior PR. Hopefully, this PR change works (btw tried following the repo dev setup instructions but ran into find: _site/training-material: No such file or directory error).

(btw tried following the repo dev setup instructions but ran into find: _site/training-material: No such file or directory error).

i'm guessing that was a mis-link, but the error you mention is 'expected' from the Makefile, it is non-fatal. It's possible there was a subsequent error that was, please feel free to share the details in an issue or on matrix!


Make sure word-wrap is correct in PDF code blocks

Before:

After:

I think it can be set for all ebook formats (at https://github.com/GitbookIO/theme-default/blob/master/src/less/ebook/base.less)

ah cool will make the change

PR updated

Thanks :+1:


Problem starting xfreerdp-server

I was trying to compile freerdp as a server by building
cmake -DCMAKE_BUILD_TYPE=Debug -DWITH_SSE2=ON -DWITH_SERVER=ON.
But I am able to start up the server with command xfreerdp-server. Its showing command not found.
I have also followed two links. http://askubuntu.com/questions/475776/can-freerdp-be-used-as-server
and https://github.com/FreeRDP/FreeRDP/issues/1060 . But neither works.

@believeyourself  please inquiry a little before posting issues. If it's a "command not found" error it's because the binary (pick one or more item):

hasn't been compiled;
hasn't been installed;
is installed in a location that is not not in your PATH;

Anyway the issue tracker is not the place for so basic help requests, you have IRC or the mailing list for this.


Type-checking columns

Describe the bug
This:
import scmdata

def test() -> scmdata.ScmRun:
    columns = {"regions": ["here", "there"], "model": "test"}
    return scmdata.ScmRun(
        index=[1, 2, 3],
        data=np.ones((3, 2)),
        columns=columns,
    )

does not type-check, with the error:
error: Argument "columns" to "ScmRun" has incompatible type "dict[str, Sequence[str]]"; expected "Mapping[Hashable, str | int | float | Iterable[str | int | float]] | None"  [arg-type]

If you specify the columns directly in the call:

def test() -> scmdata.ScmRun:
    return scmdata.ScmRun(
        index=[1, 2, 3],
        data=np.ones((3, 2)),
        columns={"regions": ["here", "there"], "model": "test"},
    )

It type-checks no problem.
Expected behaviour
I expect this common idiom to be fine.
Additional context
I'm confused why this fails. Apparently, Hashable isn't properly supported by mypy? Something about mutability etc.
Maybe we just (in the type hints) put our foot to the ground and say that metadata column names have to be str?
Or maybe there is another solution which I'm missing.

Let's use str instead of hashable. It is probably good to enforce string-based metadata columns anyway. What would an integer as a column name represent???

What would an integer as a column name represent???

You're not thinking big enough, tuple are also hashable :wink:

Let's use str instead of hashable.

To fix this, we also have to use Mappable instead of dict, otherwise I get:
thing.py:7: error: Argument 1 to "a" has incompatible type "Dict[str, str]"; expected "Dict[str, Union[str, Iterable[str]]]"  [arg-type]
thing.py:7: note: "Dict" is invariant -- see https://mypy.readthedocs.io/en/stable/common_issues.html#variance
thing.py:7: note: Consider using "Mapping" instead, which is covariant in the value type
Found 1 error in 1 file (checked 1 source file)

As you said, typing support is not quite as mature in Python as it is in other languages…

Updated columns type hint to columns: Mapping[str, MetadataValue | Iterable[MetadataValue]] | None in #262


Explanation to the 'visible_to_opt' and 'generalization'

I found no explanation of the visible_to_opt and generalization in the documentation, are they some kind of linear transformation to the normalized mean score?

The visible_to_opt is the score that the optimizer sees (e.g, CV error in a ML hyper-parameter tuning context). Whereas generalization is meant to be a related metric the optimizer does not get to see (e.g, error on held-out test set in a ML hyper-parameter tuning context).
Does that make sense? If so, a note can be added to the docs.

Thanks for your explanation! I think would be nice if they are also documented


Open recent projects from JetBrains IDEs using PowerToys Run

Description of the new feature / enhancement
Similar to VSCode workspaces, projects from JetBrains IDEs could be opened inside of PowerToys run. This list is inside of the welcome screen on the IDEs and in a tab inside of the JetBrains Toolbox app.
Scenario when this would be used?
This has a similar reasoning to VSCode workspaces, but for users using JetBrains IDEs. Currently I have to use my mouse to navigate the Toolbox app to open projects or I open the IDE from PowerToys Run and then use my mouse to select my project inside there.
Supporting information
#3547 is the original issue for the VSCode workspaces plugin with similar reasoning to his request.

Hey, I'm trying to implement a version of this plugin on my own. I'm using the list of recent projects and installed IDEs cached by JetBrains Toolbox. I've managed to get a list of recent projects to display but now I'm trying to get icons to show for each result based on the IDE it was last opened with. Each IDE has its icon stored with it as a base64 SVG, but I'm having some difficulty transforming this into an ImageSource to use as the icon for the result. Should I continue trying to transform the SVG into a Bitmap or should I just package an icon for each IDE along with my plugin?
Right now, I'm using the Svg library to transform the string into a bitmap and then save it to a memory stream. Then I'm using that stream as a source for the BitmapImage.

This would be be deemed a 3rd party plugin.  /dup #3200


Show field hint when deserializing missing fields

Create a fake field value with a bogus id
Deserialize the item
Get non-fatal warning

The warning shows the field ID. Since we 99% of the time also have the Hint in the YML with the probable name of the field we should also show that if it exists.

Added in https://github.com/kamsar/Rainbow/commit/100c0bd2b4ec45bea43ed6a663f42510b8cb0c20

Released in 3.3.1


Retrieve a user's WoW character list

A call to client.Profile().WoW() fetches a list of a user's WoW characters. The addition of the WoW characters endpoint wraps up the Battle.net Profile API.

[x] Support for all OAuth Profile APIs.

This is a nice little milestone!

Hey @nmccrory Sorry I missed this. If you open a new PR this stuff was looking great.


"Șișcani" is listed in the drop-down menu

Description:
When user writes ”Șișcani” the location appears in the drop-down menu next to the villages belonging to the municipality which is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Șișcani"

Expected results
The location appears in the drop-down menu as "Sat Șișcani, Vrancea (Adjud)".


Docs: Replace poetry subcommand to add dev deps

What were you searching in the docs?
Poetry changed and deprecated the --dev subcommand to define dev dependencies and we need to update the documentation.
Is this related to an existing documentation section?
https://awslabs.github.io/aws-lambda-powertools-python/
How can we improve?
Update documentation to use the new Poetry command:
poetry add <deps_name> --group <group_name>
Got a suggestion in mind?
No response
Acknowledgment

[X] I understand the final update might be different from my proposed suggestion, or refused.

This is now released under 2.8.0 version!


Timeout connecting to primary node in replica set did not log an error

Not sure if there is a setting that we need in our mongoid config but we recently had an issue where there was a typo setting the mongo port in our replica set. primary node had 27019 instead of 27017, the secondary had the correct port.
We did not see any errors in our Rails log regarding the timeout to the primary. Is there a config setting that we can turn on to log this? Any insight or help will be greatly appreciated. Thanks!

This will be logged now on master (5.0.0) with the new driver.


some request for visual designer

What feature or improvement do you think would benefit Files?
Found
https://www.aalab.com.cn/
A file manage app that have many feature for visual designer.
my request

File batch naming function
Same image detection, remove excess items
Frame sequence merging display
AI include

Requirements

Files Version
<IP_ADDRESS>
Windows Version
10.0.22621.1992
Comments

Thanks for the feedback. In future make a separate request for different feedback you have.

File batch naming function

You can use Power Rename in Power Toys for this

Same image detection, remove excess items

Merging with #11385. You can check there or click subscribe in the right sidebar for updates.

Frame sequence merging display

What do you mean by this?

AI include

What do you mean by this?

@lotusNoOne Can you answer the above questions please


Grocery bud

Is your feature request related to a problem? Please describe.
No its not a problem. I am a GSSOC participant and would like a web app in which user can add the grocery items which are to be bought
Describe the solution you'd like
I will be using JavaScript and HTML

@ridsuteri please assign me this issue

@991rajat can I start working on it??

/assign

@Amit366 There is already one project Name Local Storage . You can improve that project. And dont raise the PR until issue is assigned to you

@Vishal-raj-1 once see the image of the website.

If you like that then ok or else I will close the PR.


Domain activation is Failed - [BRIEF DESCRIPTION]

App Id: d9jo3nhactls4
Region: ap-south-1
Step: Domain activation
Status: Failed

Note: Do not include information that is sensitive in nature such as your domain name, company etc.

Issue/question
A clear and concise description of what the issue/question is.
Error message
If there is an error message, please include it here.
Note: Be sure to check the message for sensitive information.
Additional information
Please add any other relevant information. Please feel free to include screenshots.

Hi @pchauhan77,
As the error suggests, the domain activation fails because of a CNAME already exists exception. This error indicates there is already another amplify app / a CloudFront distribution you created personally, that has the same CNAME record (domain name) as the one you are trying to associate now. You would need to delete the old amplify app / remove the CNAME from your CloudFront distribution, then delete your new domain from the amplify app, and retry adding it.

i did but still getting this error

@pchauhan77 It looks like you have since deleted the app d9jo3nhactls4.  Are you still experiencing an issue?

Resolving due to age - re-open if you are still facing the issue!


error installing gopls(same thing happend with hls)

gopls
▼ Displaying full log
Installing go package<EMAIL_ADDRESS>spawn: go failed with exit code - and signal -. go is not executable

The problem here is you don't have the tools necessary to download gopls. The message go is not executable is telling you the command go is not available in your system, or at the very least Neovim can't find it.
I'm assuming you are using mason.nvim to install these things. mason.nvim only automates the download of language servers (and other tools). For example, if you try to install intelephense mason.nvim will just try to execute the command npm install intelephense. Which is the same thing you would do on your terminal. That command will fail if npm is not available in your system.
Whatever tools you want to download, you need to make sure you meet their requirements.

thanks


sensu master runs all checks

Hi,
sorry for dummies questions,
All definitions are copied into sensu master servers. And master server tries to run all checks.
I don't know how to avoid this behaviour.
May be smth wrong with my .j2 template?
{
"checks": {
"check_disk_usage": {
"command": "{{ sensu_config_path }}/plugins/check-disk-usage.rb -w :::disk.warning|80::: -c :::disk.critical|90:::",
  "subscribers": {{ group_names | to_nice_json }},

  "interval": 60
}

}
}
Thanks in advance
Vital

In the template you have, group_names is going to be filled in with the master's groups. You need to either define the subscribers manually, or maybe use the hostvars magic variable to figure out some other node's group.

thank you very much!
you are right. I thought that it was possible to generate checks from j2 file in the same way as put plugin in https://github.com/sensu/sensu-ansible/blob/master/docs/dynamic_checks.md
The issue could be closed.

Cool, glad I was able to help clear that up.


chore(client): bump to<EMAIL_ADDRESS>/<EMAIL_ADDRESS>

The PR to close all issues :trumpet:.
Closes #672
Closes #1052
Closes #1204
Closes #1209
Closes #1210
Closes #1342

This is _not ready to merge yet. In fact, after the diagram-js update the CMMN Editor blows up:

The following stack trace is emitted:
[diagram_1.cmmn] Cannot read property 'layoutConnection' of undefined
    at layoutConnection (webpack:///node_modules/diagram-js/lib/features/modeling/cmd/ReconnectConnectionHandler.js:62:0)
    at postExecute (webpack:///node_modules/diagram-js/lib/command/CommandStack.js:417:0)
    at _internalExecute (webpack:///node_modules/diagram-js/lib/command/CommandStack.js:147:0)
    at execute (webpack:///node_modules/cmmn-js/lib/features/modeling/Modeling.js:118:0)
    at file:///xxx/camunda-modeler/dist/linux-unpacked/resources/app.asar/public/1.1.js:1:91851
    at file:///xxx/camunda-modeler/dist/linux-unpacked/resources/app.asar/public/1.1.js:1:17938
    at listener (webpack:///node_modules/diagram-js/lib/core/EventBus.js:362:0)
    at _invokeListener (webpack:///node_modules/diagram-js/lib/core/EventBus.js:348:0)
    at _invokeListeners (webpack:///node_modules/diagram-js/lib/core/EventBus.js:310:0)
    at fire (webpack:///node_modules/diagram-js/lib/features/dragging/Dragging.js:170:0) [ error ]

Fixed described cmmn-js bug in<EMAIL_ADDRESS>


receive: Allow specifying a custom gRPC service config via flag

receive: Adds a flag to allow specifying custom behaviour for gRPC.
The flag needs to be a JSON string as defined by https://github.com/grpc/grpc/blob/d0a7c33b43d14adafcec9379d40ae09c7ba76bf9/doc/service_config.md

[x] I added CHANGELOG entry for this change.
[ ] Change is not relevant to the end user.

Changes

Verification

Why only for receiver though? Wouldn't all grpc APIs make sense?

Potentially. Probably less of in a need in other components to tweak this but I am happy to add it if there is a perceived benefit. I was trying to tackle the problem discussed here for receive.
I see for example query is using a hardcoded config for endpoint groups https://github.com/thanos-io/thanos/blob/dc4c49f2492f9fe88f9187cd33535b4f31f56f86/pkg/extgrpc/client.go#L27

I'd also want the same flag in other components, as it seems useful to tune

@saswatamcode ack, do you want them added to this PR?


Asset total supply view

[ ] If the number is large than Quadrillion(groups of (3) zeros >=5)(10,000,000,000,000,000), show as abbreviation(10Q)(ignore small values)
[ ] when hovering on the number, tooltip shows full value

refer to
https://www.thoughtco.com/zeros-in-million-billion-trillion-2312346
figma link
https://www.figma.com/file/bSUF8SniEtSOWNGsnHTEpI/statescan?node-id=111%3A431
preview

[ ] Tooltip format


Source options should be labelled better

Instead of just translations, it can be more specific for each drop down what it is actually changing.

Easy way to do this:
English: [dropdown]
Punjabi: [dropdown]


Is there posibility to stub database?

subj

My teams typically use a real database for unit cases because they are pretty cheap now - all it takes is a docker container with MySQL. You can see how I test database queries here: https://github.com/blue-jay/blueprint/blob/master/model/note/note_test.go

Lurking around github projects in search of the good app structures.
Wondering why don't you use structs to aggregate logic inside related objects? (models, database).
From my sight, the procedural style is not testable at all...

Blue Jay is more testable, but I'm still not happy with it. I have another branch that has been in progress (https://github.com/blue-jay/blueprint/tree/clean-restructure), but I've been busy so I haven't finished it yet.


Add support for running shell commands

Motivation
In order to better understand and learn Roc, I've been working on Rocup, the rockin' version manager for Roc written in Roc. Think something along the lines of  rbenv, rustup, ghcup or Volta. The repository for Rocup is currently private, but I plan on making it public as soon as it is in a reasonable state. One of the things I need to do to manage Roc versions is to be able to run a Roc binary, and the simplest way to achieve that in a cross-platform context is through the OS's native shell. In Rust, you'd use std::process::Command to achieve this, but there is currently no way to do this (as far as I am aware) in basic-cli. This seems like a feature that would be more broadly useful for CLI applications and doesn't seem to give the CLI any undue permissions, since a basic-cli app can already read all your files, send them to malicious.example.com and delete them 😉 — it's a platform for building trusted CLI applications.
Proposal
This draft implementation adds a Command module to basic-cli, which includes a Command type along with some builder functions (fromExecutable, withArgs and inDir) and the ability to spawn the command as a child process using a spawn.
Current Issues
As it stands today, this PR causes roc glue to panic, although basic-cli appears to do that on its own with the latest source-built roc as of 2022-12-07, since applying built-in symbols to not built-in layouts is currently not implemented. I will attempt to address this in a PR to the main Roc repository and am working on comprehending the various complexities of the glue generator to do so.
Another issue is the mediocrely labelled, unsigned and non-atomic commits, which I will fix.

Hi @ostev, @rtfeldman should be able to provide further input on glue problems and command functionality for basic-cli.
I wanted to mention that we plan on including our "rustup" in the roc binary for the 0.1 release. You're free to do as you like of course but I figured you would like to be aware of this.

That makes sense — I probably should have checked on Zillow before starting work on it. It was just a project to learn Roc anyway, and I've made very little progress.


added new feature: variable declaration

Variables can now be declared in the program (Syntax: let var_name = value)
formatting changes
improved error handling
some old functions removed
minor changes in Token class
some other optimisations
Upcoming:
functions yet to be added (currently in beta)


More on setting up a two-way listener

Could we see more on setting up a two-way listener please. The documentation out there is very out of date and sporadic!! Detail is particularly required on the set up of the service endpoint in Dynamics.

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

ID: 0b0968cc-d808-045f-670a-8b1d239dd366
Version Independent ID: 2185d74a-0b8a-e977-cd01-b20b11c44227
Content: Walkthrough: Configure Microsoft Azure (SAS) for integration with Dynamics 365
Content Source: ce/developer/walkthrough-configure-azure-sas-integration.md
Service: crm-online
Product: unspecified
GitHub Login: @JimDaly
Microsoft Alias: jdaly

Thanks Jim,
It's the process around the two-way endpoint set up in the plugin reg tool
that i'm interested in. On set up from a service endpoint connection to a
Queue it all works great, however on setting the Designation Type to
Two-way the namespace address needs to be updated to a https://address and
it's unclear how it should be set. The documentation is not clear in that
area.
Through trial and error I've set the namespace address to
https://servicebusname.servicebus.windows.net/queuename and the Path as
queuename. However when the plugin runs an execute against the endpoint it
always returns a error 'Message: The HTTP request is unauthorized with
client authentication scheme 'Anonymous'. The authentication header
received from the server was ''.'
At this point there's very little documentation to suggest what the problem
is - a lot of it out there is all about ACS so is not much use.
This can be repro'd with the OOB Async Azure plugin (appreciate that
doesn't do anything with the return value but it's the same error as i get
from a custom plugin running synchronously against the same endpoint) I'm
using a v9 online instance and the latest plugin registration tool.
Hope that all makes sense!
Phil
On 23 May 2018 at 17:14, Jim Daly<EMAIL_ADDRESS>wrote:

@PhilKermeen https://github.com/PhilKermeen Thanks for your feedback.
It has been a while since this content has been reviewed. I recently
updated the screenshots which pointed to the 'classic' Azure portal and
links that referred to documentation on the old portal, but it seems we
need to walkthrough the walkthrough and verify the whole process still
works.
Understand you are looking particularly at setting up the service
endpoint. Any specific challenges in that area?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/dynamics-365-customer-engagement/issues/32#issuecomment-391406792,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHScW0y7mYPyHcTFhfP43FTnCvGsh8PDks5t1Yr1gaJpZM4UKOaz
.

@PhilKermeen Thanks for the additional detail. I'm looking for someone with first-hand experience setting this up to see if they can advise what needs to be changed.

@brandonsimons Can you advise who can best respond to this?

I am facing the same issue as Phil.  Please accelerate it as twoway integration is very normal.

@PhilKermeen are you trying to do Queue or Relay, TwoWay uses Service Bus Relay and you wouldn't create a queue on the name space.  The namespace would be just that, path would be the path that the listener and the sender agree on, the channel is established on use and not pre-defined like you would a Queue.

Thanks David, we've been using Queue / Topics, so it looks like that's the
problem. Have you got any documented steps that i can follow through?
Thanks,
Phil
On Tue, 3 Jul 2018 at 16:11, David Yack<EMAIL_ADDRESS>wrote:

@PhilKermeen https://github.com/PhilKermeen are you trying to do Queue
or Relay, TwoWay uses Service Bus Relay and you wouldn't create a queue on
the name space. The namespace would be just that, path would be the path
that the listener and the sender agree on, the channel is established on
use and not pre-defined like you would a Queue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/dynamics-365-customer-engagement/issues/32#issuecomment-402192133,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHScW0jUV0jPw96Je4vhNrhXhK8gbosoks5uC4m-gaJpZM4UKOaz
.

Further to this - i created a relay (nettcp, wcf relay type) and on trying
to configure a service end point in dynamics through the plugin
registration tool, when i set the designation type as 'two-way' then on
save get the warning 'must provide a valid namespace address', though the
namespace is complete with 'sb://xxxx.sericebus.windows.net'
On Tue, 11 Sep 2018 at 11:59, Phil Kermeen<EMAIL_ADDRESS>wrote:

Thanks David, we've been using Queue / Topics, so it looks like that's the
problem. Have you got any documented steps that i can follow through?
Thanks,
Phil
On Tue, 3 Jul 2018 at 16:11, David Yack<EMAIL_ADDRESS>wrote:

@PhilKermeen https://github.com/PhilKermeen are you trying to do Queue
or Relay, TwoWay uses Service Bus Relay and you wouldn't create a queue on
the name space. The namespace would be just that, path would be the path
that the listener and the sender agree on, the channel is established on
use and not pre-defined like you would a Queue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/dynamics-365-customer-engagement/issues/32#issuecomment-402192133,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHScW0jUV0jPw96Je4vhNrhXhK8gbosoks5uC4m-gaJpZM4UKOaz
.

I got to the bottom of this a couple of months back - thanks to @davidyack for pointing me in the right direction https://dynamicsjourney.wordpress.com/2018/09/21/two-way-azure-plugin-walkthrough/

I would like to keep this open until the content is updated to be useful.

“Thanks for your feedback. We are closing this issue because we are either unable to find relevant information or reproduce this. If you're still experiencing the issue described here, please reopen or create a new issue."


GetStaticProps Not working as expected on vercel Returning -1 HTTP error

Hi team, Id thought id submit an issue here as the customer success engineers didnt really answer or resolve my issue via support.
So I have a very large number of products, so I can't use getSataticPaths as the build time exceeds 45 minutes (with shopify API rate limit throttling) (plus who wants to wait that long anyway)
[slug].js
export async function getStaticPaths({ locales }: GetStaticPathsContext) {
  const { products } = await getAllProductPaths()

  // we have too many products, static rendering will be done the first time a product is loaded up
  return {
    paths: [],
    fallback: true,
  }
}

Now this works perfectly on my local machine that builds everything every time. But on production its giving unexpected results on some products (not all). These products also work on my local environment which makes this super hard to debug:
https://storefront-7aja4imda-colabpantry.vercel.app/products/chutney-maison
Logs:

Logs of a product that works:

Now if you are returning HTTP statuses, what does a status of -1 mean?
PS. I'm sorry I'm posting this here, I've submitted 2 detailed support tickets and both times they have told me to check the logs.
Its also worth noting that I can fix the issue by providing all the build paths eg.
[slug.js] (working - but build time exceeds 45 minutes)
export async function getStaticPaths({ locales }: GetStaticPathsContext) {
  const { products } = await getAllProductPaths()

  // we have too many products, static rendering will be done the first time a product is loaded up
  return {
    paths: products.map((product) => `/products${product.node.path}`),
    // paths: [],
    fallback: true,
  }
}

@achadee i think you are using an older version. be sure to apply the changes from https://github.com/vercel/commerce/pull/310/files (to fetch only first 100 best selling products).

The problem isn't the subset of paths I'm getting - though I might implement the top 100 products in a later release to improve site performance,
the problem is that fallback: true isn't working when it should be.
I mean technically speaking, this should load all pages upon request:
 return {
    paths: [],
    fallback: true,
  }

However following this link you can see that some products return that -1 error
https://storefront-7aja4imda-colabpantry.vercel.app/products/chutney-maison
Here is a reference to a product that works from the same deployment:
https://storefront-7aja4imda-colabpantry.vercel.app/products/jordan-river-medjool-dates
Let me know if you have any ideas, Im a bit clueless since I can't replicate it locally :)

@achadee ok, i thought that error happened because of the (API rate limit error since you have too many products on build time)

Does log drain log additional information not logged by Vercel? Because I can see the exact log event (as screen shotted above)

It helped me to debug better, don't know if is the case here. By the way, also be sure to have this updated file also to try catch the api fetcher to catch some unexpected errors.
https://github.com/vercel/commerce/blob/main/framework/shopify/api/utils/fetch-graphql-api.ts

I have a slightly modified fetcher to work around the rate limit (as I was trying to build all products with getStaticPaths originally):
const fetchGraphqlApi: GraphQLFetcher = async (
  query: string,
  { variables } = {},
  fetchOptions
) => {
  let waitingForResponse = true
  let tick = 0
  let res: any
  let dataResponse: any

  while (waitingForResponse && tick < 100) {
    res = await req(query, variables, fetchOptions)
    let { data, errors, status } = await res.json()

    dataResponse = data

    if (errors) {
      if (errors[0].message == 'Throttled') {
        console.log('Throttling - waiting 60 seconds', tick, variables)
        await timeout(60000)
        tick++
      } else {
        throw getError(errors, status)
      }
    } else {
      waitingForResponse = false
    }
  }

  return { data: dataResponse, res }
}

maybe that is the issue - i'll try and update it tomorrow and let you know :)

Hey I'm pretty confident there is an issue with Vercel.
i've wrapped my entire getStaticProps inside a try/catch and its still giving the error message on some products (not all) (and not locally)
https://gist.github.com/achadee/4849cac259672ac56b5317f101cda6e7
To see if its an issue with nextjs or  vercel I built the server manually using:
next build
next start

and started the node server locally in production mode manually, and it worked.
Which leads me to believe the issue is with Vercel.
Is there anything im missing?  @cond0r

@achadee did you tried to fetch fewer products (without that throttle workaround) at build time ?  Actually i tried with hundreds of product and had no issues what so ever, i'm curious what's your product length number.
The products that are failing are the same each time, or randomly generates that error to different products ?

We have over 1500 products
Ok I've implemented both the fetcher and get all best selling products.
Just as a general note to anyone else using this this feature in the repo:
This doesn't solve the throttling issue as the storefront API throttler is based on a rolling 60 second execution time window. So if the shopify servers are busy, or if you require more information to statically generate your pages - you'll quickly hit the limit (with a large number of products). For my project requirements, I had to lower the 100 product limit to 50 to not get errors when building the project.
Anyway, I've built it locally with:
next build
next start

And that built as expected and worked for the broken products.
Next I deployed it to Vercel
So im getting the same error when deploying to Vercel
https://storefront-h6aox77dw-colabpantry.vercel.app/products/chutney-maison
Status -1

On the client side it looks like this:

and in the browser console:

@cond0r beginning to loose my mind / run out of ideas. If the node server works, we might have to leave Vercel and just spin up a custom server. I REALLY dont want to do this. If you are uncertain on what the next steps are, can you get more eyes on this?
I'm happy to give access to the repo where needed.
Thanks in advance :)

Also an idea.
A lot of this could be resolved with a getStaticBuildProps or something which would allow us to build a large number of pages at once on the initial build.
Fallback via getStaticProps  could then be used for pages added after the deployment
eg.
  return {
     pages: [
        {
            props: ...,
            path: '/t-shirt'
        }
     ]
  }

@achadee feel free to invite me on that repo. I can take a look & try something. I know the "loose my mind" feel, almost had this weekend myself :).
I see the problem is more isolated to that product alone (or similar).

Ok I've given you access - before you start things up....
There are multiple instances (products) of the issue - and I can't find any similarities in the returned data. The product linked above is what I'm going off to show how to reproduce :)
Also, Just checking that you know that my code works perfectly with next dev and next start and I can only reproduce the issue on a deployed Vercel

Also just wanted to say thanks in advance. This issue has really got me scratching my head.

@achadee is a rate limit error that happens because on your getProduct query. You query too much for each product, so makes that query expensive. And by the time it reaches that product it throws that throttled error because.

If Shopify measures that by the time first request happened until last response (by IP), lambda being slower than your machine maybe that's the answer why on your local machine never happens (I managed to see build errors on mine too)

After i removed the products recommendations part from your get product query, everything works.  (By the way you can make another request for getting product recommendations on query root ->  productRecommendations, i will suggest it on your repo)
https://storefront-pi.vercel.app/products/chutney-maison

Wow, shopify really needs to generate better errors :/
Thank you so much!, ill change and test that now!
just one more thing:
This is working for me, why is that?
export async function getStaticPaths({ locales }: GetStaticPathsContext) {
  // const { products } = await getAllProductPaths()

  let broken_paths = [
    '/products/breakfast-negroni-marmalade',
    '/products/blanc-de-caramel-42-caramelised-chocolate-with-sea-salt',
    '/products/hazelnut-gianduja-bombs',
    '/products/caramel-chocolate-freckles',
    '/products/62-chai-latte-dark-milk-hot-chocolate',
    '/products/chamellia-organic-iced-tea-ginger-lemongrass-sparkling',
    '/products/cranberry-macadamia-cherry-milk',
    '/products/2019-rare-hare-rose',
    '/products/nocciolato-bar',
    '/products/amphora-65-dark-chocolate',
    '/products/72-classic-dark-hot-chocolate-with-sea-salt',
    '/products/organic-tea-bags',
    '/products/the-toreador-black-pearl-collab',
    '/products/soleo-42-milk-chocolate',
    '/products/hazelnut-cocoa-bits-dark',
    '/products/chutney-maison',
    '/products/chamellia-organic-iced-tea-lemon-black-still',
    '/products/salted-caramel-rocky-road',
    '/products/pickled-cherries',
    '/products/velvety-marshmallow-milk',
    '/products/chamellia-nine-spice-fresh-chai',
    '/products/moet-chandon-brut-imperial-nv-gift-boxed',
    '/products/bianco-30-white-chocolate',
    '/products/orange-marmalade',
    '/products/los-hermanos-2019-tempranillo',
    '/products/mr-jones-christmas-ham-glaze-250ml',
    '/products/bugs-large-cooked-1kg',
    '/products/black-sesame-seeds-400g',
    '/products/lartisan-cheese-organic-petit-rouge-180g',
    '/products/mauri-mascarpone-250g',
  ]

  // we have too many products, static rendering will be done the first time a product is loaded up
  return {
    // paths: products.map((product) => `/products${product.node.path}`),
    // paths: [],
    paths: broken_paths,
    fallback: true,
  }
}

Im guessing you run your build paths on seperate threads on Vercel? So they have seperate IP addresses and the throttle limit isn't hit as fast when providing paths?

@achadee the code above works because you have only 30 paths.. then let's say one path takes 1s you have 30 paths means your total query duration in build operation is 30s. Remember you query also pages, collections etc. But the problem is that you query on each product path, also collections that has also other set of products, so is too much.... On the link above i was using  the official query of getting product recommendations. And worked just fine with all 100 paths. If you want to persist that query then change the variable on get-all-product-paths to 30.
https://shopify.dev/api/storefront/reference/common-objects/queryroot#productrecommendations-2021-04


syntax of toc: schema

@thoughtstream Implementing =place in Rakudo AST and RakuDoc-Render yields an anomaly:
schemas that are used in =place and P<> all have the form \w+:\S+? except for (I think) toc: and index:.
eg:
P<https://nonsense.org/disclaimer>
or
=place rakudoc:App::Rak
but
=place toc: :toc<Table of contents>

Optionally we can specify, eg. toc:1,2 to get only first two levels of toc.
I suggest mandating schemas toc: and index: as toc:* and index:* to make the parsing consistent.
The use of * to mean everything seems consistent with * as whatever.
@lizmat Is this reasonable?

The question is really: is toc: a URI or not?
If it is, or we would want to simply allow toc: as a value in =place, then a simple change in the grammar would be sufficient (basically a \S+ -> \S*)

@lizmat suppose
=place rakudoc: App::Rak :caption<awesome Raku utility>

since only optional metadata can appear after the URI , this might be a valid place directive.

@finanalyst Do you really mean rakudoc: App::Rak (with a space between) or do you mean rakudoc:App::Rak ??  The former wouldn't work, even if rakudoc: would be a URI, because the string App::Rak is not a config specification.  The config specification needs to go before any text.

@lizmat I'm wondering out loud, and probably not quite understanding everything. My thought was that if the regex was \w+:\S* then  it would allow toc:      but it would also allow rakudoc:     App::Rak. I am placing many spaces here for clarity because sometimes a single space could be a typo that's difficult to pick up when debugging.
But I think you are right that rakudoc:App::Rak is a URI and (maybe) a correct URI would not have an embedded space

@finanalyst If spaces would be allowed, how would it check when the config begins?  By checking for : ?  But what if there would be no config?

My view is that the schemas should be required to match /toc:\S+/ and /index:\S+/
and, as @finanalyst suggested, that the following forms should be allowed:
    toc:*         # Means: all TOC levels
    toc:1,2       # Means: only specified TOC levels

    index:*       # Means: all index levels
    index:1,2     # Means: only specified index levels

but, also as @lizmat  suggested, that the scheme should under no circumstances
be allowed to have whitespace in it.
Damian

@lizmat @thoughtstream So it is possible to have bare toc: and index: [as well as toc:1,2 etc] , otherwise a URI is \w+:\S+  ?

I think @thoughtstream meant that any schema consisting of \w+: would not be allowed.  Now. I'm not sure whether toc: and index: should be special cased.

@lizmat My bad. I just re-read this issue thread and missed Damian's last comment. It seems he agrees with my initial suggestion that only toc:* &  index:* should be allowed.
This means that bare toc:* &c creates a parse error, and RakuDoc v2 spec needs a minor change.

Just to clarify: I would prefer if we required toc:* and index:*,
rather than allowing bare toc: and index:
I think the consistency of requiring a valid (i.e. non-null) URL form for every schema
is worth the slight inconvenience of users having to add the asterisk.
Besides, I find a construction like:
=place toc:  :toc<Table of contents>

confusing, and less easily understood than:
=place toc:*  :toc<Table of contents>

(The symmetry of toc: :toc is just too distracting! ;-)

My thoughts exactly
On Fri, 17 May 2024, 01:56 thoughtstream, @.***> wrote:

Just to clarify: I would prefer if we required toc:* and index:*,
rather than allowing bare toc: and index:
I think the consistency of requiring a valid (i.e. non-null) URL form
for every schema
is worth the slight inconvenience of users having to add the asterisk.
Besides, I find a construction like:
=place toc:  :toc
confusing, and less easily understood than:
=place toc:*  :toc
(The symmetry of toc: :toc is just too distracting! ;-)
—
Reply to this email directly, view it on GitHub
https://github.com/Raku/RakuDoc-GAMMA/issues/25#issuecomment-2116441762,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACYZHAWSAE4FHTFC3XHHGDZCVITDAVCNFSM6AAAAABHYCMEHGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJWGQ2DCNZWGI
.
You are receiving this because you were mentioned.Message ID:
@.***>

closing as resolved


formula variants

Checking 14 terms of A117791: (a(n) = b(n+2)); (b(n) = if(n==7,6,if(n==6,4,if(n==5,3,if(n==4,2,if(n==3,1,if(n==2,1,if(n==1,0,if(n==0,0,b(n-8)+c(n-2)+c(n-4)))))))))); (c(n) = if(n==7,9,if(n==6,6,if(n==5,4,if(n==4,3,if(n==3,2,if(n==2,1,if(n==1,1,if(n==0,1,c(n-1)+c(n-3)+c(n-8))))))))))
2023-12-16 17:45:16|INFO |Generated sequence: 1,1,2,3,4,6,9,13,21,31,47,71,106,159
2023-12-16 17:45:16|INFO |Expected sequence:  1,1,2,3,4,6,9,13,20,30,45,68,102,153


Simplify R package installation instruction

why?

Because it's shorter and you don't have to instantiate a variable

Actually this messes up with other default repos. Closing this now.


How to accomplish a tree-shaken FilePlayer

Current Behavior
We use React Player within our SPA to play only self-hosted mp4 video recordings, and it works perfectly, but currently when we build our project for production the bundle still contains all the Youtube, Soundcloud, etc libraries.
When I try to import FilePlayer directly, no <video> tag is rendered, and no video plays.
Expected Behavior
Working video player and no Youtube, SoundCloud, etc libraries in the bundle.
Steps to Reproduce
I went through the project README and GitHub issues and tried every possible incantation that I could think of.  For example:
import FilePlayer from 'react-player/file'
import { FilePlayer } from 'react-player'
import FilePlayer from 'react-player/lib/file'
import FilePlayer from 'react-player/lib/players/file'

Also noted that there were some issues with Vite so tried with the pre-release 3.0 version.
In all cases no video plays.
The only way I am able to get video working is by using import ReactPlayer from 'react-player' which of course brings all the Youtube, Soundcloud etc libraries into the bundle.
Environment

vite 5.3.2
react 18.3.1

Very curious to understand what I'm missing to help solve this.  Thank you!

found any solutions yet ? / also file does not work with google cloud storage files?

if you want to use only file player from React player then you need to import only file from react player.
import ReactPlayer from 'react-player/file'
now in build you wont see any other import other than file player.


kube-prometheus-stack and Grafana dashboards

Hi,
I think I followed the docs correctly, however Knative dashboads do not show up in Grafana after applying https://raw.githubusercontent.com/knative-sandbox/monitoring/main/grafana/dashboards.yaml (cf. https://github.com/knative-sandbox/monitoring/tree/main/grafana).
Note that I can import the JSON files by hand and get working dashboards. I'd like to be able to automate that part.
Here is my procedure:
# Install the Prometheus Operator through Helm
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo update
helm install prometheus prometheus-community/kube-prometheus-stack -n default -f values.yaml

# Apply the ServiceMonitors/PodMonitors to collect metrics from Knative
kubectl apply -f https://raw.githubusercontent.com/knative-sandbox/monitoring/main/servicemonitor.yaml

# Import Knative Grafana dashboards
kubectl apply -f https://raw.githubusercontent.com/knative-sandbox/monitoring/main/grafana/dashboards.yaml

Here are the contents of my values.yaml file:
kube-state-metrics:
  metricLabelsAllowlist:
   - pods=[*]
   - deployments=[app.kubernetes.io/name,app.kubernetes.io/component,app.kubernetes.io/instance]
prometheus:
  prometheusSpec:
    serviceMonitorSelectorNilUsesHelmValues: false
    podMonitorSelectorNilUsesHelmValues: false
grafana:
  sidecar:
    dashboards:
      enabled: true
      searchNamespace: ALL

Any help would be appreciated.
Thanks!

The steps you took look similar to what I've done in the past
I codified those steps here: https://github.com/knative-sandbox/monitoring/blob/main/test/setup-kind.sh
cc @upodroid for input

What version of the helm chart are you using?

I spent half a day stuck on this and I think I was able to resolve the issue by patching this with grafana_dashboard: "1" in both places (notice "1" instead of "true")

@anomam what version of the helm chart were you using?

https://github.com/prometheus-community/helm-charts/blob/e8020a5701c3be72499e8afa20761000dbecaeb9/charts/kube-prometheus-stack/values.yaml#L946C22-L946C22 this the culprit ,,, as @anomam said, either patch the dashboard manifest, or change helm value

I recently used this repository and, as @anomam says, using graphan_dashboard: "1" in both places resolves the loading of the dashboards.
Can I open a PR and patch the dashboard manifest?

/assign

Please open a PR and I'll approve it.


Cannot compile on OS X

Hi! When I try to compile on OS 10.12.6 I get the following error.
$ make
g++ -std=c++11 -Wall   -Ofast -msse4.2 -D__SSE4_2_ -m64 -I. -Wno-unused-result -Wno-strict-aliasing -Wno-unused-function  main.cc -c -o main.o
In file included from main.cc:46:
./hashutil.h:28:10: fatal error: 'openssl/evp.h' file not found
#include <openssl/evp.h>
         ^
1 error generated.
make: *** [main.o] Error 1

I've installed openssl with Homebrew, so I'm surprised that squeakr can't find the headers. Any tips?

Hrm.  Two questions:

What version of SSL?
Can you confirm that you have evp.h installed?  i.e. do you have the ssl
headers installed, or just the run-time libraries?

Also, I just googled for "evp.h file not found" and see that this is an
issue for several other packages.  Perhaps one of those solutions will work
for you?
Sorry to not be able to resolve this right away, but I don't have access to
a MacOS system.  But I do want to help resolve this for you.
Also, I think Prashant does have access to a Mac, so he might be able to
provide better help.
Best,
Rob
On Wed, Aug 2, 2017 at 1:26 PM, Daniel Standage<EMAIL_ADDRESS>wrote:

Hi! When I try to compile on OS 10.12.6 I get the following error.
$ make
g++ -std=c++11 -Wall   -Ofast -msse4.2 -D__SSE4_2_ -m64 -I. -Wno-unused-result -Wno-strict-aliasing -Wno-unused-function  main.cc -c -o main.o
In file included from main.cc:46:
./hashutil.h:28:10: fatal error: 'openssl/evp.h' file not found
#include <openssl/evp.h>
^
1 error generated.
make: *** [main.o] Error 1
I've installed openssl with Homebrew, so I'm surprised that squeakr can't
find the headers. Any tips?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/splatlab/squeakr/issues/10, or mute the thread
https://github.com/notifications/unsubscribe-auth/ADnSxbQt0FDmkWD83_iPHSTcnajp4KJjks5sUL89gaJpZM4OrekV
.

--
Calendar info:
https://www.google.com/calendar/embed?src=rob%40cs.stonybrook.edu

Thanks for the response @rtjohnso!

I have openssl version 1.0.2l installed on my Mac via homebrew.
The /usr/local/Cellar/openssl/1.0.2l/include directory has the library headers, and sure enough openssl/evp.h is there.

Manually adding -I /usr/local/Cellar/openssl/1.0.2l/include to CXXFLAGS in the Makefile gets me past the first few compiler commands, but then later fails with fallocate.

Yes. "Fallocate" is an issue on MAC OS.
However, now that you can go past the all the commands except "fallocate" I think we can fix that.
I will try to push a patch that removes  "fallocate" from the code. That should fix the issue.
Thanks,
Prashant

If I have time, I'll work on a PR that will use pkg-config to include the correct openssl header directory at compile time.

Fixed it. Commented out fallocate call. It was an optimization and doesn't affect the functionality.

Note, I still have to edit the Makefile to get this to compile on my system.

Add -I /usr/local/Cellar/openssl/1.0.2l/include to CXXFLAGS
Change -lboost_thread to -lboost_thread-mt

See https://stackoverflow.com/a/15040393/459780.
I don't know if you want to take any action on this, or simply file it away for future reference when other Mac/Homebrew users run into the same issue, but I thought it was worth mentioning.

By the way, I just realized I forgot to say: Thanks for the response!

I wonder why ssl is needed at all for this project.  See issue #14.  I was able to excise ssl references from the source code and Makefile with no apparent ill effects.  That seemed preferable to me than jumping through hoops to install a package that, as best I can tell, isn't needed.


gtk: Implement Display for text buffers

Implement Display trait for GtkTextBuffer and GtkEntryBuffer.
Closes #1425

The CI will fail as we have to switch to 1.70

@LevitatingBusinessMan maintainers changed their minds on implementing Display:

you would get different results from the Display impl depending on what type you have the object in. as glib::Object it's going to print something else.


npm run android-simple.js does not work while mocha android-simple.js works

Hello,
I am getting issue with running the examples for nodejs.
npm run android-simple.js does not work while mocha android-simple.js works fine.
Not working
rahul.raut1@mywindows MINGW64 /d/projects/automation/sample-code/sample-code/examples/node (master)
$ npm run android-simple.js
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "D:\\nodejs\\node.exe" "D:\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "android-simple.js"
npm ERR! node v6.2.2
npm ERR! npm  v3.10.5

npm ERR! missing script: android-simple.js
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     D:\projects\automation\sample-code\sample-code\examples\node\npm-debug.log

rahul.raut1@mywindows MINGW64 /d/projects/automation/sample-code/sample-code/examples/node (master)

Working
rahul.raut1@mywindows MINGW64 /d/projects/automation/sample-code/sample-code/examples/node (master)
$ mocha android-simple.js

  android simple
 > CALL init({"browserName":"","appium-version":"1.5.3","platformName":"Android","platformVersion":"5.1","deviceName":"160530023779","app":"http://appium.github.io/appium/assets/ApiDemos-debug.apk"})
 > POST /session {"desiredCapabilities":{"browserName":"","appium-version":"1.5.3","platformName":"Android","platformVersion":"5.1","deviceName":"160530023779","app":"http://appium.github.io/appium/assets/ApiDemos-debug.apk"}}

Driving the web on session: deba8719-5414-4fad-89a4-62cdcc2125a8

 > RESPONSE init({"browserName":"","appium-version":"1.5.3","platformName":"Android","platformVersion":"5.1","deviceName":"160530023779","app":"http://appium.github.io/appium/assets/ApiDemos-debug.apk"}) "deba8719-5414-4fad-89a4-62cdcc2125a8",{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"browserName":"","appium-version":"1.5.3","platformName":"Android","platformVersion":"5.1","deviceName":"160530023779","app":"http://appium.github.io/appium/assets/ApiDemos-debug.apk"},"browserName":"","appium-version":"1.5.3","platformName":"Android","platformVersion":"5.1","deviceName":"160530023779","app":"http://appium.github.io/appium/assets/ApiDemos-debug.apk","deviceUDID":"160530023779","appPackage":"io.appium.android.apis","appWaitPackage":"io.appium.android.apis","appActivity":"io.appium.android.apis.ApiDemos","appWaitActivity":"io.appium.android.apis.ApiDemos"}
 > CALL setImplicitWaitTimeout(3000)
 > POST /session/:sessionID/timeouts/implicit_wait {"ms":3000}
 > RESPONSE setImplicitWaitTimeout(3000)
 > CALL elementByAccessibilityId("Graphics")
 > POST /session/:sessionID/element {"using":"accessibility id","value":"Graphics"}
    √ should find an element (80ms)
 > CALL quit()
 > DELETE /session/:sessionID

Ending your web drivage..

 > RESPONSE quit()

  1 passing (24s)

rahul.raut1@mywindows MINGW64 /d/projects/automation/sample-code/sample-code/examples/node (master)

Is it possible to improve the documentation or is it something I am missing out?
Thanks for help and support.

Where are you running the npm command? It has to be run in the directory with the node sample code. Mocha will search sub-directories, but the npm command will not.

I have attached the traces, I am running the npm run command from sample-code/node folder. I am using Git Bash on Windows 7.

TLDR: It's npm run android-simple not npm run android-simple.js
Hi @rahulmr. I don't work on appium but I saw your question and I think I can answer it. The argument to "npm run" is NOT a file name, but actually an arbitrary name listed in package.json. So "npm run foo" causes npm to look in package.json for a script labeled "foo". See...
$ cd sample-code/examples/node
$ cat package.json
{
  "name": "appium-sample-code",
  "version": "1.0.0",
  "description": "Appium Sample Code",
  "main": "index.js",
...
  "scripts": {
    "ios-simple": "mocha ios-simple.js",
    "ios-complex": "mocha ios-complex.js",
    "ios-webview": "mocha ios-webview.js",
    "ios-actions": "mocha ios-actions.js",
    "ios-local-server": "mocha ios-local-server.js",
    "ios-selenium-webdriver-bridge": "mocha ios-selenium-webdriver-bridge.js",
    "ios-yiewd": "mocha --harmony ios-yiewd.js",
    "android-simple": "mocha android-simple.js",             <-------- HERE IT IS
    "android-complex": "mocha android-complex.js",
    "android-webview": "mocha android-webview.js",
    "android-actions": "mocha android-actions.js",
    "selendroid-simple": "mocha selendroid-simple.js"
  }
}

This project is a little unusual, typically the scripts look more like this:
"scripts": {
  "start": "node lib/server.js",
  "test": "mocha tests -R",
  "build":  "babel --presets es2015,stage-0 -d lib/ src/",
  "dev": "node-dev",
  "prepublish": "npm run build && npm run test"
}

You can see how in the typical case, these names are actually helpful. For instance, everyone knows "npm run start" should start the project, and "npm run test" is what testing frameworks like Travis-CI will run. Certain script names like "prepublish" or "postinstall" are triggered at times by npm itself to perform certain operations. See the complete list here: https://docs.npmjs.com/misc/scripts

I am grateful. Thanks a lot! Little mistakes can ruin things :)


Rebuild the Docker Repo?

It doesn't seem like the docker registry image has been rebuilt with the latest master changes.

New building launched

Ok, latest version is up to date
https://registry.hub.docker.com/u/cedvan/toran-proxy/builds_history/148062/

Thanks for this. Could you create an autobuild or this or setup the webhooks to automate it? Thanks!

It is already like that. Each time a change has autobuild is launched on the docker hub registry for the tags master/latest

I close, if you need re-open please


Add Coisas

Any news here?
Is anything wrong with this PR? What could I do to make this PR merged? Please say something.

Thanks for adding! Sorry for the delay.


swift build isn't passing -fmodules to C files in targets that contain one or more C++ files

This change considers each Clang invocation separately w.r.t. passing -fmodules or not.
Motivation:
In mixed C and C++ targets, C files get treated as C++ even there are any C++ files at all in a Clang target.  This means that if modules are disabled due to a Clang target having one or more C++ files, they are disabled for the whole target, which isn't correct.
Modifications:
This changes the decision about whether to enable modules to be on a per-Clang-invocation basis.  The same restrictions are before are kept, i.e. Clang modules are disabled on Windows and Android due to SDK issues and on Darwin for C++ files only.
Result:
The language of each source file is considered individually when deciding whether to enable or disable Clang modules.
rdar://83703185

@swift-ci please smoke test

@neonichu Any concerns?  There's more work to be done here, but I think we'll want to revisit how these command args are generated to achieve that, and so this is a spot fix.

@swift-ci Please test source compatibility

@swift-ci please test source compatibility

@swift-ci please test package compatibility

@DougGregor @benlangmuir @neonichu WDYT?  This was the follow-on issue that @benlangmuir saw.

Thanks @benlangmuir that's a good point.  That is probably something to fix, though it will mean a larger diff.  I'll adjust the PR.


[address-mapping] map Nostr public key address to Rooch address

Part of #406

@jolestar Please add this issue to Rooch roadmap. We need a solution to automatically adding "closed issue as completed" to the roadmap.


AUTH-543: Add optional operand deletion condition

There might be cases (as demonstrated in OCPBUGS-44937) where we might want to gracefully delete the operand workload of the workload controller, and keep the operator status available (instead of unavailable or degraded).
This PR adds an optional way of specifying a deletion condition which will trigger the deletion of the operand gracefully, keeping the operator's status as Available=True. To avoid breaking changes, I've added new setup functions to be used for wiring this particular case.
This is needed in the scope of https://github.com/openshift/cluster-authentication-operator/pull/740.

/jira refresh


Hypercomponents

Provide custom components that are more powerful than regular components and make up the main API of the library:
Mappers
Components that produce mappings of data (Array/Object) to a view (set of components):

[x] Table
[x] List
[x] Menu
[x] Form
[x] Card(s)
[x] Media Object
[x] Item(s) / Tweet(s) / Post(s)
[x] Graph, Chart
Map
Timeline
[ ] Profile, Avatar

Functionality
Additional features that can be added to certain components:

[x] Sorting (as a feature for tables and maybe other components)
[ ] Auto-pagination (as a feature)
Scrollspy

Simplification Layers
Easier ways to write components that require a lot of code and micromanagement:

[x] Accordion
[x] Tabs
[x] Radio Set
[x] LabeledInput
[x] InputWithIcon
Text from Markdown

Prefabs
Prebuilt components for common use-cases:

[ ] Login Form
[ ] Pricing and Plan Comparison
[ ] Splash Screen / Hero
[ ] Feature breakdown

Scrollspy is something that is neither extremely necessary nor super modern anymore. I am going to remove it from the list of thing to implement for now.

Automated markdown conversion will not be available for a multitude of reasons such as the fact that there are a lot of great tools out there for this.

Map seems to require an API Google if Google Maps is to be used. Removing as it will also make the bundle significantly larger.
Timeline is... well not much of an elaborate idea, so I'm gonna let it go as well. Better focus on Card layouts that make more sense.

CardHOC has been removed from the Hypercomponent API and instead Card will now accept non-CardSection children, casting them as necessary.

Prefabs will be migrated to #23 as they are part of the demos that will ship with the library.


Disable source server warning on unix

Is there a way to disable the warning message introduced in #176? I use kekyo/ILRepack.FullAuto and this message is included in my build output as a warning, which is undesirable to say the least.
A new switch to disable source server data processing completely would be a good solution in my opinion.

Agreed, the warning is just not useful. I deleted it.

published in 2.0.29


"Hello, World!" example does not seem to work

Executing
./pegtl-example-hello_world 'h'
throws:
terminate called after throwing an instance of 'tao::pegtl::parse_error'
what():  parse error matching hello::prefix
Aborted (core dumped)

The example parses the argument with a grammar that expects an input in a particular form, otherwise it will - correctly - produce a parse error.
Try `./pegtl-example-hello_world 'Hello, Tadeas!'.

(Since the PEGTL is a parser library, the "Hello, World!" example is a kind of reverse-hello-world, it starts by parsing the arguments, rather than just printing something.)

My apology, the question was invalid.

No harm done, we all have to start somewhere. Feel free to ask any further questions about understanding the example (or using the PEGTL in general) here...

Dear Colin, I am now very happily using PEGTL but there is one fragment in my grammar that somehow does not work. The fragment is the following grammar:
struct C;
struct W : seq< one< '|' >, opt< one< ' ' > >, C > {};
struct B : seq< one< '(' >, opt<one<' '>>, C, one< '|' >, opt< one< ' ' > >, C, one<')'>, opt<one< ' ' >>> {};
struct C' : seq< sor< W, C >, opt< C' > > {};
struct C : seq< sor< B, seq< A, one<' '> > >, opt< C' > > {};
where A is a simple grammar which works well:
   A : seq< range< 'a', 'f' >, range<'a', 'f' > > {};
Should be the following more readable:
W -> | C
B -> ( C| C)
C' -> "W" or "C" concatenated with optional C'
C -> 'B' or "A " concatenated with optional C'
The thing that I do not understand is that trying to parse " ( ab | cd ) " goes terribly wrong unless I completely remove the W structure:
struct C;
struct B : seq< one< '(' >, opt<one<' '>>, C, one< '|' >, opt< one< ' ' > >, C, one<')'>, opt<one< ' ' >>> {};
struct C' : seq< C, opt< C' > > {};
struct C : seq< sor< B, seq< A, one<' '> > >, opt< C' > > {};
When W is removed, the input string is parsed flawlessly and the program finds the correct execution:
" C" -> " B" -> " ( C| C)" -> " ( A | A ) " -> " ( ab | cd ) "
Instead, when W is present, it somehow matches " C" with "ab | cd " and then fails.
The question is: Is there any issue with the grammar? What does a context free grammar without left recursion must fulfill to be good with PEGTL?
Thank you very much for your help and for making the PEGTL tool.

The PEGTL can not be used with context-free grammars, instead you need to use parsing expression grammars (PEGs). The two are similar and might look identical, but there are differences with what language they expression.
I currently don't see the problem immediately, although I suspect that the greedy nature of PEGs plays a role here. You can, however, use the tracer to see how the grammar is working. You can find the tracer in the contrib-section, an example is available here: https://github.com/taocpp/PEGTL/blob/master/src/example/pegtl/uri_trace.cpp

Thank you for your tips. I am quite sure the following grammar is PEG but still there is some problem when parsing "(1|2)" by grammar C:
struct C;
struct B : seq< one< '(' >, C, one< '|' >, C, one<')'> > {};
struct H : seq< one< '|' >, C > {};
struct C : seq< sor< plus, B >, star > {};
The output of parse<C, action> of "(1|2)" would be:
Matched digit with '1'
Matched digit with '2'
Matched C with '2'
Matched H with '|2'
Matched C with '1|2'
PARSING FAILED
The grammar generates language containing "(1|2)" and it has no issues when tested by PEGTL analyze tool:
C -> B -> (C|C) -> (digit|digit) -> (1|2).
Could anyone explain this behavior?

Analysis only catches infinite loops (aka (indirect) left recursion).
Can you give us the REAL code? The above excerpt doesn't references 'H' and 'star' is incomplete, so I can't really know what's going on. Please create a small but complete program that shows the problem. I used this program to confirm that a boiled-down version of your grammar works as expected:
#include <tao/pegtl.hpp>
#include <tao/pegtl/contrib/tracer.hpp>
using namespace tao::pegtl;

struct C;
struct B : seq< one< '(' >, C, one< '|' >, C, one<')'> > {};
struct C : sor< plus< digit >, B > {};

int main()
{
    memory_input in( "(1|2)", "" );
    return parse< C, nothing, tracer >( in );
}

Thank you for the boiled-down version. Unfortunately, I need the grammar to parse both "(1|2)" and "1|2" (or even "(1|((1|1)|2)|1|(2|2|2))"). I would love to parse logical expressions.
This is the smallest grammar I was able to think of that shows my problem:
#include <iostream>
#include <string>
#include <tao/pegtl.hpp>

namespace pegtl = TAO_PEGTL_NAMESPACE;

namespace gr
{
   using namespace pegtl;

   struct C;
   struct B : seq< one< '(' >, C, one< '|' >, C, one< ')' > > {};
   struct H : seq< one< '|' >, C > {};
   struct C : seq< sor< B, plus< range< '1','2' > > >, star< H > > {};

}  // namespace gr

int main()
{
   std::string content = "(1|2)";
   std::cout << "Parsing '" << content << "'" << std::endl;
   pegtl::string_input in( content, "from_content" );

   auto result = pegtl::parse< gr::C >( in );

   if(result)
      std::cout << "PARSING OK" << std::endl;
   else
      std::cout << "PARSING FAILED" << std::endl;
   return result;
}

Thank you very much for looking on it.

Thanks for the complete program, now I see the problem. As I suspected earlier, it has to do with the greedy nature of PEGs. When you pass (1|2), what happens is that while parsing B, you need ( (OK), then C, then |. But C is then parsing 1 and C has a star<H>, which then parses |2. Once that has happened, the input consumed is now (1|2 and you still need | and another C before the ). One possible solution is to simplify B to seq<one<'('>,C,one<')'>> as C is intended to already match on 1|2.

Thank you so much, it is clear to me now.


Allow using models with fields of reserved names

I have meta field in my model. Turns out it conflicts with an internal field in wtforms:
File "/home/musttu/Code/virtualenvs/csm/local/lib/python2.7/site-packages/wtforms/form.py", line 119, in process
    formdata = self.meta.wrap_formdata(self, formdata)
AttributeError: 'TextAreaField' object has no attribute 'wrap_formdata'

I could change the field name in database, but I'd rather not. It would be nice to have a workaround on this, maybe mapping the field name as something else in wtforms/Flask-Admin.

Also 'key' field seems to be simply ignored in the UI.

At the very least it seems like this should be documented. I think a more ideal solution is to handle this gracefully in the library, i.e. Flask-Admin shouldn't make assumptions about how columns are named.

Related to wtforms/wtforms#311.

@tuukkamustonen Were you able to find a workaround to get columns named key to show up in the UI? Do you know if it's flask-admin or WTForms that is causing it not to display? I had initially assumed that it was WTForms, since the meta field issue appears to be in that code base (wtforms/wtforms#311).
But, if you look at a PR (wtforms/wtforms#312) I don't see key on the list of "restricted attributes":
_restricted_attributes = [
    'data',
    'errors',
    'meta',
    'validate',
    'populate_obj',
]

Anyone have an idea where key is being dropped and/or have a quick workaround?

Also related to #1179

True, seems like I cannot reproduce the issue with key anymore. Either something has changed or I made a mistake earlier when testing.
Raising exception on reserved field names is a good thing to have, but better would be to support the conflicting field names somehow. Is it possible to mask/map these reserved field names into something else in wtforms (e.g. 'meta' -> 'meta_' or such)?

I discovered that in my case, the db column key was a primary key and thus wasn't being shown in the list or forms by default. This is remedied by by either setting column_display_pk = True or manually setting the list_columns and form_columns on the view class like this:
class ProjectAdminView(ModelView):
    list_columns = ['name', 'namespace', 'key']
    form_columns = ['name', 'namespace', 'key']

In addition, I actually had two primary keys which is a special case as documented in docs/advanced.rst

Flask-Admin has limited support for models with multiple primary keys. It only covers specific case when all but one primary keys are foreign keys to another model. For example, model inheritance following this convention.

Closing this now. But please re-open if it's still a problem.

I want to use flask-admin for an existing table which has a column named meta. Is there any way to make this work?


Count Data  - Poisson Regression Model

Amit and DoWhyTeam.
Could you please advise me on using DoWhy for an aggregated time series data.  if the Data Generating Process follows a poison distribution (i.e. the time series can be approximated by a Poisson Regression Model ).   Will this violate any assumptions in the DoWhy package ?  What would I need to pay attention to.

The critical part will be to define the right causal graph. The time series data provides a natural causal direction X_t-1 -> X_t. Do you have any other side variables?  This notebook used timeseries data but then aggregated it to create row-wise features. Not sure if this helps.
If you provide more details I can provide a more specific answer.

The Data  consists of some 3200 entries.  It contains the following variable
Month
Crime_Count,
Location
Count_of_Preemtive_Action.
The causal analysis I would like to do is:   I want to asses the impact of the Pre-emptive actions  on crime measured as crime count per month.   Does more pre-emptive action count in a given month lead to lower crime count.

Amit and team,
Any input on the above data?  the policy is not binary and so I am a bit worried about using propensity scores

Amit,
Thank you for the prompt reply.    As you suggested here is the data and I would appreciate your inpu on using DoWhy with this data.
Also, I agree,  the time-series data  has a time related causality. However, in my case, the natural time-series causal direction X_t-1 -> X_t can be  represented by the variable named "policy"  indicating the policy pursued at what time.     Basically time blocks represented by policy in place for that time period.  Please see the plot below
The Data
Month of Year:  Month of Year
Crime_Count:  Count of fatal crime incidents of an attack by a criminal organization
Fatalities: fatalities resulting from the criminal attack
Location:   location of the incident / area
Policy: : variable indicates the policy used against the criminal organization and produces the count of Anti_Crime Action.
AntiCrime_Count  : This variable  is a count_of preemtive security force action against criminal organizations.

Here is what the count data looks like

Causal Modeling
I would like to  asses the impact of the preemptive actions  on crime.   I would like to use the AntiCrime_Count to see its impact on crime count per month.   My ultimate goal is to know if and by how much does preemptive action in  a given  location reduces the  crime count and fatalities.

row-wise features.

Regarding the notebook you shared ,  I am not quite sure what you mean by row-wise features.

The critical part will be to define the right causal graph. The time series data provides a natural causal direction X_t-1 -> X_t. Do you have any other side variables?  This notebook used timeseries data but then aggregated it to create row-wise features. Not sure if this helps.
If you provide more details I can provide a more specific answer.

Amit,
I am not quite sure what you mean by "row wise features"  in your statement about the notebook you said " This notebook used timeseries data but then aggregated it to create row-wise features. Not sure if this helps."


How to cite Hidimstat ?

From my experience, I saw projects proposed how to cite their scientific packages.
From what I look, they use Zenodo (https://zenodo.org/ ) to archive their project and provide a dio with a reference for citation.
However, if we provide this type of citation, the authorship can be a source of conflict.

Ideally, we would like to issue a paper on the software (eg in joss), to get citations.


Add full annotations to the python code

Add more to doc strings, i.e.
:param xxx: description
:return description

ah, type hinting


set networkx<2.7

Changes

set networkx<2.7
link asdf docs to version 2.9.2

CSM graph plotting error with networkx 2.7 see https://github.com/BAMWelDX/weldx/runs/5389199108?check_suite_focus=true#step:8:75
Checks

[x] updated CHANGELOG.rst

There is indeed a bug in the label drawing function of networkx. The function expects the labels to be a dictionary of len(edges) or none, but that is not really being checked. I suggest, that we do not pass empty dicts to networkx, but just none, in case the labels are not set.

There is indeed a bug in the label drawing function of networkx. The function expects the labels to be a dictionary of len(edges) or none, but that is not really being checked. I suggest, that we do not pass empty dicts to networkx, but just none, in case the labels are not set.

Good to know, thank you. The proposed fix sounds like a good solution for now if possible
I think we should take another look at the graph drawing functions and try again to base them on graphviz at some point
I gave it a little try and the the setup with conda seems to work easy now using graphviz pygraphviz stack

Why merge it without a review then? I just prepared the workaround :D

Regarding graphviz, I just saw a comment of the main networkx developer saying that the conda support for graphviz is horrible and upstream refused to fix the situation. Eventually we want to reconsider this.

https://github.com/networkx/networkx/issues/4552

I did a quick test with mamba install graphviz pygraphviz -c conda-forge and it worked (even on windows!)
It was really inconsistent in the past to get running which was also one of the main reasons why we decided not to depend on it but I think this looks like it has changed
Since we do have quite a few graphs to draw I think it is worth looking into again

Why merge it without a review then? I just prepared the workaround :D

Sorry I was a bit in a hurry :/
feel free to undo in a PR with the workaround


dateRanges returning empty list

Hello,
I tried the dateRanges endpoint and it always returning empty list. (but it works)
I have all access to the reports with Adobe IO console account and I do have some custom dateRanges set in the UI.
I tried to check with the UI and they are using a different endpoint.
I used this endpoint : https://analytics.adobe.io/api/{company_id}/dateranges
is there anything I am missing to retrieve the elements ?

Are you using JWT authentication? Does your user have any date ranges that you have created in the UI? The following github issue has more information about what I suspect you are seeing: https://github.com/AdobeDocs/analytics-2.0-apis/issues/67
If you add the ?includeType=shared query string parameter to your request do you get date ranges back?

Hello,
yes this solves the problem.
I did "?includeType=all", it solved the problem. It wasn't notified in the documentation (swagger) so I missed it. (You need to be admin for that though)
it is explained in the segment.
Thanks for the quick answer.

I will update the dateranges swagger docs for dateranges with the includeType parameter


Fix writing integer variables with float bounds

Closes #77

julia> using JuMP

julia> import MiniZinc

julia> model = Model(() -> MiniZinc.Optimizer{Float64}("highs"))
A JuMP Model
Feasibility problem with:
Variables: 0
Model mode: AUTOMATIC
CachingOptimizer state: EMPTY_OPTIMIZER
Solver name: MiniZinc

julia> @variable(model, 1 <= x[1:3] <= 3, Int)
3-element Vector{VariableRef}:
 x[1]
 x[2]
 x[3]

julia> @constraint(model, x in MOI.AllDifferent(3))
[x[1], x[2], x[3]] ∈ MathOptInterface.AllDifferent(3)

julia> @objective(model, Max, sum(i * x[i] for i in 1:3))
x[1] + 2 x[2] + 3 x[3]

julia> optimize!(model)

julia> @show value.(x)
value.(x) = [1.0, 2.0, 3.0]
3-element Vector{Float64}:
 1.0
 2.0
 3.0


Some logical and copy/paste issues found fixed.

Please check some changes because what could be reasonable from a logical point of view breaks the expected functionality desired by the software.
I also saw several issues in 3rd party libraries code but they should be fixed in each respective library repo.

Travis failed 1 out of 2 due to some linking issues. Please can you check?

The linking issue is random, but I know it doesnt come from your changes so it won't be a problem. (But you can restart the build and it should work). I'll check your fixes when I get home.