question on input format

I'm seeing how to build an R wrapper around this. Can you explain a bit the BCSR format in words. What I'm trying to do is to understand what is in the offsets & edges c++ code you have there. Can you explain that in words so that I am 100% sure what they should be if I passed the data from R to C++
offsets = static_cast<int *>(aligned_malloc((nv + 1) * sizeof(int32_t), DEFAULT_ALIGN));
edges = static_cast<int *>(aligned_malloc(ne * sizeof(int32_t), DEFAULT_ALIGN));
embFile.read(reinterpret_cast<char *>(offsets), nv * sizeof(int32_t));
offsets[nv] = (int)ne;
embFile.read(reinterpret_cast<char *>(edges), sizeof(int32_t) * ne);

Are you sure this is not CSC format which is implemented?

"Then, 'indices' in the description of the format correspond to 'edges' in the code, and 'offsets' in the code correspond to 'indptr'."

Yes, sorry.

Ok thanks for the confirmation.

I will verify the correctness of the wrapper soon, and then would ask you to submit a pull request (or I do it myself), if you are not against it.
As for the inclusion, three programs only have a different Train() function, one can probably refactor the code to include three different cores, and the rest will be all the same.

Also these elements have the same name:
rng_seed' sigmoid_table'
nv' n_samples'
w0' step'
n_hidden' total_steps'
offsets' edges'
ppralpha' global_lr'
silent' n_threads'
n_epochs' ne'
`degrees'
I wonder how this should be refactored? Any idea?

I mean, they could be shared, as their implementation is the same, and some logic inside the wrapper could raise a warning if the method is called twice, meaning the embeddings are not randomized.

Currently I only could include 1 of the 3 (verse.cpp) as including the other 2 give conflicts (shown above). This might need some refactoring if I would like to also include verse, deepwalk and node2vec in the same R package.

I'm currently re-writing the code for DeepWalk, n2v and Verse to allow for such library.
Please wait a little bit, as the architecture will change a little (i.e. allocations are managed by the Python/R code).

The reasoning is essentially since it's a research work, people must be able to reproduce it, including the scalability. If I outsource some parts to Python, I'll inevitably lose some speed due to different memory layouts. Code as is is extremely inflexible t obe used as a library.

Yes, I understand. Maybe this can be rewritten with classes or templates in order to allow more easily to be used by python/R? For what it is worth, the code which I written to wrap it looks like this: https://www.datatailor.be/open-source/deepwalker/blob/master/src/verse.cpp


[sdk] -- Update voucher to include payer signature

Description

Added payer signature to payloadSigs on voucher to resolve #684
Update resolve-account, resolve-signature tests, snapshot

Merging blocked for me @orodio


feat(avm): e2e send l1 msg

Please read contributing guidelines and remove this line.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#6880  👈
#6877
#6848
#6806 : 1 other dependent PR (#6819 )
master

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

Join @Maddiaa0 and the rest of your teammates on  Graphite

Benchmark results
Metrics with a significant change:

protocol_circuit_witness_generation_time_in_ms (private-kernel-tail): 2,840 (-20%)
protocol_circuit_proving_time_in_ms (root-parity): 33,611 (-18%)

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.
Proof generation
Each column represents the number of threads used in proof generation.

Metric
1 threads
4 threads
16 threads
32 threads
64 threads

proof_construction_time_sha256_ms
5,741 (+1%)
1,547
708
748
775

proof_construction_time_sha256_30_ms
11,782 (+3%)
3,142 (+3%)
1,423 (+4%)
1,429 (+1%)
1,478 (+2%)

proof_construction_time_sha256_100_ms
43,865 (-2%)
12,120 (+3%)
5,678 (+5%)
5,619 (+3%)
5,513 (+3%)

proof_construction_time_poseidon_hash_ms
78.0
34.0
34.0 (-3%)
57.0 (-3%)
88.0

proof_construction_time_poseidon_hash_30_ms
1,517
415 (-1%)
199 (-1%)
223 (-6%)
268 (+1%)

proof_construction_time_poseidon_hash_100_ms
5,752
1,576
727
790
796

L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
4 txs
8 txs

l1_rollup_calldata_size_in_bytes
1,412
1,412

l1_rollup_calldata_gas
9,464
9,448

l1_rollup_execution_gas
608,000
607,984

l2_block_processing_time_in_ms
716 (+2%)
1,288

l2_block_building_time_in_ms
22,271 (-1%)
45,745

l2_block_rollup_simulation_time_in_ms
22,151
45,399

l2_block_public_tx_process_time_in_ms
19,048
41,985

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

Metric
3 blocks
5 blocks

node_history_sync_time_in_ms
5,921
8,510

node_database_size_in_bytes
9,498,704
12,714,064

pxe_database_size_in_bytes
7,774
15,127

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

Metric
1 leaves
16 leaves
64 leaves
128 leaves
256 leaves
512 leaves
1024 leaves
32 leaves

batch_insert_into_append_only_tree_16_depth_ms
10.6 (+1%)
17.1 (+1%)
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.7
31.7
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.613 (+1%)
0.526 (+2%)
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
49.2
76.4
133 (-1%)
246 (-1%)
478
N/A

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
95.9
159
288
543
1,055
N/A

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
0.503
0.471
0.457 (-1%)
0.447 (-1%)
0.446
N/A

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
59.2 (+2%)
113
184 (-1%)
351
632
N/A

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
107
208
355
686
1,263
N/A

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
0.510 (+2%)
0.505
0.488 (-1%)
0.480 (-1%)
0.472
N/A

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
N/A
N/A
N/A
N/A
N/A
59.4 (+1%)

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
N/A
N/A
N/A
N/A
N/A
101

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
N/A
N/A
N/A
N/A
N/A
0.555 (+1%)

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
79,470
665,267

Transaction size based on fee payment method
| Metric |  |
| - |  |


7.x

feign-pull-requests #186 SUCCESS
This pull request looks good

:shipit:
On Mon, Jan 5, 2015 at 3:14 PM, CloudBees pull request builder plugin <
<EMAIL_ADDRESS>wrote:

feign-pull-requests #186
https://netflixoss.ci.cloudbees.com/job/feign-pull-requests/186/ SUCCESS
This pull request looks good
—
Reply to this email directly or view it on GitHub
https://github.com/Netflix/feign/pull/130#issuecomment-68799662.


[Feature Request] Bass Boost

Is your feature request related to a problem? Please describe.
You can give music even more vibe
What is your ideal solution to the problem?
A bass boost function
How would this feature be used?
1.Your command for the bot and then the level of the boost 1-150
Additional Info
No response
Checklist

[X] I have checked the documentation to make sure this feature doesn't already exist
[X] I have searched for similar feature requests
[X] I have confirmed that my requests is not on the list of things that will not be added
[X] I am running the latest version of the bot:

Duplicate of #968


[FR] Move download URL endpoints to API namespace

Please verify that this feature request has NOT been suggested before.

[X] I checked and didn't find similar feature request

Problem statement
The download endpoints for the BOM and BOM template are currently served under /parts; they should however be housed under /api
Suggested solution
Move them to /api
Describe alternatives you've considered
N/A
Examples of other systems
No response
Do you want to develop this?

[ ] I want to develop this.

Needed for https://github.com/inventree/InvenTree/issues/2789


How to quick buy a specific coin?

I would like to buy a coin with my all current btc as fast as possible, I would like to know if we can do it with only 1 API call. The approach I'm using it we request to get the current price first, then calculate the quantity, then create an order based on that. Btw it will takes 2 API calls.
How can I achieve it by using only 1 API call, (the API to get current price will take about > 1sec).

What you're describing is at the binance API level. I personally think its important that you make the two api calls. I don't know of a way to use the binance API in a way that would let you achieve two for one. I will close as it's off topic for this gem.


Rename disable-llvm-arc-opts => disable-swift-specific-llvm-optzns an…

…d make sure that we actually disable /all/ LLVM passes.
For instance, we were always running merge functions unconditionally if -O was
passed.
rdar://40097698
(cherry picked from commit aa035e95631dccf867fc1ea0b19e65d98aa65aa4)

@swift-ci test and merge


Numbered arguments are error prone and fragile

The current behavior or issue
The apprun section of various SCIF recipes use numbered arguments. See here for discussion:
https://github.com/AgPipeline/drone-makeflow/pull/4/files/2e71e0e9f899de7c0dba0b04a0b04962f4b49606#r467247276
I worry that this is fragile and easy to get wrong. It might be worth looking at using getopts:

https://unix.stackexchange.com/a/129401
https://wiki.bash-hackers.org/howto/getopts_tutorial

An even better solution would be combining:

Using jx-args.json instead of parameters

Make a determination on SciF writing a makeflow JSON file vs. having user specify #214

Sub-workflows instead of 'pre-flight' shell scripts.

Discussion and my recommendation: https://github.com/AgPipeline/drone-pipeline-environment/issues/69#issuecomment-648366499
Proof-of-concept: https://github.com/julianpistorius/makeflow-subworkflow-example


PA2 Test Case 3_1

Summary
I am unable to pass test case 3_1
Description
The number of 'apply' does not tally with the expected output.
Ideas
Describe the approach used (if applicable)
Screenshots (if any):
This is the error:

This is my implementation for flatMap:

When I run the test case in my own terminal I get the correct output. According to Prof Henry, the error is "Not enough invocation of the function in AbstractStateM." I don't know what function he is referring to though.

i faced the same issue, do not invoke .accept twice and ure good. (declare this.accept(s) as a pair, then pair.first() pair.second() on that pair rather than doing .accept(s).first() and .accept(s).second()

I think the problem occurs because you .apply() too many times in your code, under accept() in this case. So you just have to optimize your code and reduce the number of accept() calls

finals is over you can close this issue


HARP-7373: Move text renderer options from MapViewOptions to TextElem…

…entsRendererOptions.
Change TextElementsRenderer constructor to take an options interface instead of passing
every option as a separate parameter.
Signed-off-by: Andres Mandado<EMAIL_ADDRESS>Thank you for contributing to harp.gl!
Before requesting a pull request, please remember to check the following documents:

contribution guidelines
coding style

If you are adding new functionality we would highly appreciate if you can describe what is the capability you are adding and even better if you can add some examples. Please also remember to add tests for it.
CI Check
Our bots will check whether your PR can be directly integrated into the mainline. We have some internal integration tests running on the background, our bots will inform you of the next steps and someone from our team will take a look and help if needed!
And please do not forget to sign-off your commit! You can read more about DCO here. But, in short, you just need to use git commit -s or append --signoff when you are committing to the repo.
Happy contributing!

@heremaps-bot retest this please

@heremaps-bot retest this please

@heremaps-bot retest this please

Codecov Report

Merging #1039 into master will increase coverage by 0.06%.
The diff coverage is 71.15%.

@@            Coverage Diff             @@
##           master    #1039      +/-   ##
==========================================
+ Coverage   45.78%   45.84%   +0.06%
==========================================
  Files         237      251      +14
  Lines       22180    22386     +206
  Branches     4993     5023      +30
==========================================
+ Hits        10155    10263     +108
- Misses      12025    12123      +98

Impacted Files
Coverage Δ

...rp-mapview/lib/text/TextElementsRendererOptions.ts
100% <100%> (ø)

...here/harp-mapview/lib/text/TextElementsRenderer.ts
8.46% <33.33%> (-2.63%)
:arrow_down:

@here/harp-mapview/lib/MapView.ts
57.18% <40%> (-0.08%)
:arrow_down:

@here/harp-materials/lib/Utils.ts
20% <0%> (-80%)
:arrow_down:

@here/harp-materials/lib/IconMaterial.ts
44.44% <0%> (-55.56%)
:arrow_down:

@here/harp-map-controls/lib/Utils.ts
46.15% <0%> (-23.85%)
:arrow_down:

@here/harp-omv-datasource/lib/OmvTiler.ts
50% <0%> (-16.67%)
:arrow_down:

@here/harp-utils/lib/ObjectUtils.ts
83.33% <0%> (-10.22%)
:arrow_down:

@here/harp-utils/lib/UrlUtils.ts
82.92% <0%> (-8.25%)
:arrow_down:

@here/harp-datasource-protocol/lib/Extruder.ts
8.33% <0%> (-5.96%)
:arrow_down:

... and 30 more

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 1c6b6aa...e2a7258. Read the comment docs.


Remove deprecated ptvsd code

For #10424

[x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
[x] Title summarizes what is changing.

Codecov Report

Merging #10427 into master will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #10427      +/-   ##
==========================================
- Coverage   60.93%   60.92%   -0.02%
==========================================
  Files         578      578
  Lines       31121    31120       -1
  Branches     4418     4417       -1
==========================================
- Hits        18965    18960       -5
- Misses      11195    11197       +2
- Partials      961      963       +2

Impacted Files
Coverage Δ

src/datascience-ui/react-common/arePathsSame.ts
75% <0%> (-12.5%)
:arrow_down:

src/client/common/utils/platform.ts
64.7% <0%> (-5.89%)
:arrow_down:

src/client/linters/pydocstyle.ts
86.66% <0%> (-2.23%)
:arrow_down:

src/client/datascience/debugLocationTracker.ts
76.56% <0%> (-1.57%)
:arrow_down:

src/client/common/process/proc.ts
14.49% <0%> (-0.73%)
:arrow_down:

src/client/constants.ts
100% <0%> (+16.66%)
:arrow_up:

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 5ed5103...cdcf627. Read the comment docs.


[UI] Fixing alignment of Meshery Navbar logo With The screen title

Current Behavior
While Meshery UI looks amazing, I haven noticed a few sections that will greatly improve our UI. Currently the meshery logo in the sidebar and the title of the screen isn't aligned/is misaligned
Desired Behavior
Horizontal alignment of the logo section with the global nav bar section.

Can I knock this?

@chinmaym07  definitely


Gif support

Currently people are not able to use gifs in their answers. Would be cool if the bot could capture and use gifs

Gif is now working @nvu
https://github.com/ThibaultJanBeyer/standup-bot/assets/12467511/d3696d33-36b3-4fb8-8ce8-dd484e75edd7


pull request for e2e test at 11/19/2016 21:56:05

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Stepping in computation expressions steps out on let!/do!

When stepping through computation expressions, the debugger seems to step out on let!/do! expressions. This is easily reproduced with async expressions, but I have also observed it for custom CEs. Setting breakpoints or using Run To Line works correctly, but Step Over or Step Into seems to break out on let!/do!.
Step Over:

Step Into (note also that it doesn't break out to main like Step Over does above - is this another bug?):

Run To Line:

Breakpoints:

Repro steps
ReproSolution.zip
Expected behavior
Step Over and Step Into should not step out of the expression after breaking on a let! or do!.
Actual behavior
Step Over and Step Into steps out of the expression after breaking on a let! or do!.
Furthermore, note in the Breakpoints example above that it breaks twice on the let! and do! lines. Is this another bug?
Known workarounds
None that I know of.
Related information
It's been like this for a long time, but this report was made using VS 15.6.4 and Visual F# nightly 15.6.20180504.1.

I'm not sure, but isn't this related to the asynchronous nature of, well, async? Does it exhibit the same behavior if you use, say, seq, query or a result builder?

In this seq expression it doesn't break at all, even if I set breakpoints on every line in the expression:

That's correct, because you don't evaluate the seq expression, you only instantiate the builder, so it indeed never hits inside the builder. Try it with Seq.toList or Seq.toArray or Seq.iter to force evaluation.

though it breaks twice in a row on every do! line

I suspect that's because there's two function calls, one for Ok() and one for evaluating do! (which calls ResultFrom iirc).
You may see different lines hit when you run it in Release mode, as some lines will be optimized away.

except that Step Into now jumps out after do! Async.Sleep.

My guess is here that during the sleep, the other methods have already been evaluated. But I agree, when you break, you should have 'break on all threads", which should block further processing. But since this is async, when the processor hits the break on your sleep-line, the other statements may have already been processed and only that line is still waiting completion. I'd assume that a similar thing can happen in C#, but the unwrapping of the code is quite different there so it may be hard to compare.
To fix that, you can place a breakpoint inside the builder itself, upon creation. I sometimes simply create a second builder-creation (let's say asyncResult2) for this purpose. Or place a breakpoint on the exact lines you want to step through (but you figured that out already in the OP).
All that doesn't mean it cannot be improved. I'm just trying to figure out what causes this behavior, and to me, while a frustrating debugging experience, it isn't completely unexpected.

That's correct, because you don't evaluate the seq expression, you only instantiate the builder, so it indeed never hits inside the builder. Try it with Seq.toList or Seq.toArray or Seq.iter to force evaluation.

Ah, sorry for the brain fart. Using Seq.toList, Step Over and Step Into seem to work correctly (and identically) for the code I posted.

@cmeeren, happens to me all the time ;). I've updated my post while you were typing, maybe the code sample is useful :).

Thanks for the note. I like your solution and will keep it in mind. :) Though of course I don't like the fact that it's necessary.
A simpler alternative if one just wants the value at some point in a pipe chain (or something to mouse over at design time to see the type at that point), |> fun x -> x works well.

|> fun x -> x works well.

Yes, I've used that often, but with composition that can quickly get messy with added parens and everything. Here I wanted to break inside the list items, not the whole list.
But it would be so much nicer if this wasn't a (necessary) workaround for improving the debugging experience.

I don't think this is a bug in the core F# implementation, since we don't specify the debugging behaviour of arbitrary CEs.
Related in #4867. As I outline there, getting good debugging even for the synchronous parts of delayed computations is hard, though progress has been made.  And that only deals with stack traces, and not stepping.
What's I think is really needed is a comprehensive guide to writing CEs that have good debugging experiences (stack, stepping, exception stacks, breakpoints).  The notes in #4867 are a good starting point for stacks.
I will close this as it's not specifically an actionable  bug in the compiler.


twitter link not working

Describe the bug
In footer , twitter link redirects to home twitter page not into scorelab twitter page
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A detailed description of the expected behaviour
Screenshots
If possible, please use screenshots

Desktop (please complete the following information):

OS: [e.g. iOS/Windows]
Browser [e.g. chrome]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. mozilla, safari]
Version [e.g. 22]

am newbie so can you please assign it to me and add labels

Can I take up this issue?

Hello I can fix the Twitter link please assign me the issue

#423

I would like to work on this issue, please assign this to me.

i want to work on this issues please assign me this issue @lingeshwaran05


[Feature][Zeta][REST-API] Add REST API Get all completed jobs informa…

Purpose of this pull request
close:#4145

Check list

[ ] Code changed are covered with tests, or it does not need tests for reason:
[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/incubator-seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update change log that in connector document. For more details you can refer to connector-v2
Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist

[ ] Update the release-note.

@liugddx @hailin0 PTAL, thanks.

Can we get the statistics of the job? The amount of data  etc.

I added more task information

 I added more task information

The structure of the job is job->pipeline->taskGroup->task, when a job has multiple pipelines, the user may want to divide the pipelines for statistics,Can we count according to the nested structure of job->pipelines->taskGroup?
{ "jobId":"", "pipelines":[ { "pipelineId":"", "sourcet":[ ], "Sink":[] } ] }
@EricJoy2048 @hailin0 @ic4y @Hisoka-X any suggestion?

add UT/IT test case

seatunnel-e2e/seatunnel-engine-e2e/connector-seatunnel-e2e-base/src/test/java/org/apache/seatunnel/engine/e2e/RestApiIT.java There are corresponding additions below.

@MonsterChenzhuo Can it be output according to this structure?

Oh, okay.

@MonsterChenzhuo Can it be output according to this structure?
Oh, okay.


Update web3.py readiness as currently supporting EIP-1559 / London

With the latest release earlier this morning (version 5.21.0), web3.py is now supporting EIP-1559 / London.
Release notes: https://web3py.readthedocs.io/en/latest/releases.html#v5-21-0-2021-07-12

Codecov Report

Merging #256 (117a9e6) into master (992a66e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #256   +/-   ##
=======================================
  Coverage   95.27%   95.27%
=======================================
  Files          18       18
  Lines        1122     1122
=======================================
  Hits         1069     1069
  Misses         53       53

Flag
Coverage Δ

unittests
95.27% <ø> (ø)

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

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 992a66e...117a9e6. Read the comment docs.


Received NaN for numeric attribute value

I use react-html5video component w/ React 16 and React-Router 4.
And it always show me this warning even with default params so I do not pass any custom params to component.
Warning: Received NaN for numeric attribute `value`.
If this is expected, cast the value to a string.

The video component works well just wondering why it is here. It is just a bit annoying =)

This was fixed in version 2.5.1 which version are you using?

 I was using 2.5.0
Upgraded it and warning is gone. Thanks for reply =)


Example of programmatic update of JS Smart Contract

Tried to implement the programmatic update with JS SDK to be used after locking the contract.
However this not working. The problem is on how to pass wasm code when calling the call update method and how to get the code in the smart contract.
To test this:

cd examples
yarn
yarn build:programmatic-update
yarn test:programmatic-update

The working RUST version is available
https://github.com/near-examples/update-migrate-rust/blob/main/contracts/self-updates/base/src/update.rs#L10-L28#

@nsejim Great idea and good experiment on the example! Thank you! The problem is our high level API doesn't yet support this, please see my comment above for details. If you are interested to work on it, it will be great! Or we'll add it to our road map to add it in future.

@nsejim Great idea and good experiment on the example! Thank you! The problem is our high level API doesn't yet support this, please see my comment above for details. If you are interested to work on it, it will be great! Or we'll add it to our road map to add it in future.

@ailisp Thank you for the comments. I am interested to try to work on it. Putting it on the roadmap is good because it is an important feature to eliminate some convincing arguments to go for RUST.

@ailisp following your suggestion to use the low level APIs, the programmatic update works very well. Thank you.

@nsejim Your code looks good! It's a quite helpful example indeed! Could you add your example to CI here: https://github.com/near/near-sdk-js/blob/develop/.github/workflows/examples.yml and link your example in README? Thank you!

@nsejim Your code looks good! It's a quite helpful example indeed! Could you add your example to CI here: https://github.com/near/near-sdk-js/blob/develop/.github/workflows/examples.yml ? Thank you!

Thanks :) Example added to CI

@nsejim seems ci is unhappy. Please yarn lint & yarn format, then commit & push the changed files. Thanks!

Great contribution @nsejim ! Thank you.

Great contribution @nsejim ! Thank you.

Welcome. Thank you for the hint!


AMBARI-25382 Issues with Views in ambari when User Logs In from KNOX/LDAP and the username has spaces and Camel Case Letters

What changes were proposed in this pull request?
AMBARI-25382 Issues with Views in ambari when User Logs In from KNOX/LDAP and the username has spaces and Camel Case Letters
(Please fill in changes proposed in this fix)
How was this patch tested?
Tested In UI for Files view, Capacity Scheduler View and Workflow manager View
(Please explain how this patch was tested. Ex: unit tests, manual tests)
(If this patch involves UI changes, please attach a screen-shot; otherwise, remove this)
Please review Ambari Contributing Guide before opening a pull request.

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

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

retest this please

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

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


bug: Dirt after clearing the masked field

Steps to reproduce the behavior:
1.Create a masked textbox with any mask
2.Type anything valid in the masked textbox until the field is complete
3.Clear the text box programmatically -- like $('#field').val('')
4.Set focus on the masked textbox
--
The current behavior displays some dirt on the edit box.
I haven't quite figured out why it occurs, I'm going to look better into this issue today.

PJonDevelopment  thanks for your solution..you helped me lot a messy stuff for me

@digitalBush calling .blur() after setting the value via .val() does not work for me, I still get dirt in the field after focus();


dropdown btn has been moved to the end of the navigation menu.

Pull Request Template

Please provide all of the details below. Pull requests missing any of the information below will be closed!
Providing the issue number/url helps us identify the problem being solved and keep the issues tab clean and tidy

Summarize what this PR fixes:-
Dropdown btn called "More" has been moved to the end of the navigation menu as per @brittneypostma requirements.
Fixes https://github.com/zero-to-mastery/Keiko-Corp/issues/579
Checklist
(Add an x between the brackets to check the items)

[x] I have summarize what this PR fixes above
[x] I have provided the issue ID/URL above
[x] I have not added Bootstrap or jQuery and used correct styling guide.
[x] This PR fixes only the issue mentioned above (create separate PRs for separate issues)
[x] I was the first one to claim the issue or I created the issue - I created the issue

Please check the screenshot for the final result:

@brittneypostma
Happy to help :-)
Thank you


Batch Request Identifier

Thanks for the great tool.  If possible would you mind adding some form of pass-through request identifier?  And then return the identifier with the result...
E.g.
Request
[
{
"id": "abc",
"txt": "..."
},
{
"id": "def",
"txt": "..."
}
]
Response
[
{
"id": "abc",
"confidence": 12.34,
"result": "Positive"
},
{
"id": "def",
"confidence": 45.67,
"result": "Negative"
}
]

+1


Instances on Heroku crashes when sending e-mails

If the app is hosted on Heroku with notifier embedded and SendGrid, you get the following error on the heroku log when sending a welcome e-mail (when user signs up):
democracyos:notifier Job 'welcome-email' failed - reason: TypeError: undefined is not a function

This is because the current agenda version of DemocracyOS/notifier doesn't support mongo >= 3.0. More info: https://github.com/rschmukler/agenda/pull/205
I'm currently trying to fix it.

Closed by https://github.com/DemocracyOS/app/commit/9562ba60cea8f95759a0e598b091e88901b6ea74


eval.py : Does 'confidence_threshold' in line 43 have effect on the eval result?

https://github.com/amdegroot/ssd.pytorch/blob/5b0b77faa955c1917b0c710d770739ba8fbff9b7/eval.py#L43
I don't see any place using this parameter to limit detection. The function'test_net' also have a parameter 'thresh' that isn't used in the code.

Can anyone explain or teach me how to change the code to let this parameter do it's job?

Same question.

Maybe this can help you.


heuristic fixers not on base repo

Coverage decreased (-26.5%) to 72.394% when pulling da5a3d2c046dbd737186bd8eef6f153201a45c6d on c-harris:master into 6fd91f385bbd7b3aa9034ac14574c0650e1ef256 on Algo-Web:master.


How can I get all the user-top-read in python?

I need to write an application that get authorisation from users and after that and retrieves all user-top-read data in order to save it to a data-base thats the bit I need for my college project, any input would be massively appreciate it

Hi @fekiee ,
take a look at https://spotipy.readthedocs.io/en/latest/#authorization-code-flow
The only thing you need to update is the scope variable. Instead of 'user-library-read' it should be 'user-top-read'.

Thanks for answering Daniel I already did and it works would you guide me how to get into users accounts after they authorise  it without setting Credentials as environment variables ?
Regards,
JIN.

From: Daniel Gondim<EMAIL_ADDRESS>Sent: 09 May 2017 15:19
To: plamere/spotipy
Cc: Jin; Mention
Subject: Re: [plamere/spotipy] How can I get all the user-top-read in python? (#187)
Hi @fekieehttps://github.com/fekiee ,
take a look at https://spotipy.readthedocs.io/en/latest/#authorization-code-flow
The only thing you need to update is the scope variable. Instead of 'user-library-read' it should be 'user-top-read'.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/plamere/spotipy/issues/187#issuecomment-300179609, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AOIBPktgDj8dlppcO0BRyRYNadoIMTVJks5r4HXXgaJpZM4NGqjy.

Hi JIN,
I dont know if I understood your doubt. You are asking how you can pass
your app credentials directly into the method as arguments?
If so, you just need this:
token = util.prompt_for_user_token(username, scope, client_id,
client_secret, redirect_uri)
client_id, client_secret and redirect_uri are all information from your
Spotify Application (
https://developer.spotify.com/my-applications/#!/applications).
Regards,
Daniel Gondim
On Tue, May 9, 2017 at 11:49 AM, Jin<EMAIL_ADDRESS>wrote:

Thanks for answering Daniel I already did and it works would you guide me
how to get into users accounts after they authorise it without setting
Credentials as environment variables ?
Regards,
JIN.

From: Daniel Gondim<EMAIL_ADDRESS>Sent: 09 May 2017 15:19
To: plamere/spotipy
Cc: Jin; Mention
Subject: Re: [plamere/spotipy] How can I get all the user-top-read in
python? (#187)
Hi @fekieehttps://github.com/fekiee ,
take a look at https://spotipy.readthedocs.io/en/latest/#authorization-
code-flow
The only thing you need to update is the scope variable. Instead of
'user-library-read' it should be 'user-top-read'.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<https://github.com/
plamere/spotipy/issues/187#issuecomment-300179609>, or mute the thread<
https://github.com/notifications/unsubscribe-auth/
AOIBPktgDj8dlppcO0BRyRYNadoIMTVJks5r4HXXgaJpZM4NGqjy>.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/plamere/spotipy/issues/187#issuecomment-300189246,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFmUUhdria5qSUOboDWg2OLOOrg9oVKrks5r4H0GgaJpZM4NGqjy
.

--
"Reflect on your blessings, of which every person has many, not on your
past misfortunes, of which all people have some."
--
Daniel Gondim Ernesto de Mélo
Bacharel e Mestre em Ciência da Computação - UFCG
Doutorando em Ciência da Computação - Laboratório de Sistemas Distribuídos

UFCG

I basically want to be able to access anyone authorised data, To explain better what I am working on:
I want to be able to access users top artists to compare musical preferences so if I know what two users like I can then compare them to create potential matches based on their musical preferences to do so I need that once people login on y website they authorise my app to access their data hope I explained a bit better this time.
Regards,
JIN.

From: Daniel Gondim<EMAIL_ADDRESS>Sent: 09 May 2017 16:43
To: plamere/spotipy
Cc: Jin; Mention
Subject: Re: [plamere/spotipy] How can I get all the user-top-read in python? (#187)
Hi JIN,
I dont know if I understood your doubt. You are asking how you can pass
your app credentials directly into the method as arguments?
If so, you just need this:
token = util.prompt_for_user_token(username, scope, client_id,
client_secret, redirect_uri)
client_id, client_secret and redirect_uri are all information from your
Spotify Application (
https://developer.spotify.com/my-applications/#!/applications).
Regards,
Daniel Gondim
On Tue, May 9, 2017 at 11:49 AM, Jin<EMAIL_ADDRESS>wrote:

Thanks for answering Daniel I already did and it works would you guide me
how to get into users accounts after they authorise it without setting
Credentials as environment variables ?
Regards,
JIN.

From: Daniel Gondim<EMAIL_ADDRESS>Sent: 09 May 2017 15:19
To: plamere/spotipy
Cc: Jin; Mention
Subject: Re: [plamere/spotipy] How can I get all the user-top-read in
python? (#187)
Hi @fekieehttps://github.com/fekiee ,
take a look at https://spotipy.readthedocs.io/en/latest/#authorization-
code-flow
The only thing you need to update is the scope variable. Instead of
'user-library-read' it should be 'user-top-read'.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<https://github.com/
plamere/spotipy/issues/187#issuecomment-300179609>, or mute the thread<
https://github.com/notifications/unsubscribe-auth/
AOIBPktgDj8dlppcO0BRyRYNadoIMTVJks5r4HXXgaJpZM4NGqjy>.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/plamere/spotipy/issues/187#issuecomment-300189246,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFmUUhdria5qSUOboDWg2OLOOrg9oVKrks5r4H0GgaJpZM4NGqjy
.

--
"Reflect on your blessings, of which every person has many, not on your
past misfortunes, of which all people have some."
--
Daniel Gondim Ernesto de Mélo
Bacharel e Mestre em Ciência da Computação - UFCG
Doutorando em Ciência da Computação - Laboratório de Sistemas Distribuídos

UFCG

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/plamere/spotipy/issues/187#issuecomment-300206142, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AOIBPs0HACEyF03bmqfk54x7vKg71_JEks5r4ImjgaJpZM4NGqjy.

Closing as it's unclear what the specific issue is


Japan - Wrong last day recovered data

Summary
In covid19dh.csv, for the current/last day, the recovered is 0 for some reason, even though the previous day has ordinary records. Is this something we should handle somehow or should we contact the covid 19 datahub team?
This leads incorrectly to zeroing all the recovered data fields inside _complement_non_monotonic, thus applying incorrectly full complement after.

Yes, recovered values you mentioned are sometimes 0.
To solve this issue, I moved my Kaggle dataset for Japan to https://github.com/lisphilar/covid19-sir/data/japan and created DataLoader.japan() method.
Records at prefecture (province) level will be removed at this version, but we can replace the records in DataLoader.jhu() with the following script.
jhu_data = data_laoder.jhu()
japan_data = data_loader.japan()
jhu_data.replace(japan_data)

If users will not be confused, we can call DataLoader.japan() in DataLoader.jhu() automatically.

All this is unnecessary overhead for the user I think and confusing.
It is preferable the jhu dataloader to automatically use the proper japan dataset (including japan() call if necessary).

I just tried it. Yes it solves the problem in _complement_non_monotonic() on one hand, but nevertheless it is fully complemented.

With #385 and #386, DataLoader.jhu() calls DataLoader.japan() internally to replace Japan dataset of COVID-19 Data Hub with that of https://github.com/lisphilar/covid19-sir/tree/master/data at country and prefecture (province) level.
The primary source of COVID-19 Data Hub collects data in a different way from my dataset, and it is difficult to fill in the blanks with values of my dataset. I use Government-announced values, but they use prefecture-announced values to calculate total values in Japan.
Updating my dataset at daily basis (when I'm not on business trips) is not harder for me than maintaining this Python package. Please advertise CovsirPhy in social media to accerate communication in CovsirPhy project. I sometimes use Twitter for advertisement.


Stage Change mid song

Describe your problem here.
how do I Switch Stages Mid Song? I just need a code for it for the event. and I also need the Value 1 and Value 2 info so I can understand how to use it
I perfer to do this
Value 1: What stage Lua to switch to
Value 2: What stage JSON to switch to
Also give me your icon so I can credit you in my mod along with whatever social media you have. Doesn't matter what it is
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
Ive added sprites, removed the weeks to create my own, and added a bunch of lua files such as scripts and custom notes, that's pretty much all I did

#3137

That didn't help. what exactly am I supposed to do

i wanted value 1 to switch to a lua
and value 2 to switch to a json
it didn't do anything. what exactly do i do with that information

Not possible

nevermind im just dumb. my bad. sorry. but i figured it out so nevermind


Cannot update server version, nor can I use arkmanager. Requesting assistance.

I've been running the image for about a month before I noticed that folks are unable to connect to the server. They told me I need to update the server version as the client has recently been updated. Here's the script I use to bring up the container (note that I substituted the password information with *, but they are valid strings):
#!/bin/bash

ARK=blakebot_ark

docker stop $ARK

docker rm $ARK

docker run -d \
  --name $ARK \
  -v /home/bnoel/docker_volumes/ark3:/app \
  -v /home/bnoel/docker_volumes/ark3_backups:/home/steam/ARK-Backups \
  --restart always \
  -p 27015:27015/udp \
  -p 7777:7777/udp \
  -p 7778:7778/udp \
  -e SESSION_NAME=blakebot \
  -e SERVER_PASSWORD=* \
  -e ADMIN_PASSWORD=* \
  hermsi/ark-server:latest

When looking through the documentation of this project, I'm led to believe that to update this server, I should be using arkmanager. Attempts to do so look like the following:
sudo docker exec blakebot_ark arkmanager
Invalid steamcmd_user in config file

The error seems obvious, but I'm unsure how to resolve the issue. Currently, this steamcmd_user in config file is default as is within this container... Specifically within ~/arkmanager/arkmanager.cfg the related line looks like the following: steamcmd_user="${STEAM_USER}"                                       # name of the system user who own steamcmd folder.
Finally, here's the docker logs for the container, if you'd like to see anything or lack thereof (once again, passwords have been substituted with *):
sudo docker logs blakebot_ark
Starting periodic command scheduler: cron.
_______________________________________

# Ark Server - Sat Oct  8 23:57:07 UTC 2022
# IMAGE_VERSION: '1662440547'
# RUNNING AS USER 'steam' - '1000'
# ARGS:
_______________________________________
Setting up folder and file structure...
Running command 'run' for instance 'main'
2022-10-08 23:57:07: start
2022-10-08 23:57:07: Running /app/server/ShooterGame/Binaries/Linux/ShooterGameServer TheIsland\?SessionName=blakebot\?ServerPassword=*\?ServerAdminPassword=*\?MaxPlayers=20\?OverrideOfficialDifficulty=5.0\?GameModIds\?GameModIds\?Port=7777\?QueryPort=27015\?RCONEnabled=True\?RCONPort=27020\?listen -log -log
2022-10-08 23:57:07: Server PID: 69
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
Setting breakpad minidump AppID = 346110
2022-10-08 23:57:28: server is up

I'm willing to provide other info as needed.

bump

same issue when trying to stop server

same issue when trying to stop server
if you want to stop the container you have 2 options:

stop the container using docker
if you deploy your docker containers with docker compose you can use
'docker compose stop' to stop the servers, on my ark cluster we use this and we
never had problems with that approach.
stop the server gracefully with arkservermanager
exec into the running container interactively and stop it using arkservermanger like 'sudo docker exec -it your_container_id bash', then you have an interactive shell within the container and can execute everything as if you had a local install.

For updating the servers we normally just stop the stack and restart it, the image then pulls the latest version automatically.

Based on the original description, this issue is not with my image.

docker run -d
--name $ARK
-v /home/bnoel/docker_volumes/ark3:/app
-v /home/bnoel/docker_volumes/ark3_backups:/home/steam/ARK-Backups
--restart always
-p 27015:27015/udp
-p 7777:7777/udp
-p 7778:7778/udp
-e SESSION_NAME=blakebot
-e SERVER_PASSWORD=*
-e ADMIN_PASSWORD=*
hermsi/ark-server:latest

hermsi/ark-server:latest is someone else's image.


Investigate test failures: Terminal – Code Execution Helper Ensure blank lines are removed (SampleX)

Failing in Windows using Python 2.7

Closing as stale.


Enhance PrivateKeyJwtSecretValidator to support JWK client credentials

note to self: add helper to turn client secrets collection into List<SecurityKey>

was this for 2.5?

done in a PR


For table updates, retain refresh policy

The Documentation under the Help does not have this option listed with a description.  Can you please update / explain what this option does and how to use it?

Hi, can you please check page 15 and confirm?
https://github.com/microsoft/Analysis-Services/blob/master/AlmToolkit/Semantic Model Comparison and Merging with ALM Toolkit.pdf

Thank you for the quick response, it is there.  I think I was reading an outdated version of the documentation.
I have not had a chance to upgrade to the latest version, but for version 5.0.44 the link in Help > Info > Documentation takes you to the below link which is different.
https://github.com/microsoft/Analysis-Services/blob/master/BismNormalizer/Model Comparison and Merging for Analysis Services.pdf
Cody Troutwine | Business Intelligence Principal Engineer
BI-Engineering
<EMAIL_ADDRESS>From: Christian Wade @.>
Sent: Wednesday, October 9, 2024 6:59 PM
To: microsoft/Analysis-Services @.>
Cc: Cody Troutwine @.>; Author @.>
Subject: [EXTERNAL] Re: [microsoft/Analysis-Services] For table updates, retain refresh policy (Issue #304)
Caution: External email, beware of potential harmful links or attachments. If you don't recognize sender, report it to Carhartt Cyber Security using the 'Report Phish' button.
Hi, can you please check page 15 and confirm?
https://github.com/microsoft/Analysis-Services/blob/master/AlmToolkit/Semantic Model Comparison and Merging with ALM Toolkit.pdfhttps://urldefense.com/v3/__https:/github.com/microsoft/Analysis-Services/blob/master/AlmToolkit/Semantic*20Model*20Comparison*20and*20Merging*20with*20ALM*20Toolkit.pdf__;JSUlJSUlJQ!!JK3GimbO_w!iZAzMQtb5o4mrRXWBd9g_YLjITuQVAYMEBVTq0rtb7xBAVPis6FyzQGHZ1-TRQjsURhiaNFtQme2tAvnaHwVteUYxaI$
image.png (view on web)https://urldefense.com/v3/__https:/github.com/user-attachments/assets/99adc358-96f5-4033-8851-4f4a2232926a__;!!JK3GimbO_w!iZAzMQtb5o4mrRXWBd9g_YLjITuQVAYMEBVTq0rtb7xBAVPis6FyzQGHZ1-TRQjsURhiaNFtQme2tAvnaHwVbb0Iug4$
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/microsoft/Analysis-Services/issues/304*issuecomment-2403567646__;Iw!!JK3GimbO_w!iZAzMQtb5o4mrRXWBd9g_YLjITuQVAYMEBVTq0rtb7xBAVPis6FyzQGHZ1-TRQjsURhiaNFtQme2tAvnaHwVgk28V4c$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/BJOHSMKNF7MUBAZ52YHPYYDZ2WYK3AVCNFSM6AAAAABPVCDLH2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBTGU3DONRUGY__;!!JK3GimbO_w!iZAzMQtb5o4mrRXWBd9g_YLjITuQVAYMEBVTq0rtb7xBAVPis6FyzQGHZ1-TRQjsURhiaNFtQme2tAvnaHwVVT1yprU$.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>Confidential: This electronic message and all contents contain information from Carhartt, Inc. and its affiliates which may be confidential or otherwise protected from disclosure. The information is intended to be for the addressee only. If you are not the addressee, any disclosure, copy, distribution or use of the contents of this message is prohibited. If you have received this electronic message in error, please notify us immediately at<PHONE_NUMBER> and destroy the original message and all copies.

Sounds good. Glad you're unblocked.


switch to FFI::Platypus

I noticed that you are using FFI::Raw in Phash::FFI and I thought you might be interested in FFI::Platypus.  As you can see the code is less complicated because Platypus supports pointers to integers (even 64bit ones on 32bit Perls).  It should also considerably faster if you make multiple calls to dct_imagehash because there is no unnecessary method dispatch (_ph_dct_imagehash is an xsub which is much faster than the FFI::Raw call notation).

Thanks for the pointer (and the hard work) @plicease
I only did this to learn using FFI::Raw, did not know that FFI::Platypus was around.

If you are able, would you consider releasing a new version of this?  I'm hoping that usage by other CPAN authors will improve FFI::Platypus ranking in the search results, and thus improve awareness.

Graham Ollis writes:

If you are able, would you consider releasing a new version of this?  I'm hoping that usage by other CPAN authors will improve FFI::Platypus ranking in the search results, and thus improve awareness.

it is done :)
--
Cheers,
Kang-min Liu


Using Superputty.exe.config file

When launching SuperPutty.exe for the first time as a new user, I'd need to have the path to putty.exe pre-populated.  I've added it into the SuperPutty.exe.config file, but settings in here don't seem to have any effect.  Do I need to call the config file when running the executable to load the settings?
      <setting name="PuttyExe" serializeAs="String">
        <value>C:\Program Files\PuTTY\putty.exe"</value>
      </setting>

Is this what the SuperPutty.exe.config file is for?  If not, is there any other way to pre-configure the setting?
This is a fresh installation of SuperPutty <IP_ADDRESS> running on Windows Server 2012 R2

This should now work as expected, you can pre-populate the SuperPutty.config file with settings and they should be picked up on first load. Previously there was a bug that could have allowed the settings to be stored in multiple locations. Fixed as of commit: https://github.com/jimradford/superputty/commit/01df6cc2399017c0e149aeec3a6a3c20ecb44859
The Wiki has a new section about the actual configuration files locations.


Needs error handling when trying to use WebID on a server that is offline

I've been using https://dev-generator.inrupt.com to test out functionality, and now that my local server is offline, it fails badly.
We should implement better error handling for these scenarios (albeit rare, they will happen).

Triaged for when?

The fix was deployed here: https://develop.generator.inrupt.com - this url: https://dev-generator.inrupt.com is now deprecated. The spinner is no longer present on each screen change and a toastr notification is being displayed for error handling.

@Eliamar you are right that now the spinner is no longer shown, but I think the complaint was not about the presence of a spinner, but rather that no feedback like "invalid webid" is shown.
Now when I click 'log in' with an invalid webid, the error is only logged to the console, not shown to the user:

cc @james-martin-jd

This seems related to https://github.com/inrupt/solid-react-components/blob/develop/src/lib/components/ProviderLogin/provider-login.container.js#L75 maybe? I'm trying to debug this locally but having some trouble setting up my dev env for this repo, due to https://github.com/inrupt/solid-react-components/issues/137

Fixing this in #142

@megoth apparently this was already fixed but not deployed yet, but James just deployed to develop and I think this issue can be closed now, can you try now on https://develop.generator.inrupt.com/ ?

If a user attempts to log into the SDK (https://develop.generator.inrupt.com) while the server is offline, a generic Something is wrong, please try again... message is displayed as the SDK cannot know exactly what happens.

This update will be included in the next release.

@michielbdejong Also, to add to this, as a rule we're not closing issues until they are resolved on master. Develop branch is great, but can be unstable as we develop new things. It is a dev branch after all!
Once the develop branch is merged with master it is deployed to https://generator.inrupt.com which we consider to be our "prod" server.


Expected 1 input.ui-select-search but got '0' UI-Select

I am trying to update "bootstrap/select-multiple.tpl.html" by adding ng-if
var app = angular.module('demo', ['ngSanitize', 'ui.select']);
app.run(["$templateCache",function($templateCache){
  var tmpl = `

        <input custom-directive enable-format="{{$ctrl.enableMobileNumberFilter}}" type="search" autocomplete="off" autocorrect="off" autocapitalize="off"
               spellcheck="false" class="ui-select-search input-xs"
               placeholder="{{$selectMultiple.getPlaceholder()}}" ng-disabled="$select.disabled"
               ng-click="$select.activate()" ng-model="$select.search" role="combobox" aria-expanded="{{$select.open}}"
               aria-label="{{$select.baseTitle}}" ng-class="{'spinner': $select.refreshing}" ondrop="return false;">

`
        $templateCache.put("bootstrap/select-multiple.tpl.html",tmpl);
    }])

I  have just added ng-if ="true" (eventually this will replace with actual condition). But it is throwing me an error "Expected 1 input.ui-select-search but got '0'"
It works just fine once we remove ng-if.
Plunker

Hi @naresh217 ,
I think this has to do with the ngIf (seen that issue somewhere else) could you check if the workaround as described here works?
Thanks


Add get_assoc/get_embed

I've recently written a blog post about a common one-to-many form setup using LV. There's a lot of footguns to consider, but one common pain point mentioned, which I had also talked about with a few people on slack doing similar thing, is is modifying assocs/embeds (usually the *_many variant) on an existing changeset. This is possible with existing APIs (as seen in the blogpost), but it's more complex than it needs to be.

There's no function, which returns a list of changesets of the relation and transparently falls back to the unchanged field data if there are no changes (yet)
get_field returns a list of structs with changes applied, but using put_assoc/embed "forgets" those changes
The same happens when editing the structs returned by get_field and putting them back using put_assoc/embed

The code in the PR is a proposal to add a update_assoc/embed API, which basically consolidates gathering the "current state of the relation" as changesets, passes it to a user prodived function to allow for updates, and then puts the result back into the changeset. Passing data normalized to changesets should make it clear that adding additional changes is supposed to happen via the Ecto.Changeset APIs and not by applying existing changes and editing the returned struct.
I'm aware that LV is meant to have its form integration updated, but this feels useful even beyond the immediate LV forms usecase.
Edit:
One such usecase could be "assign positional values" to order assocs by, when the input didn't include such and relied on the order of the list passed into the changeset.

:+1: from me.

Still trying to fully comprehend the use case. But if it's meant to update existing entries should it raise or return an error instead of creating new data from the default?

After reading how get_field/3 works, I shifted my questions/concerns a bit:

get_field/3 only uses default if the key is not in the changes or the data. If it's in the data, even nil or %NotLoaded{} the default is ignored. I think there is no such thing as a schemaless embed or association, so default will never be used?
Assuming (1) is correct, then I think a few other questions arise:

What to do with associations that are not loaded? If they are not loaded I think you want to stop right there because you are acting on incomplete information. If you use get_field/3 on it then it will be converted to nil or [] and you have the potential to wipe your data without knowing.
What to do with nil and []?  My own personal preference is to stop right there and say there is no data to update. But I'm far removed from the use case described in the issue. If there is a big need to create new data when it doesn't exist, probably it should be opt-in?  I don't think there is a need to force people to create new data when doing updates if they don't want to.

Relation.load! prevents any issues with non-preloaded associations (it raises if things are not preloaded) and it's called in the fetching as well as in the applying changes codepaths. So accidentally wiping data shouldn't happen. Also nothing in there is "new code" besides allowing for that callback. The rest is just calling functionality already existing on the module.

What to do with nil and []? My own personal preference is to stop right there and say there is no data to update. But I'm far removed from the use case described in the issue.

The issue here is that "update" doesn't mean update existing records, but update the existing set of assocs/embeds. E.g. someone might just want to add a new record to the end of the list of assocs. As long as the field is an association/embed field there is data to update.
Essentially it maps to this:
data = %{items: []}
Map.update!(data, :items, fn cur -> [:new | cur] end)

As for the question around the default: I'll have to look at the possible values for embeds/assocs and if a default makes sense. I know that embeds can at least become nil atm (see https://groups.google.com/g/elixir-ecto/c/21He5yAPTRA), but maybe that should just be passed into the callback as is.

Relation.load! prevents any issues with non-preloaded associations

Do you mean it's not possible for someone to shoot themselves in the foot hitting this condition:
def load!(%{__meta__: %{state: :built}}, %NotLoaded{__cardinality__: cardinality}) do
   cardinality_to_empty(cardinality)
 end

Honestly not sure. Was just thinking a "you shouldn't have done that" moment probably shouldn't erase data.

In this case, I'm not sure why we would expect or want anything but a no-op or error if the association isn't preloaded.

get_field will raise if associations are not preloaded. If you don't get to that callpath then there's already changes for the association, which to my knowledge are also only possible if data was preloaded (a.k.a. using cast_assoc/put_assoc). Yes having the default option might have been the wrong call, but if you find a way to delete data unknowingly then this would affect any existing attempt to manipulate associations as well.

If you are building a brand new struct and you know it's not in the database, cast_assoc/put_assoc exist for this purpose.

The issue this is new function is trying to solve is making the editing of associations(/embeds) generic over all possible cases. When the usecase is "add an additional association record" one shouldn't need to care much how many rows are there currently (granted the assocs are preloaded). Also one shouldn't need to care if there are changes on those records or not – any tracked changes should be kept around if they're not manipulated in the callback. Both of those are really tough to get right without studing the ecto docs for minor details.

The current iteration of this function is a wrapper around put_change(fun.(get_field)) while also ensuring we always get changesets back. So I think it does abstract boilerplate but, if we are worried about its updating bits, we could also introduce a get_assoc function, which does the getting+ensuring, but without doing any writes. This way, someone can do:
one_or_many = get_assoc(...)
put_assoc(transform(one_or_many))

The benefit of this approach is that we are not introducing a new verb for modifying associations.
However, we will have to explain what is the difference between get_field, get_change, and get_assoc. AFAIK, get_field returns structs or changesets, get_change returns changesets (if any), and get_assoc would return changesets. That said, I am not sure if get_assocs is the best name.

A get_assoc would be fine with me as well. Really the goal for this is a good way to get to a clean and normalized list of existing associations, so modifying it is neither full of footguns nor full of normalization or conditionals around multiple data representations.

So I would prefer get_assoc, we just need to find a better name?
The idea is to add a note to get_field to say that it normalizes associations to structs. To get associations as changesets, call get_assoc. My only concern is that get_assoc does not reflect the "as changesets" bits and get_assoc_as_changes is too long. Another option is get_assoc(changeset, name, as \\ :changesets | :structs).

get_field already has a small note that it applies changes on relations, but yeah it could be more obvious and pointing to an alternative would be very useful.
I like the idea of providing the expected return format, but for :struct there's imo a bit of ambiguity of "which struct". Is it the base data or is it the base data with changes applied? How about making get_change accept an option around applying changes on relations. Default to the current behaviour and add an option to have it return changes as a list of changesets?

I think it is fine to say the :struct is with the changes applied because if you want the raw one you go through the data, no changeset needed.
options are tricky for get_field, because it already has a default as optional argument. So I am would officially propose get_assoc(changeset, name, as \\ :changesets | :structs).
thoughts?

thoughts?

I figured this would be an issue, so I had moved to implementing get_assoc/3 already.

@LostKobrakai I feel like I repeated this a few times but maybe didn't say it properly this is only true if the struct is loaded

get_field will raise if associations are not preloaded.

If it's built it will populate empty assocs. Which can happen if you have the parent struct id and don't want to load the entire record.

So I still think there is a bit of an issue with this new function but don't want to stop the merge if this works for everyone else. This is the flow I think can cause a problem:

You receive the parent struct id and don't care about anything but this association.
You create a new struct with just that id and preload the assoc
You call get_assoc

If step 2 is missed then step 3 will tell you the assoc is nil or [] when that might not be the case.

@greg-rychlewski isn't your comment true though basically for all changesets opereations, including accessing the struct fields themselves?

including accessing the struct fields themselves

I might misunderstand, but let's say there is a User schema with association :comments. Then %User{}.comments will return a NotLoaded struct. If you meant accessing the field through get_field, then yes it will transform to an empty association.
This stood out to me because the original intention of the PR was to immediately perform modifications based on the existing associations. In this case I wouldn't want anything normalized to empty. I would want to know if it wasn't preloaded. So personally to me it feels safer to access the field directly instead of using get_field.

Ah, good point with struct actually being correct. But get_field/get_change/... would all initialize it to empty, right? So I think regardless of that, get_assoc would be consistent. We could perhaps introduce get_assoc! to assume it is loaded?

get_field/get_change/... would all initialize it to empty, right?

Yeah exactly. This part I was actually surprised about. But I'm certain there is a reason for it. I never use get_field on assocs personally.

We could perhaps introduce get_assoc! to assume it is loaded?

This feels like a really good compromise to me. And maybe a note in the non bang function about this normalization. Unless it is already well understood by most.

Actually sorry I spoke to soon. get_change is just taking the value
def get_change(%Changeset{changes: changes} = _changeset, key, default \\ nil)
      when is_atom(key) do
    Map.get(changes, key, default)
  end

I sent a PR to update the docs and make the behaviour clear. We can add get_assoc! either in this PR or another one, your call @LostKobrakai.

:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart:

Sorry for bringing this back but I am thinking get_assoc should default to :struct for consistency with get_field. Thoughts?

PR here #4141.

@josevalim While I don't think it'll make much of a difference for anymore aware of all the options I'm not in favor of changing the defaults for anyone else. I've seen quite a few people in the past few month actively debug their code and still not notice that doing a fetch_assocs_somehow |> modify |> put_assoc with structs instead of changesets to silently swallow existing changes on those assocs.
This is not a concern for get_field/get_change as put_change will always just work.
If the default is changed I think there should be a warning in the documentation that hints to put_assoc likely not doing what is expected when it's passed a struct (or a changeset it build from those structs).
get_field includes:

For relations, these functions will return the changeset data with changes applied. To retrieve raw changesets, please use get_change/3.

On get_assoc I think that would need to be highlighted even stronger including what this means to a laterput_assoc.
Therefore I'd prefer people opting into getting raw structs rather than opting into getting changesets.


Set up CI of some sort

Improvement
master doesn't compile right now, and we have some tests for important properties of the model. We should make sure that branches compile and that tests run and pass.

I'm... wrong? I think I'm wrong? It seems like maybe this is just for scala steward PRs? I don't know


crash on usb unplug

unhandled error if you unplug the usb cord after being connected.

I can't duplicate this.

next time it happens I'll get some more error info. I'm using a desktop cnc with an arduino controller.

It is very likely dependant on the specific USB serial interface (FTDI, 16U2, CH340) and version of Windows driver you have.

could be, its not a critical bug but I've had it do it while resetting the machine or powering it off after cutting.

error.txt
win7 64, ch340 serial adapter on the arduino.

I'll add an exception handler for Denied, that should take care of the issue.

thanks and thanks for the great program too.

Fixed


add support for opus files

This adds support for opus files.
It seems to work fine on my limited set of test files. One thing I noticed is that sometimes a tag is written in uppercase "TITLE" (when set with kid3) and sometimes in lowercase "title" (when converted from mp3 with ffmpeg). To be case insensitive I used to_uppercase().
Another thing I noticed is that the duration is not displayed. However it seems like it is not supposed to be part of the header but should rather be determined from the last ogg page of the stream.

I think you can use https://doc.rust-lang.org/std/primitive.str.html#method.eq_ignore_ascii_case to avoid a couple of allocations.

In that case, using the match would not be possible anymore, right?
It would have to be replaced with multiple if "TAG".eq_ignore_ascii_case(key.as_str()) {} statements.
I think the code is less readable this way, but if it is faster it seems to be a good idea nonetheless.

There's a small thing you can do to make it easier on the eyes: https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=717ab9c3845ae87f29342a5aed1f8537 (hmm, it might be worth putting that into a crate).
But I don't thing the if-else chain is so bad. It's pretty clear what it does, and I think it's worth avoiding an allocation for each comment.

That macro seems to be a really good way to deal with this if-else chain. This way, it could easily be applied to the read_vorbis function as well, as the vorbis spec states that it also uses case insensitive comments.
However, I don't really know where the best place to define macros is. Inside the file that uses it? In an extra module?

Either way if fine, I think you can import it just like a function if it's in the same crate. Maybe you can make a small module for it, or put it in lib.rs.

Another thing I noticed is that the duration is not displayed. However it seems like it is not supposed to be part of the header but should rather be determined from the last ogg page of the stream.
There was a similar can of worms for other formats (hence the existence of mp3-duration). I think this is fine to defer, supporting metadata is already a good improvement!

The macro is very neat, this does make things more readable. I would suggest leaving it in the file that uses it, or alternatively in utils.rs which is a small dumping ground for code with no great home.
Can you also make use of your sample.opus test file in test_read_metadata() so it becomes part of the test suite?

I put the macro at the top of the metadata.rs. Initially I wanted to put it into utils.rs, but I if I remember correctly, this implies a certain order of the mod ... statements in main.rs such that mod utils must be called before any mod that uses the macro.
As it has the same requirements for case insensitivity, I also applied the macro to the read_vorbis function.
I also included the sample.opus in the tests. To ensure that case insensitivity works, I changed the comments in the opus file to use varying casing, like "AlBuMaRtIsT" or "ARTIsT".

if I remember correctly, this implies a certain order of the mod ... statements in main.rs such that mod utils must be called before any mod that uses the macro

I don't think so, or at least I've never seen such a case in Rust.

I just tried it out and putting the macro in the utils module causes a build error (cannot find macro match_ignore_case in this scope) and a warning (unused macro definition). Using #[macro_use] mod util; does not fix it. However, if I move #[macro_use] mod util; above mod index in the main.rs, it builds fine again.
Looking it up, I found a reddit thread, where someone linked this post about macro definitions. However, given that the reddit thread is 5 years old, it might be outdated...

Does it work if you import it, e.g. use crate::util::match_ignore_case?

Not directly. Adding this use leads to an unresolved import crate::utils::match_ignore_case, no match_ignore_case in utils error.
Trying around some more, I found that annotating the macro with #[macro_export] and then adding use crate::match_ignore_case (note the missing utils) works.
It seems like #[macro_export] "moves" the macro to the root of the crate...

TIL: it seems that the "correct" incantation is:
#[macro_export]
macro_rules! match_ignore_case {
    (match $v:ident {
        $( $lit:literal => $res:expr, )*
        _ => $catch_all:expr $(,)?
    }) => {{
        $( if $lit.eq_ignore_ascii_case(&$v) { $res } else )*
        { $catch_all }
    }};
}

pub use crate::match_ignore_case;

This is interesting. I think the way this works is that #[macro_export] makes the macro visible for the crate root and it can be accessed through crate::macro. Adding pub use ... then makes the macro accessible through the module foo, which is what we initially wanted to achieve.
I think we should do that, since it makes clear where the macro actually comes from.

Ship it! 🥳


Upgraded Ruby to 2.6.3 and 22 gems

Upgraded Ruby to 2.6.3 and 22 gems including
locking down rspec-rails gem and unlocking sqlite3 gem.

new PR

new PR

Pruning


Broken link in Related Articles

Hi,
In the Related Articles at the bottom there is a broken link for 'How to mitigate risk when using private package feeds'.
Is there still a page to use for this?

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 5162e55f-4ab3-ad76-c5ad-300a71e4b733
Version Independent ID: b22a98c8-57a7-258a-0941-70fabbca2ac2
Content: Restore NuGet packages in Azure Pipelines - Azure Pipelines
Content Source: docs/pipelines/packages/nuget-restore.md
Service: azure-devops-pipelines
Sub-service: azure-devops-pipelines-packages
GitHub Login: @ramiMSFT
Microsoft Alias: rabououn

@xand3rx -- thank you for your question.  This is the correct link:

https://azure.microsoft.com/en-us/resources/3-ways-to-mitigate-risk-using-private-package-feeds/en-us/

I am updating the link in this article.


Date picker is difficult to manually edit

If you click on the date picker and try to edit it, sometimes it rejects your edits and resets the time. For example this happens to me,

I want to change the day of a query
I click after the day part of the datetime to put the insertion point there
I delete it and start typing a new day
The picker resets itself to 1970-01-01 00:00

Things seem to work if I delete the time before changing the date, but I don't think I should have to do that.

I feel your pain brother.

Latest Pivot release (0.8.22) comes with a date picker UI and comprehensive timezone support.


[BUG] Document Content Error

Describe the bug
Content error at  the document : component-samples/demo/device/README.md
To Reproduce
Steps to reproduce the behavior:
In the document : component-samples/demo/device/README.md
Instruction says:
$ cd /component-samples/http-device-sample/
But it should be:
$ cd /component-samples/device/
Expected behavior
Wrong Content
Screenshots

Test Environment
Provide details about your test environment.
Additional context
Add any other context about the problem here.

Great catch @nccu-ben. Can you share a PR with the changes?

Hi @DukeDavis12 , here is the PR.
https://github.com/secure-device-onboard/pri-fidoiot/pull/578
If you could look it over, it'll be my honor.


inconsistent with blog post

Hi,
this doc is not consistent with original blog post:
https://blogs.technet.microsoft.com/nexthop/2018/04/18/disabling-tls-1-01-1-in-skype-for-business-server-2015-part-1/
Which should be considered authoritative?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 8abfab81-725e-2c4c-6409-d796b82ee5b1
Version Independent ID: 5f506445-eed0-3e0c-2979-5e20a13257c9
Content: Disable TLS 1.0/1.1 in Skype for Business Server 2015
Content Source: Skype/SfbServer/manage/topology/disable-tls-1.0-1.1.md
Product: skype-for-business-itpro
GitHub Login: @heidip
Microsoft Alias: heidip

@TobieFysh Thank you for this feedback
I am not sure which article is authoritative. Let me get this over to the Teams/Skype for Business team so we can get this addressed.
The team will get this prioritized into a sprint plan. Thank you for reporting and making the docs better. Much appreciated.
I made a note to request the team to update this when the work is complete.

Please be clear in what you think is inconsistent between the two pieces of documentation.

Hi @MicrosoftHeidi how are you?
I think the user @TobieFysh refers to these points:
In Fully tested and supported servers section:
Docs does not mention this
Survivable Branch Appliance (SBA) with Sfb Server 2015 CU6 HF2 or higher (it is the vendor's responsibility to package the appropriate CU and provide it, be sure to confirm with your vendor that the updates have been made available for your appliance)
Survivable Branch Server (SBS) with SfB Server 2015 CU6 HF2 or higher
Lync Server 2013 Edge Role Only**
in Out of Scope section: Docs does not list:
Lync Server 2010
Skype for Business for Windows Phone - Retired
Cloud Connector Edition***
at least, those are the diffs I found.

@MicrosoftHeidi please share your comments on the required clarification, given by @get-itips

@TobieFysh We appreciate any feedback that improves the content in the Microsoft docs but we haven't had any response from you so we are going to close this issue.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.

@officedocsbot close


Crash on dbloginfree(login)

I am having a strange error while attempting to debug a program that I wrote.  I am running devices with two different iOS versions.  Some are running iOS 7.1.2 and some are running 9.3.5.  The devices running 7.1.2 have no issue whatsoever and function exactly as desired.  The devices running 9.3.5, however, run in to the problem some others have had with the "dbloginfree" line.  I've updated the SQL Client with the most recent updates using CocoaPods still with no success.  The 9.3.5 devices will function as intended about 20% of the time, failing with the error below the other 80%.  Any tips?  Thanks in advance!

Please try the types branch.

Ah didn't notice that branch, thank you.  Will I be able to just replace the SQLClient.h and SQLClient.m in the types branch over my current ones or is there more I have to do?

That should be it. Keep in mind that the API changed slightly so you may have to update your consuming code.

I am able to compile now after copying over the new SQLClient.m and SQLClient.h as well as linking the new libsysbdb.a, however I am now getting this error.

I'm sure this is where I would need to change my code to match the new API, but I am unsure where to start.  Thank you very much for your help, I am pretty new to iOS development and am grateful for you time in assisting me.


🐛 Fixed Content-Type for RSS feed

This sets the correct Content-Type (application/rss+xml; charset=utf-8) for the RSS Endpoint as mentioned in the issue #20634
I hope I did everything correct here - when running yarn dev, it definitely sends the correct Content-Type now.
Closes #20634

   1) Frontend behavior tests
       extended routes.yaml (5): rss override
         serve /podcast/rss/:

      AssertionError: expected 'application/rss+xml' to equal 'application/rss+xml; charset=utf-8'
      + expected - actual

      -application/rss+xml
      +application/rss+xml; charset=utf-8

      at Assertion.fail (/home/runner/work/Ghost/Ghost/node_modules/should/cjs/should.js:275:17)
      at Assertion.value (/home/runner/work/Ghost/Ghost/node_modules/should/cjs/should.js:356:19)
      at /home/runner/work/Ghost/Ghost/ghost/core/test/regression/mock-express-style/api-vs-frontend.test.js:1563:61

Interesting. I have never changed anything regarding the charset=utf-8 part.
Should I just update the test to check for application/rss+xml, or how should this be fixed?
This would be the "easiest" way:
# File ghost/core/test/regression/mock-express-style/api-vs-frontend.test.js
# Line 1559

            return localUtils.mockExpress.invoke(app, req)
                .then(function (response) {
                    response.statusCode.should.eql(200);
                    response.template.should.eql('podcast/rss');
-                    response.headers['content-type'].should.eql('application/rss+xml; charset=utf-8');
+                    response.headers['content-type'].should.eql('application/rss+xml');
                    response.body.match(/<link>/g).length.should.eql(2);
                });

Hi @SteffoSpieler! Thanks for the PR 🙏🏻 This should be available in the next scheduled Ghost release (Friday)


Update LAB_AK_07_Lab1_Ex3_Scheduled_Query.md

change was reflective of PIM and AAD P2 licensing with the ALH
Related Issue
Link related Github Issue 🢂 Fixes # . (Include issue number after #)
Checklist
Mark completed with "x" between brackets, "[x]", or checking the box once the PR is created:

[ ] Has related GitHub Issue 💥 Create Issue 📝
[ ] Tested it
[ ] Read the PR collaboration guide 👓 Collaboration Guide 📝

Changes proposed in this pull request:

I made some minor changes to the PR and will merge in my branch.


More from this collections - ultra vertical cards

https://canary.kodadot.xyz/ahk/gallery/291-2

@prury Is there still a problem? I can't reproduce

can't reproduce either, closing

@shashkovdanil happening again
https://canary.kodadot.xyz/ahp/gallery/50-77

good for now

in drop page

Guys I think we have a problem here 😂


Using a single SP endpoint to handle multiple IdPs

If I wanted one endpoint that can service multiple IdPs, it would be advantageous to be able to peek at the encrypted data to get information as to which user the request came in from, and in turn use that to determine which cert to verify the signature against.
But is such a thing possible with this library (again, without parameters or unique endpoints)? Multiple targets would work, but would add their own security considerations.
I could disassemble and decrypt the payload myself to get that initial information, but that would duplicate code (though it might come down to that).

My recommendation is to create different endpoints per IdP and then you can load its SAML settings and then process the Response.
If you have 1 unique endpoint,

what happens if 1 user is registered in multiple endpoints?
what happens if there isn't a direct way to relate a user with an IdP (For example imagine you don't match users on IdPs based on the domains, and the user does not exist yet on the final app).

The "endpoint" that matches their IdP is the only one we're interested in.
The user is always related to one (or more) IdPs - and if they aren't in the system their first association should be with that IdP.

I appreciate the input - I realize this isn't ideal for all situations, but for the given constraints this single endpoint does the job. When I first started with this package I wasn't sure if it could even work (thus my question).

You can implement the X IdP -> 1 unique endpoint concept.
Your SP data will be unique, the IdP data will change based in something you figure out to recognize the user and a specific IdP, but as I mentioned, that relation isn't easy.

That's basically what I ended up doing for this iteration.

This might be a good feature addition to this package, if the authors agree.
It's something I will be working on for a future iteration of a project I'm involved in.
@MartinFalatic Are you able to share your code and/or create a pull request?

I don't have code that I can share, but if I were going to do this in a more scalable way (for handling lots of providers) I'd do what @pitbulk suggested and extend the classes. Time constraints and a limited handful of providers didn't make that a priority.


Allow for AdmissionPolicy creation under namespaces

Currently AdmissionPolicy is a cluster-scoped resource. We should add an equivalent namespaced resource, so that users can create admission policies under the namespaces they have rights to, letting the controller reconcile them.
Under this mode, the controller should create the ValidatingWebhookConfiguration resources in such a way that  all Rules in that admission policy are namespaced and that the ValidatingWebhook is configured with the proper NamespaceSelector.

Closing in favor or https://github.com/chimera-kube/chimera-controller/issues/10 that has more details.


multiCapabilities ignores spec

Hi
I'd like to be able to use the multiCapabilities feature like this:
multiCapabilities: [
    {
        browserName: 'chrome',
        specs: ['path/to/test-1-suite.js']
    },
    {
        browserName: 'chrome',
        specs: ['path/to/test-2-suite.js']
    }
],

However, Protractor ignores the specs object in both cases, and bails out with an error that it couldn't find the specs.
Would this be simple to implement?
many thanks
Matt

@YukonSaint
@hankduan
I am trying parallel execution for angular application using protractor-cucumber-framework , i have tried with 2 types of capabilities but i am getting only last executed feature file json report , below are the 2 types of capabilities i have used.
1)
capabilities: {
browserName: 'chrome',
shardTestFiles: 'true',
maxInstances: 3,
},
2)
multiCapabilities: [
{
shardTestFiles: true,
browserName:'chrome',
},
{
shardTestFiles: true,
browserName: 'internet explorer',
}
],
my cucumber opts look like this:
cucumberOpts: {
require:[ 'Generic_Protractor/StepDefinitions//*.js', 'Generic_Protractor/Support//*.js' ],
format: [ 'json:Generic_Protractor/Report/cucumber_report.json', 'pretty' ],
plugin : "pretty",
keepAlive: false
}

Please help me out to get complete json report.
Thanks in advance


Add missing required arguments in call to show_tooltip_popup()

When hovering over the error indicator in the gutter, the following error is displayed in the console:
Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 1082, in run_
    return self.run(edit, **args)
  File "~/Library/Application Support/Sublime Text 3/Packages/TypeScript/typescript/commands/quick_info.py", line 146, in run
    self.show_tooltip_popup(display_point, error_html, None, None)
TypeError: show_tooltip_popup() missing 2 required positional arguments: 'info_html' and 'doc'

The call to show_tooltip_popup() is missing several required positional arguments, this PR fixes the method call to include what is required.

Confirmed both the bug, and that this fixes it! Thanks!


V2.3.0

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe:

License is not an SPDX identifier (or a custom LicenseRef) nor an SPDX license expression.

Documentation on acceptable licenses can be found here.

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

The build section contained an unexpected subsection name. patches is not a valid subsection name.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@hobu Thanks so much for helping out with this! I was planning on working on the Windows builds today but it looks like you already have a handle on that.

@hobu It looks like you're on a roll so I don't want to get in the way and slow your momentum. In case it helps, though, I was going to try the following bld.bat file,
mkdir build && cd build

cmake -LAH -G "NMake Makefiles" ^
  -DCMAKE_INSTALL_PREFIX:PATH=%LIBRARY_PREFIX% ^
  -DCMAKE_PREFIX_PATH:PATH="%LIBRARY_PREFIX%" ^
  -DCMAKE_BUILD_TYPE=Release ^
  %SRC_DIR%
if errorlevel 1 exit 1

cmake --build . --target install --config Release
if errorlevel 1 exit 1

python -m pip install wrappers\pyrichdem --no-deps -vv

I don't have access to a Windows machine at the moment so I can't test this, unfortunately.

Looks like we need a patch to add <numeric> somewhere for windows

These latest errors look to be a little trickier. I may have to track down a Windows machine.

Thanks for all the hard work!


Incomplete German Translation in DBeaver

Description
Hi DBeaver Team,
I've noticed that the German translation for DBeaver is still incomplete, with many parts of the application not fully translated. Some areas in the UI and settings are still shown in English or have partial translations.
I would like to contribute by reviewing the existing translations and completing the missing parts. I plan to go through the application and update the German translation files to ensure a consistent and complete user experience for German-speaking users.
Please let me know if there are any specific guidelines or processes to follow for contributing translations, or if I should simply submit pull requests for the missing translations.
I look forward to helping improve its German language support!
Best regards
DBeaver Version
Community Edition 24.2.1
Operating System
Windows 11
Database and driver
No response
Steps to reproduce
No response
Additional context
No response

Hi, @alexander-hermann
Here is our wiki about localization contribution https://github.com/dbeaver/dbeaver/wiki/Localization

Probably duplicate of https://github.com/dbeaver/dbeaver/issues/36383


Use chocolateyBeforeModify.ps1 for stopping and deleting services so that it isn't repeated in install and uninstall

This applies to at least Kibana, Prometheus, and Kafka


fix instance utilization

The steady state instance count for our frontend service on App Engine suddenly increased from 1 to 2 recently, on 6/17:

The timing coincided with a deploy, but we generally deploy multiple times a week, and we haven't made any architectural or utilization changes recently, so I kind of doubt this was self inflicted. The same thing happened to Bridgy Fed a week later, which I haven't deployed or made any other changes to since April:

Maybe a scheduler change on Google's side. Ugh. I'll ask on the group.

Posted on the group: https://groups.google.com/g/google-appengine/c/EvX2duPXMXI

I tried updating the auto scaling config in app.yaml to this:
automatic_scaling:
  max_idle_instances: 1
  target_cpu_utilization: .9
  min_pending_latency: 500ms
  max_concurrent_requests: 30

Seems like it's helping a bit so far.

That did the trick. Still really curious what changed on App Engine's end, but 🤷. Closing.

Bridgy:

Bridgy Fed:


[Server] Can't find the root component

Error
Warning: React can't find the root component node for data-reactid value .1znfm1cj85c. If you're seeing this message, it probably means that you've loaded two copies of React on the page. At this time, only a single copy of React can be loaded at a time.
/home/xxx/dev/T411_SeedWarning/node_modules/react/lib/ReactMount.js:715
firstChildren[0] = deepestAncestor.firstChild;
Reproduction
Sources

Get the source
run "npm install"
run "docker-compose up -d redis"
run "npm start"
Go to localhost

There is two react loaded up in my server ?
I don't think so, get a look at this script I made.
node ./findReactDependencies ./node_modules react
node ./findReactDependencies ./node_modules React
node ./findReactDependencies ./node_modules react-dom

These commands show that there is no hardcoded dependencies of react or react-dom in dependencies.
All dependencies that I use are in "peerDependencies".
PS : There are hardcoded dependencies in "examples" folder of material-ui.
But (!) I deleted "examples" folder of material-ui just to make sure !
There is an error in your application
Yeah maybe.
When I change "componentWillMount" to "componentDidMount" in this file the application works fine.

This is not about material-ui.
This is about react.js and the utilisation of "componentWillMount" + async response.
More information here : https://github.com/reactjs/react-page/issues/47


npm task detection should also detect scripts

My test case was the following package.json
{
  "name": "projections",
  "version": "1.0.0",
  "description": "",
  "main": "webpack.config.js",
  "scripts": {
    "build": "webpack --config webpack.config.js",
    "dev": "webpack-dev-server --config webpack.config.js --open"
  },
  "author": "waderyan",
  "license": "ISC",
...

Dups #4363


aws iot connect problem

1. SDK version（SDK 版本）
{
CSDTK42_Update2_18_7_27
}

2. In what kind of operation problems appear, and how to reproduce the problem ?（什么样的操作步骤问题会出现，是否是稳定复现，如何复现问题？）
{
I want to connect aws iot mqtt broker with A9 device
i use demo mqtt_ssl code
i have tryied many times but always it give me errors
like 258 or 256 error

}

Hi, I also have this problem. Did you solve it?

I have it running now, by making these changes:
change
ci.ssl_min_version   = MQTT_SSL_VERSION_SSLv3;
to
ci.ssl_min_version   = MQTT_SSL_VERSION_TLSv1_2;
delete:
ci.entropy_custom    = "GPRS_A9";
ci.will_qos = 2;
ci.will_topic = "will";
ci.will_retain = 1;
memcpy(strstr(willMsg,"GPRS")+5,imei,15);
ci.will_msg = willMsg;

@farmsensor  Hello! I have this problem too! Deleted as you indicated. Here is some of the code
MQTT_Client_t* client = MQTT_ClientNew();
MQTT_Connect_Info_t ci;
MQTT_Error_t err;
memset(&ci,0,sizeof(MQTT_Connect_Info_t));
ci.client_id = imei;
ci.client_user = CLIENT_USER;
ci.client_pass = CLIENT_PASS;
ci.keep_alive = 60;
ci.clean_session = 1;
ci.use_ssl = true;
ci.ssl_verify_mode = MQTT_SSL_VERIFY_MODE_REQUIRED;
ci.ca_cert = ca_crt;
ci.ca_crl = NULL;
ci.client_cert = client_crt;
ci.client_key  = client_key;
ci.client_key_passwd = NULL;
ci.broker_hostname = BROKER_HOSTNAME;
ci.ssl_min_version = MQTT_SSL_VERSION_TLSv1_2;
ci.ssl_max_version = MQTT_SSL_VERSION_TLSv1_2;
It connects to the server and immediately disconnects. Help, how you defeated the problem in more detail.
BROKER_IP  "a19eh4w67cred3-ats.iot.us-west-2.amazonaws.com"
BROKER_PORT 8883
BROKER_HOSTNAME "us-west-2.amazonaws.com"
CLIENT_USER NULL
CLIENT_PASS NULL
SUBSCRIBE_TOPIC "$aws/things/ThingOne/shadow/update/accepted"
PUBLISH_TOPIC   "$aws/things/ThingOne/shadow/update"
PUBLISH_INTERVAL 5000
PUBLISH_PAYLOEAD "{ "state": { "reported": { "state": 0 } }}"

I have it running now, by making these changes: change ci.ssl_min_version = MQTT_SSL_VERSION_SSLv3; to ci.ssl_min_version = MQTT_SSL_VERSION_TLSv1_2;
delete: ci.entropy_custom = "GPRS_A9"; ci.will_qos = 2; ci.will_topic = "will"; ci.will_retain = 1; memcpy(strstr(willMsg,"GPRS")+5,imei,15); ci.will_msg = willMsg;

this is still not working
I am getting these two errors :
Missing encoded blocks 0/1 NbTx 2 TxBitMap 0x0\n
pending TBF,invalid data
Has anyone successfully been able to connect A9/A9G to AWS IoT core?


OpenApiRequestBody.Description missing in rendered requestBody

When setting property Description in an OpenApiRequestBody attribute, this text is omitted from the Swagger output (specifically, as a property of requestBody).
This issue can be observed using the PetStoreHttpTrigger sample, in method UpdatePet which has the attribute set as follows:
[OpenApiRequestBody(contentType: "application/json", bodyType: typeof(Pet), Required = true, Description = "Pet object that needs to be updated to the store")]
The rendered Swagger for this method's request:
"requestBody": {
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/pet"
      }
    }
  },
  "required": true
}

I think I've traced the issue to class Microsoft.Azure.WebJobs.Extensions.OpenApi.Core.DocumentHelper method GetOpenApiRequestBody - I tested the following change with success:
return new OpenApiRequestBody()
                {
                    Content = contents,
                    Required = attributes.First().Required,
                    Description = attributes.First().Description
                };

Hi, @sharpt00th
I started a PR with your solution


Added new methods sendVenue and sendContact

closes #105

+1

Thanks @Tketa for your time and effort!


RO version of 'results in organization of' not available for editing, but GOREL version is

I was creating a logical definition for 'flagellum attachment zone organization' today and didn't get the expected inferred parentage.
@ukemi and I looked at this and realized that in the editing window for creating the logical def, only the GOREL version of 'results in organization of' was available for use in the autocomplete.  The RO version of the relation was not there, even though existing terms in the ontology use it in their logical defs.
Eventually, we worked around it by adding the RO relation using its IRI, but we're unclear as to why the RO version isn't available for editing.

This sounds like a Protege UI issue. You may have not encountered this in the recent past because for a while there was an issue with the IRI of the ro_pending file, so it wasn't getting loaded correctly. ro_pending is where the GOREL version is coming from. Since this is now in RO, shouldn't the relation be obsoleted in GOREL, and its sub properties be moved under the RO relation?

Yes. It sounds like the merge of the GOREL property into the RO property is what we want. Are the sub properties appropriate for RO?

@ukemi the conservative change would be to just obsolete the GOREL 'results in organization of' and make it the superproperty of those others within GOREL. We can separately look at whether the rest belong in RO.

@balhoff this actually sounds like a good plan. I have my concerns about some of the relations in GO-REL and whether or not we should keep them. But, we need to look into this in the context of outputting conventional annotations from GO-CAM models and whether or not we can capture the relevant information in GO-CAM using the RO-sanctioned relations. If you obsolete the GOREL relations, I assume the RO one will then become available to ontology editors.

Now I am a bit confused about ro_pending.owl vs. gorel.owl. This GOREL term ('results in organization of') and its children are not even in gorel.owl, obsoleted or otherwise. On the other hand, there is a real RO term for 'results in organization of' as well as 3 out of the 4 children seen in ro_pending.owl. Should they be obsoleted in ro_pending.owl?

Btw, ro_pending.owl is the one being imported into GO.

Maybe we should look at this together and @vanaukenk and I could show you the issue we had.

Okay, I'm wondering if we could just delete ro_pending.owl. :-) Due to a technical issue it wasn't even being loaded into GO for a while anyway.


How to train the model on other gpu_id?

model = MMDataParallel(model, device_ids=range(cfg.gpus)).cuda()
When i try to train the model on gpu_id=3,it  is still on the gpu_id=0

You can specify CUDA_VISIBLE_DEVICES like CUDA_VISIBLE_DEVICES=2,3 ./tools/dist_train.sh xxxx.

You can specify CUDA_VISIBLE_DEVICES like CUDA_VISIBLE_DEVICES=2,3 ./tools/dist_train.sh xxxx.

You can specify CUDA_VISIBLE_DEVICES like CUDA_VISIBLE_DEVICES=2,3 ./tools/dist_train.sh xxxx.

Only need to modify dist_train.sh?


squaring.java

added a code to find square of a number using java.

username github- ADVOLT
date- 13 oct 2024
aim- added a code to find a  square of a number using java.