SAKIII-4367 build HashRefreshFiles.java with mvn

https://jira.sakaiproject.org/browse/SAKIII-4367

Comments at the JIRA ticket indicate that this fixes the issue.

Merged via squash


Correction for raw affiliation Department of Physic, Faculty of Science and Technology Errachidia, Moulay Ismail University, BP-509 Boutalamine Errachidia 52 000, Morocco; Health Technologies Engineering Department, Research Group in Biomedical Engineering and Pharmaceutical Sciences, ENSAM,; Laboratory of Networks, Computer Science, Telecommunication, Multimedia (RITM), Department of Electrical Engineering, High School of Technology ESTC, Hassan II University, Casablanca, Morocco; Mohammed V University, Agdal, Morocco

Correction needed for raw affiliation Department of Physic, Faculty of Science and Technology Errachidia, Moulay Ismail University, BP-509 Boutalamine Errachidia 52 000, Morocco; Health Technologies Engineering Department, Research Group in Biomedical Engineering and Pharmaceutical Sciences, ENSAM,; Laboratory of Networks, Computer Science, Telecommunication, Multimedia (RITM), Department of Electrical Engineering, High School of Technology ESTC, Hassan II University, Casablanca, Morocco; Mohammed V University, Agdal, Morocco
raw_affiliation_name: Department of Physic, Faculty of Science and Technology Errachidia, Moulay Ismail University, BP-509 Boutalamine Errachidia 52 000, Morocco; Health Technologies Engineering Department, Research Group in Biomedical Engineering and Pharmaceutical Sciences, ENSAM,; Laboratory of Networks, Computer Science, Telecommunication, Multimedia (RITM), Department of Electrical Engineering, High School of Technology ESTC, Hassan II University, Casablanca, Morocco; Mohammed V University, Agdal, Morocco
new_rors: 012hpz460;00r8w8f84;001q4kn48
previous_rors: 012hpz460;018pp1107;00r8w8f84;001q4kn48
works_examples: W4328022229
contact: 0bfc44d3b4a813f31ddedf8e35272cd9:52abe9de573df0a5d9d817d09e @ ensam.eu

This issue was accepted and ingested by the OpenAlex team on 2024-10-09. The new affiliations should be visible within the next 7 days.


Fix dict delayed

This is in response to Issue #2107
@jcrist and @mrocklin thanks for the support, you're helping me better learn this powerful library!

+1 from me.  I'll let @jcrist  make the final determination here though.

Thanks for the fix! Merging.

Oh, I got the logic on the desired behavior backwards then :)

On Mar 21, 2017, at 16:50, Jim Crist<EMAIL_ADDRESS>wrote:
Merged #2108.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

@jcrist no problem, thanks for the quick support!


CAMEL-20085: aws2-sqs - catch any SdkException when deleting message

Description
Before this change, the exception would be logged in UnitOfWorkHelper  which catches any Throwable as the last option. The proper solution is  to catch it already in the consumer and let it be handled by the  exception handler.
Target

[ ] I checked that the commit is targeting the correct branch (note that Camel 3 uses camel-3.x, whereas Camel 4 uses the main branch)

Tracking

[ ] If this is a large change, bug fix, or code improvement, I checked there is a JIRA issue filed for the change (usually before you start working on it).

Apache Camel coding standards and style

[ ] I checked that each commit in the pull request has a meaningful subject line and body.

[ ] I have run mvn clean install -DskipTests locally and I have committed all auto-generated changes

@simon-ras can you backport on 4.0.x and check on 3.21.x and 3.x? Thanks

@simon-ras can you backport on 4.0.x and check on 3.21.x and 3.x? Thanks

I'm not actually sure that this is worth back-porting. There is nothing functionally changed from commit. What do you think?

ah yes, this is categorized as improvement. No need to backport. Thanks for checking.


Saving doesn't work in Sketch 45.1

Saving a palette from document colors does not bring up the saving dialog. From the global colors menu it does but no palette file is saved in both cases.

Hey, I just tried with the newest update of Sketch, 45.1, and I'm not able to reproduce the issue. Are you using the latest version of the Sketch Palettes Plugin?
https://github.com/andrewfiorillo/sketch-palettes/releases/latest
Note: the recent Sketch release just added functionality for auto-updating plugins, which is awesome. There is another GitHub issue for adding support for that. I hope to have that done soon.


update registry to resolve MultitargetNeuralNetworkRegressor issue

https://github.com/FluxML/MLJFlux.jl/pull/158#event-4871494451

Waiting for my local General mirror to update with new MLJFlux release. Mmmmm.


initial setup for refactoring size processing to separate eigen-specific steps.

This PR is ready to merge if it passes tests.
This PR include basic setup for refactoring size processing to disentangle eigen-specific steps from general size and type annotation steps.  Eigen-specific steps include annotation of what can be handled by eigen and generating intermediates where needed for implementation using eigen.  Separating these steps into distinct compiler passes should make the code cleaner and more amenable to extension such as for other back-ends.
Currently the experimental size processing works for everything in basicMathTests.
Changes include:

Two new compiler flags that toggle new behavior (default off): experimentalNewSizeProcessing and experimentalSelfLiftStage.

A new compiler stage, exprClasses_toEigenize, modeled on exprClasses_setSize, with handlers partially set up for simple cases, with placeholders for non-simple cases.

A new test file.  This includes a function that will compare whether old and new generated C++ files are identical for a given RCfunction.  It currently has one toy test for that function.  It also includes a function that wraps a call to test_math and checks whether current and experimental processing of each case in basicMathTests is identical.  That passes.

Thanks for the code review @fritzo !  I've updated for all points except the larger step of adding different flavors of tests.  If tests pass I think this is ready to merge.

:+1:


ENUM EventLogType changes should be reporting as breaking changes

Description of bug
It's not a bug. IMO a change in standard publicly exposed ENUM regularly used in module development should be reported as breaking change. Typically we target the minimum version of DNN we want to support and reference the appropriate assemblies in our project. A change between 9.2 and 9.6.2+ (probably more-so related to dependency injection change in... 9.5 or so?) introduced a change in the EventType for the logging controller.
Possibly discussion related to #4242
An often used log type would be ADMIN_ALERT.
e.g. EventLogController.Instance.AddLog("hello", "world", portalSettings, userID, EventLogController.EventLogType.ADMIN_ALERT)
What I found is that after upgrading a DNN instance from 9.2.1 to 9.6.2 logging ceased. This is because the ADMIN_ALERT in 9.2.1 lined up in sequence (order) with APPLICATION_SHUTTING_DOWN in 9.6.2. and therefore was never logging.
Steps to reproduce
List the precise steps to reproduce the bug:

Reference Dotnetnuke.dll v9.2.1 (or earlier)
Attempt to write an ADMIN_ALERT to the event log in a site on v9.6.2+

Current behavior
Doesn't log
Expected behavior
Should log an admin alert to the event viewer.
Affected version

9.6.2+
Workaround
For developers that do not want to create additional configurations/builds for their module, you can safely get the proper LogType by
var adminAlert = (EventLogController.EventLogType)Enum.Parse(typeof(EventLogController.EventLogType), "ADMIN_ALERT");
EventLogController.Instance.AddLog("hello", "world", portalSettings, userID, adminAlert)

yeah, I can confirm the enum changed somewhere in 9. The enum was not numbered (so get's auto-numbered) in 9.0.0 and later both got numbered and items got added before ADMIN_ALERT, so yeah, that's not great. However as far as I know, fixing this will cause a second breaking change for those who have adjusted 😞
Unless someone has a crazy idea on fixing this another way ?

Numbering from hereon out, which looks like that already happened as you stated is the best way forward. Although I'm willing to bet many people are simply not aware just yet if it hasn't been reported because it won't throw an error... it just doesn't log or will log incorrectly.  I made a habit early on to reference earlier versions. I really don't know the answer :( I do know that my client had a requirement to store SAML authentication logs so it was a serious matter for them.
a. Leave it as is
b. Re-number to match what has been in place for years
Have no clue. anyone else?

I think at this point we have to leave it as-is, but I would agree 100% that all future Enums must be numbered!

I am also leaning towards leaving it as it is now, it is unfortunate that have this unknown breaking change but making one more breaking change I think would be worst...

For what it is worth this is something that has been worked on in the new DotNetNuke.Abstractions project. If you look at the new EventLogType it is using numbered enums
https://github.com/dnnsoftware/Dnn.Platform/blob/d5d6d2b1c9072e80228e1352de855ab6194aa128/DNN Platform/DotNetNuke.Abstractions/Logging/EventLogType.cs#L9-L19


Expose gpr_asprintf and gpr_strdup

Adds a new file string_util.h and moves the declarations for gpr_asprintf and gpr_strdup to it.

LGTM, waiting on Travis
24% increase in coverage... wow
(methinks the previous coveralls run was broken)

This change broke census_rpc_stats.c and census_tracing.c for me. Both use gpr_strdup and weren't made to include the new file.
Am I compiling more than Travis?

You almost certainly are. build.json is the canonical file listing what to
include in a libgrpc build, and if you're compiling a different list than
that you're almost certainly doing it wrong.
Please work with +Nicolas Noble<EMAIL_ADDRESS>to generate your build
lists from that file.
On Fri, Jun 12, 2015 at 6:21 PM Jorge Canizales<EMAIL_ADDRESS>wrote:

This change broke census_rpc_stats.c
https://github.com/grpc/grpc/blob/master/src/core/statistics/census_rpc_stats.c
and census_tracing.c
https://github.com/grpc/grpc/blob/master/src/core/statistics/census_tracing.c
for me. Both use gpr_strdup and weren't made to include the new file.
Am I compiling more than Travis?
—
Reply to this email directly or view it on GitHub
https://github.com/grpc/grpc/pull/1898#issuecomment-111651035.

@ctiller is correct. You need to start generating your project files from the build.json to keep in sync with the rest of the project.


feat: bump lmdb

Please read contributing guidelines and remove this line.

#5783  👈
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @alexghr and the rest of your teammates on  Graphite

Benchmark results
Metrics with a significant change:

note_trial_decrypting_time_in_ms (8): 15.5 (-86%)

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.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
64 txs

l1_rollup_calldata_size_in_bytes
772
772
772

l1_rollup_calldata_gas
6,832
6,832
6,844

l1_rollup_execution_gas
587,313
587,313
587,325

l2_block_processing_time_in_ms
1,439 (+2%)
5,243 (+1%)
10,235

note_successful_decrypting_time_in_ms
227 (+10%)
498 (-15%)
1,007 (+11%)

note_trial_decrypting_time_in_ms
:warning: 15.5 (-86%)
107 (+14%)
28.0 (+11%)

l2_block_building_time_in_ms
13,380 (+1%)
52,301
105,053 (+1%)

l2_block_rollup_simulation_time_in_ms
13,152 (+1%)
51,468
103,410 (+1%)

l2_block_public_tx_process_time_in_ms
5,700
22,323
44,960

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
15,589 (-3%)
30,384

note_history_successful_decrypting_time_in_ms
1,270 (-2%)
2,366 (+3%)

note_history_trial_decrypting_time_in_ms
58.3 (-8%)
95.6 (+1%)

node_database_size_in_bytes
18,714,704
35,123,280

pxe_database_size_in_bytes
29,859
59,414

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
152
44,725
26,424

private-kernel-inner
162 (-1%)
72,200
26,424

private-kernel-ordering
112
51,090
39,297

base-parity
41.0 (+1%)
128
311

root-parity
7.17 (+1%)
1,244
311

base-rollup
16,259 (+1%)
110,820
957

root-rollup
47.2
4,551
821

public-kernel-app-logic
89.2 (-1%)
48,175
40,933

public-kernel-tail
123 (-2%)
60,044
7,385

merge-rollup
6.61 (-7%)
2,760
957

public-kernel-teardown
85.3 (-1%)
48,175
40,933

public-kernel-setup
84.2 (-1%)
48,175
40,933

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

Metric
1 leaves
16 leaves
64 leaves
128 leaves
512 leaves
1024 leaves
2048 leaves
4096 leaves
32 leaves

batch_insert_into_append_only_tree_16_depth_ms
11.1
17.8
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.8
31.6
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.645
0.548
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
51.3
80.7
260
502
977
1,950
N/A

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
96.0
159
543
1,055
2,079
4,127
N/A

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
0.526
0.498
0.474
0.469
0.465
0.467
N/A

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
60.3
120 (+1%)
378 (+1%)
740
1,463
2,914
N/A

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
105
207
691
1,363
2,707
5,395
N/A

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
0.534
0.539
0.514
0.509
0.508
0.507
N/A

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
67.6

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
109

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
0.589

Miscellaneous
Transaction sizes based on how many contract classes are registered in the tx.

Metric
0 registered classes
1 registered classes

tx_size_in_bytes
41,029
528,895

Transaction size based on fee payment method

Metric
native fee payment method
fpc_public fee payment method
fpc_private fee payment method

tx_with_fee_size_in_bytes
905
1,161
1,377

Transaction processing duration by data writes.

Metric
0 new note hashes
1 new note hashes
2 new note hashes

tx_pxe_processing_time_ms
1,178 (-2%)
800
3,457 (-1%)

Metric
1 public data writes
2 public data writes
3 public data writes
4 public data writes
5 public data writes
8 public data writes

tx_sequencer_processing_time_ms
498 (-1%)
330 (-1%)
903 (-1%)
419 (-1%)
1,497 (-1%)
489 (-1%)


Docs: Update swift manpage to instruct users to run swift repl for the REPL

Bare swift no longer invokes the REPL.
Resolves rdar://102727000

@swift-ci please smoke test


Why can we not change the analyzer for edge_ngram and ngram fields?

Why can we not change the analyzer for edge_ngram and ngram fields?

There's not much point in changing the analyzer on those fields because those fields are already, and purposefully, analyzer specific in Haystack.
If you want to use a different analyzer to do similar work, I'd recommend just specifying a new field using  ConfigurableFieldMixin.
The only time I can see this being a problem is if you have no control over what fields are used in the SearchIndex class(es). If that is indeed a problem I'd consider a pull request to resolve the issue (see the contribution doc).


rake [stage] shell

Heroku run bash --app ...

Was this mistakenly opened? Need more information to do anything with it.

Not a bug, feature request to myself. You can get a shell by calling heroku run bash --app ... so I want to write a custom target rake [stage] shell that does that. Low priority, fer shur


Feature Request: New options for search

Hi. Your treeview is great and its search feature works like a charm... though I want to ask for some new option:
$('#tree').treeview('search', [ 'search_filter', {
    ignoreCase: true,     // case insensitive
    exactMatch: false,    // like or equals
    revealResults: true,  // reveal matching nodes
    fadeOutMismatched: true,
    collapse: true
}]);

a. This requested fadeOutMismatched feature/option makes the tree to fade out all non-matching nodes  to the search_filter value. Also all ancestor and descendant of a matching node will be excluded on fade out.
b. The requested collapse feature/option makes the tree to collapse all node and reveal the node that matches the search_filter string.
I believe this feature will come handy on scenarios having a tree more than 100 nodes with subnodes. Thanks in advance.

i agree.  this was how i was hoping that the search feature worked.  my instance will have more than 100 nodes.  great work!

I second this request. Fading out would be a really great feature.
I would also like an option to automatically scroll to the first found node.
About collapsing, right now I do this in my search function:
        tree.collapseAll();
        if (pattern.length < 3) {
            tree.clearSearch();
        } else {
            tree.search(pattern);
        }

Here is some javascript code that implements a variant of this based on current bootstrap-treeview master (no need to alter bootstrap-treeview code). It uses 'disabled' state to hide nodes. CSS:
#example-tree .node-disabled {
    display: none;
}

Then, all nodes that are not relevant to the search results are disabled.
Also, at the beginning of each search, the whole tree is collapsed. So in the end, only nodes are shown that are parents of search results or search results, and also these are fully expanded.
$(function () {
    var selectors = {
        'tree': '#example-tree',
        'input': '#example-search',
        'reset': '#example-reset'
    };
    var lastPattern = ''; // closure variable to prevent redundant operation

    /* collapse and enable all before search */
    function reset(tree) {
        tree.collapseAll();
        tree.enableAll();
    }

    /* find all nodes that are not related to search and should be disabled:
     * This excludes found nodes, their children and their parents.
     * Call this after collapsing all nodes and letting search() reveal.
     */
    function collectUnrelated(nodes) {
        var unrelated = [];
        $.each(nodes, function (i, n) {
            if (!n.searchResult && !n.state.expanded) { // no hit, no parent
                unrelated.push(n.nodeId);
            }
            if (!n.searchResult && n.nodes) { // recurse for non-result children
                $.merge(unrelated, collectUnrelated(n.nodes));
            }
        });
        return unrelated;
    }

    /* search callback */
    var search = function (e) {
        var pattern = $(selectors.input).val();
        if (pattern === lastPattern) {
            return;
        }
        lastPattern = pattern;
        var tree = $(selectors.tree).treeview(true);
        reset(tree);
        if (pattern.length < 3) { // avoid heavy operation
            tree.clearSearch();
        } else {
            tree.search(pattern);
            /* get all root nodes: node 0 who is assumed to be
               a root node, and all siblings of node 0. */
            var roots = tree.getSiblings(0);
            roots.push(tree.getNode(0));
            /* first collect all nodes to disable, then call disable once.
               Calling disable on each of them directly is extremely slow! */
            var unrelated = collectUnrelated(roots);
            tree.disableNode(unrelated, {silent: true});
        }
    };

    /* typing in search field */
    $(selectors.input).on('keyup', search);

    /* clear button */
    $(selectors.reset).on('click', function (e) {
        $(selectors.input).val('');
        var tree = $(selectors.tree).treeview(true);
        reset(tree);
        tree.clearSearch();
    });
});

Did you ever think putting your search for a particular object attribute? I'm trying to implement this improvement, but is generating the following error: Can not read property 'hasOwnProperty' of undefined.

ypnos-web, thanks a lot for the contribution. Your suggestion is exactly what I'm trying to achieve; filter out non-matched elements, but keeping the parent elements of those matched.
Could you please help me understand how to implement that suggestion? I was trying to make this work on a jsfiddle without any success (https://jsfiddle.net/david_garcia_dgb2/0hLu1cu6/)
Thanks.

Thanks for the fiddle. You will see it works very well with larger hierarchies.

davidgarcia88  How to apply this solution for multi?


Convert decimal strings with comma separator

Expected behavior

The class SwapStringToBytes can convert strings declared as decimal with a comma as decimal separator to doubles. (See test code below.)
The class SwapStringToBytes has a test class SwapStringToBytesTests.
The class SwapStringToBytes is in the namespace PAQO.Core.Facets.
The class SwapBytesToString is in the namespace PAQO.Core.Facets.
The class SwapBytesToStringTests is in the namespace PAQO.Core.Facets.Test.
Actual behavior

The class SwapStringToBytes cannot convert strings declared as decimal with a comma as decimal separator to doubles.
The class SwapStringToBytes has no test class.
The namespaces are wrong.
Steps to reproduce the behavior

using PAQO.Core.Prop;
using Xunit;

namespace PAQO.Core.Facets.Test
{
    public sealed class SwapStringToBytesTests
    {
        [Fact]
        public void DeliversDoubleForCommaDecimalSeparator()
        {
            Assert.Equal(
                6083.15,
                new DecimalProp.AsDouble(
                    new SwapStringToBytes().Flip("decimal", "6083,15")
                ).Value()
            );
        }
    }
}

The log given by the failure.

Mention any other details that might be useful

I see two possible solutions to this problem.

Provide a CultureInfo to class SwapStringToBytes which is used to parse numerical values.
It's the app reponsibilitiy to transform the numeric value into a Culture Invariant format which is used by PAQO to parse numeric values from string.

The first approach is my personal favorit.


update "Stripe Customers" model to include subscription created_at date

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/1538
Originally created by @dmor on 2020-01-07 22:52:58

Came up in a customer call today that the user would like to be able to organize the imformation in the "Stripe Customers" model to show the new subscribers added by day/week/month/year and also be abke to see the aggregate.
Not sure if the implementation here is to modify the existing "Stripe Customers" model, or to do another transform that is "Stripe Subscriptions" but in general I think most models should include a concept of change over time by default.
See video here: https://youtu.be/DuOJ-U2LI5U

View 8 previous comments from the original issue on GitLab


Documenting 4d-obc customization

Also enable Python callbacks for distance calculation which have been there in theory, but would cause deadlocks + unaccessible parameters in practice.

Codecov Report

Merging #226 (7a15787) into main (ff64fd5) will decrease coverage by 0.16%.
The diff coverage is 0.00%.

:exclamation: Current head 7a15787 differs from pull request most recent head ff9544a. Consider uploading reports for the commit ff9544a to get more accurate results

Additional details and impacted files

@@            Coverage Diff             @@
##             main     #226      +/-   ##
==========================================
- Coverage   89.51%   89.35%   -0.17%
==========================================
  Files          18       18
  Lines        1669     1672       +3
==========================================
  Hits         1494     1494
- Misses        175      178       +3

Flag
Coverage Δ

cxx
87.26% <0.00%> (-0.33%)
:arrow_down:

python
91.30% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

lib/segmentation.cpp
74.35% <0.00%> (-0.83%)
:arrow_down:

Continue to review full report at Codecov.

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


Added firemaking plugin for Kotlin

Hello.
I have ported the firemaking plugin as discussed in #303. This has several fixes in it and I did test it.
The only things I am not sure on are the random equations for a successful chance of lighting the fire and how long the fire should burn.
EDIT: Also, this does not support lighting logs already on the ground because I have no way to test easily until dropping items is implemented. Also does not enforce not lighting fires in banks as I am not sure how to implement that.
Can someone please review.
PS: Yes, I know I have a lot of pull requests open right now. Sorry.
Thank you,
Trevor

PS: Yes, I know I have a lot of pull requests open right now. Sorry.

No, that's nothing to be sorry about.  It's great :-).  Will get around to reviewing shortly.

This has been rebased and setup for the new build system for kotlin plugins.

Blocked on item dropping

After Firemaking is merged we're going to freeze kotlin-experiments for new content until it reaches master (i.e. we'll only be merging plugin ports, not new plugins). Any new content is welcome, but it will sit in PR until we're ready or stuff we still need to port will never get done.

@tlf30 I'm working on the ground item code now.

@ryleykimmel your ground item code is awesome! Once it is merged in I update this.


Stop sending password in plain text.

Fix sending the user's password in plain text via email upon signing up.
#192 #81

Can we get choose changed to chose for for both this and the other PR? Chose is the past tense version of choose and would be correct for both cases.
Thanks!

In that case we should also update the installer:
https://github.com/FOSSBilling/FOSSBilling/blob/9000125a78269be307299936f535d112e9d59375/src/install/install.php#L431

It is a good start 👍🏼


Fix RNA BAM path

A test would be a good idea, but not sure I need to block on that?
cc @arahuja

👍

Coverage remained the same at 59.267% when pulling b4b4b41997327a570db05920d14adab74d5ca981 on fix_bam_path into 23278c687e534b764c54d503004166b1b601bf33 on master.

Coverage decreased (-0.5%) to 58.788% when pulling b4b4b41997327a570db05920d14adab74d5ca981 on fix_bam_path into 23278c687e534b764c54d503004166b1b601bf33 on master.


HTTPS support for cmaz.io

http://cmaz.io correctly redirects to https://coolmaze.io
But https://cmaz.io doesn't work

Gave up OVH hosting. Managed the redirection in Firebase instead.


fix: add missing implementation of endHandler

Issue
https://github.com/gravitee-io/issues/issues/6961
Description
When defining a requestTimeout in the gateway configuration, the request handler is wrapped in a VertxReactorTimeoutHandler that uses a TimeoutServerResponse object to handle the response. But this class didn't override the endHandler method.

@phiz71 can you please add an integration test to cover this PR ?


some questions...

Hi,
Just wanted to ask a couple of questions :
https://github.com/nathancahill/Split.js/blob/master/split.js#L265
sets isFirst if i is 1. That's a little unobvious, but I can see later on that you're talking about pairs - ie the splitter always goes between two elements.
isLast makes sense either way.
However, lower down I see :
https://github.com/nathancahill/Split.js/blob/master/split.js#L314
I was wondering why you half the gutter size for i===0 instead of i==1 (not sure why == changed to == either - is there something I'm missing there?).
Hrm, I guess I'm just confused by the variable names? isFirst doesn't mean first element, but second element of first pair? isLast seems the same though.
I was originally trying to figure out why my splitter has broken with an upgrade to the latest version - I guess I still need to figure out what's going on. I currently have :
          Split(this.getContentChildren(), { sizes: [60, 40] });

Thanks for any insights.
Max.

Thanks Max. isFirst/isLast refer to the first and last pairs, instead of elements. Variables could be named better.


[EPIC] Scheduler UI

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
We have a very basic scheduler UI. This issue is for tracking the work we need to do to make it useful.
Describe the solution you'd like

[x] https://github.com/apache/arrow-ballista/pull/241
[x] https://github.com/apache/arrow-ballista/issues/276
[x] https://github.com/apache/arrow-ballista/issues/275
[x] View query stages in a job
[x] Cancel job API https://github.com/apache/arrow-ballista/issues/139
[x] Cancel job UI https://github.com/apache/arrow-ballista/issues/350

Describe alternatives you've considered
None
Additional context
None

Looks like the Cancel job was merged, so this issue/epic could be successfully closed.  :fireworks:

Looks like the cancelling the job is not enabled yet in the UI - so reopening

Good catch, sorry about that!

Looks like we really can close this now. Thanks @Dandandan  and @onthebridgetonowhere


copyToClipBoard: add missing right border for inline code if disableInlineCopyToClipBoard=true

Minor little bug, when setting disableInlineCopyToClipBoard=true, the inline code is missing the right border:

@McShelby Weird, for me it's still happening with the latest code.


wine{Unstable,Staging}: 3.13 -> 3.14

forgot to commit and pr this update, but it worked a week ago.

@GrahamcOfBorg build wineUnstable wineStaging

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: wineUnstable, wineStaging
Partial log (click to expand)
while evaluating 'lowPrio' at /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/meta.nix:52:13, called from /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/top-level/all-packages.nix:22046:18:
while evaluating 'addMetaAttrs' at /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/meta.nix:15:28, called from /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/meta.nix:52:18:
while evaluating the attribute 'full.override' at /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/top-level/all-packages.nix:22037:49:
while evaluating the attribute 'full' at /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/top-level/wine-packages.nix:30:3:
while evaluating 'callPackageWith' at /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:108:35, called from /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/top-level/wine-packages.nix:4:13:
while evaluating 'makeOverridable' at /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:67:24, called from /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:112:8:
while evaluating anonymous function at /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/misc/emulators/wine/default.nix:9:1, called from /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/lib/customisation.nix:69:12:
while evaluating 'wine-build' at /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/misc/emulators/wine/default.nix:47:25, called from /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/misc/emulators/wine/default.nix:66:3:
assertion failed at /private/var/lib/ofborg/builds/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/top-level/stage.nix:150:21

Unexpected error: command failed with exit code 1 on aarch64-linux (full log)
Attempted: wineUnstable, wineStaging
Partial log (click to expand)
copying path '/nix/store/jx05xvfdzd0mkrc6lvwbc0qbxpmhgyma-gcc-wrapper-7.3.0' from 'https://cache.nixos.org'...
copying path '/nix/store/5bd9r11dj22g75ajn4dqaz0sfb7k19g6-stdenv-linux' from 'https://cache.nixos.org'...
copying path '/nix/store/m4w591cxljd4w2hybjhrppg5r7qyrxcv-mesa-noglu-18.1.5-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/xghvfnvycywisdplc8khr0v1108q9pxa-mesa-noglu-18.1.5-osmesa' from 'https://cache.nixos.org'...
copying path '/nix/store/9nb22yw6g9ij0y4nf51mm7hysz9imqnf-libGL-1.0.0-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/pxksvp6a71k3xjsv6wkc20qjcz80c7iq-cairo-1.15.12-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/qdhfgfjfqn0x0hhdf42hl7n952i2b2n5-glu-9.0.0-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/s6lvbpc2icpbzzwnsxgjgxyd5qyvhlkl-libGLU-combined' from 'https://cache.nixos.org'...
copying path '/nix/store/lykqf91xgad0slvqgp89hz3h3hd5j85w-pango-1.42.1-dev' from 'https://cache.nixos.org'...
error: a 'i686-linux' is required to build '/nix/store/wba1zb762qsa0vsd1yr8l66qar4v313b-wine-3.14.drv', but I am a 'aarch64-linux'

Success on x86_64-linux (full log)
Attempted: wineUnstable, wineStaging
Partial log (click to expand)
tools/install-sh -m 644  tools/wrc/wrc.man /nix/store/nyksvjpp7gss53qkbh17h4v4f5p7ilm9-wine-3.14-staging/share/man/man1/wrc.1
STRIPPROG="strip" tools/install-sh  tools/wrc/wrc /nix/store/nyksvjpp7gss53qkbh17h4v4f5p7ilm9-wine-3.14-staging/bin/wrc
glibPreFixupPhase
post-installation fixup
gzipping man pages under /nix/store/nyksvjpp7gss53qkbh17h4v4f5p7ilm9-wine-3.14-staging/share/man/
patching script interpreter paths in /nix/store/nyksvjpp7gss53qkbh17h4v4f5p7ilm9-wine-3.14-staging
checking for references to /build in /nix/store/nyksvjpp7gss53qkbh17h4v4f5p7ilm9-wine-3.14-staging...
cannot find section .dynamic
/nix/store/mg3bvqc88c80v5avvsrpac6jzws4dzal-wine-3.14
/nix/store/nyksvjpp7gss53qkbh17h4v4f5p7ilm9-wine-3.14-staging


dilate-attention

May I ask what part of the code dilate-attention corresponds to

The sp_conv performs the dilation and subm_atten performs the attention


New Behavior System

System that allows to dynamically inject heavy logic into elements. It will significantly reduce base size of the library and will allow to add more and more awesome widgets and components.

Done!


[BUG][v1.6.0-rc2] rwx volume failed to execute trim filesystem

Describe the bug
The rwx volume failed to execute trim filesystem and received an error as shown in the message and screenshot.
unable to trim filesystem for volume pvc-156966f3-daab-4e2e-a1f8-3531c8e233c8: rpc error: code = Internal desc = failed to execute: /usr/bin/nsenter [nsenter --mount=/host/proc/1446380/ns/mnt --net=/host/proc/1446380/ns/net fstrim /export/pvc-156966f3-daab-4e2e-a1f8-3531c8e233c8], output , stderr fstrim: cannot get realpath: /export/pvc-156966f3-daab-4e2e-a1f8-3531c8e233c8: No such file or directory : exit status 1

To Reproduce

create rwx volume and deploy POD
rwx volume execute trim filesystem

Expected behavior
rwx volume should be executed trim filesystem without error.
Support bundle for troubleshooting
supportbundle_afef4354-d6b0-4877-b5c7-0bcb93bb31b4_2024-01-24T04-46-52Z.zip
Additional context

cc @c3y1huang

Good catch @roger-ryao

Verified on master-head 20240125

longhorn master-head https://github.com/longhorn/longhorn/commit/c3a9f120e30287d5ba1b954a0227f637309dff81

longhorn-share-manager master-head https://github.com/longhorn/longhorn-share-manager/commit/3168f43cad72c25cec704494064f3f58e28b7210

longhorn v1.6.x-head https://github.com/longhorn/longhorn/commit/b34b8735e0c98daa9e4d200d3f17c5cb6056e1f3

longhorn-share-manager v1.6.x-head https://github.com/longhorn/longhorn-share-manager/commit/1ca74f4c166d958c2dc4e38d278324956326e0af

The test steps
https://github.com/longhorn/longhorn/issues/7768#issue-2097433844
Result Passed


Easily create multiple-day notes

A feature which allows the user to have the option (multiple days) as a checkbox.
If the checkbox is active, the user can decide between not only one day but a day range (with times)
It would be easy to implement such a feature because you only need to modify date and endDate

This can be accomplished by clicking and dragging in week or month view on the calendar.


[Ready to Review] API Bulk Modification

Purpose
Allows bulk modifications of nodes, contributors, children, and node-links.  You can:

Create/update/delete multiple nodes /v2/nodes/
Create/update/delete multiple contributors /v2/nodes/{node_id}/contributors/
Create multiple children /v2/nodes/{node_id}/children/
Create/delete multiple node-links /v2/nodes/{node_id}/node_links/

Issue: https://openscience.atlassian.net/browse/OSF-4234
Complies with json-api bulk extension:
http://jsonapi.org/extensions/bulk/
Note: application/vnd.api+json; supported-ext="bulk" is not in Content-Type header.  The negotiation mechanism is very likely to change http://discuss.jsonapi.org/t/bulk-extension-how-much-is-expected-to-change-prior-to-v1-1/121
Changes

To create multiple nodes, send POST request to /v2/nodes/ with array of resource objects.  Each object needs a type and attributes field.

POST /v2/nodes/
        {
            "data": [{
                "type": "nodes",
                "attributes": {
                    "title": "New title",
                    "category": "project"
                }
            },
                {
                "type": "nodes",
                "attributes": {
                    "title": "Better title",
                    "category": "project"
                }
            }]
        }

To update multiple nodes, sent PUT or PATCH request to /v2/nodes/ with array of resource objects. Each object must have type and id.

PATCH /v2/nodes/
        {
            "data": [{
                "id": "fdxfr",
                "type": "nodes",
                "attributes": {
                    "title": "New title",
                    "category": "instrumentation"
                }
            },
                {
                "id": "dsfsa",
                "type": "nodes",
                "attributes": {
                    "title": "Better title",
                    "category": "hypothesis"
                }
            }]
        }

To delete multiple nodes, send DELETE request to /v2/nodes/ with array of resource objects. Each object must have type and id.

DELETE /v2/nodes/

        {
            "data": [{
                "id": "fdxfr",
                "type": "nodes",
            },
                {
                "id": "dsfsa",
                "type": "nodes",
            }]
        }

Note to other reviewers: it seems that the diff on tests/api_tests/nodes/test_views.py is too large to be shown in-line. You may need to evaluate that file separately in order to see what unit tests were added.

The diff for api_tests/nodes/test_views.py is too long to comment on directly, so I'll annotate errata in a PR comment instead. To avoid spamming closely related emails, I'll keep updating via edits to this post up until CR1 is complete.

CR1 pass complete. Nice unit tests!
There's a variety of cleanup that's fairly straightforward, both to functions and to tests.
Separately, my big blocker on this PR is separation of concerns: the views are trying to do too many things usually handled by other parts of the DRF (like permissions checks, fetching ID fields, etc), We may not get pristine DRF-level separation, but I do think we can improve the current situation a bit.
Even something as simple as separate private methods to separate single vs bulk logic would be helpful (there were some places where flow wasn't 100% clear because two kinds of operations were mixed together). Once the basic cleanup is taken care of, we can sit down and try to tackle some of the separation of concerns issues. Let me know if and where help is needed; always glad to lend an ear and help generate some options.

Rather than checking if isinstance(data, list). It would be better if we could check is_bulk_request(request) or request.is_bulk.
If I understand the extensions spec correctly, this should be possible, since the client is required to include ext=bulk in the Content-Type header.

Extension negotiation is very likely to change http://discuss.jsonapi.org/t/bulk-extension-how-much-is-expected-to-change-prior-to-v1-1/121 so we are not requiring that the client or server send this yet. discussion on APIv2 flow with @brianjgeiger

That the extension negotiation is likely to change seems more reason to require ext=bulk. If the spec changes so that it is no longer required, we can follow the spec without breaking compat. If we don't require it now but require it later, we will break compat.  @brianjgeiger

Technically, yes, but the only thing not adding ext=bulk does is keeps us from advertising that we are using the bulk extension. For now, it'll be an internal-only thing, and when they figure out what they're doing, we'll advertise it in the way they decide is proper. But it doesn't hurt anything breaking the spec in this manner.

@brianjgeiger To clarify, I am talking about requiring ext=bulk to the request headers, not the response headers. I agree that we don't need to advertise with supported-ext in our responses. However, I don't see any downside to requiring ext=bulk in requests.

Gotcha. I see what you're saying, and that works if they keep with their promise and don't break compatibility. But if they decide they have to do something different, then it just breaks in a different way. It only really matters either way if we put it in the public docs.
Do we know which options are currently on the table for extension negotiation? I haven't read through that closely yet. Maybe it just doesn't matter that much.

@brianjgeiger The proposed overhaul to the extensions system is summarized here: https://github.com/json-api/json-api/pull/650#issue-79013648 . Rationale and discussion here: https://github.com/json-api/json-api/issues/614 .
Indeed, the bulk extension API will only be used internally. However, I still think it'd be a good idea to require declaring extensions in request headers.
def is_bulk_request(request):
    return 'ext=bulk' in request.HEADERS['Content-Type']

is much cleaner than
import collections
def is_bulk_request(request):
    return (
        isinstance(request.data, collections.Iterable) and
        not isinstance(request.data, collections.Mapping) and
    )

That's fine. If it's just an easier way for us to know it's a bulk request, then sure. I'm all for explicit.

Can you explain to me why, if they haven't decided on what they want yet, I can't just check if the request contains an array?

@pattisdr What if another extension allows for data to be an array? What if an amendment to the base spec allows for data to be an array? Providing ext=bulk makes it crystal-clear to both the client and server how the request data should be handled (i.e. according to the JSON API bulk extension).

oh, okay I see.

Let's remove any documentation of bulk operations if it's not going to be a part of our public API.

Pass finished.

I haven't yet reviewed the tests. Has Andy's checklist above been addressed?

Yes, I made his suggested changes.

Regarding last commit, there is a test that ensures all views have permissions classes.  The custom bulk views were raising this error, even though the classes that inherited these custom bulk views had the proper permission classes.

I'll feed it parser_context['request'] instead?

We should probably figure out a better way to avoid those unwanted permissions checks in that test, but that can happen in a separate PR.

Pass finished.

Pass finished.

Pass finished. Once that permissions issue is resolved, I think this will be good to merge.

Looks good. I'll make the above minor change when I merge.


Storage server should not conduct reachability tests or route requests when inactive

Inactive (i.e. decommissioned or deregistered) storage servers shouldn't be conducting reachability tests because those tests will always fail: the decommissioned node isn't an active SN and so doesn't have access to invoke the SN-only reachability endpoint.

This is what is causing most of the Access denied to sn.onion_req for peer warnings: they are supposed to be access denied, because the tester should know better than to try.

Actually I'm not certain that it is (only?) reachability tests, as I'm also seeing some Access denied to sn.proxy_exit, which suggests that decommissioned nodes are attempting to route (which will also fail).  Rather they should return some failure immediately to the client so the client can try another node.

This seems to be fixed in the current code.


[SPARK-45566][PS] Support Pandas-like testing utils for Pandas API on Spark

What changes were proposed in this pull request?
This PR proposes to support utility functions assert_frame_equal, assert_series_equal, and assert_index_equal in the Pandas API on Spark to aid users in testing.
Why are the changes needed?
These utility functions allow users to efficiently test the equality of DataFrames, Series, and Indexes in the Pandas API on Spark. Ensuring accurate testing helps in maintaining code quality and user trust in the platform.
e.g.
from pyspark.pandas.testing import assert_frame_equal

df1 = spark.createDataFrame([('Alice', 1), ('Bob', 2)], ["name", "age"])
df2 = spark.createDataFrame([('Alice', 1), ('Bob', 2)], ["name", "age"])

assert_frame_equal(df1, df2)

Does this PR introduce any user-facing change?
Yes. Users will now have access to assert_frame_equal, assert_series_equal, and assert_index_equal functions for testing purposes.
How was this patch tested?
Added doctests.
Was this patch authored or co-authored using generative AI tooling?
No.

cc @HyukjinKwon @allanf-db FYI

Merged to master.


Update support library 23.2.0

Hi, could I ask you to update the library com.github.afollestad.material-dialogs because this library refers to the resource @drawable/abc_ic_ab_back_mtrl_am_alpha and this resource in support library 23.2.0 was renamed to @drawable/abc_ic_ab_back_material. When I tried to update support library I cannot build my app.
Thanks a lot

Sure thing. I'll do that hopefully today. Sorry about that.

Just released a new version with the updated library. Let me know if it fixed it.

Yes it works, thank you.

Could I ask that you let me know what app you're developing so I can start an app list that use this library in the Readme?

Hi, I use the library for application to the warehouse where I needed to connect a barcode scanner. Unfortunately, the application is not on Google Play. Thanks for the library, has saved me a lot of time.

Oh ok cool. No worries then. And great! Glad it helped.


I just get this when running?

#!/bin/bash
if test -f ~/miniconda3/condabin/conda &> /dev/null
then
echo "BCML will now be installed. This might take a bit."
zenity --info --text "BCML will now be installed. This might take a bit." --title "BCML Installer" --width=300 &> /dev/null
~/miniconda3/condabin/conda init
~/miniconda3/condabin/conda install -c conda-forge gcc -y
~/miniconda3/condabin/conda install pip -y
~/miniconda3/bin/python -m pip install bcml
mkdir ~/.icons
wget https://github.com/sks316/bcml-steamdeck/raw/main/bcml.png -O ~/.icons/bcml.png
wget https://github.com/sks316/bcml-steamdeck/raw/main/BCML.desktop -O ~/Desktop/BCML.desktop
chmod +x ~/Desktop/BCML.desktop
cp ~/Desktop/BCML.desktop ~/.local/share/applications/BCML.desktop
echo "BCML is now installed. You can access it with the icon on your desktop, or through your application launcher."
zenity --info --text "BCML is now installed. You can access it with the icon on your desktop, or through your application launcher." --title "BCML Installer" --width=300 &> /dev/null
else
echo "Miniconda is missing. Please install Miniconda with Python 3.7, then run this script again."
zenity --error --text "Miniconda is missing. Please install Miniconda with Python 3.7, then run this script again." --title "BCML Installer" --width=300 &> /dev/null
fi
exit

You're not running it right. You need to run the .desktop file from the releases page, not the .sh file from the repository.
Download it from here.


Use square partial-cover images

The phone screen is too small to show the full cover images. Try making square partials instead, and then give people a way to view the larger images.

Closed as part of PR16-dev merge.


issue

[2023-03-12 13:00:37.290870] Unpacking done...
Unpacking Runtime: [0:26:14.338330]
[Create] Dumpfile!
[2023-03-12 13:00:37.312853] Unwrapping Start...
Traceback (most recent call last):
File "C:\Users\XXX\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\XXX\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Users\XXX\AppData\Local\Programs\Python\Python39\Scripts\bobalkkagi.exe_main.py", line 7, in
File "C:\Users\XXX\AppData\Local\Programs\Python\Python39\lib\site-packages\bobalkkagi\application.py", line 14, in main
fire.Fire(run_Bobalkkagi)
File "C:\Users\XXX\AppData\Local\Programs\Python\Python39\lib\site-packages\fire\core.py", line 141, in Fire
component_trace = _Fire(component, args, parsed_flag_args, context, name)
File "C:\Users\XXX\AppData\Local\Programs\Python\Python39\lib\site-packages\fire\core.py", line 466, in _Fire
component, remaining_args = _CallAndUpdateTrace(
File "C:\Users\XXX\AppData\Local\Programs\Python\Python39\lib\site-packages\fire\core.py", line 681, in _CallAndUpdateTrace
component = fn(*varargs, **kwargs)
File "C:\Users\XXX\AppData\Local\Programs\Python\Python39\lib\site-packages\bobalkkagi\application.py", line 51, in run_Bobalkkagi
unwrap(dump, OrignalEntryPoint)
File "C:\Users\XXX\AppData\Local\Programs\Python\Python39\lib\site-packages\bobalkkagi\unwrapping.py", line 8, in unwrap
unwrapping(dumps, OEP)
File "C:\Users\XXX\AppData\Local\Programs\Python\Python39\lib\site-packages\bobalkkagi\util_unwrap.py", line 592, in unwrapping
emulate_start()
File "C:\Users\XXX\AppData\Local\Programs\Python\Python39\lib\site-packages\bobalkkagi\util_unwrap.py", line 535, in emulate_start
call_emulate_rip(uc , rip)
File "C:\Users\XXX\AppData\Local\Programs\Python\Python39\lib\site-packages\bobalkkagi\util_unwrap.py", line 447, in call_emulate_rip
uc.emu_start(GLOBAL_VAR.ImageBaseStart + rip, GLOBAL_VAR.ImageBaseStart +rip+ 0x20000)
File "C:\Users\XXX\AppData\Local\Programs\Python\Python39\lib\site-packages\unicorn\unicorn.py", line 550, in emu_start
raise self._hook_exception
File "C:\Users\XXX\AppData\Local\Programs\Python\Python39\lib\site-packages\unicorn\unicorn.py", line 392, in wrapper
return func(self, *args, **kwargs)
File "C:\Users\XXX\AppData\Local\Programs\Python\Python39\lib\site-packages\unicorn\unicorn.py", line 663, in _hookcode_cb
cb(self, address, size, data)
File "C:\Users\XXX\AppData\Local\Programs\Python\Python39\lib\site-packages\bobalkkagi\util_unwrap.py", line 359, in hooking_code
if not (GLOBAL_VAR.themida[1] <= address and address < (GLOBAL_VAR.themida[1]+GLOBAL_VAR.themida[2])):
IndexError: list index out of range

I want to know your input file and arguments! I try to fix bug in this week~

was this file:
https://drive.google.com/file/d/1GJCC9f4AvjuMsvEBpvTcGbldPNuaPHnP/view
also i need to make valid license for this app,if you can help me i will donate bro <3
the license is in a file named bwe.dat

As the detailed reason is written in the email I sent. If the(.dat input)work is completely weird, it will take a lot of time.

yes bwe.dat is license of bwe.exe  but in trial mode there is no bwe.dat,its mean we are trial user
we need to unpack bwe.exe and make valid license file (bwe.dat)

running exe without bwe.dat

after this i maked bwe.dat next to bwe.exe and message changed like this

[2023-03-12 13:00:37.290870] Unpacking done...
Unpacking Runtime: [0:26:14.338330]
[Create] Dumpfile!
In your log, unpacking is successed but the api unwrapping is failed. so it need to analyze dumpfile what wrapping pattern is existed.
If the license authentication part is virtualized, it will not be of much help.

nice so your app is working good for unpacking mistake is from me !!
so how can i do for this app ?help me for valid license please..
can you check code for valid license for my hwid?

if you have analysis Environment (ex. IDA, https://github.com/x64dbg/ScyllaHide) you can analyze the dumpfile.
As I said, it will be very difficult to know the original code if it is virtualized.
The de-virtualization has not yet been implemented, and there are many levels of thiemida virtualization

yes i have,i checked file with x64dbg and i found bwe.dat file as license file
but i am not pro in unpacking and specially de-virtualization
help me i will pay for your hard work <3

I'll try, but there's no perfect way to release virtualization at the moment, so I hope you don't have high expectations.

thank you man,I believe in your science
if you need to use app in trial mode more than once tell me i have trick


Using OS.set_window_size() & OS.set_window_resizable(false) in conjunction with moving the game window

Operating system or device - Godot version:
Ubuntu 16.04 - Godot v2.1.stable.official
Issue description (what happened, and what was expected):
After using
OS.set_window_size(Vector2(...))
OS.set_window_resizable(false)

in a script if you move the game window the size jumps to what is set in the Project Settings
Steps to reproduce:
Run attached minimal example, try moving the wind & see script in attached minimal example.
Link to minimal example project (optional but very welcome):
debug.zip

Hi, I've found this problem also while using the resizable flag set to false, this patch should fix it, I have tested it on Ubuntu with Godot v2.2-legacy, could you try it out and confirm it fixes the issue?
Thanks
godot_x11_resize.patch.zip

@marcelofg55 Do you think you can make a PR against master?

@bojidar-bg I was just trying to compile master but it's giving me some errors, I guess reduz is probably working on some new stuff, I'll submit a PR after I can compile & test it.

@bojidar-bg Just submitted the PR: #7683

Closing as fixed by #7683


[PE-D] Undo Appointments should return the previous appointment

https://ay2122s1-cs2103t-t09-4.github.io/tp/UserGuide.html#undo-marking-of-completed-appointment-ua

This also allows you to undo your mistake if you have accidentally marked an appointment as completed.

If its a mistake that I accidentally marked my appointment as done, if I undo the appointment, then I should expect to see the last appointment date. The current implementation makes it looks like I have no more appointments with the client.

Labels: type.FeatureFlaw severity.Medium
original: lizchow/ped#9

Suggested Fix: Edit the description in UG


Make OP information discovery endpoint configurable

While trying to use oidc-register with an instance of ipsilon, I failed to use oidc-register to retrieve client secrets. The reason for that was that ipsilon (in default config) doesn't respond to the endpoint hardcoded at [1]. Therefore I'd like to propose that the name of the endpoint (e.g. the current .well-known/openid-configuration) should be configurable (e.g. with a commandline argument).
(What worked for me was replacing that value with openidc/wellknown_openid_configuration).
Thanks for considering!
[1] https://github.com/puiterwijk/flask-oidc/blob/2c66a0dcccd8a587c7c4d25979107deb99d71c02/flask_oidc/discovery.py#L42

the uri is hardcoded in https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderConfig

OpenID Providers supporting Discovery MUST make a JSON document available at the path formed by concatenating the string /.well-known/openid-configuration to the Issuer.

this is a MUST in the spec
similarly OIDC Discovery makes the same requirement of the client:

An OpenID Provider Configuration Document MUST be queried using an HTTP GET request at the previously specified path.


Tablature support

MusicXML supports tablature notation.
Is there a way to render tablature with this plugin and if not, can you provide some guidelines of how this should be implemented?
Thank you.

I dare to re-ask; is there's any prospect to implement the tablature notation in the future ?

Sorry, I'm not actively developing this any more, and tablature support is out of scope for me. It could be added to the parser, IR, and Stave generation, but it looks like it would require a completely different code path (creating TabStaves and TabNotes instead of Staves and StaveNotes). Probably every part of this plugin would have to be updated to add this code path.


kconfig: shell: increase shell stack size for OpenThread

Shell stack size is too low for OpenThread without joiner functionality, causing overflow. This commit increases it.

Added DNM as we're testing if this stack size is enough


add custom objective tutorial

Addresses #958

@eb8680 @jpchen anything you want me to add before i pass it to you for additions?

you will need to add this to conf.py to have it show up on the webpage.


Remove unneeded docs

Removing unnecessary docs and moving over some documentation to its new home.
This is all cleanup work from a few weeks of PRs.

Looks good to me!
👍


Nodeport is not accessible on windows node

Note: Created a cluster via the ansible playbook of contrib
I created a service of type NodePort for an exposed port.
For linux minion, hitting node-ip:port works perfectly.
For windows minion, if I reach from other pod (e.g. curl <IP_ADDRESS>:8113) perfect response is returned.
However when simultaneously i try to reach from outside the cluster or from master node (curl <IP_ADDRESS>:32130), it says connection refused.
Suspecting it to be firewall issue, i added firewall rule also in the windows instance via
netsh advfirewall firewall add rule name="expose nodeport" dir=in action=allow protocol=TCP localport=32130 netsh advfirewall firewall add rule name="expose nodeport" dir=out action=allow protocol=TCP localport=32130 but it remained connection refused.
As per my knowledge, firewall inside the container should not be issue. kube-proxy is supposed to proxy the request to endpoint <IP_ADDRESS>:8113 and the endpoint is working, it is responding as expected thus the firewall in container is not issue, just that the request never reaches pod
Using wireshark I could confirm that request packet is reaching the intended host but it immediately gets response of connection refused

I tries again by adding -nodeport in the ovnkube options for windows minion at here. But the result is still same and not able to access service via nodeport

Assuming <IP_ADDRESS> is your windows node, the nodeport functionality is missing on Windows because there is no gateway setup for the Windows node. It is an untested code path yet.
Did you try creating a Windows gateway by the way? It is not expected to work, but I have been even afraid to try it :).

Thanks @rajatchopra , my node ip is <IP_ADDRESS>. The ip <IP_ADDRESS> is the pod-ip.
If you or someone can guide, I would like to test by setting up the gateway and try resolving any issue if i face
Regards.

Hi @cn-mayank, this is not a supported scenario at the moment. We will let you know when the PR is up for testing.

Ok, thanks @alinbalutoiu. Currently what is the recommended way to access a service from outside the cluster ?

Can I use ingress L7 or external-ip method to reach a pod running on windows-minion also ?
For L7 method, my understanding is that I can point a url+path to certain entity, but I am not sure to what do I point it ?
External-ip looks really good and simple too, great if i can reach a windows-minion pod via that.
Apologies for asking directly without trying, would have tried it first if i could now.

Hi @rajatchopra , I am not clear about:

but you will have to reach it through the default gateway on the first Linux node
can you please explain further.

I tried  creating a service with external-ip, however i got connection refused for both types of pod i.e. pod running on windows/linux minion. How can we inspect entries on the default gateway ?

The default gateway is a router. Check it with ovn-nbctl list logical_router.
There should also be a load balancer associated with it. Or you can search for all global load balancers 'ovn-nbctl find load_balancer'. In the load balancer associated with the gateway router, you should see the VIP entries showing the external_ip fanning out to pod IP addresses as matched by service endpoints.

@cn-mayank

A nodeport results in a IP:nodeport NAT entry in a OVN "gateway". This can be on any host. So in this case, you can have this on a linux node.  So in that case, it will be "linuxnodeIP:Nodeport" -> loadbalancer -> Pods. These pods can reside on any node - in your case a windows node.

externalIP is only if that externalIP can be routed to a node. i.e an external entity (e.g your physical router) can get the packet with that externalIP to your nodes.

A L7 ingress LB is kubernetes object independent of OVN. For e.g., nginx. This LB will convert the nodeIP:port to a k8s service IP. This k8s service IP can be load-balanced by OVN to pods - which is the same as how OVN gets kubernetes services to work.

Sorry for the delayed response, I got stuck in other project.
@shettyg @rajatchopra , i am able to access services by hitting "linuxnodeIP:Nodeport" as you suggested. Thanks for the tip!


Assistance with reading from a postgres database

Hi! I am successfully using this library to write to a postgres database, but am having difficulty reading from the same database. I am using the library in dataflow and would like to use ReadAllFromPostgres as a step in my pipeline, taking a PCollection and doing a select along the lines of:
from psycopg.rows import dict_row

data | "check if id is already in the database" >> ReadAllFromPostgres(
          connection_string,
          "SELECT EXISTS (SELECT id FROM sample_table WHERE id = %(id)s);",
          dict_row,
      )

When I run the following I just get AssertionError. I want to make sure that I can reference properties in the elements of my PCollection in my SQL query.  Is there anything obvious I am doing wrong?
Appreciate any help!

The answer is simple - the lib currently does not support parameterized queries in read transforms. It has to be implemented to work :)


Support line number fragment in vscode.open command

Example:
vscode.commands.executeCommand(
    'vscode.open',
    vscode.Uri.parse('file:///Users/matb/projects/sand/readme.md#L281'));

Expected
Opens file and jumps to requested line. This is what happens if you click on a link that uses that path.
Actual
Opens file but ignores the line argument.

@mjbvz can you explain the use case for this? why can you not use the showTextDocument API and reveal the line/column on the editor?

This is not a priority, I was just confused by the inconsistency of how links are handled in these cases.
vscode.open does provide some useful extra functionality (such as prompting users if the target file does not exist). Implementing the logic to open a file and go to a line number using showTextDocument also requires a few lines of code. Mainly though, as an extension author, I kind of just expected this to work and had to look into the implementation of vscode.open to see why it did not.

Closing because we want folks to use the showTextDocument-api method


How to navigate the whole page?

In my app most url/state are managed by ui-router except one login.
I want the whole page navigated to login.html when ajax request got HTTP 401 response(caused by user session expires).
When I use $location.path("login.html"),the login page just loaded in <ui-view/> section.
How can I conditionally jump out of the ui-router system?
Thanks!

Have you tried a hard page redirect, $window.location = 'login.html?

https://gist.github.com/christopherthielen/b3fc0304b737a4bf8ec9

Looks like not the solution,but still,Thanks a lot!


[ARTS-98] - Role Service API Automation Tests

The PR includes automation api tests written around role service and trial config service end points.
Jira under test is https://ndph-arts.atlassian.net/browse/ARTS-98. This ticket also covers trial-config service checks in integration with role service.

Closing the pull request to re-open once addition of all the tests is completed

Closing the pull request to re-open once addition of all the tests is completed

Thanks Sameera for helping me get mocha-chai running locally.  For other developers these are the commands:
set BASE_URL=http://localhost:82
mts-services\api-tests>npm run test:awesome
(And you need Node.js installed)

Thanks Sameera for helping me get mocha-chai running locally.  For other developers these are the commands:
set BASE_URL=http://localhost:82
mts-services\api-tests>npm run test:awesome
(And you need Node.js installed)


Add run.py dump of VHDL-LS library mapping

Hi I am working on a VHDL language server (https://github.com/VHDL-LS/rust_hdl) that I think could be useful to you when developing neorv32.
It is able to analyze the entire neorv32codebase as well as its dependencies VUnit and OSVVM.
It provides type checking, goto definition and find references for the entire codebase and takes just 120 ms to load it.
The configuration file that provides the library mapping can be automatically generated by the VUnit run.py file and is provided by this PR. To run it you need to install the toml python package from pypi.
The easiest way to try is to install the VSCode extension: https://marketplace.visualstudio.com/items?itemName=hbohlin.vhdl-ls
The language server is a 100% static binary that is installed automatically by the extension.
Since it is a language server (https://microsoft.github.io/language-server-protocol/) is will work in emacs and vim as well if you prefer those instead of VSCode.

Hey there.
This looks like a really great tool! I have vscode installed, but I never really tried that as I was not sure about the tool's VHDL capabilities 😅

The configuration file that provides the library mapping can be automatically generated by the VUnit run.py file and is provided by this PR. To run it you need to install the toml python package from pypi.

Just to make sure I understand this correctly: the modifications to the do.py script will generate the configuration file? So this could be uploaded as GitHub workflow asset for people to "just download and use it"?
The workflow currently fails because of the missing toml module. I think it should be no problem to add this to the workflow configuration file, right?

Yes the code I added to the run.py will create a vhdl_ls.toml file in the repository root on every invocation.
The vhdl_ls.toml files is automatically loaded by VHDL-LS if you open the repo root folder in the VSCode extension.

Yes toml is a Python dependency that is not installed, the easiest way to solve it is to install it. If you really want to avoid dependencies it is quite easy to create a toml string as well, the format is similar to a .ini file.

Just to make sure I understand this correctly: the modifications to the do.py script will generate the configuration file? So this could be uploaded as GitHub workflow asset for people to "just download and use it"?

I guess a blocker to having the vhdl_ls.toml files as a GitHub artifact to just download is that it will need to standardize where the VUnit files are located. If you install VUnit from pip the files will not end up in the same place on each computer.

I pushed another commit to the PR now that will only generate the vhdl_ls.toml file if the toml package is install. Thus if will fail gracefully for users and in the CI-pipeline.

Thanks for clearing!
I think I really like this. I need to test this on my system...
Anyway, would you add some words (links) to the user guide how to setup/install this? I think this would be something people (including me!) could benefit from. 😅

Anyway, would you add some words (links) to the user guide how to setup/install this? I think this would be something people (including me!) could benefit from. 😅

Sure where in the user guide should I put it?
I pushed another commit that writes the .toml files in a dependency free way without requiring the toml package

Sure where in the user guide should I put it?

Great, thanks!
I think a completely new section would be nice - but I'll leave that up to you.

I pushed another commit that writes the .toml files in a dependency free way without requiring the toml package

👍:+1:

@stnolting I pushed a new VHDL development environment chapter now. I am unsure about the syntax of adoc but I guess it is generated by CI in the pipeline so I can look at it.

That was fast! :D
Looks good for me!


How does match nuke work?

Question Checklist

[x] Updated fastlane to the latest version
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Question Description
Let's say my set username in Matchfile is<EMAIL_ADDRESS>And in my company account, there are profiles created by other emails as well. And these certs/profiles are for same app identifier: my.test.app
Would running match nuke development only delete certs/profiles created by<EMAIL_ADDRESS>for my.test.app or will it delete all certs/profiles created by other accounts as well<EMAIL_ADDRESS>for my.test.app?
Also, does it even take the app identifier into account or nukes certs/profiles for all identifiers?
Thank you 🙏
✅ fastlane environment ✅
Stack

Key
Value

OS
10.14.4

Ruby
2.3.7

Bundler?
true

Git
git version 2.20.1 (Apple Git-117)

Installation Source
/usr/local/bin/fastlane

Host
Mac OS X 10.14.4 (18E226)

Ruby Lib Dir
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib

OpenSSL Version
LibreSSL 2.6.5

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
10.2.1

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
`./fastlane/Fastfile`
fastlane_version "2.120.0"

before_all do
	# ensure_git_branch
	# ensure_git_status_clean
	# git_pull

	# sh('npm', 'run', 'setup')
end

platform :ios do
	lane :beta do
		build_helper('Beta')
	end

	lane :release do
		build_helper('Release')
	end

	def build_helper(build_configuration)
		setup_jenkins
		appstore_certificates
		create_git_branch
		increment_build_number(xcodeproj: './ios/BuildApp.xcodeproj')
		build_ios_app(configuration: build_configuration)
		upload_to_testflight(
			skip_submission: true,
			skip_waiting_for_build_processing: true
		)
		git_commit_and_push_version_code_update
		upload_symbols
	end

	lane :developer_certificates do
		identifier = CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier)
		sync_code_signing(app_identifier: identifier, type: 'development')

		rich_push_identifier = 'com.build.BuildApp.RichPushExtension'
		sync_code_signing(app_identifier: rich_push_identifier, type: 'development')
	end

	lane :appstore_certificates do
		identifier = CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier)
		sync_code_signing(app_identifier: identifier, type: 'appstore', readonly: ENV["CI_BUILD"])

		rich_push_identifier = 'com.build.BuildApp.RichPushExtension'
		sync_code_signing(app_identifier: rich_push_identifier, type: 'appstore', readonly: ENV["CI_BUILD"])
	end

	private_lane :git_commit_and_push_version_code_update do
		git_commit(path: ["*.plist", "*.pbxproj"], message: "Bumps ios version code", skip_git_hooks: true)
		push_to_git_remote(force: true, tags: false)
	end

	lane :upload_symbols do
		upload_symbols_to_bugsnag(api_key: '83a6702d6c3da98e5d2fa2d727f2f2d8')
		# clean_build_artifacts
	end

	after_all do |lane|
		version = get_version_number(xcodeproj: '../ios/BuildApp.xcodeproj')
		build_number = get_build_number(xcodeproj: '../ios/BuildApp.xcodeproj')
		on_success(lane, version, build_number)
	end

	error do |lane, exception|
		version = get_version_number(xcodeproj: '../ios/BuildApp.xcodeproj')
		build_number = get_build_number(xcodeproj: '../ios/BuildApp.xcodeproj')
		on_error(lane, exception, version, build_number)
	end
end

platform :android do
	desc 'Submit a new Beta Build to play Beta'
	lane :beta do
		build_helper('Beta')
	end

	desc 'Deploy a new version to the Google Play'
	lane :release do
		build_helper('Release')
	end

	def build_helper(build_configuration)
		create_git_branch
		gradle(task: 'incrementVersionCode', project_dir: 'android/')
		gradle(task: 'clean', project_dir: 'android/')
		gradle(task: 'assemble', build_type: build_configuration, project_dir: 'android/')

		# track will always be "beta", we do not want to directly push to production
		upload_to_play_store(
			track: 'beta',
			apk: "#{Actions.lane_context[SharedValues::GRADLE_APK_OUTPUT_PATH]}"
		)

		git_commit_and_push_version_code_update
	end

	private_lane :git_commit_and_push_version_code_update do
		git_commit(path: ["version.properties"], message: "Bumps android version code", skip_git_hooks: true)
		push_to_git_remote(force: true, tags: false)
	end

	after_all do |lane|
		# on_success(...)
	end

	error do |lane, exception|
		# on_error(lane, 'android', exception, ...)
	end
end

def on_success(lane, version, build_number)
	if lane == :beta or lane == :release
		platform = Actions.lane_context[SharedValues::PLATFORM_NAME]
		slack(
			channel: '#support-native-build',
			message: "#{platform} #{lane} app successfully built and uploaded.",
			success: true,
			attachment_properties: {
				fields: [
					{
						title: "App version",
						value: version,
					},
					{
						title: "Build number",
						value: build_number,
					}
				]
			}
		)
	end
end

def on_error(lane, exception, version, build_number)
	platform = Actions.lane_context[SharedValues::PLATFORM_NAME]
	slack(
		channel: '#support-native-build',
		message: "Failed to build #{platform} #{lane}.",
		success: false,
		attachment_properties: {
			fields: [
				{
					title: "App version",
					value: version,
				},
				{
					title: "Build number",
					value: build_number,
				},
				{
					title: "Error message",
					value: exception.to_s,
					short: false
				}
			]
		}
	)
end

`./fastlane/Appfile`
# iOS Settings

app_identifier('com.build.BuildApp')

# Your Apple email address
apple_id(ENV['FASTLANE_USER'])

# Android Settings

# Path to the json secret file - Follow https://github.com/fastlane/supply#setup to get one
json_key_file('fastlane/android.json')
package_name('com.buildapp')

fastlane gems

Gem
Version
Update-Status

fastlane
2.121.1
✅ Up-To-Date

Loaded fastlane plugins:

Plugin
Version
Update-Status

fastlane-plugin-bugsnag
1.4.1
✅ Up-To-Date

Loaded gems

Gem
Version

did_you_mean
1.0.0

bundler
2.0.1

io-console
0.4.5

CFPropertyList
3.0.0

concurrent-ruby
1.1.5

i18n
0.9.5

minitest
5.11.3

thread_safe
0.3.6

tzinfo
1.2.5

activesupport
<IP_ADDRESS>

public_suffix
2.0.5

addressable
2.6.0

atomos
0.1.3

babosa
1.0.2

claide
1.0.2

fuzzy_match
2.0.4

nap
1.1.0

cocoapods-core
1.5.3

cocoapods-deintegrate
1.0.4

cocoapods-downloader
1.2.2

cocoapods-plugins
1.0.0

cocoapods-search
1.0.0

cocoapods-stats
1.1.0

netrc
0.11.0

cocoapods-trunk
1.3.1

cocoapods-try
1.1.0

colored2
3.1.2

escape
0.0.4

fourflusher
2.0.1

gh_inspector
1.1.3

molinillo
0.6.6

ruby-macho
1.4.0

nanaimo
0.2.6

xcodeproj
1.8.2

cocoapods
1.5.3

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

declarative
0.0.10

declarative-option
0.1.0

digest-crc
0.4.1

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20180417

dotenv
2.7.2

emoji_regex
1.0.1

excon
0.64.0

multipart-post
2.0.0

faraday
0.15.4

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

faraday_middleware
0.13.1

fastimage
2.1.5

jwt
2.1.0

memoist
0.16.0

multi_json
1.13.1

os
1.0.0

signet
0.11.0

googleauth
0.6.7

httpclient
2.8.3

mime-types-data
3.2019.0331

mime-types
3.2.2

uber
0.1.0

representable
3.0.4

retriable
3.1.2

google-api-client
0.23.9

google-cloud-env
1.0.5

google-cloud-core
1.3.0

google-cloud-storage
1.16.0

json
2.2.0

mini_magick
4.5.1

multi_xml
0.6.0

plist
3.5.0

rubyzip
1.2.2

security
0.1.3

naturally
2.2.0

simctl
1.6.5

slack-notifier
2.3.2

terminal-notifier
2.0.0

unicode-display_width
1.5.0

terminal-table
1.8.0

tty-screen
0.6.5

tty-cursor
0.6.1

tty-spinner
0.9.0

word_wrap
1.0.0

rouge
2.0.7

xcpretty
0.3.0

xcpretty-travis-formatter
1.0.0

git
1.5.0

xml-simple
1.1.5

fastlane-plugin-bugsnag
1.4.1

generated on: 2019-04-24

I ended up testing this myself. I learned that if the Apple account you're using has the App Manager role, then running nuke has the ability to delete certs and profiles created by a different account. However, the nice thing about running nuke command is that it shows you the list of all certs and profiles that will be deleted and it presents you with a final confirmation before deleting.


Think about updating quickstart for Windows.

cc @JoshBroomberg

fml

Would it break on the ubuntu subsystem? I guess docker may have unique networking quirks?


Allow da.eye to support arbitrary chunking sizes with chunks='auto'

[x] Tests added / passed
[x] Passes flake8 dask

This Partially addresses #4635 in that it doesn't support asymmetric chunking

@jrbourbeau, thank you for reviewing this! Let me know if there are any additional changes needed.

Thanks for addressing my comments so quickly! I'm about to go offline for a little bit, but will do a final review in a few hours.

Do you know why travis isn't re-running checks on this PR after adding more commits to it?

My guess is it's related to https://www.githubstatus.com/incidents/nf4gcjtcsqdb

Thanks @andersy005! Does this fully close https://github.com/dask/dask/issues/4635? It looks like @lightsighter may have wanted something like
da.eye(12, chunks=(4, 3))

to work.
If so, we can still merge this PR because it's valuable as is, but we'll want to remove the "Fixes" in the original post so that the issue remains open.

@TomAugspurger,
Regarding
da.eye(12, chunks=(4, 3))

I will take a stab at it, and see if I can get it to work as part of this PR.

I think @lightsighter is more interested in da.eye(12, chunks="auto") than anisotropic chunking. Though I suppose if "auto" resulted in anisotropic chunking, then he would want that indirectly.

To be clear, I have no objections to merging this as is (well, once the docstring is updated).
@lighsighter can you confirm that something like chunks='auto' suffices for you? Or were you also hoping for something like da.eye(12, chunks=(4, 3)).

@lightsighter, if you are around, would you have a chance to answer Tom's question (above) and see if this PR solves the issue you encountered?

I really wanted both so I could compare performance. I would have a preference though for 'chunks=(4,3)' over 'chunks="auto"' though because I really ultimately want the ability to pick my chunk sizes like I can for other Dask operations.

Good to know. @andersy005 do you want to look into that? If so, do you prefer to do it here or in a separate PR?

@TomAugspurger, it appears that getting da.eye(12, chunks=(4, 3)) to work is going to take me longer than I expected. As a quick/naive prototype, I attempted making some changes to
https://github.com/dask/dask/blob/2f308e72a46de818055819108429e8f7ce7ba03b/dask/array/creation.py#L455-L462

    for i, vchunk in enumerate(vchunks):
        for j, hchunk in enumerate(hchunks):
            if (j - i - 1) * vchunk <= k <= (j - i + 1) * hchunk:
                eye[name_eye, i, j] = (np.eye, vchunk, hchunk, k - (j - i) * vchunk, dtype)
            else:
                eye[name_eye, i, j] = (np.zeros, (vchunk, hchunk), dtype)

However, as you can see in examples below, my logic is broken :).  I need some guidance on what changes will need to be made in the original for loop (above) when chunks is not the same across both dimensions like in da.eye(12, (4, 3)):
In [1]: import dask.array as da

In [2]: da.eye(10, 'auto')
Out[2]: dask.array<eye, shape=(10, 10), dtype=float64, chunksize=(10, 10)>

In [3]: da.eye(12, (4, 3))
Out[3]: dask.array<eye, shape=(12, 12), dtype=float64, chunksize=(4, 3)>

In [4]: da.eye(10, 'auto').compute()
Out[4]:
array([[1., 0., 0., 0., 0., 0., 0., 0., 0., 0.],
       [0., 1., 0., 0., 0., 0., 0., 0., 0., 0.],
       [0., 0., 1., 0., 0., 0., 0., 0., 0., 0.],
       [0., 0., 0., 1., 0., 0., 0., 0., 0., 0.],
       [0., 0., 0., 0., 1., 0., 0., 0., 0., 0.],
       [0., 0., 0., 0., 0., 1., 0., 0., 0., 0.],
       [0., 0., 0., 0., 0., 0., 1., 0., 0., 0.],
       [0., 0., 0., 0., 0., 0., 0., 1., 0., 0.],
       [0., 0., 0., 0., 0., 0., 0., 0., 1., 0.],
       [0., 0., 0., 0., 0., 0., 0., 0., 0., 1.]])

In [5]: da.eye(12, (4, 3)).compute()
Out[5]:
array([[1., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.],
       [0., 1., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.],
       [0., 0., 1., 0., 0., 0., 0., 0., 0., 0., 0., 0.],
       [0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.],
       [0., 0., 0., 1., 0., 0., 0., 0., 0., 0., 0., 0.],
       [0., 0., 0., 0., 1., 0., 0., 0., 0., 0., 0., 0.],
       [0., 0., 0., 0., 0., 1., 0., 0., 0., 0., 0., 0.],
       [0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.],
       [0., 0., 0., 0., 0., 0., 1., 0., 0., 0., 0., 0.],
       [0., 0., 0., 0., 0., 0., 0., 1., 0., 0., 0., 0.],
       [0., 0., 0., 0., 0., 0., 0., 0., 1., 0., 0., 0.],
       [0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.]])

In [6]: da.eye(10, (3, 3)).compute()
Out[6]:
array([[1., 0., 0., 0., 0., 0., 0., 0., 0., 0.],
       [0., 1., 0., 0., 0., 0., 0., 0., 0., 0.],
       [0., 0., 1., 0., 0., 0., 0., 0., 0., 0.],
       [0., 0., 0., 1., 0., 0., 0., 0., 0., 0.],
       [0., 0., 0., 0., 1., 0., 0., 0., 0., 0.],
       [0., 0., 0., 0., 0., 1., 0., 0., 0., 0.],
       [0., 0., 0., 0., 0., 0., 1., 0., 0., 0.],
       [0., 0., 0., 0., 0., 0., 0., 1., 0., 0.],
       [0., 0., 0., 0., 0., 0., 0., 0., 1., 0.],
       [0., 0., 0., 0., 0., 0., 0., 1., 0., 1.]])

Hmm, it's not immediately clear to me how to handle asymmetric chunking... I would need to think about it more.

No worries. Would it be okay to leave this PR open for a few days as we figure out how to handle the asymmetric chunking? In the meantime, keep me posted if you figure it out ( I too will keep looking into it more )

Yep, that's not a problem.
On Fri, May 24, 2019 at 1:04 PM Anderson Banihirwe<EMAIL_ADDRESS>wrote:

No worries. Would it be okay to leave this PR open for a few days as we
figure out how to handle the asymmetric chunking? In the meantime, keep me
posted if you figure it out ( I too will keep looking into it more )
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/pull/4834?email_source=notifications&email_token=AAKAOIVJIA2IF2UL4LZOHGTPXAU2DA5CNFSM4HOV3DMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWGFBWA#issuecomment-495735000,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAKAOIWYVFH2YOPJNHVXTCTPXAU2DANCNFSM4HOV3DMA
.

I would propose we merge this as is and deal with anisotropic chunking in a follow up PR. As it is this already fixes part of the issue and is ready to go. It won’t hinder later work from occurring and might make it easier as we can deal with the changes and their consequences independently. Thoughts?

@jakirkham, your suggestion sounds good to me

@TomAugspurger, I updated the PR's title and removed the "Fixes" in the original comment so that the issue remains open. Feel free to merge this.

Thanks @andersy005!

Great, thanks all! Glad to see this nice improvement in. 😄


Bismarck dependency graph

Need a way for a bismarck to "depend" on another bismarck, such that changes cascade down the dependency graph.
Should be pretty straightforward. It's probably just a clever use of eachValue

is this closed now that we have RescopedBismarck?

No I don't think so. This is about how if the account list was invalidated then your transaction list probably needs a refetch.
Iirc rescoped was more about coroutine semantics

Right right. The pattern of taking a bismarck in the constructor and delegating by parent could be abstracted out, then consumers could override/call super as they please.

Actually not quite. This is literally just calling bismarck.dependsOn(someOtherBismarck)

i see i see. do we think dependsOn adequately conveys invalidation dependency? as this is a destructive relationship, should we call it out more plainly?

Good question! If the idea is that bismarck doesn't require much babysitting and just invalidates/updates you according to its own internal logic, then this is a good extension of that.
However I definitely held off including it in v1 because it's super confusing, and also a potential source of bugs. It was objectively helpful at preventing stale data bugs back in the level days though.


fix(api-routes): update API paths to include leading slash

Description:
Fix incorrect handling of API routes in Next.js by ensuring absolute paths are used for consistency and to prevent relative path issues.
Issues:

Issue #<TICKET_ID>

UI changes
<Please, provide Screenshots or Figma links>
Checklist:

[x] the pull request name complies with Conventional Commits
[x] the pull request name starts with fix(<scope>):, feat(<scope>):, feature(<scope>):, chore(<scope>):, hotfix(<scope>): or e2e(<scope>):. If contains breaking changes then the pull request name must start with fix(<scope>)!:, feat(<scope>)!:, feature(<scope>)!:, chore(<scope>)!:, hotfix(<scope>)!: or e2e(<scope>)!: where <scope> is name of affected project: chat, chat-e2e, overlay, shared, sandbox-overlay, etc.
[ ] the pull request name ends with (Issue #<TICKET_ID>) (comma-separated list of issues)
[x] I confirm that do not share any confidential information like API keys or any other secrets and private URLs

/deploy-review


[framework][tf] OpenNMT-tf

https://github.com/OpenNMT/OpenNMT-tf

[x] install, just clone it
[ ] investigate data, it can build vocab from text file, and put special symbol in vocab, the toy data should took 83 h to train 1000000 (?) steps, one step cost 0.3s

so the first run (after 1h ... got a I don't know bot ....)
what is love
How are you
do you want to go out tonight
how the weather
look at him
do you
no
yes

I don't know.
I know.
I don't know. I don't know. </s>
I don't know.
I know. </s> </s>
I know.
No. </s>
No.
I know. </s>
<unk> </s>
<unk>
I don't know. I don't know.
What do you mean?
I don't know.
What do you want to do?
What? </s>
What?
I don't know. I don't know.
<unk>
I don't know.
I don't know. I don't know.
<unk>
I don't know.
<unk> <unk> </s>


Can't install package from Composer

After fresh symfony3 project creating, i've ran:
composer require redcode/tree-bundle
  [InvalidArgumentException]
  Could not find package redcode/tree-bundle at any version for your minimum-stability (stable).
  Check the package spelling or your minimum-stability

As I remember it supports up to Symfony 2.8.
Configuration my be different or incorrect for version 3.0

Try composer require redcode/tree-bundle @dev

@DimaSerikov Sorry for delay, i did it later, but anyway thanks for support!


Link sharing modal

The Chore
Need the ability to share links easily.
Tasks

[x] Implement the "share" modal shown in the Figma

[x] If the user has a referral code include it
[x] If they do not offer the ability to create one, and in this case trigger the createReferralCode TX from the modal >> We're currently just sending to referral page... which is ok for now I guess
[ ] If the user has a team include a tick box offering to include the team

[x] The link generated needs to include

[ ] The referral code if present
[ ] The team code if included
[ ] Both if both included
[x] Neither if neither is available

[x] Include a button to dismiss the modal
[x] Should be possible to trigger the modal from:

[x] A market, from a "Share" button in the header
[x] The team page, from a "Share" button under the team name
[ ] The referral page, from a "Share" button that replaces the share link button on the code tile
[x] From the key selector, from a "Invite friends" option above "Disconnect"

[ ] The links should still include as a root the URL from the page in which it was generated so the user will land:

[ ] Market >> on the market
[ ] Team page >> on the team
[ ] Referral page >> Send them to the homepage
[ ] If from the selector >> Send them to the homepage

Additional details / background info

Feedback

Ideally we'd trigger the referral code IN the modal rather than send you off to that page
I think we probably want to get rid of the "Create Team" option on the referral page now that we have tried to make these feel like seperate steps
Referral set created = e06b06afebbe86add0fac950df5025fc4dfa762c7fedbe142db19cc5f9092c1c
Link generated = https://trade.neb.exchange/#/invite?code=e06b06afebbe86add0fac950df5025fc4dfa762c7fedbe142db19cc5f9092c1c


text flow split

Why does GGI break OCRed text into chunks?

Fosberg and Bullock 1971 plantsOCR.pdf

This is simply down to the distance between the words ... in the absence of a template, page structuring has to rely on a bunch of defaults, and those are optimized for printed text, not typewriter ... on top of that, the large line distance also means that lines don't cover each other's gaps in all too many places, and the few places where they do seem to work as intended ...
Meaning to say this simply is a very atypical document that defies the usual catches and defaults ... "Merge Blocks" should be an easy fix, though ... if we run into more typewriter documents, we might have to consider a dedicated set of defaults and somehow tell page structure detection to use that instead of the usual print-oriented defaults.


Add alpha parameter to ppi_mean_ci call

The alpha parameter did not propagate when lhat=None.
This PR is a quickfix to make sure it does.

 Thank you <3
Can you do the same for the other CIs, if it is missing?
Then I'll merge.

I had a quick look at the rest of the codebase, I did not find any similar issues elsewhere.

Great. I agree. MERGE!


Incorrect table background rendering

pdf.js version: 0.7.339

Open http://users.ece.gatech.edu/~sudha/academic/class/ece4100-6100/Lectures/Module13-MultiCore/multicore-introduction.pdf
The table on page 5 is unreadable.

The PDF file is not available anymore. Could you reupload it ?

multicore-introduction.pdf
from
https://web.archive.org/web/20130822053356/users.ece.gatech.edu/~sudha/academic/class/ece4100-6100/Lectures/Module13-MultiCore/multicore-introduction.pdf

Thanks @THausherr
No issue for me anymore with Firefox 66 and PDF.js 2.2.107

Still doesn't work for me with Firefox 66 and PDF.js 2.2.107 on Arch Linux. The table on page 5 still contains cells with different colors and patterns.

Oh so sorry, how I could miss that ? I confirm the bad rendering on my Windows 10.

But that's more a scaling problem, it goes away when zooming. It looks bad at 100%, but gets better at 150%, and really nice at 200%. (I'm looking at the actual page 5 labelled "11", the "Fundamental Trends" table)

Now I tried with FF and there the tiles look identical at 220%. However FF runs on an an "old" monitor, while Edge and Chrome runs with a 4K monitor.

Fixed by #16117, just 3 days short of this bug's 10-year anniversary! However, the fix works around a d2d bug and is scheduled to be removed once the bug is fixed, but here it is noted that this occurred on Arch Linux as well, so the comment in the code about it being a "Windows specific bug" is probably not the full story, and I'm not sure if a revert would be good. Also, it'd probably be a good idea to add this pdf as a regression test to avoid breaking it in the future. @calixteman

@timvandermeij could you check that the patch in #16117 really fixed the issue for you ?

Interestingly, it did (I also didn't expect this).
The current rendering for me (Arch Linux, Firefox 113.0.1) is:

This matches the rendering of e.g. Okular and seems correct. However, if I do git revert 1617ee6c3f45aa061300482844ec2bd0526dc2e8 to revert the patch from #16117 the rendering is broken as I remembered it was originally:

Therefore it looks like the suggestions from @automatedbugreportingfacility is correct here: it doesn't seem to be Windows-specific, and adding page 5 of this PDF to the test suite might be a good idea here.


Runtimewarning

code :
import itur
from astropy import units as u
f = 22.5 * u.GHz    # Link frequency
D = 1 * u.m       # Size of the receiver antenna
el = 60           # Elevation angle constant of 60 degrees
p = 3             # Percentage of time that attenuation values are exceeded.
Generate a regular grid latitude and longitude points with 1 degrees resolution
lat, lon = itur.utils.regular_lat_lon_grid()
Comute the atmospheric attenuation
Att = itur.atmospheric_attenuation_slant_path(lat, lon, f, el, p, D)
itur.utils.plot_in_map(Att.value, lat, lon,
cbar_text='Atmospheric attenuation [dB]')
#error:
itur\models\itu618.py", line 220
np.sqrt(Lr * gammar) / f**2 - 0.45))
RuntimeWarning: invalid value encountered in sqrt
itur\models\itu618.py", line 242
-(0.655 + 0.033 * np.log(p) - 0.045 * np.log(A001) -
RuntimeWarning: divide by zero encountered in log
i copied and ran the examples file but i am facing this issue , please help me out
thank you in advance.

Hi Karish, this is just a runtime warning, you can ignore it safely.  You should still get the right values.

Hello sir,
I changed the values, but its not showing the graph. Can you please suggest
values which I can enter.
On Thu, 19 Nov, 2020, 11:16 AM Inigo del Portillo<EMAIL_ADDRESS>wrote:

Hi Karish, this is just a runtime warning, you can ignore it safely. You
should still get the right values.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/iportillo/ITU-Rpy/issues/19#issuecomment-730144477,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARZ5BGTOF7XCLYSDRH5N3SDSQSWKFANCNFSM4T25V27A
.


i get wrong secret

i have an encrypted data $y$j9T$nUQ1haLSJODMAlSVUV5NGUw.$tLzBKbQ6ujjnayVUk2/GG1OjhWMqoVJ/05fXYhZH0QD, the real password is Hillstone!1. But i can not get the encrypted data with the follwing code:
package main

import (
	"encoding/base64"
	"encoding/hex"
	"fmt"
)

func main() {
	newsalt, _ := base64.RawURLEncoding.DecodeString("nUQ1haLSJODMAlSVUV5NGUw.")
	newpass := []byte("Hillstone!1")

	pass := Yescrypt(newpass, 4096, 32, string(newsalt))
	byt, _ := hex.DecodeString(pass)
	encoded := base64.StdEncoding.EncodeToString(byt)
	fmt.Println(encoded, len(encoded))
}

Could you tell me what's wrong in my code?

A possible problem is that you are using a modified version for BTE, since it uses a block switch.
https://github.com/mraksoll4/yespower_go/commit/ce59cfa8a0e136adebe7366c346a5cfae66e3cf4
you can try using this code, but there you will need to make some fixes to support 32-bit systems if necessary (compare the codes and use all except the switch.
https://github.com/leviable/yespower-go

or remove this funct

and you can try uncoment this for see what hapening.

`package main
import (
"encoding/base64"
"encoding/hex"
"fmt"
"github.com/mraksoll4/yespower_go"

)
func main() {
newsalt, _ := base64.RawURLEncoding.DecodeString("nUQ1haLSJODMAlSVUV5NGUw.")
newpass := []byte("Hillstone!1")
pass := yespower.Yescrypt(newpass, 4096, 32, string(newsalt))
byt, _ := hex.DecodeString(pass)
encoded := base64.StdEncoding.EncodeToString(byt)
fmt.Println(encoded, len(encoded))

}
`

This is confusing yespower vs. yescrypt. What @mraksoll4 implemented here (thanks!) is yespower 0.5 (similar to yescrypt 0.5, which was a temporary revision during the Password Hashing Competition) and yespower 1.0. What @tourer-zc needs is proper yescrypt 1.0+ as implemented in https://github.com/openwall/yescrypt-go https://pkg.go.dev/github.com/openwall/yescrypt-go, which also has proper parameter decoding and proper base-64 crypt encoding (different from the usual base64).
In other words, what cryptocurrencies call yescrypt (retroactively named yespower 0.5) isn't the same as what we call yescrypt in password security context (yescrypt 1.0 release and on).


Crash Handler

Sometimes, people report crashes that we can't reproduce, such as the Mod Manager crashing when / right after updating mods, it would be nice to have a way to get more details with Crash Dumps, this should help debugging stuff.

Thansk to @ItsEasyActually we now have this working.


Response Body malformated string

Hello,
CURLOPT_WRITEFUNCTION is returning a malformed string:
``buff: {
"status": "ok",
"<IP_ADDRESS>": {
p/l
buff:"proxy": "yes",
"type": "Compromised Server"
}``
The response buffer is splited by two.
Real response buffer:
{     "status": "ok",     "<IP_ADDRESS>": {         "proxy": "yes",         "type": "Compromised Server"     } }
CURLOPT_BUFFERSIZE is setted to 1024.

This is expected behaviour
https://curl.se/libcurl/c/CURLOPT_WRITEFUNCTION.html
You may take a look on https://github.com/Polarhigh/Amxx-GameAnalytics-SDK/blob/master/addons/amxmodx/scripting/include/curl_helper.inc
Usage example (i have no test it, but looks ok) https://gist.github.com/Polarhigh/318907f3dc2c776f36e075ce2c1a0eb4


Trumbowyg: data not posted if only an  tag

Informations
If I'm trying to add just iframe tag without any text and Trumbowyg clear it and do not send it to the background so variable is nil.  So I can not use just iframe tag (Video from Youtube like example) as a text.
Tested on Firefox and Chrome. Last version of the editor. Editor integrated to GitHub page has the same problem.
Same code with some letter after iframe tag works perfectly

Same code with some letter after iframe tag works perfectly

sometext

How to reproduce the bug?
This Gif shows editor behaviour
http://g.recordit.co/dNwi1uJgNa.gif

https://github.com/Alex-D/Trumbowyg/blob/develop/src/trumbowyg.js#L972
I have forget the iframe tag here. It's on my TODO.


Morse Code Convertor [GSSoC'23]

Aim

What is the objective of the Script
To convert the entered text into the morse code and morse code to text.

Details

What the features will your script have
In this python program, there will be two choices :

Morse code to Text
Text to Morse code

After chosing just enter the input then program will instantly return the coverted output.
Do I want to work on this:

[x]  Yes

@avinashkranjan please assign this task to me to contribute under GSSoC'23 for a successful contribution.
/assign

Why exactly do we want to convert the text to morse code? @Avdhesh-Varshney

@vanshitaverma @avinashkranjan please assign this task to me to create a pull request for a contribution
I have completed this project and want to contribute under GSSoC'23 program