Errors installing Clifford in Python version 3.9.

Having trouble with supporting libraries/modules that are installed along side Clifford.  Please see errors below.
C:\Users\rashe\AppData\Local\Programs\Python\Python39\Scripts>pip3 install clifford "numba~=0.48.0" "sparse~=0.9.0"
Collecting numba~=0.48.0
Using cached numba-0.48.0.tar.gz (2.0 MB)
Requirement already satisfied: numpy>=1.15 in c:\users\rashe\appdata\local\programs\python\python39\lib\site-packages (from numba~=0.48.0) (1.19.3)
Requirement already satisfied: setuptools in c:\users\rashe\appdata\local\programs\python\python39\lib\site-packages (from numba~=0.48.0) (49.2.1)
Collecting sparse~=0.9.0
Using cached sparse-0.9.1-py2.py3-none-any.whl (63 kB)
Requirement already satisfied: scipy>=0.19 in c:\users\rashe\appdata\local\programs\python\python39\lib\site-packages (from sparse~=0.9.0) (1.5.4)
Collecting llvmlite<0.32.0,>=0.31.0dev0
Using cached llvmlite-0.31.0.tar.gz (110 kB)
Collecting clifford
Using cached clifford-1.3.1-py3-none-any.whl (142 kB)
Collecting h5py
Using cached h5py-3.1.0-cp39-cp39-win_amd64.whl (2.7 MB)
Using legacy 'setup.py install' for numba, since package 'wheel' is not installed.
Using legacy 'setup.py install' for llvmlite, since package 'wheel' is not installed.
Installing collected packages: llvmlite, numba, sparse, h5py, clifford
Running setup.py install for llvmlite ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\rashe\appdata\local\programs\python\python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\rashe\AppData\Local\Temp\pip-install-84b1asc7\llvmlite_fa79b7393761491c802fbf7bf2394105\setup.py'"'"'; file='"'"'C:\Users\rashe\AppData\Local\Temp\pip-install-84b1asc7\llvmlite_fa79b7393761491c802fbf7bf2394105\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\rashe\AppData\Local\Temp\pip-record-eu1n6pud\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\rashe\appdata\local\programs\python\python39\Include\llvmlite'
cwd: C:\Users\rashe\AppData\Local\Temp\pip-install-84b1asc7\llvmlite_fa79b7393761491c802fbf7bf2394105
Complete output (27 lines):
running install
running build
got version from file C:\Users\rashe\AppData\Local\Temp\pip-install-84b1asc7\llvmlite_fa79b7393761491c802fbf7bf2394105\llvmlite/_version.py {'version': '0.31.0', 'full': 'fe7d985f6421d87f613bd414479d29d912771562'}
running build_ext
c:\users\rashe\appdata\local\programs\python\python39\python.exe C:\Users\rashe\AppData\Local\Temp\pip-install-84b1asc7\llvmlite_fa79b7393761491c802fbf7bf2394105\ffi\build.py
Trying generator 'Visual Studio 14 2015 Win64'
Traceback (most recent call last):
File "C:\Users\rashe\AppData\Local\Temp\pip-install-84b1asc7\llvmlite_fa79b7393761491c802fbf7bf2394105\ffi\build.py", line 168, in
main()
File "C:\Users\rashe\AppData\Local\Temp\pip-install-84b1asc7\llvmlite_fa79b7393761491c802fbf7bf2394105\ffi\build.py", line 156, in main
main_win32()
File "C:\Users\rashe\AppData\Local\Temp\pip-install-84b1asc7\llvmlite_fa79b7393761491c802fbf7bf2394105\ffi\build.py", line 88, in main_win32
generator = find_win32_generator()
File "C:\Users\rashe\AppData\Local\Temp\pip-install-84b1asc7\llvmlite_fa79b7393761491c802fbf7bf2394105\ffi\build.py", line 76, in find_win32_generator
try_cmake(cmake_dir, build_dir, generator)
File "C:\Users\rashe\AppData\Local\Temp\pip-install-84b1asc7\llvmlite_fa79b7393761491c802fbf7bf2394105\ffi\build.py", line 28, in try_cmake
subprocess.check_call(['cmake', '-G', generator, cmake_dir])
File "c:\users\rashe\appdata\local\programs\python\python39\lib\subprocess.py", line 368, in check_call
retcode = call(*popenargs, **kwargs)
File "c:\users\rashe\appdata\local\programs\python\python39\lib\subprocess.py", line 349, in call
with Popen(*popenargs, **kwargs) as p:
File "c:\users\rashe\appdata\local\programs\python\python39\lib\subprocess.py", line 947, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "c:\users\rashe\appdata\local\programs\python\python39\lib\subprocess.py", line 1416, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified
error: command 'c:\users\rashe\appdata\local\programs\python\python39\python.exe' failed with exit code 1
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\rashe\appdata\local\programs\python\python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\rashe\AppData\Local\Temp\pip-install-84b1asc7\llvmlite_fa79b7393761491c802fbf7bf2394105\setup.py'"'"'; file='"'"'C:\Users\rashe\AppData\Local\Temp\pip-install-84b1asc7\llvmlite_fa79b7393761491c802fbf7bf2394105\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\rashe\AppData\Local\Temp\pip-record-eu1n6pud\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\rashe\appdata\local\programs\python\python39\Include\llvmlite' Check the logs for full command output.

Hi, this looks like a Python 3.9 compatibility issue to me. The numba JIT compiler that clifford uses does not quite yet support Python 3.9, see https://github.com/numba/numba/issues/6345 , looks like they are planning support for 3.9 sometime early in the new year so probably best to use python 3.8 in the meantime

Thank-you Arthur!!!
On Friday, December 25, 2020, 05:25:57 a.m. PST, hugohadfield<EMAIL_ADDRESS>wrote:
Hi, this looks like a Python 3.9 compatibility issue to me. The numba JIT compiler that clifford uses does not quite yet support Python 3.9, see numba/numba#6345 , looks like they are planning support for 3.9 sometime early in the new year so probably best to use python 3.8 in the meantime
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

This appears to work now, under Python 3.9.19 but only with numba 0.58.1, before the removal of generated_jit. Close?


Connector health monitoring

PMDB : https://pmdb.fortinet.com/ProjectManagement/editprojects.php?id=26075

Alignment issues

Same widget with duplicate name


Avoid mapbox.js hang when invalid coords are passed to fitBounds - #1388

Fixes #1388
Ready to merge once travis passes.

merged with https://github.com/mapbox/mapbox-studio/pull/1438


Using PyAudio streams

Hello!
I have taken your 'audio stream' example and replaced the reading of the file with a pyaudio stream instead from the Google Speech API Example. I am having issues with the data returned by the stream, my final response contains the following:
recognition_result {
  message_type: TRANSCRIPT
  transcript: "turn the lights off in the kitchen"
  is_final: true
}

But it does not include the query_result object that it's expecting, almost like it asked Google Speech fine for the STT but it did not flow through DialogFlow for intent parsing. Do you think you could either provide a pyaudio example or look at this file: https://paste.ofcode.org/pwqLWHVZ4mWHCYDsjmJa8f
Thanks!
Phil

Just found the problem, since the last request sends the intent I need a global to tell the stream to close so that it can process.


New Package Request: [open-vm-tools 11.3.0]

Open-vm-tools 11.3.0 GA was announced on 17 JUN 2021 . Please rebase OVT to our newest release in future.
About vmtools release information, please refer to https://docs.vmware.com/en/VMware-Tools/, https://github.com/vmware/open-vm-tools/releases/tag/stable-11.3.0.
Thanks.

Thank you @Winnie81 for your continued effort of raising awareness of new releases!
We'll have a look.


added code to create client

@lisawong19,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-services/monitoring.md
:white_check_mark:Succeeded

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


'No sync target' logging improvements

Signed-off-by: mark-terry<EMAIL_ADDRESS>

PR description
"No sync target, checking current peers for usefulness" logging made less spammy, with improved detail.

DEBUG level log message rate reduced to once every 15 seconds, with pivot block target added to logging message.
INFO level log message added at 2 minute intervals to provide user feedback while import is paused

Fixed Issue(s)

Addresses #4794
Documentation

[x] I thought about documentation and added the doc-change-required label to this PR if
updates are required.

Changelog

[x] I thought about the changelog and included a changelog update if required.

Will review BurstFilter. 👍


⚠ ClamAV has degraded performance

In 00ba199, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 99 ms

Resolved: ClamAV performance has improved in 95fcf4b.


DragSource, DropTarget, DragDropContext as Components?

I'm a big fan of reusable components. I'm currently trying to figure out how I would create a reusable SortableList component in React.
Consider this dream code:
import React from 'react';
import SortableList from 'sortable-list';
import MyItem from 'components/MyItem';

var items = [...];

React.render(
  <SortableList>
    {items.map(function (item) {
      return <MyItem data={item} key={item.id} />;
    })}
  </SortableList>,
  document.body
);

This SortableList component would magically enable items in the list to be reordered via drag and drop. I'm also dreaming that if two of these SortableLists were on the page, items could be dragged between them.
I'm having a hard time wrapping my head around how this would be done. Can anyone foresee the obstacles to doing this with React DnD? Is it feasible? Or should I give up and just make every DnD component custom without intention of reusing across projects?

You can try. ;-)
There'll be the issue of contexts I'm not sure yet how to solve properly. But once you figure out the rest I think you'll figure out something about it.
You could do something like
class SortableList {
  render() {
    return React.Children.map(this.props.children, child => <SortableItem>{child}</SortableItem>);
  }
}

@DragSource(...)
@DropTarget(...)
class SortableItem {
  render() {
    return this.props.connectDragSource(
      this.props.connectDropTarget(
        React.Children.only(this.props.children)
      )
    );
  }
}

So yeah, I think it's doable.

Closing as non-actionable: you can build these in userland, and React DnD is a lower level library.

@jehoshua02 any luck on this component? I am trying to build something similar, and the DragSource is messed up as the entire div gets dragged instead of single SortableItem. It only works when the SortableItem is a simple div with no children, I am trying to do this with ListItem from react material UI.


Unresolved references

Hey! New to Kotlin, so sorry if this is a simple question. I'm trying to run your project, trying to run main().
Once I run ./gradlew clean build, Slides.kt gets highlighted red and I have over a hundred unresolved reference errors. Any idea what the problem might be? I'm thinking it may have to do with Intellij and how I'm setting up the project structure/sdks?

Not sure what happened but I clicked on Analyze Dependencies on the Gradle window and then things started working. There are still red underlines present there though.

The red-highlighting indicates that the jar cannot be found. If you are in IJ, click on the gradle elephant icon on the upper right and then click on the circular arrows to grab the jars from the maven repo.


to apply OIDC auth for kraken

Hi all,
I'm doing some of stuffs to enabling OIDC auth for kubernetes with k2
Submitting the issue to see others idea.
Currently I use coreos's dex  for OIDC provider.
To use it on kuberentes,
below flags must be added to api-server
in api-server-manifest.yaml.jinja2
{% if kraken_config.authn.type == 'oidc' %}
    - --oidc-issuer-url=https://dex.kube-system.svc.{{kraken_config.clusterDomain}}
    - --oidc-ca-file=/etc/kubernetes/ssl/dex-ca.pem
    - --oidc-client-id=example-app
    - --oidc-groups-claim=groups
{% endif %}

It is OK that the dex not running at the time of apiserver launching.
But the PKI asset must be exist.
And currently kubernetes support https only for OIDC.
What would be proper way to pass the dex-ca.pem to master instance ?
The dex will be provided as a helm chart.
And it would be defined at kraken.config as a service like below
in config.yaml
clusterServices:
  services:
    name: dex
    repo: atlas
    chart: dex
    version: 0.1.0
    namespace: kube-system
    values:
      Dex.Tls.Key: ...
      Dex.Tls.Cert: ...
      Dex.Issuer: ...
      Dex.Connector.Github.Enabled:
      Dex.Connector.Github.ClientId:
      Dex.Connector.Github.ClientSecret:
      Dex.Connector.Google.Enabled:
      Dex.Connector.Google.ClientId:
      Dex.Connector.Google.ClientSecret:

And I gonna put authn fileds to define whether it use oidc provider for authn
in config.yaml
authn:
  -
  name: oidc
  type: oidc
  service: dex

And also add a task to the role
in kraken.master.docker
 - name: Generate master writefiles oidc pem
   template: src=write_files.oidc.part.jinja2
     dest="{{ config_base | expanduser }}/{{kraken_config.cluster}}/master.write_files.oidc.part"
     when: "kraken_config.authn.type == 'oidc'"

How do you think, any better idea ?

talked with @venezia


Crash when stopping Bluetooth Scann

I'm getting lots of this crashes lately:
Fatal Exception: java.lang.NullPointerException
at android.bluetooth.BluetoothAdapter$GattCallbackWrapper.stopLeScan(BluetoothAdapter.java:1658)
at android.bluetooth.BluetoothAdapter.stopLeScan(BluetoothAdapter.java:1602)
at com.sensorberg.sdk.internal.AndroidPlatform.stopLeScan(SourceFile:443)
at com.sensorberg.sdk.scanner.AbstractScanner.handleMessage(SourceFile:186)
at com.sensorberg.sdk.internal.AndroidHandler$LooperThread$StaticHandler.handleMessage(SourceFile:128)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at com.sensorberg.sdk.internal.AndroidHandler$LooperThread.run(SourceFile:115)
This happens on mostly Samsung devices from 4.3 to 5.0.

over 300 times in an Austrian app.

I worked around this by catching this system bug: https://github.com/sensorberg-dev/android-sdk/tree/hotfix/start_stop_scan_scrashes

@falkorichter
Which SDK should we use to get this bug fix?
We are using those as recommended in the tutorial
compile 'com.sensorberg.sdk:android-sdk-bootstrapper:2.0.0'
compile 'com.sensorberg.sdk:android-sdk:1.0.4'
Labib from COUPIES

@labibmezghanni
Sorry for the delay. We have a newer version of the SDK listed on Jcenter 1.0.5RC4 . You can try to use the newer version.  If the problem persists, please let me know and I will look into it.
Sarah


Support sleepy infinity and display Elapsed

Support sleepy infinity and display Elapsed.
% ./sleepy infinity
   8s [------------------------------------------------------------------]   0%

Thank you


Converting lemnatec scanner metadata to absolute geographic positions

From @dlebauer on May 25, 2016 20:54
From @solmazhajmohammadi on March 18, 2016 20:31
@czender, At the moment there is no accurate GPS at the gantry box. It is planned to add geographical coordinates to metadata, based on the fixed point on the ground and a RTK GPS location.
Here are locations from each corner of the field that @rjstrand sent from his phone:
SE Corner 33° 04.470' N / -111° 58.485' W
SW Corner. 33° 04.474' N / -111° 58.505' W
NW Corner. 33° 04.592' N / -111° 58.505' W
NE Corner. 33° 04.591' N / -111° 58.487' W
I have used linear scaling formula to transfer the coordinates, it should be enough for the current GPS location.
To determine the location of each pixel within the image, Extrinsic and Intrinsic calibration matrices are needed.
3 coordinate systems exist:

Field coordinate frame (Xf , Yf , Zf)
Camera coordinate (Xc , Yc , Zc)
Image coordinate (Xp , Yp)

1 ) Extrinsic calibration matrix:
The extrinsic calibration parameters specify the transformation from the field to the camera coordinates, and it is represented as,
[Xc  Yc  Zc]'= Ro  [Xf  Yf  Zf]'+ to
Since there is no rotation (Ro), MEX is only translating vector to. to is transition vector from the control point (0,0,0) to camera position [Xc Yc Zc]. Considering that gantry is moving with constant speed in x direction, and metadata information shows the starting time and start position of a scan.
to = [+xg+Vx*(t)   +yg   +zg]'
Where (xg ,yg ,zg ) is the camera position in gantry box. For Hyperspectral camera (xg, yg ,zg ) is (1.9 , 0.855 , 0.635). Vx is velocity in x direction. t represents time difference. ()' is transpose operation.
2 ) Intrinsic calibration matrix:
Notes:

The geometric distortions that exist between the 272 bands are considered to be small.
No rectification is done.
No distortion and lens model is considered.
Mirror angle change is not considered.

The intrinsic calibration parameters specify the transformation from the camera coordinate to the pixel coordinates.
Coordinate transformation between camera plane and image plane:
[Xp Yp f]'= A [ I  0 ] [Xc  Yc  Zc]'
Simple orientation matrix is:

αx = αy =α and it's focal length divided by pixel pitch. u0 and v0 denote the principal point (ideally center of image)
For SWIR camera focal length is 24 mm, and pixel pitch is equal to 25 um. I dont know how much is γ. I have contacted the Headwall group and hopefully soon, they will provide me with more information on calibration of the camera. So, I will update your response soon.
Copied from original issue: terraref/documentation#9

Copied from original issue: terraref/reference-data#32

From @rjstrand on May 25, 2016 21:8
@dlebauer Thanks for the reminder.  I just uploaded a .zip file to Box that contains RTK GIS measurements in various shape files.  It is located in UA Site Information\GIS Shape Files.  There are shape files for rail extents, foundation locations, sprinkler locations, a set of calibration points through the field, and a single point that represents the reference (0,0) for the current setup.  Each shape file has an associated dbf file that can be opened in Excel by filtering for all files (.) and selecting it.  I suggest saving the dbf in a separate file in native Excel format as the dbf is a component of the shape file assembly.  The dbf has columns X, Y, Z that represent the coordinates in UTMs.  The last two columns are lat-long coordinates in decimal degrees.
I hope this helps.  Let me know if there is further information that you need.  I will be back on site on May 31st.

Bob

Thanks @rjstrand since the Box folder is restricted I uploaded them here for quick reference:
Gantry_Adjusted.zip

From @czender on May 25, 2016 21:18
We are at an impasse with calibrating the radiometric data, so this is a good time to try to implement the above geolocation. @FlyingWithJerome please read this thread and try to implement the suggested algorithm within JsonDealer, i.e., decorate the hyperspectral output file lat(x,y) and lon(x,y) where x and y are the existing pixel dimensions.

From @SolmazHajmohammadi-LemnaTec on May 25, 2016 22:59
@czender @FlyingWithJerome
I think it would be better to wait for the triggered data from Hyperspectral camera. I think it is currently working for VNIR.  Using external trigger will solve the problem, and you only need to convert from Gantry coordinate system to GPS coordinate(if you want GPS location)

@rjstrand, I think cz is referring to issues computing down welling radiance a from the ocean optics hyper spectral sensor https://github.com/terraref/reference-data/issues/30

I meant @SolmazHajmohammadi

From @rjstrand on May 26, 2016 14:49
@czender @dlebauer
Just for clarification, the SWIR is functioning with the external trigger.  The VNIR is the instrument that has been giving us problems with the external trigger.  Additionally, VNIR is currently down.  I will look at it when I return to Maricopa on 31 May.

From @caicai89- on May 27, 2016 21:16
When calculating the positions, we found that we need more information about the gantry and field.

Are the sensors fixed on the gantry?
In what direction can gantry move, or what is the direction of the track?
What is the exact point on gantry that have the position recorded in the metadata? And what is the coordinate origin, SE corner?
What is the exact point on camera that have the position recorded in the metadata? And what is the coordinate origin, Up-Left corner? What is the relation between camera box and gantry?
What is the field size? Are the edges of field straight North-South and East-West?

Also, when doing the position calculation. It is not safe to do the linear interpolation based on LatLon. So we transform the LatLon into UTM XY coordinate. However, the transformation has some errors. And we are not sure about how large the errors could be. Maybe we need some points with gantry locations and RTK LatLon to verify the error. But we are not sure about the necessity.

@caicai89- see some of the discussion here: https://github.com/terraref/reference-data/issues/25#issuecomment-219126297
I'll answer but will want someone from Lemnatec (@rjstrand or @TinoDornbusch?) to confirm.
First lets define rails, gantry is the big two-legged bit attached to rails and sensor box is moved around by the gantry.

Are the sensors fixed on the gantry?

The sensors are fixed to the sensor box. the sensor box moves EW on the gantry, the gantry moves N/S on the rails

In what direction can gantry move, or what is the direction of the track?

North / South

What is the exact point on gantry that have the position recorded in the metadata?

Not sure. I assume the SE corner of the sensor box and then the sensor position is relative to this

And what is the coordinate origin, SE corner?

I believe the center of the SE most concrete piling on the rails. [0,0,0] in the figure above

What is the exact point on camera that have the position recorded in the metadata?

I believe this is the center of the camera sensor, which I assume is pretty close is the center of the field of view (I think for z dimension, add focal distance to calculate center of field of view)

And what is the coordinate origin, Up-Left corner? What is the relation between camera box and gantry?

In https://github.com/terraref/reference-data/issues/25#issuecomment-219126297 @TinoDornbusch says "Field of view means a box with dimension in X and Y given with the camera X,Y as center of mass"

What is the field size? Are the edges of field straight North-South and East-West?

I believe the planted and scanned area is approximately 200 m N/S and 20 m E/W

Also, when doing the position calculation. It is not safe to do the linear interpolation based on LatLon. So we transform the LatLon into UTM XY coordinate. However, the transformation has some errors. And we are not sure about how large the errors could be. Maybe we need some points with gantry locations and RTK LatLon to verify the error.

Just say where / how many measurements you need.

@caicai89- see also https://github.com/terraref/reference-data/issues/32

From @caicai89- on June 8, 2016 14:11
@rjstrand With the .dbf file and gantry coordinates from @TinoDornbusch , I think we can check if the error. Where could I find the file? Do you mean current field is with size of  203.5 (207.3-3.8)   * 22.135?

From @TinoDornbusch on May 28, 2016 6:11
@dlebauer all correct. Godd drawing. May be the schematic drawing of the sensorbox helps to understand the Relations inside the box.
7100019_20160215_Kamerabox_Koordinaten.pdf

From @rjstrand on May 28, 2016 15:26
A few clarifications...
(0,0) - the X,Y origin is not at the SE foundation.  If you look at the set of shape files, there is one called "reference".  This is the single point representing the SE corner of the camera box when the gantry coordinates read (0,0).  This location was set by our electrical/control contractor.  We did not have a chance to modify this before the experiment started, so we decided to leave it as is for this year.
The accuracy of this GPS measurement is roughly +/- 1 cm.  The reference point is offset from the SE foundation and is currently marked with a pin flag.  I hope to determine the offsets from some fixed point on the SE foundation before I leave on 10 June.
This is are repeat, but I'll include to be complete... The shape file sets include a .dbf file that can be opened in Excel.  It is best to save the .dbf as a separate file.  Modifying it can have consequences if you attempt to import the shape set into a GIS package.  The .dbf has X,Y columns that represent UTM coordinates.  I believe this is zone 12N.  "Lat" & "Lon" are in decimal degrees.
Additionally, there is a set of calibration points in the shape files... labeled "CalibrationPnts".  Tino has the gantry coordinates that correspond to these GPS points.  @TinoDornbusch, maybe you could upload those.
We will probably have time to get more points in the next two weeks, but I would suggest that we do it sooner than later.  The sorghum will soon get in the way of the plumb bob that I use to mark points on the field.  We also have to arrange to borrow the RTK and we have to mark the additional points between imaging runs.  So, it can be done, but some things have to be arranged.  Let us know if you need some additional points.
With regard to the reported position, David is correct.  The reported position represents the location of the SE corner of the camera box.  Instrument positions are then based on offsets.  Tino can speak to those.
Current extents of the system are (3.8, 0.0, 0.0) to (207.3, 22.135, 5.5) all in meters.  Again, this is the extents of motion for the SE corner of the camera box.
Finally, the gantry coordinate system is right-handed - Origin in the SE part of the field,  X increases going from south to north, Y increases from east to the west.

From @caicai89- on June 8, 2016 16:51
@rjstrand  the gantry coordinate system is right-handed.

Is the camera box coordinate also right-handed?
to = [+xg+Vx*(t) +yg +zg]', for this formula, where can I find the t value? The sample metadata is the following.
"gantry_system_variable_metadata": {
"Time": "05/07/2016 15:58:43",
"Position x [m]": "203.6",
"Position y [m]": "2.499",
"Position z [m]": "0",
"Velocity x [m/s]": "0",
"Velocity y [m/s]": "0",
"Velocity z [m/s]": "0",
"Camnera box light 1 is on": "False",
"Camnera box light 2 is on": "False",
"Camnera box light 3 is on": "False",
"Camnera box light 4 is on": "False"
},

From @rachelshekar on July 7, 2016 14:1
@caicai89-  please update this issue

From @gsrohde on June 9, 2016 17:15
@dlebauer @rjstrand I just thought I should clarify "right-handed" coordinate system vs. "left-handed" coordinate system.  "right-handed" (also called "standard orientation") is what mathematicians usually use.  I means that if the positive x-axis is going off to your right and the positive y-axis is going up, then the positive z-axis is coming toward you.  What's unusual here is that in a geographical context, it seems more conventional to have the positive x-axis going toward the east and the positive y-axis going toward the north (and the positive z-axis going toward increasing altitude of course) whereas here you have the positive x-axis going toward the north and the positive y-axis going toward the west.  In other words, the axis are rotated 90 degrees from what is usual.  But both systems are right-handed coordinate systems.

From @rachelshekar on July 29, 2016 20:27
@yanliu-chn - please update this issue

From @yanliu-chn on July 29, 2016 20:34
@caicai89- could you update the status of this issue? as we discussion, we need a timeline to deliver the first version of this feature.

From @caicai89- on August 18, 2016 4:54
N(x)
^
|
|
|
#W(y)<------SE
SE point has gantry position (3.8,0.0) and GPS position (33.0745,-111.97475).
When transforming a point from gantry coordinate to GPS position, we follow the following 3 steps.

Calculate the UTM position of the SE point
Calculate the UTM position of the point taking SE point as reference
Get the GPS position based on UTM

I tested the extreme situation, the NW point, and found some errors I cannot explain.
The NW point has gantry position (207.3,	22.135) and GPS position (33.0765333333,-111.9750833333).
The UTM position for SE is<PHONE_NUMBER>875577, 3659968.4471026724).
So the UTM position for NW is<PHONE_NUMBER>875577-22.135,3659968.4471026724+207.3-3.8)
=(408995.5955875577, 3660171.9471026724)
However, the UTM position of NW point can also be calculated from GPS position of NW point, which is<PHONE_NUMBER>83526, 3660194.1676153513).
As a result, there is a difference (6.885304031718988,-22.220512678846717).
This is too large!
Is there any wrong with the gantry position for SE (3.8,0.0) and NW (207.3,22.135)?

From @caicai89- on July 29, 2016 21:34
This work will be closed once https://github.com/terraref/computing-pipeline/issues/101 is finished.

@rjstrand @smarshall-bmr any ideas?

From @max-zilla on August 18, 2016 18:52
@caicai89- You mentioned current metadata format during the meeting. I looked at several sensor metadata JSON files from August 17th for the geospatial format.
The gantry data (gantry_system_variable_metadata) is available with every sensor:
"gantry_system_variable_metadata": {
      "time": "08/17/2016 11:23:14",
      "position x [m]": "207.013",
      "position y [m]": "3.003",
      "position z [m]": "0.68",
      "speed x [m/s]": "0",
      "speed y [m/s]": "0.33",
      "speed z [m/s]": "0",
      "camera box light 1 is on": "True",
      "camera box light 2 is on": "True",
      "camera box light 3 is on": "True",
      "camera box light 4 is on": "True",
      "y end pos [m]": "22.135",
      "y set velocity [m/s]": "0.33",
      "y set acceleration [m/s^2]": "0.1",
      "y set decceleration [m/s^2]": "0.1"
    },

More detailed information (sensor_fixed_metadata) varies by sensor as you might expect. Here are the fields per sensor, limited to only include the fields we might use for this calculation.
stereoTop
"sensor_fixed_metadata": {
      "cameras alignment": "cameras optical axis parallel to XAxis, perpendicular to ground",
      "optics focus setting (both)": "2.5m",
      "optics apperture setting (both)": "6.7",
      "location in gantry system": "camera box, facing ground",
      "location in camera box x [m]": "0.877",
      "location in camera box y [m]": "2.276",
      "location in camera box z [m]": "0.578",
      "field of view at 2m in X- Y- direction [m]": "[1.857 1.246]",
      "bounding Box [m]": "[1.857     1.246]",
    },

cropCircle
"sensor_fixed_metadata": {
      "location in gantry system": "camera box, facing ground",
      "location in camera box x [m]": "0.480",
      "location in camera box y [m]": "1.920",
      "location in camera box z [m]": "0.6",
    },

co2Sensor
"sensor_fixed_metadata": {
      "location in gantry system": "camera box, facing ground",
      "location in camera box x [m]": "0.35",
      "location in camera box y [m]": "2.62",
      "location in camera box z [m]": "0.7",
    },

flirIrCamera
"sensor_fixed_metadata": {
      "location in gantry system": "camera box, facing ground",
      "location in camera box x [m]": "0.877",
      "location in camera box y [m]": "1.361",
      "location in camera box z [m]": "0.520",
      "field of view x [m]": "1.496",
      "field of view y [m]": "1.105",
    },

ndviSensor
"sensor_fixed_metadata": {
      "location in gantry system": "top of gantry, facing up, camera box, facing ground",
      "location in camera box x [m]": "0.33",
      "location in camera box y [m]": "2.50",
    },

priSensor
"sensor_fixed_metadata": {
      "location in gantry system": "top of gantry, facing up, camera box, facing ground",
      "location in camera box x [m]": "0.400",
      "location in camera box y [m]": "2.470",
    },

SWIR
"sensor_fixed_metadata": {
      "location in gantry system": "camera box, facing ground",
      "location in camera box x [m]": "0.877",
      "location in camera box y [m]": "2.325",
      "location in camera box z [m]": "0.635",
      "field of view y [m]": "0.75",
      "optics focal length [mm]": "25",
      "optics focus apperture": "2.0",
    },

scanner3DTop
N/A

So the following fields are available across most sensors:

"location in camera box x [m]"
"location in camera box y [m]"

I don't think z should matter in this case. But if your extractor uses these 2 fields along with the gantry_system_variable_metadata above, we should get geo data for all but 1 sensor listed here.

From @max-zilla on August 18, 2016 19:59
@dlebauer just meant not every sensor has a "location in camera box z" in the metadata like they do x and y. We have the gantry z position however. Perhaps this is already accounted for in @caicai89-'s script.

@max-zilla why don't you think z would matter?
For a fixed bounding box describing the field of view, if the box is on the ground the view at the top of the canopy is much smaller than the box. I think the field of view is always defined as 2m from the base of the sensor box see also original post / comments here and terraref/computing-pipeline#101

@max-zilla two sensors facing up (PRI and NDVI) neither have z nor field of view.
@TinoDornbusch and @SolmazHajmohammadi-LemnaTec @markus-radermacher-lemnatec is there a reason that scanner3DTop doesn't provide any information about sensor position or field of view in its metadata?

@dlebauer  Should be included in Fixed Meta data of the 3D Scanner:
    <entry9 type="KeyValueUnitTriple">
        <Key type="String" value="scanner east location in camera box x" />
        <Value type="String" value="2.070" />
        <Unit type="String" value="m" />
    </entry9>
    <entry10 type="KeyValueUnitTriple">
        <Key type="String" value="scanner east location in camera box y" />
        <Value type="String" value="0.306" />
        <Unit type="String" value="m" />
    </entry10>
    <entry11 type="KeyValueUnitTriple">
        <Key type="String" value="scanner east location in camera box z" />
        <Value type="String" value="1.135" />
        <Unit type="String" value="m" />
    </entry11>
    <entry12 type="KeyValueUnitTriple">
        <Key type="String" value="scanner west location in camera box x" />
        <Value type="String" value="2.070" />
        <Unit type="String" value="m" />
    </entry12>
    <entry13 type="KeyValueUnitTriple">
        <Key type="String" value="scanner west location in camera box y" />
        <Value type="String" value="2.726" />
        <Unit type="String" value="m" />
    </entry13>
    <entry14 type="KeyValueUnitTriple">
        <Key type="String" value="scanner west location in camera box z" />
        <Value type="String" value="1.135" />
        <Unit type="String" value="m" />
    </entry14>
    <entry15 type="KeyValueUnitTriple">
        <Key type="String" value="field of view y" />
        <Value type="String" value="0.800" />
        <Unit type="String" value="m" />


chore: add missing information to price database landing page

This PR resolves https://artsyproduct.atlassian.net/browse/CX-1838
Description:
This PR populates the price database landing page with the missing data
https://user-images.githubusercontent.com/11945712/134497838-64ec0f8c-8399-4577-be34-ef91adb24398.mov
Thank you @olerichter00

#squashongreen


gradle is using proxy will i am not using proxy in android studio or on system

Expected Behavior

Current Behavior

Context

Steps to Reproduce (for bugs)

Your Environment

Build scan URL:

i need help plz solve this issue

Gradle doesn't magically decide to use a proxy :) Make sure you didn't configure it in gradle.properties or in IDEA.

I removed proxy from every where even from OS setting and in
gradle.properties there is nothing about proxy
and i deleted the gradle folder and android studio re-downloaded it and now
its fixed
On Thu, Oct 4, 2018 at 11:31 AM Stefan Oehme<EMAIL_ADDRESS>wrote:

Gradle doesn't magically decide to use a proxy :) Make sure you didn't
configure it in gradle.properties or in IDEA.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/gradle/gradle/issues/6992#issuecomment-426900547, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ApEay0vQNRB36fLKC9FOaH07OOuolaIdks5uhaslgaJpZM4XD7QQ
.


deps: use dependencyGraphBuilder.buildFullDependencyGraph

@stephaniewang526 @elharo
CC: @yangnuoyu
I wanted to see whether we need a release of com.google.cloud.tools:dependencies. It does not seem needing a release.
With dependencyGraphBuilder.buildFullDependencyGraph, which is marked public in com.google.cloud.tools:dependencies:1.4.3. This "dashboard" module no longer needs the copy of the Java code in "com.google.cloud.tools.opensource.cloudbomdashboard.dependencies" package. (and thus this PR deletes the package)

I will agree with you if "buildFullDependencyGraph(ImmutableList.of(artifact))" can replace the "buildVerboseDependencyGraph(artifact)". I was not sure about this when I built the dashboard.

buildFull and buildVerbose are not the same. You should pick the one that fits the use case.

For this dashboard, I confirmed that both buildFullDependencyGraph and buildVerboseDependencyGraph generate the same result; 5 in the "upper bound errors" and 16 in "fail to converge" section.

The difference of the two methods are whether to include optional dependencies: buildFullDependencyGraph includes them and buildVerboseDependencyGraph does not.

LGTM - looks like we can go w buildFull instead here. Pls keep us posted on release so @yangnuoyu could refactor the dashboard code.

@stephaniewang526 PTAL; I fixed the commit message to follow combentionalcommits.

@stephaniewang526 @elharo I don't have "write access" to this repository. Would you merge this?

Merged origin/master. I'm going to release "dependencies" module later 1.5.0 this week. But this PR does not need to wait for it.

@stephaniewang526 Thank you.

@yangnuoyu @stephaniewang526 We released the dependencies module 1.5.0 today:
https://search.maven.org/artifact/com.google.cloud.tools/dependencies/1.5.0/jar


[GoSDK] Fix race conditions in statemgr & test

A thread sanitizer run found race conditions in the test, and on cleanup of a state channel.
No longer nilling the channel fields is fine. On termination (just a few lines before) the force-recreate deletes the extant reference and closes the context. Closing the contexts cause the read and write go-routines to exit out, dropping the remaining references to the channel, and everything should be garbage collected.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

R: @youngoli


Upgrade caffeine to get multi expiry support with the latest fixes

This change upgrades caffeine to the latest version 2.6.2
Description
This change upgrades caffeine to the latest version.
Main reason for this change is to make the expiration per entry interfaces available
with the latest fixes. Though openwhisk does exploit this feature (yet),
authentication SPI implementations can use this feature to cache tokens based on their
expiry date.
The selected version is also the one required b the latest version of scaffeine
which might be a worthwhile way to scala-fy the usage of caffeine in openwhisk.
Related issue and scope

[ ] I opened an issue to propose and discuss this change (#????)

My changes affect the following components

[ ] API
[ ] Controller
[ ] Message Bus (e.g., Kafka)
[ ] Loadbalancer
[ ] Invoker
[ ] Intrinsic actions (e.g., sequences, conductors)
[ ] Data stores (e.g., CouchDB)
[ ] Tests
[x] Deployment
[ ] CLI
[ ] General tooling
[ ] Documentation

Types of changes

[ ] Bug fix (generally a non-breaking change which closes an issue).
[x] Enhancement or new feature (adds new functionality).
[ ] Breaking change (a bug fix or enhancement which changes existing behavior).

Checklist:

[x] I signed an Apache CLA.
[x] I reviewed the style guides and followed the recommendations (Travis CI will check :).
[ ] I added tests to cover my changes.
[ ] My changes require further changes to the documentation.
[ ] I updated the documentation where necessary.

Codecov Report

Merging #4016 into master will decrease coverage by 4.65%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #4016      +/-   ##
==========================================
- Coverage   85.84%   81.19%   -4.66%
==========================================
  Files         147      147
  Lines        7114     7114
  Branches      419      419
==========================================
- Hits         6107     5776     -331
- Misses       1007     1338     +331

Impacted Files
Coverage Δ

...core/database/cosmosdb/RxObservableImplicits.scala
0% <0%> (-100%)
:arrow_down:

...core/database/cosmosdb/CosmosDBArtifactStore.scala
0% <0%> (-95.1%)
:arrow_down:

...sk/core/database/cosmosdb/CosmosDBViewMapper.scala
0% <0%> (-92.6%)
:arrow_down:

...whisk/core/database/cosmosdb/CosmosDBSupport.scala
0% <0%> (-81.82%)
:arrow_down:

...abase/cosmosdb/CosmosDBArtifactStoreProvider.scala
0% <0%> (-58.83%)
:arrow_down:

...la/whisk/core/database/cosmosdb/CosmosDBUtil.scala
92% <0%> (-4%)
:arrow_down:

Continue to review full report at Codecov.

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


sap UI themes

@mayankmendix I've made the requested corrections, let me know about the default theme after you've discussed it with Gaurav.

@gauravkrshah All corrections done, let me know when I can publish.


Strange jitter on player controller (First person)

https://github.com/idanarye/bevy-tnua/assets/15006020/d45f0801-e125-4126-98bf-a94bcbfa12e8
https://github.com/idanarye/bevy-tnua/assets/15006020/51bf09b7-0a9b-48fa-b8a1-35ff3de3eb14

Issue still exists in the rapier plugin but is far less pronounced.

https://github.com/idanarye/bevy-tnua/assets/15006020/c219bda8-7886-4076-a342-fe185a95c652


broken link to animated timeline in README.md

In https://github.com/mihaeu/dephpend#architecture-timeline section
PS. Awesome looking project, I followed @szepeviktor's footprints leading here.

Hi @leonstafford, thanks :hugs:
Oh darn, thanks for letting me know.

😲 https://web.archive.org/web/20190718133753if_/https://dephpend.com/dephpend-timeline.gif


Including requirements.txt

@anki-code does this template need requirements.txt ? we use PEP-621 meta data or poetry.
https://github.com/xonsh/xontrib-template/blob/5f8cd1ee9bc05a3cab7ed439725a5b8ae1d1e690/project-template/{{ project_repo_name }}/requirements.txt#L1

The actions needs to be updated like this https://github.com/xonsh/xontrib-distributed/blob/main/.github/workflows/test.yml#L12 .  The code in the template might be outdated.


[BLUETOOTH] Fixes for extracting missing information in the SDP.

Created a new one to get ride of all the other commits :-)


Refining Protected Routes.

Currently if someone access any route which requires login, it is showing a button "Go to login Page" which is not that good.
Here is a snapshot: -

See it is not looking food on this fashion website.
I want to re-code protected routes file , so that if anyone tries to access it will be redirected to login page automatically.
This will not only work well, but also enhances user experience.

Congratulations, @Mayur-666! 🎉 Thank you for creating your issue. Your contribution is greatly appreciated and we look forward to working with you to resolve the issue. Keep up the great work!We will promptly review your changes and offer feedback. Keep up the excellent work! Kindly remember to check our contributing guidelines

@pooranjoyb  Please look forward to it and assign me this issue.

@pooranjoyb  Please look forward to it and assign me this issue.

Hii @Mayur-666 #78 already exists!
Looking forward for more valuable contributions.
Happy coding. ✨

@pooranjoyb Actually, the #78  is to enhance the ui of that page, But i don't want that page,
As you have already implemented RTK, i want it to redirect to the login page automatically without any intermediate page.

Please reconsider it.

@Mahitej28 do lmk your thoughts on this.

Ig this is a more better option, in most of the formal websites users get redirected to the login page.

@Mahitej28 do lmk your thoughts on this.

@pooranjoyb  So what do you think ??

Yup lets do this then. @Mayur-666

yup go ahead with this. Raise the PR by EOD. @Mayur-666


Integrate autoprefixer into CSS compilation

Currently our SASS just gets compiled. We should have it also run through autoprefixer before being delivered. Not sure yet how to do that.

Now that we've done this for littleweaverweb.com, we should do it here using the same method.


Arc: Top Sites and Side Bar Tabs

Description
Hey there, I have been working a little bit on the Arc extension. I wanted to be able to quickly access all items in the side bar of Arc from anywhere through raycast. So I am trying to implement the side bar in raycast.
I am far from complete but I have ran into some problems so I figured I would make a draft pr and see if anyone else has some suggestions. Check out what I have so far. I have found the file StorageSidebar.json and this file contains the spaces, top tabs, pinned tabs, and also open tabs. However, this file does not update instantly. It takes about 5 - 10s for it to update. I am not sure if there is an SQL database that stores this information too, as there is one for user history.
Another problem is when you open a tab, it will happen through the Action.OpenInBrowser and this just makes a new tab with the same url. This is ok for tabs in user history of course but for the side bar, it would be ideal if you did not make a new tab but just went to that tab. Anyone have any ideas on how you could open a specific arc tab through raycast. Of course, tabs are not the only items that can be in the side bar. There can also be easels, notes, and split views that I am currently displaying in raycast but I havent implemented opening them.
Also, I found that an SQL database contained user top sites so I made a command top-sites, basically by copying what was in the see-history command.
Screencast
When you open the side-bar command, you can see your top tabs and all of your spaces:

You can even search for any tab or folder from here. You can also go into the spaces:

There are also nested folders. I have implemented the search such that you search all nested folders for tabs and folders.

top-sites command :

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[ ] I ran npm run build and tested this distribution build in Raycast
[ ] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

@thomaspaulmann let me know what you think and if you have any suggestions

Sorry got a bit delayed. This is super cool. I wasn’t aware of the JSON file. I’m currently looking into AppleScript to read tabs and spaces.  Maybe we can team up?

Maybe we can team up?

Yep for sure. I am terrible with applescript. How do you plan on using it to read the spaces and tabs?
Also do you know how to click menu bar items using applescript? I can sometimes get it to work but it takes a pretty long delay. If we could click menu bar items, we could also create Raycast commands for creating new easels and notes in Arc.

Hey I found out how to click menu bar items with applescript from stack overflow and I added a lot of useful commands. Let me know what you think about these commands. Some I am not sure anyone would use, like new folder.
I think using the StorableSidebar.json file for getting currently open tabs is fine since the delay that it takes to update won't really be noticed. I think you would only use the Raycast command when you have been active on another application for a while. In that time, the json file would have been updated.
The main thing now for the sidebar command is to somehow open the tabs (as well as easels, notes, and split views) directly rather creating new ones. Do you think there is a way to do this using applescript? I tried some things but they didnt work (again terrible at applescript lol)

I'm not aware of any APIs to interact with easels, notes, etc. but I agree that this would be nice to have. I'm just wrapping up my AppleScript integration. I do think it's better to rely on the official API instead of proprietary JSON files that might change. How about we merge our changes somehow? I really like the idea of searching a Space and then drill into it. I haven't implemented that yet, maybe you can integrate it on my branch then?

Here we go. I've just published my updates that are working on top of Arc's new AppleScript capabilities.

I do think it's better to rely on the official API instead of proprietary JSON files that might change.

I think there are a lot of advantages of using the JSON file and I think using it would probably be more stable than using applescript. We also know which tabs belong to which spaces and folders.
Also there is custom info for icons and colors. I have integrated colors and emoji icons but I am also planning to do these builtin icons somehow.

Not sure where these are stored in the assets for Arc. I couldn't find them but I was thinking I could just find similar looking icons.

Maybe worth reaching out to the Arc team if the JSON is reliable? Then we can use that as an additional source of truth to integrate deeper!


Odinson totalHits slows down queries when there are many matches

Is your feature request related to a problem? Please describe.
This issue is related to #35, which makes odinson unusable on large corpora with patterns that occur frequently. This feature will mitigate the problem partially and I think it's a good feature to have regardless of the issue.
Describe the solution you'd like
I would like to control the behavior of counting all match hits via a configuration flag to speed the queries up (by not  computing the totalHits).
Describe alternatives you've considered
Another approach is to have this as a parameter to the the request itself but it will not be consistent with how pageSize is defined. (also in the global configuration).
I think the distinction between what configuration is global and what should be controllable per query is a separate issue.
Additional context
I've submitted a PR for this: #34

closed by #34


🎉 2.0.0

ℹ About this release

Version: 2.0.0
Type: major
Last Release: 1.1.3 (5/14/2022, 6:32:20 PM) [?]
Commits to merge: 56 [?]

Build System

deps: Upgrade to execa 6.0 (8654327)
Native ESM support (7b86a4f)

⚡ BREAKING CHANGES

deps: Only Support for node.js ^12.20.0 || >=14.13.1
Only Support for node.js ^12.20.0 || >=14.13.1

📦 Dependencies

Update execa from ^5.1.1 to ^6.1.0

📦 Development Dependencies

Added c8 ^7.12.0
Added esm ^3.2.25
Update @amanda-mitchell/semantic-release-npm-multiple from ^3.2.0 to ^3.5.0
Update @qiwi/semantic-release-gh-pages-plugin from ^5.2.0 to ^5.2.3
Update @types/node from ^17.0.31 to ^18.0.3
Update @typescript-eslint/eslint-plugin from ^5.22.0 to ^5.30.5
Update @typescript-eslint/parser from ^5.22.0 to ^5.30.5
Update eslint from ^8.13.0 to ^8.19.0
Update eslint-plugin-jsonc from ^2.2.1 to ^2.3.1
Update ts-node from ^10.7.0 to ^10.8.2
Update typedoc from ^0.22.15 to ^0.23.5
Update typescript from ^4.6.4 to ^4.7.4
Removed nyc

:tada: This PR is included in version 2.0.0 :tada:
The release is available on:

v2.0.0
GitHub release
v2.0.0

Your semantic-release bot :package::rocket:


Make  BaseTestRawIO setup per class and not per test

Related to the discussion in #1550

Looks like maxwell testing relies directly on setUp? Do you want to dig into or you want me to?
FAILED neo/test/rawiotest/test_maxwellrawio.py::TestMaxwellRawIO::test_read_all - AttributeError: type object 'BaseTestRawIO' has no attribute 'setUp'

Fixed.

@nikhilchandra, want to test to see if this fixes your issues using the testing locally?

I want to add that I think this is a good improvement on its own for tests with multiple cases so the download is not attempted twice anyway.

I want to add that I think this is a good improvement on its own for tests with multiple cases so the download is not attempted twice anyway.

I agree. I was hoping for a magic speed-up. But it looks like we go from 7-8  min to 6-7 min. So a slight (although not statistically tested) in test speed.

1 minute is great : )

Will give it a shot, setting up a Linux box for testing.

@zm711 will give it a shot in a bit, thanks!


Failed to submit successfully

+1
same problem

Logging in with cookies can solve this problem

Logging in with a cookie solves the problem

+1 same problem

Logging in with a cookie solves the problem

should I log out and log in again?

should I log out and log in again?

should I log out and log in again?

should I log out and log in again?

should I log out and log in again?

yep


[TF 2.0 API Docs] tf.autograph.to_code

URL(s) with the issue:
https://www.tensorflow.org/versions/r2.0/api_docs/python/tf/autograph/to_code
Description of issue (what needs changing):
Clear description
Initial description could be clearer, instead of referring to another function as similar (to_graph), restate primary use case:

From: “Similar to to_graph, but returns Python source code as a string.”
To: “to_code is a low-level API that returns the AutoGraph generated Python source code as a string. This is similar to to_graph, which returns the TensorFlow graph, instead of Python.”

Usage example
No usage example in docs, only references to guides/example, would suggest uplifting an example from a guide to the docs for completeness (ref https://www.tensorflow.org/alpha/guide/autograph)
Submit a pull request?
Yes

@ghchinoy I notice you raise a PR to resolve this issue. Unfortunately that was not against master so the PR was closed. Can you submit that PR against master. Thanks!

@ghchinoy Can you submit this PR against master? You can copy and paste the closed PR and open it against master that will be helpful to the community. Thanks!

Closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!


How to use my own pictures for 3D reconstruction

  I want to use my photos to generate a 3D portrait model. I learned that in addition to photos, I also need several other files to input.
  I have used the method here [https://github.com/sicxu/Deep3dPortrait/issues/9](url) to generate landmark.txt file.But I don't know how to generate the detection.txt files and the .mat file.
 I am a novice. I hope you can give me as detailed steps as possible to answer my doubts. Thank you very much for your help.

Have you found a way to create detection.txt file? @jly0810
If so please mention the method.

Hi, I have the same question! Have you find the way to generate them (.mat, landmark.txt)?

@sicxu Hi, Dr. Xu, this is a great work. I followed #25 and LeoGitGuy's suggestion, but the depth map has problem.
_/home/neural_image/anaconda3/envs/deep3dportrait/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:523: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint8 = np.dtype([("qint8", np.int8, 1)])
/home/neural_image/anaconda3/envs/deep3dportrait/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:524: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint8 = np.dtype([("quint8", np.uint8, 1)])
/home/neural_image/anaconda3/envs/deep3dportrait/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:525: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint16 = np.dtype([("qint16", np.int16, 1)])
/home/neural_image/anaconda3/envs/deep3dportrait/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:526: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint16 = np.dtype([("quint16", np.uint16, 1)])
/home/neural_image/anaconda3/envs/deep3dportrait/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:527: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint32 = np.dtype([("qint32", np.int32, 1)])
/home/neural_image/anaconda3/envs/deep3dportrait/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:532: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
np_resource = np.dtype([("resource", np.ubyte, 1)])
2023-01-17 15:58:45.080462: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 AVX512F FMA
WARNING:tensorflow:From /home/neural_image/Deep3dPortrait/utils/render/camera_utils.py:85: calling norm (from tensorflow.python.ops.linalg_ops) with keep_dims is deprecated and will be removed in a future version.
Instructions for updating:
keep_dims is deprecated, use keepdims instead
ERROR:tensorflow:==================================
Object was never used (type <class 'tensorflow.python.framework.ops.Operation'>):
<tf.Operation 'assert_greater/Assert/AssertGuard/Merge' type=Merge>
If you want to mark it as used call its "mark_used()" method.
It was originally created here:
File "step1_recon_3d_face.py", line 126, in
face_recon(input_path, save_path, vis_path)  File "step1_recon_3d_face.py", line 41, in face_recon
input_vertex, input_tri, output_depthmap = create_renderer_graph()  File "/home/neural_image/Deep3dPortrait/utils/create_renderer.py", line 29, in create_renderer_graph
fov_y=fov_y, far_clip=30.0, ambient_color=tf.ones([1, 3]), delta_center=delta_center)  File "/home/neural_image/Deep3dPortrait/utils/render/mesh_renderer.py", line 382, in mesh_renderer
camera_up)  File "/home/neural_image/Deep3dPortrait/utils/render/camera_utils.py", line 89, in look_at
message='Camera matrix is degenerate because eye and center are close.')  File "/home/neural_image/anaconda3/envs/deep3dportrait/lib/python3.6/site-packages/tensorflow/python/ops/check_ops.py", line 666, in assert_greater
return control_flow_ops.Assert(condition, data, summarize=summarize)  File "/home/neural_image/anaconda3/envs/deep3dportrait/lib/python3.6/site-packages/tensorflow/python/util/tf_should_use.py", line 189, in wrapped
return _add_should_use_warning(fn(*args, **kwargs))
ERROR:tensorflow:==================================
Object was never used (type <class 'tensorflow.python.framework.ops.Operation'>):
<tf.Operation 'assert_greater_1/Assert/AssertGuard/Merge' type=Merge>
If you want to mark it as used call its "mark_used()" method.
It was originally created here:
File "step1_recon_3d_face.py", line 126, in
face_recon(input_path, save_path, vis_path)  File "step1_recon_3d_face.py", line 41, in face_recon
input_vertex, input_tri, output_depthmap = create_renderer_graph()  File "/home/neural_image/Deep3dPortrait/utils/create_renderer.py", line 29, in create_renderer_graph
fov_y=fov_y, far_clip=30.0, ambient_color=tf.ones([1, 3]), delta_center=delta_center)  File "/home/neural_image/Deep3dPortrait/utils/render/mesh_renderer.py", line 382, in mesh_renderer
camera_up)  File "/home/neural_image/Deep3dPortrait/utils/render/camera_utils.py", line 97, in look_at
message='Camera matrix is degenerate because up and gaze are close or'  File "/home/neural_image/anaconda3/envs/deep3dportrait/lib/python3.6/site-packages/tensorflow/python/ops/check_ops.py", line 666, in assert_greater
return control_flow_ops.Assert(condition, data, summarize=summarize)  File "/home/neural_image/anaconda3/envs/deep3dportrait/lib/python3.6/site-packages/tensorflow/python/util/tf_should_use.py", line 189, in wrapped
return _add_should_use_warning(fn(*args, **kwargs))
WARNING:tensorflow:From /home/neural_image/Deep3dPortrait/utils/render/mesh_renderer.py:396: calling l2_normalize (from tensorflow.python.ops.nn_impl) with dim is deprecated and will be removed in a future version.
Instructions for updating:
dim is deprecated, use axis instead
0 1
/home/neural_image/Deep3dPortrait/utils/preprocess.py:27: FutureWarning: rcond parameter will change to the default of machine precision times max(M, N) where M and N are the input matrix dimensions.
To use the future default and silence this warning we advise to pass rcond=None, to keep using the old, explicitly pass rcond=-1.
k, , , _ = np.linalg.lstsq(A, b)
(239, 239, 3)
(159, 159, 3)
(79, 79)
Traceback (most recent call last):
File "step1_recon_3d_face.py", line 126, in
face_recon(input_path, save_path, vis_path)
File "step1_recon_3d_face.py", line 74, in face_recon
crop_img, crop_mask, inv_params, crop_lm, crop_param = headrecon_preprocess_withmask(img, mask, landmarks_2d, center2d.reshape([2]), s*s_factor/100)
File "/home/neural_image/Deep3dPortrait/utils/preprocess.py", line 171, in headrecon_preprocess_withmask
mask, lm.copy(), head_center.reshape([2]), scale, crp_w, crp_h, interpolation=cv2.INTER_NEAREST)
File "/home/neural_image/Deep3dPortrait/utils/preprocess.py", line 69, in align_img
cropped_img, _ = crop(img, bbox)
File "/home/neural_image/Deep3dPortrait/utils/preprocess.py", line 53, in crop
padded_img, padded_bbox = img_padding(img, bbox)
File "/home/neural_image/Deep3dPortrait/utils/preprocess.py", line 49, in img_padding
assert(bbox[0] >= 0 and bbox[1] >= 0)
AssertionError
Can you give me some advice? Thank you very much!
Best,
Mike

Hi, I have the same question! Have you find the way to generate them (.mat, landmark.txt)?

Have you found the method to generate landmark.txt, detection.txt, and .mat?

Just follow https://github.com/sicxu/Deep3dPortrait/issues/25 and other issues in this repo, you can generate these files.

Just follow #25 and other issues in this repo, you can generate these files.

Thank you very much for your answer! I have obtained the coordinates of 68 key points, but when I obtained the initial .mat file, I found that "https://arxiv.org/pdf/1906.01342.pdf" was inaccessible. Do you have any ideas?


Adds Inf and NaN as Numbers to Histogram in Promql Testing Framework

Currently Promql Testing Framework doesn't support Inf and NaN as numbers in histogram description such as sum and count. Descriptions like- sum: NaN and count: Inf results in error and this PR fixes this issue.

Thanks @beorn7 for merging it and I'll follow general english syntax from now on.


Update "Get started with WebView2 in Win32 apps"

Added note with link to repo at beginning of file. Per https://github.com/MicrosoftDocs/edge-developer/issues/1341

Docs Build status updates of commit 665b0b5:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/webview2/get-started/win32.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 5bb548a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/webview2/get-started/win32.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@vchapel - as mentioned in our sync yesterday, please add sample code for the win32 getting started guide here: https://github.com/MicrosoftEdge/WebView2Samples/tree/master/SampleApps, please let me know if you need any help w this

@vchapel @jasonstephen15 - I'm taking a look at the merge conflicts, could be from another PR that removed trailing spaces from every line.

Docs Build status updates of commit edc8dfb:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/webview2/get-started/win32.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 0375f20:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/webview2/get-started/win32.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Add ibis-vega-transform

This PR adds a post-install step that:

installs ibis-vega-transform, and
installs jupyterlab extensions ibis-vega-transform and @pyviz/jupyterlab_pyviz

This PR is ready for the review. Thanks! :)


refactor(loader): format plugin config in factory && support inline package

resolve #228
主要改动：

移除 PluginConfigLoader，统一由 ConfigLoader 处理
移除扫描器最终对 plugin-config 的无意义过滤逻辑，manifest 中将继续包括 plugin 相关配置
ConfigLoader 针对 plugin 使用新增的 PluginFactory.formatPluginConfig 进行 package 和 path 的解析/格式化
path 字段支持内连 npm 包获取入口
单测调整

注：Framework 因为机制有待讨论，暂未修改 cc @JerrysShan

Codecov Report
Base: 92.66% // Head: 92.76% // Increases project coverage by +0.09% :tada:

Coverage data is based on head (980ba67) compared to base (cf47a5b).
Patch coverage: 97.29% of modified lines in pull request are covered.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #229      +/-   ##
==========================================
+ Coverage   92.66%   92.76%   +0.09%
==========================================
  Files          55       54       -1
  Lines        1296     1299       +3
  Branches      218      225       +7
==========================================
+ Hits         1201     1205       +4
+ Misses         95       94       -1

Impacted Files
Coverage Δ

src/constant.ts
100.00% <ø> (ø)

src/loader/impl/index.ts
100.00% <ø> (ø)

src/scanner/scan.ts
95.27% <ø> (-0.68%)
:arrow_down:

src/plugin/common.ts
97.61% <92.85%> (-2.39%)
:arrow_down:

src/loader/impl/config.ts
90.24% <100.00%> (+0.50%)
:arrow_up:

src/plugin/factory.ts
100.00% <100.00%> (+8.33%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Cannot create empty array in example

Problem statement
When creating an example with an empty array, the array becomes null in the result.
Swagger specification
I am not familiar with the exact Swagger specification for empty arrays in examples, as it is not explicitly given.
Steps to reproduce
Add an example with an empty array to a definition:
example:
  list: []

The expectation is that the example would be {"list": []}.  Instead it is {"list": null}.
Environment
swagger version: 0.27.0 (also tried 0.30.4)
go version: 1.19.2
OS:  Debian Linux 5.10.0-18-amd64

@svip please can you share the swagger spec.


Explore ways to filter spans

@rdruss I don't know if make $ense to take a look on this in the next months :+1:


nile invoke on goerli fails because of the fee

using nile invoke alias returns
"tx_failure_reason": {
        "code": "FEE_TRANSFER_FAILURE",

but using starknet invoke ... --max_fee 0 works well
what am i doing wrong?
where can I change the fact that nile is using 0.000003 ETH as max_fee by default?

This seems to be a side effect of Cairo 0.8.1 being released on goerli. Should we add confirm that the param fixes it and have a default value + new flag exposed to users? @fracek @andrew-fleming
I guess in the long run, invoke might die in favor of direct account usage, but there might be some edge cases where it's still useful.

I unfortunately cannot replicate the FEE_TRANSFER_ERROR. Has anyone else had any luck?
@LoeizD can you confirm that all packages are up to date? It might even be worth using a fresh venv with newly installed packages. Otherwise, would you mind providing some more details if the error is persisting?
@martriay if we can confirm that the param fixes the issue, then yes, definitely!

This will be fixed by https://github.com/OpenZeppelin/nile/pull/131


xunit generating invalid Junit xml

I'm using Jenkins CI and the xUnit plugin to run my casperjs tests. After upgrading to phantomjs 2.1.1 / casperjs 1.1.0-beta5 I keep geting [xUnit] [ERROR] - The result file '/var/lib/jenkins/workspace/PortalDev/log.xml' for the metric 'JUnit' is not valid. The result file has been skipped. which is complaining about the xunit.
Environment: Ubuntu 14.04.4 LTS
I downgraded back to phantomjs 1.9.7 / casperjs 1.1.0-beta3 and the issue disappears. So something with either the latest casperjs or phantomjs is causing the problem. I'm not sure what is in charge of generating the xunit...
I've ran the casperjs self tests and they pass fine.
Here's the generated XML by both versions:
phantomjs 2.1.1 / casperjs 1.1.0-beta5 :x: causes xUnit Error
<?xml version="1.0" encoding="UTF-8"?>
<testsuites xmlns="http://www.w3.org/1999/xhtml" time="11.977">
   <testsuite name="Sign In Page" tests="5" failures="0" errors="0" time="11.977" timestamp="2016-02-29T22:15:41.345Z" package="tests/suite/sign_in">
      <testcase name="Accept login with valid credentials" classname="tests/suite/sign_in" time="3.037" />
      <testcase name="Reject login with invalid credentials" classname="tests/suite/sign_in" time="3.544" />
      <testcase name="Sign Up page is reachable by top bar button" classname="tests/suite/sign_in" time="1.834" />
      <testcase name="Sign Up page is reachable by link at bottom of login forms" classname="tests/suite/sign_in" time="1.777" />
      <testcase name="Forgot Password page is reachable" classname="tests/suite/sign_in" time="1.785" />
      <system-out />
   </testsuite>
</testsuites>

phantomjs 1.9.7 / casperjs 1.1.0-beta3 :white_check_mark: gives no problem!
<?xml version="1.0" encoding="UTF-8"?>
<testsuites time="16.811">
   <testsuite name="Sign In Page" tests="5" failures="0" errors="0" time="16.811" timestamp="2016-02-29T22:36:36.550Z" package="tests/suite/sign_in">
      <testcase name="Accept login with valid credentials" classname="tests/suite/sign_in" time="4.497" />
      <testcase name="Reject login with invalid credentials" classname="tests/suite/sign_in" time="4.349" />
      <testcase name="Sign Up page is reachable by top bar button" classname="tests/suite/sign_in" time="2.623" />
      <testcase name="Sign Up page is reachable by link at bottom of login forms" classname="tests/suite/sign_in" time="2.683" />
      <testcase name="Forgot Password page is reachable" classname="tests/suite/sign_in" time="2.659" />
      <system-out />
   </testsuite>
</testsuites>

The only difference I notice is the xmlns="http://www.w3.org/1999/xhtml" in line 2.

@gboissinot do you happen to have an idea?

As there is no update in xml generation between 1.0.3 and 1.0.5, it's probably an issue that comes from phantomJS.
"Patch" idea: check for xmlns attribute, if any, remove it.

ping @amerikan any chance you can verify that it works again for you with current master? Thank you.

@istr is there an easy to install from master using npm? I usually use npm to install casperjs.

Something like this in your package.json for master / default branch
  "dependencies": {
    "casperjs": "git+https://github.com/n1k0/casperjs.git"
  }

and for a branch named arbitrary-branch
  "dependencies": {
    "casperjs": "git+https://github.com/n1k0/casperjs.git#arbitrary-branch"
  }

@istr I've updated to 1.1.0 and this is the error that is showing up now (different from the one I originally reported):
[xUnit] [ERROR] - Validation error on input
ERROR: Step ‘Publish xUnit test result report’ aborted due to exception:
hudson.util.IOException2: There are some problems during the conversion into JUnit reports:
	at org.jenkinsci.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:183)
	at org.jenkinsci.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:44)
	at hudson.FilePath.act(FilePath.java:990)
	at hudson.FilePath.act(FilePath.java:968)
	at org.jenkinsci.plugins.xunit.XUnitProcessor.performTests(XUnitProcessor.java:145)
	at org.jenkinsci.plugins.xunit.XUnitProcessor.performXUnit(XUnitProcessor.java:88)
	at org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:142)
	at org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:134)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723)
	at hudson.model.Build$BuildExecution.post2(Build.java:185)
	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:668)
	at hudson.model.Run.execute(Run.java:1763)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:98)
	at hudson.model.Executor.run(Executor.java:410)
Caused by: org.jenkinsci.plugins.xunit.exception.XUnitException: Validation error on input
	at org.jenkinsci.plugins.xunit.service.XUnitValidationService.validateInputFile(XUnitValidationService.java:77)
	at org.jenkinsci.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:132)
	... 16 more
Caused by: org.jenkinsci.lib.dtkit.util.validator.ValidationException: Validation error
	at org.jenkinsci.lib.dtkit.util.validator.ValidationService.processValidation(ValidationService.java:136)
	at org.jenkinsci.lib.dtkit.model.AbstractOutputMetric.validate(AbstractOutputMetric.java:62)
	at org.jenkinsci.plugins.xunit.types.JUnitInputMetric.validateInputFile(JUnitInputMetric.java:65)
	at org.jenkinsci.plugins.xunit.service.XUnitValidationService.validateInputFile(XUnitValidationService.java:66)
	... 17 more
Caused by: java.io.FileNotFoundException: /var/lib/jenkins/workspace/PortalDev/testsuites (No such file or directory)
	at java.io.FileInputStream.open0(Native Method)
	at java.io.FileInputStream.open(FileInputStream.java:195)
	at java.io.FileInputStream.<init>(FileInputStream.java:138)
	at java.io.FileInputStream.<init>(FileInputStream.java:93)
	at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)
	at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)
	at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:623)
	at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:1305)
	at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:1271)
	at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImpl.java:263)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.dispatch(XMLDocumentScannerImpl.java:1167)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDriver.next(XMLDocumentScannerImpl.java:1050)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:964)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)
	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:118)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
	at com.sun.org.apache.xerces.internal.jaxp.validation.StreamValidatorHelper.validate(StreamValidatorHelper.java:155)
	at com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorImpl.validate(ValidatorImpl.java:116)
	at javax.xml.validation.Validator.validate(Validator.java:124)
	at org.jenkinsci.lib.dtkit.util.validator.ValidationService.processValidation(ValidationService.java:124)
	... 20 more

Caused by: java.io.FileNotFoundException: /var/lib/jenkins/workspace/PortalDev/testsuites (No such file or directory)
Looks like it can't find the file.  Are you sure Jenkins is looking in the right spot?

Yeah, I see that, but why does this error not show up in 1.1.0-beta4? I ran the test twice with 1.1.0 release and got the exceptions I pasted up above. I reverted back to 1.1.0-beta4 and the error disappears. Did some path change somewhere?

@amerikan Ok, thanks for reporting that back. Could you re-check with 1.1-beta5? That would help us to narrow down the git bisect needed to see what could be the root cause of the change. Thank you.

Installed 1.1-beta5 and ran it, I get which is the original issue I reported:
[xUnit] [ERROR] - The result file '/var/lib/jenkins/workspace/PortalDev/log.xml' for the metric 'JUnit' is not valid. The result file has been skipped.

@amerikan Ok, thank you. So it seems we have

a regression 1.1-beta4 -> 1.1-beta5 (xml namespace)
a regression 1.1-beta4 -> 1.1.0 (path)

We will try to bi-sect this. It could be helpful if you would elaborate a bit on the context, i.e. how does the java -> CasperJS call actually happen? (environment, code snippet, anything helps).

Could it be a phantom 2.1.1 issue?

Could it be a phantom 2.1.1 issue?

Probably not, because CasperJS as of 1.1-beta4 does not install a specific PhantomJS version. It uses what you have installed in your environment.

@amerikan It is worth investigating if it is a phantomjs issue.
In the event it isn't I can test 1.1.0 with my Jenkins server at home.  What plugin/version are you using to show the test results?

I tested different versions, here's a matrix of results:
| phantom 1.9.8 | phantom 2.1.1
------------ | ------------- |  -------------
casper beta3 | :white_check_mark: | :heavy_multiplication_x: Incompatible version
casper beta4 | :white_check_mark: | :x: invalid junit
casper beta5 | :white_check_mark: | :x: invalid junit
casper 1.1.0 | :x: path exception | :x: path exception

@amerikan Wow, thanks a lot. That helps to address this. I will dig into the path problem first.

@istr glad that helps!
@BIGjuevos I'm using this plugin on jenkins https://wiki.jenkins-ci.org/display/JENKINS/xUnit+Plugin

These two are susceptible to be the cause for the broken path:
https://github.com/n1k0/casperjs/issues/1479, https://github.com/n1k0/casperjs/pull/1483.
We still do not know, though, how you call CasperJS from Jenkins and what's your specific environment.
The difference in the search path for the output is obviously
/var/lib/jenkins/workspace/PortalDev/testsuites (1.1.0)
vs
/var/lib/jenkins/workspace/PortalDev/log.xml (up to beta5).

@istr The original issue (xml problem) has been resolved. I'll close this and open a new one for the new problem, I'll reference this issue there.

The original issue (xml problem) has been resolved.

Really? According to your matrix it still fails for PhantomJS 2.1.1? Or am wrong?
As far as I can see we have two issues now:

xunit output broken in PhantomJS 2.1.1
path broken in CasperJS 1.1.0

@istr casperjs 1.1.0 with either phantomjs 1.9.8 or 2.1.1 gives the path exception error.

We still do not know, though, how you call CasperJS from Jenkins and what's your specific environment.

Like this:
casperjs test tests/suite/ --includes=tests/routines.js --rooturl=http://example.org:80 --timeout=60 --ignore-ssl-errors=yes --xunit=log.xml

This issue was for the invalid XML which was solved?  Can we close this issue back out not that we have the other one open now?


Stack Overflow occurs with recursive structures in OpenAPI Spec

Describe the bug
thread 'main' has overflowed its stack
fatal runtime error: stack overflow
[1]    13195 abort      ./wuppiefuzz output-corpus --openapi-spec openapi_recursive.json

When trying to generate the initial corpus for openapi with recursion in request body
Versions:

OS: MacOS
rustc: rustc 1.82.0 (f6e511eec 2024-10-15)
Wuppiefuzz: v1.1.0 (2024-09-17)

To Reproduce
Given an OpenAPI specification with recursion in the request body:
{
  "openapi": "3.0.0",
  "info": {
    "title": "Recursive API Example",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "http://localhost:80"
    }
  ],
  "paths": {
    "/categories": {
      "post": {
        "summary": "Create a category with subcategories",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Category"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Category created successfully"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Category": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "example": 1
          },
          "name": {
            "type": "string",
            "example": "Electronics"
          },
          "subcategories": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Category"
            }
          }
        }
      }
    }
  }
}

To reproduce the error, run:
./wuppiefuzz output-corpus --openapi-spec openapi_recursive.json corpus_directory

Expected behavior
Proper handling of recursion in request bodies or guidance on how to manage recursive structures in the corpus generation process.

Thanks! This is indeed a bug / design problem - it did not occur to us that people would express 'infinite nesting' of schemas, and thus eagerly generate example array items for the corpus.
Since this is probably not a very quickly-fixable thing, my guidance for now would be to express the depth limit as part of the API specification (assuming arbitrarily deep subsubsub(...)subcategories are not a use case you actually use). So you could define schemas for Subcategory and Subsubcategory, where the latter does not have the 'subcategories' field, and it would work.

Yea, i already did that. The problem is that I encountered it on a project with 12k lines :) I think until this is fixed it is worth writing about it at least in the documentation.


Opening a file causes subsequent completion failures

// @filename: classes.ts
import { Component } from "./utils.js";

export class MyComponent extends Component {
    render/**/
}

// @filename: utils.ts
export class Element {
    // ...
}

export abstract class Component {
    abstract render(): Element;
}

// @filename: tsconfig.json
{
    "compilerOptions": {
        "target": "es2022",
        "module": "nodenext",
        "strict": true,
        "outDir": "../out",
        "moduleDetection": "force"
    }
}

Request completions with auto-imports and class member completions at /**/
Open up utils.ts so that it is not just in the program, but is also an open file.
Erase a single character at the marker.
Request completions.

Response received: completionInfo (32). Request took 54 ms. Success: false . Message: Error processing request. Debug Failure.
Error: Debug Failure.
    at Object.addImportFromExportedSymbol (tsserver.js:141295:13)
    at tsserver.js:147019:38
    at Array.forEach (<anonymous>)
    at importSymbols (tsserver.js:147019:11)
    at createSignatureDeclarationFromSignature (tsserver.js:146653:9)
    at outputMethod (tsserver.js:146541:20)
    at Object.addNewNodeForMemberSymbol (tsserver.js:146523:9)
    at getEntryForMemberCompletion (tsserver.js:148878:22)
    at createCompletionEntry (tsserver.js:148775:64)
    at getCompletionEntriesFromSymbols (tsserver.js:149316:19)
    at completionInfoFromData (tsserver.js:148442:23)
    at Object.getCompletionsAtPosition (tsserver.js:148264:24)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (tsserver.js:135381:35)
    at IpcIOSession.getCompletions (tsserver.js:178887:54)
    at completionInfo (tsserver.js:177298:43)
    at tsserver.js:179651:69
    at IpcIOSession.executeWithRequestId (tsserver.js:179643:14)
    at IpcIOSession.executeCommand (tsserver.js:179651:29)
    at IpcIOSession.onMessage (tsserver.js:179693:51)
    at process.<anonymous> (tsserver.js:181261:14)
    at process.emit (node:events:526:28)
    at emit (node:internal/child_process:938:14)

I followed these steps exactly, and can’t reproduce.

Let me work on a better repro.

I'm able to consistently repro this - even at the root of my file system. The key to the repro is that utils.ts has to start out as a closed file, but then is opened. Maybe it's an OS specific thing?

Do you have a package.json?

I've tried it with and without package.jsons, and I just tried it in a Codespace and was able to repro it.

On 5.0.0-dev.20230215?

Yup!
classMemberCompletionCrash.webm

Writing up the results of my investigation since I have some vacation coming up. It’s possible that @sheetalkamat will be able to fix this while I’m out.
I initially thought this might be a regression from #52686, but I was wrong. I verified this crashes before that PR. Here’s what’s happening:

When you load the project, we parse and bind all the files in the project. We also set up a sort of backing store for the contents of each file. Closed files get a simple, memory-efficient backing store, while open files get a more complex backing store that optimizes edits and queries on the file text.
When you trigger completions in classes.ts, we build and cache an ExportInfoMap which contains, among other things, non-transient symbols of modules and exports other than classes.ts. There are a few things that can invalidate this cache, but the big picture is that it’s built specifically to serve the file you’re currently editing. If you were to make an edit to another file, we would wipe the cache, in part because that file’s symbol would change, leaving the old one stale and retained in the cache. So the underlying assumption is that (non-transient) symbols don’t change identities when none of their declarations are changing.
When you open utils.ts, the backing store for that file changes from the simple one to the edit-optimizing one.
When you come back to classes.ts and edit its text, an edit is made in its backing store, incrementing its version and marking the project as dirty. A throttled amount of time later, or when you next request completions (whichever comes first), we update the program. We go through and see which files need to be updated by checking whether the version on the existing source file matches the version on the backing store. Obviously, classes.ts is out of date because you just made an edit. The twist is that utils.ts also appears out of date, because the version strings used by the two different kinds of backing store are different. Any time we swap backing stores for a file (which happens when files are opened and closed), next time the program is updated, those files will appear to be out of date even if their text contents didn’t change.
Any files that appeared to be out of date get reparsed and rebound. For utils.ts, this is unnecessary work. But it also means that the file has a new symbol, making the one in the ExportInfoMap an incorrect identity (and also a minor memory leak).
When you request completions again, we use the ExportInfoMap, and as part of the filtering, we look for equality between the cached module symbol and the one attached to the up-to-date source file we need to resolve a module specifier to. But since the identity of the source file’s symbol changed, this filter unexpectedly comes up empty.

I talked to @sheetalkamat about this, and she said

I guess we would need to simplify the versioning logic in server (which I have always wanted to do since its from so long ago patched to work in most scenarios)

I have a failing test at https://github.com/microsoft/TypeScript/commit/6396ba439bb64a7b7f61b96379ee004598251be2 that I think should start passing—or at least stop crashing—if the extra parse and bind stop happening.
I investigated whether the cache invalidation for the ExportInfoMap could take the source file’s version into account, but there’s not really a good place to slot that in right now. Since this is not a regression, I think we should pursue the versioning fix that would have the added benefit of skipping some unnecessary parsing and binding.

For utils.ts, this is unnecessary work. But it also means that the file has a new symbol, making the one in the ExportInfoMap an incorrect identity (and also a minor memory leak).

I wonder if this is possibly why there's a few crawler sessions that seem to suddenly crash.


Updated gradle, changed sample app

Gradle update
Android Studio 3.0 Compaitible
Changed Sample App.

@muditpant13 : You may want to fix the CI/CD scripts as well.

@manjunathc23 Already fixed the scripts. Working fine now.. Please review..

This was rebased and merged into master. @muditpant13 : time to bump version numbers?

Thank you @muditpant13


Cannot set Prettier as python formatter or convert tab to spaces.

I mostly use python and given python's strict rules for indentation, I prefer spaces to tabs. However, it seems Acode App doesn't have support to convert tabs to spaces.
Secondly, although the Prettier plugin lists python as one of the supported languages, there is no way to set it as preferred python formatter. Instead, it is allowed to set it as formatter for django but django is not a language but a python module.

I'll update thi prettier plugin to support prettier.config.js or other prettier configuration files.


Missing dependencie in update

Expected behavior:
update should run without issues
Actual behavior:
error raised on update from version :
V3.0.4-beta 23.2
to version :
V3.0.4-beta 25.2.
Reproduce steps:
klik on update in the backend.
Version:
(TastyIgniter version number)
V3.0.4-beta 23.2
Additional Information:
missing dependency ->  Class 'Jenssegers\Date\DateServiceProvider' not found".
if you manually add composer require jenssegers/date the installation works again on the old version.
however it won't update to 25.2

Duplicate #597


"free" function is absent though "malloc" exists

Hi. I have a function in WebAssembly which gets an image matrix as a parameter. The image format is "unsigned char*" pointer. To pass it I allocate the memory with "dataPtr = instance.exports.malloc(dataLen)" call, fill the data under this pointer with an image and use "dataPtr" as a parameter to my function. In C++ world I usually need to free memory afterwards. I don't have such function here. And after some number of runs I finally get a memory out-of-bounds access, and I need to restart python. Is there any way to free the memory in WebAssembly from python?
Below is the code to reproduce the problem:
image_list = bytearray(image.flatten().tolist())            # convert numpy matrix to byte array
dataLen = len(image_list)                                   # amount of memory we need for image
dataPtr = instance.exports.malloc(dataLen)                  # allocate memory with malloc
uint8_view = instance.memory.uint8_view(offset = dataPtr)   # get "uint8_view" for pointer
uint8_view[:dataLen] = image_list[:]                        # fill data under pointer with bytes

instance.exports.setImage(dataPtr, imageWidth, imageHeight) # call WebAssembly function
# instance.exports.free(dataPtr)                            # absent function to free memory after call

This code works normally except of the aforementioned memory leak which leads to runtime error after some runs:
<ipython-input-49-35a9fe36b2bc> in func(image)
      2     image_list = bytearray(image.flatten().tolist())
      3     dataLen = len(image_list)
----> 4     dataPtr = instance.exports.malloc(dataLen)
      5     uint8_view = instance.memory.uint8_view(offset = dataPtr)
      6     uint8_view[:dataLen] = image_list[:]

RuntimeError: Call error: Error when calling invoke: A `memory out-of-bounds access` trap was thrown at code offset 76788

I didn't find anything about memory freeing in the documentation (including "malloc" function, which is not documented feature).
Thank you for your help

Hello,
The same way you export a malloc and a setImage functions, you should also export a free function. Check the greet example (the greet.rs file and the greet.py file).

The thing here is that I don't explicitly import "malloc", but it's presented. My compilation commands looks like this:
emcc -O2 src/MaxflowGraph.cpp src/QuickSelection.cpp -o core.wasm -s EXPORTED_FUNCTIONS='["_setImage", "_getMask", "_updateStroke"]' -s EXTRA_EXPORTED_RUNTIME_METHODS='["cwrap"]' -s TOTAL_MEMORY=268435456
So, no "malloc" in "EXPORTED_FUNCTIONS". And when you use wasm from JS both "malloc" and "free" functions are presented.
The easy solution is just to make wrapper for "free" function and call it inside, but it looks like both have to be supported by default.

Personally, I would open an issue on emscripten to understand why free isn't exported by default. If malloc is, it is correct to assume free should be exported too.

Closing as it's not related to this package itself.
Please feel free to raise your voice if you need further help, or if you believe this project is responsible of addressing this issue.
Thanks!