Support generating models into a sub-package, similar to Java's models-subpackage

In Event Grid there are a series of models that are basically their own API surface. Customers use the models (without a client) to manually deserialize payloads that come from various locations.
Java has a flag (models-subpackage) that can be used to put the generated models into a subpackage, which is basically the arrangement that all the other languages for Event Grid also use.

We don't have this use-case anymore - eventgrid is (probably) going to be released as a few separate packages, so generating a sub-package isn't needed.


Getting a string[] from a UDF

I can't seem to find anything about table valued functions in EF core is this even possible.
Here's a sample of what I would like to achieve ...
I have a role class that looks like this ...
[Table("Roles", Schema = "Security")]
public class Role
{
     [Key]
     public Guid Id { get; set; }

     // this is a csv list of "privilege keys" that the role grants
     public string Privs { get; set; }
     ...
}

Add this to my DbContext ...
[DbFunction("[DMS].[GetFolderPrivList]")]
public static string[] GetFolderPrivList(string userId, Guid folderId)
{
    throw new Exception();
}

Then I have a UDF like this to compute a list of privs for a folder "path" (which recursively crawls the tree for inherited permissions) ...


Fails to load in Karma

This issue tracker is for Bug Reports and Feature Requests only.
Please direct requests for help to StackOverflow.  See http://bit.ly/UIR-SOF for details.
This is a:

[x] Bug Report
[ ] Feature Request
[ ] General Query

My version of UI-Router is: 1.0.10
I have the following karma.conf.js:
module.exports = function (config) {
  config.set({
    singleRun: true,
    browsers: ['ChromeHeadless'],

    files: [
      'node_modules/angular/angular.js',
<EMAIL_ADDRESS>      'src/**/*.js',
      'test/**/*.js',
    ],

    plugins: [
      'karma-chrome-launcher',
      'karma-jasmine',
    ],

    colors: true,
    frameworks: ['jasmine'],
    reporters: ['progress'],
  });
};

Bug Report
Current Behavior:
As soon as I run karma start with the above config, I get the following error:
INFO [karma]: Karma v1.7.1 server started at http://<IP_ADDRESS>:9876/
INFO [launcher]: Launching browser ChromeHeadless with unlimited concurrency
INFO [launcher]: Starting browser ChromeHeadless
INFO [HeadlessChrome 0.0.0 (Mac OS X 10.12.6)]: Connected on socket
HeadlessChrome 0.0.0 (Mac OS X 10.12.6) ERROR
  Uncaught TypeError: Cannot convert undefined or null to object
  at node_modules/@uirouter/angularjs/release/ui-router-angularjs.js:2009

Expected Behavior:
I expect the ui-router code to load and be available in my spec files so I can inject things like $stateRegistry to test my code.

Hi, thanks for using ui-router.
It looks like you're using the @uirouter/angularjs split bundle in your test harness (ui-router-angularjs.js).  The split bundle does not contain the core of uirouter (@uirouter/core).  I recommend you either add<EMAIL_ADDRESS>to your test harness, or use the legacy bundle<EMAIL_ADDRESS>which also bundles the core code.  I recommend using the same bundles as you use in your released code.

@christopherthielen wait, in my test harness code I am using the legacy bundle:
<EMAIL_ADDRESS>That's what it says in the original issue report.
This I believe to be the exact same bundle as I am using in the actual browser release code.

@onlywei sorry I typed the wrong filename for "legacy bundle". I've now corrected my comment.  The legacy bundle is angular-ui-router.js.  My advice still stands that you should add ui-router-core.js to your karma setup.


Fix filtering of past CouncilMeetings

Coverage decreased (-2.3%) to 62.34% when pulling 0d2ee67e5a5e1a7f0ca8fc83dea412569c0d0c59 on cmfiltering into 9ba9cbe80cff9011080128562f881976a8cb5e75 on master.


Doesn't work on firefox to firefox

Hi,
This is not working when two peers are on Firefox. However, Firefox to chrome worked but video stream was not transferred between peers. Audio got transferred.
Any idea what could possibly be wrong. Firefox is using multistream feature which is under development in chrome. It seems the reason of the error. Have a look please:
https://hacks.mozilla.org/2015/03/webrtc-in-firefox-38-multistream-and-renegotiation/
https://code.google.com/p/chromium/issues/detail?id=465349

I'll take a look next couple of days, thanks for pointing this out!

Sorry, the above links are only suitable for my use case. I am adding multiple streams I have debugged the issue of firefox and if you allow I would give make a pull request. The real issue is of setRemoteDescription(). Firefox assumes all the arguments supplied.

Just merged the PR. Thanks for the fix!


[VCARB-61] Upload log file

Replaces --log-file-sink on fork with a logs dir inside the datadir and a smarter log sink that can Rotate whereby it switches writing to a new file and returns the completed previous log file. This can then be requested by the server via the http control plane. The server then gets control of the file, it compresses it, requests an upload url from Shopmonkey, uploads the file, and, on success, deletes it from disk. This assures that we dont run out of disk space for long-running servers.
Logs are automatically uploaded hourly. The server can be told to upload logs by publishing a notification with the action sendlogs.
fork merely exposes an ability to rotate the log and get back the last file, its up to server to manage rotations/uploads.
other stuff

the heartbeat payload was giant and mostly numeric so i swapped it to msgpack for a cool 2/3rds reduction in size (still logs as json).
heartbeat/notification were missing some struct tags

should we fire off a nats message or hit api when log is uploaded?

should we fire off a nats message or hit api when log is uploaded?

i guess you'd want to know that it worked huh?


CefGlue.Demo.Avalonia run fails on Arch Linux

Steps to reproduce

git clone https://github.com/OutSystems/CefGlue.git (currently on commit 769662f9aec9f8e36848dd3f5bfc314dfeda236b)
cd CefGlue/CefGlue.Demo.Avalonia
dotnet restore && dotnet build
dotnet run

Result
CefGlue.Demo.Avalonia demo crashes at start
Unhandled exception. System.NotSupportedException: Can't find CEF in "/home/reimer/Downloads/CefGlue/CefGlue.Demo.Avalonia/bin/Debug/net8.0/"
 ---> System.DllNotFoundException: Unable to load shared library 'libcef' or one of its dependencies. In order to help diagnose loading problems, consider using a tool like strace. If you're using glibc, consider setting the LD_DEBUG environment variable:
/home/reimer/Downloads/CefGlue/CefGlue.Demo.Avalonia/bin/Debug/net8.0/runtimes/linux-x64/native/libcef.so: cannot open shared object file: No such file or directory
...
/home/reimer/Downloads/CefGlue/CefGlue.Demo.Avalonia/bin/Debug/net8.0/liblibcef: cannot open shared object file: No such file or directory

   at Xilium.CefGlue.Interop.libcef.api_hash(Int32 entry)
   at Xilium.CefGlue.CefRuntime.CheckVersionByApiHash() in /home/reimer/Downloads/CefGlue/CefGlue/CefRuntime.cs:line 131
   --- End of inner exception stack trace ---

CefGlue.Demo.Avalonia/bin/Debug/net8.0/runtimes/linux-x64/native/ only contains:

libHarfBuzzSharp.so
libSkiaSharp.so

Expected Result
CefGlue.Demo.Avalonia demo should start without problems
note
The demo starts up fine if I add the current version of CefGlue.Avalonia nuget package (dotnet add package CefGlue.Avalonia --version 120.6099.209), and remove the following project references:
  <ItemGroup>
    <ProjectReference Include="..\CefGlue.Avalonia\CefGlue.Avalonia.csproj" />
    <ProjectReference Include="..\CefGlue\CefGlue.csproj" />
    <ProjectReference Include="..\CefGlue.Common\CefGlue.Common.csproj" />
    <ProjectReference Include="..\CefGlue.Common.Shared\CefGlue.Common.Shared.csproj" />
  </ItemGroup>

dotnet --info
.NET SDK:
 Version:           8.0.110
 Commit:            87a66bb3d1
 Workload version:  8.0.100-manifests.6bee714d

Runtime Environment:
 OS Name:     arch
 OS Version:
 OS Platform: Linux
 RID:         arch-x64
 Base Path:   /usr/share/dotnet/sdk/8.0.110/

.NET workloads installed:
 Workload version: 8.0.100-manifests.6bee714d
There are no installed workloads to display.

Host:
  Version:      8.0.10
  Architecture: x64
  Commit:       81cabf2857

.NET SDKs installed:
  6.0.135 [/usr/share/dotnet/sdk]
  8.0.110 [/usr/share/dotnet/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 6.0.35 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 8.0.10 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 6.0.35 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 7.0.20 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 8.0.10 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

Other architectures found:
  None

Environment variables:
  Not set

global.json file:
  Not found

Learn more:
  https://aka.ms/dotnet/info

Download .NET:
  https://aka.ms/dotnet/download

I have the same issue when I use Rider, but when I run it using dotnet myapp.dll, it works.
dotnet 8.0.108
Avalonia 11.2.0
CefGlue.Avalonia 120.6099.207
OS 6.11.5-2-cachyos


Braintree-Data.js is not working with Content-Security-Policy

Hello.
My name is Alexey. I am using Braintree for one of our product. Right now I trying to add “Content-Security-Policy”, because we show HTML emails for users and need to block js code execution (eval and inline js). After set header “Content-Security-Policy” I found, what braintree-data.js (https://developers.braintreepayments.com/javascript+ruby/guides/advanced-fraud-tools/client-side) is cause errors:
“Refused to execute JavaScript URL because it violates the following Content Security Policy directive: "script-src *.uservoice.com *.google-analytics.com widget.intercom.io js.intercomcdn.com *.braintreegateway.com *.sandbox.braintreegateway.com *.paypalobjects.com". Either the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required to enable inline execution.”

First error because of this line of code: iframe.src='javascript:false’;. This can be fixed by iframe.src='about:blank';.
Next error go from this line of code: doc.write('<body onload="document._l();">');. document.write should be disabled for good Content Security Policy http://www.cspplayground.com/compliant_examples#eval This can be fixed by an replace doc.addEventListener('DOMContentLoaded',function(){doc._l();});.
But even after this changes I couldn't use braintree-data.js, because it load "https://www.paypalobjects.com/webstatic/r/fb/fb-all-prod.pp.min.js" which have similar problems inside. Of course, I can fix even this script and change url in braintree-data.js, but I just want, what this will work without 'unsafe-inline' 'unsafe-eval' for http://content-security-policy.com/.
Do you have some version, which works with "Content-Security-Policy”? How can I send PR for this lib (2 js libs, as I understand)?

Anyone?

@le0pard sorry you are running into this. We are looking into it and I will update you here as soon as we have something.

@kyledetella Thanks. Will wait for any update (hope my fixes will help)

Any updates? Does my fixes help to fix code for braintree-data.js?

Ping. Still waiting for fix. Maybe I can help in some way? If library will be in open-source - I can make PR to it.

Hey @le0pard, I'm a front-end developer at Braintree. I just wanted to give you a quick update.  We have put in some work to address the errors CSPs like yours were raising.  This work is staged to release. I will update this thread when the release happens.
Thanks for your feedback on this issue.

Big thanks, @schneiderik ! Very good news. Will wait for your update.

I'm running into similar CSP issues when trying to use the https://js.braintreegateway.com/v1/braintree-data.js. These issues are blocking our Braintree fraud tools integration, which is an important prerequisite for a few things on our side .
@schneiderik , any chance you can push for the release to be prioritized soon ?

Hey everyone, https://js.braintreegateway.com/v1/braintree-data.js has been updated.  The update addresses all of the concerns raised by @le0pard in this thread. Thank you very much for your patience!

Wow. Thanks @schneiderik ! I will try on weekends and will write results here

It looks like the CSP issues on both the Braintree and PayPal libraries are resolved - for our CSP configuration set at least.
Thank you so much for pushing these changes out @schneiderik and @le0pard for raising this issue.

@schneiderik Thanks, it really works! Now I can release my app with CSP :)

have this fix been included in some release of braintree-web client? which version?
Does paypal checkout.js have this issue too or it was fixed too?


Add attributed strings from libui-node 0.2.0

https://github.com/parro-it/libui-node/blob/master/docs/attributedstring.md

They can only be drawn inside an Area.
My thoughts: There should be an Area.Text element but also an FancyText element (name to be changed) which creates an area internally.
The attributes get inherited and specified like in react native (https://facebook.github.io/react-native/docs/text.html).
<FancyText style={{color: "red"}}>
    Some red text
    <FancyText style={{fontSize: 20}}>

   </FancyText>
</FancyText>

Sounds good. Then FancyText would just be a wrapper for Area on the outer, and then Area.Text.

Yes, but this has be prevented:
<FancyText style={{color: "red"}}>
    Some red text
    <FancyText style={{fontSize: 5}}>
        Some smaller red text
   </FancyText>
</FancyText>

<Area>
	<Area.Text style={{color: "red"}}>
		Some red text
		<Area> !!!!
			<Area.Text style={{fontSize: 5}}>
				Some smaller red text
			</Area.Text>
		</Area> !!!!
	</Area.Text>
</Area>

Proof of concept at https://github.com/mischnic/proton-native/tree/font:

class Example extends Component {
  render() {
    return (
      <App>
        <Window
          title="Proton Native Rocks!"
          size={{ w: 300, h: 300 }}
          menuBar={false} margined
        >
          <Box>
            <Area>
              <Area.Text color="red">
              	sasad
              	<Area.Text fontSize="20">
              		other
              	</Area.Text>
              </Area.Text>
            </Area>
          </Box>
        </Window>
      </App>
    );
  }
}


fixing a bug in logging an extract run

Issue #, if available:
When Cluster endpoint was not given, it breaks extract because of a recent code addition for logging.
Description of changes:
Added an if statement for now, to unblock the customer.
But we should have an elaborate discussion on if we need to have this logging done for extract because when the customer does not give the cluster endpoint we wont log extract as being used.  Also logging  Replay is more useful in my opinion than extract as customers cant do much with just the extract.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Hey Dev,
Did you test this? Because locally I had tried doing the same but I get Unable to locate credentials error.

YEs tested it with and without the cluster endpoint and it worked.
Your error seems to be that aws credentials are not properly set ?


Figure out how to deal with incoming messages

Figure out how to deal with incoming messages - will need to register them...?
Will this be done from the plugin end?

A handy start might be for each plugin to have an endpoint initiatied automatically, like my-voluble-server-here.com/plugins/endpoints/my-plugin-dir-name-here, which can call something like a onMessageRecieved function on the plugin, maybe after doing some validation to register the message in the DB, figure out who the contact is, figure out if it's in part of a conversation, that sort of thing.

The message identification/validation flow might be something like:

(For SMS) See which number the endpoint recieved the message from (i.e. who the recipient is), which allows us to identify which Organization is the intended recipient
See if the origin number is registered within that Organization and if so, identify the Contact
Figure out if the Message is part of a conversation? This might be a down-the-line feature.
Register the message in the database.
Pass this on to the worker, which can call something like onMessageReceived for the relevant plugin
Maybe setup some sort of event which a website can listen to for incoming messages...?


How to set Android app "window" (screenshot says all) color?

Solution 1:
class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    FlutterStatusbarcolor.setStatusBarColor(Colors.white);
    return MaterialApp(
      title: app_title,
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: HomePage(title: home_title),
    );
  }
}

Solution 2:
SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle(
  statusBarColor: Colors.white
));

 SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle(
    systemNavigationBarColor: Colors.blue, // navigation bar color
    statusBarColor: Colors.pink, // status bar color
  ));

SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle(
systemNavigationBarColor: Colors.blue, // navigation bar color
statusBarColor: Colors.pink, // status bar color
));

Status bar worked but the area showed on screenshot is still white 😒

I had this problem too and traced it down.
This is a bug/regression in the flutter engine, caused by flutter/engine pr #8048. I am submitting a pr on flutter/engine to fix it.

Thanks again for diagnosing and fixing this @inthroxify!


install issue

Hi,
I installed Swift for TensorFlow 0.8 toolchain step by step according to the installation steps in Ubuntu18.04 , but it seems that the installation did not succeed.
There is a  note (Note: You may also need to install other dependencies, if you are unable to run swift or other tools below.)，does that mean I need to install SWIFT?
Swift 5.3 have been installed :
zhaoyue@zhaoyue-virtual-machine:~$ swift -version
Swift version 5.3-dev (LLVM 582da3a4d2e364f, Swift e141661981cd757)
Target: x86_64-unknown-linux-gnu
The following error will pops up when run swiftc:
zhaoyue@zhaoyue-virtual-machine:~/swift-toolchain/usr/bin$ swiftc
:0: error: no input files
and when i tested with test.swift, there is no response , but no error:
zhaoyue@zhaoyue-virtual-machine:~$ swiftc test.swift
zhaoyue@zhaoyue-virtual-machine:~$ test
zhaoyue@zhaoyue-virtual-machine:~$
zhaoyue@zhaoyue-virtual-machine:~$ echo $PATH
/home/zhaoyue/swifttoolchain/usr/bin:/home/zhaoyue/swift/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
Please any one could help ?
Thanks,
Yue

the test.swift is :
import TensorFlow
var x = Tensor([[1, 2], [3, 4]])
print(x + x)
This script is just like the content on your page

zhaoyue@zhaoyue-virtual-machine:~$ ./test
[[2.0, 4.0],
[6.0, 8.0]]
test file have found in the same path,i think the installation has been successful


python311Packages.dvc-data: 2.16.0 -> 2.16.1

Diff: https://github.com/iterative/dvc-data/compare/refs/tags/2.16.0...2.16.1
Changelog: https://github.com/iterative/dvc-data/releases/tag/2.16.1
Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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/)
23.11 Release Notes (or backporting 23.05 Release notes)

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

[ ] Fits CONTRIBUTING.md.

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

14 packages built:

dvc (python310Packages.dvc)
dvc-with-remotes
dvc-with-remotes.dist
dvc.dist (python310Packages.dvc.dist)
python310Packages.dvc-data
python310Packages.dvc-data.dist
python310Packages.dvclive
python310Packages.dvclive.dist
python311Packages.dvc
python311Packages.dvc-data
python311Packages.dvc-data.dist
python311Packages.dvc.dist
python311Packages.dvclive
python311Packages.dvclive.dist

@ofborg eval


Missing Yarn Packages When Building Image Offline

Description:
During the ui-builder process, step [ui-builder 2/8] RUN yarn install fails as the two following packages are missing:
@rollup/rollup-linux-arm64-musl@npm:4.13.2
@rollup/rollup-linux-x64-musl@npm:4.13.2

I assume this is because they are not in the yarn cache?
We have not encountered this issue when building images of previous releases.
Component(s) Affected:

[ ] UI
[ ] API
[ ] Neo4j
[ ] PostgreSQL
[ ] Data Collector (SharpHound, AzureHound)
[x] Other (tooling, documentation, etc.)

Steps to Reproduce:

docker build -f dockerfiles/bloodhound.Dockerfile

Expected Behavior:
Docker image builds with no error
Actual Behavior:
Docker build fails with error as seen above.
Screenshots/Code Snippets/Sample Files:
If applicable, add screenshots, relevant code snippets, or sample files that help illustrate the issue.
Environment Information:
BloodHound: v5.8.1
Collector: N/A
OS: Ubuntu 22.04
Browser (if UI related): N/A
Node.js (if UI related: N/A
Go (if API related): N/A
Database (if persistence related): N/A
Docker (if using Docker): v25.0.1
Additional Information:
Package info - https://socket.dev/npm/package/@rollup/rollup-linux-x64-musl
Potential Solution (Optional):
I have tried to download the zip and add it to the cache manually but that does not seem to work. Sorry I do not understand Yarn enough to investigate further. Each of the zips in the .yarn/cache folder also seem to be suffixed with GUIDs so assume they are locked somehow?
Related Issues:
N/A
Contributor Checklist:

[x] I have searched the issue tracker to ensure this bug hasn't been reported before or is not already being addressed.
[x] I have provided clear steps to reproduce the issue.
[x] I have included relevant environment information details.
[x] I have attached necessary supporting documents.
[x] I have checked that any JSON files I am attempting to upload to BloodHound are valid.

@spyr0-sec - I tested this locally on main with the command docker build -f dockerfiles/bloodhound.Dockerfile .
Can you confirm you're still seeing this? If not, can you give some additional information about the steps you took so I can try to replicate?

Thanks for getting back to me @StephenHinck
I can confirm I am seeing this when building from the main and v5.8.1 branches:

Reverting back to v5.8.0 I can build the image with no error.

Hey @StephenHinck
Just as a heads up we are still experiencing this issue on the v5.9.0 pre-release branches. Apologies I assume its a fairly easy fix but I just don't understand enough about npm / yarn.
I've tried downloading the packages manually<EMAIL_ADDRESS>but can't seem to work out how to add them to the cache as the files within the repo are all prefixed with hashes etc so I assume there is a pipeline / process that I'm not aware of.
Thanks!

@spyr0-sec, I understand. This must have something to do with our CI automation, so it's unlikely to "just fix itself," as we're likely missing some packages to pull for the yarn cache. My familiarity with NPM/yarn is similarly limited - we'll get this on the team's plate to look at, but I don't have a timeline presently.

@spyr0-sec these packages are indeed missing from the cache. Long-term we can make sure these are included!
Short-term, you should be able to fetch the missing packages over the internet when running docker build .... The error message you shared indicates that a networking issue is preventing you from doing so.
While we can't fully troubleshoot your issue I suggest peeking at https://stackoverflow.com/questions/31763418/docker-build-has-no-network-but-docker-run-has for suggestions or leads.

@elikmiller
Appreciate your assistance on this, I was able to manually import the dependencies which satisfied that build step.
Unfortunately I'm now seeing a new error:
 > [ui-builder 3/8] RUN yarn build: 1.181 /bloodhound/packages/javascript/bh-shared-ui/node_modules/rollup/dist/shared/rollup.js:65 1.181             textEncoder ??= new TextEncoder();
Having zero knowledge of JS, I asked CoPilot which returned the following:
The error you're seeing is due to the use of the nullish coalescing assignment (??=) operator, which is a feature in more recent versions of JavaScript (ES2020). This operator assigns a value to a variable only if that variable is null or undefined.
I assume when I performed a yarn build on my online machine, it was running a different version of JS than what the docker image has? If this is the case do you know what version it has and I will rerun with the same.

@spyr0-sec You don't need to run yarn build locally - you just needed to have those missing dependencies in the .yarn/cache folder.
When running docker build offline, assuming those new cached packages are available, you should be able to complete the build. Hope this helps!

@elikmiller
Apologies this was an environmental issue again from our side (joys of an air-gapped environment!).
We are now able to build images again, I'll keep this ticket open until the rollup packages hopefully get merged into the release.
Thanks again for all your help on this!


run ci on wasm32-unknown-unknown

The test failure on this branch represents an actual build error in 1.6.3 on wasm, breaking any wasm projects that depend on async-std. That build error is filed as #851. This PR tries to avoid this situation in the future by adding wasm to the async-std github CI.

thanks, merged manually into #863


PgVectorRM: dspy 2.5.6 does not provide the extra 'pgvector'

import dspy
from dspy.retrieve.pgvector_rm import PgVectorRM

causes this error message when executing:
  File "/lib/python3.11/site-packages/dspy/retrieve/pgvector_rm.py", line 7, in <module>
    import psycopg2
ModuleNotFoundError: No module named 'psycopg2'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/mnt/c/Ubuntu/postgres.py", line 2, in <module>
    from dspy.retrieve.pgvector_rm import PgVectorRM
  File "/lib/python3.11/site-packages/dspy/retrieve/pgvector_rm.py", line 11, in <module>
    raise ImportError(
ImportError: The 'pgvector' extra is required to use PgVectorRM. Install it with pip install dspy-ai[pgvector]

Pip install fails both for dspy and dspy-ai:
pip install dspy-ai[pgvector]
Requirement already satisfied: dspy-ai[pgvector] in /home/wsl/micromamba/envs/GenQA/lib/python3.11/site-packages (2.5.3)
WARNING: dspy-ai 2.5.3 does not provide the extra 'pgvector'

pip install dspy[pgvector]
Requirement already satisfied: dspy[pgvector] in /home/wsl/micromamba/envs/GenQA/lib/python3.11/site-packages (2.5.6)
WARNING: dspy 2.5.6 does not provide the extra 'pgvector'

Thanks @excubo-jg ! Was this working for your before 2.5.6? Or is it the first time you're trying this?
Could you try:
pip install pgvector psycopg2-binary

Then do your import. I think that's what it needs. We should edit the error message to ask people to install these there.

Hi @excubo-jg , does #1608 resolve this? turns out that dspy-ai[pgvector] was never supported!
Feel free to test on the branch and lmk if any other changes are needed (as I don't have access to pgvector related functionality to test)


Error starting campaign on linux

I get the following error starting a campaign on linux
143302 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.util.ConcurrentModificationException java.util.ConcurrentModificationException         at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:911)         at java.util.ArrayList$Itr.next(ArrayList.java:861)         at data.scripts.campaign.intel.VayraPersonBountyManager.checkForFuckedUpParticipants(VayraPersonBountyManager.java:76)         at data.scripts.campaign.intel.VayraPersonBountyManager.advance(VayraPersonBountyManager.java:268)         at data.scripts.VayraMergedModPlugin.onNewGameAfterTimePass(VayraMergedModPlugin.java:343)         at com.fs.starfarer.campaign.save.CampaignGameManager.o00000(Unknown Source)         at com.fs.starfarer.title.TitleScreenState.dialogDismissed(Unknown Source)         at com.fs.starfarer.ui.O.dismiss(Unknown Source)         at com.fs.starfarer.ui.impl.OO0OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO.dismiss(Unknown Source)         at com.fs.starfarer.campaign.save.J.actionPerformed(Unknown Source)         at com.fs.starfarer.ui.n.buttonPressed(Unknown Source)         at com.fs.starfarer.ui.int.Ò00000(Unknown Source)         at com.fs.starfarer.ui.int.processInput(Unknown Source)         at com.fs.starfarer.ui.o0Oo.o00000(Unknown Source)         at com.fs.starfarer.BaseGameState.traverse(Unknown Source)         at com.fs.state.AppDriver.begin(Unknown Source)         at com.fs.starfarer.combat.CombatMain.main(Unknown Source)         at com.fs.starfarer.StarfarerLauncher.o00000(Unknown Source)         at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)         at java.lang.Thread.run(Thread.java:750)

This was fixed by #21 - closing. Though perhaps I should release a new version...

But you know what, let me push out a different fix for this issue just in case.

deployed a different fix in 8bfd2b2

@FERNANDOHYDE if you manage to repro on 3.3.9 please ping me to reopen this and take a look at it more deeper. From what i'm seeing right now:
    private void checkForFuckedUpParticipants() {
        checkedForFuckedUpParticipants = true;
        for (Iterator<String> iter = getSharedData().getParticipatingFactions().iterator(); iter.hasNext(); ) {    // line 76
            String factionId = iter.next();
            if (Global.getSector().getFaction(factionId) == null) {
                Global.getSector().getCampaignUI().addMessage(factionId + " is an invalid bounty participant, please yell at its mod author", Color.red);
                Global.getSector().getCampaignUI().addMessage(factionId + " bounties will not function until they fix it", Color.red);
                Global.getSector().getCampaignUI().addMessage("i could have crashed the game right here, i SHOULD have crashed the game right here", Color.red);
                Global.getSector().getCampaignUI().addMessage("god knows you'd fuckin' deserve it", Color.red);
                iter.remove();
            }
        }
    }

nothing in here should trigger the ConcurrentModificationException unless something else is adding to / removing from the list.
If it reproes i'll try something different, which, again won't guarantee that the ConcurrentModificationException will be gone at all because it shouldn't be happening in this code to begin with.
But if some other mod/thread is modifying this same list (e.g. MagicLib's bounty manager which has caused problems 0 times for me yet), there is no way for me to introduce synchronization on the underlying list or change it from an ArrayList to CopyOnWriteList or some other synchronized data structure, hence why I say - if you repro on new version, the other fix I have in mind can't guarantee not causing it either.

sorry, upon a better inspection i see the list is accessed from multiple files and since i don't know if they're ran in single-threaded or multi-threaded fashion, lemme make all accesses to this bullshit synchronized.

Alternative fix pending in #37 - but just so I don't end up merging it in too eagerly, here's a hotfix candidate you should try out first, and report back if it fixes the issue or not.
https://ufile.io/kbu9jjo3
cc @FERNANDOHYDE

Since #37 is merged in, and this issue is duplicate of issues #18 #19 #20   and was first taken care of with fix from PR #21 and again with #37 - I'm closing this until it resurfaces again on 3.3.11


Error loading in Firefox

Hey, the project is very cool.
After freshly installed NPMplus, I get error message MOZILLA_PKIX_ERROR_REQUIRED_TLS_FEATURE_MISSING in Firefox. If I refresh several times, then the page comes up the fourth or fifth time. After that it works for a few minutes.
The error comes with the Admin UI or with the proxy hosts set up. It makes no difference if you use a Letsencrypt certificate or the dummycert.
My Compose File:
version: "3"
services:
    nginx-proxy-manager:
        container_name: nginx-proxy-manager
        image: zoeyvid/nginx-proxy-manager:latest
        restart: always
        network_mode: host
        volumes:
        - "/nginx-proxy-manager/data:/data"
        - "TZ=Europe/Zurich"
        - "NPM_CERT_ID=1" # ID of cert, which should be used instead of dummycerts, default unset/dummycerts
        - "NGINX_LOG_NOT_FOUND=true" # Allow logging of 404 errors, default false

Interesting, I can't confirm this, do you maybe have some log entries?

@saweater I need some logs to help you

Hello Zoey
I'm sorry that I'm only replying now. But I have spent several hours searching for errors and have created many containers.
But the error always remains the same.
There is no error message in the NPMPlus console.
In the original Nginx proxy manager I have a folder named "logs", does the folder "/data/logs" no longer exist in this project?
Or which logs are helpful for you?
I have to correct myself to the first comment, I have no problems with the dummycert and a self-signed certificate.
My first step was always to create a TLS certificate with the Certbot. And from then on I had the problems.
I selected the DNS challenge with the provider Infomaniak.
And I created a wildcard certificate.
This is all I found:
----------------------------------------------------------
Let's Encrypt certificates cleanup - 2023/11/09 21:54:57
----------------------------------------------------------
Keeping /data/tls/certbot/archive/npm-1/cert1.pem.
Keeping /data/tls/certbot/archive/npm-1/chain1.pem.
Keeping /data/tls/certbot/archive/npm-1/fullchain1.pem.
Keeping /data/tls/certbot/archive/npm-1/privkey1.pem.
4 file(s) kept.
0 file(s) deleted.
skipped '/data/etc/modsecurity/crs-setup.conf'
NPM_CERT set to /data/tls/certbot/live/npm-1/fullchain.pem
NPM_KEY set to /data/tls/certbot/live/npm-1/privkey.pem
NPM_CHAIN set to /data/tls/certbot/live/npm-1/chain.pem
Working on file: /data/nginx/custom/events.conf
Working on file: /data/nginx/custom/http.conf
Working on file: /data/nginx/custom/http_top.conf
Working on file: /data/nginx/custom/root.conf
Working on file: /data/nginx/custom/server_dead.conf
Working on file: /data/nginx/custom/server_proxy.conf
Working on file: /data/nginx/custom/server_redirect.conf
Working on file: /data/nginx/custom/server_stream.conf
Working on file: /data/nginx/custom/server_stream_tcp.conf
Working on file: /data/nginx/custom/server_stream_udp.conf
Working on file: /data/nginx/custom/stream.conf
Working on file: /data/nginx/default.conf
Working on file: /data/nginx/ip_ranges.conf
Working on file: /data/nginx/proxy_host/1.conf
Working on file: /data/nginx/proxy_host/2.conf
Working on file: /data/nginx/proxy_host/3.conf
Working on file: /data/nginx/proxy_host/4.conf
Working on file: /data/nginx/proxy_host/5.conf
Working on file: /data/nginx/proxy_host/6.conf
Working on file: /data/nginx/proxy_host/7.conf
Working on file: /data/nginx/proxy_host/8.conf
Working on file: /data/nginx/redirection_host/1.conf
Success.
-------------------------------------
 _ _  ___  __ __       _
| \ || . \|  \  \ ___ | | _ _  ___
|   ||  _/|     || . \| || | |[_-[
|_\_||_|  |_|_|_||  _/|_| \__|/__/
                 |_|
-------------------------------------
Version:  2.10.4+fa43fc2
Date:     Thu Nov  9 21:55:46 CET 2023
User:     root
PUID:     0
User ID:  0
PGID:     0
Group ID: 0
-------------------------------------
[Global   ] › ℹ  info      Using Sqlite: /data/etc/npm/database.sqlite
[Migrate  ] › ℹ  info      Current database version: none
[Setup    ] › ℹ  info      Added Certbot plugins certbot-dns-infomaniak
[IP Ranges] › ℹ  info      Fetching IP Ranges from online services...
[IP Ranges] › ℹ  info      Fetching https://ip-ranges.amazonaws.com/ip-ranges.json
[IP Ranges] › ℹ  info      Fetching https://www.cloudflare.com/ips-v4
[IP Ranges] › ℹ  info      Fetching https://www.cloudflare.com/ips-v6
[SSL      ] › ℹ  info      Certbot Renewal Timer initialized
[IP Ranges] › ℹ  info      IP Ranges Renewal Timer initialized
[Global   ] › ℹ  info      Backend PID 965 listening on port 48693 ...
[Nginx    ] › ℹ  info      Starting Nginx in three seconds
2023/11/09 21:55:59 [notice] 1006#1006: ModSecurity-nginx v1.0.3 (rules loaded inline/local/remote: 0/7/0)

Thank you for your feedback.
LG Remo

all errors are written to the console, can you give me the domain which doesn't work in firefox for you, so I can test?

Unfortunately, I can't give you the domain as it is currently only used internally due to sensitive data.
But I will set up a test environment for you so that you can test and see it.

I have now created a new VM in the Oracle Cloud for you.
All new, same problem. But strangely enough, the error only occurred the first time I called it up.
The domain is: https://zoey.hediger.swiss or https://test.zoey.hediger.swiss

Then I know the error for internal domains you need to disable must-stable in the /opt/npm/tls/certbot/config.ini conf, before creating a certificate

Yeeah, it was exactly this parameter.
Thank you very much!
P.S. Thanks to the guys who attacked the other systems at 3 o'clock.


[API] Pagination for list views

Implements and closes #32

Pull Request Test Coverage Report for Build 113

8 of 8 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 112:
0.0%

Covered Lines:
427

Relevant Lines:
427

💛  - Coveralls


How to put generic arguments before flags in v2

I've been trying to place generic arguments first when running a cli command, like this:
testrun aaa -lang spanish
Following along the spanish example in the tutorial here
What I get back is everything has become an argument. If I do it the other way round, with the argument at the back everything works fine. Is there a flag I'm missing to set for it to work in the initial way. I put up a stackoverflow question up too but didn't get any responses to that.
urfave/cli version: v2.14.1
golang v: 1.18
stackoverflow question link: https://stackoverflow.com/questions/73587275/urfave-cli-argument-placement-prevents-flag-parsing

Hi @yirez-tc
Why would you put flags/options at the end ? The usual way of running a cli would be the other way around, flags/options first and then arguments.
I can think about few examples from the linux world:
mkdir.exe r --help
Usage: mkdir [OPTION]... DIRECTORY...
...

or
rmdir --help
Usage: rmdir [OPTION]... DIRECTORY...

or
ls --help
Usage: ls [OPTION]... [FILE]...

I'm not saying that it should not be possible, but the standard way is options first, then args.

We can make do with putting it at the end but there was a specific requirement for a cli  tool we were building. It had several flags and one of the flags was to be the first argument implicitly since it will be used the most often.
something like below where this,that argument could be used without explicitly typing -oftenUsedFlag instead.
find this,that  -oftenUsedFlag value -otherflag value ...

Hey @yirez-tc ,
The CLI help is pretty clear about the order of flags and args. You cannot have args before global options or command options.
A dummy find cli would print the following:
NAME:
   find - Usage of my cli

USAGE:
   find [global options] command [command options] [arguments...]

To achieve what you are looking for, you can do something like :
func main() {
	app := &cli.App{
		Name:  "find",
		Usage: "Usage of my cli",

		Flags: []cli.Flag{
			&cli.StringFlag{
				Name:  "oftenUsedFlag",
				Value: "val",
				Usage: "My flag 1",
			},
			&cli.StringFlag{
				Name:  "otherflag",
				Value: "other val",
				Usage: "My flag 2",
			},
			&cli.StringFlag{
				Name:  "arg",
				Value: "false arg",
				Usage: "My false arg",
			},
		},

		Action: func(cCtx *cli.Context) error {
			fmt.Println(cCtx.String("oftenUsedFlag"))
			fmt.Println(cCtx.String("otherflag"))

			fmt.Println("Hello", cCtx.String("arg"))
			return nil
		},
	}
        if err := app.Run(os.Args); err != nil {
		log.Fatal(err)
	}
}

Then you can create an alias and execute it like this:
$ alias find="./find -arg"
$ find this,that -oftenUsedFlag f1 -otherflag f2
f1
f2
Hello this,that

Why would you put flags/options at the end ? The usual way of running a cli

Both
git push origin main --force

and
git push --force origin main

work equally well.

use gopkg.in/alecthomas/kingpin.v2

Dulicate of #1113


Multiple searches

Hi,
Is there a way to make multiple searches, like inserting the actor first name plus a year, and then have as response all movies with a given actor in a given year?
[]s
Cláudio Ramos

This functionality is not available as of now but you can override search function.
https://github.com/jiren/StreamTable.js/blob/ebf42c2ea0e246e5b2ef82700e2d4b014979f9ed/stream_table.js#L249


Resize only OS partition on UEFI drive

While creating UEFI drive Mount-VHD returns an array of partitions'
drive letters, but code assumes that there is just one drive letter.
Returned array is being filtered by partition name 'OS'
and only this one is being optimized.
Resolving issue:
https://github.com/cloudbase/windows-openstack-imaging-tools/issues/248

looks good, thank you for the fix.


Getting weird clipping on Backdrop when used with Docz

🐛 Bug report
Current behavior
The DialogBackdrop appears to be having some strange issues with its position in the DOM.

Any Playground after the modal that you trigger appears above/"to clip" the DialogBackdrop.
The Playground has these styles applied by Docz.
    top: 0;
    left: 0;
    z-index: 0;
    position: relative;
    width: auto;
    height: auto;
    padding: 0px;
    margin: 0 0 30px;
    background: transparent;
    box-sizing: border-box;
    -webkit-transition: background 0.3s;
    transition: background 0.3s;

The DialogBackdrop has these styles applied by me:
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9998;
  transition: opacity 300ms;
  opacity: 1;

  &.hidden {
    opacity: 0;
  }

Expected behavior
I expect the DialogBackdrop to be over all other elements in this page.

Thank you @stramel. Is this live somewhere so I can inspect?
One solution I can think is wrapping DialogBackdrop in Portal:
import { Portal } from "reakit/Portal";

<Portal>
  <DialogBackdrop {...dialog} />
</Portal>

@diegohaz It isn't currently live anywhere. Let me see if I can whip up some kind of codesandbox or similar so you can see it in action.
It does appear that wrapping the DialogBackdrop in a Portal is a workaround for the issue. I will use that for now, thanks for the prompt reply!

@diegohaz I managed to get the issue reproduced inside a codesandbox.
Here is the link, let me know if you have any issues.
https://codesandbox.io/s/github/stramel/reakit-issue-404/tree/master/

Thanks for the reproduction! :)
Looks like the z-index on Playground is creating a new composite layer for the backdrop. The solution is indeed rendering DialogBackdrop in a Portal. We can think of a way to do that automatically if the dialog is modal.


Error when change default interpreter in linux

Description
What steps will reproduce the problem?

The system is using the default spyder 4.2.5 installed from system repository in OpenSUSE Tumbleweed.
When I changed the default interpreter to my conda virtual environment which is Python 3.9.1 with spyder-kernel 1.10.1. The console returned error "Error when starting IPython kernel"
And here is the traceback log:
错误：

Traceback (most recent call last):
File "/usr/lib/python3.8/site‑packages/spyder/plugins/ipythonconsole/plugin.py", line 1422, in create_kernel_manager_and_kernel_client
kernel_manager.start_kernel(stderr=stderr_handle,
File "/usr/lib/python3.8/site‑packages/jupyter_client/manager.py", line 313, in start_kernel
self.kernel = self._launch_kernel(kernel_cmd, **kw)
File "/usr/lib/python3.8/site‑packages/jupyter_client/manager.py", line 220, in _launch_kernel
return launch_kernel(kernel_cmd, **kw)
File "/usr/lib/python3.8/site‑packages/jupyter_client/launcher.py", line 131, in launch_kernel
proc = Popen(cmd, **kwargs)
File "/usr/lib64/python3.8/subprocess.py", line 858, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib64/python3.8/subprocess.py", line 1706, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
PermissionError: [Errno 13] 权限不够: '/usr/lib/python3.8/site‑packages/spyder/plugins/ipythonconsole/scripts/conda‑activate.sh'

I checked the folder and found the files was all right there but the hyphen in the 'site‑packages' was wrong.
/usr/lib/python3.8/site‑packages

I checked the unicode and found they used '\u2011' which is wrong and the right one in system should be '\u002d' but they really look the same.
\u2011  wrong
\u002d  right

I'm not sure if it is a bug in Sypder or in OpenSUSE. So I submit this bug to the Sypder community.
 You said

I checked the folder and found the files was all right there but the hyphen in the 'site‑packages' was wrong.

That's not something we have control over, sorry. That directory is created by the OpenSUSE team, so you need to inform about this problem to them.

I'm not sure if it is a bug in Sypder or in OpenSUSE. So I submit this bug to the Sypder community.

Thanks for reaching out, though. I think it was the right call.


Connect to container using sqldevelopper

Hello,
My container is up and working well.
I started the container with the next syntaxe : docker run --name oracle12r2 -p 1527:1521 -p 5507:5500 -e ORACLE_PWD=text oracle/database:<IP_ADDRESS>-ee
I can use sqlplus doing : docker exec -ti oracle12r2 sqlplus system@ORCLPDB1
But I can't logon to the container from sqldevelopper.
Also, how can I modify the file sqlora or tnsname using the account oracle? All the commands like vi or nano are not reconized.
Please help.
Best regards,
Daniela

for the vi or nano is ok now.
I modify the script to allow to user oracle  to use yum .
But still bocked on the connection with sqldevelopper for outside the container.
Any idea?
Thank you very much!!!

Hi @I050689,
The tnsnames is stored as part of the volume and can be modified outside the container. The sqlnet.ora however is not. I would like to better understand the requirement, i.e. what parameters do you need to change in the sqlnet.ora.
As to your SqlDeveloper connection I need more details to make a judgement on why this isn't working. As you can connect with SqlPlus just fine this is probably just an issue with the connect string configured in SqlDev. Can you share your connection details thay you use inside SqlDev, please?

Hello Gérald,
I create the container with oracle 12cR2 and I can execute the sqlpus when I’m on the machine were the container is located.
But if I’m trying to logon from a different machine using sql developer I have the error message : ora-28040
<EMAIL_ADDRESS>The image was build as : ./buildDockerImage.sh -v <IP_ADDRESS> -e -i
Then the container is created like : docker run --name oracle12r2 -p 1527:1521 -p 5507:5500 -e ORACLE_PWD=bobobo oracle/database:<IP_ADDRESS>-ee
Mon tnsnames is :
[oracle@d123c71690b1 admin]$ cat tnsnames.ora
ORCLCDB=localhost:1521/ORCLCDB
ORCLPDB1=
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = <IP_ADDRESS>)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ORCLPDB1)
)
)
I hope I gaved you all the informations.
Please come back to me if you need other information.
Thank you very much for you time and help.
Daniela
From: Gerald Venzl<EMAIL_ADDRESS>Sent: vendredi 19 mai 2017 10:18
To: oracle/docker-images<EMAIL_ADDRESS>Cc: BOAMBA, Daniela<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [oracle/docker-images] Connect to container using sqldevelopper (#387)
Hi @I050689https://github.com/i050689,
The tnsnames is stored as part of the volume and can be modified outside the container. The sqlnet.ora however is not. I would like to better understand the requirement, i.e. what parameters do you need to change in the sqlnet.ora.
As to your SqlDeveloper connection I need more details to make a judgement on why this isn't working. As you can connect with SqlPlus just fine this is probably just an issue with the connect string configured in SqlDev. Can you share your connection details thay you use inside SqlDev, please?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/oracle/docker-images/issues/387#issuecomment-302640162, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AI2i9poJgyQkW7eAnlxo2kVt3XkUSDh_ks5r7VBSgaJpZM4NfGoq.

Also,
The tnsping from the machine wher I execute the sqldevelopper is ok :
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.47.3.
155)(PORT = 1527)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = ORCLPDB1
)))
OK (30 msec)
From: BOAMBA, Daniela
Sent: vendredi 19 mai 2017 13:33
To: 'oracle/docker-images'<EMAIL_ADDRESS>oracle/docker-images<EMAIL_ADDRESS>Cc: Mention<EMAIL_ADDRESS>Subject: RE: [oracle/docker-images] Connect to container using sqldevelopper (#387)
Hello Gérald,
I create the container with oracle 12cR2 and I can execute the sqlpus when I’m on the machine were the container is located.
But if I’m trying to logon from a different machine using sql developer I have the error message : ora-28040
<EMAIL_ADDRESS>The image was build as : ./buildDockerImage.sh -v <IP_ADDRESS> -e -i
Then the container is created like : docker run --name oracle12r2 -p 1527:1521 -p 5507:5500 -e ORACLE_PWD=bobobo oracle/database:<IP_ADDRESS>-ee
Mon tnsnames is :
[oracle@d123c71690b1 admin]$ cat tnsnames.ora
ORCLCDB=localhost:1521/ORCLCDB
ORCLPDB1=
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = <IP_ADDRESS>)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ORCLPDB1)
)
)
I hope I gaved you all the informations.
Please come back to me if you need other information.
Thank you very much for you time and help.
Daniela
From: Gerald Venzl<EMAIL_ADDRESS>Sent: vendredi 19 mai 2017 10:18
To: oracle/docker-images <docker-images<EMAIL_ADDRESS>Cc: BOAMBA, Daniela <daniela.boamba<EMAIL_ADDRESS>Mention <mention<EMAIL_ADDRESS>Subject: Re: [oracle/docker-images] Connect to container using sqldevelopper (#387)
Hi @I050689https://github.com/i050689,
The tnsnames is stored as part of the volume and can be modified outside the container. The sqlnet.ora however is not. I would like to better understand the requirement, i.e. what parameters do you need to change in the sqlnet.ora.
As to your SqlDeveloper connection I need more details to make a judgement on why this isn't working. As you can connect with SqlPlus just fine this is probably just an issue with the connect string configured in SqlDev. Can you share your connection details thay you use inside SqlDev, please?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/oracle/docker-images/issues/387#issuecomment-302640162, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AI2i9poJgyQkW7eAnlxo2kVt3XkUSDh_ks5r7VBSgaJpZM4NfGoq.

Hello,
My error :  I used an sqldevelopper for oracle 11g. Is not working.
But with a sqldevelopper for oracle 12 is ok.
Sorry for this.
Thank you very much.


cassandra: fix repair command when there is an exception

This change is

Review status: 0 of 1 files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Test: Issue Reporter command and menu contribution for additional data

Continuation of https://github.com/microsoft/vscode/issues/196324

[ ] anyOS @paulacamargo25
[ ] anyOS @hediet
[ ] anyOS @andreamah

Complexity: 5
Create Issue
Create Issue

Overview
Added improvements to the Issue Reporter Command. Instead of an API, we now are testing a version of the openIssueReporter command that does virtually the same thing as the API.
Last iteration, we added data and uri to the command shape. This iteration, we allow extensions to contribute a menu and command to call workbench.action.openIssueReporter which can load data from the original issue reporter flow.
The following is the structure of what an example call to openIssueReporter could look like.
async function openIssueReporter() {
	await vscode.commands.executeCommand('workbench.action.openIssueReporter', {
		extensionId: 'ms-python.python',
		issueTitle: 'title here',
		data: dataString,
                uri: Uri.parse('https://github.com/microsoft/vscode-copilot-release'), // changed url here for demo
	});
}

The general idea is that from anywhere, you could run this command and give it some parameters, mainly things like a template (which will go to the body), data (which if contributed, will add a data field), or a uri (which if contributed, will replace the repo url).
Now that we have a menu contribution, the menu will be contributed from a package.json and point to a command which will run the openIssueReporter command. We're basically using the menu service as a medium to run commands via our extension selection!
To test

Implement the command, contribute it, and add a menu contribution. This can be done basically anywhere, but for simplicity, an extension may be the easiest. If you have a personal extension to test on, fantastic. If not, check out this extension's implementation.
The contributed command should eventually call workbench.action.openIssueReporter
Contribute a menu contribution point like this:

"contributes": {
	"commands": [
		{
			"command": "extension.myCommand",
				"title": "Report Issue"
		}
	],
		"menus": {
			"issue/reporter": [
				{
					"command": "extension.myCommand"
				}
			]
		}
	},

Also ensure that you add "contribIssueReporter" to enabledApiProposals in package.json of your extension.
Once the command and menu contribution have been added, open the issue reporter via Help: Report Issue from the command palette.
Select the extension that has the menu contribution, observe if data is properly added (issue body, issue data, check that the URI is properly changed).
Try adding multiple extensions, test switching between to make sure the right data is added.
To simulate a long data collection task, try adding a timeout (see here for example)
Ensure that the original issue reporter workflow for exgtensions that don't contribute a menu/command is not broken.

Some things to make sure:

The right things are hidden or shown
When you switch between an extension and another extension, the correct things are shown, and correct url (when submitting) is reached.
Data is populated correctly in both template and extension data sections.
Correct text is sent to GitHub after pressing submit

Some tips:

Create an extension guide
Extensions samples repo

Sorry this one is super long, but I'd appreciate any feedback on UI/UX, how the extension contributions are structured, etc. Thanks!

It works, but I find this API very weird and unconventional.
Basically, a menu entry is used as provider registration, a command as provider definition and workbench.action.openIssueReporter as callback.

Thanks @justschen , it works fine for me, nice work 👍

Great work! Reflecting a bit on the structure of the API, it does seem to be a little confusing from an extension API standpoint. I would expecting something like a Provider that specifies the constant info needed, plus a callback for data (see TextSearchProvider API, which accepts a class that defines a function for acting on results).
Although, it seems that you're doing it this way so that you can encapsulate the functionality into a command. Is this because there is a demand for filing against different repos in different cases? You've probably gotten lots of feedback on the API already from the sync, but using the API did seem a bit different from the norm.


Once downloading a new mod has finished, it reloads all the other mods and extends the list.

The list doesnt get cleared but it is extended anyways after reloading the other mod info.

I see, I will fix this shortly, thank you for bringing this to my attention.

Fixed and will be pushed with 1.2.6, thank you.


Add a Word Count App

Hi @TusharKesarwani, @zugzwang03 , I am a contributor in SSOC'23.
I want to add a new project in repo, It's a word counter app.
please assign me this task under label ssoc'23

The project is already present in the repo

Yes, but project is built from scratch with a different Javascript logic, you should consider adding the project, as a same problem can have multiple solutions.


[stable/kapacitor] Add myself as a maintainer for kapacitor.

Signed-off-by: Aisuko<EMAIL_ADDRESS>
Is this a new chart

NOTE: We're experiencing a high volume of PRs to this repo and reviews will be delayed. Please host your own chart repository and submit your repository to the Helm Hub instead of this repo to make them discoverable to the community. Here is how to submit new chart repositories to the Helm Hub.

What this PR does / why we need it:
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #20774

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[ ] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/ok-to-test

/lgtm
thanks @Aisuko !


[11.0-stable] backport: Make newlogd keep the original msg text and fields

I see that eden tests are failing due to references to #cloud-config i.e., the tests assume that this support is present in 11.0-stable, which it doesn't seem to be. Are we referring to the wrong version/tag of the eden tests?

I see that eden tests are failing due to references to #cloud-config i.e., the tests assume that this support is present in 11.0-stable, which it doesn't seem to be. Are we referring to the wrong version/tag of the eden tests?

Thank you for noticing this @eriknordmark! Although the Eden version is set correctly to use the workflow from release 0.9.2, it still checks out the repository (including test files) from the latest master. I'm gonna look into this and present a fix, but this will probably have nothing to do with this PR.

Thank you for noticing this @eriknordmark! Although the Eden version is set correctly to use the workflow from release 0.9.2, it still checks out the repository (including test files) from the latest master. I'm gonna look into this and present a fix, but this will probably have nothing to do with this PR.

I wonder if there is some fluke because the PR with the idential backport to 10.4-stable didn't trip on this.
I'll re-run eden once it has all failed.

Thank you for noticing this @eriknordmark! Although the Eden version is set correctly to use the workflow from release 0.9.2, it still checks out the repository (including test files) from the latest master. I'm gonna look into this and present a fix, but this will probably have nothing to do with this PR.

I wonder if there is some fluke because the PR with the idential backport to 10.4-stable didn't trip on this. I'll re-run eden once it has all failed.

The workflow has changed in 11.0-stable to use the workflow from Eden which works like this
When checking out the repository that triggered a workflow, this defaults to the reference or SHA for that event. Otherwise, uses the default branch.

So since we trigger that workflow from outside it just uses the latest master.

Can you check with @uncleDecart if we can come up with a better scheme. He and Avi has just redone the Eden workflows in master and I don't know if that would help or hinder coming up with a scheme for running the correct version of the eden tests for a stable branch. In any case I suspect we will need a general solution to this for future LTS releases.


Penetration Test Vulnerability found in the output generated from DITA OT, authored in Oxygen XML Editor

Hi,
We  generated output from DITA OT (1.0), authored in Oxygen XML Editor. When the testers did a Penetration test, they passed a script " " which should not be executed ideally, but the search is executing the same. We have and urgent fix for this. Please let me know the possible solution.

What specific output type do you obtain from DITA ? Is it plain HTML? Or is it Oxygen WebHelp Responsive output?
Plain HTML output obtained from DITA does not have any Javascript code included and it also does not have a search functionality.
If it's Oxygen WebHelp Responsive output you obtain maybe you can get in touch with<EMAIL_ADDRESS>and provide more details (Oxygen version for example).

@Roopgovind I'm closing this one, if you provide extra details it can be opened later on


Making directed and non-simple graphs

Two questions:

How do you make a directed edge between two vertices?
How do you make multiple edges between two vertices?

Use the addEdge(v1, v2) method to create edge from v1 --> v2 and
addEdge(v2, v1) to create an edge in the opposite direction.
Check
http://bridgesuncc.github.io/tutorials/Graph_AL.html
for an example using the IMDB data.
-- krs
On 3/24/20 4:39 PM, Austin Cory Bart wrote:

Two questions:

How do you make a directed edge between two vertices?
How do you make multiple edges between two vertices?

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/BridgesUNCC/bridges-python/issues/61, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABLFEOFQASTSC4SXD4H6L53RJEK7FANCNFSM4LS7BWNQ.

--
Kalpathi Subramanian                             Ph:<PHONE_NUMBER>
Associate Professor                              Email<EMAIL_ADDRESS>Dept of Computer Science                         Web:http://webpages.uncc.edu/krs
The University of North Carolina
Charlotte, NC 28202-0001

Okay, so all edges are directed, but their arrow heads are ridiculously tiny on my screen; is there a way to make the arrow head visible without just making the thickness extremely high?

Yeah, this has been an issue forever. The problem is trying to nicely
scale the edges depending on the size of the graph. We will make it an
issue and get to it to see if we can do better.
I would like to spend some time on the graphics side of it; this has
long been neglected as the focus had been more on data and data
structures side since the beginning of the project.
-- krs
On 3/24/20 5:14 PM, Austin Cory Bart wrote:

Okay, so all edges are directed, but their arrow heads are
ridiculously tiny on my screen; is there a way to make the arrow head
visible without just making the thickness extremely high?
image
https://user-images.githubusercontent.com/897227/77477327-8b9c2200-6df2-11ea-8b01-8c5fee2a6aaf.png
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/BridgesUNCC/bridges-python/issues/61#issuecomment-603508080,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABLFEOAOKQK7YZR3ZRJPME3RJEPCLANCNFSM4LS7BWNQ.

--
Kalpathi Subramanian                             Ph:<PHONE_NUMBER>
Associate Professor                              Email<EMAIL_ADDRESS>Dept of Computer Science                         Web:http://webpages.uncc.edu/krs
The University of North Carolina
Charlotte, NC 28202-0001

Ah, cool, that'd be nice. I was going to be relying on students making directed graphs for their projects next week, so perhaps at least increasing the default size a little might be helpful?


PYTHON-API: vim.eval breaks, if the string a:items contains invalid utf-8 characters

Hi all,
I was trying to figure out why ctrlp-py-matcher is not working when certain
files are present in my repo.
I have this file in my folder:
https://github.com/pallets/jinja/blob/master/jinja2/_identifier.py
Now I try to use ctrlp, ctrlp-py-matcher to navigate tags. I use ctags to generate the tags files.
However, I found that even though the correct tags were being generated, :CtrlPTags wasn't showing any tags.
I have traced it down to the file above
https://github.com/pallets/jinja/blob/master/jinja2/_identifier.py
which contains UTF-8 header and possibly incorrect characters, vim.eval in the ctrlp-py-matcher fails.
Heres the line which fails
https://github.com/FelikZ/ctrlp-py-matcher/blob/cf63fd546f1e80dd4db3db96afbeaad301d21f13/autoload/pymatcher.py#L7
Heres the output of iconv run on the file:
iconv -f utf-8 -t ascii -o _identifier.py _identifier.py
iconv: illegal input sequence at position 65

Other people such as @ludovicchabant also found a similar problem and had to
work around it as shown in his fork of the ctrlp-py-matcher repo, and also
post process the tags file(https://ludovic.chabant.com/devblog/2017/02/25/aaa-gamedev-with-vim/) :
https://github.com/ludovicchabant/ctrlp-py-matcher/blob/2f6947480203b734b069e5d9f69ba440db6b4698/autoload/pymatcher.py#L22
If I use something like perl -i -pe 's/[^[:ascii:]]//g;', to remove any
non-ascii or non-utf-8 characters, then the tag file generated using ctags -R
starts working again.
Currently, I basically excluded the entire python env folder to prevent these
issues. I can ofcourse, do some post-processing of tags file after ctags
generates the tags file and remove the BOM header or invalid characters,
but it seems a bit hacky.
The best way would be if vim.eval('a:items') doesn't error out, even if its
argument contains BOM headers or invalid utf-8 characters, or if there
exists another function other than vim.eval which won't crash when the string
it contains has BOM headers.
Is vim.eval('a:items') supposed to crash if the items in the argument passed
to it (a:item) contains invalid characters?
Is there any way around it?

[...]

Is vim.eval('a:items') supposed to crash if the items in the argument passed
to it (a:item) contains invalid characters?

I believe that is the be expected, since it uses the argument as text,
thus if the text is invalid it won't work.

Is there any way around it?

try/catch perhaps?
--
hundred-and-one symptoms of being an internet addict:
254.
/// Bram Moolenaar --<EMAIL_ADDRESS>-- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

OT1H, IMO crashes ought not no happen.
OTOH, in some multibyte encodings including UTF-8, not every byte sequence is valid.
So what is Vim to do if a string passed from Python (or Perl or…) as UTF-8 is actually not valid UTF-8? At the moment IIUC it crashes. Other possibilities could be (a) return some kind if error; (b) fall back on Latin1 (which, depending on the particular input, might either be the right thing to do or lead to mojibake); (c) replace the invalid sequence by one or more instances of the character � (U+FFFD REPLACEMENT CHARACTER) which is meant for exactly that purpose.
Best regards,
Tony.

Please don't fallback to latin1. I've seen too much of garbage caused by that.
There are several ways to handle this:

Use the errors='surrogateescape' option. You can encode back to the orignal string in this way. But some Python APIs may not expect surrogate pairs.
Use the errors='replace' option. Invalid characters are shown as �. You lose information and can't convert back.
Provide a bytes version like Python do (e.g. os.environb etc. All paths in Python stdlib can be given as bytes too). This puts the burden to the developers using it.
Raise an error with a bytes version in the exception so cautious developers can still handle them but otherwise the error is explicitely shown.

BTW, I don't know what exact problem @alphaCTzo7G has encountered. The _identifier.py file is valid UTF-8 but not valid ASCII. Maybe you are using Python 2 or a default encoding other than UTF-8?

@lilydjwg.. Interesting.. how are you determining that _identifier.py doesn't contain valid utf-8.
If it isn't then I am wondering what's your hypothesis behind why vim.eval('a:items') is failing if the contents of that file are contained in a:items?

There are mutliple other python libraries that have shown similar effects (if characters from these files are present in a:items, and there is a call to vim.eval(a:items'), vim.eval('a:items') crashes). I just showed one of them.. Perhaps the reason for these may be different, but there could be one root cause/commonality..
Here are more examples..

https://github.com/mhammond/pywin32/blob/master/com/win32com/HTML/misc.html
https://bitbucket.org/birkenfeld/pygments-main/src/7941677dc77d4f2bf0bbd6140ade85a9454b8b80/pygments/lexers/testing.py?at=default&fileviewer=file-view-default
https://github.com/pallets/jinja/blob/master/jinja2/_identifier.py

I did another test from here: https://stackoverflow.com/a/41741313/4752883
using grep -axv '.*' file.txt to see whether there are invalid characters.
This returns invalid character only for the file in #1. misc.html at the location
Misc stuff I dont know where to put anywhere else

For  iconv -f utf-8 -t ascii -o file1 file1
#1 (misc.html) returns error at : iconv: illegal input sequence at position 407
#2 (testing.py) returns error at iconv: illegal input sequence at position 716 #3 (_identifier.py) returns error at: iconv: illegal input sequence at position 65
The iconv error seems to indicate that there is illegal input sequence at .., and I am using the -f utf-8 switch.. so doesn't that indicate that there is an incorrect utf-8 character at that location?
So the 2 tests above seem to give conflicting reports.
One hypothesis could be that vim.eval only takes ascii characters and fails if there are utf-8 characters not representably by ascii?
Note: I got the testing.py from pypi.. because I dont have hg installed, I couldn't validate that the  testing.py from pypi using pip install pygments has or hasn't changed in the bitbucket repo.

just to provide some more details.. in case these are important..
I am on Ubuntu 16.04..
here's the output of locale
LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8

VIM - Vi IMproved 8.1 (2018 May 17, compiled Jul  1 2018 10:45:10)
Included patches: 1-42

iconv -f utf-8 -t ascii -o file1 file1 tries to convert to ascii, which will fail if the input contains any non-ascii characters.
To tell if a file is in valid UTF-8, you can just open it in Vim with ++enc=utf-8, and see if Vim reports any errors (or use vim --clean if your vim config has troubles with the file).
You can get the file with cloning in both github and bitbucket: use the "raw" link on the page.
You can try to echo a:items out within VimL to see what it's like. Also, try Python 3 if you aren't using it already.

@lilydjwg .. thank you very much for your suggestions..I will go through them and test them.
Also..I am most likely using python3 and compiled my vim with python3 only (not dynamically linking python2 and python3 simultaneously) based on the instructions here: https://github.com/Valloric/YouCompleteMe/wiki/Building-Vim-from-source

@lilydjwg, you are right _identifier.py doesnt contain any illegal utf-8 characters. Using :e ++enc=utf-8, trying to navigate to the illegal character using 8g8 or using grep -axv .* doesnt show any errors.. so the file is probably fine.. but still vim.eval errors out for some reason..

misc.html from pywin32 does contain illegal utf-8 characters.. this is shown by 8g8, :e ++enc=utf-8 as well as grep:

I am indeed using python3 in my vim, as show below:

Regarding your question of file encoding, I have set encoding=utf-8, so set encoding returns encoding=utf-8. fileencoding is not set.. and from this post, it seems that if fileencoding is not set, it defaults to encoding: https://stackoverflow.com/a/16507826/4752883

@lilydjwg .. Is this what you meant?

I put echo a:items in the pymatcher#PyMatch function.. It seems to me that this is the function that gets the items.

There is a corrupted character in your tags, and Vim has issues calculating the correct display width of the broken bytes.
You can report issues to the tool that has generated this tags file. (It seems to me that the tool clips long strings by bytes instead of characters.)

@lilydjwg .. actually not sure if its a problem with Universal ctags, (compiled a few days back.) there seems to be multiple issues here.. One was with the python-api..
I thought what I posted above was related but it seems the issue in this image

is related to the terminal I use (Putty), but is also present in Kitty, MobaXterm, BitVise ssh client as well https://github.com/tmux/tmux/issues/1409#issuecomment-406852634
If I try this in Gvim, or use a different terminal such as Gnome-terminal, or rxvt-unicode that has unicode support, this issue in the above image doesn't happen. So I will probably have to report these to them (Putty/Kitty etc).. Its not too much of a issue.. and probably a edge case, so maybe thats why they haven't bothered to fix it.
vim.eval still breaks for the 3 files I posted regardless of what terminal I use or if I use Gvim..

There is a corrupted character in your tags, and Vim has issues calculating the correct display width of the broken bytes.

@lilydjwg, actually you are right about bringing up the tags file. Thanks for pointing this out.. for some reason, I didn't expect that even though the _identifier.py had all valid characters, ctags would insert invalid utf-8 characters.
While the picture I posted before regarding the location of the cursor is
related to the terminal, it seems that the current version of Ctags indeed
inserts a incorrect character into the file.
Here's some evidence. Note to isolate the problem, this is run a fresh Ubuntu
16.04 VM installed today. The only modifications made are to some libraries
necessary to compile ctags, vim from source.
With exuberant-ctags installed using just sudo apt-get install ctags:

With Universal-ctags compiled from source (latest commit) as of this post, compiled with instructions from here: https://github.com/universal-ctags/ctags/blob/master/docs/autotools.rst:

just thought I would update this..
@b4n has created a PR here to Universal-ctags: https://github.com/universal-ctags/ctags/pull/1807 and it seems that ctags no longer cutting at an arbitrary byte position.
misc.html still doesn't work, as misc.html indeed contains a invalid utf-8 character, which ctags inserts into the tags file.. and thus vim.eval fails..
I will investigate the other option that that others proposed here..

misc.html is encoded with Windows-1252 as it is described in the HTML header.
Try passing --input-encoding=Windows-1252 (or --input-encoding=cp1252) and --output-encoding=utf-8 to Universal Ctags.

I suppose this is not a Vim issue, so this can be closed, right?


Change to kubectl command in ovn-setup.sh

Signed-off-by: Phil Cameron<EMAIL_ADDRESS>

/lgtm


Improve App Service Linux Deployment

Improves App Service Linux Deployment by directly mounting deployed Zip file into Docker container. Additionally, due to the virtual filesystems symlinks need to be avoided.
These steps here will improve the App Service deployment step speed by 10X.

See projectkudu/kudu#2946 for context


Update README URLs based on HTTP redirects

Created with https://github.com/dkhamsing/frankenstein
GitHub Corrected URLs

Was
Now

https://github.com/diasdavid/interface-stream-muxer
https://github.com/libp2p/interface-stream-muxer

https://github.com/diasdavid/node-ipfs-distributed-record-store
https://github.com/libp2p/js-libp2p-distributed-record-store

https://github.com/diasdavid/node-ipfs-kad-record-store
https://github.com/libp2p/js-libp2p-kad-record-store

@diasdavid Needs merge and npm version patch


Ignore target field that exists on source struct

Expected Ignore to work both ways. Need
type A {
  fieldA int
  fieldB int
}

type B {
  fieldA int
}

A->B throws error because fieldB doesn't exist on B

Please add your converter interface and the error message you are receiving.

Updated


Integrate bity.com crypto to fiat off-ramp

I'd like to use the burner-wallet like I use paypal.com with my friends. Sometimes someone is desperately in need of cash but only has crypto or money on their bank account. Hence I'd like to send them crypto. They offramp into fiat directly through the burner-wallet to their bank account and I get cash handed from them.
I investigated this a bit and found an API that allows to off-ramp 5000€ yearly in Europe with no KYC required. https://doc.bity.com/backend/v2.html?http#place-an-order
The flow is very simply and could be nicely integrated with the burner-wallet. The user has to go through the following flow:

Send their phone number to the bity API
User receives a token/tan and sends a request with that tan to the bity API to receive an authentication token
User places a bid on the bity.com ETH -> Fiat exchange (minimum amount 0.01 ETH) where they provide: (1) The ETH address where they're sending the ETH from, (2) Their bank account, (3) The auth token
Bity creates an order and returns the user an address to send the ETH to
Burner-wallet automatically sends the ETH to the bity address
Bity takes care of the conversion and the fiat is transferred in a matter of days to the user's bank account.

On their APi docs, bity says:

At this time, crypto-to-EUR orders are only possible with IBANs of the following countries: Austria, Belgium, Bulgaria, Croatia, Cyprus, Czech Republic, Denmark, Estonia, Finland, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Liechtenstein, Lithuania, Luxembourg, Malta, Monaco, Netherlands, Norway, Poland, Portugal, Romania, San Marino, Spain, Slovakia, Slovenia, Sweden, Switzerland, UK and Northern Ireland. This list of supported countries for EUR output will grow.

I'd be super awesome if we could write a module for this API on the burner-wallet.
Ideally, an even better solution would allow the handling of users in other countries as well. I know that @austintgriffith was using Wyre to pay out merchants. I tried Wyre but as far as I understand you'll have to do KYC with them :/
Would love to hear your thoughts on this :)
Edit: I initiated a test transfer with 0.01 ETH and it arrived in my bank account only 4 hours later: https://twitter.com/TimDaub/status/1126086255295512578

But to be frank, I found Bity's approach to KYC a bit lacking... this may be a situation where it makes sense to get the opinion of someone who has a bit more expertise in the matter.

I'd be happy to collect opinions from people that have a better understanding of the legality of this. Personally I find it quite awesome though that no KYC is required. @mkosowsk do you have a recommendation to whom I could speak to? Alternatively to commenting here you can send me a DM on Twitter: https://twitter.com/TimDaub

This is now a proposed issue for Sprint 1:
Scope

Bity allows a user to off-ramp ETH <=> 5000 CHF annually. It only requires authentication through
Bity only works in the EU at this point. Make this sufficiently clear to the user.
Use bity's API to off-ramp a user's eth as outlined in their documentation: https://doc.bity.com/backend/v2.html#place-an-order
Make off-ramping super easy for the user!
Make the user aware of the annual off-ramping limit of 5000 CHF by querying the past orders of the user and summing up their withdrawals to show it in the UI

Deliverables

A dialogue in the Exchange view of the burner wallet that lets the user off-ramp crypto into fiat very quickly if it turns out they're in the EU

Gain for the project

Allows users to exchange their crypto for FIAT without much friction
Proves to newly onboarded users that xDAI/ETH is in fact real money

Roles
bounty gardener: @TimDaub / 10%
bounty worker: name / 75%
bounty reviewer: name / 15%


Won't install. Problem with paragonie/random_compat

Software versions
PHP 7.2.8 (cli) (built: Jul 19 2018 12:15:24) ( NTS )
Composer version 1.7.2 2018-08-16 16:57:12

After composer require
get this
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Conclusion: don't install pragmarx/google2fa v3.0.2
    - Conclusion: don't install pragmarx/google2fa v3.0.1
    - Conclusion: remove paragonie/random_compat v9.99.99
    - Installation request for pragmarx/google2fa ^3.0 -> satisfiable by pragmarx/google2fa[v3.0.0, v3.0.1, v3.0.2].
    - Conclusion: don't install paragonie/random_compat v9.99.99
    - pragmarx/google2fa v3.0.0 requires paragonie/random_compat ~1.4|~2.0 -> satisfiable by paragonie/random_compat[v1.4.0, v1.4.1, v1.4.2, v1.4.3, v2.0.0, v2.0.1, v2.0.10, v2.0.11, v2.0.12, v2.0.13, v2.0.14, v2.0.15, v2.0.16, v2.0.17, v2.0.2, v2.0.3, v2.0.4, v2.0.5, v2.0.6, v2.0.7, v2.0.8, v2.0.9].
    - Can only install one of: paragonie/random_compat[v1.4.0, v9.99.99].
    - Can only install one of: paragonie/random_compat[v1.4.1, v9.99.99].
    - Can only install one of: paragonie/random_compat[v1.4.2, v9.99.99].
    - Can only install one of: paragonie/random_compat[v1.4.3, v9.99.99].
    - Can only install one of: paragonie/random_compat[v2.0.0, v9.99.99].
    - Can only install one of: paragonie/random_compat[v2.0.1, v9.99.99].
    - Can only install one of: paragonie/random_compat[v2.0.10, v9.99.99].
    - Can only install one of: paragonie/random_compat[v2.0.11, v9.99.99].
    - Can only install one of: paragonie/random_compat[v2.0.12, v9.99.99].
    - Can only install one of: paragonie/random_compat[v2.0.13, v9.99.99].
    - Can only install one of: paragonie/random_compat[v2.0.14, v9.99.99].
    - Can only install one of: paragonie/random_compat[v2.0.15, v9.99.99].
    - Can only install one of: paragonie/random_compat[v2.0.16, v9.99.99].
    - Can only install one of: paragonie/random_compat[v2.0.17, v9.99.99].
    - Can only install one of: paragonie/random_compat[v2.0.2, v9.99.99].
    - Can only install one of: paragonie/random_compat[v2.0.3, v9.99.99].
    - Can only install one of: paragonie/random_compat[v2.0.4, v9.99.99].
    - Can only install one of: paragonie/random_compat[v2.0.5, v9.99.99].
    - Can only install one of: paragonie/random_compat[v2.0.6, v9.99.99].
    - Can only install one of: paragonie/random_compat[v2.0.7, v9.99.99].
    - Can only install one of: paragonie/random_compat[v2.0.8, v9.99.99].
    - Can only install one of: paragonie/random_compat[v2.0.9, v9.99.99].
    - Installation request for paragonie/random_compat (locked at v9.99.99) -> satisfiable by paragonie/random_compat[v9.99.99].

Should be fixed now. Thanks for reporting.


chore: bump github checkout action

run on pull_requests
bump github actions
The automated push is currently broken
This scheduled workflow is disabled because there hasn't been activity in this repository for at least 60 days. Enable this workflow to resume scheduled runs.

it would be good to enable dependabot in the repo to update the actions

Thanks for this PR!

I will enable dependabot


create vercel guide that doesn't use vercel deploy

the current guide uses the cli vercel deploy. i prefer using clis for platform deploys but not many people use vercel deploy.
create a guide that uses the more typical vercel deploy mechanisms.
https://dotenvx.com/docs/platforms/vercel
i think doing this could lead to solving problems for https://github.com/dotenvx/dotenvx/issues/301
honestly, vercel should get their act together with respecting environment variables though.

My current approach is:

Store the encrypted file in the .vercel/output/functions folder of the Vercel bundle, which is private to the server.
Set the private key as sensitive env variable in Vercel from the dashboard.
Load the secrets from the encrypted file at runtime using dotenvx in TypeScript.

Unfortunatly, the implementation of the approach is somewhat hacky. I have to copy the encrypted file manually into the Vercel bundle because SvelteKit does not yet support this use case, see https://github.com/sveltejs/kit/issues/12588.


mc/change spot market params

Implements a basic change for spot market params, doesnt do the multi rate setting, would prefer doing that separately, also have added a test
Signed-off-by: microwavedcola1<EMAIL_ADDRESS>

@ckamm reason for adding apt-get update to the ci workflow was when I was faced with below error
https://github.com/blockworks-foundation/mango-v3/runs/4771654634?check_suite_focus=true#step:3:20

clippy complains about the map_or()


Refactor Anger Point to the Hit event handler

This fixes its interaction with Clear Smog because Hit handlers for
moves always activate before all other global event handlers.
Removed the Hit event from the list of events stopped by Mold Breaker
variants as there are no abilities that would be negated by it that
use that handler.

:+1: Nice tests, too!


Bots need better tactics

I have noticed on maps like nuke and mirage, that bots will plant at one bombsite the entire game, i feel like the bots could pull more wins against me if they decided to switch up which route they take at random

it's depends on win ratio and how waypoints are made.

I have also found that deleting the learn, or "train" files as they are refered to, can reset their decision making if errors like that persist

I have noticed on maps like nuke and mirage, that bots will plant at one bombsite the entire game

This is a problem in waypoints, because in the previous version of waypoint (by SoUlFaThEr) in the days of yapb 2.x (before the update of official waypoints with a lot of nodes from Overitab) didn't have that bug.
Overitab made a waypoint based on LLIHULLEJIb's one.
LLIHULLEJIb, and some other authors from Reallite Way Lab made waypoints for the bugs of the old PODBot, or for previous versions of the maps. Since at the time of the existence of this team, CS 1.6 did not yet exist.
Current waypoint (graph) version have some issues, as paths leading into the walls, nodes in the air, superfluous nodes with one-way paths, when one node with a two-way path could be used (for example, one of these is located near the ventilation)
The soulfather's waypoint was better and didn't have this bug, the bots planted the bomb on both bombsites.


Update Nintendo Power

Hi @Kivutar,
We're adding Nintendo prefix to Game and Watch. https://github.com/libretro/libretro-database/issues/330.
All GW assets were renamed.
Some GW assets couldn't  be renamed due to conflict.
Conflict GW assets were appended with Orig GW and renamed again.
Some GW assets were deleted. (Duplicate SVG & Jagged conflict)
Could you look at those (Orig GW) and decide which one to keep?
They looks same to me, but I don't want to mess with assets.
Thank you very much.
./xmb/monochrome/png/Nintendo - Game and Watch (Orig GW).png
./xmb/retroactive/png/Nintendo - Game and Watch (Orig GW).png
./xmb/retroactive/png/Nintendo - Game and Watch-content (Orig GW).png
./xmb/neoactive/png/Nintendo - Game and Watch (Orig GW).png
./xmb/neoactive/png/Nintendo - Game and Watch-content (Orig GW).png

thanks!


Issue while using GpuDelegateV2 in an isolate on android.

I am getting the following error while trying to run the image_classification_mobilenet example application from this repo using the GpuDelegateV2 :
E/tflite  ( 7414): TfLiteGpuDelegate Invoke: GpuDelegate must run on the same thread where it was initialized.
E/tflite  ( 7414): Node number 31 (TfLiteGpuDelegateV2) failed to invoke.
E/flutter ( 7414): [ERROR:flutter/runtime/dart_isolate.cc(1097)] Unhandled exception:
E/flutter ( 7414): Bad state: failed precondition
E/flutter ( 7414): #0      checkState (package:quiver/check.dart:74:5)
E/flutter ( 7414): #1      Interpreter.invoke (package:tflite_flutter/src/interpreter.dart:164:5)
E/flutter ( 7414): #2      Interpreter.runInference (package:tflite_flutter/src/interpreter.dart:214:5)
E/flutter ( 7414): #3      Interpreter.runForMultipleInputs (package:tflite_flutter/src/interpreter.dart:180:5)
E/flutter ( 7414): #4      Interpreter.run (package:tflite_flutter/src/interpreter.dart:172:5)
E/flutter ( 7414): #5      IsolateInference.entryPoint (package:image_classification_mobilenet/helper/isolate_inference.dart:84:19)
E/flutter ( 7414): <asynchronous suspension>

I am running this on Android 13 (API Level 33). The application starts up fine but it doesn't perform any inference:

Meanwhile when I use the XNNPackDelegate instead of GpuDelegateV2, it works fine:

@Arna-Maity Could you post how you created the interpreter?
I think you need to instantiate the interpreter in the isolate as the message indicates.
TfLiteGpuDelegate Invoke: GpuDelegate must run on the same thread where it was initialized.


Help On Parameter Query match

Hi All,
I have a GET service which needs the response to be mocked based on the query String parameter. My URL is like "/api/balanceManagement/v4/adjustBalance?%40type={type}&partyAccount.id={partyAccount.id}". I have created a mock response with Response Strategy as "Parameter Query match" with type and partyAccount.id , attached the screenshot . But the mock response is always giving 200 whereas i have set default as 500 and if query matches then 200. Kindly help to know what i am missing. Thanks

=======Update=========
I found that because of %40 append in the url it's not working , actually the parameter name is @type so it's taking like this. ANy help how I can match that.

Try parameter %40type ?


Add support for Mac and Linux with uno platform.

Add support installation runtime and library (WinRT/UWP) to Linux and Mac just like adding installation package for
.net core to any of dose. Multiplatform support to SDK can be powered by Uno platform.
In that way, runtime, lib, and SDK will be truly Multiplatform solutions provided by Microsoft and can bring Microsoft store apps to any platform.

Thanks @chiddekel, .NET MAUI is our supported platform and where we are investing for writing a desktop app that runs on Windows and Mac: https://docs.microsoft.com/en-us/dotnet/maui/what-is-maui
And it looks like MAUI has some Linux support provided by the community according to their docs: https://docs.microsoft.com/en-us/dotnet/maui/supported-platforms#additional-platform-support


new check: com.google.fonts/check/varfont_has_instances

"A variable font must have named instances"
This pull request addresses the problems described at issue #2127

Thanks Felipe!


Statement order in down-migration is incorrect

See the migration below:
protected override void Up(MigrationBuilder migrationBuilder)
{
    migrationBuilder.CreateSequence(
        name: "seq_bi_id",
        startValue:<PHONE_NUMBER>0L);

    migrationBuilder.AlterColumn<long>(
        name: "bi_id",
        table: "animals",
        nullable: false,
        defaultValueSql: "NEXT VALUE FOR seq_bi_id",
        oldClrType: typeof(long));
}

protected override void Down(MigrationBuilder migrationBuilder)
{
    migrationBuilder.DropSequence(
        name: "seq_bi_id");

    migrationBuilder.AlterColumn<long>(
        name: "bi_id",
        table: "animals",
        nullable: false,
        oldClrType: typeof(long),
        oldDefaultValueSql: "NEXT VALUE FOR seq_bi_id");
}

Generated by this code:
const string biIds = "seq_bi_id";

modelBuilder.HasSequence<long>(biIds)
            .StartsAt(15000000000)
            .IncrementsBy(1);

 modelBuilder.Entity<AnimalEntity>()
            .Property(a => a.BiId)
            .HasDefaultValueSql($"NEXT VALUE FOR {biIds}");

In this scenario, the down migration fails as the execution order is the same as with the Up migration. The sequence cannot be removed, as it is still used as default value sql in the animals table.
It would make sense if by default the generated order is flipped. There are probably exceptions with dependencies etc, but in general reversing the order should always be correct (you want to revert statements, which are coincidentally grouped in a migration). It would at least solve the problem here.
What do you think?
Further technical details
EF Core version: 2.1.3
Database Provider: Microsoft.EntityFrameworkCore.SqlServer
Operating system: macOS
IDE: Rider

Similar to #12726. We need to be smarter about columns with HasDefaultValueSql and HasComputedColumnSql. Although without actually parsing the SQL, we'll never be perfect.
The workaround is to manually re-order the operations after scaffolding.

Looking closer, I don't think we should fix this. At a high level, the order we use is:

Drop things
Rename things
Create and alter things

This is to enable replacing database objects with new ones. I think that if we try to fix this specific case, it will cause other cases to fail.
Short of parsing the SQL (a complexity we desperately wish to avoid), I don't think we can adequately  fix this.


Dupradar

Description
Add DupRadar component
Checklist before requesting a review

[x] I have performed a self-review of my code

[x] Conforms to the Contributing guidelines

[x] Proposed changes are described in the CHANGELOG.md

[x] I have tested my code with viash ns test --parallel -q <name or namespace>

Check the correct box. Does this PR contain:

[ ] Breaking changes
[x] New functionality
[ ] Major changes
[ ] Minor changes
[ ] Documentation
[ ] Bug fixes

I only made suggestions for individual lines of code, but they should be applied to the whole script :relaxed:

I only made suggestions for individual lines of code, but they should be applied to the whole script ☺

Right, my bad! lmk if I missed anything now


fixed  the Hello World bug

I tried to fix #6 by disabling the slideIn and slideOut animations in the main.js

Unfortunately, the PR does not fix Issue #6 .
Let me explain to you about the issue;
1- when you will open the template you find that there is no header (We want Hello world here).
2- when you will switch to other tabs you will find the name and tags in place of header.
3 - when you will switch back to about me you will find Hello world at the header.
So, we want that 'Hello world' coming at 3rd step should come also at 1st step. I mean Hello world should appear whenever you will open the template.
Hope you are Clear

It's not a Bug, It's an undocumented feature. :D


THRIFT-4879 general performance improvements for netstd library

Client: netstd
Patch: Jens Geyer

@jeking3 The ruby thing is clearly unrelated, but what really sucks is the mingw update error at AppVeyor. Is there anything I can do about that? Thoughts?


Label fontsize and axis ticks

Hello,
I am new using this library. I think is a great tool for plotting 3D stuff. However, is being a while since I have tried to change the axis label fontsizes or the ticks fontsize without success. Is there a way to do this? Also, it would be great to be able to specify which ticks show in each axis.
Thank you in advance!
Juan.

Hi Juan
Thanks, I'm afraid that's not yet possible. You can see here the 'style' that can be set: https://github.com/maartenbreddels/ipyvolume/blob/master/ipyvolume/styles.py
Using this API: https://ipyvolume.readthedocs.io/en/latest/api.html#ipyvolume.pylab.style
Regards,
Maarten


readme image shows in docs but not in readme/oranda site

vs

vs

Ah yeah I trimmed all the images out of the README because I was a the time encouraged to tighten it up (and left that trailing colon as a typo), but I also didn't fully consider the implications for the oranda front page.