Technical issues in BLEU

This is an issue with how BLEU works and not exactly the implementation that causes an error with https://nltk.ci.cloudbees.com/job/nltk/TOXENV=py35-jenkins,jdk=jdk8latestOnlineInstall/492/testReport/junit/(root)/bleu_doctest/bleu_doctest/

There are many flaws in the original formulation of BLEU in http://www.aclweb.org/anthology/P02-1040.pdf but there's a big problem that we've all overlooked.
Equation in section 2.3 in the paper:
BLEU = BP * exp (sum (w_n * log(p_n)))

where p_n is the modified precision calculated with the formula from section 2.1.1 and w_n is the corresponding weights as per each order of ngram set by the user.
Consider the case where the numerator in the p_n formula of section 2.1.1 is 0 for every order of ngram. So log(p_n) becomes invalid because the logarithm curve is asymptotic at 0 (giving a math domain error).
So if the solution was to simply set log(p_n) = 0 if p_n == 0 else log(p_n) then we get into another problem when the sum of all log(p_n) is 0 and our exp(0) returns 1 which gives perfect BLEU scores for 0 precision.
The assumption is that BLEU is measured at corpus level so having absolute 0 for all hypothesis-reference pairs for all order of ngram seems ridiculous.
So at segment level, there seem to be multiple ways to overcome that according to http://acl2014.org/acl2014/W14-33/pdf/W14-3346.pdf .
How should we proceed with the implementation of BLEU in NLTK?

Implement the Chen and Cherry (2014) methods and enforce one of the smoothing by default
If numerator == 0, do the "stupid" smoothing i.e. to add 1 to numerator and denominator (name from http://www.aclweb.org/anthology/D07-1090.pdf)
Leave it as it is, and use the awkward doctest as an example of how BLEU is inadequate at sentence level

Given the smooth_bleu() method from https://github.com/alvations/nltk/commit/1ee6ffdb883d4b62ce2e9083bce0e93a32c6a319
Trying to smooth an absolute zero still looks horrifying since smoothing gives 0s the benefit of saying "it's not fully wrong, it's just that I don't see it as the same the reference(s)":
>>> ref = 'The candidate has no alignment to any of the references'.split()
>>> hyp = 'John loves Mary'.split()
>>> sentence_bleu([ref], hyp)
0.09697196786440505
>>> sentence_bleu([ref], hyp, smoothing_method=1)
0.009697196786440506
>>> sentence_bleu([ref], hyp, smoothing_method=2)
0.04848598393220253
>>> sentence_bleu([ref], hyp, smoothing_method=3)
0.017142384015481196
>>> sentence_bleu([ref], hyp, smoothing_method=4)
0.976842555469704
>>> sentence_bleu([ref], hyp, smoothing_method=5)
0.006220754638929109
>>> sentence_bleu([ref], hyp, smoothing_method=6)
0.09697196786440505
>>> sentence_bleu([ref], hyp, smoothing_method=7)
0.9501326913453797

The default interpretation of BLEU depends on what users are hoping to achieve, and also what we want to encourage. Do users want the original but flawed BLEU, or something that is more practical for real world usage?
If the MT community has settled into a certain interpretation of BLEU, we should probably use that. The original BLEU formulation can probably be renamed to something like bleu_classic or bleu_original.

@hoontw I think there's still no consensus as to how to handle sentence-level BLEU yet. But I think the hard 0 implementation is the norm (though not as described as in the paper):
alvas@ubi:~$ echo 'The candidate has no alignment to any of the references' > ref.txt
alvas@ubi:~$ echo 'John loves Mary' > hyp.txt
alvas@ubi:~$ ~/mosesdecoder/scripts/generic/multi-bleu.perl
Use of uninitialized value $ARGV[0] in string eq at /home/alvas/mosesdecoder/scripts/generic/multi-bleu.perl line 8.
usage: multi-bleu.pl [-lc] reference < hypothesis
Reads the references from reference or reference0, reference1, ...
alvas@ubi:~$ ~/mosesdecoder/scripts/generic/multi-bleu.perl ref.txt < hyp.txt
Use of uninitialized value in division (/) at /home/alvas/mosesdecoder/scripts/generic/multi-bleu.perl line 124, <STDIN> line 1.
Use of uninitialized value in division (/) at /home/alvas/mosesdecoder/scripts/generic/multi-bleu.perl line 124, <STDIN> line 1.
Use of uninitialized value in division (/) at /home/alvas/mosesdecoder/scripts/generic/multi-bleu.perl line 124, <STDIN> line 1.
BLEU = 0.00, 0.0/0.0/0.0/0.0 (BP=0.097, ratio=0.300, hyp_len=3, ref_len=10)

**Would it be okay if we stick with the hard 0 implementation since it's more logical than the original BLEU? **vAnd if users doesn't want the hard zero, then the new smoothing functions can be used.

I would say so. If the original implementation is considered to be outdated then there is no reason to stick to it.

For now, it's doing the logical thing to return a hard 0 when there's 0 overlaps for all order of ngrams.


Add lxc / lxd group priv esc

Similar to the docker group priv esc, add a lxd group priv esc.

Is this about exploits/linux/local/lxc_privilege_escalation. It doesn't seem to work.


Failure to remove weak reference when objc_storeWeak() is called with nil object

Storing a nil value to a weak reference is, by my reading of the documentation, supposed to remove the weak reference.
Mostly that's what objc_storeWeak() does, but there is a situation where it doesn't do that:
Consider this sequence of events:
an object is stored to an address using objc_storeWeak(), creating a weak reference
the object is then deallocated, leading to the pointer being zeroed, but the runtime still keeping track of the address
then we want to stop using that address as a weak reference,  so we use objc_storeWeak() to store null to it
however,  because the old value and the new value are both zero, the existing implementation doesn't remove the weak reference.
The code looks like this:
// If the old and new values are the same, then we don't need to do anything.
if (old == obj)
{
return obj;
}
perhaps it should be
// If the old and new values are the same, then we don't need to do anything.
if (obj != NULL && old == obj)
{
return obj;
}

I'm fairly confident my reading of what this function should do is correct, and the code change obviously fixes it to avoid leaking reference information (for code in the base library which assumes that we can call it to delete a weak reference).
If so, I guess the associated comment would need to be improved too.

I made a pull request for this instead.


How to compile freerdp-server on window

How to compile freerdp-server program on window

This is an issue tracker, for help or questions you have the mailing list or IRC


Improve build system to produce minified version

Gulp should produce both debug and production versions, using two different webpack configurations

we're no longer committing /lib folder to git but only publishing it on npm: minification should be done by end users when building their bundle


Comments: Make love button work

The backend work for comment love should be fine, but the frontend (i.e. the buttons) need to be hooked up still.
You can take a look at how post love works. It should be a footer button that's part of src/com/content/common/. Same general idea, but the class is $NoteLove instead of $NodeLove.
The two systems (Note vs Node) should work the same, but you pass in the node as well as the note (this is to be used later by caching).
For best user experience, when a user visits a page with comments, content-comments should attempt to fetch the current user's love of comments in the current post, and update them to be the red :heart:. That should be $NoteLove.getmy(). This should only be done if user has an id>0, thus if a user refreshes the page when not logged in, we forget if they've loved or not.

This is working, but there are two issues:

When a user is not logged in, love is not being sent (i.e. you are actually allowed to love something when not logged in. The love is associated with the IP address instead)
When you open two browser windows, love something in 1 window, then try to love it in the 2nd window, it gets stuck

Actually I'm going to close this. We'll fix the bugs in a separate issue.


Search requests with high max_hits (> ~100) causes fetch error with indexes stored on Cloudflare R2.

Describe the bug
Search requests with high max_hits (> ~100) causes fetch errors with indexes stored on Cloudflare R2.
This is likely because Quickwit goes over the Cloudflare R2 limit of 1000 GetObject requests per second: https://developers.cloudflare.com/r2/platform/limits/#account-plan-limits
As discussed on discord, it would be helpful if Quickwit propagates the Cloudflare R2 error message to confirm this theory.
Steps to reproduce (if applicable)
Steps to reproduce the behavior:

Search request:

❯ curl http://<IP_ADDRESS>:7280/api/v1/reddit_comments_v05/search\?query\=frankfurt\&max_hits\=1000\&sort_by_field\=-created_utc
{
  "InternalError": "Internal error: `Error when fetching docs for splits [\"01G7YXYNFFVCQBY8Y2B5078EWW\", \"01G7YXPQQM8DER0F8112WK5C2P\", \"01G7YY6GH3N259P137D7TF6PA7\", \"01G7YWQHPA2Q1PHK8B0BXS0ZJP\"]: searcher-doc-async\n\nCaused by:\n    An IO error occurred: 'Failed to fetch slice<PHONE_NUMBER>..1449072261 for object: s3://test-bucket/indexes/reddit_comments_v05/01G7YXPQQM8DER0F8112WK5C2P.split'.`."
}%

Configuration:
Please provide:

Output of quickwit --version

❯ RUST_LOG=quickwit=debug bin/quickwit --version
Quickwit 0.3.1nightly

Just compiled the latest main branch, including this PR: https://github.com/quickwit-oss/quickwit/pull/1717
Doesn't solve the issue in this case, but the error message changes to the following:
2022-07-16T01:44:26.987Z ERROR fetch_docs: quickwit_search::fetch_docs: Error when fetching docs in splits. split_ids=["01G7YST0ZMXB9VKBQCR3B6JAEN", "01G7YY6GH3N259P137D7TF6PA7", "01G7YXYNFFVCQBY8Y2B5078EWW"] error=searcher-doc-async

Caused by:
    An IO error occurred: 'Error obtaining chunk: error reading a body from connection: unexpected end of file Ctx:Failed to fetch slice<PHONE_NUMBER>..1420730462 for object: s3://test-bucket/indexes/reddit_comments_v05/01G7YST0ZMXB9VKBQCR3B6JAEN.split'

Trying to reproduce this on Cloudflare with the hdfs dateset without success.

search?query=severity_text:ERROR  with 260 hits was ok
search?query=severity_text:INFO  with 2716636 hits was ok

leaf_search index="hdfs_large" splits=[
    SplitIdAndFooterOffsets { split_id: "01G92CG810QEQ8FN7G18ZMQF4S", split_footer_start: 28996247, split_footer_end: 29004531 },
    SplitIdAndFooterOffsets { split_id: "01G92CJ2NKBBNVQAF48AWY3ZED", split_footer_start: 28097070, split_footer_end: 28105322 },
    SplitIdAndFooterOffsets { split_id: "01G92CKXC20W7625X3493EAYC3", split_footer_start: 28951191, split_footer_end: 28959463 },
    SplitIdAndFooterOffsets { split_id: "01G92CNR3BZ62FYJJX0N3WVNHC", split_footer_start: 30100613, split_footer_end: 30109064 },
    SplitIdAndFooterOffsets { split_id: "01G92D7AG96SBF0SRJTX6HB89W", split_footer_start: 30082968, split_footer_end: 30091340 },
    SplitIdAndFooterOffsets { split_id: "01G92D95820XT2JKRFNYHP66CQ", split_footer_start: 31186028, split_footer_end: 31194332 },
    SplitIdAndFooterOffsets { split_id: "01G92DAZXR9XPQRJYV1MVFADFP", split_footer_start: 29952318, split_footer_end: 29960094 }
]

@laurids-reichardt  it seems you are using an open dataset, can you please drop the link?

Trying to reproduce this on Cloudflare with the hdfs dataset without success.

/search?query=severity_text:ERROR&max_hits=3000  with 260 num_hits runs fine
/search?query=severity_text:INFO&max_hits=3000  with 2716636 num_hits runs fine

leaf_search index="hdfs_large" splits=[
    SplitIdAndFooterOffsets { split_id: "01G92CG810QEQ8FN7G18ZMQF4S", split_footer_start: 28996247, split_footer_end: 29004531 },
    SplitIdAndFooterOffsets { split_id: "01G92CJ2NKBBNVQAF48AWY3ZED", split_footer_start: 28097070, split_footer_end: 28105322 },
    SplitIdAndFooterOffsets { split_id: "01G92CKXC20W7625X3493EAYC3", split_footer_start: 28951191, split_footer_end: 28959463 },
    SplitIdAndFooterOffsets { split_id: "01G92CNR3BZ62FYJJX0N3WVNHC", split_footer_start: 30100613, split_footer_end: 30109064 },
    SplitIdAndFooterOffsets { split_id: "01G92D7AG96SBF0SRJTX6HB89W", split_footer_start: 30082968, split_footer_end: 30091340 },
    SplitIdAndFooterOffsets { split_id: "01G92D95820XT2JKRFNYHP66CQ", split_footer_start: 31186028, split_footer_end: 31194332 },
    SplitIdAndFooterOffsets { split_id: "01G92DAZXR9XPQRJYV1MVFADFP", split_footer_start: 29952318, split_footer_end: 29960094 }
]

@laurids-reichardt  it seems you are using an open dataset, can you please drop the link?

@evanxg852000 Yes, here are the steps to reproduce a similar setup:
# download the dataset
curl -O https://files.pushshift.io/reddit/comments/RC_2022-04.zst

# decompress and ingest dataset via CLI
zstd -d --stdout RC_2022-04.zst --long=31 | ./quickwit index ingest --index reddit_comments_v05

Index config:
version: 0

index_id: reddit_comments_v05

index_uri: "s3://test-bucket/indexes/reddit_comments_v05"

doc_mapping:
  field_mappings:
    - name: created_utc
      type: i64
      fast: true

    - name: body
      type: text
      tokenizer: en_stem
      record: position

indexing_settings:
  timestamp_field: created_utc
  commit_timeout_secs: 1200
  resources:
    - num_threads: 4

search_settings:
  default_search_fields: [body]

My original setup included the base36 to i64 converted comment_id (name), of the above-mentioned dataset, as another fast field.
    - name: comment_id
      type: i64
      fast: true

It's a bit more involved to get this value inside the index, as it depends on clickhouse-local for preprocessing. If you believe this to be relevant, I'm happy to provide more instructions on how to do this.


Release pipelines should validate that a released package does not depend on unpublished packages

If a package takes a project reference on Azure.Core and is released after Core ships, it can result in a package dependency reference in the nuget package artifact produced that refers to the unpublished version of Azure.Core.
Example: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=994998&view=results

//cc: @AlexGhiondea

I believe this issue is already fixed in the release pipelines as we now check all dependencies are already released before the final release step.
/cc: @hallipr , @benbp , @weshaggard to confirm.


FancyZone losing it's zones all the time

Microsoft PowerToys version
0.59.1
Running as admin

[X] Yes

Area(s) with issue?
FancyZones
Steps to reproduce
I don't have a clue what is triggering it. The only thing I know is that I'm using it on 4 different computers, and all four of them are doing it. One is Windows 11, and the 3 others are Windows 10, they are always up to date.  This problem exists since I'm using this product well before version 0.45.
It seems to happen when I add or remove an extra screen or use a switcher.
✔ Expected Behavior
It will get back to the appropriate setting. This means: FancyZones is still activated, and still on my custom setting.
I suggest doing two things that could be an option so people can decide to use it or not:

Each time FancyZones detects a screen change, it should re-execute the code you have in the function when "activating" is used.
Add a setting that could say, "work normal" or "force a design" when used, we select a design.  When on Force mode, it would force no matter what, this design at every screen change or re-initialisation.

My guess is that you are using auto-detect configurations and it does not always work.
Kind regards,
❌ Actual Behavior
FanccyZone then reinitialises to the basic settings instead of staying in my custom setting or completely stops working.  When that happens, I need to go in the PowerToy FancyZones dashboard and turn off then back on the "Activate" switch and it comes back to the right setting by itself.
I have to do that like 20 times a day.
Other Software
No other software.  Simply a bug of PowerToy itself.

I'm sorry about this I didn't know about the "bug report"  ZIP. Here it is. I'll do it right away next time.
This is The ZIP when everything works fine.
PowerToysReport_2022-06-21-08-30-58.zip
I'll send you another ZIP as soon as the bug arised, which shouldn't take long.

Here is the ZIP after the event occured
PowerToysReport_2022-06-21-10-58-07.zip
d

Thank you for the report. This problem is known, we're working on it.
/dup of https://github.com/microsoft/PowerToys/issues/16370


Hide readmore if text fits

Hello, Is there a way to hide the read more when the text in the div fits its height?

I just loop over all the elements and check the height:
$('.text').each(function(){       if($(this).height() > 100){         $(this).readmore({ speed: 75, collapsedHeight: 100, lessLink: 'Read less' });;       }           });


4D5307E8 - Mass Effect

Validation

[X] I've read the FAQ.
[X] The Xenia build used is from a canary branch. (not MLBS/AlexVS/master/pull requests, etc)
[X] This issue isn't for help (tech support) with Xenia, or a game.
[X] I've checked if this game doesn't already have a compatibility report.

Xbox 360 Marketplace link
https://marketplace.xbox.com/en-US/product/Mass-Effect/66acd000-77fe-1000-9115-d8024d5307e8
Xenia version
https://github.com/xenia-canary/xenia-canary/commit/1ae524a8d51f7de5df8d2a1f72d7a5fb0416e266/
Issues
Audio cuts off some places without any clue why.
Graphical problems, only triangles can be seen instead of textures.
Save works and does not work you cannot load your save file.
Log
xenia.zip
Screenshots

Labels
state-gameplay gpu-drawing-missing apu-garbage

Saving fixed in https://github.com/xenia-canary/xenia-canary/commit/74b52711a36f5749ed17ac36678944a6459b7c4d
Saves made on 74b5271 work retroactively on older builds, and even on master.
internal_display_resolution between 0 and 5 fixes black tiling.

lens flares are not occluded.

FWIW the Windows version has this any time anti-aliasing is applied.


Vendor bump llama.cpp

Update to 4a8ccb37ad9c9027cbcfd5548c19cdffe48d5197

Can we please merge this? It's blocking #5800 for enabling speculative decoding.


Compile for different target hardware

Currently, depending on which hardware is targeted (ARDUINO is defined or not), the appropriate HardwareX header is included. An alternative would be to put the HardwareRaspberry and HardwareArduino classes in separate namespaces. The one which matches the targeted hardware can then be included by defining an anlias name or with the using namespace directive.

The classes HardwareRaspberry and HardwareArduino are now deprecated and will become obsolete by the time the library implementation advances.


Support non timestamp type time field

It's realy a great work,  but unfortunately i had a legacy cassandra table that use "bigint" as the only "Time Column" and it seemed the "Time Column" only support "timestamp" type.
It would be great if it can support "$__unixEpochFrom" and "$__unixEpochFrom" such as other database data source.
Thank You.

A workaround could be to use blobAsTimestamp(bigintAsBlob(someColumn)). See https://docs.datastax.com/en/cql-oss/3.3/cql/cql_reference/blob_r.html.

@unflag This one is closed by #172, is it?

Not exactly, unfortunately. There are two problems:

Support $__unixEpochFrom/$__unixEpochTo macros to use their values in query, which should be easy to implement.
Convert returned bigint value to timestamp, because without this grafana will consider it a value, not a time. And there is a question - how to decide which numeric value in a row is a timestamp and which is a numeric value? I guess, we should rely on cassandra functions and convert types in query, not in datasource.

Theoretically we can decide based on the argument's order, can we?


Adapt connectivity-proxy reconciler to version 2.9.2

Adapt connectivity-proxy reconciler to connectivity-proxy version 2.9.2

/test pre-main-reconciler-integration-k3d

/test all

/test pre-main-reconciler-integration-k3d
/test pre-main-reconciler-unit-test

/test pre-main-reconciler-integration-k3d

/test pre-main-reconciler-integration-k3d


pj-139-rework-post-edit-view add js and rebuild a post-form

Rebuild post form for using creditor for editing post content. Add JS for display this form by button click. The edit form display when get and post. But have problem with saving editform. Have this error:

No idea how does it fix

I thin this error is because ckeditor to add many tags (for example enstead of space add  ). Thats why we cant edit this form corectly

I found my problem. The problem is in an instance=post. There are send all html cod ckeditor

Fix it) Now edit post works on one page

Looks fine, but there are a lot of forms there, so all cases with forms should be tested accurately. There are no guarantees that everything works as expected

So how realize all this funktion in one view?

I think it is ok to have all that forms in one view, just write tests for processings all cases and we will see if there are any conflicts

Works fine but how to hide delete form, don't know. Tests in progress


Can't use the WinForms interop control; I get an error when I try to place it on a form.

Describe the bug
I'm trying to use the WinForms interop control from Avalonia v0.10.6 in a .NET 5 project in Visual Studio 2019 v16.10.3. However, when I try to place the control on the form using the VS toolbox, I get an error.
To Reproduce
Steps to reproduce the behavior:

Open a .NET 5 WinForms app in Visual Studio 2019.
Add references to these NuGet packages: Avalonia, Avalonia.Desktop, Avalonia.Diagnostics, Avalonia,ReactiveUI, Avalonia.Win32.Interoperability.
Open a form.
Open the toolbox.
Drag the WinFormsAvaloniaControlHost onto a form.

Expected behavior
The interop control appears on the form.
** Actual behavior **
The error shown above appears.
Screenshots
This is the error I get:

Desktop (please complete the following information):

OS: Windows 10 Home
Version  0.10.6

Additional context
N/A

I think it's be unavailable in winforms design-mode since Avalonia has to be initialized before use.

Oh, so I need to create it in code and place it on the form that way?

Yes. Also manual renderer lifetime control is needed and is currently has to be done in an obscure way:
https://github.com/AvaloniaUI/Avalonia/issues/4951#issuecomment-728763898


FLEX-1849 Shows devices with an installation date

FLEX-1849

SonarQube analysis reported 25 issues

 3 critical
 11 major
 11 minor

Watch the comments in this conversation to review them.
Top 10 extra issues
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 Device.java#L167: Make "authorizations" private or transient.
 Device.java#L193: Make "organisations" private or transient.
 DeviceManagementMapper.java#L219: The Cyclomatic Complexity of this method "convertTo" is 17 which is greater than 10 authorized.
 DeviceManagementMapper.java#L255: Refactor this code to not nest more than 3 if/for/while/switch/try statements.
 DeviceManagementService.java#L242: The Cyclomatic Complexity of this method "findDevices" is 11 which is greater than 10 authorized.
 DeviceManagementService.java#L291: The Cyclomatic Complexity of this method "applyFilter" is 17 which is greater than 10 authorized.
 Device.java#L223: Constructor has 9 parameters, which is greater than 7 authorized.
 Device.java#L384: Private method 'prePersist' is never used.
 Device.java#L394: Private method 'preUpdate' is never used.
 Device.java#L417: Method has 8 parameters, which is greater than 7 authorized.

All is well.


Need to understand the way certains form elements behave in carbon v9

Detailed description
I just need to understand the reason behind the look and feel of certain aspects of form elements.

Why is the style for number-input validation error different from the style for other form field validation errors?

Until very recently in v9, the labels of an input element would get highlighted when the element receives focus. It no longer does that. Is this change intentional? Didn't see that being mentioned anywhere.

Is this issue related to a specific component?

form input components
Add labels
discussion

@subinpc Could you please split those two…? Thanks!

@asudoh, I've moved my second question to a separate issue - #1052.

Hi, thanks for pointing this out. Looks like bug, they should look the same and not have the extra red line below.


[WS] Fix java ws mapping from stored procedures affected by note #7. (CreateAccount, EditAccount, Login)

Issue acknowledged

mapping every new stored procedures created

done. additional methods and ws mapping will be tackled in another issue.


Add jackson 2.15 to dependency test matrix

API change check
API changes are not detected in this pull request.


Add Institución Universitaria Politécnico Grancolombiano

@castillolu I am sorry, the domain poligran.edu.co is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Pack at https://education.github.com/discount_requests/application. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).


feat: add optional saveZoom parameter to persist the selected zoom

This feature will add a parallel onZoomChange prop to handle zoom changes and only saves on the geopoint object if enabled.

Hello,
Is this going to be merged soon?
Thank you for your time 😀


Support npm create defang (same as npx defang new)

npm create defang is a shorthand for npx create-defang (ie. a new package called create-defang) and should trigger defang new/defang generate

Not very important. Nobody asked for it.


Error on indexing files

Hello, just updated to 1.01 and the indexing is not working at all, crashing as soon as the extension is loaded. Previously, it worked without problems.
Here is the stack
[Info  - 10:12:51] Initialising
[Info  - 10:12:51] Reading state from c:\Users\matheus.franca\AppData\Roaming\Code\User\workspaceStorage\53002fa0ba3c26b74e526036f50f4e4f\bmewburn.vscode-intelephense-client\33d5649.
[Info  - 10:12:53] Initialised in 1287 ms
[Info  - 10:12:53] Intelephense 1.0.1
[Error - 10:13:01] TypeError: Cannot read property 'parameters' of undefined
    at v.enterScope (c:\Users\matheus.franca\.vscode\extensions\bmewburn.vscode-intelephense-client-1.0.1\node_modules\intelephense\lib\intelephense.js:39:290316)
    at c:\Users\matheus.franca\.vscode\extensions\bmewburn.vscode-intelephense-client-1.0.1\node_modules\intelephense\lib\intelephense.js:39:295874
    at n (c:\Users\matheus.franca\.vscode\extensions\bmewburn.vscode-intelephense-client-1.0.1\node_modules\intelephense\lib\intelephense.js:39:296233)
    at t (c:\Users\matheus.franca\.vscode\extensions\bmewburn.vscode-intelephense-client-1.0.1\node_modules\intelephense\lib\intelephense.js:39:293074)
    at n (c:\Users\matheus.franca\.vscode\extensions\bmewburn.vscode-intelephense-client-1.0.1\node_modules\intelephense\lib\intelephense.js:39:300855)
    at t (c:\Users\matheus.franca\.vscode\extensions\bmewburn.vscode-intelephense-client-1.0.1\node_modules\intelephense\lib\intelephense.js:39:293074)
    at n (c:\Users\matheus.franca\.vscode\extensions\bmewburn.vscode-intelephense-client-1.0.1\node_modules\intelephense\lib\intelephense.js:39:300855)
    at c:\Users\matheus.franca\.vscode\extensions\bmewburn.vscode-intelephense-client-1.0.1\node_modules\intelephense\lib\intelephense.js:39:294159
    at n (c:\Users\matheus.franca\.vscode\extensions\bmewburn.vscode-intelephense-client-1.0.1\node_modules\intelephense\lib\intelephense.js:39:294196)
    at t (c:\Users\matheus.franca\.vscode\extensions\bmewburn.vscode-intelephense-client-1.0.1\node_modules\intelephense\lib\intelephense.js:39:293074)
[Info  - 10:13:24] Indexing started.
[Info  - 10:13:24] Indexing ended. Elapsed 0s.

Thanks for you time.

Just updated to version 1.02 and the error is gone, but indexing still does not work as expected. In the 0.88 version, it would take 10 minutes to index my workspace (40k files,at least), but now it ends at 70 seconds ( the references are not working )

Are you getting intellisense? Indexing should be quicker with 1.0.2. It used to do a double pass over files for references but now just does a single pass.

No intellisense or at least in the files that I opened in vscode.

same here, only my issue #195

tracking in bmewburn/vscode-intelephense#216


License

Hi,
I'm very interested in your work and would like to re-use some of it for my master's thesis. Would you be able to provide a license file, please?
Thanks in advance!
Best,
Patrick

I add a MIT License in our project, I hope it will meet your needs.

Perfect, thank you so much!

Hi @sconlyshootery, your mono_dataset and some other files look exactly same as from monodepth2. Is the license for these files also MIT License?

No, the license for monodepth2 is not MIT license, so please follow the license monodepth2 use when use the these files.

发件人: Zeeshan Khan Suri<EMAIL_ADDRESS>发送时间: 2020年11月20日 17:09:39
收件人: sconlyshootery/FeatDepth
抄送: 舒畅; Mention
主题: [美团安全提示：疑似营销邮件] Re: [sconlyshootery/FeatDepth] License (#6)
Hi @sconlyshooteryhttps://github.com/sconlyshootery, your mono_datasethttps://github.com/sconlyshootery/FeatDepth/blob/master/mono/datasets/mono_dataset.py and some other files look exactly same as from monodepth2https://github.com/nianticlabs/monodepth2/blob/master/datasets/mono_dataset.py. Is the license for these files also MIT License?
―
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/sconlyshootery/FeatDepth/issues/6#issuecomment-731042422, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADVJQSGOSXGBNV5O7A325JTSQYW4VANCNFSM4SKDI34Q.


[GHSA-wcwm-c3mr-pxcr] easy-static-server vulnerable to Directory Traversal

Updates

Affected products

Comments
Requesting to attribute and credit this vulnerability to GitHub user @lirantal, who discovered and reported the vulnerability to Snyk.

I've added missing markdown to improve the GHSA. Thanks again for the nudges.


Fix devmon multiple instances

journalctl:
devmon[1659]: WARNING: multiple instances of devmon appear to be running (my pid=1659):

This looks actually no problem, closing.


fix broken (not smooth) pixel when crop image

I add some code to resolve the broken or not smooth image problem when image is cropped.
You can see the change I have presented in example below:
https://jsfiddle.net/thanhld24/n7ja32qb/
Ps: please read the note what I commented in javascript frame in jsfiddle

The canvas imageSmoothingEnabled property already defaults to true, and in my testing changing the imageSmoothingQuality value does not fix the issue. I ended up forking Croppie and implementing a different scaling algorithm for higher quality results: https://github.com/theodorejb/cropt


restic-wait container never terminates with some storage backends

What steps did you take and what happened:
I have found that with some storage backends (for example Longhorn, Linstor or direct CSI use of Hetzner Cloud volumes) , restic restores complete just fine but the restic-wait container waits for ever because a file or directory it expects in the path /restores/export/.velero/ is never created. This works fine with some storage backends but not with others. As a workaround, I can either delete the pods and recreate them, or mount the volume to a directory on the host and create manually the directory restic-wait is expecting. Done that restic-wait terminates and the pod(s) can start as expected.
What did you expect to happen:
I would expect restic-wait to terminate successfully upon completion of the restore with any storage backend.
Environment:

Velero version (use velero version): v1.0.0
Kubernetes version (use kubectl version): v1.14.3
Kubernetes installer & version: Rancher 2.2.6
Cloud provider or hardware configuration: Hetzner Cloud
OS (e.g. from /etc/os-release): CentOS 7

Do you have any logs from the restic daemonset pod where the restore is being run, when this happens? Would be really useful to see those (preferably while --log-level=debug) to see if there are any errors.

There's very little info in the current log, it just says Restore starting and Restore completed. I can try with log level set to debug. How do I do this?

in the velero restic daemonset, under the pod's args, just add a - --log-level=debug, so something like:
...
spec:
        containers:
        - args:
          - restic
          - server
          - --log-level=debug
          command:
          - /velero

...

It would also be useful to see what (if anything) is in that .velero directory after the restic restore completes -- is the directory even created?

It would also be useful to see what (if anything) is in that .velero directory after the restic restore completes -- is the directory even created? It should get created with a single file inside.

Related to this - it would be really useful to see this both from the daemonset pod's perspective, and from the workload pod's perspective. In the daemonset pod, this would be found under /host_pods/<workload-pod-uid>/volumes/<volume-plugin-name>/<volume-name>, and in the workload pod, it would be just wherever the volume is mounted.
The "done file" gets written from within the daemonset pod, but mount propagation should ensure that when a file's written there, it appears within the workload pod's volume dir.

Will redo a restore now and post the log after the change.

thank you!!

Here's the log of a restore after changing log level: https://pastebin.com/raw/rCBQs5Rr
I checked the directory /host_pods/86f13073-bace-11e9-8b5c-9600002d5dae/volumes/kubernetes.io~csi/pvc-10dc093e-bacc-11e9-8d6c-9600002d5da8 as specified in the log but the directory doesn't exist.
I then checked the content of the restic-wait container, and there is no .velero directory under /restores/export (export is the name of the volume). What else can I provide you? :)

I think 86f13073-bace-11e9-8b5c-9600002d5dae is the UID of the backed-up pod, but it would be different on restore. The logging here is less than useful, but if you can find out the UID of the restored pod, then check under /host_pods/<restored-pod-uid>/.... for that dir, that'd be helpful

It's not complaining about not being able to create the .velero/<restore-uid> done file, though, so I am assuming it did get created, it's just somehow not being propagated to the init container on the workload pod

Hmm, just noticing - are these all CSI volumes that you're having issues with? https://github.com/heptio/velero/pull/1615 could be relevant here. That's getting released in v1.1.

I found the file under .velero: /host_pods/318e5f05-bae2-11e9-963a-9600002d5da9/volumes/kubernetes.io~csi/pvc-31483a46-bae2-11e9-963a-9600002d5da9/.velero/30d8ca5d-bae2-11e9-963a-9600002d5da9

Hmm, just noticing - are these all CSI volumes that you're having issues with? #1615 could be relevant here. That's getting released in v1.1.

Yes that's it! the directory is indeed a level upper than the mount directory :)

And also Longhorn and Linstor are CSI, so that explains why the problem occurs with them as well.

Ah, bingo! You could try the gcr.io/heptio-images/velero:v1.1.0-beta.1 image out if you wanted (on non-production environments) to see if that fixes it for you.

Trying with it now.

Yay it works, thanks! 👍Closing since it's fixed and already tracked. Thanks again!


Show correct type for var assigned from method return

From new parser, #357

This is a regression too, simpler repro:


[zero] improving compatibility of low level zero

Overview
For now, the way of low level zero in ColossalAI sharding the OS when init may lead to an unbalanced load on each rank. For instance, if a model had 5 params(each contains some parameters) and we got 8 GPUs with Zero-DP, with the current implementation, 3 GPUs would have no OS on them. Thus, a sharding method splitting all parameters evenly is needed.
Goal
With a new sharding method, each rank would get a similar number of parameters.

repeated


#52 issues fix

Due to the "type": "module" option, it is necessary to specify the extensions in import statements, but I have fixed the issue where the modules imported in the built mui-chips-input.es.js file do not have their extensions specified.
Changed File
package.json - build option change
Reference
#52 #53

I removed type="module". Thks

Thank you for fixing it quickly. @viclafouch

Types are still missing in the v4.0.0


PARQUET-2179: [parquet-cpp] Add a test for skipping repeated fields

Add a test for skipping repeated fields to make it clear that we are skipping values and not records. Also, added some comments to the existing test for Skip of non-repeated values.

@emkornfield could you take a look?

It actually looks like this is PR against your fork?  Do you want to open one against apache/arrow?


Added support for dev dependencies + minor bug fix

Codecov Report

Merging #2 into master will decrease coverage by 0.62%.
The diff coverage is 60%.

@@            Coverage Diff             @@
##           master       #2      +/-   ##
==========================================
- Coverage   80.86%   80.23%   -0.63%
==========================================
  Files           8        8
  Lines         418      425       +7
  Branches       66       67       +1
==========================================
+ Hits          338      341       +3
- Misses         57       61       +4
  Partials       23       23

Impacted Files
Coverage Δ

ochrona/cli.py
75.67% <ø> (ø)
:arrow_up:

ochrona/__init__.py
100% <100%> (ø)
:arrow_up:

ochrona/config.py
73.26% <50%> (-1.47%)
:arrow_down:

ochrona/file_handler.py
89.36% <50%> (-6.1%)
:arrow_down:

ochrona/reporter.py
81.6% <71.42%> (+0.92%)
: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 c02499f...a6aece8. Read the comment docs.


Basics lessons spanish translation

Great @erickgnavar!  Is this ready to be merged?

This PR only contains 2 translated lessons, let me finish the whole basics section to make the merge.

Sounds good.

@erickgnavar thanks for pushing up those new lessons!
Would you mind rebasing your branch to remove those extra merge commits?  I gave it a whirl locally and there was only a minor merge conflict with the _config.yml.  Something like this should do the trick:
$ git rebase -i --autosquash --autostash upstream/master

Done

Thanks @erickgnavar.  You didn't need to squash them all, sorry if I didn't explain that well.  Was just aiming to rebase out the two merge commits from pulling in the upstream.  No worries though.
Thanks again for your help with everything, much appreciated :grinning:


adding netmonitor example

this example app uses react.js and a stand-alone twisted app to generate
events.

Thanks for this. Just tried it out, and works nicely (except for a couple of React.js warnings). Much prettier than console logs indeed, and it's great to extend the examples to include another framework.
Before I merge this:

We need you to add a license notice to the directory - and please use Apache 2.0 like we do for the rest of the examples.
While the example is a netmonitor, what it's really an example for is the use of React.js - so could you rename the directory to reflect this? I suggest "reactjs".

@goeddea is the PR okay now?

Yes!
Thanks for this!


Translate headers (e.g. website, e-mail, phone number) into different language(s)

Part of #151

To Do

[ ] Add #KEY-strings to 1st column
[ ] Add transposed-column-mapping logic to find text-labels
[ ] Replace row-indexes with #KEY-indexes
[ ] Add new fields in sheet(s) + Examples + English:

[ ] Website
[ ] E-mail
[ ] Phone
[ ] Address
[ ] ? What do you need to know?
[ ] ? Opening hours
[ ] ? Basic Rights

[ ] Decide on refactoring |?|-columns into "1 generic above details", "2 generic below details", "3 additional below details"

Deployment / Production task-list

[ ] In "Offers"-sheet: Remove #FOR-column
[ ] Set "Referral Page"-sheet column-headers to: #KEY, #VALUE, #EXAMPLE value
[ ] Set all "Referral Page"-sheet first column contents to  #KEY-column contents
[ ] Add all #offer.* rows (with #VALUE and #EXAMPLE-cells)


npm security vulnerabilities and a possible fix

Running npm install on a fresh clone yields 47 high-level security vulnerabilities according to npm. All of these seem to be coming from the lodash package.
Running npm audit fix ups the lodash version from ^4.17.11 to ^4.17.15. This fixes the security issues and npm test shows no failed tests.
I think this a proper fix, and I can submit a PR if wanted.

I'm looking into this.  All but one of them is from the dependencies.

Regenerating package-lock.json seems to fix the problem as well.
$ npm audit

                       === npm audit security report ===

found 0 vulnerabilities
 in 3742 scanned packages

Fixed with https://github.com/sahat/hackathon-starter/commit/0fc7bfa1bb439da1df022bd77c0b7923a34a6f01


system_tests_topology_disposition: KeyError: 'name'

https://github.com/skupperproject/skupper-router/actions/runs/4585208141/jobs/8097248918#step:10:2557
36:             if self.state == 'topo checking' :
36:                 # In the 'topo checking' state, we send management messages to
36:                 # ask the 4 routers about their connections. Then, parsing the
36:                 # replies, we make sure that we count the expected 6 connections.
36:                 # (The 4 routers are completely connected.)
36:                 if 'OK' == event.message.properties['statusDescription']:
36:                     try:
36:                         # debug for
36:                         # https://github.com/skupperproject/skupper-router/issues/962
36: >                       connection_name = event.message.body['name']
36: E                       KeyError: 'name'
36:
36: /home/runner/work/skupper-router/skupper-router/skupper-router/tests/system_tests_topology_disposition.py:1023: KeyError

This is in the new code merged by @kgiusti recently in https://github.com/skupperproject/skupper-router/pull/963

(this is a flaky fail, it passed upon rerun, https://github.com/skupperproject/skupper-router/actions/runs/4585208141/jobs/8101560431)

Perfect! That new code I added to the test dumps the message that is failing to parse. Now we have something to look at!
Looks like a test bug. The part of the code that throws the key error is expecting the response to a query for "io.skupper.router.connector" in map form. Specifically:
{'type': 'io.skupper.router.connector', 'name': 'AB_connector',
But when the failure happens the message is not a response to a connection query. Instead it is a response to a link query.  From the test failure logs:
body={'attributeNames': ['linkType', 'linkDir', 'linkName', 'owningAddr', 'capacity', 'undeliveredCount', 'unsettledCount', 'acceptedCount', 'rejectedCount', 'releasedCount', 'modifiedCount'],'results': [['router-control', 'out',
So there's a bug in the test state machine where it expects a different type of error.


Is documentation not updated with new releases?

I've just started to implement webpack on our project and a bit frustrated following this guide for SASS but apparently it's not working because of compatability issues with plugins, could the maintainers please keep the docs updated?
https://webpack.js.org/loaders/sass-loader/

The docs are not up to date, and I agree that it's very frustrating, esp. for those who are new to webpack (myself included).
In webpack 4, you should use the mini-css-extract-plugin instead of the extract-text-webpack-plugin.

Incompatible documentation sucks
I agree, but I guess most of the contribution in FOSS projects is voluntary? So I guess you have to give it a little bit of time for someone like you or me to point it out and send a PR ^-^
I mean yeah webpack 4 is released like just a month ago, but it's a bit late in relation to how fast js goes but still :3
:v: No complaining here :v:

@webpack-bot move to webpack/webpack.js.org


Ruby Initialization Failed

From CMD:
`2021-01-20 12:30:42.672:INFO::main: Logging initialized @2273ms
2021-01-20 12:30:42.672:INFO:oejr.Runner:main: Runner
2021-01-20 12:30:43.173:INFO:oejs.Server:main: jetty-9.2.9.v20150224
2021-01-20 12:30:56.862:WARN:oeja.AnnotationConfiguration:main: ServletContainerInitializers: detected. Class hierarchy: empty
INFO: jruby <IP_ADDRESS> (2.3.3) 2017-12-07 929fde8 Java HotSpot(TM) Client VM 25.281-b09 on 1.8.0_281-b09 +jit [mswin32-x86]
INFO: using a shared (threadsafe!) runtime
An exception happened during JRuby-Rack startup
no such file to load -- bundler/shared_helpers
--- System
jruby <IP_ADDRESS> (2.3.3) 2017-12-07 929fde8 Java HotSpot(TM) Client VM 25.281-b09 on 1.8.0_281-b09 +jit [mswin32-x86]
Time: 2021-01-20 12:31:04 +0000
Server: jetty/9.2.9.v20150224
jruby.home: uri:classloader://META-INF/jruby.home
--- Context Init Parameters:
jruby.compat.version = 1.9
jruby.rack.logging = stderr
public.root = /
rack.env = production
--- Backtrace
LoadError: no such file to load -- bundler/shared_helpers
require at org/jruby/RubyKernel.java:955
require at uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55
at file:/C:/Users/Andr%C3%A9/AppData/Local/Temp/jetty-<IP_ADDRESS>-8080-tabula.jar-_-any-5367519194782960156.dir/webapp/META-INF/init.rb:29
eval at org/jruby/RubyKernel.java:994
block in load_settings_from_init_rb at uri:classloader:/jruby/rack/booter.rb:256
each at org/jruby/RubyArray.java:1735
load_settings_from_init_rb at uri:classloader:/jruby/rack/booter.rb:243
boot! at uri:classloader:/jruby/rack/booter.rb:99
at uri:classloader:/jruby/rack/boot/rack.rb:10
load at org/jruby/RubyKernel.java:973
at

Was able to solve this by complete uninstallation
apt-get sudo apt-get purge openjdk-*  then with ruby and ruby-dev;
then re-installed openjdk-jre-11:
sudo apt-get install openjdk-11-jre

this worked for me too.

Was able to solve this by complete uninstallation apt-get sudo apt-get purge openjdk-* then uninstalling/purging ruby and ruby-dev; then re-installed openjdk-jre-11: sudo apt-get install openjdk-11-jre

where do I use these commands tho? I tried on CMD but "apt-get" is not recognized. the same error is appearing to me as I try to install tabula.exe from tabula.technology


Unlazify opam_fields in pkg type

There should not be any change for the user, so no entry in the changelog.

Another concern I have about this change is that command that used to work while your opam file was incorrect or missing will suddenly stop doing so and not necessarily with a good error message.
I believe it will be easier to improve that with my suggested approach as we would explicitly parse the opam file once and on purpose, not as a side effect of the Pkg.t creation or some other function.

At first I wanted to add some tests for the Pkg.v function, and I wanted the opam_fields function to behave the same way as other functions.
But it also makes sense to only parse the opam file if necessary, although I wonder how may usecases of dune-release don't require to parse the opam files at all.

I think I would prefer clarifying which functions need to read the content of the opam file and make it an argument. That way we can tests them more easily, remove side effects and still parse the opam file only when it is strictly required. It's not something we want to do at once but we can slowly move in that direction.

I agree with this suggestion, in the meantime I'm closing this PR and will do the work in another one.

I agree there isn't much of those, beside dune-release tag I believe they all need the opam file at some point but I think this change would introduce some strange behaviour as it is.


Fixed CollisionObject signals do not trigger on Area

Fixes #27063. Tested on Ubuntu 18.04.2 LTS

Thanks!

Cherry-picked for 3.1.1.


Looks like no way to use on windows

I did research and jax is not installable on windows
The only version that I have found that can be installed on windows is jax 0.3.7
But your software is requiring 0.4.7
Any solutions for this?

Use WSL

https://learn.microsoft.com/en-us/windows/wsl/install


Add page 3

I have added another page.
It turns out I cannot raise a pull request via git cli - it seems to do something different!

This looks good.
I shall merge - it looks like I can do that from the command line.


skip_delay not working

I am using Node-RED to sync Alarmo and an Xfinity XHK1-UE Keypad.
Using a call service node in Node-RED, I am able to arm Alarm changing to from 'disarmed' to 'armed_home' however the exit delay is being skipped despite inclusion of the "skip_delay":"false" setting.
How do I send a command to Alarmo to arm the system but NOT skip the exit delay? Is there more examples of yaml or JSON that I can have a look at to make this work with an exit delay. Thanks for any assistance.
Here is an example of my code in Node-RED:
[{"id":"d6806870.af4e58","type":"api-call-service","z":"41ae7e4.987888","name":"Alarmo: armed_home","server":"7888ef36.da41c","version":3,"debugenabled":false,"service_domain":"alarmo","service":"arm","entityId":"alarm_control_panel.alarmo","data":"{"mode":"home","code":"2516","skip_delay":"false"}","dataType":"json","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":600,"y":460,"wires":[[]]},{"id":"7888ef36.da41c","type":"server","name":"Home Assistant","version":1,"legacy":false,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true}]

I should have been using 'armed_away'; problem solved.


⚠ Quirk Club Argentina (Payment Gateway) has degraded performance

In 03390fd, Quirk Club Argentina (Payment Gateway) (https://us-central1-quirkclub-dev.cloudfunctions.net/api/check/payment-gateway-ml) experienced degraded performance:

HTTP code: 200
Response time: 6535 ms

Resolved: Quirk Club Argentina (Payment Gateway) performance has improved in 27b181c.


Add metrics to windows staging pipeline using public registry image resource

This should use the public concourse registry image instead of the forked one.

/assign bkatyl


Remove version: LuminanceHDR.LuminanceHDR version v.2.6.0

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

Close with reason: Duplicate;


making DTO class to be a record (C# 9.0)

In theory, anywhere that you have a class that holds information and is immutable, you should seriously consider making it a record. While the book is about C# 9.0 it is better the features of C# 9.0 be considered in examples of the book. The CTO class used in chapter 8 is a good candidate to be changed to record.

It depends on the context. The code in the chapter 8 example is just a small part of an application so one can't decide this based just on that code fragment. Everything depends on the intended usage of that class in the overall application.
Anyway, being implemented as a record or not is more a matter of how equality is handled than a matter of being immutable or not. Immutability is translated with {get; init;} properties, while records are characterized by how equality works for them.

Two records are considered equal only if all their properties have the same value which is the same equality applied to structures.
Two generic objects are considered equal only if they are the same object, that is when pointers comparison succeeds.
Two objects representing an entity or an aggregate are equal if and only if they have the same value for the key properties.

For sure Value Objects (see chapter 12), such as an Address should be implemented as a record, as suggested in the book since they have no identity and behave like structures.
For what concern query results that do not represent value objects, it depends on if you are using or not the CQRS  pattern (see chapter 12). If you are not using CQRS and if the DTO has a property that works as a key it should not be implemented as a record since records have no identity. However, if the DTO has the only purpose of returning a query item, it should be read-only and it should be defined as immutable (all properties should be {get; init}).
In chapter 8, probably that DTO might be defined as immutable, but this depends on if the query results are editable or not, which is not clear from the code snippets in the examples.
On the other side, if one is using CQRS, query results must never be editable and have record semantics also if they contain some key properties. As a matter of fact, a query result might contain the key properties of several objects or of no object, they are just lists of name-value pairs.

Thanks for your comments


[Feature] Add RBAC mode

In the version v1.6.0 later, Kubernetes default use RBAC auth mode.

Hello,
I would be interested to help you on the project.
Would you have information on how you want to make the changes?
cc @kairen
Maxence

@flemzord Thank you for your help and reply!! Currently I have some functions need to complete with self. If any roadmap to planning, I will notify you.

you have an idea when the feature will be available?

Now, implement from v1.8.x branch.


chore(main): release pixel-utils 0.4.1

:robot: I have created a release beep boop
0.4.1 (2024-11-27)
Bug Fixes

deps: update dependency tailwind-merge to v2.5.5 (#530) (7fafba4)
uniform: update @dnd-kit/core to v6.2.0 + update snapshots (c696723)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

pixel-utils-v0.4.1
:sunflower:


docs(sidebar): rename "Navigation Results"

The original entry "Navigation Failures" is too narrow with respect to the page content. I was reading the first paragraphs and wondering how this is related to failures. Only a later section deals with failures.

Thank you but I think Navigation Failure is more compelling to "navigation that result in users stay on the same page". Maybe you have ideas about refactoring a little bit the beginning at https://next.router.vuejs.org/guide/advanced/navigation-failures.html to make that clearer?

Closing due to inactivity. Please open a new issue with a reference to this one if you can follow up with more information.


Not working with the standard browsers

Doesn't work with chromium based browsers. Please fix!

Please confirm that this issue is now fixed, test environment: https://pagerduty-incidents-git-add-standard-browser-support.vastamaki.vercel.app

I tested this using multiple devices, seems to be working now. Issue closed.


feat: add dashboard on the website

Description

This PR is supposed to initiate the Dashboard.
Hot Topics are Topics that had the most interactions in the past month.

Related issue(s)
Resolves #385

@fmvilas @derberg It recently came to my attention that GitHub HAS a feature for showing issues that is almost similar to the thing that I am working on.
https://github.com/issues?page=1&q=is%3Aopen+org%3Aasyncapi+sort%3Aupdated-desc+label%3A"good+first+issue"
Now the only unique thing about the Dashboard would be the Hot Topics. Now the question is, should we add good first issues to the website? what would be the benefits? would be great to have your input.

@KhudaDad414 it is all about discoverability. You know that this feature was always there but nobody knew about it, so it is not the best feature to count on. It is only nice temporary solution. You dashboard will be much better because:

will be next to other dashboards, easy to find and link too
you can easily filter by repos
you can easily filter by areas

We should not count on users, like that they know about our "areas" or that they know how to modify GH dashboard to see only issues from one repo. So yeah, don't get demotivated, it is still worth to work on imho

@KhudaDad414 there's an error building the website.

@KhudaDad414 there's an error building the website.

It has been resolved. 🦖

@derberg I see what you mean. I will try to make some changes here and there to see how it will look. But design isn't my strong suit.

@derberg tried to make it more polished and make it follow the asyncapi website personality :)

@KhudaDad414 tbh I'm really bad at visuals. Better to involve @mcturco 😄
I'm more interested in how to get there to this view? where will be a button/link to get to it. Another item under Community nav item?

@mcturco hey, can you have a look 🙏🏼

Sorry about the delay here 😄
For some reason, I can't see the issues/PRs listed on the netlify link. Am I missing something? Should I just fork this and run locally to review?

@KhudaDad414 I do remember providing you a wireframe as to how I thought the layout could look (this was before UI) but I am noticing that the layout/filtering functionality is set up a little bit different than how I laid it out. Was that intentional? Here is the prototype again: https://www.figma.com/proto/WKOxyb4VQ9D1QcRd7y7OfU/Wireframes?page-id=1%3A17&node-id=43%3A165&viewport=391%2C48%2C0.37&scaling=min-zoom&starting-point-node-id=43%3A165
If we are wanting to use this functionality, I could go ahead and apply the UI to this wireframe. I agree with @derberg that the current UI doesn't match the current styles of the website.

@mcturco you do not see it on PR preview due to security reasons, netlify blocks access to GitHub token when it runs code from a PR (so nobody can easily console.log it and take it). So you need to test locally by passing your private GH token

I am noticing that the layout/filtering functionality is set up a little bit different than how I laid it out. Was that intentional?

since we only have two options for filtering (complexity has been reconsidered) I thought it is overkill to have an overflow menu for two filters so I put them in the main layout. If you think having an overflow menu is better, then let's do it. :smiley:

@mcturco the new wireframe looks dope, just one thing, I am not sure if we should have the Issue/PR number in the lists since it doesn't provide any meaningful information to the user? I can be wrong though.

@mcturco
I am not exactly sure how we can improve the situation here. Besides, a maintainer can always be more specific by adding extra labels to the issue and it will appear in the Dashboard. for example a maintainer can add spec label to an issue that has area/docs to be more specific? open to suggestions here.

Hey @derberg @KhudaDad414
Totally forgot that I started working on a UI but then never shared it and then got too busy working on other things haha
Here is a preview of that UI:

I know it is a little bit different than the layout that is in the preview right now, but I feel like this layout might make it easier for users to navigate through issues and PRs
Here is the Figma link: https://www.figma.com/file/WKOxyb4VQ9D1QcRd7y7OfU/?node-id=43%3A165
You should be able to view the design specs (spacing, colors, font sizes, etc) as long as you log in with google, but if you are having a hard time with that let me know and I can see if I can set aside some time to write a spec sheet.

thanks, @mcturco 🙇 . I will apply the new design tomorrow.

@mcturco I have applied the design, except the dropdown component which I used the website's default. Would be great to have some feedback.

@mcturco @derberg @fmvilas this PR is ready to be merged. please let me know if there is anything that needs updating.

@derberg it couldn't be more clear. I have flixed it 😆 . A review would be appreciated. 🙇

/rtm


BC Ukrainian content: Know your rights as a tenant

[x] Topic title is in English, expected that the topic title appears in UK
[ ] Also there are email links with mailto: in front, should not be there, check the URLs in the topic

not fixed


Snippet for static file serving

Say i have a static website i want to serve on uwsgi.it, with this configuration every static files returned is index.html. Any hint?
plugin = router_static

domain = foo.it
basedir = $(HOME)/www/foo.it
offload-threads = 2
route = /static/(.*) static:%(basedir)/static
static-index = index.html

So here's one that half works,  / is served at least:
plugin = router_static

domain = foo.it
basedir = $(HOME)/www/foo.it
offload-threads = 2
route = /static/(.*) static:%(basedir)/static/$1
route = ^/$ static:%(basedir)/index.html

Woudl be nice being able to handle it with one rule, but this raise the security check as in https://github.com/unbit/uwsgi/issues/818
route = (.*) static:%(basedir)$1

So the second snippet work, my issue was that without adding proper mimetype uwsgi served some svg images as html and thus they were not rendered. Adding a mime type file fixed the issue for me.
So if you can ack the snippet i'll do a pull request.


MissingOverride: ignore generated method

MissingOverride generates warnings for methods that have @Generated annotation.
In https://github.com/google/error-prone/pull/1968 there was a fix done by skipping classes that have the annotation.
However, if just parts of the class are generated, as with Lombok, the class level @Generated annotation is missing.
I would expect methods with @Generated to be ignored/skipped.
Minimal Reproducible Example
package org.example;

import lombok.Generated;

public class AnyClassDeLombok implements AnyInterface {
  private String anything;

  @Generated
  public String getAnything() {
    return this.anything;
  }

}

A full reproducable example is available at https://github.com/pacbeckh/error-prone-missing-override-issue,  run mvn clean install

Logs
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project errorproneissue: Compilation failure: Compilation failure:
[ERROR] /Users/pacovanbeckhoven/hexagon/error-prone-missing-override-issue/src/main/java/org/example/AnyClassDeLombok.java:[12,17] [MissingOverride] getAnything implements method in AnyInterface; expected @Override
[ERROR]     (see https://errorprone.info/bugpattern/MissingOverride)
[ERROR]   Did you mean '@Override @Generated'?
[ERROR] /Users/pacovanbeckhoven/hexagon/error-prone-missing-override-issue/src/main/java/org/example/AnyClass.java:[8,18] [MissingOverride] getAnything implements method in AnyInterface; expected @Override
[ERROR]     (see https://errorprone.info/bugpattern/MissingOverride)
[ERROR]   Did you mean 'private String @Override anything;'?
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

Setup

Operating system  MacOS Ventura.
Java version 17.0.4).
Error Prone version 2.21.1.

While looking into (the different but related) PicnicSupermarket/error-prone-support#716, I noticed that Lombok by default adds @SuppressWarnings("all") to generated code. The Immutables library does the same.
So an alternative works-out-of-the-box-for-all-checks solution could be the following:
diff --git a/check_api/src/main/java/com/google/errorprone/SuppressionInfo.java b/check_api/src/main/java/com/google/errorprone/SuppressionInfo.java
index cb23c08dea..3b891b9cc5 100644
--- a/check_api/src/main/java/com/google/errorprone/SuppressionInfo.java
+++ b/check_api/src/main/java/com/google/errorprone/SuppressionInfo.java
@@ -85,7 +85,8 @@ public class SuppressionInfo {
       return SuppressedState.SUPPRESSED;
     }
     if (suppressible.supportsSuppressWarnings()
-        && !Collections.disjoint(suppressible.allNames(), suppressWarningsStrings)) {
+        && (suppressWarningsStrings.contains("all")
+            || !Collections.disjoint(suppressible.allNames(), suppressWarningsStrings))) {
       return SuppressedState.SUPPRESSED;
     }
     if (suppressible.suppressedByAnyOf(customSuppressions, state)) {
diff --git a/check_api/src/main/java/com/google/errorprone/bugpatterns/BugChecker.java b/check_api/src/main/java/com/google/errorprone/bugpatterns/BugChecker.java
index 4693b70ef8..f6485134a0 100644
--- a/check_api/src/main/java/com/google/errorprone/bugpatterns/BugChecker.java
+++ b/check_api/src/main/java/com/google/errorprone/bugpatterns/BugChecker.java
@@ -99,6 +99,7 @@ import java.io.Serializable;
 import java.lang.annotation.Annotation;
 import java.util.Arrays;
 import java.util.Collections;
+import java.util.List;
 import java.util.Objects;
 import java.util.Set;
 import java.util.function.BiPredicate;
@@ -269,8 +270,12 @@ public abstract class BugChecker implements Suppressible, Serializable {
   }

   private boolean isSuppressed(SuppressWarnings suppression) {
-    return suppression != null
-        && !Collections.disjoint(Arrays.asList(suppression.value()), allNames());
+    if (suppression == null) {
+      return false;
+    }
+
+    List<String> suppressions = Arrays.asList(suppression.value());
+    return suppressions.contains("all") || !Collections.disjoint(suppressions, allNames());
   }

   /**

If the Error Prone maintainers think that this is an acceptable solution then I wouldn't mind writing some unit tests for this and opening a PR.

If the Error Prone maintainers think that this is an acceptable solution then I wouldn't mind writing some unit tests for this and opening a PR.

That SGTM overall. I think your proposal handles that, but it would be good to have test coverage to double-check it doesn't apply to 'undisableable' checks.
I have some mixed feelings about @SuppressWarnings("all").

Our internal style is to prefer specific suppressions with a comment explaining them (e.g. @SuppressWarnings("unchecked") // safe covariant cast).

But just ignoring @SuppressWarnings("all") doesn't seem very friendly, and recognizing it might address some of the issues with the interaction between Error Prone and the Lombok language.

One possibility might be to have yet another flag to configure whether all is supported, or yet another check to discourage its use.

I have some mixed feelings about @SuppressWarnings("all").

Agree. Both suggestions SGTM, though a separate check is perhaps a bit more versatile, as it would also cover suppressions targeted at other static analysis tools.
W.r.t. opening a PR: I've added it to my TODO list for the coming days; need to first focus on a few other topics. (The modified methods and surrounding SuppressionInfo and BugChecker classes don't yet have (directly) associated tests. I suppose creating such classes is a bit nicer than modifying some "random" other class.)

I think this would solve a lot of issues, as this is not the only check that is conflicting with Lombok.
Especially since the @Generated annotations are not always added on e.g. class level.
Thanks @Stephan202 and @cushon for the quick response 👌

Practical question for @cushon :)
Context: if made @VisibleForTesting, writing tests for the (effectively deprecated) method in BugChecker isn't so hard, as can be seen on this branch. Part of the SuppressionInfo changes could also be tested this way if its constructor is made @VisibleForTesting.
But: complete testing of the modified methods, without changing method visibility, requires constructing suitable Symbol instances. For this I see two options:

Using some boilerplate code to compile dummy code like in SignaturesTest.
Using a CompilationTestHelper, which would require defining the test class in core rather than check_api.

I think option (2) will yield the most robust and maintainable code, and this is the approach also taken for SuggestedFixes and SuggestedFixesTest, but splitting code across modules like this is not optimal. So before I present a PR that requires rework: any opinions on the preferred approach? :)

Thanks for working on this @Stephan202!
I'm happy to be pragmatic about either of the options you described. If writing the test with CompilationTestHelper is cleaner, I think it's OK to define the test in core. I would also be OK with yet another copy of the boilerplate in SignaturesTest to set up a javac invocation.

Thanks for the pointers @cushon! Eventually I settled on option (2). I filed #4076 with a proposal.


[BUG] Graphics Quality is stuck on max no matter what number its set at.

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[X] I have thoroughly looked through the available Wiki articles and could not find a solution to my problem.
[X] I am using the latest version of Bloxstrap.
[ ] I did not answer truthfully to all the above checkboxes.

What problem did you encounter?
My computer isn't too good so this was quickly noticeable, I usually run with two bars on the graphic quality scale which severely lowers the detail and noticeability with things like enchantments and auras, and especially shadows, which is shown in the provided screenshots.

same problem here..

i had this exact problem but i fixed it by doing this

i had this exact problem but i fixed it by doing this

not working

what

I'm having the same issue and its really annoying

yeah you either need to wait or

Dowload Roblox  + Bloxstrap , before a reinstal delete all archives from %appdata%, restart pc and reinstall. (Login in the app)

nvm, get broken again when u rejoin

This is known, and it's not an issue with Bloxstrap. It's an issue with Roblox. We don't really provide any ways of getting around this, so you'll have to wait it out. Sorry about that.


:bug: Fix blank character prefix on links

Caused by the "prettier-ignore" comment. Workaround is to remove the blank character using a comment template.
From https://gohugo.io/templates/base/#override-the-base-template:

Code that you put outside the block definitions can break your layout. This even includes HTML comments.

Fixes #800

Closing this as #813 already implemented this fix.


Change editor / preview windows to open in new tab by default

If you click edit or play (once editor open) at the moment, a new window will open to display the editor/preview. You can click Ctrl-edit/play to open in a new tab instead. Should we change this so that the new tab is default instead? Main reason for asking about this is that the current windows that open don't have the normal browser bar buttons at the top (back, refresh etc.) and if links are changed so that they open in the current window rather than new tab, this makes it difficult to return to the Xerte project when previewing. I've had users here who have done this (to improve accessibility) who are then confused as they think this will also be the experience of the end users. Opening in new tab will also give people a better idea of how the project looks full screen as the default new window is smaller.
Any thoughts? @torinfo were you doing some work a while back on having the option to open in a lightbox over the workspace? This is another option too.

@FayCross @torinfo I understand the issue but personally I don't think we should change the current default behaviour at least not for the editor window but probably not for the preview window either.
We have the various keyboard shortcuts but who actually knows about them?! Perhaps the edit and preview buttons should be changed to list menus instead e.g. edit and/or preview in New window, new tab, lightbox or at the very least the various keyboard options should be added to the tooltips? Certainly if we did change the current default behaviour then this would need to be the case e.g. it needs to be shown somehow what the window options are especially for a new user.
There are pros and cons to each option aren't there?
New window = how it's always been and better for keeping the editor visible while playing and previewing.
New tab = larger windows and addresses the link issue and keeps the browser buttons
Lightbox = would be good to have as an option for preview/play but not sure it would be a good idea for the editor window

Yeah, we don't make the shortcuts easy to find out about. I always open editor and preview in new tabs so when I got questions about how people would get back to the project after following links I was very confused as I'd forgotten what the default view was.
I might have a look at what some other tools do when editing/previewing. I can't help but think the way we do things at the moment is just a bit dated now. Was any of this going to be looked at with the work being done on theming the workspace / editor @torinfo?
Maybe a better solution would be to just have the browser bar at the top (for preview anyway). I don't think I'd be keen on the lightbox option tbh


numpy.AxisError: axis -1 is out of bounds for array of dimension 0 after package update

Hi S,
I updated the lhsmdu-package today and tested the code from the 'basics'-section you provided, but I immediately got the following error (it never happened with the previous install of your package I had installed):
Traceback (most recent call last):
File "C:\Program Files\Python 3.5\lib\site-packages\IPython\core\interactiveshell.py", line 3326, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "", line 1, in
runfile('C:/Users/myvhove/Documents/CE_70/Python/LHS_MDU_test.py', wdir='C:/Users/myvhove/Documents/CE_70/Python')
File "C:\Program Files\JetBrains\PyCharm 2019.2.3\helpers\pydev_pydev_bundle\pydev_umd.py", line 197, in runfile
pydev_imports.execfile(filename, global_vars, local_vars)  # execute the script
File "C:\Program Files\JetBrains\PyCharm 2019.2.3\helpers\pydev_pydev_imps_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "C:/Users/myvhove/Documents/CE_70/Python/LHS_MDU_test.py", line 6, in
k = lhsmdu.sample(2, 20) # Latin Hypercube Sampling with multi-dimensional uniformity
File "C:\Program Files\Python 3.5\lib\site-packages\lhsmdu_init_.py", line 109, in sample
matrixOfStrata = eliminateRealizationsToStrata(distance_1D, matrixOfRealizations, numSamples)
File "C:\Program Files\Python 3.5\lib\site-packages\lhsmdu_init_.py", line 45, in eliminateRealizationsToStrata
realizations = sort(averageDistance.keys())
File "<array_function internals>", line 6, in sort
File "C:\Program Files\Python 3.5\lib\site-packages\numpy\core\fromnumeric.py", line 970, in sort
a.sort(axis=axis, kind=kind, order=order)
numpy.AxisError: axis -1 is out of bounds for array of dimension 0
The problem is in the sample-function:
k = lhsmdu.sample(2, 20) # Latin Hypercube Sampling with multi-dimensional uniformity

Checking this out now. I think it may have to do with the differences in numpy sort functions between Python 2 and 3. I'll fix it and post a patch.

Great! Had to go to the 0.1-version again to be able to work with it.
I'm indeed working in Python 3.

Okay. This is fixed. Turns out it had to do with the dict_object difference between Python2 and Python3. Hmmm, I guess I just need to make a Python3 unit test and add it in.

Will you give a sign once the fixed version is available for usage?

I've already uploaded a patch. Could you see if it works for you?
S

Hi M,
Are you still having trouble with the repo, or did the patch solve it?
Best,
S

Now, it works. Thanks!
It is indeed much much much faster, especially when n becomes high (e.g., 1000).

Yeah, it's improved efficiency is helping my own work as well. Thanks for raising the issue, I wouldn't have spent time optimizing it without it! Closing the issue now.
Cheers,
S


.gltf not loading

hi, glad this is going.
i got .glb to load, but not .gltf
i found this issue https://github.com/google-ar/sceneform-android-sdk/pull/1029
which was fixed in 1.16

Weird, i just checked the commits from the fix and seems it's merged here. it might be the model itself.


[webhook] allow webhooks to opt out of validating status updates

ie. serving doesn't have validation logic for the status block since we expect only our controllers update it. But our webhooks are invoked for status updates
https://github.com/knative/pkg/blob/132b1e71088b721a05f447b18e4459ffe8828169/webhook/resourcesemantics/defaulting/defaulting.go#L148-L152

/remove-lifecycle stale
/triage accepted


super-select: too many clicks needed to use type-ahead text field

On a super-select field that doesn't allow multiple selected elements, too many clicks are needed to enter text into the type-ahead text field.

It's especially noticeable on the Time Zone field during the sign-up process:

And seen in both GIFs above, clicking the field's <label> does outline the field, but doesn't provide a way to start typing keys to narrow the selection as expected.

@andrewculver
Just pushed a new PR in the core repo replacing two of the old ones.
The PR for the bullet_train repo is still needed to update the authentication_test with a type-ahead test of the time zone field.

See also: https://github.com/bullet-train-co/bullet_train/issues/653


Tweening modulate property doesn't behave right on 4.2

Godot version
4.2-stable_mono
System information
Windows 10, NVidiaRTX 2070
Issue description
After updating to 4.2 I've realized that all my tweens working with the property "modulate" or "self_modulate" were behaving strangely... it happens when you use loops..  for instance if you have:
tween.SetLoop();
tween.TweenProperty(godotObject, "modulate", Colors.Red, 0.5f)
tween.TweenProperty(godotObject, "modulate", Colors.Blue, 0.5f);

that object should change its color from red to blue and then from blue to red and then loop, right? (basically, because its final value should be blue)
well, after 4.2 .. the color resets to its default color before starting a new loop, this didn't happen on older versions.
If you don't use Loops its final value persists, so the problem is only when using Loops.
so, for example if you had a modulate value of White before starting the loop.. the tween will change its modulate from red to blue, then resets to white and then start over again...

I haven't tested on GDScript

Steps to reproduce
1- Create a CanvasItem such as a white ColorRect, so that you can tween its modulate property.
2- Attach a script that runs the following code (C#):
  tweener = this.CreateTween();
  tweener.SetLoops(0);
  tweener.SetEase(Tween.EaseType.Out);
  tweener.TweenProperty(godotObject, "modulate", Colors.Red, 0.5f);
  tweener.TweenProperty(godotObject, "modulate", Colors.Blue, 0.5f);

The modulate will change its value to default each time before starting a new loop
Minimal reproduction project
N/A

Broken between v4.2.dev3.official [013e8e3af] and v4.2.dev4.official [549fcce5f].
Seems like regression from #80702, cc @KoBeWi.


Error when requesting administrator privileges on windows with powershell

Hi everyone, I have a powershell script that I want to run through crystal and compile to .exe right after.
Yes, I can compile to .exe but, when using the .cr script and trying to check administrator privileges to try to run the crystal program itself or the powershell script as administrator, nothing happens.
Code.
def main
  request_admin_privileges
end

def request_admin_privileges
  puts "Running as a non-administrator. Requesting elevation..."
  `powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "Start-Process -Verb RunAs '#{__FILE__}'"`
end

main

and the code to run the powershell script is:
def main
  script = <<-POWERSHELL
    Set-ExecutionPolicy -Scope Process -ExecutionPolicy Unrestricted -Force
    Invoke-Expression ((Invoke-WebRequest -Uri 'https://github.com/azurejoga/Aurora-Windows-Optimizer/raw/aurora/installer.ps1' -UseBasicParsing).Content)
  POWERSHELL

  result = `powershell.exe -NoProfile -Command "#{script}"`
  puts result
end

main

The terminal output for both cases is as follows.
PS C:\users\azure\documents> crystal testing.cr
Running as a non-administrator. Requestingelevation...
PS C:\users\azure\documents> crystal test.cr Running as a non-administrator. Requestingelevation...
PS C:\users\azure\documents>

Well, the prompt appears on the screen but it doesn't change to administrator
I want some way to change the Crystal program to administrator on Windows, is there a native way to do this or not.
The only way I could solve this problem is:

compile the script.cr

crystal build test.cr

run the executable as administrator.
Is there any way to resolve this?

This would be a better fit for the forums, or one of the chat channels.


performance of<EMAIL_ADDRESS>is very bad since yesterday afternoon

Describe the bug
Opening a Builder function or editing a table is very slow to respond and data-list of a chosen Table  is not shown
Slow responses started yesterday afternoon.
Even opening Application Settings/System to check the version takes a few minutes.
I think it is the  PostgreSQL database as the main cause of slow responses
To Reproduce
Steps to reproduce the behavior:

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

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
There should be records in it but none is shown:

Additional context
Add any other context about the problem here.

Solved.


Replace old Cairo 0.x samples with Cairo 2.6.x ones

Description
The samples in this repository are written in now-abandoned Cairo 0.x. Cairo 1.0 was a complete redoing of the language, and old code is completely incompatible with it.
This PR removes them and adds new ones that are written in current Cairo 2.6.4. These samples were taken from real repositories: one is an excerpt from the Cairo standard library, and two are listings from the Cairo Book. I have added source and license attributions in comments.
Note that we have recently created an official tree sitter grammar for Cairo. We are also planning to make a TextMate grammar to use in our VSCode extension (https://github.com/starkware-libs/cairo/issues/5776), so I will wait for it to happen, and I'll open a separate PR here that will update the grammar.
Checklist:

[ ] I am adding a new extension to a language.

[ ] The new extension is used in hundreds of repositories on GitHub.com

Search results for each extension:

https://github.com/search?type=code&q=NOT+is%3Afork+path%3A*.FOOBAR+KEYWORDS

[ ] I have included a real-world usage sample for all extensions added in this PR:

Sample source(s):

[URL to each sample source, if applicable]

Sample license(s):

[ ] I have included a change to the heuristics to distinguish my language from others using the same extension.

[ ] I am adding a new language.

[ ] The extension of the new language is used in hundreds of repositories on GitHub.com.

Search results for each extension:

https://github.com/search?type=code&q=NOT+is%3Afork+path%3A*.FOOBAR+KEYWORDS

[ ] I have included a real-world usage sample for all extensions added in this PR:

Sample source(s):

[URL to each sample source, if applicable]

Sample license(s):

[ ] I have included a syntax highlighting grammar: [URL to grammar repo]

[ ] I have added a color

Hex value: #RRGGBB
Rationale:

[ ] I have updated the heuristics to distinguish my language from others using the same extension.

[ ] I am fixing a misclassified language

[ ] I have included a new sample for the misclassified language:

Sample source(s):

[URL to each sample source, if applicable]

Sample license(s):

[ ] I have included a change to the heuristics to distinguish my language from others using the same extension.

[ ] I am changing the source of a syntax highlighting grammar

Old: [URL to grammar repo]
New: [URL to grammar repo]

[ ] I am updating a grammar submodule

[ ] I am adding new or changing current functionality

[ ] I have added or updated the tests for the new or changed functionality.

[ ] I am changing the color associated with a language

[ ] I have obtained agreement from the wider language community on this color change.

[URL to public discussion]
[Optional: URL to official branding guidelines for the language]

If the language is completely different and incompatible and the grammar doesn't support both versions of the language, a new language entry should be created and grouped with the old.
Closing as we never remove a language or their valid at the time samples as old code always exists.

Seems like I conveyed a wrong meaning in issue description.
The trick is that the grammar at HEAD is written for Cairo >= 1.0, i.e. the new language - the samples were just out of date. It's a different topic that this grammar has bugs, this is the thing we want to improve later on.

Ok, I'll submit these samples together with the new grammar.


fix getting the correct cluster version

What's wrong with the previous implementation?, worked for me on a 4.6 nightly


SSL Diag should warn on TLS 1.0 and 1.1.

The two protocols are not considered secure any more.

Fixed in 02236b0508e788c72edb71f4e8fa57c848ffd29d


Popup: doesn’t close on document click when the target is a different Popup's trigger

Bug Report
Steps
Render multiple Popup components that are triggered on click. Click one Popup trigger and then click a different Popup trigger.
Expected Result
The existing Popup should close.
Actual Result
The existing Popup does not close.
Visual Aid

Version
0.82.5 (but seems to have regressed in 0.81.0)
Testcase
https://codesandbox.io/s/rrnn0np6zq

Here's the same testcase showing the expected result in v0.80.2:
https://codesandbox.io/s/olow2pprjz

Duplicate #3006, the issue has been already fixed in master #3189 and waiting for release.
Thank you for awesome bug reports :+1:


Using i18n in shared components breaks Storybook

Describe the bug
Using i18n with $t() in a shared component will throw an error in Storybook:
index.js:16 TypeError: Cannot read property '_t' of undefined
    at Proxy.Vue.$t (vue-i18n.esm.js:179)
    at Proxy.render (VueNavBar.vue?c4cd:13)
    at VueComponent.Vue._render (vue.esm.js:4544)
    at VueComponent.updateComponent (vue.esm.js:2788)
    at Watcher.get (vue.esm.js:3142)
    at new Watcher (vue.esm.js:3131)
    at mountComponent (vue.esm.js:2795)
    at VueComponent../node_modules/vue/dist/vue.esm.js.Vue.$mount (vue.esm.js:8540)
    at VueComponent../node_modules/vue/dist/vue.esm.js.Vue.$mount (vue.esm.js:10939)
    at init (vue.esm.js:4137)

To Reproduce
Steps to reproduce the behavior (on a fresh setup of vue-starter):

Add the following to a shared component (for example, VueNavBar):

       <div :class="$style.accent" />
     </div>

+    {{ $t('Component.test' /* testing */ ) }}
+
     <vue-grid>
       <vue-grid-row>
         <vue-grid-item fill>

Run npm run storybook
Select the component in Storybook
See error

Expected behavior
Showing the default i18n text, since Vue.use(VueI18n) is already included in the ./storybook/config.js.
Screenshots

Desktop (please complete the following information):

OS: MacOS
Browser: Chrome
Version [e.g. 22]: 68

Smartphone (please complete the following information):
Not tested
Additional context
Add any other context about the problem here.

This looks related to https://github.com/storybooks/storybook/issues/1573
So you can actually avoid this error by adding the following to a component that uses i18n:
story.add('Default', () => ({
   router,
   components: { VueNavBar },
   template:   `<vue-nav-bar />`,
+  i18n: new VueI18n({}),
 }));

But maybe there is a way to do this automatically, with the current translation strings loaded, for all stories that Storybook loads?

have a look at the storybook from the VueCalendar: https://github.com/devCrossNet/vue-starter/blob/master/src/app/shared/components/VueCalendar/VueCalendar.stories.ts#L13
this should solve the problem 😊

Much cleaner, thanks! Closing this as a case of "bad error messages generated by dependencies" 😀


Storybook > Component > Account > Default > Captcha > Issues on Account component Small, Large mobile view captcha not visible.

Describe the bug
Issues on Account component Reqiured message is not display.
Small, Large mobile view captcha not visible.
Steps to reproduce bug
1.Go to 'https://stage-react.raaghu.ai/?path=/story/components-account--default'
2. Navigate to 'Storybook > Component > Account > Default > Captcha '
Actual result-
Issues on Account component Reqiured message is not display.
Small, Large mobile view captcha not visible.
Screenshots

Expected result-
Issues on Account component Reqiured message should be display.
Small, Large mobile view captcha should be display.
Desktop (please complete the following information):
-OS: [Windows 10 Enterprise]
-Browser [ edge]
-Version [ 125.0.2535.92]

Clickable button mouse hover text is not display.
After submitting Version field is not clear.
Small, Large mobile view captcha should be display.

Version alignment issue both version dev / stage

@rameshwarkamandar  Fixed in the pull request :https://github.com/Wai-Technologies/raaghu-react/pull/955

Fixed on stage /dev

Issue still exist on stage/ dev
Small, Large mobile view captcha not visible.

Fixed on dev

Fixed on stage


Build: adds property to skip signing jars

What this PR changes/adds
Adds a property skip.signing that foregoes the Gradle signing plugin. This is an addendum to #1147.
Essentially, in the root build.gradle.kts, the entire block that deals with signing was put inside an if statement.
Why it does that
This could be very handy when publishing to a local or private Maven repository, when there are either no GPG keys available, or having to sign every time is just too time consuming.
Further notes
Usage: ./gradlew clean publishToMavenLocal -Pskip.signing
Note: we may want to move all the signing stuff into another separate build plugin in the future
Linked Issue(s)
n/a
Checklist

[ ] added appropriate tests?
[ ] performed checkstyle check locally?
[x] added/updated copyright headers?
[ ] documented public classes/methods?
[ ] added/updated relevant documentation?
[ ] added relevant details to the changelog? (skip with label no-changelog)
[x] formatted title correctly? (take a look at the CONTRIBUTING and styleguide for details)

Codecov Report

Merging #1294 (341a052) into main (282594f) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##             main    #1294   +/-   ##
=======================================
  Coverage   67.37%   67.37%
=======================================
  Files         715      715
  Lines       15751    15751
  Branches     1044     1044
=======================================
  Hits        10612    10612
  Misses       4655     4655
  Partials      484      484

Impacted Files
Coverage Δ

...econnector/spi/system/ExecutorInstrumentation.java
0.00% <0.00%> (ø)

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 282594f...341a052. Read the comment docs.


Refactor 'expression ? true : false' expression in all files to '!!expression'

I am done with the Refactoring part i.e replacing 'expression ? true : false' to '!!expression' in all files.
Project is working fine

PR relevant issue or pull_request

ok i got it, will change the required changes ,and give PR again

The UI parts of this PR should be extracted to the https://github.com/ManageIQ/manageiq-ui-classic repo.
Closing this PR.  Please re-open when all UI parts are gone from this PR and it is rebased.


Notification is received but doesn't show up push notification message both when the app in background and foreground both in android and ios

Notification is received but doesn't show up push notification message both when the app in background and foreground both in android and ios. What I mean is I'm not getting the notification message like the one showed in the following link, but the notification event FCM.on(FCMEvent.Notification, async (notif) is called. Why is that? I'm I missing something?
http://docs.urbanairship.com/_images/default-factory-notification1.png
React-Native: 0.41.2
React:  15.4.1

sorry, ignore it. I misunderstood.  I didn't even call presentLocalNotification.


Implement computer player

Currently, the computer player plays classically randomly. Also, the paddle does not display correctly. Old paddle does not disappear.

The computer should also have quantum circuit in the same way as the player. The circuit can be either hidden, or it displays on the bottom left and the player circuit displays on the bottom right. Anyway, the circuit is too long for the player now.

I decided that the theme of the game is to compete with classical computer on the left using quantum computer on the right, with the help of the human player. This is easier to implement and the funny.


When will you publish the source code?

Thank you for your interest in our work. The code will be available as soon as our company (Tencent) approved. Sorry for the delay.


Reactive support

Add another layer between command creation and execution (today a command is created and immediately executed). Reactive commands should be only executed (example from RxJava as soon as call is invoked).
This layer could be located between the command builder and the async connection itself.

4.x package: com.lambdaworks.redis.api.rx
New interfaces:

BaseRedisRxConnection
RedisHashesRxConnection
RedisHLLRxConnection
RedisKeysRxConnection
RedisListsRxConnection
RedisScriptingRxConnection
RedisSentinelRxConnection
RedisServerRxConnection
RedisSetsRxConnection
RedisSortedSetsRxConnection
RedisStringsRxConnection
RedisTransactionalRxConnection

Open issues:
Collection results
What about collection result types like lists and sets? Should these be dissolved into particular elements?
Example:
// sync API
List<String> result = redis.hkeys("...");

// either
Observable<String> result = redis.hkeys("...");

// or
Observable<List<String>> result = redis.hkeys("...");

PubSub
Provide hot observables for subscription listeners?
Cluster
Provide observable commands also for node-selection commands? (Commands executed on multiple cluster nodes)

What would be the advantage of emitting List<String> (Iterable!) over simply String?
Grouping could be done using groupBy operator.

None.
Rx does not differentiate between one and many elements. Dissolving Iterables and other multi-element containers such as Map into singular values or tuples fit very well into the Rx pattern. This is, however, a change of result types in contrast to other API's within lettuce.
If you approach from pure Rx dissolved elements are welcome, but if you're used to Lists and Maps then you have to shift from collections to reactions on elements.

Btw. nice to hear from you @xasx

Javadocs available at http://redis.paluch.biz/docs/api/snapshots/latest/com/lambdaworks/redis/api/rx/RedisReactiveCommands.html

Observables emit single elements and Maps


Include types declaration in webgl advanced packages

Purpose
The @rive-app/webgl-advanced and @rive-app/webgl-advanced-single packages do not contain the TS declarations in their published npm modules.
Add the generated rive_advanced.mjs.d.ts declarations file to the module's files for publishing.

Thanks for adding this! We'll get this change merged in next chance we get

Merged this from our upstream repository with your change, and should be in v2.9.1. Feel free to open an issue if you still notice issues here


Saving a Jupyter notebook as HTML does not save pandas dataframes

When we export a notebook at HTML outside of BeakerX, the dataframe tables are preserved. This makes sharing notebooks with people who do not have any coding experience very easy.
The interactive dataframes are not saved when we export to HTML.

Thank you, yes I agree.  Right now if you save with widget state, you can make simple web pages (hosted HTML) with the live interactive table widgets.  You can share the link with anyone.
For the command line access, we have a PR for nbconvert to help address this:
https://github.com/jupyter/nbconvert/pull/778
Would be cool if writing HTML would work too.
Haven't looked into what it would take to fix if possible.

Hello, I have been searching around for a solution to this Dataframe rendering issue for exporting as just HTML (not publishing to GIST). It appears the same problem happens with the general ipywidgets as well. A trick that I dont totally understand worked to get things to render is to export as an HTML, then change the header script calls from:
<script<EMAIL_ADDRESS><script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.10/require.min.js"></script>

to this (which is the standard output html when you "embed Widgets"):
<script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js" integrity="sha256-Ae2Vz/4ePdIu6ZyI/5ZGsYnb+m0JlOmKPjt6XZ9JJkA=" crossorigin="anonymous"></script>
<script src="https://unpkg.com/<EMAIL_ADDRESS>crossorigin="anonymous"></script>

Note the change in ordering of the require.min.js and jupyter-related calls from the standard html.
Not sure if these issues were version related, but it was what pushed things over the edge for me after much toiling around. Now I have tables in html!

Thank you @tcombes1 this works perfectly!

After playing with this a bit more, I found that changing this line
<script<EMAIL_ADDRESS>
so that it looks like
<script src="https://unpkg.com/<EMAIL_ADDRESS>crossorigin="anonymous"></script>

was enough to get this working. I didn't even need to update the require.js or swap the order. Without it however my error looked like this:
Loading failed for the <script> with source<EMAIL_ADDRESS>180425_RUX_Sunny_Results_Count_Dashboard-All_Data (1).html:1
Loading failed for the <script> with source<EMAIL_ADDRESS>180425_RUX_Sunny_Results_Count_Dashboard-All_Data (1).html:1
Loading failed for the <script> with source<EMAIL_ADDRESS>180425_RUX_Sunny_Results_Count_Dashboard-All_Data (1).html:1
Loading failed for the <script> with source “https://unpkg.com/<EMAIL_ADDRESS>180425_RUX_Sunny_Results_Count_Dashboard-All_Data (1).html:1
[Show/hide message details.] Error: Script error for: https://unpkg.com/<EMAIL_ADDRESS>http://requirejs.org/docs/errors.html#scripterror require.min.js:8:252
Loading failed for the <script> with source “https://unpkg.com/<EMAIL_ADDRESS>180425_RUX_Sunny_Results_Count_Dashboard-All_Data (1).html:1
[Show/hide message details.] Error: Script error for: https://unpkg.com/<EMAIL_ADDRESS>http://requirejs.org/docs/errors.html#scripterror require.min.js:8:252
Loading failed for the <script> with source “https://unpkg.com/<EMAIL_ADDRESS>180425_RUX_Sunny_Results_Count_Dashboard-All_Data (1).html:1
[Show/hide message details.] Error: Script error for: https://unpkg.com/<EMAIL_ADDRESS>http://requirejs.org/docs/errors.html#scripterror require.min.js:8:252
C
https://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.10/require.min.js:8:252
onScriptError
https://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.10/require.min.js:29:514

For that incorrect script link, I'll link to the nbconvert PR that would fix this: https://github.com/jupyter/nbconvert/pull/792