TEST: Add color switcher to index page

Copied from: https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/
The objective is to test different color schemes for Hedgehog docs.

Indigo

Red

Pink

Purple

Deep purple :notes:

Blue

Light blue

Cyan

Teal

Green

Light green

Lime

Yellow

Amber

Orange

Deep orange

Brown

Grey

Blue grey

Black

White

If we are getting off of indigo, I like Teal or Blue Gray

If we are getting off of indigo, I like Teal or Blue Gray

:raised_hands: These, and Light green, are my top three choices

If we are getting off of indigo, I like Teal or Blue Gray

I also like Blue Gray

I think it should be in sync with the color accents on githedgehog.com to manage some "connection" which is probably some kind of purple used for the buttons. If not that, Teal looks nice to me.

I think it should be in sync with the color accents on githedgehog.com to manage some "connection" which is probably some kind of purple used for the buttons. If not that, Teal looks nice to me.

We have purple buttons on the website :exploding_head:
I had never noticed, Firefox always blocked them for me (because they redirect to Hubspot I guess).
If we want to keep that connection, then I suppose keeping indigo would be best. If we're OK moving away from it (having never seen the buttons with accent colour before, I'm personally OK with it, especially because this is typically the sort of things that goes away with a website redesign), then we currently have a tie between Teal (#009485) and Blue grey (#546d78). More reviews required :slightly_smiling_face:

Deep purple and teal both pop to me 👍.
Some of the other choices are harsh, and grey and blue-grey seem boring.


OpenShift 3.11 Projects with Grafana Operator and related CRs get stuck in "Terminating" state???

Hi,
First of all, thanks for this awesome operator, is very useful!!!
I'm seeing this behaviour consistently. I haven't gone into more details,
but when I have the Grafana Operator deployed on a project, along with Grafana, GrafanaDashboards and GrafanDataSources CRs, and I delete the Project, the project gets stuck in "Terminating" state.
I guess it has to be realated with the k8s finalizers and the order in which resources are deleted....

Contunuing with the troubleshooting, I see that Dashboards and DataSources objects both have finalizers, while Grafana does not...and I think the root cause...
kind: GrafanaDataSource
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"integreatly.org/v1alpha1","kind":"GrafanaDataSource","metadata":{"annotations":{},"name":"prometheus-ds","namespace":"jorge-prom"},"spec":{"datasources":[{"access":"proxy","editable":true,"isDefault":true,"jsonData":{"timeInterval":"5s","tlsSkipVerify":true},"name":"Prometheus","type":"prometheus","url":"http://prometheus-operated:9090","version":1}],"name":"prometheus-ds.yaml"}}
  creationTimestamp: 2019-11-22T18:47:41Z
  finalizers:
  - grafana.cleanup
  generation: 1
  name: prometheus-ds
.....

apiVersion: integreatly.org/v1alpha1
kind: GrafanaDashboard
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: |
  finalizers:
  - grafana.cleanup
  generation: 2
  labels:
    app: grafana
  name: kafka-dashboard
  namespace: puto-grafana
  resourceVersion: "20995558"
  selfLink: /apis/integreatly.org/v1alpha1/namespaces/puto-grafana/grafanadashboards/kafka-dashboard
  uid: 98f12603-10ee-11ea-9a3b-0654d1207a24
spec:
  json: |

Actually If I try to delete a dashboard of a data source, sth like this oc delete grafanadashboard kafka-dashboard , the object is not deleted, I have to delete the finalizer of the object, then the object dissapears... Once all the data sources and dashboards are deleted, the project is finally deleted by OCP ;).

@jtudelag Yes, that is a common problem with finalizers: the operator gets deleted before it has a chance to service the finalizers on the other resources. Kubernetes won't delete resources until all finalizers are removed and this propagates upwards so that the namespace can't be deleted because of the stuck resources.
One solution to this are ownerReferences that block the owner deletion. But we decided to get rid of finalizers alltogether. This work is currently ongoing in the development branch: https://github.com/integr8ly/grafana-operator/tree/development
It will be included in the next release (mid next week) along with other improvements.

@jtudelag Can you pleas give the new release (https://github.com/integr8ly/grafana-operator/releases/tag/v3.0.0) a try? It does no longer use finalizers and should solve your problem. It should soon also be available on Operatorhub.


Feature Request: Modify Posters to Contain HDR/4K/Dolby Vision/Remux Banners

See: https://github.com/jkirkcaldy/plex-utills
If merging multiple file types into a single collection, that contains 4K, HDR, 4K HDR, Dolby Vision, etc, it would be cool if the program could add to the normal poster to include the 4k, hdr, etc banners.  See the above referenced project.
from efaden

Add to this the audio as well. Atmos, DTS-X, etc.

your going to be able to make your own overlays


kahoot-flood/rand connection timeout

Both kahoot-rand and kahoot-flood have connection issues after about 70 users join.
The error message
➜  kahoot-hack git:(master) go run kahoot-rand/main.go 536579 name 150
Terminate this program to stop the automatons...
failed to connect: dial tcp <IP_ADDRESS>:443: connection timed out
exit status 1
➜  kahoot-hack git:(master)

What happens is in the lobby only 60 - 70 names are allowed and then a connection timeout from the server prevents any more connections.

I personally do not have this issue. It may have to do with your OS limiting your connections.

On mac os is works fine:

But ran from ubuntu in an aws ec2 instance, the 70 limit continues.

and then after the first question the timeout occurs and no more questions can be answered

Which type of EC2 instance are you using?

it defiantly could be the network throughput as the instance is t2.micro

try doing 50 in 3 times one in their own terminal it works for me

@fishfishfish2104 the issues are around the 70 number

That honestly sounds like a network issue. I have no problem running up to 1000 bots on one of my networks I use the program on. After 1000, I can no longer add anymore connections. If I am using my personal network, I have no problem running slightly over 1200. Your network connection and reliability plays a large role.

I'm getting this on my own computer after about 2000 bots, but I think that is probably reasonable for it to error out.
Unfortunately it seems I have been temporarily/permanently blocked from Kahoot on said network, though. Been over 24 hours and I'm getting timed out when I ping. https://i.imgur.com/lvuyh0w.png

@tnadzieja have you figured out a way around being blocked? I'm trying to route my traffic through Tor using proxychains, but I can't route the Go script, and all I get are timeouts.

@plebdev You'd have to use certain proxies (SOCKS), I'm not an avid user of Tor so I'm not sure how that whole game works, but I did contact unixpickle and unfortunately he never got back to me regarding a paid update to incorporate such an addition. I would presume this because it is clear we are breaking their policy. He also recently added a license since he is aware that Kahoot is starting to block addresses doing this.

Tor nodes are often boocked by a block list. You can use 'privoxy' on the command line to use a socks proxy.

I'm not sure when, but my IP seems to have been unblocked by Kahoot. Whatever the case, I'm gonna route my traffic through Tor before messing with this any further.

@plebdev Just looked and it seems I have been unblocked too.
Unique.


Unity: do not render the same object more than once

If object is present on adjusted tiles, it should be rendered once.
This should be handled on caller site.

Fixed in 7733cf576c7ef7e59f34e39e206e9c13eb6597c7


UIButton tappable area

Hey all.
Not sure if this is an iOS issue or motion-kit. I have a button that lives inside a table cell. It's set up like this:
add UIControl, :reading_view do
  add UILabel, :re_button
  add StatusImage.alloc.init("re"), :status

  on :touch do
    mp "Hello"
  end
end

def reading_view_style
  left 200
  top 10
  height 80
  width 200

  layer do
    border_width 1.0
    border_color Color.concrete.CGColor
    corner_radius 4.0
  end
end

On iOS 8 the whole button is tappable but on iOS 7 only the red area is:

Am I doing something wildly wrong?

I come into the same problem. It turns out that I should call [super layoutSubviews] before my own layout operations.


[Blending] OpenCV - SeamlessClone Method

This PR :

adds a new blending method from openCV : seamlessClone
creates an iteration process to test different blending methods

A quick example for seamlessClone :

HI @jpennors! Thank you for your PR. Two small things:

In my opinion this error has nothing to do with the function you added but rather with the choice of crop / image size. If this is the case it would be better to open an issue on the subject
When you open a PR it is important that you explain even quickly what you have done which makes the review easier

HI @jpennors, could be nice to integrate this method, do you still have issues ?


Support for default verb?

Is there any support for some sort of "default" verb? That is, a verb that gets executed when no verb is actually specified. Perhaps an existing verb can be marked as default, even?

Furthermore, is it possible to have global options while still having a verb?

This is a duplicate of #490. Unfortunately, no it isn't possible. With the way verbs work in the current version (e.g. Parse<VerbA, VerbB>(args)) I'm having a hard time thinking of a way to add a default verb and global options.

Thanks for the quick reply. What about a simple IsDefault property of the Verb attribute. The name of the verb should also be optional in this case. As for global options, what about a special Options generic argument that inherits from a (dummy) GlobalOptions class, or something similar?

I'm currently trying to come up with a workaround for this, but I can't get the NoVerbSelectedError, nor the BadVerbSelectedError. Using the latest beta here.

Update: it seems I have to specify at least two options types to ParseArguments for these errors to kick in! I see why, though perhaps this should be documented.

You're right - it is not obvious that one generic argument is interpreted as an Options class but multiple are considered Verbs.

Just to clarify, is there a workaround by using GlobalOptions?


Home Assistant only Displays a Battery and Update Entity for the HmIP-SWSD Smoke detector

I agree to the following

[X] I have read the documentation
[X] I am aware of the latest release notes
[X] The Backend (CCU/Homegear/...) is working as expected and connected devices are controllable by its own UI.
[X] I am running the latest version of the custom_component (and Home Assistant)

The problem
Hi,
all is working fine, except the HmIP-SWSD Smoke detector.
Home Assistant only Displays a Battery and Update Entity for the HmIP-SWSD Smoke detector.

Thx & Greetings
What version of HomematicIP (local) has the issue?
1.40.1
What was the last working version of HomematicIP (local)?
No response
What type of installation are you running?
Home Assistant Supervised
What type of installation are you running for your homematic backend?
CCU3
Which version of your homematic backend are you running?
3.71.12
What hardware are you running for your system?
Pi4
Which config details do you use

[X] Username and password
[ ] TLS
[ ] callback data (see)

Which interfaces do you use?

[X] Homematic IP
[ ] Homematic (Bidcos-RF)
[ ] Groups (Heating-Group)
[ ] BidCos-Wired (HM-Wired)

Diagnostics information
config_entry-homematicip_local-6a2c354121519c025a50246d744507bd.json.txt
Anything in the logs that might be useful for us?
No response
Additional information
No response

I have read the documentation

Please really read the docs. You have to activate the siren.


keras model.save() TypeError

I wrote a simple CNN model, when I use model.save('model.h5'), it came an error
"
Traceback (most recent call last):
File "D:/py_code/testCNN/CNN_Conv2d_train.py", line 95, in
model.save('model.h5')
File "F:\Anaconda3\envs\tensorflow\lib\site-packages\keras\engine\network.py", line 1090, in save
save_model(self, filepath, overwrite, include_optimizer)
File "F:\Anaconda3\envs\tensorflow\lib\site-packages\keras\engine\saving.py", line 382, in save_model
_serialize_model(model, f, include_optimizer)
File "F:\Anaconda3\envs\tensorflow\lib\site-packages\keras\engine\saving.py", line 114, in _serialize_model
layer_group[name] = val
File "F:\Anaconda3\envs\tensorflow\lib\site-packages\keras\utils\io_utils.py", line 218, in setitem
dataset = self.data.create_dataset(attr, val.shape, dtype=val.dtype)
File "F:\Anaconda3\envs\tensorflow\lib\site-packages\h5py_hl\group.py", line 136, in create_dataset
dsid = dataset.make_new_dset(self, shape, dtype, data, **kwds)
File "F:\Anaconda3\envs\tensorflow\lib\site-packages\h5py_hl\dataset.py", line 117, in make_new_dset
dtype = numpy.dtype(dtype)
TypeError: data type not understood
"
I had h5py2.9 in my list,  what's that mean?

In order to expedite the trouble-shooting process, please provide a code snippet to reproduce the issue reported here. Thanks!

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!


rdp: Fix csp_rdp_queue_flush packet leak with multiple conn

A conn closing could delete packet from others conn, now we enqueue them again.
I was checking another issue during my debug, I found out that when another connection was closing it would dequeue and free the packet from other connection. That shouldn't be the case because it could cause a packet loss on RDP.

Good catch. Thanks.
Would you mind if I ask you to work on the commit log a bit?

Good catch. Thanks.
Would you mind if I ask you to work on the commit log a bit?

No problem !

I add some comments and csp_debug for fail error.
I was thinking on rewriting the function...
void flush_queue(csp_queue_handle_t * queue, csp_conn_t * conn) {
    csp_packet_t * packet;
    int queue_size = csp_queue_size(queue);
    while (queue_size--) {
        if (csp_queue_dequeue(queue, &packet, 0) == CSP_QUEUE_ERROR) {
            /* csp_queue_dequeue will fail if the queue is empty, so it's better to break here */
            break;
        }

        if (packet == NULL) {
            continue;
        }
        if ((conn == NULL) || (conn == packet->conn)) {
            csp_buffer_free(packet);
        } else {
            if (csp_queue_enqueue(queue, &packet, 0) != CSP_QUEUE_OK) {
                csp_print("csp_rdp_queue_flush : queue fail to enqueue, data lost !\n");
                /* Free the packet if re-enqueue fails */
                csp_buffer_free(packet);
            }
        }
    }
}

void csp_rdp_queue_flush(csp_conn_t * conn) {
    /* Flush conn data from TX queue */
    flush_queue(tx_queue, conn);
    /* Flush conn data from RX queue */
    flush_queue(rx_queue, conn);
}

I hope it make sense.

this could be a root cause of #491.


https_proxy fix for download behind a web proxy on CI machines

Dear jfrog team.
This fix will allow CI machines that only have access to the internet over a enterprise proxy to use the npm package.
If you have questions please do not hesitate to ask. I will post a temporary npm package on jfrog-cli-go-proxy.
kind regards,
Roland

Thank you for this contribution @broekema41!
See my inline comments.
Can you also create this PR on the dev branch? (See the Guidelines section under Pull requests in the README).
Will you please join our contributors community by signing JFrog's CLA so that we can merge your code?
Thanks

thank you eyalbe4 i have simplified the code as per your comments.
will close this pull request and re-open to your dev branch


Raw JSON for GitlabProjects

Is there a way for GitlabProject model to have getJson() method that would return the project json?  It would be great if it's the original raw JSON that was retrieved, but if not then a serialize of the POJO would work too.

Any thought on this?


Make Leshan more monitorable.

We could consider to make Leshan more monitorable.
Here is some features requested :

The total message sent out from the view of LwM2M/CoAP. Better if we can provide the register/register-update/notification.
The total message received from the view of L2M2M/CoAP.
RTT for LWM2M/CoAP request.
How many messages got retrans from the view of CoAP.
The bandwidth usage.

Most of this metrics can be calculate using Californium Interceptor :
client.getCoapServer().getEndpoints().get(0).addInterceptor(new MessageInterceptor() { ...});

So maybe, this task is just about adding documentation.

Some more metrics available at Californium level : https://github.com/eclipse/californium/issues/1079

Here is an example to monitor CoAP request : https://github.com/eclipse/leshan/issues/743#issuecomment-537536537.

To monitor LWM2M received : https://github.com/eclipse-leshan/leshan/issues/1605


TSC Nomination: Carol Payne, Netflix

Per the guidelines of the OCIO GOVERNANCE.md, this issue is to nominate adding Carol Payne as a voting member of the OCIO TSC, and as an official representative on the TSC for Netflix.
Carol has been actively participating in TSC meetings since September of 2019. She is currently an Imaging Specialist at Netflix, and was previously a Color and Imaging Scientist at ILM. She has taken initiative in helping to lead discussions around improving OCIO documentation, and expressed an interest in collaborating on these efforts with other TSC members. Carol's understanding of imaging and color science, her production experience, and her involvement in the streaming industry, make her a great candidate for helping to steer OCIO.

In addition to what Michael wrote, Carol is also a co-chair of the ACES Gamut Mapping VWG.
I think this is a great idea and second the proposal.

Just realized that...

If there are no objections raised by any Committers two weeks after the issue is opened, the nomination will be considered as accepted

...means we don't have a way to override the two week wait time... but assuming no objections are raised, see you on the TSC in two weeks 😁

Thanks all! Excited to continue :)


ADD: Timeline

Make the transition smooth on clicking the button
scale down the timeline.

in phone view fix the dimensions of timeline bar, icons, text, and GDSC logo.
in phone view try to keep the timeline at the middle portion of the screen vertically

Made the required changes


added Spring framework PDF

Hacktoberfest notes:

due to volume of submissions, we may not be able to review PRs that do not pass tests and do not have informative titles.
please read our contributing guidelines
be sure to check the output of Travis-CI for linter errors
if this is your first open source contribution, make sure it's not your last!

What does this PR do?
Add Resource(s) | Remove Resource(s) | Add info | Improve Repo
For resources
Description
Why is this valuable (or not)?
How do we know it's really free?
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[x] Not a duplicate
[x] Included author(s) if appropriate
[x] Lists are in alphabetical order
[x] Needed indications added (PDF, access notes, under construction)

check spelling

please resolve conflicts.

Thanks, and welcome to free-programming-books!


[ENH] Prohibit incompatible splitter parameters

Reference Issues/PRs

Next small step in #1737.
What does this implement/fix? Explain your changes.

My grand plan is to generalize splitters to accept more argument types in splitters. Along the way I realized that there are too many possible combinations of input parameters to treat at the same time. So, a better strategy would be to generalize in very small steps. In this PR I simply raise a TypeError if input arguments are either not all ints (as before I started working on #1737), or not all timedelta/dateoffset. I do this check immediately at the initialization of splitter objects. Tests are added to check that the exception is risen.
Note that I have also replaced TEST_WINDOW_LENGTHS (includes ints and timedeltas) with TEST_WINDOW_LENGTHS_INT (only ints) in sktime.forecasting.tests.test_all_forecasters.TestAllForecasters.test_update_predict_predicted_index to restore the original set of tests existed before the work on #1737 has started.
Does your contribution introduce a new dependency? If yes, which one?

No
PR checklist

For all contributions

[X] I've added myself to the list of contributors.
[ ] Optionally, I've updated sktime's CODEOWNERS to receive notifications about future changes to these files.
[X] I've added unit tests and made sure they pass locally.
[X] The PR title starts with either [ENH], [DOC] or [BUG] indicating wether the PR topic is related to enhancement, documentation or bug

@fkiraly @aiwalter Would you mind taking a look?

@fkiraly Thanks, as usual, for a very insightful review! I have done the following refactoring.

New functions in sktime.utils.validation.__init__: is_iloc_like, is_time_like, all_inputs_are_iloc_like, and all_inputs_are_time_like.
Instead of 6 new very specific utility functions in sktime.forecasting.model_selection._split I have now only 2 very generic ones: _inputs_are_supported and _check_inputs_for_compatibility.

Personally, I love it! :D
I looked into versions library. It is very nice and very good to know. But I am not sure it is applicable here. At the very least for the reason you once expressed yourself: we don't want to introduce new dependencies without a very good reason.

Hm, looks like the suggestion has reduced the amount of code quite a bit?
Just a quick question before deeper review: is that all explained by "the right abstraction", or did you also remove some logic or functionality?

"if you torture the data long enough it will confess". I guess the same applies to refactoring :)))))

@fkiraly

there is coercion to ForecastingHorizon in the test. That should not happen in the test, but in the splitter (where it already does happen?). See my comment above.

For some, probably good, reason incoming fh is assigned to self.fh "as is" without conversion. Function check_fh is then used much later at some other various points in time. Since this PR is primarily not about ForecastingHorizon I would prefer to mess with it here as little as possible.

there is now a lot of redundant testing that error is raised if the splitter is constructed with incompatible input combinations, for each splitter, and this is tested together with all kinds of other stuff. Is there a way to make the test logic easier, i.e., to loop over splitters and test the error handling for incompatible inputs, and only that?

That's a very good point and I also scratched my head about it. Let me present my argument for the current state. In order to remove if...else branching from the tests I have to leave only supported combination of parameters, say only integer and only time-like combinations. This would substantially complicate the usage of now straightforward @pytest.mark.parametrize decorators. Creating a list of incompatible parameters is also not so straightforward as all possible permutations of some lists, especially where we talk about 4 arguments at the same time. Finally, these tests are super fast. Does this sound reasonable?

Since this PR is primarily not about ForecastingHorizon I would prefer to mess with it here as little as possible.

Not what I mean. Preveiously, the test would pass fh to the test logic unaltered. Now, you run it through the check_fh or ForecastingHorizon, which means only ForecatsingHorizon type fh are passed to the test logic, and int etc is passed no more. This results in the test having less coverage, namely for the case where you pass list of int etc directly.

Does this sound reasonable?

For the tests, ok - not 100% happy, but I also cannot spell out an easier solution right now.

Wait a sec. In the tests I pass "raw" fh to splitters. check_fh is only used to branch between test success/fail tests. Besides, these are unit tests for splitters, not for forecasting horizon.

Wait a sec. In the tests I pass "raw" fh to splitters. check_fh is only used to branch between test success/fail tests. Besides, these are unit tests for splitters, not for forecasting horizon.

If I may rephrase, are you saying there is an argument why the additional introduction of check_fh does not reduce test coverage?
Can I ask conversely: if that is the case, why do we introduce check_fh at the start of the test at all, instead of just looping over ForecastingHorizon typed fh?

This is very embarrassing, but it turns out that after my last refactoring effort check_fh is no longer needed in _inputs_are_supported. I have removed check_fh from _inputs_are_supported in testsand in _fh.py itself. Sorry... I hope it brings your happiness level to 100% now :D


Consider a way for people to upload their YAML file and make simple changes

Possible duplicate?

Just for context here, this is something we have talked about off and on and considered generally to be outside the scope of this project, and more like what Documate.org and AfterPattern already provide. But properly scoped this could be an important bridge for new developers and students. It could also fit future potential grants.

We've talked about this recently on our Monday calls and it was framed more as enhancements to the Playground, not a new mode for the Weaver. Going to close this in light of that discussion.


Build electrs 0.10.6

This is to build electrs v0.10.6, which is the most recent tag.
I was able to run this updated workflow here: https://github.com/jp1ac4/electrsd/actions/runs/11542187543.
I can add a corresponding electrs_0_10_6 feature too if you like.

Looking good, I run in https://github.com/RCasatta/electrsd/actions/runs/11931874804 and uploaded resulting binaries to the release page, so that if you want to contribute the electrs_0_10_6 feature you can go ahead
Thanks


Node 6.x.x issue: "node-pre-gyp install --fallback-to-build"

When running:
npm install v8-debug

I get get following error:
npm info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>
><EMAIL_ADDRESS>install /node_modules/v8-debug
> node-pre-gyp install --fallback-to-build

module.js:442
    throw err;
    ^

Error: Cannot find module 'nopt'
    at Function.Module._resolveFilename (module.js:440:15)
    at Function.Module._load (module.js:388:25)
    at Module.require (module.js:468:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/node_modules/node-pre-gyp/lib/node-pre-gyp.js:14:12)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)
    at Function.Module._load (module.js:409:3)
npm info lifecycle<EMAIL_ADDRESS>Failed to exec install script
npm WARN<EMAIL_ADDRESS>No repository field.
npm WARN<EMAIL_ADDRESS>No license field.
npm ERR! Linux 4.4.12-boot2docker
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v6.3.0
npm ERR! npm  v3.10.3
npm ERR! code ELIFECYCLE

npm ERR<EMAIL_ADDRESS>install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-pre-gyp install --fallback-to-build'.
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 v8-debug package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-pre-gyp install --fallback-to-build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs v8-debug
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls v8-debug
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /npm-debug.log
The command '/bin/sh -c npm install' returned a non-zero code: 1

This does not occur in 0.12.x, 4.x.x or 5.x.x. This only happens in 6.x.x. Please see the reproduction steps I've made available here: https://github.com/sqren/v8-debug-debug
Looking forward to hearing some ideas about what the cause might be.
Ping @3y3 - if you have time :)

It turns out that Dev Tools is a native part of Nodejs since 6.3 and node-inspector(aka node-debug) is no longer necessary.
Simply:
node --inspect index.js

<EMAIL_ADDRESS>


[Enhancement] Gradient Status Bar and toolbar for enhanced look of the app

A gradient status bar and toolbar for better visual experience!

Please assign this issue to me under GSSOC. I'll be glad to work on this issue and help improve the app using my insights as well.

Hello, I want to work on this issue under GSSOC'22. Please assign me this issue.

I'm a GSSoC contributor ..
I would like to work on this section...
would you please assign me to this task ??

i am a gssoc contributor plrase assign it to me


Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

Failed to compile.

./libs/connect/src/index.js 3:24-31
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

Seems that Connect ts_library get's on my way there.
Probably should look into Rollup plugin.

Added to the ts_library these properties which does overrides:
    devmode_module = "esnext",
    devmode_target = "esnext",

By default ts_library outputs CommonJS syntax.
Alternatively i can use //tools:ts_library.bzl wrapper rule.


DateTime edge case cleanup

Add parameter type for all VALUES tables.  This way we'll always know the data type that we extracted the parameter from.
Add boolean inclusive column flag to X_VALUE_DATE tables and update date search SQL queries to use it
2b.  add index to the table to include DATE_START + DATE_END + INCLUSIVE
2c.  drop DATE from X_VALUE_DATE tables
Prefix handling with datetimes
lt, gt, le, ge would become implicitly instants (similar to numbers)
sa and eb stay implicit ranges (unless the search parameter value includes fractional seconds), the same as eq, ne, and ap

acceptance criteria:  when complete, all tests in AbstractSearchDateTest should be uncommented and passing, although the expected results might need to get updated in places based on our recent discussion wrt edge cases (number 3 above).

PR https://github.com/IBM/FHIR/pull/506


Controller stopped working

Is there a situation in which the controller is paired and connected but the buttons on the controller can't get the robot to do anything? This happened to me today when I initially could use the controller to move the turtlebot 4 around, dock/undock, ... Then I plugged the controller into a PC USB port to charge it while continuing to command the robot motion with the buttons on the controller. However, it seems at that moment, the controller stopped working, the turtlebot would no longer respond to the controller buttons. I proceeded to reboot the turtlebot, reset, re-paired and reconnected the controller several times but could no longer get the robot to move with the controller commands. I could still dock/undock the turtlebot by pressing the Create 3 buttons 1 and 2 however. I don't know if anyone else has experienced this. Please help.

Sorry, false alarm!


return driver.ErrBadConn on all net.Error values

Fixes running queries against a sql server that is restarted after
calling db.Open.
Previously, opening a connection and successfully executing queries followed by restarting SQL Server would cause all future queries to fail, because the error would be a net.OpError where Temporary() returns true and Timeout() returns false. Assuming this code scenario used to work as expected, I suspect that the change introduced in https://github.com/golang/go/commit/055ecb7be5805e07498488c59c6f01644fdacccc#diff-ae34eb42831ffecf011ea43c6429582c may have been the root cause of this change in behavior.

Might also cause this https://github.com/denisenkom/go-mssqldb/issues/154

@denisenkom can I get some feedback on this?

@bhcleek I will take a look soon, maybe this weekend

Thank you. I'll do my best to address any feedback you have in a timely manner. This weekend is busy for me, but I can prioritize any changes early next week.

@denisenkom have you had a chance to review these changes? I have a production environment that's waiting for them, and I've been trying to avoid having to vendor a private fork.

I had a similar problem with a MS SQL server being restarted at weekends and the first queries after those restarts would fail. (Ping() doesn't help to reastablish a connection).
By using following configuration the server restarts don't cause any connections to fail up on the first query (atleast for me):
func connectToMSSQL(config dbconfig) *sql.DB {
	var keepAlive int
	if config.Connections.KeepAlive {
		keepAlive = 1
	}
	connectionString := fmt.Sprintf(
		"server=%s;user id=%s;password=%s;port=%d;database=%s;connection timeout=%d;dial timeout=%d;keepAlive=%d;log=1",
		config.Host, config.User, config.PW, config.Port, config.Name,
		config.Connections.Timeout, config.Connections.DialTimeout, keepAlive,
	)

	conn, err := sql.Open("mssql", connectionString)
	if err != nil {
		log.Crit("couldn't connect MSSQL server", "err", err.Error())
		panic(err)
	}

	conn.SetConnMaxLifetime(time.Duration(config.Connections.MaxLifetime) * time.Second)
	conn.SetMaxIdleConns(config.Connections.MaxIdle)
	conn.SetMaxOpenConns(config.Connections.MaxOpen)
	return conn
}

"connections": {
    "maxOpen": 10,
    "maxIdle": 2,
    "maxLifetime": 60,
    "dialTimeout": 10,
    "timeout": 30,
    "keepAlive": false
}

@bhcleek can you add a test for this problem?

PTAL

Looks good, thanks!


Update package.json with 'main'

Added 'main' property to package.json pointing to minified build main script 'Build/Cesium/Cesium.js'.
This is required to load external library when using angular2+.
#5048
https://docs.npmjs.com/files/package.json#main

Thanks @EvaldasVasiliauskas  Sorry for not replying to #5048, slipped past my radar.
I don't think we can take this change as-is.  Since Cesium is also available for use from within Node, having it reference Build/Cesium/Cesium.js (which is not a node module) instead of index.js will break all Node usage.  If you set main to index.js does it that work for you? (I doubt it unless Angular is doing some magic under the hood).
While I'm not very familiar with Angular2 and Webpack (particular when being used together), I have to believe there is a different approach that could work better here.  For example, why not use the individual Cesium modules instead of simply referencing the legacy combined file?  It would produce smaller final output as well.  I'm pretty sure that's what our other webpack users are doing.
We hope to have official reference Hello World examples for Cesium and all of the popular frameworks in the future that will provide guidance on decisions like this, but we just haven't had the bandwidth to spare lately.  We also plan on moving Cesium to ES6 modules, which should further improve integration.
We're certainly open to solutions that make Cesium more out-of-the-box friendly with other systems, so if you have other potential solutions, please let us know.  I just don't think we can take this one because of Node compatibility.

Closing this, but keeping #5048 open for additional discussion.  Thanks again @EvaldasVasiliauskas


Remove ncc "-m" option in build-dev

With this change we can npm run build-dev then node --inspect path/to/now-cli/dist/index.js to inspect now-cli during runtime.

Codecov Report

Merging #2167 into canary will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           canary   #2167   +/-   ##
======================================
  Coverage    4.43%   4.43%
======================================
  Files         243     243
  Lines        8652    8652
  Branches      902     902
======================================
  Hits          384     384
  Misses       8251    8251
  Partials       17      17

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 2f3581f...8590814. Read the comment docs.

This is not working. Use nodemon -w src -e js,ts -x 'ncc build -s ./src && cp -r "node_modules/@zeit/fun/dist/src/runtimes/" "dist/runtimes"' instead.


Ajax loaded editor is not refreshing API managed content

Description
OS: Windows, MacOS
Browser: Chrome
Initially, when typing any content and checking the value with .trumbowyg('html'), it will return the empty string ''
The loaded Trumbowyg editor is not visibly populated by using .trumbowyg('html', '
Content
')
After setting the value with the above command, .trumbowyg('html') returns '
Content
'
How to reproduce?
Load Trumbowyg form via Ajax -> Manage Content with custom JS function

Hey
I've tried on my side:
$('textarea').trumbowyg();
setTimeout(() => {
	$('textarea').trumbowyg('html', '
Hey
');
}, 1000);

And it works fine :)

OK, so it is broken. You're building the editor on something that differs from a textarea element... If you switch from your div to a textarea, it should work


Milestone 6 : Mobile Menu

Milestone 6 : Mobile Menu(Modal)
In this milestone I :

added javascript linter
added index.js javascript file
gave the menu button the ability to open the mobile menu(modal) with some cool animations using event handlers and DOM manipulations.
added blur effect on the background when the modal opens
added a close button that closes the mobile menu.
added menu options that a user can use to navigate to the section he/she chose.

Hi @zdnahom,
While you made a great effort in this project, unfortunately, I cannot proceed to review your code.

Invalid Code Review Request
⚠ Kindly ensure you removed the placeholder elements which are targeting to inform you on your Readme file. Please remove the logo, if you have your own logo you can use it otherwise please delete Microverse logo.

Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.


Fix/Replace Checkstyle

While bumping gradlew version checkstyle stopped working hence for time being we have commented on all its relevant references.
We should try fixing it or identify an alternative to it example snyk code test or sonarqube.

Used Snyk for SAST in circleci


Supporting Non-Linear / Non-Convex Optimization

I’d like to discuss something a bit heretical (repost from a Discord discussion with @SteveDiamond).
I recently had to solve a problem related to calculating accumulated rectangular areas and taking into account various overlap conditions. The details are unimportant here. I was sure I had a GP and indeed it almost was. However, there was one equation which made it non DGP. Both cvxpy and gpkit balked.
After considering using piecewise linear approximation for the (few) products I had, I decided to rewrite the code using the gurobipy API directly. By setting the param NonConvex=2 Gurobi solved my original formulation in 0.02 seconds. I even added an integer variable to the mix with no problem.
CVXPY’s interface/API is much nicer than Gurobi’s (not to mention lock-in).
I wonder if it isn’t worth considering or whether it is possible to give cvxpy a “do not enforce discipline” flag, and just have it pass the problem to the underlying solver.  Of course YMMV depending on the solver but the issue of non convex problem support did arise in various recent discussions (e.g. with @akshayka).

In reference to the above, I'd like to add CVXPY interfaces to (nonconvex) nonlinear solvers such as IPOPT and Knitro. A good first step in my mind would be adding support for nonconvex quadratics. Gurobi supports nonconvex quadratics as well: https://www.gurobi.com/documentation/9.5/refman/nonconvex.html
The way to get started IMO is by adding support for nonconvex quadratics in the objective. This connects to another task we have, which is to create a conic problem class with quadratic objective (needed for SCS 3.0). I'm happy to discuss the implementation details.

@SteveDiamond how would one go about implementing that (though not only in the objective would be much better!)

The way to get started with this is first implementing a standard form for cone programs with quadratic objectives (i.e. #1605). Then the quadratic objective can be allowed to be non-convex. After those two steps, I would add a QCQP standard form (or QCQP + conic constraints). Finally, the quadratic constraints can be allowed to be non-convex.

Relevant link.

I really hope this feature is added. Currently, my problem use something like this:
cp.sum(cp.multiply(cp.Variable((1,4))**2, cp.Constant([[-1, 1, -1, 1]])))
that is mix of concav and convex. CPLEX able to solve it if I write it directly using matrix Q into cplex.

Is it possible simply pass a parameter to skip forcing disciplined formulation? Thanks.
cc @phschiele

The way to get started with this is first implementing a standard form for cone programs with quadratic objectives (i.e. #1605).

It seems that is already solved?

Then the quadratic objective can be allowed to be non-convex.

Now, we are on this, right? I'll help if possible. Any guidance?  Simply allow it? Thanks @SteveDiamond

It's only gurobi that supports non-convex quadratics right? Can you try using quad_form(x, P, assume_PSD = True) with your non-PSD P and call Gurobi?

@SteveDiamond I was talking to Stephen the other day who suggested a way to do this. The way he described it should not be too hard.
I landed on this post after having a bit of a frustrating experience using casadi.

@SteveDiamond I was talking to Stephen the other day who suggested a way to do this. The way he described it should not be too hard.
I landed on this post after having a bit of a frustrating experience using casadi.

Can you join the discord and share this? https://discord.gg/4urRQeGBCr

quad_form(x, P, assume_PSD = True)

For simplification, I'm just running maximizing convex problem, just like https://github.com/cvxpy/cvxpy/issues/2140.
import cvxpy as cp
from cvxpy import DCPError

x = cp.Variable((1,1))
p = cp.Problem(cp.Maximize(x**2), [0 <= x, x <= 2])

p.solve(solver=cp.CPLEX, verbose=True)

Output,
===============================================================================
                                     CVXPY
                                     v1.4.1
===============================================================================
(CVXPY) Nov 28 08:23:54 AM: Your problem has 1 variables, 2 constraints, and 0 parameters.
(CVXPY) Nov 28 08:23:54 AM: It is compliant with the following grammars:
(CVXPY) Nov 28 08:23:54 AM: (If you need to solve this problem multiple times, but with different data, consider using parameters.)
(CVXPY) Nov 28 08:23:54 AM: CVXPY will first compile your problem; then, it will invoke a numerical solver to obtain a solution.
(CVXPY) Nov 28 08:23:54 AM: Your problem is compiled with the CPP canonicalization backend.

---------------------------------------------------------------------------

DCPError                                  Traceback (most recent call last)

I also trying to delete CVXPY DCPError constraints, and this is the output,
===============================================================================
                                     CVXPY
                                     v1.4.1
===============================================================================
(CVXPY) Nov 28 08:44:31 AM: Your problem has 1 variables, 2 constraints, and 0 parameters.
(CVXPY) Nov 28 08:44:31 AM: It is compliant with the following grammars:
(CVXPY) Nov 28 08:44:31 AM: (If you need to solve this problem multiple times, but with different data, consider using parameters.)
(CVXPY) Nov 28 08:44:31 AM: CVXPY will first compile your problem; then, it will invoke a numerical solver to obtain a solution.
(CVXPY) Nov 28 08:44:31 AM: Your problem is compiled with the CPP canonicalization backend.
-------------------------------------------------------------------------------
                                  Compilation
-------------------------------------------------------------------------------
(CVXPY) Nov 28 08:44:31 AM: Compiling problem (target solver=CPLEX).
(CVXPY) Nov 28 08:44:31 AM: Reduction chain: EvalParams -> FlipObjective -> CvxAttr2Constr -> Qp2SymbolicQp -> QpMatrixStuffing -> CPLEX
(CVXPY) Nov 28 08:44:31 AM: Applying reduction EvalParams
(CVXPY) Nov 28 08:44:31 AM: Applying reduction FlipObjective
(CVXPY) Nov 28 08:44:31 AM: Applying reduction CvxAttr2Constr
(CVXPY) Nov 28 08:44:31 AM: Applying reduction Qp2SymbolicQp
(CVXPY) Nov 28 08:44:31 AM: Applying reduction QpMatrixStuffing
(CVXPY) Nov 28 08:44:31 AM: Applying reduction CPLEX
(CVXPY) Nov 28 08:44:31 AM: Finished problem compilation (took 5.376e-02 seconds).
-------------------------------------------------------------------------------
                                Numerical solver
-------------------------------------------------------------------------------
(CVXPY) Nov 28 08:44:31 AM: Invoking solver CPLEX  to obtain a solution.
Version identifier: <IP_ADDRESS> | 2023-02-11 | 22d6266e5
CPXPARAM_Read_DataCheck                          1

/usr/local/lib/python3.10/dist-packages/cvxpy/reductions/solvers/solving_chain.py:226: UserWarning: You are solving a parameterized problem that is not DPP. Because the problem is not DPP, subsequent solves will not be faster than the first one. For more information, see the documentation on Discplined Parametrized Programming, at
	https://www.cvxpy.org/tutorial/advanced/index.html#disciplined-parametrized-programming
  warnings.warn(DPP_ERROR_MSG)
CPLEX Error  5002: objective is not convex.
QP with an indefinite objective can be solved
to local optimality with optimality target 2,
or to global optimality with optimality target 3.

Presolve time = 0.00 sec. (0.00 ticks)
Barrier time = 0.01 sec. (0.00 ticks)

CPLEX Error  1217: No solution exists.

---------------------------------------------------------------------------

SolverError                               Traceback (most recent call last)

Since CPLEX should be able to solve that, as it is considered as MIQP on CPLEX, I think the problem is on how CVXPY present the problem or creating problem in CPLEX.
Thanks.

You need to use quad_form like I said:
import cvxpy as cp
import numpy as np

x = cp.Variable(1)
p = cp.Problem(cp.Minimize(cp.quad_form(x, -np.eye(1), assume_PSD=True)), [0 <= x, x <= 2])

p.solve(solver=cp.CPLEX, verbose=True)

This requires some special argument to the CPLEX interface that I don't have time to figure out, but it definitely is passing the problem through.

You need to use quad_form like I said:
import cvxpy as cp
import numpy as np

x = cp.Variable(1)
p = cp.Problem(cp.Minimize(cp.quad_form(x, -np.eye(1), assume_PSD=True)), [0 <= x, x <= 2])

p.solve(solver=cp.CPLEX, verbose=True)

This requires some special argument to the CPLEX interface that I don't have time to figure out, but it definitely is passing the problem through.

Really appreciate it!!! Once I figured it, I'll try to report it back here!. Thanks a lot!

Hey @SteveDiamond, I found it. Look at this,
It is solved by cplex qp: _proc.qpopt(self._env._e, self._lp) that require convex problem
import cvxpy as cp
import numpy as np

from cvxpy import DCPError

x = cp.Variable(1)
p = cp.Problem(cp.Minimize(cp.quad_form(x, -np.eye(1), assume_PSD=True)),
               [0 <= x, x <= 2])

# /usr/local/lib/python3.10/dist-packages/cvxpy/reductions/solvers/solving_chain.py

try:
    sc = p.solve(solver=cp.CPLEX, verbose=True)
    print(p.objective)
except DCPError as e:
    print(e)

But, simply changing cp.Variable(1) to cp.Variable(1, integer=True), it is solved using MIQP that support non PSD.
Funnily, I don't know why but, the equivalent on CPLEX directly is treated as MIQP by default,
import cplex

p = cplex.Cplex()
p.objective.set_sense(
    p.objective.sense.minimize)
p.variables.add(
    obj=[0],
    ub=[2],
    lb=[0],
    types='C'
)
p.linear_constraints.add(
    lin_expr=[[[0], [1]]],
    rhs=[2],
    senses='L'
)
p.objective.set_quadratic([[[0], [-2]]])  # at index 0, value -2/2

p.set_results_stream(None)
p.solve()
p.solution.get_objective_value()

Since I don't know how to change the behavior of  cplex internal .is_MIP(), a work around is to add dummy variable.
import cvxpy as cp
import numpy as np
from cvxpy.atoms.affine.wraps import psd_wrap

from cvxpy import DCPError

x_dummy = cp.Variable(1, integer=True)
x = cp.Variable(1)
obj = cp.quad_form(x, -np.eye(1), assume_PSD=True)
p = cp.Problem(cp.Minimize(obj),
               [0 <= x, x <= 1.5,
                x_dummy == 0])

p.solve(solver=cp.CPLEX, verbose=True)

Extra note if cplex still throw error due to non convex, use optimality target 3,
problem.solve(solver=cp.CPLEX,
                        verbose=True,
                        cplex_params={"optimalitytarget": 3},
                       )


Setting empty snapshot directory with Rely causes a confusing error

For example:
projectDir = ...

include Rely.Make({
  let config =
    Rely.TestFrameworkConfig.initialize({
      snapshotDir: "",
      projectDir,
    });
});

Causes
Fatal error: exception Unix.Unix_error(Unix.ENOENT, "mkdir", "")

I just upgraded from 1.3.1 to 2.1.0 and it wasn't happening with the old version. I'm not creating any snapshots which is why I set it to an empty string.

Thanks for filing! I remember making a change where if the snapshot directory didn't exist we created it because of issues with writing snapshots in that case. I'll improve the error message here. You aren't the first person to mention they aren't using snapshots, so I'll definitely considering making them optional come the next major version

I think making it optional and failing at runtime would be good for a future version

An improved failure message for this will be included in the 2.2.0 release which will be cut today, and definitely considering making this optional in the future


container: Stop a container with SIGKILL instead of SIGTERM

SIGTERM could not be handled by some processes. Because this signal is sent to stop the container or the pod, that means we don't mind about the way those processes are terminated, and we make sure that SIGKILL will do the job.
To give you more context, I have realized that starting a container like that:
docker run -d busybox sleep 1000

and trying to stop it with:
docker stop 36d562a063e8111b670f9b8198c3692e84369b87a61f8b31f32226873b1a0977

was actually leading to an issue with our new agent. Okay so try to follow me here, there are several reasons for this change.
First you have to know that Docker issues a SIGTERM and after a timeout, if nothing happened (process still running), it issues a SIGKILL.

If you make the test with runc, it will hang for 10 seconds (default timeout before docker send the SIGKILL) because libcontainer cannot terminate a sleep command. But after those 10s the container is killed with the SIGKILL.
In case of cc-runtime + hyperstart agent, we are doing better than runc because hyperstart is able to terminate a sleep command from a SIGTERM.
In case of cc-runtime + our agent, we hang for 10s and then we cannot remove the container. But more than that, we are not receiving the SIGKILL issued by Docker because the shim cannot handle a SIGKILL on himself. But it is not a problem with hyperstart agent because it has already been killed by the termination caused by SIGTERM.

The only way to make this works is to stop our pod and our containers with SIGKILL, that's the only way we can make sure we are really stopping any process on each container, and that's the purpose of this patch.
Or we could design the shim a bit differently so that we could handle a SIGKILL, but that's a bigger change.

Coverage remained the same at 66.01% when pulling d3429b80309c512872909f6f665df4459fac6ac0 on sboeuf/fix_stop into 035cce105812b6bb5e74b44debce3208493636fd on master.

lgtm

LGTM


add explorer urls to init and check before print

This PR changes the explorer url output to only output when the network explorer is known in our map of explorer urls

Close in favour of #1037


Update microsoft/ms-build from v1.0.0 to v1.0.2

This fixes the currently broken Windows CI by updating https://github.com/microsoft/setup-msbuild to v1.0.2 which removes the deprecated usage of add-path in CI.
https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/

Conflicts with set-to-merge #917 (exact same change)
https://github.com/jameskr97/etterna/blob/17eb3178f8fffdc2d657c3692e8220c042a89ec0/.github/workflows/ci-workflow.yml#L129


Azure Container Service: Custom Orchestration Platforms

:wave: hey
I'm aware I'm filing a ton of issues today (I've been meaning to open these for a while..) but this is the final one, so bear with me..
I've been using Container Service for a little while - and added support for DCOS, Kubernetes and Swarm to Terraform. Whilst doing this I noticed that the field Orchestration Platform is an enum supporting the 3 values outlined above, plus a fourth which is undocumented Custom - which is available in both the Documentation and the SDK.
Whilst this is great - there's absolutely no documentation on what it is, or how it's intending to be used - it's also not available in the Portal currently - so I'm unable to work out what this is.
Would it be possible to get both some Documentation and some usage examples for how this is supposed to work please? :)
I've got an idea in mind for what this could be (Scale Sets but tuned for your Orchestration Platform of choice) - which could be really cool, but I've absolutely no idea. For the moment I've ignored it, but I'd like to add support :)
As usual - feel free to point me in another direction if this should be filed somewhere else.
Thanks!

cc: @rgardler / @brendandburns: Not sure how we're wanting to handle this long/short-term.
@tombuildsstuff For now, there's no functionality to be gained by supporting it, if that helps.

cc: @Azure/acs

thanks @colemickens :)

For microsoft folks - Right way of adding examples is following this approach -using x-ms-examples extension

This is intentionally left undocumented. We use this field for occasional testing that is Microsoft specific, we don't want users to use or rely on undocumented behaviors for this field.
We should perhaps document the fact that it is undocumented better :)

Closing based on @brendandburns comments, please feel free to reopen if you still have questions @tombuildsstuff :)


Gutter line numbers disappear ...

On margin re-size?  Originally noticed in #69 .

Accidentally closed.


add reference for estimates

This adds a field for rate estimate references for services that guarantee quotes.
Review @kmcphillips @j-mutter

Can you include a version bump?

Version bump is on master already.


CLN: removed the 'diff' method for Index

Deprecated all the way back in 0.15.0 here.

[Current coverage][cc-pull] is 84.38%

Merging [#13669][cc-pull] into [master][cc-base-branch] will increase coverage by <.01%

@@             master     #13669   diff @@
==========================================
  Files           142        142
  Lines         51223      51222     -1
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits          43223      43223
+ Misses         8000       7999     -1
  Partials          0          0

Powered by Codecov. Last updated by [d7c028d...6f42786][cc-compare]
[cc-base-branch]: https://codecov.io/gh/pydata/pandas/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/pydata/pandas/compare/d7c028d4965932160fa3b69f56c716b1454c42a5...6f427862a18b505188a5f3dbe67557946d656bfc?src=pr
[cc-pull]: https://codecov.io/gh/pydata/pandas/pull/13669?src=pr

ty!


Javascript XMLHTTPrequest Issue.

xhttp.open("GET", "http://admin:public@<IP_ADDRESS>:18083/api/listeners",true);
xhttp.setRequestHeader( 'Content-Type', 'application/json' );
xhttp.setRequestHeader ("Authorization", "Basic " + btoa('admin' + ":" + 'public'));
xhttp.send();

Here is my code.Work in Safari, But it got error in my Chrome (Mac OS).

XMLHttpRequest cannot load http://<IP_ADDRESS>:18083/api/listeners. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access. The response had HTTP status code 401.
OPTIONS http://<IP_ADDRESS>:18083/api/listeners 401 (Unauthorized)

Any help?

is there any solution?

@llongoria This is an authentication error, please read document more carefully, the api use basic authentication, it absolutely you set wrong basic authentication data on your http header. Please check your http header again, I suggest you to use insomnia to verfiy the api of emqx. Then I would close this issue. If you still have questions, please open a new issue and provide more details.


Bun Support

What about bun?

What about bun?

Currently, this does not work with Bun (registries can be configured via bunfig.toml).
At the moment, I don’t have any plans to add support for Bun in the near future. However, if anyone is interested in contributing, merge requests are always welcome! 🤗


_MaterialState#77020(tickers: tracking 1 ticker) was disposed with an active Ticker. (I didnt use a controller )

Using a InkWell causes this error. I don't have any controller in the page.
════════ Exception caught by widgets library ═══════════════════════════════════════════════════════
The following assertion was thrown while finalizing the widget tree:
_MaterialState#77020(tickers: tracking 1 ticker) was disposed with an active Ticker.

_MaterialState created a Ticker via its TickerProviderStateMixin, but at the time dispose() was called on the mixin, that Ticker was still active. All Tickers must be disposed before calling super.dispose().

Tickers used by AnimationControllers should be disposed by calling dispose() on the AnimationController itself. Otherwise, the ticker will leak.

The offending ticker was: _WidgetTicker(created by _MaterialState#77020(tickers: tracking 2 tickers))
The stack trace when the _WidgetTicker was actually created was:
#0      new Ticker.<anonymous closure> (package:flutter/src/scheduler/ticker.dart:66:40)
#1      new Ticker (package:flutter/src/scheduler/ticker.dart:68:6)
#2      new _WidgetTicker (package:flutter/src/widgets/ticker_provider.dart:237:80)
#3      TickerProviderStateMixin.createTicker (package:flutter/src/widgets/ticker_provider.dart:168:34)
#4      new AnimationController (package:flutter/src/animation/animation_controller.dart:245:21)
#5      new MaterialInkSplash (package:maraka/widgets/material_ink_splash.dart:161:30)
#6      MaterialInkSplashFactory.create (package:maraka/widgets/material_ink_splash.dart:66:12)
#7      _InkResponseState._createInkFeature (package:flutter/src/material/ink_well.dart:625:72)
#8      _InkResponseState._startSplash (package:flutter/src/material/ink_well.dart:691:42)
#9      _InkResponseState._handleTapDown (package:flutter/src/material/ink_well.dart:674:5)
#10     TapGestureRecognizer.handleTapDown.<anonymous closure> (package:flutter/src/gestures/tap.dart:463:51)
#11     GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:182:24)
#12     TapGestureRecognizer.handleTapDown (package:flutter/src/gestures/tap.dart:463:11)
#13     BaseTapGestureRecognizer._checkDown (package:flutter/src/gestures/tap.dart:256:5)
#14     BaseTapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:234:7)
#15     GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:156:27)
#16     GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:222:20)
#17     GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:198:22)
#18     GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:156:7)
#19     GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:102:7)
#20     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:86:7)
#24     _invoke1 (dart:ui/hooks.dart:273:10)
#25     _dispatchPointerDataPacket (dart:ui/hooks.dart:182:5)
(elided 3 frames from package dart:async)

When the exception was thrown, this was the stack:
#0      TickerProviderStateMixin.dispose.<anonymous closure> (package:flutter/src/widgets/ticker_provider.dart:185:13)
#1      TickerProviderStateMixin.dispose (package:flutter/src/widgets/ticker_provider.dart:203:6)
#2      StatefulElement.unmount (package:flutter/src/widgets/framework.dart:4435:12)
#3      _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1748:13)
#4      ListIterable.forEach (dart:_internal/iterable.dart:41:13)
...
════════════════════════════════════════════════════════════════════════════════════════════════════

════════ (2) Exception caught by widgets library ═══════════════════════════════════════════════════
_MaterialState#df654(tickers: tracking 1 ticker) was disposed with an active Ticker.
════════════════════════════════════════════════════════════════════════════════════════════════════

Steps to Reproduce

Run flutter create bug.
Update the files as follows: ...
...

Expected results:
Actual results:

Logs

[√] Flutter (Channel stable, v1.12.13+hotfix.5, on Microsoft Windows [Version 10.0.18362.592], locale en-GB)
    • Flutter version 1.12.13+hotfix.5 at D:\flutter\flutter
    • Framework revision 27321ebbad (7 weeks ago), 2019-12-10 18:15:01 -0800
    • Engine revision 2994f7e1e6
    • Dart version 2.7.0

This is actually a mininal example of what i'm achieved. i removed fetching the data online and everything seems to be working fine. I will check my code again. thank you
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);

  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {

  Map<String, List<String>> data = const {
    "key1": ["data 1.1", "data 1.2", "data 1.3"],
    "key2": ["data 2.1", "data 2.2", "data 2.3"],
    "key3": ["data 3.1", "data 3.2", "data 3.3"]
  };
  List<String> subCategories = [];
  @override
  void initState() {
    super.initState();
    subCategories.addAll(data[data.keys.first]);
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Row(
        children: <Widget>[
          Expanded(
            flex: 2,
            child: ListView.builder(
              itemBuilder: (_, index) => _buildItem(_, index, data.keys.elementAt(index)),
              itemCount: data.keys.length,
              physics: const AlwaysScrollableScrollPhysics(),
            ),
          ),
          subCategories.length !=0 ? Expanded(
            flex: 5,
            child: GridView.builder(
              itemCount: subCategories.length,
              gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(
                  crossAxisCount: 2
              ),
              itemBuilder: (context, index){
                return InkWell(onTap: () {

                }, child: Text(subCategories.elementAt(index)));
              },
            ),
          ) : SizedBox(),
        ],
      ),
    );
  }

  static const double kDropdownMenuItemHeight = 50.0;

  int _activeIndex = 0;

  Widget _buildItem(BuildContext context, int index, String key) {
    return index != _activeIndex
        ? DecoratedBox(
            decoration: new BoxDecoration(
              color: Colors.grey[100],
              border: new Border(
                bottom: Divider.createBorderSide(context),
                top: Divider.createBorderSide(context),
              ),
            ),
            child: Material(
              color: Colors.transparent,
              child: InkWell(
                onTap: () {
                  setState(() {

                    subCategories.clear();
                    subCategories.addAll(data[key]);
                      _activeIndex = index;
                  });
                },
                child: Padding(
                  padding: const EdgeInsets.only(left: 8.0),
                  child: Row(
                    mainAxisAlignment: MainAxisAlignment.center,
                    crossAxisAlignment: CrossAxisAlignment.center,
                    children: <Widget>[
                      Expanded(
                        child: Text(
                          key,
                        ),
                      ),
                    ],
                  ),
                ),
              ),
            ),
          )
        : DecoratedBox(
            decoration: BoxDecoration(
                color: Colors.white,
                border: Border(
                    top: Divider.createBorderSide(context),
                    bottom: Divider.createBorderSide(context))),
            child: Container(
              child: Row(
                mainAxisAlignment: MainAxisAlignment.center,
                crossAxisAlignment: CrossAxisAlignment.center,
                children: <Widget>[
                  Container(
                      color: Colors.pink[400],
                      width: 3.0,
                      height: kDropdownMenuItemHeight),
                  Expanded(
                    child: Padding(
                      padding: const EdgeInsets.only(left: 5.0),
                      child: Text(
                        key,
                      ),
                    ),
                  ),
                ],
              ),
            ));
  }
}

In material_ink_splash.dart, _alphaFadeInController is never dispose in  _handleAlphaFadeInStatusChanged if the fading animation is never  completed. I noticed that. when i hold down the InkWell onTap and complete the fading animation, this error _MaterialState#2ac06(tickers: tracking 1 ticker) was disposed with an active Ticker. is not shown.
I got the error. Was using a custom splashFactory: InkSplash.splashFactory to speed up the fading effect. The current fading effect on InkWell doesn't work quite well as for the native app.


Pop concert Peer code review

Hi @kayjeee, good job so far on the Portfolio project. Below are some ideas and suggestions about the project, cheers! 👍🏽
HIGHLIGHTS 🎯

The project is well structured and organized into folders/directories ✅
The project has comprehensive README documentation ✅
The project has been deployed properly and is accessibly viewed via the demo link provided ✅

RECOMMENDATIONS 🤔

We recommend you add border hovering effects in your main program section to match the design guidelines.
You can try to fix the height and width of your participant's images so that they may appear similar.
Also put extra effort into your headings so that they may be visible.
Help the project to be readable and easy to maintain by adding descriptive comments in your files 🥇

https://github.com/microverseinc/readme-template


Tries to use a TVDB association when it is a movie

Reported by Craige1Emmott, May 28, 2012
Simple check to see if the anidb anime type is a move/series/special/ova to check whether to use the tv db or the moviedb.

By 'done', can i know what exactly do you mean? I remember last time asking something like this though, where if it is a movie, it will take the info from moviedb to show in the episode overview. I guess this isn't it?

Yeah that's what it is. Is it not working for you?

Umm... no i guess? Here's an example:

The moviedb link was connected manually by me. Actually, all standalone movies moviedb link was manually connected by me (by all i mean those downloaded after i changed over to beta release).
And as you can see, no episode overview and i just checked the moviedb link for that and it does have a description.
Is it suppose to be like this?

You won't get any episode images, but the fanart should display.
Look at the images tab to see if it has downloaded anything, if you you might need to refresh the info
Here is Mine

this have always bothered me about JMM, it should be able to use the fanart as a thumbnail in the worst case, just to use the wasted space and fill out the pages.
could make it so if there isnt a thumbnail at all for any file episode or movie or whatever then it should use the most popular fanart or a fanart the user set for that group.
i think this sounds like a good idea and a middle ground, its not like people cant upload thumbs or pictures themself for MDB and so on either to use this.

Ah, the images? If that's it then yeah i got it. I hope im not being picky here but yeah what Arefin said was kinda nice to have. Using the fan art instead of that 404 chick.


Support using magento from an existing tree

This patch adds support for using an existing magento tree (i.e. a git tree) instead of downloading.
I am using this with https://github.com/mageinferno/magento2-docker-compose:

Git clone magento codebase to 'html'.
(optionally) , git clone magento2-sample-data to html/magento2-sample-data
Set docker-compose.override.yml to:

version: "3"

services:
  app:
    volumes: &appvolumes
      - ./html:/var/www/html

  phpfpm:
    volumes: *appvolumes

  setup:
    volumes: *appvolumes
    environment:
      - M2SETUP_USE_EXISTING_MAGENTO=true

Run docker-compose run --rm setup like usual.

If M2SETUP_USE_SAMPLE_DATA = true but html/magento2-sample-data does not exist, setup will automatically git clone it for you.
If you accept this pull request I would be happy to document this option in the mageinferno/magento2-docker-compose README.md (I will submit a PR).

I'm not fond of this approach, as existing Magento installs should not be using the setup service at all. Sample data is typically only ever used only at setup time, never after an existing codebase is already setup. I'm not quite sure I see any benefit of having this code added.

The use case is to get a reproducible development environment up and running using magento from a git repo in one step.
Is there a different way to achieve this?

If you want a snapshot of a dev environment, I would dump out the sql from the snapshot you want, and use it to populate new installs. No reason to run setup again.

I agree that dumping/loading a sql snapshot will be necessary.
Running ./bin/magento (with all the parameters passed in mage-setup-raw) also seems necessary to bootstrap a new dev environment.  At minimum we need it to create app/etc/config.php and env.php.  I don't know what else it all does (I am new to Magento).  That's why I thought it made sense to run setup for this use case.  I still don't know what the alternative would be.

If you are running setup, you want to pull down an entirely new version of the Magento codebase -- you don't want to use anything that is pre-existing. So this would include installing Magento from either Composer or an Archive.
Anything other than that, such as using an existing codebase of any kinda, would be classified as an existing install. In which case, you would never run setup again, and will be using existing codebase including media and database. That is up to the integrator to set this up, but this would most likely involve doing a mysql import of an existing database, and mounting a volume from the host with the existing code assets.


python 2.7 raw_input does not return when debugging scripts in integratedTerminal

Version: 1.48.0-insider
Commit: db40434f562994116e5b21c24015a2e40b2504e6
Date: 2020-08-12T08:04:29.917Z
Electron: 7.3.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Linux x64 5.4.0-42-generic
Steps to Reproduce:

Create a script that receives input from the user and prints it.

response = raw_input("Who are you?")
print("Hello %s" % response)

Run this script in the debugger using the standard current file in integratedTerminal

The script runs in the debugger and starts taking input in the terminal, however, the script never returns the input and never returns from the raw_input function.
If you put a breakpoint on the print statement, the breakpoint is never hit.

Does this issue occur when all extensions are disabled?: No
You would need extensions enabled to debug python

/extPython


Make 1.0.0-alpha release

[x] SWR ready: NREL/DOE agreement
[x] finalize documentation

[x] layout-to-LCOE stack example

[x] one-shot model evaluation

[x] all components built
[x] running
[x] all components documented
[x] all functionality unit-tested

[x] optimization w/ COBYLA

[x] all components built
[x] running
[x] all components documented
[x] all functionality unit-tested
[x] pared-down example running as system test

[x] master documentation

[x] README/intro page

[x] introduction
[x] installation instructions? port from readme, remove PyPI ref
[x] current capabilities
[x] brief roadmap

[x] how-to & tutorials: for now symlink to examples/LCOE_stack/LCOE_analysis.ipynb
[x] reference: page to point to docstrings for alpha/beta releases
[x] explanation: narrative-style intent of the work (skip)
[x] example of layout-to-landuse stack optimization
[x] Configure GitHub Pages deployment and hosting

[x] Add CI workflow (done in https://github.com/WISDEM/Ard/pull/29/commits/0f9e98a32216ebcae20f6e10b7ea88e1af0bf255)
[x] Configure GitHub repo settings to host the docs
[x] Verify that this page exists as expected: https://wisdem.github.io/Ard

[x] PR to main
[x] tag release
[x] switch main to default branch? or not, understanding consequences (decided not)
[x] make GH repo public
[x] SWR followup

[x] Once the software has been posted publicly on an NREL-controlled repository under an open-source license, please send a message to <<NAME REDACTED>> in our legal office to confirm (1) the URL where the software can be accessed and (2) which open-source license you used.
[x] adding a reference to the NREL Software Record number within the README file of the repository

complete with v1.0.0-alpha


Identify key quantities/ref. pts

Suggestion to build into the template a method for extracting key reference points from the output file (when provided or converted directly in the template). Options of incorporating them into the template is creating a pre-made chunk so users can refer to the numbers using in-line code or set them as parameters in the YAML in addition to species, region, and office (already added as an option).
sb <- output[grep("(?=.*spawning_biomass)(?=.*target)", output$label, perl = TRUE), "estimate"]

yaml <- paste(yaml, "param: \n sbtgt: sb)

Edit:
Key quantities:
(not in any particular order)

[ ] Start year
[ ] End year
[ ] terminal total fishing mortality
[ ] F/Ftarget
[ ] Ftarget
[ ] B (terminal year; Bcurrent)
[ ] Btarget
[ ] Total landings/catch
[ ] SBtarget
[ ] M
[ ] BMSY
[ ] SBMSY
[ ] Steepness
[ ] R0
[ ] Female SB (maybe?)

Location to place them in create_template.R:
https://github.com/nmfs-ost/asar/blob/890a0c980b47d7d9d48e3c9c3348a38ceae6fa95/R/create_template.R#L549-L554

Key quantities:
(not in any particular order)

[ ] Start year
[ ] End year
[ ] terminal total fishing mortality
[ ] F/Ftarget
[ ] Ftarget
[ ] B (terminal year; Bcurrent)
[ ] Btarget
[ ] Total landings/catch
[ ] SBtarget
[ ] M
[ ] BMSY
[ ] SBMSY
[ ] Steepness
[ ] R0
[ ] Female SB (maybe?)

Location to place them in create_template.R:
https://github.com/nmfs-ost/asar/blob/890a0c980b47d7d9d48e3c9c3348a38ceae6fa95/R/create_template.R#L549-L554

Added into the create_template fxn as a chunk (commit), but quanitites were not added from the output file yet


Cannot Import Exported Parquet Database

When a database is exported, all column names are prefixed by a.. A property labeled id is now a.id inside the parquet file. This is a problem because the explorer then cannot recognise the dataset if you try loading it:

Probably the best solution would be for the core to support syntax like the following:
COPY table TO 'output.csv'

This is a known problem, and would solve issues with importing exported data elsewhere as well.
Supporting a. prefixes solves this issue as well.

Fixed in #207


Added TelegramHandler

Hello guys,
I created a handler for sending log messages to Telegram users, adding another means of communication for the project.
I hope you enjoy :)

Thanks but as I don't see this as a very broad use case and I'm trying to avoid adding too many new handlers in core, please submit this to packagist as a third party package instead and add it to https://github.com/Seldaek/monolog/wiki/Third-Party-Packages


Add extra column with page view/ping UUID in data model

Related to this issue: https://github.com/snowplow/snowplow-javascript-tracker/issues/369

Would this be covered by the domain_sessionid field? (It isn't currently populated by any tracker.)

No the session ID would be separate - would span multiple page views...
On 15 May 2015 12:22 pm, "Fred Blundun"<EMAIL_ADDRESS>wrote:

Would this be covered by the domain_sessionid field
https://github.com/snowplow/snowplow/blob/master/3-enrich/scala-common-enrich/src/main/scala/com.snowplowanalytics.snowplow.enrich/common/outputs/EnrichedEvent.scala#L230?
(It isn't currently populated by any tracker.)
—
Reply to this email directly or view it on GitHub
https://github.com/snowplow/snowplow/issues/1684#issuecomment-102373102.

Indeed Alex. The purpose of this page view ID is to make the aggregation of page view and ping events into a single row easier. The page view event would have a new UUID, and each subsequent page ping on that page would have the same UUID (until a new page view event occurs).
For example: If a user opens 2 different pages in 2 tabs, and switches between them, the page ping events will alternate. While it's possible to roll these events up into the original page view event during the data modeling step, it's (needlessly) complicated to cover all edge cases in SQL. It's also an issue when the derived views are updated using only incremental data.
The page view UUID would make this all a lot simpler.

I see - thanks for explaining!

This has been implemented.