collapsing Cell which has more rows than tableView.visibleRows.Count

First of all, i'd like to thank you for this great component.
and here is the bug;
If you expand a cell which has more ancestorSubItems than the visibleRows count of the tableView and try to collapse that cell back; it gives invalid update error.
'Invalid update: invalid number of rows in section 0.  The number of rows contained in an existing section after the update (6) must be equal to the number of rows contained in that section before the update (14), plus or minus the number of rows inserted or deleted from that section (0 inserted, 7 deleted) and plus or minus the number of rows moved into or out of that section (0 moved in, 0 moved out).'
Also recreated this situation with your example code too (Just added more subItems and expanded/collapsed)
any idea how to fix that situation?

1、replace this method

(NSMutableArray *)removeIndexPathForTreeItems:(NSMutableArray *)treeItemsToRemove {
NSMutableArray *result = [NSMutableArray array];
for (NSInteger i = 0; i < self.treeItems.count; ++i) {
  KOTreeItem* treeItem = [self.treeItems objectAtIndex:i];
  NSIndexPath *indexPath = [NSIndexPath indexPathForRow:treeItem.row inSection:0];

      for (KOTreeItem *tmpTreeItem in treeItemsToRemove)
      {

          if ([treeItem isEqualToSelectingItem:tmpTreeItem])
          {
              [_itemBeRemoved addObject:treeItem];
              [result addObject:indexPath];
          }
      }

}
return result;
}

2、change this method

(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
.......
for (NSInteger i = 0 ;i<self.treeItems.count;i++) {
KOTreeItem *tmpTreeItem = [self.treeItems objectAtIndex:i];
tmpTreeItem.row = i;
}
for (KOTreeItem * ti in _itemBeRemoved ) {
NSIndexPath * ip = [NSIndexPath indexPathForRow:ti.row inSection:0];
[removeIndexPaths addObject:ip];
}

if ([removeIndexPaths count]) {
[treeTableView deleteRowsAtIndexPaths:removeIndexPaths withRowAnimation:UITableViewRowAnimationBottom];
[_itemBeRemoved removeAllObjects];
}
}
3、add a property named row to KOTreeItem
@property (nonatomic) NSInteger row;

does anybody have a working version that fixes the "invalid number of rows" issue?


Skin Ozzie Dashboard With Tailwind

Merging this pull request adds tailwind styles to the dashboard. When merged, the dashboard should look like so:

All of the styles exist within the tags class attributes for now. If you want to move them to the stylesheet, I have no problem doing those adjustments.

Everything is updated. Merging.

I will leave the branch just incase there is anything I missed. Otherwise, feel free to delete if you are satisfied with everything.

@darkboywonder naw we can always fix stuff later


NIFI-11045: Sensitive dynamic property support for parameterized quer…

…ies in ExecuteSQL and ExecuteSQLRecord

Summary
NIFI-11045

Added sensitive dynamic property support for parametrized queries
Extended documentation with possible JDBC Types
Fixed standard-processors contrib-check

Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[ ] Apache NiFi Jira issue created

Pull Request Tracking

[ ] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[ ] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[ ] Pull Request based on current revision of the main branch
[ ] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[ ] Build completed using mvn clean install -P contrib-check

[ ] JDK 8
[ ] JDK 11
[ ] JDK 17

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[ ] Documentation formatting appears as expected in rendered files

Reviewing...

Is it possible to add unit test(s) around this?

Thank you for the reviews @exceptionfactory @mattyb149 @turcsanyip !. I improved the code based on your comments and added unit tests.


adds add_external_tool to canvas

Coverage decreased (-0.3%) to 83.049% when pulling fada803beb88b76ebdd99e61ca783712e4fbfa9e on feature/canvas-add-external-tool into badbbf84a020307741eb8d2ea9cd1f0442cbe58b on develop.


Find time tracking tool for the corporate work

At my employer we kind of want to track the time each task takes, to better estimate our work completion. We're not sure how effective it'd be but I guess managers want to give it a try.
So instead of coming up with a custom method to track the work and time, find what's already available out there first.
Requirement

Free (unless my employer wants to fund).
Easy to share with others (e.g. coworkers, managers).
Data can be exported as a common file format.
Accessible from both cell phone and computers.

Or without cell phone might be ok if the desktop app is great.

Referring to 8 Great Time-Tracking Apps for Freelancers on entrepreneur.com
More than half of the tools are not free. And apparently this type of tools is common for freelancer, while we as corporate works don't have some requirements freelancers have (so we might not need many of those features that highend tools boast about). I think it is better to start with free tool so that we get better idea if tracking time taken for tasks works out for our work.
I started with a free tool TopTracker.
Comments after using only a few hours so far:
Good:

There's Linux desktop tool (that captures key strokes)!
The number of projects we can create seems infinite.
Can designate manager who can only access everybody in a project.
Bad:
No cell phone app?

I'm fairly satisfied with TopTracker. Closing.

o Free.
o Nice summary views.
o Web UI intuitive enough (except for what's listed as negative items).
o PC's idle time captured nicely by the desktop app.
x Pull down menu to type in time is not easy to use.
x Export features are there but disabled (I haven't explored how to enable it).

I stopped tracking time awhile ago when no one had asked me how I used my time. Now, team structure changed, and it's getting crucial to understand what the team is potentially wasting time on the things that we don't need to or we could avoid wasting time on. So I resumed tracking using TopTracker again.


Add QPDFObjectHandle methods to support the interaction with QPDFObject and QPDFValue

Does removal of Factory and ObjAccessor achieve anything other than simplifying other code? Can you convince me of the value of having public methods that people aren't supposed to call? It's probably fine in that they are not marked with QPDF_DLL which means they are not usable from the Windows DLL or non-Windows shared library and reference incomplete types that are not part of the public API. However someone linking statically could still call these.
Adding operator bool requires bumping to 11.3. Either you can do it, or I can do it after merging. README-maintainer has instructions for doing it. I've considered scripting it but have never bothered. CI will fail if it's done wrong. Search README-maintainer for "version numbers are consistent" for the list of the three places that have to be updated.

However someone linking statically could still call these.

But why would they?  What could they do after calling them?

Meh, I can't really think of a good reason not to do it. There is value to cleaner code. There's a merge conflict now but I am good to go with this. I feel like the fact that you want this and that it helps reduce your friction in making helpful changes to the library is really adequate justification.

@jbarlow83
The operator
QPDFObjectHandle::operator bool() const
{
    return obj != nullptr;
}

introduced in this PR causes a pikepdf test failure and had to be reverted out for qpdf 11.3.0
The motivation for introducing the bool operator is that it effectively provides us with a zero-cost version of a std::optional<QPDFObjectHandle>, which in turn allows us to write code like
QPDFObjectHandle
QPDFObjectHandle::getArrayItem(int n)
{
    resolve();
    if (auto item = obj->at(n)) {
        return item;
    } else {
        // handle failure
    }
}

saving many costly range and type checks as a result. I would therefore like to reintroduce the operator for 10.4.0 if this can be done without causing problems for pikepdf.
Would you be able to look into the reason for failure and let me know whether this is easily fixable?

I did a little triage. pikepdf test failure is:
    def test_objectlist_repr(pal):
        cs = pikepdf.parse_content_stream(pal.pages[0].Contents)
        assert isinstance(cs[1][0], pikepdf._core._ObjectList)
        ol = cs[1][0]
>       assert (
            "[Decimal('144.0000'), 0, 0, Decimal('144.0000'), Decimal('0.0000'), Decimal('0.0000')]"
            in repr(ol)
        )
E       assert "[Decimal('144.0000'), 0, 0, Decimal('144.0000'), Decimal('0.0000'), Decimal('0.0000')]" in '_ObjectList[1, 1, 1, 1, 1, 1]'
E        +  where '_ObjectList[1, 1, 1, 1, 1, 1]' = repr(_ObjectList[1, 1, 1, 1, 1, 1])

tests/test_objectlist.py:21: AssertionError

This is checking for consistent parsing of QPDFObject/Value derived from content streams.
Probably fixable. I'd say there's a decent possibility that qpdf is affected too. Can't look into further at the moment I'm afraid.

@jbarlow83 , I am rather out of my depth here, but I have been able to solve the test failure although not the underlying problem.
If I duplicate the _ObjectList.__repr__ method
    py::bind_vector<ObjectList>(m, "_ObjectList") // Autoformat fix
        .def("__repr__", [](ObjectList &ol) {
            std::ostringstream ss;
            bool first = true;
            ss << "pikepdf._core._ObjectList([";
            for (auto &h : ol) {
                if (first) {
                    first = false;
                } else {
                    ss << ", ";
                }
                ss << objecthandle_repr(h);
            }
            ss << "])";
            return ss.str();
        })

        .def("repr", [](ObjectList &ol) {
            std::ostringstream ss;
            bool first = true;
            ss << "pikepdf._core._ObjectList([";
            for (auto &h : ol) {
                if (first) {
                    first = false;
                } else {
                    ss << ", ";
                }
                ss << objecthandle_repr(h);
            }
            ss << "])";
            return ss.str();
        });

and then set the _ObjectList.__repr__  method inside the test
def test_objectlist_repr(pal):
    cs = pikepdf.parse_content_stream(pal.pages[0].Contents)
    assert isinstance(cs[1][0], pikepdf._core._ObjectList)
    ol = cs[1][0]

    pikepdf._core._ObjectList.__repr__ = pikepdf._core._ObjectList.repr

    assert (
        "[Decimal('144.0000'), 0, 0, Decimal('144.0000'), Decimal('0.0000'), Decimal('0.0000')]"
        in repr(ol)
    )

the test passes.
cs and ol definitely hold the correct values (and repr(cs[1][0][0] correctly returns Decimal('144.0000')), but during the call to repr pybind11 attempts to convert object handles inside the _ObjectList  into booleans and than convert the booleans into integers.
I have no idea whether this is good news or bad news.

@jbarlow83
Did you have a chance to look into this any further? I noticed you marked the test in question as 'expected fail' on 12 April.

@jbarlow83
Furthermore, the test now passes with QPDFObjectHandle::operator bool()  enabled.


There is currently no documentation to show developers how to use the graphql-sdk

What's the problem? (required)
https://github.com/livepeer/livepeerjs/tree/master/packages/graphql-sdk has no documentation for how to use the graphql-sdk.
What's the current behavior? (required)
The README has pretty good type documentation, but no guidance on how the graphql-sdk could be used to develop video streaming applications.
Do you have any personal experiences dealing with this problem? (optional)
Explaining the package to every developer can be time-consuming and it's best practice on Github to put any critical info into READMEs.
Describe a possible solution you've considered (optional)
Update README.md with instructions on how to use the graphql-sdk to build software applications.
Additional context (optional)
Example code maybe found in packages/explorer/src/views/Bond/enhance.js and creativity for building streaming apps are only limited to what the network can handle and what has been included in the SDK itself. Another good example

Closing since the graphql-sdk package has been archived in favor of the subgraph.

Closing since the graphql-sdk package has been archived in favor of the subgraph.


HDDS-2298. Fix maven warning about duplicated metrics-core jar

What changes were proposed in this pull request?
Maven build of Ozone is starting with a warning:
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.apache.hadoop:hadoop-ozone-tools:jar:0.5.0-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: io.dropwizard.metrics:metrics-core:jar -> version 3.2.4 vs (?) @ line 94, column 17
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]

It's better to avoid it.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-2298
How this patch can be tested?
mvn clean install | head -n 20

Without patch: there are warnings.

+1, LGTM.


Add underscore to DATA_SOURCE in syntax section.

Was 'DATASOURCE'. It's correct in the code examples, but not in the syntax section.

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

@DavidMMaxwell Thank you! This is a good catch, and we'll get it changed.


Bug when fetching all subscriptions

Describe the bug
With the latest v7.0, when refreshing the dashboard there is an error stating duplicate subscription Id
Column 'subscriptionId' in Table 'All Subscriptions' contains a duplicate value 'xxxxxxxxx-769e-45ae-ab43-6da33674bd26' and this is not allowed for columns on the one side of a many-to-one relationship or for columns that are used as the primary key of a table.
My fix was editing the query and removing duplicate subscription Ids.
#"Removed Duplicates" = Table.Distinct(#"Expanded managedByTenants1", {"subscriptionId"})
To Reproduce
A simple refresh of the dashboard (might not be reproduce able by everyone)
Expected behavior
Should pull every subscription Ids and remove duplicates

Hi @eosho
You're right, one subscription can be managed by one or more tenants.
Currently to fix this issue you'll need to remove the steps Expanded managedByTennats and Expanded managedByTennats1 from the applied steps section to obtain unique Subscription IDs.

We're not showing this information about the tenant management in the reports but this is something we're planning to use in the future.
This bug will be fixed in the 7.1 version.
Thanks!

The PR with the bug fix is waiting for approval, thanks again for your feedback ;)


sway/window not working sometimes

As the title says. sway/window only shows the title of firefox and its tabs. It does not show the title of a terminator session or VS code, thunderbird or anything else.

Sway/mode don't show any titles, do you mean sway/window?

Yes, of course i fixed it.

sway/window seems to stop working for me as soon as I introduce a vertical split.  I think it has to do with the layout, not the applications involved

Awesome, thanks! That fixes it for me. Just to clarify for anyone else the option actually seems to be "all-outputs": true

This does not seem to be fixing it for me adding the following in the waybar config:
"sway/window" : {
"all-outputs": true
},

do I need to update waybar to the newest version (git version) for it to work?

@jparsert Show me your waybar config file :)

Should be fixed with 486b5a5d3897faefbe778b776f0914365344efbe


[Question]: How to submit a bracket stock order?

Question form pre-submit checklist.

[X] I have searched the existing issues to ensure there isn't already an issue about this question.
[X] My question has to do with the Python SDK and isn't a general question about the API. (If it is please open your issue here)
[X] My question isn't about how to do a specific algorithm or asking for trade advice (answers to these are outside the scope of this repo).

Question
I am trying to put together a bracket order to trade a stock with a take profit and stop loss.
I think I can do it using the general Order Request but upon trying I get an error.
Here is my code:
tp_params = TakeProfitRequest(limit_price=price * 1.15)
sl_params = StopLossRequest(stop_price=price * 0.9)
params = OrderRequest(symbol=symbol, qty=quantity, side=OrderSide.BUY, type=OrderType.LIMIT, limit_price=price,
                      client_order_id='test1', time_in_force=TimeInForce.DAY, take_profit=tp_params, stop_loss=sl_params, order_class=OrderClass.BRACKET)
trading_client.submit_order(params)

And the result I receive is:
Traceback (most recent call last):
  File "C:\Users\gerar\Envs\cryptobot\lib\site-packages\alpaca\common\rest.py", line 197, in _one_request
    response.raise_for_status()
  File "C:\Users\gerar\Envs\cryptobot\lib\site-packages\requests\models.py", line 1021, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 422 Client Error: Unprocessable Entity for url: https://paper-api.alpaca.markets/v2/orders

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\gerar\OneDrive - HG Capital\Coding\Python\crypto_bot\test.py", line 87, in <module>
    trading_client.submit_order(params)
  File "C:\Users\gerar\Envs\cryptobot\lib\site-packages\alpaca\trading\client.py", line 91, in submit_order
    response = self.post("/orders", data)
  File "C:\Users\gerar\Envs\cryptobot\lib\site-packages\alpaca\common\rest.py", line 235, in post
    return self._request("POST", path, data)
  File "C:\Users\gerar\Envs\cryptobot\lib\site-packages\alpaca\common\rest.py", line 130, in _request
    return self._one_request(method, url, opts, retry)
  File "C:\Users\gerar\Envs\cryptobot\lib\site-packages\alpaca\common\rest.py", line 206, in _one_request
    raise APIError(error, http_error)
alpaca.common.exceptions.APIError: {"code":40010001,"message":"limit orders require a limit price"}

Little bit confusing as I pass the limit_price into OrderRequest. The documentation is a bit unclear on whether I can pass OrderRequest and the documentation switches to the old SDK for bracket trades so little confused.
Any help would be appreciated.

I've found that giving the bracket as dictionary parameters works:
  limit_order_data = LimitOrderRequest(  symbol=symbol,
                    side=OrderSide.SELL,
                    limit_price=latest_price,
                    time_in_force=TimeInForce.DAY,
                    qty=shares_traded,
                    order_class=OrderClass.BRACKET,
                    stop_loss={"stop_price": stop_loss_trigger_price,
                                   "limit_price": stop_loss_limit_price},
                    take_profit={
                            "limit_price": take_profit_limit_price})

        submit_limit_order = trading_client.submit_order(
                order_data=limit_order_data
                )

Hi cryb3, I'm glad you got it working. It should also work using the request objects.
In the original code, can you try passing in a limit_price to the StopLossRequest?

Hi cryb3, I'm glad you got it working. It should also work using the request objects. In the original code, can you try passing in a limit_price to the StopLossRequest?

I think you mean to tag @gerardsyd


bugfix: 修复卸载 Agent 失败: not enough values to unpack (expected 2, got 1) 的问题(closed #544)

…) 的问题(closed #544)

Codecov Report

:exclamation: No coverage uploaded for pull request base (V2.2.5-rc@f73a750). Click here to learn what that means.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             V2.2.5-rc     #547   +/-   ##
============================================
  Coverage             ?   69.99%
============================================
  Files                ?      288
  Lines                ?    20863
  Branches             ?        0
============================================
  Hits                 ?    14603
  Misses               ?     6260
  Partials             ?        0

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 f73a750...7632d4d. Read the comment docs.


refreshing

refreshing your page causes everything to go horribly wrong.

Refreshing on which screen? Any of them?

All of them

I don't think there's a way to fix this - refreshing will clear the accumulated data. I might just set a warning that refreshing will clear the data.


Update tag extraction in utils.js

Tags can be separated by either "," or whitespace now. Only affects the tags-detail-picker.

There is an issue with stray empty tags:


Logging not working on EC2

we added the 12 factor gem here: https://github.com/restarone/violet_rails/commit/6a1b891dc4204b2c44f56bf905978a14f8737d15
so the fact that we are not writing logs to files in production is expected: https://github.com/heroku/rails_12factor#rails-4-serve-static-assets
error reporting is working, but we will need to override the log behavior for it to actually write to disk.


Dispatching actions

Hi,
I'm quit new to the flux/redux so I might be missing something obvious :)
I was wondering why it is necessary to have the dispatch method injected in the props of components and then invoke it from the component each time an action is dispatched. Doesn't it makes more sense to hide this away from components and to encapsulate this inside the actions module? Something like this:
store.js
let store = ...

export dispatch = store.dispatch;

actions.js
import state from './state'

function logonPending() {
  return { ... }
}

export actions = {
  logonPending = () => store.dispatch(logonPending())
}

component.js
import actions from '../actions'

...

actions.logonPending();

//instead of

this.props.dispatch(actions.logonPending());

...

Because we have a lot more components in comparison to action definitions it makes more sense for me to do the delegation of the dispatch once in the action module. Instead of in each component separately. This reduces coupling: only one module is doing the dispatch. Because the action module calls the state module it is also usable server side if the state module returns the current store I guess.
This also makes the components easier to test. I just need to verify whether the function of the actions module is called from a module. Otherwise I have to verify the data that is used to call the dispatch of the props method is correct. And components don't care about the data structure of the action anyway. They just want to notify the store that something has changed.
You can still export the action creators if you want to test them, but I believe the components are more important to test.
Any feedback welcome!

You might want to check out https://github.com/rackt/redux/blob/master/src/utils/bindActionCreators.js - it allows you to automatically bind your action creators to the dispatch method. The result of this then gets injected into your component as props, so you will end up being able to do this.props.someAction() instead of wrapping it with this.props.dispatch().
Also note that what you are proposing (exporting the dispatch function from a module) will not work when creating a universal application, because you have to re-create the store on each request but you cannot re-create a module. So all your action creators would only have a reference to the first instance.
Also check out https://github.com/rackt/react-redux/ - especially the connect functionality, as it allows you to map the dispatch function to props.

Also note that what you are proposing (exporting the dispatch function from a module) will not work when creating a universal application, because you have to re-create the store on each request but you cannot re-create a module. So all your action creators would only have a reference to the first instance.

That's the main reason why dispatch is being injected. You want different stores for every server request.

thanks for the link and feedback! that look already cleaner, but then I still have more code and is more difficult to test than simply calling a method on an imported actions object.

Also note that what you are proposing (exporting the dispatch function from a module) will not work > when creating a universal application, because you have to re-create the store on each request but > you cannot re-create a module. So all your action creators would only have a reference to the first
instance.

I agree that you can not regenerate a module. But it is perfectly possible to export a dispatch delegate from state.js that calls the current state instead of a global state.
var state = createStore(reducers)

export function setState (newState) = state = newState; // or create a new for each request

export function dispatch (action) => state.dispatch(action);

Where state is the global state client-side state or the current state when rendering on the server.

@tim-cools No, this will not work. Because multiple requests will start to clobber your "singleton". If two requests come in at almost the same time - the 2nd one will overwrite your store. And if you have multiple dispatches - possibly additional ones after a first async one - those additional dispatches from the 1st request will now happen on the store from the 2nd request.
What you are attempting to do here is error-prone and brittle ;)

@johanneslumpe you are right! bad and dangerous example :-)
we could however store the state in a context object only valid for a request
https://github.com/michaelkrone/request-context
any issues with that?

My issue with that: it does not work on the client, now your code is less universal.You will need a condition within your module to check whether you are on the server and if so, require the module and use the value from the context to dispatch. It might work and if that's your cup of tea feel free to try it :)

@tim-cools
Anyway.. Nobody prevents you from writing code this way. :-) If you're confident you won't be doing server rendering (or if you're comfortable with putting it somewhere else than React context which is how <Provider> works) feel free to write code as you suggest. However this will not be the default way we recommend in the examples and docs.

I was working on a web-socket client and had not dispatch function or react/redux context to invoke actions from when I get data from the server. So I definitely need some way to invoke actions without his. I will give it a try without the dispatch also from the components, I prefer the clutter in my infrastructure code instead of in my components.
My back-end API is .NET anyway, and I'm not sure yet how I will handle server side rendering.
Thanks for the feedback guys! Great support for a Saturday ;-)

@tim-cools dispatch() is a method on the store object you get with createStore(). React Redux passes it for convenience, but really, since you're creating the store, you're free to pass it anywhere you like and then call store.dispatch().


Error on .close()

dat.GUI:185: attempt to index nil with 'Position'

Hello, can you send the full stack?
This error happened in the "Close Controls" button itself or when closing a folder

Happened when I manually tried to call .close on the object the module returns. I fixed it by replacing line 185 with
				if child["frame"] ~= nil then 					child.frame.Position = UDim2.new(0, 0, 0, pos) 				end

Could not replicate, may have been resolved previously.
Tested in v1.0.0


Python unicode error

Heya Caleb,
Thanks so much for this package, super useful and interesting. I was wondering if you could help me, with the error, below;
Traceback (most recent call last):
  File "/u/oknight/bin/miniconda3/bin/mgatk", line 8, in <module>
    sys.exit(main())
  File "/u/oknight/bin/miniconda3/lib/python3.9/site-packages/click/core.py", line 1128, in __call__
    return self.main(*args, **kwargs)
  File "/u/oknight/bin/miniconda3/lib/python3.9/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/u/oknight/bin/miniconda3/lib/python3.9/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/u/oknight/bin/miniconda3/lib/python3.9/site-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "/u/oknight/bin/miniconda3/lib/python3.9/site-packages/mgatk/cli.py", line 208, in main
    barcode_files = split_barcodes_file(barcodes, math.ceil(file_len(barcodes)/int(ncores)), output)
  File "/u/oknight/bin/miniconda3/lib/python3.9/site-packages/mgatk/mgatkHelp.py", line 167, in file_len
    for i, l in enumerate(f):
  File "/u/oknight/bin/miniconda3/lib/python3.9/codecs.py", line 322, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte

Thanks a million
Ollie

Hmm I don't think I've seen this before.
https://stackoverflow.com/questions/44659851/unicodedecodeerror-utf-8-codec-cant-decode-byte-0x8b-in-position-1-invalid/44660123
This is the error
Can you share your command and verify that the tes  data worked for you?

it's worked perfectly on your test data.
my script is (with sample ID's removed);
mgatk tenx -i Sample/outs/atac_possorted_bam.bam -n Sample -o sample_mgatk -bt CB -b path/outs/filtered_feature_bc_matrix/barcodes.tsv.gz
these are generated through the cellranger arc 2.0.0 pipeline, from a 10x multiome experiment, using a ref genome we hardmasked mitochondrial regions of and then run cellranger mkref with. all of the outs from the cellranger pipeline looked good, so far.

Can you unzip the barcodes file? I should add that as a feature but currently I don’t have support for that

Great! I think that's done the trick. I gunzip'd barcodes.tsv.gz and changed the script to run directly on barcodes.tsv.
Appreciate the help!

sure thing-- I will fix this in the coming versions. glad this work around fixed things though


Behaviour of partial

As of now, the partial method returns the correct result, and the correct visualization as well, except that the bound arguments still show up. But here are some question we need to consider: Now you want to obfuscate the bound arguments, but:

You might have had defaulted arguments before, do you obfuscate those by default? (I say no, because it's the conservative way -- some may be None or sentinels that lead to defaults or not etc.)
If you choose to obfuscate (by default or not -- I say not, for now) bound arguments, do you still leave orphaned funcnodes (just without arguments), or do you "roll them in" (here we'd be left with confusion_value -> classifier_score_ -> classifier_score only.

Partial has now a working _remove_bound_arguments. Set default to False.
I have placeholder code for _roll_in_orphaned_nodes, but needs to be implemented.

Also needed:

tests and doctests
thinking, testing, and handling the case where partialized arguments might have been bound with a different name

@cavart28 and/or @sylvainbonnot , want to pick this up?

I'm going to remove the _roll_in_orphaned_nodes=False argument for now.
See https://github.com/i2mint/meshed/issues/14 for further information.


[CI] Further open up Rust permissions

Tested this with ./tests/scripts/task_rust.sh to ensure it builds.

Thanks @Mousius.


Update Settings notes for Insider Preview builds

Recent flights have fixed a couple of known issues for the Settings app. We also got feedback from customers that the steps to rename a HoloLens via MDM is not obvious, so I added more details.

@mattzmsft Does this look good?


Could not load dynamic library 'libcudart.so.11.0'

I installed jax via the automatic command in the README
pip install --upgrade https://storage.googleapis.com/jax-releases/`nvidia-smi | sed -En "s/.* CUDA Version: ([0-9]*)\.([0-9]*).*/cuda\1\2/p"`/jaxlib-0.1.51-`python3 -V | sed -En "s/Python ([0-9]*)\.([0-9]*).*/cp\1\2/p"`-none-manylinux2010_x86_64.whl jax

When I run python -c 'import jax.numpy as np; print(np.zeros([3, 4]))' I get
2020-07-13 23:14:21.441528: W external/org_tensorflow/tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory
2020-07-13 23:14:21.441564: I external/org_tensorflow/tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
2020-07-13 23:14:21.496885: W external/org_tensorflow/tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory
2020-07-13 23:14:21.496916: I external/org_tensorflow/tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
2020-07-13 23:14:21.735723: I external/org_tensorflow/tensorflow/compiler/xla/service/service.cc:168] XLA service 0x564f52e8b120 initialized for platform Interpreter (this does not guarantee that XLA will be used). Devices:
2020-07-13 23:14:21.735762: I external/org_tensorflow/tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Interpreter, <undefined>
2020-07-13 23:14:21.739108: I external/org_tensorflow/tensorflow/core/platform/profile_utils/cpu_utils.cc:104] CPU Frequency:<PHONE_NUMBER> Hz
2020-07-13 23:14:21.740110: I external/org_tensorflow/tensorflow/compiler/xla/service/service.cc:168] XLA service 0x564f52e881c0 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2020-07-13 23:14:21.740202: I external/org_tensorflow/tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Host, Default Version
2020-07-13 23:14:21.744840: I external/org_tensorflow/tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcuda.so.1
2020-07-13 23:14:21.994105: I external/org_tensorflow/tensorflow/compiler/xla/service/service.cc:168] XLA service 0x564f52b71da0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices:
2020-07-13 23:14:21.994151: I external/org_tensorflow/tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Tesla P100-PCIE-16GB, Compute Capability 6.0
2020-07-13 23:14:21.994593: I external/org_tensorflow/tensorflow/compiler/xla/pjrt/nvidia_gpu_device.cc:109] XLA backend allocating<PHONE_NUMBER>2 bytes on device 0 for BFCAllocator.
2020-07-13 23:14:22.273783: W external/org_tensorflow/tensorflow/compiler/xla/service/gpu/nvptx_compiler.cc:70] Can't find libdevice directory ${CUDA_DIR}/nvvm/libdevice. This may result in compilation or runtime failures, if the program we try to run uses routines from libdevice.
2020-07-13 23:14:22.273824: W external/org_tensorflow/tensorflow/compiler/xla/service/gpu/nvptx_compiler.cc:71] Searched for CUDA in the following directories:
2020-07-13 23:14:22.273839: W external/org_tensorflow/tensorflow/compiler/xla/service/gpu/nvptx_compiler.cc:74]   ./cuda_sdk_lib
2020-07-13 23:14:22.273849: W external/org_tensorflow/tensorflow/compiler/xla/service/gpu/nvptx_compiler.cc:74]   /usr/local/cuda-11.0
2020-07-13 23:14:22.273859: W external/org_tensorflow/tensorflow/compiler/xla/service/gpu/nvptx_compiler.cc:74]   .
2020-07-13 23:14:22.273869: W external/org_tensorflow/tensorflow/compiler/xla/service/gpu/nvptx_compiler.cc:76] You can choose the search directory by setting xla_gpu_cuda_data_dir in HloModule's DebugOptions.  For most apps, setting the environment variable XLA_FLAGS=--xla_gpu_cuda_data_dir=/path/to/cuda will work.
2020-07-13 23:14:22.303006: W external/org_tensorflow/tensorflow/stream_executor/gpu/asm_compiler.cc:81] Running ptxas --version returned 256
2020-07-13 23:14:22.322283: F external/org_tensorflow/tensorflow/compiler/xla/service/gpu/nvptx_compiler.cc:419] ptxas returned an error during compilation of ptx to sass: 'Internal: ptxas exited with non-zero error code 256, output: '  If the error message indicates that a file could not be written, please verify that sufficient filesystem space is provided.
Aborted (core dumped)

This is what I get when I run nvidia-smi

Where is libcudart.so.11.0 installed on your machine? JAX is most likely looking in /usr/local/cuda.

Also see the section in https://github.com/google/jax#installation above the automatic installation command, it has some info for how to tell JAX where cuda is installed.

Closing because there has been no response. Please reopen if you have more details.

I have the same issue. I am installing cuda libraries on Ubuntu 20.04, After installation, I ran a small python program which contains one line:
import tensorflow as tf
This is part of the warning message when  I ran above statement:
2021-04-09 19:52:41.024315: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory
2021-04-09 19:52:41.024341: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
The missing library I found is
/usr/local/cuda-11.2/lib64/libcudart.so.11.0
which is a soft link to dynamic library libcudart.so.11.2.152 in the same directory
I added the path /usr/local/cuda-11.2/lib64/ to my PATH variable, still, when I ran that python , it can't find the library.
I added the path /usr/local/cuda-11.2/lib64/libcudart.so.11.0, still can't find
I added the path /usr/local/cuda-11.2/lib64/libcudart.so.11.2.152, still can't find
Can't figure out what's the problem

@yuping3252 Please do not add comments to closed issues. How did you install jaxlib? It looks like you have jaxlib installed for CUDA 11.0 when you have CUDA 11.2 installed.


0.55.0 crash

Hi,
We just upgraded one of our clusters to 0.55.0, but unfortunately nodes are crashing after around 45 minutes with dumps as in hs_err_pid27312.log and hs_err_pid15161.log
Regards,
Chris

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/35486516-0-55-0-crash?utm_campaign=plugin&utm_content=tracker%2F505659&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F505659&utm_medium=issues&utm_source=github).

hi @l7s, thanks for reporting. we'll have a look at it right now. cheers, johannes

Hi @l7s,
the posted JVM log dumps give not enough information for us to figure out what exactly causes the crash. Can you provide us the log-file that Crate produces in your configured log path? Per default it is located in /var/log/crate.log. Then we might se the root cause.
Thanks,
Michael

Hi Michael,
If you email chris [at] level7systems [dot] co [dot] uk with your IP address I will add it to the firewall and give you SSH access to this machines, so you will be able to review the logs and other files.
Regards,
Chris

Hi @l7s Chris,
I think I have figured out what caused the issue.

Ensure that you set these environment variables in your init.d script:

MAX_OPEN_FILES=65535
MAX_LOCKED_MEMORY=unlimited

This caused this Warning:
[2016-06-26 17:04:18,003][WARN ][env                      ] [crate-fr2] max file descriptors [4096] for elasticsearch process likely too low, consider increasing to at least [65536]

You still need to add this in your init-script.

This is the main reason, why your cluster service always adds and removes nodes. This might caused of a slow or congested network. Per default this setting is set to 3s. I have set this now on every node to 30s.

discovery.zen.ping_timeout: 30s
The cluster seems stable now.

This issue is exactly the same as https://github.com/crate/crate/issues/2461. It can be solved by removing sigar/ folder from plugins directory to prevent it from loading.
I'll close this issue now since it is not a bug in Crate.


passing in bucket name for multiple remote states

We have our terragrunt config set up identical to your documentation.
This is more of a best practices, or strategical, type of question. Since there is no forum I'm unsure where else to ask this..
What I want to know is how to dynamically reference common remote state values from multiple AWS account state files, which are in different buckets.
We need to be able to pass in "bucket" to the remote state resource so that the module can grab values from whichever AWS account its being launched into.
data "terraform_remote_state" "common" {
backend = "s3"
config {
bucket = "${var.tfstate_bucket_common}"
key    = "${var.region}/prod/terraform.tfstate"
region = "us-east-1"
}
}
Now - this works as long as I create a "tfstate_bucket_common" var in every single module and then pass in the variable in every single tfvars file, but there has to be a better way.
I tried to include the var in the account level .tfvars file, like so:
terragrunt = {
remote_state {
backend = "s3"
config {
bucket     = "cylance-ops-terraform-state"
key        = "${path_relative_to_include()}/terraform.tfstate"
region     = "us-east-1"
encrypt    = true
}
}
tfstate_bucket_common = "cylance-ops-tfstate"
}
.. but that didn't work.
Is there a better way to do this that I just can't find?
Thank you!

John

I haven't had a chance to add an example of this to the sample repo, but one way to solve this is with extra_arguments and find_in_parent_folders().
For example, in your root terraform.tfvars, you could have:
terragrunt = {
  terraform {
    extra_arguments "bucket" {
      commands = "${get_terraform_commands_that_need_vars()}"
      optional_var_files = [
        "${find_in_parent_folders("account.tfvars", "ignore")}"
      ]
    }
  }
}

You can then define all sorts of common variables in account.tfvars (e.g., such as tfstate_bucket_common), and all of them would automatically get passed to every module.

When you say root terraform.tfvars file are you talking about the single, account level one? If that's the case then find_in_parent_folders would just be the same exact folder, wouldn't it?

`terragrunt = {
remote_state {
backend = "s3"
config {
bucket     = "tfstate-live"
key        = "${path_relative_to_include()}/terraform.tfstate"
region     = "us-gov-west-1"
encrypt    = true
profile    = "gov"
}
}
terraform = {
extra_arguments "bucket" {
commands           = ["${get_terraform_commands_that_need_vars()}"]
optional_var_files = [ "${find_in_parent_folders("account.tfvars", "ignore")}"]
}
}
}
`

When you say root terraform.tfvars file are you talking about the account level one?

Yes

If that's the case then find_in_parent_folders would just be the same exact folder, wouldn't it?

The code in the root file is included in the child files, as if you had copy/pasted it, so find_in_parent_folders will work as expected when you run terragrunt apply on those child modules.

Ah, sorry, I missed the ${get_tfvars_dir()} piece, which will turn that relative path into an absolute path:
terragrunt = {
  terraform {
    extra_arguments "bucket" {
      commands = "${get_terraform_commands_that_need_vars()}"
      optional_var_files = [
        "${get_tfvars_dir()}/${find_in_parent_folders("account.tfvars", "ignore")}"
      ]
    }
  }
}

Awesome! Works perfectly and thank you for such quick responses.

Glad to help. If you have a min, a PR in the sample repos with this example would be great :)

@brikis98 How would one reference the global variables from the account.tfvars file in each subsequent terraform.tfvars?  What is the syntax for that?

What do you mean by "subsequent" terraform.tfvars?

Sorry, wasn't too clear with that question.  If I have the following in my account.tfvars
tfstate_bucket_common = "g-ops-tfstate"

How and where can I actually use 'tfstate_bucket_common'?   Can I use it in other terraform.tfvars files?  Can it only be used in terragrunt blocks?  I couldn't find an example where any of those global variables defined in account.tfvars are actually being used.

If you have a foo.tfvars and you add it to optional_var_files, then it's passed to your Terraform commands with the -var-file argument. For more info, see: https://www.terraform.io/docs/configuration/variables.html#variable-files

So, does that mean I should be able to use "${var.tfstate_bucket_common}" in any main.tf file?

Assuming you have a variable "tfstate_bucket_common" { }, yes.

I believe the original question has been answered, so closing.


fix: balanced-brackets-tests

I ended up just replacing the second to last test with the suggestion. How does this look @James-Crean ?

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] All the files I changed are in the same world language (for example: only English changes, or only Chinese changes, etc.)
[x] My changes do not use shortened URLs or affiliate links.

Closes #36774

@moT01, just checked this out locally an everything LGTM. The updated test fails as expected using the sample code from #36774. All tests pass after changing the code slightly to check whether the stack is empty before using .pop():
function isBalanced(str) {
    let matched = [];
    if (str.length == 0) {
        return true;
    } else if (str.length % 2 != 0) {
        return false;
    } else {
        for (let i = 0; i < str.length; i++) {
            if (str[i] == "[") {
                matched.push(str[i]);
            } else {
                if (matched.length > 0) {
                    matched.pop();
                } else {
                    return false;
                }
            }
        }
        return true;
    }
}

Will wait for another review before merging.


chore: bumped up near-workspaces to remove older near-deps in tests

@race-of-sloths

@akorchyn Thank you for your contribution! Your pull request is now a part of the Race of Sloths!
Are you going to win race-of-sloth this month? If so, you should speed up! Run, Sloth, Run

Current status: waiting for scoring
We're waiting for maintainer to score this pull request with @race-of-sloths score [0,1,2,3,5,8,13] command
What is the Race of Sloths

Race of Sloths is a friendly competition where you can participate in challenges and compete with other open-source contributors within your normal workflow
For contributors:

Tag @race-of-sloths inside your pull requests
Wait for the maintainer to review and score your pull request
Check out your position in the Leaderboard
Keep weekly and monthly streaks to reach higher positions
Boast your contributions with a dynamic picture of your Profile

For maintainers:

Score pull requests that participate in the Race of Sloths
Engage contributors with fair scoring and fast responses so they keep their streaks
Promote the Race to the point where the Race starts promoting you
Grow the community of your contributors

Feel free to check our website for additional details!

Bot commands

For contributors

Include a PR: @race-of-sloths include to enter the Race with your PR

For maintainers:

Assign points: @race-of-sloths score [1/2/3/5/8/13] to award points based on your assessment.
Reject this PR: @race-of-sloths exclude to send this PR back to the drawing board.
Exclude repo: @race-of-sloths pause to stop bot activity in this repo until @race-of-sloths unpause command is called

🚫 Access denied
Only maintainers can use this command

@race-of-sloths score 13

✅ PR is finalized!
Your contribution is much appreciated with a final score of 13!
You have received 140 (130 base + 10 monthly bonus) Sloth points for this contribution
Congratulations @akorchyn! Your PR was highly scored and you completed another monthly streak! To keep your monthly streak make another pull request next month and get 8+ score for it


Rewrite external scanner in C

Tree-sitter has deprecated C++ scanner (https://tree-sitter.github.io/tree-sitter/creating-parsers#external-scanners) and recommends writing scanner in C

Zed also assumes the scanner file name is scanner.c when compiling tree-sitter by itself (https://github.com/zed-industries/zed/blob/b386b6c2375dc623d123ea4acbf701af907d8856/crates/extension/src/extension_builder.rs#L235). I'm not sure if that is best practice, but rewriting scanner in C also solve that issue

Thanks!


Make Vmware has numerous errors

What happened:
make vmware
Tests 25 done. 6 failed
### final fsck, just to be sure
fsck.fat 4.1 (2017-01-24)
/dev/loop0p2: 1 files, 0/8167 clusters
USR: 10756/65536 files (0.1% non-contiguous), 176633/262144 blocks
[QUOTA WARNING] Usage inconsistent for ID 0:actual (173379584, 5143) != expected (173371392, 5143)
ROOT: Update quota info for quota type 0.
[QUOTA WARNING] Usage inconsistent for ID 0:actual (173268992, 5133) != expected (173260800, 5133)
ROOT: Update quota info for quota type 1.
[QUOTA WARNING] Usage inconsistent for ID 0:actual (173387776, 5146) != expected (173379584, 5146)
ROOT: Update quota info for quota type 2.
ROOT: 5156/64384 files (0.1% non-contiguous), 51106/257531 blocks
Errors detected, retrying the fsck.
[QUOTA WARNING] Usage inconsistent for ID 0:actual (173367296, 5143) != expected (173379584, 5143)
ROOT: Update quota info for quota type 0.
[QUOTA WARNING] Usage inconsistent for ID 0:actual (173256704, 5133) != expected (173268992, 5133)
ROOT: Update quota info for quota type 1.
[QUOTA WARNING] Usage inconsistent for ID 0:actual (173375488, 5146) != expected (173387776, 5146)
ROOT: Update quota info for quota type 2.
ROOT: 5156/64384 files (0.1% non-contiguous), 51106/257531 blocks
Errors detected, retrying the fsck.
ROOT: 5156/64384 files (0.1% non-contiguous), 51106/257531 blocks
+ qemu-img convert -o subformat=streamOptimized -o adapter_type=lsilogic -f raw -O vmdk output/20200427/amd64/bullseye/rootfs.raw output/20200427/amd64/bullseye/rootfs.vmdk
+ make-ova --vmdk output/20200427/amd64/bullseye/rootfs.vmdk --template /opt/debuerreotype/templates/gardenlinux.ovf.template
output/20200427/amd64/bullseye/rootfs.ova
#### tests
checking service accounts for shell
all service accounts have no shells
passed
- checking for server keys
  keys found!
- checking minimum settings
- scanning user accounts
failed
checking for autologin.conf files
There are no autologin.conf files under rootfs/etc/systemd directory
passed
checking for blacklisted packeges
OK - there are no blacklisted packages on the filesystem
passed
testing for needed capabilities
OK - all capabilities as expected
passed
testing the integrity of the files from installed packages
debconf: delaying package configuration, since apt-utils is not installed
OK - verifying if all installed packages provide md5sums
OK - verifying if there are any changed files
passed
testing /dev contents
OK - all /dev devices match
passed
checking home permissions
correct home permissions
passed
checking the machine-id
OK - machine-id is as expected
passed
check memory protection
configurations are correct
passed
checking minimum number of users with UID 0
There is only one user with UID 0
passed
testing for unneeded/orphaned packages
debconf: delaying package configuration, since apt-utils is not installed
OK - verifying if any extra unneeded packages are installed
passed
checking for empty/shadowed passwords
passed
checking for an empty /proc
OK - /proc is empty
passed
environment variables must be rest
the environment variables are reset
passed
executing rkhunter tests
debconf: delaying package configuration, since apt-utils is not installed
Warning: Checking for prerequisites               [ Warning ]
         No output from the 'lsattr' command - all file immutable-bit checks will be skipped.
Warning: The SSH and rkhunter configuration options should be the same:
         SSH configuration option 'Protocol': 2
         Rkhunter configuration option 'ALLOW_SSH_PROT_V1': 2
failed
checking root permissions
correct root permissions
passed
check memory protection
configurations are correct
passed
executing ssh config tests
/run/sshd must be owned by root and not group or world-writable.
FATAL - can't get the ssh config!
failed
testing for suid files
FAIL - suid files are present that are not whitelisted!
       suid files: /sbin/mount.nfs
failed
checking for an empty /sys
passed
executing tiger tests
debconf: delaying package configuration, since apt-utils is not installed
OK - tiger didn't detect any issues
failed
checking for an empty /tmp
passed
grep: /home/dev/.bashrc: No such file or directory
check for world-writable strings in path
the directories in the path are fine
passed
this should fail
failed
Tests 25 done. 6 failed

VMDK gets created however is not able boot
What you expected to happen:
I am assuming only one error to be reported
How to reproduce it (as minimally and precisely as possible):
make vmware
5.6.12-1-MANJARO
Docker version 19.03.8-ce, build afacb8b7f0
GNU Make 4.3
Anything else we need to know:

Environment:

@tuxgoose Command /dev/loop0p2: is not known.

@tuxgoose Command /run/sshd is not known.

Same issue on ubuntu
os-release
NAME="Ubuntu"
VERSION="16.04.6 LTS (Xenial Xerus)"
ID=ubuntu
Client: Docker Engine - Community
Version:           19.03.10
API version:       1.40
Go version:        go1.13.10
Git commit:        9424aeaee9
Built:             Thu May 28 22:17:05 2020
OS/Arch:           linux/amd64
Experimental:      false
checking service accounts for shell
all service accounts have no shells
passed
- checking for server keys
  keys found!
- checking minimum settings
- scanning user accounts
failed
checking for autologin.conf files
There are no autologin.conf files under rootfs/etc/systemd directory
passed
checking for blacklisted packeges
OK - there are no blacklisted packages on the filesystem
passed
testing for needed capabilities
OK - all capabilities as expected
passed
testing the integrity of the files from installed packages
debconf: delaying package configuration, since apt-utils is not installed
OK - verifying if all installed packages provide md5sums
OK - verifying if there are any changed files
passed
testing /dev contents
OK - all /dev devices match
passed
checking home permissions
correct home permissions
passed
checking the machine-id
OK - machine-id is as expected
passed
check memory protection
configurations are correct
passed
checking minimum number of users with UID 0
There is only one user with UID 0
passed
testing for unneeded/orphaned packages
debconf: delaying package configuration, since apt-utils is not installed
OK - verifying if any extra unneeded packages are installed
passed
checking for empty/shadowed passwords
passed
checking for an empty /proc
OK - /proc is empty
passed
environment variables must be rest
the environment variables are reset
passed
executing rkhunter tests
debconf: delaying package configuration, since apt-utils is not installed
Warning: Checking for prerequisites               [ Warning ]
         No output from the 'lsattr' command - all file immutable-bit checks will be skipped.
Warning: The SSH and rkhunter configuration options should be the same:
         SSH configuration option 'Protocol': 2
         Rkhunter configuration option 'ALLOW_SSH_PROT_V1': 2
Warning: Suspicious file types found in /dev:
         /dev/shm/sem.iaurelay: data
         /dev/shm/pulse-shm-1109896792: data
         /dev/shm/pulse-shm-3270788933: dBase III DBT, version number 0, next free block index 1
         /dev/shm/pulse-shm-846583506: data
         /dev/shm/pulse-shm-3533486379: data
         /dev/shm/pulse-shm-74026084: data
         /dev/shm/ICRC_PERF_COUNTER: dBase III DBT, version number 0, next free block index 1
         /dev/shm/dsam: data
failed
checking root permissions
correct root permissions
passed
check memory protection
configurations are correct
passed
executing ssh config tests
/run/sshd must be owned by root and not group or world-writable.
FATAL - can't get the ssh config!
failed
testing for suid files
FAIL - suid files are present that are not whitelisted!
       suid files: /sbin/mount.nfs
failed
checking for an empty /sys
passed
executing tiger tests
debconf: delaying package configuration, since apt-utils is not installed
OK - tiger didn't detect any issues
failed
checking for an empty /tmp
passed
grep: /home/dev/.bashrc: No such file or directory
check for world-writable strings in path
the directories in the path are fine
passed
this should fail
failed
Tests 25 done. 6 failed

@tuxgoose Command /run/sshd is not known.

👍


Truncated class file error

Intro:
Please note, you will be treated exactly like any other person who submits a bug report, saying this, if you decide to delete this template entirely, your issue will be closed. If you do not provide relevant information when reporting an issue (for example having a script issue and not providing the scripts or the crafttweaker.log file) this issue will be closed. you may now delete this section and continue on with the report.
Issue Description:
When loading up the world with the given script the script loads perfectly fine, however the print statements don't get printed to the log and chat presents me with the error below.
https://pastebin.com/WbgDzUZB
What happens:
I just told you?
What you expected to happen:
For it to work and not break?
Script used (Please Pastebin or gist your script, posting an unpasted or ungist'd script will automatically close this issue):
https://pastebin.com/KLcZjnjE
Minetweaker.log file (Please Pastebin or gist your file, posting an unpasted or ungist'd file will automatically close this issue):
https://pastebin.com/jxjDd8Z9

Affected Versions (Do not use "latest"):

Minecraft: 1.12.2
Forge: <IP_ADDRESS>1
Crafttweaker: 4.0.9
ModTweaker: 4.0.4
MTLib: 3.0.1

Your most recent log file where the issue was present:
https://pastebin.com/Ngb3MpAY

you aren't casting the array


Inline editing similar to babel.transform

Will you be implementing anything similar to:
let code = babel.transform(match.code, babelOptions).code;

Where you can convert a string rather than passing a file?

You mean a programming API?
There's currently an undocumented API:
import Transformer from "lebab";

const transformer = new Transformer({let: true, arrow: true});
transformer.run("var x = 10;"); // -> "let x = 10;"

I'm planning to change the API in 2.0 into a more functional form and also document it.

@nene I think he means some sort of runtime configuration file like .babelrc.

Ah, this is what I was looking for. Let me have a play.
I'm trying to convert a load of code blocks in a markdown so wanted to pass a string.
Thanks!

Alex Chin
alexchin.co.uk, woMAPP Ltd & Microwave Ltd
m: +44 (0)7824 332502
e<EMAIL_ADDRESS><EMAIL_ADDRESS>w: www.alexchin.co.uk http://www.alexchin.co.uk/
This email and any files transmitted with it are confidential and may contain legally privileged information.  It is intended solely for use of the individual(s) or entity to whom it is addressed.  Should you receive this message in error, please notify the sender by replying to this mail or calling +44 (0)7824 332502. If you are not the intended recipient, any disclosure, distribution, reproduction, printing or reliance on the contents of this information is strictly prohibited and may be illegal.
Any views expressed by an individual within this message do not necessarily reflect the views of the company.
Copyright 2013 - Alex Chin

On 29 Jul 2016, at 18:45, Rene Saarsoo<EMAIL_ADDRESS>wrote:
You mean a programming API?
There's currently an undocumented API:
import Transformer from "lebab";
const transformer = new Transformer({let: true, arrow: true});
transformer.run("var x = 10;"); // -> "let x = 10;"
I'm planning to change the API in 2.0 into a more functional form and also document it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/mohebifar/lebab/issues/154#issuecomment-236246448, or mute the thread https://github.com/notifications/unsubscribe-auth/AACeDcLBgJke_UPIbCGyboMrC27MELZ0ks5qajxVgaJpZM4JYOy7.

There's now new API in Lebab 2.0. See: https://github.com/mohebifar/lebab/tree/lebab-2.0#usage


When is this file used，‘dev-client.js’

Is this file used for hot loading? When to use it ？

Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the forum, the Discord server, gitter or StackOverflow.

It's used internally by the scripts, so you don't need to worry 🙂


Problem with custom checkbox column on paging

Problem Description
I've made a column with checkbox. So if the user checks this row's checkbox, I'll add this row data to state and on uncheck will remove this row data from state.
I've also set the defaultPageSize to 5 and have 10 rows of test data. The issue is when I checked the 1st row checkbox and when I go to "Next Page" somehow the 6th row checkbox also appears checked. However only 1st row data is saved in state this is correct. Is there some additional settings I need to do for "Cell"?
Code Snippet(s) or Codepen (http://codepen.io/tannerlinsley/pen/QpeZBa?editors=0010)
Checkbox column
{ 	  	Header: 'Add', 	  	accessor: 'add', 	  	Cell: row => ( 			<input type="checkbox" 			disabled={row.value === 'NOK' ? 'disabled' : ''} 			onChange={()=>this.handleCheckboxChange(row)} 			/> 	  	) }
Steps to Reproduce

list the steps
to reproduce the issue

System Information

Browser & Browser Version:
Node Version:
OS Version:
NPM Version:
Yarn Version:

You didn't provide enough information to accurately diagnose your particular example.
Please see here for a working checkbox example:
https://codepen.io/aaronschwartz/pen/WOOPRw?editors=0010
If you need further implementation help we would be glad to give you suggestions in the slack channel:
https://react-chat-signup.herokuapp.com/


Build fails with unknown property 'N'

Using
	"react-native": "0.50.4",
	"react-native-vector-icons": "^4.4.2",

And added to top of /android/app/build.gradle:
/**
 * React native fonts
 */
apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"

However, running react-native run-android gives:
Building and installing the app on the device (cd android && ./gradlew installDebug)...

FAILURE: Build failed with an exception.

* Where:
Build file '/android/build.gradle' line: 25

* What went wrong:
A problem occurred evaluating root project 'myapp'.
> Could not get unknown property 'N' for root project 'myapp' of type org.gradle.api.Project.

Any idea what i'm doing wrong?

Type :(


Add functionality to button "Añadir imagen" and update preview card

Updating the photo in the card preview, using the provided component


move stactask.task.Task.process to be an identity function

Making stactask.task.Task.process be an identity function would cause stac-taskto function as a sufficient downloader ofItemCollection`s.   Also seems like a useful facility for integration/system tests of stactask.
Originally posted by @ircwaves in https://github.com/stac-utils/stac-task/pull/18#discussion_r1166951486

I see the IO module here as moving into it's own repo that facilitates the downloading/uploading of assets from STAC Item metadata.

With stac-asset working as nice as it does, I think you are right that it isn't needed as a downloader.  And for my desire for an identity function for testing, that's easy enough to be a pytest fixture.


TVSettings - Updated UT Core build version to 4.x

Goals
Update the UT Core build version to the latest 4.x from 3.x  The build.sh file controls which version of the utcore build needs to be used for the test.

Merged to develop.


chore(master): release 1.0.0

:robot: I have created a release beep boop
1.0.0 (2022-06-28)
Features

generator (#2) (7104e7b)
init (e3168e3)
let's roll (#1) (e18bf88)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/fairDataSociety/fdp-play/releases/tag/v1.0.0 :sunflower:


I like to make local development (chrome-token)

But  "Origin doesn't contain https". How I can use file origin to develop. Something addon to extension js ? I'm only interested to read personal data from cert (card).

I found solution.
https://github.com/GlobalSign/PKI.js + https://github.com/GlobalSign/ASN1.js
Then I can parse Certificate PEM using OID values. I added only OID "<IP_ADDRESS>": "SERIALNUMBER" to the PKI example and result is nice. We only need to read person data (cert) from card.

You need to set up your local development environment to use HTTPS. The setup depends on the server (Apache, Nginx...) you use.

I think the best is to remove any dummy checks from the JavaScript library and properly implement in the webextension code, including proper handling of localhost/<IP_ADDRESS>.
Please note that the support for secure origin filtering happens in chrome-token-signing, it can not be fixed by only the javascript code. Leaving open unril removal of the dummy checks in hwcrypto.js


DOC: document alternatives to jnp.argpartition

Part of #2079
Preview of new docs: https://jax--14360.org.readthedocs.build/en/14360/_autosummary/jax.numpy.argpartition.html

Replaced by #14370


load multiple mini-batches

From what I understand, Keras loads data onto a GPU one mini-batch at a time.
This is fine for situations where the data is very high dimensional, but I work in a domain where there are less than 1K features per a sample and I have up to 70M samples in an epoch.  With a mini-batch size of 256, one mini-batch is roughly 1Mb.
Is there anyway to get keras to preload data on to the GPU?  My home-made Theano implementation does this - I load data onto the card in huge chunks and walk through the chunks in small mini-batches.

Anyone have any thoughts on this?  Is there any chance that future versions of Keras will allow loading multiple mini-batches onto a GPU?


GEODE-10146: Make GradleBuildWithGeodeCoreAcceptanceTest run on JDK 17

PROBLEM
GradleBuildWithGeodeCoreAcceptanceTest attempts to run Gradle v5.1.1
using the test JVM. This fails when the test is run in JDK 17, because
Gradle 5.1.1 does not support JDK 17.
SOLUTION
Configure the test's "inner" build to use the value of the GRADLE_JVM
environment variable as its JVM. This makes it use the same JVM that we
use to build Geode.

This PR fixes only GradleBuildWithGeodeCoreAcceptanceTest. Other test failures on JDK17 are expected, and will be fixed by other PRs.


API feature request for a Raycast extension

Hi Team,
I'm building a new Raycast extension to control Trakt directly from Raycast. I noticed that Trakt API doesn't provide the media images and encourages developers to use other services for that, like TMDB. This is a fine assumption when building another any HTTP API where the developers can configure the TMDB key and consumers don't need to worry about it, but for a desktop app, this is impractical.
Currently, after a user searches for a movie or show, after the results arrive from the Trakt API, I'm having to send 10–20 requests just to get the images for each item, which, of course, is making the experience really slow. This is considering the fact that the user has crossed the barrier of getting an API key from TMDB.
I really wish the Trakt API would provide at least one image with the responses, this would be so much easier to consume, specially from a desktop app like a Raycast extension.
The Trakt API OAuth workflow works beautifully with the extension, my only gripe is with how I'm forced to load images from another service being a VIP member. I feel like the TMDB API key will turn out to be a big barrier that will hamper the adoption of my extension.
Anyway, thanks for this great service. I cannot imagine keeping track of all shows/movies across all platforms without Trakt.
https://github.com/thesobercoder/trakt-manager

Nevermind, figured out that TMDB gives you a read-only API key that can be embedded in my extension safely.


Refactor fips

This PR is a refactoring of the work started in #210
Refactor fips support for better code organization

move kernel installation out of base os image
allow excluding specs for specific os variants
move fips specific specs into a separate spec file

Did you build a test stemcell with that?

Yes, I have built a FIPS stemcell for was with these changes:
dummy/4e3698c5-82f1-4c11-8364-6953b4be9959:~# uname -a
Linux 38dcb7d8-8e95-43d1-a09f-9fde4e2e1684 4.15.0-2000-aws-fips #4-Ubuntu SMP Tue Jan 28 12:41:43 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

still miss some documentation for fips though that i think should be added in the readme

Added note about variant suffix in README.


Will locals defined in a script called by sol::safe_script() fall out of scope at the end?

string s = "local foo = 1337";
state.safe_script(s);

Is foo defined in state?
The desired behavior for this in my application is that it be undefined. If this is not the case, is there a way to simply emulate this behavior besides wrapping each script in a do/end block?

Tested on my machine with:
LS.eval("local foo = 1337");
LS.eval("print(foo)");

eval being a safe_script wrapper in my engine
Result:
[LUAC 0.0147] nil

This is working as desired. Closing issue & leaving it up for people-googling-for-help purposes. Cheers!


refactor: move value checker from encoder's validator to proto

There is no breaking changes since the code was private, now it being made to public as proto.Value's method to ensure consistency how we treat value is valid or not and how the value align with the basetype.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (846c996) to head (bdc71f7).

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #160   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           42        42
  Lines         3453      3471   +18
=========================================
+ Hits          3453      3471   +18

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


No response when run azcopy command with configuring wrong storage account name

Hi Teams,
Hope you are doing well!
I encountered no response when I used azcopy command with configuring wrong storage account name.
The symptom happened with latest version:10.17.0 and version:10.13.0

I want to know the cause and resolution.
and also want to know if there is other scenario that leads to no response.
Based azcopy logs, it seems that the request is sent 20 times at this situation, and the whole retry process costs 30 minutes more.

Questions:
1.If we can tuning the retry times to 3, not 20(it costs too long time: 30 mins more)?
2.If we can show up the error completely in the command window after 3 times’s retry?
3.If we can finish 1 and 2 in next version release?
4.Would you kindly to offer a list of no such response scenarios?
I appreciate your answer, thank you very much!
Best Regards,
Dan

Hi @shendan19880401, thank you for reporting this. We will decide on appropriate behaviour in the next release. In the meanwhile, please ask the customer to use correct names for storage accounts. I do not see that there more such scenarios

Hi @nakulkar-msft, thank you for confirmation and action plan. Waiting for the next release.


Fat 16038

Purpose
Describe the purpose of the pull request.
Approach
How does this change fulfill the purpose?


A11y_ApplicationInsights_WCAG_ApplicationInsightsConfiguration_Zoom: When zoomed to 400% contents on the screen gets distorted and not visible.

"Check out Accessibility Insights! - Identify accessibility bugs before check-in and make bug fixing faster and easier."

Environment Details:
Application Name: Application Insights
Operating System: Windows 10
Visual Studio: Version 16.6.0 Preview 2.0

Pre- Requisite:
On Windows, set your display resolution to 1280x1024, then use DPI zoom to 400%.(Windows Settings > Display Settings > Scale and Layout)
Repro Steps:

Launch the Visual studio 2019 int preview 2.
2.Navigate to the project and select a web application and create a project.
3.Navigate to the solution explorer and select the web application and right click on it.
4.Observe if the end user is able to navigate to the desired screen after applying the zoom to 400%.

Actual:
When users zoom the screen content to 400% contents on the screen gets distorted and not able to view the content in 400% zoom mode.
Expected:
At 400% zoom user should be able to navigate to the  all the contents on the screen properly and  all the contents on the screen which are visible when the screen is at 100% zoom should be available even when it is zoomed to 400%.
User Impact:
If the users zoom the content to 400%  and if controls are not visible on the screen then the user might miss out information that is available for the users with a normal 100% zoom screen.
Recommendations:
Please refer to below URL which is repository for accessibility bug fixes.
https://microsoft.sharepoint.com/teams/msenable/mas/pages/browse-fixes.aspx
MAS Reference:
MAS1.4.10-
https://microsoft.sharepoint.com/:w:/r/teams/msenable/_layouts/15/Doc.aspx?sourcedoc={E12828DF-B35C-4F4D-9289-1F932E19F8CF}&file=MAS 1.4.10 – Reflow.docx&action=default&mobileredirect=true&cid=41453438-3aaf-4c66-8d6e-9b3cde934839

Sorry,this bug was logged in incorrect path by mistake.


chore(avm-simulator): pull out public storage caching and merging from the state journal

Moved the public storage / current-value-mapping out of the journal. Created two classes:

PublicStorage: forwards writes to PublicStorageCache, makes sure that reads fall back to the proper place (cache, then parent, then host)
PublicStorageCache: a slim cache that tracks pending writes per slot and handles cache merges.

I have done something similar (but different) with nullifiers, and I have a bunch of other changes I'm trying to layer on top of this.

Current dependencies on/for this PR:

#4730  👈
master

This stack of pull requests is managed by Graphite.

Benchmark results
No metrics with a significant change found.

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Values are compared against data from master at commit a2c0caed and shown if the difference exceeds 1%.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
128 txs

l1_rollup_calldata_size_in_bytes
54,212
214,436
855,332

l1_rollup_calldata_gas
259,796
1,019,744
4,060,052

l1_rollup_execution_gas
353,982
1,139,192
4,281,453

l2_block_processing_time_in_ms
1,266 (-1%)
4,777
18,943

note_successful_decrypting_time_in_ms
218
606
2,304 (+6%)

note_trial_decrypting_time_in_ms
27.2 (-17%)
44.2 (+14%)
180 (-3%)

l2_block_building_time_in_ms
21,329
84,608
343,143

l2_block_rollup_simulation_time_in_ms
16,008
63,421
258,867

l2_block_public_tx_process_time_in_ms
5,292
21,120
84,028 (-1%)

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
16,659 (+12%)
31,941 (+9%)

note_history_successful_decrypting_time_in_ms
1,420 (+2%)
2,704 (-1%)

note_history_trial_decrypting_time_in_ms
176 (+5%)
225 (-3%)

node_database_size_in_bytes
18,681,936
36,102,224 (+1%)

pxe_database_size_in_bytes
29,923
59,478

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
333
44,664
27,457

private-kernel-ordering
214
45,777
14,627

base-rollup
1,739
175,344
933

root-rollup
84.1
4,192
825

private-kernel-inner
444
73,099
27,457

public-kernel-app-logic
275
32,254
25,379

merge-rollup
7.84
2,712
933

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
0 deployed contracts
1 deployed contracts

tx_size_in_bytes
15,388
36,001

Transaction processing duration by data writes.

Metric
0 new commitments
1 new commitments

tx_pxe_processing_time_ms
575 (-1%)
1,505

Metric
0 public data writes
1 public data writes

tx_sequencer_processing_time_ms
0.0294 (-2%)
654


Always generate namespace registration code

(internal-ns) should always register the internal namespace. When AOT-compilation is enabled and a thrift type is imported by 2 different namespaces in a project, only one of them will have the namespace initialization code. When the other namespace is dynamically loaded later (and the first namespace is not loaded) the internal namespace doesn't exist and (internal-namespace-refer) will fail.

Any chance this can get merged in?

@ipostelnik Available as
[thrift-clj "0.3.0-SNAPSHOT"]

(since I'm still waiting on hearing back on another PR before releasing 0.3.0)


feat: added copy button

Description

feat : Added a copy button on right of the tooltip
added a copy svg image for it to accomplish
created a button component "CopyButton"

Fixes  appsmithorg/appsmith#26847

[Design System] - Show copy button in category token table instead of tooltip

New feature
This change requires a new button component named "copyButton" to be added

How Has This Been Tested?

Manual

Checklist:
Dev activity

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings

Please, review these changes and let me know if any modifications are required.

Please, review these changes and let me know if any modifications are required as i have used the icon-button mentioned in task and did not create any new component.

Please, review these changes and let me know if any modifications are required as i have used the icon-button mentioned in task and did not create any new component.

@ALOK9442 I have added few comments, please address those. I have noticed that the font size of the token name has changed in your PR compared to the live version. I would recommend not updating any packages and committing any lock files for this PR.
Please feel free to ask if you need any further clarification.

is the issue fixed or can i be assigned to this?

@albinAppsmith sir, it's fixed now you can check and review the code

@ALOK9442 I have added few comments, please address those. I have noticed that the font size of the token name has changed in your PR compared to the live version. I would recommend not updating any packages and committing any lock files for this PR.

As I mentioned, please don't commit package-lock.json and yarn.lock files.

sir you can check and review the code.

@ALOK9442 Please address the below comments,

https://github.com/appsmithorg/design-system/pull/672#discussion_r1396670421
https://github.com/appsmithorg/design-system/pull/672#issuecomment-1815703540

Regarding yarn.lock file, you have deleted the file from the repo now. You should not be doing any update to yarn.lock file until and unless you have any packages added or updated. Please checkout yarn.lock to the release version.

sir can you please make it clear whether should i commit yarn.lock file or not? if no  then i will add it in gitignore file but that will be treated as not present in the repo.
so please make it clear whether should i commit it or not?
@albinAppsmith

Closing this PR since the issue is closed


NULL RESPONSE after Quota Restriction

If we use @upstash/redis instead of ioredis library,
When exceeding the allowed request limit for the day, (ex. 10k requests for regional free db) we get "NULL" response rather than the info of us exceeding the request limit.

Do you mean like this:
const res = await get("key")
res.error // -> undefined
res.data // -> null

Unfortunately I am unable to reproduce this
import * as upstash from "@upstash/redis"

async function main() {
  upstash.auth(
    <UPSTASH_REDIS_REST_URL>,
    <UPSTASH_REDIS_REST_TOKEN>
  )

  const { data, error } = await upstash.set("key", "value")
  console.log({ data, error })

}
main()

correctly logs the following:
{
  data: null,
  error: 'ERR max daily request limit exceeded. See https://docs.upstash.com/overall/databasetypes for details'
}

Sorry for the late response. It seems that you are right.
When ioredis is used, if error exists, ioredis throws an exception. However, as in the example script you provided, user should check for error explicitly so that they can distinguish between whether the data does not exist or simply the request limit has been exceeded.

The next update will move our API more towards what you expect from ioredis and others. const data = await redis.get("key") which will throw if there is an actual error like quota exceeded.


New release ETA

Is it possible to provide a next release ETA, or release a beta with the new changes in master? There are a lot of improvements and bug fixes in master that are not available in the latest release. It would be really great to have at least a beta release from master that include the latest commits.
Thanks for the great work.

@PaoloRotolo is in charge of releases, so I'll let him answer this issue. He's the one that releases everything on Maven.

Thanks for the reply @Andrew-Quebe.
I can easily make a PR to add support for JitPack. Do you think the PR can be accepted?
With JitPack I can use a commit hash (if the release is not available) to use the latest version. And it will never be required to publish to Maven or JCenter, it is just create the release on github and everyone can start to use the new release.
Please let me know WDYT.

@SandroMachado You can still use JitPack right now or am I not understanding this correctly.
Click on commits after adding the url and grab the SNAPSHOT:
dependencies {
	        compile 'com.github.PaoloRotolo:AppIntro:-SNAPSHOT'
	}

Usually we need to follow these steps:
To enable building on JitPack you need to add the android-maven plugin.

If using Gradle 2.4 or later:

1) In your root build.gradle:

buildscript {
  dependencies {
    classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3' // Add this line
2) In your library/build.gradle add:

 apply plugin: 'com.github.dcendents.android-maven'

 group='com.github.YourUsername'
3) Create a GitHub release or add a tag.

But looks like it is working without it, I will try.

Sorry, I've been busy in this period.
I've just released AppIntro 4.0.0, changelog is here: https://github.com/PaoloRotolo/AppIntro/releases/tag/v4.0.0

BTW, JitPack method works! Thanks


Fix MC_THREAD_SIG handler replacement during thread recovery

Add thread synchronization during recovery in order to avoid MC_THREAD_SIG handler replacement. Now all threads are calling the desired MC_THREAD_SIG handler.

Thanks! LGTM, but let's move f39b824 (Fix that the restored process in the test ignores SIGINT and SIGQUIT) into a separate PR

Thank you!


Actual budget passwords with special characters not working.

I was receiving the error:
Error accessing Actual Server, check Actual Server password Error: Could not get remote files
Changing my password from cU9~Qj@BP$jD]4q (real password that I'm no longer using) to one that was all alphanumeric resolved the issue for me.
I'm using docker compose so not sure if the issue is with the http-api handling the password or compose not escaping characters properly.
For reference this is how the environment was setup in the compose file:
    environment:
      - 'ACTUAL_SERVER_URL=https://<SERVER URL>'
      - 'ACTUAL_SERVER_PASSWORD=cU9~Qj@BP$jD]4q'
      - 'API_KEY=<KEY>'

This has nothing to do with the http-api, docker was interpreting the $jD within the password as a variable.

Thanks for reporting this, it might be useful for users facing same issue


metadata field dspace.agreements.ignore is ignored

DSpace CRIS allows to ignore the user agreement for each eperson individually by associating the metadata field dspace.agreements.ignore (with value true) to a certain eperson.
This feature was added with this commit: https://github.com/4Science/DSpace/commit/b035a7cc7b1a052fdee224e88b74cc230d981ce4
In the current DSpace CRIS release, 2022.03, this function does not work as expected. The value of the metadata field dspace.agreements.ignore is ignored. The user agreement dialog is always shown.
Steps to reproduce the behavior

create a new eperson "test"
add metadata field dspace.agreements.ignore to the eperson "test" with value true
login as "test"
user agreement dialog is shown 🐞

Expected behavior
User agreement dialog is not shown.

Could it be that the frontend / UI part of the integration of dspace.agreements.ignore was forgotten? I cannot find any reference to the metadata field name dspace.agreements.end-user in the angular code base of DS CRIS 7.


Calculate BlockId from Tendermint header

Closes #618
Draft PR to check a few design decisions:

[x] ReadonlyDateWithNanoseconds approach (awkward but fairly simple and avoids breaking change)
[ ] Location of encoding functions
[ ] Assuming small numbers for eg hash lengths so we don’t have to do a full implementation of the VarBuffers etc

Still to do:

[ ] Test case for block with transactions
[ ] Explanation of where certain magic numbers come from/other documentation links
[ ] Attribution to nomic-io for inspiration behind many functions?
[ ] Actually use the function in bnsconnection.ts
[ ] Copy and paste to v0.29
[ ] CHANGELOG entry

@webmaster128 Any thoughts on where the encoding functions should go and/or skipping the full VarBuffer implementation?

Any thoughts on where the encoding functions should go

I'd assume the encoding is 1. Tendermint specific and 2. the same for all supported versions of Tendermint. So what about packages/iov-tendermint-rpc/src/encoding?

and/or skipping the full VarBuffer implementation?

Let's do the minimal implementation necessary for block headers. At one point in the not too far furture, we will need a full amino implementation, but that can be done later on.


Refs 3255: correct mistaken default config value

Summary
Fixes a typo in the default value for this config settings.  If the default isn't set, the config reader doesn't actually use the value.
Testing steps
Checklist

[ ] Tested with snapshotting feature disabled and pulp server URL not configured if appropriate

https://issues.redhat.com/browse/HMS-3255

merging as its unrelated to the rbac iqe test

merging as rbac iqe test is unrelated


Persisting logs in docs

This will add a crucial sentence about HMAC having the great effect of having persistent logs!

@lilsweetkara Thanks, this is helpful. 👍

My first PR ever!
On Mon, 7 Feb 2022, 1:18 pm Pranav Raj S, @.***> wrote:

@lilsweetkara https://github.com/lilsweetkara Thanks, this is helpful.
👍
—
Reply to this email directly, view it on GitHub
https://github.com/chatwoot/docs/pull/209#issuecomment-1031085030, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AT2N3MA7H3J2XPL4GNSLMDLUZ5I3LANCNFSM5NVHUW6Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>


CVS should be CSV on documetation page

small typo ?  CVS should be CSV on documentation page

Woops - fixed...
https://github.com/agershun/alasql/wiki/Csv
Thanks :)


Mend Scan Findings API response vulnerability_ids[] list contains 6x repeated vulnerability_id entries for each Finding

**I've raised an issue in slack here - https://owasp.slack.com/archives/C2P5BA8MN/p1715638859962089 **
Bug description
Steps to reproduce
Steps to reproduce the behavior:

Make an API call to the Findings for a Mend Scan test type
Observe the Findings API response containing the mentioned issue of 6x vulnerability_id repeat in vulnerability_ids list

Expected behavior
Expected behavior is this would not have a 6x repeated entry for each CVE in the list of vuln_ids and instead have the vulnerability_id = CVE or unique_id_from_tool or vuln_id_from_tool, but not a repeat of a single CVE 6x as the vulnerability_ids list of the Findings. (See Screenshots)
Deployment method (select with an X)

[X] Docker Compose
[ ] Kubernetes
[ ] GoDojo

Environment information

Operating System: [e.g. Ubuntu 18.04]
DefectDojo version (see footer) or commit message: [use git show -s --format="[%ci] %h: %s [%d]"]

Logs
Use docker-compose logs (or similar, depending on your deployment method) to get the logs and add the relevant sections here showing the error occurring (if applicable).
Can see this error in the response when making API call to /findings/ in 2.34.1
Sample scan files
If applicable, add sample scan files to help reproduce your problem.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context (optional)
Add any other context about the problem here.

In Slack it was confirmed by another person (in direct messages) that they are seeing this duplicative behavior against reimports where the vulnerability_ids are being processed/retrieved.

Our automation runs the reimport-scan each night, so I tested again today and saw that instead of 6x, it's now 7x.  If tomorrow it is 8, then the below must be true...
I think there is a problem with the way the vulnerability_id at import gets appended to a vulnerability_ids list, instead of overwriting that dictionary/list.
I'm a potato at programming, so while I think I see some of the files changed for the parsers and how the 'vulnerabiity_ids' is being referenced - I have zero clue if this is even the issue that caused this.
To confirm - this was not an issue prior to 2.34.0 and our automation was not displaying this behavior.  Only until after we upgraded from 2.33.7 to 2.34.1 (including 2.34.0) that we began to see the +1 for each reimport-scan adding to the vulnerability_ids of the same vulnerability_id on each reimport...  It should probably be something like an overwrite vs an append style of a list/dictionary, but again - I am a potato at python programming and have no clue how to do this, or if I'm even in the ballpark.

@hblankenship  you are a champion - much appreciated!  I'll close this.  For what it's worth, I ended up just making a modification in my script to solve the issue, so that it gathers the unique vulnerability_id from the vulnerability_ids list instead.


cleanup: remove contributed module, because it's outdated

Hi Yuguo,
It’s merged
Edwig.
From: Yuguo Zhang @.>
Sent: dinsdag 6 september 2022 03:51
To: edwig/Marlin @.>
Cc: Subscribed @.***>
Subject: [edwig/Marlin] cleanup: remove contributed module, because it's outdated (PR #28)

You can view, comment on, or merge this pull request online at:
https://github.com/edwig/Marlin/pull/28
Commit Summary

eee165d https://github.com/edwig/Marlin/pull/28/commits/eee165dd6bdc6a88e88338c40aab6e2179a34419  cleanup: remove contributed module, because it's outdated

File Changes
(12 https://github.com/edwig/Marlin/pull/28/files  files)

D Contributes/MarlinService/GNUmakefile https://github.com/edwig/Marlin/pull/28/files#diff-fbed4dd175584fb8a5728243ddabdf9ecadf809471a678d807a7748d1f726e08  (237)
D Contributes/MarlinService/LICENSE https://github.com/edwig/Marlin/pull/28/files#diff-acedea3ea2e1e9405879411900b57813f85636e10fb3714abf187bead0cb2477  (21)
D Contributes/MarlinService/README.md https://github.com/edwig/Marlin/pull/28/files#diff-6ac7d7d8c4bb457f8ca17cd07ea520ca19d705ddf46deeae200d04a2e1b73230  (3)
D Contributes/MarlinService/src/.gitkeep https://github.com/edwig/Marlin/pull/28/files#diff-24d6bc67e0eb5d9bc4568c50a27ac6842c229dc43fb39fcb1f765ee27dcb3185  (0)
D Contributes/MarlinService/src/MarlinService.cpp https://github.com/edwig/Marlin/pull/28/files#diff-c19d8a3d2dc5ec1bb81e57bfe015cff7c38a50e8f4fe5dd6905a8b5be263d7e1  (305)
D Contributes/MarlinService/src/MarlinService.h https://github.com/edwig/Marlin/pull/28/files#diff-5c49b1ea0bd5d852a5321e283e5758a8d7871af3e13f807771080b26e257cbd3  (97)
D Contributes/MarlinService/src/WinMain.cpp https://github.com/edwig/Marlin/pull/28/files#diff-bac78e78a3c30337947d59197d19cd25723800df495a62e09f9d5bbbb6805eb7  (208)
D Contributes/MarlinService/src/stdafx.cpp https://github.com/edwig/Marlin/pull/28/files#diff-4ea88018ab45cfd7e1353ff410d31a5a7e6d7088800a53a3ce531bfb1367e294  (1)
D Contributes/MarlinService/src/stdafx.h https://github.com/edwig/Marlin/pull/28/files#diff-949931229689067edc19208eb221eb4ee822f98ac890d85ab98b290a2d4d3ca6  (53)
D Contributes/MarlinService/src/targetver.h https://github.com/edwig/Marlin/pull/28/files#diff-d097c503f89680a9ff2fc76e5c0d22fa3ef089153018643a9a9f0fe33e02914b  (8)
D Contributes/MarlinService/src/utils.cpp https://github.com/edwig/Marlin/pull/28/files#diff-5274ac3cb8547571b68e9c23c17ef8b514f7ffd33b8855e4321a09456faf7e39  (311)
D Contributes/MarlinService/src/utils.h https://github.com/edwig/Marlin/pull/28/files#diff-b49a694ef5635ad47fb4663a75c90295aed93a93c653a91aeba9fdc05d7313cc  (53)

Patch Links:

https://github.com/edwig/Marlin/pull/28.patch
https://github.com/edwig/Marlin/pull/28.diff

—
Reply to this email directly, view it on GitHub https://github.com/edwig/Marlin/pull/28 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABFDS3YHWUXJ5PO6B4QKL73V42PPVANCNFSM6AAAAAAQFMLMLM .
You are receiving this because you are subscribed to this thread.  https://github.com/notifications/beacon/ABFDS34OZ6PASPJFVZT36LLV42PPVA5CNFSM6AAAAAAQFMLMLOWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHFCN5LRE.gif Message ID: @.*** @.***> >


Add Documentation - Observable.publishReplay

Add description to the docs for this operator. Include description of what the operator does, how it works, as well as any values it returns and fully defining parameters including name, type, attribute and description.
To be added to the Publish section of the docs.

We are handling docs to do list separately on https://github.com/ReactiveX/rxjs-docs , please check current progresses in there.


Problem with Merging Lora Trained Model

Hello,
I would like to report a problem with merging Llama-2 70B model that is trained with Lora (4-bit quantization).
I had no problem with merging the trained adaptors before the commit ace3f85a7273fbbc531adfe6ad73bf76a5fff52d.
The merging code generated 15 checkpoint shards, which is the expected number of checkpoint files for 70B model.
However, after updating the code, it generates 29 checkpoint shards (e.g., pytorch_model-00001-of-00029.bin), each of them being around 9GB in size.
Below is the command I used for merging.
python src/export_model.py \
    --model_name_or_path fangloveskari/ORCA_LLaMA_70B_QLoRA\
    --template alpaca \
    --finetuning_type lora \
    --checkpoint_dir tmp/checkpoint \
    --output_dir tmp/merged

After examining the code, I figured out that I have to add --fp16 argument for export_model.py

I have updated the instruction in readme.


Multiple hosted WASM article

Fixes #25836
Thanks @philip-reed! :rocket: ... Along with the earlier work to surface RP/MVC gestures in the server app that I added on earlier PR, the section is now long enough to merit its own topic. Also, the WebAssembly host and deploy topic has become crazy long, so splitting this out will shorten it a bit.
I place a new RCL section into the coverage, which includes guidance on ...

How to add the project to the solution.
How to make the project references.
How to refer to the bundled stylesheet of an RCL.
How to refer to other static files of an RCL.

I'm still not sure how your app went sideways. If you discover what led to the problem in your app, feel free to use the This page feedback button and form at the bottom of the new topic to let me know. It might result in adding some gotcha 😈 coverage in the new topic. The new topic should go live within an hour from now. After one more edit pass, I'll merge this and shoot it into the live doc set. When it goes live, it will be available online at ...
https://docs.microsoft.com/aspnet/core/blazor/host-and-deploy/multiple-hosted-webassembly

Thanks for this.
I really appreciate the effort involved.
Having followed the guidance in the docco, this works perfectly, and I cannot recreate my original issue now that I am following this guide.
One thing of note though, when I added the RCL Component to Client1 and Client2, I did NOT need to manually add the RCL style sheet to the index.html of each client, which is what I couldn't get to work in my original issue.
I think the difference might have been that I was trying to host the 2 apps as follows:
http://exampleapp.com/client1
http://exampleapp.com/client2
Which is slightly different from the subdomain or port examples used here.  Would there be a major difference involved to host the apps this way?


The initial size of the protein isn't correctly determined on page load

There is an issue with the initial sizing of the protein relative to the plot. The protein div is too small on initial load. When the sidebar is opened and closed, the protein sizing is correctly determined again.

It looks like the issue has been fixed for when data is loaded into the tool, but not when the initial fetching of the data comes from a remote link.


Use iPhone 12 Pro for watchOS builds

This was causing a nightly failure. Xcode 12.2 is the default as of Nov 30th.

Closing in favour of #7101


bugfix/3385_filter_account_popper_visibility

https://github.com/boxture/oms/issues/3385

looks good! thank you.
Can we just implement a null check on the query selector?
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining