pushState not working for the vue version?

Has anyone managed to get this working? Thanks!

Yes, it should work

Ok I had to make one of my views "main" for it to work

@etiennea did you make it work with a tabbar/toolbar? Adding view-main enables pushState for that screen only, but switching views by tapping on the tabs. I tried to add view-main to the underlying div (#app), but that didn't work. Any ideas?


Update README.md

"export GO111MODULE=on" specified

Why this is needed? This is default to on for Go later versions.

Yes, you are right. But some developers may have changed it to off at some point and later have trouble figuring out why go get does not work properly.

Prefer not to add more lines here. The README is not to prevent all possible human errors. It's just to show the simplest way to get it up and running.


no correlation_lags member

Hello,
I'm still struggling to get access to that function. On the RPi the problem is the old scipy version, and there is no way to get round this problem, all tips failed. But the error pertains also with the W10 machine. Pylint claims that the correlation_lags is no member of scipy.signal.
I'm pretty sure that there is  something wrong with the rollout of scipy- covering also anaconda.
please improve
many thanks

Can you explain your problem in generic terms? You have to import scipy.signal first. Otherwise you cannot directly call scipy.signal.correlation_lags(...)

No follow-up, so closing.


Remove sourcekitten from dependencies

@devturhan Are you still actively using mockolo via cocoapods?  We're considering removing sourcekitten from dependencies as the other parser (swiftsyntax) is more performant and has been set to default for some time now. If removed, we won't be able to support mockolo via cocoapods any longer, as swiftsyntax is not a pod. You can still use mockolo via other means, mint, brew, etc (see README) but that means you only have access to the commandline, not the APIs.  Let us know; if still actively used, we will instead update the pod version and continue to maintain.

@elsh Nope we are not using it, thanks for asking 🙏

No prob! We’ll go ahead and remove sourcekitten then. Thanks.


Why not use es6/7 for this boilerplate?

I think es6/7 provides a much more readable code, also we could use async/await syntax to query the blockchain instead of callback hell

Hi @sibelius, thanks for the suggestions here and in #25 and #21. We are working on a new version of the boilerplate which will includes the following features:

AngularJS (2) TypeScrypt going to substitute its older brother
NodeJS completely rewritten in TypeScript
Unit testing (for Angular, NodeJS and chaincode)
An install script to assist the user in setting up the environment
Better SoC between server, client and blockchain
And more

In addition, the boilerplate will run on separated Docker containers, respectively for the server, client and blockchain network, in order to prevent issues related to different systems and configurations.
So, stay tuned! :)

I'm going in another direction

Flow to type check
GraphQL to expose blockchain api
Unit testing using Jest
React for the frontend

I'll try to release it in the end of january
tks for the hard work on this boilerplate, it is really helpful

I've just release a bolerplate using es6/7 and graphql as well
check it out
https://github.com/entria/hyperledger-fabric-graphql-boilerplate

Great work sibelius, thanks for sharing


Update ButtonIcon component so that it uses instance swap for the icon so the color of the icon is correct

No longer needed as ButtonIcon variants have been absorbed into other components (tickets here: #743 , #744 )

No longer needed as ButtonIcon variants have been absorbed into other components (tickets here: https://github.com/chanzuckerberg/sci-components/issues/743 , https://github.com/chanzuckerberg/sci-components/issues/744 )


Problem Issue!

I do not know why! but when I wrote the below codes in my computer (Windows 10 64BIT), each time that I run my app, the result of hash of (for example:<PHONE_NUMBER>) are not the same! please help me or fix it asap:
var bcrypt = require('bcrypt-nodejs');
bcrypt.hash('1234512345', null, null, function (err, hash) {
console.log('HASH of<PHONE_NUMBER> is: ' + hash);

});

Please read the readme on how to use this module.


nightly failing because it cannot find tzdata

See https://github.com/pandas-dev/pandas-stubs/actions/runs/4438156563/jobs/7789166798
nightly run is failing because it can't find tzdata >= 22.1, but that doesn't make sense as version 22.7 is available.
@twoertwein can you take a look?

Re-running the job didn't fix it :(
I tried to re-create the issue locally but in my python 3.11 environment everything works fine. I'll create a PR bumping the two nightly runs to 3.11 - maybe it fixes it (maybe not) but it anyways doesn't hurt to use the newest pythn version for the two nightly tests.

closed via #582

reopening as I merged a PR, and the fix in #582 didn't work.  Can you take a look @twoertwein ?
https://github.com/pandas-dev/pandas-stubs/actions/runs/4440799088/jobs/7795051991

The CI runs python -m pip install --use-deprecated=legacy-resolver --upgrade --index-url https://pypi.anaconda.org/scipy-wheels-nightly/simple pandas and that also fails for me locally.
If I use python -m pip install --upgrade --index-url https://pypi.anaconda.org/scipy-wheels-nightly/simple pandas it works! I will try to go back to the old PR adding that to see why we use the legacy resolver.


How to get started with control and debuding control module of apollo 3.5.0?

I am new to Github and Apollo. I want to start working on control module. I finished setup the dream view environment.
Can i use the recorded files to start working on control?

It depends of what do you mean by working on control. You can see debug values by playing bag: cyber_recorder play -f <path to bags> and watching /apollo/control channel in cyber_monitor. There are a lot of variables, so you can navigate between pages by Page Up/Page Down.
But bags only is not enough to try your own algorithms, try to use simulators, like LGSVL

You can treat “control module” as a function, then enter the set value and check the output value.
Input

Chassis
ADCTrajectory
LocalizationEstimate

Output

ControlCommand(throttle, brake, steering_rate)

Todo
In fact, the output of the throttle, brake and steering wheel angle will control the state of the car, and then the control module will perform calculations based on the current state of the car again. Because you don't have a real car to simulate the model. You can write a function to simulate the dynamic model of the car, and then feedback the state of the car, this may be a feasible way.
|--->car state ----> control algorithm -------Control cmd-->|
|<-------------------Car dynamics model <-----------------------|
The easy way is to use a simulator to simulate the car dynamics model.

thanks for reply.
Actually i have a recording file that i use in dream view environment and launch control module, the log file shows some errors..
Log file created at: 2020/04/02 09:06:59
Running on machine: in_dev_docker
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
I0402 09:06:59.645385  8457 class_loader_utility.h:78]  registerclass:ControlComponent,apollo::cyber::ComponentBase,/apollo/bazel-bin/modules/control/libcontrol_component.so
I0402 09:06:59.678946  8457 control_component.cc:42]  Control init, starting ...
I0402 09:06:59.716745  8457 control_component.cc:48]  Conf file: /apollo/modules/control/conf/control_conf.pb.txt is loaded.
I0402 09:06:59.716774  8457 control_component.cc:50]  Conf file:  is loaded.
I0402 09:06:59.716778  8457 controller_agent.cc:36]  Only support MPC controller or Lat + Lon controllers as of now
I0402 09:06:59.717275  8457 lat_controller.cc:86]  Using LQR-based Lateral Controller
I0402 09:06:59.720041  8457 lat_controller.cc:260]  Lateral control gain scheduler loaded
I0402 09:06:59.722167  8457 lat_controller.cc:159]  LQR-based Lateral Controller begin.
I0402 09:06:59.722185  8457 lat_controller.cc:160]  [LatController parameters] mass_: 2080, iz_: 4208.3, lf_: 1.4224, lr_: 1.4224
I0402 09:06:59.722234  8457 controller_agent.cc:92]  Controller  init done!
I0402 09:06:59.722259  8457 lon_controller.cc:140]  Control calibration table loaded
I0402 09:06:59.722270  8457 lon_controller.cc:141]  Control calibration table size is 1297
I0402 09:06:59.723677  8457 controller_agent.cc:92]  Controller <LON_CONTROLLER> init done!
I0402 09:06:59.756345  8457 control_component.cc:98]  Control resetting vehicle state, sleeping for 1000 ms ...
I0402 09:07:00.756469  8457 control_component.cc:104]  Control default driving action is STOP
I0402 09:07:00.770310  8465 control_component.cc:216]  Reset Controllers in Manual Mode
I0402 09:07:01.767935  8469 control_component.cc:216]  Reset Controllers in Manual Mode
I0402 09:07:02.790998  8472 control_component.cc:216]  Reset Controllers in Manual Mode
I0402 09:07:03.781472  8469 control_component.cc:216]  Reset Controllers in Manual Mode
I0402 09:07:04.770012  8467 control_component.cc:216]  Reset Controllers in Manual Mode
I0402 09:07:05.766600  8463 control_component.cc:216]  Reset Controllers in Manual Mode
I0402 09:07:06.768800  8474 control_component.cc:216]  Reset Controllers in Manual Mode
I0402 09:07:07.829711  8470 control_component.cc:216]  Reset Controllers in Manual Mode
I0402 09:07:08.767802  8466 control_component.cc:216]  Reset Controllers in Manual Mode
I0402 09:07:09.770442  8461 control_component.cc:216]  Reset Controllers in Manual Mode
I0402 09:07:10.767359  8474 control_component.cc:216]  Reset Controllers in Manual Mode
I0402 09:07:11.768520  8468 control_component.cc:216]  Reset Controllers in Manual Mode
I0402 09:07:12.776490  8468 control_component.cc:216]  Reset Controllers in Manual Mode
I0402 09:07:13.774690  8470 control_component.cc:216]  Reset Controllers in Manual Mode
I0402 09:07:14.770660  8470 control_component.cc:216]  Reset Controllers in Manual Mode
I0402 09:07:15.771960  8462 control_component.cc:216]  Reset Controllers in Manual Mode
I0402 09:07:16.779045  8466 control_component.cc:216]  Reset Controllers in Manual Mode
I0402 09:07:17.766705  8460 control_component.cc:216]  Reset Controllers in Manual Mode
I0402 09:07:19.249977  8471 control_component.cc:216]  Reset Controllers in Manual Mode
W0402 09:07:19.652999  8465 control_component.cc:365]  planning has no trajectory point.
E0402 09:07:19.653034  8465 control_component.cc:168]  Control input data failed: planning has no trajectory point. planning_seq_num:811
W0402 09:07:19.653085  8465 control_component.cc:207]  planning has no trajectory point.
W0402 09:07:19.653182  8465 control_component.cc:256]  Estop triggered! No control core method executed!
E0402 09:07:19.653192  8465 control_component.cc:315]  Failed to produce control command:planning has no trajectory point. planning_seq_num:811
E0402 09:07:19.653884  8464 control_component.cc:315]  Failed to produce control command:planning has no trajectory point. planning_seq_num:811
E0402 09:07:19.654876  8471 control_component.cc:315]  Failed to produce control command:planning has no trajectory point. planning_seq_num:811
E0402 09:07:19.655954  8466 control_component.cc:315]  Failed to produce control command:planning has no trajectory point. planning_seq_num:811
E0402 09:07:19.657271  8467 control_component.cc:315]  Failed to produce control command:planning has no trajectory point. planning_seq_num:811
E0402 09:07:19.659201  8472 control_component.cc:315]  Failed to produce control command:planning has no trajectory point. planning_seq_num:811
E0402 09:07:19.659972  8466 control_component.cc:315]  Failed to produce control command:planning has no trajectory point. planning_seq_num:811
E0402 09:07:19.660898  8472 control_component.cc:315]  Failed to produce control command:planning has no trajectory point. planning_seq_num:811
E0402 09:07:19.661955  8469 control_component.cc:315]  Failed to produce control command:planning has no trajectory point. planning_seq_num:811
E0402 09:07:19.663019  8471 control_component.cc:315]  Failed to produce control command:planning has no trajectory point. planning_seq_num:811
E0402 09:07:19.663872  8469 control_component.cc:315]  Failed to produce control command:planning has no trajectory point. planning_seq_num:811
E0402 09:07:19.664870  8466 control_component.cc:315]  Failed to produce control command:planning has no trajectory point. planning_seq_num:811
E0402 09:07:19.665850  8467 control_component.cc:315]  Failed to produce control command:planning has no trajectory point. planning_seq_num:811

Can be seen from the log, planning trajectory is misssing, you should check the topic "/apollo/planning" is exist.
W0402 09:07:19.652999 8465 control_component.cc:365] planning has no trajectory point.

yes, i check the topic using cyber_monitor . the topic exist
/apollo/canbus/chassis
/apollo/control
/apollo/localization/pose
/apollo/planning
/apollo/prediction

@Addi2020  You should check into the channel "/apollo/planning" in cyber monitor, then check if the data (trajectory_point) in planning message is empty.
Maybe there is an empty message.

yeah, thanks, I check inside apollo/planning and check log , I think the recording file that i am using have problem. because of PLANNING_ERROR: Found collision with obstacle: 23667.
how can we debug controller (steer, break, throttle), without having recording data?  and check the controller performance that everything is well then test practical vehicle.
Planning Log...
Log file created at: 2020/04/02 15:02:43
Running on machine: in_dev_docker
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
I0402 15:02:43.465723 20382 class_loader_utility.h:78]  registerclass:PlanningComponent,apollo::cyber::ComponentBase,/apollo/bazel-bin/modules/planning/libplanning_component.so
E0402 15:02:43.479475 20382 planning_component.cc:41]  NaviPlanning create
I0402 15:02:43.483659 20382 navi_planner.cc:80]  In NaviPlanner::Init()
I0402 15:02:43.483726 20382 navi_planner.cc:87]  Created task:NaviPathDecider
I0402 15:02:43.483754 20382 navi_planner.cc:87]  Created task:NaviSpeedDecider
I0402 15:02:43.483780 20382 navi_path_decider.cc:61]  Maximum speeds and move to dest lane config:
I0402 15:02:43.483793 20382 navi_path_decider.cc:65]  [max_speed : 34 ,max move dest lane shift y : 0.45]
E0402 15:02:43.565065 20382 planning_component.cc:100]  planning conponet init ok
W0402 15:02:57.650107 20385 channel_buffer.h:70]  channel[/apollo/relative_map] read buffer overflow, drop_message[1] pre_index[160] current_index[161]
W0402 15:02:59.350848 20392 channel_buffer.h:70]  channel[/apollo/relative_map] read buffer overflow, drop_message[1] pre_index[194] current_index[195]
W0402 15:03:03.075150 20389 navi_planner.cc:284]  last frame is empty
I0402 15:03:03.076845 20389 navi_speed_decider.cc:388]  obstacle with id: 22579 s: 10.4419 distance: 5.55192 speed: 0 safe_distance: 14.89
I0402 15:03:03.076941 20389 navi_speed_decider.cc:388]  obstacle with id: 22002 s: 12.3449 distance: 7.45488 speed: 0 safe_distance: 14.89
I0402 15:03:03.076995 20389 navi_speed_decider.cc:388]  obstacle with id: 21858 s: 12.1772 distance: 7.28718 speed: 0 safe_distance: 14.89
I0402 15:03:03.077046 20389 navi_speed_decider.cc:388]  obstacle with id: 22416 s: 14.2069 distance: 9.31695 speed: 0 safe_distance: 14.89
I0402 15:03:03.077097 20389 navi_speed_decider.cc:388]  obstacle with id: 22062 s: 25.5622 distance: 20.6722 speed: 0 safe_distance: 14.89
I0402 15:03:03.077148 20389 navi_speed_decider.cc:388]  obstacle with id: 22582 s: 13.7036 distance: 8.8136 speed: 0 safe_distance: 14.89
I0402 15:03:03.077199 20389 navi_speed_decider.cc:388]  obstacle with id: 22214 s: 12.6546 distance: 7.76458 speed: 0 safe_distance: 14.89
I0402 15:03:03.077250 20389 navi_speed_decider.cc:388]  obstacle with id: 22421 s: 0.970486 distance: 0 speed: 0 safe_distance: 14.89
I0402 15:03:03.077313 20389 navi_speed_decider.cc:388]  obstacle with id: 22386 s: 9.31916 distance: 4.42916 speed: 0 safe_distance: 14.89
I0402 15:03:03.077361 20389 navi_speed_decider.cc:388]  obstacle with id: 22483 s: 10.7334 distance: 5.84341 speed: 0 safe_distance: 14.89
I0402 15:03:03.077410 20389 navi_speed_decider.cc:388]  obstacle with id: 22501 s: 15.7622 distance: 10.8722 speed: 0 safe_distance: 14.89
I0402 15:03:03.077466 20389 navi_speed_decider.cc:388]  obstacle with id: 22375 s: 9.25865 distance: 4.36865 speed: 0 safe_distance: 14.89
I0402 15:03:03.077517 20389 navi_speed_decider.cc:388]  obstacle with id: 22569 s: 13.6268 distance: 8.73682 speed: 0 safe_distance: 14.89
I0402 15:03:03.077638 20389 navi_speed_decider.cc:489]  add speed limit for centric acceleration with kappa: 0 v_max: 1.79769e+308 v_preffered: 1.79769e+308 s: 0
W0402 15:03:03.081015 20389 channel_buffer.h:70]  channel[/apollo/prediction] read buffer overflow, drop_message[73] pre_index[2] current_index[75]
E0402 15:03:03.093806 20389 frame.cc:368]  Found collision with obstacle: 23667
E0402 15:03:03.094365 20389 frame.cc:329]  failed to init frame:PLANNING_ERROR: Found collision with obstacle: 23667
E0402 15:03:03.094552 20389 navi_planning.cc:121]  failed to init frame:PLANNING_ERROR: Found collision with obstacle: 23667
E0402 15:03:03.094655 20389 navi_planning.cc:244]  PLANNING_ERROR: Found collision with obstacle: 23667
I0402 15:03:03.175187 20398 navi_speed_decider.cc:388]  obstacle with id: 23535 s: -0.179952 distance: 0 speed: 0 safe_distance: 14.89
I0402 15:03:03.175266 20398 navi_speed_decider.cc:388]  obstacle with id: 23712 s: 10.8765 distance: 5.98653 speed: 0 safe_distance: 14.89
I0402 15:03:03.175323 20398 navi_speed_decider.cc:388]  obstacle with id: 23581 s: 7.70454 distance: 2.81454 speed: 0 safe_distance: 14.89
I0402 15:03:03.175367 20398 navi_speed_decider.cc:388]  obstacle with id: 23146 s: 25.7206 distance: 20.8306 speed: 0 safe_distance: 14.89
I0402 15:03:03.175428 20398 navi_speed_decider.cc:388]  obstacle with id: 23652 s: 61.4078 distance: 56.5178 speed: 0 safe_distance: 14.89
I0402 15:03:03.175818 20398 navi_speed_decider.cc:489]  add speed limit for centric acceleration with kappa: 0 v_max: 1.79769e+308 v_preffered: 1.79769e+308 s: 0
I0402 15:03:03.315753 20390 navi_speed_decider.cc:388]  obstacle with id: 23855 s: 19.4515 distance: 14.5615 speed: 0 safe_distance: 14.89
I0402 15:03:03.315846 20390 navi_speed_decider.cc:388]  obstacle with id: 23146 s: 25.3365 distance: 20.4465 speed: 0 safe_distance: 14.89
I0402 15:03:03.315904 20390 navi_speed_decider.cc:388]  obstacle with id: 23581 s: 7.58869 distance: 2.69869 speed: 0 safe_distance: 14.89
I0402 15:03:03.315960 20390 navi_speed_decider.cc:388]  obstacle with id: 23652 s: 60.6108 distance: 55.7208 speed: 0 safe_distance: 14.89
I0402 15:03:03.316015 20390 navi_speed_decider.cc:388]  obstacle with id: 23712 s: 9.36705 distance: 4.47705 speed: 0 safe_distance: 14.89
I0402 15:03:03.316932 20390 navi_speed_decider.cc:489]  add speed limit for centric acceleration with kappa: 0 v_max: 1.79769e+308 v_preffered: 1.79769e+308 s: 0
I0402 15:03:03.394937 20396 navi_speed_decider.cc:388]  obstacle with id: 23806 s: 27.0025 distance: 22.1125 speed: 0 safe_distance: 14.89
I0402 15:03:03.395026 20396 navi_speed_decider.cc:388]  obstacle with id: 23146 s: 24.8413 distance: 19.9513 speed: 0 safe_distance: 14.89
I0402 15:03:03.395079 20396 navi_speed_decider.cc:388]  obstacle with id: 23643 s: 2.53396 distance: 0 speed: 0 safe_distance: 14.89
I0402 15:03:03.395129 20396 navi_speed_decider.cc:388]  obstacle with id: 23523 s: 3.05421 distance: 0 speed: 0 safe_distance: 14.89
I0402 15:03:03.395179 20396 navi_speed_decider.cc:388]  obstacle with id: 23581 s: 10.1238 distance: 5.23375 speed: 0 safe_distance: 14.89
I0402 15:03:03.395231 20396 navi_speed_decider.cc:388]  obstacle with id: 23652 s: 59.6572 distance: 54.7672 speed: 0 safe_distance: 14.89
I0402 15:03:03.395319 20396 navi_speed_decider.cc:388]  obstacle with id: 23712 s: 9.62105 distance: 4.73105 speed: 0 safe_distance: 14.89
I0402 15:03:03.395471 20396 navi_speed_decider.cc:489]  add speed limit for centric acceleration with kappa: 0 v_max: 1.79769e+308 v_preffered: 1.79769e+308 s: 0
I0402 15:03:03.473757 20385 navi_speed_decider.cc:388]  obstacle with id: 23581 s: 6.75095 distance: 1.86095 speed: 0 safe_distance: 14.89
I0402 15:03:03.473839 20385 navi_speed_decider.cc:388]  obstacle with id: 23065 s: 3.0901 distance: 0 speed: 0 safe_distance: 14.89
I0402 15:03:03.473901 20385 navi_speed_decider.cc:388]  obstacle with id: 23146 s: 24.4345 distance: 19.5445 speed: 0 safe_distance: 14.89


Rename tabs for descriptiveness and concision

Summary
Rename tab names for descriptiveness and concision.
"Class Search" -> "Search".
"Added Courses" -> "Added" (You can already see the naming inconsistencies that plague us).
"Search" -> "Classes" in mobile home. There's no reason to call a tab search when a sub-tab is the actual search tab. I feel less confident in my judgment on this one, but I am certain that the name needs to change
Test Plan
See that it looks alright. Not much to test

My two cents are that I'm a fan!


Add interface compliance checks to framework jobs

What type of PR is this?
/kind cleanup
What this PR does / why we need it:
I added interface compliance checks to framework jobs.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?

None

/lgtm
/approve


Custom Brier and stopping criterion

Hi, I am trying to implement a custom objective function equivalent to a custom Brier score for the classification. I suppose that I can implement the objective function following this approach. I just wanted to confirm though that objective(y_true, y_pred) -> grad, hess will look into the y_true and y_pred resulting from each potential split. Also, how can I pass some custom scalar (common across all potential splits, but different across trees) to the objective?

You can wrap the objective in some class
import numpy as np

class Brier:

    def __init__(self):
        self.iteration: int = 0

    def objective(self, predictions: np.ndarray, targets_: np.ndarray) -> tuple[np.ndarray, np.ndarray]:
        self.iteration += 1
        return predictions - targets_, np.ones_like(predictions)

brier = Brier()
targets = np.zeros(30)
for idx in range(10):
    brier.objective(np.random.randn(30), targets)
    print(brier.iteration)

Or use this kind of sketchy functional approach
import numpy as np

def _objective(predictions, targets_):
    return predictions - targets_, np.ones_like(predictions)

_objective.iteration = 0

def objective(predictions, targets_):
    _objective.iteration += 1
    return _objective(predictions, targets_)

targets = np.zeros(30)
for idx in range(10):
    objective(np.random.randn(30), targets)
    print(_objective.iteration)


[backup] metadata cache: download to tmp file then rename

Motivation
so that if error happens we don't end up with a stale (probably empty) file cached.
Have you read the Contributing Guidelines on pull requests?
Y
Test Plan
locally
Related PRs

/land


Running tailor in a run script phase in Xcode

Right now the README only contains information on how to add tailor to a run script phase in your Xcode project target, but then it will run every time i compile my app, which will make it very slow to compile when I am developing.
I know that it is possible to run tailor in the command line, but I really like that it shows the warnings inside Xcode.
So is it possible to make a new scheme where you can run the tailor command, and then have another scheme for development? Or is it possible to check directly in the run script, wether tailor should be executed, depending on if we are building or analyzing the target

Thank you for getting in touch @Anders123fr.  One way to get around this is to run Tailor whenever you choose the analyze the project natively (⇧⌘B).  This can be done by:

Adding a new configuration, say Analyze,  to the project

Modifying the active scheme's Analyze phase to use the new build configuration created above

Tweaking the build phase run script to run Tailor only when analyzing the project (⇧⌘B)

if [ "${CONFIGURATION}" = "Analyze" ]; then
    if hash tailor 2>/dev/null; then
        tailor
    else
        echo "warning: Please install Tailor from https://tailor.sh"
    fi
fi

Another solution to this problem would be to add Tailor as a Xcode extension.  Let me know if this helps :)

Hi @adityatrivedi,
Thank you very much for your explanation!
It was exactly what I was looking for.
Now it runs the tailor script only when i do an Analyze.
And yeah would be good to show this explanation somewhere in the README, or even better as an Xcode extension,  as I am probably not the only one who didn't figure this out.
It's a really great tool, I must say!

@Anders123fr thank you for using Tailor :)  I shall update the README for now and create a work item for the Xcode extension.


[Hero]Dire Knight

mele, str, high starting and gain of agi, high starting dmg, low starting str. [preferably use DK base model, attack animations preferably simmilar to pa arcana ones, weapon of choice one handed sword with no shield and two small one handed crossbows when ultimate is acktive]

all spell names are intencionaly like this, i acktually have alredy lore for him (that hero just sits in my mind for long long time, even if i write him as 38th he probably is the firt one that i "created") so most important things about it, he have connecktions to windranger and juggernout, new old ruins... blah blah blah... diffrent plain of existance... bla bla blah... existance of magic woke up deamon inside of him... arcana?... it butcherd some countryside from evrything exept for yunero and wind... blah blah blah... both get argue, one want to kill him other help him... bla blah bla... soul fused with demon soul... blah blah... that changed his appirence... bla bla bla... end up good guy... blah blah... but most importantly of all have demon eyes with smoke and firely sparkles coming out of them, a lot of smoke.

Q [Demon Will] gain temporary health, attack and movment speed for x seconds. When duration ends get stunned. Stun pierce magic immunity.

bonus hp disapire when stun ends.

W [Windfury] [Target only] Dash to the target, deal damage to erything around on the way, additionaly deal critical strike to target and slow him.
E [Counterslash] [Passive] x% to evade attack and disarm enemy, on higher lvls have chance to stun instead of disarming. have cooldown. It's one chance to prock both of effect's

"at the war, there is no place for honor" quote from hero that never existed, at least not yet , you reding his "blueprint" at the moment xD

R [Power Shot] After acktivation changes to range, when rightclick attack evryone in straigh lane before and behind target. Deals x% rightclick damage + x times agility + base abbility damage. Lasts x seconds, drains mana with evry attack, when not enough mana left abbility effeckt ends. work as Unique attack modificator and don't stack with others.

preferably ues smller version of visual effeckt of windranger Power Shot as Attack animation(the arrow thingy not casting one).

Aghanim Scepter upgrade: [Demon Will] When acktive evry succesfull attack incrise benefits you get from abbility [Power Shot] is no longer unique attack modificator and now other effeckts can be applied.
Tree
lvl 10 +hp / +dmg
lvl 15 reducktion of cc effeckts / mana cost reducktions
lvl 20 Windfury no longer require target / incrise Counterslash chances

can be casted anywhere on ground / both for evasion and stun
lvl 25 When Demon Will is acktive evry fallen unit incrise duration by x seconds / Power Shot is now toggle
.../ acktivateing don't cost mana anymore

(i can write Lore and flavored spell discription)

#393


Correct Modularisation of Application to adhere to StandardJS

Efforts to StandardJS-ize have revealed the following problems, several of which relate to global variables in use in Comma Chameleon

An additional number of global variable errors have been escaped by stipulating them within the package.json - see here for more
I think changes are required to two files but potentially additions may need to be made per file in each of the renderer and main folders, I'm not certain at this point what the best resolution. IE is there a neat solution or do all files that need access to the files currently defined as globals in main.js need to be included on a per file basis? Currently only datapackage.js and github.js declare access to all globals they utilise at the head of the file - should this practice be extended to all files within the main directory?
On the main process side main.js requires refactoring. On the renderer side it is hot.js that requires a change, in how it exposes the hot object.
Most of the electron documentation advises uses constants for the main.js file like so
const {app, BrowserWindow} = require('electron')
const path = require('path')
const url = require('url')

At present only renderer/file-actions.js is the only file to adhere to that convention
Guidance on how to proceed regarding exposing globals within the renderer process is harder to come by. Any pointers would be appreciated

Are those the remaining errors you've got left from running the standard js checks after the commits you've already made in #177 ?
It is kind of difficult to generalise about all of this as it seems like the warnings you've posted there are caused by a variety of different issues. For example:

If you look at 'worksheet' is assigned a value but never used in excel.js, that is just a simple unused variable - its assigned in the function scope and not used. You can resolve that by just deleting line 9 (and then 8 as this is only used by 9). The same is true for 'window' is assigned a value but never used in file.js. They're just cruft that can be deleted.

I think all the uses of mainWindow as a global have now been removed, so you should be able to just delete var mainWindow = null from main.js and nothing will actually change.

With menu in main.js, it seems you can just make that line var menu = Menu.buildFromTemplate(template); and bring it into the local scope without changing anything. I'm not really sure why jshint wasn't warning about this missing var statement :/ The call to menu.popup() in index.js seems to be using the value of menu defined in renderer/menu.js - not the value that is being defined in main.js. Note that if you change that line to Menu.getApplicationMenu().popup(remote.getCurrentWindow()); it does something completely different. In order to remove that menu instance from the global scope, I think you probably want to refactor renderer/menu.js into a module which exports menu and then require it in index.js but I've not checked that.

The issues with githubWindow and parentWindow will need some refactoring to properly sort out. Basically, authAndLoad() is polluting the global scope with those 2 variables and then all the other functions can modify them but I think those should be defined in the local scope of authAndLoad() and all your functions that referece githubWindow or parentWindow should accept the window as a parameter (in the same way that loadWindow() and uploadToGithub() do) and those vars should be passed around.. or maybe you could turn it into a module with githubWindow and parentWindow as private properties? Again I'm not sure why jshint wasn't throwing a wobbly over this one. Personally I would tend to tackle this in 2 parts:

Leave parentWindow and githubWindow in the global scope but make it explicit they are global by using the global. prefix and concentrate on conforming to the coding standards for now (i.e: the scope of PR #177 should just be to maintain the existing functionality but comply with the new coding standards)
Once that is merged, start a new issue/PR to refactor github.js, removing parentWindow and githubWindow from the global scope

In general, it is a good idea to remove vars from the global scope and one of the handy things that PR #177 is helping with is identifying the size of that problem and making it explicit but I think its better to avoid doing too much at once if major refactoring is needed.
I've not been through every single warning, but hopefully some of the rest of them will follow the same patterns I've identified there. See how far you get with those suggestions and give me a shout if there's anything else you are stuck on.


[BUG] Canonical Urls

Describe the bug
Alternative urls should be redirected to the canonical url.
So: /old-url
to: /new-url
Also, the technical urls should redirect to the SEO urls, if they are available.
Additional context

This is probably related to #271, that should solve your problem. WDYT @hlohaus ?

not realy

We've talked with @elkmod on Thursday about that and it's on the list in Priority 1. (https://github.com/DivanteLtd/shopware-pwa/projects/15#card-42738595)
We'll keep you posted!

we fixed that issue with:
https://github.com/elkmod/SwagShopwarePwa/pull/54
and
if (path && unwrappedPage && unwrappedPage.canonicalPathInfo) {
if (unwrappedPage.canonicalPathInfo !== path) {
redirect(301, app.i18n.path(unwrappedPage.canonicalPathInfo))
}
}
in
pages/lang/.vue


Improve bastion section

How to categorize this PR?

/area usability
/kind enhancement
What this PR does / why we need it:
This PR improves the usability of the bastion section introduced with https://github.com/gardener/gardener/pull/10233 by exposing more fields as optional.
The bastion controllers will handle the missing fields with a uniform approach.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:

NONE

/assign

@rfranzke We also need some validation for the bastion fields.
I would check if the passed bastionImage and bastionMachineType exists in the CloudProfile.
Furthermore I would check if they are compatible - meaning the architecture of the machineType and image match.
Since this is not provider-specific it belong into gardener/gardener, right?
I would work on the validation in a separate PR.

Since this is not provider-specific it belong into gardener/gardener, right?

Yes, sounds reasonable 👍🏻

@hebelsan Do you think the release note is understandable when somebody (other than you, @kon-angelo or @AndreasBurger) reads it? 😉 Please either refine it (so that even somebody can understand it who has not developed this feature or is familiar with this GEP), or remove it entirely :)

Removed the release note


Unable to import indices data from tradingview_ta

Hi Brian,
There is no tickers for Indices like 'NIFTY50', 'BANKNIFTY' and other indices like these for Indian market.

Please re-read README.md:

Before filing an issue, make sure that the symbol(s) you are requesting are NOT index/indices, such as BANKNIFTY and NIFTY50. This has been requested numerous times (#14, #29, #30, #38, #39); however, the limitation is solely related to TradingView rather than python-tradingview-ta.

I'm closing this issue as it's a duplicate.


Automated cherry pick of #2913: scheduler: fix disk local backend not select matched storage

Cherry pick of #2913 on release/2.11.
#2913: scheduler: fix disk local backend not select matched storage

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.11@77a7214). Click here to learn what that means.
The diff coverage is n/a.

@@              Coverage Diff               @@
##             release/2.11   #2915   +/-   ##
==============================================
  Coverage                ?   7.05%
==============================================
  Files                   ?     475
  Lines                   ?   76317
  Branches                ?       0
==============================================
  Hits                    ?    5386
  Misses                  ?   70479
  Partials                ?     452

Flag
Coverage Δ

#aFlag
7.05% <ø> (?)

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 77a7214...057a20c. Read the comment docs.


Make dates before a particular date unclickable

Is there a way to make dates before a particular date, such as all dates before yesterday unclickable? I know I can use an if condition to check if selected date is  before a particular date, but is there a way to change the colour of such dates so that the user explicitly knows they cannot be clicked?
Thanks!

Sorry. My bad. Should have used the library before commenting.


Show a loading indicator when the images are loading .

hey @parthpanchal123 can I grab this one?

@Xaconi Go ahead  💯

@Xaconi The loading animation looks very :cool: . Thank you very much for your contribution :+1: Appreciate it :100:

@Xaconi The loading animation is working fine, but now we cant click on the individual image and open up its info.

@Xaconi The loading animation is working fine, but now we cant click on the individual image and open up its info. Edit : It was a small bug , I fixed that 😄

Thanks for that!


Like feature

There is no number of views feature in the blogs
There should be a number of views feature to keep count of how many people visited your blog
Please  /assign this to me.I would like to work on it as a part of GSSOC'21.

would like to work on this under gssoc'21.

I would like to work on this issue under GSSoc '21


Added the ability to set the project root folder

Hello,
First of all I would just like to say awesome plugin and it's very well constructed and coded. :+1:
I started using your plugin this morning and couldn't find a way to set the location of the folder holding composer.json file or in other words set or change the root location of my Project.Sometimes my composer.json file is not located in the root of my workspace.
So I went ahead and tried my best to implement this feature. I added the option for the user to set the project root/folder containing the composer.json file. This setting should be defined in the workspace settings.
{     "composer.projectRoot": ".\\applications\\application_root\\" }
Let me know what you think? and if there's anything you feel should be changed please let me know.
Thanks, Vernon

Hi Vernon, and thank you for taking the time to improve this.
I'll have a look and let you know.

Ok thanks and no pressure.

@VernonGrant Thank you again for this MR. This has been implemented in the latest develop branch as composer.workingPath setting.


Exception when publishing pages created with older Wagtail release

Issue Summary
I have a few pages I created more than a year ago (on Wagtail 1.3 afaict), when I want to publish them today on 1.9 I get the following error:
Internal Server Error: /wtadmin/pages/12/edit/

AttributeError at /wtadmin/pages/12/edit/
'NoneType' object has no attribute 'from_json'

Traceback:

File "/srv/www/project/deploydir/virtualenv/local/lib/python2.7/site-packages/django/core/handlers/exception.py" in inner
  42.             response = get_response(request)

File "/srv/www/project/deploydir/virtualenv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _legacy_get_response
  249.             response = self._get_response(request)

File "/srv/www/project/deploydir/virtualenv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
  187.                 response = self.process_exception_by_middleware(e, request)

File "/srv/www/project/deploydir/virtualenv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
  185.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "/srv/www/project/deploydir/virtualenv/local/lib/python2.7/site-packages/django/views/decorators/cache.py" in _cache_controlled
  43.             response = viewfunc(request, *args, **kw)

File "/srv/www/project/deploydir/virtualenv/local/lib/python2.7/site-packages/wagtail/wagtailadmin/decorators.py" in decorated_view
  24.             return view_func(request, *args, **kwargs)

File "/srv/www/project/deploydir/virtualenv/local/lib/python2.7/site-packages/wagtail/wagtailadmin/views/pages.py" in edit
  341.                 revision.publish()

File "/srv/www/project/deploydir/virtualenv/local/lib/python2.7/site-packages/wagtail/wagtailcore/models.py" in publish
  1493.         page = self.as_page_object()

File "/srv/www/project/deploydir/virtualenv/local/lib/python2.7/site-packages/wagtail/wagtailcore/models.py" in as_page_object
  1449.         obj = self.page.specific_class.from_json(self.content_json)

Exception Type: AttributeError at /wtadmin/pages/12/edit/
Exception Value: 'NoneType' object has no attribute 'from_json'

Steps to Reproduce
I should be able to provide a fixture if anybody wants it.

Oh, this is nasty. I put the page up for review, and approved it from the Wagtail admin index, now the entire admin trows an exception when accessed:
Traceback:

File "/srv/www/project/deploydir/virtualenv/local/lib/python2.7/site-packages/django/core/handlers/exception.py" in inner
  42.             response = get_response(request)

File "/srv/www/project/deploydir/virtualenv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _legacy_get_response
  249.             response = self._get_response(request)

File "/srv/www/project/deploydir/virtualenv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
  187.                 response = self.process_exception_by_middleware(e, request)

File "/srv/www/project/deploydir/virtualenv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
  185.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "/srv/www/project/deploydir/virtualenv/local/lib/python2.7/site-packages/django/views/decorators/cache.py" in _cache_controlled
  43.             response = viewfunc(request, *args, **kw)

File "/srv/www/project/deploydir/virtualenv/local/lib/python2.7/site-packages/wagtail/wagtailadmin/decorators.py" in decorated_view
  24.             return view_func(request, *args, **kwargs)

File "/srv/www/project/deploydir/virtualenv/local/lib/python2.7/site-packages/wagtail/wagtailadmin/views/home.py" in home
  80.         RecentEditsPanel(request),

File "/srv/www/project/deploydir/virtualenv/local/lib/python2.7/site-packages/wagtail/wagtailadmin/views/home.py" in __init__
  63.         pages = {p.pk: p for p in specific_pages}

File "/srv/www/project/deploydir/virtualenv/local/lib/python2.7/site-packages/django/db/models/query.py" in __iter__
  256.         self._fetch_all()

File "/srv/www/project/deploydir/virtualenv/local/lib/python2.7/site-packages/django/db/models/query.py" in _fetch_all
  1087.             self._result_cache = list(self.iterator())

File "/srv/www/project/deploydir/virtualenv/local/lib/python2.7/site-packages/wagtail/wagtailcore/query.py" in specific_iterator
  380.         pages = model.objects.filter(pk__in=pks)

Exception Type: AttributeError at /wtadmin/
Exception Value: 'NoneType' object has no attribute 'objects'

Hi @nkuttler - sounds like this could be a similar problem to http://stackoverflow.com/questions/43514189/explorer-in-wagtail-does-not-show-any-pages/43589376#43589376. Could you try the steps there?

@gasman thanks, that helped indeed. Among others there was
 (52, u'comments', u'commentflag'),

I think that's a leftover from when the comments app was in Django core. Deleting it let me access the admin again.
The page is also public now, but when I open it in the admin to edit it, no content is displayed. Calling p.from_json(r.content_json) with the page and revision objects throws
----> 1 p.from_json(r.content_json)

/home/user/dev/django/project/virtualenv/local/lib/python2.7/site-packages/modelcluster/models.pyc in from_json(cls, json_data, check_fks, strict_fks)
    276     @classmethod
    277     def from_json(cls, json_data, check_fks=True, strict_fks=False):
--> 278         return cls.from_serializable_data(json.loads(json_data), check_fks=check_fks, strict_fks=strict_fks)
    279
    280     class Meta:

/home/user/dev/django/project/virtualenv/local/lib/python2.7/site-packages/modelcluster/models.pyc in from_serializable_data(cls, data, check_fks, strict_fks)
    243         returned for the entire object.
    244         """
--> 245         obj = model_from_serializable_data(cls, data, check_fks=check_fks, strict_fks=strict_fks)
    246         if obj is None:
    247             return None

/home/user/dev/django/project/virtualenv/local/lib/python2.7/site-packages/modelcluster/models.pyc in model_from_serializable_data(model, data, check_fks, strict_fks)
     99
    100                         else:
--> 101                             raise Exception("can't currently handle on_delete types other than CASCADE, SET_NULL and DO_NOTHING")
    102         else:
    103             value = field.to_python(field_value)

Exception: can't currently handle on_delete types other than CASCADE, SET_NULL and DO_NOTHING

model_from_serializable_data loops over the fields from the JSON data which contains u'content_type': 52,. Yeah, I migrated the database to postgres recently with dumpdata/loaddata, and the JSON doesn't reflect the new content type IDs. I guess I'll have to update the JSON.
Thank you, and feel free to close this ticket.

For others with the same problem, the content type of your pages can be changed from the normal Django admin interface. I also update the JSON data with the following migration.
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

import django.db.models.deletion
from django.conf import settings
from django.db import migrations, models

import json

class Migration(migrations.Migration):
    """
    Migrate incorrect content_type in Wagtail JSON data

    Get content types with
    [(ct.id, ct.app_label, ct.model) for ct in ContentType.objects.all() if ct.app_label != 'wagtailadmin']
    """
    def nop(apps, schema_editor):
        pass

    def fix_content_type(apps, schema_editor):
        PageRevision = apps.get_model("wagtailcore", "PageRevision")
        for r in PageRevision.objects.all():
            data = json.loads(r.content_json)
            if data['content_type'] == 52:  # content type in your revision content_json
                data['content_type'] = 39  # content type of your Page-derived model
                r.content_json = json.dumps(data)
                r.save()

    dependencies = [
        ('yourapp', 'previousmigration'),
    ]

    operations = [
        migrations.RunPython(fix_content_type, nop),
    ]


configure log format via Values.logFormat

There is one specific issue in this repo, the logging of queryResponse in prometheus.go fails with this:
{"type"=>"illegal_argument_exception", "reason"=>"mapper [queryResponse.data.result.value] of different type, current_type [keyword], merged_type [float]"}

The reason is that the object we're logging looks like this:
{
...
    "queryResponse": {
        "status": "success",
        "data": {
            "resultType": "vector",
            "result": [
                {
                    "metric": {},
                    "value": [
                        1.574676433358E9,
                        "4.441396992059585"
                    ]
                }
            ]
        }
    }
}

So the value array is heterogeneous, it contains a float and a string, and apparently ES can't index it.
The only solution I can think if is to change the logging there from
log.Debug().Interface("queryResponse", queryResponse)

to
log.Debug().Str("queryResponse", string(responseBody))

So that it'll be a simple string. Although this is not ideal, because this way we'll be logging the source data, and not the parsed object (so we can't verify in the logs if the Unmarshal was correct), but I can't see another easy fix.
cc @JorritSalverda @lruslan

Hm it kind of makes us have to stop using one of the strong points of the zerolog library, to log a full object. It's a pity we can't push all logged 'properties' down a level into a payload object. I'll turn it into your suggestion for now, in a separate PR for the same milestone.

I don't know if maybe we can change sth on the ES side to make it work.
@lruslan do you happen to know if the ES index can be changed so that it can process arrays which contain items of different types?


add option to lib/Stats.js to disable stack trace on errors and warnings

What kind of change does this PR introduce?
Adds an extra option to the Stats library to disable the "stack trace" produced in formatError
Did you add tests for your changes?
No
If relevant, link to documentation update:
Unsure where and how to update this, please point me in the right direction, thank you :-)
Summary
After upgrading to webpack 2 I found the output to be a bit more verbose, as errors/warnings already can and often shows filename I don't find the stack trace to add anything other than clutter to the output. I searched around briefly for a solution to disable this but only found an unanswered stack overflow question (http://stackoverflow.com/questions/43403615/suppress-webpack-2-eslint-extra-output-stack-trace), so at least I'm not alone.
Does this PR introduce a breaking change?
No

Thanks

I LOVE YOU

If anyone's interested, here's what we do in CRA to clean up Webpack output:
https://github.com/facebookincubator/create-react-app/blob/master/packages/react-dev-utils/formatWebpackMessages.js
Would love to have access to more structured errors so we can remove these hacks.


Feature: support Okta Authentication Policies

This pull request introduces support for Okta Authentication Policies by adding the following features:

okta_app_signon_policy
okta_app_signon_policy_rule

Additionally, I have tidied the module dependencies using go mod tidy and updated the documentation in docs/okta.md.

Exported examples:
resource "okta_app_signon_policy" "tfer--app_signon_policyaaa-test" {
  description = "abcdef"
  name        = "AAA_test"
}

resource "okta_app_signon_policy_rule" "tfer--app_policyrule_signon_aaa-catch-all-rule" {
  access                      = "ALLOW"
  constraints                 = ["{\"possession\":{\"deviceBound\":\"REQUIRED\"}}"]
  factor_mode                 = "2FA"
  name                        = "Catch-all Rule"
  policy_id                   = "aaaaaaaaaaaaa"
  priority                    = "99"
  re_authentication_frequency = "PT12H"
  status                      = "ACTIVE"
  type                        = "ASSURANCE"
}

@sergeylanzman, could you please review this pull request?


FindByUsername and FindByKey should not return records that are marked as deleted.

UserService FindByUsername and FindByKey should not return records that are marked as deleted.

@cristinamanum , this might be intentional behavior of the code.
Feel free to refactor if you like. Closing the issue since this is not a bug/feature suggestion.

Reopen and add customer impact.
If a deleted user is added added as an owner to a package the below is the error. The actual behavior should be that the owner does not exists.


4/21 service change

schedules.js shows service change
fixed timepoints for Grand River, Eight Mile
fixed Rosa Parks TC bug on RouteMap timepoints

looks good!


populateUser can pull defaults from config, if available.

Use app.get to see if there's a default value provided in the config, already.  This will work for userEndpointandpasswordField`.

This already happens. It's just not released yet. See https://github.com/feathersjs/feathers-authentication/blob/master/src/hooks/populate-user.js#L15

:+1:


Call CreateSandbox

Remove the need for creating an apb user and namespace externally.

Fixes Issue #17

Awesome! Can't believe how easy this was after Shawn's PR got put in. Worked great for me.

Only thing this is missing is to read the current-context so that user doesn't need to pass in -p. I can solve that in a different PR.

Awesome! Can't believe how easy this was after Shawn's PR got put in. Worked great for me.

Well since we can't create the target namespace using it, that simplified things. :)

pass in namespace that doesn't exist
[jesusr@speed3 sbcli{remove-script}]$ ./sbcli bundle provision -p bastard  postgresql-apb
List of available plans:
name: dev
name: prod
Enter name of plan you'd like to deploy: dev
Plan: dev
Enter value for parameter [postgresql_database], default: [admin]:
Enter value for parameter [postgresql_user], default: [admin]:
Enter value for parameter [postgresql_password], default: [<nil>]: password
Enter value for parameter [postgresql_version], default: [9.6]:
WARN Failed to create a InternalClientSet: unable to load in-cluster configuration, KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT must be defined.
INFO OpenShift version: v3.10.0-alpha.0+b0ba202-1424
WARN Failed to create a InternalClientSet: unable to load in-cluster configuration, KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT must be defined.
INFO unable to retrieve the network plugin, defaulting to not joining networks - clusternetworks.network.openshift.io "default" is forbidden: User "dude" cannot get clusternetworks.network.openshift.io at the cluster scope: User "dude" cannot get clusternetworks.network.openshift.io at the cluster scope

Problem creating sandbox [bundle-72dbd700-7bbf-47f7-88c2-4721d2a993ad] to run bundle.

You can add applications to this project with the 'new-app' command. For example, try:

    oc new-app centos/ruby-22-centos7~https://github.com/openshift/ruby-ex.git

to build a new example application in Ruby.

Now rerun provision
$ ./sbcli bundle provision -p bastard  postgresql-apb
List of available plans:
name: dev
name: prod
Enter name of plan you'd like to deploy: dev
Plan: dev
Enter value for parameter [postgresql_database], default: [admin]:
Enter value for parameter [postgresql_user], default: [admin]:
Enter value for parameter [postgresql_password], default: [<nil>]: password
Enter value for parameter [postgresql_version], default: [9.6]:
WARN Failed to create a InternalClientSet: unable to load in-cluster configuration, KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT must be defined.
INFO OpenShift version: v3.10.0-alpha.0+b0ba202-1424
WARN Failed to create a InternalClientSet: unable to load in-cluster configuration, KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT must be defined.
INFO unable to retrieve the network plugin, defaulting to not joining networks - clusternetworks.network.openshift.io "default" is forbidden: User "dude" cannot get clusternetworks.network.openshift.io at the cluster scope: User "dude" cannot get clusternetworks.network.openshift.io at the cluster scope
INFO Creating RoleBinding bundle-d6188309-d1ba-4fb1-b73f-c7a960471592
INFO Successfully created apb sandbox: [ bundle-d6188309-d1ba-4fb1-b73f-c7a960471592 ], with edit permissions in namespace bastard
INFO Running post create sandbox functions if defined.
Successfully created pod [bundle-d6188309-d1ba-4fb1-b73f-c7a960471592] to provision [postgresql-apb] in namespace [bastard]


Implement basic architecture

The top level design should be:

[x] #13
[x] #5
[ ] #17
[x] #20
[x] LATER Secure storage for some amount of responses (e.g., the last month of responses?)

A workflow might consist of:

Share a URL publicly or with a worker
Get responses from people who look at that URL
Download the responses when ready

The advantages of this design is that:

surveys can be stored at any URL as CSV or similar, e.g., CSVs on GitHub, or Google drive etc.
the platform doesn't need to know about turk or other platforms, it just needs to respond with a URL and record the results
the URLs are tamper proof (because the survey URL is encrypted, and there's a potential individual verification, all of which are based on a common secret per requesting user)

@yli12313 @JamesPHoughton @KaranSampath  — thinking about developing this a bit more to gather individual participant data for https://github.com/Watts-Lab/individual-mapping/issues/8. If you have a chance would you take a look at this plan and comment any thoughts on possible improvements or issues that stand out to you?

Marking this as complete because I think we are pretty solid architecturally, even though we adjusted away from some aspects of this design.


Add name and description to Elasticsearch views

Still to review:

Both name and description are Strings
schema.org is not used in the elasticseach json-ld context. (There are also name/description fields inside the pipeline)

Notes:

I ended up keeping separate deriveDefaultJsonLdDecoder (renamed) and deriveConfigJsonLdDecoder.
The RemoteContextResolver field has been made public in ResolverContextResolution.


Better naming (error "Check the render method of Container(ChildComponent)")

Scenario
I am having a hard time debugging my containers and the way react-komposer is naming them is not helping me.
Warning:
  React.createElement: type should not be null, undefined, boolean, or number.
    It should be a string (for DOM elements) or a ReactClass (for composite components).
    Check the render method of `Container(ChildComponent)`.

Proposal
Add a name or displayName  attribute to the composer.
const onPropsChange = (props, onData) => {
  ...
};

onPropsChange.name = 'Clock';

I realised that compose returns a React.Component, which can just be modified and extended.

Yeah! I will close this.


Create autobuild package

Would make it less annoying to use the lscript fuzzer. Can crib from the manifests in https://bitbucket.org/lindenlab/3p-curl/src/master/, and possibly use GH actions to upload artifacts on tag creation.

cdd49b739e7fe08f002c182c6803ad0ba94ca24d


Add plugin reference information to 'index.md'

Signed-off-by: Yanqiang Miao<EMAIL_ADDRESS>
- What I did
- How I did it
- How to verify it
- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

I think this is covered in PR https://github.com/docker/docker/pull/29776

ok!   I will close this PR.


Solution for multi-level lists?

Is there a solution for multi-level lists (3 levels nested for example) ?
What I mean is if we can have a list of DragAndDropLists which have DragAndDropListExpansion and their children have others DragAndDropListExpansions.

Do we have any solution for that?

As I understand, it is impossible to do it in the current implementation of the library. Maybe I have not understood it well, but I came to the conclusion that it is easier to write my own implementation. Everything deeper than the second level is blocked by DragAndDropLists, if you use the tools of the library itself. The only implementation that worked for me was to add objects with DragTarget to DragAndDropList. All objects in DragAndDropList I have dates with some functionality, and under them I placed DragTarget, so I got a functional 3rd level. I think my solution is pretty bad and I'm very interested to read other implementations. So if you managed to make a 3+ level I would love to read it.

Do we have any solution?

As I understand, it is impossible to do it in the current implementation of the library. Maybe I have not understood it well, but I came to the conclusion that it is easier to write my own implementation. Everything deeper than the second level is blocked by DragAndDropLists, if you use the tools of the library itself. The only implementation that worked for me was to add objects with DragTarget to DragAndDropList. All objects in DragAndDropList I have dates with some functionality, and under them I placed DragTarget, so I got a functional 3rd level. I think my solution is pretty bad and I'm very interested to read other implementations. So if you managed to make a 3+ level I would love to read it.

Could you share your implementation code somewhere? I would love to try out a third level implementation. Because I have section with items (level 2 and 3) within days (level 1) and I  would like to move sections or items between days as well


Remove two useless lines causing segmentation fault

This PR fixes #568

@mtnbarreto 👀

So...?

Why arent these closed? The number of pull requests makes me hesitant to use the library

OK, bye


[AI Agent] Create Color Palette Generator.md

Color Palette Generator
📝 Description
Enter a Hexadecimal color code (such as #000000) and be returned with the color in other formats (RGB, CMYK, etc.) along with six color pallets. 🎨🖌 I made this app for myself after struggling to always find the RGB version of a color or looking for nice matching colors. I also often need a A11y friendly colorblind accessible pallet and so was born this app. This app takes a Hexadecimal color code and gives the versions of the color in other formats. It also will suggest other colors for a color scheme to try using the color of your choice.
💣 Is this a breaking change (Yes/No):

[ ] Yes
[x] No

🚧 How to migrate?
Don't need.
📝 Additional Information
Super useful for design, front end web development, and more!
Fixes #3073
🙏🏽 Tested and works as expected.
#⃣ For Hacktoberfest and Globalhackweek

Congratulations @omicreativedev, you just earned a badge! Here it is: https://holopin.io/claim/clo2an97a16930fl5p7izyu5t
This badge can only be claimed by you, so make sure that your GitHub account is linked to your Holopin account. You can manage those preferences here: https://holopin.io/account. Or if you're new to Holopin, you can simply sign up with GitHub, which will do the trick!

Thank you. Although my accounts are connected, the claim doesn't work. :(

Congratulations @omicreativedev, you just earned a badge! Here it is: https://holopin.io/claim/clo2an97a16930fl5p7izyu5t
This badge can only be claimed by you, so make sure that your GitHub account is linked to your Holopin account. You can manage those preferences here: https://holopin.io/account. Or if you're new to Holopin, you can simply sign up with GitHub, which will do the trick!

Thank you


Remove exception class name from Error messages

Kibana will show both type and message in the future: https://github.com/elastic/kibana/issues/22329#issuecomment-419092154

I don't know why Zube re-opened this issue. Closing.


Add conversion to timeseries

Add support for converting the dataframe to a time series explicitly.

Merged locally.


METRON-1999: Adding validation against special characters to parser name field

Contributor Comments
This PR adding input validation against special characters to parser name input field on the config UI.
The reason behind this improvement is we using parser names as Ids in our REST API.
Any none URL friendly special character considered invalid including space. Using dash and low dash are allowed.

Testing
Clone this branch locally, spin up the Config UI manually by navigating to the config UI directory (metron-interface/metron-config) and running scripts/start-dev.sh, then navigate to localhost:4200.

sign in to the config/management UI
click to create new parser config
typing parser names with none URL friendly characters
-- should show validation error message below the name input
-- should make save button disabled

Pull Request Checklist
Thank you for submitting a contribution to Apache Metron.
Please refer to our Development Guidelines for the complete guide to follow for contributions.
Please refer also to our Build Verification Guidelines for complete smoke testing guides.
In order to streamline the review of the contribution we ask you follow these guidelines and ask you to double check the following:
For all changes:

[x] Is there a JIRA ticket associated with this PR? If not one needs to be created at Metron Jira.
[x] Does your PR title start with METRON-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.
[x] Has your PR been rebased against the latest commit within the target branch (typically master)?

For code changes:

[x] Have you included steps to reproduce the behavior or problem that is being changed or addressed?

[x] Have you included steps or a guide to how the change may be verified and tested manually?

[x] Have you ensured that the full suite of tests and checks have been executed in the root metron folder via:
mvn -q clean integration-test install && dev-utilities/build-utils/verify_licenses.sh

[x] Have you written or updated unit tests and or integration tests to verify your changes?

[x] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

[x] Have you verified the basic functionality of the build by building and running locally with Vagrant full-dev environment or the equivalent?

For documentation related changes:

[x] Have you ensured that format looks appropriate for the output in which it is rendered by building and verifying the site-book? If not then run the following commands and the verify changes via site-book/target/site/index.html:
cd site-book
mvn site

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.
It is also recommended that travis-ci is set up for your personal repository such that your branches are built there before submitting a pull request.

+1. Tested on full-dev and works as described.


HelloGitHub Badge

We're thrilled to share that your project has caught the attention of the HelloGitHub community and has been recognized for its merit. Your work is truly inspiring, and we'd like to invite you to participate in our HelloGitHub Badge Program.

By joining, you'll enjoy a few benefits that we believe will complement your project's journey:

Community Acknowledgement: The badge serves as a mark of distinction, indicating that your project has met the community's criteria for recommendation.
Visibility Boost: Wearing the badge can help increase the visibility of your project, potentially drawing the attention of new users and contributors.
Easier Engagement: The badge acts as a quick reference for users to understand your project, facilitating interaction through likes, comments, and bookmarks.
Feedback Opportunities: It opens the door for valuable feedback from a diverse user base, which can be instrumental in your project's growth and refinement.
Notable Recognition: Verified participants will receive a special identifier, highlighting their contributions within the community.

We invite you to consider joining the HelloGitHub Badge Program as a way to further engage with the community and enhance your project's presence. It's completely up to you, and we respect your decision either way.
Thank you for being part of this journey with us.
Warm regards,
The HelloGitHub Team

HelloGitHub since launch in 2016 as a monthly newsletter, we've evolved into a thriving community that celebrates and enhances the reach of open-source projects. Today, our community is home to over 20,000 enthusiastic members, and our open-source project have garnered a stellar 90,000 GitHub stars.

Thank you for this @521xueweihan I will join your community on behalf of K8sGPT

@AlexsJones Thank you for your support and claim. I have passed the claim review. If you encounter any problems, please contact me.


Use evaluateSslExceptionHandler() when constructing OpenSearchSecureSettingsFactory

Description
While working on https://github.com/opensearch-project/security/pull/4119, a minor regression related to configuring the right sslExceptionHandler  sneaked in, fixing it now.
Issues Resolved
Part of https://github.com/opensearch-project/security/issues/4718
Is this a backport? If so, please add backport PR # and/or commits #, and remove backport-failed label from the original PR.
Do these changes introduce new permission(s) to be displayed in the static dropdown on the front-end? If so, please open a draft PR in the security dashboards plugin and link the draft PR here
Testing
[Please provide details of testing done: unit testing, integration testing and manual testing]
Check List

[ ] New functionality includes testing
[ ] New functionality has been documented
[ ] New Roles/Permissions have a corresponding security dashboards plugin PR
[ ] API changes companion pull request created
[X] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Hi there,
Was this fix well integrated into the v2.18.0?
I see that https://github.com/opensearch-project/security/issues/4718 is still opened, so I want to confirm that the regression was fixed from 2.18.0.
Thanks in advance for you reply

I see that #4718 is still opened, so I want to confirm that the regression was fixed from 2.18.0.

@ahmedjami waiting for confirmation from #4718 reporter the message is gone, this is why it is still open

Thanks @reta for your reply.
Just to be sure regarding this PR, v2.18.0 was released including this fix?

One more question @reta please
Will this fix be backported to the previous version, especially 2.15 ?

Will this fix be backported to the previous version, especially 2.15 ?

@ahmedjami  No plans so far, we are not planning to have any patch releases for 2.15 line


[Bug] (Latest version)

Unity Editor Crash of death forcing me to reimport all the libraries
To Reproduce
Steps to reproduce the behavior:

Install the Adobe Substances 3D from the Unity Asset Store
Install the latest Version of this github release
It will automatically crash itself
See error

Expected behavior
Unity Crash while compiling the Editor dll of this plugin
Desktop :

OS: [e.g. Windows 10]
Unity Engine Version [e.g. 6 LTS]
Substance 3D for Unity plugin version [e.g. 3.4.0]

I think Adobe has said that Unity 6 isn't supported yet, so this is likely an issue with the Substance DLL files. That said, I'm planning on testing the extensions package over the next week or so to bring it up to pairing with the latest plugin version.

I ran some tests over the past few days and I believe this is indeed an issue with the core Adobe plugin, not the extensions package.
Likely the crash occurs after installing because the extensions package has some .sbsar assets for the example scenes, while the core Adobe plugin has no substance assets. Since the core plugin will crash when it attempts to render substances, the crash occurs after the extensions package has been installed. Testing on pre-6 versions of Unity has things working as expected for me.
Going to close this issue since I'm pretty confident that this is a problem with the core Adobe plugin.


kernel reports TIME_ERROR in NTP logs

RancherOS Version: (ros os version)
v1.5.1
Where are you running RancherOS? (docker-machine, AWS, GCE, baremetal, etc.)
ALL
[rancher@ip-172-16-16-140 ~]$ sudo system-docker logs ntp
2019/02/15 15:13:15 Writing file to "/etc/ntp.conf"
2019/02/15 15:13:15 Wrote file to "/etc/ntp.conf"
time="2019-02-15T15:13:15Z" level=info msg="Wrote file /etc/ntp.conf to filesystem"
+ echo 'starting in one shot mode to fix large time differences'
starting in one shot mode to fix large time differences
+ ntpd -gq
15 Feb 15:13:15 ntpd[12]: ntpd<EMAIL_ADDRESS>Thu Oct 25 18:43:20 UTC 2018 (1): Starting
15 Feb 15:13:15 ntpd[12]: Command line: ntpd -gq
15 Feb 15:13:15 ntpd[12]: proto: precision = 0.142 usec (-23)
15 Feb 15:13:15 ntpd[12]: Listen and drop on 0 v6wildcard [::]:123
15 Feb 15:13:15 ntpd[12]: Listen and drop on 1 v4wildcard <IP_ADDRESS>:123
15 Feb 15:13:15 ntpd[12]: Listen normally on 2 lo <IP_ADDRESS>:123
15 Feb 15:13:15 ntpd[12]: Listen normally on 3 eth0 <IP_ADDRESS>:123
15 Feb 15:13:15 ntpd[12]: Listen normally on 4 lo [::1]:123
15 Feb 15:13:15 ntpd[12]: Listen normally on 5 eth0 [fe80::41d:ebff:fea7:99c2%2]:123
15 Feb 15:13:15 ntpd[12]: Listening on routing socket on fd #22 for interface updates
15 Feb 15:13:22 ntpd[12]: ntpd: time set -0.149650 s
ntpd: time set -0.149650s
starting long running nptd
+ echo 'starting long running nptd'
+ exec ntpd --nofork -g
15 Feb 15:13:22 ntpd[1]: ntpd<EMAIL_ADDRESS>Thu Oct 25 18:43:20 UTC 2018 (1): Starting
15 Feb 15:13:22 ntpd[1]: Command line: ntpd --nofork -g
15 Feb 15:13:22 ntpd[1]: proto: precision = 0.109 usec (-23)
15 Feb 15:13:22 ntpd[1]: Listen and drop on 0 v6wildcard [::]:123
15 Feb 15:13:22 ntpd[1]: Listen and drop on 1 v4wildcard <IP_ADDRESS>:123
15 Feb 15:13:22 ntpd[1]: Listen normally on 2 lo <IP_ADDRESS>:123
15 Feb 15:13:22 ntpd[1]: Listen normally on 3 eth0 <IP_ADDRESS>:123
15 Feb 15:13:22 ntpd[1]: Listen normally on 4 lo [::1]:123
15 Feb 15:13:22 ntpd[1]: Listen normally on 5 eth0 [fe80::41d:ebff:fea7:99c2%2]:123
15 Feb 15:13:22 ntpd[1]: Listening on routing socket on fd #22 for interface updates
15 Feb 15:13:22 ntpd[1]: kernel reports TIME_ERROR: 0x41: Clock Unsynchronized
15 Feb 15:13:22 ntpd[1]: kernel reports TIME_ERROR: 0x41: Clock Unsynchronized

I test in rancheros v1.4.3,find the same error , ping 0.pool.org.cn is disconected,  then I  modify ntp.conf  server  to china pools, commit,  the time zone is ok.

I find the same in ROS v1.5.1
However when I switch to ubuntu console using
ros console switch
and install ntp utils
apt update && apt install ntp
I can see it is synchronised
ntpq -pn
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
*<IP_ADDRESS>   .gPPS.           1 u  303 1024  377   12.592    0.009  73.601
+<IP_ADDRESS>  <IP_ADDRESS>    4 u  667 1024  377   53.329   -0.036   1.863
+<IP_ADDRESS>  <IP_ADDRESS>    2 u  641 1024  377   43.350    0.964   2.701
-<IP_ADDRESS>  <IP_ADDRESS>      2 u  625 1024  377   45.890   -9.369   4.229

The message seems to be a false positive

Seeing the same issue. I've been on 1.5.1, just upgraded to 1.5.6 and am still seeing the error. I tailed /var/log/syslog and am seeing the correct time being logged on boot, but at some point ntpd kicks in and switches the clock over to another zone and I'm seeing
Jan 20 18:23:39 rancheros ntpd[1]: kernel reports TIME_ERROR: 0x41: Clock Unsynchronized
Jan 20 18:23:39 rancheros ntpd[1]: kernel reports TIME_ERROR: 0x41: Clock Unsynchronized

Seeing the same issue. I've been on 1.5.1, just upgraded to 1.5.6 and am still seeing the error. I tailed /var/log/syslog and am seeing the correct time being logged on boot, but at some point ntpd kicks in and switches the clock over to another zone and I'm seeing
Jan 20 18:23:39 rancheros ntpd[1]: kernel reports TIME_ERROR: 0x41: Clock Unsynchronized
Jan 20 18:23:39 rancheros ntpd[1]: kernel reports TIME_ERROR: 0x41: Clock Unsynchronized


Treatment for UncheckedXPathException exceptions

I'm converting a DITA topic to Word using the "com.elovirta.ooxml" plugin.
The transformation fails with:
D:\projects\eXml\frameworks\dita\DITA-OT3.x\plugins\org.dita.base\build.xml:29: The following error occurred while executing this line:
D:\projects\eXml\frameworks\dita\DITA-OT3.x\plugins\com.elovirta.ooxml\build.xml:72: net.sf.saxon.trans.UncheckedXPathException: Supplied element name is a zero-length string
at net.sf.saxon.lib.DelegatingErrorListener.fatalError(DelegatingErrorListener.java:51)
at net.sf.saxon.Controller.reportFatalError(Controller.java:466)
at net.sf.saxon.trans.XsltController.applyTemplates(XsltController.java:775)
at net.sf.saxon.s9api.AbstractXsltTransformer.applyTemplatesToSource(AbstractXsltTransformer.java:347)
at net.sf.saxon.s9api.XsltTransformer.transform(XsltTransformer.java:349)
at net.sf.saxon.jaxp.TransformerImpl.transform(TransformerImpl.java:71)
at org.dita.dost.module.TopicMergeModule.execute(TopicMergeModule.java:99)
at org.dita.dost.ant.ExtensibleAntInvoker.execute(ExtensibleAntInvoker.java:182)

We need to somehow individually catch such "UncheckedXPathException " exceptions and display instead their inner "net.sf.saxon.trans.UncheckedXPathException.getXPathException()" which probably has line and column information missing in the wrapper runtime exception.

Added also an issue on the Saxonica list related to unchecked exceptions:
https://saxonica.plan.io/issues/4364

The HTML5 output works but it has its quirks, the output folder contains both an "index.html" which is the actual topic with all keyrefs and conkeyrefs expanded (but which has a broken reference to the image file). There is also an HTML equivalent of the original topic in a "topics" subfolder and in this case the image reference is properly resolved.

Also I've been having problems obtaining plain PDF output from a simple DITA Map, something like:
      dita -i D:\projects\eXml\samples\dita\flowers\flowers.ditamap -f pdf -o "d:\outputTest3" -t "d:\abcTMP3"  -d -v

no longer works on a DITA Map which has a plain topic referenced in it, I get a "topic.fo" which is invalid, contains nothing in the "xsl-region-body" flow:
      [fop] [ERROR] net.sf.saxon.trans.XPathException: org.apache.fop.fo.ValidationException: "fo:flow" is missing child elements. Required content model: marker* (%block;)+ (See position 1:10681)
  [fop] [ERROR] Anttask - Error rendering fo file: d:\abcTMP3\topic.fo <org.apache.fop.apps.FOPException: org.apache.fop.fo.ValidationException: "fo:flow" is missing child elements. Required content model: marker* (%block;)+ (See position 1:10681)

I consider this fixed in: https://github.com/dita-ot/dita-ot/commit/27ae24fa735ecbfa001dea027d21d6981d43d829


Release AD777x

Release AD7134 project with the STM32H563 support

Should we update the copyright years in these files as well?

Changelog:
Updated copyright years
Updated extsettings to include the dma files

Hi All- do these changes look good for a merge?


Fluid Registry

(WIP)

I've already written this page in the not yet merged #14 PR

I've already written this page in the not yet merged #14 PR
ah mb


Win condition

Hey there, I ran into an issue with the end level where I had
grid-template: 1fr 50px / 20% 80%
Now obviously it's more in the spirit of grids and the new fr unit to do
grid-template: 1fr 50px / 20% 1fr
But they both solve the problem correctly. I noticed someone else was having trouble who replied to your Twitter post. You may either want to hint at using fr's or accept equivalent conditions.

Related to #15, fix on the way.

Fixed with 58a5904.


[AzureStack] Handle SSL verification for certs not in Python root CA list

We were hitting SSL errors as the ARM endpoint certificate is not trusted, needed to do the following
export ADAL_PYTHON_SSL_NO_VERIFY=1
export AZURE_CLI_DISABLE_CONNECTION_VERIFICATION=1

But this disables SSL cert verification.

See http://docs.python-requests.org/en/master/user/advanced/?highlight=certificate#ssl-cert-verification.
See https://pypi.python.org/pypi/certifi.

cc: @bganapa


Refactor project structure, create separate file for each country

I performed the refactoring I suggested in Issue #260. I split up holidays.py and created a new package countries with a separate code file for each country. All symbols that were exported before are still exported (__init__.py).
Feel free to review and give me some feedback :)
Closes #260

Pull Request Test Coverage Report for Build 670

3493 of 3519 (99.26%)  changed or added relevant lines in 57 files are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.05%) to 99.621%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

holidays/countries/singapore.py
120
146
82.19%

Files with Coverage Reduction
New Missed Lines
%

tests.py
3
99.93%

Totals

Change from base Build 667:
-0.05%

Covered Lines:
38125

Relevant Lines:
38270

💛  - Coveralls

Hi,
thank you, great job! 👍
I will be completing it with some final refactoring / packaging in a week or so, then we'll move everything to beta.
I'll keep you posted, thank you very much again!
Cheers
dr-p


README example utilizes v3 AWS SDK

It looks like your example code does not match up with your package dependency of the AWS SDK. In the example you are referencing the AWS SDK v3 usage @aws-sdk and not the v2 usage aws-sdk that your package.json is declaring.
Here is a fitting v2 example:
import AWS from "aws-sdk";

const client = new AWS.DynamoDB.DocumentClient({
  region: "localhost",
  endpoint: "http://<IP_ADDRESS>:8000",
  accessKeyId: "MockAccessKeyId",
  secretAccessKey: "MockSecretAccessKey",
});

I actually would prefer to use v3 of the aws sdk with this package. I'm guessing when built you were utilizing this in a library that already included the v3 sdk?
And as a side note - if anyone is using Node 18+, you have to utilize a localized IP like <IP_ADDRESS> or <IP_ADDRESS> in both the dynamodb endpoint initialization config and the serverless yml custom.dynamodb.start.host config.

Hey @nsearle, thanks for the feedback :raised_hands:
I think I've identified three different parts to your issue - let me know if you see this differently. I've split these into separate threads so it's easier to continue to track and manage them longer term:

(this issue) AWS SDK usage in the docs / your application
#4: AWS SDK usage in serverless-dynamodb
#5: Node 18 host configuration

To clarify the documentation, this library is compatible with any DynamoDB connector that supports DynamoDB Local, including the older aws-sdk and the newer @aws-sdk/client-dynamodb.
As such, I think the docs are currently correct. However, it still might be valuable to add your example as a guide to people using the older aws-sdk: I'm happy to add it myself or accept a PR on this. We could put these examples in different 'details' sections, similar to the way we've formatted them in the README for aws-ses-v2-local.

@domdomegg - I agree. After I posted, I actually realized that the underlying library dependency should not have an impact on the sdk version used at the higher level.
It might be good to point out in the docs the implementation example on v2 and v3 like you suggested. If the PR has not been created by Monday, I will go ahead and take a stab at it!
Also I'm excited to see that an issue was created to migrate this library to v3!


Fix unclosed code block

@mikalst : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#label:"aq-pr-triaged"


InSecure Transport error

Hi, i start my discord app on flask ngrok server and try ro run it
but I got such an error ... What should I do, tell me please?

Try adding os.environ['OAUTHLIB_INSECURE_TRANSPORT'] = '1' before you do app.run().

Duplicate of #3


Date type in SheetJs

PR #2  aims to detect the date type.
A brute force solution has been implemented.
You should look to this:
https://github.com/SheetJS/js-xlsx/issues?utf8=✓&q=is%3Aissue+date

The solution is the following (if the Web Workers is disable ):
                        if (use_worker) xw(data, process_wb);
                        else {
                            console.log("process_wb,......", process_wb);
                            process_wb(
                                X.read(data, {
                                    type: rABS ? "binary" : "array",
                                    sheetStubs: true,
                                    cellDates: true
                                })
                            );
                        }


Not compiling (no output)

I am using example from https://github.com/dlmanning/gulp-sass#basic-usage and there is no output at my destination. Am I missing something ?

Looks like this is caused due to package dependency configuration. node-sass has some breaking changes.

Following code gives me no error but no output
var gulp            = require('gulp');
var scss            = require('gulp-sass');

gulp.src('scss/_bootstrap.scss')
   .pipe(debug())
   .pipe(scss().on('error', console.log))
   .pipe(gulp.dest(dest+'css/'));

That:s normal, you don't use a partial as a source in sass.
Rename it to bootstrap.scss or have a main.scss that imports _bootstrap


t is not a function

Description
I see t is not a function error when I try to use the Link component exported by @/i18n/routing. My understanding is that the Link component is implemented independently in both server and client component environments and should work in both places. However, I am running into this issue in the server environment and the client environment works fine.

Verifications

[X] I've verified that the problem I'm experiencing isn't covered in the docs.
[X] I've searched for similar, existing issues on GitHub and Stack Overflow.
[X] I've compared my app to a working example to look for differences.

Mandatory reproduction URL
https://github.com/imbhargav5/next-intl-bug-repro
Reproduction description
Steps to reproduce:

Open reproduction
Start dev server on 3000
Home page will error on the server

Expected behaviour
There should be no t is not a function error in the server side and the Link function should use the current locale from cache and navigate correctly.

Your example is broken because you've specified the wrong path in next.config.mjs. Please make sure to link to your request configuration, not your routing configuration. If you remove the override in the reproduction, then your i18n/request.ts file is picked up correctly.
I've added https://github.com/amannn/next-intl/pull/1327 to introduce error handling for this case, thanks for the report!

Amazing. Your speed is next level. Thanks for this amazing project good sir!

Awesome, happy to help! 😊


Symbol requires babel-polyfill

When running tests that use unexpected-react on karma + saucelabs we get the following error:
IE 11.0.0 (Windows 8.1 0.0.0) ERROR
  'Symbol' is undefined
  at /home/ubuntu/frontend/app/tests.webpack.js:40560 <- webpack:///~/unexpected-react/lib/deepAssertions.js:30:0

I've fixed it by adding babel-polyfill to our karma entry-point, but shouldn't this library include the polyfill in its babel config?

Yes.
Actually, better would be to remove the need for a symbol here. It's probably "the right way" to do it with symbol available, but where it isn't we can just use a simple object as a uniquely identifiable entity.

Sweet, thanks for the quick response and fix! :)


⚠ Empornium has degraded performance

In b8cb23d, Empornium ($EMP) experienced degraded performance:

HTTP code: 200
Response time: 4265 ms

Resolved: Empornium performance has improved in fc03052 after 34 minutes.


Spanish commercial fishery case study (lengths, sex ratio) on Nephrops

Prepare something to present during the 2024 WGBIOPTIM meeting

Presentation of this case study applying ADV during the 2024 WGBIOPTIM meeting and will be included in the WGBIOPTIM report 2024


Cannot get the "Customize equalityCheck for defaultMemoize" to work

Hi, I am trying to use a custom equalityCheck function with defaultMemoize as shown here:
https://github.com/reduxjs/reselect#customize-equalitycheck-for-defaultmemoize
I'm trying to call my selector from mapStateToProps, and pass it the state and props as parameters, but I keep getting this error:
TypeError: Cannot read property 'products' of undefined
This error appears to result from passing a null props parameter to my selector, but I inspect the props parm before it's sent, and it is not null. However, when mapStateToProps is first called, props does exist, but the products prop does not exist at that point.
//Custom selector creator:
export const createDeepEqualSelector = createSelectorCreator(
defaultMemoize,
isDeepEqual //custom equalityCheck function
)
//Selector created using custom selector creator:
const updatedProductsSelector = createDeepEqualSelector(
state => state.shopDataStore.products,
props => props.products
);
//Call selector from mapStateToProps function:
const mapStateToProps = (state, props) => {
return {products: updatedProductsSelector(state, props)}
}
Any help is appreciated...Thanks

Figured out the problem...closing.


Error in reponse code checking due to operator precedence

This check does not work as expected as is always True:
if response.status_code == 200 or 201:
https://github.com/SoftwareAG/cumulocity-python-agent/blob/e3f697136584b2d609f88cd6c624f858dd4a0d98/deviceRegistration/newDeviceRegistration.py#L62
Because Python reads it as  if (response.status_code == 200) or 201
https://docs.python.org/3/reference/expressions.html#operator-precedence

You would write is as if response.status_code in [200, 201]:


REQ-MCT-022 - Orbital prediction

The MCT shall use TLE (two-line element set) data periodically obtained from the internet to predict satellite overpasses and solar illumination cycles.

todo: fetch data periodically, currently only statically defined

how will we test this? run a server 24/7?

related: #113


lora: Initial support for sensor example

I think I have addressed all of the issues

I don't like submodules, so why not just commit the built libraries and relevant headers? That makes it easy for new users.

I don't think we should do that. RadioLib is constantly adding new features, such as the work-in-progress LoRaWAN support.
If we check in binaries they are going to become old and stale and make it difficult for users to add features, get updates or make changes. The Makefile will automatically build RadioLib so it should be easy for new users to get started, while still allowing them access to the RadioLib libraries. Just running make is all it takes to build these examples
As for the submodule, I understand you don't like them. But submodules are easier then having weird Makefile scripts to clone things. It is what we already do for lua

Urgh! Except that it doens't build in the CI. It looks like the cmake doesn't like the toolchain location

CI is all fixed, this is ready to go again

Ping!

Ping

Ping!


[Bug]: Minimum JAX version is 0.4.16

PyBaMM Version
24.1
Python Version
3.10.12
Describe the bug
When a JAX version between 0.4.0 and 0.4.15 is installed and PyBaMM is installed without the [jax] optional (which can easily happen e.g. in an environment where pybamm[all]==24.1 is issued after pybamm[jax]==23.9 has been issued before), PyBaMM cannot be imported because pybamm.have_jax() only checks for a version greater than JAX_VERSION = "0.4" (so, returns True), but the import from jax.extend import linear_util as lu only starts working with JAX >= 0.4.16. (See #3671 where this was changed to silence a deprecation warning.)
I suggest to add a minimum JAX version (currently 0.4.16) and compare to that in have_jax.
Steps to Reproduce
python -m venv myenv
. myenv/bin/activate
pip install wheel
pip install jax==0.4.13 jaxlib==0.4.13 pybamm[all]==24.1
python -c 'import pybamm'

Relevant log output
Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/home/straub/myenv/lib/python3.10/site-packages/pybamm/__init__.py", line 221, in <module>
      from .solvers.jax_bdf_solver import jax_bdf_integrate
    File "/home/straub/myenv/lib/python3.10/site-packages/pybamm/solvers/jax_bdf_solver.py", line 13, in <module>
      from jax.extend import linear_util as lu
ImportError: cannot import name 'linear_util' from 'jax.extend' (/home/straub/myenv/lib/python3.10/site-packages/jax/extend/__init__.py)

Thanks @DavidMStraub for opening this, will look into this

Thanks for the quick fix! Yes, I think this will work. However, I am wondering whether you should also have == instead of >= here in this case: https://github.com/pybamm-team/PyBaMM/blob/develop/pybamm/util.py#L357-L358