[Distributed] Bump torch version

Distributed inference (pipeline parallel part, to be specific) requires two features landed in pytorch nightly:

[Pipelining] Make PipelineStage support meta initialization

[Pipelining] Allow non-0 stages to accept kwargs

Thus bumping the torch version to 2.6.0.dev20240925.
Tested locally.
Cc: @Jack-Khuu @lessw2020

Vision and PT being on the same nightly pin usually solves this

I'll also be bumping the version over on ExecuTorch https://github.com/pytorch/executorch/pull/5549
I can match you at 925

@metascroy Wondering if you could have a look at the CI issue? Thanks!

@metascroy Wondering if you could have a look at the CI issue? Thanks!

At an initial glance, I'm not sure why it is failing.  I'll investigate more after lunch, but I'm wondering if PyTorch changed how custom ops work in the pin bump.

Cc @zou3519 any recent changes in custom op support that may be relevant to the CI failure here?

Maybe @jerryzh168 ?

@metascroy Wondering if you could have a look at the CI issue? Thanks!

At an initial glance, I'm not sure why it is failing. I'll investigate more after lunch, but I'm wondering if PyTorch changed how custom ops work in the pin bump.

@kwen2501 I figured out the issue.
ExecuTorch uses PyTorch 9/1, so when ExecuTorch installs, it installs 9/1 and the two different PyTorch versions cause an issue.  In https://github.com/pytorch/torchchat/pull/1235/, I bump the PT pin, but remove the ET parts of the test and it passes.
So before PT pin can be updated, it needs to be updated in ET first and the PT/ET pin then need to be updated together in torchchat cc @Jack-Khuu

Thanks @metascroy !

I'll also be bumping the version over on ExecuTorch pytorch/executorch#5549
I can match you at 925

@Jack-Khuu Looks like this bump here needs to wait for your bump in ET to land first :)

Unified pin bump https://github.com/pytorch/torchchat/pull/1269


Runtime mutation of option in Argument Group

Context:
Similarly to issue 736 I would like to manage my options in runtime. What differs from issue 736 is that my options are wrapped in an Argument Group.
Problem:
Applying the same solution I end up with the following error:
Exception in thread "main" java.lang.UnsupportedOperationException: Cannot remove ArgSpec that is part of an ArgGroup
	at picocli.CommandLine$Model$CommandSpec.remove(CommandLine.java:6301)

The command CommandSpec explicitly  prevents from excluding options that are part of an Argument Group.
public CommandSpec remove(ArgSpec arg) {
    if (arg.group() != null) {
        throw new UnsupportedOperationException("Cannot remove ArgSpec that is part of an ArgGroup");
    }
...

Accessing the options from the Argument Group doesn't seem to do the trick either since the list is immutable.
/** Returns the list of options configured for this group.
* @return an immutable list of options in this group. */
public List<OptionSpec> options() {
...
    return Collections.unmodifiableList(result);
}

Currently, I can't see a workaround to accomplish the same result as in<PHONE_NUMBER>99.
Solution:
Would be nice to be able to use remove for options in ArgGroups. Even if it would be necessary to provide both option and group or remove directly from group itself.
Similarity to remove, would like to accomplish the same for the add.

I can see how this could be useful.
Will you be able to provide a pull request for this?

I will give it a try during the weekend.


Question about distribution license

First, thank you very much for this fantastic research and work!
I recently read your paper and then find this repo. In our open source project (https://github.com/sepinf-inc/IPED) we have some audio transcription implementations using remote Microsoft and Google services and a local one using Vosk library and models for en/pt-BR.
We are thinking about writing an implementation using your sample code and pre-trained models, since we have to deal with sensitive data from ongoing real world police investigations, so sending data to remote services is a real concern, and our local vosk implementation accuracy is, well, not so good...
So I would like to kindly ask you about the license terms of your sample code and models because I didn't find them. Actually we don't intend to distribute your models directly because they are very big, but to integrate an implementation code (based on your samples) and to point users to your repo so they could download the pre-trained pt-BR models directly from you.
Of course, we will give all credits you deserve for this awesome work!
Thank you in advance!
Luís Nassif

Thank you, I am glad to help.
I added a LICENSE to the project, you can now use the provided models without any concerns.
I would suggest you to have a look to the models at the Hugging Face hub, it should be easier to integrate the Hugging Face API with your project. And also, if you need to work with spontaneous speech, I would recommend to use this model.

Great! Thank you very much for this clarification. And congratulations again for this work!


Pass environment variables to compile phase of a Java function container

Is this a BUG REPORT or FEATURE REQUEST?:
FEATURE REQUEST
What happened:
Passing environment variable using --env command line argument doesn't propagate these variable to compile phase. This is essentially required to pass command line arguments to mvn command.
What you expected to happen:
Environment variable passed using --env command line argument must be available or injected to compile phase of Java function
How to reproduce it (as minimally and precisely as possible):
Pass environment variable --env FOO=BAR to a Java function and edit the function deployment file and check compile phase. environment variable FOO=BAR is not passed
Anything else we need to know?:
No
Environment:

Kubernetes version (use kubectl version):

Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.3", GitCommit:"2bba0127d85d5a46ab4b778548be28623b32d0b0", GitTreeState:"clean", BuildDate:"2018-05-21T09:17:39Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"windows/amd64"}
Server Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.3", GitCommit:"2bba0127d85d5a46ab4b778548be28623b32d0b0", GitTreeState:"clean", BuildDate:"2018-05-21T09:05:37Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}

Kubeless version (use kubeless version):
Kubeless version: v1.0.0

Cloud provider or physical cluster:
Using kubernetes on docker edge channel for windows.

Can a PR be submitted for this?

Yes @dheerajjoshim, were you thinking on working on this? Note that the code for runtimes have been moved to https://github.com/kubeless/runtimes

@andresmgot  Yes we are considering kubeless seriously for deployment and this issue is blocking us to use Java functions behind proxy and we need to consider other serverless technologies. So i was hoping i can submit a PR and it can come in next release.
Is there a page explaining how to set up local code base for development environment?

You can take a look to:
https://kubeless.io/docs/dev-guide/ and
https://github.com/kubeless/runtimes/blob/master/DEVELOPER_GUIDE.md
Let me know if you have any question

I did follow these instructions. Unfortunately I am using Windows machine and make bootstrap command actually fails in cygwin. For my PR i had to borrow a Linux machine to get it to work.
So it's kind of hard to get this working on Windows. I am not sure if any one tried to deploy it in Windows

Yes, unfortunately I have never tried in windows. Maybe you can try to manually install the tools that are specified in the bootstrap task?

This is merged with https://github.com/kubeless/kubeless/pull/1030


play-json version is old

The version of play-json used by this library is 2.3.10. If you intend to continue maintaining this library, I'd suggest upgrading to the most recent version (currently 2.6.1).
It would also be useful to add scala 2.12 support and update scalatest to 3.x.

There is an updated fork of this library that supports Scala 2.12 and newer dependencies.
https://github.com/sauldhernandez/autoschema


lxc/image: Add support for directly getting, setting and unsetting im…

…age properties
Signed-off-by: Tate Song<EMAIL_ADDRESS>Fixes #7450

This pull request didn't trigger Jenkins as its author isn't in the whitelist.
An organization member must perform one of the following:

To have this branch tested by Jenkins, use the "ok to test" command.
To have a one time test done, use the "test this please" command.

Those commands are simple Github comments of the format: "jenkins: COMMAND"

Looking good, just that one tiny nit and you should also run make i18n and commit what that changes with git commit -a -s -m "i18n: Update translation templates" po/.

jenkins: test this please

Thanks!

Testsuite passed


socket.bind() + bound address becomes unavailable + query = indefinite hang

BTW thanks for this module.
If you socket.bind() to a local address, and then the interface becomes unavailable (ie. network goes down, network interface no longer available, cable unplugged, etc), and you then run a query, the query will hang indefinitely.
Example:
'use strict';

const dnsSocket = require('.')
const socket = dnsSocket({retries: 0, timeout: 5000});

// bind to some local address, <IP_ADDRESS> in this case, adjust accordingly
new Promise(function (fulfill, reject){
    socket.on('error', reject);
    socket.on('listening', fulfill);
    socket.bind(null, '<IP_ADDRESS>');
})
// do something like unplug your network cable
// to make the bound address --> EADDRNOTAVAIL
.then(function(){
    console.log('socket bound');
    console.log('to reproduce, kill your network connection within the next 5 seconds');
    return new Promise(function(resolve, reject) {
        setTimeout(resolve, 5000);
    });
})
// make a query, it'll hang indefinitely
.then(function(){
    console.log('making socket query, should hang indefinitely');
    return new Promise(function(resolve, reject) {
        socket.query({
              questions: [{
                type: 'A',
                name: 'google.com'
              }]
            },
            53,
            '<IP_ADDRESS>',
            function(err, res){
                if (err) return reject(err);
                resolve(res);
            }
        );
    });
})
.then(function(res){
    console.log('got response', res);
    console.log('all done, destroy socket');
    socket.destroy();
})
.catch(function(err){
    console.log('caught error', err);
    socket.destroy();
});

Output:
socket bound
to reproduce, kill your network connection within the next 5 seconds
making socket query, should hang indefinitely

To reproduce, you'll need to:

replace '<IP_ADDRESS>' with your local IP address
unplug your network cable/kill your network connection when prompted

I think I see the issue, PR incoming.

Actually the easiest way to reproduce the indefinite hang is to simply send a query to a non-routable IP address such as <IP_ADDRESS>:
'use strict';

const dnsSocket = require('.')
const socket = dnsSocket({retries: 0, timeout: 5000});

return new Promise(function(resolve, reject) {
    socket.query({
          questions: [{
            type: 'A',
            name: 'google.com'
          }]
        },
        53,
        '<IP_ADDRESS>',
        function(err, res){
            if (err) return reject(err);
            resolve(res);
        }
    );
})
.then(function(res){
    console.log('got response', res);
    console.log('all done, destroy socket');
    socket.destroy();
})
.catch(function(err){
    console.log('caught error', err);
    socket.destroy();
});

Nevermind this issue, it can probably be closed :) I didn't wait long enough. dns-socket was still doing retries under the hood and it did eventually time out, even though I did specify 0 retries, 0 is falsey, and thus in the options will still default to 5, i.e:
const socket = dnsSocket({retries: 0, timeout: 5000});

I'll submit a PR that immediately fails if socket.send() callback has an error, but no worries if you'd prefer not to merge it.

Option parsing should be improved to support a 0 value on numeric values. Not sure I agree with immediately failing on socket.send, some errors should be retried, some not, but it's not really easy to distinguish. I'd rather walk on the safe side and retry always.


module 'superset.views.core' has no attribute 'TableColumnInlineView'

Make sure these boxes are checked before submitting your issue - thank you!

[x] I have checked the superset logs for python stacktraces and included it here as text if any
[x] I have reproduced the issue with at least the latest released version of superset
[x] I have checked the issue tracker for the same issue and I haven't found one similar

Superset version
Superset 0.17.1
Expected results
When i check table column Groupable (or Filterable etc. ), but failed with AttributeError: module 'superset.views.core' has no attribute 'TableColumnInlineView'.
Actual results
Traceback (most recent call last):
File ".virtualenvs/py360/lib/python3.6/site-packages/superset/views/core.py", line 107, in wraps
return f(self, *args, **kwargs)
File ".virtualenvs/py360/lib/python3.6/site-packages/flask_appbuilder/security/decorators.py", line 52, in wraps
return f(self, *args, **kwargs)
File ".virtualenvs/py360/lib/python3.6/site-packages/superset/views/core.py", line 1237, in checkbox
model_view_cls = getattr(views, model_view)
AttributeError: module 'superset.views.core' has no attribute 'TableColumnInlineView'
Steps to reproduce
open Sources -> Tables -> edit a table -> List Table Column -> check Groupable or Filterable etc.

v0.15.4 is ok.

Yeah this looks like a regression from the connector rework. @mistercrunch i've tried to get the view from the flask blueprint registry but surprise i get only blueprints from there and not the actual view class. Should we add a list of related view to the datasource model or we should add a new item in the config like we do for datasources?

Should be fixed in
https://github.com/airbnb/superset/commit/59d5fcf88c0f484a189c7f02968982b2d39512ad


Uniform use of folder and directory

Words "folder" vs. "directory" should be uniform. Technically, "folder" is different from "directory" (folder may be a physical or a virtual folder, whereas directory is always physical directory in a file system).

Decision upon term needed!

Currently we consistently use folder.


500 Internal Sever Error when versioning a work.

Descriptive summary
This problem exists in the Hyrax master branch and I assume all other branches derived from it. The bug is that there is a 500 internal server error being thrown when attempting to version an ingested work. Inspecting the logs showed that there was an ArgumentError (wrong number of arguments (1 for 2)) for the method #ingest_file in the file_actor. This method is being called from the file_sets_actor and only calling it using one argument instead of the two that it requires.
Here is the link to the line that is faulty.
https://github.com/projecthydra-labs/hyrax/blob/master/app/actors/hyrax/actors/file_set_actor.rb#L89
Rationale
As a user, I would like to version my work if continued work is being done on an ingested item.
Expected behavior
When a work is versioned, it should ingest a new work, with updated information about that work. A user should be able to see the older and newer versions of a work and follow how many times it has been edited and updated.
Actual behavior
500 Internal Server Error
Steps to reproduce the behavior

Ingest a work.
Version the work.

Once we have a PR for this in master, we should backport a fix to 1-0-stable.
Thanks for reporting, @straleyb!

This appears to be fixed by this commit db874069fb0d5586109c1f404c21e36195f3f4b3

Thank you, @jonathandixon. I just backported this to 1-0-stable: https://github.com/projecthydra-labs/hyrax/pull/1004
I'm closing this. Pls re-open if you're still seeing this behavior.


Support removing "Screen" controls on zhimi.airp.mb5

Describe the idea or improvement
I just set up zhimi.airp.mb5 device on homebridge, but somehow I can't remove "screen" brightness toggles.
If there's feature about removing screen brightness toggles in home bridge, it will be nice
Describe the solution you'd like
Add some configurable option for screen brightness
Additional context
"ledControl": false doesn't do anything.

Did you check the docs? https://github.com/merdok/homebridge-miot/blob/main/docs/airpurifier.md
There is a screenControl and i guess this is what you are looking for, right?

I noticed that so i just write that on config. Thanks.

I think i just missed that config as gui config doesn't represent default value. (it should be checked. I think?)


Table name autocomplete broken in SQL Lab

Currently table names are not added to autocomplete in SQL Lab
How to reproduce the bug

Go to SQL Lab
Choose the Examples database and related schema (Pubic for Postgres)
Check a name of a table ("Flights" should be present)
Type "select * from Fli" in the Editor and notice that "Flights" doesn't appear in the dropdown

Expected results
All table names should be added to the autocomplete dropdown
Actual results
No tables are visible in the autocomplete dropdown
Screenshots
In the database, we see that the table "Flights" is present:

However, the table isn't available in the autocomplete dropdown:

Environment
(please complete the following information):

browser type and version:
superset version: master
python version: Python 3.8
node.js version: Node 16
any feature flags active:

Checklist
Make sure to follow these steps before submitting your issue - thank you!

[ ] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[ ] I have reproduced the issue with at least the latest released version of superset.
[ ] I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context
Add any other context about the problem here.

Same problem on master branch, rollback to 1.4.1 solved this problem.
When you doing this, pls remember to downgrade database:
superset db downgrade 32646df09c64


Fix misaligned arguments in super() constructor call

Fixes https://github.com/zipzou/hf-multitask-trainer/issues/5 by adding keyword arguments to the constructor. Also did some minor refactoring.

Good job！！ But I think it is better that all the codes are reformatted with yapf according to the .style.cfg. This could reduce the diff and keep the style consistent with before.
Well, I would pull these changes, reformat and review them later. If you have more free time to reformat codes, just make a new submission or PR.
Thanks for your time!

I think it is better that all the codes are reformatted with yapf according to the .style.cfg. This could reduce the diff and keep the style consistent with before.

I see. I don't use this reformatting tool, and instead I try to manually adhere to the usual style used by the HuggingFace team. I have to admit that some of the formatting in your code is quite strange (and hard to read) to me, to the point that I've never seen anyone style Python like it. It reminds me of Java, but Python is not Java ;-)
Up to you how you want to resolve this. I'm obviously not going to re-format code in a style I don't know :P


scipy-integrate not working and unit test failing

Hello.

Windows 10 x64

Nodejs v8.5.0

Anaconda3-5.0.1-Windows-x86_64.exe  setuped

PATH variable has %userprofile%\Anaconda3

node scipy-integrate

Python test

(scipy-node)  npm test

i have the same problem :/


TypeError: 'PosixPath' object is not subscriptable while setting up Waymo Open Dataset

I was attempting to run the command to setup Waymo Open Dataset but I ran into the error:
TypeError: 'PosixPath' object is not subscriptable

Looks like it's a simple fix of changing the line:
https://github.com/open-mmlab/OpenPCDet/blob/a7cf5368d9cbc3969b4613c9e61ba4dcaf217517/pcdet/datasets/waymo/waymo_dataset.py#L73
To
sequence_file = Path(str(sequence_file)[:-9] + '_with_camera_labels.tfrecord')

Seems like the change from path to pathlib made it so the Path object is not subscriptable anymore.

Thank you! I notice this bug recently and fix it. We haven't tested on this fragment of code before. Sorry for late reply.


Local mapping + planning investigation

Few thoughts on this

Would potentially replace fusion node (https://github.com/QUT-Motorsport/QUTMS_Driverless/issues/167)
SLAM tracks lidar cones, vision maps colours onto them in the same way
Local map to track only things in cars FOV
As car passes pairs of cones, they could be popped off in order - then we have an order for track boundaries without computation
Could also get a local midline to follow on first lap - which gets sent to the controller for a local look ahead waypoint

Delaunay triangulation.
https://blogs.mathworks.com/student-lounge/2022/10/03/path-planning-for-formula-student-driverless-cars-using-delaunay-triangulation/?source=15571&s_eid=psm_15571
KA RaceIng path planning (3:38)
https://www.youtube.com/watch?v=-NvZdvD-3wM&list=PLfkYTifHTw-foWXHFhT95gNP3sOostBX8&index=7
Possible approach is to create an ordered list of cones (x,y,col) as the car passes them on the map. It would 'pop' off mapped cones if the position of cones with respect to car is <0 and add them to the ordered list.
Delaunay triangulation and centreline calculation on cone ordered list.
Testing:
Check latency of map update + evalute path planning speed - will we need to update path every map update?


Fix typos in logging output

Fixes some typos in logging output when running "sane new..."

Thanks!


python311Packages.scikit-build-core: 0.5.1 -> 0.7.0

Description of changes
Routine update.
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

@ofborg build python310Packages.scikit-build-core

I guess we need to add -W ignore::UserWarning to pytestFlagsArray for python=<3.10.

Result of nixpkgs-review pr 277769 at ae384d40 run on x86_64-linux 1

23 packages failed to build:

python310Packages.atomman
python310Packages.awkward
python310Packages.awkward-cpp
python310Packages.boltztrap2
python310Packages.coffea
python310Packages.correctionlib
python310Packages.dask-awkward
python310Packages.iminuit
python310Packages.laspy
python310Packages.laszip
python310Packages.lightgbm
python310Packages.mplhep
python310Packages.phonopy
python310Packages.pymatgen
python310Packages.scikit-build-core
python310Packages.seekpath
python310Packages.shap
python310Packages.spglib
python310Packages.sumo
python310Packages.uproot
python310Packages.vector
python311Packages.lightgbm
python311Packages.shap

21 packages built successfully:

bitbake-language-server
professor
python311Packages.atomman
python311Packages.awkward
python311Packages.awkward-cpp
python311Packages.boltztrap2
python311Packages.coffea
python311Packages.correctionlib
python311Packages.dask-awkward
python311Packages.iminuit
python311Packages.laspy
python311Packages.laszip
python311Packages.mplhep
python311Packages.phonopy
python311Packages.pymatgen
python311Packages.scikit-build-core
python311Packages.seekpath
python311Packages.spglib
python311Packages.sumo
python311Packages.uproot
python311Packages.vector

@natsukium I've restored part of the previous postPatch to address this, but could also change pytestFlagsArray if preferred.


[QUESTION] How to set local path?

I have folder full of GGUF models. How can I run server or cli with path to model in my folder? I don't want to download them again.
Beside that, is it possible to set path to custom local folder so I can list my previously downloaded models with nexa list?
OS
Ubuntu
Python Version
No response
Nexa SDK Version
<IP_ADDRESS>
GPU (if using one)
No response

We will support this option in our next release, now we support using our default downloadable path or huggingface url.

I regret to say the running for the models from your local path is currently not directly supported. However, currently there is a way to reach similar purpose:
Upload your .gguf models to our on-device AI model hub (https://nexaai.com/models) in your personal repo. Then you will be able to run it on nexa-sdk with command nexa run <username>/<repo_name>:<tag_name>. Note that one model tag should exactly correspond to one quantization version of your model.
The feature to support local running will be supported very soon in our next release. Please keep yourself updated.

Thank you for answer. I will use python interface for now. It would be drop-in replacement for my other code relying on OpenAI compatible endpoint using your server, but this is also viable.

Hi,
I'm delighted to inform you that your feature request has been fulfilled in #151 . Now you only need to wait for our new release (<IP_ADDRESS>), for all use cases: cli, python interface, server, streamlit, and for all inference types.
Note that to run model with local path in cli, -lp (--local_path) and -mt (--model_type) are both required. Refer to our updated cli readme for detailed instructions: .
Thank you.

Fantastic! You guys are great. Thank you.

https://github.com/NexaAI/nexa-sdk/releases/tag/v<IP_ADDRESS>


Example projects link in README.md is broken

The link to the example projects at the bottom of the README.md file is broken.  I get a GitHub 404 when I try to access it.

Fixed in master by removing broken link and clarifying the text talking about the examples.

Thanks for the quick update. :)


Add support for ssl2,ssl3,tls,tls11, and tls12  - I don't want to merge any commits from staging to master... .Just don't know how to use github... LOL

I just jumped into my local code base of MailSniper and added this before every Invoke-WebRequest:
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Ssl3 -bor [Net.SecurityProtocolType]::Ssl2 -bor [Net.SecurityProtocolType]::Tls -bor [Net.SecurityProtocolType]::Tls11 -bor [Net.SecurityProtocolType]::Tls12

Been useful for engagements where the client has had older systems in play.

Please re-test with the latest PRs that were just added.

It looks like it's connecting to exchange servers with older SSL..  I did notice when trying to run Invoke-UsernameHarvestOwa, I was getting the following errors:
Invoke-WebRequest : The custom error module does not recognize this error.
At line:3400 char:21
+ ... $owalogin = Invoke-WebRequest -Uri $OWAURL -Method POST -Body $POSTpa ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
Invoke-WebRequest : The custom error module does not recognize this error.
At line:3406 char:21
+ ... $owalogin = Invoke-WebRequest -Uri $OWAURL -Method POST -Body $POSTpa ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

My PR looks fixed now, but you may have a new issue.

Thanks for fixing your PR.
Is this error a result of the recent merges?
If the error persists, please open a new Issue ticket and include the syntax that you used.

@nullg0re can you resubmit this PR to go to the master branch please? @leebaird would you agree?


Upgrade the config system to use Hydra

@anthonysimeonov For refernce, with this system runs can be launched like so:
Feature-based:
python -m src.train.bc +experiment=feature_training rollout=rollout wandb.project=baselines data.data_subset=50 demo_source=teleop [any other options]

End-to-end:
python -m src.train.bc +experiment=image_training data.data_subset=50 wandb.project=
baselines data.augment_image=true demo_source=teleop rollout=rollout [any other options]


Regarding "predict_hallucination_mt.py"

I tried to run the  predict_hallucination_mt.py file by downloading the pre-trained xsum model. But when,
xlmr = XLMRModel.from_pretrained(
model_path,
checkpoint_file='checkpoint.pt'
data_name_or_path=datapath
)
is called,
a key error occurs as follows,
KeyError: 'token_prediction'
Can you please advice me on this issue?

@vijini Fisrt, create a new conda environment or pipenv for this repo . Then, follow the README.md or  description in this link https://github.com/violet-zct/fairseq-detect-hallucination/issues/1#issuecomment-1073051054


[BUG] : social links in footer

✏ Describe the bug
the social links in the footer can be converted into icons
📸 Screenshots

i would like to work on this 😄

ok go on :heart_eyes:

NOTE:- the images should be white and should match the looks of the website


How i do whem i dont have the UUID?

Hello, There!
First, thanks for the library!
So, what do I do if I don't have the device's UUID? I'm now starting to study Bluetooth and from what I've seen, not all classic devices have UUID, I could be mistaken.
Thanks!

Hey,
Unfortunately you need a UUID in order to establish the connection. Each device can expose multiple UUIDs depending on the services they support (serial, audio). These UUiDs can either be customized (created by you for the specific use case), or you can also use the ones that are part of the spec. Usually a device should at least support the serial profile UUID (00001101-0000-1000-8000-00805F9B34FB), but I could be wrong.
If the device doesn't support any UUIDs, then you would not be able to connect to it using this library (or any implementing the Bluetooth standard)

Oh no problem then, I'm trying to connect a weight scale and I don't have the manufacturer's documentation for it.
Thank you for your help!


No more "Discussions"?

I recall there being a "Discussions" tab on this repository. There was quite a bit of insight in some of those threads, and I'm curious if there's a replacement 'community' of sorts.
For example; I'm trying to figure out how to get the validity period and subject of a certificate, but I'm not having much luck finding out which cmdlet to use to get that.
If you could direct me to the new forum, it would be much appreciated :)
Thank you, and keep up the wonderful work! :)

I’m not sure about the discussions tab in here, but I might recommend you post within the Venafi Community at https://community.venafi.com - there are quite a few people who watch and respond to the Q&A forums over there

@HFS-CG sometimes discussions got lost in the email shuffle so feel free to use the issues section.


Bootstrap v4.4.1 collapse doesn't work with jQuery v3.5.0

It is related to https://github.com/twbs/bootstrap/issues/30553
This is a problem with DNN 9.6.
Because there is no way to update jQuery (I think an update to 3.5.1 might fix it) with DNN (or none I could find), I went back and am using DNN9.5
Steps to reproduce

Access website in responsive mode
Clicking on toggle button doesn't open the menu and produces the following error:

bootstrap.min.js?cdv=35:6 Uncaught TypeError: Cannot convert object to primitive value
at RegExp.test ()
at HTMLDivElement. (bootstrap.min.js?cdv=35:6)
at Function.each (jquery.js?cdv=35:2)
at s.fn.init.each (jquery.js?cdv=35:2)
at s.fn.init.a._jQueryInterface [as collapse] (bootstrap.min.js?cdv=35:6)
at HTMLDivElement. (bootstrap.min.js?cdv=35:6)
at Function.each (jquery.js?cdv=35:2)
at s.fn.init.each (jquery.js?cdv=35:2)
at HTMLButtonElement. (bootstrap.min.js?cdv=35:6)
at HTMLDocument.dispatch (jquery.js?cdv=35:2)
`
| (anonymous) | @ | bootstrap.min.js?cdv=35:6
-- | -- | -- | --
  | each | @ | jquery.js?cdv=35:2
  | each | @ | jquery.js?cdv=35:2
  | a._jQueryInterface | @ | bootstrap.min.js?cdv=35:6
  | (anonymous) | @ | bootstrap.min.js?cdv=35:6
  | each | @ | jquery.js?cdv=35:2
  | each | @ | jquery.js?cdv=35:2
  | (anonymous) | @ | bootstrap.min.js?cdv=35:6
  | dispatch | @ | jquery.js?cdv=35:2
  | v.handle | @ | jquery.js?cdv=35:2
`
Current behavior
Toggle menu doesn't work
Expected behavior
Toggle menu should work. This works in 9.5 I tested this with the Xcillion theme, so it's not theme related.
Error information
See above
Affected version

[ x]  9.6.0 latest supported release

Affected browser
All

jQuery 3.5.0 is the latest release, unfortunately bootstrap will need to adapt to it due to a breaking change in jQuery. It looks like it is on the Bootstrap 4.4.2 roadmap here https://github.com/twbs/bootstrap/pull/30559 and we can update it when that is released.

A bit more insight can be found here too:
https://github.com/twbs/bootstrap/issues/30553

@micahsdad1402 thanks for reporting this.  Since this is related to Bootstrap support for jQuery 3.5.0 and not DNN directly, we’ll go ahead and close this issue.


Change repository name to "amazoncaptcha"

The name of the repository should be updated to amazoncaptcha.
This will require updating all the links within the repository to exclude any incompatibilities.

Done.


plugin doesn't share with latest BB<IP_ADDRESS>3

Hi
We are trying to make a small app that would require p2p communication between phones. The plugin is working fine on Android 4.4.2, but we're having problems on BB10.
The first problem was that every time we tried to share data, the Evernote application popped up. This was finally solved by making a small change in the phonegap-nfc-blackberry.js file. Based on the information found on http://developer.blackberry.com/native/documentation/core/nfc.html we added an additional "target" : "sys.NFCViewer" parameter to the data passed to the blackberry.invoke. After that BB's NFC sharing screen appeared, however it displayed that the NFC content had no data in it, and subsequently showed a "Failed to prepare data to share." error message. (http://oi57.tinypic.com/2hebre8.jpg)
After this we checked out the https://github.com/don/phonegap-p2p demo application, hoping to figure out what the problem was, but it also wasn't working properly. When we clicked the "Share Message" checkbox a JS alert appeared with the text "Failed to share tag undefined."
Aside to these, another interesting behaviour was that when we attached the addNdefListener, both the error and the success handlers were executed.
The strange thing is, the plugin seems to be able to properly handle incoming messages, it only has an issue with sharing them. Also, it is a bit problematic that the success handler for the share is called right when the BB NFC screen is displayed.
Is there any chance you could have a look at these issues?
Cheers

Any chance you can isolate your code down to a replicatable test case so we can attempt to emulate locally?
If I attempt to run the phonegap-p2p on a BB device it wont function as expected?

I tried it as well. I had to delete the platforms/blackberry10 and add again to make it install.
(cordova platform add blackberry10)
The installation was success but it doesn't work as expected. It can receive message from an android device, but can't send anything. JS error:  "Failed to share tag undefined."

There isn't much to isolate, really:
'use strict';

app.controller('Controller', function() {
	$scope.triggerShare = function() {
		nfcHandler.share("payload");
	}
});

var nfcHandler = (function() {

	function share(message) {
		c.log("sending message '" + message + "'");

		var payload = [
            ndef.textRecord(message)
        ];
		c.log("a");
        nfc.share(payload, function() {
    		c.log("should stop sending message '" + message + "'.");
        }, function() {
        	c.log("nfc sharing failed...");
        });
		c.log("finalized sending message '" + message + "'");
	}

	return {
		share : share
	};
})();

This code part is responsible for sending out the message. It works fine on Android, but fails in BB10. But the functionality is wrong for the demo app as well:

It looks like something changed with the BB10 API . I tried with BlackBerry WebWorks <IP_ADDRESS> and a Z10 with <IP_ADDRESS>62
var success = function() { console.log("success"); };
var failure = function(reason) { console.log("error " + reason); };
var message = [ ndef.textRecord("hello") ];
nfc.share(message, success, failure);

If you get this working, submit a pull request.

I was missing the invoke plugin
cordova plugin add com.blackberry.invoke

Now I see the behavior that you mentioned.

It's not clear what webworks wants for the data parameter. Previously the bytes were encoded in a string.
See http://developer.blackberry.com/html5/documentation/v2_2/nfc.html "Sharing NDEF messages".
Hopefully the encoding can be adjusted to get this working again.

@mosonyi  what do you mean by "The config.xml should be edited to add a valid author tag."? Do you have an example of what should be added?

I can't get webworks to accept generic NDEF bytes or find any examples of code using application/vnd.rim.nfc.ndef to write generic NDEF messages. I'm not sure why this broke.
As a work around you could use blackberry invoke directly if you're only sending one text record or one uri record.
Plain Text
query = {
    "action": "bb.action.SHARE",
    "type": "text/plain",
    "data": "hello, world",
    "target": "sys.NFCViewer"
};
blackberry.invoke.invoke(query, success, failure);

URI
query = {
    "action": "bb.action.SHARE",
    "uri": "http://cordova.io",
    "target": "sys.NFCViewer"
};
blackberry.invoke.invoke(query, success, failure);

@mosonyi @firefoxpdm If you find code examples or more info, please post here.

blackberry.invoke.invoke was encoding the data incorrectly. Encoding the data with btoa and using cordova.exec for invoke seems to work. There's still an issue with both callbacks being called #173


removed the update column in the main requests table

Issue Reference
This PR addresses the Issue : Fixes #
Summarize
Please, describe what the PR does, the changes you have made.

Also, mention the key points if any to look into while code reviews

Any update to any request can now be made from the details page of that request, hence the update button is no longer necessary, and hence removed the update column from the main requests table, making that page less cluttered, changed the name of the more details column to "More Details/ update the request" in english and in malyalam- changed the name of the More detail buttons to More details / update


[servicebus] Fix browser tests

API change check
API changes are not detected in this pull request.


iOS: SFSafariViewController uses UIModalPresentationPageSheet

In https://github.com/samuelclay/NewsBlur/commit/9ffb727d70290acfd45b9033ccaf018d480f95f2, the Safari View Controller was switched to display as a sheet rather than full-screen.  This makes poor use of iPad screen real estate.
Per https://github.com/samuelclay/NewsBlur/issues/1137#issuecomment-509865471, this may have been to work around another issue.  I've never had issues with the prior behavior (on released versions of iOS), FWIW.

Dug into this a bit more and figured out the issue you fixed was #1154. Looks like this was to work around an iOS bug; wonder if it's still there and if so, if we can just limit it to a 12ʺ iPad where a sheet would be less of a big deal.

I have re-investigated this, and I can't reproduce it anymore (using the steps that did cause it before). So it looks like Apple have fixed their bug.
I've commented out the UIModalPresentationPageSheet change (just in case the issue recurs).


Have better typed code in dart:async's zone implementation

Right now completing a completer calls _Future.handleValue
  FutureOr<T> handleValue(S sourceResult) {
    return _zone.runUnary<FutureOr<T>, S>(_onValue, sourceResult);
  }

Which calls _CustomZone.runUnary:
  R runUnary<R, T>(R f(T arg), T arg) {
    var implementation = this._runUnary;
    assert(implementation != null);
    ZoneDelegate parentDelegate = _parentDelegate(implementation.zone);
    RunUnaryHandler handler = implementation.function;
    return handler(implementation.zone, parentDelegate, this, f, arg);
  }

Which accesses the _CustomZone._runUnary callback:
class _CustomZone {
  _ZoneFunction<Function> _runUnary;
  ...;
}

class _ZoneFunction<T extends Function> {
  final _Zone zone;
  final T function;
  const _ZoneFunction(this.zone, this.function);
}

Notice above that RunUnaryHandler handler = implementation.function will cause us to perform a runtime type cast against RunUnaryHandler:
typedef RunUnaryHandler = R Function<R, T>(
    Zone self, ZoneDelegate parent, Zone zone, R Function(T arg) f, T arg);

@lrhn Can we avoid these hot runtime type checks in the async/zone implementation?

/cc @mraleph

Maybe!
The problem is that the correct type is ZoneFunction<R Function<R, T>(T)>, but you cannot have generic function types as type arguments (https://github.com/dart-lang/language/issues/496).
So, we cannot just correct the type.
Maybe we can make a specific class, UnaryZoneFunction, with the exact same signatures as ZoneFunction<R Function<R, T>(T)> and use that instead of ZoneFunction.
We'll need to do the same for run, runBinary, bind, bindUnary, bindBinary, etc. (maybe some can be reused, I'm guessing runUnary and bindUnary will have the same signatures).

Proof-of-concept code: https://dart-review.googlesource.com/c/sdk/+/141884 (completely untested yet).


Display and regularly update GPS-coordinate of smartphone on the map

User story

As a User
I want / need to see on the map within the geolocation feature where I currently am
So that I can then start a navigation to my lost BLE device

Acceptance criteria

[ ] connect issue #144 and #149
[ ] display current location on map with the visualization supported by the OS-specific map (differs from Android and iOS)

Definition of done (DoD)

It builds without errors
code has been reviewed
Build has been made and deployed on a testing environment
Code coverage >75%
All acceptance criteria were met
Documentation updated whenever needed within planning documents (Tabs: Bill of materials, Documentations)
Branch/feature was merged into dev and then main

DoD general criteria

Feature has been fully implemented
Feature has been merged into the mainline
All acceptance criteria were met
Product owner approved features
All tests are passing
Developers agreed to release

@NicoStellwag, @jannikbmc und @Wandinad: Could you please send a short screenrecording/screenshots showing how you implemented the solution?


Add error explanation for js tech errors

Example
Error: Unexpected token: name (foo) (line: 7437, col: 12, pos: 312592)
  7435 |        };
  7436 |    } else {
  7437 |        let foo = 'bar';
--------------------^
  7438 |        result = {
  7439 |            result: 0

Oh, you! Code stealer!

Let's create framework for this! =)

Yeah, that's what I'm trying to do at https://github.com/violence/warnie ;-D

afaik, csso uses the same error explain code


Input range starts with a maximum value of 100 even with static attributes

Version
3.1.2
Reproduction link
https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHRlbXBsYXRlPlxuICA8aW5wdXQgdHlwZT1cInJhbmdlXCIgdmFsdWU9XCI1MDBcIiBtaW49XCIwXCIgbWF4PVwiMTAwMFwiIC8+XG48L3RlbXBsYXRlPiJ9
Steps to reproduce
Just use this code
<template>
  <input type="range" value="500" min="0" max="1000" />
</template>

What is expected?
For the input to start with a value of 500
What is actually happening?
The input has a value of 100

There was https://github.com/vuejs/vue-next/issues/2325 but it was only referring to v-model. There is still an open PR: https://github.com/vuejs/vue-next/pull/2353
Here is a workaround

Thanks a lot !


Allow flip_area_under_y_value prop

Is missing from the MG docs but exists in code...

cc @wlach for review :)

Done @wlach

I edited this PR to update the options docs.

Looks reasonable, thank you!


How to create and use those plugin with Dropwizard framework ?

Hi,
My application is built using dropwizard framework https://www.dropwizard.io/en/latest/
In my application I am want to create plugin like ApiOperationBuilderPlugin and use it enhance swagger documentation.
I referred to the steps mentioned https://github.com/springfox/springfox/issues/1180#issuecomment-185523244
but the my plugin code was not invoved.
I would like to know whether we can use this library with Dropwizard ?  If yes, any example will be really helpful.

@vikas-harness drop wizard isn't really supported in this library unfortunately.

thnx @dilipkrish for confirming.


I'm confused

When doing the final step to configure Luma3DS (updating the 3DS), it updated my system to the newest firmware. Was this supposed to happen, or was that an error?

You're supposed to update after installing A9LH.

It's stated in the Guide:
"Update your 3DS again by going to System Settings, then "Other Settings", then going all the way to the right and using "System Update". Yes this is safe, stop asking about it."

yes is necesary, dont' worry,  i do that 30 minutes ago and all go correctly.
PD: Thanks to all developers that do this possible, is a very hard work.


Export & Import Wish History

Import and export have a few bugs.

Superfluous data. Such as banner title, Pity and group number. They are only good for easy viewing. But then it is already a separate mechanism for the convenience of local viewing, without the possibility of import?
Incomprehensible date format. Currently displayed in the Excel file as "yyyy-MM-dd hh:mm:ss". The native entry on import defines the date as local to the current region. Because of this, the date value is displayed in full with the current region, instead of a simple abbreviated notation. Perhaps you should store the date in UTC format: "2021-06-16T11:11:11Z" and parse this string on import?
2.1. Entering UTC date and importing it works. But after import, the same specified string is displayed. For example, "2021-06-16T11:11:11" should display as "2021-06-16 11:11:11".
After exporting history with item Unknown added by option +1, this file is not imported. The toast contains an error about an unknown item type.
Also, while respecting the dates, I get an error when I import the value received by Noelle in Klee's banner last year. The toast shows an error about the banner time mismatch.
If there is an invalid date in the import file, the dialog box shows an endless load.
After editing the file using google sheets, the file stops being imported and goes into endless loading. It may be better to use more persistent file types such as *.json or *.csv for exporting data. Then there will be no problem with the *.xlsx file, because it will be just for comfort local viewing.

I would like to second at least the point about storing derived data into the exported file, as well as embedding a lot of images and other data that a exporting these files for portability does not help with  and only serves to increase complexity and filesize.
Please consider adding a barebones CSV or similar export format either instead or on top of the human-readable maximalist Excel file :pray:

Will remove the image for now


Update and rename purviewdeploy.json to purviewdeploy1.json

Need a more meaningful name for demonstrations

Disregard.  I want a new file I can call in the script.


Doesn't work on batocera cfw of powkiddy a13

The portmaster controls can't seem to work with the controls of the powkiddy a13. It used it's form of stick fight and controls of a game arcade and doesn't seem to work with it.
I'm using the batocera 35 custom firmware used for it. The base portmaster can run roguelight so it work as to port the game. but it needs to be able to read the inputs to actually play.
Would like to know if the issue was found to be solved or not.


Implement Quarto documentation with quartodoc API reference

Description of the Feature to be Added
Implement a first pass of a website to include the full API reference, also with flexibility to include tutorials, how-tos and deep-dives.

Will need some docstring refactor, because quartodoc doesn't currently support 'Methods' or 'References' sections
quartodoc issue 306


Fix issue with enable_search_index_products

See: https://github.com/labd/terraform-provider-commercetools/issues/246

Replaced by https://github.com/labd/mach-composer/commit/d310b336f30133a3b66bd9eb5cc7b538e218d98b


for is working as foreach

When I tried to write for loop it's printing same as when I tried to print foreach loop.
Please have a look

@npathuri0531 - can you have a look at this ?

Now I can't see foreach it's showing but only for. Initially I saw foreach and for and both are doing same functionality.
@npathuri0531

@Nagavivek22  - can you please provide a best example to emulate or code snippet on gist.


Authorizing using http-01 validation (FTP) - upload Failed

https://github.com/win-acme/win-acme/blob/5186bf6205f2b4ae38b6625d795ee28775e1ed70/src/main.lib/Clients/FtpClient.cs#L48
2022-07-24 13:55:37.736 +02:00 [INF] [xxx.com] Authorizing using http-01 validation (FTP)
2022-07-24 13:55:37.959 +02:00 [INF] Established connection with ftp server at <IP_ADDRESS>:21, encrypted: true
2022-07-24 13:55:38.126 +02:00 [WRN] Upload ftp://<IP_ADDRESS>:21/www/.well-known/acme-challenge/2pRO5RqE3-aO3ig3XqUhwNtHDu-2FLfylhG7rxKF1u0 status "Failed"
File is created but is empty.

Do you have a log from the FTP servers side?

I tried to use latest version of FluentFTP but still the same issue.
var status = await client.UploadBytesAsync(Encoding.UTF8.GetBytes(content), uri.PathAndQuery, FtpRemoteExists.Overwrite, true);
File is created but empty.

Which FTP service is this? It seems to work fine with IIS.
Perhaps you can try to add some logging on the client side: https://github.com/robinrodricks/FluentFTP/wiki/Logging

You can try adding this code to capture log output from the client side, that might provide some insights:
client.OnLogEvent += (level, message) =>
{
    switch (level)
    {
        case FtpTraceLevel.Verbose:
            _log.Verbose("FTP: {message}", message);
            break;
        case FtpTraceLevel.Info:
            _log.Information("FTP: {message}", message);
            break;
        case FtpTraceLevel.Warn:
            _log.Warning("FTP: {message}", message);
            break;
        case FtpTraceLevel.Error:
            _log.Error("FTP: {message}", message);
            break;
    }
};`

Additional logs are captured in v2.1.23 and FluentFTP was updated to the latest release.

FYI: using the GnuTLS library instead of Microsoft's native TLS solved my problem.
Thank you for such a great tool 😄


More descriptive error message for NotAuthorizedError

Per #30

Perfect, thank you! It seems like there are some failing builds (something with the bundler version). I'll fix the tests on CI separately.


Decide where to put Task List code, how to support it

Task List code currently only lives in the Prototype Kit. This is not consistent with how we manage other code, which is in GOV.UK Frontend and imported into the kit. One of our principles is the the Prototype Kit is not for production code, so based on that, it shouldn't live in the Prototype Kit either.

One of the co-design workshop @ImranH-GDS is running will potentially conclude with a task list component or components. If the workshops run as plan, we'll have an alpha prototype in the next 3-6 months. The intention is that when there is a component, we can remove it from the kit and it will be on the Design System.
As this work is ongoing, are you okay for me to close this ticket?

sounds like that covers this issue thanks, good to close


remove no_rocm tag from //tensorflow/python/keras/distribute:distribu…

…te_strategy_test

Can one of the admins verify this patch?

closing out old PRs


Rename some rpc commands to something more generic.

StartBtcdRpc becomes StartConcensusRpc.
This is useful for forks such as decred or if someone were to write
another compatible server.
This requires btcsuite/btcwallet#381

Closing this since the autogenerated files weren't regenerated correctly from the new protobuf specifier, and @jcvernaleo doesn't have the dev environment set up to regenerate it correctly.  I'll take care of this change myself.


cdc: fix missing ResolvedTs import in prost-codec (#10285)

cherry-pick #10285 to release-5.0

What problem does this PR solve?
Problem Summary:
The ResolvedTs name is not imported when using prost-codec, making the code fail to compile there.
What is changed and how it works?
What's Changed:
Add back the import.
Related changes

Need to cherry-pick to the release branch

release-5.0, release-4.0

Check List
Tests

Manual test (add detailed scripts or steps below)

make build with prost codec 🤷

Side effects
Release note
None

/merge

/test

[2021-06-01T13:56:30.503Z]  use kvproto::cdcpb::{
[2021-06-01T13:56:30.503Z] -    event::Event as Event_oneof_event, ChangeDataRequest, ResolvedTs,
[2021-06-01T13:56:30.503Z] -    DuplicateRequest as ErrorDuplicateRequest, Error as EventError, Event,
[2021-06-01T13:56:30.503Z] +    event::Event as Event_oneof_event, ChangeDataRequest,
[2021-06-01T13:56:30.503Z] +    DuplicateRequest as ErrorDuplicateRequest, Error as EventError, Event, ResolvedTs,
[2021-06-01T13:56:30.503Z]  };
[2021-06-01T13:56:30.503Z]  #[cfg(not(feature = "prost-codec"))]
[2021-06-01T13:56:30.503Z]  use kvproto::cdcpb::{
[2021-06-01T13:56:30.503Z] + echo Please make format and run tests before creating a PR
[2021-06-01T13:56:30.503Z] Please make format and run tests before creating a PR
[2021-06-01T13:56:30.503Z] + exit 1

/merge

/run-all-tests


What happens to licenses on merge?

Let's say we have two mapping sets: M1 and M2. M1 is published under CC-0, and M2 is published under CC-BY.
What should happen when we merge M1 and M2 to M3 with our SSSOM python toolkit?

Option 1: M3 license is unspecied, but cannot be less than CC-BY
Option 2: M3 license becomes CC-BY by default but can be changed to something that is compatible with CC-BY
Option 3: M3 can be any license (the licenses of M1 and M2 mean nothing). As long as the conditions for CC-BY are met, M3 can be CC-0 or whatever the publisher wants it to be.
Option 4: M3 can be any license, but the individual term mappings from M1 get individual license metadata CC-0, and individual mappings from M2 will all get license metadata CC-BY.
Option 5: We close our eyes and do what we all do in open data, and hope no one sues anyone.

Note that in the ontology world, we use Option 5.

@matentzn IANAL (blah blah blah), but I can give a little perspective maybe from the what the RDP has done.
You are correct that Option 5 is what's done in a lot of cases. Essentially, it is an attempt to offload the responsibilities of data integration onto somebody else. This is easy and has a lot of precedent, but is not satisfying in a lot of ways. Let's maybe explore the space where that is not on the table for a little bit.
As a starter, I want to highlight three things: 1) that CC0 is not a license, but a tool to attempt to dedicate a work into the public domain (or create something that works the same way); 2) that license terms are immutable (without permission/a new license from the rights holder); 3) a work without any other information to the contrary is considered to under standard copyright protection in the US and anything you do outside of that is at your own risk.
To clarify what is being asked here, what is the nature of M3 and what do "mapping sets" and "merge" might mean here? I'm taking this to just mean the data. There is no clear rule for what is "fair use" versus "infringing use" versus "correct use"  outside of negotiations or a court room, so it's sometimes easier to think about the data overall in the beginning.

Is this to mean that M1 is CC0, M2 is CC BY, and then the Options are using the terms for M3 as a variable?

what is the nature of M3 and what do "mapping sets" and "merge" might mean here?

Imagine two mapping sets (literally a set of ontology mappings), M1 and M2:
M1:
mapping_set_id: M1
license: CC-0

subject
predicate
object

A
equivalentTo
C

B
equivalentTo
D

M2:
mapping_set_id: M2
license: CC-BY

subject
predicate
object

V
equivalentTo
X

W
equivalentTo
Y

M1 is published under CC-0 (public domain) and M2 is published under CC-BY.
Now we have a process MERGE that combines the two to M3:
M3:
mapping_set_id: M3
license: ???

subject
predicate
object

A
equivalentTo
C

B
equivalentTo
D

V
equivalentTo
X

W
equivalentTo
Y

Lets assume for now the creation of M3 (a derivative?) itself was correct use according to licenses (its probably not, but lets set that aside for now).
Concretely, I would like to know what our official merge tool should do with the original license metadata. Include it? Drop it? In the ontology world, we usually drop it.  But you could include the license constraints as some kind of column:

subject
predicate
object
license

A
equivalentTo
C
CC-0

B
equivalentTo
D
CC-0

V
equivalentTo
X
CC-BY

W
equivalentTo
Y
CC-BY

or you could make a comment:
mapping_set_id: M3
license: CC-0
license_comment: This is a derived product. Original licenses apply.
derived from:
  - M1
  - M2

subject
predicate
object

A
equivalentTo
C

B
equivalentTo
D

V
equivalentTo
X

W
equivalentTo
Y

I know there wont be any 100% answers, but I have no idea at all what we should do here. I will be lobbying, pressing for CC-BY (or CC-0) across the board to make it not more complex then CC-BY vs no license.

@matentzn Yeah, uniform and sensible licensing would make so many things so much easier. I think this case is pretty easy though. Forgive the verbiage.
Okay, so it looks like that for the sake of simplicity you have M1 as CC0 and M2 as CC BY (4.0); M3 is a combination of the two.
My best guess, as a hopefully reasonable lay person, would be like this:
In the US, and hopefully most reasonable places, M1's CC0 can essentially be read as public domain, so you can do whatever you want with it. M2's copyrights are held by a copyright holder; let's call them CH2. CH2 has granted you a certain set of abilities to work with M2, including creating derivative works, assuming that you adhere to the terms of CC BY 4.0. Great.
So you create a new work M3, that is M1 + M2. What is the best practice?
CH2 does not hold copyright over this entire work, just portions. The new attribution could be essentially "derivative of M2 with added public domain data". I could also imagine that for complicated derivative works, one could have "OBO Foundry" be a new rights holder and is licensing it under CC BY 4.0, so that the attribution would be like "portions of this file are derivative of M2 and OBO Foundry, CC by 4.0".
Following your example above, the derivative has portions that are CC BY 4.0 no matter what, as you have no other clear avenue from CH2 (i.e. it cannot overall be public domain). It might be most clear to have the entire derived work under CC BY 4.0 then.
mapping_set_id: M3
license: CC-BY-4.0
license_comment: This is a derived product, including M1, dedicated to the public domain. M2 title, author, source, license (TASL).
derived from:
  - M1
  - M2

A simple CC exercise (and some additional info) on this can be found here: https://wiki.creativecommons.org/wiki/Best_practices_for_attribution
Does this help clear anything up?

Looking at your original five Options, I think we need an Option 6: M3 is a derivative work of a CC BY work (M2) and public domain data (M1); the new work may be CC BY as long as the attribution information is kept for M2.

Yes, this is very helpful. Am I correct in assuming that someone deriving M4 from M3 needs to preserve the attribution to M2?
Instead of license_comment, can you propose something we can do to "attribute" that is a bit more structured? Something like this, hopefully as minimal as humanly possible:
derived from:
   - mapping_set_id: M1
      license: CC-0
      creator_id: ORCID:123
   - mapping_set_id: M2
      license: CC-BY
      # (no further attribution required)

Would this satisfy your sense of CC-BY spirit?

@matentzn Yes, I believe that is a correct interpretation: copyright and license are immutable unless new terms are negotiated--no matter how many derivatives are produced, they preserve rights of all the originating sources.
"Spirit" and what is reasonable can be hard to define. For myself, I don't have a feeling how this all hangs together and what the overall context is, so I'm grasping at straws a bit. It might be good to make sure that whatever you come up with is flexible enough to be revisited in the future. I'm assuming that the proposed derived_from field above is embedded in M3 itself?
As a pedantic (but I think important) note, CC0 is not a license, but (in the US) a declaration tool for the public domain--there are no terms to be adhered to, but rather it is a public record that the author of the work is saying they are giving it to all to use however they want, without license. I think it is nice (and a good idea) to note that for one's records, but one could not note it as well. (BTW, did you possibly flip M1 and M2 in your example above?)
Looking at the best practices as an example from the above: Title, Author, Source, and License.  creator_id and mapping_set_id feel like they may cover T and A, but if not something more explicit could be added. license is L. S may in fact be the mapping_set_id as well, but I think that a link/URI might be better. (Doubly so as we get into the next bit.)
Looking at the actual wording of how attribution must be specified as defined in the text of the license (https://creativecommons.org/licenses/by/4.0/legalcode):
A. retain the following if it is supplied by the Licensor with the Licensed Material:
    i. identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated);
    ii. a copyright notice;
    iii. a notice that refers to this Public License;
    iv. a notice that refers to the disclaimer of warranties;
    v. a URI or hyperlink to the Licensed Material to the extent reasonably practicable;
B. indicate if You modified the Licensed Material and retain an indication of any previous modifications; and
C. indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License.

As long as the derived_from is always additive, I think that would keep a pretty good record of the changes in an unambiguous way.
A good summary of requirements for 4.0 can be found from CC here: https://wiki.creativecommons.org/wiki/License_Versions#Detailed_attribution_comparison_chart . I feel like what you have covers a lot of that. I wonder about things like license files (e.g. LICENSE.md) and how to concat them, but that may not apply to your use case.

I'm assuming that the proposed derived_from field above is embedded in M3 itself?

Yes.
Wow, ok.. We are using these license all day every day and no one I know has ever read them..  The legal code on CC-BY is pretty clear I would say, but it seems really inconvenient to having to include a "copyright license" separate to the reference to the CC-BY license itself. Do you understand what exactly that would mean for this example?

retain the following if it is supplied by the Licensor with the Licensed Material:

[X] identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated);
[ ] a copyright notice: how would that look like?
[X] a notice that refers to this Public License: the CC-BY link
[ ] a notice that refers to the disclaimer of warranties: how would that look like?
[X] a URI or hyperlink to the Licensed Material to the extent reasonably practicable: the mapping_set_id should be a purl that resolves to its location

I know no one that does this:

indicate if You modified the Licensed Material and retain an indication of any previous modifications; and

Should we?

"We are using these license all day every day and no one I know has ever read them.." Yeah, that's pretty much what the (Re)usable Data Project was all about: raising awareness and trying to lay down a framework to have the tough conversations, like this one :) I also read and tried to map out the terms of like a hundred different licenses, so something as clear and well annotated as the CC licenses always make me smile.
Again, this gets into me not being a lawyer and this not being legal advice, but I think context and what would be considered reasonable for the context is worth looking at. From my understanding, these are mapping files with embedded metadata that are intended to be used as such and did not have a separate license file to begin with, I think that you could probably just continue to follow that pattern if it seems like that's what the authors originally intended.
For you unchecked items:

a copyright notice: how would that look like?  Well, in the metadata you are already letting people know that the material is copyrighted under CC license by the authors, so that seems like most of it. I think that if you end up having a LICENSE file around or other copyright notices that you'd include them, if necessary. I'd assume that could be automatically generated from the metadata.
a notice that refers to the disclaimer of warranties: how would that look like? From the CC Best Practices wiki page:Lastly, is there anything else I should know before I use it?When you accessed the material originally did it come with any copyright notices; a notice that refers to the disclaimer of warranties; or a notice of previous modifications? (That was a mouthful!) Because that kind of legal mumbo jumbo is actually pretty important to potential users of the material. So best practice is to just retain all of that stuff by copying and pasting such notices into your attribution. Don't make it anymore complicated than it is -- just pass on any info you think is important. Implied there is that if it isn't there, you don't need it--it's all about respecting the wishes of the authors. I would also point out that there is a disclaimer of warranties in the license itself as well (Section 5), so unless the original author needed/wanted something more, that may suffice.
indicate if You modified the Licensed Material and retain an indication of any previous modifications  aren't you already doing this with the derived_from field? You capture both the fact that it was modified and what the data streams are. I don't think this is asking for a diff (see the Best Practices examples from before).

To take a little step up from the details, the point of all these licenses is to understand and then respect the wishes of the authors/copyright holders within the context that all this is taking place of their data. I think that if you are taking all this into account and working with clear CC licenses and going along with their terms that you are unlikely to run into issues as this is exactly the kinds of things that the authors wanted for their work in the first place: credit and passing it along to the next person with the same rights.

Ok. This is very helpful. I am assuming that as long as there is no metadata element that captures additional stuff like warranties and anything beyond cc on the copyright issue, then I don't need to worry about copying it. We simply restrict the potential of data providers to express themselves to a simple reference to a license, and that we will preserve. If users in the future need to express more than that, they will first have to request a suitable metadata element, and then we can refer back to this issue here.
I know that restricting the metadata, legally, is probably not enough. If somewhen were to publish a mapping file with a LICENSE.md that would probably overrule all of what I posit here, but the idea here should be that the data files are self-contained, so no information relevant to their usage should live outside of it.
Thank you very much @kltm!

@matentzn That's pretty much my lay read of it. Of course, this would only be for talking about CC BY 4.0 and CC0. Trouble could happen if people do things like say "refer to the license in this directory" and the like, but as long as the license is just a URL, it makes keeping the reference easy.


Target for Opensearch

Hello,
Is there any Target Which supports AWS OpenSearch?
Since OpenSearch is forked out of ElasticSearch, Does NLog.Targets.ElasticSearch supports OpenSearch?
NLog version: 4.4.12
Platform: ,Net Framework 4.8
Current NLog config: xml
See also: https://stackoverflow.com/questions/77451115/nlog-target-for-opensearch

Not that I'm aware of. Beside NLog.Targets.OpenSearch

Hello,
When can we expect the official target for OpenSearch?
The Nlog target mentioned above does not allow AWS IAM based authentication. Does the official target support role-based authentication in AWS?
Thanks for your response.


Show number of data points in each bin

Great work!!
It would be a nice feature to see how many datapoints/individuals each boxplot is based on when hovering or presented at the top of each bar. Seems to possible.

I agree - great work and I would also like to see the N for each box. I think the main dashboard is built on matplotlib/seaborn and here is a simple example how counts can be added.

@HLasse @JungeAlexander This feature is live now 🎉


Added command-line interface

fixes #100

The simplest CLI to read tabular data.

@nightsh
could you please take a look

@roll I will look at it now, but I can't do a "GitHub" review since I'm not a member of the org here.

@nightsh
thanks, no worries about gh review

@nightsh
Thanks, I've saved out life.


Segfault on big db + double free if rowsize-max is not specified

Hi!
I've been testing undark to recover data from an iPhone's sms database; I get a lot of data but after a while Undark segfaults; I've managed to get undark to go through most of the database by limiting rowsize min and max and disabling blobs.
Using
--cellcount-min=50 --cellcount-max=60 --no-blobs --rowsize-min=300
I get 14907 registers back (some are garbled..)
Using
./undark --cellcount-min=50 --cellcount-max=60 --no-blobs
I get a double-free error after 1587 rows.
With the first example, the error reliably happens after 4685 pages, I've dumped the debug data for pages 4683, 4684 and 4685; the page for 4685 is notably different to the other pages.
If you want I can attach the debug output for these 3 pages

please open issue here, https://github.com/inflex/undark/issues


More explanatory error when using body_settings after generating bodies

As per the last conversation in the slack, currently when using the body_settings after generating the bodies either does not give a warning, body_settings.get("Satellite").constant_mass lets the code run without any warning, or gives a very brief error, body_settings.get("Satellite").ephemeris gives IndexError: map::at . Could it be possible to add a more explanatory error when this  happens? Thanks a lot!

@LuisMPena, could you link to a script that results in the error you describe?


Add support for limiting the serie to a certain time frame (#10)

This PR add's support to limit the returned series to a certain time frame.

Hey @hajee, thanks for the PR. This is already supported with where, so added it to the docs.


Fix runimage/sha in export & publish case

It was storing the image sha, should be storing the sha for the top layer of the image

Can we call this runImage instead of runimage?

@sclevine Commit above changes the name

Still has an issue with import order consistency. Internal imports should be at the bottom of the list in the exporter test (or all imports in all files should use the two group style). Approving, but on the condition this is fixed before or shortly after merging.

Duplicate of https://github.com/buildpack/lifecycle/pull/28


How to graceful shutdown websocket server

Operating system we are running

Linux
OS X

platform/language we are using
Node.js
We are not using SSL.

I try like below, but it not worked.
const WebSocket = require('uws').Server;
const wss = new WebSocket({
  port: 3000
});
wss.on('connection', function connection(ws) {
  ws.on('message', function incoming(message) {
    console.log('received: %s', message);
  });

  ws.send('something');
});

process.on('SIGINT', function sigint() {
  console.log('sigint');
  wss.close((error) => {
    console.log(error);
    console.log('close');
  });
});

Wss.close doesn't take a callback in uws

@alexhultman Thanks.

@alexhultman Thanks.
And how to determine to if it success or fail ?

It doesn't fail, it always suceeds. I could add a callback but that callback would pretty much just be called the next iteration anyways because as soon as you close the server all sockets will get their disconnection callbacks called and then they have 15 seconds to perform a graceful close but that is not part of the application logic so it doesn't have to care about it. Just consider a server close to always work, but it might take some time if you expect the event loop to fall through after it (up to roughly 15 seconds).

Got it! Thanks for your patience! @alexhultman


cant install tvicport.dll from website

The download button doesnt work

Here's the downloaded zip file
tvicport.zip

i installed the program, but i dont know where the dll is still

oh you can't find the dll as it is made propirtary by the devs, the program should pick up tvicport automatically though


run tests for DoctrineStorage with MySQL, PostgreSQL, SQLite

coverage: 98.699% (-0.8%) from 99.472% when pulling 36be0fab6e398b99e82ada2a4c8f2d94d30581f6 on test-doctrine-storage-with-databases into 515871d3de56a80b0cb471e057a9edb5113c1250 on master.

If we are testing different databases, I think I would add different jobs depending on the database as doctrine/orm does instead of adding new classes, at the end it's about the connection url/dsn.
They pass all tests using sqlite: https://github.com/doctrine/orm/blob/17500f56eaa930f5cd14d765bc2cd851c7d37cc0/.github/workflows/continuous-integration.yml#L29
and then for example using PostgreSQL: https://github.com/doctrine/orm/blob/17500f56eaa930f5cd14d765bc2cd851c7d37cc0/.github/workflows/continuous-integration.yml#L105-L130 they test with different versions of PostgreSQL.
Maybe a phpunit group could be created as well, in this case we only want to pass DoctrineStorage related tests. Anyway, it's up to you 😬

I like the idea. Take a look at #421.


Make Router::addRoute() public

I'm developing a package that provides a different mechanism for defining routes. It would be much easier for the package to call addRoute() directly instead of the individual human-friendly get/post/etc. methods. I don't want to extend the router in order to reduce conflicts with customized apps or other packages.
Currently I am creating a macro and calling $this->addRoute() within the closure.
I am unsure if this would be considered a BC-affecting change, specifically if it affects anyone who is already extending the router and this method in particular. If there is a reason for keeping it protected that I am unaware of, I'd love to hear it.

Issue # 25,000! Neat. 🎊


Added solution of Special Triplets

Issue #368

Please add hacktoberfest approved tag if this is applicable.
Thank you


Issue: Typescript evaluate takes much longer than runOnDataset when running evaluations

I have a dataset with 71 examples where I ran the same evaluations on using evaluate vs runOnDataset.  The time it took for each was:
runOnDataset - 18 seconds
evaluate - 3 minutes 40 seconds
From what I could tell from the documentation, runOnDataset is the older version and we should be using evaluate as it allows for experiment prefix and shows model, provider, revision id, etc. Is this the reason for why the await for the response of evaluate takes 10x longer? Is there some option I'm missing to run more evals concurrently?
Suggestion:
No response

Here are the options you can configure for TS evalution:
export interface EvaluateOptions {
  /**
   * The dataset to evaluate on. Can be a dataset name, a list of
   * examples, or a generator of examples.
   */
  data: DataT;
  /**
   * A list of evaluators to run on each example.
   * @default undefined
   */
  evaluators?: Array<EvaluatorT>;
  /**
   * A list of summary evaluators to run on the entire dataset.
   * @default undefined
   */
  summaryEvaluators?: Array<SummaryEvaluatorT>;
  /**
   * Metadata to attach to the experiment.
   * @default undefined
   */
  metadata?: KVMap;
  /**
   * A prefix to provide for your experiment name.
   * @default undefined
   */
  experimentPrefix?: string;
  /**
   * A free-form description of the experiment.
   */
  description?: string;
  /**
   * The maximum number of concurrent evaluations to run.
   * @default undefined
   */
  maxConcurrency?: number;
  /**
   * The LangSmith client to use.
   * @default undefined
   */
  client?: Client;
  /**
   * The number of repetitions to perform. Each example
   * will be run this many times.
   * @default 1
   */
  numRepetitions?: number;
}

Looks like the default is to not run them concurrently in TS

Thanks, I had assumed it was the same as runOnDataset as maxConcurrency was default undefined for that as well

Thanks for raising though. I'm not sure why the default behavior was chosen to be different...


tagging lost tag added

Hi,
I have mutliselect with post object binding to it, when I add tag using enter it adds it to options but selected value is not reflected on drop down I have to reselect it manually.
Props are case insensitive.
using select beta15, vue 2.1.10
Select looks like this:
  <multiselect
   v-model="post.Tags"
   label="Name"
   track-by="ID"
   :options="tags"
   :multiple="true"
   :taggable="true"
   @tag="addTag"
           >
         </multiselect>
 export default class epost extends Vue {
       name = 'editpost'

       post:d.Post = new d.Post();
       cats:d.Category[] =[] ;
       tags:d.Tag[] = [];

       saved:boolean =false;

addTag(name:string)
 {
           console.log('@taag: ', name)
      var c = new d.Tag();c.Name = name;
      //insert tag and update post
      this.db.bHub.insertTag(c).then((val:number)=>{
       c.ID = val
       this.tags.push(c);
       this.post.Tags.push(c);
     });

   }

Not sure but this might be the problem:
post:d.Post = new d.Post();

What does d.Post() return? Is it observable?

export class BEntity {
    ID : number;
    DateCreated : Date;
    DateChanged : Date;
    Count : number;
}
/**
  * Data contract for bVue.code.Post
  */
export class Post extends BEntity {
    Title : string;
    Content : string;
    Blog : Blog;
    Categories : Category[];
    Tags : Tag[];
...
}

Its a simple class..
It works well with strings but as soon I put array of those objects it dissapear, so it should be obsevable..


trying to compile openssl on debian libssl.so.1.1 & libcrypto.so.1.1

Hello,
I am trying to build the latest version of openssl on a Raspberry Pi 3b+ in Raspbian
No LSB modules are available.
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 9.9 (stretch)
Release:        9.9
Codename:       stretch
and when ran the usually three complication commands eg
./config, make, make install
When I than ran a openssl version
I got the following error message.
openssl: /usr/lib/arm-linux-gnueabihf/libssl.so.1.1: version `OPENSSL_1_1_1' not found (required by openssl)
openssl: /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.1: version `OPENSSL_1_1_1' not found (required by openssl)

I therefore checked /usr/lib/arm-linux-gnueabihf/ and /home/blub/openssl-1.1.1b
and both files are present in both locations.
/usr/lib/arm-linux-gnueabihf/
ls -la libcr*
-rw-r--r-- 1 root root   41292 Feb  6 22:17 libcrypt.a
-rw-r--r-- 1 root root 1501512 Feb 27 21:58 libcrypto.so.1.0.2
-rw-r--r-- 1 root root 1848612 Nov 28 23:43 libcrypto.so.1.1
lrwxrwxrwx 1 root root      38 Feb  6 22:17 libcrypt.so -> /lib/arm-linux-gnueabihf/libcrypt.so.1

ls -la libssl*
-rw-r--r-- 1 root root 320932 Feb 27 21:58 libssl.so.1.0.2
-rw-r--r-- 1 root root 332080 Nov 28 23:43 libssl.so.1.1

/home/blub/openssl-1.1.1b
ls -la libssl*
-rw-r--r-- 1 root root 676876 May 10 12:23 libssl.a
-rw-r--r-- 1 root root  16073 May 10 12:25 libssl.map
-rw-r--r-- 1 root root    270 May 10 12:25 libssl.pc
lrwxrwxrwx 1 root root     13 May 10 12:25 libssl.so -> libssl.so.1.1
-rwxr-xr-x 1 root root 541116 May 10 12:25 libssl.so.1.1

ls -la libcrypto.*
-rw-r--r-- 1 root root 3820188 May 10 12:20 libcrypto.a
-rw-r--r-- 1 root root  126906 May 10 12:24 libcrypto.map
-rw-r--r-- 1 root root     291 May 10 12:25 libcrypto.pc
lrwxrwxrwx 1 root root      16 May 10 12:24 libcrypto.so -> libcrypto.so.1.1
-rwxr-xr-x 1 root root 2657208 May 10 12:24 libcrypto.so.1.1

Can someone please tell me how to resolve this issue ?
Thank you, blub4747

It's unclear to me what openssl command you used.  Was it openssl version (i.e. effectively /usr/bin/openssl version) or /home/blub/openssl-1.1.1b/apps/openssl version.  Have you checked with ldd that those two binaries are getting the expected shared libraries?

On platforms that have an existing OpenSSL library on the default ld.so search path, custom OpenSSL libraries are sometimes best built as "shlib_variant" libraries, in which the SONAME and all the symbol versions differ from the installed default.  Such libraries don't conflict with the deployed platform libraries and can even coëxist with the platform's library int the same process.  Applications linked against the variant library will load the correct shared executables as a result of the non-default SONAMEs.
See https://github.com/openssl/openssl/blob/master/Configurations/README#L130-L150
Coincidentally, @levitte and I were just discussing making this interface more accessible/better documented, even before I saw this issue.  If my reading of your problem is correct, and you're having trouble with "DLL-hell" on platforms that already have an OpenSSL 1.1.x, then "shlib_variant" may solve your problem.

Hello,
It not does matter from which location in the filesystem I run the command
openssl version
I always do get the same result.
Here is comes result from the ldd I just ran.
``root@compile-mit-prefix:/usr/bin # ldd -v openssl | grep libssl*
libssl.so.1.1 => /usr/lib/arm-linux-gnueabihf/libssl.so.1.1 (0x76ee9000)
libssl.so.1.1 (OPENSSL_1_1_0) => /usr/lib/arm-linux-gnueabihf/libssl.so.1.1
/usr/lib/arm-linux-gnueabihf/libssl.so.1.1:
root@compile-mit-prefix:/usr/bin # ldd -v openssl | grep libcr*
libcrypto.so.1.1 => /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.1 (0x76c84000)
libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0x76b09000)
libc.so.6 (GLIBC_2.15) => /lib/arm-linux-gnueabihf/libc.so.6
libc.so.6 (GLIBC_2.7) => /lib/arm-linux-gnueabihf/libc.so.6
libc.so.6 (GLIBC_2.4) => /lib/arm-linux-gnueabihf/libc.so.6
libcrypto.so.1.1 (OPENSSL_1_1_0) => /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.1
libc.so.6 (GLIBC_2.4) => /lib/arm-linux-gnueabihf/libc.so.6
libc.so.6 (GLIBC_2.4) => /lib/arm-linux-gnueabihf/libc.so.6
libcrypto.so.1.1 (OPENSSL_1_1_0d) => /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.1
libcrypto.so.1.1 (OPENSSL_1_1_0i) => /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.1
libcrypto.so.1.1 (OPENSSL_1_1_0f) => /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.1
libcrypto.so.1.1 (OPENSSL_1_1_0) => /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.1
/usr/lib/arm-linux-gnueabihf/libcrypto.so.1.1:
libc.so.6 (GLIBC_2.7) => /lib/arm-linux-gnueabihf/libc.so.6
libc.so.6 (GLIBC_2.17) => /lib/arm-linux-gnueabihf/libc.so.6
libc.so.6 (GLIBC_2.4) => /lib/arm-linux-gnueabihf/libc.so.6
libc.so.6 (GLIBC_PRIVATE) => /lib/arm-linux-gnueabihf/libc.so.6
libc.so.6 (GLIBC_2.4) => /lib/arm-linux-gnueabihf/libc.so.6
libc.so.6 (GLIBC_PRIVATE) => /lib/arm-linux-gnueabihf/libc.so.6
libc.so.6 (GLIBC_2.4) => /lib/arm-linux-gnueabihf/libc.so.6
/lib/arm-linux-gnueabihf/libc.so.6:
root@compile-mit-prefix:/usr/bin #
Hope it help's

Ah, I didn't  otice that you installed too. This means that the command you run when you type openssl version is /usr/local/bin/openssl. If the command was /usr/bin/openssl version, I assume it would not error.
There are two viable options to handle this. One is to configure ld.so to consider /usr/local/lib, see man ld.so.conf. The other is to configure with a run path and rebuild, see NOTES. UNIX

I am experiencing the same problem. A guy suggested me to remove component one by one, but I fear that this can break my system as even relocating one file resulted that my internet connection stop working. Currently I have two openssl binaries:
$ ldd /usr/bin/openssl
/usr/bin/openssl: /usr/local/lib/libssl.so.1.1: version `OPENSSL_1_1_1' not found (required by /usr/bin/openssl)
/usr/bin/openssl: /usr/local/lib/libcrypto.so.1.1: version `OPENSSL_1_1_1' not found (required by /usr/bin/openssl)
    linux-vdso.so.1 (0x00007fff51c8d000)
    libssl.so.1.1 => /usr/local/lib/libssl.so.1.1 (0x00007fae707f5000)
    libcrypto.so.1.1 => /usr/local/lib/libcrypto.so.1.1 (0x00007fae7036a000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fae70342000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fae70321000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fae70160000)
    /lib64/ld-linux-x86-64.so.2 (0x00007fae70b1c000)

$ ldd /usr/local/bin/openssl
    linux-vdso.so.1 (0x00007ffe851f3000)
    libssl.so.1.1 => /usr/local/lib/libssl.so.1.1 (0x00007fc91d4ba000)
    libcrypto.so.1.1 => /usr/local/lib/libcrypto.so.1.1 (0x00007fc91d02f000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fc91d007000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fc91cfe6000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fc91ce25000)
   /lib64/ld-linux-x86-64.so.2 (0x00007fc91d72a000)

I suspect that I have to remove /usr/local/lib somehow. Could someone aware openssl team member guide me on how to do it safely to not break my system? I'd be very appreciated.
Here is some information about system:
$ uname -a
Linux debian 4.19.0-5-amd64 #1 SMP Debian 4.19.37-5+deb10u2 (2019-08-08) x86_64 GNU/Linux

$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

Do NOT replace system components.  Configure, build, install into some other place (like /usr/local) and have your other things look in that other place.

Ok, I'll take into account your advice. But could you please help me handle the current situation I found myself?

I cannot help you; I don't know enough details about Debian, sorry.

It's a pity... Maybe you could conduct me to someone who can help?

Try some debian forums?  I have no idea.  Maybe someone else in this community can help.  I don't know.

Ok, I'll take into account your advice. But could you please help me handle the current situation I found myself?

Force-reinstall the base Debian OpenSSL packages.  If you're on Debian "stretch", https://packages.debian.org/source/stretch/openssl, they are:
        openssl
        libssl1.1
        libssl-dev
        libssl-doc

    # apt-get install --reinstall openssl libssl1.1 libssl-dev libssl-doc

Then install any non-default OpenSSL libraries in "/opt/openssl" or similar location that will not conflict with the base system. See my upthread comment about "shlib_variant" builds.

@vdukhovni actually I already did it. I follow this guid. May I ask to take a look at it? Is it looks correct for you? If so, I'll try one more time.

What is it that you "already did"?  Your first task is to re-install original copies of the system OpenSSL packages in /usr/{bin,lib,include,...}.  Only then install a variant OpenSSL in /opt, but if you intend to link applications with that version, it may be prudent to make that a "shlib_variant" built, in order to avoid potential shared library conflicts when applications load system libraries that in turn load OpenSSL.

I meant that I already tried to install the latest OpenSSL version in /opt/openssl according to guide I mentioned previously and it didn't help me get rid of OPENSSL_1_1_1 version issue. Likely I did something wrong, but not sure what exactly. I also tried to re-install the existing OpenSSL version with aptitude
 sudo aptitude reinstall openssl
The following packages will be REINSTALLED:
  openssl
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 3 not upgraded.
Need to get 0 B/842 kB of archives. After unpacking 0 B will be used.
(Reading database ... 245193 files and directories currently installed.)
Preparing to unpack .../openssl_1.1.1c-1_amd64.deb ...
Unpacking openssl (1.1.1c-1) over (1.1.1c-1) ...
Setting up openssl (1.1.1c-1) ...
Processing triggers for man-db (2.8.5-2) ...

It also didn't help. What do I do wrong? Could you please advice some steps on how correctly resolve my issue?

The following two commands might answer a lot:
$ echo $LD_LIBRARY_PATH
$ echo $PATH

The trouble here is that /usr/bin/openssl seems to find /usr/local/lib/libcrypto.so.1.1 (or presumably /opt/openssl/lib/libcrypto.so.1.1 if you reinstalled your build there), and they

Hi, @levitte
$ echo $LD_LIBRARY_PATH
/opt/openssl/lib:
$ echo $PATH
/home/slesh/.rvm/gems/ruby-2.5.1/bin:/home/slesh/.rvm/gems/ruby-2.5.1@global/bin:/home/slesh/.rvm/rubies/ruby-2.5.1/bin:/home/slesh/bin:/opt/openssl/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/opt/java/jdk11/bin:/home/slesh/soft/gradle/bin:/home/slesh/soft/kotlinc/bin:/opt/scala-2.11.7/bin:/home/slesh/soft/activator-dist-1.3.10/bin:/home/slesh/.npm-global/bin:/home/slesh/soft/android/sdk/platform-tools:/home/slesh/soft/android/sdk/tools:/home/slesh/soft/apache-maven/bin:/opt/go:/opt/swarm/:/opt/geth/:/home/slesh/.rvm/bin:/home/slesh/.rvm/bin

The $LD_LIBRARY_PATH left after installation OpenSSL from sources. I've already removed OpenSSL from /opt/openssl.

I tried this gueid but seems unsuccessful. I still have the OpenSSL complains about OPENSSL_1_1_1 version mismatch:
$ openssl version
openssl: /usr/local/lib/libssl.so.1.1: version `OPENSSL_1_1_1' not found (required by openssl)
openssl: /usr/local/lib/libcrypto.so.1.1: version `OPENSSL_1_1_1' not found (required by openssl)
$ /usr/local/bin/openssl.BACKUP version
OpenSSL 1.1.0  25 Aug 2016
$ /usr/bin/openssl.BACKUP version
/usr/bin/openssl.BACKUP: /usr/local/lib/libssl.so.1.1: version `OPENSSL_1_1_1' not found (required by /usr/bin/openssl.BACKUP)
/usr/bin/openssl.BACKUP: /usr/local/lib/libcrypto.so.1.1: version `OPENSSL_1_1_1' not found (required by /usr/bin/openssl.BACKUP)

Here is environment information:
$ echo $LD_LIBRARY_PATH
/usr/loca/ssl/lib:
$ echo $PATH
/home/slesh/.rvm/gems/ruby-2.5.1/bin:/home/slesh/.rvm/gems/ruby-2.5.1@global/bin:/home/slesh/.rvm/rubies/ruby-2.5.1/bin:/home/slesh/bin::/usr/local/ssl/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/opt/java/jdk11/bin:/home/slesh/soft/gradle/bin:/home/slesh/soft/kotlinc/bin:/opt/scala-2.11.7/bin:/home/slesh/soft/activator-dist-1.3.10/bin:/home/slesh/.npm-global/bin:/home/slesh/soft/android/sdk/platform-tools:/home/slesh/soft/android/sdk/tools:/home/slesh/soft/apache-maven/bin:/opt/go:/opt/swarm/:/opt/geth/:/home/slesh/.rvm/bin:/home/slesh/.rvm/bin

Could you please advice?

I still have the OpenSSL complains about OPENSSL_1_1_1 version mismatch:
$ openssl version
openssl: /usr/local/lib/libssl.so.1.1: version `OPENSSL_1_1_1' not found (required by openssl)
openssl: /usr/local/lib/libcrypto.so.1.1: version `OPENSSL_1_1_1' not found (required by openssl)

Well, you say you removed/rebuilt /opt/openssl, but the complaint is about /usr/local/lib/libssl, which is neither from the Debian package, nor the version built with a prefix of /opt/openssl. And IIRC /usr/local/lib is on the default library search path in Debian.
Therefore, an incompatible OpenSSL runtime in /usr/local will cause problems. You'll have to uninstall the packages that are responsible for or dependent on /usr/local/lib/libssl.so.1.1..
Frankly, the mess your system is in is not really OpenSSL-specific, the same set of issues can happen with any library once you start introducing incompatible versions, especially in locations on the default library search path.
Perhaps instead of doing your own builds you should look into "Nix" or a similar package manager that supports coexistence of multiple variants of the same software. That said, it is not for inexperienced users, do not use live systems you care about as the first place to experiment with Nix and the like...
I'd like to close this issue, you need Debian and basic sysadmin help, not OpenSSL help...

This question seems to have been answered. Closing.


maybe add Clion or Idea IDE support

Detailed description

debug support
c++ and jule file mixed development support like jump to c++ function from jule function call
Code error detection

Context
.
Possible implementation
No response
Additional information
No response

Why not when anyone with knowledge from the community volunteers for this. I'll be keep this as active proposal so anyone interested can see it. Developing a language server beforehand may also be an option.
Thanks for your contribution.


Customise template for Multi Page Import

Hi, it seems that the template for the single page option is not applied.
In settings, under "Single Page Import Settings":

Output when importing:

Thanks!

Did you enable Single Page imports? I didn't think that those properties would show up for single page imports. It's the 1st option in the Logseq-Raindrop settings page.

Oh, sorry i messed up the description.
I am using a page per bookmark, not all on one single page.
Can i customize the template when using Multi Page Import?
→ is the properties template editable?

Oh gotcha — that template customization is only for when you import all bookmarks onto one page. "Single page imports" is not a clear name.
Unfortunately, you cannot edit the template for multi-page imports. I heard feedback that importing all bookmarks into one page was the preferred method, and so that's where new features (like template customization) have been built.
Multi-page imports could be changed to support that, and I always welcome PRs to improve the plugin!

I heard feedback that importing all bookmarks into one page was the preferred method

interesting… I do not want a super-long page with all the highlights (also performance-wise).
thanks for the quick answer


IMDB's display title not pulling

www.imdb.com/title/tt6878882   displays on IMDB's page as "Operation Red Sea". No matter how I set the value to getTitle(), I don't get that title.

No, the title of that movie is  Hong hai xing dong:

Operation Red Sea should be listed in the AKAs.

I wonder why my IMDB is showing a different title?

Because you're getting the localized title. Try using getTitle(true), which tries to return the original name of the movie. :)


Update Move-SPSite.md

Fix #2119

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-server/Move-SPSite.md
:white_check_mark:Succeeded
View (sharepoint-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


[WIP]: erc725.js docs integration

The latest docs for manual injection of the erc725.js docs can be grabbed here:
https://github.com/ERC725Alliance/erc725.js/pull/23

Pushed similar changes here:
https://github.com/lukso-network/docs-website/commit/221c6b4647f747d51b6d87a19e2355af3451fff9
Only the .md headers are missing like "sidebar name", etc because I didn't generate the docs form a docusaurus project.


How is user_code_insert_to_systick_handler() injected in  systick_handler() in systick_wrapper_ual.s ?

That's the wonderful library, and it helps me a lot in my work. I'm really interested in how the function user_code_insert_to_systick_handler() gets injected into the user-defined SysTick_Handler() without modifying user code.
The systick_wrapper_ual.s defines a proc $Sub$$SysTick_Handler which calls user_code_insert_to_systick_handler() then   $Super$$SysTick_Handler  (which refers to user-define SysTick_Handler()). After I looked at the mapping file I found $Sub$$SysTick_Handler is inserted into the vector table instead of the user-defined SysTick_Handler().
This symbols containing $ and | look like black magic to me, and I couldn't find any description of it in the "Armasm User Guide." It would be helpful if could direct me to the documentation that describes this underlying machinism.

I am glad this perf_counter library helps. What you are looking for is this :
https://developer.arm.com/documentation/100070/0612/accessing-and-managing-symbols-with-armlink/use-of--super---and--sub---to-patch-symbol-definitions?lang=en
I hope this helps.

Thanks. It helps.

Question has been answered.


Inventors DC's and AB for spells is 0

literally every roll for inventors DC or Magic attack bonus is 0.

This is a known issue on multiplayer games only. Currently we have no idea how to fix.