Segmentation fault when Fine-tuning an ONNX model with MXNet/Gluon

Description
I got an segmentation when following the tutorial of MXNet doc Fine-tuning an ONNX model with MXNet/Gluon(http://mxnet.incubator.apache.org/versions/1.2.0/tutorials/onnx/fine_tuning_gluon.html). The segmentation fault occurred when doing Training loop, though get an output with decent Accuracy of 0.7812, the kernel died and couldn't continue next steps. I run the code on my own Mac with Jupyter Notebook.
Environment info (Required)
----------Python Info----------
Version      : 3.6.5
Compiler     : GCC 4.2.1 (Apple Inc. build 5666) (dot 3)
Build        : ('v3.6.5:f59c0932b4', 'Mar 28 2018 03:03:55')
Arch         : ('64bit', '')
------------Pip Info-----------
Version      : 10.0.1
Directory    : /anaconda3/lib/python3.6/site-packages/pip
----------MXNet Info-----------
/anaconda3/lib/python3.6/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
  from ._conv import register_converters as _register_converters
Version      : 1.2.0
Directory    : /anaconda3/lib/python3.6/site-packages/mxnet
Commit Hash   : 297c64fd2ee404612aa3ecc880b940fb2538039c
----------System Info----------
Platform     : Darwin-17.6.0-x86_64-i386-64bit
system       : Darwin
node         : ***deMacBook-Pro.local
release      : 17.6.0
version      : Darwin Kernel Version 17.6.0: Tue May  8 15:22:16 PDT 2018; root:xnu-4570.61.1~1/RELEASE_X86_64
----------Hardware Info----------
machine      : x86_64
processor    : i386
b'machdep.cpu.brand_string: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz'
b'machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM PBE SSE3 PCLMULQDQ DTES64 MON DSCPL VMX EST TM2 SSSE3 FMA CX16 TPR PDCM SSE4.1 SSE4.2 x2APIC MOVBE POPCNT AES PCID XSAVE OSXSAVE SEGLIM64 TSCTMR AVX1.0 RDRAND F16C'
b'machdep.cpu.leaf7_features: SMEP ERMS RDWRFSGS TSC_THREAD_OFFSET BMI1 AVX2 BMI2 INVPCID SMAP RDSEED ADX IPT SGX FPU_CSDS MPX CLFSOPT'
b'machdep.cpu.extfeatures: SYSCALL XD 1GBPAGE EM64T LAHF LZCNT PREFETCHW RDTSCP TSCI'

Build info (Required if built from source)
iPython 6.4.0
Jupyter Notebook 5.5.0, python 3 kernel.
Error Message:
Segmentation fault: 11

Stack trace returned 10 entries:
[bt] (0) 0   libmxnet.so                         0x0000000107a96684 libmxnet.so + 26244
[bt] (1) 1   libmxnet.so                         0x0000000109060886 MXTVMBridge + 3527126
[bt] (2) 2   libsystem_platform.dylib            0x00007fff641fff5a _sigtramp + 26
[bt] (3) 3   ???                                 0x00007000078df0e0 0x0 +<PHONE_NUMBER>53664
[bt] (4) 4   libmxnet.so                         0x0000000107aa1577 libmxnet.so + 71031
[bt] (5) 5   libmxnet.so                         0x0000000107aa1321 libmxnet.so + 70433
[bt] (6) 6   libmxnet.so                         0x0000000108cb032e MXNDListFree + 1309662
[bt] (7) 7   libmxnet.so                         0x0000000107a98709 libmxnet.so + 34569
[bt] (8) 8   libmxnet.so                         0x0000000107aa70e5 libmxnet.so + 94437
[bt] (9) 9   libmxnet.so                         0x0000000107c3ca9b libmxnet.so + 1755803

some following information:
[I 12:14:57.593 NotebookApp] KernelRestarter: restarting kernel (1/5), keep random ports
kernel aa9d9671-576d-42b2-8fea-5d9336aa5e4a restarted
Traceback (most recent call last):
  File "/anaconda3/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/anaconda3/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/anaconda3/lib/python3.6/site-packages/ipykernel_launcher.py", line 16, in <module>
    app.launch_new_instance()
  File "/anaconda3/lib/python3.6/site-packages/traitlets/config/application.py", line 657, in launch_instance
    app.initialize(argv)
  File "<decorator-gen-123>", line 2, in initialize
  File "/anaconda3/lib/python3.6/site-packages/traitlets/config/application.py", line 87, in catch_config_error
    return method(app, *args, **kwargs)
  File "/anaconda3/lib/python3.6/site-packages/ipykernel/kernelapp.py", line 456, in initialize
    self.init_sockets()
  File "/anaconda3/lib/python3.6/site-packages/ipykernel/kernelapp.py", line 238, in init_sockets
    self.shell_port = self._bind_socket(self.shell_socket, self.shell_port)
  File "/anaconda3/lib/python3.6/site-packages/ipykernel/kernelapp.py", line 180, in _bind_socket
    s.bind("tcp://%s:%i" % (self.ip, port))
  File "zmq/backend/cython/socket.pyx", line 547, in zmq.backend.cython.socket.Socket.bind
  File "zmq/backend/cython/checkrc.pxd", line 25, in zmq.backend.cython.checkrc._check_rc
    raise ZMQError(errno)
zmq.error.ZMQError: Address already in use
[I 12:15:00.615 NotebookApp] KernelRestarter: restarting kernel (2/5), keep random ports
kernel aa9d9671-576d-42b2-8fea-5d9336aa5e4a restarted
Traceback (most recent call last):
  File "/anaconda3/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/anaconda3/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/anaconda3/lib/python3.6/site-packages/ipykernel_launcher.py", line 16, in <module>
    app.launch_new_instance()
  File "/anaconda3/lib/python3.6/site-packages/traitlets/config/application.py", line 657, in launch_instance
    app.initialize(argv)
  File "<decorator-gen-123>", line 2, in initialize
  File "/anaconda3/lib/python3.6/site-packages/traitlets/config/application.py", line 87, in catch_config_error
    return method(app, *args, **kwargs)
  File "/anaconda3/lib/python3.6/site-packages/ipykernel/kernelapp.py", line 456, in initialize
    self.init_sockets()
  File "/anaconda3/lib/python3.6/site-packages/ipykernel/kernelapp.py", line 238, in init_sockets
    self.shell_port = self._bind_socket(self.shell_socket, self.shell_port)
  File "/anaconda3/lib/python3.6/site-packages/ipykernel/kernelapp.py", line 180, in _bind_socket
    s.bind("tcp://%s:%i" % (self.ip, port))
  File "zmq/backend/cython/socket.pyx", line 547, in zmq.backend.cython.socket.Socket.bind
  File "zmq/backend/cython/checkrc.pxd", line 25, in zmq.backend.cython.checkrc._check_rc
    raise ZMQError(errno)
zmq.error.ZMQError: Address already in use
[I 12:15:03.622 NotebookApp] KernelRestarter: restarting kernel (3/5), keep random ports
kernel aa9d9671-576d-42b2-8fea-5d9336aa5e4a restarted
Traceback (most recent call last):
  File "/anaconda3/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/anaconda3/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/anaconda3/lib/python3.6/site-packages/ipykernel_launcher.py", line 16, in <module>
    app.launch_new_instance()
  File "/anaconda3/lib/python3.6/site-packages/traitlets/config/application.py", line 657, in launch_instance
    app.initialize(argv)
  File "<decorator-gen-123>", line 2, in initialize
  File "/anaconda3/lib/python3.6/site-packages/traitlets/config/application.py", line 87, in catch_config_error
    return method(app, *args, **kwargs)
  File "/anaconda3/lib/python3.6/site-packages/ipykernel/kernelapp.py", line 456, in initialize
    self.init_sockets()
  File "/anaconda3/lib/python3.6/site-packages/ipykernel/kernelapp.py", line 238, in init_sockets
    self.shell_port = self._bind_socket(self.shell_socket, self.shell_port)
  File "/anaconda3/lib/python3.6/site-packages/ipykernel/kernelapp.py", line 180, in _bind_socket
    s.bind("tcp://%s:%i" % (self.ip, port))
  File "zmq/backend/cython/socket.pyx", line 547, in zmq.backend.cython.socket.Socket.bind
  File "zmq/backend/cython/checkrc.pxd", line 25, in zmq.backend.cython.checkrc._check_rc
    raise ZMQError(errno)
zmq.error.ZMQError: Address already in use
[I 12:15:06.631 NotebookApp] KernelRestarter: restarting kernel (4/5), keep random ports
kernel aa9d9671-576d-42b2-8fea-5d9336aa5e4a restarted
Traceback (most recent call last):
  File "/anaconda3/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/anaconda3/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/anaconda3/lib/python3.6/site-packages/ipykernel_launcher.py", line 16, in <module>
    app.launch_new_instance()
  File "/anaconda3/lib/python3.6/site-packages/traitlets/config/application.py", line 657, in launch_instance
    app.initialize(argv)
  File "<decorator-gen-123>", line 2, in initialize
  File "/anaconda3/lib/python3.6/site-packages/traitlets/config/application.py", line 87, in catch_config_error
    return method(app, *args, **kwargs)
  File "/anaconda3/lib/python3.6/site-packages/ipykernel/kernelapp.py", line 456, in initialize
    self.init_sockets()
  File "/anaconda3/lib/python3.6/site-packages/ipykernel/kernelapp.py", line 238, in init_sockets
    self.shell_port = self._bind_socket(self.shell_socket, self.shell_port)
  File "/anaconda3/lib/python3.6/site-packages/ipykernel/kernelapp.py", line 180, in _bind_socket
    s.bind("tcp://%s:%i" % (self.ip, port))
  File "zmq/backend/cython/socket.pyx", line 547, in zmq.backend.cython.socket.Socket.bind
  File "zmq/backend/cython/checkrc.pxd", line 25, in zmq.backend.cython.checkrc._check_rc
    raise ZMQError(errno)
zmq.error.ZMQError: Address already in use
[W 12:15:09.648 NotebookApp] KernelRestarter: restart failed

Steps to reproduce

URL: http://mxnet.incubator.apache.org/versions/1.2.0/tutorials/onnx/fine_tuning_gluon.html
It will take some time in Training loop, my fault occurred after Batch[200] was trained

Couple of lines in my ipynb
# The original code of Training loop

output:
Batch [20] loss: 3.3410
Batch [40] loss: 2.5544
Batch [60] loss: 3.3172
Batch [80] loss: 1.4596
Batch [100] loss: 1.2674
Batch [120] loss: 1.3009
Batch [140] loss: 1.1046
Batch [160] loss: 0.9612
Batch [180] loss: 1.0728
Batch [200] loss: 1.2947
Epoch [0] Test Accuracy 0.7812

@Roshrini ?

@lyd911 Thank you for trying out this tutorial. I ran it in my environment: MacOS, jupyter notebook with python 3 kernel, MXNet v1.3 and ONNX v1.2.1
It takes lot of time but runs fine.. I didnt get any segmentation fault. Can you please check which ONNX version you are using? MXNet import, export functionality currently supports ONNX v1.2.1


plugin listPaths doesn't work

works fine when using aws s3 v2 adepter, however it returns empty array when using v3 adapter with same settings

@zexz I'm guessing this is caused by something else. I just tried this and it works as expected.

@frankdejonge i'm sorry, i was not specific enough
listPaths is showing files in specified path, but it won't show any "subfolders" (since i switched to v3)
i've tried even to setVisibility of those subfolders to "public" - but it does not help

@zexz did you set the listing to be recursive? so $filesystem->listPaths($dirname, true);

sure, tried with recursive and without
it is returning all the files in subfolders like it should, but it seems that only folders are like "filtered out"
i've even tried to use this construction:
			$objects = $client->getIterator('ListObjects', array(
				"Bucket" => S3_BUCKET,
				"Prefix" => ARCHIVE_FOLDER
			));
			foreach ($objects as $object) {
				echo $object['Key'] . "
";
			}

and it shows only files there
but when i used this one:
			$objects = $client->listObjects(array(
				"Bucket"    => S3_BUCKET,
				"Prefix"    => ARCHIVE_FOLDER
			));
			foreach ($objects as $object) {
				echo $object['Key'] . "
";
			}

i was able to see folders in the list received
so as far as i understand the issue is not with S3 Adapter, but with S3 Client on my end ?

@zexz weird, when I try this I just get the directories.

@zexz are you using the latest sdk version and the latest adapter version?

@frankdejonge i think i am, just removed everything regarding aws sdk and flysystem and installed it like this:
composer require league/flysystem
composer require league/flysystem-aws-s3-v3

same issue =(

this is what composer saying about "update"
zExzs-MacBook-Pro:flysystem zexz$ composer update league/flysystem-aws-s3-v3
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating autoload files
zExzs-MacBook-Pro:flysystem zexz$ composer update league/flysystem
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating autoload files

For my dummy bucket I just ran print_r($filesystem->listPaths('', true)); which results in:
Array
(
    [0] => dirname/file.txt
    [1] => dirname/newdir
    [2] => file.txt
    [3] => new_dir
    [4] => new_dir/event (5).ics
    [5] => stored.zip
    [6] => streamed.txt
)

Also, on the latest of everything.

@frankdejonge i was trying to see listPaths for other folders as well - and can say that some folders are shown in my case and some aren't.
I see strange output in your folder list too, look at the element 3 and 4, 3 is the folder, and 4 is the item inside the folder - however if you will look at the very beginning of your array - elements 0,1 are items of the folder dirname/ but you don't have it in the list
p.s. i was thinking that listPaths should show only folders and listContents should show files


Select template from front-end dropdown

This is a possible solution to #66 - to let users select a custom template, do the following:

Add the name of the template to the array in functions/custom-vuepress-templates.php
Program the Vue template like normal
Select the name of the custom template in the "Media Meta" dropdown on the WP backend

That's it!
This works by adding URL-specific routes for all pages using a custom template to the start of jsonData.routes. This ensures that the custom template overrides any default template otherwise set in the router.
We'll need to consider caching the results on sites that use this a lot, but this should be a good start. Let me know any thoughts, @drewbaker @lwaldner @jrobson153 !

I like this, other than creating a unique "Media Meta" dropdown. Why can't we just use the default page template dropdown? I just always try to not duplicate WP functionality.
I get that we don't want to force people to make files just to have that dropdown, but I wonder if there is a way to insert options into that dropdown without having to actually have files?

@drewbaker yea, Sander and I talked about this a bunch. The biggest problem with doing it as a proper page template is that once you set it Wordpress will actually attempt to use that file instead of the index.php file that we rely on to serve Vue. So it break everything.
Also, the value of that page template data saves in wordpress as a path to the file, including the .php extension so it's a little ugly trying to map it to a corresponding .vue file.

Also, programmatically adding entries to the page template dropdown is definitely not an intended capability: this is one of the better answers I could find on the subject, so it's definitely not the ideal route.
Any other thoughts? I can merge early next week if not - let me know!


Performance gap between viewer and simulate.cc

Hello,
i am experiencing quite the performance gap between the compiled simulate.cc GUI and the viewer application.
I made i quick video of the issue (https://drive.google.com/file/d/1zT55YzBXGRdBOVW2JMWQVyoJtmYLpZf3/view?usp=sharing).
My system is an Thinkpad x1 yoga gen 6 (i7 1165, 32gb Ram) running Ubuntu 20 LTS.
I do not experience this gap on my private pc, a Macbook Air M1. It runs just fine there.
The simulated .xml File is the following and a tiny torque is applied to break the stable pose.
<mujoco>
  <option timestep="0.0001" integrator="RK4">
    <flag sensornoise="enable" energy="enable" contact="disable"/>
  </option>
  <asset>
  <material name="dense" rgba=".9 .9 .9 .9"/>
  </asset>
  <worldbody>
    <light diffuse=".5 .5 .5" pos="0 0 3" dir="0 0 -1"/>
    <geom type="plane" size="1 1 0.1" material="dense"/>
    <body pos="0 0 3" euler="0 0 0">
      <joint name="pin" type="hinge" pos="0 0 -.5" axis="0 1 0"/>
      <geom type="cylinder" size=".05 .5" rgba="1 0 0 1" mass="1"/>
      <body pos="0 0.1 1" euler="0 0 0">
        <joint name="pin2" type="hinge" pos="0 0 -.5" axis="0 1 0"/>
        <geom type="cylinder" size=".05 .5" rgba="0 1 0 1" mass="1"/>
    </body>
    </body>
  </worldbody>

  <actuator>
    <motor joint="pin" name="torque" gear="1" ctrllimited="true" ctrlrange="-100 100"/>
    <motor joint="pin2" name="torque2" gear="1" ctrllimited="true" ctrlrange="-100 100"/>
  </actuator>
  </mujoco>

Can you please try setting the environment variable MUJOCO_GL=glfw before running the dm_control viewer?

Unfortunately this did not do anything noticeable.
This is a screenshot from cpu+igpu usage whilst running the viewer. Not sure if this seems odd. On my M1 Air gpu usage is around 70% and it runs smoothly.

Does your laptop have both integrated and discrete GPUs? If it does, which one is used when you run simulate ?

Thank you for your response!
No my laptop (ThinkPad X1 Yoga G6, i7 1165, 32GB Ram) does not have any discrete GPU.
Also the intel-gpu-top output is whilst running the viewer, the igpu usage is 0 when not running viewer, so it does certainly use it.
I can tomorrow quickly check igpu usage while running simulate, and whether or not it utilises igpu more (than viewer).

Yep, it would be helpful if you could also check what GPU utilisation you're seeing when running simulate.

So, this is running the simulate. It looks like the single-core utilisation with viewer is limiting at 100%.


Android Alarm android.os.Looper

Steps to Reproduce
all code Java plugin error cannot resolve symbol and Exception has occurred.
PlatformException (PlatformException(error, Attempt to invoke virtual method 'android.os.Looper android.app.Activity.getMainLooper()' on a null object reference, null))

... add plugin https://pub.dartlang.org/packages/android_alarm_manager#-installing-tab-
... follow instruction add service and Application.java and application name = '.Application'
...

Logs
Exception has occurred.
PlatformException (PlatformException(error, Attempt to invoke virtual method 'android.os.Looper android.app.Activity.getMainLooper()' on a null object reference, null))
Launching lib\main.dart on vivo 1723 in debug mode...
Built build\app\outputs\apk\debug\app-debug.apk.
I/AlarmService(32557): Starting AlarmService...
E/MethodChannel#plugins.flutter.io/android_alarm_manager(32557): Failed to handle method call
E/MethodChannel#plugins.flutter.io/android_alarm_manager(32557): java.lang.NullPointerException: Attempt to invoke virtual method 'android.os.Looper android.app.Activity.getMainLooper()' on a null object reference
E/MethodChannel#plugins.flutter.io/android_alarm_manager(32557): 	at com.google.android.gms.common.api.GoogleApi.<init>(Unknown Source:9)
E/MethodChannel#plugins.flutter.io/android_alarm_manager(32557): 	at com.google.android.gms.location.FusedLocationProviderClient.<init>(Unknown Source:8)
E/MethodChannel#plugins.flutter.io/android_alarm_manager(32557): 	at com.google.android.gms.location.LocationServices.getFusedLocationProviderClient(Unknown Source:2)
E/MethodChannel#plugins.flutter.io/android_alarm_manager(32557): 	at com.lyokone.location.LocationPlugin.<init>(LocationPlugin.java:76)
E/MethodChannel#plugins.flutter.io/android_alarm_manager(32557): 	at com.lyokone.location.LocationPlugin.registerWith(LocationPlugin.java:211)
E/MethodChannel#plugins.flutter.io/android_alarm_manager(32557): 	at io.flutter.plugins.GeneratedPluginRegistrant.registerWith(GeneratedPluginRegistrant.java:16)
E/MethodChannel#plugins.flutter.io/android_alarm_manager(32557): 	at com.example.csulsales.Application.registerWith(Application.java:18)
E/MethodChannel#plugins.flutter.io/android_alarm_manager(32557): 	at io.flutter.plugins.androidalarmmanager.AlarmService.startAlarmService(AlarmService.java:65)
E/MethodChannel#plugins.flutter.io/android_alarm_manager(32557): 	at io.flutter.plugins.androidalarmmanager.AndroidAlarmManagerPlugin.startService(AndroidAlarmManagerPlugin.java:75)
E/MethodChannel#plugins.flutter.io/android_alarm_manager(32557): 	at io.flutter.plugins.androidalarmmanager.AndroidAlarmManagerPlugin.onMethodCall(AndroidAlarmManagerPlugin.java:52)
E/MethodChannel#plugins.flutter.io/android_alarm_manager(32557): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:200)
E/MethodChannel#plugins.flutter.io/android_alarm_manager(32557): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/MethodChannel#plugins.flutter.io/android_alarm_manager(32557): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#plugins.flutter.io/android_alarm_manager(32557): 	at android.os.MessageQueue.next(MessageQueue.java:332)
E/MethodChannel#plugins.flutter.io/android_alarm_manager(32557): 	at android.os.Looper.loop(Looper.java:150)
E/MethodChannel#plugins.flutter.io/android_alarm_manager(32557): 	at android.app.ActivityThread.main(ActivityThread.java:6800)
E/MethodChannel#plugins.flutter.io/android_alarm_manager(32557): 	at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#plugins.flutter.io/android_alarm_manager(32557): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
E/MethodChannel#plugins.flutter.io/android_alarm_manager(32557): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:825)
Error -32601 received from application: Method not found
method not available: ext.flutter.inspector.isWidgetCreationTrackedError -32601 received from application: Method not found
method not available: ext.flutter.debugPaintError -32601 received from application: Method not found
method not available: ext.flutter.showPerformanceOverlayError -32601 received from application: Method not found
method not available: ext.flutter.repaintRainbowError -32601 received from application: Method not found
method not available: ext.flutter.timeDilationError -32601 received from application: Method not found
method not available: ext.flutter.debugAllowBannerError -32601 received from application: Method not found
method not available: ext.flutter.debugPaintBaselinesEnabledError -32601 received from application: Method not found
method not available: ext.flutter.inspector.show
D/ViewRootImpl[MainActivity](32557): onDisplayChange oldDisplayState=2 newDisplayState=1

[√] Flutter (Channel stable, v1.0.0, on Microsoft Windows [Version 10.0.17134.523], locale id-ID)
[√] Android toolchain - develop for Android devices (Android SDK 28.0.3)
[√] Android Studio (version 3.2)
[√] VS Code (version 1.30.2)
[√] Connected device (1 available)

• No issues found!

Thanks for your contribution. Since we haven't seen a reply, we're going to reluctantly close this bug for now, but if you're able to produce a reduced repro case, I'd encourage you do file a new bug with those details and refer back to this one in the comments.

for reference, this one looks to be an issue with flutter location plugin, see here https://github.com/Lyokone/flutterlocation/issues/347
https://github.com/Lyokone/flutterlocation/pull/314


Adding Player Crown Wins into the decompressor

Is there a way to add the number of crown wins a player have achieved ?

I dont know what a "crown win" is, but if they show up when you replay a game, then they will be in the .replay file as well.
You will probably need to add a new export group and handle it accordingly.


chore: use chainsafe shared linting config

I removed some "unnecessary" await calls, could you double-check that it's okay to remove it?

I removed some "unnecessary" await calls, could you double-check that it's okay to remove it?

I'll check it now, I thought at first its only lint changes


Black and white list problem

[x] I have searched the issues of this repository and believe that this is not a duplicate.
[x] I have checked the REAMDE of this repository and believe that this is not a duplicate.

Environment

Dubbo Admin version: develop
Registry center detail (type and version): zookeeper
Operating System version: mac OS
Java version: 1.8

problem

黑名单不能点击，并且更新报错。

黑白名单功能和条件路在zk中属于同一个路径，这样会导致，黑白名单列表和条件路由列表都能查到彼此的数据，但是数据结构不同，不能展示出正确的配置，而且两边的配置会互相覆盖。

Expected Result
xxx
Actual Result
xxx

#776


[Bug]: Assertion Error when inferencing with sample_n>1and occur preemption

Your current environment
The newest vllm 0.6.2 docker image without any change (released on 9.26)
Model Input Dumps
No response
🐛 Describe the bug

I use recompute method to deal with preemption, when the sample_n parameter=1, it works well.But when I increase the parameter to 3,5 or 10, such error will occur.Could you please help me solve the bug?
Before submitting a new issue...

[X] Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

add:offline inference


Update Compose version to latest stable version

Updating the version of Jetpack Compose in the Android Architecture Components samples requires modifying the project’s build.gradle files to reflect the latest stable versions of the Compose libraries. Here’s how you can make those changes:
Steps to Update Jetpack Compose Version

Check the Latest Stable Version:

First, find the latest stable version of Jetpack Compose from the official release notes.

Update Project-level build.gradle file:

Ensure that the Kotlin version and other configurations are compatible with the latest Compose version.

// build.gradle (Project-level)
buildscript {
    ext {
        compose_version = '1.4.0' // Update to the latest stable version
    }
    repositories {
        google()
        mavenCentral()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:7.1.0' // Ensure this is up-to-date
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10" // Ensure this matches the latest Compose version requirements
    }
}

Update App-level build.gradle file:

Ensure that the compose dependency versions are updated.

// build.gradle (App-level)
plugins {
    id 'com.android.application'
    id 'kotlin-android'
}

android {
    compileSdkVersion 31

    defaultConfig {
        applicationId "com.example.myapp"
        minSdkVersion 21
        targetSdkVersion 31
        versionCode 1
        versionName "1.0"
    }

    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
        }
    }

    buildFeatures {
        compose true
    }

    composeOptions {
        kotlinCompilerExtensionVersion compose_version
    }

    kotlinOptions {
        jvmTarget = '1.8'
    }
}

dependencies {
    implementation "androidx.core:core-ktx:1.7.0"
    implementation "org.jetbrains.kotlin:kotlin-stdlib:1.6.10"
    implementation "androidx.compose.ui:ui:$compose_version"
    implementation "androidx.compose.material:material:$compose_version"
    implementation "androidx.compose.ui:ui-tooling-preview:$compose_version"
    implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.4.1"
    implementation "androidx.activity:activity-compose:1.4.0"
    testImplementation 'junit:junit:4.13.2'
    androidTestImplementation 'androidx.test.ext:junit:1.1.3'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
    androidTestImplementation "androidx.compose.ui:ui-test-junit4:$compose_version"
    debugImplementation "androidx.compose.ui:ui-tooling:$compose_version"
}

Synchronize the Gradle Project:

After making these changes, sync your project with the Gradle files to apply the updates.

Testing:

Ensure to test your application to verify that nothing is broken due to the library updates. If any APIs have changed, you might need to make necessary code adjustments.

Example Pull Request (PR) Update
If you’re submitting a pull request to update the Compose version, you might include the following message in your PR description:

PR Title: Update Compose version to latest stable version
Description:
This PR updates the Jetpack Compose version to the latest stable version [1.4.0]. Updates include changes to both the project-level and app-level build.gradle files to ensure compatibility with the new version. Detailed changes are as follows:

Updated ext.compose_version in project-level build.gradle.
Adjusted dependencies in app-level build.gradle to use the new Compose version.
Ensured kotlinCompilerExtensionVersion in composeOptions is consistent with the new Compose version.
Verified that all project dependencies are compatible with the updated Compose version.
Conducted testing to ensure application stability after the version update.

Apply these changes and test thoroughly to ensure that the project functions correctly with the latest Compose version.


Wrong profit

Version

v0.0.83
(366761b)
Description

The bot saved a wrong profit for a coin pair
To Reproduce

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected Behaviours

Screenshots

Additional context

The bot was running but was not using cpu on DigitalOcean

I executed the following commands to get it working again:
docker-compose -f docker-compose.server.yml stop
docker-compose -f docker-compose.server.yml up -d

@elvishp2006
With the original issue, that looks very odd. How does the bot didn't record second buy grade?
You will need to provide me with logs if available.
Click Logs for the symbol, find the log with the archived message, then click the "Data" icon of that message and give to me.
If it's not available now, when it happens again, please check the "Data" icon of that archived message.
Make sure your bot saves 1-2 days logs.
With 2nd issue that the trading view not getting the data, I haven't encountered that. Again without any log from the bot, I won't be able to figure it out.
If that happens, see whether TradingView docker is getting any request by executing the following command:
docker logs tradingview -f --tail=100

With 3rd issue, well. It obviously uses more cpu/memory because of the extra intensive requests.
I won't spend time on optimisation since it just works with RPi 4 without issue.

@chrisleekr My configuration was to delete log with 30 minutes, I changed this for 2880 minutes, I will close the issue for now, if happen again I will report with logs

@elvishp2006
Yap. When it happens, it may be hard to find the exact log.
If you can find the archive message. Good. Otherwise, just export logs of the symbol.
For the 2nd issue, I am releasing https://github.com/chrisleekr/binance-trading-bot/pull/375
Test it out whether it happens again.
I also disable periodic restarting in my server to check whether it happens or not.


Harbour-chatgpt no longer works with OpenAI's ChatGPT

Dear @RikudouSage ,
Now that ChatGPT no longer requires an account (https://techcrunch.com/2024/04/01/chatgpt-no-longer-requires-an-account-but-theres-a-catch/), could you please fix your application as to make it work again on SailfishOS ?
Best regards,
Samuel

To be clear, the app does not work for you if you log in using an api key?

Hello, that's right. I created an account on openai.com and got an API key. Managed to log into harbour-chatgpt, started a new conversation but got no replies. Maybe that's just an issue with tokens and credits. I could try to get some logs from your application if that's useful to you. Cheers, Samuel

At the moment, OpenAI changed the API key management from USER to PROJECT: to use harbour-chatgpt with the new project-based API keys, it is necessary to modify the application. I will propose a fork.


Remove unnecessary references to jQuery

no longer needed after #1422

Can't believe I forgot about this while I was looking through everything - good catch!

So if it's not being loaded via bower, then how is jquery being loaded? Or did you just opt to let Wordpress do it the default way?

I need to do some quick research on how to tell bower a dependency is included externally not via bower. Bower needs to know what version of jQuery we are using so people are prevented from installing  packages that require conflicting versions of jQuery.
@JasonTheAdams yes we use the default WordPress jQuery version.

merging this for now. @austinpray you can follow up with another PR

@austinpray
bower/bower#1394
bower/bower#927


Meltano state management in the UI

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/3456
Originally created by @cjohnhanson on 2022-04-29 16:23:13

This is a follow-up from the meltano state issue.
Users should be able to manage state via the web ui.
@alexmarple FYI the API spec for this can be found in this issue

View 4 previous comments from the original issue on GitLab

@alexmarple and @tayloramurphy - I'm removing this (specifically, the new/planned State support in Meltano UI) from Assignments as it is not currently prioritized.
I think this by name got conflated with fixing the "state bug in the UI related to jobs" which is addressed in #6120 .

For clarity:


API temporary template variable

tvar(var_name, base, add=additions, remove=removals)
Does a union of additions (a list of strings or other template variables) and a subtraction
of removals (a list of strings or other template variables). var_name is in the namespace
only for this substitution.

tvar(var_name, base=variables, add=additions, remove=removals)

tvar(var_name, base=[], additions=[], removals=[])

Invocation of tvar:

Adds a definition to the API
returns a value that is the first value
Current logic must be adapted so that after each variable expression  must determine if other variables should be included?

Or, maybe also provide implicit definitions {x,y,z}


Fix documentation of --output and updated output settings.

In order to introduce some of the features/changes requested in #241 and the comments of PR #276 a branch from the output branch was created and some new command line features were introduced.
First, the --root_ckpt_name option was added to the train sub-command. This option, if set, will add a root name to the checkpoint files, e.g. if the option is set as --root_ckpt_name foobar than the checkpoint filenames will have the format foobar.epoch=2-step=150000.ckpt. Otherwise the checkpoint files will have the original default format. The checkpoint files will still be saved to the model_save_folder_path set in the config file.
Additionally a --overwrite_output boolean flag was added to all of the sub commands which produce .log and .mztab output files.  If this flag isn't set then the Casanovo CLI will raise an error if one of the output files already exists, otherwise it will overwrite the output files with the new output.

Duplicate of #372.


[INTEGRATION][SPARK][BUG] shade all 3rd party jars available in openlineage-spark

Spark Openlineage 0.9.0 jar contains com.fasterxml.jackson dependency which can get into conflict with other jackson libraries available on the classpath. By great chance this causes. https://github.com/OpenLineage/OpenLineage/issues/848
The purpose of this issue is to shade all the 3rd party jars available in openlineage-java and openlineage-spark jars as this can lead to nasty errrors which are hard to debug.

Fixed in other PR #855.


this work for godot 4?

how to use this plugin for godot 4

No.
Method getSkus is deprecated. If you want use this plugin - you must using getProducts() manually.
https://developer.android.com/reference/com/android/billingclient/api/Purchase#getProducts()

I have been using 2.0.0-rc.1 in my Godot 4 project and it seems to be working. You need to rename a few variables/methods though. All name changes seem to be decently documented in the official tutorial

Master + #52 works (which is the latest, supported version) is Godot 4 compatible without changes (and matches the docs unlike 2.0-rc1) - also uses a newer Billing API so it's preferable.
If you don't want to compile is, here is a ready to use release: https://github.com/finepointcgi/godot-google-play-billing

Try this

On August 31st Google Play Developer will not allow you to update your game unless it uses Google Play Billing Library version 6.0.1 or later.


'example' folder doesn't do much; either delete or flesh out

Is your feature request related to a problem? Please describe.
ocean.py code has an example/ folder but there's only an example how to structure metadata. This is kinda weird, and potentially confusing to new developers.
Related: the marketplace quickstart has an implicit metadata example. And there are unit tests on metadata.
Describe the solution you'd like
Here are some potential ways to address this.

Delete the folder, let the other locations suffice
Delete the folder, and place a more thorough metadata example elsewhere in the docs. (Where?)
Flesh out the folder with many examples. Risk: redundant with quickstarts and unit tests

We should discuss before we choose one.
Note: this was originally a one-liner by @kremalicious in #113. I created this new issue discuss more specifically. (Personally I lean towards 1 and just being done with it!)
Note: one more comment from Matthias from #113 which leans towards (3): "all the various documents in the READMEs folder should be extracted into the example folder (why are there examples in code but also in markdown?) with multiple examples. It's painful going through all those files and code snippets, and again not being able to run tests at the end. The examples folder could then have one (!) readme if more explanation is needed for the examples"

I incline towards 1. The purpose of the "garden path" is to have developers learn. It's much more likely that they pay attention to what they paste as an example, as opposed to having the examples readily made. We want them to derive new inputs, not use "templates". That's my 2c, but of course either one of these options can be argued for.


Capability with lower version with ViaVersion plugin

I have ViaVersion installed on my 1.17.1 sever with support 1.16.5 - 1.20.2 versions. In versions from 1.17.1 plugin works well, but on versions lower 1.17.1(1.13 - 1.16.5) images are corrupted:

Is it possible to solve that in future?
Plugin version: 1.2.12
Server: purpur-1.17.1-1428

Hi @azzztec,
Not sure how ViaVersion works internally, but I presume it intercepts the protocol injector from ProtocolLib if installed.
For performance, Yamipa hooks directly to the PlayerInjectionHandler class of ProtocolLib, which may be causing the issue:
https://github.com/josemmo/yamipa/blob/076d9990056762212b322456aeb0d09770d97232/src/main/java/io/josemmo/bukkit/plugin/renderer/FakeEntity.java#L22-L37
Could you trying building Yamipa with those lines commented out (22 to 37) to see if it then works?

Hi @azzztec,
Not sure how ViaVersion works internally, but I presume it intercepts the protocol injector from ProtocolLib if installed.
For performance, Yamipa hooks directly to the PlayerInjectionHandler class of ProtocolLib, which may be causing the issue:
https://github.com/josemmo/yamipa/blob/076d9990056762212b322456aeb0d09770d97232/src/main/java/io/josemmo/bukkit/plugin/renderer/FakeEntity.java#L22-L37
Could you trying building Yamipa with those lines commented out (22 to 37) to see if it then works?

Same result. Also i am using in my purpur-1.16.5-1171 server YamipaPlugin-1.2.11 and it works in all versions from 1.13 to 1.20.1

Then, AFAIK, there's not much we can do from this plugin's perspective.
Yamipa automatically detects the version of your server and crafts the appropiate network packets based on that. If ViaVersion is not rewriting those packets, then I'd need to debug that other plugin to understand what's going on, and I'm not familar enough to take on that challenge.


[Flutter][Web] - How to restrict the focus removing from the Textfield when we tap on any other widgets?

In the following sample, I have the TextField along with the Text and Container widgets. If we mouse to tap on the Container or Text widget when the focus is in the text field, the TextField focus is lost.
In that case, I want the focus always remains in the TextField until tap any other focusable widget i.e., another TextField. Any suggestion about it? How can I achieve this?

Sample Code:

import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
        debugShowCheckedModeBanner: false,
        title: 'Flutter Demo',
        theme: ThemeData(primarySwatch: Colors.blue),
        home: const MyHomePage());
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key}) : super(key: key);

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  FocusNode focusNode = FocusNode();
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        actions: [
          IconButton(icon: const Icon(Icons.menu), onPressed: (() {})),
          IconButton(icon: const Icon(Icons.remove), onPressed: (() {}))
        ],
        title: const Text('Flutter Demo Home Page'),
      ),
      body: Center(
          child: Column(
              crossAxisAlignment: CrossAxisAlignment.center,
              mainAxisAlignment: MainAxisAlignment.spaceAround,
              children: <Widget>[
            const TextField(),
            const Text('Home Page'),
            Container(
                color: Colors.amberAccent,
                width: 400,
                height: 100,
                child: const Center(child: Text('Container'))),
            const TextField(),
          ])),
    );
  }
}

Expected Result:  After tapping on the container when the focus is in the Textfield.

Actual Result: After tapping on the container when the focus is in the Textfield.

Hi @Tamilarasan-Paranthaman
This issue doesn't seem to describe a bug or a feature request. Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you


Unhandled Rejection (TypeError): Cannot read property 'toNumber' of null

  177 | const itemsRedeemed = state.itemsRedeemed.toNumber();
  178 | const itemsRemaining = itemsAvailable - itemsRedeemed;
  179 |
> 180 | let goLiveDate = state.data.goLiveDate.toNumber();
      | ^  181 | goLiveDate = new Date(goLiveDate * 1000);
  182 |
  183 | return {

Resolved with running metaplex set_start_date --env devnet --keypair ~/.config/solana/devnet.json --date '2021-01-01'

date format is not correct it should be :
metaplex set_start_date -d "09 Sep 2021 16:00:00" -k ~/.config/solana/id.json

date format is not correct it should be :
metaplex set_start_date -d "09 Sep 2021 16:00:00" -k ~/.config/solana/id.json

metaplex didn't complain, so I guess validation is missing and required.

@raghibislam I checked it now, and I think it still works.
See:
https://github.com/metaplex-foundation/metaplex/blob/4a1b7d2f674013bc8bd3149294c66b03b27120d0/js/packages/cli/src/cli.ts#L466
Checked in node shell:
> Date.parse("2021-01-01")
1609459200000

So any format that Date.parse understands by default seems fine.

anyone who didn't have set_start_date command and get message error: unknown command 'set_start_date on their metaplex try to use the following command:
metaplex update_candy_machine --keypair solana-spl/keypair.json -d "2021-09-12"

@kadekjayak yeah, just noticed they deprecated it :)


:sparkles: fully support & test seglearn, tsfel, and tsfresh features

Codecov Report

Merging #44 (3f116df) into main (c99265e) will increase coverage by 0.06%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #44      +/-   ##
==========================================
+ Coverage   97.32%   97.39%   +0.06%
==========================================
  Files          23       23
  Lines        1008     1035      +27
==========================================
+ Hits          981     1008      +27
  Misses         27       27

Impacted Files
Coverage Δ

tsflex/features/integrations.py
93.33% <100.00%> (+5.45%)
:arrow_up:

Continue to review full report at Codecov.

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

LGTM!
create a new version & release?


[CT-1815] [Feature] Remove required 'version' from dbt_project.yml

Is this your first time submitting a feature request?

[X] I have read the expectations for open source contributors
[X] I have searched the existing issues, and I could not find an existing issue for this feature
[X] I am requesting a straightforward extension of existing dbt functionality, rather than a Big Idea better suited to a discussion

Describe the feature
At the moment, it is required that dbt projects include a version in their dbt_project.yml, which should be a semantic version, as mentioned in the dbt doc here.
My dbt project is a git repo with its own process for creating and publishing its semantic versioning. The semantic version is not hard coded in the code base, but it is generated semi-automatically by our CI/CD. I imagine this is a common practice.
Therefore our dbt project has 2 semantic versions, the one in dbt_project.yml, which does not serve any meaningful purpose according to the dbt doc, and the git semantic version (tag).
In summary, I suggest removing the required 'version' from dbt_project.yml, because:

it does not serve any purpose
it is confusing as it is potentially in conflict with the git repo's own versioning.

Describe alternatives you've considered
No response
Who will this benefit?
All?
Are you interested in contributing this feature?
Sure
Anything else?
https://docs.getdbt.com/reference/project-configs/version

Love this suggestion @seub !
I distinctly remember when a colleague enlightened me that version isn't used at all. dbt_utils is a great example of a dbt package that just permanently set a dummy version number of 0.1.0 (even though its latest version is 1.0.0 as-of this writing).
Looking forward to hearing more of your thoughts @jtcohen6. (I still need to write-up our discussion we had about that different mechanism -- will drop a link in this thread once I do so.)
Some things for us to consider:

In our current world, would it be a breaking change if we relax version from required to optional? (I suspect "no")
In a world with dbt deps freeze, how would we want to think about the "version" of dbt packages installed via git hash or git tag or tarball URL?

@dbeatty10 Without stealing any thunder from the forthcoming write-up — given that the only good reason I could come up with ~a year ago for continuing to require version was, "maybe we'd use this for deps" — and given our chat about other better mechanisms for doing that (if we had capacity & appetite) — I struggle to think of any other good future reason to keep requiring version today.
A colleague just asked a perfectly reasonable, related question:

Why, when I configure config-version: 2 in my dbt project file, do I still need to configure version: 2 in my yml files?

These are entirely separate versioning schemes. The reason we had to call it config-version in dbt_project.yml, back in v0.17 when we were making breaking changes to the vars structure... is because a field named version was already taken! Even though it served no purpose!
@seub So - I'd be open to relaxing this. This will just require a few targeted one-line updates, to make this Optional (None by default):
https://github.com/dbt-labs/dbt-core/blob/065ab2ebc2104635770f49ca48bc434532d3ef41/core/dbt/contracts/project.py#L187
https://github.com/dbt-labs/dbt-core/blob/065ab2ebc2104635770f49ca48bc434532d3ef41/core/dbt/config/project.py#L528
And we'd definitely want to update these docs: https://docs.getdbt.com/reference/project-configs/version#dbt_projectyml-versions
Would you be interested in contributing that change?

@jtcohen6 Thank you! Yes, let me try to contribute that change.

@seub Excited that you're going to work on that contribution! 🤩
As promised, here's the write-up for that different mechanism to unlock dbt deps freeze that @jtcohen6 and I discussed last week and was mentioned here:

https://github.com/dbt-labs/dbt-core/issues/6643

@jtcohen6 @dbeatty10 Thank you for your encouragements!
I'm stuck trying to get my dev setup to work for integration tests: make setup-db gives me errors error: connection to server at "localhost" (::1), port 5432 failed: FATAL:  role "root" does not exist. I asked for help on Slack here, just mentioning it here for visibility in case either of you have an idea 🙏

I asked for help on Slack here

We'll see if we can get to the bottom of that error -- I just sent a reply in Slack.

Hi all, it looks to me as though there is a bug in the current version of the Makefile in dbt-core, causing make integration to fail with errors like:
Env var required but not provided: 'DBT_TEST_USER_1'

Replacing $(if $(USE_CI_FLAGS), $(CI_FLAGS)) by $(CI_FLAGS) on line 69 apparently solves the problem.
My friend @dsillman2000 who helped me figure this out just created an issue: https://github.com/dbt-labs/dbt-core/issues/6689
I guess I'll wait for the main branch to fix this bug and fork the repo again for this issue.

Hi all, I created a PR to make the change. Thanks for your help @jtcohen6 and @dbeatty10 !
I did not add any tests. The current tests all passed. If you'd like me to add a unit or integration test, a tip would be great.
I also created an issue to update the doc.

My PR was broken due to an email mistake, I just replaced it with a new PR: https://github.com/dbt-labs/dbt-core/pull/6718


ImageView content mode

Hi, I want the image to fill the container but I don't know how. There is a margin (top and bottom). I tried adding this line in my custom loader: imageView.contentMode = UIViewContentMode.ScaleAspectFill

Could anyone help me?

Apologies for the late response. I'll try to take a look at his tomorrow

Ok. I will wait your update. Thank you!

Any update?

P.S: I am not using autolayout in my project


Is there a way to copy a function down while keeping the references?

Description
I'd like to copy a formula from a cell to another and get updated references.
Example
If I have a formula in C1 (=A1+B1), copied down (in C2), I'd like the formula to update to =A2+B2.
Is there a way to do it? I could not find any reference of that in the documentation. If not, I think that'd be a great feature to add.

Thanks for your issue. Currently, there are two ways to approach this, create shared formula and duplicate row, for example:
Create shared formula (recommend):
package main

import (
    "fmt"

    "github.com/xuri/excelize/v2"
)

func main() {
    f := excelize.NewFile()
    defer func() {
        if err := f.Close(); err != nil {
            fmt.Println(err)
        }
    }()
    formulaType, ref := excelize.STCellFormulaTypeShared, "C1:C2"
    if err := f.SetCellFormula("Sheet1", "C1", "A1+B1", excelize.FormulaOpts{
        Type: &formulaType,
        Ref:  &ref,
    }); err != nil {
        fmt.Println(err)
        return
    }
    // Save spreadsheet by the given path.
    if err := f.SaveAs("Book1.xlsx"); err != nil {
        fmt.Println(err)
    }
}

Duplicate row:
package main

import (
    "fmt"

    "github.com/xuri/excelize/v2"
)

func main() {
    f := excelize.NewFile()
    defer func() {
        if err := f.Close(); err != nil {
            fmt.Println(err)
        }
    }()
    if err := f.SetCellFormula("Sheet1", "C1", "A1+B1"); err != nil {
        fmt.Println(err)
        return
    }
    if err := f.DuplicateRow("Sheet1", 1); err != nil {
        fmt.Println(err)
        return
    }
    // Save spreadsheet by the given path.
    if err := f.SaveAs("Book1.xlsx"); err != nil {
        fmt.Println(err)
    }
}

Ah the first approach looks aligned with what I want to accomplish, with minimum changes. Checking that

I will close this, if you have other questions, please let me know, and reopen this anytime.


Testing issues: Download failures

I'm getting issues like: https://docs.google.com/document/d/190FBElJHbzCqvI9-pZGuHOg4jC2gbMh3lB6INCaiQcs/edit#bookmark=id.6xpze2glg563

I have seen "gone" results from the server:

    "syncserver-message-params" =     (
        "{\"gone\":\"fileRemovedOrRenamed\",\"cloudStorageType\":\"Google\"}"
    );

And also it seems that the server is not responding at all in certain cases. I.e., the file is still downloading in iOSBasics for a very long period of time.

I think that this is happening  because of my use of the reverse proxy: ngrok to serve requests.

Test cases:

When file is gone (in the DirectoryFileEntry), make sure sync does a new download.

downloadsWith(status:

To resolve the second issue I'm going to try changing https://developer.apple.com/documentation/foundation/nsurlsessionconfiguration/1408153-timeoutintervalforresource
which has a default of 7 days. That seems too long. I think waiting up to a few hours is enough.
See also https://developer.apple.com/documentation/foundation/nsurlsessionconfiguration/1408259-timeoutintervalforrequest

For timeout issue, I am planning two more changes:

In:

    func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {

on an error, I'm going to indicate that the download has to be restarted by the app.

I'm going to change the UI so that

a) Images that are not (yet) downloaded cannot be tapped "through" to see the details.
b) Instead, going to prompt the user to see if they want to re-try the download.

I'm going to hold off on the UI change for now. Downloading is improved and adding complexity to the UI doesn't seem quite merited yet.


Add a compatibility fix for C++20

Add a compatibility fix for C++20 (and maybe others) to fix a non-supported conversion from std::string_view to std::string.
When preparing a recipe for the Conan package manager to properly add bmx as a dependency in other projects. One of the points there is to honor the user request for the C++ version requested by the user, thus I patch out the fixed setting of C++11. (See corresponding PR: https://github.com/conan-io/conan-center-index/pull/23955)
With C++20 set, I got the following error requiring an implicit conversion:
/home/ingmar/.conan2/p/b/bmx8699e87e1c8ea/b/src/src/common/Version.cpp: In function ‘mxfProductVersion bmx::get_bmx_mxf_product_version()’:
/home/ingmar/.conan2/p/b/bmx8699e87e1c8ea/b/src/src/common/Version.cpp:222:47: error: conversion from ‘const bmx_git::StringOrView’ {aka ‘const std::basic_string_view<char>’} to non-scalar type ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} requested
  222 |         string describe = bmx_git::DescribeTag();

Thanks for looking into this. I set CMAKE_CXX_STANDARD to 20 in the libMXF and libMXF++ libraries as well and found one more issue with a missing include - see below. If you could add that one as well please then it should all be good.
--- a/deps/libMXFpp/libMXF++/MXFVersion.cpp
+++ b/deps/libMXFpp/libMXF++/MXFVersion.cpp
@@ -33,6 +33,8 @@
 #include "config.h"
 #endif

+#include <string>
+
 #include "git.h"
 #include "fallback_git_version.h"


support callable command/listening emoji

add ability to have callable for command and listening emoji
supports custom ones like per guild prefix

perhaps callable listen duration also

perhaps callable listen duration also

maybe add reaction emoji as prefix additional prefix?

maybe add reaction emoji as prefix additional prefix?


Getting logging work in pipes

I have now solved this, at least conceptually, by basically changing the Monad Stack from the previous LoggerT Message IO to a LoggerT Message (SafeT IO). This relatively simple, by mostly using MonadSafe as a constraint in the CLI functions.

OK, this compiles now and tests succeed. But lot of todos still:

Getting proper logging in the genotype pipe, without the current forwarding of message lists
Testing for performance or memory leaks
Fixing loggin also in the Server

Codecov Report

Merging #194 (f9585de) into master (3f39101) will not change coverage.
The diff coverage is 44.18%.

@@           Coverage Diff           @@
##           master     #194   +/-   ##
=======================================
  Coverage   66.35%   66.35%
=======================================
  Files          18       18
  Lines        2113     2113
  Branches      208      208
=======================================
  Hits         1402     1402
  Misses        503      503
  Partials      208      208

Impacted Files
Coverage Δ

src/Poseidon/CLI/Fetch.hs
57.48% <0.00%> (ø)

src/Poseidon/CLI/Init.hs
61.29% <ø> (ø)

src/Poseidon/CLI/Summarise.hs
66.66% <0.00%> (ø)

src/Poseidon/GenotypeData.hs
59.06% <ø> (ø)

src/Poseidon/Utils.hs
5.00% <0.00%> (ø)

src/Poseidon/CLI/Forge.hs
59.67% <25.00%> (ø)

src/Poseidon/CLI/Survey.hs
89.24% <33.33%> (ø)

src/Poseidon/CLI/Validate.hs
50.00% <33.33%> (ø)

src/Poseidon/CLI/List.hs
42.27% <37.50%> (ø)

src/Poseidon/CLI/Update.hs
68.04% <46.66%> (ø)

... and 4 more

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 3f39101...f9585de. Read the comment docs.


unable to create full machine clone

Sorry if i'm missing this.  But using the API below I'm able to create what I think are linked clones
self.clone = virtualbox.library.IMachine.clone(self.BASE,
mode=self.CLONE_MODE,
groups=["/pool"],
basefolder=self.data_dir)
CLONE_MODE is (1) or machine_state.
What mode/option combo creates a full machine clone.  I can seem to find it

Take a look in the MachinePool implementation. I found this extremely useful for cloning machines.

So I'm looking for a bit more than what the current support of MachinePool provides,  for example
I'd like the pool to be created in a different directory (RAID filesystem).  Also the ability to do full
machine clones as well as linked clones. So I was kinda writing my own with the libraries at hand.  Although I do like the speed that MachinePool creates the clones.  When I get done I should have a nice
VDI implementation. In case you're curious: https://github.com/choman/vboxvdi
A couple other issues I have is the IMachine.clone groups seems to only work on the filesystem and
not in the Vbox GUI
But I did try it, but it throws a shoe
pool = virtualbox.pool.MachinePool(self.BASE)
sessions = []
for i in range(3):
sessions.append(pool.acquire("choman", "abcd1234"))
Traceback (most recent call last):
File "./vboxvdi2", line 593, in
Session afb01743-0262-4463-b57b-56eb570e7bc5 state changed: Unlocked
a = vboxvdi()
File "./vboxvdi2", line 141, in init
self.createpool()
File "./vboxvdi2", line 205, in createpool
sessions.append(pool.acquire("choman", "abcd1234"))
File "/usr/local/lib/python2.7/dist-packages/pyvbox-1.0.0-py2.7.egg/virtualbox/pool.py", line 165, in acquire
act = console.get_device_activity(DeviceType.hard_disk)
File "/usr/local/lib/python2.7/dist-packages/pyvbox-1.0.0-py2.7.egg/virtualbox/library.py", line 13884, in get_device_activity
raise TypeError("type_p can only be an instance of type list")
TypeError: type_p can only be an instance of type list
Unregistering <virtualbox.library.IEventListener object at 0x7f6e74896510> due to VBoxError on get_event
Failed to unregister listener <virtualbox.library.IEventListener object at 0x7f6e74896510>
Unregistering <virtualbox.library.IEventListener object at 0x7f6e7edf3390> due to VBoxError on get_eventUnregistering <virtualbox.library.IEventListener object at 0x7f6e74896750> due to VBoxError on get_eventUnregistering <virtualbox.library.IEventListener object at 0x7f6e74896090> due to VBoxError on get_eventUnregistering <virtualbox.library.IEventListener object at 0x7f6e748962d0> due to VBoxError on get_event
Failed to unregister listener <virtualbox.library.IEventListener object at 0x7f6e748962d0>
Failed to unregister listener <virtualbox.library.IEventListener object at 0x7f6e74896090>Failed to unregister listener <virtualbox.library.IEventListener object at 0x7f6e74896750>Failed to unregister listener <virtualbox.library.IEventListener object at 0x7f6e7edf3390>

I'll take a look at this more when at home, I've also had to implement my own MachinePool for projects.

another thing I was looking for was the launching of the sessions without
an accout.  so I have
idle machines awaiting users to access, more vdi like
Together We Win!   Looking for cloud storage, try pCloud
https://my.pcloud.com/#page=register&invite=O7KbZIt0T67 (10g free
https://my.pcloud.com/#page=register&invite=O7KbZIt0T67)
Chad
Some people, when confronted with a problem, think "I know, I'll use
Windows."
Now they have two problems.
Some people claim if you play a Windows Install Disc backwards you'll hear
satanic Messages.
That's nothing, if you play it forward it installs Windows
On Sat, Mar 18, 2017 at 4:59 PM, Seth M. Larson<EMAIL_ADDRESS>wrote:

I'll take a look at this more when at home, I've also had to implement my
own MachinePool for projects.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mjdorma/pyvbox/issues/55#issuecomment-287577896, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AErXuHvD7ZFOhDyHGRBkHd063--QxrMBks5rnFPAgaJpZM4Mg21g
.

You need an account to launch a IGuestSession because it relies on the Guest Additions being installed which requires a username and password. Don't think auth-less logins are going to be a part of the VirtualBox API.

Okay so I think I figured out the original issue. Take a look at IMachine.clone(), specifically the options argument. By default it creates a linked clone, by using an empty options=[] parameter it shouldn't link the clones together.


docs: add signing instructions to CONTRIBUTING

Motivation
Adds details about signing, which most people don't realize they have to do before making a PR
Change Type
Choose one of the options below by adding an x now or at any time before submitting for review

[ ] Protocol Feature: changes the design of the hub and the protocol
[ ] Hub Feature: changes the design of the hub, but does not affect the protocol
[ ] Bugfix: solves an issue with the current implementation
[x] Chore: miscellaneous improvement to the system

Merge Checklist
Choose all relevant options below by adding an x now or at any time before submitting for review

[x] The title of this PR adheres to the conventional commits standard
[ ] Changes to the protocol specification have been merged

Codecov Report

Merging #68 (33d6672) into main (d943876) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #68   +/-   ##
=======================================
  Coverage   86.60%   86.60%
=======================================
  Files           8        8
  Lines         575      575
  Branches      143      143
=======================================
  Hits          498      498
  Misses         75       75
  Partials        2        2

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


Residual value from constraints

Hi all,
I've originally asked this question in the mailing list but haven't had much luck. The problem is as follows.
I have a problem that can sometimes be infeasible. The desired behaviour is to relax the constraint that was violated and continue, but alert the user that XYZ was violated.
I noticed that CVXPY 1.0 has a new violation() method that calculates the residual of the constraint (https://www.cvxpy.org/api_reference/cvxpy.constraints.html), but when the problem was infeasible, the constraint doesn't look like it's calculated?
Using the example on the front page:
In [15]:
import cvxpy as cp
import numpy as np

# Problem data.
m = 30
n = 20
np.random.seed(1)
A = np.random.randn(m, n)
b = np.random.randn(m)

# Construct the problem.
x = cp.Variable(n)
objective = cp.Minimize(cp.sum_squares(A*x - b))
constraints = [0 <= x, x <= 1, x >= 2]
prob = cp.Problem(objective, constraints)

# The optimal objective value is returned by `prob.solve()`.
result = prob.solve()
# The optimal value for x is stored in `x.value`.
print(x.value)
# The optimal Lagrange multiplier for a constraint is stored in
# `constraint.dual_value`.
print(constraints[0].dual_value)
None
None

In [16]:

In [16]: prob.status
Out[16]: 'infeasible'

In [17]: prob.constraints
Out[17]:
[NonPos(Expression(AFFINE, UNKNOWN, (20,))),
 NonPos(Expression(AFFINE, UNKNOWN, (20,))),
 NonPos(Expression(AFFINE, UNKNOWN, (20,)))]

In [18]: prob.constraints[0]
Out[18]: NonPos(Expression(AFFINE, UNKNOWN, (20,)))

In [19]: prob.constraints[0].violation()
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-19-5ce1fdea8037> in <module>()
----> 1 prob.constraints[0].violation()

C:\Program Files\Anaconda3\envs\py35\lib\site-packages\cvxpy\constraints\constra
int.py in violation(self)
    137         residual = self.residual
    138         if residual is None:
--> 139             raise ValueError("Cannot compute the violation of an constra
int "
    140                              "whose expression is None-valued.")
    141         return residual

ValueError: Cannot compute the violation of an constraint whose expression is None-valued.

How do you get the residual, or check which constraint was violated, or get the last tried solution so I can test which constraint failed?
Cheers,
Steve

Hi Steve; thanks for posting.
In order to calculate the violation for a constraint, we need a value for the problem's decision variables. The problem is that when a solver reports that a problem is infeasible, it won't return any values for the decision variables (even ones that are "nearly feasible"). This is part of the nature of constrained optimization problems- it's very rare to say that a single constraint is "responsible" for infeasibility. The closest thing you can find is an infeasibility-diagnostic tool like that found in MOSEK (and likely other commercial solvers). Unfortunately diagnostic tools can be a pain to understand, especially when using a rewriting system such as cvxpy.
The purpose of the .violation() method is not to investigate infeasibility issues, but instead to address the fact that optimization in finite precision is an inexact science. Sure, a constraint like x <= 0 can be satisfied strictly, but a constraint like Ax == b is bound to have some residual error (even when A is invertible). In practice users should expect .violation() to return very, very small numbers. A good interior point solver like MOSEK will often have the largest constraint violation be on the order of 1e-8. However first order solvers (like SCS) are notorious for returning solutions with much higher constraint violations (e.g. 1e-4).
Please post again if I misunderstood you.


When publishing to GKE, the Refresh Cluster does not work.

When publishing to GKE, if no clusters exist on the project, and one clicks on the link to Create Cluster, successfully creating one (I waited till it was properly created on Cloud Console), then the Refresh Cluster link does not work. I had to close the dialog and Open it again to see the cluster I had just created.

Closed in #956


fix: rate limit admin endpoints

Thanks for submitting a PR! Please check the boxes below:

[ ] I have run pre-commit to check linting
[ ] I have filled in the "Changes" section below?
[ ] I have filled in the "How did you test this code" section below?
[ ] I have used a Conventional Commit title for this Pull Request

Changes
Please describe.
How did you test this code?

Please describe.

Hmm... yeah, I can't work out what's going on here, but if I add a breakpoint here, I can see that the the throttle rate for the "user" scope is being overwritten as 1/minute. I can't quite work out why...
(Pdb) self.cache
<django.core.cache.backends.db.DatabaseCache object at 0x10c094410>
(Pdb) self.get_rate()
'1/minute'
(Pdb) from django.conf import settings
(Pdb) settings.REST_FRAMEWORK
{'DEFAULT_PERMISSION_CLASSES': ['rest_framework.permissions.IsAuthenticated'], 'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework.authentication.TokenAuthentication', 'api_keys.authentication.MasterAPIKeyAuthentication'), 'PAGE_SIZE': 10, 'UNICODE_JSON': False, 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.PageNumberPagination', 'DEFAULT_THROTTLE_CLASSES': ['core.throttling.DBBackedUserRateThrottle'], 'DEFAULT_THROTTLE_RATES': {'login': '1/sec', 'mfa_code': '5/min', 'invite': '10/min', 'signup': '1000/min', 'user': '1/minute'}, 'DEFAULT_FILTER_BACKENDS': ['django_filters.rest_framework.DjangoFilterBackend'], 'DEFAULT_RENDERER_CLASSES': ['util.renderers.PydanticJSONRenderer', 'rest_framework.renderers.BrowsableAPIRenderer']}
(Pdb) settings.USER_THROTTLE_RATE
'10000/second'

Ah, it's because our tests are not stateless! By setting this value here, all subsequent tests receive that value.

Codecov Report
Patch coverage: 100.00% and project coverage change: +0.06% :tada:

Comparison is base (5b46cc0) 95.47% compared to head (5134129) 95.53%.
Report is 31 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2703      +/-   ##
==========================================
+ Coverage   95.47%   95.53%   +0.06%
==========================================
  Files         986      993       +7
  Lines       27709    28046     +337
==========================================
+ Hits        26454    26793     +339
+ Misses       1255     1253       -2

Files Changed
Coverage Δ

api/app/settings/test.py
100.00% <ø> (ø)

api/environments/models.py
95.36% <ø> (-0.05%)
:arrow_down:

api/features/views.py
85.40% <ø> (+2.17%)
:arrow_up:

...integration/environments/test_clone_environment.py
100.00% <ø> (ø)

api/api_keys/user.py
94.59% <100.00%> (+0.47%)
:arrow_up:

api/app/settings/common.py
88.00% <100.00%> (+0.16%)
:arrow_up:

api/environments/identities/tests/test_views.py
100.00% <100.00%> (ø)

...environments/identities/traits/tests/test_views.py
100.00% <100.00%> (ø)

api/environments/identities/traits/views.py
82.11% <100.00%> (+0.14%)
:arrow_up:

api/environments/identities/views.py
87.17% <100.00%> (+0.11%)
:arrow_up:

... and 3 more

... and 25 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Add new Castle Primary electricity meter data to Energy Sparks

Castle Primary has a (relatively) new electricity meter for its main school supply. The meter number is<PHONE_NUMBER>990. The data is now available from 14/12/2016 in the Bath Hacked Data store. Can you update  Energy Sparks so the data for this new meter transfers across to Energy Sparks too, backdated to 14/12/2016?
Is  there a way you could futureproof school's records in Energy Sparks to future meter changes? At the moment, I think you specify the meter numbers to transfer across to Energy Sparks, so meter changes are not automatically picked up.  I only found this because I went digging to find out why the Castle Primary electricity data was so low. Their other active meter records readings for their Nursery. Unlike Saltford they want to keep this data on Energy Sparks because their Nursery is fully integrated and run by the school.

Possibly auto-register new meters, with alert email to Admin


ATAC ppqt

For ATAC part,
ppqt can fail causing a lot of downstream issues which can lead to bigwigs not being made. If this not necessary for bigwig formation, this should be removed.
Paul

Duplicate of another more complete issue


feat: use babel for builds

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[FEATURE] OpenTelemetry / Monitoring support

Is your feature request related to a problem?
I'm trying to troubleshoot a performance issue.
What solution would you like?
It would be nice if OpenSearch had some basic open telemetry support. I'm using Sentry, and would like to have how long OpenSearch requests are taking on my performance tab.
What alternatives have you considered?
Manually tracking the OpenSearch requests for now...
Do you have any additional context?

@clovis1122 Are you saying you'd like to instrument the client? We'd like this. Are there clients that you know do it well?

So, I don't have an example of an OpenSearch client with OpenTelemetry instrumentation, or any similar client that can be used as an example. Although I recently saw some code on drizzle-orm that looks like a good way to implement it.
To add a bit more about my particular use case - I'm using Sentry for APM & I wrapped the call to client.search within Sentry's startSpan, like so:
	const matchingData = await startSpan(
		{ name: 'searchJobs', op: 'search' },
		(span) =>
			client
				.search(searchQuery)
				.then((resp) => {
					span.setAttributes({ took: resp.body.took });
					return resp;
				})
				.catch((err) => {
					span.setStatus({ code: 2 });
					throw err;
				}),

I also get automatic instrumentation from node's http clients which this project uses.
What I am noticing is that most of the times, my custom span instrumentation and node's http call happen within 10ms which is okay. However, sometimes I see 250ms difference between them, like here:

Having OpenTelemetry instrumentation built into the client would help me better understand the time spent there.
The other big spender I have is this one, but since most of the time is spent on the http request, I guess it has nothing to do with the client (so, adding APM may not help me at all). The first request seems to end on a socket hang up error, and so, it requires a second request to complete.

Makes sense @clovis1122. Would be awesome if someone (you?) could add this to the client.


The operation you are attempting on item '' is not allowed for this item type.

Using the forked extension by automagically (https://marketplace.visualstudio.com/items?itemName=automagically.SqlReportingServicesDeployment&ssr=false#overview) Azure Task on a release in 2020 server. Uploading SSRS Datasets and Datasources and am getting the error in the title.
Both Datasets and Datasources files exist on the report server in the ../SIS_SelfService folder.
I only have the "Include Data Sources" check box checked on the task when uploading Datasources.
I only check "Include Datasets" check box on the task when uploading Datasets.
I get the same error for both. Below is the Datasources task output.
Task output from azure:
2021-06-17T20:15:58.1233168Z ##[section]Starting: Deploy SQL Server DataSources
2021-06-17T20:15:58.1422822Z ==============================================================================
2021-06-17T20:15:58.1423193Z Task         : Deploys SQL Server Reporting RDL files
2021-06-17T20:15:58.1423479Z Description  : Deploys SQL Server Reporting RDL files
2021-06-17T20:15:58.1423773Z Version      : 1.0.0
2021-06-17T20:15:58.1423978Z Author       : automagically
2021-06-17T20:15:58.1424217Z Help         : Deploys SQL Server RDL Reporting files
2021-06-17T20:15:58.1424499Z ==============================================================================
2021-06-17T20:15:58.1474804Z ##[warning]Task 'SqlReportingServicesDeployment' (1.0.0) is using deprecated task execution handler. The task should use the supported task-lib: https://aka.ms/tasklib
2021-06-17T20:15:58.1478243Z Preparing task execution handler.
2021-06-17T20:15:58.4278348Z Executing the powershell script: E:\azagent\A14_work_tasks\SqlReportingServicesDeployment_32e6a7fe-826b-412f-986f-6ef8d39fdb77\1.0.0\SqlReportingServicesDeployment.ps1
2021-06-17T20:15:58.6087551Z Preparing Deployment of RDL files...
2021-06-17T20:15:58.6087811Z
2021-06-17T20:15:58.6087897Z
2021-06-17T20:15:58.6142072Z [VERBOSE] >> Preparing script... (Verbose = true) -
2021-06-17T20:15:58.6142332Z
2021-06-17T20:15:58.6142422Z
2021-06-17T20:15:58.6158358Z [VERBOSE] >> Using following parameters: -
2021-06-17T20:15:58.6176065Z
2021-06-17T20:15:58.6198253Z
2021-06-17T20:15:58.6199413Z [VERBOSE] >> ReportFiles: E:\azagent\A14_work\r5\a\deploy\reports\SIS_SelfService\CACTUS_67.rds -
2021-06-17T20:15:58.6209342Z
2021-06-17T20:15:58.6209560Z
2021-06-17T20:15:58.6209781Z [VERBOSE] >> Upload path: /Data Sources/SIS_SelfService -
2021-06-17T20:15:58.6209948Z
2021-06-17T20:15:58.6210042Z
2021-06-17T20:15:58.6210208Z [VERBOSE] >> SetDataSource: false -
2021-06-17T20:15:58.6210387Z
2021-06-17T20:15:58.6210511Z
2021-06-17T20:15:58.6210686Z [VERBOSE] >> DataSourcePathToAssign:  -
2021-06-17T20:15:58.6210844Z
2021-06-17T20:15:58.6210942Z
2021-06-17T20:15:58.6211104Z [VERBOSE] >> UpdateDataSource: true -
2021-06-17T20:15:58.6211262Z
2021-06-17T20:15:58.6211339Z
2021-06-17T20:15:58.6211501Z [VERBOSE] >> IncludeDataSource: true -
2021-06-17T20:15:58.6211659Z
2021-06-17T20:15:58.6211740Z
2021-06-17T20:15:58.6211940Z [VERBOSE] >> DataSourcePath: /Data Sources/SIS_SelfService -
2021-06-17T20:15:58.6212218Z
2021-06-17T20:15:58.6212299Z
2021-06-17T20:15:58.6212457Z [VERBOSE] >> connectionstring:  -
2021-06-17T20:15:58.6212606Z
2021-06-17T20:15:58.6212687Z
2021-06-17T20:15:58.6212879Z [VERBOSE] >> IncludeDataSet: false -
2021-06-17T20:15:58.6213016Z
2021-06-17T20:15:58.6213092Z
2021-06-17T20:15:58.6213297Z [VERBOSE] >> DataSourcePath: /Data Sources/SIS_SelfService -
2021-06-17T20:15:58.6213464Z
2021-06-17T20:15:58.6213541Z
2021-06-17T20:15:58.6213720Z [VERBOSE] >> connectionstring:  -
2021-06-17T20:15:58.6213852Z
2021-06-17T20:15:58.6213933Z
2021-06-17T20:15:58.6214117Z [VERBOSE] >> IncludeResources: false -
2021-06-17T20:15:58.6214300Z
2021-06-17T20:15:58.6214381Z
2021-06-17T20:15:58.6214586Z [VERBOSE] >> ResourceRootLocalPath: E:\azagent\A14_work\r5\a -
2021-06-17T20:15:58.6214752Z
2021-06-17T20:15:58.6214833Z
2021-06-17T20:15:58.6215128Z [VERBOSE] >> ResourcePatterns: ** -
2021-06-17T20:15:58.6215392Z
2021-06-17T20:15:58.6215623Z
2021-06-17T20:15:58.6221276Z [VERBOSE] >> ResourceRootPath:  -
2021-06-17T20:15:58.6238156Z
2021-06-17T20:15:58.6238279Z
2021-06-17T20:15:58.6259105Z [VERBOSE] >> Webservice: http://daydevsqlrs01/ReportServer/reportservice2010.asmx -
2021-06-17T20:15:58.6259374Z
2021-06-17T20:15:58.6259481Z
2021-06-17T20:15:58.6286515Z
2021-06-17T20:15:58.6286613Z
2021-06-17T20:15:58.6379292Z Uploading files
2021-06-17T20:15:58.6453214Z Creating WebService proxy using credentials
2021-06-17T20:15:58.6479288Z
2021-06-17T20:15:58.6479545Z
2021-06-17T20:15:59.7194199Z [VERBOSE] >> Got Namespace  for SSRS... -
2021-06-17T20:15:59.7194963Z
2021-06-17T20:15:59.7195181Z
2021-06-17T20:15:59.7247675Z Updating 1 datasource files to http://daydevsqlrs01/ReportServer/reportservice2010.asmx (/Data Sources/SIS_SelfService)...
2021-06-17T20:15:59.7248366Z
2021-06-17T20:15:59.7248571Z
2021-06-17T20:15:59.7320598Z Uploading datasource E:\azagent\A14_work\r5\a\deploy\reports\SIS_SelfService\CACTUS_67.rds to /Data Sources/SIS_SelfService...
2021-06-17T20:15:59.7321259Z
2021-06-17T20:15:59.7321494Z
2021-06-17T20:15:59.7339389Z [VERBOSE] >> Reading E:\azagent\A14_work\r5\a\deploy\reports\SIS_SelfService\CACTUS_67.rds file... -
2021-06-17T20:15:59.7341091Z
2021-06-17T20:15:59.7341369Z
2021-06-17T20:15:59.7764079Z
2021-06-17T20:15:59.7765495Z
2021-06-17T20:15:59.7766059Z Extension                            : SQL
2021-06-17T20:15:59.7767718Z UseOriginalConnectString             : False
2021-06-17T20:15:59.7768265Z OriginalConnectStringExpressionBased : False
2021-06-17T20:15:59.7768764Z CredentialRetrieval                  : Integrated
2021-06-17T20:15:59.7769225Z WindowsCredentials                   : False
2021-06-17T20:15:59.7769698Z ImpersonateUser                      : False
2021-06-17T20:15:59.7770172Z ImpersonateUserSpecified             : False
2021-06-17T20:15:59.7770718Z Prompt                               :
2021-06-17T20:15:59.7771179Z UserName                             :
2021-06-17T20:15:59.7771640Z Password                             :
2021-06-17T20:15:59.7772113Z Enabled                              : False
2021-06-17T20:15:59.7772574Z EnabledSpecified                     : False
2021-06-17T20:15:59.7773022Z
2021-06-17T20:15:59.7776295Z
2021-06-17T20:15:59.7776687Z
2021-06-17T20:15:59.7777024Z
2021-06-17T20:15:59.7777336Z
2021-06-17T20:15:59.7777511Z
2021-06-17T20:15:59.7777818Z [VERBOSE] >> Creating Datasource CACTUS_67 -
2021-06-17T20:15:59.7778031Z
2021-06-17T20:15:59.7778193Z
2021-06-17T20:15:59.8364977Z Done updating datasources!
2021-06-17T20:15:59.8365237Z
2021-06-17T20:15:59.8365322Z
2021-06-17T20:15:59.8365587Z [VERBOSE] >> Found 1 items in E:\azagent\A14_work\r5\a\deploy\reports\SIS_SelfService\CACTUS_67.rds -
2021-06-17T20:15:59.8365843Z
2021-06-17T20:15:59.8365928Z
2021-06-17T20:15:59.8366201Z Uploading 1 files to http://daydevsqlrs01/ReportServer/reportservice2010.asmx (/Data Sources/SIS_SelfService)...
2021-06-17T20:15:59.8366432Z
2021-06-17T20:15:59.8366517Z
2021-06-17T20:15:59.8479596Z Uploading report CACTUS_67 to /Data Sources/SIS_SelfService...
2021-06-17T20:15:59.8480389Z
2021-06-17T20:15:59.8480701Z
2021-06-17T20:15:59.8491931Z [VERBOSE] >> Uploading CACTUS_67 with filesize 508 bytes -
2021-06-17T20:15:59.8492187Z
2021-06-17T20:15:59.8492272Z
2021-06-17T20:15:59.9092872Z ##[error]Microsoft.PowerShell.Commands.WriteErrorException: The operation you are attempting on item '/Data Sources/SIS_SelfService/CACTUS_67' is not allowed for this item type. ---> Microsoft.ReportingServices.Diagnostics.Utilities.WrongItemTypeException: The operation you are attempting on item '/Data Sources/SIS_SelfService/CACTUS_67' is not allowed for this item type.
2021-06-17T20:15:59.9392225Z ##[error]PowerShell script completed with 1 errors.
2021-06-17T20:15:59.9400106Z ##[section]Finishing: Deploy SQL Server DataSources

Hello,
I would try creating separate folders for the datasets and datasources.
Kind regards,
Y.


Invalid data error reading pass. The passTypeIdentifier or teamIdentifier provided may not match your certificate, or the certificate trust chain could not be verified. Because of WWDR Certificate

Well, i did everything in order from readme, created .p12 file, which is valid. Spent 2 days to understand why i keep getting this error
Invalid data error reading pass. The passTypeIdentifier or teamIdentifier provided may not match your certificate, or the certificate trust chain could not be verified.
And suddenly i found this website https://pkpassvalidator.azurewebsites.net/
(BTW, this website worth mentionind in readme IMO)
Which says that ONLY G4 wwdr is valid for generating pkpass files.

I'm not sure, what you gonna do with this info. Just trying to save somebody from 3 days of disaster
If you face same issue, try exporting this wwdr into pem via keychain. Use it in your code for generation like this
$pass->setWwdrCertificatePath('Certificate/wwdr4.pem');
it might save your day
AppleWWDRCAG4.zip

This is very helpful knowledge for sure! Turns out the reason I or anyone else hasn't run into this yet is probably because we were signing our pass certificates with developer keys that have existed for a while:

The renewed version is used to sign new software signing certificates issued after January 28, 2021

https://developer.apple.com/support/expiration/

I've updated the WWDR to version 6 in #119. Any specific reason you went for version 4?

Hello @tschoffelen
I'm facing this same problem. So after getting information from different places, I think I understood this:
Version 6 isn't compatible with wallet, the validation will fail.
The WWDR (Apple WorldWide Developer Relations) G1/G4 Certificates would be the good ones.
In https://developer.apple.com/support/expiration/ they mention this:
If you plan to send notification requests or passes with certificates issued after January 27, 2022, you’ll need to download the Worldwide Developer Relations G4 sub CA, available for download. You can confirm that the correct intermediate certificate is installed by verifying that the expiration date is set to 2030 and the Organization field is set to G4.
I think would be a better option to force users of the package to set the path for the WWDR certificate instead of having it hard coded, I believe that will prevent future headaches.
This package has a good wiki about the subject
I hope it helps
Thanks

Indeed, why do you bundle this in the library? It should be a configuration setting like in any other lib....
Here is the relevant documentation that @Kai-Luo is mentioning: https://developer.apple.com/help/account/reference/wwdr-intermediate-certificates/
G6 is for Swift app signing, we need G4.

Good point! Happy to accept a PR that adds a method to override the default cert, I was just looking for ways to make the library as plug & play as possible.

My understanding from your comment is that this is possible already with setWwdrCertificatePath() function, sorry: https://github.com/includable/php-pkpass/blob/master/src/PKPass.php#L146

You're totally right, apologies!
And I've merged PR #132 that switched to the correct default cert. Thanks everyone for your help!


Tracking of device typ, iOS version, app version etc

Hi!
I wonder if there is a standardized way to collect statistical dimensions such as iOS version, device type (iPhone vs. iPad at least), device locale, and so on? If not, wouldn't it make sense to include this just directly in the tracker initialization code?
Maybe this is already the case but I could not find it?
Thanks in advance!
Oliver

Hi @flaushi, unfortunately there is no such way, as there is no standardized way to record those values in the backend.
Some values are automatically recorded by analyzing the default User Agent (unless you changed it). Additional values can be configured as Custom Dimensions on the Backend side an can then be manually set in the app. More info here


Breaking change in 2.0.1

yarn why http-proxy-middleware OR npm ls http-proxy-middleware output (mask private folder names with *****)
<EMAIL_ADDRESS>*****/public-api
└──<EMAIL_ADDRESS>

[X] I understand project setup issues should be asked on StackOverflow or in GitHub Discussions.
[X] I updated to latest http-proxy-middleware.

Describe the bug (be clear and concise)
A breaking change was released with 2.0.1. The response type for onProxyRes used to be express.Response, but is now http.Response. This should have been a major version change.
Step-by-step reproduction instructions
1. Install 2.0.0. Use e.g. `res.status(200).send()` in `onProxyRes`.
2. Update to 2.0.1. See red squiggly lines. Be sad.

Expected behavior (be clear and concise)
No breaking changes in patch version changes.
What http-proxy-middleware configuration are you using?
N/A

What OS/version and node/version are you seeing the problem?
N/A

Additional context (optional)
No response

Can confirm we have our types broken in 2.0.1. In 2.0.0 the onProxyReq definition is the following:
(proxyReq: http.ClientRequest, req: Request, res: Response) => void;

In 2.0.1 it is changed to:
(proxyReq: http.ClientRequest, req: http.IncomingMessage, res: http.ServerResponse, options: httpProxy.ServerOptions) => void;

It is definitely a breaking change, so it must have been a major version bump. Also, it is unclear if it is just a wrong type definition, or the real implementation of onProxyReq has changed?

same issue，why min version upgrade lead to break change?


[Issue - 2971, 2940, 2743]

Related issue: #2971, #2940, #2743

🚀 Deployed on https://pr-2978--sw-web-runner.netlify.app


How to filter restart to exclude some sources/resources ?

Hello,
I would like to add a filter to exclude some sources so sbt-revolver won't restart if only one of these files is modified.
Is there some way to do that without removing the file from sbt sources (which is required by another packaging task) ?

Laurent,
this question is more an SBT usage question rather than an sbt-revolver ticket.
What you want is to change the watch-sources setting of SBT.
See this page for more info.

Thank you for the reply.
Actually I'd like my .less file to be compiled to .css on file save but not to restart the app which will happily serve the new .css when it will be ready (same goes for other kind of static resources, adding an image to the resource folder shouldn't restart the server).
That's why a filter or something of this sort could be handy to tell sbt-revolver when to restart the app, when to only run compile tasks, when to do nothing, etc.
My knowledge of sbt is quite superficial so maybe there's already a way to do this?
Best
Laurent


Update setup.py / pyproject.toml to follow latest numpy and cython docs

Remove all the magic for allowing compilation of bundled c files without Cython, this was obsolete since we python Cython into the build requirements in pyproject.toml. Supporting the case where people don't have cython doesn't make sense, since pip ensures it.
Numpy 1.25 made oldest-supported-numpy obsolete, we can chose the lowest version of numpy we want to support with a definition as long as we compile using at least numpy 1.25.

Dropping python 3.8 required for the numpy >= 1.25 requirement. But according to the NEP 29 schedule, this was overdue anyway and e.g. ctapipe has already done it.

I had to read a bit to figure out why in pyproject.toml you require numpy>=1.25 and in setup.py you require numpy>=1.21 and NPY_1_21_API_VERSION, but I think I understood and it's not a bug, so I approve (the one comment I left is not critical).

Yes, this is a bit confusing, but it boils down to:

numpy 1.25 introduced a new feature of stable C-API / ABI with a selectable lower version of numpy you want to support
We need to compile the extension against at least 1.25 to make use of this feature, but the resulting compiled extension will be compatible with all numpy versions larger than the one we defined.


Understanding the outcomes of Google Summer of Code

Dear Sarah Groff-Palermo,
I am a Ph.D. student at the University of São Paulo (Brazil). We would like to understand how and how much Open Source Communities benefit from participating in Google Summer of Code (GSoC). We believe that your experience in GSoC is valuable and could help us achieve that. In a 1-minute questionnaire, we would like to know:
Concerning the project entitled "p5.sensors" developed in GSoC 2015.

Do you have a GitHub repository for the GSoC project? If so, could you provide us with the link to the project?

Have you continued committing code or opening issues to the GSoC project after GSoC? (Yes / No) If so, code, issues or both?

Have you continued committing code or opening issues to other OSS projects after GSoC? (Yes / No) If so, code, issues or both?

Could we use aggregate data from your participation in GSoC and other OSS projects in our research?

The following link contains a sample of our work and how we would use your data:
https://ieeexplore.ieee.org/document/8094410/
Regards,
Jefferson

Don't spam in repositories.


New Command Prompt

Description of the new feature / enhancement
To have a clean nice looking command prompt and has more simple commands (like addusr which adds a new user).
Scenario when this would be used?
To be able to type commands faster and have short nice looking commands.
Supporting information
No response

Hi you might like Windows Terminal. Changing the whole command system is out of scope for us.


Poll-Schumann model + plot + fixes

Added Poll-Schumann aircraft performance model as a Python library which can be pip installed (see here poll_schumann)
Added poll_schumann to pyproject.toml (updated .lock file as well)
Modified plot function for flight planning to include Zp and GW profiles + trajectory
Modified notebook flight_planning_tuto.ipynb

Hi. Once again be careful to remove "__skdecide_hub_cpp.cpython-38-darwin.so" from the commits!

Last commit fixed *.so file :) Added Poll-Schumann back as part of the repository + fixed tests

Thanks @fteicht ! I just pushed the requested corrections.


Automatic Comment on Pull Request Raised

Often, when pull requests (PRs) are raised, reviewers may lack crucial context about the changes proposed. This can lead to delays in the review process and misunderstandings between contributors and reviewers.

@thevijayshankersharma please ensure that message must be According to Project guidelines.

@Niketkumardheeryan Yeah sure. Even though if there is an issue we will clarify it on my PR.


Feed URL
https://jacobian.org/index.xml
More Info
No response

closed by https://github.com/murtuzaalisurti/rssed/commit/a1ad48e0ee154909410f9f0dc0b18235a6d4175d


Added Kody Tools to Mixed Content

Kody Tools has around 100+ dev tools including code formatter, minifer, and converters.

Thank you for the contribution!


Font styles change back to generic/default on 2nd load of TinyMCE in Firefox

I noticed on Firefox if I open a blog post in TinyMCE, close it, and open another, the styling is all gone.

Upgrade to V6 fixed this.


NULLs in bulk handles?

I have a two-segment bulk handle where the second segment is optional. Think of a key-val where you only want to mark the existence of a key. Using NULL:0 as the pointer:size pair triggers an explicit error condition in Mercury. Should this use case be accommodated, or should I fix my code? :)

It should be supported... Somebody else had asked me to fix that in the past...

Ok this was not supported :) what was supported though was passing HG_BULK_NULL as the value to one of the input structures. Anyway I also fixed that now as I was fixing some other things, I haven't checked it in yet, I'll let you know when I do.