Shape fill shape background instead of shape color, and black with missing data

I added fillColor to the panel config, on the "DSO connection" on top left and inverters on the bottom. I expected the shape to be filled with the fillColor, but instead the background of the shape image gets filled with the color.
  DSO Generation:
    dataRef: "CT:sum-active"

    fillColor:
      gradientMode: "hue"
      thresholds:
        - {color: "semi-dark-green", level: 0}
        - {color: "orange", level: 500}
        - {color: "red", level: 1000}

The style of the shape is as follows:
pointerEvents=1;verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;fillColor=rgba(50, 172, 45, 0.97);html=1;verticalAlign=top;strokeWidth=1;shape=mxgraph.electrical.signal_sources.ac_source;strokeColor=#000000;fontColor=#000000;fontSize=14;fontStyle=1
Furthermore, when data is missing, the shape background becomes black and all other labels are missing in the figure. I would rather use the last known data value, since not all data may always be nicely linked up.

Kind regards,
Dennis

The shape fill does appear to work with the voltage shape, for this I now have site config:
---

#------------------------------------------------------------------------------
# YAML Aliases to simplify maintenance
thresholds:
  powerThresholds:
    - {color: "semi-dark-green", level: 0}
    - {color: "orange", level: 500}
    - {color: "red", level: 1000}
  voltageThresholds:
    - {color: "#semi-dark-green", level: 0}
    - {color: "orange", level: 245}
    - {color: "red", level: 250}

And panel config:
  VT:L1:
    dataRef: "VT:1"
    label:
      separator: "replace"
      units: "volt"
      decimalPoints: 1
    labelColor:
      gradientMode: "none"
      thresholdsRef: "voltageThresholds"
    fillColor:
      gradientMode: "hue"
      thresholdsRef: "voltageThresholds"
  VT:L2:
    dataRef: "VT:2"
    label:
      separator: "replace"
      units: "volt"
      decimalPoints: 1
    labelColor:
      gradientMode: "none"
      thresholdsRef: "voltageThresholds"
    fillColor:
      gradientMode: "hue"
      thresholdsRef: "voltageThresholds"
  VT:L3:
    dataRef: "VT:3"
    label:
      separator: "replace"
      units: "volt"
      decimalPoints: 1
    labelColor:
      gradientMode: "none"
      thresholdsRef: "voltageThresholds"
    fillColor:
      gradientMode: "none"
      thresholdsRef: "voltageThresholds"

The voltage panel looks like this, however I expected to see some semi-dark-green for voltage L1, L2, and L3, while L1 and L2 get orange and L3 gets black with gradientMode "None" (The L3 value is available though):

ok, there's a few things to unpack in here:

yaml has reserved characters like ':', but it is a super set of json. So if you need the ':' character in your keys you should be able to quote the key, just as you would have to in json. I'm not saying this is related, just an fyi as the yaml keys look odd with a ':' in them and unquoted so that might be contributing to the problem.
re where the fill color gets applied, the panel looks up the element-id you've defined in yaml and then in the svg dom recurses in storing away the elements so that it can in the render pass apply the correct label/fill color on the whole element tree. Quite possibly it's not doing the right thing with all widgets. The only way I can look at it though is to have an example svg that demonstrates the problem. If you also add a yaml leveraging the test-data series the panel creates it will make it as simple as possible to see the problem.
re the null data and whether the panel should support 'last-not-null', that's more nuanced. Playing devils advocate on it I think there's two query functions that are relevant. keepLastValue(INF) can be added to the query to effectively mimic 'last-not-null'. But even better, that also allows you to time-limit it. i.e. not lock in the last value that could be quite historical and cause you to misread what's happening now. The other one is transformNull(0). That one I use a lot with rates because zero flow results in a null rate. I think use of these functions in the queries probably makes more sense than supporting 'last-not-null', especially given the timeSlider. But I just want to put these ideas out there so you can respond. If they don't work for you it would be good for me to understand how your usecase differs.
last one is what happens to the fill if there is a null value. That is looking like a bug. In that I'd expect it not to drive the color but instead it appears to be driving it black. I'll start looking into this one.

So a few points, do come back and say if I'm misunderstanding where you're coming from or have missed any points you are making?

Thanks for your quick response!

* yaml has reserved characters like ':', but it is a super set of json. So if you need the ':' character in your keys you should be able to quote the key, just as you would have to in json. I'm not saying this is related, just an fyi as the yaml keys look odd with a ':' in them and unquoted so that might be contributing to the problem.

I first had success with quoting the ":" with a backslash "\:", later it started working without for some reason, even spaces in the keys work as long as they are not preceded with a ":". The YAML key / value separator seems to be ": ".

* re where the fill color gets applied, the panel looks up the element-id you've defined in yaml and then in the svg dom recurses in storing away the elements so that it can in the render pass apply the correct label/fill color on the whole element tree. Quite possibly it's not doing the right thing with all widgets. The only way I can look at it though is to have an example svg that demonstrates the problem. If you also add a yaml leveraging the test-data series the panel creates it will make it as simple as possible to see the problem.

I can reproduce the shape background problem by just changing the style (see message above) on the right-most element of your default SVG and data.

Here is the updated drawio/SVG file:

* re the null data and whether the panel should support 'last-not-null', that's more nuanced. Playing devils advocate on it I think there's two query functions that are relevant. **keepLastValue(INF)** can be added to the query to effectively mimic 'last-not-null'. But even better, that also allows you to time-limit it. i.e. not lock in the last value that could be quite historical and cause you to misread what's happening now. The other one is **transformNull(0)**. That one I use a lot with rates because zero flow results in a null rate. I think use of these functions in the queries probably makes more sense than supporting 'last-not-null', especially given the timeSlider. But I just want to put these ideas out there so you can respond. If they don't work for you it would be good for me to understand how your usecase differs.

The keepLastValue sounds like a nice way, but cannot find how to use this in an influxql query, or is this something you can enable within your plugin, or is it Graphite specific? I was also playing with the "query option" to increase the minimal time interval to more than a few seconds, this partly solves this, but does not always work for the first and last slider position  (or "now" without slider). In my case the data comes from voltage and current sensors, their values vary quite a lot during the day, changing Null to a fixed value like 0 would disturb the series.

* last one is what happens to the fill if there is a null value. That is looking like a bug. In that I'd expect it not to drive the color but instead it appears to be driving it black. I'll start looking into this one.

Hope you can easily find what is driving Null values to black shape color.

So a few points, do come back and say if I'm misunderstanding where you're coming from or have missed any points you are making?

My use-case may indeed be somewhat different from yours, your plugin seems to quite general purpose:-)
Kind regards,
Dennis

Hi Andy,
I found the part of the style that may trigger the rectangle background around the ellipse shape, this seems to be triggered by the "pointerEvents=1;". I removed this part of the shape style and now the background color is confined to the ellipse, wouldn't have guessed based on the style property name....
Just compared working style with the non-working style for educated guess;-) Didn't find pointerEvent description in drawio shape style faq
Kind regards,
Dennis

There also seems to be a problem with the foreground color of the voltage shape, the black V in the circle that is in the original turns to background color when the plugin fills the background. I remember that flowcharting uses a draw.io API to manipulate the shape background, are you also using a specific API to manipulate the shapes?
Here is the part of the shape that draws the letter V in the foreground (Style panel / Edit / Edit Style):

  <background>
    <ellipse h="90" w="90" x="0" y="0" />
  </background>
  <foreground>
    <fillstroke />
    <fontsize size="50" />
    <text align="center" str="V" valign="bottom" x="45" y="70" />
  </foreground>

The plugin turns this into (without the V):

The other shape with the "~" in the circle is a drawing inside the shape, which stays visible.

  <background>
    <ellipse h="60" w="60" x="0" y="0" />
  </background>
  <foreground>
    <fillstroke />
    <path>
      <move x="15" y="30" />
      <arc large-arc-flag="0" rx="8" ry="8" sweep-flag="1" x="30" x-axis-rotation="0" y="30" />
      <arc large-arc-flag="0" rx="8" ry="8" sweep-flag="0" x="45" x-axis-rotation="0" y="30" />
    </path>
    <stroke />
  </foreground>

I'm going to treat this issue as the following:

lastNotNull support wanted because some data sources don't have the graphite keepLastValue query function available.
When the data is null, the fill color is still being driven when it shouldn't be. I'll look into that and sort it out if I find a problem.

Re the shape fill color problems, it's all a bit too complex to take forward in this form. Rectangle fill colors work correctly. database fill colors work correctly. I'm sure circle and ellipse fill colors also work correctly. And that range of shapes seems to give you the support you need. If you still think this is a problem for you, can you raise a separate issue with an attached full svg that demonstrates the problem. I'm open to making it as robust as possible but whilst the problem doesn't appear blocking it's going to be a lower priority.

Great solution for now, thanks!
Because of the number of drawio shapes, there may be more shapes that have background/foreground issues like described above. I'll raise a new issue with SVG file example when it gets out of control;-)

Small update: I changed the voltage shape to use paths instead of the letter V to keep using the shape within the flow panel.

As of 1.6.0 lastNotNull can be configured in the yaml to make sparse data look solid. And when data is null, the color drives now drive to the original fill and label colors. So should be good now. https://grafana.com/grafana/plugins/andrewbmchugh-flow-panel/

I found the following config in the updated YAML, testDataSparse does not seem to enable lastNotNull for metrics from other datasources? Or is there another configuration for that?
With v1.6.0, the colors now seem to revert to the original color from the SVG when data is NULL, no longer black.
Version 1.6.0 onwards: This section details test settings used in validating the functionality.
They provide a way to drive particular code pathways.
test:
This changes the test timeSeries to be sparse and is used as a way to demonstrate the
difference between datapoint 'last' and 'lastNotNull'. Undefined defaults to false.
testDataSparse: false

I found the following config in the updated panelConfig YAML, testDataSparse does not seem to enable lastNotNull for metrics from other datasources? Or is there another configuration for that? With v1.6.0, the colors now seem to revert to the original color from the SVG when data is NULL, no longer black.
# Version 1.6.0 onwards: This section details test settings used in validating the functionality.
# They provide a way to drive particular code pathways.
test:
  # This changes the test timeSeries to be sparse and is used as a way to demonstrate the
  # difference between datapoint 'last' and 'lastNotNull'. Undefined defaults to false.
  testDataSparse: false

Sorry, should have included the config reference. The config to drive lastNotNull can be set at the panel level, the cell level or the cell attribute level. See:
https://github.com/andymchugh/andrewbmchugh-flow-panel/blob/main/yaml_defs/panelConfig.yaml#L90
https://github.com/andymchugh/andrewbmchugh-flow-panel/blob/main/yaml_defs/panelConfig.yaml#L125
https://github.com/andymchugh/andrewbmchugh-flow-panel/blob/main/yaml_defs/panelConfig.yaml#L140 ...

great! That appears to work nicely on the panel level
didn't manage to trigger it at deeper level yet...
# This is the panel level default which when undefined defaults to 'last'. It can be overriden at the cell
# level and the cell-attribute level.
#
# Valid values are undefined, "last", "lastNotNull"
datapoint: "lastNotNull"

cellIdPreamble: "cell-"
cells:
  ...


Fix for blank page on every second page refresh

Fix for blank page on every second page refresh due to "restricted MIME type (text/html)" error

Oh, what a pitty. Man, I have to adjust my notifications :(
Thanks for this wonderful PR but I did not noticed it and fixed it the same way already.
Cheers


Create ittoluca

@GarciHard http://toluca.tecnm.mx/contacto/ says that email domain for the university is @Ittoluca.Edu.Mx, not @ittoluca.mx. Could you please clarify what is the university email domain, and what page at the official website confirms that it is @ittoluca.mx. Thank you!

@GarciHard You might miss my previous comment. Please reply.

@philipto recently my university changed the email domain, now we got a Microsoft 365 account with an @toluca.tecnm.mx domain.
The other domains like @Ittoluca.Edu.Mx or @ittoluca.mx are deprecated
In the main page of Instituto Tecnológico de Toluca newWebPage or Instituto Tecnológico de Toluca olderWebPage you can find a section called "Por un mejor tecnológico" you can see three email account with @toluca.tecnm.mx domain. (:

@GarciHard Thank you for the update. If the domain is @toluca.tecnm.mx, the file path in the request has to be lib/domains/mx/tecnm/toluca.txt. Please rename, and I merge the request as soon as possible. Thank you!

@GarciHard Pull request merged. Thank you!

@philipto thank you :)


Update DC2 tutorial notebooks with new datasets (Run2.1i)

Initiated at the DESC Paris 2019 Hack Day, we are replacing the tutorial notebooks with datasets from Run2.1i.
To avoid duplicate work, in case others are replacing the datasets, I will begin with the object_gcr... notebooks. If getting to additional ones after or during the hack, I will comment here which those are that I am updating.
To make the updates easier I will include a checklist:

[ ] dia_sn_vs_truth.ipynb
[ ] dia_source_object_stamp.ipynb
[ ] dm_butler_lensing_cuts.ipynb
[ ] dm_butler_postage_stamps.ipynb
[x] dm_butler_skymap.ipynb
[x] extragalactic_gcr_cluster_colors.ipynb
[x] extragalactic_gcr_cluster_members.ipynb
[x] extragalactic_gcr_hod.ipynb
[x] extragalactic_gcr_mass_relations.ipynb
[x] extragalactic_gcr_redshift_dist.ipynb
[ ] matching_fof.ipynb
[ ] matching_stack.ipynb
[x] object_gcr_1_intro.ipynb
[x] object_gcr_2_lensing_cuts.ipynb
[x] object_gcr_3_challeneges.ipynb
[ ] object_gcr_4_photoz.ipynb
[ ] object_pandas_stellar_locus.ipynb
[ ] object_per_visit_postage_stamp.ipynb
[ ] object_spark_1_intro.ipynb
[ ] postgres_forcedsource.ipynb
[ ] postgres_object_1_intro.ipynb
[ ] postgres_object_2.ipynb
[ ] truth_gcr_intro.ipynb
[ ] truth_gcr_variables.ipynb

Here I am making note of the tutorial notebooks which need GCRcatalogs, that are not currently available, to be updated:

object_gcr_4_photoz.ipynb needs dc2_object_run2.1i_with_photoz
dia_sn_vs_truth.ipynb needs dc2_truth_run2.1_variable_summary,dc2_truth_run2.1_variable_lightcurve, dc2_dia_source_run2.1i_test, dc2_dia_object_run2.1i_test
-dia_source_object_stamp.ipynb needs dc2_dia_source_run2.1i_test and dc2_dia_object_run2.1i_test
-matching_fof.ipynb needs dc2_truth_run2.1_static

will continue to update as I continue through more notebooks

Partly fixed by #113, and superseded by #130.


Adding gosec and lint, fixing null_type overflow

ChangeLog:

Adding gosec linting
Adding static type to enum
fixing nulltype overflow
Trying out gotestsum as an alternative to go-junit-report.xml

Welcome to Codecov :tada:
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


I keep paying for over and over and over fixes that don't fix anything

Describe the bug
I am just bringing the site back up and the bot is not able to preview it. I report that nothing is showing it goes through another reset of some code and I pay for that then it does not preview and I pay again and again and again
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-dmjd7d
Steps to reproduce
I ask for the website landing page to be set up for transfer to a host server and instead I am stuck in a loop where it cannot resolve the problem and I keep paying for it to try every time
Expected behavior
I expect the site preview to come up
Screen Recording / Screenshot
No response
Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 130
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 258279077,
  "usedJSHeapSize": 234642921,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = kenplain
Chat ID = 44fe996d9af4

Additional context
I've had this problem over and over I am unable to get two websites built and deployed

Appreciate the feedback! At times there are programming challenges that are too complex for the AI to solve. Sometimes pasting any error messages from the terminal into the chat is successful in resolving issues. At other times, manual intervention is required to prevent excessive token usage. This page here has a number of helpful insights on using Bolt effectively while maximizing token efficiency.
Regarding the preview window not displaying, this is a known issue and we are tracking it here: #1791. Appreciate your patience as the team continues to make improvements!


Add plugin to homebridge-config-ui-x

Hey,
is it possible to add your plugin to homebridge-config-ui-x? That would make things a lot easier! Thanks!
Best regards,
benno

Added in the latest version.


[python] add multi account metrics

Issue #, if available:
Description of changes:
add multiple account metrics script in python
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Made some updates. If that looks good click approve and I'll merge!


Refactor LookupContext creation into separate functions

Closes #593

I had to split the first commit into two so that it's easier to review:

https://github.com/o1-labs/proof-systems/commit/e301d918c1386d6b55d40b5c74fa5c07c349c5d8
https://github.com/o1-labs/proof-systems/commit/3c59545e3f5fe7271ea808cfebf4f82095daf150


CredReuseRejectedException.java - Add copyright and license header.

CredReuseRejectedException.java - Add copyright and license header.
Originally posted by @trbehera in https://github.com/secure-device-onboard/pri-fidoiot/pull/139#discussion_r578910015

copyright and license header is present now.


jj2lsj Level Index Limitations

To whom it may concern,
I am running some CSF files from FAC through Grasp's jj2lsj module. It seems that the jj2lsj outputs "*.uni.lsj.lbl" cannot print out triple-digit level indexes, only single and double digit levels. Triple digit level indexes are denoted with "**". Is there a workaround for this issue?

Hi Steven! Thanks for your message!
Yes we are aware of this - "large-case" versions of the codes supporting +99 eigenstates simultaneously are in testing phase, and this should hopefully be added to master within a not too long time. Keep an eye out for updates on master. And meanwhile you can try to edit the jj2lsj print out for the sake of using it with FAC, but be aware of that altering the format will prohibit other parts of grasp to read the files properly - i.e. the transition codes.
And since you use FAC, please make sure you reference grasp in your work, and in particular jj2lsj - a lot of hard work has gone into the development of these codes. I'm sure you do, just many that forget.
Cheers,
Jon / Uppsala University

Hi Jon,
Thank you for the response! I am glad to hear that the solution is in testing; I will keep an eye out for the new version.
I will try to document my efforts in getting the index print w/ length 3 working; most likely I will just clone the grasp branch and recompile a separate version with my changes included. That should be a workaround for now.
Thanks again for everyone working on this; jj2lsj is a very powerful (and helpful) code, so I'll be sure to reference appropriately!
Best wishes,
Steve

Dear all,
I've found a workaround for this problem. On line 1710 of jj2lsj_code.f90, change 'I2' to 'I3' in the write(57) statement and recompile. For some reason unknown to me, the executable in /build/bin/ does not appear to be affected by this change, but the executable in /bin/ does. I am closing this ticket.
Best wishes,
Steve


When to release a final version which can be used in production environment?

We're testing new release in our prod-env ,  Spring Boot starter depends on dubbo2.5.11 and is waiting for its release

Checkout master and build source , please wait for our release in Apache repository.


Support generic actions in Form.for_action/3

Is your feature request related to a problem? Please describe.
I'd like to have a generic way to create a form for all my resource actions. Right now, generic actions need to have their forms built manually since there's no generic Form.for_action/3.
Describe the solution you'd like
I'd like ash and ash_phoenix to support any action to be passed to Form.for_action/3, even if it's generic, When a generic action is passed, I should receive a form that has fields for all arguments of that generic actions. Obviously, there's no attributes to include.
Describe alternatives you've considered
It's not that difficult to generate a form myself with a schemaless Ecto changeset, but it's a different API instead of something more convenient.
Express the feature either with a change to resource syntax, or with a change to the resource interface
# in resource
 actions do
   action :foo do
     argument :bar, :string, allow_nil?: false

     # do things....
   end
 end

# in controller
  form = AshPhoenix.Form.for_action(Resource, :foo)
  # ^ this should return a form instead of raising a CaseClauseError
  # alternatively add a `for_generic_action/3` but I'd like the ergonomics of that less

Completed in 0586599c938c0883a5ca8a31d873e0183d11f51a


feat: Add new fields to copy job statistics

Specifically, [copiedRows, copiedLogicalBytes] are added to CopyStatistics.
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[x] Make sure to open an issue as a bug/issue before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[x] Ensure the tests and linter pass
[x] Code coverage does not decrease (if any source code was changed)
[x] Appropriate docs were updated (if necessary)

Fixes #3206  ☕
If you write sample code, please follow the samples format.

Thanks for the review. Updated with the suggestions.


Before and After row data is empty

Please provide the following details.

Operating System: Linux
PHP Version: 8.1
php-mysql-replication Version: 7.0
*mysql version Percona 8.0.29

Replica server in binlog_format = ROW
binlog_row_image = FULL
All write event have before and after array empty.
I receive all events but write events have all before and after section empty.
I presume my user need a specific authorization to be able to read binlog events.

I have found my user doesn't have select GRANT!!!


Cannot install manually HAXM in MacOS Catalina 10,15

Describe the Bug

Summary:
Host Environment

HAXM version: 7.7.0
Host OS version: macS 10.15.0
Host OS architecture: x86_64
Host CPU model: intel Core i5
Host RAM size: 16GB
(Optional) Host computer model: Mac Mini 2012

Guest Environment

Android Emulator or QEMU version: 2020.3
Guest OS version: Android 11.0

Guest OS architecture:

To Reproduce
Steps to reproduce the behavior:

Download the file here https://github.com/intel/haxm/releases
Decompress the zip file
Open the DMG file, then run the installer (mpkg) contained inside.
Launch the mpkg file

Expected Behavior
Should display the welcome screen
Reproducibility
100%
Diagnostic Information

Screenshots:

Additional context

None

Thanks for your feedback. HAXM can only support up to macOS 10.14 as Apple introduced the new System Extensions mechanism for kernel driver.

I think Intel should ask Apple to whitelist HAXM kext by default, HAXM needs to be a kernel extension.

@wcwang so is there any solution or alternative for the recent macOS versions?

You may try to create or edit the configuration file ~/.android/advancedFeatures.ini and put the text HVF = on in it to enable HVF hypervisor. Thanks.


provider.reset_fork does not reset base fee

Environment information

ape and plugin versions:

$ ape --version
0.5.9

$ ape plugins list
Installed Plugins:
  vyper        0.5.2
  solidity     0.5.4
  notebook     0.5.0a2
  alchemy      0.5.4
  etherscan    0.5.5
  foundry      0.5.2
  risk         0.1.0a2

Python Version: Python 3.9.6
OS: macOS

What went wrong?
Looking to use the provider reset_fork(block_number: Optional[int]) function to programmatically reset the forked chain to a specified block number (i.e. not by specifying fork block number in ape-config.yaml).
When attempting to do this as in backtest_ape/base.py#L181, found the block.base_fee for the next mined block will be set as the base fee from the initial fork block number specified in the ape-config.yaml file, instead of the base fee for the new block_number looking to reset to.
This can lead to transactions that would have been included in the first block after the reset fork number not being re-included post fork with the error
VirtualMachineError: max fee per gas less than block base fee

From console:
$ ape console

INFO: Starting 'anvil' process.

In [1]: chain.blocks.head
Out[1]: Block(num_transactions=156, hash=HexBytes('0x1d4aca1bb3bd1ffca134d8ee321e7
f2acde5079ecfa12f35e57300a4beea6989'), number=16557788, parent_hash=HexBytes('0x65
d81b43a938bc515d0597938adfc319bca3b15a851e2afdc42fa94888b2ec85'), size=172990, tim
estamp=1675542299, gas_limit=30000000, gas_used=20573012, base_fee=23076701240, di
fficulty=0, total_difficulty=58750003716598352816469)

In [2]: start = 16048833

In [3]: chain.provider.reset_fork(start)

In [4]: chain.blocks.head
Out[4]: Block(num_transactions=153, hash=HexBytes('0xfd862789eddf413de6f6b7738a335
8cb1c1da182ba50593b21ae30b50fafb9fb'), number=16048833, parent_hash=HexBytes('0x42
6a71fce2d772015a56ce1086d7d688b45fdfee9c243355221f01f57d3cedc3'), size=66789, time
stamp=1669401467, gas_limit=30000000, gas_used=12830390, base_fee=9271428794, diff
iculty=0, total_difficulty=58750003716598352816469)

In [5]: chain.blocks.head.number
Out[5]: 16048833

In [6]: chain.mine()

In [7]: chain.blocks.head
Out[7]: Block(num_transactions=0, hash=HexBytes('0x5451144127ca3ffad8a5d3c037ce471a760894ffa0250cf825b3725291e21ec1'), number=16048834, parent_hash=HexBytes('0xfd862789eddf413de6f6b7738a3358cb1c1da182ba50593b21ae30b50fafb9fb'), size=518, timestamp=1669401485, gas_limit=30000000, gas_used=0, base_fee=23076701240, difficulty=0, total_difficulty=58750003716598352816469)

In [8]: chain.blocks.head.number
Out[8]: 16048834

In [9]: chain.blocks.head.base_fee
Out[9]:<PHONE_NUMBER>0

In [10]: chain.blocks[-1].base_fee
Out[10]:<PHONE_NUMBER>0

In [11]: chain.blocks[-2].base_fee
Out[11]:<PHONE_NUMBER>

In [12]: chain.blocks[-2].base_fee / chain.blocks[-1].base_fee
Out[12]: 0.4017657765542923

In [13]: chain.provider.reset_fork(16557788)

In [14]: chain.blocks.head
Out[14]: Block(num_transactions=156, hash=HexBytes('0x1d4aca1bb3bd1ffca134d8ee321e7f2acde5079ecfa12f35e57300a4beea6989'), number=16557788, parent_hash=HexBytes('0x65d81b43a938bc515d0597938adfc319bca3b15a851e2afdc42fa94888b2ec85'), size=172990, timestamp=1675542299, gas_limit=30000000, gas_used=20573012, base_fee=23076701240, difficulty=0, total_difficulty=58750003716598352816469)

In [15]: chain.blocks.head.base_fee
Out[15]:<PHONE_NUMBER>0

How can it be fixed?
The bug can be fixed by calling the setNextBlockBaseFeePerGas endpoint using the base fee fetched from the new chain.blocks.head post-reset as done here.
There's likely a way to avoid two calls by passing in a new value for the initialBaseFeePerGas param to the anvil_reset endpoint, but wasn't able to get that to work properly.

Good catch! Feel free to open a PR with either approach. 2 requests is not a big deal here I don't think.

Sounds good! Believe this also applies to ape-hardhat for the same function. Will make a PR there too if that works.


HDDS-4540. Add a new OM admin operation to submit the OMPrepareRequest.

What changes were proposed in this pull request?

Introduce a new OM client operation to "prepare" the OM quorum.
As a first pass, the client will just submit the request (HDDS-4480) and print out the response (Txn ID)
In a follow up JIRA, the subsequent steps to probe every individual OM for preparation completeness will be added.

What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-4540
How was this patch tested?
Manually tested.

Thanks @avijayanhwx LGTM +1

Thanks for the reviews @linyiqun, @errose28 & @swagle. I am merging this to unblock the efforts in HDDS-4569. If there are further review comments, they can be addressed in the following patches.


Fix type of ServerMemberDeleteEvent#user

Summary
ServerMemberDeleteEvent#user is inherited from ServerMemberEvent - there it says it returns a Member, which is wrong in the case of ServerMemberDeleteEvent: the user is not a Member anymore, they left the server. I tried calling Member methods on it in my bot and was getting confused why they wouldn't work - I think this PR would clear up the confusion for other people.

Added
Documentation for ServerMemberDeleteEvent#user - now it correctly says it returns a User.
Changed
Deprecated
Removed
Fixed

This was merged (with changes) via shardlab/discordrb@648596335da886b01ed87ff6f43c8bc2a7e0aae4 in the new repo and released in v3.4.0 and can be closed.


rakp1 failed, err: unpack session setup response failed, err: unpacked data is too short

I will report an error when I link the bmc using the following method
func (b BmcClient) BmcClient() (clients []*ipmi.Client, err error) {
	clients = make([]*ipmi.Client, 0)
	if len(b.Hosts) == 0 {
		return nil, errors.New("not found host")
	}
	for _, host := range b.Hosts {
		client, err := ipmi.NewClient(host.IP, host.Port, host.Username, host.Password)
		if err != nil {

			return nil, err
		}
		switch b.Protocol {
		case "lan":
			client.Interface = ipmi.InterfaceLan
		case "lanplus":
			client.Interface = ipmi.InterfaceLanplus
		case "open":
			client.Interface = ipmi.InterfaceOpen
		default:
			return nil, fmt.Errorf("not protocol type %s", b.Protocol)
		}
		if err := client.Connect(); err != nil {
			return nil, err
		}
		clients = append(clients, client)
	}
	return clients, nil
}

rakp1 failed, err: unpack session setup response failed, err: unpacked data is too short

You can have a try to use ipmi.NewClient function for lan/lanplus protocol, and use ipmi.NewOpenClient function for open protocol to create the ipmi.Client.

Thank you very much

I tried or failed. The tested server is Lenovo ThinkSystem SR650

What protocol is used to connect the failed machine?
Does ipmitool succeed to connect using the same protocol?
And you can enable debug by setting client.WithDebug(true) before client.Connect, and paste the log here.

client.Connect

I found the problem. If there is a client. Connect() session, this error will be reported. Then I launch a link and the next one will report this error


A release compatible with Quarkus 3

I see that the necessary changes are merged in master branch. Could we please get a release compatible with the recent Quarkus 3.0.0.Alpha3, so that we can test in Camel Quarkus?

see https://github.com/quarkiverse/quarkus-freemarker/pull/162

the build for the PR passed
but the release failed anyhow:
Switched to branch 'master'
M	deployment/src/main/java/io/quarkiverse/freemarker/deployment/FreemarkerProcessor.java
M	integration-tests/config-defaults/src/main/java/io/quarkiverse/it/freemarker/ConfigDefaultsResource.java
M	integration-tests/legacy-config/src/main/java/io/quarkiverse/it/freemarker/FreemarkerTestResource.java
M	integration-tests/template-sets/src/main/java/io/quarkiverse/it/freemarker/TemplateSetsResource.java
M	runtime/src/main/java/io/quarkiverse/freemarker/runtime/FreemarkerConfigurationProducer.java
M	runtime/src/main/java/io/quarkiverse/freemarker/runtime/FreemarkerTemplateProducer.java
Your branch is up to date with 'origin/master'.
error: cannot rebase: You have unstaged changes.
error: Please commit or stash them.
Error: Process completed with exit code 1.

any idea @gastaldi ?

@vsevel you have formatting issues in the code (probably caused when https://github.com/quarkiverse/quarkus-freemarker/commit/6d8274534b6fbf1803613f71013b5e23fc3b6a85 was merged).
I'll send a PR fixing the workflow scripts to prevent that from happening again

@vsevel fix in https://github.com/quarkiverse/quarkus-freemarker/pull/163

trying the release again from https://github.com/quarkiverse/quarkus-freemarker/pull/164

one more try https://github.com/quarkiverse/quarkus-freemarker/pull/166

Thanks @vsevel, I can see 1.0.0.Alpha1 in Central and I was able to test with it successfully.


can not move points

i want to move a point to move hand, leg,... but in move move just move all parts of body...pls update !

Thanks for your feedback. I will support it

Please check new version, Already support it


How to let user edit profile?

Core Library
@azure/msal-browser
Core Library Version
2.14.0
Wrapper Library
@azure/msal-angular
Wrapper Library Version
2.0.0-beta.4
Description
I'm trying to let user edit their profile in my application, but the only function that takes the user to edit profile page is the "loginRedirect" or "loginPopup". The problem is that, when I use that functions and the user complete the flow, the msal library gets two accounts on "getAllAccounts()" and none of them has the updated info.
MSAL Configuration
{
auth: {
clientId: '',
authority: '',
navigateToLoginRequestUrl: false,
redirectUri: ${window.location.origin},
},
cache: {
cacheLocation: 'localStorage',
}
}
Relevant Code Snippets
const client = new PublicClientApplication({
auth: {
clientId: '',
authority: '',
navigateToLoginRequestUrl: false,
redirectUri: ${window.location.origin},
},
cache: {
cacheLocation: 'localStorage',
}
})
client.loginRedirect()
Identity Provider
Azure B2C Custom Policy
Source
External (Customer)

Hi @luismiguelprs
Could you please provide your MSAL configuration and the code snippet from where you are using the MSAL APIs and configuring the login requests?
Also, what do you mean by "the only function that takes the user to edit profile page"?
Thanks.

Hi @hectormmg,
I've updated my questions with information you've requested.
When I say "the only function that takes the user to edit profile page", I would say that I've expected to have a method on the client to call the edit profile flow (for example: client.editProfileRedirect()).
That code of my sniped is executing after user was logged in, and, in this case, the user is take to edit profile page.

@hectormmg just to let it open...

Ran into this for msal-react as well - looking forward to findings/recommendations. Thanks!

@luismiguelprs @tiny-dancer Right now the way the B2C service is designed (separating different operations into different user flows) causes MSAL to see idTokens from different flows as completely different "users" (tokens are also not shared across flows). If and until that design changes there are 2 approaches you can take to work around the multiple account issue:

Filter the result of getAllAccounts and choose the account for the flow you wish to use. You can find the name of the flow the account belongs to in either idTokenClaims.tfp or idTokenClaims.acr on each account object.
When you receive a response from the edit profile flow immediately call logout with the account that was returned in the response. (This approach is demonstrated in the angular b2c sample here)


`odo application list' lists the same application several times if more than one component is deployed in it

[kind/bug]
What versions of software are you using?

Operating System:
Windows 10 Pro
Output of odo version:

odo version
odo v1.0.0-beta1 (1af22f3b)

Server: https://<IP_ADDRESS>:8443
Kubernetes: v1.11.0+d4cacc0

built from master.

I have two components node0 and node1 deployed under application app.
I am running
odo application list --project myproject -o json

Actual behavior
The output is below, note two list items with the same app name:
{
    "kind": "List",
    "apiVersion": "odo.openshift.io/v1alpha1",
    "metadata": {},
    "items": [
        {
            "kind": "app",
            "apiVersion": "odo.openshift.io/v1alpha1",
            "metadata": {
                "name": "app",
                "namespace": "myproject",
                "creationTimestamp": null
            },
            "spec": {
                "components": [
                    "node0",
                    "node1"
                ]
            },
            "status": {
                "active": false
            }
        },
        {
            "kind": "app",
            "apiVersion": "odo.openshift.io/v1alpha1",
            "metadata": {
                "name": "app",
                "namespace": "myproject",
                "creationTimestamp": null
            },
            "spec": {
                "components": [
                    "node0",
                    "node1"
                ]
            },
            "status": {
                "active": false
            }
        },
        {
            "kind": "app",
            "apiVersion": "odo.openshift.io/v1alpha1",
            "metadata": {
                "name": "app1",
                "namespace": "myproject",
                "creationTimestamp": null
            },
            "spec": {
                "components": [
                    "node4"
                ]
            },
            "status": {
                "active": false
            }
        }
    ]
}

Expected behavior
{
    "kind": "List",
    "apiVersion": "odo.openshift.io/v1alpha1",
    "metadata": {},
    "items": [
        {
            "kind": "app",
            "apiVersion": "odo.openshift.io/v1alpha1",
            "metadata": {
                "name": "app",
                "namespace": "myproject",
                "creationTimestamp": null
            },
            "spec": {
                "components": [
                    "node0",
                    "node1"
                ]
            },
            "status": {
                "active": false
            }
        },
        {
            "kind": "app",
            "apiVersion": "odo.openshift.io/v1alpha1",
            "metadata": {
                "name": "app1",
                "namespace": "myproject",
                "creationTimestamp": null
            },
            "spec": {
                "components": [
                    "node4"
                ]
            },
            "status": {
                "active": false
            }
        }
    ]
}

Any logs, error output, etc?
N/A

/bug
/priority medium

@dgolovin , can you please add steps to reproduce ?

@surajnarwade I created and pushed two components with the same application.

@dgolovin Hey, I'm actually unable to replicate this, do you mind showing the steps / commands that you've used?

@cdrage just verified again with latest build form master.
odo version
odo v1.0.0-beta1 (0237ea2a)

Server: https://<IP_ADDRESS>:8443
Kubernetes: v1.11.0+d4cacc0

@kadel Maybe @girishramnani could help on this. I'm terribly confused. You're using two separate directories that'll have two separate .odo/config files within them. How is odo retrieving information about app1 from the "node1" directory?

@cdrage odo app list is retrieving that information from the cluster. odo app list is supposed to list all applications in the project.
I've verified that the duplication is in fact there:
▶ cd ~/tmp/odo-examples/spring-boot-crud-booster

▶ odo component create java
 ✓  Checking component
 ✓  Checking component version
Please use `odo push` command to create the component with source deployed

▶ odo push
 ✓  Checking component
 ✓  Checking component version
 ✓  Applying component settings to component: java-jpxy
 ✓  Successfully updated component with name: java-jpxy
 ✓  Pushing changes to component: java-jpxy of type local
 ✓  Waiting for component to start
 ✓  Copying files to component
 ✓  Building component
 ✓  Changes successfully pushed to component: java-jpxy

▶ odo app list
The project 'myproject' has the following applications:
NAME
app

▶ cd ~/tmp/odo-examples/nodejs-ex

▶ odo component create nodejs
 ✓  Checking component
 ✓  Checking component version
Please use `odo push` command to create the component with source deployed

▶ odo push
 ✓  Checking component
 ✓  Checking component version
 ✓  Creating nodejs component with name nodejs-yvnq
 ✓  Initializing 'nodejs-yvnq' component
 ✓  Creating component nodejs-yvnq
 ✓  Successfully created component nodejs-yvnq
 ✓  Applying component settings to component: nodejs-yvnq
 ✓  Successfully updated component with name: nodejs-yvnq
 ✓  Pushing changes to component: nodejs-yvnq of type local
 ✓  Waiting for component to start
 ✓  Copying files to component
 ✓  Building component
 ✓  Changes successfully pushed to component: nodejs-yvnq

▶ odo app list
The project 'myproject' has the following applications:
NAME
app
app

▶ odo component create nodejs

 ✓  Checking component
 ✓  Checking component version
Please use `odo push` command to create the component with source deployed

tmp/odo-examples/express  master ✗                                                                                96d ◒
▶

tmp/odo-examples/express  master ✗                                                                                96d ◒
▶ odo app list
The project 'myproject' has the following applications:
NAME
app
app

▶cd tmp/odo-examples/express

▶ odo component create nodejs
 ✓  Checking component
 ✓  Checking component version
Please use `odo push` command to create the component with source deployed

▶ odo push
 ✓  Checking component
 ✓  Checking component version
 ✓  Creating nodejs component with name nodejs-ngrl
 ✓  Initializing 'nodejs-ngrl' component
 ✓  Creating component nodejs-ngrl
 ✓  Successfully created component nodejs-ngrl
 ✓  Applying component settings to component: nodejs-ngrl
 ✓  Successfully updated component with name: nodejs-ngrl
 ✓  Pushing changes to component: nodejs-ngrl of type local
 ✓  Waiting for component to start
 ✓  Copying files to component
 ✓  Building component
 ✓  Changes successfully pushed to component: nodejs-ngrl

▶ odo app list
The project 'myproject' has the following applications:
NAME
app
app
app

odo app list shows application name for each component that is deployed. This is wrong, odo app list should list each application name just once.

/project Sprint 167

At this point in time, is there even a point of having odo app, or is it only a requirement for IDE's / VSCode / plugins?
We don't even have odo app create which I understand because we create (and name) the deployment config and then add components to it..
Anyways, that could be a separate discussion.
I'm going to take this up :+1:

At this point in time, is there even a point of having odo app, or is it only a requirement for IDE's / VSCode / plugins?

I think that listing all deployed applications and getting detailed information about app still makes sense.

Hey @kadel and @dgolovin
I'm getting a tad confused with regards to the output...
So, at the moment we query ALL deployment configs within that namespace using odo app list.
However, the functionality you're asking is to retrieve only DC's related to the current context (component).
So we have two things we're asking odo to do, either:

Return all deployment config's that match that app name
Return all deployment config's that match exactly that component and relate to that component.

Does that make sense?
``sh
▶ oc get dc
NAME              REVISION   DESIRED   CURRENT   TRIGGERED BY
foobar-app        1          1         1         config,image(nodejs:latest)
java-fwwm-app     1          1         1         config,image(java:latest)
nodejs-qwel-app   1          1         1         config,image(nodejs:latest)
~/tmp/example
▶ odo app list
The project 'foo' has the following applications:
NAME
app
app
app

For example, do you require @dgolovin an `odo app list` and then a `odo app list --all` (for all deploymentconfig's deployed, regardless if they relate to the component?)

@cdrage I am asking for odo app list to print out app once, because there is only one application  app with tree components deployed. That's it.

@dgolovin Got it.

PR here: https://github.com/openshift/odo/pull/1767


[DO NOT MERGE] experiment(cookie-consent): Build out segment version

Builds out our segment version of the cookie consent (need to open this under new branch / PR; was pushing to a review app)

Gonna close this, we can reopen if / when we want to work on this again


update edit address widget content after the address is saved

update The Edit_Address_Widget content after the address is saved
https://user-images.githubusercontent.com/79856242/222099068-d15aab40-3e1d-41ea-a004-e3c5cf4b1704.mp4
There is this issue, when the text field widget is selected the keyboard hides the text input field

Codecov Report

Merging #7 (0b775da) into develop (e2eb644) will decrease coverage by 0.87%.
The diff coverage is 19.04%.

:exclamation: Current head 0b775da differs from pull request most recent head e1b52a2. Consider uploading reports for the commit e1b52a2 to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff             @@
##           develop       #7      +/-   ##
===========================================
- Coverage    58.93%   58.07%   -0.87%
===========================================
  Files           78       78
  Lines         3205     3215      +10
===========================================
- Hits          1889     1867      -22
- Misses        1316     1348      +32

Impacted Files
Coverage Δ

...b/src/lib_edit_address/models/country_model.g.dart
0.00% <0.00%> (ø)

...nents/address_for_correspondence_bottom_sheet.dart
0.00% <0.00%> (ø)

...dit_address/ui_components/edit_address_widget.dart
1.60% <0.00%> (-0.14%)
:arrow_down:

...ib_ui_components/buttons/button_color_style.g.dart
0.00% <0.00%> (ø)

.../src/lib_edit_address/views/edit_address_page.dart
80.88% <55.55%> (+3.73%)
:arrow_up:

...guage_picker/models/selected_language_model.g.dart
58.82% <66.66%> (ø)

...b/src/lib_edit_address/models/address_model.g.dart
38.70% <100.00%> (ø)

..._edit_address/ui_components/edit_address_form.dart
61.84% <100.00%> (-2.64%)
:arrow_down:

lib/src/lib_ui_components/message_panel_error.dart
53.33% <100.00%> (+3.33%)
:arrow_up:

...lib_text_field_dialog/views/text_field_dialog.dart
23.52% <0.00%> (-23.53%)
:arrow_down:

... and 3 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@StanislavPrime, can we close this PR ?


Revert "fix terminal with no smcup and rmcup capabilities (#4)"

This reverts commit 372ca5defa1a984cb26466f80f68d0edcf88839c.
The issue in #4 is caused by incorrect TERM setting as the smcup/rmcup won't be correct.
Terminator has smcup=\E7\E[?47h [1] and only xterm-r6 version uses that string [2].
[1] https://git.io/vA2uV
[2] https://invisible-island.net/xterm/terminfo-entries.html#tic-xterm-r6

@Foggalong I hope you are still using Terminator, please start one with TERM=terminator terminator and test this PR.

@livibetter I don't use terminator anymore no, urxvt and xfce4-terminal these days

Merging this anyway, we can revert this revert, if this actually breaks.


Fix flash of 404 on certain pages

What are you changing in this pull request and why?
This PR replaces all instances of directories with capitalized letters with lowercase letters. Vercel does not like capitalized letters for directories that are built as page routes.
Going forward we should not use capitalization in directories or files.
On the live site this page will show a flash of 404 before the page loads. Note that on the live site the current directory name for this page is Sept-2023.
https://docs.getdbt.com/docs/dbt-versions/release-notes/sept-2023/product-docs-summer
In this PR I've removed the capitalization to be sept-2023 and accessing that same route in this PR will not show a flash of 404.
https://docs-getdbt-com-git-fix-404-flash-vercel-dbt-labs.vercel.app/docs/dbt-versions/release-notes/sept-2023/product-docs-summer
Checklist
Removing or renaming existing pages (delete if not applicable):

[ ] Remove page from website/sidebars.js
[ ] Add an entry website/static/_redirects
[ ] Ran link testing to update the links that point to the deleted page

Hi @john-rock - should we move forward with this PR? I can check for any other pages that may have capitalized letters.

Hey @matthewshaver - I originally spun up this PR to determine if in fact it was the capitalization issue causing the 404 and it turns out indeed that was the case.
We have substask created in this task to fix the casing throughout the site.
There are a few other instances of capitalized routes that will need to be updated and I'm happy to apply them all in this PR. If you have a list feel free to drop it in this PR. Once we have them all updated the PR should be good to merge.
Does that work for you?

@john-rock That works for me! I'll start reviewing to help y'all out. Thank you!

@john-rock : i took a look at the task, thanks for the link! does it make sense to merge the proposed changes? or does it make sense to close this out and reopen if needed?

Hey @nghi-ly feel free to merge this PR.
As far as the rest of the routes that need the capitalization removed we can either:

Fix them on an as-needed basis.
Audit all file routes with capitals and fix them all in 1 PR.

I'll let your team make the call on that.

Being that @matthewshaver  is changing the way release notes work, I'm going to just close this. Let me know if you disagree and I'll re-open!


Iterators: recommend interior iteration - iter.for_each() instead of for x in iter

See e.g. https://github.com/rust-lang/rust/issues/101814
I recall encountering a case in the wild where iter.for_each() optimized better than for x in iter, but it's been a while and Github won't let me search my pull requests, so I cannot point to the specific instance of that.

This article goes into more depth about the reasons behind it, and internal vs external iteration:
https://medium.com/@veedrac/rust-is-slow-and-i-am-the-cure-32facc0fdcb

I've seen that article before and I find it confusing, specifically due to the update about try_fold. Does that update mean that external iteration is now just as fast as internal iteration?

iter.for_each() applies a closure to each element of the iterator, while for x in iter is a separate but straightforward implementation of a typical for loop.
Regarding performance, contrary to your (@Shnatsel) assertion, for x in iter is generally faster than iter.for_each() for some cases. Loop constructs are specially optimized by the compiler (e.g. loop unrolling) and are not specific to Rust. I vividly remember, they taught these optimizations in my compilers course. Again, the latter uses a closure, which introduces an overhead, which is usually small and will not be noticeable in most cases.


Specifying ExposedPorts in createContainerAsync

Output of dotnet --info:
.NET Command Line Tools (2.0.0)

Product Information:
 Version:            2.0.0
 Commit SHA-1 hash:  cdcd1928c9

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.15063
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\2.0.0\

Microsoft .NET Core Shared Framework Host

  Version  : 2.0.0
  Build    : e8b8861ac7faf042c87a5c2f9f2d04c98b69f28d

What version of Docker.DotNet?:
3.125.0

Steps to reproduce the issue:

Call createContainersAsync.

What actually happened?:
Don't know how to specify ExposedPorts in format of IDictionary<string, EmptyStruct>
For example: docker run <something> --public 443:443 <something>
I read #134, but ExposedPorts had different type IDictionary<string, object> at that time.
What did you expect to happen?:
0:0:0:0:443->443/tcp.
Additional information:

Yea Docker really made this part of the API confusing. They made it a map where they actually only needed an array.
I think what you want is:
ExposedPorts: {
   "443/tcp": {}//,
   // etc.
}

Note: This is not the same a port mappings. The ExposedPorts are used in the --expose portion of the cli.
So effectively in the C#
ExposedPorts = new Dictionary<string, EmptyStruct>();
ExposedPorts.Add("443/tcp", default(EmptyStruct));

Thanks!
I figured what I really need is the port mappings(PortBinding in HostConfig).
It's working now.


[BUG] Configuration inconsitancy! Move common blockchain parameters to genesis.block

Let's consider config.sample
{
  "block_store_path" : "/tmp/block_store/",
  "torii_port" : 50051,
  "internal_port" : 10001,
  "pg_opt" : "host=localhost port=5432 user=postgres password=mysecretpassword",
  "max_proposal_size" : 10,
  "proposal_delay" : 5000,
  "vote_delay" : 5000,
  "mst_enable" : false,
  "mst_expiration_time" : 1440,
  "max_rounds_delay": 3000,
  "stale_stream_max_rounds": 2,
  "metrics": "<IP_ADDRESS>:8080"
}

Some configuration parameters proposal_delay max_proposal_size mst_expiration_time mst_enable and others
MUST be the same in all over the Iroha network. Inconsistency (unequal) between parameters may (should, will) lead Iroha network (some nodes) to undefined behavior and/or to node(s) freeze.
One of possible solutions

make these parameters a part of blockchain and store them in genesis block.
provide additional commands to edit configuration parameters

The other solution
always synchronize parameters that must always be equal, mark neighbor node INVALID if it has inconsistent parameters and do not negotiate blocks with "invalid" node.
Suggest your solution pls
if you have ideas

Kind ping @lebdron @kamilsa @iceseer @LiraLemur  @stepanLav

@baziorek, could you please test and give logs from inconsistent Iroha network, i.e. where max_proposal_size is different

@baziorek, could you please test and give logs from inconsistent Iroha network, i.e. where max_proposal_size is different
I'll try to do this on two-noded test network tomorrow in the morning.

yes, they should be part of genesis block. I would create new commands and permissions that update configuration parameters

@baziorek, could you please test and give logs from inconsistent Iroha network, i.e. where max_proposal_size is different
Here are results https://gist.github.com/baziorek/6c8d82898f48803b90f27453058eabc5 for 2 nodes with "max_proposal_size" : 20, vs "max_proposal_size" : 10, it is version iroha 1.2.0. Scenarios:

Running 2 nodes with different "max_proposal_size" then shutting down - everything looks OK
Running 2 nodes with different "max_proposal_size" then sending 2 transactions and shutting down - everything looks OK
I'll now try to send 21 fast transactions (without waiting for response) then update the post and the gist

@kuvaldini I've created tests. It looks like it works OK when I send transactions to node which accepts less max_proposal_size, I'll try to do the opposite and update logs.

@kuvaldini I've performed tests again on version iroha 1.2.1: two-noded network:
https://gist.github.com/baziorek/7bc47e05dd82f83783f7bceee300d8b6
it looks like it works and it allows sometimes it is "max_proposal_size" from one node, but next time "max_proposal_size" from another node.
In the attached gist are:

config1.sample
config2.sample
genesis.block
logs from node 1
logs from node 2
source code in python
output of the code

@baziorek thank you for response.
I definitely know that some configurations leaded iroha network to halt.
Let me check them out from history.

@baziorek thank you for response. Good Job!
I definitely know that some configurations leaded iroha network to halt.
Let me check them out from history.

I've also checked another parameter on three nodes:

Node1: "proposal_delay" : 1000, and "max_proposal_size" : 10,
Node2: "proposal_delay" : 3000, and "max_proposal_size" : 20,
Node3: "proposal_delay" : 5000, and "max_proposal_size" : 30,
and it is also working, this time 8 blocks:
0000000000000002(10txs)<PHONE_NUMBER>000003(20txs)<PHONE_NUMBER>000004(10txs)<PHONE_NUMBER>000005(30txs)<PHONE_NUMBER>000006(10txs)<PHONE_NUMBER>000007(10txs)<PHONE_NUMBER>000008(10txs)<PHONE_NUMBER>000009(1tx)

Iroha v1 is to be deprecated soon


feat(denols): handle registeryState notification

Port of https://github.com/denoland/vscode_deno/blob/45d343516ab1250867a5cb254460278f0ceca2a2/client/src/notification_handlers.ts
This is a more appropriate way to handle https://github.com/neovim/nvim-lspconfig/pull/2026

This pr also replaces init_options with settings, they seems to be the same in case of deno lsp, with settings being updateable at runtime.

This can be done in a separate plugin


cmd/compile: "invalid recursive type" error is not as helpful as go/types

$ go version
go version devel +150bd4ffd4 Wed Sep 23 07:51:17 2020 +0000 linux/amd64
$ cat recursive.go
package p

type T1 struct {
	f2 T2
}

type T2 struct {
	f1 T1
}
$ go build recursive.go
# command-line-arguments
./recursive.go:7:6: invalid recursive type T2
$ go build -o gotype $(go env GOROOT)/src/go/types/gotype.go
$ ./gotype recursive.go
recursive.go:3:6: illegal cycle in declaration of T1
recursive.go:3:6: 	T1 refers to
recursive.go:7:6: 	T2 refers to
recursive.go:3:6: 	T1

I had a cyclic type involving four types across three files, so I really did have to reach for gotype to understand what was going on. I think we should improve the compiler's typechecker to provide a similarly detailed error.
cc @griesemer @mdempsky @cuonglm

Also cc @findleyr given his recent work on go/types

We are seriously investigating using a revamped/adjusted go/types for the compiler in the future. The result should be consistent and better error messages from both, the compiler and the type checker.

In Go 1.16, cmd/compile will report:
recursive.go:3:6: invalid recursive type T1
	recursive.go:3:6: T1 refers to
	recursive.go:7:6: T2 refers to
	recursive.go:3:6: T1


Adding ssl to non-proxy loadbalancer

Purpose

Adds back in the SSL configuration, but only applies it to the non-proxy (jpl-internal-only) loadbalancer

Proposed Changes

ADD ssl certificate ssm reference
CHANGE current jpl-internal loadbalancer configuration to use HTTPS

Issues

unity-sds/unity-sps#237

Testing

Testing in personal deployment

currently deployed at https://k8s-sps-airflowi-227d5aa22a-1563308968.us-west-2.elb.amazonaws.com:5000/

per your second bullet, I think it would be easier to adjust the OGC api to ignore certificate errors, but I'm not sure which option is best in the long run.


Make core objects define table schema using ORM

Check out SQLAlchemy

Commit d44d71 finishes the relational DB backend for Corpus, Document, and Sentence.
Features:

examples/GeneTaggerExample_Extraction.ipynb demonstrates how to parse a corpus and work with results, either parsing a new corpus or resuming work with a previously parsed corpus
Uses connection string specified as SNORKELDB env variable, and defaults to an SQLite database in the working directory names snorkel.db if not specified ( #320 )
Lists such as lemmas and POSes for Sentences are stored as Postgres arrays if running on Postgres, otherwise lists are pickled and stored as blobs

TODO:

The explicit session management is probably unnecessariy complexity to expose to novice users. Should we replace

session = SnorkelSession()

# Skip this step to resume working with a previously created corpus
corpus = Corpus(name='Pubmed Abstracts')
session.add(corpus)
session.commit()

corpus = session.query(Corpus).order_by(desc(Corpus.id)).one()

with some simple helpers like
corpus = new_corpus('Pubmed Abstracts")

and
corpus = resume_corpus()

Using the Corpus constructor directly for both purposes is not possible (AFAIK), because it's designed to make a new record, not retrieve an existing one.

Move on to DB backing for candidates, features, Mindtagger data etc. We should discuss what the official schema for these should be, specifically which classes will be ORMed, and so on.
Make document/corpus id a compound primary key? Right now document id is a primary key, which will make working with multiple corpora a pain.

I agree with the last bullet point for sure--I think most of our objects will need either a compound primary key or constructed UIDs.
Eventually, I assume we'd like to intermix candidates from tables and text, so we could have duplicate "context"
I'm running into a similar issue with Ngrams in Cells in Tables in Documents in Corpora. I'm working with toy data right now, so most id numbers are just integers counting up from 0, so there are lots of duplicates. So I give all objects a UID that's just a composition of their parents (e.g., 5-3-4:3-7 is characters 3-7 in the 4th cell, 3rd table, 5th document). But even that could be an issue since 5-3 could mean the 5th doc, 3rd table or 5th doc, 3rd sentence.

Whoops! Hit the wrong button.

@stephenbach this looks awesome!  I'll comment more when it's a PR, but initial:

Should put this into tutorial/CDR_tutorial as well (this is part 1 of the new tutorial we're transitioning to)
I agree with making the interface simpler re:comments above, but also, at the same time I think we should make the mapping to DB even more explicit.  E.g. what is "name='Pubmed Abstracts'"- how does this map to DB / table?  Want this to be very apparent to users.  So maybe they can pass in the bd connection string (to set the env variable) through a python command?


Fix avro files read failure under timePartitionPattern paths

Description

Modify test cases to test 'timePartitionPattern' e2e

How was this PR tested?

Does this PR introduce any user-facing changes?

[ ] No. You can skip the rest of this section.
[ ] Yes. Make sure to clarify your proposed changes.

Can docs get updated to give samples on how to use this new params?

The comments under definition of 'HdfsSource' is the related document update and it can be shown through API document link we exposed.

Can docs get updated to give samples on how to use this new params?

The comments under definition of 'HdfsSource' is the related document update and it can be shown through API document link we exposed.

Yes, that is what i meant, we should put that in docs because user normally do not read our test code, they read docs.

Can docs get updated to give samples on how to use this new params?

The comments under definition of 'HdfsSource' is the related document update and it can be shown through API document link we exposed.

Yes, that is what i meant, we should put that in docs because user normally do not read our test code, they read docs.

The comment was already added in the file 'feathr_project/feathr/definition/source.py'

Can docs get updated to give samples on how to use this new params?

The comments under definition of 'HdfsSource' is the related document update and it can be shown through API document link we exposed.

Yes, that is what i meant, we should put that in docs because user normally do not read our test code, they read docs.

The comment was already added in the file 'feathr_project/feathr/definition/source.py'

I see why you are confused here, might be I didn't explain clearly enough, I meant public docs like this one https://feathr-ai.github.io/feathr/how-to-guides/feathr-input-format.html should be updated for use directories as input source.


Variant compatibility

Some parts cannot work with other parts (or can only work with a subset of parts). I would think it should be expressed within the JSON, but I'm not sure how. Perhaps an additional list for cross-component constraints?
Examples:

Beacon only works with the Beacon bottoms, Beacon 5015 rear inlet, and Beacon 15mm CPAP rear inlet.
Regular ducts (most hotends), Trihorn (Mosquito), UHF (etc.)

I'm thinking having a list of compatible parts, if empty there are no constraints otherwise it's only compatible with the specified parts, need to look at schema to see the best placement


Debug-panic in clamp_min/max if min/max is NAN

This also improves the docs for clamp, clamp_min, and clamp_max.
Closes #134.

Thanks!
bors r+


Add Framework agreement status and route to set FrameworkAgreement as on hold

Will need rebasing on top of this migration pull request when this has been deployed.

Adds the signed_agreement_put_on_hold field to the FrameworkAgreement model from the above mentioned pull request and it's serialization.
Adds a status property to a FrameworkAgreement. This is done in a similar way to the status field for Brief's.
Adds a route to set a framework agreement as on hold.

Potential improvements (not sure if in scope)

Set FrameworkAgreement fields, such as signed_agreement_returned_at or signed_agreement_put_on_hold_at using the status field? The Brief model currently does this.
Add ability to query framework agreements using the status field. Again, the Brief model currently does this.
Add status field to SupplierFramework.serialize
Add signedAgreementPutOnHold field to SupplierFramework.serialize

Let's add the FA status as framework_agreement_status in the SupplierFramework serialization - we're going to need it in the frontend apps.

:+1: once Travis is happy


Slim image for specific linters

Is it possible to select which language linters are pulled instead of choosing between slim vs whole images?
As an example, my project only has markdown and c# files, and I didn't want to pull the whole image, but the slim image does not have c#.

It is not possible to be able to do this in a configurable way right now. You would need to fork the super0linter project and then only put in the linters you wanted.

@JobaDiniz That's more of a MegaLinter thing, having specific flavors to handle more effectively projects using only certain linters.
For example, there is
https://megalinter.io/latest/flavors/dotnet/
And
https://megalinter.io/latest/flavors/dotnetweb/
All the flavors are listed here
https://megalinter.io/latest/flavors/ and when running an image, where another smaller flavor would suit the files in your project, MegaLinter will suggest you to use another flavor.
You can take a look here
https://megalinter.io/latest/


Add a cifmw_cephadm_min_compat_client default value

This patch adds a default for the min-compat-client so we don't have to define it in the job definitions.
As a pull request owner and reviewers, I checked that:

[x] Appropriate testing is done and actually running
[x] Appropriate documentation exists and/or is up-to-date:
[x] README in the role
[x] Content of the docs/source is reflecting the changes

/approve


Feat: Add Logger

Instead of adding a new package for adding logger in all packages, let's reuse the Logger class.

Can we have the Logger class just in one place and use it from there instead of adding it in every module where we need it ?

@VGabriel45 This was there previously in common package. Adding this will introduce again another package which we need to deploy. If we have it in one package and import in another it can introduce circular dependecies
account importing paymaster for paymaster class and paymaster importing account for common package.
So solution I think of

Use an external logger class and add as dependency in all class
Re-use code but this is much lighter than any package and does the job


FLINK-3301 Ineffective synchronization in MessageAcknowledgingSourceBase#restoreState

This PR changes synchronization on pendingCheckpoints to this (MessageAcknowledgingSourceBase)

Thanks for the pull request. The issue has been identified in the meantime. It is only a testing issue and not a synchronization issue in the RMQSource.


GenericModel - inheritance and Optional[TypeX] - fail to instantiate a subclass

Bug
Output of python -c "import pydantic.utils; print(pydantic.utils.version_info())":
             pydantic version: 1.4
            pydantic compiled: False
                 install path: /Users/thaisdeboisfosse/envs/thenv/lib/python3.7/site-packages/pydantic
               python version: 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 16:52:21)  [Clang 6.0 (clang-600.0.57)]
                     platform: Darwin-19.3.0-x86_64-i386-64bit
     optional deps. installed: ['typing-extensions']

Summary
Thank you for the lib ! I found a weird bug while using GenericModel.
I create a BaseClass that inherits GenericModel and uses Generic. It contains a property X of type Optional[TypeX].
I create a subclass that fixes the Generic at runtime. The bug is that I cannot define the type of the Generic without an error.
If X is of type TypeX instead of Optional[TypeX] then there is no error (it is what I ended up doing).
Code to reproduce the error
import pydantic

TypeX = TypeVar('TypeX')

class BaseClass(GenericModel, Generic[TypeX]):
    X: Optional[TypeX]  # This causes the error

class ChildClass(BaseClass[TypeX], Generic[TypeX]):
    pass

ChildClass[int]

Error:
cls = <class 'test_base_format.test_pydantic_failes.<locals>.ChildClass'>
params = <class 'int'>

    def __class_getitem__(cls: Type[GenericModelT], params: Union[Type[Any], Tuple[Type[Any], ...]]) -> Type[Any]:
        cached = _generic_types_cache.get((cls, params))
        if cached is not None:
            return cached
        if cls.__concrete__:
>           raise TypeError('Cannot parameterize a concrete instantiation of a generic model')
E           TypeError: Cannot parameterize a concrete instantiation of a generic model

@dmontagu is the expert on GenericModel, any idea?

I'm hitting this as well, it looks like the value of "concrete" is calculated by running:
        concrete = all(not _is_typevar(v) for v in concrete_type_hints.values())

and Optional[T] does not qualify as a typevar even though it should.
The same goes for any more nested objects (including nested generic models).
Most of it can probably be fixed by modifying _is_typevar to detect nested type vars.


[1.12.2] Fridge doesn't render items inside it.

As per title. With C4B v6.4.44, items don't render inside the fridges. They do render in the cabinets, and I haven't tested the stove yet.

They're rendering fine for me, do you have any mods that affect rendering installed (e.g. Optifine)? Is there some graphically fancy block nearby that may be affecting the fridge rendering by accident? What items are inside the fridge (I tested with apples)?

No optifine. The only other blocks that were nearby were from an AE2 setup. It didn't matter what was in the fridge. This is probably another bug like the one I'm having with Refined Storage, where I'm the only one it affects.

They render in the new version, although I tested in a superflat world. I'll retest in a normal world and see if that changes anything. I was in an ocean biome when they didn't render, though.
And I just thought of something, I had some C&B blocks nearby for lighting. Those may have been it.

Still works even with a C&B block there. I'll go ahead and close this.

Actually have this issue as well on Forge 2760.
C4B is version 6.4.62
All other cabinets render fine, pack is Direwolf20 1.12.2 v2.3.0

For me, this problem appears only for fridges where the door handle is on the left side. Pics (Both fridges are filled)

Had this again. Handle was on the left side (as above commenter noted). I’ll get versions when I get back to my computer.

So has it been fixed? Ran into this problem today myself, thought it is a new bug


Creating TLRU Cache TimedCacheDataSource

New DataSource for a fast setup of a TLRU Cache (Time aware Least Recently Used).

This is mostly a wrapper for an existing DataSource
It uses the KeyQuery protocol to get a key for each query to cache stuff
If not passed a KeyQuery, it just forwards everything to the original data source

This is a nice cache layer to be used on top of network calls, or complex database-based data sources, to speed up things.
Once approved by the team, we can then document it in the mjcore-documentation repo and implement it in android as well.

Ok, changes applied.

reference updated:
https://github.com/mobilejazz/mjcore-reference/blob/master/TimedCacheDataSource.md


bump gardener to 1.48.1 in KMC

bumps the dependency gardener to v1.48.1 to prevent potential security vulnerabilities.

/retest


Performance difference using model vs global enable/disable logging

There seems to be a performance difference between using the model->disableLogging() vs activity()->disableLogging(). This seems to stem from the latter only getting checked after the model has already created the activity and tried to log it. Seems like adding a check to the model level to see if activity logging is enabled would address it and make so that the model level doesn't have to do the work if global logging is disabled in the first place.

So I got back to finally working on fixing this, but I'm having trouble testing the change, as I can't figure out how to mock the anonymous class in the LogsActivityTest to confirm that my chance actually has fixed the performance issue. I've pushed up the PR at least in the fixed state, but would be happy to be able to properly confirm the fix.

released as https://github.com/spatie/laravel-activitylog/releases/tag/3.11.3

how i can disable globaly just in user area ? in admin enable automatilay?

@vahidalvandi I would recommend a middleware that enables/disables logging.


How many datasets with erroneous project metadata?

992aad5e-7fab-46d9-a47d-df715e8cfd24
8a40ff19-e614-4c50-b23b-5c9e1d546bab
403c3e76-6814-4a2d-a580-5dd5de38c7ff
d3446f0c-30f3-4a12-b7c3-6af877c7bb2d
7880637a-35a1-4047-b422-b5eac2a2a358
78b2406d-bff2-46fc-8b61-20690e602227
faeedcb0-e046-4be7-b1ad-80a3eeabb066
ad04c8e7-9b7d-4cce-b8e9-01e31da10b94

All these projects shouldn't have version 15.0.0 of the schema

As per the conversation here https://embl-ebi-ait.slack.com/archives/C014HMTV0FN/p1631798343154000
The projects seem fine, so I'll move this to done


Typo "Azure function"→"Azure Function"

https://docs.microsoft.com/en-us/azure/machine-learning/how-to-use-event-grid

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

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

#sign-off

#sign-off

@PeterCLu: I'm sorry - only the author of this article, @shivp950, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

@PeterCLu: I'm sorry - only the author of this article, @shivp950, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

Hi all - A nomenclature overhaul for Azure Functions references in this repo is underway internally. We won’t merge pull requests that make updates in this area at this time. Given that, we'll close this pull request. @hyoshioka0128 Thank you for your contribution to the documentation.

Hi all - A nomenclature overhaul for Azure Functions references in this repo is underway internally. We won’t merge pull requests that make updates in this area at this time. Given that, we'll close this pull request. @hyoshioka0128 Thank you for your contribution to the documentation.


little optimizations for integration tests

What is still to be done for this PR?

Another useful improvement would be to migrate from Travis to CircleCI, btw, since Travis has rather frustrating limits on how often jobs are fired

Has there been problems with travis so far? I don't see why couldn't we have both running at the same time and see fi Circle CI suits us any better. So far I have been pretty happy with tarvis though (after changing to docker setup). Being able to run tests also in windows would be great though.

@elhigu That's a very good point, we should do that!

Coverage decreased because of switch from node 8 to node 12, should we temporary reduce it?

@maximelkin Wonder why version switch would affect coverage. Any particular reason why switch was needed prior to (incoming) dropping of Node 8 support?

@maximelkin Was it because of https://github.com/DefinitelyTyped/DefinitelyTyped/issues/42275?

@kibertoad + @maximelkin : It looks like the oracle tests are only running for node 8.  So, that probably explains why the coverage dropped.

@briandamaged That was intentional, though, to speed up execution, I think.

Right.  I'm just saying that it would also cause the coverage to drop since the Oracle code is not being tested.

Coverage decreased because of switch from node 8 to node 12, should we temporary reduce it?

Wait
this sound really strange, because coverage checked for all node versions, so changes shouldn't affect it

@maximelkin : By default, Travis-CI currently uses the npm run test script.  This runs the unit tests, but it does not calculate the coverage for them.

Ok, I got this

TODO: exclude tests from coverage

@maximelkin What's the end result of this improvement? Did it speed up tests?


Nether chunk column detection is not reliable

The nether chunk column detection code which checks for remaining bytes in the chunk packet to see whether the chunk has skylight is not reliable, because vanilla will pad chunk packets with a bazillion zero bytes (see this spigot fix https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/commits/c126d6101e8268f6d0691a4a07dc2c928a62a47a ).

Not sure if there are really any viable alternatives to that check. I'd rather not have to add a hack that tries to keep track of what world the client is in, as I don't think that'd be very reliable.


Service architecture design readability

Adding a period to improve readability and understaning of the concept.  Using independent building blocks or scale units is a concept that applies to many componentes of an architecture, not only AD.

typo fix looks great. thanks!


Fix relationships

This PR implements a new field match  which allows seamless dumping table based on the matching condition.
Here are some example of the matching conditions:

Match = "users.id IN (1, 2, 3)"
Match = "users.id >= 500
Match = "users.created_at BETWEEN '2018-01-01' AND now()

The users -> orders sample could be mapped as follows:
[[Tables]]
  Name = "users"
  [Tables.Filter]
    Match = "users.created_at BETWEEN '2017-01-01' AND now()"

[[Tables]]
  Name = "orders"
  [Tables.Filter]
    Match = "users.created_at BETWEEN '2017-01-01' AND now()"
  [[Tables.Relationships]]
    ReferencedTable = "users"
    ReferencedKey = "id"
    ForeignKey = "user_id"

@rafaeljesus this is so great! Can we update init to generate the right config?

@mereba I've update the init command to generate the following example ^^
[[Tables]]
  Name = "users"
  [Tables.Filter]
    Match = "users.active = TRUE"
    Limit = 100
    [Tables.Filter.Sorts]
      orderNr = "asc"
  [Tables.Anonymise]
    email = "EmailAddress"
    firstName = "FirstName"

[[Tables]]
  Name = "orders"
  [Tables.Filter]
    Match = "users.active = TRUE"

  [[Tables.Relationships]]
    ReferencedTable = "users"
    ReferencedKey = "id"
    ForeignKey = "user_id"

+1

:shipit:


pbalign Error loading chemistry mapping xml

Hi,
I got weird error by running this command (last version of pbalign installed via bioconda). Any solution ? Thanks
pbalign --nproc 20 fasta/file.fasta contigs.fasta pbalign/output.sam
Traceback (most recent call last):
  File "/scratch/beegfs/monthly/ptranvan/Software/anaconda_2/bin/pbalign", line 11, in <module>
    load_entry_point('pbalign==0.3.2', 'console_scripts', 'pbalign')()
  File "/scratch/beegfs/monthly/ptranvan/Software/anaconda_2/lib/python2.7/site-packages/pkg_resources/__init__.py", line 487, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/scratch/beegfs/monthly/ptranvan/Software/anaconda_2/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2728, in load_entry_point
    return ep.load()
  File "/scratch/beegfs/monthly/ptranvan/Software/anaconda_2/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2346, in load
    return self.resolve()
  File "/scratch/beegfs/monthly/ptranvan/Software/anaconda_2/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2352, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/scratch/beegfs/monthly/ptranvan/Software/anaconda_2/lib/python2.7/site-packages/pbalign/pbalignrunner.py", line 53, in <module>
    from pbcore.io import (AlignmentSet, ConsensusAlignmentSet)
  File "lib/python2.7/site-packages/pbcore/io/__init__.py", line 3, in <module>
  File "lib/python2.7/site-packages/pbcore/io/BasH5IO.py", line 23, in <module>
  File "lib/python2.7/site-packages/pbcore/chemistry/__init__.py", line 3, in <module>
  File "lib/python2.7/site-packages/pbcore/chemistry/chemistry.py", line 41, in <module>
  File "lib/python2.7/site-packages/pbcore/chemistry/chemistry.py", line 32, in _loadBarcodeMappings
  File "lib/python2.7/site-packages/pbcore/chemistry/chemistry.py", line 28, in _loadBarcodeMappingsFromFile
pbcore.chemistry.chemistry.ChemistryLookupError: Error loading chemistry mapping xml

We are deprecating pbalign, please use pbmm2 instead.
If you have to use pbalign for some reason, two issues here:
(1) pbcore python environemnt seems to be contaminated. From bioconda pbalign path switch to system pbcore path, e.g., File "/scratch/beegfs/monthly/ptranvan/Software/anaconda_2/lib/python2.7/site-packages/pkg_resources/__init__.py --> File "lib/python2.7/site-packages/pbcore/chemistry/chemistry.py"

You may have specified system SMRT_CHEMISTRY_BUNDLE_DIR and it is not pointing to the right directory. Check $SMRT_CHEMISTRY_BUNDLE_DIR/chemistry.xml.


[SPARK-11195][CORE] Use correct classloader for TaskResultGetter

Make sure we are using the context classloader when deserializing failed TaskResults instead of the Spark classloader.
The issue is that enqueueFailedTask was using the incorrect classloader which results in ClassNotFoundException.
Adds a test in TaskResultGetterSuite that compiles a custom exception, throws it on the executor, and asserts that Spark handles the TaskResult deserialization instead of returning UnknownReason.
See #9367 for previous comments
See SPARK-11195 for a full repro

@yhuai any other comments?

Can one of the admins verify this patch?

ok to test

Test build #46124 has started for PR 9779 at commit 93939c3.

Test build #46124 has finished for PR 9779 at commit 93939c3.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):\n  * class HashingTF(override val uid: String)\n  * class Interaction @Since(\"1.6.0\") (override val uid: String) extends Transformer\n  * class Normalizer(override val uid: String)\n  * class SQLTransformer @Since(\"1.6.0\") (override val uid: String) extends Transformer with Writable \n  * class Tokenizer(override val uid: String)\n  *   case class ArrayConversion(elementConversion: JDBCConversion) extends JDBCConversion\n  * abstract class JdbcDialect extends Serializable \n

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/46124/
Test PASSed.

Merged build finished. Test PASSed.

Test build #46192 has started for PR 9779 at commit 8bd78af.

Test build #46192 has finished for PR 9779 at commit 8bd78af.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/46192/
Test PASSed.

Merged build finished. Test PASSed.

LGTM. Merging to master and branch 1.6. I will try to cherry-pick it to 1.5. If there is no major conflict, we will not need a 1.5 specific pr.

Thank you for the fix!

I have merged this PR to branch master, 1.6, and 1.5. There was a minor conflict with 1.5 branch. But, I fixed it.


Adjust PkgCreator arguments

pkgname is intended to be in the pkg_request dictionary, not as a standalone argument for PkgCreator.

Thank you again!


Extending TCPDF

I need to extend the TCPDF class and the instance the extended class for defining custom headers and footer. How can I do it with this bundle?

Just do it like I do by extending a class from TCPDF: https://github.com/jonasarts/tcpdf-bundle/blob/master/TCPDF/TCPDF.php
Then you can add your own logic to your extended class as you like.


After sometime that environment with KubeVirt runs virt-controller enter to CrashLoopBackOff

I encountered it few times with openshift cri-o environment:

export KUBEVIRT_PROVIDER=os-3.9.0-crio
export KUBEVIRT_NUM_NODES=2
make cluster-up; make cluster-sync
leave environment for 1-2 days

./cluster/kubectl.sh get pods -n kube-system
NAME                               READY     STATUS             RESTARTS   AGE
iscsi-demo-target-tgtd-psbqk       1/1       Running            0          3d
iscsi-demo-target-tgtd-rz45g       1/1       Running            0          3d
virt-api-775dfb9789-tqzvm          1/1       Running            0          3d
virt-controller-5f7c946cc4-8zqpn   0/1       CrashLoopBackOff   55         3d
virt-controller-5f7c946cc4-hlmlt   0/1       CrashLoopBackOff   33         3d
virt-handler-t9c5g                 1/1       Running            0          3d
virt-handler-tcsdv                 1/1       Running            0          3d

./cluster/kubectl.sh -n kube-system logs virt-controller-5f7c946cc4-8zqpn
2018/05/27 08:44:44 invalid configuration: no configuration has been provided

@cynepco3hahue do you have an idea where the error message comes from?

@fabiand I checked the code, and I can see that it is coming from kubevirt/vendor/k8s.io/client-go/tools/clientcmd/validation.go, but I did not find any clues why it can be happen :worried:

I will try to reproduce it with higher verbose under logs, maybe it will reveal something. Also, I want to check if it happens for other providers and not only for OS with CRI-O.

@nellyc is there somebody else who can reproduce this?

@fabiand Increasing verbose of virt-controller did not add much, I think I will wait until we will have 3.10 with CRI-O and will recheck the issue.

@nellyc If you can run just deploy KubeVirt on OS-3.10 CRI-O environment, leave it for some time, I think 8 hours will be enough and check it after, it will help us :smile:

@fabiand
Checked multiple environments which have been up for ~3d
Didnt see this issue in any of them

Thanks


Expose Lua API rename function

Hi, and thanks for creating this plugin! After trying it out I find the user experience a bit odd. The only way to trigger the plugin seems to be with the :IncRename command, after you type a space after the command, which I find quite unconventional. My guess is that most users will create a keymap to trigger the plugin, like you mention in the README. However, when using a floating-window setup like dressing.nvim for instance, and triggering the plugin with the mapping
vim.keymap.set("n", "<leader>rn", ":IncRename ")

The text that you type appears both in the floating window and in the command-line down in the bottom left corner. I think that most people expect the text you type to only appear in the floating window.
What I suggest is to expose a Lua function that users can call with their keymap instead, for instance like this:
vim.keymap.set("n", "<leader>rn", require('inc_rename').rename)

and the function would only show the floating window (for instance by triggering vim.ui.input), and no text would appear in the command-line when you type.

Great points!

The only way to trigger the plugin seems to be with the :IncRename command, after you type a space after the command, which I find quite unconventional.

This is actually a limitation of Neovim itself. The plugin uses the command preview feature (:h command-preview) which handles restoration of the buffer to the original state when the user exits the command line. It currently only works in command-line mode (I actually created an issue on this a while ago: https://github.com/neovim/neovim/issues/19856).

However, when using a floating-window setup like dressing.nvim for instance, and triggering the plugin with the mapping [...] the text that you type appears both in the floating window and in the command-line down in the bottom left corner.

Afaik there's no way around this when using dressing.nvim. With noice.nvim, however, that is actually possible since noice hides the UI for the command line. Please check out the noice.nvim support section in the readme for details.
That should solve the issue you mentioned ("[...] the function would only show the floating window (for instance by triggering vim.ui.input), and no text would appear in the command-line when you type."`)
Let me know if you have any further questions or suggestions!

I see. Thanks for clarifying!


[AMBARI-22888] Cancel operation during package deployment causing repository manager to be broken (dgrinenko)

Ambari trunk Implementation
What changes were proposed in this pull request?
Rework of the way how we killing process and it children. Rather of usage Popen and bash scriptlets, which r hardly manageable, switching to native python os.kill with using /proc FS to extract system information (same as ps, pgrep util doing).
Additionally, such implementation allow to add several required limits to tree killer:

exclusion list, currently contains package managers (main goal of the task)
exclude caller PID from being killed by occasion

How was this patch tested?
Tested using Unit Tests and on selected cluster node

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/387/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/388/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/389/
Test FAILed.
Test FAILured.


an interesting snipet from the new pi release article .. power issues ...

"The camera-shy Raspberry Pi 2 suffered problems with the switched mode power supply (SMPS) chip on the board, which turned out to be photosensitive. Too much light, such as from flash photography, caused fluctuation in the power supply and made the board reset. "
possibly part of peoples power woes if used on the glarshield in a translucent case...
only visible light or can it be affected by "other" radiated energy.. ie leaky sidelobe or transmitter power supplies.. etc..
thoughts..

https://www.raspberrypi.org/blog/xenon-death-flash-a-free-physics-lesson/
TL;DR: "the effect only happens under VERY specific circumstances. Flashes
of high-intensity, long-wave light"
On Thu, Mar 3, 2016 at 7:36 AM, duecedriver<EMAIL_ADDRESS>wrote:

"The camera-shy Raspberry Pi 2 suffered problems with the switched mode
power supply (SMPS) chip on the board, which turned out to be
photosensitive. Too much light, such as from flash photography, caused
fluctuation in the power supply and made the board reset. "
possibly part of peoples power woes if used on the glarshield in a
translucent case...
only visible light or can it be affected by "other" radiated energy.. ie
leaky sidelobe or transmitter power supplies.. etc..
thoughts..
—
Reply to this email directly or view it on GitHub
https://github.com/cyoung/stratux/issues/304.

That's a good catch. Anyone have power issues that may be light exposure related?

To reempahsize @kdknigga  --

I’ve said it above, but it bears repeating, because I’ve seen some of you mention this in the forums and in comments sections elsewhere: common everyday light sources – e.g. bright sunlight, indoor lighting, angry cyclists – don’t cause this to happen, so please don’t worry*

My few flashes of brilance while working on my ppl have not seemed to of affected the stratux at all. I guess its not the correct wavelength?!

Cross post from Reddit:
Mine has been running for hours sitting on a glare shield, in a translucent case, and with a DME and Mode S transponder running with no ill effects. Oh, and cruising altitude at 8k to 10k ft.
I have also run it for hours sitting on the dashboard of a vehicle with no ill effects.


ci: add code coverage

[x] rename jobs
[ ] add code coverage
[ ] configure code cov

closed by https://github.com/cboudereau/dataseries/pull/3