Add support for eth_getAccount

Describe the feature
ref https://www.quicknode.com/docs/ethereum/eth_getAccount
TODO

add endpoint to trait, like https://github.com/paradigmxyz/reth/blob/390f30aadebcdd509e72cc04327c3b854de076a6/crates/rpc/rpc-eth-api/src/core.rs#L55-L58
implement it like https://github.com/paradigmxyz/reth/blob/390f30aadebcdd509e72cc04327c3b854de076a6/crates/rpc/rpc-eth-api/src/core.rs#L372-L376

the latter likely needs more work, so this can be two prs where the first just introduces the trait function and when figure out how to get the account's storage root cc @rkrasiuk
Additional context
No response

:shipit:

@mattsse, already exists a type for this?

   graph TD
    A[Get Account]
    B[codeHash]
    C[storageRoot]
    D[balance]
    E[nonce]

    A --> B
    A --> C
    A --> D
    A --> E

As was done here, this can be a starting point to address this the second question of this issue.

@rkrasiuk I assume getting the storageroot at any block number isn't that easy, same issue as eth_getProof?

@mattsse actually, it's much easier since you only need to load storage changes for a given account

could you please add some pointers on where to start, I see we have an AccountReader trait

we would need to expose the interface in HashedStorage similar to HashedPostState::from_revert_range that only loads storage changes for a single account. then we would be able to initialize storage root with in-memory hashed state
e.g.
let address = ();
let hashed_address = keccack256(address);
let hashed_storage = HashedStorage::from_revert_range(address, &tx, block_range)?;
let hahed_storage_sorted = hashed_storage.into_sorted();
let root = StorageRoot::new_hashed(
    &tx,
    HashedPostStateStorageCursor::new(
        DatabaseHashedStorageCursor::new(
            tx.cursor_dup_read::<tables::HashedStorages>()?,
            hashed_address,
        ),
        Some(&hashed_storage_sorted)
    ),
    hashed_address,
).root()?

@rkrasiuk, in the part of balance, could we use the getBalance? (Already it's created)

Waiting by #9643

@mvares you can just retrieve account information from HistoricalStateProvider through state_at_block_* fns

@mvares you can just retrieve account information from HistoricalStateProvider through state_at_block_* fns

Wouldn't it be better to use the balance method from EthApiServer?

hey @mvares are you still working on this? otherwise I'm down to give it a go

@greged93 go for it

This should be fixed by https://github.com/paradigmxyz/reth/pull/10369


Dahua camera

I have a dahua camera, the rtsp ends with "/cam/realmonitor?channel=1&subtype=1" and does not work.
LOG:
New pad found: recv_rtp_src_0_2832907471_96
[INFO ] [08-06-2023 17:00:25:828.586 GMT] Pad link successful
[INFO ] [08-06-2023 17:00:25:849.136 GMT] kinesisVideoStreamFormatChanged(): Stream format changed.
[INFO ] [08-06-2023 17:00:25:879.776 GMT] putStreamResultEvent(): Put stream result event. New upload handle 0
[DEBUG] [08-06-2023 17:00:26:576.567 GMT] postReadCallback(): Pausing CURL read for upload handle: 0
[INFO ] [08-06-2023 17:00:26:576.708 GMT] writeHeaderCallback(): RequestId: dc4eeaff-97a9-87hh-80b2-e1965847159b
[WARN ] [08-06-2023 17:00:55:917.097 GMT] curlCompleteSync(): curl perform failed for url https://s-444441da.kinesisvideo.us-east-1.amazonaws.com/putMedia with result Timeout was reached: Operation too slow. Less than 30 bytes/sec transferred the last 30 seconds
[WARN ] [08-06-2023 17:00:55:917.405 GMT] curlCompleteSync(): HTTP Error 0 : Response: (null)
Request URL: https://s-468461da.kinesisvideo.us-east-1.amazonaws.com/putMedia
Request Headers:
Authorization: AWS4-HMAC-SHA256 Credential=ASIA000093SWE2NXVS/20230608/us-east-1/kinesisvideo/aws4_request, SignedHeaders=connection;host;transfer-encoding;user-agent;x-amz-date;x-amzn-fragment-acknowledgment-required;x-amzn-fragment-timecode-type;x-amzn-producer-start-timestamp;x-amzn-stream-name, Signature=baf13d666uuuuuuuucf650eb8749b16d2e4c1d617
[DEBUG] [08-06-2023 17:00:55:917.443 GMT] putStreamCurlHandler(): Network thread for Kinesis Video stream: CAMERA-01 with upload handle: 0 exited. http status: 0
[WARN ] [08-06-2023 17:00:55:917.558 GMT] putStreamCurlHandler(): Stream with streamHandle<PHONE_NUMBER>7856 uploadHandle 0 has exited without triggering end-of-stream. Service call result: 599
[INFO ] [08-06-2023 17:00:55:917.593 GMT] kinesisVideoStreamTerminated(): Stream 0x55a5ed722df0 terminated upload handle 0 with service call result 599.
[DEBUG] [08-06-2023 17:00:55:917.617 GMT] defaultStreamStateTransitionHook(): Stream state machine retry count: 0
[DEBUG] [08-06-2023 17:00:55:917.636 GMT] defaultStreamStateTransitionHook():
KinesisVideoStream base result is [599]. Executing KVS retry handler of retry strategy type [1]
[DEBUG] [08-06-2023 17:00:55:972.137 GMT] defaultStreamStateTransitionHook(): Stream state machine retry count: 1
[DEBUG] [08-06-2023 17:00:55:972.299 GMT] defaultStreamStateTransitionHook():
KinesisVideoStream base result is [599]. Executing KVS retry handler of retry strategy type [1]
[DEBUG] [08-06-2023 17:00:55:972.442 GMT] streamReadyHandler invoked
NOTE: I tried with another camara different to Dahua and all works correctly, so the configuration is correct. To resolve the special character "&", the command is  ./kvs_gstreamer_sample CAMERA-NAME "rtsp://user:pass@IP:PORT/cam/realmonitor?channel=1&subtype=1".Would you know what is the error?

@esalasamaya , if a camera other than the non-working worked, then the issue is probably with the frames coming out of this specific URL. Would suggest trying out this camera with a filesink/fakesink/autovideosink to ensure the RTSP URL works in a gstreamer pipeline before trying out the sample.


Enable cert_expiry config entries

Description:
This enables config entries for the cert_expiry component
Pull request with documentation for home-assistant.io (if applicable): home-assistant/home-assistant.io#10241
Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.
[x] I have followed the development checklist

If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[x] The manifest file has all fields filled out correctly. Update and include derived files by running python3 -m script.hassfest.
[x] Untested files have been added to .coveragerc.

If the code does not interact with devices:

[x] Tests have been added to verify that the new code works.

are we still missing something in this PR?
it has been here for 25 days now and nothing happend with it

There's a long queue of open PRs and only a few reviewers. Bigger PRs are also harder to find time for. Config entry PRs are inherently quite big.

Can be merged when build passes.


Fixes #52 - Falsely matching video-id if channel-id ends in "shorts"

Fixes #52
As described in the issue, the plugin tries to match a video-id if a channel-id ends in "shorts".
This then led to an incorrect redirect.
This is fixed by constraining the regular expression to only produce matches if the matched suffix is 11 digits long.
Refer to this SO-post for a reference for the value 11.
Tested cases:

https://www.youtube.com/shorts/$video_id
--> Passes
https://youtu.be/$video_id
--> Passes
https://www.youtube.com/$channel_id + "shorts"/videos
--> Passes

Wow!
I didn't notice that at all.
Thank you for your contribution!👍
I'll release it right away in v1.5.3.


Error appears while opening Indexes for Schema

System information:

Operating system (distribution) and version win10
DBeaver version 7.1.3

Connection specification:

Database name and version Sybase

Describe the problem you're observing:
Error appears while opening Indexes tab for Schema

Fixed.
Schema-level index read not supported by Sybase driver (driver throws error). So we get indexes from schema tables.

verified


Suggestion for using 10.dip or 10.dp

fun dipToPx(dp: Int): Int {
return dp * Resources.getSystem().getDisplayMetrics().density.toInt()
}
val Int.px: Int
get(){
return this
}
val Int.dp: Int
get(){
return dipToPx(this);
}
val Int.dip: Int
get(){
return dipToPx(this)
}

also add the same behavior for sp, px etc
val Int.dp:Int
get(){
return dip(this)
}
verticalLayout(){
padding = 15.dp
....
}
I think this code read much better

According to Resources,

Return a global shared Resources object that provides access to only system resources (no application resources), and is not configured for the current screen (can not use dimension units, does not change based on orientation, etc).


fix: revert name change and fix url param

:tada: This PR is included in version 3.4.25 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Don't show namespace filter on the namespace page

On the individual namespace pages, the filter should not be shown, as all results that appear on the that page will be for on namespace.
Added a boolean property, showNamespaceFilter, to MetricsTable that allows you to define if the filter should be shown.
Tested that the filter is not shown on namespace pages.
Fixes #972
Signed-off-by: Kim Christensen<EMAIL_ADDRESS>

Thanks for submitting this, @kichristensen!


[Bug]: Order of columns changes and hidden property is assigned to different column than previously selected

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
So I have a table who's columns might change and when they do,
it messes up the order and the visibility of the columns in my published app.
To remedy this I filter each row and filter out the columns I'm not interested in
before passing it to the table.
The problem is that because javascript doesn't have ordered dictionaries,
the logic that appsmith uses seems to depend on the order always being the same
instead of using the property name it seems to rally on the order almost as if it was
processing the data as if it was in an array. This seems to result on the order and
visibility of the columns changing each time the app is edited and thus affects each new deployment.
I'm aware of this issue but it is distinctly different because the error only happens when editing the app
https://github.com/appsmithorg/appsmith/issues/9635
Steps To Reproduce

filter out columns from {{query.data }} helps if data has many columns

something like
{{ query.data.map( ({wanted_columns, ...unwanted_columns})=> {
      return Object.assign({},  { wanted_columns,})
}) }}

publish app
edit app, changing order and column visibility
publish again
order and visible columns will change

Environment
Release
Version
Self-Hosted

I'm having this problem as well.
In my case, I have the table connected to a MongoDB collection via a Query.
As the documents in this collection have different properies, applying a filter to the query results in an array of objects with potentially different properties.
Each time the properties in the result array change, the columns in the table fall out of order and the visibility gets scrambled as well.

@japrogramer @isaacrj Thank you for reporting this issue. We've reproduced this bug. It used to work before but a recent change seems to have introduced a regression.

@Tooluloope can you triage this issue? Looks like it used to happen before.
CC @sbalaji1192 for tracking this in table v2.

@vivekverma2312 @YogeshJayaseelan Could you help reproducing this issue?

@Tooluloope I observed some issue around visibility on changing the order of column on table widget.
https://watch.screencastify.com/v/73XxoRR6OqXu4KStwaPT

@japrogramer @isaacrj can you both review the above comment and let us know if you are facing the same issue. If not, please provide us with a screen-recording of the issue

@dilippitchika I can confirm that this is definitely a part of the issue: the visibility of a column is tied to its position. It is not limited to visibility: it happens with any other column properties, at least when the change occurs due to a change in the property order of the documents retrieved from a data source.

@dilippitchika this happens in both edit & deploy mode.
https://www.loom.com/share/44d7972449174a41a7df901645434327

Thanks, @isaacrj @vivekverma2312

@pranavkanade thanks for the video, really clear now

Stats

Stats
Value

Reach
2209

Effort
0.5


Enhancement for Credential Request Page

Description
This ticket is created to address the enhancement of the credential request page on the Catena-X portal. The goal is to support loading and API errors for a better user experience.
Details

Page URL: https://portal.{env}.demo.catena-x.net/usecase-participation
Current Behavior: The credential request page does not handle loading and API errors gracefully.
Desired Behavior: Enhance the page to display loading indicators (page and elements) and provide error messages when API calls fail.

Tasks

Implement loading indicators to provide visual feedback to the user while waiting for API responses. (GET and POST calls)
Handle API errors and display appropriate error messages to the user.
Test the enhanced page to ensure smooth loading and error handling.
Deploy the changes to the production environment.

@jjeroch All API's (Download document, approve/decline, Revoke) in this page handling errors and giving error notification if there is any error from API response.
For fetching credentials in /issuer call, if there is any error then its handling in the table itself.

Does it fine to you ?


Block backward incompatible schema change

Description
Currently when uploading a backward incompatible schema, we only log a warning instead of blocking the schema update.
This PR changes the behavior to blocking the backward incompatible schema change and provide an option to force update the schema if necessary (e.g. empty table).
Release Notes
Backward incompatible schema change through controller rest API PUT /schemas/{schemaName} will be blocked by default. Users can set the force boolean field to true to force the update.

@siddharthteotia @mcvsubbu I can remove the force update flag. Then in order to make schema incompatible change, user has to drop and recreate the table. wdyt?

@siddharthteotia @mcvsubbu I can remove the force update flag. Then in order to make schema incompatible change, user has to drop and recreate the table. wdyt?

That is totally fine I think. The way I look at this is as follows:
If we have a production deployment, it is good  in multiple respects to NOT have backward incompatible changes. New columns can be added, and old columns just set to default value in future segments. In a columnar database, the only extra resource consumed is metadata for the column.
If this is a non-production env (experimental) it should be ok to drop the data and recreate the table. Maybe we can provide some recipes for saving off existing segments and recreating the segments for the new table. The main problem that users may have is if they drop the table and recreate it the same instant (before the old table goes away). We could (should) add a check in table creation logic that there is no EXTERNALVIEW for a new table being created. If there is, fail the table with a good error message to ask the user to try later.
Bottom line: Good to drop the table in either case.

@siddharthteotia @mcvsubbu Removed the force flag as suggested. Please take another look


PubSub DevServices not working against release version

The emulator container dev service is not starting for me with released versions of the pubsub extension.
However, if I checkout the main branch and install it to my local maven repository and use that version (1.3.0-SNAPSHOT) then it works as expected.
Following the guide here: https://quarkiverse.io/quarkiverse-docs/quarkus-google-cloud-services/main/pubsub.html#_using_the_dev_service
To Replicate
mvn io.quarkus:quarkus-maven-plugin:3.2.0.Final:create \
    -DprojectGroupId=org.acme \
    -DprojectArtifactId=pubsub-quickstart \
    -Dextensions="resteasy-reactive-jackson,quarkus-google-cloud-pubsub"
cd pubsub-quickstart

echo "quarkus.google.cloud.pubsub.devservice.enabled=true" >> src/main/resources/application.properties

mvn quarkus:dev

Expected Result:
The emulator container starts.
Actual Result:
The emulator container does not start and the following entry is in the log:
 WARN  [io.qua.config] (Quarkus Main Thread) Unrecognized configuration key "quarkus.google.cloud.pubsub.devservice.enabled" was provided; it will be ignored; verify that the dependency extension for this configuration is set or that you did not make a typo

I think that's because there wasn't a release. It will be included in version 2.2.0, but I don't know when it is planned.

I think that's because there wasn't a release. It will be included in version 2.2.0, but I don't know when it is planned.

No, but if I also pin to the latest release 2.1.0, which is what the bom resolves to - it's the same result.

It's probably unrelated but I noticed a typo in the package name: https://github.com/quarkiverse/quarkus-google-cloud-services/blob/a19a0d2e6808315731db8d35e9cede8fe3798e94/pubsub/deployment/src/main/java/io/quarkiverse/googlecloudservices/pubsub/deployement/PubSubDevServiceProcessor.java#L1
deploy-e-ment

No, but if I also pin to the latest release 2.1.0, which is what the bom resolves to - it's the same result.

What I meant was that the latest release of this extension is 2.1.0, and the pubsub dev service was added after the 2.1.0 was released. So, we are now waiting until the 2.2.0 version of this extension is released.

It's probably unrelated but I noticed a typo in the package name:

If you want, you can open a PR with a fix, or I can do it.

No, but if I also pin to the latest release 2.1.0, which is what the bom resolves to - it's the same result.

What I meant was that the latest release of this extension is 2.1.0, and the pubsub dev service was added after the 2.1.0 was released. So, we are now waiting until the 2.2.0 version of this extension is released.

It's probably unrelated but I noticed a typo in the package name:

If you want, you can open a PR with a fix, or I can do it.

Ah, I see what you mean! I did not notice that!
I can open a quick PR for the type.

Hi,
Yes,  I didn't do a new release as there is an issue with Apache Arrow in native which is used by BigQuery so I wait for a fix upstream to make a new release based on Quarkus 3.2.


BUG - Unable to find the existing channel | This plugin failed to start. Check your system logs for errors

Summary
I'm trying to update Standup-Raven to version 3.2.2 but I got the error "This plugin failed to start. Check your system logs for errors."  (with other versions higher than v2.5.2 the same problem)
Screenshots

Log from the server:
{"level":"info","ts":1610454829.7219336,"caller":"bleveengine/bleve.go:267","msg":"UpdateConf Bleve"} {"level":"error","ts":1610454829.8493688,"caller":"mlog/log.go:229","msg":"Unable to activate plugin","plugin_id":"standup-raven","error":"GetChannel: Unable to find the existing channel., resource: Channel id: uom8ryofh3bo9gtwwhcmqxs5gw"} {"level":"error","ts":1610454830.0284326,"caller":"mlog/log.go:229","msg":"Unable to activate plugin","plugin_id":"standup-raven","error":"GetChannel: Unable to find the existing channel., resource: Channel id: uom8ryofh3bo9gtwwhcmqxs5gw"} {"level":"error","ts":1610454830.2468505,"caller":"mlog/log.go:229","msg":"Unable to activate plugin","plugin_id":"standup-raven","error":"GetChannel: Unable to find the existing channel., resource: Channel id: uom8ryofh3bo9gtwwhcmqxs5gw"} {"level":"error","ts":1610454830.4646997,"caller":"mlog/log.go:229","msg":"Unable to activate plugin","plugin_id":"standup-raven","error":"GetChannel: Unable to find the existing channel., resource: Channel id: uom8ryofh3bo9gtwwhcmqxs5gw"}
Environment

Mattermost version: 5.30.0
OS: Ubuntu 18.04
Platform: any

@anwiev which version of the plugin were you previously on?

@anwiev which version of the plugin were you previously on?

@harshilsharma63, v2.5.2

@harshilsharma63, v2.5.2

Hi @harshilsharma63,  I was just wondering if there'd been any developments?

Hi @anwiev I didn't get a change to look deep into this but this occurs when one of the channel you had standup configured for was deleted.
Can you try upgrading incrementally?
If that doesn't work, just mail me at<EMAIL_ADDRESS>and we'll hop on a quick call. I'll be glad to get this resolved for you.

@anwiev I believe you deleted one of the channels in which standup was configured?

@anwiev This will be fixed now. We'll skip channels which are not found.

@anwiev This is now fixed in v3.2.3. Do check it out.

@harshilsharma63, thank you, will try! :upside_down_face:


(UndefinedFunctionError) function ElixirLS.LanguageServer.main/0 is undefined (module ElixirLS.LanguageServer is not available)

Precheck
Done
Environment

Elixir & Erlang versions (elixir --version):

 elixir --version
Erlang/OTP 24 [erts-<IP_ADDRESS>] [source] [64-bit] [smp:10:10] [ds:10:10:10] [async-threads:1]

Elixir 1.13.3 (compiled with Erlang/OTP 23)

Elixir Language Server version:  v0.21.3

Operating system: macOS Sonoma 14.5 (23F79)

Editor or IDE name:  Zed

Editor Plugin/LSP Client name and version: elixir-ls plugin

Current behavior
 sh "/Users/anil/Library/Application Support/Zed/extensions/work/elixir/elixir-ls-v0.21.3/language_server.sh"
Running /Users/anil/Library/Application Support/Zed/extensions/work/elixir/elixir-ls-v0.21.3/launch.sh
Preferred shell is fish, launching launch.fish
Looking for ASDF install
ASDF install found in /opt/homebrew/opt/asdf/libexec/asdf.fish, sourcing
Installing ElixirLS release v0.21.3
Running in /Users/anil
Install complete
** (UndefinedFunctionError) function ElixirLS.LanguageServer.main/0 is undefined (module ElixirLS.LanguageServer is not available)
    ElixirLS.LanguageServer.main()
    Library/Application Support/Zed/extensions/work/elixir/elixir-ls-v0.21.3/launch.exs:18: (file)

Expected behavior
It should start the server

Please do some investigation. Something is broken on your machine.
What happens when you explicitly install in iex? Be sure to use the exact same elixir and otp
Mix.install(
      [
        {:elixir_ls, github: "elixir-lsp/elixir-ls", tag: "v0.21.3"}
      ],
      start_applications: false,
      consolidate_protocols: false
    )

It should succeed and then it should be able to start
iex(2)> ElixirLS.LanguageServer.main()
Content-Length: 103

{"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"Started ElixirLS v0.21.3","type":3}}Content-Length: 116

Examine contents of your mix installs dir given by Mix.Utils.mix_cache() (usually /Users/<user>/Library/Caches/mix)
Check your elixir install. You use a version built for OTP 23 on OTP 24.

I deleted folders inside /Users/anil/Library/Caches/mix and restarted Zed editor (which fetched elixir-ls plugin again). This fixed the issue.


num_graphs

Hi,
Batch.num_graphs seems to be defined based on the batch index of Batch.pos
So, if you don't define Batch.pos, Batch.num_graphs is undefined
I think Batch.num_graphs should be equal to the number of samples, regardless of what Batch.pos is

In previous versions, num_graphs was indeed only defined in case the batch attribute exists. This is fixed in master by now :)

In previous versions, num_graphs was indeed only defined in case the batch attribute exists. This is fixed in master by now :)


Rails geocoder - Deprecation Warning

Resolves the deprecation warning when supplying a hash to Geocoder.search.
Search checks whether the supplied search is_ipaddress? which in turn goes to the below function and displays the warning
/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/geocoder-1.8.1/lib/geocoder/ip_address.rb:13: warning: Using the last argument as keyword parameters is deprecated
i.e.
Geocoder.search({ :city=>"Victoria" })

I haven't submitted a PR to a public codebase before so I would much appreciate knowing what I need to change :)
Cheers

Thank you! This is great.
As for PR feedback, it's all positive. As someone who reviews a lot of these, I especially appreciate:

your succinct explanation of the problem, with enough detail to reproduce quickly
your commits (after being squashed) only change what needs to be changed to address the issue
you did not include any project-specific (irrelevant to Geocoder) details

I will merge this shortly.


updated ngx_http_dyups_module.md

try to fix https://github.com/alibaba/tengine/issues/1257, updated and modified from https://github.com/yzprofile/ngx_http_dyups_module/blob/master/README.md

ack.


refactor: Move dataSet from configurator state to chart state

This PR provides the technical foundation for the dashboards to allow charts based on different datasets within the same configurator state.
Essentially, it moves the dataSet property from the configurator state down to the charts themselves.
How to test

Go to the deployment preview.
Add the following object to the local storage (use vizualize-configurator-state:EpXqRKzyJxIy key):

{"version":"3.0.0","state":"CONFIGURING_CHART","dataSource":{"type":"sparql","url":"https://lindas.admin.ch/query"},"meta":{"title":{"de":"","fr":"","it":"","en":""},"description":{"de":"","fr":"","it":"","en":""}},"chartConfigs":[{"key":"tPfhn1Lsv4u1","version":"2.2.0","meta":{"title":{"en":"","de":"","fr":"","it":""},"description":{"en":"","de":"","fr":"","it":""}},"dataSet":"https://energy.ld.admin.ch/sfoe/bfe_ogd84_einmalverguetung_fuer_photovoltaikanlagen/9","chartType":"column","filters":{"https://energy.ld.admin.ch/sfoe/bfe_ogd84_einmalverguetung_fuer_photovoltaikanlagen/Kanton":{"type":"single","value":"https://ld.admin.ch/canton/1"}},"interactiveFiltersConfig":{"legend":{"active":false,"componentIri":""},"timeRange":{"active":false,"componentIri":"https://energy.ld.admin.ch/sfoe/bfe_ogd84_einmalverguetung_fuer_photovoltaikanlagen/Jahr","presets":{"type":"range","from":"","to":""}},"dataFilters":{"active":false,"componentIris":[]},"calculation":{"active":false,"type":"identity"}},"fields":{"x":{"componentIri":"https://energy.ld.admin.ch/sfoe/bfe_ogd84_einmalverguetung_fuer_photovoltaikanlagen/Jahr","sorting":{"sortingType":"byAuto","sortingOrder":"asc"}},"y":{"componentIri":"https://energy.ld.admin.ch/sfoe/bfe_ogd84_einmalverguetung_fuer_photovoltaikanlagen/AnzahlAnlagen"}}},{"key":"tWem-qDvBFyn","version":"2.2.0","meta":{"title":{"en":"","de":"","fr":"","it":""},"description":{"en":"","de":"","fr":"","it":""}},"dataSet":"https://environment.ld.admin.ch/foen/ubd0104/6","chartType":"line","filters":{"https://environment.ld.admin.ch/foen/ubd0104/parametertype":{"type":"single","value":"E.coli"},"https://environment.ld.admin.ch/foen/ubd0104/station":{"type":"single","value":"https://environment.ld.admin.ch/foen/ubd0104/Station/CH10001"}},"interactiveFiltersConfig":{"legend":{"active":false,"componentIri":""},"timeRange":{"active":false,"componentIri":"https://environment.ld.admin.ch/foen/ubd0104/dateofprobing","presets":{"type":"range","from":"","to":""}},"dataFilters":{"active":false,"componentIris":[]},"calculation":{"active":false,"type":"identity"}},"fields":{"x":{"componentIri":"https://environment.ld.admin.ch/foen/ubd0104/dateofprobing"},"y":{"componentIri":"https://environment.ld.admin.ch/foen/ubd0104/value"}}}],"activeChartKey":"tPfhn1Lsv4u1"}

Go to /en/create/EpXqRKzyJxIy?dataSource=Prod.
See that the first chart is based on Photovoltaikanlagen dataset, while the second one is based on Bathing water quality dataset.

Discussed with @lloydrichards offline; basically we are always in the context of a chart config, which we retrieve from the configurator state using the activeChartKey property.


output errors

I get these errors:

Interview with an Emacs Enthusiast in 2023 [Colorized] [urcL86UpqZc].webm: No such file or directory

and no images inside the fooBAR folder and a partial ".webm" video :(

from here, and other YT videos:
Interview with an Emacs Enthusiast in 2023 [Colorized]
https://www.youtube.com/watch?v=urcL86UpqZc
The output is:
/tmp/Youtube2Webpage/fooBar $ ls
images/     Interview with an Emacs Enthusiast in 2023 [Colorized] [urcL86UpqZc].en.vtt          styles.css
index.html  Interview with an Emacs Enthusiast in 2023 [Colorized] [urcL86UpqZc].f313.webm.part
and no images inside the images folder
/tmp/Youtube2Webpage/fooBar $ ls images
-> me@you 09:37:26
/tmp/Youtube2Webpage/fooBar $

I'm experiencing the same behavior

I think this repo is not maintained any more...
Too many bugs without answers...

In order to even begin to triage this, I'd need a full log of the shell session including the exact command you ran and all output from the tool.
Testing locally, it does appear to work for me:
jesse@m1 Youtube2Webpage % ./yt-to-webpage.pl test "https://www.youtube.com/watch?v=urcL86UpqZc"

It's also be helpful to know the exact versions of yt-dlp and ffmpeg you have installed. But I'm betting that the full log of the run will turn up what we need.
jesse@m1 test % ffmpeg
ffmpeg version 6.0 Copyright (c) 2000-2023 the FFmpeg developers
  built with Apple clang version 14.0.3 (clang-14<IP_ADDRESS>.1)
  configuration: --prefix=/opt/homebrew/Cellar/ffmpeg/6.0_1 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libaribb24 --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libsvtav1 --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox --enable-audiotoolbox --enable-neon
  libavutil      58.  2.100 / 58.  2.100
  libavcodec     60.  3.100 / 60.  3.100
  libavformat    60.  3.100 / 60.  3.100
  libavdevice    60.  1.100 / 60.  1.100
  libavfilter     9.  3.100 /  9.  3.100
  libswscale      7.  1.100 /  7.  1.100
  libswresample   4. 10.100 /  4. 10.100
  libpostproc    57.  1.100 / 57.  1.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

Use -h to get full help or, even better, run 'man ffmpeg'
jesse@m1 test % yt-dlp --version
2023.07.06

I'm experiencing the same behavior

@obra Thx a lot for replying. After a:
pip install -U yt-dlp
Everything works now  :)
test $ yt-dlp --version
2023.07.06
ffmpeg version 6.0-6 Copyright (c) 2000-2023 the FFmpeg developers

@obra Hi. Is that possible to add an If-else statement in the script to work when the URL misses the WWW bit?

"https://www.youtube.com/watch?v=urcL86UpqZc"
"https://youtube.com/watch?v=urcL86UpqZc"

If 1. is used, it works
If 2. is used, it does not work
and a message showing the usage appears in the terminal.
Thx again


Added s3 in schema parsing

Description of what I changed

Fixes the S3 schema parsing issue in the controller code. This is a piece that was missed in #1066 because I only tested the pipeline code directly (not through the controller).
E2E test

TESTED:
Ran the controller locally but set the dwhRootPrefix to a s3:// location and checked that parquet files are created both in full and incremental runs (like before this needed AWS_REGION, AWS_SECRET_ACCESS_KEY and AWS_ACCESS_KEY_ID to be set).
Checklist: I completed these to help reviewers :)

[x] I have read and will follow the review process.

[x] I am familiar with Google Style Guides for the language I have coded in.
No? Please take some time and review Java and Python style guides.

[x] My IDE is configured to follow the Google code styles.
No? Unsure? -> configure your IDE.

[x] I have added tests to cover my changes. (If you refactored existing code that was well tested you do not have to add tests)

[x] I ran mvn clean package right before creating this pull request and added all formatting changes to my commit.

[x] All new and existing tests passed.

[x] My pull request is based on the latest changes of the master branch.
No? Unsure? -> execute command git pull --rebase upstream master

Codecov Report
Attention: Patch coverage is 71.42857% with 6 lines in your changes missing coverage. Please review.

Project coverage is 52.05%. Comparing base (2595915) to head (855232a).
Report is 1 commits behind head on master.

Files
Patch %
Lines

.../main/java/com/google/fhir/analytics/DwhFiles.java
81.25%
2 Missing and 1 partial :warning:

...ava/com/google/fhir/analytics/DwhFilesManager.java
40.00%
2 Missing and 1 partial :warning:

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1111      +/-   ##
============================================
+ Coverage     52.02%   52.05%   +0.03%
+ Complexity      655      654       -1
============================================
  Files            89       89
  Lines          5388     5396       +8
  Branches        708      708
============================================
+ Hits           2803     2809       +6
- Misses         2323     2325       +2
  Partials        262      262

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Version of mongoose in Strider does not work with MongoDB 3.x

When trying to addUser or start server getting the following error
==================
17647 forked
##############################################################

!!! MONGOOSE WARNING !!!

This is an UNSTABLE release of Mongoose.
Unstable releases are available for preview/testing only.
DO NOT run this in production.

##############################################################
2015-03-27T16:54:43.099Z - info: stubbing smtp..
2015-03-27T16:54:43.714Z - info: Using MongoDB URL: mongodb://localhost/strider-foss
2015-03-27T16:54:43.791Z - warn: No SMTP creds - forgot password flow will not work
/usr/local/lib/node_modules/strider/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/base.js:246
throw message;
^
TypeError: Cannot read property 'length' of undefined
at processResults (/usr/local/lib/node_modules/strider/node_modules/mongoose/node_modules/mongodb/lib/mongodb/db.js:1581:31)
at /usr/local/lib/node_modules/strider/node_modules/mongoose/node_modules/mongodb/lib/mongodb/db.js:1619:20
at /usr/local/lib/node_modules/strider/node_modules/mongoose/node_modules/mongodb/lib/mongodb/db.js:1157:7
at /usr/local/lib/node_modules/strider/node_modules/mongoose/node_modules/mongodb/lib/mongodb/db.js:1890:9
at Server.Base._callHandler (/usr/local/lib/node_modules/strider/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/base.js:448:41)
at /usr/local/lib/node_modules/strider/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/server.js:481:18
at MongoReply.parseBody (/usr/local/lib/node_modules/strider/node_modules/mongoose/node_modules/mongodb/lib/mongodb/responses/mongo_reply.js:68:5)
at null. (/usr/local/lib/node_modules/strider/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/server.js:439:20)
at emitOne (events.js:77:13)
at emit (events.js:166:7)
at null. (/usr/local/lib/node_modules/strider/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:201:13)
at emitTwo (events.js:87:13)
at emit (events.js:169:7)
at Socket. (/usr/local/lib/node_modules/strider/node_modules/mongoose/node_modules/mongodb/lib/mongodb/connection/connection.js:439:22)
at emitOne (events.js:77:13)
at Socket.emit (events.js:166:7)
17647 died 1 null
======================
I manually updated the package.json for strider to use the 4.x version of Mongoose and it appears to be working correctly.  I'm not sure the implications for older versions of MongoDB but this resolved my issue.

@dionridley I just tried it with mongoose 4.0.0 and get that error. What version did you have previously?

@dionridley 3.8.x works fine. I'm hardcoding that now.

@dionridley released 1.6.5 with all of the latest fixes, including this, io.js support, some others, see the release notes.

Awesome work Ilya!
On Fri, Mar 27, 2015 at 11:33 AM, Ilya Radchenko<EMAIL_ADDRESS>wrote:

@dionridley https://github.com/dionridley released 1.6.5 with all of
the latest fixes, including this, io.js support, some others, see the
release notes.
—
Reply to this email directly or view it on GitHub
https://github.com/Strider-CD/strider/issues/752#issuecomment-87045497.

--
Niall O'Higgins
W: http://niallohiggins.com
E<EMAIL_ADDRESS>T: @niallohiggins

Thanks.  Appreciate you responding and addressing issues quickly!

seeing this on quay.io/keyvanfatehi/strider:1.6.0-pre.2

This has been fixed since, and that version of the image is old.


pull request for e2e test at 12/28/2016 13:26:06

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


feat: show contract functions

https://github.com/AztecProtocol/aztec-packages/blob/master/yarn-project/circuits.js/src/contract/events/private_function_broadcasted_event.ts

https://docs.aztec.network/protocol-specs/contract-deployment/classes#broadcast


Split out NSS configuration from the auth recipe

Allow configuration of just NSS and the LDAP client without configuring authentication

Did not mean to issue a PR against upstream


DOC-2180: Added OpenGraph and Google site markup

Fixes DOC-2180
Partially fixes DOC-6886

@mikeCRL and I discussed this in our 1:1 and he verbally approved it. Merging.


rect.clone doesn't copy rounded corners

Hello,
I invoke rect.clone() to create a new rect and the new rect object's attrs rx and ry are copied, but its html element is: rx="0" ry="0".
I found that the package of raphael "ignore" the two attributes:
case "rx":
if (att == "rx" && o.type == "rect") {
break;
}
case "ry":
if (att == "ry" && o.type == "rect") {
break;
}
So I changed it:
case "rx":
if (att == "rx" && o.type == "rect") {
node.setAttribute(att, value);
break;
}
Do you have a better idea? Thank you.

I ran into this as well, and noticed that on 2.1.0 it does not seem to happen. Are you going to submit a pull request for your modification?

No, I'm not gonna submit a pull request for my modification.


win: allow for already bound/connected socket in uv_tcp_open

On Unix you can pass bound and even connected socket to uv_tcp_open
and it will work as expected: you can run uv_listen or other io
functions (uv_read, uv_write) on it without problems.
On windows on the other hand the function always assumes to have clean
socket and for example uv_listen will try to bind it again, and
uv_read/write will return with errors about unreadable streams
(basically invalid internal flags).
To check if socket is already bound uv_tcp_getsockname is called which
on windows returns error when socket is unbound. To further
differentiate connected one from just bound, uv_tcp_getpeername also
returns error but when target socket is not connected.
Loosely based on (dead?) https://github.com/libuv/libuv/pull/1150 . This builds upon it and adds support for connected sockets.

CI: https://ci.nodejs.org/view/libuv/job/libuv-test-commit/372/

fixed style issues, and also added resetting saddr_len before getpeername because getsockname can change it.

CI after fixup: https://ci.nodejs.org/view/libuv/job/libuv-test-commit/373/

Thanks Maciej, landed in 6827fa3.

Sorry I'm late, I'd just wanted to say this is awesome. Thanks @Neverous!


Adding Travis CI Setting

Commenting out all PHPUnit Skipped Test
Adding Encrypted File for service_account.json
Need to know if Travis CI is triggered only on master branch

Closing issue, due to difference between Github Service & Github Apps.
Github Apps lets you test on travis-ci.com, and Github Services lets you test on travis-ci.org

Passed CI Test on PHP 7.1 & 7.2

Failed on PHP 7.0, since PHPUnit requires ^7.0.25
Need to consider PHP 5

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@e819475). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master       #1   +/-   ##
=========================================
  Coverage          ?   93.71%
  Complexity        ?       62
=========================================
  Files             ?        8
  Lines             ?      191
  Branches          ?        0
=========================================
  Hits              ?      179
  Misses            ?       12
  Partials          ?        0

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 e819475...b9445f9. Read the comment docs.


For .Net Core 3.0, create a wpf app, dotnet run with the windows box is blank

Repro steps
Create a WPF app. Build and run
dotnet new wpf -o MyWPFApp1
cd MyWPFApp1
dotnet build
dotnet run
Expected behavior
It should appear a windows box like this

Actual behavior
The windows box is blank

Known workarounds
Note: D16.0/28803.156(16.0.1) + CLI/SDK: 3.0.100-preview5-011151
c:>dotnet --info
.NET Core SDK (reflecting any global.json):
Version:   3.0.100-preview5-011153
Commit:    cbb383cc73
Runtime Environment:
OS Name:     Windows
OS Version:  10.0.17134
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\3.0.100-preview5-011153\
Host (useful for support):
Version: 3.0.0-preview5-27607-08
Commit:  1cdd7e4289
.NET Core SDKs installed:
2.1.602 [C:\Program Files\dotnet\sdk]
2.2.202 [C:\Program Files\dotnet\sdk]
3.0.100-preview5-011153 [C:\Program Files\dotnet\sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.2.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.2.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.0.0-preview4-19208-06 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.2.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.0.0-preview5-27607-08 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.0.0-preview4-27607-5 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download

track to https://github.com/Microsoft/visualfsharp/issues/6464

track to https://github.com/dotnet/cli/issues/11105


[place] fix wrapping for places with hyphens

http://localhost:8080/place?dcid=country%2FFRA

This should have been fixed?

yes fixed (though we won't need it for intl places anymore..)


Vickel: Watch Counterfeit[\W_]*+Money(?!.site)

Vickel requests the watch of the watch_keyword Counterfeit[\W_]*+Money(?!\.site). See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Counterfeit[\W_]*+Money(?!\.site) has been seen in 80 true positives, 2 false positives, and 0 NAAs.

Rejected by Jesse in Charcoal HQ. Reason: 'Although this does have a lot of TPs in MS, there are just as many (even slightly more) FPs on SE.'


[IOS] biometry was requested only on the first "write"

I'm facing the same issue, the weird thing that it works perfectly in the example!
every read/write request the biometric request triggered
I checked what I've done in my code but it's the same as the example!
I'm wondering if there is any configuration we are missing

I know that it might sound weird!
but the following options worked for me, it now requests biometric authentication for every read/write on the storage
    if (Platform.isIOS) {
      options = StorageFileInitOptions(
        authenticationRequired: false,
        authenticationValidityDurationSeconds: 10,
        androidBiometricOnly: false,
      );
    } else if (Platform.isAndroid) {
      options = StorageFileInitOptions(
        authenticationRequired: true,
        authenticationValidityDurationSeconds: -1,
        androidBiometricOnly: true,
      );
    }

final storage = await BiometricStorage().getStorage(
'storage.name',
options: options,
);

for both android & iOS

same issue


Default styles from a UI library using styled-components overriding the extended styles

Environment
System:

OS: macOS 11.2.2
CPU: (4) x64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz
Memory: 2.04 GB / 16.00 GB
Shell: 5.8 - /bin/zsh

Binaries:

Node: 16.10.0 - ~/.nvm/versions/node/v16.10.0/bin/node
Yarn: 1.22.15 - ~/.nvm/versions/node/v16.10.0/bin/yarn
npm: 7.24.0 - ~/.nvm/versions/node/v16.10.0/bin/npm

npmPackages:

styled-components: ^5.2.1 => 5.3.3

An App using a version of styled components and using a UI library with another version of styled components where the styles from the library are taking precedence over my extended styles.
This is how I am styling the components from that library:

And this is what is happening with the styles headers:

As you can see, there are two tags, the one with 5.3.3 version is the one from my app and the one with 5.3.1 is the one from the library, and for some reason, the one from the library is located after the one from my app, effectively overriding my styles.
I don't know if I am missing something, but this tag order looks a bit arbitrary to me and it makes me use the 'bump specifitcity hack' to apply my own styles over the ones from the library.
Thanks

Hello,
There is a really simple way to handle that even if it's not really pretty. You just have to surround you styles by
export const StyledButton = styled(Button)`
 && {
 background-color:#e23d21;
 }
`


Ports the /tg/ shotgun sprites

About the PR
Ports the /tg/ shotgun sprites for the Kammerer, Enforcer, and Double-Barrel. The sawn-off shotgun has also been updated, and so have the inhands for the improvised shotgun.
Why / Balance
Besides not really fitting the artstyle due to having weird texturing and way too much hueshifting, all of these have the issue of just being way too damn hard to identify at a glance.
The Kammerer / Double Barrel are really difficult to tell apart from eachother and have difficult-to-read inhands (that also happen to share the same issue of looking too similar to eachother.)
The Enforcer at least fits the artstyle, but it looks really similar to the bulldog. So similar, in fact, that it literally shares inhands with it!

You might need to update the sprite of the new emergency shotgun wallmount


Generic adapters implementation

Here is a proposal for how we can add adapters (including LoRA) to the toolkit. This branch is based on #2534 - and it also implements flexible layer selection and small checkpoints.
There's a few more things that would be nice to have but I personally don't think they're necessary before merge.

a merge_and_unload() type function for LoRA-type layers that reintegrates the adapter weights to the original model
the capability to use adapters from peft library -- they have an extensive collection that will probably update regularly
more adapter types

If anyone thinks these are urgent we can work on adding them to this PR.

Hey Peter, I would think that using peft could be a nice add to this PR. Not critical, but a nice add! I will have a look at the code, thanks:

I tried this recipe with a peft layer and it just worked to my amazement. Here's the exact change I made:

@pplantinga are the checkpointing feature working as well? We should make sure it works with Pretrainer also, not just checkpointing  I blieve.

@Adel-Moumen I think we will want this in v1.0.1 And it looks ready to me?

@poonehmousavi could you review and test the code as mentioned? It looks ready to me. Thanks!

@poonehmousavi could you review and test the code as mentioned? It looks ready to me. Thanks!

Sure. I will do it by tomorrow.

@pplantinga have you tested it with pretrainer using for interfaces?  also have you checked how it works with quantization?(like QLORA)

@pplantinga have you tested it with pretrainer using for interfaces?
I tested this and it worked, but had warnings due to loading only trained params. I have fixed this now.

The yaml I used is here:
whisper_hub: openai/whisper-small.en
lora_rank: 16
language: "english"
sample_rate: 16000

min_decode_ratio: 0.0
max_decode_ratio: 1.0
test_beam_size: 8

whisper_pretrained: !new:speechbrain.lobes.models.huggingface_transformers.whisper.Whisper
    source: !ref <whisper_hub>
    save_path: .
    language: !ref <language>
    task: "transcribe"
    sampling_rate: !ref <sample_rate>

whisper: !new:speechbrain.nnet.adapters.AdaptedModel
    model_to_adapt: !ref <whisper_pretrained>
    adapter_class: !name:speechbrain.nnet.adapters.LoRA
    all_linear: True
    adapter_kwargs:
        rank: !ref <lora_rank>

test_search: !new:speechbrain.decoders.seq2seq.S2SWhisperBeamSearcher
    module: [!ref <whisper>]
    min_decode_ratio: !ref <min_decode_ratio>
    max_decode_ratio: !ref <max_decode_ratio>
    beam_size: !ref <test_beam_size>

modules:
    whisper: !ref <whisper>
    decoder: !ref <test_search>

pretrainer: !new:speechbrain.utils.parameter_transfer.Pretrainer
    loadables:
        whisper: !ref <whisper>

And python:
model = sb.inference.ASR.WhisperASR.from_hparams(".", "lora_pre.yaml", savedir="results/whisper/1987/save/CKPT+2024-06-05+18-30-33+00")
model.transcribe_file("speechbrain/asr-streaming-conformer-librispeech/test-en.wav")

also have you checked how it works with quantization?(like QLORA)

I am not very familiar with QLoRA, it seems there's additional setup needed to get this to work.

One epoch (100h) results for Whisper Small.en, published results are test-clean=3.05 and test-other=7.53:
speechbrain.utils.train_logger - Epoch loaded: 1 - test loss: 9.73e-01, test CER: 1.03, test WER: 2.81
speechbrain.utils.train_logger - Epoch loaded: 1 - test loss: 9.86e-01, test CER: 1.08, test WER: 2.90
speechbrain.utils.train_logger - Epoch loaded: 1 - test loss: 1.22, test CER: 3.00, test WER: 6.57

@pplantinga Should we merge this maybe?

There are more features that could be added but I think this is ready for merge as-is and the rest can be added later.


Set entity for process updated and process suspended events

Depends on https://github.com/Activiti/activiti-cloud-api/pull/42.
develop should be rebased on that branch once https://github.com/Activiti/activiti-cloud-api/pull/42 is merged and propagated. This will make AuditServiceIT to pass.


Rename All Music Disks to "Music Disk"

To be consistent with vanilla and the original two music disks.

Bruh

I should have seen this before translating

wait a moment, I'll be pushing a new translation key for this


Responsive added and some extra css also added

All type of responsive is added like mobile, laptop, table etc.
Also extra css added i think you loved it 😊

Thankyou Nitish ,
I merged your pull request to the main branch, And you really worked well.
On Tue, Aug 17, 2021 at 12:52 AM Nitish-B2M @.***>
wrote:

All type of responsive is added like mobile, laptop, table etc.
Also extra css added i think you loved it 😊
You can view, comment on, or merge this pull request online at:
https://github.com/eshan1925/EshanBlogs/pull/2
Commit Summary

Responsive added

File Changes

M index.html
https://github.com/eshan1925/EshanBlogs/pull/2/files#diff-0eb547304658805aad788d320f10bf1f292797b5e6d745a3bf617584da017051
(396)
M style.css
https://github.com/eshan1925/EshanBlogs/pull/2/files#diff-b78be019f1dc6d57753ea900c3805b114cd53ab7c0db836cc081836df1b99b7a
(136)

Patch Links:

https://github.com/eshan1925/EshanBlogs/pull/2.patch
https://github.com/eshan1925/EshanBlogs/pull/2.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/eshan1925/EshanBlogs/pull/2, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASYOJU6T7ZE5PPOBMBKUSOTT5FQQJANCNFSM5CILDMOQ
.


Where are the playgrounds?

There is mention of playgrounds in the documentation and on the project website but I can't see any mention of where the playground files are or how to open them? Theres an entry on the forum on building / installing the playgrounds but the command required is missing.
I installed Audiokit using Carthage. Xcode 7.3 on El Capitan.

Playgrounds don't come with Carthage since you wouldn't necessarily want them in  your code.  Download AudioKit directly from the source and you'll find them in the Xcode projects for both iOS and OSX.  Maybe this video will help too:  https://vimeo.com/157204402


Add support for python 3.10

Interested in seeing how close we are to supporting 3.10 in advance for Dask's move to 3.10 support and in preparation to start doing 3.10 conda builds

Codecov Report

Merging #383 (d503e93) into main (7620d6d) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #383      +/-   ##
==========================================
- Coverage   95.60%   95.59%   -0.01%
==========================================
  Files          67       67
  Lines        2933     2931       -2
  Branches      547      547
==========================================
- Hits         2804     2802       -2
  Misses         79       79
  Partials       50       50

Impacted Files
Coverage Δ

dask_sql/physical/rel/custom/predict.py
95.34% <0.00%> (-0.11%)
:arrow_down:

dask_sql/utils.py
100.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


fix roles and add tests for different deployment scenarios

We want to have integration tests for the following scenarios:

one monolithic worker
multiple workers, with scale 1
multiple workers, with scale >1

This PR also fixes some issues with the Mimir roles found while testing.

We can split into one file per each; we'll triple the execution time though, is it really worth it?

It's indeed worth it: having a shared S3 doesn't let us conclude anything on the three scenarios working (because the backend is still the same). I split the tests into three and marked the setup steps with @pytest.mark.setup so we can run only those with -m setup.


Do you have plan to support auto HOOK for click events?

I think auto hook for click events is good behavior, that can reduce a lot of development time.

Hello, currently there are no plans on supporting "automatic hooking" for click events.


Failure during typechecking of loops that jump away

This example hits an assertion:
actor Main
  fun a() =>
    while true do
      break
    else
      return
    end

  new create(env: Env) =>
    a()

And this example reports that the print statement is unreachable.
actor Main
  fun a(env: Env)?  =>
    env.out.print("hi")
    try error else error end

  new create(env: Env) =>
    try a(env)? end

These only happen if the loop or try are in a separate function instead of create
This issue was separated out from #2788

This is definitely coming from an else that has a "jump away" like error or return

So
actor Main
  fun a(env: Env)?  =>
    env.out.print("hi")
    try error else error end

  new create(env: Env) =>
    try a(env)? end

is an interesting error. It isn't actually thinking that the print is unreachable. It is thinking the implicit None return at the end of the function is unreachable which is (typeref x (id None) x) in the AST.
But when it goes to display that as the error, it points at the print line instead.
@jemc @ergl thoughts on how to address this?

For
actor Main
  fun a() =>
    while true do
      break
    else
      return
    end

  new create(env: Env) =>
    a()

The error is a typecheck erorr that isn't setting an error message.
In particular, when examining the TK_SEQ that contains our while, we execute this code in expr_seq:
  for(ast_t* p = ast_child(ast); ast_sibling(p) != NULL; p = ast_sibling(p))
  {
    ast_t* p_type = ast_type(p);

At some point, we get back NULL for the type which will cause this check if(is_typecheck_error(p_type)) to fail. More investigation is needed as to what is coming back with a NULL type.

This diff may fix that particular crash:
diff --git a/src/libponyc/expr/control.c b/src/libponyc/expr/control.c
index 72f3f255..b1aefdbd 100644
--- a/src/libponyc/expr/control.c
+++ b/src/libponyc/expr/control.c
@@ -27,6 +27,9 @@ bool expr_seq(pass_opt_t* opt, ast_t* ast)
// Any expression other than the last that is still literal is an error
for(ast_t* p = ast_child(ast); ast_sibling(p) != NULL; p = ast_sibling(p))
{

if(ast_checkflag(p, AST_FLAG_JUMPS_AWAY))

 continue;

ast_t* p_type = ast_type(p);
if(is_typecheck_error(p_type))


Process explorer

Hi there !
I love the extension, it's really practical and well-made, who doesn't love customization when it's that easy !
But the wallpaper I use render an unreadable process explorer ! Could this explorer be blacklisted or something ?
It's not a massive issue, I just toggle it off if I ever have to use it, wich isn't frequent lol But I thought I could ask !
Thanks !

Hi d0ob.
I'll answer for your bug report.
The broken display in Process Explorer was an unintentional bug.
So we fixed it so that the wallpaper is not set in Process Explorer.
We hope you won't have any trouble with the new version.
In the future, we will investigate whether we can make it possible to set the wallpaper in Process Explore.
Thanks for reporting the issue.
If there are no additional questions, I'll close this issue in about week.

Hi ! Yes I just saw the update ! Much better ! =)
I thought it hadn't solved anything at first, but I just had to reload my wallpaper ^^
Well, in fact, now I think of it : I suppose the real issue was to not share the opacity, because it could be nice to have the wallpaper here too, otherwise ! I don't know what is the most practical to implement though, and since you already solved it that way, you maybe don't want to mind that ^^ But both satisfy me !
Thanks much for the consideration and the quick fix !


Update alternatives-to-ejecting.md, mention react-app-rewired

add link to https://github.com/timarney/react-app-rewired

While the project has served many well, we purposely don't promote it as there can be compatibility issues when upgrading the version of react-scripts in your project.
Thanks for the suggestion though!


SAK-45054 Add Lessons items to Tasks widget

This change allows the Lessons tool to create tasks when adding new pages, questions, comments or student content. Settings of all of these components have a new checkbox option to create these tasks. Tasks are updated or removed automatically when pages and/or components are changed or deleted. @mpellicer @bgarciaentornos

Well done!


Add contribs and License

integration tests are being bitten by: https://github.com/juju/python-libjuju/issues/719

@evilnick could you rebase?


Add ErrorRef wrapper

This commit adds the ErrorRef wrapper type. It enables to log error by reference, without moving ownership. It means that it is the non-owning counterpart of ErrorValue.
Logging error references is an important use case for transparent logging middlewares. With this wrapper type, you can log the error and still pass it up the call stack.
Such a wrapper type could already easily be implemented in user applications, but having it as part of Slog should help ergonomics. This also enables further improvements by integrating it with the Slog macros.
Closes slog-rs/slog#288
Make sure to:

[x] Add an entry to CHANGELOG.md (if necessary)

Unfortunately this does not support dyn Error. I'll see if I can find something to help with it.

Thank you! Sorry for the delayed review.
I will either open an issue or add a test for supporting dyn Error.


Fisher: Not recording any new data since 0.23.8 update

Description
Fishing overlay no longer seems to be recording any data after the 0.23.8 update.
Additional information
Tested by finding a combination of bait & fishing hole I'd never used before, after a few caught fish overlay is still empty:

If I go to holes I've fished at prior to the update, all of the old data shows up fine, but catching a fish outside of the recorded windows does not extend the bars nor are new fish added in. From my limited testing of big fishing for one evening, seems to manifest on all holes, baits and fish, haven't noticed any new data get recorded the entire time.
I recall it worked fine prior to the latest update. Tried restarting PC, game & ACT, no effect. Testing game connection works, using network logging. Combat parsing & other cactbot overlays are working fine and I've made no changes to my setup apart from the cactbot update, so unless this is some obscure issue only on my PC this might be a thing that the latest update did manage to break. Let me know if you want logs or anything else, but unless it's just me it should be reproducible by fishing for anything, anywhere.

Deleted all of my log files to get a minimal log example, restarted ACT one more time and now it started working just like that. Closing as problem appears to only have existed between my keyboard and chair.


Bumped 1.21-3 prod

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/hold
until dev is done

/unhold


Safer Dynamic Memory Allocation

Your essay covers some interesting points, but I notice it skirts the issue of managing dynamic objects. There are times when you have no choice about this. For example, I deal a lot with shareable libraries that offer their services through opaque objects. Since different versions of the libraries might have entirely different sizes and internal layouts of these objects, it is not practicable to let the caller allocate them on the stack; they have to go on the heap.
And then you have the well-known complications of checking for errors on such allocations, and ensuring that everything is correctly cleaned up on both success and failure code paths. All too often I see a rat’s nest of gotos to deal with this, when really the simplest solution is to avoid gotos altogether.
More explanation (with examples) here: https://github.com/ldo/a_structured_discipline_of_programming

Yes, this topic is not addressed in this repository.
A guiding principle within this repository is : how can we leverage the compiler to help us detect programming errors ?
Clearly, it doesn't cover all types of programming errors. Only those that the compiler can safely warn us against.
Sane programming practices, which are very helpful to mitigate presence and improve detection of programming errors, do not necessarily leverage the compiler, and are more dependent on the programmer and reviewer to properly follow a method or pattern. I believe this is what you present in your essay.
I believe it's a reasonably good pattern. If followed strictly, it should lead to better control over risks of memory leaks.
There are 2 comments that come to mind :

I'm personally a big supporter of early returns. They general help simplify expression in many functions. But this comes in direct conflict with the suggested pattern, since it's absolutely required to pass through the defined end section to ensure proper cleaning.

To solve this situation, I personally like the nested pattern to answer that point, with an "outer" function which is charge of allocating / freeing resources, and an "inner" function which works with pre-validated resources. The inner function can have as many early return as it wishes, it will always come back at the same location in the outer function, which can then proceed on the cleaning section which can't be skipped.
There are drawbacks though, and the situation becomes more difficult when there are too many arguments to pass to the inner function. When that happens, it's required to simplify the expression, typically by grouping resources in a single "object", thus shortening the function signature.

What happens when the pattern is not followed properly ? For example, an early return is added later on, into the inside block, by another programmer unaware of the pattern ?

This second question is probably the more important one.
I would suggest that having a good pattern doesn't protect from mistakes, and therefore it's important to have good processes in place to cover them.
For situations that definitely happen when the pattern is violated, such as memory leak, I recommend to run standard tests under a memory sanitizer or a valgrind VM. They should both quickly report a leak issue if there is one.
For situation that could happen theoretically, but will likely not, such as a memory allocation failure, this is more tricky. The first line of defense would be a static analyzer, which is likely going to detect the most obvious risks of undefined accesses. More complex, one could try to substitute the memory allocator by a fake one, designed to fail on purpose from time to time, in order to stress that part of the software. However, now we are entering the realm of complex fuzzer tests, so I don't think it would fit in a short essay.

The answer is “Nassi-Shneiderman all the way”. That means no early returns.
The thing with this pattern is, violations should stand out like a sore thumb and be easy to spot.


Remove watcher

Remove watcher since it is not used anymore.

I didn't know we still had this file.

I didn't know we still had this file.

Some grepping made me remember.


added interpolationSearch

added searching algorithm with c and it's details

add issue number and create new PR


How to onboard?

I have flashed a Pycom hotspot with the latest Nebra firmware and am able to get it connected to WiFi. However, when trying to onboard the hotspot using the Pycom app, the Helium Wallet does not show me the Hotspot name and I am not able to press Confirm.
Can you tell me how to get around this?

Hey there sorry to write in your topic but how were you able to connect it to wifi, via nebra app or pycom app? Does your pycom have the lan port addon?

Pycom app allowed me to connect to the hotspot and select a network.Sent from my iPhoneOn 19 May 2023, at 18:34, catsado89 @.***> wrote:
Hey there sorry to write in your topic but how were you able to connect it to wifi, via nebra app or pycom app? Does your pycom have the lan port addon?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

@mlowijs you need to use the Nebra app.
Also, if you haven't onboarded it to the Helium Network yet you will not be able to unless you send a ticket to https://support.nebra.com and there is a cost of $75 ($50 for the onboarding fee and $25 for our time to do the work)
Will close this as we can only deal with this via the support ticketing system

@mlowijs if you create a ticket, you can add a link to this thread also. And then post back here with the ticket number as well.
Cc @WayneNebra


access modifier, debug and clone for sagepy

This pull-request contains modifications to the visibility cloning and default debug of sage-core structs to make them exposable to pyO3 sagepy-connector.

Looks like it got out of sync with the most recent commit, so I fixed, rebased, and squashed - hope you don't mind!

Nice! Changed to the main branch of the repository for sagepy, works!


Convert access to responseHeaders with correct camelCase

Convert access to responseHeaders with correct camelCase for custom header name

You can use postman.getResponseHeader(headerName) to get response headers in a case-insensitive format.


The analyzer does not complain if generic constraints are not respected in certain cases

Hello!
I'm not quite sure how to explain it with words, so let's jump into the reproducible example.
Consider the following types:
class Listenable<T> {}

class AutoDisposeListenable<T> extends Listenable<T> {}

class ListenableProvider<ListenableT extends Listenable<T>, T> {
  static const autoDispose = Builder();
}

class AutoDisposeListenableProvider<
    ListenableT extends AutoDisposeListenable<T>,
    T> extends ListenableProvider<ListenableT, T> {}

class Builder {
  const Builder();

  AutoDisposeListenableProvider<ListenableT, T>
      call<ListenableT extends AutoDisposeListenable<T>, T>() {
    return AutoDisposeListenableProvider<ListenableT, T>();
  }
}

Then, when we write:
void main() {
  ListenableProvider.autoDispose<Listenable<int>, int>(); // should fail but does not
  AutoDisposeListenableProvider<Listenable<int>, int>(); // KO
}

The expected behavior is that both of these lines would emit the following analysis error:
'Listenable<int>' doesn't conform to the bound 'AutoDisposeListenable<int>' of the type parameter 'ListenableT'.
Try using a type that is or is a subclass of 'AutoDisposeListenable<int>'.dart[type_argument_not_matching_bounds](https://dart.dev/diagnostics/type_argument_not_matching_bounds)

But what actually happens is, the first line appears as valid but the second does not.

This issue appears to be specific to the Analyzer. Trying to execute the "passing" line fails:
void main() {
  ListenableProvider.autoDispose<Listenable<int>, int>();
}

The error we get is:
  test/foo_test.dart:23:33: Error: Type argument 'Listenable<int>' doesn't conform to the bound 'AutoDisposeListenable<T>' of the type variable 'ListenableT' on 'Builder.call'.
   - 'Listenable' is from 'test/foo_test.dart'.
   - 'AutoDisposeListenable' is from 'test/foo_test.dart'.
   - 'Builder' is from 'test/foo_test.dart'.
  Try changing type arguments so that they conform to the bounds.
    ListenableProvider.autoDispose<Listenable<int>, int>();

So the problem is only visual.

Teste on:
Dart SDK version: 2.17.6 (stable) (Tue Jul 12 12:54:37 2022 +0200) on "macos_x64"

and:
Dart SDK version: 2.19.0-97.0.dev (dev) (Mon Aug 15 05:25:32 2022 -0700) on "macos_x64"

Simplified test case:
class A {
  void call<T extends num>() {}
}

void f(A a) {
  a<String>();
}

Anything I can do to help move this forward?
This impacts a decent chunk of my users


[kfr] Add new port

/azp run

Pinging @myd7349 for response. Is work still being done for this PR?

Closing this PR since it seems that no progress is being made. Please reopen if work is still being done.

Hi! @LilyWangL  Sorry for the long delay.
I have finished all my other PRs and I think it is time to pick this one up. But I am not able to reopen it.
Can you help me reopen it? Thanks.

Hi! @LilyWangL Sorry for the long delay.
I have finished all my other PRs and I think it is time to pick this one up. But I am not able to reopen it.
Can you help me reopen it? Thanks.

Done.

/azp run

Hi, @myd7349 Now kfr build failed on Linux with the following error:
/mnt/vcpkg-ci/buildtrees/kfr/src/70ebd9a223-37f5ac66e1/include/kfr/io/impl/../../base/../simd/impl/../../base/../simd/impl/backend_generic.hpp:653:72: error: macro "_mm256_shuffle_ps" passed 7 arguments, but takes just 3
     return _mm256_shuffle_ps(t1, t2, shuffle_mask<8, 2, 3, 2, 3>::value);
                                                                        ^
/mnt/vcpkg-ci/buildtrees/kfr/src/70ebd9a223-37f5ac66e1/include/kfr/io/impl/../../base/../simd/impl/../../base/../simd/impl/backend_generic.hpp:661:72: error: macro "_mm256_shuffle_ps" passed 7 arguments, but takes just 3
     return _mm256_shuffle_ps(t1, t2, shuffle_mask<8, 0, 1, 0, 1>::value);
                                                                        ^
/mnt/vcpkg-ci/buildtrees/kfr/src/70ebd9a223-37f5ac66e1/include/kfr/io/impl/../../base/../simd/impl/../../base/../simd/impl/backend_generic.hpp:1655:82: error: macro "_mm256_shuffle_ps" passed 7 arguments, but takes just 3
             return _mm256_shuffle_ps(x, x, shuffle_mask<8, I0, I1, I2, I3>::value);
                                                                                ^
/mnt/vcpkg-ci/buildtrees/kfr/src/70ebd9a223-37f5ac66e1/include/kfr/io/impl/../../base/../simd/impl/../../base/../simd/impl/backend_generic.hpp:1676:75: error: macro "_mm256_blend_ps" passed 11 arguments, but takes just 3
                                             1 - I6 / 4, 1 - I7 / 4>::value);
                                                                           ^

Hi, @myd7349 Now kfr build failed on Linux with the following error:
/mnt/vcpkg-ci/buildtrees/kfr/src/70ebd9a223-37f5ac66e1/include/kfr/io/impl/../../base/../simd/impl/../../base/../simd/impl/backend_generic.hpp:653:72: error: macro "_mm256_shuffle_ps" passed 7 arguments, but takes just 3
     return _mm256_shuffle_ps(t1, t2, shuffle_mask<8, 2, 3, 2, 3>::value);
                                                                        ^
/mnt/vcpkg-ci/buildtrees/kfr/src/70ebd9a223-37f5ac66e1/include/kfr/io/impl/../../base/../simd/impl/../../base/../simd/impl/backend_generic.hpp:661:72: error: macro "_mm256_shuffle_ps" passed 7 arguments, but takes just 3
     return _mm256_shuffle_ps(t1, t2, shuffle_mask<8, 0, 1, 0, 1>::value);
                                                                        ^
/mnt/vcpkg-ci/buildtrees/kfr/src/70ebd9a223-37f5ac66e1/include/kfr/io/impl/../../base/../simd/impl/../../base/../simd/impl/backend_generic.hpp:1655:82: error: macro "_mm256_shuffle_ps" passed 7 arguments, but takes just 3
             return _mm256_shuffle_ps(x, x, shuffle_mask<8, I0, I1, I2, I3>::value);
                                                                                ^
/mnt/vcpkg-ci/buildtrees/kfr/src/70ebd9a223-37f5ac66e1/include/kfr/io/impl/../../base/../simd/impl/../../base/../simd/impl/backend_generic.hpp:1676:75: error: macro "_mm256_blend_ps" passed 11 arguments, but takes just 3
                                             1 - I6 / 4, 1 - I7 / 4>::value);
                                                                           ^

Hi! @LilyWangL Thanks. I will try to fix it.

LGTM, thanks for the PR!

Here's a problem: KFR doesn't compile with MSVC compiler if you enable DFT: https://github.com/kfrlib/kfr/issues/70
Not sure if there is even a way to do this in vcpkg, but it needs to be built with clang-cl compiler on Windows.


Program with error

I don't know if you need an update, but the program that was working is no longer working and displays the message below...
Traceback (most recent call last):
File "D:\DVDFabExtendDownload\dvdfab.py", line 154, in
version, index = pick([v['version'] for v in versions], 'Version')
~^^^^^^^^^^^
TypeError: string indices must be integers, not 'str'

The errors have been corrected but the script no longer works live. Archived project.


Weird Compiler Result In Terminal

Crystal version: Crystal 0.22.0 [3c71228] (2017-04-20) LLVM 3.5.0
So I had this little project which it parses PRX files with a custom parser I copied and modified from the INI library because I want to make the nestable hashes to get to work.
I used a Recursive Alias with a hash that contains a string or a hash for inferring the type but when I tried to compile it, its outputs an infinite loop-ish result like this:
[0xa9e71f] ???
[0xa9e7fb] ???
[0xa439ba] ???
[0xa438ee] ???
[0xa4cfe7] ???
[0xa48509] ???
[0xa9e71f] ???
[0xa9e7fb] ???
[0xa439ba] ???
[0xa438ee] ???

My prx_parser.cr file
require "./prx_parser/prx"
require "json"

module PrxParser
  file = ENV["HOME"] + "/Downloads/GAH Fastest PosternConfig v2.prx"
  output = PRX.parse_file(file)
  PRX.move_hash(output, "Host", "Rule")
  PRX.move_hash(output, "Rule", "PROXY GROUP")
  json_output = output.reject!("Host").to_pretty_json
  json_file = File.new("output.json", mode: "w+")
  json_file.puts(json_output)
  json_file.close
end

My prx.cr file
class PRX
  # Parses INI-style configuration from the given string.
  #
  # ```
  # PRX.parse("[foo]\na = 1") # => {"foo" => {"a" => "1"}}
  # ```
  alias RecursiveHashType = String | Hash(String, RecursiveHashType | String)

  def self.parse_file(file : String)
    output = File.read_lines(file).join("\n")
    self.parse(output)
  end

  def self.parse(str) : PRX::RecursiveHashType
    prx = {} of String => PRX::RecursiveHashType

    section = ""
    str.lines.each do |line|
      if line =~ /\s*(.*[^\s])\s*=\s*(.*[^\s])/
        prx[section] ||= {} of String => PRX::RecursiveHashType if section == ""
        prx[section][$1] = $2
      elsif line =~ /\[(.*)\]/
        section = $1
        prx[section] = {} of String => PRX::RecursiveHashType
      end
    end
    prx
  end

  def self.move_hash(hash, del_key, new_key) : Hash
    hash[new_key][del_key] = hash.delete(del_key)
  end
end

Also, I am also confused if i will ask it here or in SO because I do not how to make this thing work in Crystal and also it is both a question and bug report lol.
Any suggestions how can I achieve of hash with nestable hashes inside to avoid that weird loop thing?

The alias could be alias RecursiveHashType = String | Hash(String, RecursiveHashType) that will pass the compiler exception you are getting and point other type errors, but without crashing the compiler like:
prx[section] ||= {} of String => PRX::RecursiveHashType if section == ""
prx[section][$1] = $2

there is no guarantee prx[section] is a Hash. it could be a String in the second line.
Something equivalent to prx[section] ||= ({} of String => PRX::RecursiveHashType).tap { |h| h[$1] = $2 } could work.
But there are more type issues.
Even so, the compiler should not crash that badly. I reduced to this, using different h[""] lines it crash in a different way.
alias RecursiveHashType = String | Hash(String, RecursiveHashType | String)

h = {} of String => RecursiveHashType
h[""] = ({} of String => RecursiveHashType) # crash with log
h[""] = Hash(String, RecursiveHashType | String).new # crash with log
h[""] = ({} of String => (RecursiveHashType | String)) # crash without log

$ crystal build foo.cr
Invalid memory access (signal 11) at address 0x7fff5b7e1fc0
[0x103c5c262] __crystal_sigfault_handler +66
[0x7fffdaceebba] _sigtramp +26
[0x104173f95] *Crystal::Type+@Crystal::Type#restrict<Crystal::Type+, Crystal::MatchContext>:(Crystal::Type+ | Nil) +21
[0x10412539d] *Crystal::GenericInstanceType+@Crystal::GenericInstanceType#restrict_type_var<Crystal::ASTNode+, Crystal::ASTNode+, Crystal::MatchContext>:(Bool | Crystal::NamedTupleInstanceType | Crystal::NumberLiteral | Nil) +2077
[0x104120209] *Crystal::GenericInstanceType+@Crystal::GenericInstanceType#restrict<Crystal::GenericInstanceType+, Crystal::MatchContext>:(Crystal::GenericInstanceType+ | Nil) +169
[0x104173c0f] *Crystal::Type+@Crystal::Type#restrict<Crystal::UnionType+, Crystal::MatchContext>:(Crystal::Type+ | Nil) +447

Duplicate of https://github.com/crystal-lang/crystal/issues/3804
Not exactly exactly the same, but fixing one should fix the other.


added awwesome chart for Kubernetes deployments

Hey, I built a Helm chart for this aw(w)esome software.
The chart includes a cronjob that repeatedly rebuilds awwesome and an nginx deployment that can display awwesome. Additionally, there is, of course, a service and an ingress to make it available on the internet. To ensure an initial state is available, it is set up through an initContainer.
The Helm chart is listed on ArtifactHub as of today. I hope this isn't a problem for you. If it is, just let me know.
Finally, I want to thank you for the great project and I’m looking forward to the next release.

This is awesome ;) Thank you very much!


Provide option to allow reference to a class in the root namespace without an import

Type: feature
Issue: Resolves #.. the corresponding issue for this PR (if exist)
Breaking change: no
Add a property to allow referring to classes in the root namespace without an import/use statement. This is required
in order to use the MissingImport rule with Drupal Coding Standards (The drupal-coder project issues a warning if
a use statement is found that references something in the root namespace such as \PDO or \Exception)
Adding a New Rule Property

Add the new property to rule set XML, e.g. src/main/resources/rulesets/cleancode.xml
Add documentation for the new property, e.g. src/site/rst/rules/cleancode.rst
Implement new property in rule, e.g. src/main/php/PHPMD/Rule/CleanCode/MissingImport.php
Cover cases for the new property in rule test, e.g. src/test/php/PHPMD/Rule/CleanCode/MissingImportTest.php
-- Cover the case when the new property is not set and the rule should not apply
(covered by existing tests)
-- Cover the case when the new property is not set and the rule should apply
(covered by existing tests)
-- Cover case when the new property is set and the rule should not apply
(covered by MissingImportTest::testRuleDoesNotApplyWhenSuppressed)
-- Cover case when the new property is set and the rule should apply
(covered by MissingImportTest::testRuleDoesNotApplyWhenSuppressed)
-- Cover edge cases of the new property, if any
(added a test to ensure that imports are required when class is not in root namespace)

Hello, sorry for the failure while fixing conflict. I wanted to be sure the ignore-global could fit the same need keeping your unit test. I will try to find why it does not give the same tests results.

Thank you 🙏

No problem. Thanks for adding it to the milestone and updating my initial work. I"m looking forward to being able to use PHPMD in our Drupal projects again without needing a patch.


feat: add crd import command to register new types via local, remote or cluster CRD

You can quickly test this by running npx ts-node src/cli.ts crd <args>

Thanks will merge now so we can start using internally with the expectation we will want to add more tests/docs as we have validated the functionally more in the wild.


Build break on master branch?

Hi,
When exec bootstrap.sh, I saw it needs install grpc&protobuf using travis/install_grpc.sh.
But there is no Makefile generated after make executed in grpc root dir. so the make install
while not work for third_party/protobuf, will you please make a check(maybe using ./autogen.sh && ./configure && make instead?)?
//install_grpc.sh
# build everything
make

# install protobuf side (it was already built by the 'make' earlier)
cd third_party/protobuf
if [ -n "$grpc_dist" ]; then
  make install prefix=$grpc_dist/usr/local
else
  make install
fi

Also the gmock link in the protobuf with grpc v1.0.0 no longger available
commit bba446bbf2ac7b0b9923d4eb07d5acd0665a8cf0
Author: Feng Xiao<EMAIL_ADDRESS>Date:   Thu Aug 25 14:28:59 2016 -0700

    Update gmock links.

    The original link is no longer available.

    Change-Id: I2976d3f19c8e818689549fb31ff20af8eae92a07

In the past, we've seen this happen if you have protobuf installed system-wide already. The grpc make command will skip generating the protobuf Makefile in that case. Do you have protobuf installed already?
For the gmock problem, I'm not sure what's best. Ideally we could wait until a new grpc patch release so we don't have to pin a commit between releases, but I don't know when their next release will be. Is the gmock problem causing the build to actually fail?

Thanks, I have protobuf installed on my system and the gmock download link broken make the compile failed, Now I manually fix the link and make it works. Maybe we need wait for grpc's next release. thanks again:)


Fails to operate properly

Environment
Electron: 1.7.5, Win10 (latest)
Using webpack (if that matters) and TypeScript. Can provide more information if necessary.
Issue
Using the exact copy/paste example given in the readme, I recieve:
Reading C:\dev\PROJECT\dist\manifest.json failed.
Error: ENOENT: no such file or directory, open 'C:\dev\PROJECT\dist\manifest.json'
    at Object.fs.openSync (fs.js:584:18)
    at Object.module.(anonymous function) [as openSync] (ELECTRON_ASAR.js:173:20)
    at Object.fs.readFileSync (fs.js:491:33)
    at Object.fs.readFileSync (ELECTRON_ASAR.js:506:29)
    at getManifestFromPath (C:\dev\PROJECT\node_modules\electron\dist\resources\electron.asar\browser\chrome-extension.js:34:26)
    at Function.BrowserWindow.addDevToolsExtension (C:\dev\PROJECT\node_modules\electron\dist\resources\electron.asar\browser\chrome-extension.js:373:22)
    at App.app.on (C:\dev\PROJECT\dist\main.js:396:19)
    at emitTwo (events.js:111:20)
    at App.emit (events.js:194:7)

However, it SEMI works when executed within app.on('ready', => {}).....  {showDevTools: true} doesn't wait for anything and just focuses the active window and operates correctly.
But there is one HUGE caveat.
Since it's executed WITHIN this handler, it never adds the localShortcuts or actually install the devtron extension since the event has already fired.
Suggestion:
Utilize app.isReady() to execute immediately if Ready, and add handler if not... or alter flow of operations.

OK... After much tinkering, the initial error I posted was due to this module bundling into my webpack output.
However, I think due to my app growing, some initialization timing affects the extensions directory to be writable, since Electron hasn't fully initialized it's AppData folder. To resolve, I must wait until my own app.on('ready', => {}) executes (as mentioned before).
This is also detailed in Electron's docs regarding BrowserWindow.addDevToolsExtension:

Note: This API cannot be called before the ready event of the app module is emitted.

Furthermore, this module relies too much on timing and requires a BrowserWindow to appear AFTER the module has been called. I am also using electron-devtools-installer and wait until it is finished before calling electron-debug's initializing function. At the same time I've already initialized the rest of the app to speed up response-time during dev.
I have a PR coming soon to fix a lot of these issues, hopefully it satisfies everyone having lifecycle issues.

Closing as https://github.com/sindresorhus/electron-debug/pull/57 went stale and I'm now using https://github.com/sindresorhus/electron-debug/blob/d25c72a77f3da2ad82643045b1dad8b88dd791e7/index.js#L94


Working offline: NaturalEarthII and missing assets

Hello all,
I recently downloaded cesium via npm and have integrated into my project for evaluation. I need to use offline mode per my project requirements, so I followed this guide.
I have been able to successfully render a Cesium "hello world" using the following code:
        this.viewer = new Cesium.Viewer('cesiumContainer', {
            imageryProvider: Cesium.createTileMapServiceImageryProvider({
                url: Cesium.buildModuleUrl('/node_modules/cesium/Build/Cesium/Assets/Textures/NaturalEarthII')
            }),
            baseLayerPicker: false,
            geocoder: false
        });

However, I notice the following problems:
== Missing Assets ==
My application attempts to load assets for NaturalEarthII from texture folders which don't exist in the npm download:

/Assets/Textures/NaturalEarthII/3/
/Assets/Textures/NaturalEarthII/4/
/Assets/Textures/NaturalEarthII/5/

After a bit of digging, I found that these assets actually belong to a separate cesium assets project, and that I can turn off their requests by adding maximumLevel : 2 to my Viewer config.
Just thought that maybe the offline docs should be updated.
== Wrong file types ==
Although setting maximumLevel : 2 did solve the "missing assets" problem above, I still see requests for /Assets/Textures/NaturalEarthII/2/3/3.png -- yet the actual file names in the npm download are .jpg file types. Obviously this prevents any textures from displaying on my blue globe.
How does one fix this?

...actually upon further inspection it turns out I had an incorrect url defined. It should have been this:
    url: Cesium.buildModuleUrl('/Assets/Textures/NaturalEarthII')

Not sure why it was then looking for PNG images (rather than the JPGs), but maybe that's an artifact of the imagery provider defaulting to PNG.
Although I do think the offline docs should be updated to include the maximumLevel: 2 config, I'll close this issue since I have resolved all of my problems.


Use apps/v1 for deployment

Needed for chart-operator e2e in https://github.com/giantswarm/chart-operator/pull/340.

Going with a ping.


Making a clone.

I would like to make a clone of my system so I have a backup, Would it just be a matter of formatting a usb drive as guid and using something like Carbon Copy then mounting both efi partitions on both drive's and copying one to the other ??

Hi, this isn't a support forum. Please try insanelymac.com or reddit.com/r/hackintosh with your questions.
But yes, if you CCC your OS install and copy the contents of EFI (or boot from USB and run HaC Mini installer again), it should work.


Ink annotation popup not shown

Attach (recommended) or Link to PDF file here:
ink_annotation.pdf
Configuration:

Web browser and its version: Firefox Developer 70.0b3 (64-bit)
Operating system and its version: Windows 10 1903 18362.329
PDF.js version: Demo page
Is a browser extension: No

Steps to reproduce the problem:

Open the file
Popup for the ink annotation which has line width 1 is not shown

What is the expected behavior?
When the cursor is over the ink annotation, the popup annotation should show up as a hover element.
What went wrong?
The problem seems to be how PDF.js handles default missing 'BS' entries in the annotation dictionary. According to the standard a BorderStyle entry with width 1 and style solid is a default entry and doesn't need to be serialized. PDF.js seems to rely on this entry for the popup detection/display and when it's missing the popup does not show.

Indeed, here's one with /BS <<W 1>> added and now it appears.
ink_annotation-BS1.pdf


Modularization of files and nice details implemented

Separated files within their scope (utils, dataloaders, models, parsers) and implemented nice training details as:

tqdm progress bar for each pruning_iter - showing the accuracy of the last epoch during that iteration
DataParallel to train models several GPUs

Hi @fcorencoret, thank you for your interest in our repository.
We are currently busy but hope to get back to this PR ASAP.

Hi @fcorencoret , we will merge your PR to a new branch dev. We would like to keep master intact for now.


Added basic formatter and refactored common functions

This PR adds a "basic" log formatter with no GCP specific log entries. In addition, any shared logging functions between the GCP version and the basic version have been extracted out into a separate module.
This PR is still in progress (i.e needs tests and doc updates)...but I just wanted to make sure this is inline with what you had in mind.
Any input is appreciated. Thanks!

Coverage decreased (-1.5%) to 72.189% when pulling fb6af38b34f1766879d100afcce11583501aa3ed on akoutmos:master into d01f0bccf5571473b5afc816ddcf7e02869abe9a on Nebo15:master.

Coverage decreased (-0.9%) to 72.781% when pulling fb6af38b34f1766879d100afcce11583501aa3ed on akoutmos:master into d01f0bccf5571473b5afc816ddcf7e02869abe9a on Nebo15:master.

Coverage decreased (-1.5%) to 72.189% when pulling fb6af38b34f1766879d100afcce11583501aa3ed on akoutmos:master into d01f0bccf5571473b5afc816ddcf7e02869abe9a on Nebo15:master.

@akoutmos this approach looks good for me ❤, feel free to finish the PR. You can also change the default formatter to be a generic instead of GCL one.

Updated the PR with tests and some other little odds and ends. Still trying to sort out why Travis is failing as on my local machine tests run through without issue (good old "works on my machine" excuse i know lol). I'll take a look at it tomorrow with a fresh head and see if I can figure it out. Let me know if you have any thoughts in the mean time.
Output from passing local tests:
$ mix test --trace

LoggerJSONGoogleTest
  * test on_init/1 callback raises when invalid (3.2ms)
  * test logs iodata messages (5.8ms)
  * test contains source location (0.2ms)
  * test logs initial call when present (0.1ms)
  * test logs erlang style crash reasons (0.8ms)
  * test logs crash reason when present (0.1ms)
  * test logs severity (0.2ms)
  * test log message does not break escaping (0.2ms)
  * test metadata can be configured (0.2ms)
  * test metadata can be empty (0.1ms)
  * test configure_log_level!/1 raises on invalid LOG_LEVEL (0.6ms)
  * test metadata can be configured to :all (0.1ms)
  * test may use another device (0.1ms)
  * test configure_log_level!/1 configures log level with valid string value (0.03ms)
  * test configure_log_level!/1 configures log level with valid atom value (0.03ms)
  * test on_init/1 callback is triggered (0.1ms)
  * test logs empty binary messages (0.1ms)
  * test logs empty iodata messages (0.1ms)
  * test does not start when there is no user (0.1ms)
  * test logs binary messages (0.1ms)
  * test configure_log_level!/1 tolerates nil values (0.02ms)
  * test may configure level (0.1ms)

LoggerJSON.PlugTest
  * test takes values from request headers (10.1ms)
  * test logs request information (0.5ms)

LoggerJSON.EctoTest
  * test logs ecto queries received via telemetry event (0.1ms)
  * test logs ecto queries with debug level (0.1ms)
  * test logs ecto queries (0.1ms)

LoggerJSONBasicTest
  * test metadata can be empty (0.6ms)
  * test metadata can be configured to :all (0.1ms)
  * test metadata can be configured (0.1ms)

Finished in 0.1 seconds
30 tests, 0 failures

Randomized with seed 468156
$ cat ~/.tool-versions
elixir 1.9.4
erlang 22.1.6

@AndrewDryga I went ahead and fixed the race conditions that existed in the tests as a result of the new default formatter. I ran mix test; while [ $? -ne 1 ]; do mix test; done for a while on my machine and could not trigger a failed test.
Let me know what you think and we'll take it from there. Thanks!

Hey @AndrewDryga. Any chance you were able to take a look at this? I'm actually looking at leveraging this in a production app very soon. Thanks a bunch!!

Thank you for your awesome work @akoutmos ❤

Thanks for the awesome library :D!


Update to CCU3 Firmware 3.41.7

Released in testing.

Will not be included in stable repository, as the firmware 3.41.11 fixes some issues and will be included in #93


Related workloads have to be displayed in details

Description
As a user, I want to see in UI the related workloads. We have to investigate where is it didn't display.

Reasons
Some resources have matchLabels and Selectors and we aren't displaying it in UI.

please have in mind https://github.com/kyma-project/busola/issues/972


Color alpha method broke, here's the fix

I left your original code commented out (its broke and doesn't work) and replace it with a fix
- (UIColor *)createColorFromOtherColor:(UIColor *)color withAlpha:(CGFloat)alpha
{

     return [color colorWithAlphaComponent:alpha];

/*
const CGFloat* components = CGColorGetComponents(color.CGColor);
return [UIColor colorWithRed:components[0] green:components[1] blue:components[2] alpha:alpha];
 */
}

@MobileMon Thank you so much! It seems that I've missed this handy method. I've just fixed that.


Outbox messaging pattern. Preview feature

Docs and diagrams for the Outbox pattern covered here https://github.com/dapr/dapr/pull/6755 and here https://github.com/dapr/dapr/issues/4233

Update https://docs.dapr.io/developing-applications/building-blocks/state-management/state-management-overview/ section to include outbox pattern
create a new topic under https://docs.dapr.io/developing-applications/building-blocks/state-management/ called "How To: Use outbox to save state and send messages". This is a step by step guide to set up a state store and pub/sub components.
Create a diagram for 2) showing how this works
Include any best practices and guidance
Update the list of preview features https://docs.dapr.io/operations/support/support-preview-features/

Completed


PackageManager.GET_SIGNATURES deprecated

https://developer.android.com/reference/android/content/pm/PackageManager#GET_SIGNATURES

ADO Tracking (corpnet reqd):

https://identitydivision.visualstudio.com/Engineering/_workitems/edit/1226177

@gitaumoses4 assigning to you, since you have picked up the ADO ticket


[FLOC-4498] Get compute_instance_id from metadata file on configdrive

Fixes: https://clusterhq.atlassian.net/browse/FLOC-4498
Stacked on: #2910
This replaces #2901
This is a better tested version of the config drive code in #2901.
This will also work on OpenStack if nodes are booted with the configdrive option.
I've run the Rackspace acceptance tests for this branch.
If my calculations are correct, we should be  able to see flocker-dataset-agent successfully mounting the ConfigDrive (config-2) and getting the instance ID from there.
This is followed by #2909 a branch that adds a mechanism to query the metadata service if the configdrive is not available.

Thanks for the review @vchernoy
Your comments made me realise that I'd  overcomplicated things.
I've reorganised so that mount and temporary_mount can be used for mounting filesystems by label or by device path.
Also removed the unnecessary config_drive context manager and added more reliable cleanup of loop devices and mounts when tests fail.
I'll merge this if If all the tests pass.

All this Python and Twisted look to me overcomplicated (over abstracted). Too many (abstract) classes, interfaces and hierarchies. I feel like it is Java style but harder to understand because it has everything-dynamic.
IMHO, having an interface and abstract class for FilePath is over kill, unless I miss something, which is very likely.
Will try to make next review quicker.


Support casting from integer to binary

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

The cast kernel doesn't support casting from integer to binary. While working on integrating DataFusion, found that this is supported by Spark but lacked in DataFusion. It's great if we can fill the gap.
Describe the solution you'd like

Support casting from integer to binary
Describe alternatives you've considered

Additional context

label_issue.py automatically added labels {'arrow'} from #5015


Inline fulfillment: Node version upgrade

Team, I'm trying to update the version of node in one of my agent. I have tried the "engines" configuration in packages.json file but it did not make any difference and still kept it with version 6. Any suggestions?

Open firebase and then try to config you cloud functions to work properly


Run nightly.yml only once a year

Temporary disable the GHA workflow without admin rights to see GHA Enable/disable button

fyi @lucamolteni

can we merge it? @lucamolteni