AP = -1 for every class on custom dataset

After a big number of iterations (~100K), I get AP = -1 for every class. Do you have any idea what could possibly go wrong? During the training there is nothing strange oserved, e.g. loss_= nan

What are your class names ? It might come from upper case letters somewhere, since they are put to lower case in some parts of the code but not all (if I remember correctly).

Hello， I want know how did you get the AP ?  when i run the test.py iget an error：
...
im_detect: 4951/4952 0.505s 0.001s
im_detect: 4952/4952 0.505s 0.001s
Evaluating detections
Writing aeroplane VOC results file
Writing bicycle VOC results file
Writing bird VOC results file
Writing boat VOC results file
Writing bottle VOC results file
Writing bus VOC results file
Writing car VOC results file
Writing cat VOC results file
Writing chair VOC results file
Writing cow VOC results file
Writing diningtable VOC results file
Writing dog VOC results file
Writing horse VOC results file
Writing motorbike VOC results file
Writing person VOC results file
Writing pottedplant VOC results file
Writing sheep VOC results file
Writing sofa VOC results file
Writing train VOC results file
Writing tvmonitor VOC results file
VOC07 metric? Yes
Traceback (most recent call last):
File "./tools/test_net.py", line 98, in
test_net(sess, network, imdb, weights_filename)
File "/home/ubuntu/Faster-RCNN_TF/tools/../lib/fast_rcnn/test.py", line 345, in test_net
imdb.evaluate_detections(all_boxes, output_dir)
File "/home/ubuntu/Faster-RCNN_TF/tools/../lib/datasets/pascal_voc.py", line 325, in evaluate_detections
self._do_python_eval(output_dir)
File "/home/ubuntu/Faster-RCNN_TF/tools/../lib/datasets/pascal_voc.py", line 288, in _do_python_eval
use_07_metric=use_07_metric)
File "/home/ubuntu/Faster-RCNN_TF/tools/../lib/datasets/voc_eval.py", line 126, in voc_eval
R = [obj for obj in recs[imagename] if obj['name'] == classname]
KeyError: '000001'
Hope for your help ,Ths!

@gdelab My class labels have only lowercase letters and numbers.

@Suodislie Sorry, I can't help you I haven't trained the network with the original dataset. But, this might help you. https://github.com/rbgirshick/py-faster-rcnn/issues/163

@thanasissdr How do you fix the problem?

@Zealoe If my level of understanding is correct, this occurs when there are no objects found belonging to a specific class. First of all, try to see if all the bounding boxes referring to the ground truth do not contain any negative values.

@thanasissdr  Thanks for your reply. But I have checked the dataset. I think the data has no problem....and if i test with the pretrained model, it works well.     So it should be the problem with the training process. And did you change any params? because i use the original params in this repository...

@thanasissdr have you solved this probiem?

@thanasissdr have you solved the problem?


Got private method `password' called for "xxxxxxxx":String (NoMethodError) when using distribute:itunesconnect

I got the following error when using -p flag, or ITUNES_CONNECT_PASSWORD in environment variable
private method `password' called for "xxxxxxxx":String (NoMethodError) when using -p or ITUNES_CONNECT_PASSWORD in environment virable

Here's the command and stacktrace:
$ ipa distribute:itunesconnect -a $ACCOUNT -p $PASSWORD -i $APPLICATION_ID --trace
/Library/Ruby/Gems/2.0.0/gems/shenzhen-0.10.3/lib/shenzhen/plugins/itunesconnect.rb:109:in `block (2 levels) in <top (required)>': private method `password' called for "xxxxxxxx":String (NoMethodError)
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.2.1/lib/commander/command.rb:180:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.2.1/lib/commander/command.rb:180:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.2.1/lib/commander/command.rb:155:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.2.1/lib/commander/runner.rb:421:in `run_active_command'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.2.1/lib/commander/runner.rb:81:in `run!'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.2.1/lib/commander/delegates.rb:8:in `run!'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.2.1/lib/commander/import.rb:10:in `block in <top (required)>'

This is related to this pull request: https://github.com/nomad/shenzhen/pull/181 which is merged, but not yet released.
If you use the latest version from the master branch you should be good to go :+1:

Fixed for version 0.11.0.


Inline datums

This PR proposes a design for inline datums:

On transaction outputs, you have Either Pl.DatumHash a instead of a plain a as the type of datums. The left alternative corresponds  to an output with a datum hash, the right alternative to a transaction with an inline datum.
Consequently, the type of utxosSuchThat and utxosSuchThisAndThat must change to reflect this new datum type. If we used a datum hash on a transaction output, the MockChain doesn't know the full datum, and we can therefore only return the hash.
Also,  validateTxSkel needs an extra argument to provide the corresponding data for all of these un-resolvable datum hashes: If we want to consume an UTxO that only has a datum hash, we must still be able to provide the concrete datum to run the validator (because that datum is an argument to the validator). (BTW: There's validateTxSkel', which defaults this extra argument to an empty map, and can be used whenever there are no data or only inline data. At the moment, all of the tests for the attack language use inline data, and consequently rely on this function.)

This last point is also what I do not like about this design: In order to write a transaction that consumes an UTxO with a datum hash (which I assume will still be the "normal case") you'll have to keep track of the datum on that UTxO yourself, cooked won't help you. But is it safe to assume that we knew this datum when we created the UTxO in the first place? In that case, It would be simple to change the type Either Pl.DatumHash a of transaction output datums to something like
data TxSkelOutDatum a = TxSkelOutDatum a | TxSkelOutDatumHash a

This would have the intended meaning that we always know the full datum while we create the transaction output, but sometimes we only include its hash on the transaction, but remember the complete datum in the MockChainState.
You can see the interface in action in the tests for inline datums.

Here are some feedback / questions about this PR :

The design makes a lot of sense and seems rather logical and straightforward regarding the requirements of the feature
About validateTxSkel requiring an additional argument: I don't understand why. Don't we have access to this map within the MockChain and associated MockChainST ? Making the validation depending on an explicit map that could differ from the one in context seems odd. Most likely, there's something I miss in the challenges that you raise.


New account.upload_video (both local and remote)

It is now possible for accounts to upload videos using the resumable
upload protocol.
This commit does not implement the entire protocol, just the simple
case where the upload "goes through" in one step. Still to be implemented
are the cases in which the upload is actually resumed.

@KieranP good to see you here man!
@KieranP @claudiofullscreen Any plans on implementing chunk uploads to this gem?

@jponc You might want to use the 90seconds gem. It contains a bunch of bug fixes and optimisations. https://github.com/90seconds/yt


Add CI tests for Android

We'd appreciate a PR to add CI tests for Android. Ideally, we are looking for a maintainer that also takes care of maintenance of those jobs and Android support in general.

@d-frey Hi, I didn't see that you are need help for android ....
I can help and also maintain this .... I have a quite good knowledge about android NDK cmake builds ... (see also my bug report in android NDK and cmake ;-) )
For travis in the past I downloaded for every build the android SDK/NDK, you already know I think. I working for a solution to have a already setup docker with the newest SDK/NDK.
Give me some time, I will create a pull request if I'm done with that. We can also talk togheter at the next C++ meetup :-)

Thanks Jörg, I know you are well capable of helping out with the Android builds as you already helped setting them up in the past :) Just for the record: I wasn't unhappy with them, the build speed wasn't the issue why I removed them - of course any improvement is welcome in that area. But the reason for the removal was the switch to C++17 and I couldn't figure out how to update to a new-enough version of Android that has a compiler and standard library version that supports all the C++17 stuff we need.
I'm looking forward to seeing a PR from you and, of course, seeing you in Düsseldorf again! If you are interested and your time permits, we'd be more than happy to make you the official taocpp Android maintainer :)

Oh, and we are still maintaining the 2.x branch for now that is C++11-based. I think the problem there was the switch to xenial that TravisCI? I don't remember exactly, put a PR there would also be welcome if you have time :)

Oh, and we are still maintaining the 2.x branch for now that is C++11-based. I think the problem there was the switch to xenial that TravisCI? I don't remember exactly, put a PR there would also be welcome if you have time :)

Ok, I will do this. Give me somedays, then I create a PR ....
BTW. it compiles for Android NDK r17 / API 24 / arm64-v8a / Clang / c++14 support / libc++ static :-)

Some WIP information ... first working android test build  :-)....

First version are done #178


[prototype] Extend detection result customization

This PR:

Make box_thresh also accessible for end users (same as bin_thresh)
Provide a way to add a hook / multiple hooks in the middle of the pipeline before cropping and recognition
Extend the docs

Any feedback is welcome

@odulcy-mindee I added two points in the docs - as an advanced functionality for manipulation - i think it's better to mention it in the docs instead of producing some overhead to check after each hook that the coords are still relative in the range between 0 and 1 :sweat_smile:

@odulcy-mindee I added two points in the docs - as an advanced functionality for manipulation - i think it's better to mention it in the docs instead of producing some overhead to check after each hook that the coords are still relative in the range between 0 and 1 😅

@dchaplinsky What do you think from a user perspective ? Is it clear enough from the docs that input/output structure needs to be the same and the coords are relative so it needs also to be returned as relative (0-1) or should we add a check for the value range (which would produce a small overhead)

@felixdittrich92 I'm fine with it !

@felixdittrich92 well documented interface is enough. And the output format is dictated by the input format, so it will be strange if someone will receive relative coordinates and return absolute instead.

@felixdittrich92 well documented interface is enough. And the output format is dictated by the input format, so it will be strange if someone will receive relative coordinates and return absolute instead.

Oh believe me i saw a lot 😂


 U: .

 U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1894/1/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 25s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ master Compile Tests _

+1 :green_heart:
mvninstall
4m  4s
master passed

+0 :ok:
refguide
5m 23s
branch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
3m 42s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+0 :ok:
refguide
5m 32s
patch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.

_ Other Tests _

+1 :green_heart:
asflicense
0m 14s
The patch does not generate ASF License warnings.

21m 49s

Subsystem
Report/Notes

Docker
Client=19.03.9 Server=19.03.9 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1894/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/1894

Optional Tests
dupname asflicense refguide

uname
Linux 62280473b363 4.15.0-101-generic #102-Ubuntu SMP Mon May 11 10:07:26 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 9fbf1f30c9

refguide
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1894/1/artifact/yetus-general-check/output/branch-site/book.html

refguide
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1894/1/artifact/yetus-general-check/output/patch-site/book.html

Max. process+thread count
65 (vs. ulimit of 12500)

modules
C: . U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1894/1/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

Left two minor points. Noticed that we have still "TimeStampXXX" over here. I remember that we started to move it to "TimestampXXX" in a few places, but it seems this wasn't finished yet in all places.

I think we had changed most metrics variables names, but this is actually hardcoded test being printed at related ruby files (I guess, admin.rb), in this case. Nevertheless, this doc is describing the output of the command as of now, so we should document how it actually prints the info.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m  0s
Docker mode activated.

-1 :x:
patch
0m 14s
https://github.com/apache/hbase/pull/1894 does not apply to master. Rebase required? Wrong Branch? See https://yetus.apache.org/documentation/in-progress/precommit-patchnames for help.

 U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1894/2/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
3m 57s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ master Compile Tests _

+1 :green_heart:
mvninstall
3m 41s
master passed

+0 :ok:
refguide
4m 49s
branch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
3m 20s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+0 :ok:
refguide
4m 56s
patch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.

_ Other Tests _

+1 :green_heart:
asflicense
0m 17s
The patch does not generate ASF License warnings.

22m 32s

Subsystem
Report/Notes

Docker
Client=19.03.11 Server=19.03.11 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1894/2/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/1894

Optional Tests
dupname asflicense refguide

uname
Linux d6f7f3081589 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 2ecbaf130e

refguide
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1894/2/artifact/yetus-general-check/output/branch-site/book.html

refguide
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1894/2/artifact/yetus-general-check/output/patch-site/book.html

Max. process+thread count
78 (vs. ulimit of 12500)

modules
C: . U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1894/2/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.


Faraday

@jarthod
use faraday instead of httparty
supersedes/includes https://github.com/RipTheJacker/survey-gizmo-ruby/pull/51
not 100% tested yet, but pretty much (like 95%+ tested)

Oh my god you're on fire :fire:
Don't you want write access to the repo ? ^^

Merry Christmas BTW :christmas_tree:

sure write access would be great.
i'm going to step away for the holidays.  don't merge this branch until i run more tests though https://github.com/RipTheJacker/survey-gizmo-ruby/pull/51 is totally good to go.

The biggest change is that now instead of parsing and retrying etc with RestResponse, there's just layers of faraday middleware that handle the decomposition from text->json->reasonableness.
this is well tested but give it til after christmas just so i can let it chug along for a few days; sometimes edge cases crop up

other changes from #51 -

server_has_new_results_since? - bug fix with enumerables (added spec)
Survey#responses method replaces having to call SurveyGizmo::API::Response.all(survey_id: survey.id)
better docs
Answer now has a submitted_at attribute
default number of retries is 1, with a 60 second timeout (enough to recover from a rate limit problem)
minor refactor


OMG Cmake is not installed.

I installed with the installer not the binary and I install VS (not just VS code) and ran npm i then npm i nodegl and it still says it
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c cmake-js build
npm ERR! [
npm ERR!   'C:\\Program Files\\nodejs\\node.exe',
npm ERR!   'C:\\Users\\#####\\Documents\\Coding Projects\\Nyxx\\node_modules\\nodegl\\node_modules\\cmake-js\\bin\\cmake-js',
npm ERR!   'build'
npm ERR! ]
npm ERR! ERR! OMG CMake is not installed. Install CMake.
npm ERR! ERR! OMG CMake is not installed. Install CMake.

I also tried installing cmake-js and it installed fine but still doesn't work.


Emoji support on the frontend

in addition to #6167 we need to handle what emoji looks like for devices that do not natively support emoji
explore this! :mag: :haircut: :100:

I haven't looked into this too closely, but it looks like something like heyupdate/emoji might do the trick.

Closing this as well since #6167 has been closed.


Laravel Mix 6

I found this error when im using laravel mix 6
TypeError: Cannot add property jigsawDone, object is not extensible

@willyw2k, yeah we are working on this in #19. 👍🏻 Hopefully it can be merged soon.

@willyw2k, yeah we are working on this in #19. 👍🏻 Hopefully it can be merged soon.


Remove major version for the database file name ?

We could maybe just launch a rollback START_BLOCK when there is a major version change, like we are launching a reparse when there is a minor version change.

Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.

ACK!

We'd have to store the major version number in the db somehow, however.

yep! so maybe we should include this issue in the v9.49.4? then the setup.py will move an rename the database directly with the final name.

Yeah, I guess. Can you implement and test it?

sure!

Haha! That's an awful hack, but sure. :) It's still much better than using the filename.

:-) ok go for it!

@ouziel-slama, je crois que tu voulais dire "OK, let's go for it". ;)

:-)) yeah thank you! fixed :-)


Bump lumo styles dependency

This change is

I think these version changes should target https://github.com/vaadin/platform/blob/master/versions.json#L176 instead

Closed in favour of https://github.com/vaadin/platform/pull/366


Upgrade to 0.5.8 breaks autofill of date in new post?

I upgraded to 0.5.8 yesterday and now the date input is empty on new post creation instead of auto populating to current date/time. Anyone else seeing this? Or an issue with my update?

The published date doesn't seem to show up even for published posts. I'll look into it.

:+1: Thank you.

Just a note:
It doesn't appear that a new installation is affected. This might be related to upgrading.

Ok. I don't really know how that happened but it seems to work now.
@benheb Can you try clearing your browser cache? I am assuming that an old version of ghost.js was still in your cache.

Appears to have done the trick. Thanks! Closing.


unable to process colcon build on Ubuntu20.04

It seems that a ROS2 error occurs, but I got no idea how to fix that.
(cslam) lsh@lsh-Z370-HD3:~/Swarm-SLAM$ colcon build
WARNING: Package "libg2o" does not follow the version conventions. It should not contain leading zeros (unless the number is 0).
Starting >>> libnabo
Starting >>> gtsam
Starting >>> libg2o
Starting >>> cslam_common_interfaces
Finished <<< libnabo [0.24s]
Starting >>> libpointmatcher
Finished <<< libg2o [0.61s]
Finished <<< libpointmatcher [0.63s]
--- stderr: cslam_common_interfaces
CMake Error at /opt/ros/foxy/share/rosidl_adapter/cmake/rosidl_adapt_interfaces.cmake:60 (message):
execute_process(/home/lsh/miniconda3/envs/cslam/bin/python3 -m
rosidl_adapter --package-name cslam_common_interfaces --arguments-file
/home/lsh/Swarm-SLAM/build/cslam_common_interfaces/rosidl_adapter__arguments__cslam_common_interfaces.json
--output-dir
/home/lsh/Swarm-SLAM/build/cslam_common_interfaces/rosidl_adapter/cslam_common_interfaces
--output-file
/home/lsh/Swarm-SLAM/build/cslam_common_interfaces/rosidl_adapter/cslam_common_interfaces.idls)
returned error code 1:
AttributeError processing template 'msg.idl.em'
****Traceback (most recent call last):
File "/opt/ros/foxy/lib/python3.8/site-packages/rosidl_adapter/resource/__init__.py", line 51, in evaluate_template
  em.BUFFERED_OPT: True,

AttributeError: module 'em' has no attribute 'BUFFERED_OPT'****
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/lsh/miniconda3/envs/cslam/lib/python3.9/runpy.py", line 197, in _run_module_as_main
  return _run_code(code, main_globals, None,
File "/home/lsh/miniconda3/envs/cslam/lib/python3.9/runpy.py", line 87, in _run_code
  exec(code, run_globals)
File "/opt/ros/foxy/lib/python3.8/site-packages/rosidl_adapter/__main__.py", line 19, in <module>
  sys.exit(main())
File "/opt/ros/foxy/lib/python3.8/site-packages/rosidl_adapter/main.py", line 53, in main
  abs_idl_file = convert_to_idl(
File "/opt/ros/foxy/lib/python3.8/site-packages/rosidl_adapter/__init__.py", line 19, in convert_to_idl
  return convert_msg_to_idl(
File "/opt/ros/foxy/lib/python3.8/site-packages/rosidl_adapter/msg/__init__.py", line 39, in convert_msg_to_idl
  expand_template('msg.idl.em', data, output_file, encoding='iso-8859-1')
File "/opt/ros/foxy/lib/python3.8/site-packages/rosidl_adapter/resource/__init__.py", line 23, in expand_template
  content = evaluate_template(template_name, data)
File "/opt/ros/foxy/lib/python3.8/site-packages/rosidl_adapter/resource/__init__.py", line 69, in evaluate_template
  _interpreter.shutdown()

**AttributeError: 'NoneType' object has no attribute 'shutdown'
Call Stack (most recent call first):
/opt/ros/foxy/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:130 (rosidl_adapt_interfaces)
CMakeLists.txt:43 (rosidl_generate_interfaces)**

Failed   <<< cslam_common_interfaces [1.04s, exited with code 1]
Aborted  <<< gtsam [1.68s]
Summary: 3 packages finished [1.96s]
1 package failed: cslam_common_interfaces
1 package aborted: gtsam
1 package had stderr output: cslam_common_interfaces
3 packages not processed
Thanks a lot if you can help!

Did you try changing Python versions?
https://github.com/carla-simulator/ros-bridge/issues/712#issuecomment-1855047272

Your issue is system specific, it is hard to pin point your problem. I suggest that you use Docker to avoid compatibility problems. I recently made this Dockerfile to help people with that https://github.com/lajoiepy/cslam_experiments/tree/main/docker
Good luck!


Notebook: Some markdown cells size is incorrect on editing

Issue Type: Bug
Take the below cell and add as text to a new markdown cell in a notebook. Click out, then double click to edit.
Expected: All lines shown
Actual: Get a scrollbar, a number of lines are hidden.
# Churn Analysis Demo

[**Customer Churn**](https://en.wikipedia.org/wiki/Customer_attrition) also known as Customer attrition, customer turnover, or customer defection, is the loss of clients or customers.

* Predicting and preventing customer churn represents a huge additional potential revenue source for every business.
* The ability to predict that a particular customer is at a high risk of churning, while there is still time to do something about it, represents a huge additional potential revenue source for every online business. Besides the direct loss of revenue that results from a customer abandoning the business, the costs of initially acquiring that customer may not have already been covered by the customer’s spending to date. (In other words, acquiring that customer may have actually been a losing investment.)
* Furthermore, it is always more difficult and expensive to acquire a new customer than it is to retain a current paying customer.
* This solution is...
  * Built on top of Databricks Platform
  * Uses a machine learning **Gradient boosting algorithm** implementation to analysis a Customer Churn dataset
* This demo...
  * demonstrates a simple churn analysis workflow.  We use Customer Churn dataset from the [UCI Machine Learning Repository](http://archive.ics.uci.edu/ml/index.html).

Azure Data Studio version: azuredatastudio 1.4.4 (9ca6200018fc206d67a47229f991901a8a453781, 2017-12-15T12:00:00.000Z)
OS version: Darwin x64 18.2.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz (8 x 2200)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledrasterization: enabledvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
2, 3, 2

Memory (System)
16.00GB (0.37GB free)

Process Argv
/Users/kevcunnane/projects/azuredatastudio/.build/electron/Azure Data Studio.app/Contents/MacOS/Electron . --remote-debugging-port=9222 --no-first-run --no-default-browser-check --inspect=5875

Screen Reader
no

VM
0%

Extensions (2)

Extension
Author (truncated)
Version

sql-vnext
Mic
0.10.0

PowerShell
ms-
1.11.0

I cannot repro. @kevcunnane can you still repro?

This has since been fixed.

Hi @chlafreniere, I'm experiencing that issue on the latest version of Azure Data Studio. The Code cell does not expands to use all lines but instead shows a scrollbar. Can you tell me how to workaround this issue?


Spark: Fixed scheme preservation bug in PathUtils

Summary: Fixed a bug in the PathUtils' prepareDatasetIdentifierFromDefaultTablePath(CatalogTable) method, ensuring the correct scheme preservation from the CatalogTable's location.
Details: Previously, when generating a DatasetIdentifier from a CatalogTable's default path, the scheme (like "hdfs") could be incorrectly set to "file". This fix addresses the issue, ensuring that the proper scheme from the CatalogTable's location is always preserved.
Impact: This fix ensures the accuracy and correctness of the DatasetIdentifier's namespace.
Testing: A unit test was added in PathUtilsTest#testFromCatalogTableShouldReturnADatasetIdentifierWithTheActualScheme
Closes: #2132
Checklist

[x] You've signed-off your work
[x] Your pull request title follows our guidelines
[x] Your changes are accompanied by tests (if relevant)
[x] Your change contains a small diff and is self-contained
[x] Your comment includes a one-liner for the changelog about the specific purpose of the change (if necessary)

SPDX-License-Identifier: Apache-2.0
Copyright 2018-2023 contributors to the OpenLineage project

@pawel-big-lebowski - thank you for the suggested fix! I've gone ahead an implemented the fix. I hope that you don't mind.


Replace hard final with soft, annotation-based @final

I need to depend on ResourceOutputStream, because I rely on methods missing from interface. And I need to mock it for my tests. Hence I am proposing to drop hard final and replace it with annotation based final, which is same strategy Symfony follows. This gives you best from both worlds - you are still not obligated to keep an eye for inheritance based BC issues, but now people can mock it

Well would you be more comfortable with adding new interface for this? Eg. ResourceAwareStream?
Not sure I understand your question. I need to mock instance because that's what class constructor requires. It can't require InputStream interface because method I need is not there.

What does ResourceAwareStream solve? Which methods do you need?
Instead of mocking the InputStream, you could use a socket pair, no?

I need getResource method.
My tests use code like
$output
    ->expects($this->exactly(1))
    ->method('write')
    ->willReturn(new Success())
;

so expecting raw resource is not going to cut it.

I think this is a rather bad test, because it tests implementation details. Instead, I suggest testing the behavior, so e.g.
public function testSomething() {
    [$a, $b] = Socket\pair();

    whenSomethingHappens(new ResourceOutputStream($a));

    thenWrittenStreamContentIs("foobar", new ResourceInputStream($b));
}

public function whenSomethingHappens(ResourceOutputStream $stream) {
    // your implementation here

    $stream->close(); // ensure the stream is closed, so buffer doesn't hang
}

public function thenWrittenStreamContentIs(
    string $content,
    ResourceInputStream $stream
) {
    $this->assertSame($content, ByteStream\buffer($stream));
}

Well it's unit test, it's what it's meant to test. I have integration tests for other things. I need to test precisely write is triggered once only and not more. This is in order to make sure number of read and write calls is not getting out of sync. Getting same end result with different number of these calls than expected would be wrong.

@ostrolucky I would do as @kelunik recommended and use a socket pair to test what is written to the socket is what is expected. If you need the resource, I would also consider passing the resource to the constructor instead of ResourceOutputStream.

I am simulating behaviour that happens when write method returns NULL, that's impossible to emulate with socket pair. You did not present any reason keeping hard final.

The write method should never return null.
These classes all implement an interface. There's no reason to remove final from them – you can always write another class that implements the interface, probably wrapping one of these existing classes.

Sorry, I meant 0. Yes, I can create wrapper, but why am I forced to?


trackpad yet again

while waking the computer from sleep while on charge or after charge while sleeping. sometimes it won't even work after booting up. plus my tracepoint and touchpad buttons aren't working... any fixes? that's probably a problem on my side

@valnoxy can you try to fix this issue?

@valnoxy seems like it best some ssdt and dsdt patching in the ACPI section. I don't see a ssdt with Gpi0 on it...


CAMEL-11044-create list with a single element instead of creating lis…

create list with a single element instead of creating list with asList

Thanks for the fix @onders86, sorry to bug you with the finer details, could you squash those two commits and force push them? Thank you 👍

I think you have accidentally squashed one of Nicolas commits as well 😀 , I've picked only your changes and merged them into master. Thank you for your contribution you can close this pull request 👍

yes i was trying to remove it to fix the commit. as you already picked the right ones, i can close now. thanks. closing.


Translate "Thinking in React"

This is the translated version of Thinking in React. I took some of the translations already available on the Crowdin, with some changes to follow the style guide. I'm going to add some personal notes for the reviewers to look at.

First pass of code review done, mas.

@regalius Okay, done mas.


Planemo Machine as CWL Development VM

[ ] Move Galaxy to /galaxy and add a planemo-machine landing page.
[ ] Include CWL tool as part of the VM.
[ ] Add option to run a stripped down rabbix VM on the machine.
[ ] Add option to add links to CWL documentation and examples to the Desktop.
[ ] Build and distribute (VM, docker interactive, docker server) a variant that:

[ ] Run CWL Galaxy instead of Galaxy
[ ] Enables rabbix.

greati idea!


Error occurs when displaying VC.gltf using PlayCanvas' built-in glTF Loader

Description
I tried to display VC.gltf using PlayCanvas's built-in glTF Loader.
However, there is an error on the console and the model is not displayed.
Previously, when using playcanvas-gltf, it was displayed correctly.
Steps to Reproduce

Display the VC.gltf with playcanvas-gltf
PlayCanvas + playcanvas-gltf + VC.gltf result:
The model is displayed correctly.
Display the VC.gltf with PlayCanvas' built-in glTF Loader.
PlayCanvas built-in glTF Loader + VC.gltf result:
The following error appears on the console and the model is not displayed.

playcanvas-latest.js:43909
Uncaught RangeError: byte length of Uint32Array should be a multiple of 4
    at new Uint32Array (<anonymous>)
    at createVertexBuffer (playcanvas-latest.js:43909)
    at playcanvas-latest.js:44012
    at Array.forEach (<anonymous>)
    at createMesh (playcanvas-latest.js:44009)
    at playcanvas-latest.js:44431
    at Array.map (<anonymous>)
    at createMeshes (playcanvas-latest.js:44430)
    at createResources (playcanvas-latest.js:44482)
    at playcanvas-latest.js:44689

Thanks! I have confirmed that the latest version of PlayCanvas has cleared the error.
PlayCanvas + VC.gltf result:


bower install jsrsasign broken

$ bower install jsrsasign
bower jsrsasign=jsrsasign#~5.0.5       not-cached git://github.com/kjur/jsrsasign=jsrsasign.git#~5.0.5
bower jsrsasign=jsrsasign#~5.0.5          resolve git://github.com/kjur/jsrsasign=jsrsasign.git#~5.0.5
bower jsrsasign#*                          cached git://github.com/kjur/jsrsasign.git#5.0.5
bower jsrsasign#*                        validate 5.0.5 against git://github.com/kjur/jsrsasign.git#*
bower jsrsasign=jsrsasign#~5.0.5          ECMDERR Failed to execute "git ls-remote --tags --heads git://github.com/kjur/jsrsasign=jsrsasign.git", exit code of #128 fatal: unable to access 'https://github.com/kjur/jsrsasign=jsrsasign.git/': The requested URL returned error: 400
Additional error details:
fatal: unable to access 'https://github.com/kjur/jsrsasign=jsrsasign.git/': The requested URL returned error: 400

Works for me. I also get why it is not working for you.. The URL part .../kjur/jsrsasign=jsrsasign.git/' looks pretty off (is not valid). Would be interesting to know how that happens. Can you tell us a bit more about your setup, especially the Bower version and operating system?

Hi Ben
Thank you for your quick answer.
It’s a MacOS 10.9.5
Bower is 1.6.5
npm is 2.14.3
node is 4.2.1
.bowerrc in my project home is :
{“directory”: “app/bower_components"}
I have no .bowerrc in my home directory
I have identified the problem. It's not on the first install, but on the --save. jsrsaasign use his git namespace  to save the module and have a bad saving in the project bower.json
if you try this :
$ bower install jsrsasign --save bower jsrsasign#*               cached git://github.com/kjur/jsrsasign.git#5.0.5 bower jsrsasign#*             validate 5.0.5 against git://github.com/kjur/jsrsasign.git#* bower kjur/jsrsasign#~5.0.5    install kjur/jsrsasign#5.0.5
I retrieved the download in app/bower_components/kjur/jsrsasign. All the other components doesn't use their git namespace.
But worse, the bower.json is broken with this line added :
"kjur/jsrsasign": "jsrsasign#~5.0.5"
Should I report this bug in jsrsasign instead of you ?
Laurent

Yeah, I think that's a good idea, as there is nothing we can really do about this.
Actually everything is working as expected as far as Bower is concerned. For a quick fix you can just remove the "kjur/" part in the dependencies section of your bower.json.
Also, from the docs:
Bower doesn’t support GitHub-style namespacing (org/repo),
however you are encouraged to namespace related packages
with -, for example, angular- and paper-.
```
Fell free to reference this issue.
I'll close for now but will get any follow-up questions. :cake:

For reference. This issue forwarded to :
https://github.com/kjur/jsrsasign/issues/156


Error on load

After I have successfully logged in I get this error.
System.Exception: 'Cannot call /api/forge/session/isvalid'

do you have the localhost server running? Note you need to launch both.

I'm getting the same error (Cannot call /api/forge/session/isvalid).  I have tried setting my solution to start both projects and I have right clicked on "cloud" and started an instance, then right clicked on "desktop" and started an instance.  Same error each time.  I've changed the host to be non secure (http) and that still doesn't work.  How do you start the localhost server?
Snipped from my web.config:

Thanks,
Joe

It appears that this line:
        sessionId = Encoding.UTF8.GetString(System.Web.Security.MachineKey.Unprotect(Convert.FromBase64String(sessionId)));

in HeaderUtils.cs is causing the error.  sessionId is a string before it runs through here but is an empty string when this line executes.  I've tried commenting out this line but then I get a different RESTAPI response error.
Can you please help with this?
Thanks,
Joe

Just tried the sample, works fine, I would suggest you clean the MongoDB database, maybe some data is corrupted and causing this. The sessionId enters this method as NULL, then is set to EMPTY, then the correct value from the cookie header.
I have upgraded the package versions, there is a change on how CefSharp handles cookies, see this line.

This change will read the database name from the connection string:
        private static IMongoDatabase Database
        {
            get
            {
                //Read database as last item on the connection string
                string[] parts = ConfigVariables.OAUTH_DATABASE.Split('/');
                string db = parts.Last();
                if (_database == null) _database = Client.GetDatabase(db);
                return _database;
            }
        }

thanks for the suggestion, @OMH2Share, will add that on the code (it's better 😄 )

fixed

This seems to be the error I came up against.
It was caused by two things:

Dirty database entries added by debugging process.
The MongoDB filter being created, but not actually used.

(The returned database entry was just the first entry found, with an expired DateTime. Getting a refresh token failed as it was for an access token that had long expired. This caused a status 500 return value.)
The fix is to change
var docs = await users.FindAsync(new BsonDocument());
to
var docs = await users.Find(filter).ToListAsync();

thanks @WspDev, makes sense

Thank you @augustogoncalves .
Did you intend to await await on the fix?

such a silly mistake here... thanks!
(push the wrong file)


Static DataFrame output in notebooks is not uncollapsible

After https://github.com/Kotlin/dataframe/pull/480 and https://github.com/Kotlin/dataframe/pull/511 we now have static DataFrame outputs in Notebooks. However, as can be seen in this example,

, nested DataFrames are not rendered and cannot be interacted with. This is because nested JS and iFrames are prohibited in GitHub's rendering of notebooks.
We need to explore whether there's a way to have collapsible DataFrames without using JS. Maybe something like <details> could work?
For example:
urlnamereposmembershttps://api.github.com/orgs/JetBrainsJetBrains
[100 x 37]
urlnamereposmembershttps://api.github.com/orgs/JetBrainsJetBrains[100 x 37][187 x 7]
[187 x 7]

Getting there :)

The ColGroups are more difficult. However, I think we could also reuse part of our normal HTML generator, uncollapse all grouped columns and provide it statically like that.

testing:

apparently in notebooks, Github's rendering engine seems to strip out  and  tags :/

Github really cannot render anything...


Unable to set endDate on change of one datetimepicker

This repo is no longer actively monitor or supported. All future work is being done to https://github.com/tempusdominus/bootstrap-3

Hi, Can you show code of what're doing?

Hi, I'll be closing this as there hasn't been any feedback in more of 8 days, feel free to re open it if there's any doubt


Intellisense completion-db never finishes analyzing step

Ever since I updated PTVS to the latest version in December 2018, the completion db never finishes for my Python.  It gets stuck on "Analyzing numpy" for my Python 2.7 distro.  Consequently, I don't get any intellisense for my own modules because it never reaches them.

Yeah, that doesn't work anymore. You'll need to disable use of databases. We've removed them completely in dev16.
In dev15, check this option and restart VS:
Tools/Options/Python/Experimental/Enable new style IntelliSense

Intellisense appears to be working again after I checked that and restarted Visual Studio.  I still see "analyzing numpy" stuck but I'll avert my eyes.  Thanks!


safely overrides the thread-local ring buffer

see corresponding parsec PR for tl;dr

Branch is outdated. PR is not referenced by a Parsec PR


Is it possible to extend exising API 'vscode.extensions.onDidChange()' to 'vscode.extensions.onDidChange(evntType)'?

I am facing same problem as issue:
https://github.com/microsoft/vscode/issues/103825
AS-IS: vscode.extensions.onDidChange() can only being called in case 'installed/uninsalled/diable/enable' happened.
TO-BE: I can get onDidChange() only in case 'uninsalled' happened.
My application scenario is:

When developer uninsallled my exention, I want to show him a message 'Dear after uninstalled this exention, please be informed you should do xxxx.'
But in case my extension is installed or disabled or enabled, I no need prompt message.
So I need  'vscode.extensions.onDidChange(evntType=para1, extension=para2)' then I can :
if eventType=Uninstlled & para2='MyExtension‘’:
I can do something here;
else //means my extension is instlled/Enabled/Disabled, or any other extensions is Uninstalled/instlled/Enabled/Disabled
I will do nothing here

Thank u.

This is not possible. It is not possible to observe your own extension being disabled while your extension is executing. The reason for that is that uninstalling an activated extension will not uninstall it immediately, it will mark it for uninstalling and will uninstall it next time VS Code starts up.


Update code.json

Updating the code snippet changes to match this figma from UX
https://www.figma.com/file/1voKWfrJTbaRaADhHn0jFX/(IN-PROGRESS)-DEVPORTAL-XXX%3A-Accessibility-Audit?type=design&node-id=3021-15226&mode=dev
Description

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

v8.11.0
GitHub release

Your semantic-release bot :package::rocket:


Enhancement/programming exercise/remove not found message from result details endpoint + refactor result details dialog

Checklist

[x] I tested all changes and all related features with different users (student, tutor, instructor, admin) on the test server https://artemistest.ase.in.tum.de.
[x] ~Server: I added multiple integration tests (Spring) related to the features~
[x] ~Server: I added @PreAuthorize and check the course groups for all new REST Calls (security)~
[x] ~Server: I implemented the changes with a good performance and prevented too many database calls~
[x] ~Server: I documented the Java code using JavaDoc style.~
[x] Client: I added multiple integration tests (Jest) related to the features
[x] ~Client: I added authorities to all new routes and check the course groups for displaying navigation elements (links, buttons)~
[x] Client: I documented the TypeScript code using JSDoc style.
[x] ~Client: I added multiple screenshots/screencasts of my UI changes~
[x] Client: I translated all the newly inserted strings into German and English

Motivation and Context

Currently the result details dialog has no way to handle errors. When the result details calls fails, a generic notFound message is shown that is not helpful to the user.
Description

Removed notFound alert
Refactored result-details dialog
Added loading and no-feedbacks state to result-dialog
Removed duplicated programming result-details dialog

Note: There is still more that should be refactored in future, e.g. the dialog mutation the result object. The main contribution is to only have one dialog here that has a additional state handling.
Steps for Testing

Log in to Artemis
Navigate to Course Administration > programming exercise > view
Open the result-details dialog for e.g. the template participation

Other concerned areas:

result component
interactive instructions

Screenshots

@krusche ready to be merged.


gcc cannot compile static binaries

hacker@practice~reverse-engineering~level1-0:/tmp$ cat do.c
#include <stdio.h>

int main() {
        char *name = "meowmeow";
        printf("hello world! %s\n", name);

        return 0;
}
hacker@practice~reverse-engineering~level1-0:/tmp$ gcc -static do.c
/nix/store/adakqsdbifx7d688z4874ap17clarhfn-binutils-2.41/bin/ld: cannot find -lc: No such file or directory
collect2: error: ld returned 1 exit status
hacker@practice~reverse-engineering~level1-0:/tmp$

Expected behavior
robwaz@fat-boy:/tmp$ cat do.c
#include <stdio.h>

int main() {
  char *name = "meowmeow";

  printf("hello %s!", name);
  return 0;
}
robwaz@fat-boy:/tmp$ gcc -static do.c
robwaz@fat-boy:/tmp$ file a.out
a.out: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linked, BuildID[sha1]=d0fff5f284ade28e16c734982d928d04b7a05201, for GNU/Linux 3.2.0, not stripped
robwaz@fat-boy:/tmp$

https://unix.stackexchange.com/questions/615679/how-to-compile-a-program-statically-on-nixos
This may help with that


Hover Text with Single Task

When adding in the ability to filter by owner, there is the scenario where there may be a single task on the chart. If this is the case, the hover text gets cut off. Please see screenshots attached and let me know if you need any additional detail. Thank you!

Hi @james-hafer,
Could you please check the latest version.

Apologies @MaTeMaTuK I didn't see the update come through. I just tested though and it looks great, thank you!


Rendering Issues

Attach (recommended) or Link to PDF file here:
Configuration:

Web browser and its version: Chrome 115.0.5790.114 (arm64)
Operating system and its version: Mac OS Ventura
PDF.js version: 3.10.54
Is a browser extension:
NACS_BellyBand_Trims.pdf

Steps to reproduce the problem:

open pdf in chrome on mac latest os and latest mac m1/m2 chips

What went wrong? (add screenshot)

What is the expected behavior? (add screenshot)

A layer with some extra peppers shows up on the wrong screenshot
Only a problem in Chrome, not a problem in Safari.
Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):

WFM, using https://mozilla.github.io/pdf.js/web/viewer.html in both Firefox Nightly 118.0a1 and Chrome Beta 116.0.5845.82 on Windows 11.

Web browser and its version: Chrome 115.0.5790.114 (arm64)
open pdf in chrome on mac latest os and latest mac m1/m2 chips
Only a problem in Chrome, not a problem in Safari.

Unfortunately all of this points to a browser/platform-related bug, rather than a PDF.js library one, since otherwise you'd expect it to be consistently broken everywhere. (Also, please keep in mind that Firefox is the primary development target for this library.)
This seem like a canvas-bug that probably needs to be reported to the Chromium developers instead.


Cheatsheet horizontal scrolling

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have validated any HTML to avoid common problems
[X] I have read the contributing guidelines

Describe the issue
Hello,
In the "Cheatsheet" example, there seems to be some padding that causes horizontal scrolling on mobile resolutions.
It might seem like a minor issue, but it can be uncomfortable for many users.
Thank you, and congratulations on your great work.
Reduced test cases
The issue seems to be caused by content overflowing the width of the screen on mobile resolutions. A potential fix is to add the following CSS rule to prevent horizontal scrolling:
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
}

What operating system(s) are you seeing the problem on?
macOS
What browser(s) are you seeing the problem on?
Chrome
What version of Bootstrap are you using?
5.3.3

Thanks for reporting this issue @diafestivo!
I can also confirm the issue with Firefox on macOS.
I've tried a fix with https://github.com/twbs/bootstrap/pull/40799 but which handles only resolutions >= 272px which is kind of small already.
Is it fixing your issue on your side?


Fix varint decoding

Fixes #16
Not enough bytes were being consumed in decoding
Also INT_MIN was decoding as 0

Hi @achaulk, it looks like the tests are failing for Ubuntu, could you fix it?
I would like to use alpaca with std::size_t types which would suffer from this issue if their value is UINT64_MAX.

I don't use this anymore, wrote my own


Flaking test red_knot::file_watching directory_renamed

--- STDOUT:              red_knot::file_watching directory_renamed ---

running 1 test
test directory_renamed ... FAILED

failures:

failures:
    directory_renamed

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 23 filtered out; finished in 0.23s

--- STDERR:              red_knot::file_watching directory_renamed ---
thread 'directory_renamed' panicked at crates/red_knot/tests/file_watching.rs:646:5:
assertion failed: resolve_module(case.db().upcast(),
        &ModuleName::new_static("sub.a").unwrap()).is_none()
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

e.g. https://github.com/astral-sh/ruff/actions/runs/11925007919/attempts/1

Thanks. I think that was now the first time that it flaked and maybe it's related to the depot runner change. I don't plan on investing time unless it flakes more often (because it's very time intensive and mostly impossible to reproduce locally)

Happened again here: https://github.com/astral-sh/ruff/actions/runs/11959330641/job/33340901595?pr=14357

Sort of obvious, but you can reproduce the same error by removing the rename call
--- STDERR:              red_knot::file_watching directory_renamed ---
thread 'directory_renamed' panicked at crates/red_knot/tests/file_watching.rs:646:5:
assertion failed: resolve_module(case.db().upcast(),
        &ModuleName::new_static("sub.a").unwrap()).is_none()
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

   Canceling due to test failure
------------
     Summary [   0.181s] 1 test run: 0 passed, 1 failed, 3609 skipped
        FAIL [   0.181s] red_knot::file_watching directory_renamed
error: test run failed
❯ gd
diff --git a/crates/red_knot/tests/file_watching.rs b/crates/red_knot/tests/file_watching.rs
index 5c2880e0b..236d64b8d 100644
--- a/crates/red_knot/tests/file_watching.rs
+++ b/crates/red_knot/tests/file_watching.rs
@@ -635,8 +635,8 @@ fn directory_renamed() -> anyhow::Result<()> {
     let foo_baz = case.workspace_path("foo/baz");

     std::fs::create_dir(case.workspace_path("foo").as_std_path())?;
-    std::fs::rename(sub_path.as_std_path(), foo_baz.as_std_path())
-        .with_context(|| "Failed to move the sub directory")?;
+    // std::fs::rename(sub_path.as_std_path(), foo_baz.as_std_path())
+    //     .with_context(|| "Failed to move the sub directory")?;

     let changes = case.stop_watch();

or by removing the stop_watch call
--- STDERR:              red_knot::file_watching directory_renamed ---
thread 'directory_renamed' panicked at crates/red_knot/tests/file_watching.rs:646:5:
assertion failed: resolve_module(case.db().upcast(),
        &ModuleName::new_static("sub.a").unwrap()).is_none()
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

   Canceling due to test failure
------------
     Summary [   0.162s] 1 test run: 0 passed, 1 failed, 3609 skipped
        FAIL [   0.162s] red_knot::file_watching directory_renamed
error: test run failed
❯ gd
diff --git a/crates/red_knot/tests/file_watching.rs b/crates/red_knot/tests/file_watching.rs
index 5c2880e0b..12eb698c0 100644
--- a/crates/red_knot/tests/file_watching.rs
+++ b/crates/red_knot/tests/file_watching.rs
@@ -638,9 +638,9 @@ fn directory_renamed() -> anyhow::Result<()> {
     std::fs::rename(sub_path.as_std_path(), foo_baz.as_std_path())
         .with_context(|| "Failed to move the sub directory")?;

-    let changes = case.stop_watch();
+    // let changes = case.stop_watch();

-    case.apply_changes(changes);
+    // case.apply_changes(changes);

     // `import sub.a` should no longer resolve
     assert!(resolve_module(

So one of these two things could be failing (or something in the assertion like resolve_module). It seems dubious that the rename is not working as intended, so it's probably one of the other two?
I'd highly recommend setting up test-log and setting RUST_LOG so you can get some logs on failure. I did this locally to see if there's more context and there's quite a bit of output.

I enabled extra logging in https://github.com/astral-sh/ruff/pull/14533. Please let me know if you see the flake in a future run.


Improve Color Contrast in Night Mode for Better Readability

Related Issue
Improve Color Contrast in Night Mode for Better Readability
Fixes:  #1680
Description
[Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.]

Type of PR

[x] Bug fix
[x] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)
[Attach any relevant screenshots or videos demonstrating the changes. Make sure to attach before & after screenshots in your PR.]
Checklist:

[x] I have made this change from my own.
[x] I have taken help from some online resources.
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers and screenshots after making the changes.

@Bhupendrakumar20 Please see the conflicts . Resolve the conflicts . Ensure you pull all the latest changes before pushing your feature/bug fixes to the main branch. After resolving the conflicts, please open a new PR for review.
Thank you!

sure @PriyaGhosal !!


Bigquery createQueryStream broken in 5.9.1+ for large query after set options update

Environment details

OS: Any (macOS, debian nodejs container)
Node.js version: 14
npm version: 8
@google-cloud/bigquery version: 5.9.1+

Steps to reproduce
Query using createQueryStream and pass a Query object containing

query:  a large SQL string
params: an object of params

Server replies with 400 Bad Request without many details.
Root Cause
The issue was introduced in PR #999 and specifically in this commit: https://github.com/googleapis/nodejs-bigquery/pull/999/commits/48d9a1527d2a921382a9efc40a20e2fbd4c1460a
In line 2011 the whole query object is used as options which is not correct. This should be de-structured to exclude the query and params properties. I am not 100% sure what happens at the server side but I'm guessing the size of the request becomes too large when you pass the complete query object as well as the query and params properties contained within the options.
In the old version ...
    queryAsStream_(query, optionsOrCallback, cb) {
        let options = typeof optionsOrCallback === 'object' ? optionsOrCallback : {};
        const callback = typeof optionsOrCallback === 'function' ? optionsOrCallback : cb;
        options = query.job
            ? extend(query, options)
            : extend(options, { autoPaginate: false });
        if (query.job) {
            query.job.getQueryResults(options, callback);
            return;
        }
        this.query(query, options, callback);
    }

In our case we are hitting the line this.query(query, options, callback) and in the old version the query param had our original query, the options param had {autoPaginate: false} and the callback was passed.
In the 5.9.1+ version when we call this.query(query, options, callback)  the query param contains the original query object, the options param contains too much {autoPaginate: false, query: 'MY LONG SQL QUERY', params: {allMyParams: 'vals'} } ... hence you see the problem
This is a breaking change that is preventing us from upgrading beyond 5.9.0
I can confirm that this issue does not occur when I supply a Query object containing one of our smaller SQL strings for the query property, hence why I think the 400 Bad Request from the server is due to request size.

@mbyrne00 Thank you for bringing this case to my attention. I'm working on a fix now.

Hey @steffnay - thanks for looking into this ... I added some comments to the commit. Hope they help.

Hi @steffnay - did you have a chance to look at my comments on the commits yet? Would love to get this fix in a release so we can upgrade again if possible. The code update was mutating a supplied object - some simple fix suggestions

@mbyrne00 No, can you link to where you commented, please?

Hey @steffnay - my comments are at the bottom of this page: https://github.com/googleapis/nodejs-bigquery/pull/1045. Here's a
Mutating parameters is an obscure bug waiting to happen. For example if someone used this lib like so they would get unexpected results (I wouldn't call it this way but someone could rightly do so).
import { BigQuery } from "@google-cloud/bigquery";

const bigQuery = new BigQuery();
const options = {
  query: "SELECT * FROM person WHERE age = @ageParam",
  params: {
    ageParam: 18
  },
  maxResults: 10
};

const results1 = bigQuery.createQueryStream(options);
// ... do something with results1
// BAD: unknown to us options has been mutated and has maxResults stripped out

options.ageParam = 21;
const results2 = bigQuery.createQueryStream(options);
// ... <unexpected> ... results2 can won't be limited to maxResults of 10

@mbyrne00 Thanks, I think I couldn't see them because they're pending. I am not observing the behavior you described. When running your sample code, the options.maxResults value persists in the second bigquery.createQueryStream call.

Hey @steffnay - no probs, sorry. I see you've used that convention elsewhere too. I had troubles finding the cqs-update branch from your forked repo to look much further, so I'd say to just merge it all and I'm sure it's fine. I'll pull from main and if I can prove anything I'll file a separate issue.


[Feature] Send email action

My original plan was to provide an email action to fastlane. There are many examples why this might be useful:

Teams not using Slack
sending of finished framed screenshots to the marketing team
sending an email after an App Store release was successful.
Or an email with the link to the S3 Distribution download page

I stopped working on it, when I noticed, I'd need a mail server.
Thiago now told me, we could integrate http://www.mailgun.com/ :+1:

This is now implemented


EM27 sensor requests should not be done on the main thread

It means the GUI will hang while waiting to hear back from the EM27, which could be up to 2 secs before it times out.
We can probably reuse some of the code from hardware.opus.em27 for this.

Actually, we might be able to do this with Qt classes directly rather than requests: https://doc.qt.io/qtforpython/overviews/qtnetwork-http-example.html


Analysis of opensearch go client and changes needed

Descriptions
Analysis of opensearch and need to understand task and work needed.
Acceptance
List down

https://progresssoftware.sharepoint.com/:w:/s/ChefCoreC/EXl6Xak-qlNHp_dp81kl-o0ByxOP3eSprc6rWK6yaFKQJw?e=0yiFFj


Remove asterisk when searching with search engine

Is it possible to make the extension automatically remove the asterisk symbol from the search bar when none of the bookmarks satisfy the search and you want to search with google instead? In present case google searches for "* " while with this enhancement it would just search for "keyword".

Yes, this would be excellent!


Remove HttpResponse.BodyHandlers.ofFile(Path) from banned method list in Java 21 signatures

Followup of #214, this method must be removed in signatures files for Java 21.

Actually the fix is even backported to 17.0.7: https://bugs.openjdk.org/browse/JDK-8299353

That's fine, but it is still not recommend to use that function. Because if you develop a library you do not know which version java runs on.


enhancement: allow rendering links in chat widget

We would love to be able to show (hyper)links in the chat widget. One simple solution would be to use remarkable or similar markdown library.
@znat how would you feel about this?

Hi @amn41
We're planning on doing it soon. We're focusing now on making it more react embeddable, and this is next

awesome, glad to hear it! yeah also happy to make contributions here, just wanted to check first what you thought.
Does it make sense for us (Rasa) to create a PR for this one?

@amn41 what we had in mind was a simple highlight of existing links. Similar to what happens in Messenger. if you type www.something.com in a message, then it becomes a link. What you seem to suggest is the possibility to create a link with a text different from the URL it's pointing to. Correct?

Yes but that’s not essential. I think highlighting is sufficient :)

@TheoTomalty : adding you to the conversation. @tmbo thanks for the suggestion I like the idea of linkifyjs


package request: mirage: new matrix client

Project description

A fancy, customizable, keyboard-operable Qt/QML+Python Matrix chat client for encrypted and decentralized communication.

https://github.com/mirukana/mirage

homepage URL: https://github.com/mirukana/mirage
source URL: https://github.com/mirukana/mirage
license: mit, bsd, gpl2+ , ... lgpl3
platforms: unix, linux, darwin, ... linux

It builds the Qt portion, but I haven't added any of the python bits and nothing happens when you start the app. But it's a starting point: https://github.com/colemickens/nixpkgs/commits/nixpkgs-mirage


February Newsletter

Deadline
Try to send out beginning of week 27th of February
What needs to be done?

[x] Draft newsletter: include invites to meet-up session and seminar and link to podcast
[x] Interview community member for spotlight
[x] Review
[x] Send!
[x] Upload to GitHub

Potential topics

Upcoming community meetup on March 2nd (#451)
Plans for submitting to EU CS prize (#434)
Interview with a contributor (@helendduncan would you be up for it? :))

@BrainonSilicon Do you have any other topics in mind?

And sent out ✅


doc: Record the steps used to reset the server database

I have run exactly the steps added in server-administration.md on the
production machine (they were recorded contemporaneously as I was doing
them). Production is now serving the offset-test sequences with the
correct offsets.

OK, this and #124 are installed and running in production, bringing us up-to-date at the moment.


Allow user-set UIBlurEffectStyle.

I needed to use a dark blur instead of the light. Added in a custom option, but had to pass it through the constructor since the UIVisualEffectView is setup on init.

Good work! Thanks!


Investigate pex

https://github.com/pantsbuild/pex
May or may not be useful.
Reference:
https://github.com/lineageos4microg/update_verifier/issues/2

Maybe useful for another plugin? This is about (mini)conda, but I do see potential for multiple Python-specific linuxdeploy plugins which use different backends.


Feature request: block ability to share/copy or open in Safari/Chrome current link

Hi. I'm using this plugin for displaying some content and I face cases when I need to block the ability for share opened link(copy URL, share it by browser tools or open URL in Safari/Chrome). As I know, Chrome custom tabs have tools to deprecate sharing the opened URL. Unfortunately, can't say something about Safari or WKWebView (I don't have experience in develope for iOS)
So, I think it's gonna be a good feature for improving plugin functionality and security improving.
Thanks for attention.

Please Google if that's possible with SafariViewController. If so, it will be possible with this plugin as well, so reopen with a link to your findings.


[5.0] [String] CJK Grapheme breaking fast-paths for fullwidth

Cherry pick of https://github.com/apple/swift/pull/20653

@swift-ci please test

@apple/swift5-branch-managers
This is an important and low-risk performance improvement to the processing of strings, especially Chinese and Japanese text. It is not hard-required for any particular beta, would be nice to have sooner rather than later.


What aggregation type do predicted spectra have?

Right now, when we record a spectrum as MS:1003074|predicted spectrum, we don't  have a natural MS:1003065|spectrum aggregation type to go with it.
Should we treat predicted spectrum as a form of aggregation as well, or should it also be paired with MS:1003067|consensus spectrum or something else (if it's randomly sampled?)?

hmm, tricky, I'm thinking maybe just paired with consensus spectrum, since they will be used like consensus spectra?

decided to add a parent to predicted spectrum to allow it to appear  in bother places.

This is done in PR here: https://github.com/HUPO-PSI/psi-ms-CV/pull/325/files


Adding multiple documents breaks things

I followed the documentation for adding a new field in order to upload documents to a model.
https://bullettrain.co/docs/field-partials/file-field#example
Specifically this part:

The only part I changed is to put it on a Staff model instead of a Post model.
rails generate super_scaffold:field Staff documents:file_field{multiple}
This works initially:

Run the migration
Load the app
Open the form
Upload a document

Yay!
But then I re-open the form (edit action) and try to update again.

Was I supposed to add another column? If so - what type of column should I add?
Expected behavior:
I would expect that when following step by step in the documentation that I should be able to save the object.
What really happened:
It blew up looking for a column I wasn't aware of :/
Can anyone fill me in about this documents_removal field? What kind of field is expected to be there?
Did I miss a step somewhere?

@awortham I just tested this and it's working like I'd expect. (Though we do need to clean up the docs a little to remove some unnecessary bits.)
I did this:
rails generate super_scaffold Project Team name:text_field
rails db:migrate
rails generate super_scaffold:field Project documents:file_field{multiple}
rails db:migrate

That left me with a Project model that looks like this:
class Project < ApplicationRecord
  # 🚅 add concerns above.

  attr_accessor :documents_removal
  # 🚅 add attribute accessors above.

  belongs_to :team
  # 🚅 add belongs_to associations above.

  has_many_attached :documents
  # 🚅 add has_many associations above.

  # 🚅 add has_one associations above.

  # 🚅 add scopes above.

  validates :name, presence: true
  # 🚅 add validations above.

  after_validation :remove_documents, if: :documents_removal?
  # 🚅 add callbacks above.

  # 🚅 add delegations above.

  def documents_removal?
    documents_removal&.any?
  end

  def remove_documents
    documents_attachments.where(id: documents_removal).map(&:purge)
  end

  def documents=(attachables)
    attachables = Array(attachables).compact_blank

    if attachables.any?
      attachment_changes["documents"] =
        ActiveStorage::Attached::Changes::CreateMany.new("documents", self, documents.blobs + attachables)
    end
  end

  # 🚅 add methods above.
end

The scaffolding command added a line for attr_accessor :documents_removal as well as a few methods related to setting and removing documents.
Can you give this another try and see if it does the same thing for you? If it doesn't seem to work, can you check the output of the super scaffolding commands to see if it throws some kind of error about not being able to make the changes to your model?

Ok - I think what happened is that I had removed some of those commented lines.  I didn't realize that bullettrain looks for those to know where to place them. So it seems to silently not add them if it doesn't find what it's looking for.
I should have left those in place.

Thanks for following up, @awortham! Those comments are definitely important. It looks like we should handle this situation better. I'd expect that we should throw an error if we can't find the target comments, but we currently just fail silently. I've opened #1753 to track that particular issue, and I'm going to close this one.