text:
Resource retryCallback parameter error not has valid status code

Resource retryCallback parameter error not has valid status code
Sandcastle example:
Browser: chrome
Operating System: mac os
`
function refreshTokenRetryCallback(resource, error) {
console.log('error.statusCode:', error.statusCode);
console.log('error:', error);
if (error.statusCode === 403) {
// 403 status code means a new token should be generated
return getNewAccessToken()
.then(function(token) {
resource.queryParameters.access_token = token;
return true;
})
.catch(function() {
return false;
});
}
return false;
}
const resource = new Resource({
url: 'http://server.com/path/to/resource.json',
proxy: new DefaultProxy('/proxy/'),
headers: {
'X-My-Header': 'valueOfHeader'
},
queryParameters: {
'access_token': '123-435-456-000'
},
retryCallback: refreshTokenRetryCallback,
retryAttempts: 1
});
`
i write the code like doc, but from console:

error.statusCode: undefined
error: RequestErrorEvent {statusCode: undefined, response: undefined, responseHeaders: undefined}
i think the 404 status code should be return. is it a bug?

We return the status code when a valid response is received. On an error event, it appears we do not specify a status code. Perhaps the CORS error you see is the reason why no status code is logged.
Would you be able to provide a Sandcastle code example which duplicates the error?

source: gharchive/issue

authors: danny-wang ggetz

repo: CesiumGS/cesium

license_type: permissive

license_source: bigquery


text:
Poor billboard quality

Reported on the forum: https://groups.google.com/d/msg/cesium-dev/OLbOuzNRM7U/MHgo_4N6CwAJ
The icon to the left is a billboard, the icon to the right is the original image

I believe this happens because billboards are not aligned to the nearest pixel.  When a billboard has a non-integer screen location, it becomes blurred by the fullscreen AA process.
There's a suggested fix on Stack Overflow that involves making a one-line change to BillboardCollectionVS.glsl#L245, to change it from:
gl_Position = czm_viewportOrthographic * vec4(positionWC.xy, -positionWC.z, 1.0);
to:
gl_Position = czm_viewportOrthographic * vec4(floor(positionWC.xy + 0.5), -positionWC.z, 1.0);
This has the effect of greatly reducing blur on both Billboards and Labels.
What do you guys think of this?  If you like it, I can make a pull request out of it (assuming we can take code from SO.  I presume most projects already have quite a bit of uncredited SO code around).
The reasoning seems clear: Billboards are always raster images, so non-integer screen locations will always be worse quality than pixel-aligned locations.

Ah cool, can you post a screenshot of the difference?

The Stack Overflow answer has a good screenshot:
http://stackoverflow.com/questions/33784256/cesium-label-blurred/33786151#33786151

If this feels like deja-vu, you're right.  Here's where clamp-to-pixel functionality was added: #188  Here's where it was removed again: #565.

Good memory @shunter.  In experimenting with this code, it looks like the clamp-to-pixel is not what's actually improving this guy's screenshots.  He's also turning off scene.fxaa at the same time, and that appears to be what actually cleans up the label.

Yeah, fxaa is probably the real culprit here.  Clamping to pixel actually does not do what we would hope it would do (Especially with text).  It also causes all kinds of problem when during motion (either because the item is moving or the camera is moving).  Not clamping really is the "correct" option.
I asked Dan about possibly not running fxaa on labels and billboards and he things it might be possible but might require too much overhead or other craziness.
I just noticed he's also provided us with an svg, that's probably compounding the problem because the svg is properly be anti-aliased on rasterization by the browser (and depending on the browser it could be doing a bad job).
@hpinkos can you reach out and get the original icon?  I didn't notice it in that thread.

I asked @bagnell offline how our fxaa is actually implemented.  He suggested this was based on an older approximation where high-contrast edges are intentionally blurred, which is fast enough for realtime, but is a very different implementation from true anti-aliasing.  There was talk of this possibly being upgraded to a different algorithm when WebGL 2 becomes more widely available.
So it sounds like the blurring is a design feature of the current fxaa system, making it almost unavoidable without a rewrite or disabling of fxaa.

I don't think it is out of the question to render to one framebuffer that would get FXAA, and another for labels/billboards/points that would not, and then composite them.  This would also work well with the need to render labels on top of polygons since the low level-renderer now would have explicit-ish knowledge of labels/billboards/points.
This will be a non-trivial amount of time though so we can't do it for a few months.

Here is a png and svg version of the icon from the user.  He says the png looks better than the svg

icon-library.svg.txt

Here is a png and svg version of the icon from the user. He says the png looks better than the svg

This is exactly what I assumed a large part of the problem was.  Browsers do not all do an equally good job of rasterizing/resizing SVGs, so the fact that it's an SVG is one of the reasons it looked so blurry.

True, but we still have big problem with fxaa intentionally blurring our billboards and labels.  I think @pjcozzi's comment is the path to persue, when time permits.

I think everyone agrees @emackey I just wanted to point out that SVGs can compound the issue.

Related to #2752 and #3279 .  If you're considering separate frame buffers, being able to selectively apply it to imagery tiles as well would be helpful.  An AA pass on tiles, especially those with labels, reduces quality.

Also reported here: https://groups.google.com/forum/?hl=en#!topic/cesium-dev/NBfMvj80vGI

I investigated this at the bug bash. It would be quite a bit of work to selectively apply anti-aliasing. Here is the post process that would happen after each frustum instead of on the entire scene:

@bagnell can you post a link to the branch-in-progress and before/after screenshots?

The branch is selective-fxaa.
Before:

After:

Another idea is to render pick ids with MRT (or a separate pass to an offscreen framebuffer/texture), and then only blur pixels where the surrounding pick ids are different so only the ends of objects are blurred.  Billboards, the globe texture, etc. would not be blurred except at the silhouettes.

Would these fixes apply to #3279 as well?

@denverpierce they would be part of the solution.

I believe that this is still an issue - has there been any additional thought on this topic in the last ~5 years?
Or is there a recommended approach to solve with billboards and text overlays?

Quality issue when moving reported in https://community.cesium.com/t/billboard-with-custom-canvas-image-gets-darker-brighter-on-scrolling-rotating/25221/2.

I'm still having this issue.
Here is an example: sandcastle
I'm trying to create many billboards with a rectangle texture. I tried supplying an image with the "pixelated" style to prevent the image from blurring. Note that the image on the top is not blurred, but the rendered rectangle in Cesium is blurred.
Also tried disabling fxaa and antialias, without success.

Any further investigation into this issue? I can see that even in the sandcastle examples the billboard quality is low as well.

Thanks for the interest. There hasn't been any activity on this item recently, but it is definitely on our radar.

for anyone else that has found this thread, my co-worker came across this other thread explaining how billboards were made intentionally blurry to help with running on mobile devices. and that viewing billboards at a browser zoom level of anything other than 100% will cause this issue to become more noticeable.
The workaround from the thread states to adjust the value of viewer.resolutionScale property
I tested this fix in this sandcastle with some success.

@dukeofcool199 Thanks big time for this. I've been searching and made too many attempts to fix this than I want to admit lol, but your tip did the trick! :)

for anyone else that has found this thread, my co-worker came across this other thread explaining how billboards were made intentionally blurry to help with running on mobile devices. and that viewing billboards at a browser zoom level of anything other than 100% will cause this issue to become more noticeable. The workaround from the thread states to adjust the value of viewer.resolutionScale property I tested this fix in this sandcastle with some success.
UPDATE:
change this setting for the viewer viewer.useBrowserRecommendedResolution to be false

nice bro.

authors: CassandraCat Huyston badg0003 bagnell denverpierce dukeofcool199 emackey expatiating ggetz hpinkos lilleyse mramato pjcozzi shunter


text:
enableLighting = true causes black globe on Android

On my Pixel 2 XL in Chrome 74, setting enableLighting to true causes the globe to render as completely black. I don't see any errors in the console. It seems to be an issue with the combination of showGroundAtmosphere and enableLighting, as disabling either of them brings the globe back.
Can be reproduced in this sandcastle: https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/?src=Ground Atmosphere.html

Thanks for reporting this @jdarpinian. I can reproduce this on my Pixel 3 in Chrome as well. I can also see that zooming in enough once you get to the fade out distance will trigger the globe to render again. But I don't see a separate code path that triggers when this fade reaches 1 or 0 in this shader:
https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Shaders/GlobeFS.glsl#L286
@bagnell any idea here?

@OmarShehata @jdarpinian I guess this is due to the structure, because this will not be reproduced on the pc platform, ios platform, Huawei mobile phone. the platform using Qualcomm processor seems to have this problem, I am removing all the structs, when I finish After working, I can confirm whether to solve this problem. #7651

This issue still occurs on android chrome, is it possible to fix?

Still presenting as an issue on both iPad OS and the latest Android version on a OnePlus 9 Pro.

authors: OmarShehata hst-m jdarpinian nlucis verybigzhouhai


text:
Update Model.js

Fix for issue https://github.com/CesiumGS/cesium/issues/9169
Added a simple test for those cases when commands are dynamic in a model

Thank you so much for the pull request @shelterit! I noticed this is your first pull request and I wanted to say welcome to the Cesium community!
The Pull Request Guidelines is a handy reference for making sure your PR gets accepted quickly, so make sure to skim that.

:x: Missing CONTRIBUTORS.md entry.

Please add yourself to the contributors file!

:x: Missing CLA.

Please send in a Contributor License Agreement (CLA) and comment back here to let us know to check this!

:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

:grey_question: Unit tests were not updated.

Make sure you've updated tests to reflect your changes, added tests for any new code, and ran the code coverage tool.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.
[ ] Works (or fails gracefully) in IE11.

Thanks for opening a PR Alex! I know you mentioned testing for unintended consequences, but I'm hesitant to merge when we don't have a way to verify this fix. It may not cause any adverse effects but it may push the error further down the line since the underlying cause is not fixed. Why is an undefined command being pushed here in the first place? Do you know where it originates?

Hey,
That's a good question, however I don't have the internal knowledge of
Cesium to answer how that could happen. :) I'll see if I can talk to the
customer if they can share that piece of data with us, although I'm not
sure (they're a bit particular, hush, hush). I can probably get the source
files, and find out what they used to tile it, maybe there's a race
condition in there somewhere, and hopefully at the least try to make a
different model to replicate the issue.
If I go through the original file, what should I be looking for? It's all
linked to whether a property is present in the right place, and possibly
the tiler / somewhere didn't inject the property at some place? Again, I'm
not smart enough to know what goes into the opacity command being sent and
what that stack looks like.
We've currently got this fix in our build stream, but it would be great to
get it out, of course, to keep things "pure". Do you have a test suite of
data for every build that you could test the 'fix' against?
Cheers,
Alex
On Mon, Nov 2, 2020 at 4:11 AM Omar Shehata notifications@github.com
wrote:

Thanks for opening a PR Alex! I know you mentioned testing for unintended
consequences, but I'm hesitant to merge when we don't have a way to verify
this fix. It may not cause any adverse effects but it may push the error
further down the line since the underlying cause is not fixed. Why is an
undefined command being pushed here in the first place? Do you know where
it originates?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/CesiumGS/cesium/pull/9197#issuecomment-720120660, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFHK5XFH55QDRXJR4EN4O3SNWJDRANCNFSM4SNQGIYA
.

--
Information Alchemist / UX consultant / GUI developer for hire
http://thinkplot.org     |  http://www.linkedin.com/in/shelterit

Thanks again for your contribution @shelterit!
No one has commented on this pull request in 30 days. Maintainers, can you review, merge or close to keep things tidy?
I'm going to re-bump this in 30 days. If you'd like me to stop, just comment with @cesium-concierge stop. If you want me to start again, just delete the comment.

Thanks again for your contribution @shelterit!
No one has commented on this pull request in 30 days. Maintainers, can you review, merge or close to keep things tidy?
I'm going to re-bump this in 30 days. If you'd like me to stop, just comment with @cesium-concierge stop. If you want me to start again, just delete the comment.

Thanks again for your contribution @shelterit!
No one has commented on this pull request in 30 days. Maintainers, can you review, merge or close to keep things tidy?
I'm going to re-bump this in 30 days. If you'd like me to stop, just comment with @cesium-concierge stop. If you want me to start again, just delete the comment.

Thanks again for your contribution @shelterit!
No one has commented on this pull request in 30 days. Maintainers, can you review, merge or close to keep things tidy?
I'm going to re-bump this in 30 days. If you'd like me to stop, just comment with @cesium-concierge stop. If you want me to start again, just delete the comment.

Thanks again for your contribution @shelterit!
No one has commented on this pull request in 30 days. Maintainers, can you review, merge or close to keep things tidy?
I'm going to re-bump this in 30 days. If you'd like me to stop, just comment with @cesium-concierge stop. If you want me to start again, just delete the comment.

A similar fix was made in https://github.com/CesiumGS/cesium/pull/9271 so I'm going to close this one. Thanks @shelterit.

source: gharchive/pull-request

authors: OmarShehata cesium-concierge lilleyse shelterit


text:
Fixes S2 bounding volumes

This PR fixes some two main issues in the current S2 implementation:

Incorrect conversion from {level}/{x}/{y}/{z} to Hilbert/S2 index.
The parent bounding volume being updated when a child bounding volume is created.

Thanks for the pull request @sanjeetsuhag!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.
[ ] Works (or fails gracefully) in IE11.

@sanjeetsuhag I'll merge this once CI passes

merged! Thanks @sanjeetsuhag!

authors: cesium-concierge ptrgags sanjeetsuhag


text:
Implemented energy mechanism and UI

Closes #5 and closes #6
Added energy mechanism on GameManager
Added Panel component and energy panel
Implemented energy spend mechanism, locking expensive towers
Added and implemented UIManager
Removed old references to ScrollableCamera to UIManager
Renamed TowerDrag to TowerIcon
Moved things around so folders make more sense now in line with the GDD

No code reviewers are available so will go ahead and merge this

repo: CetoBasilius/energy-defender

license: MIT

license_source: github-api


text:
Rubify health check script

Issue summary

Currently, the health check script is written in bash. For readability and extendability and having a uniform technology in the sync check, it would be great to rewrite it in Ruby. The current script doesn't do any magic, just grabs the metrics and compares a few values there, so it should be straightforward to implement.
It might be an excellent entry task to get exposed to Ruby.
Task summary

[ ] rewrite health check script in Ruby
[ ] verify that it works the same way as the former bash script (perhaps some basic unit tests?)
[ ] use it in sync check CI

Acceptance Criteria

[ ] bash script is no longer used in sync check
[ ] new version has at least the same functionality as the former one

Other information and links

https://github.com/ChainSafe/forest/pull/1867

Bash is good, and the sync check is rock solid.

repo: ChainSafe/forest


text:
Lint: pedantic clippy warnings

Issue summary

To further increase code quality, it would be interesting to look into pedantic clippy group.
For each lint:

add your GH handle to the lint so that two people are not working on the same lint,
figure out if it's helpful and makes sense in our case,
add it to the lint target in Makefile https://github.com/ChainSafe/forest/blob/d8eae69e556038af86e32a388e7e118b3bd3307d/Makefile#L73-L74
fix the warnings if any
tick the corresponding checkbox,

After they are all resolved, enable the entire pedantic group with perhaps some exceptions.
:warning:
This is a low-priority issue; feel free to tackle a lint or two now and then if there's nothing more important to do.
Lint list (may differ in time & clippy version):

[ ] bool_to_int_with_if
[ ] borrow_as_ptr
[ ] case_sensitive_file_extension_comparisons
[ ] cast_lossless
[ ] cast_possible_truncation
[ ] cast_possible_wrap
[ ] cast_precision_loss
[ ] cast_ptr_alignment
[ ] cast_sign_loss
[ ] checked_conversions
[ ] cloned_instead_of_copied
[ ] copy_iterator
[ ] default_trait_access
[ ] doc_link_with_quotes
[ ] doc_markdown
[ ] empty_enum
[ ] enum_glob_use
[ ] expl_impl_clone_on_copy
[ ] explicit_deref_methods
[ ] explicit_into_iter_loop
[ ] explicit_iter_loop
[ ] filter_map_next
[ ] flat_map_option
[ ] float_cmp
[ ] fn_params_excessive_bools
[ ] from_iter_instead_of_collect
[ ] if_not_else - @jdjaustin
[ ] implicit_clone
[ ] implicit_hasher
[ ] inconsistent_struct_constructor
[ ] index_refutable_slice
[ ] inefficient_to_string
[ ] inline_always
[ ] invalid_upcast_comparisons
[ ] items_after_statements
[ ] iter_not_returning_iterator
[ ] large_digit_groups
[ ] large_stack_arrays
[ ] large_types_passed_by_value
[ ] linkedlist
[ ] macro_use_imports
[ ] manual_assert
[ ] manual_instant_elapsed
[ ] manual_let_else
[ ] manual_ok_or
[ ] manual_string_new
[ ] many_single_char_names
[ ] map_unwrap_or
[ ] match_bool
[ ] match_on_vec_items
[ ] match_same_arms
[ ] match_wild_err_arm
[ ] match_wildcard_for_single_variants
[ ] maybe_infinite_iter
[ ] mismatching_type_param_order
[ ] missing_errors_doc
[ ] missing_panics_doc
[ ] module_name_repetitions
[ ] must_use_candidate
[ ] mut_mut
[ ] naive_bytecount
[ ] needless_bitwise_bool
[ ] needless_continue
[ ] needless_for_each
[ ] needless_pass_by_value
[ ] no_effect_underscore_binding
[ ] option_option
[ ] ptr_as_ptr
[ ] range_minus_one
[ ] range_plus_one
[ ] redundant_closure_for_method_calls
[x] redundant_else
[ ] ref_binding_to_reference
[ ] ref_option_ref
[ ] return_self_not_must_use
[ ] same_functions_in_if_condition
[ ] semicolon_if_nothing_returned
[ ] similar_names
[ ] single_match_else
[ ] stable_sort_primitive
[ ] string_add_assign
[ ] struct_excessive_bools
[ ] too_many_lines
[ ] transmute_ptr_to_ptr
[ ] trivially_copy_pass_by_ref
[ ] unicode_not_nfc
[ ] unnecessary_join
[ ] unnecessary_wraps
[ ] unnested_or_patterns
[ ] unreadable_literal
[ ] unsafe_derive_deserialize
[x] unused_async
[ ] unused_self
[ ] used_underscore_binding
[ ] verbose_bit_mask
[ ] wildcard_imports
[ ] zero_sized_map_values

Other information and links

https://github.com/ChainSafe/forest/pull/2428

To re-iterate two important points:

Don't work on this if you have other work to do.
Carefully consider whether the lint is beneficial. Include your arguments for why the lint should be enabled in your PR. Expect a lot of push-back so make sure your arguments are strong.

How about unwrap_used ? So that we enforce using .expect with a reason.
There has a allow-unwrap-in-tests setting in clippy.toml so that we don't need to fix all tests

How about unwrap_used ? So that we enforce using .expect with a reason.
There has a allow-unwrap-in-tests setting in clippy.toml so that we don't need to fix all tests

@jdjaustin Maybe you could have a go at this one. Coming up with sensible error messages might be tough, though.

Stale, we have more priorities than pedantic clippy warnings now. :)


text:
Changes to walk_snapshot to match Forest and Lotus snapshots

Summary of changes

Changes introduced in this pull request:

Changes to walk_snapshot to match Lotus logic (i.e., don't include identity CIDs in snapshot export).

Reference issue to close (if applicable)

Closes #1884
Other information and links

Change checklist

[x] I have performed a self-review of my own code,
[x] I have made corresponding changes to the documentation,
[x] I have added tests that prove my fix is effective or that my feature works (if possible),
[x] I have made sure the CHANGELOG is up-to-date. All user-facing changes should be reflected in this document.

Calibnet snapshots are matching up now but I'm so far unable to verify mainnet. @LesnyRumcajs

@jdjaustin, what's the issue with mainnet snapshots? Is it because of the hardware limitations? If so, have you tried installing Forest with an alternative, turbo fast, pioneer & bleeding edge backend with make install-with-jemalloc

@jdjaustin, what's the issue with mainnet snapshots? Is it because of the hardware limitations? If so, have you tried installing Forest with an alternative, turbo fast, pioneer & bleeding edge backend with make install-with-jemalloc

Yes, I tried make install-with-jemalloc and I'm still getting No space left on device errors. I can clear out some disk space and try again.

Ah, so your issue is with disk space, not RAM. In this case, you need around 250G of free disk space.

clean up forest directory
download and import the snapshot - this would require around 250G at least - 110G snapshot + 130G DB, more or less.
Delete the snapshot to get back some disk space.
Export the snapshot - again, you will need around 250G plus some more because of the additional chain progression.

@jdjaustin If you still don't have enough disk space after deleting the old files, ask Hubert to set up a droplet for you.

Good news. Verified that the Lotus and Forest mainnet snapshots also match!

@jdjaustin does the shasum of both match?

@jdjaustin does the shasum of both match?

Yepp!

Rock solid! Now it would be fantastic to keep it this way. One approach would be to modify the test a bit in our workflow https://github.com/ChainSafe/forest/blob/main/.github/workflows/rust.yml#L150-L172

Download the Lotus snapshot.
Import it into Forest
Export the snapshot at height specified in Lotus snapshot.
Compare the checksums.

We can do it in a separate issue if it's too complex; I may be missing some gotchas.

Linking the "source" PR for future reference if needed. https://github.com/filecoin-project/lotus/pull/8691

@jdjaustin Perhaps we should match the logic in Lotus for the snapshot, just in case. I am not entirely sure we need it but better safe than sorry. So this:
// We only include raw and dagcbor, for now.
// Raw for "code" CIDs.
switch prefix.Codec {
case cid.Raw, cid.DagCBOR:
default:
	continue
}

Should also get included.

@jdjaustin Perhaps we should match the logic in Lotus for the snapshot, just in case. I am not entirely sure we need it but better safe than sorry. So this:
// We only include raw and dagcbor, for now.
// Raw for "code" CIDs.
switch prefix.Codec {
case cid.Raw, cid.DagCBOR:
default:
	continue
}

Should also get included.

This block of code doesn't seem to be affecting snapshot exports currently, so my biggest question/concern with adding this is: how will I test the Rust code is working as intended?

I believe just checking if the snapshots are still the same will be okay.

I believe just checking if the snapshots are still the same will be okay.

Got it, I thought it was just going to be dead code, but I was just confused by the Go code; once I started writing the Rust code, I understood what was going on. And the snapshots still match:

authors: LesnyRumcajs jdjaustin lemmih


text:
chore: update url of goerli bootnodes file and genesis ssz

Motivation
Files have been removed from eth-clients/eth2-networks, see https://github.com/eth-clients/eth2-networks/pull/92
Running Lodestar with --network goerli flag causes the following error on startup
Error fetching latest bootnodes: HTTPError: Response code 404 (Not Found)
    at Request.<anonymous> (/home/nico/projects/ethereum/lodestar/node_modules/got/dist/source/as-promise/index.js:118:42)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Description
Update url of goerli bootnodes file and genesis ssz

:tada: This PR is included in v1.14.0 :tada:

authors: nflaig wemeetagain

repo: ChainSafe/lodestar


text:
fix: improve state serialization

Motivation
State serialization happens once per epoch in n-historical state so its performance is important
Description

New validator type to optimize its value_serializeToBytes performance, this helps make state.validators.serialize() 3.4x faster

before
    ✔ serialize 20000 validators manually                                 773.4012 ops/s    1.292990 ms/op        -      45968 runs   60.0 s
    ✔ serialize 20000 validators from state                               206.3978 ops/s    4.845013 ms/op        -      12271 runs   60.0 s

after
    ✔ serialize 20000 validators manually                                 768.2498 ops/s    1.301660 ms/op        -      45667 runs   60.0 s
    ✔ serialize 20000 validators from state                               694.0964 ops/s    1.440722 ms/op        -      41260 runs   60.0 s

use the new serializeToBytes() api of ssz v0.15.1

part of #5968

:tada: This PR is included in v1.18.0 :tada:

authors: tuyennhv wemeetagain


text:
Table does not parse correctly if there is a title above it.

I am using the latest version and the following code to test:
@cl.on_chat_start
async def main():
    msg = """Table 1
    | heading | b  |  c |  d  |
  | - | :- | -: | :-: |
  | cell 1 | cell 2 | 3 | 4 |
"""
    await cl.Message(content=msg).send()

The output is not parsed as a table:
Table 1
| heading | b  |  c |  d  |
| - | :- | -: | :-: |
| cell 1 | cell 2 | 3 | 4 |

Another maybe related problem is if there is markdown list inside a cell. This list will not be parsed either.

I am able to reproduce with your example. However this works
import chainlit as cl

@cl.on_chat_start
async def main():
    msg = """
  Hello
  | heading | b  |  c |  d  |
  | - | :- | -: | :-: |
  | cell 1 | cell 2 | 3 | 4 | """
    await cl.Message(content=msg).send()

Looks like indentation is important.

Interesting. The problem is the table and text above and below it are generated by LLM and I can not easily control indentation. Is it possible we make the table parsing more robust?

That is a good question. We use remark-gfm to parse markdown tables. Would have to dig into that.

Do you know what does ChatGPT and Gradio use? At least ChatGPT can produce beatiful tables robustly.

authors: entron willydouhard

repo: Chainlit/chainlit


text:
Continuation puzzle scene 1

Pull request by Jens Lomander and Andreas Flöjt
You can now throw a rock in the first puzzle. Better than showing nothing doodz

SonarQube analysis reported 1 issue
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:

 AncientFungus:LGEPR: Cppcheck cannot find all the include files (use --check-config for details)

repo: Chainsawkitten/LargeGameProjectEngine

license: mit


text:
Updating PULL_REQUEST_TEMPLATE.md -> Lodash Backlog

Description

MAKING MAINTAINABLE #100
Makes tracking the methods that have been UPDATED or ADDED to the lodash backlog much more easier. Than having the collaborators constantly reading all the snippets and trying to find which has been added or not.
This way all we have to do is just look on lodash backlog timeline and whichever methods.md PR have been merged we can update
What does your PR belong to?

[ ] Website
[ ] Snippets
[x] General / Things regarding the repository (like CI Integration)

Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (non-breaking improvement of a snippet)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have checked that the changes are working properly
[x] I have checked that there isn't any PR doing the same
[x] I have read the CONTRIBUTING document.

Yes Will surely do


text:
更换api不生效

在配置文件service/.env里面更换了api key，重启了后端和前段，在openai上看了但是还是用的旧apikey（两个不同的帐号），是不是还需要其他操作才能生效？

官网有延迟

官网有延迟

已经快一天了，还是走的旧API，服务器重启了还是一样，求原因……

authors: Chanzhaoyu zhzyg

repo: Chanzhaoyu/chatgpt-web


text:
General Grievance: Watch content-baer.de

General Grievance requests the watch of the watch_keyword content-baer\.de. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

content-baer\.de has been seen in 0 true positives, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ

authors: SmokeDetector metasmoke

repo: Charcoal-SE/SmokeDetector


text:
health was renamed as medicalsciences

The site formerly known as Health is now Medical Sciences, but bodyfetcher has the old URL.

Coverage remained the same at 63.784% when pulling f045ad431bd04f4033724d95e27808e37d8e47c4 on normalhuman:patch-7 into cf5d65e5954c7eb7d0d00315c8a0402d56801f43 on Charcoal-SE:master.

authors: coveralls normalhuman


text:
Kulfy: Watch darkhackerworld.com

Kulfy requests the watch of the watch_keyword darkhackerworld\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

darkhackerworld\.com has been seen in 0 true positives, 0 false positives, and 0 NAAs.

From this deleted answer.

Approved by Mast in Charcoal HQ

authors: SmokeDetector double-beep metasmoke


text:
Ollie: Watch 01329 609 260

Ollie requests the watch of the watch_number 01329 609 260. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Approved by Spevacus in Charcoal HQ


text:
cocomac: Watch w88xin.com

cocomac requests the watch of the watch_keyword w88xin\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

w88xin\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Spevacus in Charcoal HQ


text:
Nick: Watch kushals.com

Nick requests the watch of the watch_keyword kushals\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

kushals\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Mast in Charcoal HQ


text:
Jesse: Watch apkbossnews.com

Jesse requests the watch of the watch_keyword apkbossnews\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

apkbossnews\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Spevacus in Charcoal HQ


text:
Refactor navbar

Maybe integrate this to make our navbar less magic-y?

cc @izwick-schachter

I started trying to do this and it really seems like more trouble that it's worth.

repo: Charcoal-SE/metasmoke


text:
Blazer: LEFT OUTER JOIN query never finishes

I created a query which simply ends up displaying the browser's "Aw, snap" sad face eventually. I have had experiences in the past where Blazer queries were slow and timed out, but this seems like a different beast, as the timeout is not caught and reported by Ruby or other parts of the web framework. I'm wondering if I managed to DoS metasmoke somehow.
The problematic query is https://metasmoke.erwaysoftware.com/data/sql/queries/297-phone-number-in-title-is-not-blacklisted

A variation which avoids the (allegedly more efficient) LEFT OUTER join https://metasmoke.erwaysoftware.com/data/sql/queries/298-phone-number-in-title-is-not-blacklisted finishes quickly and returns some 3,000 rows.

You've given us nothing but a link to the query. Queries are automatically run when you go to the page. You say you're concerned about DoS'ing MS as a result of this query. So, you've left us little alternative for investigation other than clicking on the link you've provided and contributing to the DoS ourselves, if that's what's happening.

Sorry about that. Here is the query text:
-- https://stackoverflow.com/a/14710831/874188
SELECT p.id, p.title, p.body FROM p_posts AS p
LEFT OUTER JOIN p_posts_reasons AS r
             ON r.post_id = p.id
            AND r.reason_id in (47, 164)
            -- 47 = phone number in title
            -- 164 = bad phone number in title
WHERE r.post_id IS NULL

Here is a query to fetch the information about an individual query by its Blazer ID:
https://metasmoke.erwaysoftware.com/data/sql/queries/299-blazer-query-by-id?query_id=297

I did actually click on the link you provided. Your query was cached about an hour ago. It returned 357,465 rows. I suspect that you didn't crash MS, but that you did crash the browser tab you were using when it tried to display all 357,465 rows of results.
When experimenting/working on a query, I've found it's a good idea to include a LIMIT to get a short look at if the results resemble something you want. When removing the LIMIT when your query is still exceeding the limit you've set, it's a good idea to run it with a COUNT instead of the unlimited query to get a feel for the number of results which you're returning. I've edited the query to have LIMIT 100.
Here's an image of the prior results:

Thanks for investigating! I'm guessing this is a browser bug then actually. (I'm using Brave.)

(For what it's worth, I have deleted the flawed query now; it didn't do what I wanted anyway.)

authors: makyen tripleee


text:
Issue with dates and json

I am getting this exception thrown on every date
[DateField] = '(new System.Collections.Generic.Mscorlib_CollectionDebugView<PivotalTrackerDotNet.Domain.Story>(stories).Items[0]).[DateField]' threw an exception of type 'System.FormatException'
Using the exact story getting code listed on the home page of this project. I'm guessing you have the api set up to get the milli date, instead of the standard one. Can you add some overload to get the standard date format? XML is fine reading this format, but I am not using XML.

I've forked your project and added 2 methods to the storyService that specifically get certain date types; you'll probably want to change up how it's done, but it works.
https://github.com/Nixon-Joseph/PivotalTracker.NET

Thanks, I'll take a look.

From the screenshot it looks like either you a wrapping the library with your own code and maybe modified the library your self.
The Story object doesn't have AcceptedOn, CreatedOn projects and there is no Note object.
Therefore I have no idea of what you code is doing to cause this issue.
Also from the screenshot it does look like AcceptedAt CreatedAt properties have been deserialized correctly.

Hmm, maybe that's changed since I posted that. Because I didn't change the models at all.

authors: Hyldahl Nixon-Joseph


text:
High contrast mode

Make a high contrast mode in addition to light mode #37

CSS contrast will do the work, let me help.

Absolutely! Could you add a sub-dropdown in the View dropdown for Themes, and submit a PR when you're ready? Thank you!

authors: CharlesAverill Danowicz

repo: CharlesAverill/satyrn


text:
[New Puppet] PuppetWechat4u - enable by WECHATY_PUPPET=wechat4u

Today, wechaty has only one puppet support: PuppetWeb, which is powered by Selenium WebDriver with Chrome Browser.
PuppetWeb has the following pros and cons:
Advantages

No need to deal with wechaty server API changes. Webdriver puppet never touches the HTTP protocol of wechaty web server API; It uses webdriver to hook angularjs in the browser. So it will never mind the server API change.
Behavior not like a bot. It's very like a user use the browser.

Disadvantages

Memory pig. The browser will eat about 100-500MB memory. After serval hours, the situation will be worse, might over 1GB with an active wechat account which has more contacts, more big rooms.
Complicated configuration. If you had set a headless browser under a Linux server, you would understand what I mean. (It became a bit better after Dockerized: https://github.com/wechaty/wechaty/issues/66)

About Wechat4U
Wechat4U is an excellent wechat bot framework that supports both Node.js & Browser, with rich features and an active community of experienced contributors.
So I believe it's a bright decision to made a new Puppet like PuppetWechat4U, to let wechaty users have the second way to use wechaty: not only by Browser Hook but also by Server API Call.
The Plan
This practice will be a good chance to check the wechaty abstract/base classes(the codes under /src directory),  to start decoupling with the WebDriver and become more robust, more reusable for the future possible PuppetAndroid, PuppetAndroidPad, PuppetIos, PuppetIosPad.
TBD
Reference

Wechat4U v0.5 Update https://github.com/nodeWechat/wechat4u/commit/5d0275e650572a57ea057c8cb1baff803a253b53

Challenge start: finish a new puppet in one night!
Now is June 1 was 10pm.

Start from scratch from 00:00, now is 2:16 am.

Succeed at 1:11 pm!
ding-dong-bot worked with PuppetWechat4u, code had pushed.
$ WECHATY_PUPPET=wechat4u WECHATY_LOG=info DEBUG=* npm run demo

> wechaty@0.15.95 demo /home/zixia/chatie/wechaty
> ts-node examples/ding-dong-bot.ts

| __        __        _           _
| \ \      / /__  ___| |__   __ _| |_ _   _
|  \ \ /\ / / _ \/ __| '_ \ / _` | __| | | |
|   \ V  V /  __/ (__| | | | (_| | |_| |_| |
|    \_/\_/ \___|\___|_| |_|\__,_|\__|\__, |
|                                     |___/

=============== Powered by Wechaty ===============
-------- https://github.com/chatie/wechaty --------

I'm a bot, my superpower is talk in Wechat.

If you send me a 'ding', I will reply you a 'dong'!
__________________________________________________

Hope you like it, and you are very welcome to
upgrade me to more superpowers!

Please wait... I'm trying to login in...

13:13:05 INFO Wechaty v#git[1c24bf1] starting...
13:13:05 INFO Wechaty initPuppet() using puppet: wechat4u
  wechat 重启中... +0ms
  follow-redirects options { maxRedirects: 21,
  protocol: 'https:',
  hostname: 'wx.qq.com',
  port: null,
  path:
   '/cgi-bin/mmwebwx-bin/webwxinit?pass_ticket=HVzv4jGSpfn%252F%252BM6SHE3ZR%252BiAZZ5wma7JJQJXaOJKxKm11oNhSM2kT6%252BYKwd56Lfk&skey=@crypt_c117402d_ce0dcad71413fb0db87ccbe3f445b552&r=1091971814',
  method: 'POST',
  headers:
   { Accept: 'application/json, text/plain, */*',
     'user-agent':
      'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.109 Safari/537.36',
     connection: 'close',
     cookie:
      'pgv_pvi=11436618067571104000; pgv_si=s331744187855914500; wxuin=1211516682; wxsid=X5DHlBFELj1Pziyl; wxloadtime=1527915233; mm_lang=zh-CN; webwx_data_ticket=gSd1Qet8FHrlIzQl8uQCfF87; webwxuvid=747895d9dac5a25dd3a78175a5e931d820622c2c2e100257730e529062f992fe7b8677a8b2980f54e6ad283848618766; webwx_auth_ticket=CIsBEMqOnqAMGoABbV0bKSiVjFh4uH1OaLDKlkBrdj0sUYPfjR26FICA+K6SUNLBZE/Xrk3r6M6mpYIFnD6Vwuq7L/tAAovTAZxAwNMGZfEXhaGDFKBX1DL+ck8eDHmtwVax5ZEv7MdtJGy8i76oetciEhh2n++z+ps+/wRvYBZ8iobG/CagXHlSLck=',
     'Content-Type': 'application/json;charset=utf-8',
     'Content-Length': 147 },
  agent: false,
  auth: undefined } +1ms
  wechat 心跳 +2s
  follow-redirects options { maxRedirects: 21,
  protocol: 'https:',
  hostname: 'wx.qq.com',
  port: null,
  path:
   '/cgi-bin/mmwebwx-bin/webwxstatusnotify?pass_ticket=HVzv4jGSpfn%252F%252BM6SHE3ZR%252BiAZZ5wma7JJQJXaOJKxKm11oNhSM2kT6%252BYKwd56Lfk&lang=zh_CN',
  method: 'POST',
  headers:
   { Accept: 'application/json, text/plain, */*',
     'user-agent':
      'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.109 Safari/537.36',
     connection: 'close',
     cookie:
      'pgv_pvi=11436618067571104000; pgv_si=s331744187855914500; wxuin=1211516682; wxsid=X5DHlBFELj1Pziyl; wxloadtime=1527915233; mm_lang=zh-CN; webwx_data_ticket=gSd1Qet8FHrlIzQl8uQCfF87; webwxuvid=747895d9dac5a25dd3a78175a5e931d820622c2c2e100257730e529062f992fe7b8677a8b2980f54e6ad283848618766; webwx_auth_ticket=CIsBEMqOnqAMGoABbV0bKSiVjFh4uH1OaLDKlkBrdj0sUYPfjR26FICA+K6SUNLBZE/Xrk3r6M6mpYIFnD6Vwuq7L/tAAovTAZxAwNMGZfEXhaGDFKBX1DL+ck8eDHmtwVax5ZEv7MdtJGy8i76oetciEhh2n++z+ps+/wRvYBZ8iobG/CagXHlSLck=',
     'Content-Type': 'application/json;charset=utf-8',
     'Content-Length': 354 },
  agent: false,
  auth: undefined } +6ms
{ MsgId: '3971822301789638769',
  FromUserName:
   '@@619a6af1d26cc8cb4f27efba3756da634a79d8565fd44dadb22ef5b728c10752',
  ToUserName:
   '@548e31e461de6823e86c4261fcd5bd5c3b5f99d911dd3b92853893c83be9171b',
  MsgType: 43,
  Content:
   '@5b7fad094cb2b09b91bbf544d02b57b4:\n@859e5247d4ffaed0372f8aa900924b01d11a3f27c2bbb3513c5ef6f37eb76d841f51c97463429b11976df154d8bbe302ee5e939915846ff4b1d40fc94ea747335af430abc2e92a5a96a7fdd957f33334bb4eaac644f1c9a6f7fd4f75b77cccf55dc949b32fc06f6eb218c13f1ad283f4a85414359937d96d80699ad425068ef2448f74c3720ae0414f4b6afaf1d5a0428bb71444fb145a43ac100c9ae05b86006e9bf6454ca13e6f933ee2bfd49876a66570ef155212e889de0cbf299d29f8cdee722495a597fa13d39f3960a481b71fb9f706b3240c8abff5ce3bd3fbbc1863f0de7fba6c04c2e79ed3fc5b4e578280aa4a75f3c96b7f0830545baa8ed9410e1bc7a98b2629e44938099f0c8eebd7b0c9b22dcd1a7857f494bed8f3ca982f3d5098e79fc0adecc0b625a530937e6a03847d3378b5ba27312d062eb5b325cebb580c736b55225e1aaef2b91c779cfdbd094e8cd0cb8ecf0d5157213f001f5e58293b1b37f57fe57f936bae31e65e78789b0e524ea88db429ced06febcb50c5de499eb01d6ada58032316110b5a68390b0d333ab1190ebb4195399bb581a3a8deda3414cc683e4be6caccbfcc7507801a5233d28e8dbcd5adc3e6f2252c402310d2230602815b07ed8692e521b007d18216e99d4096b30fbb43752a2f0bf8a582e06b99ee50dc36648aaa8c864ede4c930dab809f3de34f7ead33c430df3e204099bf2110bd0dc1d548d39a12f43106864cdf4b01ea5b5494a81f3bf83f496465e0c931ec43aa983b2ca3ab3e0c37c6bc4593fb6df958f524e7804ee9a5c377749ce08fb36974be2524c3758294773759ce95e39eb5bf54b5db8ea4c15bfb6b07676371e7dc82ba22c77859efe37753a409c4d7cdad04b8530f2ae4e9af63c4775351ff46bd0d3758dc2054bf6290d7e216eb6e089944724fab71ece7338393b183b0fe1e3d97b5190b36b4bc0daba3c2ba61edac7ae60f7c319845d1cfa91f42e115cf443adaa0d80b45a685c9565ebdeb0d4554fa4b8e9fd3d62b935b82a2f407a8a2aea5c41b60491b18ac07fd44ce1f91d8a2b1385797c27579c4450a2d0bdf38602dd0e2a8376ebb877ba7355a7934ae8dfbafa3ab4883c257e41a4f84bcc1984c0a5b4f94d1e77cc44443ccb70ecaca58dc29fd7f7338344a5e9cb88fa1c63b87630c5c64e3cfcaf27723c05166',
  Status: 3,
  ImgStatus: 1,
  CreateTime: 1527916387,
  VoiceLength: 0,
  PlayLength: 15,
  FileName: '',
  FileSize: '',
  MediaId: '',
  Url: '',
  AppMsgType: 0,
  StatusNotifyCode: 0,
  StatusNotifyUserName: '',
  RecommendInfo:
   { UserName: '',
     NickName: '',
     QQNum: 0,
     Province: '',
     City: '',
     Content: '',
     Signature: '',
     Alias: '',
     Scene: 0,
     VerifyFlag: 0,
     AttrStatus: 0,
     Sex: 0,
     Ticket: '',
     OpCode: 0 },
  ForwardFlag: 0,
  AppInfo: { AppID: '', Type: 0 },
  HasProductId: 0,
  Ticket: '',
  ImgHeight: 512,
  ImgWidth: 288,
  SubMsgType: 0,
  NewMsgId: 3971822301789638700,
  OriContent: '',
  EncryFileName: '',
  isSendBySelf: false,
  OriginalContent:
   '@5b7fad094cb2b09b91bbf544d02b57b4:<br/>@859e5247d4ffaed0372f8aa900924b01d11a3f27c2bbb3513c5ef6f37eb76d841f51c97463429b11976df154d8bbe302ee5e939915846ff4b1d40fc94ea747335af430abc2e92a5a96a7fdd957f33334bb4eaac644f1c9a6f7fd4f75b77cccf55dc949b32fc06f6eb218c13f1ad283f4a85414359937d96d80699ad425068ef2448f74c3720ae0414f4b6afaf1d5a0428bb71444fb145a43ac100c9ae05b86006e9bf6454ca13e6f933ee2bfd49876a66570ef155212e889de0cbf299d29f8cdee722495a597fa13d39f3960a481b71fb9f706b3240c8abff5ce3bd3fbbc1863f0de7fba6c04c2e79ed3fc5b4e578280aa4a75f3c96b7f0830545baa8ed9410e1bc7a98b2629e44938099f0c8eebd7b0c9b22dcd1a7857f494bed8f3ca982f3d5098e79fc0adecc0b625a530937e6a03847d3378b5ba27312d062eb5b325cebb580c736b55225e1aaef2b91c779cfdbd094e8cd0cb8ecf0d5157213f001f5e58293b1b37f57fe57f936bae31e65e78789b0e524ea88db429ced06febcb50c5de499eb01d6ada58032316110b5a68390b0d333ab1190ebb4195399bb581a3a8deda3414cc683e4be6caccbfcc7507801a5233d28e8dbcd5adc3e6f2252c402310d2230602815b07ed8692e521b007d18216e99d4096b30fbb43752a2f0bf8a582e06b99ee50dc36648aaa8c864ede4c930dab809f3de34f7ead33c430df3e204099bf2110bd0dc1d548d39a12f43106864cdf4b01ea5b5494a81f3bf83f496465e0c931ec43aa983b2ca3ab3e0c37c6bc4593fb6df958f524e7804ee9a5c377749ce08fb36974be2524c3758294773759ce95e39eb5bf54b5db8ea4c15bfb6b07676371e7dc82ba22c77859efe37753a409c4d7cdad04b8530f2ae4e9af63c4775351ff46bd0d3758dc2054bf6290d7e216eb6e089944724fab71ece7338393b183b0fe1e3d97b5190b36b4bc0daba3c2ba61edac7ae60f7c319845d1cfa91f42e115cf443adaa0d80b45a685c9565ebdeb0d4554fa4b8e9fd3d62b935b82a2f407a8a2aea5c41b60491b18ac07fd44ce1f91d8a2b1385797c27579c4450a2d0bdf38602dd0e2a8376ebb877ba7355a7934ae8dfbafa3ab4883c257e41a4f84bcc1984c0a5b4f94d1e77cc44443ccb70ecaca58dc29fd7f7338344a5e9cb88fa1c63b87630c5c64e3cfcaf27723c05166' }
  follow-redirects options { maxRedirects: 21,
  protocol: 'https:',
  hostname: 'webpush.wx.qq.com',
  port: null,
  path:
   '/cgi-bin/mmwebwx-bin/synccheck?r=1527916396794&sid=X5DHlBFELj1Pziyl&uin=1211516682&skey=@crypt_c117402d_ce0dcad71413fb0db87ccbe3f445b552&deviceid=e726504311449325&synckey=1_679446148%7C2_679450454%7C3_679448912%7C11_679449713%7C201_1527916387%7C203_1527910120%7C1000_1527916093%7C1001_1527894314%7C2001_1527672305',
  method: 'GET',
  headers:
   { Accept: 'application/json, text/plain, */*',
     'user-agent':
      'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.109 Safari/537.36',
     connection: 'close',
     cookie:
      'pgv_pvi=11436618067571104000; pgv_si=s331744187855914500; wxuin=1211516682; wxsid=X5DHlBFELj1Pziyl; wxloadtime=1527915233_expired; mm_lang=zh-CN; webwx_data_ticket=gSd1Qet8FHrlIzQl8uQCfF87; webwxuvid=747895d9dac5a25dd3a78175a5e931d820622c2c2e100257730e529062f992fe7b8677a8b2980f54e6ad283848618766; webwx_auth_ticket=CIsBEMqOnqAMGoABbV0bKSiVjFh4uH1OaLDKlkBrdj0sUYPfjR26FICA+K6SUNLBZE/Xrk3r6M6mpYIFnD6Vwuq7L/tAAovTAZxAwNMGZfEXhaGDFKBX1DL+ck8eDHmtwVax5ZEv7MdtJGy8i76oetciEhh2n++z+ps+/wRvYBZ8iobG/CagXHlSLck=; wxpluginkey=1527916093' },
  agent: false,
  auth: undefined } +9ms
(node:4453) UnhandledPromiseRejectionWarning: Error: from not found
    at PuppetWechat4u.<anonymous> (/home/zixia/chatie/wechaty/src/puppet-wechat4u/puppet-wechat4u.ts:535:17)
    at Generator.next (<anonymous>)
    at fulfilled (/home/zixia/chatie/wechaty/src/puppet-wechat4u/puppet-wechat4u.ts:4:58)
    at process._tickCallback (internal/process/next_tick.js:68:7)
(node:4453) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:4453) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
13:13:18 INFO Bot 李卓桓 login

I have a plan that Wechaty switches to use PuppetWechat4u as default puppet in the future version, but this requires the PuppetWechat4u is stable enough for basic operations, at least the same as PuppetPuppeteer.
If anyone is interested in testing PuppetWechat4u with Wechaty v0.17, please check out the latest source code and run the following command to enable wechat4u puppet:
DEBUG=* WECHATY_LOG=silly WECHATY_PUPPET=wechat4u npm start

Please feel free to file issues if you meet any problem, thanks!

Awesome work!

Thank you @seanxlliu .
Did you use wechat4u before?

Never used yet, so I meant the efficiency of this work is very impressive. I would like to contribute to this project too, testing or coding. Just switch to this puppet due to the default puppet's limitation, room contact is incorrect.
However, I just hit some assert failures when using after switching to this one. Maybe it out of date. I am filing a bug now.

Where can I access the source code? Actually what I would like to know is how to use this module together with webchaty? Is there any example code?

You can run wechaty demo with wechaty-puppet-wechat4u by running the following command in this repository:
$ WECHATY_PUPPET=wechaty-puppet-wechat4u WECHATY_LOG=info DEBUG=* npm run demo

authors: dzcpy huan seanxlliu zixia

repo: Chatie/wechaty


text:
Mentions channel messages not showing before focusing the tab first

If you start chatterino but you don't focus the tab /mentions, you get a highlight in that tab but you don't get the messages there until you focus it first.
To test, open chatterino, get pinged by a bot or something and see the /mentions tab highlight.
Click it and it has no message.

You'll need to be more specific about how to set up the test. I tried with 2 separate tabs. one with channel pajlada, and one with only a /mentions
I started chatterino with the pajlada tab active, let someone type my name, then I switched to the /mentions tab and the message was there

I was using 4270c402fb6ca3e81d5f685ad2f36b90414ede24 in the video

Removing this line in my settings.json fixes it:
"smoothScrollingNewMessages": true

still exists in Chatterino Nightly 2.1.5 (commit 367b1970f, 22.09.2019)
quick fix is to disable Smooth scrolling on new messages

Brought up again in #1617 so it's definitely still relevant

Yes, I wanted to post that proof on #1617 but I'll do that here instead https://i.nuuls.com/kepuX.mp4

authors: ThePridestalker pajlada wigoor zneix


text:
[BUG] Contributor count breaks with an NPE when encountering an empty repo.

Describe the bug
When running the contributor count utility, it throws an NPE when it encounters a repository that does not contain code.  The enumeration ends.
Expected behavior
It should see the repo is empty and move on without stopping the enumeration.
Actual behavior
While enumerating an org's repos, it encountered a repo with no code in it.  It threw an NPE and exited the program.
Steps to reproduce

Use a GitHub org (it probably does the same in other SCMs, I only tried GitHub)
Create a new repository, don't add any files to it.
Run the contributor count tool to enumerate the org.

Environment
CLI 2.0.58
Powershell on an unknown Windows version.
Additional comments
N/A
Logs

Hi @nleach999
Thanks for raising the issue. We are currently fixing it under #599

repo: Checkmarx/ast-cli


text:
Add files via upload

Jupyter notebook on model training

Model training


text:
when my dataset is  single sentence abstract.

Dear Chen
I train this model in othe dataset of  single sentence abstract. but  in the process of implementation, i find that the model(abstractor) build an channel by single sentence to single abstract.
If i try to intelligently select K sentence by rouge in extractor stage, than i flatten this sentence to train in abstractor and full_rl, do you think  this is feasible？
Does the model of fast_abs_rl  apply to  single sentence abstract? I would be very grateful  for your reply and advices.

Thanks for your interest in using our code. Please read the full paper for the rationale on why we select K sentences then output abstract.
In short, we extract K sentences and then decode K abstract sentences independently. In the experiment we found this is beneficial for multi-sentence summary task. I'm not sure about your task/dataset so it's difficult for me to give advice.
Feel free to fork the repository and then build upon our model for your own experiments.

closing this due to no further discussion

@BIGKUANG

If i try to intelligently select K sentence by rouge in extractor stage, than i flatten this sentence to train in abstractor and full_rl

Did you try this approach ? How are the results ?

authors: BIGKUANG ChenRocks Colanim


text:
License?

Hi,
What is the license?
Hugh

(eg MIT is fairly standard, github has some functions to make adding a license fairly straightforward, though I confess to not having tested them: https://help.github.com/articles/adding-a-license-to-a-repository/ )

MIT license is added. Thanks for the info.

Awesome, thanks! :)

authors: ChenglongChen hughperkins

repo: ChenglongChen/pytorch-madrl


text:
Local Harvester Plots : Shifted columns for Status and Action

On the table: Local Harvester Plots on the tab for Plots.
For the rows that are in status: plotting or status: queued. The status is in plotting column and actions is in status column. They are one column to the left.
Please put them one column to the right.

Fixed via https://github.com/Chia-Network/chia-blockchain-gui/pull/40

PR was merged

repo: Chia-Network/chia-blockchain-gui


text:
Add clang-format

Dump .clang-format using:

clang-format -style=llvm -dump-config > .clang-format

and set SortIncludes to false
Run clang-format version 13.0.1-3+b1 on src/h src/.cpp src/.hpp src/.c

Rebase on main, splitted in two commits: one adding clang-format file and one executing clang-format.

@dannywillems I'm generally in favor of using clang format. I think the main benefit from it comes from requiring the canonical format in CI, which this patch does not introduce. This will become outdated very quickly after landing. There would probably need to be some documentation for committers how to apply the clang format before pushing a PR.
I would also have expected the clang format config to somewhat match the existing format. Most importantly, use 4 spaces for indentation rather than 2. Ideally, the change to the source code diff should be as small as possible.

Closing abandoned PR

authors: arvidn dannywillems emlowe

repo: Chia-Network/chiavdf


text:
Added fields to Venues and Rooms and created Room_Sets.

Henry, Let me know if I did the migrations properly.

Henry, I made the suggested changes. I also figured out how to add a field to the rooms table to reference the room_sets table. This field would contain the default room set for that room. I think Nchanter wants a session to also have a link to the room_sets table and then a conflict report can be run to find sessions with a room_set that doesn't match the room that the session is assigned to.

repo: ChicagoWorldcon/planorama


text:
Info file needs Wiki documentation

Info file (war3map.w3i) is missing documentation on the Wiki, even though the code is implemented. Add to "Other" section.

✔ Documented the Info translator


text:
Update README to highlight .Close() functionality.

Creating TwitterApi structs without calling .Close() on them can result in goroutine leaks in long-running applications. This documentation change highlights that case.

Thanks! Merged into master as eca4dfc90a6bd2039af094bfd3d1d153376b29cf.

authors: ChimeraCoder jeffk

repo: ChimeraCoder/anaconda


text:
Hide tools

In the installed location, is it possible to hide none games are add a table to install games, seeing proton tools and steam runtime kinda ruins the Console look.

i want to add some extra options and I'm missing the steamcompmgr only seeing original
I'm using ubuntu 20.04

i want to add some extra options and I'm missing the steamcompmgr only seeing original
I'm using ubuntu 20.04

I did not understand the question. What are you trying to accomplish?

-b    Disable game focus hack
-p    Disable proton/wine color flash suppression hack
-g    Enable debug logging for game focus and
I want to try these out, but I don't have the file to do so.

-b Disable game focus hack
-p Disable proton/wine color flash suppression hack
-g Enable debug logging for game focus and
I want to try these out, but I don't have the file to do so.

Are you running steam composer? Or just steam big picture mode?

im running steamos composite plus

im running steamos composite plus

Then follow the Configuration documentation to acchive your goal.
Anyway this conversation went off-topic with the original issue.

i do not have the file to configure it lol, send me one here so I can

i do not have the file to configure it lol, send me one here so I can

Create/Edit ~/.config/steamos-compositor-plus file and set COMPOSITORCMD variable to your desired value. For example:
COMPOSITORCMD="steamcompmgr -b"

ok ill try that

repo: ChimeraOS/chimera


text:
About WIndow Container getCacheEntry failed problem

I tried using ChristopherHX/runner.server on the windows platform and specifying container as runner-images:windows-ltsc2019.
   windows:
     runs-on: windows-2019
     container: runner-images:windows-ltsc2019

But it was found that it would cause an error of ##[warning]Failed to restore: getCacheEntry failed: connect ETIMEDOUT 192.168.1.49:50299. how to solve
##[group]Run actions/cache@v3
with:
   key: toolchains-win-7d9757126edce6986823b174df112b1b55d031724e9815384bc2c7fb2a221936-v1
   path: src/build\n
   enableCrossOsArchive: false
   fail-on-cache-miss: false
   lookup-only: false
env:
   CACHE_EPOCH: 1
   CCACHE_MAXFILES: 0
   CCACHE_MAXSIZE: 200M
   SCCACHE_CACHE_SIZE: 200M
##[endgroup]
##[command]C:\Windows\system32\docker.EXE exec f85eb2f3dd2369c82121dad0c7902445c031ccb819e0a4aef7fa0594241d67c9 sh -c "cat /etc/*release | grep ^ID"
##[warning]Failed to restore: getCacheEntry failed: connect ETIMEDOUT 192.168.1.49:50299
Cache not found for input keys: toolchains-win-7d9757126edce6986823b174df112b1b55d031724e9815384bc2c7fb2a221936-v1

Windows containers are affeced by the Windows Firewall (Third party firewalls make it even more complicated).
https://github.com/ChristopherHX/runner.server/blob/0b83f0eaa83214b9ae4a9fd37b30f82b733fe375/.github/workflows/nuget.yml#L181C3-L182C71
In the GitHub Actions CI, I decided to turn the firewall off due to beeing a non interactive system I don't host myself.
You should allow the gitea-actions-runner.exe or Runner.Server.exe to be accessible from the outside (or only from the docker for windows network adapter, but that was too complicated for me)
EDIT The tcp port is random, it should be a program based firewall rule for all ports, e.g. allowing in the interactive prompt from Windows worked for development purposes.
EDIT2 Now I understand why my first firewall rule in Actions didn't work in 2021, gharun doesn't open the port 🤦♂

Okay, I'll test it later

I directly turned off the firewall of the selfed-host host, which solved the problem perfectly.


text:
Fix for typescript errors during build

Leaving this here for anyone else trying to get this to build in 2020. I'm an npm newbie, so it took me a while to figure it out.

The code directory needs to be explicitly renamed to keymapceditor rather than keymapceditor-vsc.

vscode must be explicitly installed into the project directory, e.g. npm install vscode (unusual for me, coming from typical gcc compilation experience).

Lastly, to get it to build without code errors, had to force downgrade typescript from v4.0.2 and node from latest (iirc v14.0.2) to get it to compile:

npm install --save typescript@3.5
npm install --save @types/node@8.10.52

as the typescript run (tsc -p ./) was throwing these errors:
node_modules/@types/node/index.d.ts:164:11 - error TS2300: Duplicate identifier 'IteratorResult'.

164 interface IteratorResult<T> { }
              ~~~~~~~~~~~~~~

  ../../../../usr/local/lib/node_modules/typescript/lib/lib.es2015.iterable.d.ts:41:6
    41 type IteratorResult<T, TReturn = any> = IteratorYieldResult<T> | IteratorReturnResult<TReturn>;
            ~~~~~~~~~~~~~~
    'IteratorResult' was also declared here.

Build environment: macOS 10.14.6 and npm v6.14.7, installed from homebrew.
I found the solution here after some digging: Stackoverflow

Great! Have you done some changes I should integrate?

Unfortunately, this type of thing is well beyond my programming skill level. I was hoping to use this help me learn to use QMK for my first QMK-driven keyboard.
After trying to use the extension, I discovered it's expecting the web assets from the original web-based version: stack trace: Error: ENOENT: no such file or directory, open '/Users/redvraptor/.vscode/extensions/ciantic.keymapceditor-vsc-0.7.6/out/keymapceditor/index.html'.
I will see if I can resolve these issues and write up some further steps on how I did so.

@redvelociraptor what would you like the extension to do? Why would you want to develop it. Maybe I can add the feature you want.

authors: Ciantic redvelociraptor

repo: Ciantic/keymapceditor-vsc


text:
[semver:minor] Implement Github CLI "pr merge" command

Implemented gh pr merge with the possibility to define the branch or additional parameters

Thank you for reminding me the CHANGELOG is still present here. Happy to take the change here, but we no longer user the changelog. I'll be sure to remove it in a change soon. We now use GitHub's Releases API.
https://github.com/CircleCI-Public/github-cli-orb/releases
When we publish this change, we will use this PR to populate the release notes. I'll be sure to update all that documentation. Thank you.
The code looks good. Could I ask how you intend to use this @Shmarkus ? Is there an example of config you could provide on how you plan to execute this?
By default CircleCI will trigger on a Push (including a Tag), we can augment this a bit more with https://github.com/CircleCI-Public/trigger-circleci-pipeline-action
In what scenario would you run this job?

I can create a concrete example as well but since I'm not at the computer at the moment, I'll just illustrate my use-case.
At the moment, the Dependabot is configured to check for version updates. It creates a pull request with the new version. (Renovate bot has the same functionality)
When the test pipeline succeeds I want to merge the PR automatically (this is where the pain is at the moment)

Added example, removed changelog from changelog

authors: KyleTryon Shmarkus

repo: CircleCI-Public/github-cli-orb


text:
Fixing Dropdown Position

Fixes #177
Changes Made

added a bootstrap class that fixes the positioning

Thank you!

repo: CircuitVerse/CircuitVerse


text:
Added ability to delete profile picture

Describe the changes you have made in this PR:
Added a button on the show profile page to delete the profile picture. Issue #595
Screenshots of the changes (If any):

Coverage decreased (-0.3%) to 82.307% when pulling 5559620482aaff7c32642c6a55d199e27e78f83e on nrs1729:remove-user-photo-595 into 2c01dad8e0b59646b9625313a0da5801dde1e221 on CircuitVerse:master.

Oh sorry forgot about tests, I'll add them

@satu0king Old UI. Please close


text:
Removing Warnings and Errors from TextEditor.vue file

Describe the changes you have made in this PR -
Removed warnings and errors from the TextEditor.vue file
Screenshots of the changes (If any) -
Console before changes

Console after changes

Note: Please check Allow edits from maintainers. if you would like us to assist in the PR.

@Arnabdaz @tachyons I have removed about 18 warnings and errors from the TextEditor.vue file,
Pls. have a look : )

repo: CircuitVerse/cv-frontend-vue


text:
get_by_nxos will return first_fixed with None

Hi,
I tried get_by_nxos and noticed that the advisories always had "first_fixed" with None .
ad_nxos = query.get_by_nxos('nxos', '7.3(3)N1(1)')

In order to troubleshoot this, I used get_request to fetch the raw API output for both ios and nxos:
ad_iosxe = query.get_request('iosxe', params={'version':'3.16.1S'})
ad_nxos = query.get_request('nxos', params={'version':'7.3(3)N1(1)'})

From the results, the raw outputs of each ios advisory has the key called "firstFixed":
{
    'advisoryId' = {str} 'cisco-sa-appnav-xe-dos-j5MXTR4'
     ...
    'firstFixed' = {list: 1} ['16.12.6']
     ...
}

Instead, the raw output of each nxos advisory has the key "platforms", which contains the 'firstFixes':
{
    'advisoryId' = {str} 'cisco-sa-nxos-cdp-dos-ce-wWvPucC9'
    ...
    'platforms' = {list: 2} [
          {'id': '265090', 'name': 'Cisco Nexus 5000 Series Switches', 'firstFixes': [{'id': '289274', 'name': '7.3(12)N1(1)'}], 'vulnerabilityState': 'vulnerable'},
          {'id': '265094', 'name': 'Cisco Nexus 6000 Series Switches', 'firstFixes': [{'id': '289274', 'name': '7.3(12)N1(1)'}], 'vulnerabilityState': 'vulnerable'}
     ]
     ...
}

I think the reason for the issue lies in no code logic handling nxos outputs in advisory.py. The temporary workaround is to use get_request and get firstFixes manually.

Hi,
I tried get_by_nxos and noticed that the advisories always had "first_fixed" with None .
ad_nxos = query.get_by_nxos('nxos', '7.3(3)N1(1)')

In order to troubleshoot this, I used get_request to fetch the raw API output for both ios and nxos:
ad_iosxe = query.get_request('iosxe', params={'version':'3.16.1S'})
ad_nxos = query.get_request('nxos', params={'version':'7.3(3)N1(1)'})

From the results, the raw outputs of each ios advisory has the key called "firstFixed":
{
    'advisoryId' = {str} 'cisco-sa-appnav-xe-dos-j5MXTR4'
     ...
    'firstFixed' = {list: 1} ['16.12.6']
     ...
}

Instead, the raw output of each nxos advisory has the key "platforms", which contains the 'firstFixes':
{
    'advisoryId' = {str} 'cisco-sa-nxos-cdp-dos-ce-wWvPucC9'
    ...
    'platforms' = {list: 2} [
          {'id': '265090', 'name': 'Cisco Nexus 5000 Series Switches', 'firstFixes': [{'id': '289274', 'name': '7.3(12)N1(1)'}], 'vulnerabilityState': 'vulnerable'},
          {'id': '265094', 'name': 'Cisco Nexus 6000 Series Switches', 'firstFixes': [{'id': '289274', 'name': '7.3(12)N1(1)'}], 'vulnerabilityState': 'vulnerable'}
     ]
     ...
}

I think the reason for the issue lies in no code logic handling nxos outputs in advisory.py. The temporary workaround is to use get_request and get firstFixes manually.

Thanks @qifawu
Cisco IOS and Cisco IOS XE doesn’t have the concept of platform, it is a single product.  NX-OS,ACI, ASA, etc have the additional fields of platform and hence a first fix release based on per platform rather than just the operating system.
You can define a filter for the platformAlias: example:

filter = query_client.OptionalParameters(query_client.PLATFORMALIAS,'NEXUS9000')
ad_nxos = client.get_by_nxos('default','7.0(3)I6(2)',filter)

If you wish to obtain the first fix for each:

for item in ad_nxos:
...   print(item.advisory_title)
...   for platform in item.platforms:
...     print("  " + platform.name,end=":")
...     for fix in platform.firstFixes:
...       print(fix['name'])
...
Cisco NX-OS Software MPLS OAM Denial of Service Vulnerability
Cisco Nexus 9000 Series Switches:7.0(3)I7(10)
Cisco FXOS and NX-OS Software Cisco Discovery Protocol Denial of Service and Arbitrary Code Execution Vulnerability
Cisco Nexus 9000 Series Switches:9.3(10)
Cisco NX-OS Software OSPFv3 Denial of Service Vulnerability
Cisco Nexus 9000 Series Switches:9.3(9)
Cisco Nexus 9000 Series Switches Bidirectional Forwarding Detection Denial of Service Vulnerability
Cisco Nexus 9000 Series Switches:9.3(9)
Cisco FXOS and NX-OS Software Cisco Discovery Protocol Service Denial of Service Vulnerability
Cisco Nexus 9000 Series Switches:9.3(9)
Cisco NX-OS Software Cisco Fabric Services Over IP Denial of Service Vulnerability
Cisco Nexus 9000 Series Switches:9.3(9)
Cisco NX-OS Software NX-API Command Injection Vulnerability
Cisco Nexus 9000 Series Switches:9.3(9)
Multiple Cisco Operating Systems Unidirectional Link Detection Denial of Service Vulnerability
Cisco Nexus 9000 Series Switches:7.0(3)I7(10)
Cisco FXOS and NX-OS Software Unidirectional Link Detection Denial of Service and Arbitrary Code Execution Vulnerability
Cisco Nexus 9000 Series Switches:7.0(3)I7(10)
Cisco NX-OS Software IPv6 Netstack Denial of Service Vulnerability
Cisco Nexus 9000 Series Switches:7.0(3)I7(9)
Cisco NX-OS Software NX-API Cross-Site Request Forgery Vulnerability
Cisco Nexus 9000 Series Switches:7.0(3)I7(9)
Cisco FXOS and NX-OS Software Cisco Fabric Services Denial of Service Vulnerability
Cisco Nexus 9000 Series Switches:7.0(3)I7(9)
Cisco NX-OS Software Data Management Engine Remote Code Execution Vulnerability
Cisco Nexus 9000 Series Switches:7.0(3)I7(8)
Cisco NX-OS Software Call Home Command Injection Vulnerability
Cisco Nexus 9000 Series Switches:7.0(3)I7(2)
Cisco NX-OS Software IPv6 Protocol Independent Multicast Denial of Service Vulnerability
Cisco Nexus 9000 Series Switches:7.0(3)I7(8)
Cisco IOS, IOS XE, IOS XR, and NX-OS Software One Platform Kit Remote Code Execution Vulnerability
Cisco Nexus 9000 Series Switches:7.0(3)I7(8)
Cisco FXOS, IOS XR, and NX-OS Software Cisco Discovery Protocol Denial of Service Vulnerability
Cisco Nexus 9000 Series Switches:7.0(3)I7(8)
Cisco NX-OS Software Cisco Fabric Services over IP Denial of Service Vulnerability
Cisco Nexus 9000 Series Switches:7.0(3)I7(4)
Cisco FXOS and NX-OS Software Authenticated Simple Network Management Protocol Denial of Service Vulnerability
Cisco Nexus 9000 Series Switches:7.0(3)I7(6)
Cisco NX-OS Software Remote Management Memory Leak Denial of Service Vulnerability
Cisco Nexus 9000 Series Switches:7.0(3)I7(4)
Cisco NX-OS Software Network Time Protocol Denial of Service Vulnerability
Cisco Nexus 9000 Series Switches:7.0(3)I7(6)
Cisco NX-OS Software Virtualization Manager Command Injection Vulnerability
Cisco Nexus 9000 Series Switches:7.0(3)I7(6)
Cisco NX-OS Software NX-API Denial of Service Vulnerability
Cisco Nexus 9000 Series Switches:7.0(3)I7(6)

Output without a filter defined:
Cisco NX-OS Software MPLS OAM Denial of Service Vulnerability
Cisco Nexus 3000 Series Switches:7.0(3)I7(10)
Cisco Nexus 9000 Series Switches:7.0(3)I7(10)
Cisco FXOS and NX-OS Software Cisco Discovery Protocol Denial of Service and Arbitrary Code Execution Vulnerability
Cisco Nexus 3000 Series Switches:9.3(10)
Cisco Nexus 9000 Series Switches:9.3(10)
.
.
.
HTH.  If need more qualification on this please pop an email to openvuln@cisco.com

authors: poxman qifawu

repo: CiscoPSIRT/openVulnQuery


text:
Navigation bar logo functionality enhancements

Just a couple of small navigation bar logo related functionalities. Implemented now because an older developer got mad at clicking the logo was not working.

Codecov Report

Merging #18 (f809154) into main (2a03411) will decrease coverage by 0.12%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##             main      #18      +/-   ##
==========================================
- Coverage   66.26%   66.13%   -0.13%
==========================================
  Files          38       38
  Lines         249      251       +2
  Branches       52       53       +1
==========================================
+ Hits          165      166       +1
- Misses         84       85       +1

Impacted Files
Coverage Δ

src/components/navigation/Navigation.tsx
60.00% <66.66%> (-2.50%)
:arrow_down:

Continue to review full report at Codecov.

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

repo: City-of-Helsinki/liikunta-helsinki


text:
feat:  change failure response to ahjo as 200 ok

Description :sparkles:
Ahjo gets confused if the Helsinki-lisä responds to a failing callback request with 400 Bad request, so the
response status needs to be changed to 200 OK.
Issues :bug:
Testing :alembic:
Screenshots :camera_flash:
Additional notes :spiral_notepad:

APPLICANT branch is deployed to platta: https://helsinkilisa-ui-pr3054.dev.hel.ninja :rocket::rocket::rocket:

API branch is deployed to platta: https://helsinkilisa-pr3054.api.dev.hel.ninja/healthz :rocket::rocket::rocket:

TestCafe result is success for https://helsinkilisa-ui-handler-pr3054.dev.hel.ninja :laughing::tada::tada::tada:

TestCafe result is success for https://helsinkilisa-ui-pr3054.dev.hel.ninja :laughing::tada::tada::tada:

authors: rikuke terovirtanen

repo: City-of-Helsinki/yjdh


text:
Hl 1475 submitted at

Description :sparkles:
HL-1475
Use the submitted_at custom Application model attribute in the Ahjo payload and report csv:s,and  created_at if it's not present.
HL-1362
Add an alternate, more compact csv, similar to the powerbi report, to the handler's report screen for downloading.
HL-1483
Show the alteration.recovery_amount correctly in the csv report.
Issues :bug:
Testing :alembic:
Screenshots :camera_flash:
Additional notes :spiral_notepad:

API branch is deployed to platta: https://helsinkilisa-pr3443.api.dev.hel.ninja/healthz :rocket::rocket::rocket:

API branch is deployed to platta: https://helsinkilisa-pr3443.api.dev.hel.ninja/healthz :rocket::rocket::rocket:

HANDLER branch is deployed to platta: https://helsinkilisa-ui-handler-pr3443.dev.hel.ninja :rocket::rocket::rocket:

APPLICANT branch is deployed to platta: https://helsinkilisa-ui-pr3443.dev.hel.ninja :rocket::rocket::rocket:

TestCafe handler result is failed for https://helsinkilisa-ui-handler-pr3443.dev.hel.ninja :crying_cat_face::anger::boom::boom:

API branch is deployed to platta: https://helsinkilisa-pr3443.api.dev.hel.ninja/healthz :rocket::rocket::rocket:

APPLICANT branch is deployed to platta: https://helsinkilisa-ui-pr3443.dev.hel.ninja :rocket::rocket::rocket:

HANDLER branch is deployed to platta: https://helsinkilisa-ui-handler-pr3443.dev.hel.ninja :rocket::rocket::rocket:

TestCafe result is success for https://helsinkilisa-ui-pr3443.dev.hel.ninja :laughing::tada::tada::tada:

TestCafe result is success for https://helsinkilisa-ui-handler-pr3443.dev.hel.ninja :laughing::tada::tada::tada:


text:
Bring upgrades over from Bloom Core

We need to keep major upgrades in sync with core. The following needs to be upgrade

Node 18

Our current version of node is outdated and we should update it to the latest.
This is a continuation of #3317.
Core commit: https://github.com/bloom-housing/bloom/pull/3343
Make sure to update Travis CI pipeline

Next
React

This has been merged and can be tested in https://detroit-public-dev.netlify.app/.
Issues were found with the CSS that will most likely be fixed with https://github.com/bloom-housing/bloom/issues/3283

Issues found will be addressed by UIC alignment PR and can be QA'd as a part of that.

authors: ludtkemorgan sarahlazarich

repo: CityOfDetroit/bloom


text:
[Email/SMS] Create queue/function to send sms to users

What feature is this part of?
"New Listing" Email/SMS Notifications #695

The current state: the creation of a new listing will trigger SMS notifications to all opted-in users.
The remaining work to do on this:

[ ] Send notifications when an existing listing's status changes to "active" (I have #907 out to address this)
[ ] For the notifications for newly-created listings, make sure the new listing has status "active" (if not, don't send notifications).
[ ] In https://github.com/CityOfDetroit/bloom/blob/main/backend/core/src/sms/services/sms.service.ts, update the SMS notification body (e.g. to include a link to the new listing, and possibly translate the message text).
[ ] The current implementation retrieves a list of all users from the DB, and filters them by "should we send them a notification?" in https://github.com/CityOfDetroit/bloom/blob/main/backend/core/src/sms/services/sms.service.ts. A better-performance approach would be to do the filtering in the SQL query to the DB; this will require changes to UserService too.

closing!


text:
Fix/features filtering

Issue

Closes #901

Description
A few fixes:

The comparison needed to be "="
We needed to specify listing_features when mapping filter parameters to db queries
We needed to add listing_features to the set of tables that are joined and selected for full listing views

Also adds a coupla tests to verify stuff works.
Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Prototype/POC (not to merge)
[ ] This change is a refactor/addresses technical debt
[ ] This change requires a documentation update
[ ] This change requires a SQL Script

How Can This Be Tested/Reviewed?
Reseed the db, deploy locally, and navigate to http://localhost:3000/listings/filtered?page=1&elevator=true. You should see 8 listings.
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have reviewed the changes in a desktop view
[x] I have reviewed the changes in a mobile view
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
[x] I have assigned reviewers
[ ] I have updated the changelog to include a description of my changes
[ ] I have run yarn generate:client if I made backend changes
[ ] I have exported any new pieces in ui-components

looks like some tests are failing

looks like some tests are failing

I missed the necessary change to view.spec.ts, oops.

authors: aisiri-murulidhar plunkettgoogle


text:
api: add tokens_count method to NEP11Contract

NEP-11 defines an optional tokens method. the NEP11Contract wraps this method and manually unwraps the iterator such that it does not have to rely on RPC servers that have iterator sessions enabled (which many don't). However, that means there's a ~2000 item limit on the return. This helper is part 1 to resolve that limit.
Part 2 will allow defining a start index into the iterator. Combining both allows us to query all items using a while or for loop.

coverage: 80.593% (-0.4%) from 80.98%
when pulling 514194b6bdb75df20e60387d0bcdb2040a0f8dd5 on token_count
into 4fdf5aa021e61fb55cb55bc522efdbfa24b6dd5b on master.

authors: coveralls ixje

repo: CityOfZion/neo-mamba


text:
⚠ Bofrost.be has degraded performance

In 3d144fc, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 2425 ms

Resolved: Bofrost.be performance has improved in 27130ba.

repo: Ckal/Uptime


text:
⚠ Bofrost.fr has degraded performance

In ed799c1, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1297 ms

Resolved: Bofrost.fr performance has improved in c8dd3ce.


text:
⚠ Bofrost.be has degraded performance

In 6943f51, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1396 ms

Resolved: Bofrost.be performance has improved in 3150f8c.


text:
⚠ Bofrost.be has degraded performance

In 2f84536, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 3731 ms

Resolved: Bofrost.be performance has improved in 42fd929.


text:
⚠ Bofrost.be has degraded performance

In cfd2d2c, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 932 ms

Resolved: Bofrost.be performance has improved in 245f371.


text:
⚠ Bofrost.fr has degraded performance

In a6246b6, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 808 ms

Resolved: Bofrost.fr performance has improved in 32cc544 after 306 days, 11 hours, 8 minutes.


text:
⚠ Bofrost.at has degraded performance

In 27233ec, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1959 ms

Resolved: Bofrost.at performance has improved in d2da788 after 310 days, 8 hours, 36 minutes.


text:
⚠ Bofrost.at has degraded performance

In cea0f03, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 986 ms

Resolved: Bofrost.at performance has improved in 4e8a420.


text:
⚠ Bofrost.de has degraded performance

In b561447, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1061 ms

Resolved: Bofrost.de performance has improved in a49e29b after 9 minutes.


text:
⚠ Bofrost.de has degraded performance

In 6910c1b, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 883 ms

Resolved: Bofrost.de performance has improved in 43e136b after 10 minutes.


text:
⚠ Bofrost.at has degraded performance

In 6f3ce82, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1304 ms

Resolved: Bofrost.at performance has improved in 4b66a1d after 6 minutes.


text:
⚠ Bofrost.at has degraded performance

In 310fdc4, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1837 ms

Resolved: Bofrost.at performance has improved in 84c3895 after 15 minutes.


text:
⚠ Bofrost.at has degraded performance

In 67068c4, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1669 ms

Resolved: Bofrost.at performance has improved in 86156c5 after 6 minutes.


text:
⚠ Bofrost.de has degraded performance

In 48068b1, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1744 ms

Resolved: Bofrost.de performance has improved in 5585d4e after 14 minutes.


text:
⚠ Bofrost.fr has degraded performance

In a364681, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1626 ms

Resolved: Bofrost.fr performance has improved in 2b24081 after 20 minutes.


text:
⚠ Bofrost.es has degraded performance

In 57af157, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1104 ms

Resolved: Bofrost.es performance has improved in f81eece after 6 minutes.


text:
⚠ Bofrost.de has degraded performance

In 4db2ee8, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1235 ms

Resolved: Bofrost.de performance has improved in 0b609b8.


text:
⚠ Bofrost.at has degraded performance

In 703cae7, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1766 ms

Resolved: Bofrost.at performance has improved in 39b1a1d.


text:
⚠ Bofrost.at has degraded performance

In aecf138, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1158 ms

Resolved: Bofrost.at performance has improved in 874afbe.


text:
⚠ Bofrost.at has degraded performance

In a8d2f3a, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2107 ms

Resolved: Bofrost.at performance has improved in 7c462da after 14 minutes.


text:
⚠ Bofrost.de has degraded performance

In 5bcc909, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1840 ms

Resolved: Bofrost.de performance has improved in 2e77bde after 1 hour, 17 minutes.


text:
⚠ Bofrost.at has degraded performance

In c2237db, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 875 ms

Resolved: Bofrost.at performance has improved in 190d8b7 after 13 minutes.


text:
⚠ Bofrost.lu has degraded performance

In de077d9, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1468 ms

Resolved: Bofrost.lu performance has improved in 81b3c40 after 23 minutes.


text:
⚠ Bofrost.es has degraded performance

In bcccc17, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1444 ms

Resolved: Bofrost.es performance has improved in bac3398 after 14 minutes.


text:
⚠ Bofrost.at has degraded performance

In 6612228, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1027 ms

Resolved: Bofrost.at performance has improved in ea3d4bf.


text:
Potential race condition in PacketHandlers._clilocRequests

Describe the bug
(WIP sorry, posted this prematurely)

Sorry nvm, should've waited anyway to open this. I thought I saw it being called possyble from the render thread and the thread receiving packets from plugins, but it's not the case.

repo: ClassicUO/ClassicUO


text:
path not specified

whenever i am making command php artisan potion:make-assets
its saying the system canot find the path specified........ may be more docmentation is needed

If you pull my fork of this project, you can use --debug to show you all the paths and files it attempts to make so you can work out what is failing.

Laravel 5.1 only

https://github.com/sparkeleven/laravel-potion

i am using latest version of laravel

my css and js files are present in resources/assets folder when ever i am running this command php artisan potion:make-assets its saying system cant find the path specified .... please tell am i doing something wrong or i have to add something more in command

I have plans to add better output, so that you can see what might be going wrong. I will try to find some time today or tonight to get this into the main branch.

I just pushed v1.0.3 which adds more output.
It will output what directory it's trying to create, but more importantly it will output what it is pulling from your config for assets and resource paths.
Just a reminder:
assets: is the folder that will be used to store final assets that are created by potion.
resources: are files/folders that are used to create the final assets.

ok let me try it

authors: hyguyz mattrmiller sparkeleven

repo: Classy-Geeks/laravel-potion


text:
Calculator Command Can't Handle Commas?

When using the calculator, it appears it doesn't handle commas; or rather, it ignores numbers included before commas.
e.g. !calc 1,100 * 2 outputs 200.0

cc @mp7786

Can we close this issue. Issue seems resolved since #282.

Closed in #282

authors: Exper1mental Jay-Madden zepthro

repo: ClemsonCPSC-Discord/ClemBot


text:
🛑 Staging >> API >> Intelligence is down

In 920327d, Staging >> API >> Intelligence (https://intelligence-api.stg.watchtower2.com) was down:

HTTP code: 504
Response time: 29354 ms

Resolved: Staging >> API >> Intelligence is back up in 8779782.


text:
big sur keyboard

firstly, i wanna thank you for the clipy.
i am using clipy version 1.2.1 and i've upgraded to big sur.
now (it used to work prior to the big sur upgrade) when i access the clipy history using a keyboard shortcut, i am unable to select from history using the keyboard (arrows and number keys).

In addition to this issue, input "COMMAND" + "SHIFT" stopped working when you click the item in the history or snippet.

i was able to bypass the issue by restarting clipy (quitting clipy and starting it again).
does it work for you?

i also noticed that even when i bypass the issue by restarting clipy, the issue reoccur when the mouse is hovering the history list

Same occured to me on Big Sur with M1 SoC. Restart helped but I think it will occur again...

Same occured to me on Big Sur with M1 SoC. Restart helped but I think it will occur again...

i was able to bypass the issue by restarting clipy (quitting clipy and starting it again).
does it work for you?

Still annoying to restart the app, each time

I am still having this issue with Monterey 12.0.1 and Clipy v1.2.1. Keyboard navigation with arrow keys works after a restart of Clipy.

to all those who follow this thread, look at https://github.com/Clipy/Clipy/issues/319#issuecomment-874115468

authors: AmiciA curranjw drej1 foolioo ohassidi y0y0z

repo: Clipy/Clipy


text:
Pop-ups/Buttons not being contained within designated card area

I'm sorry to be a pain but I just cannot figure this out.
I have my pop up cards and horizontal button stack sitting in a vertical stack with other cards on the left of my tablet dashboard.
I cannot figure out how to get the buttons and the pop ups to stay within the area of the vertical stack.
This image below shows the buttons sprawled across the bottom of the dashboard when I want them contained within the area that the other cards are.

I would like the buttons to be scrollable from within the width of that panel (same width as the weather card).
I would also like the pop ups to stay within the same area when they are open, but instead they pop up in the centre (please see image below)

I am unsure what I need to do to achieve this.
I am really liking the look and features of this card so I really want to figure this out. Thank you for your constant hard work.

Hi! Just add this to your pop-up to remove the centering of the pop-up, but you will need to edit its width_desktop too to fit your column (something like 500px).
styles: |
  #root {
    left: inherit !important;
  }

Thanks! Do I add it to each individual pop-up within the stack?

You can probably just add your cards in horizontal-stacks, tell me if it's what you are looking for.

authors: ASimpleTechie Clooos

repo: Clooos/Bubble-Card


text:
Refactor origami-lib

Update the whole project to make it more modular
Added robust exception handling.
Added better caching and connection mechanism.
Documented the whole code.
No python linting errors.
Better managed server and handlers

@uttu357 here ^

repo: Cloud-CV/origami-lib


text:
Inline SVG in search form blocked by Content-Security-Policy

Description
I have a website with a very strict Content-Security-Policy.
I read the documentation and managed to allow the Pagefind WebAssembly module. I noticed there is another small issue though: the Svelte component for the search form (see the .pagefind-ui__form here) uses a data URL to inline an SVG (the magnifying glass icon). This SVG is blocked by my CSP.
A possible solution
To allow only the SVG used by the Pagefind UI search form, we can include the following data: scheme source in the img-src directive of our Content-Security-Policy header:
img-src 'self' data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.7549 11.255H11.9649L11.6849 10.985C12.6649 9.845 13.2549 8.365 13.2549 6.755C13.2549 3.165 10.3449 0.255005 6.75488 0.255005C3.16488 0.255005 0.254883 3.165 0.254883 6.755C0.254883 10.345 3.16488 13.255 6.75488 13.255C8.36488 13.255 9.84488 12.665 10.9849 11.685L11.2549 11.965V12.755L16.2549 17.745L17.7449 16.255L12.7549 11.255ZM6.75488 11.255C4.26488 11.255 2.25488 9.245 2.25488 6.755C2.25488 4.26501 4.26488 2.255 6.75488 2.255C9.24488 2.255 11.2549 4.26501 11.2549 6.755C11.2549 9.245 9.24488 11.255 6.75488 11.255Z' fill='%23000000'/%3E%3C/svg%3E%0A

To allow any data URL, we can write this img-src directive instead:
img-src 'self' data:;

I guess it should also be possible to allow only inline SVGs and no other MIME types (e.g. image/jpeg) using the directive below (I haven't tested it though).
img-src 'self' data:image/svg+xml;

I forgot to mention that allowing a data: scheme is something that the user has to do.
Instead, something that Pagefind could do is not embedding the SVG, and hosting it somewhere (e.g. AWS S3, Google Cloud Storage, Cloudflare R2, etc). Or even letting the user self-host the SVG.

repo: CloudCannon/pagefind


text:
🛑 Blog is down

In bf198db, Blog (https://blog.cloudhub.social) was down:

HTTP code: 503
Response time: 319 ms

Resolved: Blog is back up in abdfed0 after 7 minutes.

repo: CloudHub-Social/Status


text:
🛑 Lemmy is down

In f06b661, Lemmy (https://lemmy.cloudhub.social) was down:

HTTP code: 503
Response time: 488 ms

Resolved: Lemmy is back up in 065ae08 after 13 minutes.


text:
README.md enhanced

closes #475
Added links of official documentation of the respective Tech stack used, in the README.md file.

Good @DivyanshiNarang! Keep contributing to fintech API repo like this.

authors: DivyanshiNarang ighoshsubho

repo: Clueless-Community/fintech-api


text:
Add Contributor's Profile Images !!

Update

Contributor's profile image will appear at the bottom of README.md
CONTRIBUTING.MD will be modified to aware newcomers about contribution.

Yes, let's work on this now! @AKACHI-4

@AKACHI-4 Should the images be added on a new folder or should it be given from a link ?

It should be in the README.md

#167 PR generated and #164 issue solved as I am working on it under the last issue but it gets closed so I generated it here merge PR so changes will get visible for everyone
Thanks, @Rajdip019

Yup that's better. And more clear.

Yep 😄👍

@AKACHI-4 I couldn't find the place to add the contributors image in the Readme.md file

Hey @codeswithroh actually I have already generated a PR regarding this .....checkout their you will get some idea about it.

repo: Clueless-Community/first-contribution


text:
Getting Exact followers from Instagram profiles.

I would like to improve the followers() function by making it return the exact number of followers a profile has.

This method has already been added.

repo: Clueless-Community/scrape-up


text:
Feat: scrape-up for Unstop.com

Describe the feature
Scrape the details of upcoming contests / jobs from unstop.com
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC'24 contributor
[X] I want to work on this issue

@nikhil25803 Assign this issue to me I would able to work on it

Go ahead @Disha-Baghel
Note

Please create a separate module for this, as in the folder and project structure (if it is already created, just add your features as functions in the same module).
Do not use the `selenium web driver as it is incompatible with all devices and cloud platforms.
Before making any changes, please check whether the module you want to add exists. If yes, then you can add your functionality as a method only make a separate module and class for it.

All the best 👨💻

@nikhil25803 Could you assign this issue to me. I want to work on this project.

@nikhil25803 Could you assign this issue to me. I want to work on this project.

Hello,
I wanted to kindly inform you that I am already actively working on the issue at hand. Thank you for your understanding

is this done?