Training sim exited abnormally

Another non-repeatable issue with RoboMaker simulation, is failure of training jobs due to fail to connect to cloudwatch
I ran RoboMaker sims in one account, there were quite some success runs, but from some time, all the sim failed with same error msg. (I never changed the network setting)
botocore.exceptions.ConnectTimeoutError: Connect timeout on endpoint URL: "https://monitoring.us-east-1.amazonaws.com/"
This problem never solved. So I have to use another account to run it ( or start another cloud9 env may work)
As I mentioned, this problem is not always repeatable. I had this problem in account A, so I switch to work in account B. After account B met this problem, I switch back to account A and it started working. So to me , it's like some kind of instability in the network settings

Some more info. I tried to comment out self.send_reward_to_cloudwatch in object_tracker_env.py.
Later on the job also failed due to another connection error (Huh!, the .lock file which caused me trouble during evaluation sim)
botocore.exceptions.ConnectTimeoutError: Connect timeout on endpoint URL: "https://robomaker-kyle.s3.amazonaws.com/model-store/model/.lock"
So the problem is not specifically to cloudwatch, but to resources RM tries to connect

Hello @dragontailys, sorry to hear about your difficulties. Can you tell me where you were seeing the ConnectTimeoutError coming from? Is it a specific service that the simulation is failing to talk to or is it all services? If you have more logs or stack traces that would be very helpful as well.
Do you have an estimate of what time your were having this difficulty?

Hi @nburek Thanks for reply.
The original connection time out is from   send_reward_to_cloudwatch subroutine in reset()
But as I mentioned in my reply, it happens later even if I comment this line out
So basically it fails to connect to both cloudwatch and S3
I will attach the whole log below

The original log ( very long, error msg is at 15:36:03)
15:30:56
Total Reward Reward=0.00 Total Steps=0.00

15:36:03
Traceback (most recent call last):

15:36:03
File "/home/robomaker/workspace/bundle-store/fc374599-2afd-4beb-a9fb-ecde6fad1bd7/usr/local/lib/python3.5/dist-packages/urllib3/connection.py", line 159, in _new_conn

15:36:03
(self._dns_host, self.port), self.timeout, **extra_kw)

15:36:03
File "/home/robomaker/workspace/bundle-store/fc374599-2afd-4beb-a9fb-ecde6fad1bd7/usr/local/lib/python3.5/dist-packages/urllib3/util/connection.py", line 80, in create_connection

15:36:03
raise err

15:36:03
File "/home/robomaker/workspace/bundle-store/fc374599-2afd-4beb-a9fb-ecde6fad1bd7/usr/local/lib/python3.5/dist-packages/urllib3/util/connection.py", line 70, in create_connection

15:36:03
sock.connect(sa)

15:36:03
socket.timeout: timed out

15:36:03
During handling of the above exception, another exception occurred:

15:36:03
Traceback (most recent call last):

15:36:03
File "/home/robomaker/workspace/bundle-store/fc374599-2afd-4beb-a9fb-ecde6fad1bd7/usr/local/lib/python3.5/dist-packages/botocore/httpsession.py", line 258, in send

15:36:03
decode_content=False,

15:36:03
File "/home/robomaker/workspace/bundle-store/fc374599-2afd-4beb-a9fb-ecde6fad1bd7/usr/local/lib/python3.5/dist-packages/urllib3/connectionpool.py", line 638, in urlopen

15:36:03
_stacktrace=sys.exc_info()[2])

15:36:03
File "/home/robomaker/workspace/bundle-store/fc374599-2afd-4beb-a9fb-ecde6fad1bd7/usr/local/lib/python3.5/dist-packages/urllib3/util/retry.py", line 343, in increment

15:36:03
raise six.reraise(type(error), error, _stacktrace)

15:36:03
File "/home/robomaker/workspace/bundle-store/fc374599-2afd-4beb-a9fb-ecde6fad1bd7/usr/local/lib/python3.5/dist-packages/urllib3/packages/six.py", line 686, in reraise

15:36:03
raise value

15:36:03
File "/home/robomaker/workspace/bundle-store/fc374599-2afd-4beb-a9fb-ecde6fad1bd7/usr/local/lib/python3.5/dist-packages/urllib3/connectionpool.py", line 600, in urlopen

15:36:03
chunked=chunked)

15:36:03
File "/home/robomaker/workspace/bundle-store/fc374599-2afd-4beb-a9fb-ecde6fad1bd7/usr/local/lib/python3.5/dist-packages/urllib3/connectionpool.py", line 343, in _make_request

15:36:03
self._validate_conn(conn)

15:36:03
File "/home/robomaker/workspace/bundle-store/fc374599-2afd-4beb-a9fb-ecde6fad1bd7/usr/local/lib/python3.5/dist-packages/urllib3/connectionpool.py", line 839, in _validate_conn

15:36:03
conn.connect()

15:36:03
File "/home/robomaker/workspace/bundle-store/fc374599-2afd-4beb-a9fb-ecde6fad1bd7/usr/local/lib/python3.5/dist-packages/urllib3/connection.py", line 301, in connect

15:36:03
conn = self._new_conn()

15:36:03
File "/home/robomaker/workspace/bundle-store/fc374599-2afd-4beb-a9fb-ecde6fad1bd7/usr/local/lib/python3.5/dist-packages/urllib3/connection.py", line 164, in _new_conn

15:36:03
(self.host, self.timeout))

15:36:03
urllib3.exceptions.ConnectTimeoutError: (<botocore.awsrequest.AWSHTTPSConnection object at 0x7fce03939f28>, 'Connection to monitoring.us-east-1.amazonaws.com timed out. (connect timeout=60)')

15:36:03
During handling of the above exception, another exception occurred:

15:36:03
Traceback (most recent call last):

15:36:03
File "/home/robomaker/workspace/bundle-store/fc374599-2afd-4beb-a9fb-ecde6fad1bd7/usr/lib/python3.5/runpy.py", line 184, in _run_module_as_main

15:36:03
"main", mod_spec)

15:36:03
File "/home/robomaker/workspace/bundle-store/fc374599-2afd-4beb-a9fb-ecde6fad1bd7/usr/lib/python3.5/runpy.py", line 85, in _run_code

15:36:03
exec(code, run_globals)

15:36:03
File "/home/robomaker/workspace/bundle-store/fc374599-2afd-4beb-a9fb-ecde6fad1bd7/opt/install/sagemaker_rl_agent/lib/python3.5/site-packages/markov/single_machine_training_worker.py", line 111, in

15:36:03
main()

15:36:03
File "/home/robomaker/workspace/bundle-store/fc374599-2afd-4beb-a9fb-ecde6fad1bd7/opt/install/sagemaker_rl_agent/lib/python3.5/site-packages/markov/single_machine_training_worker.py", line 107, in main

15:36:03
start_graph(graph_manager=graph_manager, task_parameters=task_parameters)

15:36:03
File "/home/robomaker/workspace/bundle-store/fc374599-2afd-4beb-a9fb-ecde6fad1bd7/opt/install/sagemaker_rl_agent/lib/python3.5/site-packages/markov/single_machine_training_worker.py", line 26, in start_graph

15:36:03
graph_manager.create_graph(task_parameters)

15:36:03
File "/home/robomaker/workspace/bundle-store/fc374599-2afd-4beb-a9fb-ecde6fad1bd7/usr/local/lib/python3.5/dist-packages/rl_coach/graph_managers/graph_manager.py", line 144, in create_graph

15:36:03
self.level_managers, self.environments = self._create_graph(task_parameters)

15:36:03
File "/home/robomaker/workspace/bundle-store/fc374599-2afd-4beb-a9fb-ecde6fad1bd7/usr/local/lib/python3.5/dist-packages/rl_coach/graph_managers/basic_rl_graph_manager.py", line 51, in _create_graph

15:36:03
visualization_parameters=self.visualization_parameters)

15:36:03
File "/home/robomaker/workspace/bundle-store/fc374599-2afd-4beb-a9fb-ecde6fad1bd7/usr/local/lib/python3.5/dist-packages/rl_coach/environments/gym_environment.py", line 398, in init

15:36:03
self.reset_internal_state(True)

15:36:03
File "/home/robomaker/workspace/bundle-store/fc374599-2afd-4beb-a9fb-ecde6fad1bd7/usr/local/lib/python3.5/dist-packages/rl_coach/environments/environment.py", line 355, in reset_internal_state

15:36:03
self._restart_environment_episode(force_environment_reset)

15:36:03
File "/home/robomaker/workspace/bundle-store/fc374599-2afd-4beb-a9fb-ecde6fad1bd7/usr/local/lib/python3.5/dist-packages/rl_coach/environments/gym_environment.py", line 477, in _restart_environment_episode

15:36:03
self.state = self.env.reset()

15:36:03
File "/home/robomaker/workspace/bundle-store/fc374599-2afd-4beb-a9fb-ecde6fad1bd7/usr/local/lib/python3.5/dist-packages/gym/wrappers/time_limit.py", line 44, in reset

15:36:03
return self.env.reset()

15:36:03
File "/home/robomaker/workspace/bundle-store/fc374599-2afd-4beb-a9fb-ecde6fad1bd7/opt/install/sagemaker_rl_agent/lib/python3.5/site-packages/markov/environments/object_tracker_env.py", line 82, in reset

15:36:03
self.send_reward_to_cloudwatch(self.reward_in_episode)

15:36:03
File "/home/robomaker/workspace/bundle-store/fc374599-2afd-4beb-a9fb-ecde6fad1bd7/opt/install/sagemaker_rl_agent/lib/python3.5/site-packages/markov/environments/object_tracker_env.py", line 224, in send_reward_to_cloudwatch

15:36:03
Namespace='AWSRoboMakerSimulation'

15:36:03
File "/home/robomaker/workspace/bundle-store/fc374599-2afd-4beb-a9fb-ecde6fad1bd7/usr/local/lib/python3.5/dist-packages/botocore/client.py", line 357, in _api_call

15:36:03
return self._make_api_call(operation_name, kwargs)

15:36:03
File "/home/robomaker/workspace/bundle-store/fc374599-2afd-4beb-a9fb-ecde6fad1bd7/usr/local/lib/python3.5/dist-packages/botocore/client.py", line 648, in _make_api_call

15:36:03
operation_model, request_dict, request_context)

15:36:03
File "/home/robomaker/workspace/bundle-store/fc374599-2afd-4beb-a9fb-ecde6fad1bd7/usr/local/lib/python3.5/dist-packages/botocore/client.py", line 667, in _make_request

15:36:03
return self._endpoint.make_request(operation_model, request_dict)

15:36:03
File "/home/robomaker/workspace/bundle-store/fc374599-2afd-4beb-a9fb-ecde6fad1bd7/usr/local/lib/python3.5/dist-packages/botocore/endpoint.py", line 102, in make_request

15:36:03
return self._send_request(request_dict, operation_model)

15:36:03
File "/home/robomaker/workspace/bundle-store/fc374599-2afd-4beb-a9fb-ecde6fad1bd7/usr/local/lib/python3.5/dist-packages/botocore/endpoint.py", line 137, in _send_request

15:36:03
success_response, exception):

15:36:03
File "/home/robomaker/workspace/bundle-store/fc374599-2afd-4beb-a9fb-ecde6fad1bd7/usr/local/lib/python3.5/dist-packages/botocore/endpoint.py", line 231, in _needs_retry

15:36:03
caught_exception=caught_exception, request_dict=request_dict)

15:36:03
File "/home/robomaker/workspace/bundle-store/fc374599-2afd-4beb-a9fb-ecde6fad1bd7/usr/local/lib/python3.5/dist-packages/botocore/hooks.py", line 356, in emit

15:36:03
return self._emitter.emit(aliased_event_name, **kwargs)

15:36:03
File "/home/robomaker/workspace/bundle-store/fc374599-2afd-4beb-a9fb-ecde6fad1bd7/usr/local/lib/python3.5/dist-packages/botocore/hooks.py", line 228, in emit

15:36:03
return self._emit(event_name, kwargs)

15:36:03
File "/home/robomaker/workspace/bundle-store/fc374599-2afd-4beb-a9fb-ecde6fad1bd7/usr/local/lib/python3.5/dist-packages/botocore/hooks.py", line 211, in _emit

15:36:03
response = handler(*kwargs)

15:36:03
File "/home/robomaker/workspace/bundle-store/fc374599-2afd-4beb-a9fb-ecde6fad1bd7/usr/local/lib/python3.5/dist-packages/botocore/retryhandler.py", line 183, in call

15:36:03
if self._checker(attempts, response, caught_exception):

15:36:03
File "/home/robomaker/workspace/bundle-store/fc374599-2afd-4beb-a9fb-ecde6fad1bd7/usr/local/lib/python3.5/dist-packages/botocore/retryhandler.py", line 251, in call

15:36:03
caught_exception)

15:36:03
File "/home/robomaker/workspace/bundle-store/fc374599-2afd-4beb-a9fb-ecde6fad1bd7/usr/local/lib/python3.5/dist-packages/botocore/retryhandler.py", line 277, in _should_retry

15:36:03
return self._checker(attempt_number, response, caught_exception)

15:36:03
File "/home/robomaker/workspace/bundle-store/fc374599-2afd-4beb-a9fb-ecde6fad1bd7/usr/local/lib/python3.5/dist-packages/botocore/retryhandler.py", line 317, in call

15:36:03
caught_exception)

15:36:03
File "/home/robomaker/workspace/bundle-store/fc374599-2afd-4beb-a9fb-ecde6fad1bd7/usr/local/lib/python3.5/dist-packages/botocore/retryhandler.py", line 223, in call

15:36:03
attempt_number, caught_exception)

15:36:03
File "/home/robomaker/workspace/bundle-store/fc374599-2afd-4beb-a9fb-ecde6fad1bd7/usr/local/lib/python3.5/dist-packages/botocore/retryhandler.py", line 359, in _check_caught_exception

15:36:03
raise caught_exception

15:36:03
File "/home/robomaker/workspace/bundle-store/fc374599-2afd-4beb-a9fb-ecde6fad1bd7/usr/local/lib/python3.5/dist-packages/botocore/endpoint.py", line 200, in _do_get_response

15:36:03
http_response = self._send(request)

15:36:03
File "/home/robomaker/workspace/bundle-store/fc374599-2afd-4beb-a9fb-ecde6fad1bd7/usr/local/lib/python3.5/dist-packages/botocore/endpoint.py", line 244, in _send

15:36:03
return self.http_session.send(request)

15:36:03
File "/home/robomaker/workspace/bundle-store/fc374599-2afd-4beb-a9fb-ecde6fad1bd7/usr/local/lib/python3.5/dist-packages/botocore/httpsession.py", line 282, in send

15:36:03
raise ConnectTimeoutError(endpoint_url=request.url, error=e)

15:36:03
botocore.exceptions.ConnectTimeoutError: Connect timeout on endpoint URL: "https://monitoring.us-east-1.amazonaws.com/"

15:36:04
================================================================================REQUIRED process [agent-5] has died!

15:36:04
process has died [pid 116, exit code 1, cmd /home/robomaker/workspace/bundle-store/fc374599-2afd-4beb-a9fb-ecde6fad1bd7/opt/install/object_tracker_simulation/lib/object_tracker_simulation/run_local_rl_agent.sh __name:=agent __log:=/home/robomaker/.ros/log/5c533114-5b06-11e9-b38f-0242a9fe0103/agent-5.log].

15:36:04
log file: /home/robomaker/.ros/log/5c533114-5b06-11e9-b38f-0242a9fe0103/agent-5.log

15:36:04
Initiating shutdown!

@curvelets Thank you for the additional information. I've asked our Simulation team to help take a look at this issue as it seems to be related to the Simulation environment and not specific to the objecttracker application. We will keep this issue updated as we investigate.

Hi @curvelets, thanks for your interest in RoboMaker. In order to debug this issue we would need the id of a simulation where the issue was happening. You can see the simulation on the RoboMaker console in Simulations -> Simulations Jobs -> your job in the "Details" section under "Id". Can you please send us all the fields in that "Details" section including Id and ARN to<EMAIL_ADDRESS>We don't recommended adding that information to this issue, as it is public.
Thanks

@nburek Is there anything we need to do to ObjectTracker for this issue? Do we need to handle ConnectTimeoutError exceptions differently? I am not sure if we can capture every point where throwing ConnectTimeoutError exceptions is possible and do something meaningful; if network connectivity is down long enough for Boto 3's retry handler to give up, the simulation might as well exit anyway.

I would like to verify that we are actually retrying. It doesn't look like we're specifying a retry policy when creating the cloudwatch or s3 clients, so it will be getting the boto3 defaults. I feel like in the past I typically see messages in the logs that indicates the maximum number of retries has been exceeded in addition to the root cause. I'm not seeing that in the logs posted here so it's making me question if we're truly retrying or not.
I think it's also important that we gracefully shutdown in these cases as opposed to letting the exception go unhandled and crash the program. It's fine if the training SIM exits abnormally, but let's make sure that we're at least in a state where we can try to clean up.

The RoboMaker simulation team has made some improvements to their systems and @curvelets has reported that these networking issues are now no longer happening for him.


[WIP] Replace expression unique_ptr with raw pointer

As title.
Depends on vesoft-inc/nebula-common#546 and https://github.com/vesoft-inc/nebula-storage/pull/481
Close https://github.com/vesoft-inc/nebula-graph/issues/1054

 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.You have signed the CLA already but the status is still pending? Let us recheck it.


Feature/shift schedule

For #100

So far no problem for this issue could be found with forward simulation.


[BUG] Disabling any vanilla tab breaks all tab positioning

Describe the bug
I tried disabling the following tabs in assets/minecraft/morecreativetabs/disabled_tabs.json:

building_blocks
decorations
redstone
transportation
misc
food
tools
combat
brewing

Doing so hides the tabs from the creative menu, but it also breaks the positioning of all other custom tabs, placing them in unintended spots. There are normally 6 tabs on the top of the menu (4 on the top left, a gap in the middle, and 2 on the right) but with this bug there are 5 on the left before the gap appears. The Fabric left and right arrow buttons are also clipping into the tabs and are unclickable.
To Reproduce
Steps to reproduce the behavior:

Install the specified MC/Fabric/mod version specified below
Enable the provided resource pack for my MoreCreativeTabs setup
Join a singleplayer world and open the creative menu

Screenshots

Versions:

Minecraft Version: 1.19.2
Modloader

[✓] Fabric

Mod Loader Version: 0.14.19
Mod Version: MoreCreativeTabs-combo-1.19-1.2.1

Additional context
Curious for more information, I installed the FancyMenu mod and used it to manually move Fabric's buttons to make them clickable again. Here's a video with my findings:
https://user-images.githubusercontent.com/108554062/236368495-7e70edf1-4397-49b3-afd8-005c3d6894fa.mp4
It looks like the search, saved hotbars, and survival inventory tabs are forcing themselves to be the first 3 tabs in every page (those are the only 3 vanilla tabs I left enabled.) They're even overlapping with other tabs. I tried clicking the other tabs underneath them, but those 3 were prioritized every time.

I'm gonna push to replace the entire inventory screen with a custom one anymore, cause I'm getting tired of this. But thanks for providing clarity on it

Issue fixed in 1.2.2


Team member component

[ ] Team member name, if team lead, edit button, and role
[ ] Adhere style to close to mockup


Compatible with 3.9.5?

When I put a full list of items from the agenda (http://cl.ly/image/282w341D1U3o) I had an error on the page: http://cl.ly/image/1F3r0f1M3Y3F
Do you know what's going on?

It was the same at version 3.9.4 and 3.9.3, I guess it hasn't been updated to 3.9.x versions yet.
You can use it, but with limitations. Using module works for me.

I need to update the module to the newest version of Fork. Haven't got any spare time for this yet! Will do in the future :+1:

Will you update the module to be compatible with  newer fork releases (on 4.0.4 now) ?

Hi @cnlpete, probably will but I think it is best to wait for a more stable version before converting. I cannot give you a specific date on when it is updated. Feel free to help with creating some pull requests.


Fix bug in applying site_mask parameter in Amin1

cc @cclarkson, found and fixed a bug in handling of the site_mask parameter. Will merge and cut a micro release if CI passes.


Add Tailwinds Addons

Why
As we will add the web variant to Gin template, CSS framework is nice to have to reduce set up steps for the developer
Acceptance Criteria

Create Tailwind addon
Include unit test

@gutakk @hoangmirs
What setup of Tailwind would you like?
A. Minimal (just setup into postcss and add the vendor imports in application.scss:
// Vendors
@tailwind base;
@tailwind components;
@tailwind utilities;

Already done & working on my local machine ;-)

B. Add purge optimizations for Production (as recommended here)
C. Any other specific configuration to be included?


Add top & bottom sidebars

there seems to be multiple regressions:

examples/index.html: after clicking the close button the sidebar is now larger than before instead of closed
examples/two-sidebars.html: the zoom and attribution controls are no longer animated when opening/closing the sidebars


Add note to TEA

Note that you can also return Just Message or Nothing in elm, but that's a bit of unnecessary nestedness... and you'd have to handle that Nothing in your update function anyway.

Thanks for the clarification, I’ll update the docs to reflect that more accurately.


Casting LWPolylines to DxfPolylines in IxMilia

Now, it will be complicated, i'm not used to write issues, so please be patient, I will elaborate it.
Issue is coneccted to feel88 DeepNestPort and 9swampy DeepNestPort repositories, they all have same problem with export.
NOW
I am aware that in DeepNestSharp (current one,  this repository) exception is handled, that is why I mention both upper ones, but with context, I was able to dig into problem deeper.

Runtime Exception text: (from author feel-88 and 9swampy DeepNestPort)

(Bold text in block of this text translated by me, unnecessary paths removed)
System.InvalidCastException: **You can't cast object of type** 'IxMilia.Dxf.Entities.DxfLwPolyline' **to type** 'IxMilia.Dxf.Entities.DxfPolyline'.
   w DeepNestLib.DxfParser.OffsetToNest(IList`1 dxfEntities, DxfPoint pivot, DxfPoint offset, Double rotationAngle) in [...]\DeepNestPort-master\Framework\DeepNestLib\DxfParser.cs:line 362
   w DeepNestLib.DxfParser.Export(String path, IEnumerable`1 polygons, IEnumerable`1 sheets) w [...]\DeepNestPort-master\Framework\DeepNestLib\DxfParser.cs:line 217
   w DeepNestPort.Form1.toolStripButton2_Click_1(Object sender, EventArgs e) in [...]\DeepNestPort-master\Framework\DeepNestPort\Form1.cs:line 1360

Now, in this repo there is added DxfExporter.cs, in DeepNestLib.Core, probably to solve problem, to substract and differ input and output.
I tested it myself and found a reason, in a moment function OffsetToNest( receives LwPolyline object it cannot cast it to DxfPolyline, so maybe it should get this type at export.
I "solved" it temporaly by removing case LwPolyline in OffsetToNest function, cause this needs to be resolved by writing external module outside IxMillia lib,, which perform the cast (you cannot offset LWPolyline vertices), or by externing IxMilia by yourself.
Or I am blind, and don't see some easy solution, hah.

@fel88 forwarded, to information.

@fel88 forwarded, to information.

Hi! Can you provide the dxf file you are trying to load?

FAKEPARTS.zip
@fel88

I've tried to nest you parts, and I've not faced any errors or exceptions. It seems works well.
The resulting files (sheet1.dxf, sheet2.dxf) can be opened in LibreCAD without any problems.
So, could you please be more specific how to reproduce the exception you mentioned before? Maybe you can provide particular STR  (steps to reproduce) or a video?
nests.zip

yes, I  will try reproduce it in this week and feed a result to you!


app.py is not in the folder downloaded via git clone

Hello,
are you sure the readme is correct regarding this part?
python src/app.py
Im installing with Github and dont see this file...

Hi,
I apologize for your challenge. I will take a look this weekend.

Please re-clone. From your repo root directory: python -m app.main


Curriculum Training  and Dataset

Hi.
I am reading your original paper but confused with the data sequences .''
We first optimize the ASRN by using regular training samples. The dataset released by Gupta et al. [15]''......''[20] and Gupta et al. [15] offer abundant irregular training samples.''
I thought that one dataset may offer regular data for ASRN another irregular for MORN. am I right? But I found that both of 2 above are irregular which will feed into the network.
In the paper, curriculum training include 3 steps:600,000 for MORN;20,000 forASRN;300,000 for e2e.But I fount the code will directly train in a e2e fashion.am I right? when I insert my dataset ,shell I modify the code to have 3 step illustrated in the paper? or directly feed my data into the network ?
Thank you for your time and consideration!

Thanks for your attention of our paper. Actually the review of the paper took a long time, and we improved our model and released the MORAN v2. That means that our paper -> v1, our released code -> v2. Please use the released code, which is end-to-end trainable.

Thanks for your attention of our paper. Actually the review of the paper took a long time, and we improved our model and released the MORAN v2. That means that our paper -> v1, our released code -> v2. Please use the released code, which is end-to-end trainable.

Hi. Have you changed the learning rate during end-to-end training, or lr is always 1?

We decreased the lr to 0.1 after 3 epoches. You can change the strategy according to your task.


is dlib Detector use gpu ?

Hello
I have tried Face recognition using (Facenet512 and dlib) on 300 images it takes 8 min.
And I have tried to install TensorFlow-GPU but the time is still 8 min.
If use  (Facenet512 and ssd )for example it uses GPU but with using  (Facenet512 and dlib)  it's now.
#######
python version 3.9.16
TensorFlow-GPU version 2.11.1

#######
Any suggest for solving the problem ??

Just tf based models can use gpu

@serengil so dlib detector is mush slow than other detectors?
can i speed it up ?

since it takes a long time to process images.


Implement auto start on login

@cpauya this fixes #288
I attached a sample screenshot of the KA Lite preference dialog.

@cpauya can you delete this PR. Because it's wrong branch target. I will create another one later.

Sure do, let's close this then.


python3Packages.zipstream-ng: 1.5.0 -> 1.6.0

Description of changes
Changelog
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
Result of nixpkgs-review pr 241268 run on x86_64-linux 1

6 packages built:

octoprint
octoprint.dist
python310Packages.zipstream-ng
python310Packages.zipstream-ng.dist
python311Packages.zipstream-ng
python311Packages.zipstream-ng.dist

@ofborg build python3Packages.zipstream-ng python3Packages.zipstream-ng.passthru.tests

Result of nixpkgs-review pr 241268 run on aarch64-darwin 1

2 packages marked as broken and skipped:

octoprint
octoprint.dist

4 packages built:

python310Packages.zipstream-ng
python310Packages.zipstream-ng.dist
python311Packages.zipstream-ng
python311Packages.zipstream-ng.dist


What is difference between Host-Reachable Services and Container HostPort

Support
What is the difference between Host-Reachable Services and Container HostPort?
While I was going through the documentation i had this question.
If they are different, it would make sense to add an Example for 'Host-Reachable Services'.
If they are the same, then provide a note or link in the "Host-Reachable Services" to the Container HostPort Example.

Ok, so the Host-Reachable Services is the direct use of host network for the service without any nodeport which can be achieved by 'hostNetwork: true' enablement for the pod/service.
So adding an example in the documentation would be helpful.
:~$ kubectl exec -it -n kube-system cilium-6wbn4 -- cilium status | grep KubeProxyReplacement
KubeProxyReplacement:   Probe   [ens3 (DR)]   [NodePort (SNAT, 30000-32767, XDP: DISABLED), HostPort, ExternalIPs, HostReachableServices (TCP, UDP), SessionAffinity]

Example yaml for the app.
apiVersion: apps/v1
kind: Deployment
metadata:
  name: my-nginx
spec:
  selector:
    matchLabels:
      run: my-nginx
  template:
    metadata:
      labels:
        run: my-nginx
    spec:
      hostNetwork: true
      containers:
      - name: my-nginx
        image: nginx
        ports:
        - containerPort: 80

After this run this command to see the IP Address assigned to the pod.
#kubectl get pods -o wide
NAME                        READY   STATUS    RESTARTS   AGE     IP                NODE            NOMINATED NODE   READINESS GATES
my-nginx-694b8667c5-rv9mf   1/1     Running   0          4m32s   <IP_ADDRESS>   worker1   <none>           <none>

Make sure the IP is assigned as the node IP address and the App/Pod can be directly accessed using the IP.
You can test it as shown.
:~$ curl http://<IP_ADDRESS>
<!DOCTYPE html>
<html>
<head>
<title>Welcome to nginx!</title>
<style>
    body {
        width: 35em;
        margin: 0 auto;
        font-family: Tahoma, Verdana, Arial, sans-serif;
    }
</style>
</head>
</html>

Closing, the question was answered in the linked PR.


added squadcast to README

The error may be resolved by making the repository created by forking follow the original family. Please consider the correspondence.
https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/syncing-a-fork
example
# Set up the original repository with the name upstream as the remote repository
git remote add upstream git://github.com/Yelp/elastalert.git

# To fetch changes from the home repository, follow the fetch and merge steps
git fetch upstream
git checkout master
git merge upstream/master
git push origin master

# Here's how to get the latest from master
git checkout squadcast-integration
git pull origin master
git push origin squadcast-integration

You need to follow the fork / clone repository on GitHub to the original repository.
This is an example of the command to be resolved.
git remote add upstream git://github.com/Yelp/elastalert.git
git fetch upstream

git merge upstream/master
git push origin feat/testing-build

You need to follow the fork / clone repository on GitHub to the original repository.
This is an example of the command to be resolved.
git remote add upstream git://github.com/Yelp/elastalert.git
git fetch upstream

git merge upstream/master
git push origin feat/testing-build


Move version variables to a yaml file

This PR adds yq as a dependency.
Installation on Ubuntu:
sudo snap install yq


Review and update TFMs for 2.x

Issue tracking the TFM and dependency updates for 2.x

Work for this is currently in progress. Moving to 177.

Work completed in #2674


Improved function argument checking

Currently, we have a function repository
var functions = map[string]struct {
	argsNum int
	fn      func(args *fnArgs) (Value, error)
}

and we check the number of arguments before invoking the pre-defined function.
We want to be able to have variable length arguments such as sum(1, 2, 3), and therefore this mechanism is too simplistic.
We're also starting to sprinkle the various functions with type checks (arg #2 needs to be bool), instead of having a common place to put this code.
One idea is to leverage fnArgs to centralize this, in order to have code such as
var args fnArgs = ...

// must have 3 args
if err := args.checkArgNum(3); err != nil { ...

// arg #1 must be bool
arg0, err := args.get(0, boolType)
(here arg0 could also be undefined -- or maybe handle this differently?)

We'd also want to look into easier ways to express type checks, such as 'value must be slice of numbers (all precisions allowed)'.

Done in https://github.com/helloeave/worksheets/commit/0333e048b76bb9bd52979b3d2a61d174af4ce2da


Fixed #28766 -- Added ResolverMatch.route.

This adds the "route" attribute to ResolverMatch, which is set if
the new django.urls.path function is used to define URL patterns.
Track ticket: https://code.djangoproject.com/ticket/28766

Closing due to inactivity.

Hello @timgraham I'm interested by the feature and willing to finish the work here.
What was actually missing ?

Addressing each of my comments above.

Weren't they addressed by your own commit https://github.com/django/django/pull/9323/commits/6af7657637bd98a8adbcb5f3af58da3e8df99c86 ?

I'll take a look to try to remember why I closed this.

@timgraham added a failing test and a possible fix in
https://github.com/django/django/compare/master...xavfernandez:xfernandez/recursive_routes?expand=1
(I can't push on @beniwohli branch)

Cf #10657


fixed raliSetSeed(0) call location

@paveltc & @Reza-Najafi any resolution on this PR?

@paveltc & @Reza-Najafi any resolution on this PR?

This change is not needed anymore, given the PR#206 is merged

Not needed.


Clear doesn't work on KDE X11

When developing Gauntlet I faced problem with clear() not working on KDE X11, same code works on Gnome X11 and on KDE Wayland
fn main() {
    let mut clipboard = arboard::Clipboard::new().unwrap();

    clipboard.clear().unwrap();
    clipboard.set_text("").unwrap();

    std::thread::sleep(std::time::Duration::from_millis(1000))
}

I have same issue on xfce


Edit blurb

[ ] Add note on no experience necessary
[x] Add email address for contact
[x] Explain ComCom abbreviation in-text
[x] Mention outputs of ComCom -- maybe in expression of interest q ?
[ ] Nod to kinds of content
[ ] Cross-post (or link through) to different kinds of content
[x] Highlight / bold "we are actively seeking new members"
[x] Put "Applications" after the title

I think these points are all now addressed, though not necessarily directly in the blurb itself. I'll leave this open for a bit longer in case anyone wants to review the newest content (see these build artifacts : https://github.com/ohbm-comcom/2022-applications/actions/runs/2653060818)


LSP server development

Support for serverside LSP development:
Split library in three parts

LanguageServerProtocol

Common protocol code

LanguageServerProtocol-Client

Client side functionality to communicate with existing LSP servers

LanguageServerProtocol-Server

Functionality to build LSP server backends

Renaming of Server concept/protocol
Calling the clientside connection to the server makes sense in the client context, but makes things a bit confusing when working from the other side.
I have attempted to find a terminology that works well from both sides:
What was previously called Server, is now ServerConnection. Where a ServerConnection contains:

Event sequence from the server
Methods for sending notifications and requests to the server

And with matching ClientConnection protocol on the server side.
Serverside LSP developent
In addition to the ClientConnection protocol, the serverside library has additional support that can be reused for specific LSP implementations.
The same pattern should probably be implemented in the client side, but first lets make sure we can agree on a design that seems reasonable and support both sides of the LSP protocol.

ClientConnection

Event sequence from the client
Methods for sending notifications and requests to the client

JSONRPCClientConnection

JSONRPC implementation for the ClientConnection protocol

RequestHandler

Protocol for all LSP request methods
Has default implementation that return not-implemented errors to client

We can not check this statically since this depends on registered server capabilities, but this way the server does not need to implement the full protocol for parts it does not need to use

Pass request id to all request handlers

This is needed if the server want to support protocolCancelRequest

Protocol methods use return value instead of response callback

This allows static compilation checking that the request handlers actually return a result to the caller

Has a default request dispatcher to send request to proper method

NotificationHandler

Protocol for all LSP notification methods
Very similar to request handler, but notifications does not return results, and can not be cancelled

ErrorHandler

Where internal errors are sent

EventHandler

Convenience protocol which combines: RequestHandler, NotificationHandler, ErrorHandler

EventDispatcher

Consumes client event stream and dispatch events to registered handlers

Ok #13 is now merged! I'm going to start looking at this more closely.

I explicitly do not squash to try to avoid conflict here, but it still happened...

Sounds good with rename. And I have removed Logger and ProtocolHandler.
Also, regarding client side, not sure it needs to folllow the same pattern, client development will typically use LanguageClient and work on that abstraction level anyway.
But also, the splitting of this repo into server/client parts makes the separation between LSPClient and LanguageClient a bit more ambigious. Perhaps LanguageClient should just be moved into LSPClient, with preserved code? Not something that needs to be handled in this PR, just something to think about.

At first, when I read your comment I thought "yes! why is there a LanguageClient package at all?" But, exploring that idea quickly led to a very good reason: the LanguageClient package has 6 dependencies. I agree that this is an awkward arrangement. I'm just not sure how to best balance these trade-offs. But I agree that whatever change, if any, we decide to do, can be done separately from this work.
I'm going to give this another closer look this week.

Ah, yes, additional dependencies makes sense as reason to keep it separate 👍

I've addressed the comments, let me know if I missed anything, or if you have additional comments!

I suspect we may still end up making some changes here and there. But, I think we're ready enough to make progress. Let's do it!
Thank you so much for all of your hard work and patience.


Missing themes

Best Mac player ever 😄
Version 3.25.0
I had all the themes go away apart from "Poolside". Tried removing "/Users/michaelzfreeman/Music/aural/state.json" but made no difference. Everything else seems to work.

Hi, thanks for the feedback and bug report.
Do you mean that you had created some custom themes and they disappeared ? Was there an app crash ? Or did you quit the app normally and they didn't reappear when you launched the app subsequently ?
Removing the state file would not help in this case.
Could you provide your aural.log file ? Maybe that has some clues.

Hi, without any further information (eg. logs, crash reports), I presume this a one-off case that I am unable to reproduce, so I am closing the issue for now.
If you can provide more info, I'd be happy to look into the issue further.
Cheers!


Core Validation layer crashes when different render pass is used for drawing than the one provided during pipeline creation

Specification allows graphics pipelines to be used with various render passes that are compatible with the render pass provided during pipeline creation. Unfortunately, when the original render pass is destroyed after pipeline creation and then another render pass is created (even with exactly the same parameters!!), then crash occurs in VkLayer_core_validation.dll when trying to record a drawing command with such setup.

Problem was seen on <IP_ADDRESS> of Validation Layers but with the latest version it does not occur.

@Ekzuzy -- thanks very much for running this down!


Add mod option to disable destruction alerts

sort of works - haven't gotten around to making the option exclude the player from force announcements


Recent Content (Auto)

Long-term I'd like to implement a manual sort for this module once it's been 'auto' populated. Short-term, can we implement a 'shuffle' button that randomises the listing mix?
We have a situation now where we lead with three Podium articles.

Please let me know what you think. I know this will probably cause problems with the existing logic.

Will close this ticket. I found a workaround. I think a better way to look at this would be to refine the logic.


max is 88 not 96

The max for ascend is 88 not 96.

@johrstrom I'm not sure this needs changing but it's actually 84 for jobs without a GPU. It's 88 for jobs requesting at least 1 GPU.


Restructure and accelerate curvature correction.

Two main changes have been performed for CurvatureCorrection. First, routines have been sorted as I/O, auxiliary computations, main, etc.
Furthermore, __call__ uses chached computations, finally requireing merely mapping coordinates only once per call. This accelerates corrections for those image, which use a series of tailored bulge, stretch etc. corrections

Looks very good! Is there a nice way of testing the changes in github? Or should I then pull the branch and test everything locally? I guess you have tested that everything works as expected anyways!

Yes, I have tested only locally. Indeed a test would be great... but then we would need the previous code as well for testing that both do the same job. I am quite sure they do. But one can never know.

What is the best workflow for these PRs? Should I now merge? Or do you want to do something more?

What is the best workflow for these PRs? Should I now merge? Or do you want to do something more?

I am not sure. I realized, when running the curvature notebook, that the plotting does not always work. And the problem is that there is conversions missing. I am not sure whether these have been introduced through this code. However, float images are required to be in the range of [0,1]. Sometimes daria produces however float images through corrections, which are in the range [0,255]. Then one has to convert back in order to see the image properly. This is anyhow a deeper issue. Shall we wait with merging until this issue is resolved?

@EStorvik I thought it is maybe best if we ensure robustness instead of try to hack something that sometimes works and sometimes not. This will lead to some format conversions, which on the one hand may alsways take some time, and may also remove information.
However, the only situation, where potentially critical information is removed is when routines obtain images of dtype np.uint8, i.e. in the range of [0,255], and when they return np.float32 in the range of [0,255]. Switching back to np.uint8 hence removes fairly litte information, but still. I know.


Maybe rename the project

There already exists a pathfinder crate.

That's unfortunate, but I've been calling this project Pathfinder for so long. Since Pathfinder is split up into multiple crates, I don't think this will end up being a problem—it'll just be kind of weird that pathfinder on crates.io isn't related to pathfinder_font_renderer, say.


installation: compatiblity with Flask>=0.11

Coverage decreased (-0.005%) to 99.306% when pulling de3fba7c3b7f9c38bfcc71ce3623e5aa5cd20b30 on jirikuncar:flask-0.11 into 46e1279bd05a400cb280ae8d2dba0832b19ceb90 on inveniosoftware:master.

Coverage decreased (-0.005%) to 99.306% when pulling de3fba7c3b7f9c38bfcc71ce3623e5aa5cd20b30 on jirikuncar:flask-0.11 into 46e1279bd05a400cb280ae8d2dba0832b19ceb90 on inveniosoftware:master.


Request: Please add negative prompt

So to can eliminate massive deformations in the generated images.

already requested: #9

Closing this in favor of this  https://github.com/rupeshs/fastsdcpu/issues/9


--table option should output the service names as hyperlinks

Consider the example below. Instead of simply "AWS Accounts" or "AWS Certificate Manager" we should include a markdown formatted link to the AWS documentation for that particular service.

Service Prefix
Service Name

account
AWS Accounts

acm
AWS Certificate Manager

duplicate of #64


Removing the config falttening

This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information

[x] The title of the PR is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[x] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[ ] If applicable, the PR references the bug/issue that it fixes.
[ ] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[ ] I have read the contribution guidelines.
[ ] My spec meets the review criteria:

[ ] The spec conforms to the Swagger 2.0 specification.
[ ] The spec follows the guidelines described in the Swagger checklist document.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

Automation for azure-libraries-for-java

Automation for azure-sdk-for-node

Automation for azure-sdk-for-python
A PR has been created for you:
https://github.com/Azure/azure-sdk-for-python/pull/2237

Automation for azure-sdk-for-go

@sayghosh what's the reason for the change?

Hi,
I am appending the Traffic Analytics config parameters to the existing network watcher config, to which I had flattened our config schema. Later, for the sake of keeping them separate objects, I decided to remove the flattening. Please let me know if I am going wrong somewhere as I am doing this work very first time.
Thanks,
Sayantan
From: Sergey Shandar<EMAIL_ADDRESS>Sent: Wednesday, March 21, 2018 11:43 PM
To: Azure/azure-rest-api-specs<EMAIL_ADDRESS>Cc: Sayantan Ghosh<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [Azure/azure-rest-api-specs] Removing the config falttening (#2712)
@sayghoshhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fsayghosh&data=04|01|Sayantan.Ghosh%40microsoft.com|1a787db05e97499ce86a08d58f57671c|72f988bf86f141af91ab2d7cd011db47|1|0|636572527912186471|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwifQ%3D%3D|-1&sdata=VTHvhIkqyowdf67wrniMtBFJSgg7ggAmyMZAW9tRHjU%3D&reserved=0 what's the reason for the change?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fazure-rest-api-specs%2Fpull%2F2712%23issuecomment-375044152&data=04|01|Sayantan.Ghosh%40microsoft.com|1a787db05e97499ce86a08d58f57671c|72f988bf86f141af91ab2d7cd011db47|1|0|636572527912186471|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwifQ%3D%3D|-1&sdata=c5pZ5U9mjExtZvT6xuFIV38kY51VaC%2Baoj3XVMrINUQ%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAjoSfw4mUJngkF9TnZNqxyk4-cywnE_yks5tgpgtgaJpZM4Sye1S&data=04|01|Sayantan.Ghosh%40microsoft.com|1a787db05e97499ce86a08d58f57671c|72f988bf86f141af91ab2d7cd011db47|1|0|636572527912196473|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwifQ%3D%3D|-1&sdata=BzheH%2FKBVjulFaJJYOINNbPpefbaivhNFMamBD9OTTQ%3D&reserved=0.

I am appending the Traffic Analytics config parameters to the existing network watcher config, to which I had flattened our config schema. Later, for the sake of keeping them separate objects, I decided to remove the flattening.


Adding a slotConfig in MonadMockChain and the function validateNow

This addresses #49 by creating the constraints validateAt and validateNow.
It required to add the slotConfig inside MonadMockChain rather than having it only in its "direct" instance.

@GuillaumeGen I like the idea! Thanks for the PR! I have two small comments but I'm pre-aproving to make the roundrip faster :)


Update Deploy modal

Problem solved
Short description of the bug fixed or feature added

PR-Codex overview
This PR enhances the contract deployment process by introducing a deploy status modal and refactoring related components.
Detailed summary

Added DeployStatusModal for tracking contract deployment status
Refactored useCustomContractDeployMutation to include deployStatusModal
Removed DeployModalProvider and related context
Updated contract-deploy-form/hooks.ts and deploy-context-modal.tsx

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

#4057  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @MananTank and the rest of your teammates on  Graphite


Usage with generic plugins

I tried integrating this project with Vim plugins that communicate over generic Language Servers, but I haven't gotten it to work yet. Any insight you have is appreciated:
LanguageClient-neovim Issue: https://github.com/autozimu/LanguageClient-neovim/issues/527
Ale PR: https://github.com/w0rp/ale/pull/1737
(btw - is there a way to generate some log on the server side? I see the client can trigger it but maybe there's some independent flag?)
Thanks!

Logging is currently all via the window/logMessage LS message, there hasn't been a need to do that server side so far; but I'm sure we could log to a file also.
The linked logs on that issue do seem to show the logMessage though, maybe there's nowhere to display that?

Per slack discussion I'm happy to help work through this, looking at your logs I suspect no config has been received so the server is not started (because otherwise if the config arrives after starting the server, it won't be configured right... and in vscode at least the config is sent 1st thing).
Can you try running with args --stdio --config {} - it looks like I never managed to bring in a arg parser so literally in that order!

oooh, I snuck that into ALE to test real quick - getting some errors (better than nothing!)
"failed to fill whole buffer"
And then it's honing in on the module imports and saying it can't find them

Can't find imports usually indicates that the project wasn't build at startup time (externs with the correct version are not present in output/ when purs ide server loads dependencies), so that's a correct user-level error if you see it (there's a window/showMessage to prompt the user to build)

d'oh forgot about that... so now I'm getting a "server already running needs to restart" error, BUT after ignoring that and doing some purposefully wrong errors - it's working in ALE!!!

LanguageServer is still not working however - will post an update there and continue another time. Thanks!

I think it is safe to close the issue now. I was using the same setup daily with no issues now. Found some others, but now it's all resolved.
I use NVIM 0.3.4 with LanguageClient_neovim version 0.1.142 and purescript-language-server 0.12.7.
My configuration can be found here: https://github.com/sriharshachilakapati/dotfiles/blob/master/.vimrc#L78-L315


Stored XSS vulnerability due to HTML Escape unprocessed when writing comments

Hello.
Currently, there is a writing vulnerability using the

This vulnerability has been assigned CVE-2024-24156


onSelectedChange is being called multiple times on selecting a date its hard to add any side effect behaviour

Describe the bug
onSelectedChange is being called multiple times on selecting a date its hard to add any side effect behaviour. Even if date is already selected then also on selected change is being called.
To Reproduce
Steps to reproduce the behavior:
import moment from 'moment'
import React, { useState } from 'react'
import DatePicker from 'react-native-modern-datepicker'
export const CalendarModal = ({ isVisible, closeModal, onDayPress }) => {
const firstTime = React.useRef(0)
const handleConfirm = (date) => {
console.log('date', date, firstTime.current)
if (date == selectedDate) {
  firstTime.current += 1
  return
}

setSelectedDate(date)
setTimeout(() => {
  // side effect call
}, 500)

}
React.useEffect(() => {
if (isVisible) {
firstTime.current = true
}
}, [isVisible])
const [selectedDate, setSelectedDate] = useState('')
console.log(selectedDate)
return (
<DatePicker
// current={selectedDate}
selected={selectedDate}
onSelectedChange={(date) => {
handleConfirm(date)
}}
options={{ mainColor: '#30B700' }}
mode="calendar"
minuteInterval={30}
style={{ borderRadius: 10 }}
/>
)
}
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Hello @roneyyb,
I have same issue. Can you solve this?


The export does not work on IE

When using this plugin with IE it does not work.
I even tried using the live-demo you have on your website with IE 11 but nothing happens when I hit download
This is the link I tried to export from using IE 11.
https://www.travismclarke.com/tableexport/#live-demo

+1 - I think is because the saveAs method is not available in TableExport but I do not know why. Might hove to do with the order the files are included or the way 'msSaveOrOpenBlob' is used

@CrestApps   – thanks for your interest in TableExport.
Please help me better understand the context by answering a few questions, then I will try to get the issue resolved:

[ ] Which file formats do not work in IE 11? (e.g. .xlsx, .xls, .csv, .txt)
[ ] Are you getting any error in the browser console?

I recently uploaded the latest source to my server where I am hosting TableExport to rule out stale code/dependencies as the culprit.

In my case is the format that I need is xlsx so that is the only one I have tested. The error I see is that 'saveAs' is null. I am calling export2file directly as I need to use my own UI.
I do not have access to windows now so I cannot recreate the problem to provide more information.
I will get back to you later.
Thanks for your work.

@clarketm all formats do not work with IE. When I visit https://www.travismclarke.com/tableexport/#live-demo with IE and try to click on any of the export button (i.e. xlsx, xls, csv, txt) nothing happens. Also, I get no errors in the console command.
I hope this helps.

For now, the following hack works for me:
Insert the following code before line 505 of version 3.3.9 (this will resolve the reference to msSaveOrOpenBlob)
            // IE 10+ (native saveAs)
            // saveAs should come from FileSaver but this should help resolve the reference for now
            if (typeof saveAs === "undefined" && typeof navigator !== "undefined" && navigator.msSaveOrOpenBlob) {

                saveAs = function (blob, name, no_auto_bom) {
                    navigator.msSaveOrOpenBlob(blob, name);
                }
            }

I added a pull request to address IE support: https://github.com/clarketm/TableExport/pull/49

Thanks all (@aflores, @zalenix @CrestApps).

As @aflores mentioned - fundamentally, the issue is with either filesaver OR my implementation/integration of filesaver because there is a logical gate to catch and handle this in filesaver (see image below). Before I transfer this issue over to that repo, let me rule out first that the issue isn't the latter (TableExport's implementation).

I am limited on IE-based testing tools at the moment but a quick check over on BrowserStack rendered positive results on Win 7 - IE11:

This has now been patch over in FileSaver.js v1.3.6

Hi tableexport.js is unable to export multiple sheet on IE 10+,please help me
I am getting below error


Add mailtrap as fake SMTP server

Mailtrap
https://mailtrap.io/
Provides a fake SMTP server for your development team to test, view and share emails sent from the pre-production environments and test with real data without the risk of spamming real customers.
The Free Plan is more than enough to test any app.
Free tier: unlimited time
Pros: Easy to setup
Limitations: 1 inbox, 50 messages per inbox, 2 emails/sec per inbox

Thanks, I will probably add this in the "Misc" part

Sorry for the commit spam. For some reason git commit --amend --reset-author does not change the author to the one I set in user.email (which has worked in the past) ...


Extended color and stroke definitions

This PR

Updates the Documentation

Describe the changes below:

Declared that the color and stroke properties can also be CanvasGradient or CanvasPattern

👍


Lite: Pooling Missing Test Cases Added

35 Missing Test cases added for Pooling Op.

Load balancing review to Jian.

@jianlijianli : Would you please help review the changes. TIA!

@haozha111: Welcome for review, TIA!

Thanks for adding the tests. Could you please also expand the commit message to reflect that you are:
* allowing the capability to test different activation, bias, padding and strides

* adding more test coverage

Thanks.

Updated as per your comments, Thanks!

@jianlijianli : I have resolved the conflict, would you please check and approve again, Thanks!

@jianlijianli : Request to approve again, TIA!

@jianlijianli : gentle reminder!


Yatin: Watch mydirtytinder.com

Yatin requests the watch of the watch_keyword mydirtytinder\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

mydirtytinder\.com has been seen in 0 true positives, 0 false positives, and 0 NAAs.

Rejected by cigien in Charcoal HQ. Reason: 'Upon discussion, these watches are too speculative'


Remove light bar hack

Codecov Report

Merging #506 (8013d2d) into main (3f05bbf) will increase coverage by 0.17%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #506      +/-   ##
==========================================
+ Coverage   74.45%   74.62%   +0.17%
==========================================
  Files          83       83
  Lines        4517     4504      -13
  Branches      984      984
==========================================
- Hits         3363     3361       -2
+ Misses        463      452      -11
  Partials      691      691

Impacted Files
Coverage Δ

...n/kotlin/com/alexvanyo/composelife/MainActivity.kt
86.36% <100.00%> (+26.36%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


add geotiff read and write to compute tide programs

add long period equilibrium tide programs for ATL03 and ATL06

Codecov Report

Merging #32 (bd52490) into main (eff188a) will increase coverage by 0.28%.
The diff coverage is 79.31%.

@@            Coverage Diff             @@
##             main      #32      +/-   ##
==========================================
+ Coverage   78.14%   78.42%   +0.28%
==========================================
  Files          41       42       +1
  Lines        3701     3903     +202
  Branches      348      369      +21
==========================================
+ Hits         2892     3061     +169
- Misses        698      723      +25
- Partials      111      119       +8

Flag
Coverage Δ

unittests
78.42% <79.31%> (+0.31%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pyTMD/compute_tide_corrections.py
34.69% <0.00%> (-1.29%)
:arrow_down:

pyTMD/time.py
63.34% <ø> (-18.10%)
:arrow_down:

test/test_fes_predict.py
98.41% <ø> (ø)

pyTMD/utilities.py
49.07% <50.00%> (-3.73%)
:arrow_down:

pyTMD/read_tide_model.py
68.27% <66.66%> (ø)

pyTMD/spatial.py
78.09% <68.00%> (-4.05%)
:arrow_down:

pyTMD/read_netcdf_model.py
63.85% <69.23%> (ø)

pyTMD/eop.py
73.62% <73.62%> (ø)

pyTMD/compute_equilibrium_tide.py
92.30% <77.77%> (-7.70%)
:arrow_down:

test/test_spatial.py
94.78% <86.36%> (-2.00%)
:arrow_down:

... and 24 more

Continue to review full report at Codecov.

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


documentation completely missing for all the important functionality

Where are ALL THE IMPORTANT FUNCTIONS?  Find(), at(), operator[], count(), emplace(), insert(), erase(), clear()
I'm mystified.  What happened here, do you have a broken automatic documentation generator?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: bd46da79-7f00-5e35-d2cc-105c115c1ef9
Version Independent ID: 9038804b-4ff8-db02-35fa-da0aea8e46e0
Content: <map> functions
Content Source: docs/standard-library/map-functions.md
Product: visual-cpp
Technology: cpp-standard-libraries
GitHub Login: @TylerMSFT
Microsoft Alias: twhitney

Hi, they are there. They are documented on the class. See https://docs.microsoft.com/en-us/cpp/standard-library/map-class?view=vs-2019
The way the STL docs work is they list the non-member functions and operators separately from the member functions/operators.


new version of tsconfig.json and package.json

We implemented the proposed changes in the master branch.


Fix HTML Create For Sequence

The CreateForSequence(bool includeInternals) api, assumes, each column has the same type.
This addresszes that by caching one for each type of item.
Here is a repro:
#r "nuget:Microsoft.Data.Analysis,0.2.0"
using Microsoft.Data.Analysis;

PrimitiveDataFrameColumn<DateTime> dateTimes = new PrimitiveDataFrameColumn<DateTime>("DateTimes"); // Default length is 0.
PrimitiveDataFrameColumn<int> ints = new PrimitiveDataFrameColumn<int>("Ints", 1); // Makes a column of length 3. Filled with nulls initially
StringDataFrameColumn strings = new StringDataFrameColumn("Strings", 1); // Makes a column of length 3. Filled with nulls initially

// Append 3 values to dateTimes
dateTimes.Append(DateTime.Parse("2019/01/01"));
ints[0]=1;
strings[0]="string 1";

DataFrame df = new DataFrame(dateTimes, ints, strings ); // This will throw if the columns are of different lengths
DataFrameRow row0 = df.Rows[0];
foreach(var x in row0) { Console.WriteLine("{0}", x); }
row0

Note that the DataFrame has a different data type for each column/
Observe the error:
System.InvalidCastException: Unable to cast object of type 'System.Int32' to type 'System.DateTime'.
   at Microsoft.DotNet.Interactive.Formatting.Destructurer`1.Destructure(Object instance)
   at Microsoft.DotNet.Interactive.Formatting.HtmlFormatter`1.<>c__DisplayClass7_0.<CreateForSequence>b__4(T instance, TextWriter writer)
   at Microsoft.DotNet.Interactive.Formatting.HtmlFormatter`1.Format(T instance, TextWriter writer)
   at Microsoft.DotNet.Interactive.Formatting.TypeFormatter`1.Microsoft.DotNet.Interactive.Formatting.ITypeFormatter.Format(Object instance, TextWriter writer)
   at Microsoft.DotNet.Interactive.Formatting.Formatter`1.FormatTo(T obj, TextWriter writer, String mimeType)
   at Microsoft.DotNet.Interactive.Formatting.Formatter.FormatTo[T](T obj, TextWriter writer, String mimeType)
   at Microsoft.DotNet.Interactive.Formatting.Formatter.ToDisplayString(Object obj, String mimeType)
   at Microsoft.DotNet.Interactive.FormattedValue.<>c__DisplayClass7_0.<FromObject>b__0(String mimeType)
   at System.Linq.Enumerable.SelectEnumerableIterator`2.ToArray()
   at Microsoft.DotNet.Interactive.FormattedValue.FromObject(Object value)
   at Microsoft.DotNet.Interactive.CSharp.CSharpKernel.HandleSubmitCode(SubmitCode submitCode, KernelInvocationContext context)
   at Microsoft.DotNet.Interactive.Commands.KernelCommandBase.InvokeAsync(KernelInvocationContext context)
   at Microsoft.DotNet.Interactive.KernelBase.HandleAsync(IKernelCommand command, KernelInvocationContext context)
   at Microsoft.DotNet.Interactive.KernelCommandPipeline.<BuildPipeline>b__6_0(IKernelCommand command, KernelInvocationContext context, KernelPipelineContinuation _)
   at Microsoft.DotNet.Interactive.KernelCommandPipeline.<>c__DisplayClass6_1.<<BuildPipeline>b__3>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.DotNet.Interactive.CompositeKernel.LoadExtensions(IKernelCommand command, KernelInvocationContext context, KernelPipelineContinuation next)
   at Microsoft.DotNet.Interactive.KernelCommandPipeline.<>c__DisplayClass6_1.<<BuildPipeline>b__3>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.DotNet.Interactive.KernelBase.HandleDirectivesAndSubmitCode(SubmitCode submitCode, KernelInvocationContext context, KernelPipelineContinuation continueOnCurrentPipeline)
   at Microsoft.DotNet.Interactive.KernelCommandPipeline.<>c__DisplayClass6_1.<<BuildPipeline>b__3>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.DotNet.Interactive.KernelBase.<>c.<<AddCaptureConsoleMiddleware>b__12_0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.DotNet.Interactive.KernelCommandPipeline.<>c__DisplayClass6_1.<<BuildPipeline>b__3>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.DotNet.Interactive.KernelBase.<AddSetKernelMiddleware>b__11_0(IKernelCommand command, KernelInvocationContext context, KernelPipelineContinuation next)
   at Microsoft.DotNet.Interactive.KernelCommandPipeline.<>c__DisplayClass6_0.<<BuildPipeline>g__Combine|2>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.DotNet.Interactive.KernelCommandPipeline.<>c__DisplayClass6_0.<<BuildPipeline>g__Combine|2>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.DotNet.Interactive.KernelCommandPipeline.<>c__DisplayClass6_0.<<BuildPipeline>g__Combine|2>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.DotNet.Interactive.KernelCommandPipeline.<>c__DisplayClass6_0.<<BuildPipeline>g__Combine|2>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.DotNet.Interactive.KernelCommandPipeline.SendAsync(IKernelCommand command, KernelInvocationContext context)
   at Microsoft.DotNet.Interactive.Formatting.Destructurer`1.Destructure(Object instance)
   at Microsoft.DotNet.Interactive.Formatting.HtmlFormatter`1.<>c__DisplayClass7_0.<CreateForSequence>b__4(T instance, TextWriter writer)
   at Microsoft.DotNet.Interactive.Formatting.HtmlFormatter`1.Format(T instance, TextWriter writer)
   at Microsoft.DotNet.Interactive.Formatting.TypeFormatter`1.Microsoft.DotNet.Interactive.Formatting.ITypeFormatter.Format(Object instance, TextWriter writer)
   at Microsoft.DotNet.Interactive.Formatting.Formatter`1.FormatTo(T obj, TextWriter writer, String mimeType)
   at Microsoft.DotNet.Interactive.Formatting.Formatter.FormatTo[T](T obj, TextWriter writer, String mimeType)
   at Microsoft.DotNet.Interactive.Formatting.Formatter.ToDisplayString(Object obj, String mimeType)
   at Microsoft.DotNet.Interactive.FormattedValue.<>c__DisplayClass7_0.<FromObject>b__0(String mimeType)
   at System.Linq.Enumerable.SelectEnumerableIterator`2.ToArray()
   at Microsoft.DotNet.Interactive.FormattedValue.FromObject(Object value)
   at Microsoft.DotNet.Interactive.CSharp.CSharpKernel.HandleSubmitCode(SubmitCode submitCode, KernelInvocationContext context)
   at Microsoft.DotNet.Interactive.Commands.KernelCommandBase.InvokeAsync(KernelInvocationContext context)
   at Microsoft.DotNet.Interactive.KernelBase.HandleAsync(IKernelCommand command, KernelInvocationContext context)
   at Microsoft.DotNet.Interactive.KernelCommandPipeline.<BuildPipeline>b__6_0(IKernelCommand command, KernelInvocationContext context, KernelPipelineContinuation _)
   at Microsoft.DotNet.Interactive.KernelCommandPipeline.<>c__DisplayClass6_1.<<BuildPipeline>b__3>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.DotNet.Interactive.CompositeKernel.LoadExtensions(IKernelCommand command, KernelInvocationContext context, KernelPipelineContinuation next)
   at Microsoft.DotNet.Interactive.KernelCommandPipeline.<>c__DisplayClass6_1.<<BuildPipeline>b__3>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.DotNet.Interactive.KernelBase.HandleDirectivesAndSubmitCode(SubmitCode submitCode, KernelInvocationContext context, KernelPipelineContinuation continueOnCurrentPipeline)
   at Microsoft.DotNet.Interactive.KernelCommandPipeline.<>c__DisplayClass6_1.<<BuildPipeline>b__3>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.DotNet.Interactive.KernelBase.<>c.<<AddCaptureConsoleMiddleware>b__12_0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.DotNet.Interactive.KernelCommandPipeline.<>c__DisplayClass6_1.<<BuildPipeline>b__3>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.DotNet.Interactive.KernelBase.<AddSetKernelMiddleware>b__11_0(IKernelCommand command, KernelInvocationContext context, KernelPipelineContinuation next)
   at Microsoft.DotNet.Interactive.KernelCommandPipeline.<>c__DisplayClass6_0.<<BuildPipeline>g__Combine|2>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.DotNet.Interactive.KernelCommandPipeline.<>c__DisplayClass6_0.<<BuildPipeline>g__Combine|2>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.DotNet.Interactive.KernelCommandPipeline.<>c__DisplayClass6_0.<<BuildPipeline>g__Combine|2>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.DotNet.Interactive.KernelCommandPipeline.<>c__DisplayClass6_0.<<BuildPipeline>g__Combine|2>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.DotNet.Interactive.KernelCommandPipeline.SendAsync(IKernelCommand command, KernelInvocationContext context)

@jonsequitur,
Okay I have a simple repro:
using System;
using System.Collections.Generic;

IEnumerable<object> GetCollection()
{
    yield return System.DateTime.Now;
    yield return 1;
    yield return "Hello, World";
}
GetCollection()

Observe the issue:

So the PR now has a test case and fixes a small bug with CreateForSequence.  The issue, is that When you call GetInterfaces on a type it only returns interfaces implemented by the type.  When the Type itself is an interface that is omitted from the returned list.  So I added a GetAllInterfaces() method in TypeExtensions as well.


How to access methods on a custom field added to JS global object

Summary
If I set a property on a global object like this
#[wasm_bindgen]
#[derive(Serialize)]
pub struct Foo {}

#[wasm_bindgen]
impl Foo {
    #[wasm_bindgen(constructor)]
    pub fn new() -> Self {
        Self {}
    }

    #[wasm_bindgen]
    pub fn bar(&self) -> u8 {
        1
    }
}

#[wasm_bindgen(start)]
pub fn main() {
    let global = global();
    let foo = Foo::new();

    js_sys::Reflect::set(
        &global,
        &JsValue::from("foo"),
        &JsValue::from_serde(&foo).unwrap(),
    )
    .unwrap();
}

the global object has a property foo on it, but I cannot call the method defined on it i.e. window.foo.bar(). I assume that using JsValue::from_serde(&foo) is incorrect because it is based on the serialisation of the struct which knows nothing about the method bar. How should I got about doing this instead?

Using from_serde serializes the value (think of converting an object to JSON). You'll want to stick the foo value itself (e.g. via JsValue::from(foo) into the map instead.

So obvious in hindsight. Thank you!


Alias checker seems to get confused by lib/rope.rs

At least, the warnings about copying it emits don't seem to make much sense.

The problem is that the scope state isn't threaded through the ast properly, causing an assignment in an earlier branch of an if/alt statement to invalidate a reference in the branches following it, even though they don't follow each other sequentially.


After changing MONGO_URL, deploy fails with CLI tool v4 and gives a runtime error with CLI tool v5

I changed the MONGO_URL on my app, redeployed with the Modulus command line tool v5.0.1, and on restart, the app started giving this runtime error:
><EMAIL_ADDRESS>start /mnt/app/programs/server
> node ../../main

/mnt/app/programs/server/node_modules/fibers/future.js:278
						throw(ex);
						      ^
TypeError: Cannot read property 'master' of undefined
    at Object.Future.wait (/mnt/app/programs/server/node_modules/fibers/future.js:398:15)
    at new MongoConnection (packages/mongo/mongo_driver.js:213:1)
    at new MongoInternals.RemoteCollectionDriver (packages/mongo/remote_collection_driver.js:4:1)
    at Object.<anonymous> (packages/mongo/remote_collection_driver.js:38:1)
    at Object.defaultRemoteCollectionDriver (packages/underscore/underscore.js:750:1)
    at new Mongo.Collection (packages/mongo/collection.js:102:1)
    at AccountsServer.AccountsCommon (accounts_common.js:23:18)
    at new AccountsServer (accounts_server.js:16:5)
    at Package (globals_server.js:5:12)
    at /mnt/app/programs/server/packages/accounts-base.js:1814:4
    - - - - -
    at packages/mongo/mongo_driver.js:183:1
    at runWithEnvironment (packages/meteor/dynamics_nodejs.js:110:1)

npm ERR! Linux 3.13.0-66-generic
npm ERR! argv "node" "/mnt/app/.modulus/nvm/v0.10.40/bin/npm" "start"
npm ERR! node v0.10.40
npm ERR! npm  v3.6.0
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>start: `node ../../main`
npm ERR! Exit status 8
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script 'node ../../main'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the meteor-dev-bundle package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node ../../main
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs meteor-dev-bundle
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls meteor-dev-bundle
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /mnt/app/programs/server/npm-debug.log

I tried downgrading the command line tool to v4 (it went to 4.0.2), and that can't get through the modulus deploy command. It gives the following error:
$ modulus deploy -p 'project-name'
Welcome to Modulus
You are logged in as kareems
Selecting project-name

Meteor project detected...
Input:  /path/to/my/project
Output: /path/to/my/project/.demeteorized
Determining Meteor version...
Meteor version: 1.2.1
Bundling Meteor App...
This command has been deprecated in favor of 'meteor build', which allows you
to build for multiple platforms and outputs a directory instead of a single
tarball. See 'meteor help build' for more information.

WARNING: The output directory is under your source tree.
meteor bundle generation complete.
Finding dependencies...
fs.js:849
  return binding.stat(pathModule._makeLong(path));
                                 ^

Error: ENOENT: no such file or directory, stat '/path/to/my/project/.demeteorized/programs/server/npm/react-runtime-prod/node_modules/react/node_modules/envify/node_modules/jstransform/node_modules/esprima-fb/.#README.md'
    at Error (native)
    at Object.fs.statSync (fs.js:849:18)
    at Demeteorizer.<anonymous> (/usr/local/lib/node_modules/modulus/node_modules/demeteorizer/lib/demeteorizer.js:232:20)
    at Array.forEach (native)
    at Demeteorizer.findDependenciesInFolder (/usr/local/lib/node_modules/modulus/node_modules/demeteorizer/lib/demeteorizer.js:231:26)
    at Demeteorizer.<anonymous> (/usr/local/lib/node_modules/modulus/node_modules/demeteorizer/lib/demeteorizer.js:250:14)
    at Array.forEach (native)
    at Demeteorizer.findDependenciesInFolder (/usr/local/lib/node_modules/modulus/node_modules/demeteorizer/lib/demeteorizer.js:231:26)
    at Demeteorizer.<anonymous> (/usr/local/lib/node_modules/modulus/node_modules/demeteorizer/lib/demeteorizer.js:250:14)
    at Array.forEach (native)

The support engineer asked me to submit this as an issue here.

Did you get this fixed? I have the same issue.

@topaztee @kareems is this still an issue for you two? Sorry for responding to your issue so late. If this isn't a problem anymore let me know and I'll close the issue for you.

@harlanj fixed for me, although it was a few months ago and I'm afraid I don't remember the fix.

@kareems I'll close the issue for now then. Once again, sorry for the delayed response. If this comes back up, just reopen the issue with some details. Have a great one!


Fixed typo.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: sachinv1z1:x: 5achinJanisachinv1z1 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.

Thanks 👍


Clarification Requested:  15000 ops in 3600 secs for the entire bot.

Clarification Requested:  15000 ops in 3600 secs for the entire bot across all tenants.
If the main activity of the bot was to respond to user messages, such as a LUIS bot or a remote advisor bot, does this mean that the bot is limited to sending 15000/3600 = ~4 messages/sec as measured over an hour?
Are there any limits on inbound messages (say from Teams end users to the bot?)

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: a57254c9-963d-ea1d-ecaf-dd0e7913526c
Version Independent ID: 610c8514-bd72-46cc-75f1-991e2242019b
Content: Rate limiting - Teams
Content Source: msteams-platform/bots/how-to/rate-limit.md
Product: msteams
GitHub Login: @laujan
Microsoft Alias: anclear

You mentioned in the document you can implement back-off strategy for handling the exception for higher limits. The term data center represents your bot running for multiple tenants or multiple servers.


Fix frontend code climate issues

Description
This PR includes the following proposed change(s):

{List all the changes, if possible add the jira ticket #}

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Refactoring / Documentation

if your change is a breaking change, please add breaking change label to this PR
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] New and existing unit tests pass locally with my changes

FAIL src/storyshots.test.js
Storyshots
Footer
✓ Default (5ms)
✓ Mobile (3ms)
Header
✕ Default (4ms)
✕ Mobile (3ms)

4 fixed issues for Code climate!!


Support for version 4 & version 2 deprecation

Version 4 has been officially released and I'm working on adding support in the API. This issue covers what needs to be implemented in wrapper & what should be removed. This issue is for you to read if you're looking to contribute to the wrapper towards version 4 support.
get_ai_response_beta() method raises KeyError because endpoint has changed.

Endpoint for version 4 is now https://api.pgamerx.com/v4/

Changes
These are current apparent changes to wrapper design and methods. Version 4 seems to be leading to redesign of AI response method.

AI response: Parameters have changed. We would have to use kwargs for this method from now to keep up with the API.
Other methods don't have anything changed yet. Jokes are expected to change but they are same for now.
Add "4" in constants.VERSIONS
I don't know about responses yet but they are apparently same, if there's any change, I'll put it here.

Removals
This mainly includes deprecation of version 2.

Remove conditionals checking for version 2 as well as requests to version 2.
Remove "2" from constants.VERSIONS

Release
Version 4 support of wrapper is expected to be available in 1 or 2 days.
Warning for version 2 users
The version 2 of API has been deprecated both by API and wrapper. If you are using version 2 still, Please change to version 3 as soon as possible. There are no code changes. The wrapper handles all the stuff for you.
Consequences of not migrating

Even if you don't update wrapper, Once version 2 is deprecated by API itself, you simply will get errors when using it.
After updating wrapper, Using version 2 will cause you to get errors.VersionError.

Version 4 is live on PyPi! :)


promise not be given - .then() undefined

I am using this on the angle dashboard plugin running anuglar 1.3.10 found at https://wrapbootstrap.com/theme/angle-bootstrap-admin-app-angularjs-WB04HF123 if it is a compatability issue.
I get a successful response from stripe with a created token. But
$scope.charge = function () {
return Stripe.card.createToken($scope.stripeAccount)

    .then(function (token) {

        console.log('token created for card ending in ', token.card.last4);
        var payment = angular.copy($scope.payment);
        payment.card = void 0;
        payment.token = token.id;
        return $http.post('https://yourserver.com/payments', payment);
      })
      .then(function (payment) {
        console.log('successfully submitted payment for $', payment.amount);
      })
      .catch(function (err) {
        if (err.type && /^Stripe/.test(err.type)) {
          console.log('Stripe error: ', err.message);
        }
        else {
          console.log('Other error occurred, possibly with your API', err.message);
        }
      });
  };

and below is the error:
TypeError: undefined is not a function
at f.$scope.charge (http://loc.rvshare.com:8888/panel/app/js/app.js:4016:8)
at $o.functionCall (http://loc.rvshare.com:8888/panel/app/js/base.js:7:10219)
at ra.(anonymous function).compile.n.on.i (http://loc.rvshare.com:8888/panel/app/js/base.js:7:16597)
at f.$get.f.$eval (http://loc.rvshare.com:8888/panel/app/js/base.js:6:1083)
at f.$get.f.$apply (http://loc.rvshare.com:8888/panel/app/js/base.js:6:1309)
at HTMLButtonElement. (http://loc.rvshare.com:8888/panel/app/js/base.js:7:16649)
at HTMLButtonElement.Z.event.dispatch (http://loc.rvshare.com:8888/panel/app/js/base.js:2:14424)
at HTMLButtonElement.Z.event.add.m.handle (http://loc.rvshare.com:8888/panel/app/js/base.js:2:11199)base.js:5 (anonymous function)base.js:5 $getbase.js:6 $get.f.$applybase.js:7 (anonymous function)base.js:2 Z.event.dispatchbase.js:2 Z.event.add.m.handle

I need to see your code.

Not a bug, I was not loading the module correctly.

:)
I made it lowercase on purpose so you can still get at Stripe, the original service.