The ProvidePlugin for jquery was invalid in the scaffolding project

I want to make the scaffolding project to support jquery, then I input the below code in the file webpack.dev.conf.js as the description from http://webpack.github.io/docs/shimming-modules.html,
new webpack.ProvidePlugin({       $: "jquery",       jQuery: "jquery",       "window.jQuery": "jquery"     }),
In the console log, I had found there was a new ProvidePlugin indeed, but in the vue or js , it always threw the below error " '$' is not defined"
that is to say，I was unable to  make $ and jQuery available in every module without writing require("jquery").

This is a pure webpack question and not related to Vue in any way.

i second this question , that though its a webpack issue , the webpack template in in vue , its  just prudent enough for this question to be answered .

I am facing the exact same issue. All solutions I found regarding the ProvidePlugin seem to work for others, but not for us who used the vue-cli project. Are you sure this is totally unrelated ?

The problem comes from eslint not allowing jQuery to be referenced globally. Adding jquery to the env attribute of your .eslintrc.js should do the trick. Here's mine:
module.exports = {
  root: true,
  env: {
    browser: true,
    jquery: true
  },
...
}

Further explanation why this was closed:

this is the vue-cli repo, not the werbpack-template repo.
As with all our repositories, issues are for bugs/feature requests, not support questions.

We encourage people to ask support on the forum  , Stack Overflow or on gitter and are happy to help you out there.

eslint does seem to be the issue, but adding it to env did not fix it for me.  Instead, I had to add it to the 'globals' of .eslintrc.js and that fixed it for me.
See http://stackoverflow.com/questions/37077136/webpack-not-including-provideplugins

@narwajea's solution worked for me. Thanks!


Still more enhancements needed for TaxBrain results tables

The tax analysis described in Tax-Calculator issue 1335 reveals the need for several more enhancements to the TaxBrain results page that are not listed in issue #534.

When clicking on either Current Law or Reform the row labels in the Total Liabilities table don't switch to a more appropriate label. In all three versions of the table the row label ends in Change, which is appropriate in only one of the three cases. Can we drop Change from the end of each of the table row labels?

A key statistic is missing from the Total Liabilities tables: the ten-year totals. Most users will want the ten-year total for each row in the Total Liabilities table, but it is not there at the end of the row where most users would expect to see it. Can we add a ten-year total column on the far right?

Has anyone used the Excel download capability successfully? Whatever is downloaded will not import into the OpenOffice spreadsheet. I don't have Excel on my computer, does everything work smoothly when you do have Excel? I'm curious, why this option is available in an open-source project. What capability is the Excel download providing that the CSV download is not providing?

Print option for the Total Liabilities table has meaningless title. Can we add an informative title, like the (#534-corrected) one on the table when it is being viewed in a browser?

@MattHJensen @feenberg @PeterDSteinberg @brittainhard @enelson1995

TaxBrain fixes most of the issues raised in #545.  Thanks, @GoFroggyRun for the work on this.
However, my question about the Excel download has not been addressed.
I'm going to close this issue #545 and open a new one containing that question about the Excel download.


Why is NL:VAT (9944) not allowed in BR-NL-10?

We are running into problems with sending invoices through Peppol using SI UBL 2.0 when our clients try to send to Dutch recipients having a NL:VAT (9944) identifier, e.g. ProRail with 9944:nl804170009b01.
Since the recipient is located in NL rule BR-NL-10 applies and requires that the recipient uses either NL:OINO (0190) or NL:KVK (0106). Why is NL:VAT not part of this list?
And if BR-NL-10 cannot be altered to allow NL:VAT, should any Peppol participant located in NL with NL:VAT (9944) identifier be forbidden to list the SI UBL 2.0 document type as supported document type?

9994 is forbidden in PartyLegalEntity by both the European Norm (EN16931-3-2 page 19, business term BT-47), which limits it to official ISO6523 schemes, and NLCIUS (Gebruikersinstructie voor de basisfactuur 1.0.3, page 58, also BT-47), which, for Dutch organisations, limits it further to only OIN or KvK. The VAT identifier has its own business term (BT-48).
For addressing purposes on the peppol network, there is the cac:Party/cbc:EndpointID element, in which the peppol extension list (of which 9944 is part) are allowed.

Thanks for the swift response!
The difference between EN16931 and NLCIUS however is that EN16931 allows to leave the PartyLegalEntity/CompanyID element blank if the identifier is not part of the allowed scheme set. BR-NL-10 always requires this field to be present when the recipient is located in NL. This has been changed in f923aa51a359feba02f2fb617e085bd20188d60f.
With the current non-blank CompanyId requirement of BR-NL-10 I do not see a possibility to generate a valid SI UBL 2.0 for Dutch recipients using 9944. Do you have an example that shows otherwise?

The people from TNO made it clear to me that NLCIUS makes the element essentially mandatory (was already implemented, but restated in https://github.com/peppolautoriteit-nl/validation/issues/27), as well as restrict it to only OIN or KvK; so if you use VAT for addressing, I think you'll need to set both KvK and VAT (and I would then also set EndpointID to the 9944 scheme and value, so that automatic generation of the SBDH can still work). This requirement has other drawbacks (like, say, it excludes potential B2C use-cases from NLCIUS), but from what I have come to understand this is intentional, and if this is an issue, it requires a change request in the NLCIUS, IMHO.

To be honest, it all sounds very complicated to me. Identifiers (KvK, btw or OIN) should be used for addressing and preferably not impact the required fields for the content of the message.

Sorry, I did not mean to imply that, i was trying to say that if you want to derive addressing information from the content of the message, the EndpointID field is the first place to look, not PartyLegalEntity.

For now we've implemented a solution that requires our users to provide the KvK number as well whenever a NL:VAT address is chosen. However, the question about the intention behind this requirement remains.

If I remember correctly, the working group that designed the first version of NLCIUS (v1.0.0) wanted to keep the ID format as uniform as possible, hence rule BR-NL-10. The government in particular wanted this, I think.
I will add this as a change request. We'll discuss it in our working group meeting next month.

Since it's been added as a CR for NLCIUS, I'll close the issue here.

As discussed in the Technical NPa meeting (feb 4th 2021) we should reopen this case. @WvandenBerg van we elaborate on the progress that was made in the STPE meeting?

In the Technical NPa meeting (feb 4th 2021) it was said that there are Dutch organizations that need to receive invoices via Peppol, but do not have KvK number. Could anyone elaborate on that, provide some examples?

Just want to leave another note here, that came up as well today; if we ever want to expand into B2C we'll need to be able to create invoices where the customer has no legal registration number at all (and no VAT number either, for that matter).


yambo installation

I have linux mint and python3.6 prepared in my computer. Can I use "sudo python setup.py install"  to install yambo ? Thanks in advance.

Currently this is not possible.
You have to install yambo manually.
Yambopy is then used to call yambo or analyze the input/output.


Hotfix component index

The index.component file was missing the app folder reference after the ./ as well as the component folder created by the generator

:+1: Thanks!


Accessing data from "Nutrition" is not possible for anything except "Carbohydrates"

Describe the bug
Requesting "read" permissions for any dietary data but "Carbohydrates" doesn't work.
To Reproduce
Steps to reproduce the behavior:
const permissions = {
  permissions: {
    read: [
      AppleHealthKit.Constants.Permissions.ActiveEnergyBurned, // THIS IS OK
      AppleHealthKit.Constants.Permissions.BasalEnergyBurned, // THIS IS OK
      AppleHealthKit.Constants.Permissions.EnergyConsumed,
      AppleHealthKit.Constants.Permissions.Protein,
      AppleHealthKit.Constants.Permissions.BodyMass, // THIS IS OK
      AppleHealthKit.Constants.Permissions.BodyFatPercentage, // THIS IS OK
    ],
    write: [],
  },
};

Expected behavior
After doing:
AppleHealthKit.initHealthKit(permissions, (error: string) => {
  if (error) {
    console.log(error);
    console.log('[ERROR] Cannot grant permissions!');
  }
});

To be presented with a screen that includes the permissions requested (and described in the permissions array).
Screenshots
Here's a screenshot of code & emulator:

Smartphone (please complete the following information):

Device: Simulator:  iphone 12 mini
OS: 14.4
Version idk

Additional context
I copy pasted all available permission constants in this package and the only one that worked was "Carbohydrates".
Also thank you for this package! I am not very familiar with iOS development, but if Carbohydrates work, I think I can try helping fix this problem, given it's a bug and not missconfiguration by me...

Hey @fakeheal, probably you need to change these permissions on getReadPermFromText on RCTAppleHealthKit+TypesAndPermissions.m, would you like to open a PR for that?


VMClone create mutator: Refactor unit tests

What this PR does
Before this PR:
After this PR:
Tests were united into a table.
The actual AdmissionResponse object is tested against an expected AdmissionResponse object.
The mutator sets the correct APIGroup when the source is a VirutalMachineSnapshot object.
Tests were added to cover scenarios when the source it a VirutalMachineSnapshot object.
External dependencies were removed.
Tests were moved to the mutators_test package.

Fixes #
Why we need it and why it was done in this way
The following tradeoffs were made:
The following alternatives were considered:
Links to places where the discussion took place:
Special notes for your reviewer
Since this PR is already quite big, follow-up PR(s) should:

Make the JSON patch more precise.
Handle the case when the mutator has nothing to do.

Checklist
This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.

[ ] Design: A design document was considered and is present (link) or not required
[X] PR: The PR description is expressive enough and will help future contributors
[X] Code: Write code that humans can understand and Keep it simple
[X] Refactor: You have left the code cleaner than you found it (Boy Scout Rule)
[ ] Upgrade: Impact of this change on upgrade flows was considered and addressed if required
[ ] Testing: New code requires new unit tests. New features and bug fixes require at least on e2e test
[ ] Documentation: A user-guide update was considered and is present (link) or not required. You want a user-guide update if it's a user facing feature / API change.
[ ] Community: Announcement to kubevirt-dev was considered

Release note

None

/sig code-quality

Change: Make the VirtualMachineClone namespace and name constants.

Change: Answered @EdDev and @RamLavi comments.

Change: Rebase
Had to change newAdmissionReview and expectedJSONPatch to newAdmissionReviewForVMCloneCreation and expectedJSONPatchForVMCloneCreation in order not to collide with similar functions of another mutator introduced by https://github.com/kubevirt/kubevirt/pull/11561.

Change: Answered @EdDev's comment.

/approve


Crash on update in CollectionViewDataSource

I'm experimenting with the code in a slightly different context (so there may be no bug in the example app), but I  believe there's a lurking bug in the implementation of
processUpdates(updates: [DataProviderUpdate<Data.Object>]?)

if an update is received for an object (say via the FetchedResultsDataProvider invoking it's delegate - DataProviderDelegate.dataProviderDidUpdate(updates: [DataProviderUpdate<Object>]?)) for an object which is known and in the model, but has become off-screen, then inside the batch update's .Update(let indexPath, let object): clause, then the line
guard let cell = self.collectionView.cellForItemAtIndexPath(indexPath) as? Cell else { fatalError("wrong cell type") }

will fail because self.collectionView.cellForItemAtIndexPath(indexPath) can return nil for cells which are out of range, or simply because they're offscreen.  If there's no cell, it's likely the right approach is to check for a valid cell before proceeding and retain the type check on the cell type for safety (i.e.. split out the nil check from the type check)... something like
                case .Update(let indexPath, let object):
                    // Note: cell can be offscreen and therefore nil
                    if let c = self.collectionView.cellForItemAtIndexPath(indexPath) {
                        guard let cell = c as? Cell else { fatalError("wrong cell type") }
                        cell.configureForObject(object)
                    }

@georgeharker stubbled across this post, we too had to implement a check for nil cells.  Our context was utilizing lots of different custom cell types.  Great catch and +1 on this change to implementation.


Add new icon for group of documents or files

[ ] bug
[x] feature request
[ ] enhancement

Expected behavior
Could you please add the new icon in essential shapes for group of documents or files? It might look like icon for tags or users.
Actual behavior
There are no icon for group of documents of files now.
Environment details

Angular version: 4.3.X

Clarity version: 0.10.0-alpha.6

OS and version: Windows 10

Browser: all

@lil-kim Is it possible to include the requested icons above in our additional upcoming icons?

Thank you!


impr: update to dpp 0.12

Issue being fixed or implemented
With the pending release of @dashevo/js-dpp version 0.12, we needed to update some of the breaking changes.
What was done

fix: removed createDataContract
fix: properly release (throw) catched error

How Has This Been Tested?

updated the fixtures

Notes
Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation

@thephez yeah, we are waiting for wallet lib 6.1.0


Add flag for disabling default features when building contracts

multichain projects may want to enable/disable contract features for different chains they deploy on.
for example, as cw20s are phased out in favor of TokenFactory some deployments will need cw20 support, and some will use only native tokens. for example, Juno makes extensive use of the cw20 standard, but Osmosis deals entirely in native tokens.
in DAO DAO we're moving cw20 support behind a cargo feature flag that is enabled by default. it would be great to be able to enable / disable that as an argument to workspace-optimizer to make reproducible builds easier.

Yeah. This is already discussed in https://github.com/CosmWasm/rust-optimizer/issues/80. TLDR: The moment we allow that, code verification gets significantly mre complex as more inputs need to be maintained.

ah, i missed that. thanks for pointing to the other issue @webmaster128! i'll move further investigation there.


Tutorial button not properly navigating

If you click the tutorial button in the popup, it should navigate you to the main settings page and then do the tutorial-modal. Currently, if you already have the settings page domainlist tab open for Chrome then it will not switch to the main settings page and show the modal.
This was found in going through the checklist in https://github.com/privacy-tech-lab/gpc-optmeowt/issues/289 for Chrome.

This is a tricky issue. It works a lot better when navigating from another site. In that case, it works by switching the setting TUTORIAL_SHOWN to false, and then running chrome.runtime.openOptionsPage(). When our options page opens, it defaults to settings_view.js, which then checks the TUTORIAL_SHOWN value and shows the tutorial if it is false.
Currently, when on the options page, it sends a message to settings-view.js called SHOW_TUTORIAL. I think that this perhaps interacts strangely with the chrome.runtime.openOptionsPage() or storage.set(stores.settings, false, "TUTORIAL_SHOWN" lines. Our darkmode toggle works nearly identically because it uses the same message passing system, but it does not share any of the same issues.
Maybe we would have more success sending a message to protection.js and having that communicate with settings-view.js. Maybe there is a way to force a reload of the page, making it more similar to when our options page isn't open. Maybe there is a way to create an on change listener that looks for when TUTORIAL_SHOWN is changed. Other ideas are also welcome.

This is resolved.


WIP: Adding and integrating mocap_pose node

It's still a preliminary pull-request, please do not merge it yet.
Review and comment please!

Looks good. I guess next thing would be at least to add systemd service file to start up the mocap node. Not sure how to trigger the node start. The indoor_pos node starts when HTC vive tracker module is powered on, but there is no such external drone module for mocap, so something else should be used. Maybe it could be always started, but the node would be kind of idle state until it gets connected to the mocap server, so something like that..

Looks good. I guess next thing would be at least to add systemd service file to start up the mocap node. Not sure how to trigger the node start. The indoor_pos node starts when HTC vive tracker module is powered on, but there is no such external drone module for mocap, so something else should be used. Maybe it could be always started, but the node would be kind of idle state until it gets connected to the mocap server, so something like that..

Some information which I got from Johannes.
The drone will have another WLAN interface (TP-Link USB dongle) which will be connected to the mocap's own network. We should start the node when this WLAN device is detected and interface link is up. Also we should make this node to talk only to the mocap WLAN interface.

@jnippula @maseabunikie Can you please review again, and tell what is still missing?
Please double-check systemd stuff, I've just copy-pasted and edited that
Here few more questions:

@jnippula Do we need to control mocap_pose in the same way as it's done in indoor_pos?
How to make TP Link module to connect automatically to some specific WiFi network? I need help with that

@jnippula  @jlaitine @maseabunikie
Guys, please review again, I think it's now ready for merging.
One problem is that main of fog_sw points to very old version of systemd repo, such that I've got conflict here.

@jnippula @maseabunikie Can you please review again, and tell what is still missing?
Please double-check systemd stuff, I've just copy-pasted and edited that

Systemd file looks ok. However, we may need to change the Requires/After defines as we may not need to set mesh net up before other ros nodes that does not need to communicate via mesh.

Here few more questions:

@jnippula Do we need to control mocap_pose in the same way as it's done in indoor_pos?

Not sure what do you mean about this, but in general the mocap should handle the gps messages in the same way than indoor_pos does. Indoor_pos start is triggered by vive tracker usb connection, so that can't be done in the same way. Unless the TPlink receiver attach event could be used for that purpose.

How to make TP Link module to connect automatically to some specific WiFi network? I need help with that

Need to specify network configuration for that network adapter, if not yet done. Then the connection is established via that adapter in case the ip we are connecting to is defined to be routed via that interface. Let's check that on next week.


can't work, very slow

whey I try the code:
import yfinance as yf
msft = yf.Ticker("MSFT")
msft.info

it is very slow and can't work.  There may be some concerns for the url address.
I am in China, but the yahoo finance website is not blocked.

Same ticker, valid result in Belgium: "executed in 162ms, finished 19:34:55 2020-03-29"
Perhaps an ISP or proxy problem ? You can manually set a proxy via proxy="SERVER" (see the doc)

This error is not caused by yfinance but by other external factors.


Feature: Adding Support for Hamt

This PR uses the Hamt structure for large datasets where the key pairs are too big to fit in an ipld block of 2mb
Do not merge in until all zarrs support the hamt structure

Closing as the code is included in #6


Emit data event when moving, adding or removing shapes or points

Description
This PR addresses the first part of the discussion in #2809 - emitting data events when a shape or point is added, removed or moved.
Points addition and removal is already handled by emitting in the data setter, as each of these methods assign the new data. I've added an event emitted on mouse release after a dragging event that involved moving, to ensure we only emit once per move. This required adding an _is_moving attribute (already present in the Shapes layer) to exclude emission on non-point-moving dragging events.
Shapes layers only emitted data in the data setter. We now emit in the add and remove_selected methods, as well as on mouse release after a dragging event that involved moving. This is identical to the emissions in Points.
I was not able to find any tests checking events are emitted as expected, so I haven't added any. Is there a best approach for this? My only thought was simulating the events with qtbot and having implicit tests using qtbot.waitSignal with a timeout. @sofroniewn @jni does that seem useful?
I still think we should emit more information alongside the data event e.g. the type of event (add, remove or move) and the affected indices.
Type of change

[x] New feature (non-breaking change which adds functionality)

References
Partially addresses #2809.
Supersedes #2720.
How has this been tested?

[ ] example: the test suite for my feature covers cases x, y, and z
[ ] example: all tests pass with my change

Final checklist:

[ ] My PR is the minimum possible work for the desired functionality
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] If I included new strings, I have used trans. to make them localizable.
For more information see our translations guide.

@jni  I've made those changes for Points layer now. Want to have a look and see if you prefer that? It still feels kinda wrong to have that _move call with an empty list and coordinates...

Just wanted to leave this code sample here as well in case someone wants to play with this:
import napari
import numpy as np

PTS_COUNT = 0
SHAPES_COUNT = 0

def pts_event_handler(event):
    global PTS_COUNT
    PTS_COUNT += 1
    print(f"POINTS EVENT EMITTED {PTS_COUNT}")

def shapes_event_handler(event):
    global SHAPES_COUNT
    SHAPES_COUNT += 1
    print(f"SHAPES EVENT EMITTED {SHAPES_COUNT}")

viewer = napari.Viewer()

points = np.array([[100, 100], [200, 200], [333, 111]])
size = np.array([10, 20, 20])
pts_layer = viewer.add_points(points, size=size, name='points')

# create a list of polygons
polygons = [
    np.array([[11, 13], [111, 113], [22, 246]]),
    np.array(
        [
            [505, 60],
            [402, 71],
            [383, 42],
            [251, 95],
            [212, 59],
            [131, 137],
            [126, 187],
            [191, 204],
            [171, 248],
            [211, 260],
            [273, 243],
            [264, 225],
            [430, 173],
            [512, 160],
        ]
    ),
    np.array(
        [
            [310, 382],
            [229, 381],
            [209, 401],
            [221, 411],
            [258, 411],
            [300, 412],
            [306, 435],
            [268, 434],
            [265, 454],
            [298, 461],
            [307, 461],
            [307, 507],
            [349, 510],
            [352, 369],
            [330, 366],
            [330, 366],
        ]
    ),
]

# add polygons
shapes_layer = viewer.add_shapes(
    polygons,
    shape_type='polygon',
    edge_width=1,
    edge_color='coral',
    face_color='royalblue',
    name='shapes',
)

pts_layer.events.data.connect(pts_event_handler)
shapes_layer.events.data.connect(shapes_event_handler)

napari.run()

I do think not having the self._is_moving is a bit cleaner, since it keeps that separation between the mouse dragging and the actual moving code.

yup agreed! I like the diff much more as it is now. I think we use this in shapes, but maybe we can get rid of it there too. I much prefer things being local too.
I have not tried example yet, but code looks good to go for me!


BUG: shgo appears not to work with linear constraints

Describe your issue.
I am using shgo to minimize a function with linear constraints but it is not working. Here is a MWE:
from scipy.optimize import shgo,  rosen

# Set up the constraints list
constraints = [{'type': 'ineq', 'fun': lambda x, i=i: x[i+1] - x[i] - 0.1} for i in range(2)]

# Define the variable bounds
bounds = [(0, 20)]*3

# Call the shgo function with constraints
result = shgo(rosen, bounds, constraints=constraints)

# Print the optimal solution
print("Optimal solution:", result.x)
print("Optimal value:", result.fun)

This outputs
Optimal solution: None
Optimal value: None

The constraints say that each of the three values should be at least 0.1 bigger than the previous.  A feasible solution is:
rosen((0.1, 0.21, 0.32))
13.046181

If I change the constraints from -0.1 to +0.1 then I do get a solution but it doesn't satisfy the new constraints.
Optimal solution: [0.14728679 0.04728679 0.00223603]
Optimal value: 1.7002844478208645

If I change the constraints to only control the difference between the first two variables:
constraints =  [{'type': 'ineq', 'fun': lambda x: x[1] - x[0] - 0.1}]

then I get
Optimal solution: [ 0. 20. 20.]
Optimal value: 14480362.0

This is feasible although a terrible quality solution.
Reproducing Code Example
from scipy.optimize import shgo,  rosen

# Set up the constraints list
constraints = [{'type': 'ineq', 'fun': lambda x, i=i: x[i+1] - x[i] - 0.1} for i in range(2)]

# Define the variable bounds
bounds = [(0, 20)]*3

# Call the shgo function with constraints
result = shgo(rosen, bounds, constraints=constraints)

# Print the optimal solution
print("Optimal solution:", result.x)
print("Optimal value:", result.fun)

### Error message

No feasible solution is given.

### SciPy/NumPy/Python version and system information

```shell
1.10.1 1.22.4 sys.version_info(major=3, minor=10, micro=12, releaselevel='final', serial=0)
Build Dependencies:
  blas:
    detection method: cmake
    found: true
    include directory: unknown
    lib directory: unknown
    name: OpenBLAS
    openblas configuration: unknown
    pc file directory: unknown
    version: 0.3.18
  lapack:
    detection method: cmake
    found: true
    include directory: unknown
    lib directory: unknown
    name: OpenBLAS
    openblas configuration: unknown
    pc file directory: unknown
    version: 0.3.18
Compilers:
  c:
    commands: cc
    linker: ld.bfd
    name: gcc
    version: 10.2.1
  c++:
    commands: c++
    linker: ld.bfd
    name: gcc
    version: 10.2.1
  cython:
    commands: cython
    linker: cython
    name: cython
    version: 0.29.33
  fortran:
    commands: gfortran
    linker: ld.bfd
    name: gcc
    version: 10.2.1
  pythran:
    include directory: /tmp/pip-build-env-xob7rtip/overlay/lib/python3.10/site-packages/pythran
    version: 0.12.1
Machine Information:
  build:
    cpu: x86_64
    endian: little
    family: x86_64
    system: linux
  cross-compiled: false
  host:
    cpu: x86_64
    endian: little
    family: x86_64
    system: linux
Python Information:
  path: /opt/python/cp310-cp310/bin/python
  version: '3.10'

Update:
It turns out the problem with the specific example I gave is the default sampling method. If  you change it to sobol or halton then it optimizes correctly.  The error you get with simplicial is Failed to find a feasible minimizer point. Lowest sampling point = None although I don't know why.
However if you simply change the constraints line to
constraints = [{'type': 'ineq', 'fun': lambda x, i=i: x[i+1] - x[i] + 0.1} for i in range(2)]

then all three sampling methods return solutions which don't meet the constraint but report success: True. As an example using sobol.

     message: Optimization terminated successfully.
     success: True
         fun: 1.0997199940675532e-18
        funl: [ 1.100e-18  2.722e-11  1.700e+00  1.700e+00]
           x: [ 1.000e+00  1.000e+00  1.000e+00]
          xl: [[ 1.000e+00  1.000e+00  1.000e+00]
               [ 1.000e+00  1.000e+00  1.000e+00]
               [ 1.473e-01  4.729e-02  2.236e-03]
               [ 1.473e-01  4.729e-02  2.236e-03]]
         nit: 2
        nfev: 299
       nlfev: 171
       nljev: 34
       nlhev: 0
    Optimal solution: [1. 1. 1.]

I have no idea why simplicial doesn't work. However, it definitely works for sobol:
from scipy.optimize._constraints import NonlinearConstraint, LinearConstraint
from scipy.optimize import rosen, shgo
import numpy as np
nlc = NonlinearConstraint(c, 0, np.inf)
shgo(rosen, [(0, 20)] * 3, constraints=(nlc,), sampling_method='sobol')

 message: Optimization terminated successfully.
 success: True
     fun: 0.04453888080962722
    funl: [ 4.454e-02  4.454e-02  4.454e-02  6.420e+00]
       x: [ 1.090e+00  1.190e+00  1.415e+00]
      xl: [[ 1.090e+00  1.190e+00  1.415e+00]
           [ 1.090e+00  1.190e+00  1.415e+00]
           [ 1.090e+00  1.190e+00  1.415e+00]
           [ 0.000e+00  1.000e-01  2.000e-01]]
     nit: 1
    nfev: 546
   nlfev: 529
   nljev: 124
   nlhev: 0

A = np.array([[-1, 1, 0], [0, -1, 1], [0, 0, 0]])
lc = LinearConstraint(A, [0.1, 0.1, 0], np.inf)
shgo(rosen, [(0, 20)]*3, constraints=(lc,), sampling_method='sobol')

 message: Optimization terminated successfully.
 success: True
     fun: 0.04453888080962722
    funl: [ 4.454e-02  4.454e-02  4.454e-02  6.420e+00]
       x: [ 1.090e+00  1.190e+00  1.415e+00]
      xl: [[ 1.090e+00  1.190e+00  1.415e+00]
           [ 1.090e+00  1.190e+00  1.415e+00]
           [ 1.090e+00  1.190e+00  1.415e+00]
           [ 0.000e+00  1.000e-01  2.000e-01]]
     nit: 1
    nfev: 546
   nlfev: 529
   nljev: 124
   nlhev: 0

Yes the problem is entirely with simplicial. This is made worse by its being the default.

@Stefan-Endres : There seems to be a bug for simplificial sampling. Would you be able to look into it?

Maybe simplicial should not be the default sampling method. This much simpler example without linear constraints shows another problem.
scipy.optimize.shgo(rosen, bounds, sampling_method="simplicial")
Out[79]:
 message: Optimization terminated successfully.
 success: True
     fun: 3.402056036374173
    funl: [ 3.402e+00]
       x: [ 2.500e-01  7.325e-02  1.552e-02  1.014e-02  1.028e-04]
      xl: [[ 2.500e-01  7.325e-02  1.552e-02  1.014e-02  1.028e-04]]
     nit: 1
    nfev: 111
   nlfev: 78
   nljev: 12
   nlhev: 0

Whereas the other two sampling methods give the true optimum, e.g.

scipy.optimize.shgo(rosen, bounds, sampling_method="sobol")
Out[78]:
 message: Optimization terminated successfully.
 success: True
     fun: 2.6456658876268984
    funl: [ 2.646e+00  2.646e+00  2.646e+00]
       x: [ 5.000e-01  2.630e-01  7.996e-02  1.623e-02  2.635e-04]
      xl: [[ 5.000e-01  2.630e-01 ...  1.623e-02  2.635e-04]
           [ 5.000e-01  2.630e-01 ...  1.623e-02  2.635e-04]
           [ 5.000e-01  2.630e-01 ...  1.623e-02  2.635e-04]]
     nit: 1
    nfev: 369
   nlfev: 256
   nljev: 39
   nlhev: 0

We cannot simply change the default method to simplicial, this would be a breaking change. The best possible solution would be to fix the method but that will be likely difficult.


Improve Build separation for IPv4/IPv6

Improve Build separation for IPv4/IPv6
Description
Only include FreeRTOS_ARP if IPv4 is enabled. Move everything else into routing which calls either ARP or ND. Also create a frame agnostic helper for checking the cache.
Test Steps
Need to finish adjusting a couple tests
Checklist:

[ ] I have tested my changes. No regression in existing tests.
[ ] I have modified and/or added unit-tests to cover the code changes in this Pull Request.

Related Issue

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thanks for the PR. Looks like there are a few formatting and other CI checks that need to be addressed. I'll make sure to send this to the team for review as well.

/bot run formatting

@tony-josi-aws I noticed some issues with ARP/ND in this and I started to fix them but didn't want to lose focus of the point of this PR. I'll make a separate PR for that.

Also parts of xCheckRequiresResolution and xStartAddressResolution are currently redundant so I need to reconcile duplicate functionality as well. I'll save any functionality changes for a different PR so that this mostly just helps build separation.

/bot run formatting

/bot run formatting

@tony-josi-aws I went back one more time to make it simpler and less to review

/bot run formatting


Update source-map-resolve to v0.6.0

This PR update the source-map-resolve module to v0.6.0
Note that source-map is different from source-map-resolve, so the #13 is not applied here
Closes #24

Ping @jonschlinkert @danez @doowb

@jonschlinkert could you please consider merging this? 🙏

I’ve addressed this before. Yes, but it will be a major version bump and will not make any difference to any dependent packages.
Sent from my iPhone

On Jul 3, 2020, at 12:28 AM, Bram Borggreve<EMAIL_ADDRESS>wrote:
@jonschlinkert could you please consider merging this? 🙏
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

@jonschlinkert, i used yarn to force bump dependencies, and everything is still works, i mean, there's no breaking or non compatible changes in mentioned module, so it doesn't need a major version change.

the 0.6.0 changelog for reference: https://github.com/lydell/source-map-resolve/blob/master/changelog.md#version-060-2020-03-21
Does snapdragon use the browser version of source-map-resolve? If not, the update shouldn't cause a breaking change

Great, have you checked the engines property in the package.json of all downstream dependencies of source-map-resolve? If any of the engines versions are higher than the engine in this package, a major bump is required.

@jonschlinkert just want to say thank you for taking action on this. It's highly appreciated!

@jonschlinkert

"node": ">=0.10.0"

this isn't actually satisfied right now:
% docker run node:0.10 npm install snapdragon
npm WARN engine<EMAIL_ADDRESS>wanted: {"node":">=4.7"} (current: {"node":"0.10.48","npm":"2.15.1"})
npm WARN deprecated<EMAIL_ADDRESS>https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated<EMAIL_ADDRESS>Please see https://github.com/lydell/urix#deprecated
npm WARN engine<EMAIL_ADDRESS>wanted: {"node":">=4.7"} (current: {"node":"0.10.48","npm":"2.15.1"})
npm WARN engine<EMAIL_ADDRESS>wanted: {"node":">= 4.5.0"} (current: {"node":"0.10.48","npm":"2.15.1"})
<EMAIL_ADDRESS>node_modules/snapdragon
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>└──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

Perfect, thanks for taking the time to do that! I'll merge ASAP.

Any idea how long does ASAP mean?

@jonschlinkert can you please return to reviewing this?
@danez @doowb maybe some of you could help as well?

@jonschlinkert been a while now. Would you mind merging and release this? Thanks in advance!

Happy new year everyone subscribed to updates!
Maybe this PR will be merged this year, @jonschlinkert :octocat:

/cc @jonschlinkert @danez @doowb @EdwardBetts

The suggested update changes ^0.5.0 to ^0.6.0 – aren't they both equivalent to 0.x and so wouldn't they both install the latest version of source-map-resolve?

If the semver ends on a 0 it only allows for patch-level increments

Released in 0.12.1.

So much thanks for this, it's finally closed!


running dev env remotely conflicting with redirect rules

trying to run in ec2 instance.
initial error appears to be the forcing of https://www if detected domain is not recognized
may subsequently require CI's BASE_URL to be updated... ie read from system env overrides what's in .env file

resolved


Review Ticket: UI Starters

Flask Portfolio:

main page:

stub.html:

Fastpages:

New page for Javascript: https://ekamjot-kaire.github.io/fast-pages/java/
JavaScript Table: https://ekamjot-kaire.github.io/fast-pages/2022/09/28/javascipt-table.html
Personal usage of JavaScript: https://ekamjot-kaire.github.io/fast-pages/2022/09/28/javascriptusage.html

2.7+/3

Personal Flask: Personalized homepage, very pretty!
Created table with JavaScript and took notes in JavaScript, very good understanding

I would give Ekam a 2.7 because she has everything required for the week, her javascript table is also a bit personalized because it's highlighted and has a shadow which adds personality to the table and shows knowledge on how to do this in javascript. Her notes page is also really direct. Her personal flask portfolio is also informative and gives interesting information.

2.7:
-cool images and explanations in flask
-about me page
-javascript usage


Simplify SinkBuffer by removing thread pool

Since the only purpose of pipeline_exchange_thread_pool is to start brpc task, it does no improvement to performance and introduces unnecessary complexity including

Only one task is executing at any time
rpc task interact with brpc task, which need a bunch of auxiliary data structures
etc...

So we can simply remove the pipeline_exchange_thread_pool by replacing asynchronous actions with synchronous actions

run starrocks_be_unittest

run starrocks_be_unittest


Handle missing or invalid kafka secrets

Fixes #12
Added minimal stability fixes so that the "Kafka" use case behaves similar to the "EventHubs" use case when the Kafka Secret is missing or invalid.
Also re-added the Makefile which was accidentally removed.  We can refactor it out into hack scripts or something else at some point, but it still has useful development utilities (partial test runs with code coverage and such...)

/LGTM


文件名有误，在大小写敏感的文件系统中无法加载类型

文件名有误，在大小写敏感的文件系统中无法加载类型
diff:
diff --git<EMAIL_ADDRESS><EMAIL_ADDRESS>index f149365..4b3d680 100644
---<EMAIL_ADDRESS>+++<EMAIL_ADDRESS>@@ -1 +1 @@
-export { default as TaroVirtualList } from './virtualList'
+export { default as TaroVirtualList } from './VirtualList'

This issue body was partially generated by patch-package.

文件名有误，在大小写敏感的文件系统中无法加载类型
diff:
diff --git<EMAIL_ADDRESS><EMAIL_ADDRESS>index f149365..4b3d680 100644
---<EMAIL_ADDRESS>+++<EMAIL_ADDRESS>@@ -1 +1 @@
-export { default as TaroVirtualList } from './virtualList'
+export { default as TaroVirtualList } from './VirtualList'

This issue body was partially generated by patch-package.
好的，已经在1.1.1版本修改了，感谢指出


hello world example

hello
if i launch hello world example the screen is blank
the screen is blank when the resolution is : createCanvas(960, 540);
the button example is ok only if i press a button
what is the problem ?

I dont know the reason behind that maybe creating single canvas with that dimension , maybe EPD driver
I managed to make it work with creating 2 canvas covering whole screen size
`#include <M5EPD.h>
M5EPD_Canvas canvas(&M5.EPD);
M5EPD_Canvas canvas2(&M5.EPD);
void setup()
{
M5.begin();
M5.EPD.SetRotation(90);
M5.EPD.Clear(true);
canvas.createCanvas(270, 480);
canvas2.createCanvas(270, 480);
canvas.setTextSize(3);
canvas.drawString("Hello World", 45, 350);
canvas.pushCanvas(0,0,UPDATE_MODE_DU4);
canvas2.pushCanvas(270,0,UPDATE_MODE_DU4);
}
void loop()
{
}`

I dont know the reason behind that maybe creating single canvas with that dimension , maybe EPD driver
I managed to make it work with creating 2 canvas covering whole screen size
`#include <M5EPD.h>
M5EPD_Canvas canvas(&M5.EPD);
M5EPD_Canvas canvas2(&M5.EPD);
void setup()
{
M5.begin();
M5.EPD.SetRotation(90);
M5.EPD.Clear(true);
canvas.createCanvas(270, 480);
canvas2.createCanvas(270, 480);
canvas.setTextSize(3);
canvas.drawString("Hello World", 45, 350);
canvas.pushCanvas(0,0,UPDATE_MODE_DU4);
canvas2.pushCanvas(270,0,UPDATE_MODE_DU4);
}
void loop()
{
}`

hello
i found the problem
i didn't selected the good board (esp32-espressif instead of m5paper)

hello
i found the problem
i didn't selected the good board (esp32-espressif instead of m5paper)

hello
i found the problem
i didn't selected the good board (esp32-espressif instead of m5paper)

if your problem had been resolved , please close this issue. thanks.

hello
i found the problem
i didn't selected the good board (esp32-espressif instead of m5paper)

if your problem had been resolved , please close this issue. thanks.


[ci] fix testcase failure

Temporarily delete glm4 testcase because of transformers update
update gemma2 score
remove max-num-workers params in command testcase

test workflow Is https://github.com/open-compass/opencompass/actions/runs/11090530098

I have updated GLM-4 on aliyun, please try again.


RFC0028: add 'request' to state matrix

@dhh1128
As per #309, added request to state matrix, with new state requested for the introducee.
Signed-off-by: George Aristy<EMAIL_ADDRESS>

@dhh1128
Please clarify what you mean by "optional". Is it in the sense that there are two entrypoints to the introducee's state machine, or is it in the sense that implementations are not required to support it?

I mean it in the sense that there are two entry points. Everybody has to support both, but a given instance of the protocol flow doesn't have to start with a request.

agreed


Fast input source switching is broken

Input source switching is typically bound to something like Cmd+Space. With Karabiner running, if you hit the shortcut fast, input source is not switched, but if you hold it long enough (0.5-1s) the macOS input source switching pop-up appears. That is really inconvenient for multi-language setups.
Possibly related issue: #36.

Closing as duplicate of #41.


Task 28

SourceCode/2024/Basics-April2024/Radha/Task 28/project.json
Okay, I'll do my best to act as an UiPath code reviewer and provide feedback on the given file. Here are my findings:

The organization requires a URL for Automation Hub in Project Settings, so please add this information. (Ignored)
The Log Message activity in Main.xaml is not used in the workflow. It's important to use Log Messages during development and after release to understand the workflow path and identify errors easily. Please remove the unnecessary Log Message activity. (Executions: 0, Annotations & Comments: 1, Total Score: 1)
The sequence "Sequence" is redundant and should be removed since it only clutters the workflow. Use the Remove Surrounding Sequence option in UiPath Studio to remove it. (Executions: 0, Annotations & Comments: 1, Total Score: 1)
Some activity names are too generic and could be improved for better understanding of their usage. Please avoid duplicate names and provide more descriptive titles where possible. (Executions: 0, Annotations & Comments: 2, Total Score: 2)
The Read PDF Text activity has a default name that doesn't explain its purpose well. Please add a more descriptive title to the activity to clarify what it does. (Executions: 0, Annotations & Comments: 1, Total Score: 1)
Similarly, some of the other activities have default names that are not very informative. Please consider adding more descriptive titles where possible. (Executions: 0, Annotations & Comments: 2, Total Score: 2)
Some activities have redundant or unnecessary options, such as "Export PDF Page As Image" and "Join PDF Files". Please review these activities and remove any unnecessary options. (Executions: 0, Annotations & Comments: 1, Total Score: 1)
The Get PDF Page Count activity has a default name that doesn't explain its purpose well. Please add a more descriptive title to the activity to clarify what it does. (Executions: 0, Annotations & Comments: 1, Total Score: 1)
Some activities have message boxes with generic titles like "Message Box". Please consider adding more descriptive titles to these activities to explain their purpose better. (Executions: 0, Annotations & Comments: 1, Total Score: 1)
The Manage PDF Password activity has a default name that doesn't explain its purpose well. Please add a more descriptive title to the activity to clarify what it does. (Executions: 0, Annotations & Comments: 1, Total Score: 1)

Based on these findings, I would give this project a score of 3 out of 5. Some improvements have been made, but there are still some areas where the activity names could be more descriptive and some unnecessary options could be removed.

SourceCode/2024/Basics-April2024/Radha/Task 29/project.json
Hello! As an UiPath code reviewer, I've reviewed your PR file and found some areas that need improvement. Here are my findings:

Automation Hub URL missing: In Project Settings, please define the Automation Hub URL. This is a requirement for your organization.
Unused Log Message in Main workflow: It's important to use Log Messages during development and after release to understand the workflow's flow path and identify errors easily. Please remove the unused Log Message activity in Main.xaml.
Duplicate activity names: In Sequence, there are multiple instances of the same activity name. To avoid confusion, please give each activity a unique name that indicates its purpose. The default names are too generic, so please avoid using them.
Unclear activity names: In Read Range Workbook, the activity name is ambiguous. Please give the activity a more descriptive title to help understand its purpose.
Missing DataTable prefix: In Variable Result, the variable doesn't have the required DataTable prefix. Please start the variable name with dt_.
Unhelpful activity names: In Activity Try Catch and Activity Kill Process, the default activity names are too generic. Please give each activity a more descriptive title to help understand its purpose.

Based on these findings, I will give your PR a score of 2 out of 5. Please address these issues before submitting the PR for review.

SourceCode/2024/Basics-April2024/Radha/Task 30/project.json
Hello! As an UIPath code reviewer, I have reviewed your project and identified some areas that could be improved. Here is my feedback:

NoFile: Your organization requires your project to have an Automation Hub URL defined. Please add the missing information in Project Settings.
Main.xaml: You have a Log Message activity without using it in the workflow. It's important to use Log Messages during development and after release to understand the flow path and identify errors easily. Please use the Log Message activities appropriately.
Multiple occurrences of "Display Name" are defined for Message Box activities. The allowed threshold is 1. Please avoid duplicate names and give clear indications of how each activity is used.
Variable "Result" doesn't have a DataTable prefix. Please start the variable name with "dt_".
Activity "For Each Row in Data Table" has a default name that could be more descriptive. Can you add a more detailed title to understand what the activity does?
Activity "Message Box" has a default name that could be more descriptive. Please add a more detailed title to understand what the activity does.
Activity "If" has a default name that could be more descriptive. Please add a more detailed title to understand what the activity does.
Activity "Throw" has a default name that could be more descriptive. Please add a more descriptive title to understand what the activity does.

Overall, your project scores 3 out of 5 for code completion, execution, annotations and comments, and overall readability. Please address these issues in your project to improve its quality and maintainability.

@Radha93M
Task -28
Code verified.
Task -29
Code verified.
Task -30
Code verified.


Getting Started Guide: Linux

This is a getting started guide focusing on Ubuntu, the distro of choice for Linux.

I just noticed while reviewing the CI logs, the new file's extension is repeated.

@bashbaug I added dropdown menus to the various ways of obtaining the headers/lib and how to build on the command-line in each case, but left uncollapsed by default only the the simplest way: APT. I left GitHub and Vcpkg there for those interested in those ways as well, but they're somewhat "out of sight, out of mind" and don't clutter the straightforward way.
Does that seem like something acceptable?
I also went ahead and removed the VS Code part because it was way too brief compared to the depth, so I will write a separate document which we can link from the end of both the Windows and Linux guide some other time.


Changing indication for current line.

The plugin is great to use, as it offers experience in vim like native Coq IDE ;P
I would like to know which lines have already been proved, so I always know where I am.
Does Coqtail offer this feature? I see CoqIDE and coquille have this feature, and for Coqtail when I enable cursorline I can see indications at the end of line when I place the cursor onto a line that is already proved. But I would like the indication to work even if cursorline is not enabled. Also I would like it to be clearer e.g. different bgcolor for proven / unproven lines.
Is it easy to do this in Coqtail?

I see in coqtail.vim that this maybe has been done.
    hi default CheckedByCoq ctermbg=17 guibg=LightGreen
    hi default SentToCoq ctermbg=60 guibg=LimeGreen

But it does not work for me, checked lines does not have green background.
I'm using vim 7.4 with python3, and Coq 8.4pl4.

What I see currently ("proved" lines in blue):

Is this what you are looking for? (I have no idea what could be the problem, but I'm on vim 8.1)

Thanks for opening this issue, I'm glad you find Coqtail useful. Those two lines you mentioned are supposed to highlight the lines that have already been proved like in Lysxia's screenshot. If it's not doing that for you it could be some issue with syntax highlighting and your version of vim or one of your settings. I'll look into it soon and let you know what I come up with.

@whonore I found the problem to be related to some xterm setting...
After I modified the lines from
    hi default CheckedByCoq ctermbg=17 guibg=LightGreen
    hi default SentToCoq ctermbg=60 guibg=LimeGreen

to
    hi default CheckedByCoq ctermbg=lightgreen guibg=Green
    hi default SentToCoq ctermbg=lightblue guibg=LimeGreen

and then the highlight worked well.
Although I don't know why my xterm (in fact it's ubuntu's gnome-terminal) is unhappy with the cterm color numbers :(

d9b488d1d3201f9fd96f7c16329711913cd48cc8 should make it so 8/16-color terminals get highlighting that is visible to them.

That does really work.


Body spacing increase upon opening Dialog on small screens

Expected behavior
<Dialog /> component upon opening in small breakpoint (mobile) should keep the underlying body spacing unaffected
Current behavior
<Dialog /> component upon opening in small breakpoint (mobile), extends/increases the body padding
Possible solution
Not sure about the internal architecture
Steps to reproduce (for bugs)

Open Dialog component in the website
Navigate to Trigger section
Set the device to iPhone XYZ or Samsung XYZ
Click the Open Dialog button
You'll see the underlying body padding increases so as to accommodate the Dialog

Context
Was trying to open a controlled confirmation dialog for end-user in an internal project, using a smartphone
Version
v0.58.0
Environment
UI Library: React 18
Browser: Brave
OS: Windows 11

@mineral-ci any updates here?


How can we run some utils tool like bin2c from command line?

Is your feature request related to a problem? Please describe.
Run utils tools from command line
Describe the solution you'd like
xmake lua utils.bin2c('XXX')
Describe alternatives you've considered
No response
Additional context
No response

$ xmake l private.utils.bin2c -h
Print c/c++ code files from the given binary file.

Usage: xmake l private.utils.bin2c [options]

Options:

    -h, --help                                Print this help message and exit.

    -w LINEWIDTH, --linewidth=LINEWIDTH       Set the line width
        --nozeroend                           Disable to patch zero terminating character
    -i BINARYPATH, --binarypath=BINARYPATH    Set the binary file path.
    -o OUTPUTPATH, --outputpath=OUTPUTPATH    Set the output file path.

Thanks!


feat: add object and propName to onDereference callback

This is an implementation proposal to add 2 new arguments to dereference.onDereference options.
The 2 new arguments are:

parent: The parent of the dereferenced object
parentPropName:  The prop name of the parent object whose value was dereferenced

In other words: the current 2nd onDereference argument (the inlined schema) would be the result of object[propName].
Extra info
Exposing a callback with 4 arguments is probably sub optimal in terms of API. In a next major release the callback could be refactored to accept an object to provide named arguments.
The idea behind this PR was born while developing openapi-ts-json-schema, where json-schema-ref-parser's onDereference callback is used to append meta data to the dereferenced objects. This would sensibly provide more flexibility and power to the callback.
I'm aware it could be quite niche use case and I'll be fine whatever decision you are going to take about this PR.
Happy to update this PR based on you feedback, if the case.
Thank you so much for the priceless work you are doing here! 🙌
Cheers!

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

6 of 6 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.02%) to 95.771%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
3214

Relevant Lines:
3313

💛  - Coveralls


Updates

In this pull request, I have added:

The founder's note page
The cohorts page
The schedule (on the navbar and in "learn more" of the home page)
Put the correct Google form links for "join cohort" and "register your interest"
Greyed out the inactive nav links
Replaced some images with clearer ones

Really excellent work, thank you. I have some design comments that we'll talk about tomorrow. I'll merge this in the mean time.


Picker not openable

Just playing around and noticed that the picker component doesn't seem to actual open!  I have a basic screen and when pressing on the picker, nothing happens.  I added in a button just to make sure that there wasn't something weird going on and the entire screen wasn't registering presses or something like that (the button shows the alert completely fine).  I also tried taking out the View wrapper and making it a VStack in case that had something to do with it, but I got the same results.  Setting the useBinding value to "Option 2" or "Option 3" makes the component show that value, so it seems that the binding is working.
import { View } from "react-native";
import { Picker, useBinding, Text, Button } from "swiftui-react-native";
import { Alert } from "react-native";

export default function Translate() {
  const selection = useBinding("Option 1");

  return (
    <View style={{ flex: 1, gap: 20 }}>
      <Button action={() => Alert.alert("hello")} title="does this work?" />
      <Picker selection={selection}>
        <Text>Option 1</Text>
        <Text>Option 2</Text>
        <Text>Option 3</Text>
      </Picker>
    </View>
  );
}

After some trial and error, it seems that setting the frame height to at least 8 makes it work.  7 and below and it doesn't open.
      <Picker selection={selection} background="red" frame={{ height: 8 }}>
        <Text>Option 1</Text>
        <Text>Option 2</Text>
        <Text>Option 3</Text>
      </Picker>
      ```

Ah okay there was a bug. I will push this fix out in the next minor release with a few other changes. Will keep you posted!

@gorbypark This should be fixed in<EMAIL_ADDRESS>Let me know if you're still seeing the issue!


Settings should honor values established in Tapis Auth Cache files

At present, all settings, even tenant_id, api_server, etc. bootstrap from the .env and shell environment. This means that core API configurations like the tenant identifier, API server, Tapis username, and so on must be specified twice. Make the code work such that default values can be established from the Tapis auth cache, failing over the the .env and environment workflow if the cache is not available.

Done


[Feature request] Minimum and maximum width/height on paddings

One feature I loved about V1 is setting minimum or maximum width/height on the background layer. Would really like to see this in V2. Thanks!

Got it in the road map. 👍
Curious; would you expect that to restrict the other content to remain within the 'padding layer' when it hit's it max/min sizes? Or would the content not be affected; only the 'padding layer' would be restricted?

I honestly think the content should be restricted to the hard rules of max/min sizes, however I could see if you set max/min on both width and height, at some point the content will have nowhere to go. It's a tough challenge to solve. But even having only the padding layer be restricted will be great!

I agree on it restricting content. The use case that comes to mind for me is assigning a min or max in use for layout within a screen. This means you would want a sidebar for example to be a min-width and it would re-layout everything inside as the width changes.

Hmm 🤔 Is there a way to handle both cases – maybe taking into account Sketch's resizing constraints?
Maybe it is just a hard rule for sizing the padding layer itself. But if you have set a 'fixed width' / 'fixed height' on a group; it will respect that after resizing/moving layers or adjusting padding layers; and re-layout the layers so that it stays the same width/height.
Thoughts?

I'm thinking more about the case where when you edit the text inside a fixed size group. What will happen to the text content?
I'd imagine because width is fixed, so the text has to wrap, but that would cause it to have an increased height, which may go beyond the fixed height of the group.
But I guess there's no way to accommodate both without having the content overflow. Even css does that.
https://codepen.io/anon/pen/JvpevY
This wouldn't be a problem with min width/height since the content size is always larger than that before the rule kicks in.
For max width/height, I think when the content size goes beyond the max size, the content should be untouched, and the padding layer should stay at the max size, similar to the CSS behavior.


test-branch/execute-job/wrong-commit-sha-on-pr/022accd3-cabe-43f8-9129-7db0182c9202

PR for testing 12ef5ca981c22abc4ac570cf994858521a5e3f98

/canonical/self-hosted-runners/run-workflows 27c1f83b0d25c0128e15755c2f36bcf8b64e8a9f


Fluent configuration of Remove processor on PutPipelineRequestDescriptor doesn't support field descriptor

Is your feature request related to a problem? Please describe.
When creating an ingest pipeline in code, some processors support using the TDocument when configuring the Field to act on. Remove does not.
var putPipelineResponse = await es.Ingest.PutPipelineAsync<EncryptedAuthenticationSession>(pipelineName, p => p
    .Description("Adds geo IP and user agent information.")
    .Processors(pr => pr
        .Geoip(g => g.Field(f => f.RemoteIpAddress!).TargetField("geo_ip").IgnoreMissing())
        .UserAgent(u => u.Field(f => f.UserAgentString!).TargetField("user_agent").IgnoreMissing())
        .Remove(r => r.Field("user_agent_string"!))), ct);

See above, we can only provide a string, implicitly converted to Fields.
Describe the solution you'd like
Potentially, there's something amiss with the code generation, or we must manually add this to the partial class. It would be helpful if this processor acted like the others.
Describe alternatives you've considered
N/A
Additional context
Another slight developer experience issue I encountered is that when using the string to define the field, you get a nullability warning. This is due to the implicit conversion potentially returning null.
For example:

I use the null forgiving operator in the preceding code snippet to avoid the warning. It would be nice not to have to do that. This might be achieved with additional nullability annotations on the implicit conversion operator.

The Remove processor uses Fields instead of Field . C# does not do "transient" implicit conversions here, which is a little bit inconvenient .. Fields supports conversion from e.g. string[], but not for string. I think I could add implicit conversions for the scalar types as well to make it a bit easier to use.

I use the null forgiving operator in the preceding code snippet to avoid the warning. It would be nice not to have to do that. This might be achieved with additional nullability annotations on the implicit conversion operator.

I planned to use the NotNullIfNotNull annotation, but I have to do some internal refactoring first, because currently the operators for Fields might as well return null, if the input is an empty array or an array that contains only string.Empty values etc.


Define custom objects when awa-serverd starts

It would be nice to have a config file into which I can put list of my custom IPSO objects with resources. So when server start after crash/reboot it will have those objects/resources predefined. This will reduce need to call awa-server-define after starting server.

The architecture is designed to support application-specific object definition through the use of the API or the Awa Tools. For example, a simple bash script could be used to define a set of IPSO objects, and this script can be run after the server has been started.
However we are considering adding support for custom objects to the client daemon startup, as there is currently no way to define objects in the client before it connects to the server, and it would be useful for the client to have the correct set of object definitions prior to registration, to help eliminate unnecessary server work when new definitions are added later.

Version 0.2.0 should include support for "Object Definition Files", which are XML files that describe object/resource definitions. Both client and server daemon will support loading zero, one or more of these files at start-up, before any IPC or CoAP network traffic occurs. Default values for mandatory resources can be specified too, with the caveat that strings will need to be base64-encoded.
We intend to include an example/template for standard objects.


[cartographer_node-2] process has died

When I use the cartographer to get the map, the cartographer will get the following errors:
can you tell me why?
thanks.
请注意，制图师需要在每个传感器数据流中严格按时间顺序（例如，测距，IMU，激光雷达），但允许不同流之间的任意时间顺序。

It looks like you are posting out-of-order ROS messages for your odometry. Note that Cartographer requires strict time-order within each sensor data stream (e.g. odometry, IMU, lidar) but allows arbitrary time-order between different streams.

hello friend,I set .Is it causing this problem?thanks

Hi，
i have meet the same problems,could you please tell me how to solve it ?
thanks


[Feature Request] - Enable file watching SnarkyJS compilation

Description
Enable zkapps to be compiled via file watching and on save.

Now implemented here https://github.com/o1-labs/zkapp-cli/blob/main/templates/project-ts/package.json#L18  Closing


Add support for component updater

Auditors: @bridiver @darkdh

Could we pull out an script/lib/update_client.py just like script/lib/autofill.py does ?

yes good idea, I'll do that tomorrow.

not sure why this didn't auto-close, but merged manually


Add to cdnjs.com

This library should be added to cdnjs.com! See https://github.com/cdnjs/cdnjs for instructions.

I just created the pull request to include D3plus in cdnjs, you can follow the progress here: https://github.com/cdnjs/cdnjs/pull/4174
I'll close this issue once it goes live.

Thanks!


Removing props from styled-components

is there a best practice way to get styled-components to not add all these style specific attributes to the resulting DOM element?
Continue Shopping

likely related or a duplicate of https://github.com/rebassjs/rebass/issues/570

See https://github.com/styled-components/styled-components/issues/439

For those that stumble across this issue looking for a workaround, https://github.com/styled-components/styled-components/pull/2093#issuecomment-461510706 is working well for me.

There’s a guide for this now. Feel free to PR any improvements to this doc that you might have https://styled-system.com/guides/removing-props-from-html

Just rename your props. Use prop names different of valid HTML attributes. Styled components will filter and don't will show them on HTML


adding Courtney Wilburn

Added my contact information.

Sorry for the delay in merging this. Added you to the list!


devops: improve release workflow

Motivation
There have been inconsistencies with our release process recently. This PR addresses those and improves on it.
Changes

"Build and Release" workflow will now display "Release {{ tag_name }}" as title when executed
"Push to Dockerhub" workflow had various improvements:

It will now use "Push {{ version }} to Dockerhub" as title
When triggered on a tag it will use the tag as version for the docker image, otherwise the short commit SHA is used (as before)
For some reason builds on develop were pushed to go-spacemesh and on other branches (and releases) to go-spacemesh-dev. Changed it to always push to go-spacemesh-dev unless instructed otherwise (by e.g. the release job when triggered through a tag).

Updated Makefile: Push to go-spacemesh-dev with short sha by default, release job overwrites the ENV to push to go-spacemesh with tag.

Test Plan

TODO

[x] Explain motivation or link existing issue(s)
[x] Test changes and document test plan
[x] Update documentation as needed

DevOps Notes

[x] This PR does not require configuration changes (e.g., environment variables, GitHub secrets, VM resources)
[x] This PR does not affect public APIs
[x] This PR does not rely on a new version of external services (PoET, elasticsearch, etc.)
[x] This PR does not make changes to log messages (which monitoring infrastructure may rely on)

@pigmej I updated the PR to locally tag the image as go-spacemesh:$(SHA) and always push to spacemeshos/go-spacemesh-dev:$(SHA) (just like before). Upon a new release it will be pushed to both spacemeshos/go-spacemesh:$(GIT_TAG) and spacemeshos/go-spacemesh-dev:$(GIT_TAG) additionally.

bors merge

bors merge


Error after updating to master (f40ed56): syntax error in lib/Configuration.php line 24

Describe the bug
rss-bridge main page is throwing an error after updating to master
After updating to master f40ed56 just now, my rss-bridge is now generating this error:

Something went wrong
Uncaught Exception ParseError: syntax error, unexpected 'array' (T_ARRAY), expecting function (T_FUNCTION) or const (T_CONST) at lib/Configuration.php line 24
Stacktrace
#0 index.php:7
#1 lib/RssBridge.php:15
#2 lib/RssBridge.php:35
#3 :(no line)
#4 lib/Configuration.php:24

I don't have the energy to chase this down right now (getting a migraine), just reporting it so that hopefully someone can figure this out and fix it. Assuming it's not just something wonky on my end.

It's because your machine is running lower than php 7.3 which is the minimum supported version.

Thank you @dvikan . I've installed php7.4 and rss-bridge is back to working.
Would it be possible to add a php version check and print an error message about having the wrong php version, rather than the current unclear error?

We already have that. But due to a bug, the code that checks the php version used a php7.4 feature. Fixed in https://github.com/RSS-Bridge/rss-bridge/pull/2999


how many gpus needs when full training 70B  Llama2

how many gpus needs when full training 70B  Llama2

Training or running inference on large language models like LLaMA 2 70B requires substantial computational resources, particularly in terms of GPU memory (VRAM). The LLaMA 2 70B model, with its 70 billion parameters, presents specific challenges due to its size. Here's a detailed breakdown of the requirements and considerations for running this model:
GPU Memory Requirements
The LLaMA 2 70B model, when fully loaded into memory, requires a significant amount of VRAM. A single fp16 parameter (the common data type used for such models) requires 2 bytes of memory. Therefore, loading the entire LLaMA 2 70B model would require approximately 140 GB of memory (70 billion parameters * 2 bytes)[2]. This far exceeds the capacity of any single consumer-grade GPU.
Quantization and Mixed-Precision Techniques
To fit the model into consumer-grade GPUs, quantization techniques can be applied to reduce the precision of the model's parameters, thus reducing the overall memory footprint. For instance, quantizing the model to 4-bit precision reduces the memory requirement to about 35 GB (70 billion * 0.5 bytes)[2], which is closer to, but still above, the capacity of high-end consumer GPUs like the NVIDIA RTX 3090 or 4090, each with 24 GB of VRAM.
Further reduction to 3-bit precision brings the requirement down to approximately 26.25 GB[2], which still doesn't fit into a single GPU but is more manageable across multiple GPUs or with certain memory offloading techniques.
Practical GPU Configurations
For practical purposes, running the LLaMA 2 70B model efficiently would require:

Multiple GPUs: Even with quantization, a single consumer-grade GPU does not have enough VRAM to fit the entire model. The use of multiple GPUs, with technologies like NVIDIA's NVLink to facilitate fast data transfer between them, can help but also introduces complexity in terms of model parallelism and data management[1].
High-End GPUs: GPUs with larger memory capacities, such as the NVIDIA A100 with 40 or 80 GB of VRAM, can accommodate larger portions of the model but are significantly more expensive and targeted towards enterprise or research institutions rather than individual consumers[3][4].
Hybrid CPU-GPU Configurations: Parts of the model can be offloaded to system RAM, leveraging the CPU for certain computations. This approach allows for the use of models that exceed GPU memory limits at the cost of increased inference time due to slower memory access speeds[3].

Conclusion
Running the full LLaMA 2 70B model requires careful consideration of hardware capabilities and potentially significant investment in high-end GPUs or multiple GPU setups. Quantization and mixed-precision techniques are essential for reducing the model's memory footprint, but they also require expertise to implement effectively without significantly compromising model performance[2]. For those without access to such hardware, cloud-based solutions or model distillation techniques might offer more feasible alternatives.
Citations:
[1] https://news.ycombinator.com/item?id=37067933
[2] https://towardsdatascience.com/run-llama-2-70b-on-your-gpu-with-exllamav2-588141a88598
[3] https://www.reddit.com/r/LocalLLaMA/comments/184qfeg/chassis_only_has_space_for_1_gpu_llama_2_70b/
[4] https://huggingface.co/blog/ram-efficient-pytorch-fsdp
[5] https://www.hardware-corner.net/guides/computer-to-run-llama-ai-model/
[6] https://github.com/Lightning-AI/lit-gpt/issues/456
[7] https://www.interconnects.ai/p/llama-2-part-2
[8] https://hpc-ai.com/blog/70b-llama2-training


Ability to disable responding with version

Due to security concerns, the response of / should be customisable or at a minimum, the version should be removable.
Status Quo:
{"imagor":{"version":"0.8.15"}}

Available in v0.8.16


ClientReConnecter

use ClientReConnecter example?
i use sample IrcChatSystem
how to use in sample IrcChatSystem
//Create a reconnecter to reconnect automatically on disconnect.
var reconnecter = new ClientReConnecter(_scsClient) {ReConnectCheckPeriod = 30000};

Using ClientReConnecter is very simple (as you have written in the question). Could not understand the exact question.


Git push first tag failed.

Gitea version: 1.9.2
This is the first time to push a tag to this repository. The tag push succeed but display an error information.
I have added protected branch on master and I'm the site administrator and I'm in the white list of push.

Just found the problem.
When pushing a tag, gitea will create two webhooks.
https://github.com/go-gitea/gitea/blob/09ca3912301eb77e4f30c80753fbe0f0735dc5f2/modules/repofiles/action.go#L161
One is kind named models.HookEventCreate, another is models.HookEventPush. When you configured a webhook trigger push. It will read api.PushPayload.Commits but it's nil so that it will panic. and you will received above error.
And I think deleting a tag will also get that error.

👋 Finding myself here after upgrading from 1.7.4 to 1.9.2.

In any case, the function should fail gracefully for this kind of error (log something and move on).

Is this fixed in 1.9.5? I cannot reproduce this issue.

One instance (1.9.5) I'm using still have this problem.


Update serverUsage.js

I tried fix server live usage. If its wrong please remind me :)

ok but wtf is this


Why adjustmentLayer fail to be exported as images?

I used the following code for creating images of group layers. Something went wrong when Adjustment Layer were exporting. Like Curves and Color Balance were fail to be exported, so that the final exported image was viewed differently from it is in PSD. Could you please help me to take a look?
im = groupLayer.compase()
im.save('test.png')

test.psd
https://drive.google.com/file/d/1YkrgPZ6XbvKhkeDVrQaBVJwvbn4i-lNI/view

I used the following code for creating images of group layers. Something went wrong when Adjustment Layer were exporting. Like Curves and Color Balance were fail to be exported, so that the final exported image was viewed differently from it is in PSD. Could you please help me to take a look?
im = groupLayer.compase()
im.save('test.png')

test.psd
[https://drive.google.com/file/d/1YkrgPZ6XbvKhkeDVrQaBVJwvbn4i-lNI/view](url


BUG: Shap_value has  negative ana possitive; Nevertheless,  all graphs blue

Issue Description
Summary plot gives graphs consisting of red and blue dot normally. However,if you use pre-train bert model for binary classification, it gives only blue dot despite having negative and possitive value.
Minimal Reproducible Example
import nlp
import numpy as np
import pandas as pd
import scipy as sp
import torch
import transformers
import torch
import shap

# load a BERT sentiment analysis model
tokenizer = transformers.DistilBertTokenizerFast.from_pretrained(
    "distilbert-base-uncased"
)
model = transformers.DistilBertForSequenceClassification.from_pretrained(
    "distilbert-base-uncased-finetuned-sst-2-english"
).cuda()

if torch.cuda.is_available():
    device = torch.device("cuda")
    print('We will use the GPU:', torch.cuda.get_device_name(0))

else:
    print('No GPU available, using the CPU instead.')
    device = torch.device("cpu")

def f(x):
    # Encode the batch of sentenc
    inputs = tokenizer.batch_encode_plus(x.tolist(), max_length=450,add_special_tokens=True, return_attention_mask=True,padding='max_length',truncation=True,return_tensors='pt')

    # Send the tensors to the same device as the model
    input_ids = inputs['input_ids'].to(device)
    attention_masks = inputs['attention_mask'].to(device)
    # Predict
    with torch.no_grad():
        outputs = model(input_ids, attention_mask=attention_masks)[0].detach().cpu().numpy()
    scores = (np.exp(outputs).T / np.exp(outputs).sum(-1)).T
    val = sp.special.logit(scores[:, 1])  # use one vs rest logit units
    return val
# Build an explainer using a token masker
explainer = shap.Explainer(f, tokenizer )

imdb_train = nlp.load_dataset("imdb")["train"]
shap_values = explainer(imdb_train[:10], fixed_context=1, batch_size=16)
cohorts = {"": shap_values}
cohort_labels = list(cohorts.keys())
cohort_exps = list(cohorts.values())
for i in range(len(cohort_exps)):
    if len(cohort_exps[i].shape) == 2:
        cohort_exps[i] = cohort_exps[i].abs.mean(0)
features = cohort_exps[0].data
feature_names = cohort_exps[0].feature_names
#values = np.array([cohort_exps[i].values for i in range(len(cohort_exps))], dtype=object)
values = np.array([cohort_exps[i].values for i in range(len(cohort_exps))])
feature_importance = pd.DataFrame(list(zip(feature_names, sum(values))), columns=['features', 'importance'])
feature_importance.sort_values(by=['importance'], ascending=False, inplace=True)
shap.summary_plot(shap_values[:,:10],feature_names=feature_importance['features'].tolist(),features=imdb_train['text'][10:20],show=False)

Traceback
No response
Expected Behavior
This is usually gave by summary plot expamles:

However, if you choose the bert pre-train model, the graphic appears differently and produces only blue color.

Bug report checklist

[X] I have checked that this issue has not already been reported.
[X] I have confirmed this bug exists on the latest release of shap.
[ ] I have confirmed this bug exists on the master branch of shap.
[ ] I'd be interested in making a PR to fix this bug

Installed Versions
Last version

hello, Have you solved this problem? I had the same problem

@caijh123 unfortunately, ı cannot do anything because the issue probably related to library. Therefore we have to wait until their solution. If you have any knowloedge, can share with me? Also you can check this link sometimes. In addition, if you have account in this web site, can you upgrade the question? :

I encounter the same thing.


Clarify how a Cache, CacheManager and CachingProvider may be accessed / injected in a Java EE environment

We need to clarify this so that Java EE containers can correctly provide Caching resources to applications, especially using injection and/or via JNDI.

So how is this now done "container-generic"? Please see my ticket #397 for details (Payara currently being used).


Feat(web-twig): GridSpan & Grid stories

Coverage: 96.172%. Remained the same when pulling 7432e4fa392498eaf98ad631b481ad1c1efb9607 on feat/twig-grid-span into<PHONE_NUMBER>83c4832a5ef6b9dbb7a8a949704759 on main.


add documentation workflow

add documentation workflow from twinkle - will probably have to change the keys

seems to be working without changing the keys.


Snapshot plugin versions are not supported

Expected Behavior
Gradle report Plugin Repositories (snapshot plugin versions are not supported)]when use plugins DSL because of here codes.
/* build.gradle */
plugins {
    id 'org.springframework.boot' version '2.0.0.BUILD-SNAPSHOT'
}

I guess most people know what the snapshot means, so why don't allow use snapshot version plugin for more convenience when trying some new version things.
Your Environment
java 9
gradle 4.4.1
macOS 10.13.2

Seems like there has been a discussion for a long time: https://discuss.gradle.org/t/plugins-block-with-custom-repo-has-severe-limitations/18244/19

This is very much needed on Spring side!

The fix in #5762 was merged to master and will be part of Gradle 4.10.
Thank you @sdeleuze for fixing this long standing issue!


pygemini dipole plotting broken

For some reason this is just returning nans now all of the sudden with this warning:
<__array_function__ internals>:5: UserWarning: Warning: converting a masked element to nan.
/Users/zettergm/opt/miniconda3/lib/python3.8/site-packages/numpy/core/_asarray.py:102: UserWarning: Warning: converting a masked element to nan.
  return array(a, dtype, copy=False, order=order)

Is this some weird typing issue xarray vs. np.array?

Somehow this works when you can plotcurv and produces sensible output but not when you all it from some base program:
https://github.com/gemini3d/pygemini-scripts/blob/main/gridoutput/examplemag3D.py

Actually this same issue is totally wrecking all the plotting features; they are just return NaN now...  so this is a big problem.

Okay any dipole simulation is going to fail to plot run now, e.g. try the cusp3D cases from gemCI if you need to reproduce this.

The offending commit is this one:  https://github.com/gemini3d/pygemini/commit/2047e9110a1a79ce55e4f179a8ed4b1c4ff30a45

@scivision I'm totally stumped by this and it's a total showstopper.  Is this some issue with typing and xarray?

Okay I had an incorrect gridding/interpolation call buried in the geomag gridding; an issue of too many similarly named functions.


Update live with current master

Merging without waiting for CI to finish because it's taking too long. Can you check what's going on @BillWagner @dendeli-msft?


Some specs should be more detailed.

In RealWorld docs, there are specs for endpoints and responses, but not enough:

RealWorld#Features
RealWorld#Endpoints
RealWorld#API Response format

We should talk about the following topics:

Database schema
JWA (HS256 or ES256. See: JWT | 하나씩)

Database schema discussion: Wiki#데이터베이스 구조
JWA -- Suggest HS256 for easy implementation.

I agree to use HS256 for JWA for easy implementation.
After implementation, it will be necessary to verify whether what is being used in JWT is important information, and if necessary, it will be necessary to review the introduction of JWE.


[Warhammer 4e Character Sheet NPC rt fix

Changes / Comments

Fixed NPC qualities not showing in rt for ranged weapons

Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[x] Does the pull request title have the sheet name(s)? Include each sheet name.
[x] Is this a bug fix?
[ ] Does this add functional enhancements (new features or extending existing features) ?
[ ] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.

Character Sheet Info Roll20 Internal Use only.


Update artifactid  and readme

Update artifactId, groupId and readme
to address issue #11374 and issue #11153

/azp run java - spring - tests

/azp run java - spring - tests

/azp run java - spring - tests


allow(dead_code)

allow(dead_code)

Closes #5207

Why is this needed? Are you getting a lint error?
If DummyStorage isn't exported and isn't used anywhere, maybe we can just remove it?

@lucasmerlin I also already wondered but maybe there is something we miss...
I don't get a linting error...

This is required for the latest version of the Rust compiler.


Problems invoking puppet-masterless after using scripts/puppet.bat

What I'm trying to do is repurpose the windows_2008_r2.json file by swapping out scripts/chef.bat for scripts/puppet.bat and then calling out to puppet-masterless to install and run my manifests.
The scripts/puppet.bat file is being executed and puppet is being installed correctly. However, once puppet apply is invoked by puppet-masterless the execute_command is shown, but my manifest is not being executed and no additional output/errors are shown (even with PACKER_LOG=1 set).
For testing purposes, I have been using the following custom execute_command:
"execute_command": " \
    {{.FacterVars}}puppet apply \
        --debug \
        --logdest='C:/Windows/Temp/puppet-apply.log' \
        --modulepath='{{.ModulePath}}' \
        --manifestdir='{{.ManifestDir}}' \
        --detailed-exitcodes \
        -e 'include rubyinstaller' \
"

NOTES:

The spacing and EOL \s were added here for readability purposes only
I am using packer 0.5.2
When the execute_command "runs", the logdest file does not get created
I have even tried specifying the absolute path to puppet's bat file under Program Files just in case the guest OS PATH was not visible at the time puppet-masterless ran -- no effect
When I pause packer after the puppet-masterless step and I execute the generated execute_command at the guest Windows VM's command prompt, the execution works.
The (custom) "rubyinstaller" module that I'm using is attempting to install rubyinstaller in "verysilent" mode.  Has anyone seen any limitations with puppet-masterless when using an installer on windows that requires a desktop?
I've also noticed on Windows with packer that if puppet apply fails or a shell script returns a non-zero ERRORLEVEL, packer keeps on going.  Any suggestions on how to fail-fast? (EDIT: this bullet looks suspiciously like joefitzgerald/packer-windows#45)
I only know this from the occasional warning that I'm seeing, but It appears that cygwin is being used under the covers by puppet-masterless. Any other gotchas I should keep in mind when working with custom execute_commands?

I realize that some of these questions may be best asked on the packer forum, but since these questions are very windows specific, I'm wondering if other trailblazers here have already encountered and resolved these issues.

I see how this workaround can be applied but i fail to see how an awkward workaround can close this issue. The functionality is not there and even if you can do the same via a workaround the bug still exists. I mean there is a provisioner that is not working for windows.

Seems like packer has an open tracking bug hashicorp/packer#2566.


PLAT-101531: Update VirtualList and Scroller styles in default samplers

Checklist

[x] I have read and understand the contribution guide
[ ] A CHANGELOG entry is included
[ ] At least one test case is included for this feature or bug fix
[ ] Documentation was added or is not needed
[ ] This is an API breaking change

Issue Resolved / Feature Added / Resolution
According to the theme libraries, the styles of the VirtualList and the Scroller updates.
Additional Considerations
If we don't need to align with the theme sampler's UX/GUI, this PR could be discarded.
Links
PLAT-101531
Comments

Could you also take a look at VirtualGridList sample? I think item needs width=100%.


Upgrade to polkadot 0.9.36

We need to stay up to date to the releases because if we wait for a very long time, catching up will be hard.

Verified from code version of polkadot


[suggestion] Register your namespace "r"

Maybe you want to register the namespace "r" here with a pull request?
https://github.com/nuxodin/web-namespace-registry

I added it.


Implement jinja templates

This pull request allows one to use also Jinja templates. The next blocks will render the same:
JavaScript template (the template is rendered locally)
[[[ "My Home " + new Date(states("sensor.date_time_iso")).toLocaleTimeString().slice(0, 5) ]]]

Jinja template (the template is rendered in the back-end)
My Home {{ as_timestamp(states('sensor.date_time_iso')) | timestamp_custom('%H:%M') }}

coverage: 100.0%. remained the same
when pulling 6cf1b5ce1fd0012e57fd313ffa093d33e321f6e6 on implement_jinja_templates
into d46bb1cdc87c5c56bac6b3ded9f0948b78cffd8f on master.


chore: Remove CODEOWNERS

In gno PR https://github.com/gnolang/gno/pull/3022, we removed CODEOWNERS since we have a different workflow for assigning reviewers. Do the same in this repo. See that PR for the reasoning.

What do you think about changing it to zivkovicmilos, ajnavarro?
cc @ajnavarro


WIP: upgrading grpc to 1.4.0

Don't forget to bump tcnative to 2.0.1-Final

Ugh.  We have a not backwards compatible change on our hands.  Older versions of grpc are not compatible with  tcnative to 2.0.1-Final.

Maybe we should hold off upgrading grpc until https://github.com/grpc/grpc-java/pull/2485 lands?

This should fix #1382, if and when this is complete.
It turns out that the grpc upgrade can use older versions of netty, so I'll remove the netty upgrade and keep grpc and protobuf upgrades.


merge_metaphlan_tables.py: UnboundLocalError: local variable 'names' referenced before assignment

I'm attempting to run merge_metaphlan_tables.py and I am receiving the following error:
Traceback (most recent call last):
  File "/shares/omicshub/apps/anaconda3/envs/metaphlan3/bin/merge_metaphlan_tables.py", line 10, in <module>
    sys.exit(main())
  File "/shares/omicshub/apps/anaconda3/envs/metaphlan3/lib/python3.7/site-packages/metaphlan/utils/merge_metaphlan_tables.py", line 78, in main
    merge(args.aistms, sys.stdout)
  File "/shares/omicshub/apps/anaconda3/envs/metaphlan3/lib/python3.7/site-packages/metaphlan/utils/merge_metaphlan_tables.py", line 46, in merge
    names = names,
UnboundLocalError: local variable 'names' referenced before assignment

I examined the source code and the variable "names" is not created when the header is 3 lines long.  This is what the header looks like in the files I am trying to merge:
#mpa_v30_CHOCOPhlAn_201901
#/shares/omicshub/apps/anaconda3/envs/metaphlan3/bin/metaphlan /work/j/jgibbons1/Preterm_MetaGenomes/Filtered_Random_Sample/SRR9865416_1_kneaddata.fastq --input_type fastq --bowtie2db /work/j/jgibbons1/Metaphlan_Database -t rel_ab --sample_id_key SRR9865416_1_kneaddata -o SRR9865416_1_kneaddata_metaphlan.tsv --nproc 3
#clade_name	NCBI_tax_id	relative_abundance	additional_species

Have you pasted all the header lines? It seems that is missing one line including the sample key
SRR9865416_1_kneaddata    Metaphlan_Analysis
This line is always printed in the MetaPhlAn output profile

MetaPhlAn is definitely only  writing out 3 header lines.
grep -c "#" SRR9865416_1_kneaddata_metaphlan.tsv
3

This is the MetaPhlAn 3.0 command I used:
metaphlan ${FASTQ_ARRAY[$SLURM_ARRAY_TASK_ID]} --input_type fastq --bowtie2db $NUC_DATABASE -t rel_ab --sample_id_key ${SAMPLE_ID_KEYS_ARRAY[$SLURM_ARRAY_TASK_ID]} -o ${OUTFILE_ARRAY[$SLURM_ARRAY_TASK_ID]} --nproc 3

Yes, you're right, there was missing a hash symbol in the third header line, 5fb4624512bda517f4cb36f2c39d8e128d58ffd1 fixes the output file.
In the meantime you can easily add the missing hash with something like this in awk
awk '{if (NR==3) print "#"$0; else print $0;}' SRR9865416_1_kneaddata_metaphlan.tsv


End work on skeleton app.

Clear some problems and u can merge it!

Skeleton app was ended! Auth module was done!


Space Station Assembler bug - Copying ID CHip

Minecraft Version:

1.10.2 (Age of Engineering Modpack)
Forge Version:
12.18.3
LibVulpes Version:

Explain issue in detail:
I successfully created a space station container and then put my chip (ID:1), back in the Assembler with a blank chip in order to make a copy.  When I clicked build, both chips vanished.  Now I have a useless station container.  Is there any way to retrieve a station ID chip when something eats it like this?  If not, there really, REALLY needs to be.

The command /advancedRocketry givestation STATIONID gives you a chip for your space station. Change STATIONID to the ID of your space station.
All chips are copied in the Satellite Builder. Insert the source chip on the left chip slot (1), the empty chip on the right chip slot (2) and then press the green button on the top right (3).

Update:  That command does work with Age of Engineering.  Thank you!  Saved me a lot of trouble.
Now, as to what got me in trouble in the first place.  It might be a good idea to filter the inputs on the Station Assembler.  If it's just going to eat anything that is not a valid recipe, it's bound to catch someone else.
So the bug stands.


Micheline INT prim

Hello.
Looks like Micheline INT prim for some numbers is broken. For example if I PACK { "int": "33"} by node RPC I got 0021 as result. When MarshalBinary by tzIndex Prim result is 00a100 and node Could not decode bytes
Prim example:
	prim := &micheline.Prim{
		Type:   micheline.PrimInt,
		OpCode: micheline.T_INT,
		Int:    big.NewInt(33),
	}

Thanks for reporting. Fixed in e4415ac.
The bug only impacted the binary Zarith encoder and only for numbers between 32 and 63. The binary Zarith decoder properly decodes both the incorrect 00a100 and the correct 0021 representations to BigInt 33.
Note for everybody who comes here: In the database we exclusively store binary encoded data for contract code, parameters, storage and bigmap updates. The API layer decodes values for Int/Nat/Mutez types as part of each request. Since the Zarith decoder accepts the broken binary format and creates the correct BigInt representation, the API was not affected by this bug. It is not necessary to rebuild the indexer database unless you rely on the correct binary representation in the Tables API (which outputs the raw stored binary data).


[New term] Hypervisor

1. Please describe why this term needs to be added
What this term is about? (briefly)

A hypervisor makes virtualization feasible, it is the software that sits on top of the compute host and virtualizes its functionalities into subparts, distributes them to multiple users, and workloads, and enables us to take advantage of the compute host.

Why this term needs to be added? (briefly)

It is virtualization that has brought the cost of computing down and brought us a step closer to efficient usage of the physical machines, the underlying piece of software that makes it possible and manages the virtual servers is a hypervisor, having a high-level view of the hypervisor would provide more clarity about how this led to the development of cloud-native applications.

2. Checklist

[X] The suggested term fits the cloud native definition or is essential to understanding cloud native terms. (We hope to avoid adding general or broad terminologies)
[X] There is no existing issue yet. (shift+click to check existing issues)
[X] The term does not already exist in the glossary.
[X] I understand that maintainers will assess if the term should be part of the Glossary. (Please be patient)
[X] I want to work on this term. (If not checked, maintainers will assign another volunteer)

(Note)
Maintainers will assign a label after assessment procedure.
(from triage/awaiting to triage/accepted or triage/not accepted)
A contributor can be assigned to this issue after the issue get the triage/accepted label.
The assignee needs to check Style Guide.

Thanks for your suggestion, @KiranSatyaRaj. We've accepted the term and assigned the issue to you.

Thank you so much @CathPag, I'm on it.

@KiranSatyaRaj Do you need any help from my side? Please let me know anytime.

@KiranSatyaRaj Do you need any help from my side? Please let me know anytime.

Thanks @NitishKumar06 for offering the help, I'm making progress and will make pull request soon regarding this issue, I will definitely reach out to you if there's anything I'm stuck with.

#1385
Here's the pull request I made referencing this issue, please review it.

#1385

Thanks @KiranSatyaRaj! I'll go through it shortly!


version and chglog update 0.3.4

update version and update chglog

@chandra1-n @anuragsharma-123 This has been pending for 2 months. We have customers waiting on this fix. Can we please approve and get this published?


ci: update tool versions

Signed-off-by: Mikko Ylinen<EMAIL_ADDRESS>

Codecov Report

Merging #662 (3f60afb) into main (f3a152a) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 3f60afb differs from pull request most recent head 4b0ca63. Consider uploading reports for the commit 4b0ca63 to get more accurate results

@@           Coverage Diff           @@
##             main     #662   +/-   ##
=======================================
  Coverage   59.07%   59.07%
=======================================
  Files          32       32
  Lines        2375     2375
=======================================
  Hits         1403     1403
  Misses        890      890
  Partials       82       82

Continue to review full report at Codecov.

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


make adding from menu more robust and flexible

Codecov Report

Merging #388 into experimental will decrease coverage by 2.42%.
The diff coverage is 16.83%.

@@               Coverage Diff                @@
##           experimental     #388      +/-   ##
================================================
- Coverage          77.3%   74.88%   -2.43%
================================================
  Files                24       24
  Lines              1410     1469      +59
================================================
+ Hits               1090     1100      +10
- Misses              320      369      +49

Impacted Files
Coverage Δ

vent/api/plugins.py
77.22% <0%> (-0.21%)
:arrow_down:

vent/menu.py
23.1% <17%> (-1.66%)
:arrow_down:

Continue to review full report at Codecov.

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


MAINT: added type hints to some evo apps

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
246 unchanged lines in 17 files lost coverage.
Overall coverage decreased (-0.002%) to 91.634%

Files with Coverage Reduction
New Missed Lines
%

.nox/test-3-10/lib/python3.10/site-packages/cogent3/core/alignment.py
1
94.42%

.nox/test-3-10/Lib/site-packages/cogent3/core/alignment.py
1
94.42%

.nox/test-3-11/lib/python3.11/site-packages/cogent3/evolve/likelihood_function.py
1
96.3%

.nox/test-3-11/Lib/site-packages/cogent3/evolve/likelihood_function.py
1
96.3%

.nox/test-3-9/lib/python3.9/site-packages/cogent3/core/alignment.py
1
94.38%

.nox/test-3-9/Lib/site-packages/cogent3/core/alignment.py
1
94.38%

.nox/test-3-11/lib/python3.11/site-packages/cogent3/maths/scipy_optimize.py
2
83.93%

.nox/test-3-11/Lib/site-packages/cogent3/maths/scipy_optimize.py
3
84.92%

.nox/test-3-8/Lib/site-packages/cogent3/maths/scipy_optimize.py
3
84.87%

.nox/test-3-10/lib/python3.10/site-packages/cogent3/app/evo.py
29
92.41%

Totals

Change from base Build<PHONE_NUMBER>:
-0.002%

Covered Lines:
236177

Relevant Lines:
257740

💛  - Coveralls


audio: Problem on Android device (Huawei Honor 5X (HNKIW-Q))

Reported by @wasedaigo

As I can't get the device, let me de-prioritize this

I forgot what was this problem :-P

Ah I remembered there was a noise issue on that device...