[BUG] Fix stacktraces on 1.2

1.2 is fairly imminent, so it'd be great to get a fix for this is soon.

Will fix this tomorrow.

I'd suggest that for Juno you should report the entire exception stack in a similar way to Base.show_exception_stack().
This should be an improvement regardless of how we end up fixing https://github.com/JuliaLang/julia/issues/31830

That'd be very different from the REPL, no? Or is the default backtrace printing going to change as well?
Code:
function f(x)
    try
        x//x
    catch err
        throw(ErrorException("haha"))
    end
end
g(x) = f(x)

REPL:
julia> g(0)
ERROR: haha
Stacktrace:
 [1] f(::Int64) at ./untitled-7af6d0839891b2927dcc55b4483b0fe7:10
 [2] g(::Int64) at ./untitled-7af6d0839891b2927dcc55b4483b0fe7:13
 [3] top-level scope at none:0

Base.show_exception_stack():
caused by [exception 2]
haha
Stacktrace:
 [1] f(::Int64) at ./untitled-7af6d0839891b2927dcc55b4483b0fe7:10
 [2] g(::Int64) at ./untitled-7af6d0839891b2927dcc55b4483b0fe7:13
 [3] top-level scope at untitled-7af6d0839891b2927dcc55b4483b0fe7:14
caused by [exception 1]
ArgumentError: invalid rational: zero(Int64)//zero(Int64)
Stacktrace:
 [1] __throw_rational_argerror(::Type) at ./rational.jl:18
 [2] Type at ./rational.jl:13 [inlined]
 [3] Type at ./rational.jl:20 [inlined]
 [4] // at ./rational.jl:43 [inlined]
 [5] f(::Int64) at ./untitled-7af6d0839891b2927dcc55b4483b0fe7:8
 [6] g(::Int64) at ./untitled-7af6d0839891b2927dcc55b4483b0fe7:13
 [7] top-level scope at untitled-7af6d0839891b2927dcc55b4483b0fe7:14

I suppose we could inject the error messages further down the stack into our normal backtrace printing though, so it'd look like:
ArgumentError: invalid rational: zero(Int64)//zero(Int64)
 [1] __throw_rational_argerror(::Type) at ./rational.jl:18
 [2] Type at ./rational.jl:13 [inlined]
 [3] Type at ./rational.jl:20 [inlined]
 [4] // at ./rational.jl:43 [inlined]
haha
 [5] f(::Int64) at ./untitled-7af6d0839891b2927dcc55b4483b0fe7:8
 [6] g(::Int64) at ./untitled-7af6d0839891b2927dcc55b4483b0fe7:13
 [7] top-level scope at untitled-7af6d0839891b2927dcc55b4483b0fe7:14

This is the printing in 1.3-DEV currently:
julia> g(0)
ERROR: haha
Stacktrace:
 [1] f(::Int64) at ./REPL[1]:5
 [2] g(::Int64) at ./REPL[2]:1
 [3] top-level scope at REPL[3]:1
caused by [exception 1]
ArgumentError: invalid rational: zero(Int64)//zero(Int64)
Stacktrace:
 [1] __throw_rational_argerror(::Type) at ./rational.jl:18
 [2] Type at ./rational.jl:13 [inlined]
 [3] Type at ./rational.jl:20 [inlined]
 [4] // at ./rational.jl:43 [inlined]
 [5] f(::Int64) at ./REPL[1]:3
 [6] g(::Int64) at ./REPL[2]:1
 [7] top-level scope at REPL[3]:1

See https://github.com/JuliaLang/julia/pull/30900

Stacktraces work fine on 1.2-RC, so there's a bit of a grace period to fix this :)


replaced css as told in covid page

Site
Changed the css as indicated

The navbar you created.

The navbar i need.

It should be transparent like other pages. (Just copy the navbar code from other page )


Open source the  docker init feature

Tell us about your request
We're currently interested in using docker init in some devex tooling, and would like to import it as a library rather than manage wrapping the docker binary included with Docker desktop.
As noted in https://github.com/docker/cli/issues/4184#issuecomment-1536016717, the repository is still private and it was recommended to open a suggestion here, which this issue is as there was no suggestion opened previously that I saw.
Which service(s) is this request for?
The docker init subcommand which recently went GA.
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
N/A
Are you currently working around the issue?
N/A
Additional context
N/A

Hello @roshbhatia thanks for reaching out. We are currently working on several improvements to init that could potentially help with your request, but they are not likely to be ready soon. May I ask you to add more details to your use-case?

I would like to perma-link to the template in documentation
# this file is based on `docker init`: https://github.com/docker/docker-init/<hash>/path/to/template
...

I'm curious about the docker init source because I'm considering writing my first docker cli-plugin, and resources for developing cli-plugins are a little scant and complicated by keyword collision using search engines.
Additionally, my plugin concept similarly generates project files from user prompts, and so the init source would be the perfect example to follow.
I understand there are a lot of considerations before you  "big-O" Open-Source a project. Is there any chance of a "little-o" open source and just make the code available?


support it for laravel 5.6

- Installation request for squareboat/sneaker ^3.0 -> satisfiable by squareboat/sneaker[v3.0.0].
- Conclusion: remove laravel/framework v5.6.3
- Conclusion: don't install laravel/framework v5.6.3

please update it soon

Done. :)


Don't Merge! PR real time test for source branch full build

Docs Build status updates of commit da9f236:
:clock10: Pending: waiting for processors (34 builds ahead of you)
:warning: Docs Build is busy, currently there are 34 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit da9f236:
:clock10: Full build: the average full build time is 7 min(s) 45 sec(s), this is based on the last 30 build(s) for this repository.

Docs Build status updates of commit da9f236:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docfx.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Define package version

Please, define versioning for this repository. It would helpful for creating a rails asset (https://rails-assets.org/).

I'm not familiar with rails, can you submit pull request with required changes?

This is a pure repository issue - no rails required. :)
https://help.github.com/articles/creating-releases/

Oh, now I get it


UNO samples

What kind of change does this PR introduce?
Port the UWP samples to iOS, Android and WebAssembly using Uno
What is the current behavior?
UWP sample targets only Windows
What is the new behavior?
UWP sample cano now be run on iOS, Android and WebAssembly
What might this PR break?
Nothing
Please check if the PR fulfills these requirements

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

Other information:
To run properly the samples requires to merge:
https://github.com/reactiveui/Reactive.Wasm/pull/4 (WebAssembly only)
https://github.com/reactiveui/ReactiveUI/pull/2168 (For iOS and Android)
(and those dependencies to be updated in the sample projects)

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: dr1rrb sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Great!! 👍


refactor: Removes hard coded colors

SUMMARY
Removes hard coded colors defined in src/components/styles.ts. The colors defined in this file were used only in the Select component so they were migrated to src/components/Select/styles.tsx and adjusted to conform to the theme colors.
Here is the theme color palette and the corresponding mapping:

Here are some screenshots of Select component:

TEST PLAN
You can view the select component inside Storybooks.
ADDITIONAL INFORMATION

[ ] Has associated issue:
[x] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

welcome on board Michael! thanks for the first PR!!  @michael-s-molina

Codecov Report

Merging #11977 (0e6ce9b) into master (cc44a2c) will decrease coverage by 2.67%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #11977      +/-   ##
==========================================
- Coverage   66.26%   63.59%   -2.68%
==========================================
  Files         941      465     -476
  Lines       45715    28592   -17123
  Branches     4395        0    -4395
==========================================
- Hits        30293    18182   -12111
+ Misses      15287    10410    -4877
+ Partials      135        0     -135

Flag
Coverage Δ

cypress
?

javascript
?

python
63.59% <ø> (-0.67%)
:arrow_down:

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

Impacted Files
Coverage Δ

superset/db_engines/hive.py
0.00% <0.00%> (-85.72%)
:arrow_down:

superset/sql_validators/postgres.py
50.00% <0.00%> (-50.00%)
:arrow_down:

superset/db_engine_specs/hive.py
54.61% <0.00%> (-29.62%)
:arrow_down:

superset/db_engine_specs/presto.py
69.95% <0.00%> (-12.45%)
:arrow_down:

superset/db_engine_specs/sqlite.py
65.62% <0.00%> (-9.38%)
:arrow_down:

superset/utils/celery.py
96.42% <0.00%> (-3.58%)
:arrow_down:

superset/examples/world_bank.py
97.10% <0.00%> (-2.90%)
:arrow_down:

superset/db_engine_specs/postgres.py
97.56% <0.00%> (-2.44%)
:arrow_down:

superset/examples/birth_names.py
96.51% <0.00%> (-2.33%)
:arrow_down:

superset/views/database/mixins.py
80.70% <0.00%> (-1.76%)
:arrow_down:

... and 486 more

Continue to review full report at Codecov.

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

welcome on board Michael! thanks for the first PR!! @michael-s-molina

@junlincc Thanks! I'm very excited to work with you.

Welcome onboard, @michael-s-molina ! Thanks for working on this.
Could you also add a screenshot of Select component in real action just for sanity check?

I think the scope of this PR is great, but hoping we can use the theme context via the <ThemeProvider> rather than importing/using the supersetTheme directly from superset-ui

Welcome onboard, @michael-s-molina ! Thanks for working on this.
Could you also add a screenshot of Select component in real action just for sanity check?

@ktmud Thanks! I added the screenshots as requested.
@rusackas All styles are now coming from <ThemeProvider>.
The Select component uses a combination of style sources (react-select theme, default theme and theme props). If we have the intention on unifying all this then we should do it in another PR because we may need a bunch of refactoring.

I think current approach makes sense, given how react-select structures its styling. With #11916 in the work, I wouldn't invest too much in the refactoring.

Tested locally and everything looks great.

Congrats on the first merge! Welcome to the community!


I got an error

ERROR: Could not find a version that satisfies the requirement zipfile (from versions: none)
ERROR: No matching distribution found for zipfile

same for me


Initial add of the yeoman article and images

Hi @noelatfalafel, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla2.dotnetfoundation.org.

TTYL, DNFBOT;

@noelatfalafel, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.
Thanks, DNFBOT;

Fixes #17

We are using the content from #271 instead.


Extracting data from ICollection, List, etc. throws exception when null

(Originally posted at https://github.com/EntityGraphQL/EntityGraphQL/issues/204#issuecomment-1223643790)
Code
#nullable enable
public class UserDbContext : DbContext {
   public DbSet<UserWrapper> UserWrappers { get; set; }
}

public class UserWrapper {
   public string Json { get; set; }
}

public class User {
    public ICollection<Role>? Roles { get; set; } = null;
}

services.AddGraphQLSchema<UserDbContext>(options =>
{
    options.ConfigureSchema = ConfigureSchema;
});

public static void ConfigureSchema(SchemaProvider<UserDbContext> demoSchema)
{
    demoSchema.AddType<User>("user", null).AddAllFields();

    // Add custom root fields
    demoSchema.UpdateQuery(queryType =>
    {
        queryType.ReplaceField(
            "users",
            new
            {
                ...
            },
            (db, args) => db.UserWrappers.Select(userWrapper => JsonConvert.DeserializeObject<User>(userWrapper.Json)).ToList(),
            "List of users"
        );
    });
}

Query
{"Query":" { users { roles { id } }"}

Error
{"errors":[{"message":"Field 'users' - Value cannot be null. (Parameter 'source')"}]}

The built expressions do null check when there are service fields involved. As it kind of makes an assumption that without service fields the expression will be handled by EF. In this case you are using EF.
I think EF is choosing to run some of the expression in memory after fetching the data it can. Then either JsonConvert.DeserializeObject<User>(userWrapper.Json) returns null for an item or the deserialised item has a null Roles property.
Makes me think of two points

this should be better highlighted in the docs
there likely should be an option to have this happen regardless of service fields

Interesting you don't "need" a service. But, if you could change the field to use a service (like make a deserialiser service) it may work with the current release.
Interesting use case though that needs more thought. I originally thought it was going to be something simple!

@bzbetty Thanks for the fix 🙂  Do you agree that it's best to silently return nothing? I think that's probably the desired behaviour here, but I could also see an argument for having it throw.

Looking at my implemented fix on larger queries I do wonder if it's a performance hit. Currently doing some performance testing for other reasons so I'll investigate further.

@bzbetty Cool, thanks 🙂


Investigate arbitrary precision for float 16

GMP / MPFR exists but I believe I designed for linux
libbf seems good and cross platform

libbf is not so good for small values
instead we're (Hiyu) looking at this

Does this work with vectorization?

it should work at least aswell as float32 - but it's to be investigated

if a math person would like to support me with this it would be appreciated, I dunno wtf a mantissa is

https://github.com/X-DataInitiative/tick/pull/308


Add option for count to accept no column

If no column specifies, just increments on bin-hits. If specified, only counts non nan values.
Also updated other aggregates to work appropriately in the presence of nan values.

Ok, good!  I was actually wondering about how to achieve that when there was no suitable field.  Happy to have it merged now.


Fix deployment of scoped artifacts

Fix deployment of scoped artifacts

Remove hat ^ for scope
Add case-insensitivity to accommodate NPM packages

Fix regexp in ArtifactFilePathFetcher

Codecov Report

Merging #449 (aa2a759) into develop (e7a4ba0) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff            @@
##           develop     #449   +/-   ##
========================================
  Coverage    80.72%   80.72%
========================================
  Files           32       32
  Lines         1110     1110
  Branches       197      197
========================================
  Hits           896      896
  Misses         214      214

Impacted Files
Coverage Δ

...ages/core/src/artifacts/ArtifactFilePathFetcher.ts
30.18% <100.00%> (ø)

Continue to review full report at Codecov.

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


Allow locking to primary display

I like the window to always open on the same, primary display, so I added a preferences item to do so.
I'm not familiar with the structure of electron apps, so I hope I did this right - happy to make any changes.
BTW; to the electron newb, your code looks really clean, nice work.

Thanks for the pull request and the compliment!


Wifi: Add Inventek es-WiFi driver

Add es-WiFi support

driver (SPI + AT command)
device tree node (disco iot board)
device tree bindings

The module provides offload support for TCP/IP.
For now only get/bind/connect/send/recv are supported, no support for listen (server).
depends on #10372

Codecov Report

Merging #10464 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #10464      +/-   ##
==========================================
+ Coverage   53.14%   53.14%   +<.01%
==========================================
  Files         210      210
  Lines       25747    25748       +1
  Branches     5673     5673
==========================================
+ Hits        13682    13683       +1
  Misses       9755     9755
  Partials     2310     2310

Impacted Files
Coverage Δ

subsys/net/lib/sockets/sockets.c
41.8% <0%> (+0.23%)
:arrow_up:

Continue to review full report at Codecov.

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

rebase
checkpatch error fixing

I just submitted PR #10763 that should fix the sanitychecker issues

@loicpoulain can you rebase against latest master and re-submit, the sanitycheck error should be fixed now by #10763 which is now merged to master

rebased!

@loicpoulain
Hi,
I'm fairly new to this but wouldn't it relatively easy to create a generic "Wi-Fi offload driver" and provide an AT instruction set in a header type file. Say for example ESP32 or other module? If this is a crazy idea just say.
Billy..


Crashing if using card_mod

Which version of Room Card?
1.07.00
Describe the bug
If a Room Card is used with a certain code of card_mod containing templates, Lovelace GUI reports "connection lost" periodically.
Dame card_mod code does not cause same on other card types.
To Reproduce
Steps to reproduce the behavior:

Create a Room Card:
type: custom:room-card
title: Storage
entity: light.0f_storage_main
tap_action:
action: toggle
icon: mdi:lightbulb-outline
show_icon: true

Add the following code at the end:
card_mod:
style: |
ha-card {
border:
{% if is_state('light.0f_storage_main', 'on') %}
solid 1px var(--paper-item-icon-active-color)
{% else %}
solid 1px var(--primary-background-color)
{% endif %}
;
box-shadow:
{% if is_state('light.0_furdo', 'on') %}
0px 0px 10px 3px var(--paper-item-icon-active-color)
{% else %}
none
{% endif %}
;
}

Expected behavior
It tries to make a 'glow' effect if the entity is on. And it works on other cards (like a simple entity card).
Desktop (please complete the following information):

OS: Win10
Browser  Firefox
Version 105.03

HA: Home Assistant 2022.10.1 (Docker)
Room Card installed via HACS

Could be eliminated if it is changed to Feature Request for styling the Card itself...

Have you read the wiki? https://github.com/marcokreeft87/room-card/wiki/Configuration
Room Card has styles where you can customize the styling of the card, even with templating..
But FYI this is not a bug in room card.

I have read, yes, but not found out how to do it.
I will give it another try and confirm.
Marco Kreeft @.***> ezt írta (időpont: 2022. okt. 25.,
K, 11:36):

Have you read the wiki?
https://github.com/marcokreeft87/room-card/wiki/Configuration
Room Card has styles where you can customize the styling of the card, even
with templating..
But FYI this is not a bug in room card.
—
Reply to this email directly, view it on GitHub
https://github.com/marcokreeft87/room-card/issues/107#issuecomment-1290268190,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHVM6O4KAMXKMBMPZNSZNP3WE6SZBANCNFSM6AAAAAARNYVHUU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Tried with the following result:
[image: image.png]
As you can see the main entity is also in a box, so I cannot make
difference between the card and its container.
Is there workaround for this?
Marco Kreeft @.***> ezt írta (időpont: 2022. okt. 25.,
K, 11:36):

Have you read the wiki?
https://github.com/marcokreeft87/room-card/wiki/Configuration
Room Card has styles where you can customize the styling of the card, even
with templating..
But FYI this is not a bug in room card.
—
Reply to this email directly, view it on GitHub
https://github.com/marcokreeft87/room-card/issues/107#issuecomment-1290268190,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHVM6O4KAMXKMBMPZNSZNP3WE6SZBANCNFSM6AAAAAARNYVHUU
.
You are receiving this because you authored the thread.Message ID:
@.***>

The image isn't working

Can you share the full yaml of the card?

Sure (sorry, some Hungarian names in it):
type: custom:room-card
title: Fürdő
entity: light.0_furdo
style: |
@keyframes spin {
from {transform:rotate(0deg);}
to {transform:rotate(360deg);}
}
styles:
template: >
if (entity.state == 'on') return 'border:solid 1px
var(--paper-item-icon-active-color);box-shadow:0px 0px 10px 3px
var(--paper-item-icon-active-color)'; else return 'border:solid 1px
var(--primary-background-color);box-shadow:none';
tap_action:
action: toggle
icon: mdi:lightbulb-outline
show_icon: true
rows:

entities:

entity: light.0e_ceiling_light
name: Fürdő fő
show_icon: true
tap_action:
action: toggle

entity: light.0e_mirror_light
name: Tükör
icon: mdi:mirror-rectangle
show_icon: true
tap_action:
action: toggle

entity: light.0e_shower_light
name: Zuhanyzó
show_icon: true
icon: mdi:shower-head
tap_action:
action: toggle

entity: light.0e_wc_spot_dim
name: WC
icon: mdi:rectangle-outline
show_icon: true
tap_action:
action: toggle

entity: switch.0e_ventilation
name: Vent
show_icon: true
icon:
template:
styles: >
  if (entity.state == 'on') return 'animation: spin 1s infinite
  linear;color:orangered'
icon: |
  return 'mdi:fan';

tap_action:
action: call-service
service: loxone.event_websocket_command
service_data:
uuid: 19d9c83d-00de-3c61-ffff33cec634d857
value: pulse
hide_if:
conditions:

condition: equals
entity: light.0e_wc_spot_dim
value: 'on'
info_entities:

entity: sensor.irc_0_bath_state_value
show_icon: true
icon:
template:
styles: >
if (entity.state == 1) return 'color: orangered'; if (entity.state
==-1) return 'color: blue';
icon: >
if (entity.state == 1) return 'mdi:fire';   if (entity.state ==
-1)
return 'mdi:snowflake';   else return 'none';
entity: climate.irc_0_bathroom
attribute: current_temperature
unit: °C
entity: binary_sensor.0_furdo_mozgas
show_icon: true
icon:
template:
styles: |
if (entity.state == 'on') return 'color: orangered';
icon: >
if (entity.state == 'on') return 'mdi:run';   if (entity.state ==
'off') return 'mdi:arrow-right-circle-outline';   else return
'none';
tap_action:
action: navigate
navigation_path: /lovelace-haz/furdo0

Marco Kreeft @.***> ezt írta (időpont: 2022. okt. 25.,
K, 12:43):

Can you share the full yaml of the card?
—
Reply to this email directly, view it on GitHub
https://github.com/marcokreeft87/room-card/issues/107#issuecomment-1290344873,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHVM6O2OQGVQ6DL5NK6WXPTWE62TTANCNFSM6AAAAAARNYVHUU
.
You are receiving this because you authored the thread.Message ID:
@.***>

var(--paper-item-icon-active-color);box-shadow:0px 0px 10px 3px
    var(--paper-item-icon-active-color)'; else return 'border:solid 1px

These will set the border around the main entity icon. I guess thats not what you want?

Indeed. My intention is to set the border only around the whole card.
Marco Kreeft @.***> ezt írta (időpont: 2022. okt. 25.,
Ke 13:41):

var(--paper-item-icon-active-color);box-shadow:0px 0px 10px 3px
var(--paper-item-icon-active-color)'; else return 'border:solid 1px
These will set the border around the main entity icon. I guess thats not
what you want?
—
Reply to this email directly, view it on GitHub
https://github.com/marcokreeft87/room-card/issues/107#issuecomment-1290414788,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHVM6O3RUUFVNP4BK4LJVODWE7BPTANCNFSM6AAAAAARNYVHUU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Indeed. My intention is to set the border only around the whole card. Marco Kreeft @.> ezt írta (időpont: 2022. okt. 25., Ke 13:41):
…
var(--paper-item-icon-active-color);box-shadow:0px 0px 10px 3px var(--paper-item-icon-active-color)'; else return 'border:solid 1px These will set the border around the main entity icon. I guess thats not what you want? — Reply to this email directly, view it on GitHub <#107 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHVM6O3RUUFVNP4BK4LJVODWE7BPTANCNFSM6AAAAAARNYVHUU . You are receiving this because you authored the thread.Message ID: @.>

Remove the 2 lines I quoted and that will do what you want

Thanks, but the two lines make the highlighted shadow around the whole card, too, so if I remove them, it will not work.
So it is intentionally there, but not only the whole card, but the main entity icon behaves like the card.
In other words I cannot make difference between the card box and entity box... :/


Memory Leak?

I build the jar by myself.
git clone "https://github.com/oakes/Nightcode.git"
cd Nightcode
lein deps
lein uberjar

Now,I got a runnable jar file.
On windows  10 os,Jvm 8, I double click it .
and then I quit it.
The TaskManager show that the JVM still running.
That 's all.
(Sorry, I try to upload images,I failed)

Did you run any of the build commands? I've heard that on Windows, they may continue running after stopping them.

See this issue: https://github.com/oakes/Nightcode/issues/59

I do nothing...
I just open it and close it ...
There is no other opetations. No porject. No build command.No repl runs.

OK then perhaps the lower-left REPL is still running after quitting. I'll have to look into this.

I just released 1.0.1 which hopefully resolves this problem. Let me know if it's still happening.

I'm  sorry about long time no response for this issue.
I checked it and it  works.
You resolved this problem.
Thanks.


Make compatible with RN 0.32

React Native 0.32 changes the behaviour of NavigationHeader: it's not positioned absolutely anymore. We need to change the layout of styles.wrapper, similar to how its done in this UIExplorer example diff (just needs flexDirection: 'column-reverse').
This will break layout compatibility with RN < 0.32. Also existing layouts need to remove their padding/margin on their "Page" components which was used to pull them below the Header.

I have refactored quite a few things that also included support for v0.32 and onwards but didn't want to push a patch because we are blocked by this.
In the meanwhile, #37 is a great patch. Thanks, Jonathan. 🚀
🍺

Woa these babel configs in package.json files are a PITA. I was thinking of handling this via a postinstall script that'd remove the entries from the offending package jsons.


New release?

Hello,
Could we get a new release soon? I would like to use https://github.com/bytecodealliance/wasm-tools/pull/1394 in SpiderMonkey.
Thanks!

@alexcrichton usually does these releases and is at an offsite this week, so he may be slower to respond than usual.

I've posted a bump at https://github.com/bytecodealliance/wasm-tools/pull/1406


E11: while trying to close windows inside of the command-line window

Description
Somehow #309 is causing me a different error than the one on #306. In my case, Neovim refuses to close windows while inside the command-line window (E11).
I don't know the codebase, but my very naive solution was to change the logic here to check if the current window was the command-line window, if no, everything works as normal, if yes, the winid gets stored (on the table ids) to be deleted later.
local ids = {}
local function win_close(winid)
  vim.schedule(function()
    if winid ~= nil and api.nvim_win_is_valid(winid) then
      if fn.getcmdwintype() == '' then
        api.nvim_win_close(winid, true)
      else
        table.insert(ids, winid)
      end
    end
  end)
end

Then, I created an autocmd at startup that fires when someone exits the command-line window and deletes the windows that weren't previously deleted (whose ids are stored in the ids table.
local group = vim.api.nvim_create_augroup('DeleteCmdWin', {})
vim.api.nvim_create_autocmd('CmdwinLeave', {
  group = group,
  callback = function()
    vim.schedule(function()
      for _, id in ipairs(ids) do
        if id ~= nil and vim.api.nvim_win_is_valid(id) then
          vim.api.nvim_win_close(id, true)
        end
      end
      ids = {}
    end)
  end,
})

I'm not confident opening a PR because I don't know anything about the codebase.
Neovim version
NVIM v0.9.1
Expected behavior
The plugin should handle this error
Actual behavior
E11 is shown multiple times and some context windows linger around without being closed.
Minimal config
local plugins = {
	ts = "https://github.com/nvim-treesitter/nvim-treesitter",
	ts_context = "https://github.com/nvim-treesitter/nvim-treesitter-context",
	-- ADD ADDITIONAL PLUGINS THAT ARE _NECESSARY_ TO REPRODUCE THE ISSUE
}

for name, url in pairs(plugins) do
	local install_path = "/tmp/nvim/site/" .. name
	if vim.fn.isdirectory(install_path) == 0 then
		vim.fn.system({ "git", "clone", "--depth=1", url, install_path })
	end
	vim.o.runtimepath = install_path .. "," .. vim.o.runtimepath
end

-- ADD INIT.LUA SETTINGS THAT IS _NECESSARY_ FOR REPRODUCING THE ISSUE
require("nvim-treesitter.configs").setup({
	ensure_installed = { "lua" },
	highlight = {
		enabled = true,
	},
})
require("treesitter-context").setup()

Steps to reproduce

nvim --clean -u minimal.lua test.lua (where test.lua has the following code)

return {
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
	-- emtpy
}

G to go to the last line
q: to open the command-line window

I can't reproduce on latest master.

I can't reproduce on latest master.

By latest master you mean nvim-treesitter-context latest master or Neovim latest master?
I can reproduce the error on nvim-treesitter-context latest master and Neovim version 0.9.1, but it's true that the error does not show up if I use the nightly version of Neovim. Could this be a bug on Neovim itself that got solved on nightly?

I think I remember a couple patches related to this recently so yeah I think this could be fixed.

Thanks for your help, I'll close the issue c:


Import of dependencies not working

I'm fairly new to coding...
So I'm editing the script with VSCode on Ubuntu 22.04 and VSCode is giving me  the Warning: Import "tqdm" could not be resolved from sourcePylancereportMissingModuleSource
If i try and run the script anyways I get this timeout error as shown below. I've run this script on another Ubuntu VM VirtualBox where it was successful but i mistakenly deleted the VM. I dont know whats different from last time, but i cant get it to run properly on Windows or Ubuntu now.
I have Python3.11 installed as well as pip. Any help would be greatly appreciated.
`
                       Zoom Recording Downloader

                              Version 2.1

Log file not found. Creating new log file:  completed-downloads.log
Getting user accounts...
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in _new_conn
conn = connection.create_connection(

File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 96, in create_connection
raise err

File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 86, in create_connection
sock.connect(sa)

TimeoutError: [Errno 110] Connection timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 699, in urlopen
httplib_response = self._make_request(

File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 382, in _make_request
self._validate_conn(conn)

File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 1012, in _validate_conn
conn.connect()

File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 353, in connect
conn = self._new_conn()

File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 174, in _new_conn
raise ConnectTimeoutError(

urllib3.exceptions.ConnectTimeoutError: (<urllib3.connection.HTTPSConnection object at 0x7fdb9afba560>, 'Connection to api.zoom.us timed out. (connect timeout=None)')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(

File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 755, in urlopen
retries = retries.increment(

File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 574, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))

urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.zoom.us', port=443): Max retries exceeded with url: /v2/users (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7fdb9afba560>, 'Connection to api.zoom.us timed out. (connect timeout=None)'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/izzy/zoom-recording-downloader/zoom-recording-downloader.py", line 288, in
main()

File "/home/izzy/zoom-recording-downloader/zoom-recording-downloader.py", line 237, in main
users = get_user_ids()

File "/home/izzy/zoom-recording-downloader/zoom-recording-downloader.py", line 78, in get_user_ids
response = requests.get(url=API_ENDPOINT_USER_LIST,

File "/usr/lib/python3/dist-packages/requests/api.py", line 76, in get
return request('get', url, params=params, **kwargs)

File "/usr/lib/python3/dist-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)

File "/usr/lib/python3/dist-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)

File "/usr/lib/python3/dist-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)

File "/usr/lib/python3/dist-packages/requests/adapters.py", line 504, in send
raise ConnectTimeout(e, request=request)

requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='api.zoom.us', port=443): Max retries exceeded with url: /v2/users (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7fdb9afba560>, 'Connection to api.zoom.us timed out. (connect timeout=None)'))`

Try installing it manually using one of the recommended methods listed here: https://pypi.org/project/tqdm/#installationOn Jan 16, 2023, at 7:40 PM, izzyyf @.***> wrote:
I'm fairly new to coding...
So I'm editing the script with VSCode on Ubuntu 22.04 and VSCode is giving me  the Warning: Import "tqdm" could not be resolved from sourcePylancereportMissingModuleSource
If i try and run the script anyways I get this timeout error as shown below. I've run this script on another Ubuntu VM VirtualBox where it was successful but i mistakenly deleted the VM. I dont know whats different from last time, but i cant get it to run properly on Windows or Ubuntu now.
I have Python3.11 installed as well as pip. Any help would be greatly appreciated.
`
Zoom Recording Downloader
                          Version 2.1

Log file not found. Creating new log file:  completed-downloads.log
Getting user accounts...
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in _new_conn
conn = connection.create_connection(
File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 96, in create_connection
raise err
File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 86, in create_connection
sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 699, in urlopen
httplib_response = self._make_request(
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 382, in _make_request
self._validate_conn(conn)
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 1012, in _validate_conn
conn.connect()
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 353, in connect
conn = self._new_conn()
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 174, in _new_conn
raise ConnectTimeoutError(
urllib3.exceptions.ConnectTimeoutError: (<urllib3.connection.HTTPSConnection object at 0x7fdb9afba560>, 'Connection to api.zoom.us timed out. (connect timeout=None)')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 755, in urlopen
retries = retries.increment(
File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 574, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.zoom.us', port=443): Max retries exceeded with url: /v2/users (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7fdb9afba560>, 'Connection to api.zoom.us timed out. (connect timeout=None)'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/izzy/zoom-recording-downloader/zoom-recording-downloader.py", line 288, in
main()
File "/home/izzy/zoom-recording-downloader/zoom-recording-downloader.py", line 237, in main
users = get_user_ids()
File "/home/izzy/zoom-recording-downloader/zoom-recording-downloader.py", line 78, in get_user_ids
response = requests.get(url=API_ENDPOINT_USER_LIST,
File "/usr/lib/python3/dist-packages/requests/api.py", line 76, in get
return request('get', url, params=params, **kwargs)
File "/usr/lib/python3/dist-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 504, in send
raise ConnectTimeout(e, request=request)
requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='api.zoom.us', port=443): Max retries exceeded with url: /v2/users (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7fdb9afba560>, 'Connection to api.zoom.us timed out. (connect timeout=None)'))`
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

Try installing it manually using one of the recommended methods listed here: https://pypi.org/project/tqdm/#installationOn Jan 16, 2023, at 7:40 PM, izzyyf @.> wrote: I'm fairly new to coding... So I'm editing the script with VSCode on Ubuntu 22.04 and VSCode is giving me the Warning: Import "tqdm" could not be resolved from sourcePylancereportMissingModuleSource If i try and run the script anyways I get this timeout error as shown below. I've run this script on another Ubuntu VM VirtualBox where it was successful but i mistakenly deleted the VM. I dont know whats different from last time, but i cant get it to run properly on Windows or Ubuntu now. I have Python3.11 installed as well as pip. Any help would be greatly appreciated.  Zoom Recording Downloader Version 2.1 Log file not found. Creating new log file: completed-downloads.log Getting user accounts... Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in _new_conn conn = connection.create_connection( File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) TimeoutError: [Errno 110] Connection timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 699, in urlopen httplib_response = self._make_request( File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 1012, in _validate_conn conn.connect() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 353, in connect conn = self._new_conn() File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 174, in _new_conn raise ConnectTimeoutError( urllib3.exceptions.ConnectTimeoutError: (<urllib3.connection.HTTPSConnection object at 0x7fdb9afba560>, 'Connection to api.zoom.us timed out. (connect timeout=None)') During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/requests/adapters.py", line 439, in send resp = conn.urlopen( File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 755, in urlopen retries = retries.increment( File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.zoom.us', port=443): Max retries exceeded with url: /v2/users (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7fdb9afba560>, 'Connection to api.zoom.us timed out. (connect timeout=None)')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/izzy/zoom-recording-downloader/zoom-recording-downloader.py", line 288, in main() File "/home/izzy/zoom-recording-downloader/zoom-recording-downloader.py", line 237, in main users = get_user_ids() File "/home/izzy/zoom-recording-downloader/zoom-recording-downloader.py", line 78, in get_user_ids response = requests.get(url=API_ENDPOINT_USER_LIST, File "/usr/lib/python3/dist-packages/requests/api.py", line 76, in get return request('get', url, params=params, **kwargs) File "/usr/lib/python3/dist-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 504, in send raise ConnectTimeout(e, request=request) requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='api.zoom.us', port=443): Max retries exceeded with url: /v2/users (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7fdb9afba560>, 'Connection to api.zoom.us timed out. (connect timeout=None)')) —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.>

Thank you very much


Height width fixing of Food recipe data

Describe the bug
in Food recipe extension cards are not shwoing properly and buttons are overlapping
and images are laso not clear
To Reproduce
Steps to reproduce the behavior:
run the extension and search any of the recipe
Expected behavior
should show the recipes in proper order which are searched
Screenshots

Additional context
i will do required changes and  will fix it

@Sulagna-Dutta-Roy please assign me this issue


how to change the mirror repository setting Last Synchronized show time as utc+8

Gitea version (or commit ref):
Git version:
Operating system:
Database (use [x]):

[ ] PostgreSQL
[x] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[ ] Not relevant

Log gist:

Description
I try to change the app.ini->time.format = RFC3339,but it look like not effect
I don't know how to change the mirror repository setting Last Synchronized show time as utc+8
Screenshots

[time]
FORMAT = 2006-01-02 15:04:05
DEFAULT_UI_LOCATION = Asia/Shanghai

The FORMAT value can be set as shown in the "Go layout" column of this page. The value 2006-01-02 15:04:05 is not some arbitrary example but the name of the actual format.
The DEFAULT_UI_LOCATION must be a time zone present in your system, but it will probably be one of those listed here in the "TZ database name" column. GMT+8 will probably be Asia/Shanghai.

thank you for your answer, i'll try it later.

I have solved my problem, your answer is perffect,maybe sometimes i should read the source code, thanks again.


Validation fixes

Category

[ x] Content fix

Docs Build status updates of commit cb485c4:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs/schema/listtemplate-element-list-template.md
:warning:Warning
View
Details

docs/schema/listtemplate-element-list-template.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Global effort to fix build validation errors
@VesaJuvonen
The Content & Learning team is fixing build validation errors on docs.microsoft.com for the rest of H2. This will eliminate potential accessibility, security, and usability issues. This PR includes only build validation fixes and does not change other content. Please review within five business days and merge or comment in the PR with any changes you'd like to see. Thank you!


Update json-merge-patch dependency

The changes seem to be non-breaking, cleanup-only, but they include prototype pollution fixes and a lighter deep-merge dependency. The version currently used by this repo is 6 years old.
https://github.com/pierreinglebert/json-merge-patch/compare/v0.2.3...v1.0.2
I hope to see this and https://github.com/ajv-validator/ajv-merge-patch/pull/39 merged soon ☺

Thank you for merging this!


[Bug]: Detokenize delay when update vllm from 0.3.0 to 0.4.2

Your current environment
Collecting environment information...
PyTorch version: 2.3.0+cu121
Is debug build: False
CUDA used to build PyTorch: 12.1
ROCM used to build PyTorch: N/A

OS: CentOS Linux 7 (Core) (x86_64)
GCC version: (GCC) 9.3.1 20200408 (Red Hat 9.3.1-2)
Clang version: 3.4.2 (tags/RELEASE_34/dot2-final)
CMake version: version 3.29.3
Libc version: glibc-2.17

Python version: 3.10.12 (main, Jul  5 2023, 18:54:27) [GCC 11.2.0] (64-bit runtime)
Python platform: Linux-4.18.0-193.28.1.el8_2.x86_64-x86_64-with-glibc2.17
Is CUDA available: True
CUDA runtime version: 12.1.105
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration:
GPU 0: NVIDIA A800-SXM4-80GB
GPU 1: NVIDIA A800-SXM4-80GB

Nvidia driver version: 525.125.06
cuDNN version: Probably one of the following:
/usr/lib64/libcudnn.so.8.0.5
/usr/lib64/libcudnn_adv_infer.so.8.0.5
/usr/lib64/libcudnn_adv_train.so.8.0.5
/usr/lib64/libcudnn_cnn_infer.so.8.0.5
/usr/lib64/libcudnn_cnn_train.so.8.0.5
/usr/lib64/libcudnn_ops_infer.so.8.0.5
/usr/lib64/libcudnn_ops_train.so.8.0.5
/usr/local/cuda/targets/x86_64-linux/lib/libcudnn.so.8.9.5
/usr/local/cuda/targets/x86_64-linux/lib/libcudnn_adv_infer.so.8.9.5
/usr/local/cuda/targets/x86_64-linux/lib/libcudnn_adv_train.so.8.9.5
/usr/local/cuda/targets/x86_64-linux/lib/libcudnn_cnn_infer.so.8.9.5
/usr/local/cuda/targets/x86_64-linux/lib/libcudnn_cnn_train.so.8.9.5
/usr/local/cuda/targets/x86_64-linux/lib/libcudnn_ops_infer.so.8.9.5
/usr/local/cuda/targets/x86_64-linux/lib/libcudnn_ops_train.so.8.9.5
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

CPU:
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                128
On-line CPU(s) list:   0-127
Thread(s) per core:    2
Core(s) per socket:    32
Socket(s):             2
NUMA node(s):          2
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 106
Model name:            Intel(R) Xeon(R) Platinum 8338C CPU @ 2.60GHz
Stepping:              6
CPU MHz:               3077.183
CPU max MHz:           3500.0000
CPU min MHz:           800.0000
BogoMIPS:              5200.00
Virtualization:        VT-x
L1d cache:             48K
L1i cache:             32K
L2 cache:              1280K
L3 cache:              49152K
NUMA node0 CPU(s):     0-31,64-95
NUMA node1 CPU(s):     32-63,96-127
Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 invpcid_single ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm cqm rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb intel_pt avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local wbnoinvd dtherm ida arat pln pts hwp hwp_act_window hwp_epp hwp_pkg_req avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg tme avx512_vpopcntdq la57 rdpid md_clear pconfig flush_l1d arch_capabilities

Versions of relevant libraries:
[pip3] numpy==1.26.4
[pip3] nvidia-nccl-cu12==2.20.5
[pip3] torch==2.3.0
[pip3] torchaudio==2.3.0
[pip3] torchvision==0.18.0
[pip3] triton==2.3.0
[pip3] vllm-nccl-cu12==<IP_ADDRESS>.4.0
[conda] numpy                     1.26.4                   pypi_0    pypi
[conda] nvidia-nccl-cu12          2.20.5                   pypi_0    pypi
[conda] torch                     2.3.0                    pypi_0    pypi
[conda] torchaudio                2.3.0                    pypi_0    pypi
[conda] torchvision               0.18.0                   pypi_0    pypi
[conda] triton                    2.3.0                    pypi_0    pypi
[conda] vllm-nccl-cu12            <IP_ADDRESS>.4.0             pypi_0    pypiROCM Version: Could not collect
Neuron SDK Version: N/A
vLLM Version: 0.4.2
vLLM Build Flags:
CUDA Archs: Not Set; ROCm: Disabled; Neuron: Disabled
GPU Topology:
GPU0    GPU1    NIC0    NIC1    NIC2    NIC3    NIC4    NIC5    NIC6    NIC7    NIC8    NIC9    NIC10   CPU Affinity    NUMA Affinity
GPU0     X      NV8     SYS     SYS     SYS     SYS     SYS     SYS     NODE    NODE    PXB     PXB     SYS     32-63,96-127    1
GPU1    NV8      X      SYS     SYS     SYS     SYS     SYS     SYS     NODE    NODE    PXB     PXB     SYS     32-63,96-127    1
NIC0    SYS     SYS      X      PIX     NODE    NODE    NODE    NODE    SYS     SYS     SYS     SYS     NODE
NIC1    SYS     SYS     PIX      X      NODE    NODE    NODE    NODE    SYS     SYS     SYS     SYS     NODE
NIC2    SYS     SYS     NODE    NODE     X      PIX     NODE    NODE    SYS     SYS     SYS     SYS     NODE
NIC3    SYS     SYS     NODE    NODE    PIX      X      NODE    NODE    SYS     SYS     SYS     SYS     NODE
NIC4    SYS     SYS     NODE    NODE    NODE    NODE     X      PIX     SYS     SYS     SYS     SYS     NODE
NIC5    SYS     SYS     NODE    NODE    NODE    NODE    PIX      X      SYS     SYS     SYS     SYS     NODE
NIC6    NODE    NODE    SYS     SYS     SYS     SYS     SYS     SYS      X      PIX     NODE    NODE    SYS
NIC7    NODE    NODE    SYS     SYS     SYS     SYS     SYS     SYS     PIX      X      NODE    NODE    SYS
NIC8    PXB     PXB     SYS     SYS     SYS     SYS     SYS     SYS     NODE    NODE     X      PIX     SYS
NIC9    PXB     PXB     SYS     SYS     SYS     SYS     SYS     SYS     NODE    NODE    PIX      X      SYS
NIC10   SYS     SYS     NODE    NODE    NODE    NODE    NODE    NODE    SYS     SYS     SYS     SYS      X

Legend:

  X    = Self
  SYS  = Connection traversing PCIe as well as the SMP interconnect between NUMA nodes (e.g., QPI/UPI)
  NODE = Connection traversing PCIe as well as the interconnect between PCIe Host Bridges within a NUMA node
  PHB  = Connection traversing PCIe as well as a PCIe Host Bridge (typically the CPU)
  PXB  = Connection traversing multiple PCIe bridges (without traversing the PCIe Host Bridge)
  PIX  = Connection traversing at most a single PCIe bridge
  NV#  = Connection traversing a bonded set of # NVLinks

NIC Legend:

  NIC0: mlx5_2
  NIC1: mlx5_3
  NIC2: mlx5_4
  NIC3: mlx5_5
  NIC4: mlx5_6
  NIC5: mlx5_7
  NIC6: mlx5_8
  NIC7: mlx5_9
  NIC8: mlx5_10
  NIC9: mlx5_11
  NIC10: mlx5_bond_0

🐛 Describe the bug
I updated the vllm from 0.3.0 to 0.4.2, both are offical release, while the generation time increased from 45 seconds to 50 minutes on qwen1.5-0.5B model with the AdvertiseGen dataset.
After compared each phase of generation between the two release version, I found out that the main delay was caused by the function detokenize_incrementally in vllm.transformers_utils.detokenizer.py.
 I think we should replace all the len(tokenizer) with ````tokenizer.vocab_size``` to improve the generation performance

With the changes in pr #5207, the time of generate almost reduce to the same as version 0.3.0
time cost of func detokenize_incrementally
INFO 06-03 13:54:30 detokenizer.py:311] detokenize_incrementally cost 1.811981201171875e-05 seconds
INFO 06-03 13:54:30 detokenizer.py:311] detokenize_incrementally cost 1.7881393432617188e-05 seconds
INFO 06-03 13:54:30 detokenizer.py:311] detokenize_incrementally cost 1.7642974853515625e-05 seconds
INFO 06-03 13:54:30 detokenizer.py:311] detokenize_incrementally cost 3.790855407714844e-05 seconds
INFO 06-03 13:54:30 detokenizer.py:311] detokenize_incrementally cost 2.956390380859375e-05 seconds
INFO 06-03 13:54:30 detokenizer.py:311] detokenize_incrementally cost 5.555152893066406e-05 seconds
INFO 06-03 13:54:30 detokenizer.py:311] detokenize_incrementally cost 2.2172927856445312e-05 seconds
INFO 06-03 13:54:30 detokenizer.py:311] detokenize_incrementally cost 1.7881393432617188e-05 seconds
INFO 06-03 13:54:30 detokenizer.py:311] detokenize_incrementally cost 1.71661376953125e-05 seconds

time cost of generation on qwen1.5-0.5B model with the AdvertiseGen dataset
(RayWorkerWrapper pid=7368) INFO 06-03 13:57:05 custom_all_reduce.py:246] Registering 1715 cuda graph addresses
(RayWorkerWrapper pid=7368) INFO 06-03 13:57:05 model_runner.py:1017] Graph capturing finished in 5 secs.
 See Note [Sharing CUDA tensors]


haskellPackages.hasura: 2.0.9 -> 2.0.10

Motivation for this change
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

hi, thank you. haskell updates have to be PR-ed against the branch haskell-updates

@Lassulus Thanks! Does it look correct now?

@Lassulus Btw, the update script did do the update up to 2.1.0 beta and that looked like it might not be this easy upgrade.

ah, well it just takes the newest version from github. lets see when 2.1.0 is released what needs to be done. hopefully we can remove some overrides and not add more :D

Builds locally.

Thx!


Should lift save create the database?

Should lift save create the database or be stateless and let lift up do the mutative work?
Currently, for SQLite, running lift up without a DB throws.

prisma lift save should not create (or write to) a database, prisma lift up should.

Right now lift save creates a database, we need to adjust this.

Retro comment: New desire behavior, @matthewmueller will create the follow up issues.

Closing in favor of: https://github.com/prisma/lift/issues/122


[BottomNavigation] Rename BottomNavigationButton to BottomNavigationAction

This is for consistency with the spec, and with the upcoming SpeedDial component.
Motivated by: https://github.com/mui-org/material-ui/pull/9539#issuecomment-354648003
Breaking change
-Rename the BottomNavigationButton component
-import BottomNavigation, { BottomNavigationButton } from 'material-ui/BottomNavigation';
+import BottomNavigation, { BottomNavigationAction } from 'material-ui/BottomNavigation';

@mbrookes Good job :)


Wrong Downloads folder location

Describe the bug
Files UWP automatically managed to figure out the location for the Documents, Pictures , Music and Videos folders but for some reason it failed to do so with the Downloads one. All these folders including the Downloads one are straight on my E: drive.
I am aware one can manually change where these folders are located in the settings but since the automatic detection works for the other folders I'd consider it a bug that still should be fixed.
To Reproduce
Steps to reproduce the behavior:

Have custom location for downloads folder since before.
Install and run Files UWP.
Click on "Downloads".
See it take you to the default/standard location instead of the custom one.

Expected behavior
Expected it to show me the custom location automatically since it worked with all the other folders with custom location.
Desktop:

OS Version: Windows 10 1909 18363.535
App version: v<IP_ADDRESS>

This is still an issue for me on version 0.7.5

@Darhagonable More changes to address this will be included with v0.7.6 when it's released.

@Darhagonable More changes to address this will be included with v0.7.6 when it's released.

v0.7.6 still has the same issue. It works perfectly for all the other folders except for Downloads.
Looking at the difference between the folders the only thing i can tell is that my downloads folder has it's target location with a special swedish letter in it's name "ä" and that it has a space in it if any of those could cause this.

It should take me to "E:\Hämtade filer" but instead Files UWP takes me to "C:\Users\darha\Downloads"

@Darhagonable v0.7.6 is still in certification.


Error when building libvl.so

Ubuntu 16.04, 32bit
vlfeat-0.9.21
$ make
CC bin/glnx86/libvl.so
/usr/bin/ld: bin/glnx86/libvl.so: No symbol version section for versioned symbol<EMAIL_ADDRESS>/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
make/dll.mak:139: recipe for target 'bin/glnx86/libvl.so' failed

Later I tried version 0.9.20 and built successfully...

I have the same problem. Would be nice, if we could find out which commit caused this problem. Builds fine on vlfeat-0.9.20 but not  vlfeat-0.9.21 on ubuntu 18.04


update deployment instruction in docs

The current deployment instruction warp deploy <path to Cairo contract> returns an error when you call it. I updated it with the right deployment command.

I'm not sure I understand your comment @BitBaseBit

@jelilat you can create a "user" on StarkNet, check warp deploy-account which deploys a user and creates a file tracking them in your home directory. If there is a __default__ user in this file it will be used by warp and --no-wallet is no longer required. Can you update the readme to include the account deployment steps instead of no-wallet? Also the gateway can be set in an env - would be nice to have that in the readme too.
Thank you for catching this!

I've updated the readme accordingly. Thanks for the initial pr @jelilat

Thanks @JorikSchellekens
Sorry I wasn't able to get to this sooner.

Ah np, just appreciate the input!


Implement searchFilter case sensitivity

Q
A

Bug fix?
no

New feature?
yes

BC breaks?
no

Deprecations?
no

Tests pass?
yes

Fixed tickets
none

License
MIT

Doc PR
https://github.com/api-platform/doc/pull/30

:+1:

Cool for the feature, but personally I find the SearchFilter far too big already, what about having a dedicated service for caseWrap and pass it to SearchFilter? This way it would also be possible to have the search filter case sensitive for some entities and not for others.

@theofidry it seems that the SearchFilter is only available by using Doctrine (QueryBuilder) and I'm adding a LOWER comparison when case sensitivity isn't required. I don't see how it could not be sql-related here.
I also don't see the impact here about entities, the default behavior didn't change. It's just that you can use a prepended i on search filters to search case insensitive (eg  iexact, ipartial...).

it seems that the SearchFilter is only available by using Doctrine (QueryBuilder) and I'm adding a LOWER comparison when case sensitivity isn't required. I don't see how it could not be sql-related here.

Even if it is sql-related or QueryBuilder, it would still make it available for custom filters.

I also don't see the impact here about entities, the default behavior didn't change. It's just that you can use a prepended i on search filters to search case insensitive (eg iexact, ipartial...).

Let's say the default SearchFilter is configured to be case sensitive and you enable it for the entity SensitiveEntity. Having this (caseWrap) into a dedicated service, you could create a new SearchFilter service with another configuration, e.g. case insensitive this time, for another entity InsensitiveEntity.

I think that I don't get how you're using filters.
Here I can use both case(in)sensitive filters with one filter:
    resource.product.search_filter:
        parent: 'api.doctrine.orm.search_filter'
        arguments: [{ code: "partial", name: "ipartial", tags: "partial", description: "ipartial" }]

As far as I have one resource per entity (in which I can define many filters) I don't get why what you're asking would not be possible.
If I understand your thoughts, the "CaseService" would look like this:
class CaseService {
    /**
     * @var string Doctrine expression to case insensitivity comparison
     */
    const CASE_INSENSITIVE = 'LOWER';

    /**
     * @var bool whether it's case sensitive or not
     * would have to handle this value through configuration, overhead?
     */
    private $caseSensitive = true;

    private caseWrap($string) {
        if ($this->caseSensitive !== false) {
            return $string;
        }

        return sprintf('%s(%s)', self::CASE_INSENSITIVE, $string);
    }
}

Having the CaseService injected does not bring any advantages to me or I'm missing something.

Ha didn't get that you were configuring it this way. Then indeed the configuration part I've talked of is irrelevant.

Having the CaseService injected does not bring any advantages to me or I'm missing something.

Reusing it for custom filters? Aside from that it's just a matter of preference: I would rather have it in a dedicated class to avoid to maker SearchFilter bigger still (and it is already quite big). But really there is no strong opinion there so if @dunglas and @sroze are fine with keeping it like that so I am.

:+1:

Aside from the code point of view, I see a major performance issue with this. Indeed, using LOWER() on both ends means that the filter won't use the indices on the collection, which will induce a full table scan to search for the values. Try using EXPLAIN on the query and you will see.
So I'm :-1: on this one.
See http://use-the-index-luke.com/sql/where-clause/functions/case-insensitive-search for more information.

@csarrazi I don't see any performance problem here because that is your responsibility to not use it. Maybe you just want it do be configurable? Moreover, you can easily add an index on LOWER(column).

+1 about the responsibility to use, I could strtolower on the binded value instead of using an sql LOWER but the index performance will still be an issue (if no index ofc).

@sroze True, I've got nothing about the feature itself. But for this implementation, the fact that one needs to be cautious with indices in the database should be documented.

the fact that one needs to be cautious with indices in the database should be documented.
:+1:

@soyuka Don't worry, LOWER is still better than strtolower. Nothing wrong with the code itself. I just wanted to make sure that the developers who use this feature are aware of the possible performance issues, if they do not add the correct indices.

@csarrazi if the don't are they developpers? :smirk:
I'm adding the performance notice in the doc PR.

Unfortunately, I know (too) many developers who don't have a clue about indices. :smirk:

@csarrazi :confounded:

@soyuka any news about this PR? We are still happy to merge it.

@sroze want me to rebase? I'm currently using my own fork of the v1 with this patch and my hotfix for composite identifiers. For basic search this is really useful to me.
Regarding v2, I must find time to upgrade everything, which I currently don't have :|.

If it is stable enough, we can merge it in 1.1. I'll release the 1.1 beta this weekend.

I cherry-picked my commit, this should be up to date with 1.x.

You should make the PR against branch 1.x instead.
Unfortunately, this can be done only by closing this PR, and submitting another one on the 1.x branch.


[IOTDB-605] Add more levels of index in TsFileMetadata

A tree-structured level index as is shown in attachments.

Each internal node is an array, which is consisted of triple-element items: [<device / measurement name, offset, next>, ... ]. These elements represent the children nodes of the internal node.
By the end of the array, there is an "empty" item with an empty string and the offset equals to the end offset of children elements, so that the length of every element could be easy to calculate.
The field next is an enum value, which represents the type of the next child node.
The largest number of children nodes N could be configured by users. (In the examples, I set N = 10 for convenience)
The storage process is from bottom to up. Whenever the blocks > N, a parent level index will be generated and will be insisted into disk.
The query process is from top to bottom with binary search of the array.

Hi @HTHou @qiaojialin, thanks for your review. I have renamed some classes, methods and variables as you have pointed. Since Jialin and I have discussed to modify the design of the MetadataIndexNode, I will leave some problems and fix them together in next design version, which could be implemented and tested in these two days. Pleaser help and review the new change by that time : )

Very Good job. Don't forget to update tsfile format-changelist.md. :)

update tsfile format-changelist.md

Hi @HTHou , thanks for ur reminding!
I have updated tsfile format-changelist.md, please have a look.


weapp implementation?

Should we implement weapp client end? Since its becoming very popular in China

weapp ? like vueorreact native?  you can use appserver`
demo:  http://demo.fancyecommerce.com/#/
Yes，Since its development in 2015, fecshop has become popular in China.

I think I was not making myself clear. I meant should we get weapp implemented as a built-in client end?
https://developers.weixin.qq.com/miniprogram/dev/
I think it will boost fecshop market share to a lot compared to other poor-documented eCommercial frameworks in China 😃


Make ch.qos.logback dependency declarative

1.4.14 is what dropwizard v:stable is using, so we will just use this version

Please capitalize the commit title. https://github.com/trinodb/trino/blob/master/.github/DEVELOPMENT.md#format-git-commit-messages

done


Traversable should implement reactive-streams publisher.

ReactiveSeq implemenation should be moved into Traversable instead. This will mean any reactive-streams subscriber can subscribe to data in any cyclops-react traversable.
It's probably straighforward to implement (easy-to-contribute) but tests might be more involved.

Implemented in https://github.com/aol/cyclops-react/pull/141


Create a simple documentation generated with FORD.

A FORD configuration file, along with some example pages, has been included in commit 059521c72e82c1bba0f8b3cecfc0a287c9bbec57.


migrate to enriched rust-toolchain.toml

With the update rust-compiler in the new docker image (#477), we can use the enriched rust-toolchain.toml format for more easy setup of the rust environment.
With this change, we automatically install the matching wasm toolchain when running cargo cmds.

Converted to draft. Blocking Issue:

#483


Always Invalid Token

          Hi, i'm always getting

I resetted the token. Edited the config.js

Still getting wrong token message
Maybe you know whats wrong
Originally posted by @C0nvert in https://github.com/InterfaceGUI/Discord-TempVoice-Bot/issues/2#issuecomment-1872281912

inserted it in under const config directly and it worked


Android Notifications fail if other channels are already setup

Expected Behaviour
The plug-in should allow for other plug-ins already having channels.  It should create a new channel if it doesn't yet have one.
Actual Behaviour
It only checks to see if any channels exist, not our channel explicitly.  This causes us not to create a channel and the notifications not to display.
Reproduce Scenario (including but not limited to)
You will need another plug-in that is using notification channels.  If this plug-in initializes first then we will fail to create our channel in createDefaultNotificationChannelIfNeeded as we only check to see if the size is 0.
Steps to Reproduce
See above.
Platform and Version (eg. Android 5.0 or iOS 9.2.1)
Occured in Android 8.0
(Android) What device vendor (e.g. Samsung, HTC, Sony...)
OnePlus 5
Cordova CLI version and cordova platform version
cordova --version                                    8.0.0
cordova platform version android                     6.4.0

Plugin version
cordova plugin version | grep phonegap-plugin-push   2.1.3

@dpeacock this will be included in the next release.


Column filter to display options based on object property

So I am trying to get the filter dialog option to work for one of my columns. Right now, my data looks like this:
[
    { id: 1, name: "Test Name 1", description: "Test Description",  access: { type: "View", id: 1},
    { id: 2, name: "Test Name 2", description: "Test Description",  access: { type: "Request", id: 2}
]

The question comes from the access column. In my columns array, this is what the object looks like:
{
        name: "access",
        label: "Access",
        options: {
            filter: true,
            sort: true,
            empty: true,
            customBodyRender: (value) => (
                <AccessButton type={value.type} id={value.id} />
            ),
        },
    }

So because it is reading in the access property in the object, the filter doesn't work and it just shows [object Object]. I want the filter to show whatever is under type. However in my access object, I need both properties and can't just use access.type for name. How do I set it up if possible so that I can do just that?
Expected Behavior
When clicking on the filter button, the Access column should display all the options under access.type
Current Behavior
It displays only [object Object]
Your Environment

Tech
Version

Material-UI
4.11.3

MUI-datatables
3.7.6

React
17.0.1

browser
chrome

etc

This is solved by using the tableMeta parameter from the customBodyRender, where we can access the data of the whole row.

@sitjohnny could please paste some working example of how did you solve filtering problem with tableMeta parameter? I am quite struggling with it and no matter what I try the result is always [object Object] which is quite frustrating.

@eriksabol @sitjohnny how you solved it? please


firestore-admin: runAsyncTransaction() throwing exception never stops retrying

OS: Linux
openjdk version 11.0.11
firebase-admin:7.3.0
google-cloud-firestore:2.5.0
A transaction with the local emulator that always throws an exception is constantly retried and never times out:
var options = FirestoreOptions
  .getDefaultInstance()
  .toBuilder()
  .setProjectId(Config.GOOGLE_CLOUD_PROJECT)
  .setEmulatorHost("localhost:9000")
  .setCredentials(new FirestoreOptions.EmulatorCredentials());
var firestore = options.build().getService();

firestore
  .runAsyncTransaction(
    tx -> {
      log.info("Hello world");
      throw new RuntimeException("Fail");
      // return ApiFutures.immediateFuture("OK");
    }
  )
  .get();

If I replace the throw statement with return, the invocation finishes successfully.
I also tried adding the following, and it didn't work:
options.setRetrySettings(
  RetrySettings
    .newBuilder()
    .setMaxAttempts(1)
    .setTotalTimeout(Duration.ofSeconds(2))
    .setInitialRpcTimeout(Duration.ofSeconds(2))
    .setMaxRpcTimeout(Duration.ofSeconds(2))
    .build()
)

I expected the following:

Transaction retries to expire after 60 seconds
With the second example, the transaction to stop retrying after one failed attempt or 2 seconds passed.

Did I miss something?

@icoloma Thanks for catching this issue with a repro! I was able to repro this without using the emulator, and I'll look into getting a fix out soon.


Background image suggestion

The application will include many backgrounds and switch between them at random based on weather.
Here you can suggest background images for the weather. The images will be blurred to reduce runtime cost of blurring and better storage compression.
Format
Comment in the following format:
[Image Link]
Weather: Rain, Snow, Fog, Clear (mouse parallax depth effect.)

Do not upload any images here directly!😅
Sources for image
Image has to have compatible license with attribution being the only requirement, use the following places to find image:
https://www.pexels.com
https://make.wordpress.org/themes/handbook/review/resources/#recommended-websites-for-images
Additional context
Users can select any image file in the screensaver/playground mode but this is not true for the rest of the app (for now.)

Related to live Windows wallpaper? That would be really neat!

Any chance the current app background could be extended as windows live wallpaper? That would be very neat!


Spotify tracks unable to load (Lavalink V2)

Hi there, I seem to be having an issue with loading spotify songs through erela.js, i've actually used a plugin called better-erela.js-spotify for handling the UnresolvedTrack problem the original erela.js had but now it seems like that it doesn't add the song into the queue.
The error that i get whenever i try to load a song is this:

I really have no idea what to do to fix this and this affects both the chat command and slash command that were made for playing the music

Use Lavalink V3 with included spotify filters,the problem you are facing is from your erela.js-plugin side.


[New WTFBin]: McAfee antivirus

Contributor Name: pspacek
Application/Executable: McAfee antivirus
WTF Behavior Description: Various McAfee performs odd DNS lookups to subdomains of avqs.mcafee.com and avts.mcafee.com domains.
Link to Documentation of Behavior:
https://arxiv.org/pdf/2109.11342.pdf

Added in 70c75400f270526887575cc2c0398efbbe6f991c


Awesome books

Awesome books: plain JavaScript with objects

The goal of this project is to build a basic website that allows users to add/remove books from a list.
You will achieve that by using JavaScript objects and arrays.
You will also need to dynamically modify the DOM and add basic events.

Project Requirement

Create a collection that keeps a list of books (hint: you can use an array of objects for that).

Create a function to add a new book to the collection, with title and author.

Create a function to remove a book from the collection

Display all books saved in the collection in the top part of the page.

Make sure that when a user clicks the "Add" button:

A new book is added to the collection.

The new book is displayed on the page.

Make sure that when a user clicks the "Remove" button:

The correct book is removed from the collection.

The correct book disappears from the page.

Make sure that data is preserved in the browser's memory by using

Below is a screenshot of the project

@zainsadaqat Thanks for the feedback.
Please kindly cross check in your browser again the remove book feature is working


Version 1.19.0 Help, Bugs & Q&A

Trying out v1.19.0? Found a bug? Need some help migrating your code? Ask away here.

Think some of the micropython examples for PicoDisplay need updating (renaming the st7789 import to picodisplay). Happy to help with this.

Hi, I have just tested v1.19.0 on a 16Mb Pimoroni Lipo Pico with a pico display 2 and the rotate function does not work.
I have tried the text, line , box and circle functions and they work well.  I don't like the pen color assignment process but what can you do.
Also, there is a spelling error in the text explaining how rotations works. The word rotate is missing a "t"
I look forward to the buttons working and some code to help out with that.
I like v1.19.0 because the earlier PROD release had problems using the Stemma QT connector and I2C

Hi,
The rotate worked - many thanks - but it does not like the bus=spibus declaration - not sure why. I used "from picographics import *" Am I doing something wrong?
Also I would like to see some code with the LED and buttons working.  Thanks again !!!

I should have cleaned up what I posted. You don't need the bus=spibus stuff for a single display setup. You can likely leave out the pen_type code too.
display = PicoGraphics(display=DISPLAY_PICO_DISPLAY_2, rotate=270)

I just went back to the page with the examples and realised that the code there is wrong.
The example states ... display = PicoGraphics(display=PICO_DISPLAY, roation=90)
besides the spelling mistake it uses "rotation" instead of "rotate"
If someone can fix it it will save some frustration...
Thank you !!!

What I left out that was needed for a dual SPI display setup is
import pimoroni_bus
from pimoroni_bus import SPIBus
import picographics
from picographics import PicoGraphics, DISPLAY_PICO_DISPLAY_2, PEN_RGB332
spibus = SPIBus(cs=17, dc=16, sck=18, mosi=19, bl=20)
spibus2 = SPIBus(cs=22, dc=16, sck=18, mosi=19, bl=21 )
display = PicoGraphics(display=DISPLAY_PICO_DISPLAY_2, rotate=270, bus=spibus, pen_type=PEN_RGB332)
display2 = PicoGraphics(display=DISPLAY_PICO_DISPLAY_2, rotate= 270, bus=spibus2, pen_type=PEN_RGB332)

There is a contact Pimoroni support link on the shop page. Thats the quickest way to get it fixed.
https://shop.pimoroni.com/pages/contact-us

In 1.19 I'm having to select the port manually. "try to detect port automatically" doesn't seem to work? This is with a stock Pico, Pico Lipo and Tiny. Latest Thonny running on a Windows 10 PC.
Once I set the port Thonny reports the board that's connected Ok.

ulab does not seem to be included in pimoroni-pico-v1.19.0-micropython.uf2.
Was that forgotton or not meant to be included in this firmware version?
Thanks!

New Pico Library, Rotate, Hershey font are totally awesome, many tanks!! Regarding JPEG, would it be possible to tell me how to upload JPEG files to Pico??

ulab does not seem to be included in pimoroni-pico-v1.19.0-micropython.uf2. Was that forgotton or not meant to be included in this firmware version? Thanks!

ulab had to be removed, since we were butting up against the 640Kb firmware size limit for the 2MB Pico. That can- in theory- be adjusted, but not without trashing users' filesystems. It's still available in 4MB, 8MB and 16MB builds all of which allocate 1MB to firmware.
It may return in an alternate build.

ulab had to be removed, since we were butting up against the 640Kb firmware size limit for the 2MB Pico. That can- in theory- be adjusted, but not without trashing users' filesystems. It's still available in 4MB, 8MB and 16MB builds all of which allocate 1MB to firmware.
It may return in an alternate build.

I see. Still, I think ulab is interesting for the servo2040 board, where one may want to run complicated movement calculations

I see. Still, I think ulab is interesting for the servo2040 board, where one may want to run complicated movement calculations

@teuler agreed- there's currently no custom build for Servo 2040 so when I get some time I'll rig one up with ulab included and more flash allocated to MicroPython itself. The same probably applies to Motor 2040. Just need some very loud "back up your files" warnings to go with those.

Running two SPI display's doesn't seem to work in C++.
ST7789 st7789_2( SCREEN_WIDTH, SCREEN_HEIGHT, ROTATE_0,  false, get_spi_pins(BG_SPI_BACK));
ST7789 st7789_1( SCREEN_WIDTH, SCREEN_HEIGHT, ROTATE_0,  false, get_spi_pins(BG_SPI_FRONT));
Individually no issue in either front or back, but when you have two which ever is created second appears to work, but the first doesn't work.

is there support for the pico scroll? just uploaded the latest version and the module does not seem to be included..

Are there any other people having issues with the Pimoroni brand Micropython using a MacMini. I have the latest stable Thonny installed on macOS 12.4.
Using the official Raspberry Pi Micropython, there are no issues. The Pico W shows up as /dev/tty.usbmodem101. When I flashed the Pimoroni brand Micropython version 1.19.1 or 1.19.2, the Pico W doesn't show up anymore as serial device and is not accessible from Thonny. In the kernel log (dmesg) I found the following error message:
[  843.308332]:<PHONE_NUMBER>27 usb-drd0-port-hs@00100000: AppleUSBHostPort::createDevice: failed to create device (0xe00002bc)
[  844.437193]:<PHONE_NUMBER>91 IOUSBHostDevice@00100000: IOUSBHostDevice::start_block_invoke: device descriptor fragment is invalid
[  844.438101]:<PHONE_NUMBER>00 IOUSBHostFamily::validateEndpointMaxPacketSize: USB 2.0 5.[5-8].3: endpoint 0x00 invalid wMaxPacketSize 0x0000
[  844.438271]:<PHONE_NUMBER>69 usb-drd0-port-hs@00100000: AppleUSBHostPort::enumerateDeviceComplete_block_invoke: enumeration failed
[  844.438289]:<PHONE_NUMBER>88 usb-drd0-port-hs@00100000: AppleUSBHostPort::terminateDevice: destroying 0x0000/0000/0000 (IOUSBHostDevice): enumeration failure
[  844.438335]:<PHONE_NUMBER>34 IOUSBHostDevice@00100000: IOUSBHostDevice::start_block_invoke: device will not be registered for matching
[  844.714525]: arm64e_plugin_host: running binary "sudo" in keys-off mode due to entitlement: com.apple.private.security.clear-library-validatio

On a Windows 10 laptop at work, I encounter no problem at all.

@SebasZH do you see these same issues with the official Pico Wireless build, without our baked in libraries?
You can grab it here - https://micropython.org/download/rp2-pico-w/rp2-pico-w-latest.uf2

Are there any other people having issues with the Pimoroni brand Micropython using a MacMini with M1 SoC. I have the latest stable Thonny installed on macOS 12.4.
Using the official Raspberry Pi Micropython, there are no issues. The Pico W shows up as /dev/tty.usbmodem101. When I flashed the Pimoroni brand Micropython, either version 1.19.1 or 1.19.2, the Pico W doesn't show up anymore as serial device and is not accessible from Thonny. In the kernel log (dmesg) I found the following error message:
[  843.308332]:<PHONE_NUMBER>27 usb-drd0-port-hs@00100000: AppleUSBHostPort::createDevice: failed to create device (0xe00002bc)
[  844.437193]:<PHONE_NUMBER>91 IOUSBHostDevice@00100000: IOUSBHostDevice::start_block_invoke: device descriptor fragment is invalid
[  844.438101]:<PHONE_NUMBER>00 IOUSBHostFamily::validateEndpointMaxPacketSize: USB 2.0 5.[5-8].3: endpoint 0x00 invalid wMaxPacketSize 0x0000
[  844.438271]:<PHONE_NUMBER>69 usb-drd0-port-hs@00100000: AppleUSBHostPort::enumerateDeviceComplete_block_invoke: enumeration failed
[  844.438289]:<PHONE_NUMBER>88 usb-drd0-port-hs@00100000: AppleUSBHostPort::terminateDevice: destroying 0x0000/0000/0000 (IOUSBHostDevice): enumeration failure
[  844.438335]:<PHONE_NUMBER>34 IOUSBHostDevice@00100000: IOUSBHostDevice::start_block_invoke: device will not be registered for matching
[  844.714525]: arm64e_plugin_host: running binary "sudo" in keys-off mode due to entitlement: com.apple.private.security.clear-library-validatio

On a Windows 10 laptop at work, using the same USB cable, I encounter no problem at all.

I am having exactly the same issue on my Macbook Air M1

https://micropython.org/download/rp2-pico-w/rp2-pico-w-latest.uf2

Hi Phil,
After flashing rp2-pico-w-20220712-unstable-v1.19.1-127-g74794d42b.uf2, at first, I got the same error as with the Pimoroni branded Micropython. After some attempts to unplug en reconnect the PicoW, I got only once the expected two serial devices listed: /dev/cu.usbmodem101 and /dev/tty.usbmodem101. Dmesg shows the following information on successful connection:
[336369.236620]:<PHONE_NUMBER>07 usb-drd0-port-hs@00100000: AppleUSBHostPort::terminateDevice: destroying 0x2e8a/0005/0100 (Board in FS mode): connect change interrupt
[336373.837770]:<PHONE_NUMBER>65 usb-drd0-port-hs@00100000: AppleUSBHostPort::enumerateDeviceComplete_block_invoke: enumerated 0x2e8a/0005/0100 (Board in FS mode) at 12 Mbps
[336373.886917]: DK: AppleUserECMData-0x1000047f4::start(IOUSBHostInterface-0x1000047f1) fail

Weirdly enough, the Inventor2040W preloaded with the RGB LED demo was recognised every time I connected it to my Mac. After installing rp2-pico-w-20220712-unstable-v1.19.1-127-g74794d42b.uf2 on the inventor2040w, it is still recognised every time I plug it in (but the demo didn't work of course). Is there something in the main.py preventing it from being recognised correctly on the Mac? I changed the main.py into print("hello world") using a Windows 10 laptop and the Pimoroni branded Micropython now works again on the Mac.
The following webserver demo code was in the main.py file causing trouble on Mac (device descriptor fragment is invalid), but not on Windows 10:
# https://gist.github.com/aallan/3d45a062f26bc425b22a17ec9c81e3b6

import network
import socket
import time

from machine import Pin
import uasyncio as asyncio

led = Pin(15, Pin.OUT)
onboard = Pin("LED", Pin.OUT, value=0)

ssid = 'replace'
password = 'replace'

html = """<!DOCTYPE html>

     <title>Pico W</title>

Pico W

%s

"""

wlan = network.WLAN(network.STA_IF)

def connect_to_network():
    wlan.active(True)
    wlan.config(pm = 0xa11140)  # Disable power-save mode
    wlan.connect(ssid, password)

    max_wait = 10
    while max_wait > 0:
        if wlan.status() < 0 or wlan.status() >= 3:
            break
        max_wait -= 1
        print('waiting for connection...')
        time.sleep(1)

    if wlan.status() != 3:
        raise RuntimeError('network connection failed')
    else:
        print('connected')
        status = wlan.ifconfig()
        print('ip = ' + status[0])

async def serve_client(reader, writer):
    print("Client connected")
    request_line = await reader.readline()
    print("Request:", request_line)
    # We are not interested in HTTP request headers, skip them
    while await reader.readline() != b"\r\n":
        pass

    request = str(request_line)
    led_on = request.find('/light/on')
    led_off = request.find('/light/off')
    print( 'led on = ' + str(led_on))
    print( 'led off = ' + str(led_off))

    stateis = ""
    if led_on == 6:
        print("led on")
        led.value(1)
        stateis = "LED is ON"

    if led_off == 6:
        print("led off")
        led.value(0)
        stateis = "LED is OFF"

    response = html % stateis
    writer.write('HTTP/1.0 200 OK\r\nContent-type: text/html\r\n\r\n')
    writer.write(response)

    await writer.drain()
    await writer.wait_closed()
    print("Client disconnected")

async def main():
    print('Connecting to Network...')
    connect_to_network()

    print('Setting up webserver...')
    asyncio.create_task(asyncio.start_server(serve_client, "<IP_ADDRESS>", 80))
    while True:
        print("heartbeat")

        onboard.on()
        await asyncio.sleep(0.1)
        onboard.off()
        await asyncio.sleep(0.2)
        onboard.on()
        await asyncio.sleep(0.1)
        onboard.off()
        await asyncio.sleep(5)

try:
    asyncio.run(main())
finally:
    asyncio.new_event_loop()

I can recreate this issue (M1 Macbook Air) with a very simple script:
import time
from machine import Pin

onboard = Pin("LED", Pin.OUT, value=0)

for i in range(0, 40000):
  onboard.on()
  time.sleep(0.025)
  onboard.off()
  time.sleep(0.025)```

If that is saved as `main.py` then when the Pico starts up it will run for perhaps 20-30 iterations of the loop and then lock up hard every single time. This occurs both with the official MicroPython build (currently `rp2-pico-w-20220712-unstable-v1.19.1-127-g74794d42b.uf2`) and also our build (`pimoroni-picow-v1.19.2-micropython.uf2`).

Weirdly if I remotely execute the script using the `mpremote` tool then it runs flawlessly every time. @Gadgetoid sees similar issues from Linux but he reckons it isn't so consistently failing there.

I'm pretty sure something is causing the USB stack to fall over on the Pico W which is then causing it to hang.

I've reported the issue here: https://github.com/micropython/micropython/issues/8904

@SebasZH the fix has made it into MicroPython upstream so I'm prepping a release. Does this build work for you? - https://github.com/pimoroni/pimoroni-pico/suites/7510762818/artifacts/308952836

@Gadgetoid I am sorry to tell you that the firmware version you mentioned above and also the Pimoroni branded Micropython 1.19.5 for PicoW, doesn't work. Same issue and error message as before on MacOS.
However, the firmware mentioned here does work. (MicroPython v1.19.1-170-g16726c750-dirty on 2022-07-18; Raspberry Pi Pico W with RP2040)

Addition:
@Gadgetoid The sample code provided by @lowfatcode does work on MacOS with the Pimoroni branded Micorpython 1.19.5, however that code doesn't use networking/WiFi. My code which creates a webserver still locks up the rp2040 with both the firmware provided by MicroPython as well as the Pimoroni branded version. Did also mention in https://github.com/micropython/micropython/issues/8904 .

@SebasZH looks like upstream sniffed out the problem and found a fix, which I've bumped us to pending a PR merge. Test build here:- https://github.com/pimoroni/pimoroni-pico/suites/7539789418/artifacts/310923513

@Gadgetoid Yes, this new build works on MacOS with both the simple script and the webserver example. Thanks!

I see. Still, I think ulab is interesting for the servo2040 board, where one may want to run complicated movement calculations

@teuler agreed- there's currently no custom build for Servo 2040 so when I get some time I'll rig one up with ulab included and more flash allocated to MicroPython itself. The same probably applies to Motor 2040. Just need some very loud "back up your files" warnings to go with those.

Any chance of a Galactic Unicorn build with ulab? Or any pointers as to how I could do this if it's possible? :D


Add CASM recipe

Towards #17

[ ] Add full metadata

This is again taking forever at the rechunk step. Ill abort the current run and submit with only the first/last half of years for debugging.

First half (2002-2012) went through in 18 min. Now trying (2012-...)

2012-2020 worked nicely. trying to extend the start back now.

YES! It successfully ran and the (for now) final location is:
import xarray as xr
ds = xr.open_dataset('gs://leap-persistent/data-library/casm-595733423-4997696883-1/CASM.zarr', engine='zarr', chunks={})
ds


Develop test suite for ParentClass

Not all the edge cases handled in ParentNode class

Completed with commit - 4004d3863ff3b1adc6b01c60649d7945d45875ca

Completed with commit - 4004d3863ff3b1adc6b01c60649d7945d45875ca


[HUDI-7403] Support Filter/Transformer to Hudi Exporter Utility

Change Logs
Added options to HoodieSnapshotExporter.Config to use and configure subclasses of org.apache.hudi.utilities.transform.Transformer (SqlQueryBasedTransformer, SqlFileBasedTransformer, FlatteningTransformer and AWSDmsTransformer) with HoodieSnapshotExporter.
For now this is only implemented for non-hudi export. Is it really necessary to do the same functionality for hudi export?
Issue https://github.com/apache/hudi/issues/10644 is only about non-hudi. Also, doing hudi-export with transform/filter is complicated: current export to hudi is implemented via copying whole base files and .commit files (FileUtil.copy()), but not spark Datasets.
Impact
Incorporated a filtering/transforming mechanism into the Hudi exporter.
Risk level (write none, low medium or high below)
none
Documentation Update
It needs to add new configuration options to HoodieSnapshotExporter documentation: --transformer-class, --transformer-sql and --transformer-sql-file.

The config description must be updated if new configs are added or the default value of the configs are changed
Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the
ticket number here and follow the instruction to make
changes to the website.

Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

wow fantastic

Hey @danny0405  im seeing error while using it https://github.com/apache/hudi/issues/10644

Test verified and works as expected thank you everyone
https://github.com/apache/hudi/issues/10644#event-13663036439


Arrays in Method Signature are differently encoded

If an argument to a method is an array, the following syntax is used: [byte. But if the return type is an array, this different syntax is used: B[], so it is only the type identifier for native types and the classname for object types. But also the array identifier is at the end and not in the beginning (and there is the closing bracket).

Thanks for the hint. The problem is that different tools might use different notations. JVM uses the Lfoo/bar notation, which is equivalent to foo.bar .
Similarly, arrays can either be denoted via [I / [[I (JVM) or int[] / int[][] . Our analysis is built on the WALA framework that uses a weird mix of notations. The permission lists are exported in a normalized, readable manner. It seems that the return value is not correctly normalized when being an array type. I'll have a look at this soon.


about CVE-2022-40982

I have found the CVE-2022-40982, it's called  Intel GDS/DOWNFALL, AMD INCEPTION.
linux kernel have merged some patch to mitigate this hardware vulnerability. Is there openssl have any plan to do some patches?
reference:
https://nvd.nist.gov/vuln/detail/CVE-2022-40982
https://downfall.page/
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=64094e7e3118aff4b0be8ff713c242303e139834

Hello,
We have a page explaining the implications of Downfall and Inception here.
https://www.openssl.org/blog/blog/2023/08/15/downfall/
This is not a bug in OpenSSL, nor is it something we could mitigate. The mitigation needs to be applied to your system, not a single application or library such as OpenSSL. If you apply the mitigation advice given on the above page, you will be protected against these vulnerabilities, including when using OpenSSL.


Add Lint

[x] eslint init
[x] checkin package-lock.json  https://docs.npmjs.com/configuring-npm/package-lock-json.html

This file is intended to be committed into source repositories, and serves various purposes...

Thanks @cesine! I've been meaning to give this library a refresh, so I'll hold off on applying your PRs (this and #59) until I have an idea of what I want to do next. If I don't have a plan in a reasonable amount of time, I'll merge them and cut a release.

This is done! I've published an alpha tag of this library rewritten via Typescript. Please do check it out and let me know if there is anything I can or should change before I cut a proper release. Thanks again.

@ericnorris the new version fixed the errors we were having on safari, i dont see any new  issues 👍