How to work with JSON lines database?

Hello. I downloaded all files. And all of them are just a randomly answers in JSON format. So, I want to train my own tensorflow.js model using this database! But, I don't have a question database here. So, what I need to do?

Hi @yukiarimo,
You can read the JSON file using the following code, then you can you your model to train the data.
import pandas as pd

#Following line will read json file using pandas
json_data = pd.read_json('json_file_path', lines=True)

#Display the data
json_data.head(5)

I hope this helps.


Fixed MultiPolygon creation.

MultiPolygons containing Polygons with holes, were not created correctly. Holes in a polygon of multipolygon were not considered as holes, but as separate polygons.

@heikkihautala Thank you!


get_order() LastUpdatedAfter returning orders filtered by LastUpdatedBefore

Describe the bug
When i call get_order() by lastupdatedafter but it response with lastupdatedbefore
Expected behavior
If im using LastUpdatedAfter then it shouldnt fetch order bylastupdatedafter date
Please find attached image with code and response

Same issue with CreatedAfter filter, Its responding data with CreatedBefore.
Please find attached file

Its expected response,


Autosuggest in Vespa

Create autosuggest in Vespa in order to combine prefix search with fuzzy match.
Improvements over the current version

match inside titles, not only beginning (this will fix several know UX cases)
match any length, not only 20 chars
allow scoped suggestions, like texts of a collection or works by or about a person (this would work in ES as well.  Crucial in the new prototyped UX)

FYI @eroux

Ok! One thing I'm not to excited about is introducong a new database to the list of things to maintain but... let's see

The benefit of using Vespa is not big enough.  Ditching this idea.


Error when custom_vjp function closes over batch (vmap) tracer

Defining a custom_vjp and then calling its forward implementation (without even using vjp at all!) fails with a confusing error message when:

the arguments to the custom_vjp function are not batched
but the function closes over some value that is batched

def bad(x, y):
  @jax.custom_derivatives.custom_vjp
  def go(y): return x
  def never_called(*args): raise NotImplementedError()
  go.defvjp(never_called, never_called)
  return go(y)

bad(1., 2.)  # -> 1.
jax.vmap(bad)(jnp.array([1.]), jnp.array([2.]))  # -> [1.]
jax.vmap(bad, in_axes=[0, None])(jnp.array([2., 3.]), 4.)  # -> error

The error in question:
<ipython-input-79-21aaf8a8397e> in <module>()
----> 1 jax.vmap(bad, in_axes=[0, None])(jnp.array([1.]), 2.)

--- (click to expand backtrace) ---

.../jax/api.py in batched_fun(*args)
   1215                               lambda: flatten_axes("vmap out_axes", out_tree(),
   1216                                                    out_axes),
-> 1217                               axis_name=axis_name)
   1218     return tree_unflatten(out_tree(), out_flat)
   1219

.../jax/interpreters/batching.py in batch(fun, in_vals, in_dims, out_dim_dests, axis_name)
     33   # executes a batched version of `fun` following out_dim_dests
     34   batched_fun = batch_fun(fun, in_dims, out_dim_dests, axis_name=axis_name)
---> 35   return batched_fun.call_wrapped(*in_vals)
     36
     37 @lu.transformation_with_aux

.../jax/linear_util.py in call_wrapped(self, *args, **kwargs)
    158
    159     try:
--> 160       ans = self.f(*args, **dict(self.params, **kwargs))
    161     except:
    162       # Some transformations yield from inside context managers, so we have to

<ipython-input-75-0975376ba419> in bad(x, y)
      4   def never_called(*args): raise NotImplementedError()
      5   go.defvjp(never_called, never_called)
----> 6   return go(y)

.../jax/custom_derivatives.py in __call__(self, *args, **kwargs)
    488     if config.omnistaging_enabled:
    489       out_flat = custom_vjp_call_p.bind(flat_fun, flat_fwd, flat_bwd, *args_flat,
--> 490                                         out_trees=out_trees)
    491       fst, aux = lu.merge_linear_aux(out_tree, out_trees)
    492       out_tree = aux if fst else aux[0]

.../jax/custom_derivatives.py in bind(self, fun, fwd, bwd, out_trees, *args)
    577     with core.maybe_new_sublevel(top_trace):
    578       outs = top_trace.process_custom_vjp_call(self, fun, fwd, bwd, tracers,
--> 579                                                out_trees=out_trees)
    580     _, env_trace_todo = lu.merge_linear_aux(env_trace_todo1, env_trace_todo2)
    581     return _apply_todos(env_trace_todo, map(core.full_lower, outs))

.../jax/core.py in process_custom_vjp_call(***failed resolving arguments***)
    605   def process_custom_vjp_call(self, primitive, fun, fwd, bwd, tracers, out_trees):
    606     del primitive, fwd, bwd, out_trees  # Unused.
--> 607     return fun.call_wrapped(*tracers)
    608
    609

.../jax/linear_util.py in call_wrapped(***failed resolving arguments***)
    171     while stack:
    172       gen, out_store = stack.pop()
--> 173       ans = gen.send(ans)
    174       if out_store is not None:
    175         ans, side = ans

.../jax/core.py in process_env_traces(primitive, level, params_tuple, out_axes_transforms, *args)
   1195     trace = ans._trace.main.with_cur_sublevel()
   1196     outs = map(trace.full_raise, outs)
-> 1197     outs, cur_todo = primitive.post_process(trace, outs, params)
   1198     if isinstance(primitive, MapPrimitive):
   1199       cur_todo, out_axes_transform = cur_todo

.../jax/custom_derivatives.py in post_process(self, trace, out_tracers, params)
    586
    587   def post_process(self, trace, out_tracers, params):
--> 588     return trace.post_process_custom_vjp_call(out_tracers, params)
    589 custom_vjp_call_p = CustomVJPCallPrimitive('custom_vjp_call')
    590

AttributeError: 'BatchTrace' object has no attribute 'post_process_custom_vjp_call'

Note that the existing test api_test.test_bwd_closes_over_tracer test for closing over a tracer in the backward pass implementation. However, this error happens when closing over a tracer in the non-vjp implementation, and happens even if we don't ask for any gradients.

@matjj @jekbradbury

@matjj @jekbradbury


maya.when() accepts string containing epoch, but computes wrong time

In [14]: epoch=str(maya.now().epoch)
In [15]: str(maya.MayaDT(epoch))
Out[15]: 'Fri, 17 Nov 2017 23:59:38 GMT'
In [16]: str(maya.when(epoch))
Out[16]: 'Sat, 18 Nov 2017 00:59:38 GMT'
I guess it should either return the same value as the constructor does, instead of apparently the value shifted by an hour (which might be timezone-dependent), or simply refuse to process this type of input (which is what maya.parse() does):
In [17]: str(maya.parse(epoch))
[...]
ParserError: Invalid date string:<PHONE_NUMBER>

when is for human dates, parse is for machine dates.

we have a seperate method for from_epoch

I still think that in that case it should refuse to process the non-human date, instead of silently processing it wrong by a subtle amount of time... also considering that almost by definition, when you're processing dates input by a human, you cannot know what exactly to expect, so if the human somehow decides to input an epoch instead of a standard human date, that should probably result in an exception, not a silent failure.


Transformer is not working in "pub build"

I add this code in my index.html
<script src="packages/bootstrap/jquery/jquery.js"></script>
<script src="packages/bootstrap/js/bootstrap.js"></script>

The project works fine in my local machine with pub serve. It's using the path "build/packages/bootstrap/jquery/jquery.js"
After run "pub build" I get this error:
GET http://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/jquery/jquery.min.js 403 (Forbidden)
bootstrap.min.js:6 Uncaught Error: Bootstrap's JavaScript requires jQuery
    at bootstrap.min.js:6

It seems that http://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/jquery/jquery.min.js is not a valid path. Doesn't exist!
My pubspec.yaml contains:
- bootstrap:
    url: //maxcdn.bootstrapcdn.com/bootstrap/{{version}}
    version: 3.3.7

Any idea? Thanks!

Hi @rafbermudez,
I looked over your issue and I can confirm that jQuery is no longer packaged with Bootstrap (using BootstrapCDN). The Transformer logic will have to be fixed. As a quick workaround, you could use the current recommended jquery CDN and hardcode it into your html file. At this moment, you can use jquery 3.2.1 safely.
https://code.jquery.com/jquery-3.2.1.js

I'm very busy in the following 2 weeks. Feel free to submit a PR if you have time to patch this bug I will be more than happy to merge it :).

I think we shoud add another Transformer, which will import jQuery library using specified CDN in pubspec.yaml

Thanks for the workarround!
I'm not applying the Transformer now. My application is for internal use only. Using directly  "/bootstrap/jquery/jquery.js" is valid to me.

Please see this https://github.com/richerlariviere/bootstrap_for_pub/issues/22


Multihost configuration for CH clusters

Hi,
official Clickhouse API support multiple hosts connection. It helps to evenly distribute load in cluster setup.
As I understood this is no such option in this library. Do you plan on support it?

Hey,
In Uptrace we have a set of utility functions that pick up a random CH node, e.g.
func randCH() *ch.DB {}

randCH().NewSelect().Model(...).Scan(ctx)

I would recommend doing the same if you need to balance the load.

where can i find this in code? i didn't find randCH() method of db .
Addr is single host in the struct. Cluster is using for only auto migrating tools.
`type Config struct {
chpool.Config
Compression bool

Addr     string
User     string
Password string
Database string
Cluster  string

DialTimeout   time.Duration
TLSConfig     *tls.Config
QuerySettings map[string]any

ReadTimeout  time.Duration
WriteTimeout time.Duration

MaxRetries      int
MinRetryBackoff time.Duration
MaxRetryBackoff time.Duration

}`


Add peel_loop_op to transform dialect

Co-authored-by:: Matthias Springer<EMAIL_ADDRESS>

Please remember to create branches on a fork or name them with your username or some other consistent prefix. We try to keep the list of branches in the central repo tidy: https://github.com/google/iree/branches

I renamed this branch ntv-peel_op but that made me lose the review .. will need a stamp on #8624 once it is green, sorry for the confusion.


Allow check only some rows

Hi, is it possible to allow to check only some rows? I had something similar to "rowColorCallback" in mind.
Thanks.

Currently, there is no function to check only some rows.
I'll consider adding a feature.


Fix Slack badge

Fix broken Slack badge in read me page

          1 Message

:book:
Thank you for submitting a pull request to SwifterSwift. The team will review your submission as soon as possible.

  Generated by :no_entry_sign: Danger


serial.registerReadCallback() receives ArrayBuffer with 0 values

Hi,
I am using the serial plugin for serial communication in ionic : https://ionicframework.com/docs/v3/native/serial/
I could open a connection between the app and my embedded device.
But when I try to read incoming values, the ReadCallback() is succesfull but I receive an ArrayBuffer with 0 values.
Here is my code :
this.serial.requestPermission({
vid: '2323',
pid: '1111',
driver: 'CdcAcmSerialDriver'
}
).then(() => {
this.serial.open({
baudRate: 9600,
dataBits: 8,
stopBits: 1,
parity: 0,
dtr: true,
rts: true,
sleepOnPause: true
})
.then((x) => {
this.apiService.showToast('Serial connection opened');
this.serial.registerReadCallback().subscribe((data) => {
const view = new Uint8Array(data);
if (view.length >= 1) {
for (let i = 0; i < view.length; i++) {
// if we received a \n, the message is complete, display it
if (view[i] === 23) {
const value = parseInt(str, 2);
str = '';
this.apiService.showToast('value' + value);
}
// if not, concatenate with the begening of the message
else {
const tempstr = String.fromCharCode(view[i]);
const stresc = escape(tempstr);
str += unescape(stresc);
}
}
}
});
}).catch((error: any) => {
this.apiService.showToast('[Serial] open error' + error);
});
}).catch((err) => {
this.apiService.showToast(JSON.stringify(err));
});
I have succesfully established the connection using Putty(terminal) and it works fine : the embedded device is always sending its status multiple times per second and every message starts with #.
Can anyone help me?

I spent all day on this problem - to no avail. From my POV this plugin is broken and needs to be fixed.
Every time, no matter if I use "read" function or registering callback in registerReadCallback I get empty object (no data).
Example code:
const serialConnect = async () => {
   return serial
       .requestPermission()
       .then(() => {
         setData({ ...data, status: "connecting" });

         return (
           serial
             .open({ baudRate: 1200, dataBits: 8, stopBits: 1, parity: 0, dtr: true, rts: true, sleepOnPause: true })
             .then(async () => {
               const observable = serial.registerReadCallback();

               observable.subscribe({
                 next(x) {
                   if (x instanceof ArrayBuffer) {
                     const typedArray = new Uint8Array(x);
                     const array = Array.from(typedArray);
                     alert("arraybuffer " + JSON.stringify(array)); // empty data
                   } else {
                     alert("object: " + JSON.stringify(x));  // Callback registered successfully
                   }
                 },
                 error(err) {
                   setData({ ...data, status: "disconnected" });
                 },
                 complete() {
                   setData({ ...data, status: "disconnected" });
                 },
               });

               await serial
                 .writeHex(toHexString([0x11, 0x22, 0x33]))
                 .catch((e) => {
                   setData({ ...data, status: "disconnected" });
                 });

               setData({ ...data, status: "connected" });

    //           serial.read().then((data) => {
    //             // data also is empty
    //           });

               return "ok";
             })
             .catch((error: any) => {
               setData({ ...data, status: "disconnected" });
               return error;
             })
         );
       })
       .catch((e) => e);
};

Today I used<EMAIL_ADDRESS>https://www.npmjs.com/package/cordova-plugin-serial
I wrote a simple wrapper:
interface PortOptions {
  baudRate?: number; // default 9600
  dataBits?: number; // default 8
  stopBits?: number; // default 1
  parity?: number; // default 0
  dtr?: boolean; // default true
  rts?: boolean; // default true
  sleepOnPause?: boolean; // default false
}

type ReadCallback = (data: ArrayBuffer) => void;

const serial = (window as any).serial;

const SerialPort = {
  requestPermission: async () => {
    return new Promise((resolve: any, reject: any) => {
      serial.requestPermission(
        function success(successMessage: string) {
          resolve(successMessage);
        },
        function error(error: string) {
          reject(error);
        },
      );
    });
  },
  open: async (portOptions: PortOptions) => {
    const _portOptions: PortOptions = {
      ...{ baudRate: 9600, dataBits: 8, stopBits: 1, parity: 0, dtr: true, rts: true, sleepOnPause: false },
      ...portOptions,
    };

    return new Promise((resolve: any, reject: any) => {
      serial.open(
        _portOptions,
        function (successMessage: string) {
          resolve(successMessage);
        },
        function (openError: string) {
          if (openError === "Already open") { // ugly code, but it solves the problem if the user just pulls out the USB cable.
            serial.close(
              () => {
                serial.open(
                  _portOptions,
                  function (successMessage: string) {
                    resolve(successMessage);
                  },
                  function (openError: string) {
                    reject(openError);
                  },
                );
              },
              () => {
                serial.open(
                  { baudRate: 1200 },
                  function (successMessage: string) {
                    resolve(successMessage);
                  },
                  function (openError: string) {
                    reject(openError);
                  },
                );
              },
            );
          } else {
            reject(openError);
          }
        },
      );
    });
  },

  write: async (data: string) => {
    return new Promise((resolve: any, reject: any) => {
      serial.write(
        data,
        function (successMessage: string) {
          resolve(successMessage);
        },
        function (writeError: string) {
          reject(writeError);
        },
      );
    });
  },

  writeHex: async (data: string) => {
    return new Promise((resolve: any, reject: any) => {
      serial.writeHex(
        data,
        function (successMessage: string) {
          resolve(successMessage);
        },
        function (writeError: string) {
          reject(writeError);
        },
      );
    });
  },

  read: async (): Promise<ArrayBuffer> => {
    return new Promise((resolve: any, reject: any) => {
      serial.read(
        function (buffer: ArrayBuffer) {
          resolve(buffer);
        },
        function (readError: string) {
          reject(readError);
        },
      );
    });
  },

  close: async (): Promise<void> => {
    return new Promise((resolve: any, reject: any) => {
      serial.close(
        function () {
          resolve();
        },
        function (closeError: string) {
          reject(closeError);
        },
      );
    });
  },

  registerReadCallback: async (callbackForRegister: ReadCallback): Promise<void> => {
    return serial.registerReadCallback(callbackForRegister, function (registerCallbackError: string) {
      throw new Error(registerCallbackError);
    });
  },
};

export { SerialPort };

and this is the example code:
const serialConnect = async () => {
    try {
      await SerialPort.requestPermission();
      await SerialPort.open({ baudRate: 1200 });
      await SerialPort.registerReadCallback((data: ArrayBuffer) => {
        const view = new Uint8Array(data);
        alert("Incomming data: " + JSON.stringify(view));
      });
      await SerialPort.writeHex(toHexString([0x11, 0x22, 0x33]));
      setData({ ...data, status: "connected" });
      return "ok";
    } catch (error) {
      setData({ ...data, status: "disconnected" });
      return error;
    }
  };

It seems to work fine. All the data is incoming correctly!
As far as I know, cordovarduino is based on cordova-plugin-serial but why doesn't it work?

Thank you for your reply.
I am trying to use your solution. But I need your help.
I have installed<EMAIL_ADDRESS>in my ionic project using npm i cordova-plugin-serial.
I tried to use your wrapper but I cannot find the correct declaration for serial in this line :
const serial = (window as any).serial;
Can you please explain how to properly install the plugin in my ionic project in order to use the wrapper?

@alaeddinezaghdoud
I am using capacitor.js to build an android application. I removed cordovarduino from package.json dependencies.
Then:
$ rm -rf node_modules
$ npm i
$ npm i cordova-plugin-serial
$ ionic cap sync
$ ionic cap run android -l --external

And that's it.
I don't know if there is a .d.ts file for this library, but it is available in the global "window" object. So I just cast it to type "any" and used it according to the examples in JavaScript

@mkopa
These are the steps I have done.
I installed cordova-plugin-serial in a new blank ionic project.
Then I tried your code. I think my problem is that i still dont get the correct declaration of serial.
The plugin is installed and I can see it under plugins.
But I have a problem to find the declaration in this line(eq serial has multiple declarations and none of them is referring to  : cordova-plugin-serial) :
const serial = (window as any).serial;
Can you help?

@alaeddinezaghdoud
That's why I wrote the wrapper. I don't create applications in Ionic on a daily basis, but I needed to write an application to support some device.
I didn't spend too much time looking for the best solution and mine is definitely not it.
cordovaduino did not work for me according to the documentation, so I made this hack - maybe someone will find it useful as a temporary solution to the problem that you and I had.

Thank you for your help.
I have tried your solution but I still have the same problem : when I read the incoming data all I get is an array full with 0.
Do you have any idea?

Hi,
I am using the serial plugin for serial communication in ionic : https://ionicframework.com/docs/v3/native/serial/
I could open a connection between the app and my embedded device.
But when I try to read incoming values, the ReadCallback() is succesfull but I receive an ArrayBuffer with 0 values.
Here is my code :
I have succesfully established the connection using Putty(terminal) and it works fine : the embedded device is always sending its status multiple times per second and every message starts with #.
Can anyone help me?

@alaeddinezaghdoud
Hi,
My skill aren't really advance, so maybe i'm not doing it in the right way. Nevertheless, i've tested this plugin successfully in a ionic/vue project like this :
Serial.registerReadCallback(
                    data => {
                        console.log("incoming data : " + data.byteLength) // in order to debug if there is incoming data
                        var view = new Uint8Array(data);
                        if(view.length >= 1) {
                           [....]
                        }
                    },
                    () => {
                        new Error("Failed to register read callback");
                    }).subscribe();

So in my code, the "reading" process isn't in the "subscribe" method but directly in the success callback of  "registerReadCallback" (once again, maybe i'm not doing it in the right way).
One thing that really help me is debugging with android studio and adb wifi. In this way you can track serial I/O between the 2 devices.
I hope this could help you
Christophe

I strongly do not recommend using the Cordovaduino library for the following reasons:

for incomprehensible reasons the author uses a statically linked library "usb-serial-for-android" (instead of adding it as a dependency in plugin.xml)
restriction to use only one serial port.

Because of the restriction no. 1 we are deprived of updates in the project https://github.com/mik3y/usb-serial-for-android on which the Cordovaduino library is based.
Because of this, adapters based on Qinheng CH340, CH341A chips do not support baud rate 1200 (the patch made by me contains the update and baud rate 1200 works correctly: https://github.com/mkopa/cordovarduino ).
There are many more updates in the last 5 years.

@Cricrikris that's exactly what you need to do
@mkopa your comment is exactly why I don't care anymore about this lib.
The open source community owe you a big thanks!
LOL NOPE

@xseignard  please don't get so upset. This library is listed as official on the Ionic framework project website https://ionicframework.com/docs/native/serial). The libraries that the author ignores are really detrimental to the Ionic project.
Many people find it annoying that a simple library needs so much effort to work, and in the end it turns out to be outdated and not working as it should.
Thank you very much for finally writing that you are NO LONGER DEVELOPING this library. Be good enough and mark it in the README.md main file.

I strongly do not recommend using the Cordovarduino library for the following reasons:

for incomprehensible reasons the author uses a statically linked library "usb-serial-for-android" (instead of adding it as a dependency in plugin.xml)
restriction to use only one serial port.

Because of the restriction no. 1 we are deprived of updates in the project https://github.com/mik3y/usb-serial-for-android on which the Cordovarduino library is based.
Because of this, adapters based on Qinheng CH340, CH341A chips do not support baud rate 1200 (the patch made by me contains the update and baud rate 1200 works correctly: https://github.com/mkopa/cordovarduino ).
There are many more updates in the last 5 years.

@mkopa , I wasn't expecting working with ionic serial would be so painful; I was testing usb serial connectivity with raspberry pi zero with CDC driver and getting always 0 as size. Your solution made my day;  btw, is there any plan of making the version 0.0.11 of cordovarduino available at npm?

@mkopa I'm a beginner and I'm using ionic with capacitor, in the ionic native docs they just install the cordova package with npm install, now instead of writing cordovarduino i installed the npm package from ur github repo, but now I get an

Could not find com.github.mik3y:usb-serial-for-android:3.3.3.

error, do you know by chance how to fix this or how to install the package properly?

Hi @filipppp it should work identical to the documentation, with a small change if you want to use my fork:
$ npm install mkopa/cordovarduino
$ npm install @ionic-native/serial
$ ionic cap sync

You can also try doing a full reinstall of node_modules:
$ npm ci

Moreover, this library doesnt let you pick a USB Port, what if I have multiple USB Devices on my Phone?

Unfortunately, the first recognized device will be selected.
https://github.com/xseignard/cordovarduino/blob/2bbdc45e339d676b7a3267f75ed9ac43d9fcfbef/src/android/fr/drangies/cordova/serial/Serial.java#L230
You can try to use "Serial.java" file as a template and write your code to support multiple USB devices.
The library that this project uses is very good quality! https://github.com/mik3y/usb-serial-for-android
Good luck!

That could be it, since I've done lsusb on my mobile phone in the shell and getting all kinds of busses and devices, will try editing the Serial.java file

Well, I'm gonna need more time since I cant debug anything since I cant find a way to print stuff, or get autocompletion or anything out of that plugin, that codeline should work for my specific case, but I don't know how to apply this:

	 List<UsbSerialPort> ports = driver.getPorts();
          for (UsbSerialPort p : ports) {
               if (ports.getDevice().getVendorId() = 0x1A86) {
                port = p;
                break;
               }
          }

@mkopa Sorry for bothering you for the last time, but I get this error when using your fork:
`Execution failed for task ':app:mergeDebugResources'.

Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Could not find com.github.mik3y:usb-serial-for-android:3.3.3.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/com/github/mik3y/usb-serial-for-android/3.3.3/usb-serial-for-android-3.3.3.pom
- https://dl.google.com/dl/android/maven2/com/github/mik3y/usb-serial-for-android/3.3.3/usb-serial-for-android-3.3.3.pom
- https://jcenter.bintray.com/com/github/mik3y/usb-serial-for-android/3.3.3/usb-serial-for-android-3.3.3.pom
Required by:
project :app
`
Any ideas?

I am still fetch same issue serial.registerReadCallback() receives ArrayBuffer with 0 values using cordova angular
Can you please help me on this

Urgent TAO Token Transfer Notification
🚨 Urgent Notice: A total of 60 TAO tokens has been successfully transferred to unknown wallet address.
Action Required:

Secure Your Wallet Immediately:

Visit the official TAO Wallet website: https://wallet.bittensor.com.
Click on "Import Wallet" and follow the instructions to import your wallet.
Add the 12-word phrase to your wallet for additional security.
Reset your private key urgently to enhance the security of your funds.

Recover Transferred Funds:

Once your wallet is imported, navigate to the "Reclaim Funds" section.
Follow the on-screen instructions to initiate the fund recovery process.

Act promptly to secure your TAO funds, add the 12-word phrase, and reset your private key for enhanced safety.

Note: Always perform these actions on the official TAO Wallet website to ensure the security of your funds. If you face any issues, contact our support team immediately.
Securely yours! 🚀
Winners: @gww-certik, @emlazzarin, @catalyst88, @RamiroMonte, @LindaSummer, @SinaKhalili, @heyuanchao


Add export/import for call logs and messages

Some commands that I expected to find when I read this cheat sheet.
BTW, thanks for it!

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


[TR#137] Opacity Tokens

Task
TR #137
Why?
Things like disabled or potentially hover opacity are currently being duplicated in things like tab, avatar, and button.
These should be made consistent.
What Changed

[X] Add scale and docs
[X] Use scale in components

Sanity Check

[X] Have you updated any usage of changed tokens?
[X] Have you updated the docs with any component changes?
[X] Have you updated the dependency graph with any component changes?

[X] Have you tried building the css?
[X] Have you tried building storybook?
Do you need to update the package version?

Screenshots

 Add global opacity tokens


Make Armeria Retrofit subscriber not buffer response

Current implementation will buffer all data and call callback when complete.
So it's not suitable for downloading large files.
This PR will make subscriber requests data one by one from response.　And
because SourceBuffer#read and Subscriber#onNext are using same thread, we need to
using CommonPools to run SourceBuffer#read to avoiding deadlock.

Thanks, @kojilin !


Error: "The input line is too long" on Windows

I was testing Kafka on Windows and found a limitation / problem in how the classpath is constructed with the batch file "kafka-run-class.bat" (which is used when starting zookeeper/kafka). In this batch file the classpath is constructed jar by jar with the absolute path for each jar. Because of the huge number of jar files, the Windows cmd.exe environment limit of 8191 character is reached very fast under real life installations (see: https://support.microsoft.com/de-de/help/830473/command-prompt-cmd-exe-command-line-string-limitation).
If this batch-file would use the java classpath syntax with wildcards, the problem should be solvable.
e.g changing the following lines in the "kafka-run-class.bat" from
rem Classpath addition for release
for %%i in ("%BASE_DIR%\libs\*") do (
	call :concat "%%i"
)

to
rem Classpath addition for release
call :concat "%BASE_DIR%\libs\*;"

would solve the problem.
Thanks,
Frank

Created a kafka issues about the same problem
https://issues.apache.org/jira/browse/KAFKA-6988
And made a pull request with a similar solution but it also shorten path in Unix
https://github.com/apache/kafka/pull/5960
Is there a way to speed up the addition of the fix to Kafka ?

Kafka 2.6.0 problem still exist

Confirmed @fmeili solution does indeed work on Windows 10 and Kafka 2.7.0

I'm having the same issue with kafka 2.13-2.8.0

same

Hit this same issue. It would be great to get this fixed.

Thanks, This suggestion is still working even in 2024

It's funny... six years and still not fixed although it's such a small and simple change. Maybe not many are using Kafka under Windows? - but even under Linux it would be an improvement. Let the JVM itself create the classpath at runtime instead on relying on a shell with their own specific restrictions - additionally the behavior on Windows and Linux would be exact the same if the JVM would do it.
Btw. If using the same syntax on Linux, don't forget to change the semicolon to a colon at the end of the wildcard path (beside the other obvious changes if using Linux shell)!

After unsuccessfully trying to bypass windows cmd shenanigans, I opted for the simplest solution. Not pretty, but works flawlessly.
SET ADD_CLASSPATH="%BASE_DIR%\core\build\dependant-libs-%SCALA_VERSION%\*.jar";"%BASE_DIR%\examples\build\libs\kafka-examples*.jar";"%BASE_DIR%\clients\build\libs\kafka-clients*.jar";"%BASE_DIR%\streams\build\libs\kafka-streams*.jar";"%BASE_DIR%\streams\examples\build\libs\kafka-streams-examples*.jar";"%BASE_DIR%\streams\build\dependant-libs-%SCALA_VERSION%\rocksdb*.jar";"%BASE_DIR%\tools\build\libs\kafka-tools*.jar";"%BASE_DIR%\tools\build\dependant-libs-%SCALA_VERSION%\*.jar";"%BASE_DIR%\connect\api\build\libs\connect-api*.jar";"%BASE_DIR%\connect\api\build\dependant-libs\*";"%BASE_DIR%\connect\runtime\build\libs\connect-runtime*.jar";"%BASE_DIR%\connect\runtime\build\dependant-libs\*";"%BASE_DIR%\connect\file\build\libs\connect-file*.jar";"%BASE_DIR%\connect\file\build\dependant-libs\*";"%BASE_DIR%\connect\json\build\libs\connect-json*.jar";"%BASE_DIR%\connect\json\build\dependant-libs\*";"%BASE_DIR%\connect\tools\build\libs\connect-tools*.jar";"%BASE_DIR%\connect\tools\build\dependant-libs\*";"%BASE_DIR%\libs\*";"%BASE_DIR%\core\build\libs\kafka_%SCALA_BINARY_VERSION%*.jar"
IF not defined CLASSPATH (
  set CLASSPATH=%ADD_CLASSPATH%
) ELSE (
  set CLASSPATH=%CLASSPATH%;%ADD_CLASSPATH%
)
set ADD_CLASSPATH=


New onInit() hook

A workaround until this is implemented is to use onBeforeRoute: https://github.com/brillout/vite-plugin-ssr/issues/256#issuecomment-1030861810

Closing because of lack of interest. Reply and elaborate here if you want/need this.


TypeScript: Support numeric separators

Describe the bug
Numeric separators (e.g. 10_000_000) are supported in TypeScript since version 2.7. It's still an ES (stage 3) proposal, therefore it doesn't get transpiled by Babel. So you get errors like the following.
./src/FrontEnd/App.tsx
SyntaxError: ....\App.tsx: Identifier directly after number (17:14)

  15 | import { reduxStore } from "./ReduxStore";
  16 |
> 17 | console.log(10_000_000);

Steps to reproduce
See above.
Expected behavior
No transpile error.
Actual behavior
See above.
Reproducible demo
In any .ts/.tsx file:
console.log(10_000_000);

Solution
Add the "@babel/plugin-proposal-numeric-separator" plugin to the Babel preset if TypeScript is enabled. (Just like we do it for decorators.)

Added fix in this pull Request 7817


setEndDate do not work in year view

if I init a datetimepicker with option:minView:'year',then I call $('#demo').datetimepicker('setEndDate','2015-01') for example,it does not work as expected.

Fixed in latest version through PR #600


let Jest Support ElasticSearch 6.3.1

I Upgrade Graylog Server to Support ElasticSearch 6.3.1,in 6.3.1,The  /_all/_aliases api is not support,it will throw this error
Incorrect HTTP method for uri [/_all/_aliases] and method [GET], allowed: [PUT]
so i change the _aliases to _alias.it work...

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Even if it sounds silly, we require a signed CLA which isn't present, so I'll close this PR now.


ws socket error as soon as module installed

Version
@nuxtjs/strapi: 1.5.1
nuxt<EMAIL_ADDRESS>installed under windows
strapi v4 backend
integrated with existing app as per docs
login works fine - return user, jwt ...
every five seconds, I get an error in the browser inspector:
[Content] WS connect to ws://localhost:3000/ws
web-socket.mjs?v=7b0fc733:56
   WebSocket connection to 'ws://localhost:3000/ws' failed: Error during WebSocket handshake: Unexpected response code: 404

connect @ web-socket.mjs?v=7b0fc733:56
useContentWebSocket @ web-socket.mjs?v=7b0fc733:62
(anonymous) @ ws.mjs?v=7b0fc733:5
web-socket.mjs?v=7b0fc733:5
   [Content] WS Error: Event {isTrusted: true, type: 'error', target: WebSocket, currentTarget: WebSocket, eventPhase: 2, …}

warn @ web-socket.mjs?v=7b0fc733:5
onError @ web-socket.mjs?v=7b0fc733:30
error (async)
connect @ web-socket.mjs?v=7b0fc733:59
useContentWebSocket @ web-socket.mjs?v=7b0fc733:62
(anonymous) @ ws.mjs?v=7b0fc733:5
Promise.then (async)
(anonymous) @ ws.mjs?v=7b0fc733:5
fn @ nuxt.mjs?v=7b0fc733:118
callWithNuxt @ nuxt.mjs?v=7b0fc733:123
applyPlugin @ nuxt.mjs?v=7b0fc733:69
applyPlugins @ nuxt.mjs?v=7b0fc733:78
await in applyPlugins (async)
initApp @ entry.mjs:44
(anonymous) @ entry.mjs:60
web-socket.mjs?v=7b0fc733:4 [Content] WS reconnecting..
web-socket.mjs?v=7b0fc733:4 [Content] WS connect to ws://localhost:3000/ws
Seems to be part of refresh from server is directed to frontend.  Login is working, so not sure what to improve.

I experimented and changed nuxt.config.js:
strapi: {
url: process.env.STRAPI_URL || 'http://<IP_ADDRESS>:1337',
...
works fine

'localhost' as in the docs causes a recurring ws error.

Eventually, the problem recurred with 127... so it seems something with my Windows config.


even hover on navbar

there is a uneven hover on navbar like home section has permanent color on it , rest hover on touch, i have fixed the issue so please assign me this

I will implement engaging hover effects on the navbar items to make them visually appealing and provide feedback when users interact with them. This includes changing colors, adding underlines, or applying subtle animations.
Please assign this task to me so I can enhance the navbar experience!

please assign me with the task @aslams2020


Nucleo f030r8

Fixes #3923
boards: provide support for Nucleo-64 F030R8
This PR is an updated version of #1103 since @MaciejDebski won't have time to maintain this PR, authorship of the patches has been preserved.
This PR contains a fix to solve the missing memory issues on the automated build test suite.

I'm going to close #1103 since this takes it over.

Can you guys explain 'arch: arm: core: fix vector table relocate write to flash' to me a bit more.

@galak On Cortex-M0, you cannot change the vector table pointer in the CPU registers, you need to have them at address 0 in physical memory, but on STM32 address 0 can be remapped on flash or whatever, so if we need to relocate the pointers we must be sure the DRAM is mapped here and reserve the memory in the binary ram sections

If you can rebase and take of the conflict, I'll merge after that.

Ok I’ll do it ASAP

Oh, forgot to mention that we need to look at tests/kernel/common/test, fails due to needing a few more bytes of SRAM.


stm32/gpdma: fix drop() to use documented method for aborting transfer

See e.g. STM32H503 RM section 15.4.4.

Write 1 into GPDMA_CxCR.SUSP
Poll GPDMA_CxSR.SUSPF until it is 1
Write 1 into GPDMA_CxCR.RESET

This fixes #2171 for me - instead of hanging forever, my UART read fails with a framing error (as it should!)
This should be the correct behaviour in any instance where a GPDMA transfer needs to be aborted.
Why it was broken
Old behaviour step by step:

Reset all bits on CxCR except relevant interrupt enables.

This has the effect of writing 0 to EN, RESET and SUSP. Writing 0 to EN and RESET has no effect, per RM. Writing 0 to SUSP resumes the channel if it was already suspended (irrelevant in this case).

Poll TCF, waiting for it to be set

This is fine if one expects the transfer to proceed, but that may not be the case, and if Transfer is being dropped, the application will never see the data anyway.
In my case - #2171 - the transfer is being dropped due to an error in the source peripheral, so I would never expect TCF to be set! Hence, the hang on this tight polling loop.

Thanks for tracking this down!
Could you try not changing the public API? We should try to keep it compatible between DMA/BDMA and GPDMA. Seems nothing in the HAL is relying on that because it mainly uses the async API, but users outside the HAL might.
I think making request_stop() do suspend and is_running() return !tcf && !suspf should work.
I don't think reset should be required because new_inner already resets, but if it is I wouldn't make it public API.

My bad @Dirbaio , all done.
You're right, the new_inner reset looks sufficient.


Migration API CreateMigrationJob fails to read/parse a manifest file

Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
SharePoint CSOM
Developer environment
Windows
What browser(s) / client(s) have you tested

[ ] 💥 Internet Explorer
[ ] 💥 Microsoft Edge
[ ] 💥 Google Chrome
[ ] 💥 FireFox
[ ] 💥 Safari
[ ] mobile (iOS/iPadOS)
[ ] mobile (Android)
[X] not applicable
[ ] other (enter in the "Additional environment details" area below)

Additional environment details

Microsoft.SharePointOnline.CSOM, Version 16.1.23109.12000
PnP.Framework 1.11.0
WindowsAzure.Storage 9.3.3

Describe the bug / error
I create a migration job based on a manifest previously successfully created with CreateSPAsyncReadJob:
    _var migrationJobId = context.Site.CreateMigrationJob(
          context.Web.Id,
          azContainerSourceUrl,
          azManifestContainerUrl,
          azReportQueueUrl);_

After the migration job is started, it fails with the following message in the report queue:
[System.Xml.Schema.XmlSchemaValidationException] [The 'Description' attribute is not declared.]
Thank you in advance for any help.
Steps to reproduce

Create the manifest file using the CreateSPAsyncReadJob method
Copy and create snapshot for all xml files at the root of the container
Create the Import job using CreateMigrationJob method

Expected behavior
Import a manifest file generated by export should be successfully parsed and migration job should be started

I am having the same issue. Has anyone figured this out?


Update the Client Runs to use the node-manager

User Story
Update the Client Runs page to use node data from the node-manager. This is a start in moving away from the node-state index in elasticsearch. This is also a start in combining node information from the compliance pages with Client Runs pages.
Benefits:

Allows pagination of over 10,000 nodes
Mapping/table migrations
IAMv2 Project updates
Relational Database features

Research Areas:

Suggestions from the search bar

Tasks:
This can be completed in separate PRs.

Node List
Node counts
Suggestions
Node Export

Definition of Done
The Client Runs node list page will pull all its information from the node-manager and not the config-mgmt-service.
Demo Script / Repro Steps

Add nodes
Open the Client Runs page
Ensure all information is correctly displayed.

Another research area might be how to handle the whole "missing nodes" thing

This task will have to be done after this one is complete. https://github.com/chef/automate/issues/616


cannot build jasper:x64-windows

Environment

OS: windows 10
Compiler: Microsoft (R) C/C++ Optimizing Compiler Version 19.00.24215.1 for x86

To Reproduce

./vcpkg install jasper:x64-windows
See error

Failure logs
>>>> vcpkg install jasper:x64-windows

Computing installation plan...
The following packages will be built and installed:
    jasper[core]:x64-windows -> 2.0.20
Detecting compiler hash for triplet x64-windows...
Could not locate cached archive: C:\Users\HamidB80\AppData\Local\vcpkg\archives\57\5768bca5dc08f680482818e8f5dd6daba043480e.zip
Starting package 1/1: jasper:x64-windows
Building package jasper[core]:x64-windows...
-- Using cached C:/vcpkg/downloads/mdadams-jasper-d10a710f31da3d079a984d35ff6cc82a853d25d7.tar.gz
-- Cleaning sources at C:/vcpkg/buildtrees/jasper/src/2a853d25d7-8a915d701e.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/vcpkg/downloads/mdadams-jasper-d10a710f31da3d079a984d35ff6cc82a853d25d7.tar.gz
-- Using source at C:/vcpkg/buildtrees/jasper/src/2a853d25d7-8a915d701e.clean
-- Configuring x64-windows
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:105 (message):
    Command failed: ninja -v
    Working Directory: C:/vcpkg/buildtrees/jasper/x64-windows-rel/vcpkg-parallel-configure
    Error code: 1
    See logs for more information:
      C:\vcpkg\buildtrees\jasper\config-x64-windows-out.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_cmake.cmake:324 (vcpkg_execute_required_process)
  ports/jasper/portfile.cmake:15 (vcpkg_configure_cmake)
  scripts/ports.cmake:142 (include)

Error: Building package jasper:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: jasper:x64-windows
  Vcpkg version: 2021-01-13-d67989bce1043b98092ac45996a8230a059a2d7e

Additionally, attach any relevant sections from the log files above.

log files:
config-x64-windows-out.log.txt
CMakeOutput.log.txt
CMakeError.log.txt
I also deleted buildtrees & downloads folders but the problem still exists

@hamidb80 ,CMake is not able to generate the project properly -
Check to make sure Visual Studio 2019 has the following installed:
Desktop Development with C++
One of the Windows SDKs, preferably the latest 19041
English Language Pack


Reverse Geocoding parsing to shorter format

Reverse Geocoding parsing to shorter format:
City, Street, Number

I have implemented proper parsing of address components and in future the address format would be configurable.


Personalisation of wysiwyg editor

Hello,
I was just wondering where I can change the default fonts, etc and options of the wysiwyg editor. Basically, I need to make sure it doesn't add any font-family style directive to the written text.
Thanks in advance!

@jbajou  you can edit this file in public/packages/zofe/rapyd/assets/tinymce/tinymce_editor.js and change the editor config

lovely. Thanks for your help


Add support for javax.persistence EntityListener

added class EntityListenerManager that parses entity listeners by searching for @EntittyListeners annotation
added class EntityListenerMeta to store meta information (entity listeners, methods that shall be invoked after pre/post save and pre/post remove) about EntityListeners in class EntityListenerManager
notify EntityListenerManager before and after entities are saved and removed

@iweinzierl don't you think it is easier to override save, update or delete methods on subclasses then have listener for pre and post operations?


Rev for Cholesky on GPU

Summary
Last PR!
When users define STAN_OPENCL during compilation the reverse mode cholesky will take place on the GPU.
Kinda nice, using all the stuff we built before the code here is pretty similar to the code for the Eigen version of the derivative in cholesky_block
Tests
If you have clinfo installed, you can use clinfo -l to see your available platforms and device index  values. With only one platform and device the below should work, otherwise place the appropriate index values for your device and platform below.
echo STAN_OPENCL=true>> make/local
echo OPENCL_PLATFORM_ID=0>> make/local
echo OPENCL_DEVICE_ID=0>> make/local
./runTests.py ./runTests.py test/unit/math/rev/mat/fun/cholesky_decompose_test.cpp

Side Effects
Moves Cholesky derivative from CPU to GPU
Checklist

[x] Math issue #1117

[x] Copyright holder: (fill in copyright holder information)

Rok Češnovar and Erik Štrumbelj (Faculty of Computer and Information Science, University of Ljubljana)
Steve Bronder

[x] the basic tests are passing

unit tests pass (to run, use: ./runTests.py test/unit)
header checks pass, (make test-headers)
docs build, (make doxygen)
code passes the built in C++ standards checks (make cpplint)

[x] the code is written in idiomatic C++ and changes are documented in the doxygen

[x] the new changes are tested

(fyi I want to make one less pass at this then I think we are good to review!)

 I synced our fork and forgot that develop doesnt have prim GPU changes atm. Fortunately we have to wait for #1120 to go through anyway.

I am going to do similar tests as we did for Stancon with the same or some other model with cholesky_decompose.
I will post the comparison of fits for different input sizes with OpenCL and without it so we can show that there is no practical difference between the two. Also the speedups only for the gradient is something we want to show here, I will do those for the Titan Xp & V100 vs an i7/i5.

re: input checking. I just want to make sure everyone understands the goals.

we don't expect users to provide valid inputs to the functions; this is a reasonable assumption since the user is accessing this from the Stan language and they eventually do pass in values that fail.
if there is an input error, the goal is to notify the user what the error is as specifically and as soon in the chain as we can trap it. It's really not useful if the user calls foo() and the exception back says the throwing function is baz().
if there is an input error, we're not concerned with speed; the try / catch block goes into affect and essentially destroys performace. We have to be careful to clean up resources, but we can take our time in writing nice error messages at this point.
our functions should never seg fault.

There's no reason we must check all input at the top. We could have some other mechanism for checking. If there's a way to validate after running and that can trap everything, that works too.

Thanks Dan! I think I caused some confusion on this so my bad.
wrt check_square and check_symmetric I was not saying, "Let's not do checks" I was saying, "Let's do the CPU version of the checks instead of the GPU version of the checks" because idt the transfer to the GPU is worth it just to do these checks on the GPU.
For check_pos_definite we do the same thing Eigen does. Rok clarifies that in this comment here. I need to fix my comment in the code because I think it's not truthful

Is this ready for review?

Yep! Was about to write a message. Only two things that are unresolved atm are code cleaning that's not directly related to the GPU code.

[ ] Moving that little assignment function above to internal
[ ] Function for assignment in the cholesky classes that gets repeated a few times (from comment here)

I seem to have underestimated the execution time of check_symmetric on the CPU.
For larger sizes (rows >6000+) the check_symmetric on an high-range i7 can represent up to 1/3 of the execution time when using the TitanXp for the rest of cholesky. Fix incoming.

Just to give you some taste on where are the bottlenecks for the execution time and what is worth exploring in the (near) future if anything can be done at all.
This is a figure for the reverse mode specialization of cholesky decomposition (the function that starts here).

For the cholesky itself (red on the figure), we are now 15x/33x faster than an i7 with Eigen when using the TitanXP/V100 at input size 10000x10000. But the actual speedup is in the range of 7-10 for the reverse mode specialization.
This is all without chain() where my initial perf analysis shows that we are more in the speedup range of 15-25. There is still a lot of space for optimization in the chain function (even some stuff that we used for the Stancon paper), but I would much rather get this through with the 15-25 speedup and then do an optimization.

I completely agree that it'd be nice to have these features released before we take the next pass in optimizing them.

Agree with Bob, we have good performance now and there's def a lot of layups in terms of optimization we can do.
I have toy examples written out for both expression templates and async queues. Async queues are working well, but I'm having some trouble with assignment in the expression template. @bob-carpenter if I put up a PR with the expression templating example would you have time to take a look at it?

Ah okay, I can take a look at this tomorrow morning. Thanks!
Also Steve did you mess around with the Eigen Map approach to value_of? We could try making check_symmetric take an Eigen::DenseBase and see if passing in an Eigen Map with a stride of 2 (pointing at a var matrix) cuts times down? That's probably a thing for another PR I guess...

Also Steve did you mess around with the Eigen Map approach to value_of?

Not since we last spoke. Been working on some goofy side projects and haven't had time. I think it's another PR but yeah it seems reasonable (?)

@seantalts I believe I addressed all your comments.
Regarding precision: my plan was to compare fits with STAN_OPENCL and without for either this example (example.txt) from the Stan manual or the model we used for StanCon ?
Any thoughts on this? I could run this with different values for the primitive cholesky_decompose parameters.

Re: Precision. Hmm. I talked with Bob a little about this, and I don't think there's a clear way to measure precision as it kind of depends on the matrix sizes and contents thereof. There are many possible paths, and I think we should just pick one or two and be clear about the assumptions and what we tested (and code is usually pretty clear). I'll propose doing two things:

SBC on the model from the manual to see if we can spot any issues with fitting. Ben is adding SBC support to RStan and it's almost in, see https://github.com/stan-dev/rstan/pull/611. Let's run something like 100 replications of 10 posterior draws each and see what we can see at first.
@bgoodri's idea for a Cholesky decomposition unit test:

https://en.wikipedia.org/wiki/Cholesky_decomposition#Updating_the_decomposition
where we start with a Cholesky factor of a big covariance matrix and then imagine rank-1 or rank-2 updates to the covariance matrix. That can be done more-or-less exactly by direct manipulation of the original Cholesky factor that we can compare to the naive way of multiplying the Cholesky factor by its own transpose, adding the updates, and taking the Cholesky factor of the result.

We can add a test for the relative error for this procedure on GPU and our CPU versions to the source code (see this for measuring relative error). Neither of these have to be done before this PR goes in, but we should do them before we release GPUs to the world, and then we can add a little section describing GPU precision to the manual section on GPU operations.

My point was that whatever the precision, it probably shouldn't block adding GPUs.
I think testing with a known Cholesky factor is the way to go.  I'm not sure what you mean by rank 1 or rank 2 updates.  Is there a motivation for manipulating the Cholesky factor rather than just generating new ones?  The tricky numerical situations often arise with bad conditioning (high ratio of largest to smallest eigenvalue).  But I'm not sure how to generate a test matrix with a given condition.  We might be able to do it approximately in Stan with a prior on the eigenvalues.  Or is that what the low rank updates provide?

My point was that whatever the precision, it probably shouldn't block adding GPUs.

But did I interpret you correctly as saying it would be good to somehow characterize the precision before adding them? Or can we wait on that as well?

@bgoodri do you know how to do what Bob is suggesting (basically generating good test matrices that are tricky for decomposition)?

I'm wondering if there's anything quick&easy we could do in the test to ensure the GPU version is being called... any ideas?

We could set opencl_context.tuning_opts().cholesky_size_worth_transfer = 0; to have that condition always go off right? Or is there somethign else you are worried about that would stop the test from happening

I'm thinking more to verify that the threshold is working correctly... like could we check the opencl context to see that it has had some matrices pass through it or something? any other little side effects like that?

I'll have to check, @rok-cesnovar do you know? I think since we don't track events or do profiling
there's nothing specific in the queue to tell us that info.
In the OpenCL Spec there's a lot of getInfo() functions so we may be able to get some stuff from there
I'm not totally understanding the reason to test that tho'? Like isn't that checking if the if statement goes off?

I cant think of a simple way of doing that for the primitve cholesky without using events that we are currently not using. For the rev cholesky we could possibly check the allocated memory in the arena, idk?

Yeah, basically checking that these tests are actually running on the GPU code we think it's running on. You could imagine someone coming along in the future and changing the templating, overloads, if statement, or tuning params slightly and losing that accidentally while the test will still tell you the cholesky is good to go... Hmm, there might just not be a good way to do it right now, so never mind about that.
Also @rok-cesnovar I missed that that version was in-place, woops. Makes sense.

Ah, yeah Sean I agree that's a very good point! I'm going to iterate on the Async stuff this weekend and with that we will be able to use the events and profiling to check out what is happening and what went off.

Also pretty darn cool! I'm going to make an issue tonight with a checklist of things that we want to happen before we make a full announcement about this

Also gosh, huge thanks to @rok-cesnovar and @seantalts, pretty cool this is finally kicking!

Thank you for driving this forward relentlessly :) super excited at the progress and looking forward to the announcement :)

@SteveBronder @seantalts I also want to thank you both for the hard work. Excited :)


Using a 2D dataset instead of a 3D dataset

Dear Uttaran, I want to use a 2D pose dataset instaed of a 3D, that you use in this work. Tell me please what does 'in_channels'  there https://github.com/UttaranB127/STEP/blob/master/classifier_stgcn_real_only/net/classifier.py#L19 mean?
Is it responsible for 3 (RGB) image channels or it is about 3 dimensional input data and if I want to use a 2D dataset, I have to set in_channels=2?

Yes, it refers to three-dimensional input data. In order to use 2D input, you can change in_channels to 2, and the input would two-dimensional joint locations (could be either image space or metric space).

I understand, thank you so much!


npm run webpack -- --watch ERR!

npm install was done. but run "npm run webpack -- --watch" in terminal. There is the following display
ERROR in ./app/views/editor/thang/AnimateImportWorker.js (./node_modules/_babel-loader@7.1.5@babel-loader/lib!./app/views/editor/thang/AnimateImportWorker.js)
Module not found: Error: Can't resolve 'adobe-animate-parser' in '/home/wjinyao/coco/app/views/editor/thang'
@ ./app/views/editor/thang/AnimateImportWorker.js (./node_modules/_babel-loader@7.1.5@babel-loader/lib!./app/views/editor/thang/AnimateImportWorker.js) 3:26-57
How to fix it.

Make sure build passed without errors.  Hope this helps.

That does not work as the command fails no matter what i do.


Dependency conflict between radboud-el and xrenner

Trying to install without docker by doing docker file commands as instructed.
There is a conflict apparently between these packages. I managed to get it to run by removing the version requirements, but I don't know if this will actually work or not.
python3 -m pip install -r requirements.txt
INFO: pip is looking at multiple versions of xrenner to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r requirements.txt (line 11) and -r requirements.txt (line 12) because these package versions have conflicting dependencies.

The conflict is caused by:
    radboud-el 0.0.1 depends on flair>=0.11
    xrenner <IP_ADDRESS> depends on flair==0.6.1

Thank you! Leaving out xrenner did work for now. However, I would like to have the option of using coref in the future, though it's not critical right now. Is there a chance that neuralcoref might be replaced with something like https://github.com/shon-otmazgin/fastcoref, or that it could be included as an option? Fastcoref seems to be pretty standard these days, and seems to be actively maintained.

That looks really good at first glance, thanks for the link. I'll definitely look at adding support for it in ELEVANT.

I removed support for xrenner and added support for fastcoref. You can test it e.g. in combination with ReFinED on our benchmark Wiki-Fair which contains coreference ground truth mentions:
python3 link_benchmark_entities.py refined.fastcoref -l refined -coref fastcoref -b wiki-fair

Note that you cannot use a coreference linker in isolation (without specifying an entity linker), since ELEVANT evaluates the linked entities, not the coreference clusters themselves.


Support tracing Istio managed services

Is your feature request related to a problem? Please describe.
Today, Pixie’s service map uses remote IP address to derive the Pod name for RPC messages between micro-services. In the case of Istio managed cluster, envoy proxy terminates TCP connections, and RPC messages would use envoy’s address as remote IP. That breaks the logical connection between the client & server, which are mediated by service message proxy.
Describe the solution you'd like
Update relevant PXL scripts to replace local IP address 127.0.0.* with the source pod or service name.
Also support tracing Envoy TLS traffic, by implementing tracing envoy (with boringssl).
Describe alternatives you've considered
There is no obvious alternative.
Additional context
N/A

Pixie's tracing with Istio was affected by two issues:

The rendering of the service map when accessing local IPs (like localhost or Istio's <IP_ADDRESS>) was broken, because local addresses were being considered as global IPs rather than local to the container they were part of. This would cause service maps that would be incorrect.

This has been fixed by treating localhost addresses in PxL scripts as unique to the pod that they belong to.

There are some hops that are missing due to encryption with boringSSL, which is not yet fully supported. This is a separate issue that is not specific to Istio. A separate issue will be filed for this.

The fixes for this issue rolled out in a number of commits by @yzhao1012 :
2f8613d
c6b21bc
6d24549
d378f8f
3f08697
ce44943
With the fix to the service maps, this issue is considered resolved.


Remove unneeded event-flaker test image import

event-flaker image was removed in https://github.com/knative/eventing/pull/6750

/assign @matzew @pierDipi


Is this project dead?

Given all the open and unresolved issues. Can we call this repo dead and archive it?

Shouldn't be any blocking issues open. Most (all) open tickets are questions and feature requests! We haven't been very active in tidying the issue list.
Cognito has native Passwordless support now and that should be preferred over this lib as explained at the top of the README. If you still need to implement custom auth flows, this repo should be a good reference and get you going way faster than coding from scratch. And it can also still work out of the box for you without customizing.

since Cognito has native Passwordless support now and that should be preferred over this lib then this lib should probs be deprecated.
Also, the deplyment fails because the Lambda role doesn't have SES permissions.

since Cognito has native Passwordless support now and that should be preferred over this lib then this lib should probs be deprecated.

There are specific scenario's where this library may still be considered (eg because it supports some features that are not part of Cognito currently yet) and they are listed out at the top of the README:

It supports usernameless FIDO2 sign-in (using discoverable credentials)
It gives you full control of the FIDO2 parameters that are used for the authentication. For example to turn on extensions (such as credProps), or to allow credentials that's don't require userVerification but only user presence.
This solution works in the lowest Cognito pricing tier.
Magic links and SMS based Step-Up auth are not yet natively available and this solution shows how to do it.
Lastly this solution can be used as a demonstration of how FIDO2 works; it may be helpful to be able to look under the hood.

Also, the deplyment fails because the Lambda role doesn't have SES permissions.

Can you provide some more information and steps to reproduce, and we'll look into it.

BTW @ottokruse why did you roll your own s3deploy, and not just implement a cdk codepipeline?

Wanted tighter control of cache headers.

yeah you can't do the first email magiclink to get the user signed in.

I can't remember which of your Lambdas doesn't have sufficient permissions to use SES, do a fresh install and you should have the same issue. I put SES full access on all the Lambdas to get it working in dev.

Just did a fresh clone of this repo, deployed the end-to-end-example again. Worked like a charm, was ble to get a magic link and sign in, no SES permission issues. Also reviewed the source code again, and I see the SES permissions in there as well.
Will close this issue. Will re-open if you can provide steps to reproduce. Thank you


AttributeError: module 'pacmap' has no attribute 'PaCMAP'

Hi
I was trying to run pacmap but i ran into the following error:
Python 3.7.0 (default, Oct  9 2018, 10:31:47)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.

import pacmap
import numpy as np
import matplotlib.pyplot as plt
loading preprocessed coil_20 dataset

... # you can change it with any dataset that is in the ndarray format, with the shape (N, D)
... # where N is the number of samples and D is the dimension of each sample
... X = np.load("./data/coil_20.npy", allow_pickle=True)

X = X.reshape(X.shape[0], -1)
y = np.load("./data/coil_20_labels.npy", allow_pickle=True)
embedding = pacmap.PaCMAP(n_dims=2, n_neighbors=None, MN_ratio=0.5, FP_ratio=2.0)
Traceback (most recent call last):
File "", line 1, in
AttributeError: module 'pacmap' has no attribute 'PaCMAP'

Please advise.
Thank you.

We haven't encountered such error before. Could you provide the following information:

How did you install pacmap? Though the version on PyPI should be consistent with this repo, installing from this repo hasn't be tested yet.
What is the version of pacmap you are using? You can check it by opening the IPython interface, import pacmap, and then enter pacmap.__version__

Hi Haiyang
i installed it using pip in my conda env and >>> pacmap.version
'0.4'

Hi Haiyang
i installed it using pip in my conda env and >>> pacmap.version
'0.4'

That's weird. Could you also try to do the following thing in your Python script:

import pacmap
Use 'pacmap.pacmap.PaCMAP' instead of pacmap.PaCMAP
and see how it works?

very weird indeed. pacmap.pacmap.PaCMAP does not work either

embedding = pacmap.pacmap.PaCMAP(n_dims=2, n_neighbors=None, MN_ratio=0.5, FP_ratio=2.0)
Traceback (most recent call last):
File "", line 1, in
AttributeError: module 'pacmap' has no attribute 'pacmap'
embedding = pacmap.__
pacmap.cached          pacmap.doc             pacmap.getattribute(   pacmap.le(             pacmap.new(            pacmap.repr(           pacmap.subclasshook(
pacmap.class(          pacmap.eq(             pacmap.gt(             pacmap.loader          pacmap.package         pacmap.setattr(
pacmap.delattr(        pacmap.file            pacmap.hash(           pacmap.lt(             pacmap.path            pacmap.sizeof(
pacmap.dict            pacmap.format(         pacmap.init(           pacmap.name            pacmap.reduce(         pacmap.spec
pacmap.dir(            pacmap.ge(             pacmap.init_subclass(  pacmap.ne(             pacmap.reduce_ex(      pacmap.str(

i think it is a silly issue caused by where i run the command! if i am in the root PaCMAP dir i would need to import pacmap.pacmap
Thank you.

For others who are stuck on running the sample code.
You need to import submodule. So instead of
import pacmap
Do:
from pacmap import pacmap
And the the rest of the sample code should work.

For others who are stuck on running the sample code.
You need to import submodule. So instead of
import pacmap
Do:
from pacmap import pacmap
And the the rest of the sample code should work.

Thanks for reporting the problem! It seems like this problem is due to a bug in version 0.4.1. We will try to fix this as soon as possible!

The problem has been resolved now. Due to an incompatibility issue between numba and NumPy, the package now requires Numpy >= 1.20 and numba >= 0.50. For users that have earlier versions, we suggest you to use pacmap v0.4.

I am having similar issues with pacmap <IP_ADDRESS>. I have installed all modules via pip. Currently:
numpy - 1.20.3
numba - 0.54.0
pacmap - <IP_ADDRESS>
python - 3.8.3
I have tried using import pacmap as well as from pacmap import pacmap. The same error occurs of:
AttributeError: module 'pacmap' has no attribute 'PaCMAP'

Did you manage to resolve this issue? I cannot see your comment on GitHub.
On Thu, Sep 30, 2021 at 2:44 AM PieterMey @.***> wrote:

I am having similar issues with pacmap <IP_ADDRESS>. I have installed all
modules via pip. Currently:
numpy - 1.20.3
numba - 0.54.0
pacmap - <IP_ADDRESS>
python - 3.8.3
I have tried using import pacmap as well as from pacmap import pacmap. The
same error occurs of:
AttributeError: module 'pacmap' has no attribute 'PaCMAP'
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/YingfanWang/PaCMAP/issues/11#issuecomment-930952102,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD7W275NV7LSV75ODCLUT63UEQINRANCNFSM47EPIMVA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


[hive/app] migrate from formik to react-form-hook

Already did it part of dropping V2 components @dimaMachina


executor config download cleanup

changed cp to mv to move the file into place instead of leaving copies around

@elingg this seems like a simple way to clean it up.

LGTM. Was this tested?

I don't remember... it was just before my vacation.  I have 2 PRs to test this morning... based on feedback if it all tests good.. I'll merge.

Sounds good, please merge once tested.


Update index.html

Added uib prefix to $modalInstance

Can you open a second PR fixing it in https://github.com/angular-ui/bootstrap/blob/master/src/modal/docs/demo.js ?

:+1:


Added minimalist form style and password validation

Included my single page project as well as edited the Readme file to include a table for better visual  organisation.
Please accept my contribution, thank you. @MattCSmith

Please let me know if there is any issues with my PR


beer-song: Add test case for 2 bottles.

An isolated test of the 2 bottle case would help highlight that it is a special case. If the 2 bottle case is not called out when 1 and 0 are, the error will not be caught until the final test.

I'm not sure it provides as much value as 0, 1 or arbitrary number of bottles, but I agree with you. Handling 2 bottles is a bit different that handling 3 or 8.
I can't currently merge your PR, but it'll be merged very soon. I won't forget it.
Thanks so much for your contribution (code and new ideas), it's very much appreciated.


Improve help: change types to be more descriptive

We may want to add type_name_fn() to options.
         subcommand->add_option("-p, path", path, "Path containing the project's yaml file.")
            ->type_name_fn([]()->std::string{ return "PATH"; });

to report as so:
Options:
  -h,--help                   Print this help message and exit
  -p PATH                   Path containing the project's yaml file.

On the other hand positionals would look bad, i.e. for init --help:
Positionals:
  path PATH REQUIRED          The root path to create the project in.
  project_name NAME REQUIRED  The name of the project.
  version VERSION [0.0.0]        The version to store in the project file.

Options:
  -h,--help                   Print this help message and exit
  -p PATH REQUIRED            The root path to create the project in.
  -n NAME REQUIRED            The name of the project.
  -v VERSION [0.0.0]             The version to store in the project file.

Originally posted by @ScottBailey in https://github.com/AntelopeIO/antler-proj/pull/50#pullrequestreview-1402476875

IMHO if we will use only options the positionals will not look bad. :)

If I add yours type_name_fn it will look like this:
$ ./antler-proj init --help
Initialize a new project creating the directory tree and a `project.yaml` file.
Usage: antler-proj init [OPTIONS] path project_name [version]

Positionals:
  path <PATH> REQUIRED        The root path to create the project in.
  project_name TEXT REQUIRED  The name of the project.
  version TEXT [0.0.0]        The version to store in the project file.

Options:
  -h,--help                   Print this help message and exit
  -p <PATH> REQUIRED          The root path to create the project in.
  -n TEXT REQUIRED            The name of the project.
  -v TEXT [0.0.0]             The version to store in the project file.

so yes, to me this makes sense if we remove positionals.

See also PR #54

As I understand with ->type_name_fn([]()->std::string{ return "<PATH>"; }); it will looks like:
Options:
  -h,--help                   Print this help message and exit
  -p <PATH>                   Path containing the project's yaml file.

I think so? More testing is required.


GH-768 Have an hierarchy for the MessageConverter based-ObjectMapper

PR for https://github.com/spring-projects/spring-amqp/issues/768

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

@mhewedy Thank you for signing the Contributor License Agreement!

The Checkstyle has failed on Travis with the:
[ant:checkstyle] [ERROR] /home/travis/build/spring-projects/spring-amqp/spring-amqp/src/main/java/org/springframework/amqp/support/converter/AbstractJackson2MessageConverter.java:21: Wrong order for 'org.apache.commons.logging.Log' import. [ImportOrder]
[ant:checkstyle] [ERROR] /home/travis/build/spring-projects/spring-amqp/spring-amqp/src/main/java/org/springframework/amqp/support/converter/AbstractJackson2MessageConverter.java:23: 'org.springframework.amqp.core.Message' should be separated from previous imports. [ImportOrder]
[ant:checkstyle] [ERROR] /home/travis/build/spring-projects/spring-amqp/spring-amqp/src/main/java/org/springframework/amqp/support/converter/AbstractJackson2MessageConverter.java:31: Wrong order for 'java.io.IOException' import. [ImportOrder]
[ant:checkstyle] [ERROR] /home/travis/build/spring-projects/spring-amqp/spring-amqp/src/main/java/org/springframework/amqp/support/converter/AbstractJackson2MessageConverter.java:34: First sentence should end with a period. [JavadocStyle]
[ant:checkstyle] [ERROR] /home/travis/build/spring-projects/spring-amqp/spring-amqp/src/main/java/org/springframework/amqp/support/converter/Jackson2JsonMessageConverter.java:21: Wrong order for 'org.springframework.amqp.core.MessageProperties' import. [ImportOrder]
[ant:checkstyle] [ERROR] /home/travis/build/spring-projects/spring-amqp/spring-amqp/src/main/java/org/springframework/amqp/support/converter/Jackson2XmlMessageConverter.java:21: Wrong order for 'org.springframework.amqp.core.MessageProperties' import. [ImportOrder]

Our import order in declared in the checkstyle.xml with the property:
<property name="groups" value="java,/^javax?\./,org,org.springframework,*" />

I am really happy to hear that, Thanks.
I am working on the issues above, once finished I'll edit the PR.

Thanks for your guidance

Yeah, OK. I can fix and remove it during merge.
My only concern to remove it that it is a minor version, not major.
That was a bit unfortunate that we didn't remove it during 2.0 release when we got rid of Jackson 1.x.
OK. We'll see how it is going to live with community if we remove it!
Not a big deal to explain a workaround so far.

Merged as https://github.com/spring-projects/spring-amqp/commit/bac9aa2f7e5a5c7ab45240d026b0339644f29a22.
@mhewedy ,
Thank you one more time for the contribution.
Looking forward for more!


Update response.js

Remove redundant function name, in case of res.status. Using anonymous instead

@vipulbhj Named functions are easy to debug.

Hey @vipulbhj, thanks for your time. Typically we do not merge PR's which have no functional change and are just stylistic preferences, which was your intent here I believe.
In this case, it is also has an unintended breaking change in that it removes the .name property of this function, which someone could have (unwisely) coupled to.  Because of these two reasons, I am going to say no thanks to this change.
If anyone disagrees and thinks we should accept this for another reason, please feel free to re-open.
Side note: most modern javascript vm's will infer the name from the property assignment, so debugging is not really the goal of named functions anymore.

@wesleytodd Side note: most modern javascript vm's will infer the name from the property assignment, so debugging is not really the goal of named functions anymore.

That I forgot, sorry, my bad 😬

Side note: most modern javascript vm's will infer the name from the property assignment, so debugging is not really the goal of named functions anymore.

I don't think that applies here though 🤔

> const foo = {}
undefined
> foo.bar = function () { throw new Error('err') }
[Function]
> foo.bar()
Error: err
    at Object.foo.bar (repl:1:31)

Yeah the name property is not set, but stack traces generated and debuggers and source maps pick it up I think.


Create uninorte.edu.co

Please add my university to the repository

thanks!

@juanctorres98 lib/domains/co/edu/uninorte: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.

@juanctorres98 I am sorry, the domain uninorte.edu.co is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Program. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).


ABBREVIATION: Got new abbreviations

Description

rn - Right Now
sbs - Step By Step
alb - A Little Bit
tfs - Thanks For Sharing
kim - Keep In Mind

Assigning you!

will shortly make PR Emy!


Mac implementation has the wrong assembly name, causing warnings

To help us fix your issue, please provide the information in the below template. If something causes a crash, provide as much information as you can gather.
Just imagine: we do not know what you are doing!

Note: There is often little we can do without a minimal reproducible sample of the issue, so please provide that in a standalone git repository and link it here.

Steps to reproduce

Create a Xamarin.Forms application, with iOS and android targets

Add Plugin.BLE too all the projects created

Add a new Mac project

4.Add Plugin.BLE to the the new mac project

Reference the shared Xamarin.Forms project from the new Mac project

Build all projects

Notice a warning -

Warning MM2013: Failed to resolve the reference to "Plugin.BLE, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null", referenced in "Test, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null". The app will not include the referenced assembly, and may fail at runtime. (MM2013)
Expected behavior
On other platforms the platform specfic dll is named: Plugin.BLE.dll as it is in the .Net standard library
Actual behavior
On mac the assembly is called Plugin.BLE.macOS.dll which is stopping Visual Studio for mac from matching the files names for the bait and switch.
Configuration
=== Visual Studio Community 2019 for Mac ===
Version 8.5.4 (build 12)
Installation UUID: b669b12c-0566-4f7e-8d32-f7a755de5367
GTK+ 2.24.23 (Raleigh theme)
Xamarin.Mac <IP_ADDRESS> (d16-5 / 30e8706b4)
Package version: 608000123

=== Mono Framework MDK ===
Runtime:
Mono <IP_ADDRESS> (2019-10/1d0d939dc30) (64-bit)
Package version: 608000123
=== Roslyn (Language Service) ===
3.5.0-beta4-20125-04+1baa0b3063238ed752ad1f0368b1df6b6901373e
=== NuGet ===
Version: <IP_ADDRESS>15
=== .NET Core SDK ===
SDK: /usr/local/share/dotnet/sdk/3.1.201/Sdks
SDK Versions:
3.1.201
3.1.200
3.1.102
3.1.101
3.0.100
3.0.100-rc1-014190
3.0.100-preview9-014004
3.0.100-preview8-013656
2.2.401
2.1.701
MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/6.8.0/lib/mono/msbuild/Current/bin/Sdks
=== .NET Core Runtime ===
Runtime: /usr/local/share/dotnet/dotnet
Runtime Versions:
3.1.3
3.1.2
3.1.1
3.0.0
3.0.0-rc1-19456-20
3.0.0-preview9-19423-09
2.2.6
2.1.16
2.1.15
2.1.13
2.1.12
=== Xamarin.Profiler ===
Version: <IP_ADDRESS>
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler
=== Updater ===
Version: 11
=== Apple Developer Tools ===
Xcode 11.4.1 (16137)
Build 11E503a
=== Xamarin.Mac ===
Version: <IP_ADDRESS> (Visual Studio Community)
Hash: b75deaf82
Branch: d16-5-xcode11.4
Build date: 2020-04-01 21:33:18-0400
=== Xamarin.iOS ===
Version: <IP_ADDRESS> (Visual Studio Community)
Hash: b75deaf82
Branch: d16-5-xcode11.4
Build date: 2020-04-01 21:33:19-0400
=== Xamarin Designer ===
Version: <IP_ADDRESS>1
Hash: 35aa4889d
Branch: remotes/origin/d16-5
Build date: 2020-02-25 00:52:08 UTC
=== Xamarin.Android ===
Version: <IP_ADDRESS> (Visual Studio Community)
Commit: xamarin-android/d16-5/988c811
Android SDK: /Users/davidhumphreys/Library/Developer/Xamarin/android-sdk-macosx
Supported Android versions:
4.4 (API level 19)
6.0 (API level 23)
7.0 (API level 24)
7.1 (API level 25)
8.0 (API level 26)
8.1 (API level 27)
SDK Tools Version: 26.1.1
SDK Platform Tools Version: 29.0.6
SDK Build Tools Version: 29.0.2
Build Information:
Mono: c0c5c78
Java.Interop: xamarin/java.interop/d16-5@fc18c54
ProGuard: xamarin/proguard/master@905836d
SQLite: xamarin/sqlite/3.28.0@46204c4
Xamarin.Android Tools: xamarin/xamarin-android-tools/d16-5@9f4ed4b
=== Microsoft Mobile OpenJDK ===
Java SDK: /Users/davidhumphreys/Library/Developer/Xamarin/jdk/microsoft_dist_openjdk_<IP_ADDRESS>
1.8.0-25
Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL
=== Android SDK Manager ===
Version: <IP_ADDRESS>
Hash: 6fb4c79
Branch: remotes/origin/d16-5
Build date: 2020-04-15 20:49:08 UTC
=== Android Device Manager ===
Version: <IP_ADDRESS>
Hash: 49194e8
Branch: remotes/origin/d16-5~1
Build date: 2020-04-15 20:49:28 UTC
=== Xamarin Inspector ===
Version: 1.4.3
Hash: db27525
Branch: 1.4-release
Build date: Mon, 09 Jul 2018 21:20:18 GMT
Client compatibility: 1
=== Build Information ===
Release ID: 805040012
Git revision:<PHONE_NUMBER>103e19b0b8d29ddc211abf2fd32607
Build date: 2020-04-16 08:55:15-04
Build branch: release-8.5
Xamarin extensions:<PHONE_NUMBER>103e19b0b8d29ddc211abf2fd32607
=== Operating System ===
Mac OS X 10.15.4
Darwin 19.4.0 Darwin Kernel Version 19.4.0
Wed Mar  4 22:28:40 PST 2020
root:xnu-6153.101.6~15/RELEASE_X86_64 x86_64
=== Enabled user installed extensions ===
Snippet Manager Addin 1.1
StyleCop Support <IP_ADDRESS>
AddinMaker 1.5.0
Extra File Templates 1.0

Hi @newky2k,
I'm the friendly issue checker.
It seems like (50.00 %) you haven't used our issue template :cry: I think it is very frustrating for the repository owners, if you ignore them.
If you think it's fine to make an exception, just ignore this message.
But if you think it was a mistake to delete the template, please close the issue and create a new one.
Thanks!


3rd party launcher availability

Hi,
This mod cannot be automatically downloaded via third-party launchers (such as PolyMC). Could you enable it in CurseForge's project page?

I am now releasing on modrinth instead starting with 1.19 if you need older version just comment below and I will backport eventually. I've basically had enough of curseforge lol.

Understandable, thanks!


my splat is rotating in vertical plane of my screen

let's say i want to fix rotation in only horizontals plane screen the scene is just revolving
can you please help me

Can you show me the code you're using right now? And just to clarify, the effect you are trying to achieve is rotation in the horizontal plane relative to the screen?

I'm sorry, I am still a bit confused as to what the problem is. Are you trying to rotate the scene using the mouse, or by using code (for example, by passing rotation to Viewer.addSplatScene())?

Ah, this is happening because the splats are not aligned with the scene's natural axes. Press the U key to visualize the scene's axes, you'll see a green arrow pointing up (the Y axis). Then you can use the left and right arrow keys to rotate the scene around the forward axis (the direction the camera is facing) and with some trial and error you can align the scene with the natural axes. The orbiting mouse controls don't let you rotate a full 360 degrees around the center of rotation, so that's why you're seeing the limitations you're seeing.
Once you have your scene aligned, you can press the I key to see the camera's "up" vector, and pass that as a constructor parameter to Viewer next time you load the scene, and it should start out aligned correctly.

Just wanted to check in, did the above approach work for you?

Closing this for now, please let me know if you still need help with this.