text:
Help with updating via notification

I've got the module working, but I'm trying to update it with a notification, and I'm not having any luck.  I gather from the readme that I'm supposed to send a json object enclosing a javascript object to http://magicmirror:8080/api/notification/UPDATE_POSITION.  There's an example of what the javascript object should look like, but I'm not sure what the json object is supposed to look like.  Here's the python code I'm trying to use to test:
import requests

accesstoken = 'supersecretstring'
header = {'Authorization': "Bearer {}".format(accesstoken), 'Content-type': 'application/json'}

data = '''{
		marker:[
			{
				label: "me",
				lat: "35",
				lon: "-115"
			},
			{
				label: "home",
				lat: "36",
				lon: "-117"
			},
		]
}'''

map_payload = {
	'notification': data
}

x = requests.post('http://192.168.1.1:8080/api/notification/UPDATE_POSITION', json=map_payload, headers=header)

print(x.text)

I get a success notification from the api, but nothing changes on my map.  What am I doing wrong?  I've also tried "payload" and "mypayload" instead of "notification" in the json, but none of those do anything different.
Update:
I'm wondering whether there is something that needs to align with my config.js.  Does sending the notification add new markers that are not in config.js, update existing markers that are in config.js (if so, what needs to be pre-specified in config.js), or either/both?

I think I've solved my problem.  The issue seems to be that the documentation says that the module is expecting a javascript object, but I think it's actually expecting a json object.  This script is working for me, and it completely overwrites all markers in the config.js:
import requests

accesstoken = 'supersecretstring'
header = {'Authorization': "Bearer {}".format(accesstoken), 'Content-type': 'application/json'}

data = {
		'marker':[
			{
				'label': "me",
				'lat': "35",
				'lon': "-115"
			},
			{
				'label': "home",
				'lat': "36",
				'lon': "-117"
			},
		]
}

x = requests.post('http://192.168.1.1:8080/api/notification/UPDATE_POSITION', json=data, headers=header)

print(x.text)

repo: MartinGris/MMM-GoogleMaps-Tracking


text:
Python 3.10 issue (Collections), CairoSVG Issue, DeleteFirstSlide directive

Martin,
In python 3.10, we have to import the collections prior to importing Presentation.
This address that.
Also, there's a bug introduced in this version.  I moved the import cairo helpers into the try block.  Mine was failing.
I also added a new "deletefirstslide" global directive.  If the directive is set, it will delete the first slide.  It's in a try block, as the helper fails if it is not set.  If it fails, the except block just passes the normal save operation.

Thanks for this!
2 questions:

How do you get over python-pptx having a problem with 3.10?
How do you do the actual delete of the first slide?

I'm finishing something up that I hope will enable the merge.

I've merged and pulled down onto my machine. I can't test 3.10 support yet.
But I will test deletefirstslide first.
Then I'll need to update the docs.
Please don't change the code until I push the code again or else signal you can. Thanks!

Not sure why the collections issue is there with python-pptx.  But say this
as a solution.  It shouldn't affect other versions.
As for deleting the first slide, there's two parts.  A directive at the top.
SectionSlideLayout: 4
TitleOnlyLayout: 17
BlankLayout: 11
ContentSlideLayout: 11
DeleteFirstSlide: true
If that's there, there's a section of code that loops through to delete the
slide.  It uses the del function on the slide.
Now that I think about it, it might impact your slide numbering.  I don't
use that feature, so I didn't think of it until now.  If that's the case,
the slide counting might need to be adjusted.
On Fri, Mar 18, 2022 at 12:20 PM Martin Packer @.***>
wrote:

Merged #112 https://github.com/MartinPacker/md2pptx/pull/112 into
master.
—
Reply to this email directly, view it on GitHub
https://github.com/MartinPacker/md2pptx/pull/112#event-6267684954, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ANYYFHNHXKMMRRCG6MQE4GDVAS3ORANCNFSM5RCM6KWA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Thomas McQuitty
Technical Consulting, Mainframe
Broadcom Software
Office: 972-302-3360
@.***
Twitter https://twitter.com/BroadcomSW | LinkedIn
https://www.linkedin.com/company/broadcomsoftware
https://broadcom.com
--
This electronic communication and the information and any files transmitted
with it, or attached to it, are confidential and are intended solely for
the use of the individual or entity to whom it is addressed and may contain
information that is confidential, legally privileged, protected by privacy
laws, or otherwise restricted from disclosure to anyone else. If you are
not the intended recipient or the person responsible for delivering the
e-mail to the intended recipient, you are hereby notified that any use,
copying, distributing, dissemination, forwarding, printing, or copying of
this e-mail is strictly prohibited. If you received this e-mail in error,
please return the e-mail to the sender, delete it from your computer, and
destroy any printed copy of it.

Ok, no worries.  I had some free time so I pushed that in.  But I'll wait
for any other changes.
On Fri, Mar 18, 2022 at 12:23 PM Martin Packer @.***>
wrote:

I've merged and pulled down onto my machine. I can't test 3.10 support yet.
But I will test deletefirstslide first.
Then I'll need to update the docs.
Please don't change the code until I push the code again or else signal
you can. Thanks!
—
Reply to this email directly, view it on GitHub
https://github.com/MartinPacker/md2pptx/pull/112#issuecomment-1072625624,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANYYFHPJEFKZUVMK7I3ER7LVAS3YLANCNFSM5RCM6KWA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Thomas McQuitty
Technical Consulting, Mainframe
Broadcom Software
Office: 972-302-3360
@.***
Twitter https://twitter.com/BroadcomSW | LinkedIn
https://www.linkedin.com/company/broadcomsoftware
https://broadcom.com
--
This electronic communication and the information and any files transmitted
with it, or attached to it, are confidential and are intended solely for
the use of the individual or entity to whom it is addressed and may contain
information that is confidential, legally privileged, protected by privacy
laws, or otherwise restricted from disclosure to anyone else. If you are
not the intended recipient or the person responsible for delivering the
e-mail to the intended recipient, you are hereby notified that any use,
copying, distributing, dissemination, forwarding, printing, or copying of
this e-mail is strictly prohibited. If you received this e-mail in error,
please return the e-mail to the sender, delete it from your computer, and
destroy any printed copy of it.

Here's the link from pptx:
https://github.com/scanny/python-pptx/issues/762#issuecomment-964830416
As for my simple remove, I also found it in the comments.
https://github.com/scanny/python-pptx/issues/67#issuecomment-991139717
On Fri, Mar 18, 2022 at 12:27 PM Thomas McQuitty @.***>
wrote:

Ok, no worries. I had some free time so I pushed that in. But I'll wait
for any other changes.
On Fri, Mar 18, 2022 at 12:23 PM Martin Packer @.***>
wrote:

I've merged and pulled down onto my machine. I can't test 3.10 support
yet.
But I will test deletefirstslide first.
Then I'll need to update the docs.
Please don't change the code until I push the code again or else signal
you can. Thanks!
—
Reply to this email directly, view it on GitHub
<
https://github.com/MartinPacker/md2pptx/pull/112#issuecomment-1072625624>,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/ANYYFHPJEFKZUVMK7I3ER7LVAS3YLANCNFSM5RCM6KWA
.
Triage notifications on the go with GitHub Mobile for iOS
<
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
<
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Thomas McQuitty
Technical Consulting, Mainframe
Broadcom Software
Office: 972-302-3360
@.***
Twitter https://twitter.com/BroadcomSW | LinkedIn
https://www.linkedin.com/company/broadcomsoftware
https://broadcom.com
--
This electronic communication and the information and any files
transmitted
with it, or attached to it, are confidential and are intended solely for
the use of the individual or entity to whom it is addressed and may
contain
information that is confidential, legally privileged, protected by privacy
laws, or otherwise restricted from disclosure to anyone else. If you are
not the intended recipient or the person responsible for delivering the
e-mail to the intended recipient, you are hereby notified that any use,
copying, distributing, dissemination, forwarding, printing, or copying of
this e-mail is strictly prohibited. If you received this e-mail in error,
please return the e-mail to the sender, delete it from your computer, and
destroy any printed copy of it.
—
Reply to this email directly, view it on GitHub
https://github.com/MartinPacker/md2pptx/pull/112#issuecomment-1072630044,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACPS2PJUJRPWOISJQJHVBTVAS4FRANCNFSM5RCM6KWA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
Thomas McQuitty
Technical Consulting, Mainframe
Broadcom Software
Office: 972-302-3360
@.***
Twitter https://twitter.com/BroadcomSW | LinkedIn
https://www.linkedin.com/company/broadcomsoftware
https://broadcom.com
--
This electronic communication and the information and any files transmitted
with it, or attached to it, are confidential and are intended solely for
the use of the individual or entity to whom it is addressed and may contain
information that is confidential, legally privileged, protected by privacy
laws, or otherwise restricted from disclosure to anyone else. If you are
not the intended recipient or the person responsible for delivering the
e-mail to the intended recipient, you are hereby notified that any use,
copying, distributing, dissemination, forwarding, printing, or copying of
this e-mail is strictly prohibited. If you received this e-mail in error,
please return the e-mail to the sender, delete it from your computer, and
destroy any printed copy of it.

I'm having to work on the deletefirstslide code a bit...
Syntax will be:
deleteFirstSlide: yes
for consistency.

OK. Just pushed a "fiddled with" :-) version that works with the above syntax. The default will be no , by the way.
pls pull this version.
Will be documenting tonight - alongside the documentation for https://github.com/MartinPacker/md2pptx/pull/111.
Then I can release v2.6.
Thanks for your help!

Of course.  Thank you for putting this out there.
When you get to Dallas, we can talk about how I use it as part of a
pipeline.  And I have something for you to take back.
Are you a pint or tea guy?  Or both?
On Fri, Mar 18, 2022 at 12:44 PM Martin Packer @.***>
wrote:

OK. Just pushed a "fiddled with" :-) version that works with the above
syntax. The default will be no , by the way.
pls pull this version.
Will be documenting tonight - alongside the documentation for #111
https://github.com/MartinPacker/md2pptx/issues/111.
Then I can release v2.6.
Thanks for your help!
—
Reply to this email directly, view it on GitHub
https://github.com/MartinPacker/md2pptx/pull/112#issuecomment-1072645882,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANYYFHKIJ3NNNNDQGC2S7ETVAS6G3ANCNFSM5RCM6KWA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Thomas McQuitty
Technical Consulting, Mainframe
Broadcom Software
Office: 972-302-3360
@.***
Twitter https://twitter.com/BroadcomSW | LinkedIn
https://www.linkedin.com/company/broadcomsoftware
https://broadcom.com
--
This electronic communication and the information and any files transmitted
with it, or attached to it, are confidential and are intended solely for
the use of the individual or entity to whom it is addressed and may contain
information that is confidential, legally privileged, protected by privacy
laws, or otherwise restricted from disclosure to anyone else. If you are
not the intended recipient or the person responsible for delivering the
e-mail to the intended recipient, you are hereby notified that any use,
copying, distributing, dissemination, forwarding, printing, or copying of
this e-mail is strictly prohibited. If you received this e-mail in error,
please return the e-mail to the sender, delete it from your computer, and
destroy any printed copy of it.

It would be greedy to say "both". But tea works better for me in terms of kitchen real estate. :-)
Looking forward to meeting you.
BTW I'm going to move the code to delete a slide into a function. In case @scanny gives us official support. And thanks to @chipset.

Ok.  Thanks for letting me know about the tea/pint issue.
And yes, it would be nice to have official support.
On Fri, Mar 18, 2022 at 12:49 PM Martin Packer @.***>
wrote:

It would be greedy to say "both". But tea works better for me in terms of
kitchen real estate. :-)
Looking forward to meeting you.
BTW I'm going to move the code to delete a slide into a function. In case
@scanny https://github.com/scanny gives us official support. And thanks
to @chipset https://github.com/chipset.
—
Reply to this email directly, view it on GitHub
https://github.com/MartinPacker/md2pptx/pull/112#issuecomment-1072650885,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANYYFHMVCMBWMK34RRUZ7DDVAS62HANCNFSM5RCM6KWA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Thomas McQuitty
Technical Consulting, Mainframe
Broadcom Software
Office: 972-302-3360
@.***
Twitter https://twitter.com/BroadcomSW | LinkedIn
https://www.linkedin.com/company/broadcomsoftware
https://broadcom.com
--
This electronic communication and the information and any files transmitted
with it, or attached to it, are confidential and are intended solely for
the use of the individual or entity to whom it is addressed and may contain
information that is confidential, legally privileged, protected by privacy
laws, or otherwise restricted from disclosure to anyone else. If you are
not the intended recipient or the person responsible for delivering the
e-mail to the intended recipient, you are hereby notified that any use,
copying, distributing, dissemination, forwarding, printing, or copying of
this e-mail is strictly prohibited. If you received this e-mail in error,
please return the e-mail to the sender, delete it from your computer, and
destroy any printed copy of it.

So all that's left to do before I close this is document DeleteFirstSlide.

Docs pushed.

source: gharchive/pull-request

authors: MartinPacker McQuitty-Broadcom chipset

license: MIT

license_type: permissive

license_source: github-api


text:
Fix path to the smoke launcher sound

yes

Wow, is this real?


text:
Error in Running train.py

#When I run the train.py about 3 hours later, I got the error information:
2018-04-14 02:55:47.490099: W tensorflow/core/framework/op_kernel.cc:1158] Resource exhausted: /home/amax/lgy/KittiSeg/RUNS/KittiSeg_2018_04_14_01.07/model.ckpt-2000.data-00000-of-00001.tempstate13881274976169662731
2018-04-14 02:55:47.491516: W tensorflow/core/kernels/queue_base.cc:294] _0_Queues/fifo_queue: Skipping cancelled enqueue attempt with queue not closed
Traceback (most recent call last):
File "train.py", line 131, in
tf.app.run()
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "train.py", line 127, in main
train.do_training(hypes)
File "incl/tensorvision/train.py", line 396, in do_training
run_training(hypes, modules, tv_graph, tv_sess)
File "incl/tensorvision/train.py", line 324, in run_training
tv_sess['saver'].save(sess, checkpoint_path, global_step=step)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 1472, in save
{self.saver_def.filename_tensor_name: checkpoint_file})
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 789, in run
run_metadata_ptr)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 997, in _run
feed_dict_string, options, run_metadata)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1132, in _do_run
target_list, options, run_metadata)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1152, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.ResourceExhaustedError: /home/amax/lgy/KittiSeg/RUNS/KittiSeg_2018_04_14_01.07/model.ckpt-2000.data-00000-of-00001.tempstate13881274976169662731
[[Node: save/SaveV2 = SaveV2[dtypes=[DT_INT32, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_arg_save/Const_0_0, save/SaveV2/tensor_names, save/SaveV2/shape_and_slices, Optimizer/Variable, Optimizer/training/beta1_power/_563, Optimizer/training/beta2_power/_565, conv1_1/biases/_567, conv1_1/biases/Adam/_569, conv1_1/biases/Adam_1/_571, conv1_1/filter/_573, conv1_1/filter/Adam/_575, conv1_1/filter/Adam_1/_577, conv1_2/biases/_579, conv1_2/biases/Adam/_581, conv1_2/biases/Adam_1/_583, conv1_2/filter/_585, conv1_2/filter/Adam/_587, conv1_2/filter/Adam_1/_589, conv2_1/biases/_591, conv2_1/biases/Adam/_593, conv2_1/biases/Adam_1/_595, conv2_1/filter/_597, conv2_1/filter/Adam/_599, conv2_1/filter/Adam_1/_601, conv2_2/biases/_603, conv2_2/biases/Adam/_605, conv2_2/biases/Adam_1/_607, conv2_2/filter/_609, conv2_2/filter/Adam/_611, conv2_2/filter/Adam_1/_613, conv3_1/biases/_615, conv3_1/biases/Adam/_617, conv3_1/biases/Adam_1/_619, conv3_1/filter/_621, conv3_1/filter/Adam/_623, conv3_1/filter/Adam_1/_625, conv3_2/biases/_627, conv3_2/biases/Adam/_629, conv3_2/biases/Adam_1/_631, conv3_2/filter/_633, conv3_2/filter/Adam/_635, conv3_2/filter/Adam_1/_637, conv3_3/biases/_639, conv3_3/biases/Adam/_641, conv3_3/biases/Adam_1/_643, conv3_3/filter/_645, conv3_3/filter/Adam/_647, conv3_3/filter/Adam_1/_649, conv4_1/biases/_651, conv4_1/biases/Adam/_653, conv4_1/biases/Adam_1/_655, conv4_1/filter/_657, conv4_1/filter/Adam/_659, conv4_1/filter/Adam_1/_661, conv4_2/biases/_663, conv4_2/biases/Adam/_665, conv4_2/biases/Adam_1/_667, conv4_2/filter/_669, conv4_2/filter/Adam/_671, conv4_2/filter/Adam_1/_673, conv4_3/biases/_675, conv4_3/biases/Adam/_677, conv4_3/biases/Adam_1/_679, conv4_3/filter/_681, conv4_3/filter/Adam/_683, conv4_3/filter/Adam_1/_685, conv5_1/biases/_687, conv5_1/biases/Adam/_689, conv5_1/biases/Adam_1/_691, conv5_1/filter/_693, conv5_1/filter/Adam/_695, conv5_1/filter/Adam_1/_697, conv5_2/biases/_699, conv5_2/biases/Adam/_701, conv5_2/biases/Adam_1/_703, conv5_2/filter/_705, conv5_2/filter/Adam/_707, conv5_2/filter/Adam_1/_709, conv5_3/biases/_711, conv5_3/biases/Adam/_713, conv5_3/biases/Adam_1/_715, conv5_3/filter/_717, conv5_3/filter/Adam/_719, conv5_3/filter/Adam_1/_721, fc6/biases/_723, fc6/biases/Adam/_725, fc6/biases/Adam_1/_727, fc6/weights/_729, fc6/weights/Adam/_731, fc6/weights/Adam_1/_733, fc7/biases/_735, fc7/biases/Adam/_737, fc7/biases/Adam_1/_739, fc7/weights/_741, fc7/weights/Adam/_743, fc7/weights/Adam_1/_745, score_fr/biases/_747, score_fr/biases/Adam/_749, score_fr/biases/Adam_1/_751, score_fr/weights/_753, score_fr/weights/Adam/_755, score_fr/weights/Adam_1/_757, score_pool3/biases/_759, score_pool3/biases/Adam/_761, score_pool3/biases/Adam_1/_763, score_pool3/weights/_765, score_pool3/weights/Adam/_767, score_pool3/weights/Adam_1/_769, score_pool4/biases/_771, score_pool4/biases/Adam/_773, score_pool4/biases/Adam_1/_775, score_pool4/weights/_777, score_pool4/weights/Adam/_779, score_pool4/weights/Adam_1/_781, upscore2/up_filter/_783, upscore2/up_filter/Adam/_785, upscore2/up_filter/Adam_1/_787, upscore32/up_filter/_789, upscore32/up_filter/Adam/_791, upscore32/up_filter/Adam_1/_793, upscore4/up_filter/_795, upscore4/up_filter/Adam/_797, upscore4/up_filter/Adam_1/_799)]]
Caused by op u'save/SaveV2', defined at:
File "train.py", line 131, in
tf.app.run()
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "train.py", line 127, in main
train.do_training(hypes)
File "incl/tensorvision/train.py", line 380, in do_training
tv_sess = core.start_tv_session(hypes)
File "incl/tensorvision/core.py", line 172, in start_tv_session
saver = tf.train.Saver(max_to_keep=int(utils.cfg.max_to_keep))
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 1139, in init
self.build()
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 1170, in build
restore_sequentially=self._restore_sequentially)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 689, in build
save_tensor = self._AddSaveOps(filename_tensor, saveables)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 276, in _AddSaveOps
save = self.save_op(filename_tensor, saveables)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 219, in save_op
tensors)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/gen_io_ops.py", line 745, in save_v2
tensors=tensors, name=name)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/op_def_library.py", line 767, in apply_op
op_def=op_def)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 2506, in create_op
original_op=self._default_original_op, op_def=op_def)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 1269, in init
self._traceback = _extract_stack()
ResourceExhaustedError (see above for traceback): /home/amax/lgy/KittiSeg/RUNS/KittiSeg_2018_04_14_01.07/model.ckpt-2000.data-00000-of-00001.tempstate13881274976169662731
[[Node: save/SaveV2 = SaveV2[dtypes=[DT_INT32, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_arg_save/Const_0_0, save/SaveV2/tensor_names, save/SaveV2/shape_and_slices, Optimizer/Variable, Optimizer/training/beta1_power/_563, Optimizer/training/beta2_power/_565, conv1_1/biases/_567, conv1_1/biases/Adam/_569, conv1_1/biases/Adam_1/_571, conv1_1/filter/_573, conv1_1/filter/Adam/_575, conv1_1/filter/Adam_1/_577, conv1_2/biases/_579, conv1_2/biases/Adam/_581, conv1_2/biases/Adam_1/_583, conv1_2/filter/_585, conv1_2/filter/Adam/_587, conv1_2/filter/Adam_1/_589, conv2_1/biases/_591, conv2_1/biases/Adam/_593, conv2_1/biases/Adam_1/_595, conv2_1/filter/_597, conv2_1/filter/Adam/_599, conv2_1/filter/Adam_1/_601, conv2_2/biases/_603, conv2_2/biases/Adam/_605, conv2_2/biases/Adam_1/_607, conv2_2/filter/_609, conv2_2/filter/Adam/_611, conv2_2/filter/Adam_1/_613, conv3_1/biases/_615, conv3_1/biases/Adam/_617, conv3_1/biases/Adam_1/_619, conv3_1/filter/_621, conv3_1/filter/Adam/_623, conv3_1/filter/Adam_1/_625, conv3_2/biases/_627, conv3_2/biases/Adam/_629, conv3_2/biases/Adam_1/_631, conv3_2/filter/_633, conv3_2/filter/Adam/_635, conv3_2/filter/Adam_1/_637, conv3_3/biases/_639, conv3_3/biases/Adam/_641, conv3_3/biases/Adam_1/_643, conv3_3/filter/_645, conv3_3/filter/Adam/_647, conv3_3/filter/Adam_1/_649, conv4_1/biases/_651, conv4_1/biases/Adam/_653, conv4_1/biases/Adam_1/_655, conv4_1/filter/_657, conv4_1/filter/Adam/_659, conv4_1/filter/Adam_1/_661, conv4_2/biases/_663, conv4_2/biases/Adam/_665, conv4_2/biases/Adam_1/_667, conv4_2/filter/_669, conv4_2/filter/Adam/_671, conv4_2/filter/Adam_1/_673, conv4_3/biases/_675, conv4_3/biases/Adam/_677, conv4_3/biases/Adam_1/_679, conv4_3/filter/_681, conv4_3/filter/Adam/_683, conv4_3/filter/Adam_1/_685, conv5_1/biases/_687, conv5_1/biases/Adam/_689, conv5_1/biases/Adam_1/_691, conv5_1/filter/_693, conv5_1/filter/Adam/_695, conv5_1/filter/Adam_1/_697, conv5_2/biases/_699, conv5_2/biases/Adam/_701, conv5_2/biases/Adam_1/_703, conv5_2/filter/_705, conv5_2/filter/Adam/_707, conv5_2/filter/Adam_1/_709, conv5_3/biases/_711, conv5_3/biases/Adam/_713, conv5_3/biases/Adam_1/_715, conv5_3/filter/_717, conv5_3/filter/Adam/_719, conv5_3/filter/Adam_1/_721, fc6/biases/_723, fc6/biases/Adam/_725, fc6/biases/Adam_1/_727, fc6/weights/_729, fc6/weights/Adam/_731, fc6/weights/Adam_1/_733, fc7/biases/_735, fc7/biases/Adam/_737, fc7/biases/Adam_1/_739, fc7/weights/_741, fc7/weights/Adam/_743, fc7/weights/Adam_1/_745, score_fr/biases/_747, score_fr/biases/Adam/_749, score_fr/biases/Adam_1/_751, score_fr/weights/_753, score_fr/weights/Adam/_755, score_fr/weights/Adam_1/_757, score_pool3/biases/_759, score_pool3/biases/Adam/_761, score_pool3/biases/Adam_1/_763, score_pool3/weights/_765, score_pool3/weights/Adam/_767, score_pool3/weights/Adam_1/_769, score_pool4/biases/_771, score_pool4/biases/Adam/_773, score_pool4/biases/Adam_1/_775, score_pool4/weights/_777, score_pool4/weights/Adam/_779, score_pool4/weights/Adam_1/_781, upscore2/up_filter/_783, upscore2/up_filter/Adam/_785, upscore2/up_filter/Adam_1/_787, upscore32/up_filter/_789, upscore32/up_filter/Adam/_791, upscore32/up_filter/Adam_1/_793, upscore4/up_filter/_795, upscore4/up_filter/Adam/_797, upscore4/up_filter/Adam_1/_799)]]
I follow the step of readme and it work well at first and i'm not sure if this error is memory error

Have you solved this problem? I also met the similar problem of OOM...

source: gharchive/issue

repo: MarvinTeichmann/KittiSeg

license: mit

license_source: bigquery


text:
When using Express 4 and the Express Router, paths are improperly reported

Using the new Express 4.x feature of the Express Router (miniature instance of Express Application) paths are improperly reported to API Analytics.
index.js (Require routes)
app.use('/account', require('./routes/account'))

routes/account.js (Account Router)
var express = require('express');
var router;

module.exports = router = express.Router();

router.get('/:id', function (req, res, next) {
  console.log(req.query.id)
});

Fetching /accounts/2958926829234 would result in API Analytics displaying /2958926829234 instead of the correct path with the /accounts segment prepended.

is this still relevant?

Yes @hutchic

authors: hutchic nijikokun

repo: Mashape/galileo-agent-node


text:
Improve query string normalization and add hooks system

Improve query string normalization to  RFC 3986 and avoid truncation if query has duplicate parameter with same name.
Additional hook system useful for debug

hey @ad-git sorry for missing this PR!!!
looks great, but can you please add some tests + update the documentation?
thank you.

Does this also solve the problem when I am trying to use a query string parameter with a + in it? I want to use 'starttimetime' with value '2017-04-05T11:48:59+02:00'. Eventually this is being sent with a space.
I debugged it and this is caused by the Request::getArrayFromQuerystring function that uses parse_str. This decodes the + sign to a space.

Hello,
Will this pull request be merged any time soon ?
I have a similar issues when sending multiple tags (eg. someUrl?tags[]=php&tags[]=unirest). Unirest strips the second parameters resulting in someUrl?tags[]=php.
Thanks!

 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.Andrea 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.

authors: AdrianMeresescu CLAassistant ad-git ahmadnassri rolandow

repo: Mashape/unirest-php


text:
Updating Constraint contant?

If I hang onto a constraint like:
var leftConstraint: Constraint?
let padding = UIEdgeInsetsMake(107, 0, 0, 0)
     draftsSiteManagement?.snp_makeConstraints { make in
            make.size.equalTo(self.view).with.insets(padding)
            make.top.equalTo(107)
            self.leftConstraint = make.left.equalTo(self.view.snp_right)
        }
}

How would I update the constant later?

Define how you would like to update said constraint? Are you looking to just update the "constant" or also re-assign the LHS/RHS?
If you strictly say want to update that 107 to maybe 40 or something you would just need to:
snp_updateConstraints { make in
    make.top.equalTo(40)
}

Thanks for responding.
I would like to update the self.leftConstraint constant such that left is now = self.view.snp_left, instead of right.
The real goal is to animate draftsSiteManagement from where is off screen to 0 (on screen).
Basically like I would do with a standard NSLayoutConstraint constraint.constant = 5

After reading your other response to my other question I think I'm not approaching this properly.
I probably need to uninstall the constraint and apply a new one and layoutIfNeeded() in an animation block.

@nickvelloff it's important to note there are a couple parts to a constraint. Remember the constant is strictly the offset value of the constraint. Constraints are formulated as such:
(LHS) (RELATION) (RHS)? * (MULTIPLIER) + (CONSTANT)
The RHS can be nil, in cases where you do an equalTo(<non-view-value>) you are actually essentially doing: equalTo(nil).offset(<non-view-value>).
So yes in your particular case you are altering the LHS/RHS of the constraint and thus need a new one.

I was confusing the meaning of self.view.snp_right with it evaluating that value and using it as a <non-view-value> constant. Newbie mistake, thanks for the clarification.

authors: nickvelloff robertjpayne

repo: Masonry/Snap


text:
Name is undefined.

When both testing and running the npm module myself MainStat returns name as undefined. Everything else is returned except for the Name which is undefined.
Your goal is to fix it :D And by fixing it you score a PR. Also i get to test if I have set up CircleCi properly.
Happy Hunting

Hello, willing to work on this !

ah sorry @jeromechrist, forgot to comment when I started working on this. @MatejMecka You can accept his PR,I don't need more Hacktoberfest PRs 😄

Thanks @kristinn93 also sorry @jeromechrist :(

@MatejMecka @kristinn93 ha, np ! you may want to grab the call to mocha https://github.com/jeromechrist/HacktoberfestStats/blob/db0b9db57fa7afc47ee01d3b3ee48dfaa6d26127/package.json#L7
npm test was failing for me with the previous call to ./node_modules/mocha/bin/mocha
peace !

@jeromechrist just out of curiosity what os are you running ?

@kristinn93 Windows 10

@jeromechrist ah could explain why it works fine on mac

authors: MatejMecka jeromechrist kristinn93

repo: MatejMecka/HacktoberfestStats


text:
🛑 BackOffice App [CL] is down

In 4a427b3, BackOffice App [CL] (https://backoffice.voluntariosgreenpeace.cl/) was down:

HTTP code: 502
Response time: 253 ms

Resolved: BackOffice App [CL] is back up in 55e7647.


text:
ci: merge staging to master

This is an automatic PR generated by the pipeline CI/CD. This will be automatically fast-forward merged if successful.

Pipeline Attempt on 1035477637 for 8434c70485dc4e05e69bd5e1ef8ac181fc88adf6
https://gitlab.com/MatrixAI/open-source/js-rpc/-/pipelines/1035477637

Pipeline Succeeded on 1035477637 for 8434c70485dc4e05e69bd5e1ef8ac181fc88adf6
https://gitlab.com/MatrixAI/open-source/js-rpc/-/pipelines/1035477637

repo: MatrixAI/js-rpc


text:
Imported webcomponent not detected

when I import a standard web component with auto registration I get a warning of not imported component
in my file i import the webComponent that way:
import "src/webComponents/MyComp.js"
// this file is a lit-HTML component definition

in MyComp.js the component is declared like this:
// this file contains a standard webComponent
class MyComp extends HTMLElement {
  //...
}
customElements.define("my-comp", MyComp)

now when trying to use  within the render of my litElement i got a warning:
Tag my-comp has not been imported
Hope this will be fixed some day, in the meantime thanks for your work !

Thank you for your report! Could you provide a minimal reproduction in a form of a code repo for this?
I'll try and find some time for this project in the start of 2025. Currently life and projects have kept me too busy to make this tool into the finished product I want it to be, and therefore sorry for the inconvenience

Don't be sorry, this is already awesome work :+1:
I've no time either on my side but will try to do so if i can. Also this is happening in vscode, is there a way to set cels-disable-import-check when used with vscode ?

It.... should?
https://github.com/Matsuuu/custom-elements-language-server?tab=readme-ov-file#disabling-diagnostics
Just dropping that into a comment somewhere should do it. Unless it's broken :D

Yes it does thanks a lot !

So no more issue for me, i missed the line about it in comments sorry for the inconvenience. And keep up the good work this is a must needed piece of work for web components authors and users !

Glad to hear you're liking it. What features of the CELS are you using curently and how are they functioning for ya?

authors: Matsuuu malko

repo: Matsuuu/custom-elements-language-server


text:
Fix input issues

This PR:

Bumps deps (npm i givers error in windows now).
Allows for string-like values for inputs in https://github.com/Matt-Esch/virtual-dom/pull/377.
Invokes hooks after properties, that resolves class of issues https://github.com/Matt-Esch/virtual-dom/issues/228
Splits test/main.js into test/h.js, test/render.js, test/widget.js, test/vnode.js and test/patch.js (that allows for better tests navigation).
Adds use strict directives (to avoid mistakes & typos).
Enables gentle eslint config and fixes all errors.
Bumps nodejs for travis

cc @Matt-Esch @Raynos @Zolmeister
If you prefer I can split thit PR into multiple.
I am going to create a transform converting react to virtual-dom (alike to preact), so I can devote some time fixing issues/PRs, if you have no time to run this repository you can provide contributor access to it.
There is a datavis project coming similar to rect-vis, hoped to base it on virtual-dom, so looking forward to this PR not being ignored :)

Coverage increased (+0.01%) to 97.543% when pulling ae58f0173e51e4235a887b123dbb17c18c586b16 on dfcreative:master into 947ecf92b67d25bb693a0f625fa8e90c099887d5 on Matt-Esch:master.

Coverage increased (+0.01%) to 97.543% when pulling ae58f0173e51e4235a887b123dbb17c18c586b16 on dfcreative:master into 947ecf92b67d25bb693a0f625fa8e90c099887d5 on Matt-Esch:master.

Closing out due to lack of activity.

authors: Raynos coveralls dy

repo: Matt-Esch/virtual-dom


text:
Laravel service provider & validator.

Hey, Is this something you'd like to add or shall I create a new package? Cheers

Hello. Thanks for the contribution.
I've just merged this PR via 1240d89
I've never used Laravel so I trust you about the content :)

Np. I'll submit a pull with usage docs & tests. Handy package, :+1: for creating :)

authors: MattKetmo olsgreen

repo: MattKetmo/EmailChecker


text:
'Compile' vs. 'Provided' for AppCompat

I noticed you used compile instead of provided for including the AppCompat dependency, here: https://github.com/MatthewTamlin/SlidingIntroScreen/blob/master/library/build.gradle#L21
Any chance you can switch to provided? I'd really hate to include it twice in my app with possibly different versions, and I don't use ProGuard to slim down the app (still not hitting the 65k limit).
Thanks!

While I can appreciate your situation and what you're trying to achieve, I don't believe that changing the dependency to provided (or compileOnly as it's known in Gradle) is the best course of action. There are certain situations where compileOnly dependencies are useful (or even necessary) but I don't believe this is one of them. They're useful if:

A dependent feature is optional.
The dependency is not required or not available at runtime.
The implementation is determined at runtime by another library.

My library definitely doesn't have any optional features and the dependency is definitely required at runtime, so the first two points are definitely not applicable. The third point initially seems like it might be applicable, but upon further consideration it isn't. Allowing the implementation to be determined at runtime by whichever app compat library is being used would reduce the effectiveness of my tests and it would potentially create very difficult to find bugs. If a consumer supplied a version of the dependency containing a defect, it could cause my library to behave defectively too. I'm definitely not in a position to test every possible app compat library so it's preferable for me to stick with one dependency at compile time.
You said you don't use proguard, but I think that's the tool you should be using. It can be used for much more than just avoiding the 65K limit.

authors: MatthewTamlin milosmns

repo: MatthewTamlin/SlidingIntroScreen


text:
feat: add state commitment callback support i.e. done function

closes #20

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

repo: MatthewZito/vivisector


text:
Performance against quicksort for large datasets?

Thanks for making this available, and your blog post of course. I've been watching Robert Sedgewick's lectures on Algorithms (which is how I stumbled upon your blog :blush:), and while he praises the benefits of heapsort, he also mentions as a downside that it "makes poor use of cache memory". More specific:

... doesn't have local memory reference like quicksort does (always referring to something that's nearby something else that was just referred to), whereas heapsort is going to look far away from the current place as it goes down the tree, and that makes it slower in a lot of situations.

On your blog post you do mention it beats quicksort for certain input sizes. Have you tested it for very large datasets (spanning several pages of memory)? Very interested to know if its limited locality of reference has a non-trivial impact on performance.

I benchmarked the C++ version of bottom-up heapsort against libc++'s std::make_heap + std::sort_heap, but bottom-up heapsort was always slower for an std::vector<int> of one million elements. Considering that the modern quicksort variants are way faster than libc++'s heapsort (cache memory does indeed matter), it seems that the « beats quicksort for certain inpput sizes » isn't true anymore and that bottom-up heapsort, while somewhat interesting, does not have much of a future :/

authors: Morwenn nkgm


text:
Offline cachine

I noticed that there's no support for offline caching of map tiles or GIS data. Implementing offline caching would greatly enhance the utility of the library, especially in scenarios with limited or no internet connectivity. This feature could allow for storing map data locally and accessing it without an active internet connection.

Actually, if the is run as native application, all downloaded tiles are cached in the file system. On web we rely on browser caching, I don't think it's reasonable to use local storage for tile cache.
You can also preload all the tiles you need using TileProvider API. One thing we could add, is working in offline mode, without attempting internet requests at all.
Also mentioned in #18

I'll rename the issue to offline mode

authors: Maximkaaa Ragarnoy

repo: Maximkaaa/galileo


text:
OpenComputers dependency is not all lowercase

https://github.com/McJty/DeepResonance/blob/6f5af2d071d443c89797b453d41a97ca105d3390/src/main/java/mcjty/deepresonance/DeepResonance.java#L45
The ModId for OpenComputers is "opencomputers" so the dependency info will not work as intended.
https://github.com/MightyPirates/OpenComputers/blob/a4b86524791d05d89e74bc38b030dacda321ab5c/src/main/scala/li/cil/oc/OpenComputers.scala#L19

Fixed next version

authors: McJty mezz

repo: McJty/DeepResonance


text:
CTD Possible X-mod issue

https://gist.github.com/xenoflot/16ed83d032b21d2a6c50525cd3983119
Player on the server had switched to SSP to test the powercell linking and CTD.
I don't know the specifics of what he did, but I expect it wasn't much more than spawning in a generator and some powercells. Please let me know if the crashlog doesn't have enough information and I'll do some testing to narrow it down.
advancedrocketry-1.10.2-1.0.6
compatlayer-1.10-0.1.7
mcjtylib-1.1x-2.3.2
rftools-1.1x-5.81
libvulpes-1.10.2-0.1.13-universal
Cheers!

I don't know what libVulpes is but what it does is VERY wrong. It is trying to send RF into the powercells on client side! This is not rftools bug. Report this to libVulpes

Will do! Thanks for the snappy reply!

authors: McJty xenoflot

repo: McJty/RFTools


text:
theme: hide-status-bar feature on samsung-internet breaks navigation

Hmm, this is pretty funny and probably not worth the time, but I'll leave a note here just in case.
Samsung browser have hide-status-bar feature which breaks some pages including this theme.
Samsung Internet on Z Flip 6:

Samsung Internet
https://github.com/user-attachments/assets/cb0abcd5-b8cd-4b66-b759-279da397e23f

Mozilla Firefox and Google Chrome on Vivo V21e:

Mozilla Firefox
https://github.com/user-attachments/assets/cc0cf70f-b5d8-47c8-980e-aea96b530d09

Google Chrome
https://github.com/user-attachments/assets/631cc9c6-9f12-45e8-b23b-0195a282e7ac

The only info I found about this:
https://stackoverflow.com/questions/30527157/auto-hide-toolbar-in-samsung-android-browser-breaks-non-scrollable-pages-sgs5

I've tried it with a friends device in Samsung Internet 21.0.3.6.
The theme has other issues with this but because of the low market share of this browser and no permanently available test device, I don't see a way to fix this myself.
Anyways, PRs are welcome for this.

authors: McShelby sedyh

repo: McShelby/hugo-theme-relearn


text:
Bug in parsing AVID VC-3 parsing (File_Vc3::CodingControlB())

MediaInfoLib\Source\MediaInfo\Video\File_Vc3.cpp Line 854
File_Vc3::CodingControlB()
Info_SB(   FFE,                                             "FFE, Field/Frame Count"); Param_Info1(Vc3_FFE[FFE]);
Get_SB (   SSC,                                             "SSC, Sub Sampling Control"); Param_Info1(Vc3_SSC[SSC]);
Mark_0();
Mark_0();
Get_S1 (2, CLV,                                             "CLR, Color Volume"); Param_Info1(Vc3_CLV[CLV]);
Get_SB (   CLF,                                             "CLF, Color Format"); Param_Info1(Vc3_CLF[CLF]);

In the above code reads only 1 bit for SSC but the field is actually two bits. See SMPTE ST 2019-1:2016; 7.2.5  Coding Control B.

Thanks for the tip, looks like there was a typo during implementation of 2016 version, as all other parts of the related code seem fine.
You can test with snapshots (20190626 minimum).
Note: I don't have 4:2:0 streams, would be great if you can provide one for our automatic tests.
Please prefer https://github.com/MediaArea/MediaInfoLib/issues for issues related to file formats.

Jerome,
thanks for the quick response and fix. Unfortunately - I can't make 4:2:0 files since we haven't wired up 4:2:0. Currently we support 4:4:4(:4) and 4:2:2.
Sorry!

repo: MediaArea/MediaInfo


text:
🛑 MediaNext is down

In 4adfc08, MediaNext (https://the-bot.thein321.repl.co) was down:

HTTP code: 0
Response time: 0 ms

Resolved: MediaNext is back up in e798471.

repo: MediaPlay-Discord/status


text:
My server is turn Very Lagged! :/

Tittle.

so? What about it

@Jhair2015 Can you provide more information?

@Megabyte918 That in the last version, the spaces are very slow: / - In addition there is excessive lag, before used host c9io, but after his fall decided to use codeanywhere.

@Jhair2015 The spaces are supposed to be slow, that's how it is in vanilla. If you compare these splits to vanilla, I can guarantee you will not notice a difference. Also by "provide more information" I meant things like:

How many players were on your server?
What was the current CPU/memory usage?
What were your configurations set to?

Can you send me your gameserver.ini? It would help.
I do not have any trouble with lags.

@Megabyte918
There were no more than 20 people
CPU AND MEMORY: the default codeanywhere xD - use that because cloud9 broke :(
Mmm .. I have tried in an old version and had no lag at all and this is my gameserver.ini,
Here my gameserver.ini
http://pastebin.com/raw/fpFUKkAg
I think that you added more graphics to the game, I mean nicer spaces, Classy style, I do not know if you saw one of his videos but its spaces are very nice * - *
Watch it here: https://www.youtube.com/watch?v=q0ykiLzurXo
Sorry for the spam.
If I have noticed the difference of spaces lol. In the last update.

Get a faster PC?

same problem but splits are very very worst

@Jhair2015

foodMinAmount = 2500 << 2x the normal amount
foodMaxAmount = 3000 << 1.5x the normal amount
foodSpawnAmount = 150 << see below
spawnInterval = 5 << You are spawning 150 (foodSpawnAmount) food cells every 5 ticks, there is 60 ticks in 1 second (i think), 5/60 = 12, 150 (foodSpawnAmount) * 12 = 1800, you are spawning 1800 food cells per second.

I checked through the code that spawns food cells and it seems that foodMaxAmount is never applied. Which means you are continuously spawning 1800 food cells per second, which is probably why your server is lagging. Plus 20 players and 625 spawnmass per player are eating alot of food will cause alot to spawn every second.
I re-compare the splitting later.

@Megabyte918  I have used this configuration always in many versions.
@AlexHGaming  and my pc is not so fast but it holds xD, in this last update I had this problem, well a few minutes ago it was updated but I understand.

@Jhair2015 Is it still lagging on the latest version?

@Megabyte918  Nuhh https://github.com/Megabyte918/MultiOgar-Edited/tree/b9ce28cc73c820589d765e73492937a3d4932f07
in this Version i not have lag.

@raphyjb Hey, pallets is the cause of lag, menore this or get a VPS to host.

@Jhair2015 Try changing this line in GameServer.js to this:
if (cell1.isRemoved || cell1 == null || client == null)
If that doesn't work then it is what you are using to host. I've never had any performance issues on any versions. Also c9 or codeanywhere are not places to host, it is for development or testing. So that could also be the reason why you experience lag.

@Megabyte918
Okay, I'll prove it later ^^, and another question, c: it's possible to do this kind of graphics as in this video, I'm hypnotized seeing these spaces XDXD
https://www.youtube.com/watch?v=q0ykiLzurXo&t=243s

@Jhair2015 ctrl + minus

What?
@Megabyte918

@Megabyte918 Ahhh okokok xD
http://stackoverflow.com/questions/16637261/what-does-ctrl-plus-minus-do-in-modern-browsers
XD

@Jhair2015 @PsycoYT About splitting: https://streamable.com/gfjus
I cannot notice a difference (using the latest version)

@Megabyte918  I do note a difference, multihogar takes a little more to divide than in vanilla
But it is very different to see MultihOgar or Vanilla with OGarrio, there if there is much difference.

@Jhair2015 Ogario does not affect splitting. However splitting looks in vanilla compared to with an extension on is the same.. Also please compare through actual spectate rather than youtube videos.

@Megabyte918 Nice, Ok ok ok No problem

How to play on the private server with the ogario extension anyways?
On 31 December 2016 at 14:46, JhairTera177 notifications@github.com wrote:

@Megabyte918 https://github.com/Megabyte918 Nice, Ok ok ok No problem
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Megabyte918/MultiOgar-Edited/issues/313#issuecomment-269868022,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AWjIVLToosgJBRFHBiB2XBXTuZOgPwgdks5rNmqygaJpZM4LYWaU
.

@AlexHGaming  Install Ogario to tampermonkey and play!


text:
Tutorials  for cvpods

I can't find any docs or tutorials for cvpods, and I wondered if all the usage of cvpods is same as detectron2. If not, could you release the documents of cvpods?

Hi, thanks for your suggestion. This repo is not fully like detectron2, espectially on dataset and config part. And I'm sorry for not providing a doc in this repo.
Actually we have a doc writting in our company version, we may release it in the near future. Please wait and see!

authors: FateScript ZijunYu

repo: Megvii-BaseDetection/BorderDet


text:
Update - scrollbar Component

todo

[x] Update scrollbar_v0.1.0

@input :package: buttons_v0.1.1 from #2
[x] update the scrollbar component
@output :package: scrollbar_v0.1.1

[ ] Finalize scrollbar_v0.1.?

[ ] code scrollbar
@output :package: scrollbar_v0.1.? from comment

tasks - 2024.01.28

Update scrollbar_v0.1.0

update the scrollbar component
@output :package: scrollbar_v0.1.1

worklog
worklog-196

feedback

proposals

repo: Mehrabbruno/dat-ecosystem


text:
resolveViewModel should report file name if it can't find a class

I'm using gulp-aurelia-template-lint@0.9.1
But it's tripping up due to the following code in binding.ts:
    let first = classes[0];
    let context = new ASTContext();

    context.name = first.name.getText();

I can't for the life of me work out which file its having problems with. I'm guessing I have an empty file somewhere? Would be helpful to have a file path!
C:\Users\tim\Documents\My-Project\node_modules\aurelia-template-lint\dist\rules\binding.js:213
        context.name = first.name.getText();
                            ^

TypeError: Cannot read property 'name' of undefined
    at BindingRule.resolveViewModel (C:\Users\tim\Documents\My-Project\node_modules\aurelia-template-lint\dist\rules\binding.js:213:29)
    at BindingRule.init (C:\Users\tim\Documents\My-Project\node_modules\aurelia-template-lint\dist\rules\binding.js:23:34)
  ... snip

I'll try and triage asap

Try 0.9.20; it should stop complaining that it cannot find the view model; as of 0.9.20 the default config is not to complain. As for your case, it seems its finding the source file but cannot find any classes in it.

authors: MeirionHughes timfish

repo: MeirionHughes/aurelia-template-lint


text:
Spacing issue + About button not working + Edit window off-center

There is a text spacing issue in the info window (or at least is different from the preview on the website):

The About button in the menu bar doesn't work.

When you input a longer text than the one already displayed, the edit window is slightly off-center:

https://user-images.githubusercontent.com/101254295/162458000-05daefcd-e1a4-43cf-8675-79ebf52307bd.mov

Instead of creating a new issue, I would also like to propose to automaticly select/highlight the text when the menu bar text is pressed, so you can edit the text without selecting it; make Enter key work as Save and exit the edit window when Save or Enter is pressed.

The padding/height issue with the window will be fixed in v1.0.5.
Im pretty sure the about button does work but doesnt bring the window to the front so you will need to click the Menu Note app to see the window.
And the edit note popover will have to be closed and opened again to be re centered. I dont know anyway to prevent this.
Your proposed features seem great and i will implement them in v1.0.5.
And a little sneak peak of v1.0.5 whilst im here too

History / list: nice! And you're right on the About button.
Oh, also: what about make the cursor follow the text when typing? If you input a text longer than the text box you can't see what you're typing.

The list is for multiple notes to select between different ones and following the cursor would be great, ill see if thats a possibility.

authors: Zabriskije bentettmar

repo: MenuNote/menunote


text:
[feature request] Command to push to master and close pull request

Once the pull request is reviewed and approved, our workflow is that the author should merge it. This can be done easily through GitHub UI (there is a "Squash and merge" button).
There are a couple of problems with this:

We can't do it through command line.
After it's done, the local branch becomes useless. Sometimes people will accidentally continue working in there, thinking it's nw at origin/master which is not the case.

Ideally, we want a command git pull-request --merge which will:

Merge into origin/master.
Close pull request.
Delete local branch.

What are your thoughts?

Why don't you use https://mergify.io to do that directly from GitHub?

I still want a command line tool. Does https://mergify.io offer a command line tool to do that?

No. Why do you want a command-line tool when you can make things automatic? 🤔

When a pull request is approved, there are still some final comments left.
It is expected of the author to fix the final comments and merge it themselves (update, push the button in GitHub UI, remember to delete the local branch).
So I am interested in automating the last part.
At least this is our workflow. It would slow us down if we do another round of "request changes" for the final comments which are usually nits.
Thanks for your reply!

...By the way, this tool saves us a ton of time and we would be OK to pay for it per user per month as long as it's not too much. Perhaps you can offer it as part of your Mergify package.

Thank you, that's nice! Feel free to subscribe to Mergify anyhow, that'll support us and this tool.
I think there are 2 solutions to your issues here:

automatic merge: that really should be Mergify job IMHO. You can do that with a rule like:

- name: automatic merge
  conditions:
    - label=ready-to-merge
    - status-success=your ci system
    - "#approved-reviews-by>=1"
  actions:
    merge:
      method: squash

By using a label, you make sure the author has set this label when it's ready to be merged and that the CI works, etc. You can define finer-grained rules of course, but there's no need for doing anything "local" that way.

Cleaning merged pull requests.

It's actually something I'd love to have too. That could be the job git-pull-request indeed. What'd be useful is to be able to delete local branches when their corresponding PR are merged, or even display their status. That shouldn't be too hard to implement I imagine. 🤔

It's actually something I'd love to have too. That could be the job git-pull-request indeed. What'd be useful is to be able to delete local branches when their corresponding PR are merged, or even display their status. That shouldn't be too hard to implement I imagine. 🤔

Yes, need exactly this. Sometimes developers will continue working on the local branch by accident, and make a mess locally. Maybe then a feature for git-pull-request to mark a PR with a label you suggested and delete the local branch. Then Mergify can take over.

authors: alamothe jd

repo: Mergifyio/git-pull-request


text:
ubuntu 22 log show a lot of warning - its normal

https://gist.github.com/johnfelipe/53a5f9f29a68a73ee3976e23fe602880
can u tell me if is good?

Seems like a warning specific to your computer. Please try any other computer, It should work.
or alternatively try this. It's recommendation from ChatGPT
echo 'export PATH=$PATH:/home/felipe/.local/bin' >> ~/.bashrc
source ~/.bashrc

solved with your suggestion

authors: MervinPraison johnfelipe

repo: MervinPraison/PraisonAI


text:
Update DLP Duck Token (DUCK) Logo

Update the DLP Duck Token (DUCK) Logo
Contract Address: 0xC0bA369c8Db6eB3924965e5c4FD0b4C1B91e305F
Website: https://duckdao.io
Etherscan (DUCK): https://etherscan.io/token/0xc0ba369c8db6eb3924965e5c4fd0b4c1b91e305f
Twitter: https://twitter.com/dao_duck/
Medium: https://duckdao.medium.com/
Telegram (DUCK): https://t.me/duckliquiditypool
CoinGecko: https://www.coingecko.com/en/coins/dlp-duck-token

@xrn Let me know if there's any change required or requires additional information.

@xrn Let me know if there's any change required or requires additional information.

repo: MetaMask/contract-metadata

license: ISC


text:
fix: NFT detection running too many times

Explanation
The NftDetectionController was making unnecessary HTTP requests.
(1) It was fetching NFTs when any setting changes:
https://github.com/MetaMask/core/assets/3500406/297b1889-ee17-4c57-890b-8f94e4b1be4b
(2) When each polling interval arrives, it can send ~7 identical requests instead of 1.  See timeline:

(3) one redundant request when switching accounts
All come from onPreferencesStateChange triggering a re-start.
(2)  happens because it fires ~7 times on startup from keyring related updates.  This causes each to run:
this.stopPolling();
await this.detectNfts();
this.intervalId = setInterval(...)

Because detectNfts is async, intervalId is still undefined.  So they each schedule their own interval without stopping a previous interval.
Fix: Only start/stop when relevant settings change.
References

Changelog

@metamask/assets-controllers

FIXED: NFT detection running too many times

Checklist

[ ] I've updated the test suite for new or updated code as appropriate
[ ] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
[ ] I've highlighted breaking changes using the "BREAKING" category above as appropriate

Are there any tests we can write to ensure that this doesn't occur again?

yes.  Let me write a test flipping some preferences and checking how many the HTTP route is called

Added a unit test that failed on the old code, and passes on the new code

repo: MetaMask/core


text:
[New Snap] OneID

Checklist
All items in the list below needs to be satisfied.

[x] Is the Snap repository publicly accessible and linked in this ticket? https://github.com/coin98/connect-snap
[x] Is the Snap distributed on npm and linked in this ticket? https://www.npmjs.com/package/@oneid-xyz/connect-snap
[ ] Has an audit been performed and the audit report attached or linked in this issue? N/A
[ ] Is a complete list of discovered vulnerabilities from the audit documented in this issue?
[ ] For vulnerabilities that have been deemed necessary to be addressed, are the links to the fixes attached to this issue?
[ ] For vulnerabilities that have been deemed not necessary to be addressed, is a reason for each of them documented in this issue?
[ ] The corresponding pull request in this repo has been merged.

I have reviewed the code.

repo: MetaMask/snaps-registry


text:
WIP: Liquid Assets Transaction Builder support

Move AssetMoney and AssetCoin from NBX to NBitcoin and support liquid assets in TransactionBuilder

Quite certain all this code is obsolete and needs a different approach.

repo: MetacoSA/NBitcoin


text:
Update dependencies

clippy is complaining about something generated by num-derive. There's a version that fixes the issue, so let's pull it.

Actually there are couple of more things to fix to let CI pass in our code. Will handle them in this PR.

repo: MiSawa/xq


text:
backgroundRefresh on nil jwks

Upon implementing and testing this package I noticed that if the initial call to (*JWKS).refresh() fails nil is returned as the *jwks.
	err = jwks.refresh() 	if err != nil { 		return nil, err 	}
As a consequence of this no further refreshing is done. Would it be possible to implement some functionality to allow a backgroundRefresh to be done even if the initial call to request gives an error? Hope my question is clear enough.

The .refresh method is not exported to package users. Perhaps you mean keyfunc.Get?
If that's what was meant, it may be possible that the error from this portion is not nil. In this case, the error needs to be checked and handled by the package user.
https://github.com/MicahParks/keyfunc/blob/master/get.go#L45-L48
It's possible I missed something, but I'd likely need more details. Are you able to write a complete example that reproduces the behavior you've found to be unexpected?

Yes, I did mean keyfunc.Get().
And yes, exactly those lines, if the error is not nil it means that the jwksvariable will be nil. Say for instance that the request times out on reboot, but one would like the keyfunc package to keep refreshing and trying the endpoint no matter. I can live with that this is something that should be handled by the package user, but was merely wondering if it would be a wanted feature to add this functionality in the package.
Small example to demonstrate:
func main() {
	jwks, err := keyfunc.Get(jwksEndpointURL, keyfunc.Options{
		RefreshInterval: time.Minute,
	})
	if err != nil {
		// simply warn that we had a problem, rather than closing
		log.Warnf("error retrieving keys, %v", err)
	}

	// further down in program, we might get a request to process a token
	if jwks == nil {
		// deny request, we dont have keys
	} else {
		// process token
	}

	// next time get a request, jwks might have been refreshed and we can process
}```

My point is that if the refresh were allowed still, even though we had an error first time, it might be a nice feature rather than having to implement retry logic by your self. Hope I made myself clearer.

From my perspective, it appears all the behavior is expected.

might be a nice feature rather than having to implement retry logic by your self

Currently, there is no automatic retry feature in keyfunc. Without any changes to the keyfunc package, I would recommend not proceeding with nil *keyfunc.JWKS and handling the error via retries in the calling code by blocking.
I'm not sure if an automatic retry feature in the keyfunc package is a feature I'd like to add. An automatic retry feature that asynchronously (non-blocking) retrieves the JWK Set may cause a different class of more complex unexpected behavior, a JWT might be not validated by the application at one moment, but the same JWT validated at a later time. There is a way to include automatic retries that would block via a function, but at this time, I think that's best left up to the package user.
I would recommend designing applications to gather all required connections (like databases/keyfunc) and assets in a blocking manner before allowing the application to proceed and failing to start the business logic if there is an error unsolved by retries. In my experience, it helps reduce complexities and the variety of errors. For keyfunc, there's the extra note that it can reuse an old JWK Set it has from last time if a non-critical refresh fails. Unfortunately, if a critical refresh fails in keyfunc, it needs to be handled asynchronously through RefreshErrorHandler in keyfunc.Options

I understand your reasoning and thank you for the quick response.

Hi, first of all: thanks for this great repository!
I have a similar issue, but with the GetMultiple method instead of the Get method:
When using keyfunc.GetMultiple to retrieve JWKs from multiple URLs with a configuration to refresh those keys, then during runtime some of the URLs might have a downtime and when they are up again all will self-heal after a background refresh - and that's neat!
But what if one of many URLs isn't accesible at startup, due to let's say maintenance? In that case blocking and waiting for all URLs to be ready like in @suntriber s use case might not be necessary, because the service could still handle most requests. Can we have the keyfunc.GetMultiple function still load from all working URLs and have the rest loaded later via background refresh?
So far I couldn't find a way to achieve this from outside the library without reimplementing large parts of it. But adding a new parameter to the keyfunc.Options could solve this in a much simpler way.
What's your opinion on that? Is my use-case too niche, or would others also like to have that?

@ErenDursun, that is pretty niche. However, that may be easy to support through keyfunc.Options. Why don't you create a separate issue requesting this and I'll see if I can implement it after work?

@suntriber I think the newly added feature supports your initial use case. See #90 and the associated pull request for more details. It's possible I didn't full understand the issue on the first go around or didn't see the value until the keyfunc project supported multiple JWK Sets natively.

Hi,
Yes this newly added feature does indeed support my use case. I did however implement a work around but next refactoring I'll certainly consider using this instead as it would remove some complexity from our code base.
Thanks for the tag and kudos for a great lib!

authors: ErenDursun MicahParks suntriber

repo: MicahParks/keyfunc


text:
Add project paths to sys path

We have several python repos for projects, some of which are common libraries. We may import those common libs in other projects, and I add those repos as separate project folders. But I found python-tools won't jump between those projects because it only looks from the top level module.
So I added all current project paths to sys.path to make it possible to jump between projects.

The failing builds are unrelated to your change. It's something I just have not got down to fixing. Your change makes sense so I'll go ahead and merge it in.

authors: MichaelAquilina allenhsu

repo: MichaelAquilina/python-tools


text:
Not working every time

Hello and thanks for sharing this code!
We are using it in our project, however we experience a weird behavior. It does not work every time? When we spam the command like 5 times the text eventually shows up on the screen, and sometimes it does on the first try as expected. Sometimes running the same command twice will first show the text and then clear the screen, but other times the text remains no matter how many times we run the same command.
We need to use it programmatically and since we can not get a constant output you can see how this is a problem for us.
Can you suggest what might be the root of this? We will provide any information required!

Sorry for the delay. I just checked out my code and used it for a while. It seems to be ok. But sometimes the display looks a bit garbled. I will look into that. How are you using this? Do you have a script you are using? What hardware are you using?

Added a small test script that updates the screen every second. Please try it.

In this latest commit a small delay is added to the reset signal this might solve the issue. Please let me know.

It has been a while. Since we couldn't get reliable output we decided to drop the screen from our project and use a phone app instead. Unfortunately I can't give you feedback anymore, my apologies.

authors: MichelVos manix


text:
Add MS Teams to Bot Install page

How easy/hard would it be to add MS Teams as a 1-click install to this page?
https://bots.botframework.com/bot?id=azurebot

Done!  It literally was just turning it on in the bot framework page 🎉

authors: dtzar fitzgeraldsteele

repo: Microsoft/AzureBot


text:
Bash caused windows blue screen

I ran this script on a fresh install of bash:
sudo apt-get update
sudo apt-get upgrade

sudo pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.8.0-cp27-none-linux_x86_64.whl
sudo pip install numpy
sudo apt-get install python-matplotlib

wget --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u5-b13/jdk-8u5-linux-x64.tar.gz
sudo su
mkdir /opt/jdk
tar -zxf jdk-8u5-linux-x64.tar.gz -C /opt/jdk
ls /opt/jdk
update-alternatives --install /usr/bin/java java /opt/jdk/jdk1.8.0_05/bin/java 100
update-alternatives --install /usr/bin/javac javac /opt/jdk/jdk1.8.0_05/bin/javac 100

Then I ran this script:
sudo apt-get update
sudo apt-get upgrade

sudo pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.8.0-cp27-none-linux_x86_64.whl
sudo pip install numpy
sudo apt-get install python-matplotlib

wget --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u5-b13/jdk-8u5-linux-x64.tar.gz
sudo mkdir /opt/jdk
sudo tar -zxf jdk-8u5-linux-x64.tar.gz -C /opt/jdk
sudo ls /opt/jdk
sudo update-alternatives --install /usr/bin/java java /opt/jdk/jdk1.8.0_05/bin/java 100
sudo update-alternatives --install /usr/bin/javac javac /opt/jdk/jdk1.8.0_05/bin/javac 100

I do not know if this is reproducible
It could have something to do with sudo su then later running a sudo command? but I am not sure at all.
I ran the second script again after the computer restarted and did not experience any blue screen

Thanks for reporting this, I tried your script locally and I'm not seeing a bugcheck either.  Can you share which build number you are using?

Build number 14342.rs1_release.160506-1708
On May 13, 2016 1:50 PM, "Ben Hillis" notifications@github.com wrote:

Thanks for reporting this, I tried your script locally and I'm not seeing
a bugcheck either. Can you share which build number you are using?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/Microsoft/BashOnWindows/issues/356#issuecomment-219128949

@dtracers Thanks! Do you happen to have a C:\Windows\MEMORY.DMP file on your machine?  If so could you upload it somewhere and send me the link so I can take a look?
Thanks!

I could not find that file.  Would it get deleted or removed in certain cases?

@dtracers I think you can use bluescreenview to get  the dump file from previous bluescreens. http://www.nirsoft.net/utils/blue_screen_view.html

We've fixed a couple of bugchecks recently and I suspect yours was caused by one of the bugs.  Marking this as fixinbound.

Okay thank you!
It has not happened since so I would say it is fairly stable!
Thanks for the great very very useful product!!
On Jun 17, 2016 1:03 PM, "Ben Hillis" notifications@github.com wrote:

We've fixed a couple of bugchecks recently and I suspect yours was caused
by one of the bugs. Marking this as fixinbound.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/BashOnWindows/issues/356#issuecomment-226854295,
or mute the thread
https://github.com/notifications/unsubscribe/AB2CDAA3hr3SLuzcTuHT-b5rl42Vt19zks5qMu9qgaJpZM4IeLbv
.

@dtracers Thank you (and the rest of this great GitHub community) for the help!

This bluescreen is fixed in build 14376.  Please let us know if you see any bluescreen in this build, thanks!

I've been having this issue for the last month or so, especially when using compilers. My most recent crashes have happened using mlton, but it's also happened using racket, Javac, and gcc.

@ktrinanm any chance that you could provide a repro?

Do you just need a picture of the crash? I have this: https://drive.google.com/file/d/0B6ZXWVT-c9FYTGdMSi1fVTZjUnM/view?usp=drivesdk

@ktrinanm Take a look at our contributing.md. Specifically, it would help if you could provide detailed steps necessary for us to reproduce this issue internally.

oh gotcha. My bash did just update, so I'll see if that changed anything.
Specifically, I have been using mlton compiler from '$apt-get mlton' then '$mlton standml.sml' It crashes directly afterwards.

@ktrinanm Could you share standml.sml?

It's only a few lines, but here it is

authors: benhillis dtracers haikarainen jackchammons ktrinanm

repo: Microsoft/BashOnWindows


text:
HueBot sample: Skype bot cannot connect to the service using skype

I followed instructions for registering a bot (https://docs.microsoft.com/en-us/bot-framework/portal-register-bot) and deploying a real-time audio-video bot (https://docs.microsoft.com/en-us/bot-framework/dotnet/bot-builder-dotnet-real-time-deploy-visual-studio) to run the HueBot sample (https://github.com/Microsoft/BotBuilder-RealTimeMediaCalling/tree/master/Samples/HueBot).
But after my bot was added to my skype contacts I cannot make a video call to my bot. I always get a response like here: "You can't talk to this bot just yet. But we are working on it." And at the bot framework dashboard, I have the issues: "There was an error completing this request due to an internal channel failure."
I connected the Visual Studio 2017 debugger to the published job worker and saw that the controller didn't receive any requests.
Bot configuration:
Messaging endpoint: https://dataartskypebots.cloudapp.net
App ID: bf0f99b0-1836-4548-b1c6-6540ee25d191
Enable messaging: Yes;
Enable autoplay of media cards: Yes;
Enable calling: Yes;
Real Time Media: Yes;
Video (Audio alway enabled): Yes;
Screen sharing: Yes;
Webhook (for calling): https://dataartskypebots.cloudapp.net/api/calling/call
Enable adding to group: Yes;
Could you help me what is incorrect in the bot configuration or maybe you have any other recommendations?

Huebot does not have a controller for messages. I will update the sample to include this controller soon. Meanwhile could you add one? You can use the "Test" tab in the bot registration's right corner to send a message and verify that the bot received the message. This will valid the authentication works. Could you also check if the instance is up and running in Azure?

You might want to upgrade to BotBuilder nuget v3.8.1 per https://github.com/Microsoft/BotBuilder/issues/2770

As you suggested me, I upgraded the BotBuilder nuget to v3.8.1 and added a controller for messages. I got it "as is" from the Bot template for Visual Studio (see https://docs.microsoft.com/en-us/bot-framework/resources-tools-downloads). This is like a simple echo service.
I can communicate with my bot using Bot Framework Channel Emulator and debug this process using Visual Studio 2017. The emulator uses this url: https://dataartskypebots.cloudapp.net/api/messages.
I also can send a request for connection using the url for CallController: https://dataartskypebots.cloudapp.net/api/calling/call. The emulator doesn't support calls but at least the request is received by the CallController.OnIncomingCall method and I can see this using debugger.
But using "Test" tab I still have the error message: "There was an error sending this message to your bot." When I use Skype - my bot doesn't receive messages and calls at all.
Any additional ideas?

I updated Huebot with the MessagesController and updated the nuget packages as well. Could you try with the latest bits. Also please verify the following

The following lines in app.config of worker role have been replaced with appropriate values

the instance is up and running in Azure
the "test" tab in the registration portal should not throw an error message now.

Were you able to get this sample working?  It's quite painful to deploy.

First of all, thank you for your assistance.
We have troubles to run your project "as is" because you uses Microsoft Azure Tools 2.8 that isn't supported by VS 2017. And when we open your solution we have to convert the project to Microsoft Azure Tools 2.9.  After that, we have to make several manual changes because of the solution loses some dependencies. But we now in progress of running your solution.
Will keep you updated.

Yes, that's true. I had that issue as well and I couldn't even downgrade the Azure tool version on the VS 2015 I'm using.
I was able to deploy the sample to the Azure Cloud by commenting those config setting related to Certificate. However, doing that causes the WorkerRole instance not functioning. It's always recycling or on busy/restarting, but that I think is the only way to get it deployed (if you don't have a certificate yet.)  I manage to have the WorkerRole instance in Running status by un-commenting and putting the correct values on the certificate and serviceDnsName. Yey!  I uses the certificate thumbprint that was created after the deployment of the sample app. I don't know if I'm on the right path of doing that and using that certificate coz it seems that the service is happily running.
Having that fixed and corrected and running,  the issue that still exist, skype cannot make calls to the bot.
"You can't talk to this bot just yet. But we are working on it." :-(
Hope you guys has information on how to resolve this or what i'm doing wrong.

@RomanMolchanov2017 We are working on converting to Azure SDK 2.9 and .NET 4.6.2. Just didn't have enough time before BUILD. You had mentioned that "we have to make several manual changes because of the solution loses some dependencies". Could you please elaborate on that?
@gfclaveria Certificate is a must. Without the certificate it will not be able to talk to any of our services. Did you change app.config in workerrole? In the Bot registration portal, could you use the 'Test' button to send a test message and see if that works.

When VS 2017 converts your HueBot solution to the format that can be supported by Microsoft Azure Tools 2.9 it loses references to several libraries (Microsoft.WindowsAzure.Diagnostics.dll, Microsoft.WindowsAzure.ServiceRuntime.dll). But this fix isn't enough. We still couldn't publish your solution to Azure because during the publish process we have the error:
Unhandled Exception: It is likely that certificate 'CN=huebot2017.cloudapp.net' may not have a private key that is capable of key exchange or the process may not have access rights for the private key.
Please see inner exception for detail.
Inner Exception: Invalid provider type specified.
We created the certificate by following this document: https://docs.microsoft.com/en-us/azure/cloud-services/cloud-services-certs-create
Now we still looking for a solution.
By the way, before we opened this issue, we load HueBot solution and just fully recreated it from scratch, using NET Framework 4.6.2 and  Microsoft Azure Tools 2.9.
We also made corrections to InstallNETFX.cmd and deployed the project to Azure using NET Framework 4.6.2. And this version of service was deployed successful but we still have problems with Skype communication, including Bots' dashboard.

@RomanMolchanov2017 Are you creating a self-signed certificate? We do need a certificate from trusted CA. Once you have the certificate with private key (.pfx) certificate, you should be able to upload them to Azure cloud service. Look at the "How to: Upload a certificate for a cloud service" section here: https://docs.microsoft.com/en-us/azure/cloud-services/cloud-services-how-to-create-deploy. Thanks for letting us know. I will update the documentation with this information. Please let me know if run into any other issues.

Yes, you are right. We use a self-signed certificate with the private key (.pfx) and we've already uploaded it to Azure using the instruction you pointed to.
Just to clarify.
We want to test this library for conforming our needs. Am I right that you would like us to create a certificate from trusted CA for this?

@RomanMolchanov2017 Yes. A trusted Cert is needed. WildCard certs are not supported and the SN or last entry in SAN should match cloud service name (xxx.cloudapp.net)..

Thank you for clarifying.

@MalarGit Hi, Any idea or recommendation/suggestion to were we could get that kind of trusted certificated?
I've tried to find websites(certificate authorities) to which I can acquire free dns/ssl certificate for let say "xxx.cloudapp.net", just testing purposes but couldn't get one.  Most of the ones that I found have changed their policies regarding giving these kind of certificate.. they require that you have access the admin email address  (e.g. admin@xxx.cloudapp.net or hostmaster@xxx.cloudapp.net) for verification code they will send before they create the certificate.
Thanks,

@gerrosc I was pointed to this website https://docs.microsoft.com/en-us/azure/app-service-web/web-sites-purchase-ssl-web-site. Looks like you can get the first few for free. I have not tried this out yet. But I plan to try in the next few days. Thanks

@MalarGit Thank you! :-)

We've bought the certificate and now the skype can connect to our HueBot service. We've added the MessageController and message exchange works well. But the CallController still doesn't work. It can receive incoming requests from the skype but after that, we have issues like 'RealTimeMediaCallingConversation: System.ArgumentException: Empty Actions List not allowed' and 'RiffAudioContainer.ParseFormatChunk: nonstandard audio header encountered. Extra bytes length bytes missing'.
Below attached logs' snapshot of calling session when the skype tries to call our HueBot service. We think it can be useful for you to localize the problem:
HueBotSkypeCallLogs.txt
Any idea or recommendation/suggestion?

In the ServiceDnsName in the .cscfg have you used skypebot.dataart.com? we are trying to reach skypebot.dataart.com:20100 and the connection is refused. Could you try changing to dataartskypebots.cloudapp.net? Also what is the SN of the cert?

We created certificate 'skypebot.dataart.com'. As the DNS name of our cloud service is 'http://dataartskypebots.cloudapp.net/' we also created CNAME DNS record skypebot.dataart.com -> dataartskypebots.cloudapp.net.
When we tried to use 'skypebot.dataart.com' as ServiceDnsName in the .cscfg during deployment to Azure, we had the error: "Unhandled Exception: No such host is known". Therefore we changed the ServiceDnsName in the .cscfg back to 'dataartskypebots.cloudapp.net'. We also made following changes in the AzureConfiguration class: for creating CallControlCallbackUrl, NotificationCallbackUrl and MediaPlatformInstanceSettings.ServiceFqdn we used 'skypebot.dataart.com' instead of 'dataartskypebots.cloudapp.net'. At the bot's dashboard we defined following URLs:
Messaging endpoint:
https://skypebot.dataart.com/api/messages
Webhook (For calling):
https://skypebot.dataart.com/api/calling/call
Enable calling, Real Time Media, Video (Audio always enabled), Screen sharing.
Now, we changed MediaPlatformInstanceSettings.ServiceFqdn back to 'dataartskypebots.cloudapp.net' as you requested, but we still have CallControlCallbackUrl and NotificationCallbackUrl defined with 'skypebot.dataart.com'.
Please, try to reach skypebot.dataart.com:20100 now.

This was the error - The expected DNS identity of the remote endpoint was 'skypebot.dataart.com' but the remote endpoint provided DNS claim 'www.skypebot.dataart.com'. Was 'www.skypebot.dataart.com' the  SubjectName of your cert? Could you try setting MediaPlatformInstanceSettings.ServiceFqdn as 'www.skypebot.dataart.com' to see if that fixes the problem?
As far as Unhandled Exception: No such host is known, the same config was used for resolving public ip and for callback urls. I will split the config and checkin a fix soon. Thanks.

We changed MediaPlatformInstanceSettings.ServiceFqdn to 'www.skypebot.dataart.com' but that didn't resolve the problem.
Let's summarize the full stack configuration to define what is inconsistent:
SubjectName of our certificate: 'skypebot.dataart.com' (not 'www.skypebot.dataart.com');
DNS name of our cloud service is 'dataartskypebots.cloudapp.net';
We created CNAME DNS record skypebot.dataart.com -> dataartskypebots.cloudapp.net.
Public IP address dataartskypebots cloud service at Azure dashboard: 52.166.115.5
nslookup skypebot.dataart.com
Server:  UnKnown
Address:  2001:67c:438:11::15
Non-authoritative answer:
Name:    dataartskypebots.cloudapp.net
Address:  52.166.115.5
Aliases:  skypebot.dataart.com
At the bot's dashboard we have following configuration:
Messaging endpoint: https://skypebot.dataart.com/api/messages
Webhook (For calling): https://skypebot.dataart.com/api/calling/call
Enable calling, Real Time Media, Video (Audio always enabled), Screen sharing
In the configuration of the service we have ServiceDnsName -> dataartskypebots.cloudapp.net
DefaultCallControlEndpoint -> Internal=https://100.108.38.75:9440, PublicPort=443
InstanceMediaControlEndpoint -> Internal=https://100.108.38.75:8445, PublicPort=20100
CallControlCallbackUri -> https://skypebot.dataart.com:10100/api/calling/callback/
NotificationCallbackUrl -> https://skypebot.dataart.com:10100/api/calling/notification/
Call control listening Uri -> https://100.108.38.75:10100/
Call control listening Uri -> https://100.108.38.75:9440/
ServiceDnsName -> dataartskypebots.cloudapp.net
ServiceDnsAlias -> skypebot.dataart.com
Cloud Service Public IPAddress -> 52.166.115.5
Media Platform Instance Internal Port -> 8445
Media Platform Instance Public Port -> 20100
Media Platform Instance Public IPAddress -> 52.166.116.150
Service FQDN -> skypebot.dataart.com (we also tried these: www.skypebot.dataart.com, dataartskypebots.cloudapp.net)
MicrosoftAppId -> bf0f99b0-1836-4548-b1c6-6540ee25d191
mpUri -> net.tcp://skypebot.dataart.com:20100/MediaProcessor
New log of one skype call that includes trace of service configuration is attached.
HueBotSkypeCallLogs24052017.txt

The settings look right.. Could you check if the last entry in the SAN is www.skypebot.dataart.com?

Yes, you're right. Our certificate has CN=skypebot.dataart.com and SAN =skypebot.dataart.com and www.skypebot.dataart.com.

Apart from modifying the MediaPlatformInstanceSettings.ServiceFqdn to 'www.skypebot.dataart.com', could you also change the CNAME to  www.skypebot.dataart.com -> dataartskypebots.cloudapp.net? I will update the documentation to reflect that the last entry in SAN takes precedence. Thanks Roman

Thank you for assistance Malar.
The last configuration changes allowed the bot to receive calls from Skype.
When I make a call to HueBot it works as expected, without any troubles with echo and video.
But now we have several issues:
HueBot can't participate in Skype group video calls with multiple participants.
We tested several cases:

When HueBot is added to the group video call we don't see any video in the HueBot area but have horrible echo during conversation.
When I create one-to-one Skype call to the HueBot and it answers my call, I add an additional participant to the conversation. Right after that, the HueBot leaves the conversation.

Nobody except me, from the group video call participants, can make the call to the HueBot, even in the one-to-one call mode. In this case, HueBot doesn't loopback user's video input, but it looks like it loopbacks audio as we have the same horrible echo and a black screen.

The HueBot was not intended to be used in group conversations, which is why it cannot see the video of any of the participants. Furthermore, bots do not support changing a 1:1 call with them into a group conversation: they will be removed from the conversation.
But more important to note is that at this time we cannot support calling bots in Skype group conversations, as the appropriate privacy controls are not yet ready in the clients. For now, only 1:1 calling bots may be developed.
Stephen Sulzer [MSFT]

Thank you for the explanation, Stephen.
Do you have any preliminary estimation when you are going to implement following functionality:
Real-time media calling with Skype

...
A real-time media bot may also participate in Skype group video calls with multiple participants.
...
When joined to a multiparty Skype group video call, the real-time media bot can support receiving multiple main video streams simultaneously. This allows the bot to "see" more than one participant in the group video call.
...
When joined to a Skype group video call consisting of multiple participants, the bot can identify which participants are currently speaking. Active speakers identify which participants are being heard in each received audio frame. Dominant speakers identify which participants are currently most active (or "dominant") in the group conversation, even though their voice may not be heard in every audio frame. The set of dominant speakers can change as different participants take turns speaking.

Thanks,
Roman.

It looks like if the issue is closed you don't answer questions. We reopen the issue just because we'd like to have the answer to our question.
Thanks,
Roman.

Roman, The feature has been disabled for privacy reasons. It will be back up once we implement the appropriate privacy controls. We don't have an timeframe yet. We will remove that documentation and MeetingScreenShots sample till then.

Thank you for the reply. It's also very important information for us.

@RomanMolchanov2017 Did you huebot works? I followed the instructions but when i call my bot it closes after 11 seconds.
I dont know if its because of my ServiceFQDN.
Also do I have to configure the ports in my solution?

@productivitySTK
Could you provide more details on your bot? Do you have a valid certificate from a trusted CA. Is the messaging working fine? bot fqdn etc.
P.S.
Closed issues are not looked at. Could you please reopen/open as a new issue next time? Thanks

Looks like a new issue was created already. Closing this one.

authors: MalarGit RomanMolchanov2017 gerrosc gfclaveria productivitySTK ssulzer


text:
Q: Nested Contexts -- Arbitrary depth? Different scripts?

On https://github.com/Microsoft/ChakraCore/wiki/JavaScript-Runtime-(JSRT)-Overview

Execution contexts are tied to a particular runtime and execute code within that runtime. Unlike runtimes, multiple execution contexts can be active on a thread at the same time. So a host can make a call into an execution context, that execution context can call back to the host, and the host can make a call into a different execution context.

This is followed by a diagram

Is the nesting possible only 2 levels deep? Or can it be arbitrarily deep?
Can the two contexts run different scripts or do they need to run the same script? In other words, can a single chakracore runtime mimic a CPU which is running separate code streams with access to different data? Another way to ask: can a single chakracore runtime mimic non-premptive execution/green threads?

I'm trying to compare this with V8.

@sidkshatriya AFAIK there is no soft limit on depth.
Context used to separate script A from script B (environment). They can't be executed simultaneously. (under the same Runtime)

FYI @liminzhu

Apology for joining the party late @sidkshatriya .

Is the nesting possible only 2 levels deep? Or can it be arbitrarily deep?

Arbitrary depth. The graph may be kind of confusing.

Can the two contexts run different scripts or do they need to run the same script? In other words, can a single chakracore runtime mimic a CPU which is running separate code streams with access to different data? Another way to ask: can a single chakracore runtime mimic non-premptive execution/green threads?

Yes two contexts can run completely different scripts and a runtime represent a single thread of execution and has access to all affiliated contexts (although all the contexts are isolated from each other in principle for obvious security reason).

Closing this question as answered.

authors: dilijev liminzhu obastemur sidkshatriya

repo: Microsoft/ChakraCore