Add JNB 107 to optimize and quantize the OMZ object detection models yolo-v4-tf and ssd_mobilenet_v1_coco

JNB 107-quantize-omz-object-detection-models which is a merge of and supersedes the previous 107-quantize-omz-model-ssd_mobilenet_v1_coco and 108-quantize-omz-model-yolo-v4-tf JNBs.

Note that runs on Windows are failing due to timeouts due to omz_quantizer taking more than 2000 seconds.  It is expected to be slow for the yolo-v4-tf model which is the default.  Option may be to make the ssd_mobilenet_v1_coco model the default since it, at least for build purposes, will run faster.

Thanks @trexdog ! I would like the SSD model to be the default. I'm going to look into making the test run faster for this notebook, but this would help for now, and It is nice for users too if the first time they run the notebook it runs faster.

@trexdog is there something wrong with the labels? The airplane is detected as a bus:

And the accuracy seems really poor:

The detection for the ssd_mobilenet_v1_coco model is poor, look at the OMZ site which states "coco_precision 23.3212%".
Try the other images, some are better than others.

I mixed up the error with what was common, there was actually an off-by-one error from merging the two JNBs which each have different class offsets.  Many of the plane pictures do get identified as buses, but the one chosen does get identified correctly.  The plane should now be labeled "airplan" due to the text in the OMZ labels file.  The bear and elephants should be correct too.


Feat: Add [STATestMethod]

Relates to #2688

[STATestClass] and [STATestMethod] attributes are still not recognized. I'm using latest stable MSTest 3.5.2 and Visual Studio 2022 17.11.0. Do I need something else?

They will be included in 3.6.0, we can release a public preview version if you are interested.

Thank you for the quick reply. I can wait for 3.6.0. But please document in https://learn.microsoft.com/en-us/dotnet/core/testing/unit-testing-mstest-writing-tests-attributes that [STATestClass] and [STATestMethod] are available "starting with MSTest 3.6", as with the CooperativeCancellation property.

@MWinhard that's valuable feedback, thank you. I am addressing it here https://github.com/dotnet/docs/pull/42330


Fix broken commands

As I started implementing the SOLID design principles, many many changes had to be done, thus changing the core structure of the library, in turn causing most commands to stop functioning.
This has to be fixed ASAP.

Fixed most of the supposed broken commands.


Can't acess spring cloud app after deploying

I am unable to access the spring cloud app I deployed using this terraform config. The test endpoint is showing 'connect failed' is there a way to fix this.

@kriation  yes I have been able to resolve the issue. I hadn't deployed the public  app gateway, and was trying to access the app with a private link.


Split user-data into separate files for each service

See https://github.com/deis/deis/pull/3716#issuecomment-106017374
Basically, the user-data file is unruly. Adding new units or files to this is difficult to manage.
I'd like to explore creating a new Makefile target like combine-user-data which would simply combine all of these files together. make discovery-url could depend on this target before it replaces the discovery URL.
Note that we need to be careful that we don't break the provision scripts in this. I think we should be fine as long as we still ensure users are running make discovery-url before running the provision scripts, since this target would also combine the user data pieces.

I was thinking of a directory structure like:
contrib/coreos/units/stop-update-engine.service.yaml
contrib/coreos/files/run-deis-bin-preseed.yaml
...

I agree that this would make maintenance a bit easier, however the generated user-data file would still be huge, which doesn't feel like we're solving the real issue... but I don't have a better solution, so I probably can't say much :)

one problem with putting too much logic in user-data is that it doesn't get updated when upgrading deis releases, unless I am mistaken....

it doesn't get updated when upgrading deis

You're exactly right, and it is a big reason user-data is problematic for config management.

the generated user-data file would still be huge

True, but if the user never sees it, it probably doesn't matter how big it is ;) Making changes in the codebase is the real pain currently.

it doesn't get updated when upgrading deis

You're exactly right, and it is a big reason user-data is problematic for config management.

Absolutely. Just not sure there's a better solution currently. :(

I apply some networking and other config in my user-data so I'd still have to maintain a big file :(

:+1: I do the same and maintaining the user-data is getting a bit heavy

Since coreos-cloudinit accepts a URL for the location of cloudconfig, maybe we can have the 'bootstrap' user-data just contain a unit that downloads a public cloud-init (released and maintained artifact alongside w/ deis, deisctl and unit files) for bootstrapping all the things that deisctl needs to properly install deis.

One potential problem with that is that the etcd discovery URL needs to be included in the etcd section of the userdata.  That means userdata is custom for each cluster.  We couldn't use URL that points to static userdata.  Something more complex would be required.

I can see the problem with that.
But since user-data would be split anyway, the more static parts can be moved. The the static parts seems to be the bulk of the content now now so the management of that can be simpler.
I'll check if I can make some prototype pull request. I'm thinking something along the lines of
coreos:
  etcd2:
   # ... normal things you put here
  fleet:
  #  ...

  units:
    name: bootstrap-deis.service
    content: |
       [Service]
       Type=oneshot
        ExecStart=/usr/bin/cloud-init -from-url=http://deis.io/all-the-big-things-that-used-to-be-in-user-data.yml

Are there tests for the user-data stuff that I can validate against when attempting to do this refactoring?

Only the integration tests would cover that.

@aespinosa to explain a little further, you can try running through the steps at http://docs.deis.io/en/latest/contributing/testing/, specifically test-integration-aws.sh which is what is run against all pull requests on https://ci.deis.io/. That would help you validate that the cluster is up and operational :)

this isn't something we will able to get for the LTS release. The user-data should be okay to manage while maintaining a few more releases during the LTS, and provisioning Deis v2 will be on a vanilla kubernetes cluster so the user-data is going away. I'm going to go ahead and close this. Thanks!


Reference to cite the algorithms and scripts

Hi!
I am preparing a research proposal that focus on tools to monitor water quality in lagoons and estuaries and I found these scripts. I would like to know the reference paper / manuscript you wrote, because I did not find the one that is on README.md
All the best!

Hi @KMarkert !
Thank you very much.

Hi @KMarkert !
Thank you very much.


Some SQL server syntax does not support parsing

Hi,
I found it unsupported when parsing part of SQLServer syntax.
example:
1,  select [id],[name],[age] from [Student]
Because the column name contains the special symbol "[" or "]"
2,  declare @flag int
set @flag = 1
Because the column name contains the special symbol "@" in SetStatement
3,  begin
...
end
This syntax is not supported
4, use LibName
go
...
go
This syntax is not supported

Greetings.
Please use the latest JSQLParser 4.5 or better JSQLParser 4.6 Snapshot since all the Syntax are supported.
Please refer to https://manticore-projects.com/JSQLParser/usage.html#define-the-parser-features for activation of T-SQL Squared Bracket Quotation.
If you still face challenges, then please provide the specific query, shortened/simplified as much as possible.

Yes, I'm using version 4.6

eg：
select [id],[name],[age] from [Student]

Please activate SquaredBracket Quotation.

Thank you. I'll try

Thank you. The question has been solved
But I also have problems using this syntax

SET @localVariable  is likely not supported.
You would either need to contribute a PR or sponsor the implementation.

I will apply to the company

Hi,
Is the combination of BEGIIN END and IF not supported

Greetings.
Please refer to https://manticore-projects.com/JSQLParser/_static/JSqlParserCC.xhtml#Block

Begin End Blocks of statements are supported

IF ELSE Statements are supported

However, your example of  IF ELSE with BLOCK  is not supported.
It would depend on a major rewrite and/or refactoring since those constructs are MS SQL Server specific.

非常感谢，我找下其他方法解决此问题

Thank you very much. I will find another way to solve this problem

I will provide a correction and improvement in the evening. On 6 Dec 2022 07:32, SconyHui @.***> wrote:
Thank you very much. I will find another way to solve this problem
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

@manticore-projects Did he sponsor the set improvement?

@manticore-projects Did he sponsor the set improvement?

No. :(
But I have to parse some MS SQL Server scripts for myself and so I did not mind.


TensorBoard showing nothing!

I am trying to run the example in my Linux machine (Ubuntu 14.04):
tensorflow/tensorflow/examples/tutorials/mnist/mnist_with_summaries.py
First, I type "python mnist_with_summaries.py" in command line. Everything looks good.
Then following the tutorial, I type "tensorboard --logdir =/tmp/mnist_logs". Following message appeared.
WARNING:tensorflow:Unable to read TensorBoard tag
Starting TensorBoard  on port 6006
(You can navigate to http://<IP_ADDRESS>:6006)
Then I visit "http://<IP_ADDRESS>:6006" on Chrome,  nothing appears except:
" No scalar summary tags were found.
Maybe data hasn't loaded yet, or maybe you need to add some tf.scalar_summary ops to your graph, and serialize them using the tf.training.summary_io.SummaryWriter.  "
I checked /tmp/mnist_log/, there is an event file named "events.out.tfevents.1457371474.rdii-Alienware-X51". Why nothing shows up on my TensorBoard ?  Please help me!

I just ran this locally on my machine and it worked. Could you upload the events file so I can see if I can reproduce it? Also, how large is the events file? it should be around 1MB.

 Specifically, I think TensorBoard is never detecting that the file exists, and so isn't loading anything. However, I can't reproduce this behavior on my Mac or Linux.
Can you please help me explore this issue by doing the following:

Let's just verify that the bug still reproduces if you build from source.

Clone the TensorFlow repository
Checkout the branch r0.7
run ./configure (no need to put in GPU support)
bazel build //tensorflow/tensorboard:tensorboard
./bazel-bin/tensorflow/tensorboard/tensorboard --logdir=/tmp/mnist_logs
Note: make sure the logdir is an absolute path, not a relative path. I think there is an issue with relative paths, let's disambiguate between them.

If TensorBoard is still broken, let's add some debugging statements into tensorflow/python/platform/default/_gfile.py, which is the file that contains the interface between TensorBoard and the filesystem. We can test my hypothesis that TensorBoard isn't loading the right paths by adding some print statements in the following functions:
ListDirectory (line 353): print the directory, and the files
Exists (line 250): print the path, and whether it exists
IsDirectory (line 255): print the path, and whether it is a directory
Let's also check the subdirectories generated by TensorBoard:
go to line 194 of tensorflow/tensorboard/tensorboard.py and print out the subdirectories
Once you've added these statements, rebuild tensorboard (as above) and rerun it.
Can you please try this and let me know what gets printed?
Also, feel free to ping me via Google Hangouts at<EMAIL_ADDRESS>or<EMAIL_ADDRESS>and I'll help debug this synchronously.
Thanks for your help! Let's fix TensorBoard :)

I'm also having this problem. I'm on Ubuntu 15.10 and Python 3.4.
WARNING:tensorflow:IOError [Errno 2] No such file or directory: '/usr/local/lib/python3.4/dist-packages/tensorflow/tensorboard/TAG' on path /usr/local/lib/python3.4/dist-packages/tensorflow/tensorboard/TAG
WARNING:tensorflow:Unable to read TensorBoard tag
Starting TensorBoard  on port 6006
(You can navigate to http://<IP_ADDRESS>:6006)
Nothing shows up on Tensorboard pages.

Experiencing the same problems, setup:
Ubuntu 14.04.4
Tensorflow version 0.7.1
I believe my events file is okay, made sure to flush(), running in chrome, tried uinstalling tf and reinstalling, messed with aliases and stuff in the path to events directory. Tried all these things but getting same errors and lack of anything in tensorboard.
If there is anything I can do to help you guys figure it out, let me know.

Previously, I used pip to install TensorFlow. The TensorBoard shows nothing.
Today I try to build from the source. Then TensorBoard did works!
I am trying to pip install on another Linux machine to make sure that "pip install" can reproduce the problem.
I will let you know if I can reproduce that problem with pip installation.

Well, I tried pip installation on another Linux machine, seems everything magically worked!

Mine was a pip installation and I am not seeing anything on tensorboard.

Did you make sure you have typed right path to the events file directory ? I find that sometimes I just miss typed.
If not working, try to build from the source I guess...

I pip installed the nightly binary and tensorboard looks to be working now for me. Maybe this is something that has been fixed?

Some more data:
I tried repro'ing this issue with the given events file.
Building tensorflow from scratch, tensorboard was working as expected.
Doing a pip install on my Ubuntu 14.04 machine, tf 0.7.1, I was able to see the issue (no graphs showing up in tensorboard).
When I pip uninstalled and reinstalled tensorflow, tensorboard started working as expected.

I had this problem, but was specifying my path as "~/path/to/logs" -- once I swapped out "~" for the absolute path to HOME, it worked fine.

I am having this same issue on debian8.
Standard python3 install, sudo apt-get install pip3, sudo pip3 install <tensorflow cpu 64bit>
Ran the mnist with summaries, did
tensorboard --logdir=/tmp/mnist_logs --debug
And its correctly finding the 1.1MB events file
DEBUG:tensorflow:No more events in /tmp/mnist_logs/events.out.tfevents.1460670145.Moko
INFO:tensorflow:No path found after /tmp/mnist_logs/events.out.tfevents.1460670145.Moko
DEBUG:tensorflow:No more events in /tmp/mnist_logs/events.out.tfevents.1460670145.Moko
INFO:tensorflow:No path found after /tmp/mnist_logs/events.out.tfevents.1460670145.Moko
INFO:tensorflow:Multiplexer done loading. Load took 0.6 secs
Navigating to localhost:6006 gives me the tensorboard dashboard, but thats it. no graphs or anything.

I should add my 2 cents here. I am experiencing pretty much the same issue, although my error message is a little different.
tensorboard --logdir /tmp/mnist_logs WARNING:tensorflow:IOError [Errno 2] No such file or directory: '/usr/local/lib/python2.7/site-packages/tensorflow/tensorboard/TAG' on path /usr/local/lib/python2.7/site-packages/tensorflow/tensorboard/TAG WARNING:tensorflow:Unable to read TensorBoard tag
In fact, that TAG directory/file is indeed not present on my filesystem.

I have the same TAG error, but as far as I understand that is just used for debugging which is why its only a warning not an error.

@DM - So does the tool actually work for you with this error?
I was able to find this issue which seems related - https://github.com/tensorflow/tensorflow/issues/530
Based on the recommendations in that issue I was able to run tensorboard from
the bazel-bin directory without receiving the TAG warning, however no events are showing up in the dashboard.

@llevar - I'm surprised that you are getting a valid response for the graph if you issue it from the browser, but the dashboard is showing nothing. (Just to be clear, this is also the "graph" dashboard that is showing nothing, i.e. if you click "graph" in the top right of the screen.)
Can you try with TensorBoard from rc0.8 and see if this still happens? Also, are you getting any 404s on the console in the TensorBoard frontend?

Re: the missing TAG file - that is not particularly important, and should be fixed in 0.8.

@danmane - All the tabs are empty. Looking at the page with Dev Tools in Chrome it looks like the CSS stylesheet is missing from the deployment directory for some reason. And indeed the GET call for it results in a 404
WARNING:tensorflow:IOError [Errno 2] No such file or directory: '/usr/local/lib/python2.7/site-packages/tensorflow/tensorboard/lib/css/global.css' on path /usr/local/lib/python2.7/site-packages/tensorflow/tensorboard/lib/css/global.css
<IP_ADDRESS> - - [15/Apr/2016 21:01:43] code 404, message Not Found
<IP_ADDRESS> - - [15/Apr/2016 21:01:43] "GET /lib/css/global.css HTTP/1.1" 404 -

I get this message not matter whether I run tensorboard from the pip package installation dir or from bazel-bin. After the 404 are a bunch of javascript errors but I'm assuming they are there because of the missing stylesheet.

OK, this was a known issue in the original 0.8 release candidate, but it was fixed by #1926 two days ago. Is it possible that your code is 2 days out of date?

Well, I have the 0.8 RC 0 tag checked out but the package that gets built is named tensorflow-0.7.1-py2-none-any.whl  for some reason, so I'm not quite sure what's going on there.

@llevar Thank you very much for that report, that's super important that we don't release a broken python package with r0.8. I'll make sure this gets fixed shortly.

@vrv @martinwicke Can you guys shed any light on why this file would be missing from the pip package? I'm not very familiar with that part of the codebase.
It looks like the pip_package BUILD file just references tensorflow/tensorboard as a directory, so I'm confused how it would skip the css file.

globs only go down to the directory that contains the next BUILD file, and
then they stop descending into the tree. You can blame me, because I added
many more BUILD files to the opensource tree, including one in lib/ which
now prevents the frontend rule to include anything in lib/ via its glob.
It's still a bit surprising to me because lib/BUILD does have all_files,
but it may be that you have to depend on tensorboard/lib as well now that
it has its own BUILD file.
On Sat, Apr 16, 2016 at 2:23 AM Daniel W Mane<EMAIL_ADDRESS>wrote:

@vrv https://github.com/vrv @martinwicke
https://github.com/martinwicke Can you guys shed any light on why this
file would be missing from the pip package? I'm not very familiar with that
part of the codebase.
It looks like the pip_package BUILD file just references
tensorflow/tensorboard as a directory, so I'm confused how it would skip
the css file.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/tensorflow/tensorflow/issues/1421#issuecomment-210780370

Any plans for a fix? I'd love to be able to use tensorboard.

@llevar, what worked for me is copying the global.css file from this git repository to the location listed in the error log in your earlier comment.  That is, I copied global.css to where tensorboard was looking for it on my system: /usr/local/lib/python2.7/dist-packages/tensorflow/tensorboard/lib/css/.
From your earlier comment, it looks like you might want to copy that global.css file to the following location on your system: /usr/local/lib/python2.7/site-packages/tensorflow/tensorboard/lib/css/.  Also, you will probably need to create that css directory first.

Thanks @romanows! That makes sense. This should be part of the official installation instructions until they fix the bug. :-)

The bug should now be fixed at r0.8 head. This will move to master as well
soon.
On Tue, Apr 19, 2016 at 05:14 Sergei Iakhnin<EMAIL_ADDRESS>wrote:

Thanks @romanows https://github.com/romanows! That makes sense. This
should be part of the official installation instructions until they fix the
bug. :-)
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/tensorflow/tensorflow/issues/1421#issuecomment-211888781

@llevar: On current head I've built & used pip packages on both MacOSX and linux and found that the css file was included properly.
Going to close this issue, please re-open it if you continue to have issues (or open a new issue, this one has become very cluttered)

Confirmed working for me on r0.8 head. Thanks for looking into this.

Reinstalling from master did not solve the problem for me (OSX),   downloading and adding  /css and /js from source to   /usr/local/lib/python2.7/site-packages/tensorflow/tensorboard/lib/ did though as previously mentioned

Yep, @ragulpr's fix worked for me on Mac.

Upgrading from TF 0.7 to TF 0.9 on my Mac solved my problem. Despite tensorboard still shows the TAG warning, there is no problem with visualization.

It looks like it's looking for this file: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/tensorboard/TAG
which (in my case) was actually not present in the /tensorboard directory.
After creating a file called "TAG" with the content "22" (which was the content in the master branch when I looked it up) everything worked fine.

I also had the same TAG issue:
WARNING:tensorflow:IOError [Errno 2] No such file or directory: '/Users/Qihong/anaconda/envs/tensorflow/lib/python2.7/site-packages/tensorflow/tensorboard/TAG' on path /Users/Qihong/anaconda/envs/tensorflow/lib/python2.7/site-packages/tensorflow/tensorboard/TAG WARNING:tensorflow:Unable to read TensorBoard tag
michaelosthege said that this can be resolved by downloading that TAG file, but can someone explain what's the purpose of that TAG file? What is the number in the file?

By the way, downloading that file didn't work for me. My issue is that the Tensorboard is slow at responding: after the new event file is created for 15 minutes, it is still absent on the Tensorboard page. It sometimes magically appears after a while but I couldn't find a pattern. Sometimes, it assigns the wrong label (defined by the directory name of the event file) to the plotted curves.

The tag file has no purpose other than displaying a version number at
startup. The missing tag file can be ignored.
On Fri, Aug 5, 2016 at 9:25 AM QiHong Lu<EMAIL_ADDRESS>wrote:

I also had the same TAG issue:
WARNING:tensorflow:IOError [Errno 2] No such file or directory:
'/Users/Qihong/anaconda/envs/tensorflow/lib/python2.7/site-packages/tensorflow/tensorboard/TAG'
on path
/Users/Qihong/anaconda/envs/tensorflow/lib/python2.7/site-packages/tensorflow/tensorboard/TAG
WARNING:tensorflow:Unable to read TensorBoard tag
michaelosthege said that this can be resolved by downloading that TAG
file, but can someone explain what's the purpose of that TAG file? What is
the number in the file?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/issues/1421#issuecomment-237895871,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABVc12kyCTdMXQvEnmKZmc3LD55dv9EQks5qc2PjgaJpZM4HrAd2
.

I see... Thanks!

I faced the same issue on Ubuntu with both TF 0.9 and 0.10. Firefox did not show anything on Tensorboard. With Chromium, it worked like a charm.

I'm running MNIST sample https://www.tensorflow.org/versions/master/how_tos/summaries_and_tensorboard/  on FT 1.0 GPU on Windows 10.  All the TF events  are getting properly  recorded at C:\tmp\tensorflow\mnist\logs\mnist_with_summaries .
When I ran
tensorboard --logdir=C:\tmp\tensorflow\mnist\logs\mnist_with_summaries --debug
I got
INFO:tensorflow:TensorBoard path_to_run is: {'C:\tmp\tensorflow\mnist\logs\mnist_with_summaries': 'C'}
INFO:tensorflow:Event Multiplexer initializing.
INFO:tensorflow:Event Multiplexer done initializing
INFO:tensorflow:TensorBoard reload process beginning
INFO:tensorflow:Starting AddRunsFromDirectory: C:\tmp\tensorflow\mnist\logs\mnist_with_summaries
INFO:tensorflow:Adding events from directory C:\tmp\tensorflow\mnist\logs\mnist_with_summaries\test
INFO:tensorflow:Constructing EventAccumulator for C:\tmp\tensorflow\mnist\logs\mnist_with_summaries\test
INFO:tensorflow:Adding events from directory C:\tmp\tensorflow\mnist\logs\mnist_with_summaries\train
INFO:tensorflow:Constructing EventAccumulator for C:\tmp\tensorflow\mnist\logs\mnist_with_summaries\train
INFO:tensorflow:Done with AddRunsFromDirectory: C:\tmp\tensorflow\mnist\logs\mnist_with_summaries
INFO:tensorflow:TensorBoard reload process: Reload the whole Multiplexer
INFO:tensorflow:Beginning EventMultiplexer.Reload()
DEBUG:tensorflow:Opening a record reader pointing at C:\tmp\tensorflow\mnist\logs\mnist_with_summaries\test\events.out.tfevents.1487636143.DESKTOP-F60FRVO
INFO:tensorflow:TensorBoard is tag: b'41'
Starting TensorBoard b'41' on port 6006
(You can navigate to http://<IP_ADDRESS>:6006)
....
Nothing shows up on Tensorboard pages at http://<IP_ADDRESS>:6006

@Alex6381 - If you have a linux/mac machine available, could you try porting the tfevents files onto linux/mac and turning on a linux/mac TensorBoard? That way we can see if the issue is with the data itself, or with Windows TensorBoard.

Unfortunately, I don't have linux/mac machine available.

@Alex6381 try the Windows subsystem for Linux!
Here's a manual: http://blog.mosthege.net/2016/05/11/running-tensorflow-with-native-linux-binaries-in-the-windows-subsystem-for-linux/
Remember to substitute the pip package urls with the most recent version.

The issue got fixed by properly specifying path to logs
tensorboard --logdir**=/tmp/tensorflow/mnist/logs** --debug
Thanks!

question: I can run tensorboard,but Browser page is blank
I can access the <IP_ADDRESS>:6006, but the page is blank
run tensorboard
[lhy@localhost logs]$ tensorboard --logdir=/tmp/logs --debugINFO:tensorflow:TensorBoard is in debug mode.
INFO:tensorflow:Starting TensorBoard in directory /tmp/logs
INFO:tensorflow:TensorBoard path_to_run is: {'/tmp/logs': None}
INFO:tensorflow:Event Multiplexer initializing.
INFO:tensorflow:Event Multiplexer done initializing
INFO:tensorflow:TensorBoard reload process beginning
INFO:tensorflow:Starting AddRunsFromDirectory: /tmp/logs
INFO:tensorflow:Adding events from directory /tmp/logs
INFO:tensorflow:Constructing EventAccumulator for /tmp/logs
INFO:tensorflow:Done with AddRunsFromDirectory: /tmp/logs
INFO:tensorflow:TensorBoard reload process: Reload the whole Multiplexer
INFO:tensorflow:Beginning EventMultiplexer.Reload()
DEBUG:tensorflow:Opening a record reader pointing at /tmp/logs/events.out.tfevents.1488352194.localhost.localdomain
INFO:tensorflow:TensorBoard is tag: 39
Starting TensorBoard 39 on port 6006
(You can navigate to http://<IP_ADDRESS>:6006)
DEBUG:tensorflow:No more events in /tmp/logs/events.out.tfevents.1488352194.localhost.localdomain
INFO:tensorflow:No path found after /tmp/logs/events.out.tfevents.1488352194.localhost.localdomain
INFO:tensorflow:Finished with EventMultiplexer.Reload()
INFO:tensorflow:TensorBoard done reloading. Load took 0.130 secs
INFO:tensorflow:path ../external/web_animations_js/web-animations-next-lite.min.js.map not found, sending 404
INFO:tensorflow:returning 404 to <IP_ADDRESS> for /web-animations-js/web-animations-next-lite.min.js.map
INFO:tensorflow:TensorBoard reload process beginning
INFO:tensorflow:Starting AddRunsFromDirectory: /tmp/logs
INFO:tensorflow:Adding events from directory /tmp/logs
INFO:tensorflow:Done with AddRunsFromDirectory: /tmp/logs
INFO:tensorflow:TensorBoard reload process: Reload the whole Multiplexer
INFO:tensorflow:Beginning EventMultiplexer.Reload()
DEBUG:tensorflow:No more events in /tmp/logs/events.out.tfevents.1488352194.localhost.localdomain
INFO:tensorflow:No path found after /tmp/logs/events.out.tfevents.1488352194.localhost.localdomain
INFO:tensorflow:Finished with EventMultiplexer.Reload()
INFO:tensorflow:TensorBoard done reloading. Load took 0.003 secs
INFO:tensorflow:TensorBoard reload process beginning
INFO:tensorflow:Starting AddRunsFromDirectory: /tmp/logs
INFO:tensorflow:Adding events from directory /tmp/logs
INFO:tensorflow:Done with AddRunsFromDirectory: /tmp/logs
INFO:tensorflow:TensorBoard reload process: Reload the whole Multiplexer
INFO:tensorflow:Beginning EventMultiplexer.Reload()
DEBUG:tensorflow:No more events in /tmp/logs/events.out.tfevents.1488352194.localhost.localdomain
INFO:tensorflow:No path found after /tmp/logs/events.out.tfevents.1488352194.localhost.localdomain
INFO:tensorflow:Finished with EventMultiplexer.Reload()
INFO:tensorflow:TensorBoard done reloading. Load took 0.001 secs
chrome logs
(1)
web-animations-next-lite.min.js.map	   not find
(2)
No support for OES_texture_float extension. Uncaught TypeError: Cannot read property 'getShaderPrecisionFormat' of null :6006/weblas_weblas_js/file/weblas.js:22 This file is deprecated. Please use iron-flex-layout/iron-flex-layout-classes.html, and one of the specific dom-modules instead This file is deprecated. Please use iron-flex-layout/iron-flex-layout-classes.html, and one of the specific dom-modules instead Uncaught SyntaxError: Unexpected identifier data:text/javascript;charset=utf-8,%0A%20%20Polymer(%7B%0A%20%20%20%20is%3A…%3Dhttp%3A%2F%2F<IP_ADDRESS>%3A6006%2Fdist%2Ftf-tensorboard.html-23.js%0A:160 Uncaught SyntaxError: Unexpected token > data:text/javascript;charset=utf-8,%0A%20%20Polymer(%7B%0A%20%20%20%20is%3A…L%3Dhttp%3A%2F%2F<IP_ADDRESS>%3A6006%2Fdist%2Ftf-tensorboard.html-24.js%0A:17 Uncaught SyntaxError: Unexpected token ( data:text/javascript;charset=utf-8,%0A(function()%20%7B%0APolymer(%7B%0A%20…RL%3Dhttp%3A%2F%2F<IP_ADDRESS>%3A6006%2Fdist%2Ftf-tensorboard.html-70.js%0A:9 Uncaught SyntaxError: Unexpected token ILLEGAL data:text/javascript;charset=utf-8,%0A%20%20%20%20Polymer(%7B%0A%20%20%20%2…L%3Dhttp%3A%2F%2F<IP_ADDRESS>%3A6006%2Fdist%2Ftf-tensorboard.html-72.js%0A:77

The Graph tab is working fine but the embedding visualizer isn't. All that it says is that the tensorboard is still loading points and dimensions

Ad Blocker can cause "No data found" problem
I just want to add, that I had the problem that the TensorBoard wasn't showing any data although the log_dir was set correctly. The problem seemed to be the AdBlock plugin, that blocked specific content from being transfered. I add localhost to the AdBlock whitelist. Now its showing everything correctly.

@phisad, that's fascinating that an ad blocking plugin broke TensorBoard. We may want to add that information to the TensorBoard README.
Anyone else, if you're experiencing TensorBoard data issues, please create an issue on the TensorBoard repo (github/tensorflow/tensorboard).

I have an other strange behavior with Tensorbord with the mnist example. (windows 10 Anaconda used)
(worked from out a jupyternotebook) and delivered files at
d:/tmp/tensorflow/mnist/logs/mnist_with_summaries
containing two subdirectorie test and train
then using out of a BAT file:
D:/Anaconda3/Scripts/tensorboard.exe --logdir="d:/tmp/tensorflow/mnist/logs/mnist_with_summaries" --port=6007
THIS works as suspected at:  localhost:6007
D:/Anaconda3/Scripts/tensorboard.exe --logdir="d:/tmp/tensorflow/mnist/logs/mnist_with_summaries" --port=6006
Does not show anything  using localhost:6006
????

Anyone experienced Tensorboard failure after upgrading to Tensorflow 1.4?
My questions are posted here https://github.com/tensorflow/tensorboard/issues/695
Even after I downgraded both/either Tensorflow or Tensorboard, the Tensorboard still does not work, while the log directory's content works well on other computers.
It seems that the upgrading Tensorflow 1.4 damaging some of the essential parts for Tensorboard. Could there be any possible solutions? Thank you.

When I run the command: tensorboard --logdir=20171124-174639/ --debug

Starting TensorBoard b'54' at http://sai:6006
(Press CTRL+C to quit)
WARNING:tensorflow:path ../external/weblas_weblas_js/file/weblas.map.json not found, sending 404
WARNING:tensorflow:path ../external/web_animations_js/web-animations-next-lite.min.js.map not found, sending 404

I open the chrome and it show me a blank page

So, I open the console in the chrome and found that in the picture:

But I can see the graph in firefox....

Is there any version incompatibility between Tensorflow version and Tensor board?

I am having this same issue on debian8.
Standard python3 install, sudo apt-get install pip3, sudo pip3 install <tensorflow cpu 64bit>
Ran the mnist with summaries, did
tensorboard --logdir=/tmp/mnist_logs --debug
And its correctly finding the 1.1MB events file
DEBUG:tensorflow:No more events in /tmp/mnist_logs/events.out.tfevents.1460670145.Moko
INFO:tensorflow:No path found after /tmp/mnist_logs/events.out.tfevents.1460670145.Moko
DEBUG:tensorflow:No more events in /tmp/mnist_logs/events.out.tfevents.1460670145.Moko
INFO:tensorflow:No path found after /tmp/mnist_logs/events.out.tfevents.1460670145.Moko
INFO:tensorflow:Multiplexer done loading. Load took 0.6 secs
Navigating to localhost:6006 gives me the tensorboard dashboard, but thats it. no graphs or anything.

I have encountered the same issue, it remains unsolved after trying many solutions, but when I tried in safari, the graph just comes out!!!


chore(Analysis): remove eqns attribute

Mathlib builds fine if we remove this attribute, although the linter complains since the generated match lemmas overlap a bit. So we remove the attribute and add @[simp] attributes to the previous manual equation lemmas, instead of the fpowerSeries map itself.

bors merge


Newly created dialog windows may not always be focused

Godot version
4.0.dev (659178e85)
System information
Fedora 34, GeForce GTX 1080 (NVIDIA 465.31)
Issue description
Newly created dialog windows may not always be focused. They will appear with an unfocused style, preventing keyboard input from going to them:

Sometimes, they will be focused correctly when created, which results in the following appearance:

See also https://github.com/godotengine/godot/issues/49977 for a video version of this.
I'm assuming this is Linux-specific, but feel free to test this on other operating systems.
Steps to reproduce

Open the Project Settings or Editor Settings, then look at the window title styling/color. It should always be focused, but it's not. This occurs in a random and unpredictable pattern (about 50% of the time for me).
This has been reported to occur with the Create New Node dialog as well.

Minimal reproduction project
N/A

This seems to also be causing #53894 and my accidental duplicate #57294. Window manager does seem to affect this; XFCE definitely has the problem, where KDE may not show it.

Is this still reproducible in alpha 7?

No answer, assuming fixed in the meantime.


How to have bucket sizes (which are configured for Histogram in code) in X-Axis and corresponding count of total such occurrences on Y-Axis?

Hey @mtanda , thanks for writing this Plugin. This is obviously a missing very needed feature in Grafana. I have a use case and I am not able to understand how to use this Plugin for that. The use case is given below -
I collect metrics on API HTTP codes. So I would like to have a graph with HTTP Codes on X-Axis and the corresponding number of such occurrences on Y-Axis. May I know whether there is a way to achieve that using this Plugin?
Thanks in advance for your time.

@prasadus92 Sorry for late reply.
This plugin doesn't support such feature.
But, I guess https://github.com/grafana/grafana/pull/5917 is what you want.
Please try it.

@mtanda No worries, thanks for your response. Yes, this is exactly what I was looking for. Many thanks for your help. Have a great day!


0xMakka/1175 add error message styling

Description
Adds an error message to the beneficiary wallet address field.
@Atmosfearful & @jabby09 I've added a quick fix here to address the beneficiary wallet address but I think it's worth investing some time in refactoring this component to use react-hook-form like the Retire & Buy forms. Let me know if you guys want me to tackle it as part of this ticket, or roll out with this quick fix and pick up in another ticket.
Related Ticket
Resolves #1175
Checklist

[X] I have run npm run build-all without errors
[X] I have formatted JS and TS files with npm run format-all

@Atmosfearful & @jabby09 I've added a quick fix here to address the beneficiary wallet address but I think it's worth investing some time in refactoring this component to use react-hook-form like the Retire & Buy forms. Let me know if you guys want me to tackle it as part of this ticket, or roll out with this quick fix and pick up in another ticket.

thanks @0xMakka I approved this fix, let's push it out.
I'd suggest if that form needs a bit of refactor we do it as a separate ticket.


Ability to view older versions of the presentation

Current status
The idea is that we generate one repository per project using this repo as a template. Each time we make a new presentation on that project, we update that repo and tag a new release, triggering the website build (via Quarto) and deployment on gh-pages.
Problem
According to the above workflow, the website will always display the latest version of a presentation. The only way to view an older version would be to check out an old release/commit and build it with Quarto locally.
Vision
It would be nice to have multiple versions of a presentation deployed, navigable with some sort of version switcher dropdown.

See related issue for our Sphinx websites.

One semi-solution could be to also export the presentations as standalone HTML pages with embedded resources and archive all the older versions somewhere. The HTML file may get too large for Git over time, but we could perhaps push them to a GIN repo. All of this would be automated with gh actions, i.e:
Every time a new version is deployed on gh-pages, it is also exported as <name>_<tag>.html and pushed to the archive.

Maybe calling decktape in the deployment action could help?
See e.g. top example of a pdf for a reveal.js demo.


fix linter flake8 and unit tests

Linter
I added a setup.cfg file with a lot of ignore for the linter since wemake-python-styleguide is very very strict and we do not have time to re-write all the python code.
So to keep the tests green I fix some of the warning, and ignore most of them.
Unit tests
I added a /src/tests folder with some unit tests. The goal being to add enough to have a better testing of the operator.

This PR is kinda big even if there is not really new features. So if you have some time to tests it @zakkg3 , I would appreciate :) !

Bug
with url: /api/v1/namespaces (Caused by NewConnectionError(\'<urllib3.connection.HTTPConnection object at 0x10f948130>: Failed to establish a new connection: [Errno 61] Connection refused\

How to reproduce:
1- Update kind to latest
brew upgrade kind for mac
apt intall kind or equivalent
this pulls kubernetes 1.27.3 as for today.
2- created a new kind cluster with
make test-env
3- apply the rbac and crd yamls.
kubectl apply -f yaml/00_rbac.yaml
kubectl apply -f yaml/01_crd.yaml
4- run the operator locally & verbose:
make dev-run
5- apply basic object
k apply -f yaml/Object_example/obj.yaml

Bug
with url: /api/v1/namespaces (Caused by NewConnectionError(\'<urllib3.connection.HTTPConnection object at 0x10f948130>: Failed to establish a new connection: [Errno 61] Connection refused\

How to reproduce:
1- Update kind to latest brew upgrade kind for mac apt install kind or equivalent this pulls kubernetes 1.27.3 as for today.
2- created a new kind cluster with make test-env
3- apply the rbac and crd yamls. kubectl apply -f yaml/00_rbac.yaml kubectl apply -f yaml/01_crd.yaml
4- run the operator locally & verbose: make dev-run (this is commited on master). in the branch here use kopf run ./src/handlers.py --verbose -A
5- apply basic object k apply -f yaml/Object_example/obj.yaml

It mays appear we need to use
from kubernetes import config

config.load_incluster_config()

I will take a deeper look

Bug
with url: /api/v1/namespaces (Caused by NewConnectionError(\'<urllib3.connection.HTTPConnection object at 0x10f948130>: Failed to establish a new connection: [Errno 61] Connection refused\

How to reproduce:
1- Update kind to latest brew upgrade kind for mac apt install kind or equivalent this pulls kubernetes 1.27.3 as for today.
2- created a new kind cluster with make test-env
3- apply the rbac and crd yamls. kubectl apply -f yaml/00_rbac.yaml kubectl apply -f yaml/01_crd.yaml
4- run the operator locally & verbose: make dev-run (this is commited on master). in the branch here use kopf run ./src/handlers.py --verbose -A
5- apply basic object k apply -f yaml/Object_example/obj.yaml

Should be fixed

is this running on your local cluster??
kubernetes.config.config_exception.ConfigException: Service host/port is not set.
if we create a v1 locally (so revert the v1 being global) that fixes the first bug. didnt try yet for the on_delete....

is this running on your local cluster??
kubernetes.config.config_exception.ConfigException: Service host/port is not set.
if we create a v1 locally (so revert the v1 being global) that fixes the first bug. didnt try yet for the on_delete....

this is running in debug mode.
where environment variables KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT are not set...

on os_utils add:
def get_in_cluster():
    """
    weather we are running in cluster or outside (debug mode.)
    """
    return os.getenv('KUBERNETES_SERVICE_HOST', '0') != "0"

on handlers line 15 replace:
if get_in_cluster():
    # Loading kubeconfig
    config.load_incluster_config()
else:
    config.load_kube_config()

the deleting problem is related with the named paramaters.
there is something wrong there
reeplace this on handlers:
@kopf.on.delete(
    group='clustersecret.io',
    version='v1',
    kind='clustersecrets',
)

with this
@kopf.on.delete('clustersecret.io', 'v1', 'clustersecrets')

solved the problem.

maybe we can use the already merged conformance tests cherry picking d8b24b5f92063059b8bf1f78764f0d0b981afd4d ?

maybe we can use the already merged conformance tests cherry picking d8b24b5 ?

You mean including the unit tests in the e2e tests workflow ?

maybe we can use the already merged conformance tests cherry picking d8b24b5 ?

You mean including the unit tests in the e2e tests workflow ?

I mean use the automated tests for this pr. If you cherry pick that commit or rebase with master you should trigger those.

maybe we can use the already merged conformance tests cherry picking d8b24b5 ?

You mean including the unit tests in the e2e tests workflow ?

I mean use the e2e for this pr. If you cherry pick that commit or rebase with master you should trigger those.

I made an empty commit to trigger the action.

LGTM

if you use slack https://clustersecret.slack.com/


ERROR: invalid request size

test code

local Enforcer1 = require("casbin")
local Enforcer2 = require("casbin")

local model1 = [[
    [request_definition]
    r = path, method

    [policy_definition]
    p = path, method, eft

    [policy_effect]
    e = some(where (p.eft == allow)) && !some(where (p.eft == deny))

    [matchers]
    m = regexMatch(r.path, p.path) && keyMatch(r.method, p.method)
]]

local policy1 =[[
    p, ^/cate/sample/gen_label_no,              POST, allow
    p, ^/cate/sample/.*/[print|reprint],        PUT,  allow
]]

local model2 = [[
    [request_definition]
r = user, path, method

[policy_definition]
p = role, path, method

[role_definition]
g = _, _

[policy_effect]
e = some(where (p.eft == allow))

[matchers]
m = (g(r.user, p.role) || keyMatch(r.user, p.role)) && regexMatch(r.path, p.path) && keyMatch(r.method, p.method)
]]

local policy2 =[[

p, *,          ^/$,                         GET
p, *,          ^/portal,                    GET
p, *,          ^/admin,                     GET

p, sys-admin,  *,                           *
g, sys-admin,       guests
]]

local ex2 = Enforcer2:newEnforcerFromText(model2, policy2)

local pass2 =  ex2:enforce("guests", "/", "GET")
print( "pass2:",pass2)

local ex1 = Enforcer1:newEnforcerFromText(model1, policy1)

local pass1 =  ex1:enforce("/cate/sample/gen_label_no", "POST")
print( "pass1: ",pass1)

local pass3 =  ex2:enforce("guests", "/", "GET")

print( "pass3: ",pass3)

error info

$ resty t-casbin.lua                                                                                [18:08:36]
2023/10/05 18:08:38 [warn] 2508#0: *2 [lua] _G write guard:12: __newindex(): writing a global Lua variable ('logging') which may lead to race conditions between concurrent requests, so prefer the use of 'local' variables
stack traceback:
        /usr/local/openresty/luajit/share/lua/5.1/logging.lua:465: in main chunk
        [C]: in function 'require'
        /usr/local/openresty/luajit/share/lua/5.1/src/util/Log.lua:15: in main chunk
        [C]: in function 'require'
        ...ocal/openresty/luajit/share/lua/5.1/src/model/Policy.lua:16: in main chunk
        [C]: in function 'require'
        ...local/openresty/luajit/share/lua/5.1/src/model/Model.lua:16: in main chunk
        [C]: in function 'require'
        ...openresty/luajit/share/lua/5.1/src/main/CoreEnforcer.lua:18: in main chunk
        [C]: in function 'require'
        ...
        ...sty/luajit/share/lua/5.1/src/main/ManagementEnforcer.lua:15: in main chunk
        [C]: in function 'require'
        ...cal/openresty/luajit/share/lua/5.1/src/main/Enforcer.lua:15: in main chunk
        [C]: in function 'require'
        /usr/local/openresty/luajit/share/lua/5.1/casbin.lua:16: in main chunk
        [C]: in function 'require'
        t-casbin.lua:1: in function 'file_gen'
        init_worker_by_lua(nginx.conf:185):45: in function <init_worker_by_lua(nginx.conf:185):43>
        [C]: in function 'xpcall'
        init_worker_by_lua(nginx.conf:185):52: in function <init_worker_by_lua(nginx.conf:185):50>, context: ngx.timer
INFOModel:

INFO[e.e]:
INFO{RM = {}, key = "e", policy = {}, policyMap = {}, priorityIndex = -1, tokens = {}, value = "some(where (p_eft == allow))"}
INFO[g.g]:
INFO{RM = {}, key = "g", policy = {}, policyMap = {}, priorityIndex = -1, tokens = {}, value = "_, _"}
INFO[r.r]:
INFO{RM = {}, key = "r", policy = {}, policyMap = {}, priorityIndex = -1, tokens = {"r_user", "r_path", "r_method"}, value = "user, path, method"}
INFO[p.p]:
INFO{RM = {}, key = "p", policy = {}, policyMap = {}, priorityIndex = -1, tokens = {"p_role", "p_path", "p_method"}, value = "role, path, method"}
INFO[m.m]:
INFO{RM = {}, key = "m", policy = {}, policyMap = {}, priorityIndex = -1, tokens = {}, value = "(g(r_user, p_role) || keyMatch(r_user, p_role)) && regexMatch(r_path, p_path) && keyMatch(r_method, p_method)"}
INFORequest: guests, /, GET ---> true
Hit Policy: { *, ^/$, GET }
pass2:true
INFOModel:

INFO[p.p]:
INFO{RM = {}, key = "p", policy = {}, policyMap = {}, priorityIndex = -1, tokens = {"p_path", "p_method", "p_eft"}, value = "path, method, eft"}
INFO[m.m]:
INFO{RM = {}, key = "m", policy = {}, policyMap = {}, priorityIndex = -1, tokens = {}, value = "regexMatch(r_path, p_path) && keyMatch(r_method, p_method)"}
INFO[e.e]:
INFO{RM = {}, key = "e", policy = {}, policyMap = {}, priorityIndex = -1, tokens = {}, value = "some(where (p_eft == allow)) && !some(where (p_eft == deny))"}
INFO[r.r]:
INFO{RM = {}, key = "r", policy = {}, policyMap = {}, priorityIndex = -1, tokens = {"r_path", "r_method"}, value = "path, method"}
INFORequest: /cate/sample/gen_label_no, POST ---> true

pass1: true
ERROR: ...openresty/luajit/share/lua/5.1/src/main/CoreEnforcer.lua:407: invalid request size
stack traceback:
        ...openresty/luajit/share/lua/5.1/src/main/CoreEnforcer.lua:407: in function 'enforceEx'
        ...openresty/luajit/share/lua/5.1/src/main/CoreEnforcer.lua:534: in function 'enforce'
        t-casbin.lua:78: in function 'file_gen'
        init_worker_by_lua(nginx.conf:185):45: in function <init_worker_by_lua(nginx.conf:185):43>
        [C]: in function 'xpcall'
        init_worker_by_lua(nginx.conf:185):52: in function <init_worker_by_lua(nginx.conf:185):50>

@tom2nonames what Casbin version are you using? I noticed that you are using openresty, so is it a customzized Casbin version shipped by openresty?
The official latest release is v1.41.8: https://github.com/casbin/lua-casbin/releases/tag/v1.41.8 , you should try this

what Casbin version are you using? I noticed that you are using openresty, so is it a customzized Casbin version shipped by openresty?

The casbin version I am using is v1.41.1-1, installed using the Lualocks package manager and running in the openrest/<IP_ADDRESS>RC1 environment. I will try v1.41.8-1 first.

what Casbin version are you using? I noticed that you are using openresty, so is it a customzized Casbin version shipped by openresty?

The casbin version I am using is v1.41.1-1, installed using the Lualocks package manager and running in the openrest/<IP_ADDRESS>RC1 environment. I will try v1.41.8-1 first.

I have updated the version and still have the same issue.


Find a seamless way to explain MCMC

ArviZ won't make much sense if people don't understand what samples, chains, or divergences mean in MCMC  context

Explanation has been added to Section 3


Avoid memory leak from hostent

More context on issue #29
Motivation
Observed memory leak in Leaks instrument caused by A and AAAA queries.
Modifications
hostent is internally allocated by ares_parse_a_reply when we pass non-null pointer, and it expects the caller to freehostent(hostent).
Here we pass host=null to avoid the code branch that allocates hostent here.  It looks like this is fine since we don't need hostent.
Result
No hostent is allocated, leak count significantly reduced.
For reference, reduced from 2k leaks to 600 leaks, when resolving about ~200 domains (A and AAAA records)
Test Plan
[Describe the steps you took, or will take, to qualify the change - such as adjusting tests and manual testing.]

Need to fix webhook and run CI before merging.

@swift-server-bot test this please


converting caffe model

I converted a caffe model to mxnet model on one machine and load the model to a mxnet docker container, when trying to load the model from the docker container, I see the following message,
"loading symbol saved by MXNet version 905 with lower version of MXNet v904. May cause undefined behavior. Please update MXNet if you encounter any issue"
I think the docker image is with mxnet version 0.9.3. How to find the above maxnet version numbers, like v904, v905?

This issue is closed due to lack of activity in the last 90 days. Feel free to ping me to reopen if this is still an active issue. Thanks!


need to be able to display faculty fellows on the faculty affiliates page

For now, we're going to track faculty fellowships in the database as grants. If we start doing more of them, we can adjust the database to handle it better.

Looked on test site and Ruha is there


NPE in SendRequestSummary#getTotalAmount

Error report uploaded. Id: 196f490
MultiBit HD version: 0.1.4
Operating system: 64 6.3 Windows 8.1

No user notes

Number of stack traces: 1
First stack trace:
java.lang.NullPointerException: null
	at org.multibit.hd.core.dto.SendRequestSummary.getTotalAmount(SendRequestSummary.java:118) ~[multibit-hd.jar:na]
	at org.multibit.hd.core.services.BitcoinNetworkService.completeWithoutSigning(BitcoinNetworkService.java:939) ~[multibit-hd.jar:na]
	at org.multibit.hd.core.services.BitcoinNetworkService.prepareTransaction(BitcoinNetworkService.java:767) ~[multibit-hd.jar:na]
	at org.multibit.hd.ui.views.wizards.send_bitcoin.SendBitcoinWizardModel.prepareTransaction(SendBitcoinWizardModel.java:467) ~[multibit-hd.jar:na]
	at org.multibit.hd.ui.views.wizards.send_bitcoin.SendBitcoinWizardModel.prepareWhenBIP70(SendBitcoinWizardModel.java:970) ~[multibit-hd.jar:na]

I have added in some defensive coding against an NPE in getTotalAmount.
There are various other calls to this method in BitcoinNetwrokService but it's not clear the root cause of this error so I will leave that to future error reports to highlight (if it is a problem).
Awaiting review and closing.

Bouncing back to trigger a second code review.

Updated code to improve NPE hardness.
Awaiting review and closing

Verified working. Closing.


Allow null character in regexp_replace pattern

Signed-off-by: Andy Grove<EMAIL_ADDRESS>Closes https://github.com/NVIDIA/spark-rapids/issues/3876
Allow patterns containing null characters to be used with regexp_replace on GPU. Note that the GPU implementation of regexp_replace does not use cuDF regexp features and is currently just performing a literal string replace.
Here is the example from the original issue:
scala> val address = Seq((1,"xxxx"),
     | (2,"fdsfds \u0000dfsdfs"),
     | (3,"sdfdsf sdfdsf \u0000sdf"))
address: Seq[(Int, String)] = List((1,xxxx), (2,fdsfds ?dfsdfs), (3,sdfdsf sdfdsf ?sdf))

scala> import spark.implicits._
import spark.implicits._

scala> val df = address.toDF("id","txt")
df: org.apache.spark.sql.DataFrame = [id: int, txt: string]

scala> df.write.mode("overwrite").format("parquet").save("/tmp/testparquet")
21/10/29 16:33:06 WARN GpuOverrides:
*Exec <DataWritingCommandExec> will run on GPU
  *Output <InsertIntoHadoopFsRelationCommand> will run on GPU
  !NOT_FOUND <LocalTableScanExec> cannot run on GPU because no GPU enabled version of operator class org.apache.spark.sql.execution.LocalTableScanExec could be found
    @Expression <AttributeReference> id#7 could run on GPU
    @Expression <AttributeReference> txt#8 could run on GPU

scala> val df2=spark.read.parquet("/tmp/testparquet")
df2: org.apache.spark.sql.DataFrame = [id: int, txt: string]

scala> df2.createOrReplaceTempView("df2")

scala> spark.sql("select id,txt, REGEXP_REPLACE(txt, '\000', '') AS new_txt from df2").collect()
warning: there was one deprecation warning (since 2.11.0); for details, enable `:setting -deprecation' or `:replay -deprecation'
21/10/29 16:33:15 WARN GpuOverrides:
*Exec <ProjectExec> will run on GPU
  *Expression <Alias> regexp_replace(txt#14, , ) AS new_txt#17 will run on GPU
    *Expression <RegExpReplace> regexp_replace(txt#14, , ) will run on GPU
  *Exec <FileSourceScanExec> will run on GPU

res2: Array[org.apache.spark.sql.Row] = Array([3,sdfdsf sdfdsf ?sdf,sdfdsf sdfdsf sdf], [2,fdsfds ?dfsdfs,fdsfds dfsdfs], [1,xxxx,xxxx])

build

build failed with
 Error: 1-01T22:57:31.595Z] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:3.0.0:run (create-parallel-world) on project rapids-4-spark_2.12: An Ant BuildException has occured: The following error occurred while executing this line:
Error: 1-01T22:57:31.595Z] [ERROR] /home/jenkins/agent/workspace/jenkins-rapids_premerge-github-3160/dist/maven-antrun/build-parallel-worlds.xml:98: exec returned: 255
Error: 1-01T22:57:31.595Z] [ERROR] around Ant part ...<ant antfile="/home/jenkins/agent/workspace/jenkins-rapids_premerge-github-3160/dist/maven-antrun/build-parallel-worlds.xml" target="build-parallel-worlds" />... @ 9:163 in /home/jenkins/agent/workspace/jenkins-rapids_premerge-github-3160/dist/target/antrun/build-main.xml

build


very bad result in the real-plate images

Hi,
I've trained the VGG-GRU network for around 700k artificially generated images, and i got 96% accuracy for test data (about  140k generated image), but when i test the trained the model on real-images , the results are very bad, why ?

Due to overfitting, it is no wonder that it does not work properly in real images.
so, I recommend pre-training with synthetic images and fine-tune with real data.

How would you recommend fine-tuning, should we use differential learning rates, i.e. lower lr for CNN and higher for RNN? Or a global lower learning rate like 1e-3.

@qjadud1994, Because I used Early Stopping callback for 3 epoch, in my opinion, Should not happen the overfitting problem, right?


Undefined Method 'Encode' Error

I'm encountering an error when trying to use this gem with Ruby 3.0, which I think is due to the absence of the URI.escape method from Ruby 3.0.  URI.escape was apparently deprecated a long time ago and removed from Ruby 3.0 entirely. The error I receive:
/Users/usr/.rvm/gems/ruby-3.0.0/gems/simplecov-shield-0.0.3/lib/simplecov-shield.rb:32:in `shield_url': undefined method `encode' for URI:Module (NoMethodError)
        from /Users/usr/.rvm/gems/ruby-3.0.0/gems/simplecov-shield-0.0.3/lib/simplecov-shield.rb:24:in `block in generate_shield'
        from /Users/usr/.rvm/gems/ruby-3.0.0/gems/simplecov-shield-0.0.3/lib/simplecov-shield.rb:23:in `open'
        from /Users/usr/.rvm/gems/ruby-3.0.0/gems/simplecov-shield-0.0.3/lib/simplecov-shield.rb:23:in `generate_shield'
        from /Users/usr/.rvm/gems/ruby-3.0.0/gems/simplecov-shield-0.0.3/lib/simplecov-shield.rb:19:in `format'
        from /Users/usr/.rvm/gems/ruby-3.0.0/gems/simplecov-0.8.2/lib/simplecov/result.rb:46:in `format!'
        from /Users/usr/.rvm/gems/ruby-3.0.0/gems/simplecov-0.8.2/lib/simplecov/configuration.rb:139:in `block in at_exit'
        from /Users/usr/.rvm/gems/ruby-3.0.0/gems/simplecov-0.8.2/lib/simplecov/defaults.rb:54:in `block in <top (required)>'

Are you still working on this gem?
Environment:

Ruby 3.0.0
RSpec 3.10.0
SimpleCov 0.8.2
SimpleCov Console 0.9.1
SimpleCov Shield 0.0.3

Resolved by Pull Request 7.


GHSL-2021-026

Hi,
GitHub Security Lab has found a potential vulnerability in node-redis. Please could you let us know how to contact you privately? We recommend adding a SECURITY.md to your repository with a contact email address, which you can do by going to the Security tab and clicking the "Set up a security policy" button.
Kind regards,
Kevin Backhouse
GitHub Security Lab

@kevinbackhouse thanks for letting us know, please send me a direct email

Thanks! I have sent you an email.


Incorporate interface for VLM's

Main things this PR does:

Implements a method that leverages VLM's as part of our standard predicate invention pipeline (new README file explaining details is also included)
Implements utilities for saving and loading txt files to cache intermediate outputs as part of the new VLM predicate invention pipeline

Note that there are many more things left to do for full VLM integration (e.g. right now we can only use them as part of the invention pipeline, not yet at test time or in the perception stack). However, this felt like a good place to open a PR so that reviewing + contributing is much more manageable.

superseded by a series of other PR's that break this into much smaller pieces.


meta: remaining MIDI-CI tasks

Here is the list of missing features in dev.atsushieno.ktmidi.ci package:

[x] property message chunking. It would result in separation of Message and the actual message packets in SysEx message units
[ ] support for zlib+Mcoded7 (we need zlib implementation for KMP) -> works on desktop now
[x] apply property body binary conversion based on mutualEncoding
~initiator: ChannelList~ app developer should provide it
~initiator: Schema~ app developer should provide it
[x] ASCII validation of strings (product instance ID)
[x] initiator: Profile Details Inquiry
[x] initiator: Property subscription and subscription management
[x] move logging facility from midi-ci-tool (app) to ktmidi (library) module
[x] responder: overall UI
[x] responder: partial property update by RFC6901 (needs to parse the expressions and apply patching updates)
[x] initiator: partial property update by RFC6901 for subscription updates
[x] overall message buffer size verification
[x] Process Inquiry
[x] MIDI message report implementation (entrypoints are already implemented in ktmidi-ci)
[x] probably define Muid type that only contains an Int value but ensures that its data content is 28 bit and supports appropriate conversion -> so far it is visible as 28bit on UI
[x] save/load local configuration
[x] initiator UI: there should be device info configuration (currently it is only for  responder)
[x] overall MUID validation
[x] take out muid from SavedSettings (it must be always uniquely created)
[x] end subscription
[x] support "group" in Message and everywhere applicable
[ ] timeout manager (adds some threading complication)
[ ] app startup/terminate lifecycle support (we can kinda skip that; the specification anticipates InvalidateMUID may not be sent)
[x] property pagination

For zlib compression, it would be best that we wait for ktor-utils 3.0.0 release (which contains DeflateEncoder).

For MIDI Message Report we would need to make some fundamental changes to Midi1Machine and Midi2Machine to preserve assigned state (make them tristates) and provide "catalog" on which CCs, RPNs, NRPNS, and per-note of those are "supported".

Group support is implemented, but we need MIDI 2.0 I/O support at device level in ktmidi in the first place. Currently it is supported only in AlsaMidiAccess virtual I/O.

Those remaining issues are split into individual tasks. Closing this long-running issue.


Links of carousel on npm page not working.

The links under the carousel GIF not going to the example files. Links are working on the Github page. I want to contribute this fix if possible but i don't know whats the issue here can anyone help me in this.
https://github.com/dohooo/react-native-reanimated-carousel/assets/77078731/07f5991b-76ce-4c50-9d69-e59f668e3936

Let me work on this @ramizqazi
None of the links are working

@ashutosh887 yeah sure

Any updates on this?

The links working if i go through the github page but they are not working when i go through the npm page.

The links work if I go through the GitHub README but they do not work when I go through the npm README. This is because the GitHub README Url is from the MAIN branch which is this and in the npm README it's going from HEAD branch which is this.

Can anyone tell me how can I update the npm readme links? I want to contribute to this fix. Thanks


Instead of the archive module, use "tar" command for backup.

Note: having the module 'archive' makes the role fail with an error
"couldn't resolve module/action 'archive'." if executed with ansible-
navigator.
Ref: bz1984182

Thank you for your reviews, @richm.
@rjeffman, could you please take a look? And if it looks ok, may I ask you to merge since I have no privilege for the action. Thanks.


Title for this workshop

Please use this issue to suggest titles for the workshop, as what we have Azure Synapse Analytics is simply a placeholder title.

Modern Analytics with Azure Synapse Analytics
End-to-end analytic solutions with Azure Synapse Analytics

Azure Synapse Analytics End-to-End solution ?

Per Sanjay - let's go with:
Azure Synapse Analytics end-to-end solution

Updated title to Azure Synapse Analytics end-to-end solution


Changing the imgui colors to something bearable.

Note that calling imgui_set_custom_style() currently overrides what is loaded by imgui_ini_settings(), so you may change it to be the default only. But I also assume you don't want end-user to care about colors at all and perhaps once a bearable style is found (maybe this one) you don't need to load/save those settings.
(Sorry my git-fu led me to copy the wrong commit message here, the commit has message from other branch..)

I pulled these locally with the command line and will push when I get the rest of the code caught up to your changes. Thanks much Omar!


Update workflow.py

User description
What does this PR do?
Fixes # (issue)
Before submitting

[ ] Did you read the contributor guideline?
[ ] Did you write any new necessary tests?

PR Type
Enhancement

Preparing review...

PR Reviewer Guide 🔍
Here are some key observations to aid the review process:

⏱ Estimated effort to review: 3 🔵🔵🔵⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ Recommended focus areas for review
Data Collator ChangeThe data collator has been changed from SFTDataCollatorWith4DAttentionMask to DataCollatorForLanguageModeling. This change should be reviewed to ensure it does not introduce any issues or affect the model's performance.
Trainer Class ChangeThe trainer class has been changed from CustomSeq2SeqTrainer to CustomTrainer. This change should be reviewed to ensure it does not introduce any issues or affect the model's performance.

Preparing PR description...

PR Description updated to latest commit (https://github.com/renjie130/LLaMA-Factory/commit/8e9f6b88d03036083b2a57601ee242907724e667)

Preparing review...

Preparing review...

Preparing review...

PR Reviewer Guide 🔍
Here are some key observations to aid the review process:

⏱ Estimated effort to review: 2 🔵🔵⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ Recommended focus areas for review
Data Collator ChangeThe data collator has been changed from SFTDataCollatorWith4DAttentionMask to DataCollatorForLanguageModeling. This change might affect the training process and the model's performance. Please verify that this change is intentional and does not introduce any issues.
Trainer Class ChangeThe trainer class has been changed from CustomSeq2SeqTrainer to CustomTrainer. This change might affect the training process and the model's performance. Please verify that this change is intentional and does not introduce any issues.

Preparing review...

PR Reviewer Guide 🔍
Here are some key observations to aid the review process:

⏱ Estimated effort to review: 2 🔵🔵⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ Recommended focus areas for review
Data Collator ChangeThe data collator has been changed from SFTDataCollatorWith4DAttentionMask to DataCollatorForLanguageModeling. This change should be reviewed to ensure it does not affect the model's performance or introduce any unintended consequences.
Trainer Class ChangeThe trainer class has been changed from CustomSeq2SeqTrainer to CustomTrainer. This change should be reviewed to ensure it does not affect the model's performance or introduce any unintended consequences.

Preparing review...

PR Reviewer Guide 🔍
Here are some key observations to aid the review process:

⏱ Estimated effort to review: 3 🔵🔵🔵⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ Recommended focus areas for review
Data Collator ChangeThe data collator has been changed from SFTDataCollatorWith4DAttentionMask to DataCollatorForLanguageModeling. This change might affect the training process and results. It's recommended to verify if this change is intentional and if it has any impact on the model's performance.
Trainer Class ChangeThe trainer class has been changed from CustomSeq2SeqTrainer to CustomTrainer. This change might introduce unexpected behavior or compatibility issues. It's recommended to review the differences between these two classes and ensure that the new trainer class is suitable for the current task.

Preparing review...

PR Reviewer Guide 🔍
Here are some key observations to aid the review process:

⏱ Estimated effort to review: 3 🔵🔵🔵⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ Recommended focus areas for review
Data Collator ChangeThe PR changes the data collator from SFTDataCollatorWith4DAttentionMask to DataCollatorForLanguageModeling. This change might affect the training process and should be carefully tested to ensure it doesn't introduce any issues.
Trainer Class ChangeThe PR changes the trainer class from CustomSeq2SeqTrainer to CustomTrainer. This change might have implications on the training process and should be reviewed to ensure it doesn't introduce any unintended consequences.

Preparing review...

Preparing review...

Preparing review...

Preparing review...

Preparing review...

Preparing review...

PR Reviewer Guide 🔍
Here are some key observations to aid the review process:

⏱ Estimated effort to review: 3 🔵🔵🔵⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ Recommended focus areas for review
Possible BugThe metric_module dictionary is no longer being passed to the CustomTrainer initialization. This might cause issues if the metrics are required for training.

Preparing review...

PR Reviewer Guide 🔍
Here are some key observations to aid the review process:

⏱ Estimated effort to review: 2 🔵🔵⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ Recommended focus areas for review
可能的兼容性问题将 SFTDataCollatorWith4DAttentionMask 替换为 DataCollatorForLanguageModeling 可能会影响现有功能，需要进一步验证新数据收集器的兼容性。
功能变更将 CustomSeq2SeqTrainer 替换为 CustomTrainer 可能会影响训练过程，需要确认新训练器的行为是否符合预期。

Preparing review...

PR Reviewer Guide 🔍
Here are some key observations to aid the review process:

⏱ Estimated effort to review: 2 🔵🔵⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ Recommended focus areas for review
Possible BugThe metric_module dictionary is no longer passed to the CustomTrainer initialization. This might cause issues if the metrics are required for training.
Code SmellThe DataCollatorForLanguageModeling is used instead of SFTDataCollatorWith4DAttentionMask. Ensure that this change does not affect the functionality, as the previous collator had specific parameters set.

Preparing review...

Preparing review...

PR Reviewer Guide 🔍
Here are some key observations to aid the review process:

⏱ Estimated effort to review: 2 🔵🔵⚪⚪⚪
🧪 PR contains tests
🔒 Security concerns
否
⚡ Recommended focus areas for review
可能的错误在 run_sft 函数中，使用了 DataCollatorForLanguageModeling 来代替原来的 SFTDataCollatorWith4DAttentionMask。需要检查这种更改是否会影响模型的训练和性能。
可能的错误在 run_sft 函数中，使用了 CustomTrainer 来代替原来的 CustomSeq2SeqTrainer。需要检查这种更改是否会影响模型的训练和性能。

Preparing review...

Preparing review...

Preparing review...

Preparing review...

Preparing review...

Preparing review...

Preparing review...

Preparing review...

PR Reviewer Guide 🔍
Here are some key observations to aid the review process:

⏱ Estimated effort to review: 2 🔵🔵⚪⚪⚪
🧪 PR contains tests
🔒 Security concerns
否
⚡ Recommended focus areas for review
数据收集器更改在 run_sft 函数中，数据收集器从 SFTDataCollatorWith4DAttentionMask 更改为 DataCollatorForLanguageModeling。需要检查这种更改是否会对模型的训练和性能产生影响。
训练器类型更改在 run_sft 函数中，训练器类型从 CustomSeq2SeqTrainer 更改为 CustomTrainer。需要检查这种更改是否会对模型的训练和性能产生影响。

Preparing review...

PR Reviewer Guide 🔍
Here are some key observations to aid the review process:

⏱ Estimated effort to review: 2 🔵🔵⚪⚪⚪
🧪 PR contains tests
🔒 Security concerns
否
⚡ Recommended focus areas for review
数据处理逻辑更改在 run_sft 函数中，使用了新的 DataCollatorForLanguageModeling 来代替原有的 SFTDataCollatorWith4DAttentionMask。需要检查这个更改是否会影响模型的训练和推理结果。
训练器类型更改在 run_sft 函数中，使用了新的 CustomTrainer 来代替原有的 CustomSeq2SeqTrainer。需要检查这个更改是否会影响模型的训练和推理结果。

Preparing PR description...

Preparing review...

Persistent review updated to latest commit https://github.com/renjie130/LLaMA-Factory/commit/8e9f6b88d03036083b2a57601ee242907724e667

Preparing PR description...

Preparing PR description...

Preparing PR description...

Preparing PR description...

Preparing PR description...

Preparing PR description...

Preparing PR description...

Preparing PR description...

Preparing PR description...

Preparing PR description...

Preparing PR description...

Preparing PR description...

Preparing PR description...

Preparing PR description...

Preparing PR description...

Preparing PR description...

PR Description updated to latest commit (https://github.com/renjie130/LLaMA-Factory/commit/8e9f6b88d03036083b2a57601ee242907724e667)

Preparing PR description...

PR Description updated to latest commit (https://github.com/renjie130/LLaMA-Factory/commit/8e9f6b88d03036083b2a57601ee242907724e667)

Preparing PR description...

Preparing PR description...

Preparing PR description...

PR Description updated to latest commit (https://github.com/renjie130/LLaMA-Factory/commit/8e9f6b88d03036083b2a57601ee242907724e667)

Generating PR code suggestions
Work in progress ...


php formula using deprecated plist_options method

brew doctor output
Warning: Some installed kegs have no formulae!
This means they were either deleted or installed manually.
You should find replacements for the following formulae:
  aribb24
  libunibreak
  highway
  svt-av1
<EMAIL_ADDRESS>
Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected dylibs:
  /usr/local/lib/libmysqlclient.dylib
  /usr/local/lib/libsqlite3.dylib

Warning: You have unlinked kegs in your Cellar.
Leaving kegs unlinked can lead to build-trouble and cause formulae that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
  ocrmypdf

Warning: Homebrew's "sbin" was not found in your PATH but you have installed
formulae that put executables in /usr/local/sbin.
Consider setting your PATH for example like so:
  echo 'export PATH="/usr/local/sbin:$PATH"' >> ~/.zshrc

Verification

[X] My "brew doctor output" above says Your system is ready to brew. and am still able to reproduce my issue.
[X] I ran brew update twice and am still able to reproduce my issue.
[X] This issue's title and/or description do not reference a single formula e.g. brew install wget. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.

brew config output
HOMEBREW_VERSION: 4.0.6-28-g27ca440
ORIGIN: https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git
HEAD: 27ca4403e1852a96bb2a8e8b769d81399abe57e5
Last commit: 15 hours ago
Core tap origin: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 790d80f9cf26ba79aba8a02fa61d51a3308b2e9a
Core tap last commit: 1 year, 3 months ago
Core tap branch: master
Core tap JSON: 13 Mar 12:03 UTC
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 4
Homebrew Ruby: 2.6.8 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.8_1/bin/ruby
CPU: quad-core 64-bit broadwell
Clang: 13.0.0 build 1300
Git: 2.30.1 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 7.79.1 => /usr/bin/curl
macOS: 12.6.3-x86_64
CLT: <IP_ADDRESS>.1.1668646533
Xcode: 13.1

What were you trying to do (and why)?
(when upgrading php to 8.2.3 from 8.1.0)
==> Upgrading php
  8.1.0 -> 8.2.3

==> Pouring php--8.2.3.monterey.bottle.tar.gz

What happened (include all command output)?
Warning: Calling plist_options is deprecated! Use service.require_root instead.
Please report this issue to the homebrew/core tap (not Homebrew/brew or Homebrew/homebrew-core), or even better, submit a PR to fix it:
  /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/php.rb:319

What did you expect to happen?

Step-by-step reproduction instructions (by running brew commands)
brew install php

(should trigger this problem since it was in the formula)

Try doing
brew untap homebrew/core
brew reinstall php

and see if that helps.

You're right. Thx for that~


feat(guide): Sonarr move v4 from beta to main

Pull Request
Purpose

Sonarr v3 - End Of Life
As of December 30th 2023, Sonarr v4 has been officially released. Sonarr v3 is therefore in End of Life status. As v4 has now been released, there will be no further updates to the Sonarr v3 guide. We recommend that all users upgrade to Sonarr v4.
The Sonarr v3 guide will be removed in a future guides update.
:bangbang: Before updating to Sonarr v4, it is recommended that you delete any existing Release Profiles :bangbang:
This means that the v4 guide can be moved to the main guide and v3 becomes legacy.
Approach

Moved Sonarr v4 Guide to main Guide and moved v3 to Sonarr v3 Legacy.
Open Questions and Pre-Merge TODOs

[x] Moved Sonarr v4 Guide to main Guide and moved v3 to Sonarr v3 Legacy.
[x] Added in the v3 Legacy guides a warning message about the EOL.
[x] Updated the Sonarr naming scheme to only cover v4 naming scheme.

Requirements

[x] These changes meet the standards for contributing.
[x] I have read the code of conduct.

LGTM.


uploadToK6Cloud

Resolves #15

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Samir Boulema seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Unable to set arbitrary environment values

A attempt to export simple procfile v2 with command section like the following:
commands:
  app1:
    env:
      JAVA_OPTS: '"-Xms512m -Xmx1g -XX:+HeapDumpOnIutOfMemoryError"'
      LOADER_SYSTEM: true
    command: bin/run-something

leads to export failure with error message:
Errors while application validation:
- Environment variable value "-Xms512m -Xmx1g -XX:+HeapDumpOnOutOfMemoryError" is insecure and can't be accepted

I believe it is quite common to setup some configuration through environment variables defined that way, so it seems that validation rules applied on export are too strict.

I humbly considered a couple of obvious solutions might be used. Here are they:

disable security validations (of some kind) completely;
disable (some) security validations by default, but enable them by command argument;
fix validation rules.

Disabling validation completely is obvious not an option since security is always an issue and should never be neglected.
Disabling/enabling by command line argument is more desirable, so that enabling by default is a breaking change possibly ruining existing deployments, and in my opinion negative variant (disabled by default) is more appropriate.
Fixing validation rules might become a solution but it has its own drawback: all the rules possible for all the cases will never be taken into account entirely, so than failing a deployment is a matter of time. In that sense with this option we will shoot ourself in the foot later.

Fixed in #21


What's the difference between this project and edl?

edl is also the paddle operator on k8s, working together with the cloud project, what's the difference between these two projects?

Hi @yingfeng, this project is mainly focusing on the operator side, how to handle pserver model state machine, how to attach persistent storage with data shuffling, and how to co-schedule the pod in the single job, those are more likely to be resolved in a new underlay project.

so it means the edl will be abandoned, while this k8s operator, together with the new underlay project will be used to replace  edl in future?

EDL is used in Baidu as the core of the machine learning platform and it's already in stable version, this project will be used in Baidu public cloud's deep learning solution, cooperate with Baidu cloud provider,  to provide enterprise users better deep learning experiences.

got it,thanks~


Create actual Website for TricksterCache.org

This issue tracks the creation of a full website for Trickster. We currently redirect our website to the main Trickster GitHub project.

Glad to be a part of development!
Some questions

The working draft is a pretty early draft but is also a good starting point -- what changes should I make to it and what is the vision moving forward?
Just want to confirm y'all are ok with using Material for MkDocs. Each page can be made from Markdown which can be customized w/ HTML, Javascript, and CSS (tho Material for MkDocs does most of the work and has useful extensions)

Note that I will be difficult to contact over the next week or so, but I can start some work today!

Here's the current iteration: https://60e74fd3e064520007d413f7--trickstercache.netlify.app
To do:
Add blog entries
Add About page info


How can we set sched_priority when we use dispatcher_executor

Issue template
I check rclc_dispatcher_executor_spin implementation , and seems  there is no apparent difference in case that I have set the priority.
Steps to reproduce the issue
subscriber code:
‘rclc_executor_sched_parameter_t` sched_p1;
  rclc_executor_sched_parameter_t sched_p2;
  sched_p1.policy = SCHED_FIFO;
  sched_p1.param.sched_priority = 10;
  sched_p2.policy = SCHED_FIFO;
  sched_p2.param.sched_priority = 20;

  rc = rclc_dispatcher_executor_add_subscription(
    &executor, &sub_a, &sub_msg_a, &callback_a,
    ON_NEW_DATA, &sched_p1);
  if (rc != RCL_RET_OK) {
    printf("Error in rclc_dispatcher_executor_add_subscription. \n");
  }

  rc = rclc_dispatcher_executor_add_subscription(
    &executor, &sub_b, &sub_msg_b, &callback_b,
    ON_NEW_DATA, &sched_p2);
  if (rc != RCL_RET_OK) {
    printf("Error in rclc_dispatcher_executor_add_subscription. \n");
  }

  rclc_dispatcher_executor_spin(&executor);

Expected behavior
See the difference of sub_a and sub_b
Actual behavior
No difference since checking executor->handles one by one  in rclc_dispatcher_executor_spin()
Additional information

rclc_dispatcher_executor_spin
rclc_dispatcher_executor_add_subscription

where these functions are implemented? can you point out the source file, since i could not find it with https://github.com/ros2/rclc/commit/d263be2057e39f1f702f014548c60f06b5a51333

Hey @alexleel , to which repository are you referring to. I have started porting the micro-ros repo and have started the implementation in this branch https://github.com/ros2/rclc/tree/feature/restructured-executor/rclc_multi_threaded_executor
But independent of this, how did you test, that there is no difference?

rclc_dispatcher_executor_spin
rclc_dispatcher_executor_add_subscription

where these functions are implemented? can you point out the source file, since i could not find it with d263be2

Probably this branch: https://github.com/micro-ROS/rclc/tree/feature/restructured-exectutor/rclc_dispatcher_executor

Hey @alexleel , to which repository are you referring to. I have started porting the micro-ros repo and have started the implementation in this branch https://github.com/ros2/rclc/tree/feature/restructured-executor/rclc_multi_threaded_executor嘿，你指的是哪个存储库。我已经开始移植 micro-ros 存储库，并已开始在此分支中实现 https://github.com/ros2/rclc/tree/feature/restructured-executor/rclc_multi_threaded_executor
I checked rclc_dispatcher_executor, it's type-switch multiple thread implementation, rclc_multi_threaded_executor is the better choice?
btw, the compilation of this branch failed as following:

Starting >>> rclc_multi_threaded_executor
--- stderr: rclc_multi_threaded_executor
/home/echo/ros/tmp/rclc/rclc_multi_threaded_executor/src/rclc_multi_threaded_executor/multi_threaded_executor.c: In function ‘rclc_multi_threaded_executor_configure’:
/home/echo/ros/tmp/rclc/rclc_multi_threaded_executor/src/rclc_multi_threaded_executor/multi_threaded_executor.c:29:20: error: ‘rclc_multi_threaded_init’ undeclared (first use in this function); did you mean ‘rclc_multi_threaded_executor_init’?
   29 |   executor->init = rclc_multi_threaded_init;
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~
      |                    rclc_multi_threaded_executor_init
/home/echo/ros/tmp/rclc/rclc_multi_threaded_executor/src/rclc_multi_threaded_executor/multi_threaded_executor.c:29:20: note: each undeclared identifier is reported only once for each function it appears in
/home/echo/ros/tmp/rclc/rclc_multi_threaded_executor/src/rclc_multi_threaded_executor/multi_threaded_executor.c: In function ‘rclc_multi_threaded_executor_handle_init’:
/home/echo/ros/tmp/rclc/rclc_multi_threaded_executor/src/rclc_multi_threaded_executor/multi_threaded_executor.c:65:37: error: lvalue required as left operand of assignment
   65 |   get_multi_threaded_handle(handle) = executor->allocator->allocate(
      |                                     ^
/home/echo/ros/tmp/rclc/rclc_multi_threaded_executor/src/rclc_multi_threaded_executor/multi_threaded_executor.c:67:21: error: ‘rclc_executor_handle_t’ has no member named ‘multi_threaded’
   67 |   if (NULL == handle->multi_threaded) {
      |                     ^~
/home/echo/ros/tmp/rclc/rclc_multi_threaded_executor/src/rclc_multi_threaded_executor/multi_threaded_executor.c: In function ‘rclc_multi_threaded_executor_init’:
/home/echo/ros/tmp/rclc/rclc_multi_threaded_executor/src/rclc_multi_threaded_executor/multi_threaded_executor.c:97:41: error: lvalue required as left operand of assignment
   97 |   get_multi_threaded_executor(executor) = executor->allocator->allocate(
      |                                         ^
/home/echo/ros/tmp/rclc/rclc_multi_threaded_executor/src/rclc_multi_threaded_executor/multi_threaded_executor.c:99:41: warning: passing argument 1 of ‘get_multi_threaded_handle’ from incompatible pointer type [-Wincompatible-pointer-types]
   99 |   if (NULL == get_multi_threaded_handle(executor)) {
      |                                         ^~~~~~~~
      |                                         |
      |                                         rclc_executor_t * {aka struct rclc_executor_t_ *}
/home/echo/ros/tmp/rclc/rclc_multi_threaded_executor/src/rclc_multi_threaded_executor/multi_threaded_executor.c:35:52: note: expected ‘rclc_executor_handle_t *’ but argument is of type ‘rclc_executor_t *’ {aka ‘struct rclc_executor_t_ *’}
   35 | get_multi_threaded_handle(rclc_executor_handle_t * handle)
      |                           ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/home/echo/ros/tmp/rclc/rclc_multi_threaded_executor/src/rclc_multi_threaded_executor/multi_threaded_executor.c: In function ‘rclc_multi_threaded_executor_subscription_set_sched_param’:
/home/echo/ros/tmp/rclc/rclc_multi_threaded_executor/src/rclc_multi_threaded_executor/multi_threaded_executor.c:123:7: error: ‘unsinged’ undeclared (first use in this function)
  123 |   for(unsinged int i = 0; i< executor->max_handles; i++)
      |       ^~~~~~~~
/home/echo/ros/tmp/rclc/rclc_multi_threaded_executor/src/rclc_multi_threaded_executor/multi_threaded_executor.c:123:15: error: expected ‘;’ before ‘int’
  123 |   for(unsinged int i = 0; i< executor->max_handles; i++)
      |               ^~~~
      |               ;
/home/echo/ros/tmp/rclc/rclc_multi_threaded_executor/src/rclc_multi_threaded_executor/multi_threaded_executor.c:123:27: error: ‘i’ undeclared (first use in this function)
  123 |   for(unsinged int i = 0; i< executor->max_handles; i++)
      |                           ^
/home/echo/ros/tmp/rclc/rclc_multi_threaded_executor/src/rclc_multi_threaded_executor/multi_threaded_executor.c:124:25: error: expected expression before ‘[’ token
  124 |   if (executor->handles[[executor->index].type == RCLC_SUBSCRIPTION]) &&
      |                         ^
/home/echo/ros/tmp/rclc/rclc_multi_threaded_executor/src/rclc_multi_threaded_executor/multi_threaded_executor.c:125:3: error: expected identifier before ‘(’ token
  125 |   (executor->handles[executor->index].subscription == subscription)
      |   ^
gmake[2]: *** [CMakeFiles/rclc_multi_threaded_executor.dir/build.make:79: CMakeFiles/rclc_multi_threaded_executor.dir/src/rclc_multi_threaded_executor/multi_threaded_executor.c.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:140: CMakeFiles/rclc_multi_threaded_executor.dir/all] Error 2

Can  you please help to check it?


When visibile history is on, point radius changes based on timeline selection

Describe the bug
When I scrub through time with visible history turned on, the radius of the points change.
To Reproduce
Run colmap, and then increase history for points. The radius jumped up, but then goes down as you scrub through time.
Expected behavior
If I have logged my points with a specific radius, the size of the points should not change.
Screenshots
https://user-images.githubusercontent.com/3312232/218285193-93934a62-d0f7-4051-9ce2-a7173cdf6df5.mov

I can't repro, is this still a thing?

Closing as fixed for now


API to correlate system time with external time sources

This PR has content I've been working on for about six months, to locally timestamp sensor observations with standard time rather than time-since boot.
It provides data structures to capture a timestamp in two different clocks, monitor the drift between those clocks, and using a base instant with estimated drift convert between the clocks.  This provides the core technology to convert between system uptime and an external continuous time scale like TAI (UTC without applying leap seconds).
A sample is provided that demonstrates using this technology to measure local clock error  between Nordic HFCLK and LFCLK.
There are some questions in the first comment that need to be resolved.  There are also some follow-on commits that will be submitted separately after this seems to be going forward:

support for Bluetooth Current Time Service as a time source (working, needs cleanup and documentation)
conversion of the similar functionality in the Maxim DS3231 driver to use the new API

Some notes on the design, with a few questions that should be answered before it's ready to merge:

confirm name for timeutil_realtime_* functions
is userspace support done right?

What is this?
There's already a timeutil_ namespace for civil-time operations. This PR extends it with data structures and functions that allow skewed translation between time scales.
It then adds API under CONFIG_TIMEUTIL_REALTIME that supports system-wide translation from the current local tick counter to the corresponding civil time, including accounting for local clock skew (which has significant impact on accuracy).
The API does not automatically do time maintenance.  Something has to invoke timeutil_realtime_set() at least once, and preferably periodically, as well as calculating and storing a skew to adjust for local clock error.
Why isn't this clock_gettime(), gettimeofday(), or k_realtime_get()?
The first two belong to libc, and attempting to override them is mis-use.  It's possible it could be done for newlib using internal hooks, but that wouldn't help for toolchains that don't use newlib.  It seems better to provide an external
It's not k_realtime_*() mostly because it's entirely library code. I'm open to renaming it.
Is timeutil_realtime_* userspace-safe?
It seems to be.  When I started I assumed I'd need system calls for this, and even made timeutil_realtime_get_state() one.  But the unit tests seem to have no problem with it.  None of the data involved is a kernel object (and don't see why it should be); the only thing that's questionable is use of k_spinlock.
Also this does use floating point to do the time translation (calculating skews in integer-only math isn't feasible due to the magnitude of the values and scale factors).  It does this math under lock.  IIRC FP in the kernel was once an issue for Linux.  Clearly it works fine in supervisor-only Zephyr, I'm just worried that something about userspace might introduce a problem (e.g. failing to restore FPU state).

@pabigot Would it be feasible to drop the float skew (I am a little worried about introducing floating point requirements in the kernel code) with a PPB representation? Like turning it upside down and do all internal calculations based on an integer PPB value? Do we loose too much precision?

Would it be feasible to drop the float skew?

I tried that.  The dynamic range due to the need to translate between different frequencies causes problems even with 64-bit integer math.  There are overflows and underflows during the intermediate calculation that makes the skew estimate horribly unstable even when the clocks are stable.
This ties to #29569 in that while this is proposed to be in lib/os it's unclear whether it's "kernel" code.  It maybe used in but doesn't require supervisor privileges.  I'm thinking we need a "support library" category (#29876) also falls into that category.

I believe the major point of contention is the use of "realtime" in parts of the API. My reasoning is at https://github.com/zephyrproject-rtos/zephyr/pull/28977#discussion_r511636768, but the most compelling is that this infrastructure adds to Zephyr capability that matches what POSIX provides with CLOCK_REALTIME.  Had #19030 gotten any traction that would too likely have used REALTIME.
But as I noted, if there's a consensus that some other term is preferred it can be changed.

I believe the major point of contention is the use of "realtime" in parts of the API. My reasoning is at https://github.com/zephyrproject-rtos/zephyr/pull/28977#discussion_r511636768, but the most compelling is that this infrastructure adds to Zephyr capability that matches what POSIX provides with CLOCK_REALTIME.  Had #19030 gotten any traction that would too likely have used REALTIME.
But as I noted, if there's a consensus that some other term is preferred it can be changed.

Rebased on master, and refactored so all the stuff that supports converting Zephyr uptime to realtime is removed.  It can be resubmited as a separate PR after the core functionality is merged.

Rebased on master, and refactored so all the stuff that supports converting Zephyr uptime to realtime is removed.  It can be resubmited as a separate PR after the core functionality is merged.


Support flags from articles to templates

Translate something like this:
[article data-grids="feature" data-flags="green rounded"]
to something like this:
[div class="grid feature green rounded"]
This way I can use the same grid but change things like the colors

Nicely done. I have been using a work around for a little while now where flags can be written from the data in the toc.json file.
grid:

        ... content...

toc:
"url": "article.html",
"title": "title",
"type": "green rounded"

It ends up being a little verbose but powerful. I will discuss this with out JS devs and see how to merge.

Thanks, this is now merged in!


v7.2.18

Add test for proxy agent
Fix README issue
Update dependencies

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 95.949%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
243

Relevant Lines:
244

💛  - Coveralls


Use more serious strings in tests

As discussed, this commit aims to make some tests a bit more serious by replacing 'hi hi ho ho' with 'foo bar' :)

I liked previous version soooo much better than this "serious" one.. This is open source.. why so serious? :)

Well, it's good to have some consistency for dummy text usage :) The e2e tests seem to be failing though.

Ok that's weird:

Let me check again.

@yyx990803 I think this is not a problem with my code per-se. @chrisvfritz is having the same problem with the two e2e.

@phanan I'm only experiencing the issue with the updated phantomjs binary though (in phantomjs-prebuilt). :confused:

Let's just keep sourcecode fun, as it is :smile:

@azamat-sharapov I'd like to keep it fun, but also consider Vue's adoption in the more "serious" world :)
That said, @phanan is pretty good at writing humorous comments, so maybe we can squeeze some of those in in the future.


blog post

Comments on the blog post before we post to DC blog? @tracykteal @hlapp

:+1:

Hey @tracykteal - can you merge and post on the DC blog?

Hi Karen,
Could you maybe add Florida State University after University of Florida? (iDigBio has 2 houses and I'm in the FSU house) thanks!
Best,
Deb
Sent from shoe (iPhone)
On Dec 14, 2015, at 8:02 PM, Karen Cranston <notifications<EMAIL_ADDRESS>wrote:
Hey @tracyktealhttps://github.com/tracykteal - can you merge and post on the DC blog?

Reply to this email directly or view it on GitHubhttps://github.com/Reproducible-Science-Curriculum/Reproducible-Science-Hackathon-Dec-09-2015/pull/17#issuecomment-164608565.

Do you want me to put it up as a blog post on the DC blog, or do you want the DC blog to point to the post here?

On further thought, putting this on the DC blog as is will seem to come a bit out of the blue. So I'd suggest that before this post goes up on DC, either we post an entry on the DC blog that announces the adoption of the Reproducible Science Curriculum by Data Carpentry (following on the heels of the rOpenSci partnership), or we preface this report with a blurb announcing this fact.

Good point. I think a blurb at the front of this would probably be best. I'll give it a quick try. Please edit the PR I'll put in.


Implement the getBuildings function

Closes #188.

I managed to get the correct autocompletion working this time:

I feel like showing the variants with digits from 1 to 9 makes it too visually cluttered, but it also ensures that most people get nice autocompletion when linking more than one building of the same type.


bug in stats screen weekly sort

weekly sort only show first 7 day not the rest of the month

bug fixed - 0c7a79895a6671f4857a803016a8b95c29e498b3


Change basePath in swagger.json to use apiBackend.frontendPrefix

The baseUrl setting in swagger.json is currently set to the value of Meteor.apiUmbrella.basePath. This will cause errors. Change the JsonRoute to use the frontend prefix from the API Backend configuration.
Definition of done

[x] swagger.json is autogenerated from JsonRoute
[ ] in autogenerated swagger.json

[ ] basePath is set to value of url_matches.frontend_prefix
[ ] basePath value does not include /api-umbrella/ prefix

@frenchbread Would you want to make this small adjustment to your Swagger implementation?

@bajiat Sure!

@brylie What should happen if apiBackend contains couple of url_matches? Because they are anyways stored in an array e.g. apiBackend.url_matches[0].frontend_prefix..

Yep, for now we select the zeroth. I am not sure what scenarios might arise with sub-route custom settings, but we can cross that bridge when it arises.

PR #698.


Improve the forgotten password flow

if the user has filled out their email already when they hit 'forgotten password' then automatically  fill out and submit the form
this will look better when we have spinners on the buttons

The idea here is to simply minimise the steps required to reset a password as there is an unnecessary one at present. Would be nice if we could do it without flashing up the forgotten password form, but I don't thing it's a blocker.
When we get #3928 done, the action will be more clearly in progress.
Would love some ember feedback if there's a better way to do this though :grin:

@novaugust updated to use the new Ember.inject thingamabob :)

This looks good. Re: the reset form flashing, does the transition to the "forgotten" route even need to happen if the email has been filled in?

@jaswilli no not really, I was just using that to do this in a simple and DRY way, as I wasn't sure how else it could be done? Do mixins work for actions? I'm still pretty green on the ember stuff - I stab around in the dark and mostly it works :grin:

I wasn't thinking anything more clever than literally just not doing the transition by way of returning after sending doForgotten to the controller if we already have the email. It seems like it shouldn't be necessary in that case.

Ah - I didn't realise returning would work that way - however, having just tested it out, it works but simply stays on the signin screen with no notification.

I suspect that's because the notification is set as "delayed" which means that it doesn't get triggered until a route transition occurs. We could pass a parameter to doForgotten to make the notification not delayed and I suspect that would work.

@jaswilli holy beep you're totally right. Man that's beautiful. Thanks for the tips :) PR updated. @JohnONolan you're gonna flippin' :heart: this.