HDFS-16879. EC: Fsck -blockId shows number of redundant internal block replicas for EC Blocks

Description of PR
HDFS-16879
For the block of the ec file run hdfs fsck -blockId xxx can add shows number of redundant internal block replicas.
For code changes:
for example: the current blockgroup has 10 live replicas, and it will show there are 9 live replicas.
actually, there is a live replica that should be in the redundant state, can add shows "No. of redundant Replica: 1"
hdfs fsck -blockId blk_-xxx

Block Id: blk_-xxx
Block belongs to: /ec/file1
No. of Expected Replica: 9
No. of live Replica: 9
No. of excess Replica: 0
No. of stale Replica: 0
No. of decommissioned Replica: 0
No. of decommissioning Replica: 0
No. of corrupted Replica: 0
Block replica on datanode/rack: ip-xxx1 is HEALTHY
Block replica on datanode/rack: ip-xxx2 is HEALTHY
Block replica on datanode/rack: ip-xxx3 is HEALTHY
Block replica on datanode/rack: ip-xxx4 is HEALTHY
Block replica on datanode/rack: ip-xxx5 is HEALTHY
Block replica on datanode/rack: ip-xxx6 is HEALTHY
Block replica on datanode/rack: ip-xxx7 is HEALTHY
Block replica on datanode/rack: ip-xxx8 is HEALTHY
Block replica on datanode/rack: ip-xxx9 is HEALTHY
Block replica on datanode/rack: ip-xxx10 is HEALTHY

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 47s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
40m 55s

trunk passed

+1 :green_heart:
compile
1m 28s

trunk passed with JDK Ubuntu-11.0.17+8-post-Ubuntu-1ubuntu220.04

+1 :green_heart:
compile
1m 19s

trunk passed with JDK Private Build-1.8.0_352-8u352-ga-1~20.04-b08

+1 :green_heart:
checkstyle
1m  7s

trunk passed

+1 :green_heart:
mvnsite
1m 29s

trunk passed

+1 :green_heart:
javadoc
1m  6s

trunk passed with JDK Ubuntu-11.0.17+8-post-Ubuntu-1ubuntu220.04

+1 :green_heart:
javadoc
1m 30s

trunk passed with JDK Private Build-1.8.0_352-8u352-ga-1~20.04-b08

+1 :green_heart:
spotbugs
3m 31s

trunk passed

+1 :green_heart:
shadedclient
25m 17s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 18s

the patch passed

+1 :green_heart:
compile
1m 21s

the patch passed with JDK Ubuntu-11.0.17+8-post-Ubuntu-1ubuntu220.04

+1 :green_heart:
javac
1m 21s

the patch passed

+1 :green_heart:
compile
1m 14s

the patch passed with JDK Private Build-1.8.0_352-8u352-ga-1~20.04-b08

+1 :green_heart:
javac
1m 14s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 54s

the patch passed

+1 :green_heart:
mvnsite
1m 21s

the patch passed

+1 :green_heart:
javadoc
0m 52s

the patch passed with JDK Ubuntu-11.0.17+8-post-Ubuntu-1ubuntu220.04

+1 :green_heart:
javadoc
1m 25s

the patch passed with JDK Private Build-1.8.0_352-8u352-ga-1~20.04-b08

+1 :green_heart:
spotbugs
3m 28s

the patch passed

+1 :green_heart:
shadedclient
25m  7s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
383m  1s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 41s

The patch does not generate ASF License warnings.

496m 32s

Reason
Tests

Failed junit tests
hadoop.hdfs.TestLeaseRecovery2

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5264/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/5264

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux e4c1bbe0ebc5 4.15.0-197-generic #208-Ubuntu SMP Tue Nov 1 17:23:37 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 18a55dd577f32e2010de118c13533e9150eb1302

Default Java
Private Build-1.8.0_352-8u352-ga-1~20.04-b08

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.17+8-post-Ubuntu-1ubuntu220.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_352-8u352-ga-1~20.04-b08

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5264/1/testReport/

Max. process+thread count
2217 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5264/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

Hi @ZanderXu @tomscut @tasanuma please help me review this pr when you are available, Thanks.

Get, Thanks @dineshchitlangia help review it.

The failed UT hadoop.hdfs.TestLeaseRecovery2 is traced by HDFS-16853.


Mention Play 2 routes plugin for intellij

There's no harm in adding the Play2 routes plugin, although it didn't make a difference for me as I wasn't having issues with the routes as far as I can tell.


Make the ploidy_table output a final output in JoinRawCalls

The ploidy table is currently an intermediate output in JoinRawCalls. This file is required for further downstream analysis and is a necessary input for FilterGenotypes. Thus it should be a final output of the workflow.
The JoinRawCalls wd. has been adjusted to make the ploidy table generated by calling  CreatePloidyTableFromPed from the TasksClusterBatch.wdl a final output of the entire wdl.
This passed validation with both womtool and cromshell against the reference panel.

This issues has been resolved.


Create effort_bullets() function

Similar to #201, the Rmd source code could be massively simplified with a function effort_bullets() that takes effort_info as input and returns the appropriate markdown formatted bullet list as output.
This is labeled low priority at this time because it is not required to make either #177 or #178 function properly. It is not included in the 2023 updates milestone currently for the same reason.

Closed by #218


Loading indicators heavily impact diffing performance

Package
filament/tables
Package Version
v2.x
Laravel Version
Any
Livewire Version
Any
PHP Version
Any
Problem description
When filtering/updating tables with large datasets the tables' loading indicators cause massive performance issues, sometimes taking a 800ms request up to 10s in total time. A reload is faster than request via Livewire.
250 records with 4 columns will result in 1000 loading indicators.
Example: Filtering 292 items to 41 items:
https://user-images.githubusercontent.com/22632550/206466920-508fd08d-d18a-42cf-9a27-a8448508ab05.mov
Expected behavior
Faster loading:
https://user-images.githubusercontent.com/22632550/206466733-089fcc45-4834-4261-b0a3-e8c6d10f1f6e.mov
Steps to reproduce

Large table with > 100/200 entries.
Filter from All to a small set

Reproduction repository
2 private repos available from me and "hmihail"
Relevant log output
No response

Closing as stale.


Implement OctetCounting described in RFC6587 section 3.4.1

Motivation:
We are using Nifi which is using netty, and need to be able to parse Octet Counting frames (see RFC6587 section 3.4.1).
Changes:

add OctetCountingFrameDecoder.java
add tests via OctetCountingFrameDecoderTest.java
update metadata in reflect-config.json (as needed to pass tests)

Does this PR make sense ? Will adding this Decoder be useful to other people ?

Also, it might be easier to review the code while comparing OctetCountingFrameDecoder.java with LengthFieldBasedFrameDecoder.java since a big part of the code comes from here.

This looks specific to syslog over TCP. I think it's too niche for including in Netty directly.

Unsure if we need a dedicated handler just for handling Syslog frames.

Yes it was created for syslog, but it's suite simple ("LENGTH SPACE
CONTENT") and could be used for other purpose.
Le mar. 5 sept. 2023, 21:51, Aayush Atharva @.***> a
écrit :

Unsure if we need a dedicated handler just for handling Syslog frames.
—
Reply to this email directly, view it on GitHub
https://github.com/netty/netty/pull/13583#issuecomment-1707223310, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AFTYW7NL63TEYYEJSEDA6W3XY57F5ANCNFSM6AAAAAA4IRFQHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

Yeah I also feel that this might be better suited for an external repository


Cannot retrieve a correct property value of an input module

pyMODI version: 0.7.0
Python version: 3.7
Operating System: Windows 10

Description
A single call of getter methods of the input modules does not return the correct state of the module.
What I Expected
In an initial call of a method of an input module, the module should return the correct property value.

Please attach a relevant python script for reproducing the issue.

This issue has been addressed recently. The code will be merged in the next version, 0.9.0.


using ShortLivedSentinel for all sentinel connections

Coverage increased (+0.2%) to 98.02% when pulling 15f81967d9e9c30a83200dc84f5ca5c00a8ac794 on short-lived-sentinel into bd3eacfb5309b7a28634feae8d3786592e7eee2c on master.


Added Custom Range Slider

Related Issue

Added Custom Range Slider

Closes: #1549 will be closed through this PR](Custom Range Slider (#1549))
Describe the changes you've made
Added Custom Range Slider
Describe if there is any unusual behaviour of your code(Write NA if there isn't)
NA
Checklist:

[ ✔] My code follows the style guidelines of this project.
[✔ ] I have performed a self-review of my own code.
[✔ ] I have commented my code, particularly in hard-to-understand areas.
[✔ ] I have made corresponding changes to the documentation.
[✔ ] New and existing unit tests pass locally with my changes.

Screenshots
Put any screenshot(s) of the project here.

@Rizwan-S please review my PR


GetBestRMS with turned off alignment for molecular docking purposes

Reference Issue

https://github.com/rdkit/rdkit/issues/1820
What does this implement/fix? Explain your changes.
Two common tasks in molecular docking results analysis are comparing predicted poses of a molecule with the reference one, and clustering the predicted poses. An extension of the current RDKit's function for symmetry-adapted RMSD computation would be helpful in such cases, where two molecules are compared with respect to their positions in a binding pocket, and alignment is excessive.
Any other comments?
Nope

@greglandrum
Thank you for the comment, this definitely looks nicer and less kludgy, I am implementing it now.
However, I have some questions about the weights argument.
Are all the matches ordered in the same way so that weights will be always applied to what they are supposed to be applied?
Is it guaranteed that all matches will be of the same size so that the check for weights size / initialization of the weights vector with ones could be done once for all matches?

@chmnk, the code assumes that the ordering of the weights is the same as the ordering of atomMap. If atomMap is not provided, then weights should correspond to the atom ordering in prbMol

I am rerunning that one random failure just to be sure; then I will merge

@chmnk : thanks for this contribution!

@greglandrum looks like I have forgotten some trailing whitespaces in several lines :0
I apologize for that, should I make a small commit that removes them?

@chmnk that would be fine
I would suggest installing clang-format and using that together with the formatting conventions that are in the rdkit source tree (it should identify these on its own).


Late links

test suite goes from 20min to 7min with by avoiding unneeded requests.
and goes to 4min by parallelizing

@jdries , I did not make the make a flag to change the behaviour yet. But in this MR, the times goes down till 1/5th


App doesn't launch - 404: "Not found" error

After I start the app and then enter the URL (http://localhost:8080) in a browser (Brave, Firefox), nothing shows in the browser, but the terminal shows the following error message(s):
Brave error:

Firefox error:

Running this on Ubuntu 16.04 LTS.
Any tips on how to get this running? Thanks for looking into this!

Did you build the app first?
npm install
grunt
On Tue, Jul 30, 2019 at 8:35 AM kubu4<EMAIL_ADDRESS>wrote:

After I start the app and then enter the URL (http://localhost:8080) in a
browser (Brave, Firefox), nothing shows in the browser, but the terminal
shows the following error message(s):
Brave error:
[image: 20190730_002]
https://user-images.githubusercontent.com/4514104/62143405-cb7f2980-b2a4-11e9-8513-ec7a9b3c9fb1.png
Firefox error:
[image: 20190730_001]
https://user-images.githubusercontent.com/4514104/62143256-89ee7e80-b2a4-11e9-907a-b326b0c30d88.png
Running this on Ubuntu 16.04 LTS.
Any tips on how to get this running? Thanks for looking into this!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/igvteam/igv-webapp/issues/102?email_source=notifications&email_token=AAHD2HET5VT2LVK3N5RAQ7DQCBNTFA5CNFSM4IH5VNJ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HCKWMDA,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHD2HFHNGQOCSGBDREAIR3QCBNTFANCNFSM4IH5VNJQ
.

Yes. Followed install instructions and then ran npm start.
Although, now that you mention it, running grunt did (and, still does) throw this error:
No command 'grunt' found, did you mean:
 Command 'grun' from package 'grun' (universe)
grunt: command not found

I ran npm install grunt, thinking that would take care of the grunt problem. Maybe this is the underlying issue!

Yes that would be an issue (no grunt).   However "npm install" should have
installed it, its listed as a dev dependency,  but perhaps there's an issue
there.   Install grunt and grunt-cli,  to install it globally you might
need to do so as "sudo".
On Tue, Jul 30, 2019 at 2:24 PM kubu4<EMAIL_ADDRESS>wrote:

Yes. Followed install instructions and then ran npm start.
Although, now that you mention it, running grunt did (and, still does)
throw this error:
No command 'grunt' found, did you mean:
Command 'grun' from package 'grun' (universe)
grunt: command not found
I ran npm install grunt, thinking that would take care of the grunt
problem. Maybe this is the underlying issue!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/igvteam/igv-webapp/issues/102?email_source=notifications&email_token=AAHD2HF3JQLCPY4PDQ4PLH3QCCWP3A5CNFSM4IH5VNJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3FLN2Y#issuecomment-516601579,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHD2HCY2BAZTJWLDEXGDWLQCCWP3ANCNFSM4IH5VNJQ
.

Thanks. Will report back shortly (once I figure out how to install grunt and grunt-cli).

Awesome! Thanks! That did it:
sudo npm install -g grunt-cli
grunt
npm start
Voila!

@kubu4 , the exact steps does not seem to work for me
$ npm install -g grunt-cli      # i do not have sudo
Getting an error while running grunt command
$ grunt
grunt-cli: The grunt command line interface. (v0.1.11)
Fatal error: Unable to find local grunt.

did some google search and then tried:
$ cd igv-webapp
npm install grunt --save-dev
but now it asks for specific guntfile...
$ grunt
A valid Gruntfile could not be found. Please see the getting started guide for
more information on how to configure grunt: http://gruntjs.com/getting-started
Fatal error: Unable to find Gruntfile.

Not sure how to make a gruntfile that would work...
Thanks

@iiiir Grunt has nothing to do with this, its not even used anymore.

@jrobinso ,thanks!


feat: add lz4 to SnapshotSegment::Headers

Adds compression to Header static file segments.
Holesky near tip
Before: 510MB
After: 352MB
On previous tests done before, there wasn't a noticeable impact on read performance, but will use flood to confirm it. So pending merge
Not adding for other segments, since they already leverage the codec compression (global zstd dictionary)

cryo blocks --blocks 0:900k --csv
Run this a couple times on both branches and didn't see a difference so merging this.


The plugin does not run with the 1PageCheckout

I have the version v2.6.1 of commerce: seo in use and the plugin installed.
The plugin runs only in normal checkout, but unfortunately not in the 1PageCheckout.
Can someone customize the module?

Does anyone have an idea how to get the module running in the AJAX checkout process?
The problem is only due to the fact that saving does not work. The save button flashes permanently ...


Add support for Fal's fast Flux training

How to train Flux on your own images using Fal

The sample snippets below walk through how to create your own headshot model using aiproxy.pro and fal.ai
Convenience methods simplify the process of:

Uploading training data to Fal's media server
Kicking off a training
Polling for training complete
Kicking off an inference on the newly created model
Polling for inference complete

Customers can copy and paste the snippets below into their apps, and then modify the arguments in FalFluxLoRAFastTrainingInputSchema and FalFluxLoRAInputSchema to suit their needs

Upload training data to Fal
Your training data must be a zip file of images. You can either pull the zip from assets (what
I do here), or construct the zip in memory:
import AIProxy

let falService = AIProxy.falService(
    partialKey: "partial-key-from-your-developer-dashboard",
    serviceURL: "service-url-from-your-developer-dashboard"
)

// Get the images to train with:
guard let trainingData = NSDataAsset(name: "training") else {
    print("Drop training.zip file into Assets first")
    return
}

do {
    let url = try await falService.uploadTrainingZipFile(
        zipData: trainingData.data,
        name: "training.zip"
    )
    print("Training file uploaded. Find it at \(url.absoluteString)")
}  catch AIProxyError.unsuccessfulRequest(let statusCode, let responseBody) {
    print("Received non-200 status code: \(statusCode) with response body: \(responseBody)")
} catch {
    print("Could not upload file to Fal: \(error.localizedDescription)")
}

Train fal-ai/flux-lora-fast-training using your uploaded data
Using the URL returned in the step above:
let input = FalFluxLoRAFastTrainingInputSchema(
    imagesDataURL: <url-from-step-above>
    triggerWord: "face"
)
do {
    let output = try await falService.createFluxLoRAFastTraining(input: input)
    print("""
          Fal's Flux LoRA fast trainer is complete.
          Your weights are at: \(output.diffusersLoraFile?.url?.absoluteString ?? "")
          """)
}  catch AIProxyError.unsuccessfulRequest(let statusCode, let responseBody) {
    print("Received non-200 status code: \(statusCode) with response body: \(responseBody)")
} catch {
    print("Could not create Fal Flux training: \(error.localizedDescription)")
}

See FalFluxLoRAFastTrainingInputSchema.swift for the full range of training controls.
Run inference on your trained model
Using the LoRA URL returned in the step above:
    let inputSchema = FalFluxLoRAInputSchema(
        prompt: "face on a blimp over Monument Valley, Utah",
        loras: [
            .init(
                path: <lora-url-from-step-above>
                scale: 0.9
            )
        ],
        numImages: 2,
        outputFormat: .jpeg
    )
    do {
        let output = try await falService.createFluxLoRAImage(input: inputSchema)
        print("""
              Fal's Flux LoRA inference is complete.
              Your images are at: \(output.images?.compactMap {$0.url?.absoluteString} ?? [])
              """)
    }  catch AIProxyError.unsuccessfulRequest(let statusCode, let responseBody) {
        print("Received non-200 status code: \(statusCode) with response body: \(responseBody)")
    } catch {
        print("Could not create Fal LoRA image: \(error.localizedDescription)")
    }

See FalFluxLoRAInputSchema.swift for the full range of inference controls

The sample snippets below walk through how to create your own headshot model using aiproxy.pro and fal.ai
Convenience methods simplify the process of:

Uploading training data to Fal's media server
Kicking off a training
Polling for training complete
Kicking off an inference on the newly created model
Polling for inference complete

Customers can copy and paste the snippets below into their apps, and then modify the arguments in FalFluxLoRAFastTrainingInputSchema and FalFluxLoRAInputSchema to suit their needs


Failed to Archive

Expected behavior
Archive without failing.
Actual behavior
When we Archive the build (iOS demo), it fails with the following error:
ld: bitcode bundle could not be generated because '/Users/userXXXX/Code/vivaa/native/Scribe/ios/Porcupine/watchos/libpv_porcupine.a(pv_porcupine.o)' was built without full bitcode. All object files and libraries for bitcode must be generated from Xcode Archive or Install build for architecture armv7k
Steps to reproduce the behavior

Download Porcupine iOS Demo
Product > Archive
See error

Please include the operating system and CPU architecture. When applicable, provide relevant audio data.
Happens with iOS and watchOS demos.

Thanks for finding this. I am looking into it right now. I am going to provide an update soon.

I think this commit fixed the issue: 038ff2b8c988bb6411467f17d02fa82fc3aacd2a
Could you please give it a try?

Looks like it fixed it. Thank you!


updated taxon tag

e.g.
 <https://w3id.org/biolink/vocab/in_taxon>
                "http://purl.obolibrary.org/obo/NCBITaxon_9606" .
to
<https://w3id.org/biolink/vocab/in_taxon>
                <http://purl.obolibrary.org/obo/NCBITaxon_9606>

this will make it possible to find the human reactome models with the taxon search

Why use biolink instead of RO?

What would the appropriate RO relation be for a model-level taxon annotation ?

@balhoff let me know if you think there is an appropriate RO approach to annotating a complete model.  In the meantime, @kltm I think we should merge whenever convenient.  We can adjust the property if/when we come up with something better.

@goodb I don't know that any of the RO terms are quite right as an annotation property. The Biolink term is mapped to RO 'in taxon', but I guess it has the advantage that we don't have to necessarily type it as an owl:ObjectProperty.


Add step to parse the changelog so it is included in the release

This was just missing in our current create_release action.

bors r+


[maistra-1323] [maistra-904] Updated for Maistra-1.1

This updates the documentation for Maistra-1.1 and updates the defaults.

Fixed a lot of the broken links reported in #107. However, there are still several broken links in IOR
http://<IP_ADDRESS>:1313/docs/comparison-with-istio/ior/
404	https://docs.okd.io/latest/architecture/networking/routes.html#route-hostnames
404	https://docs.okd.io/latest/dev_guide/routes.html
404	https://docs.okd.io/latest/install_config/router/default_haproxy_router.html#using-wildcard-routes
Opened Maistra-1325 to track the IOR issues.

LGTM. I left a few comments, but they're nice to haves - definitely NOT stop ships.


Failed to download extension (Motherduck)

When using Motherduck on macOS 14.5, with .NET 8 and v1.0.2 of this package (.Full), I get:
DuckDB.NET.Data.DuckDBException (0x00000001): DuckDBOpen failed: IO Error: Failed to download extension "motherduck" at URL "http://extensions.duckdb.org/v1.0.0/osx_arm64/motherduck.duckdb_extension.gz"
Extension "motherduck" is an existing extension.
 (ERROR Connection)
   at DuckDB.NET.Data.Internal.ConnectionManager.GetConnectionReference(DuckDBConnectionString connectionString)
   at DuckDB.NET.Data.DuckDBConnection.Open()

If I install the motherduck extension and try again, I get this:
DuckDB.NET.Data.DuckDBException (0x00000001): DuckDBOpen failed: Invalid Input Error: Initialization function "motherduck_init" from file "/Users/xxx/.duckdb/extensions/v1.0.0/osx_arm64/motherduck.duckdb_extension" threw an exception: "Failed to download "http://api.motherduck.com/extension_version" (attempt 5): Connection"
   at DuckDB.NET.Data.Internal.ConnectionManager.GetConnectionReference(DuckDBConnectionString connectionString)
   at DuckDB.NET.Data.DuckDBConnection.Open()

I can't see any logs in the firewall, and no access prompts came up. Any ideas would be appreciated, thank you.

I found this in the system logs - looks like it's not related to this lib.
Sandbox: logd_helper(11874) deny(1) file-read-data /Users/xxx/.duckdb/extensions/v1.0.0/osx_arm64/motherduck.duckdb_extension


Ruler Implementation

Ruler Implementation

We don't need the vendor .js files as they are included in the bundled igv.js file.  Including them twice could cause issues.


Add loading animations to all ajax loaded blocks. Add "loading timeout" error message

Add loading animations to all ajax loaded blocks. Add "loading timeout" error message

Done


Too many websites

Hello,
I host 50+ websites (about 1/3 of those are for development purposes, the other 2/3 are only counting the bare domain name, they also serve the www. domain name too).
Is there some way I can get a certificate for all of them at once? With the new rate limit (at least, new within the last 3 months) I am unable to renew more than 5 of my domains within a 5 day period, which is not going to work because all of my certificates need to renew tomorrow...

That's a Let's Encrypt limit, not the Webfaction LE Tool. My understanding
is that LE will be offering wildcard certs beginning in Jan 18.
On Sep 24, 2017 12:49 PM, "Micheal Mand"<EMAIL_ADDRESS>wrote:

Hello,
I host 50+ websites (about 1/3 of those are for development purposes, the
other 2/3 are only counting the bare domain name, they also serve the www.
domain name too).
Is there some way I can get a certificate for all of them at once? With
the new rate limit (at least, new within the last 3 months) I am unable to
renew more than 5 of my domains within a 5 day period, which is not going
to work because all of my certificates need to renew tomorrow...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/will-in-wi/letsencrypt-webfaction/issues/95, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AYC27d2fOD2rqijxFvxgjQJky3sjBlvBks5slpYagaJpZM4Ph94-
.

Wildcard certs will be a blessing, but that's still 4 months away. I'm asking if there is any way I can renew all of my certificates (or at least 30 of them, the production ones) by tomorrow. Their rate limiting documentation is confusing to me. What is an account? I've only ever run this script to get certificates, I don't remember ever setting up an account.
I am not a server admin (thus why I use WebFaction), so anything beyond running a simple command is beyond me.

If I understand correctly, an Account is the email address you provide to them when you create the cert, specifically, that's what the --letsencrypt_account_email param is for.
There are a number of options depending on your exact setup. If you are talking about 30+ "Registered Domains", I don't think that there are any limitations with regards to that. If you have multiple certs per registered domain, you may have a problem.
Either way, depending on how your apps work, you may be able to generate a single UCC cert (where you have a bunch of domains in one certificate).
Could you share more about your setup? If you want to do so privately, you could directly message me.

There's no way round the per domain rate limit. You'll probably need to investigate a wildcard cert via namecheap or similar SSL provider until the feature is available.

Hi Will,
Yes, I have about 30 registered domains. Each registered domain has its own website and application in WebFaction. There is one certificate for domain.com and www.domain.com together. If I need a development "staging" area for a site, I also generate a certificate for dev.domain.com. 3 of the sites also have a blog hosted at blog.domain.com, which is run on a separate website and application in WebFaction.

I should also note that the error I'm getting is this: Error creating new registration :: too many registrations for this IP (Acme::Client::Error). Maybe it wasn't even me that did it, but someone else on my server?

The way you have your apps set up shouldn't be an issue. There is no limit on registered domains, and you have a maximum of three certs per registered domain, well below the 20 cert limit.
The error is informative. I'm guessing the rate limits that apply are the following:

You can create a maximum of 10 Accounts per IP Address per 3 hours. You can create a maximum of 500 Accounts per IP Range within an IPv6 /48 per 3 hours. Hitting either account rate limit is very rare, and we recommend that large integrators prefer a design using one account for many customers.

I'm guessing that you are correct, and someone else on the server or IP range is requesting a pile of certs. Thankfully, you are only dealing with a three hour sliding window, so hopefully you can get the apps set up by tomorrow. Maybe wait three hours and try again?
I'd suggest in future, setting up certificate renewal in a staggered way, so that you are renewing a cert every other day or so, rather than in one big batch. This makes it less likely that you will run into issues. Renew the whole batch now, since you need this done, and then when you set up all of your cron tasks, vary the day of the month it runs on. https://crontab.guru/ is helpful for figuring out the best syntax.

I still have a couple minutes before I can try to renew again, so we'll see what happens.
Looking back through their rate limiting document, it looks like they are suggesting renewal 30 days before the certificate expires (this wasn't the case when I started using Let's Encrypt, LOL). After this batch of renewals, I will set up cron to run 1 domain per day starting 60 days after today/tomorrow.
I went ahead and opened a support ticket with WebFaction to see if they can request an exemption (at least for my server) so I can get these domains renewed. They have not responded yet, but we'll see.

WebFaction didn't notify me, but it looks like they've fixed the problem. I am able to renew my certificates now. :)
Thank you @will-in-wi and @hyperpress / @ThemeSurgeon

Spoke too soon. I got 10 of them renewed before the rate limit hit again. Ugh.

@mikemand I just pushed v2.1.0 which now includes the ability to provide multiple public directories allowing a single cert to cover multiple applications. This might help.

Thank you! I will look into that as a possible alternate solution


Mistake in the setup doc for android ?

I followed the setup doc until these following lines which return error:
"import com.AlexanderZaytsev.RNI18n.RNI18nPackage;"
"new RNI18nPackage()"
I had to change to these line for it to work properlly:
"import com.i18n.reactnativei18n.ReactNativeI18n;"
"new ReactNativeI18n()"
Is it right or Did I miss something in the process ?

What version of the package are you using?


Moves route related code from occlient.go to a new file

What type of PR is this?
/kind cleanup
/kind code-refactoring
What does does this PR do / why we need it:
Moves route related code from occlient.go to a new file. It also adds more tests.
Which issue(s) this PR fixes:
Fixes part of #4093
PR acceptance criteria:

[X] Unit test

[ ] Integration test

[ ] Documentation

[ ] I have read the test guidelines

How to test changes / Special notes to the reviewer:

Tests should pass.

@mik-dass could you please rebase this pr.

@mik-dass could you please rebase this pr.

Done

/retest

/lgtm

/lgtm


[docs] fix MySQLSource typo

When cdc version more than 2.0, MySQLSource should replace to MySqlSource. This is a bug left over from the last PR. (https://github.com/ververica/flink-cdc-connectors/pull/440)

Thanks @mincwang for the contribution, LGTM,  I update a little as well


SolanaClient is synchronous only

The SolanaClient should have asynchronous capabilities. Otherwise the main thread is blocked. This is a big problem on web target. Implement it with signals.
ETA: 2h

It is not really possible to do this without having SolanaClient in the scene tree. I think it might be better to let the user thread everything that uses it instead.


Updating Storage Files swagger to 2019-02-02

This includes a few transform changes to set default values for new required
parameters and marked certain 8601 dates as strings when they use more precision
that Python's dates.
I'm seeing a few test failures that I'm hoping someone on the Python side can
investigate (mostly "The specified share is being deleted. Try operation later."
that I was seeing before my changes).  There are a few other failures related to
new service features that we can fix if easy or disable and file a work item to
get these changes in.  The recorded tests will also have to be updated, but we
don't need to block on that right now.

Can one of the admins verify this patch?

CI is green :o

/azp run python - storage- tests

LGTM - thanks @tg-msft
@zezha-msft  - there a number of "TODOs" in the code to confirm whether the defaults used for values are correct. Are you able to weigh in here?
(Specifically they are in the swagger readme, and the file_client/file_client_async)

The default values look good to me. @xiafu-msft please double check them since you did the feature for track 1.

            "parameters": [{

Where is the body (permission string) specified?

Refers to: sdk/storage/azure-storage-file/swagger/file-2019-02-02.json:519 in 3129e36. [](commit_id = 3129e363776065513dc1f3b1f141d9006f25d7df, deletion_comment = False)


Cherry-pick Interleaved MHA for CPU path (#17138)

backport https://github.com/apache/incubator-mxnet/pull/17138

@ptrendx can we merge this to v1.6?

@TaoLv @PatricZhao FYI


ros_control: 0.11.3-0 in 'kinetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository ros_control to 0.11.3-0:

upstream repository: https://github.com/ros-controls/ros_control.git
release repository: https://github.com/ros-gbp/ros_control-release.git
distro file: kinetic/distribution.yaml
bloom version: 0.5.23
previous version for package: 0.11.2-0

combined_robot_hw

No changes

combined_robot_hw_tests

No changes

controller_interface

No changes

controller_manager

No changes

controller_manager_msgs

No changes

controller_manager_tests

No changes

hardware_interface

No changes

joint_limits_interface
* Add urdf compatibility header
* Contributors: Bence Magyar

ros_control

No changes

rqt_controller_manager

No changes

transmission_interface

No changes

This is to fix urdf-related regression issues on Wily.
http://repositories.ros.org/status_page/ros_kinetic_dj.html?q=REGRESSION
http://repositories.ros.org/status_page/ros_kinetic_default.html?q=REGRESSION

let's see !

Could you please poke
http://build.ros.org/view/Kbin_uW64/job/Kbin_uW64__gazebo_ros_control__ubuntu_wily_amd64__binary/
?
On 7 December 2016 at 15:49, Vincent Rabaud<EMAIL_ADDRESS>wrote:

let's see !
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ros/rosdistro/pull/13370#issuecomment-265483856, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADXH4SjBZupFAV9_5BheMndUNQHMOs0zks5rFtWmgaJpZM4LGvt_
.

@bmagyar , just wait, the magic will happen :)

@bmagyar Thanks for the fix. It looks like it's building now.


Add functionality to encode and decode extension value of enumerated

Some UEs send RRCEstablishmentCause: PresentNotAvailable that is extentional value of RRCEstablishmentCause.
Added the functionality to encode and decode extended value of enumerated.

Thanks for the PR!


Native federation minimum JavaScript version (Error if < ES2020)

Hi, I have a microfront-end project with Native Federation and Angular 17.
If I try to load this project in a Chrome browser with version less than 93 or a mobile safari before iOS 16.4 (approximate versions), the project gives an error in the console indicating that the browser cannot understand the code.

For this reason I have tried without success to lower the ES target or transpile the code after its generation to ES6 (ES2015) but I cannot solve the problem.
Using a browserlist configuration I can't get anything and if I modify the tsconfig.json configuration I encounter the problem that I indicate in the image. Dynamic imports only work from ES2020.

And this greatly limits the end devices on which my project can work.
Has anyone found a solution? It seems like a major problem to me to rule out devices like an iPhone 8 that many people still use or an Android 10 that doesn't have Chrome updated, for example.
Thanks greetings!

Hi,
Can you please try this combination:
"target": "ES2015",
"module": "ES2022"
Best wishes,
Manfred


Update document store capabilities

This PR updates the document stores component site to include information of filtering capabilities and supported similarity functions.

I don't want to picky but now that you @brandenchan are polishing the other parts of the documentation, let's also make this nice right away. Could you please review this PR? Should the text maybe read "does not allow using filters with queries"?

Thanks for the feedback. I have now incorporated the changes.


Virtual doesn't work with loop: true

Check that this is really a bug

[X] I confirm

Reproduction link
https://codesandbox.io/s/swiper-virtual-slides-react-forked-dprg9?file=/src/App.jsx
Bug description
Loop: true doesn't work with virtual slides
Expected Behavior
No response
Actual Behavior
No response
Swiper version
7.4.1
Platform/Target and Browser Versions
macOS, Windows, Cordova, iOS, Android, Chrome
Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
[X] Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

[X] I'm willing to open a PR

https://swiperjs.com/swiper-api#virtual-slides

Note that according to Virtual Slides realization it doesn't work with loop mode


missing documentation about 'data-show-values'

There isn't any documentation about data-show-values="true" option which will enable current value show on slider.

+1 why doesn't this default to true. That was driving me crazy.

+1


Switch sr-arithmetic benchmarking to criterion

As mentioned by @bkchr and @kianenigma in #3799, we should try and use criterion for benchmarking where possible. I wanted to replace all old #[bench] benchmarks with criterion in this pr, but unfortunately the subkey benchmarks aren't exposed, the node executor benchmarks require an unwanted amount of code duplication and the phragmen benchmarks are complied via a macro. I'm not sure it's worth it to try and convert these benchmarks at the moment.
I did rename the core/primitives benchmark file from benches.rs to bench.rs to be more consistent though.
https://github.com/paritytech/substrate/blob/eda5fe5cf0f8e56d90f8cd913ffcb118362df559/subkey/src/vanity.rs#L163-L173
https://github.com/paritytech/substrate/blob/eda5fe5cf0f8e56d90f8cd913ffcb118362df559/node/executor/src/lib.rs#L1215-L1230
https://github.com/paritytech/substrate/blob/eda5fe5cf0f8e56d90f8cd913ffcb118362df559/core/phragmen/benches/phragmen.rs#L158-L174

The reason I want to see this change #[bench] is unstable and requires a nightly compiler and I'm not sure they will ever stabilize it. :)

@expenses done and review needed? please update the labels as needed :)

I don't think I can set labels, sorry.


documentation

-Setup
-Basic updates: board-member info
-DevFlow
-React
-Redux
-misc: react-router, react-modal, moment, jquery, lodash
-Testing: jest, react-test-utils
-Styling: stylus (nib), postcss (cssnext, rucksack)
-suggested integrations (sublime text, snippets, linting)
-webpack & gulp

Not relevant anymore


mgmt/mcumgr: Drop zephyr_ prefix from functions

The MCUMgr library is now part of Zephyr, so there is no point
to prefix SMP functions with Zephyr.
Signed-off-by: Dominik Ermel<EMAIL_ADDRESS>

This is technically a breaking API change, so should go through the API change process: https://docs.zephyrproject.org/latest/develop/api/api_lifecycle.html

OK, can follow that path, although nothing I have changed is available in public documentation, nor here https://docs.zephyrproject.org/latest/develop/api/overview.html.

Please update release notes for deprecation.

Please rebase to fix CI failure

We agreed with @de-nordic to follow the stable API change procedure

Needs rebase

@de-nordic needs rebase

@de-nordic please fix the compliance issue

@carlescufi checkpatch wants me to do this
-                              zephyr_smp_transport_ud_free_fn *ud_free_func);
+                              zephyr_smp_transport_ud_free_fn * ud_free_func)

to correct "problem". Seems weird.

@de-nordic please fix the compliance issue

@carlescufi checkpatch wants me to do this
-                              zephyr_smp_transport_ud_free_fn *ud_free_func);
+                              zephyr_smp_transport_ud_free_fn * ud_free_func)

to correct "problem". Seems weird.

check scripts/checkpatch/typedefsfile, btw why isn't that typedef already a pointer?

check scripts/checkpatch/typedefsfile, btw why isn't that typedef already a pointer?

OK so I have no good reason not to fix the new definitions (the smp_transport_), but I do not want to touch the old zephyr_smp_transport_ definitions which I am deprecating anyway.
@gmarull  Can the compliance issue be waved in this instance, as this has been triggered only because I have extended original declaration of zephyr_smp_transport_init to inline it, and actually just call smp_transport_init, and have it deprecated.

@de-nordic needs rebase

@de-nordic we are in stabilization phase, should this be considered a bugfix or part of some deprecation we need to do for v3.2? Otherwise, can we wait for v3.3 or you want this to be discussed with the TSC for merging during stabilization?

@de-nordic we are in stabilization phase, should this be considered a bugfix or part of some deprecation we need to do for v3.2? Otherwise, can we wait for v3.3 or you want this to be discussed with the TSC for merging during stabilization?

@fabiobaltieri  Lets postpone it and have it merged just after the 3.2 gets released; I think it will be more wise to introduce API change at the beginning of development cycle rather than just prior to release.

@de-nordic please rebase


Polling option

Would you be interested in a patch that adds a polling option? File system events are ideal but in certain vagrant environments they aren't available.
It could be as simple as https://github.com/codegangsta/gin/blob/20c9707f2046c2a1019cea9659931731cf15a7dd/main.go#L160-L182

sounds good. Just a question. How you are going to check if local system supports file system events? Keep in mind that it should support Linux, OSX and Windows.

@ivpusic I was thinking it would be an explicit command line flag. --polling or something.

Fair enough.

closing this as obsolete


just learning....simple.py  gives errors

ran this to install
pip install Textual
$ ./test.py
Traceback (most recent call last):
File "./test.py", line 6, in
from textual import events
File "/home/~/.local/lib/python3.8/site-packages/textual/events.py", line 7, in
from .message import Message
File "/home/~/.local/lib/python3.8/site-packages/textual/message.py", line 7, in
from ._types import MessageTarget
File "/home/~~~~~/.local/lib/python3.8/site-packages/textual/_types.py", line 31, in
Lines = list[list[Segment]]
TypeError: 'type' object is not subscriptable
am I wrong right from the get go?

That's Python3.9 syntax. There's a fix in main if you want to install from the repo. Check it out and run the following:
pip install poetry
poetry install

Let me know if you run in to any more problems.


Add accessibility tags to the Select component

Helpful resources:

https://github.com/rackt/react-a11y
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_listbox_role

Closed with this commit https://github.com/nikgraf/belle/commit/f530038965a91aba4e64c3f51fe0f2133925faef


Question : Confidence level assessment  on a word-by-word basis ?

Is confidence level assessment  on a word-by-word basis possible with this library ?

No. This is a word counting library.

Thank you for your prompt answer.


fix file-header rule option "enforce-trailing-newline" (#4640)

[x] Addresses an existing issue: fixes #4640
[x] bugfix

[x] Includes tests

Overview of change:
add tests that identify the bug,
remove null check for the regex test since RegExp.prototype.test() returns a boolean (in contrast to String.prototype.match())
CHANGELOG.md entry:
[bugfix] fix file-header rule option "enforce-trailing-newline" (#4640)

Thanks for your interest in palantir/tslint, @jomaguma! Before we can accept your pull request, you need to sign our contributor license agreement - just visit https://cla.palantir.com/ and follow the instructions. Once you sign, I'll automatically update this pull request.

bump @jomaguma, are you able to sign the CLA?

Closing due to inactivity

Sorry, currently I don't have the time nor motivation to bother with that legal stuff.


[SMALLFIX] improve authority fromString

I think we can actually just get rid of the AlluxioURI#getHost() and AlluxioURI#getPort() methods. They are only used by AbstractFileSystem#getConfigurationFromUri and NetworkAddressUtils#replaceHostName. NetworkAddressUtils#replaceHostName is no longer used by anything so we can delete it. AbstractFileSystem#getConfigurationFromUri can cast the Authority as a SingleMasterAuthority to get the hostname/port, so it doesn't need the method in AlluxioURI.

@aaudiber Thanks! :) excellent review speed & quality!

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/250/
Test PASSed.


[FLINK-10751] [runtime] Retain checkpoints on suspension

What is the purpose of the change
Retain checkpoints in case of terminal job status SUSPENDED. Note that this does not actually effect the retention behavior currently, because we special case this terminal state in ZooKeeperCompletedCheckpointStore and don't suspend jobs when running with StandaloneCompletedCheckpointStore.
The proposed change is more of a proactive guard to avoid confusion in the future (e.g. if we stop special casing or accidentally use StandaloneCompletedCheckpointStore in HA mode).
I'm also OK with closing this PR without merging since it is not clear how the SUSPENDED state will evolve in the future. Currently SUSPENDED is an "internal" terminal state to which we transition on lost leadership. If we plan to change this in the future (e.g. let users trigger this transition), it might be worthwhile to keep the current behavior.
Brief change log

Update CheckpointProperties to retain on suspension

Verifying this change

This change is already covered by existing HA tests
The modified StandaloneCompletedCheckpointStoreTest was essentially testing behavior of an illegal state

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: no (see comments above)
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

Closing this as it should be properly addressed at some other point in time.


Default path for dotshabka

Should we define a default path for DOTSHABKA_PATH, like $HOME/.shabka ($HOME being defined by users.users.user.home) and add it to the zsh configuration by default, so it doesn't have to be typed everytime but can still be overridden

DOTSHABKA_PATH is a temporary solution. Instead, we should provide a shabka command that works within your own dotshabka, and shabka stored in the Nix store along with the shabka command. I have not finished the design yet, but feel free to propose one.


Set up NIP-39 cryptographic identity

(see my PR against NIP-39)

grab already provided signature hashes
give instructions in terminal to provide

signed message

keytool -importkeystore -srckeystore example.keystore -destkeystore example.p12 -deststoretype pkcs12
openssl pkcs12 -in example.p12 -nocerts -nodes -out privatekey.pem
echo 'Verifying that I control the following Nostr public key: "<npub encoded public key>"' | openssl dgst -sha256 -sign privatekey.pem | openssl base64 -A (replace pubkey with provided one)

public key

keytool -list -keystore example.keystore (check against earlier signature hashes)

Should also prompt dev for auto-indexing, if they sign this they probably want to set and forget

See #14


New package: TimeXtender.TimeXtenderODX version 200.0.6429.1

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

@microsoft-github-policy-service agree company="TimeXtender"

the provided installer location is the official location, as you can see on the official support site: https://support.timextender.com/

@wingetbot waivers Add Validation-Domain


[BUG] Testing awaiting response removal

SynapseML version
Foo
System information

Language version (e.g. python 3.8, scala 2.12):
Spark Version (e.g. 3.2.2):
Spark Platform (e.g. Synapse, Databricks):

Describe the problem
Foo
Code to reproduce issue
Fooo
Other info / logs
No response
What component(s) does this bug affect?

[ ] area/cognitive: Cognitive project
[ ] area/core: Core project
[ ] area/deep-learning: DeepLearning project
[ ] area/lightgbm: Lightgbm project
[ ] area/opencv: Opencv project
[ ] area/vw: VW project
[ ] area/website: Website
[ ] area/build: Project build system
[ ] area/notebooks: Samples under notebooks folder
[ ] area/docker: Docker usage
[ ] area/models: models related issue

What language(s) does this bug affect?

[ ] language/scala: Scala source code
[ ] language/python: Pyspark APIs
[ ] language/r: R APIs
[ ] language/csharp: .NET APIs
[ ] language/new: Proposals for new client languages

What integration(s) does this bug affect?

[ ] integrations/synapse: Azure Synapse integrations
[ ] integrations/azureml: Azure ML integrations
[ ] integrations/databricks: Databricks integrations

test2

foo

fooo foo

fooo fooo


Exception during username inject: Timed out : element not found

Hello. I managed to launch TUI on my Ubuntu. After configuration, dependencies are successfuly installed. Then I connect to Instagram without problem, but then the program stops at fatal error on line 60.
Here is what I see:
INFO[0147] Connecting to Instagram account...            function=connectToInstagramWebDriver line=16
INFO[0162] Cookies validation button not found, skipping.  function=connectToInstagramWebDriver line=28
INFO[0175] Login button not found, skipping.             function=connectToInstagramWebDriver line=37
INFO[0190] IGopher's ressources successfully cleared!    function=CleanUp line=199
FATA[0190] Exception during username inject: Timed out : element not found  function=Fatal line=60
exit status 1
Can you please help me resolve this issue?

Hi @jkpj22 !

Then I connect to Instagram without problem

When you said that, you mean the bot successfully logged in or you done it manually?
If you logged in manually in the browser it's totally normal that the bot crashed.
IGopher takes care of everything and you don't have to manually interact with Instagram otherwise the bot will try to do things it can't do anymore.
FYI, the bot's routine includes a lot of random waiting times between the different actions performed in order to preserve a behavior close to the human.
It will never block and will never wait for action from you once launched.

Thank you! You were right! It works.


Xamarin: Fails to build when targeting an actual device

Xamarin: Works fine when building for simulator but fails to build when targeting a device. Error is:
Error MT2002: Failed to resolve "System.Runtime.InteropServices.ComTypes.FILETIME" reference from "System.Runtime.InteropServices, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
To replicate:

Create new iPhone app in Xamarin Studio
Add nuget package
Add using statement to AppDelegate
Add new property of type MessagePackObject to AppDelegate
Build (targeting an actual iPhone device)

Version Info:
msgpack-cli: 0.6.0-Beta2
Xamarin Studio
Version 5.9.1 (build 3)
Runtime:
Mono 4.0.0 ((detached/d136b79)
GTK+ 2.24.23 (Raleigh theme)
Package version: 400000143
Apple Developer Tools
Xcode 6.3.2 (7718)
Build 6D2105
Xamarin.iOS
Version: <IP_ADDRESS>3 (Indie Edition)
Hash: 3c4e832
Branch: master
Build date: 2015-05-20 21:47:57-0400

I cannot reproduce this issue, but I can fix it logically. So, could you try the private build to confirm the issue fixed?
The build is available at my onedrive : http://1drv.ms/1G3ltgi
You can try this .nupkg by creating your local source in your local computer.

I get the same error with the new version, but I discovered that if I select 'Link all assemblies' in the build settings (Project settings -> Build -> iOS Build) it works OK.
Should I close this issue now?

Thank you for reporting.
Please wait few days until I can try linker options -- because 1) the FILETIME reference should be removed from the new build; 2) I have never faced compilation error instead of runtime AOT error with linker option.

I could repro your problem and I removed FILETIME reference. Thank you.


"Cancel" button

Any place there is a "Submit" button I'd also like to see a "cancel" button so that any changes accidentally made while in editing mode are not saved.

A simple force reload of the page will refetch the content of form fields from the server.
It can be achieved through Ctrl + Shift + R or alternatively we can have a button which calls location.reload(True).

@narayanaditya95 yes, that works but I'd rather have an explicit "cancel" button than to rely on browser activity like back or refresh (which is what I do now).

@chrismedrela
I noticed that BootstrapHelper now adds support for add_delete_button. However, the delete button does not generate any functionality except for showing an alert.
Am I missing something?

@narayanaditya95 please have a look at TrainingProgressForm. In the admin dashboard, you can click "more > trainees", then add progress record, then click it to edit it, and a working "delete" button is displayed.
Could you share the code that does not generate any functionality except for showing an alert?


[bind] Implement bind lookups

For now only simple binds are supported:
from!(player, Player:name) >> to!(name, Label:value)

The problem is if I create something like Profile widget which displays player avatar/name/health based on provided Player entity, it would be difficult to handle binds.
The idea is to respect the changeable page.player entity in the single bind like this:
from!(page, Page:player @ Player.name) >> to!(name, Label:value)
from!(page, Page:player @ Health:current) >> to!(bar, Range:value)
from!(page, Page:player @ Health:max) >> to!(bar, Range:maximum)

This is how @ lookup selector is supposed to work:

assume that Page.player of the Entity type
bind Player.name at Page.entity to name, Label.value (and others)
if Page.player changes - clear existed binds from Page.player and rebind them to new Page.player source.

This will be done right in polako (#77)


WIP: add initial jquery preset

Ref #2

Coverage decreased (-0.6%) to 97.345% when pulling<PHONE_NUMBER>632c3fc2a66ce656945f5b22e1325e on jquery into cc6dfbb97d9c6449a462fe3eadd3f47c9198b9ac on master.


Examples of lessons 2-4

Why does examples start from chapter when examples are available starting from chapter 2 in the book? And why are examples separate from guard repository anyway? The book has a chaotic structure and so the examples. It takes a while to get an overview and what to do first.

We appreciate the feedback and apologize for the confusion it creates. We will continue to see if we can improve the structure to make it more straightforward to follow


bucket_logging: Bucket log processing in side car container

Firstly,
rsyslogd and logrotate.sh script has been moved to side car container. Now, these two processes will be started by "command" rather than superviserd
Secondly,
we have added following bash script and changes in logrotate_noobaa.conf 1 - Added an entry in conf file to rotate /var/log/bucket_logs.log
2 - Rotated files will be moved to /var/log/noobaa_logs/ and each rotated file will have dat and time attached to its name. Example: bucket_logs.log2024-02-19-10-09-16
3 - These files will have logs for all the buckets from all the endpoints.
4 - Added a bash script noobaa_log_segregate.sh, which will keep reading rotated files in /var/log/noobaa_logs/ and segregate the bucket logs in its respective log file names. These will be kept at /log/noobaa_bucket_logs/
For example:
log.bucket-1-2024-02-19-10-05-58.341870679.log
log.bucket-2-2024-02-19-09-49-37.242243366.log
5 - These are the final log objects which will be sent to respective bucket logs.
Testing Instructions:
./noobaa_logs_create.sh <log_bucket_range>
This script can be used to test log parsing. It takes number of buckets,
which you want to have logs from. Logs will be sent to /var/log/bucket_logs.log,
which is actually the path where rsyslogd will save the logs. Log buckets will be
having name like log.bucket-1, log.bucket-2, etc. So, to test if the BG worker is
uploading the logs correctly, you need to create buckets with similar names.
Example: ./noobaa_logs_create.sh 10

@dannyzaken You are right.
I left supervisord conf file as it is just to make sure that this change works even when PR for operator (which create side car container) is not there.
I will remove the rsyslog and logrotate from its conf file.


chore: esm builds

Context
The only way to consume SDK packages right now is through bundler, because they are currently built to CommonJS but has lodash-es dependency which doesn't work in non-type="module" nodejs apps. We need to make it more accessible.
Proposed Solution

Set up build to produce both CJS and ESM modules

There's now dist/cjs and dist/esm

exception is cardano-services package, which is only built to cjs because I couldn't find an easy way to make __dirname compatible with both formats. To be addressed in ADP-1887

Set up package.json to support consuming the same npm package in both module formats

Replace lodash-es with lodash

Update lodash imports to individual functions {stuff} from 'lodash-es' -> stuff from 'lodash/stuff' and update eslint config to enforce that.

Testing
Verified that SDK package:

works in node.js app that uses CJS
works in node.js app that uses ESM (type="module")

requires --experimental-specifier-resolution=node because tsc does not append extensions to relative imports/exports (keeps import stuff from './stuff', while ES modules are expected to do import stuff from './stuff.js'). We could address this in the future by doing some post-processing after the build or replacing tsc with babel for ESM builds.

webpack finds ESM files and tree shaking works

Other changes

test(web-extension): add required protocolMagic to LedgerKeyAgent init
chore: bump typescript-eslint version

Finally got CI to pass. Updated PR description:

exception is cardano-services package, which is only built to cjs because I couldn't find an easy way to make __dirname compatible with both formats. To be addressed in ADP-1887

Had to rebase on master. See last 4 commits for new changes.

Nice work 👍 . Good to go imho


struct_pack is not compatible with C++ 20

Search before asking

[x] I searched the issues and found no similar issues.

What happened + What you expected to happen

Use a deprecated API

ylt/struct_pack/util.h:64:68: error: 'reserve' is deprecated [-Werror,-Wdeprecated-declarations]
constexpr bool is_string_reserve_shrink = requires { std::string{}.reserve(); };

Unused variables

In file included from bazel-out/darwin_arm64-opt/bin/_virtual_includes/struct_pack/ylt/struct_pack.hpp:36:
bazel-out/darwin_arm64-opt/bin/_virtual_includes/struct_pack/ylt/struct_pack/unpacker.hpp:486:10: error: unused variable 'len_sz' [-Werror,-Wunused-variable]
    auto len_sz = sz[compatible_sz_len];
         ^
bazel-out/darwin_arm64-opt/bin/_virtual_includes/struct_pack/ylt/struct_pack/unpacker.hpp:488:10: error: unused variable 'result' [-Werror,-Wunused-variable]
    bool result;
         ^
bazel-out/darwin_arm64-opt/bin/_virtual_includes/struct_pack/ylt/struct_pack/unpacker.hpp:879:14: error: unused variable 'result' [-Werror,-Wunused-variable]
        bool result{};

clang --version
Apple clang version 15.0.0 (clang-15<IP_ADDRESS>)
Target: arm64-apple-darwin23.5.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

Reproduction way
Anything else
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

It just used in compile-time check and wont affect code logic. I will try to fix the warning later.

For the unused variable, I will fix it later.

you can just disable -Werror to workaround

All warning reported has fixed, you can try it by update code.


validate() not working as we expect

I think the validate() is not working as we expect it to be.
In asdf_data_set.py, Line 1224 - 1239.
 for station_id in dir(self.waveforms):
            station = getattr(self.waveforms, station_id)
            contents = dir(station)
            if not contents:
                continue
            if "StationXML" not in contents and contents:
                print("No station information available for station '%s'" %
                      station_id)
                summary["no_station_information"] += 1
                continue
            contents.remove("StationXML")
            if not contents:
                print("Station with no waveforms: '%s'" % station_id)
                summary["no_waveforms"] += 1
                continue
            summary["good_stations"] += 1

When you check for waveform, you remove the "StationXML" and check if there are attributes left. But as the evolving of pyasdf, this is no longer true. Once you have StationXML, you will also have "channle_coordinates" and "coordinates".
A more strict way to check waveform is loop over attributes ans see if there is one same as type as "obspy.core.stream.Stream"

Good catch. I rewrote parts of the function to take into account new developments and added a test for it so it should no longer break. Thanks for reporting!


Crypto version is old with vulnerability

usql uses crypto version 0.29.0 which has vulnerability
https://pkg.go.dev/vuln/GO-2024-3321
please upgrade to v 0.31.0 which been fixed
<EMAIL_ADDRESS>

Thanks for the report, I'll cut a new release shortly.


Added partitionInto

partitionInto add's the ability to break a list into a set of smaller
lists containing a certain number of elements
A great example of this behavior is clojure's
partition

Have you searched for any previous issues that proposed this same feature?

Duplicate of #2130?

Yes, this does look like a duplicate of #1919. Should I delete the pull request?

Yah, closing in favor of #1919. Thank you for submitting a PR, though!


[Desktop App] Apps Tab not working

The apps tab does not load properly in the Desktop App (v.2.0.0)

This is the whole discussion we had the other day about mergin into master so the Desktop app would build again. This issue should be solved once that new build is done.
The issue was an env variable that had to be changed

Okay thanks. I would still leave this ticket open, even though it should be resolved in the next build.


Run examples/chatbot.py ERROR

I created a lmflow docker in win11 wsl2.
When I run this command,
python examples/chatbot.py --model_name_or_path models/llama-7b-hf --deepspeed configs/ds_config_chatbot.json
I get an error：
Loading checkpoint shards: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████| 33/33 [01:01<00:00,  1.86s/it]
Traceback (most recent call last):
  File "/LMFlow/examples/chatbot.py", line 117, in <module>
    main()
  File "/LMFlow/examples/chatbot.py", line 44, in main
    model = AutoModel.get_model(
  File "/LMFlow/src/lmflow/models/auto_model.py", line 14, in get_model
    return HFDecoderModel(model_args, *args, **kwargs)
  File "/LMFlow/src/lmflow/models/hf_decoder_model.py", line 224, in __init__
    self.ds_engine = deepspeed.initialize(model=self.backend_model, config_params=ds_config)[0]
  File "/venv/lib/python3.9/site-packages/deepspeed/__init__.py", line 125, in initialize
    engine = DeepSpeedEngine(args=args,
  File "/venv/lib/python3.9/site-packages/deepspeed/runtime/engine.py", line 297, in __init__
    self._configure_distributed_model(model)
  File "/venv/lib/python3.9/site-packages/deepspeed/runtime/engine.py", line 1146, in _configure_distributed_model
    self.module.to(self.device)
  File "/venv/lib/python3.9/site-packages/transformers/modeling_utils.py", line 1861, in to
    return super().to(*args, **kwargs)
  File "/venv/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1145, in to
    return self._apply(convert)
  File "/venv/lib/python3.9/site-packages/torch/nn/modules/module.py", line 797, in _apply
    module._apply(fn)
  File "/venv/lib/python3.9/site-packages/torch/nn/modules/module.py", line 797, in _apply
    module._apply(fn)
  File "/venv/lib/python3.9/site-packages/torch/nn/modules/module.py", line 797, in _apply
    module._apply(fn)
  [Previous line repeated 2 more times]
  File "/venv/lib/python3.9/site-packages/torch/nn/modules/module.py", line 820, in _apply
    param_applied = fn(param)
  File "/venv/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1143, in convert
    return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)
NotImplementedError: Cannot copy out of meta tensor; no data!

Is this a problem with my model?

Thanks for your interest in LMFlow! This issue has been reported several times before and it turns out to be caused by RAM-optimized loading. To turn off RAM-optimized loading, you may directly set --use_ram_optimized_load False.
This issue is also fixed in our latest main branch via this pull request. You may update the code to see if the issue still exists.
Thanks 😄

Thanks for your interest in LMFlow! This issue has been reported several times before and it turns out to be caused by RAM-optimized loading. To turn off RAM-optimized loading, you may directly set --use_ram_optimized_load False.
This issue is also fixed in our latest main branch via this pull request. You may update the code to see if the issue still exists.
Thanks 😄

Thanks for your help, it worked!


Is formState an Observable?

Question
Hi,
I'm building a custom UI library consisting out of own templates/fields and wrappers. Because this will be a very large enterprise application, we decided to use ChangeDetectionStrategy.OnPush on all our components, and thus also on these custom templates and wrappers we are building.
I'd like to use formState in my Formly forms, to disable my fields when necessary. I've started out with a FormService that manages the FormGroup, Model and Options (i.e. formState):
@Injectable({ providedIn: 'root' })
export class UiFormService {
  form: FormGroup = new FormGroup({});
  model: any = {};
  options: FormlyFormOptions = { formState: { disabled: true } };

  public get disabled(): boolean {
    return this.options.formState.disabled;
  }

  public set disabled(value: boolean): void {
    this.options.formState.disabled = value;
  }
}

Next, we have a FormFactory...
@Injectable({ providedIn: 'root' })
export class UiFormFactory {
  constructor(private translateService: TranslateService) {}

  public createInput(key, label, { email = false, placeholder = label, required = true, type = 'text' } = {}): FormlyFieldConfig {
    return {
      expressionProperties: {
        'templateOptions.label': this.translateService.stream(label),
        'templateOptions.disabled': 'formState.disabled'
      },
      key,
      templateOptions: { email, placeholder, required, type },
      type: 'input'
    };
  }
}

...and a FormComponent:
<formly-form [fields]="fields" [form]="uiFormService.form" [model]="uiFormService.model" [options]="uiFormService.options"></formly-form>

@Component({
  changeDetection: ChangeDetectionStrategy.OnPush,
  selector: 'ui-form',
  templateUrl: './ui-form.component.html'
})
export class UiFormComponent {
  constructor(public uiFormService: UiFormService) {}

  @Input() public fields: FormlyFieldConfig[];
}

With these services, I construct a form:
<ui-form [fields]="fields"></ui-form>

@Component({
  changeDetection: ChangeDetectionStrategy.OnPush,
  selector: 'person',
  templateUrl: './person.component.html'
})
export class PersonComponent {
  fields: FormlyFieldConfig[] = [
    this.uiFormFactory.createInput('firstName', 'labels.firstName'),
    this.uiFormFactory.createInput('lastName', 'labels.lastName'),
  ];
}

So far, so good. Everything works perfectly. Now, I add a toggle button to my toolbar to enable/disable the form:
<button (onClick)="toggle()" type="button">Toggle Form</button>

@Component({
  changeDetection: ChangeDetectionStrategy.OnPush,
  selector: 'toolbar',
  templateUrl: './toolbar.component.html'
})
export class ToolbarComponent {
  constructor(public uiFormService: UiFormService) {}

  public toggle(): void {
    this.uiFormService.disabled = !this.uiFormService.disabled;
  }
}

The formState toggles correctly. The value is changed from true to false and back. But visually, on the form, nothing happens. As soon as you click/give focus to one of the input fields, their state is changed as expected. The behavior is correct because of the ChangeDetectionStrategy.OnPush. To have this working correctly, the formState should be an Observable (or Subject) that triggers the 'rerendering'.
I've tried to make the formState and disabled property observable like this, but no luck.
options: FormlyFormOptions = { formState: { disabled: new BehaviorSubject<boolean>(true) } }

Do you have any idea, how we can make our custom templates and wrappers listening to formState and react to changes, even with ChangeDetectionStrategy.OnPush enabled?
Thank you for your answer.
Regards,
Bart

Sometimes, you need to write it down, look in to the Github source code and try again to find the solution :-).
https://angular-8ndmti.stackblitz.io

That the right answer :), since you'll rely on Observable you may consider using checkExpressionOn option to evaluate expressions on model change only https://github.com/ngx-formly/ngx-formly/issues/1620#issuecomment-514639091

@bartlenaerts i know it has been a long time - but how did you get this to work? Can't see the sourcecode on the stackblitz.


The specified child already has a parent

Sometimes I get this error: "The specified child already has a parent. You must call removeView() on the child's parent first."
I don't remember getting this error before using this library. Is it related to this library?

@coderdave I haven't seen that one before. Can you provide some example code of how you are using the scrollview?

Thanks for getting back with me so quickly. The code isn't complicated, here's the gist of it.
      <ScrollView style={styles.dayContentView}
        bounces={true}
        contentContainerStyle={{width: this.state.store.contentContainerWidth, height: this.state.store.contentContainerHeight}}
        directionalLockEnabled={true}
        showsHorizontalScrollIndicator={false}
        showsVerticalScrollIndicator={true}
      >
        <ScrollViewChild scrollDirection={'both'}>
          <For each="timeSlot" of={this.state.store.timeSlots} index="timeSlotIndex">

            <View key={timeSlot} style={{flexDirection: 'row'}}>

              <View style={[styles.timeTextView, {borderBottomWidth: timeSlot === this.state.store.timeSlotEnd ? 1 : null}]}>
                ...
              </View>

              <View style={[styles.emptyApptSlotWrapper, {borderBottomWidth: timeSlot === this.state.store.timeSlotEnd ? 1 : null}]}>
                ...
              </View>

            </View>

            <For each="appointment" of={this.state.store.appointments}>

              <If condition={appointment[`start${timeSlot}`]}>

                <TouchableHighlight
                  style={[styles.apptStartBox, {top: timeSlotIndex * 32, height: appointment.height, left: appointment.left}, styles[`${appointment.status}`]]}
                  onPress={_ => this.openAppointmentView(appointment.id)} underlayColor={this.getApptUnderlayColor(appointment)}
                  key={appointment.id}>
                  <View>
                    ...
                  </View>
                </TouchableHighlight>
              </If>

            </For>

          </For>
        </ScrollViewChild>

      </ScrollView>

@coderdave I can't repro this one I'm afraid. Are you still getting the error?

I haven't received that error in a while, maybe it was something else.


perf(Dynamic): 减少不必要的渲染

:tada: This PR is included in version 1.6.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Adjust set(..) and get(..) in UnsafeBitArray.scala such that all bits are potentially used.

(1) Adjust set(..) and get(..) in UnsafeBitArray.scala such that all bits are potentially used.
Up to now, only the first (indices+7) bytes were used. Example: If numberOfBits is 192 then indices is 3. In this case, only the first 10 of 24 bytes are potentially touched. The remaining 14 bytes stay always 0x00.
(2) Serialization/Dumping

I picked 474ac7e59ebd014d1d906959f6fa4697402884c0 and published 0.4.2. Thank you!!
I'm not sure about serialization yet.

Thanks for merging!
Btw, the README should be updated to:
libraryDependencies += "com.github.alexandrnikitin" %% "bloom-filter" % "0.4.2"

In case you are interested in De/serialization: Complementary to serialize() there is now also a restoreArray() method in this branch. It allows to add all elements dumped with serialize() to another bloom filter. Already existing entries are not preserved.

+1 for these methods.  These would satisfy our needs to be honest.
The only thing is that a user might want to also save the other parameters (number of bits etc) to properly create the instance right?

@cmarxer Thank you for your PR. I decided to go with Output/InputStream because this BF intended to support huge amount of memory which won't fit into array of bytes. Also the Stream approach is more flexible in terms of performance and doesn't allocate the same chunk of memory just to serialize it.

Thanks! That also fits my needs!


Forcing a unique rule to ignore a given ID may accept null

@fadion the following code is buggy:
$rule .= ",$id";
When $id is null, PHP concat a "empty" string.
This PR fix this bug by explicitly adding the NULL string.

Good catch. Thanks.


Add a check to smithy-rs release that expected crates were actually published

The publisher tool already waits for the crates to appear on crates.io before continuing.


Fix subfolder git detection

Use atom's atom.project.repositoryForDirectory to find the repository for a given path.

@Alhadis

@Alhadis done.

@utkarshgupta137 Could you give me an example of the sort of problem you were trying to fix? I'm noticing that repository icons are sporadically disappearing. 🤔

https://github.com/atom/tree-view/issues/1366

Hey, if everything looks good, can you release a new version?

Your changes broke the package's ability to display repository icons, so, no. 😜

Can you share an example? I've'nt been able to replicate what you're saying

I assume that's because you have tree-view dev-linked to ~/.atom/dev/packages/tree-view. Unlink the package and restart Atom.

Ah okay. I'll get it merged in tree-view first.

Hey, I'm not sure when the required commit will get merged in tree-view. Meanwhile, we can keep both old & new logic, so none of the existing functionality is broken?

 Yeah, M1 might be orders of magnitude faster, but to somebody who's been stuck with antique hardware for the last 3 years, anything released within that timespan feels equally fast. 😒
(I'm still trying to reassure myself I did the right thing, so please forgive the rambling monologue...)

Nice! I am looking at this from the same machine. Do try pock for touch bar.

@utkarshgupta137 Would you mind giving the latest changes a whirl? Don't forget to pull from file-icons/atom as well.

Looks good to me

Hey, if everything looks good, can you release a new version?

Done! Released as v0.2.0. 😀 Thanks so much once again for your help!


I want to add outputs.append(idle) to the on_air.gd script. says "Line 18:Identifier "idle" not declared in the current scope."

Godot 4.3
Describe the bug
clean installation working on the demo no other changes
I want to add outputs.append(idle) to the on_air.gd script. says "Line 18:Identifier "idle" not declared in the current scope."
To Reproduce
clean installation working on the demo no other changes
try to add outputs.append(idle) to the on_air.gd script. _init function
Expected behavior
well don't know, to work like the other states? why it doesn't see this one in particular?
Additional context
good start! hopefully this will expand in allowing to create states directly in the graph!

The scripts of the demo have been boomed, surely I touched something I shouldn't have and they were like this. To fix it you can go to the “player_state” script and add in the variables the idle output and then add it in the _init of the on_air state.
About creating states in the same editor, I was thinking how I could make a comfortable interface to edit the script, I am still learning how to make addons in Godot but I will give you all the best possible experience.


Ability is missing from the data

Match:
https://www.opendota.com/matches/2670620561
Screen:

Correct ability is:

The ID to key mapping is present:
https://raw.githubusercontent.com/dotabuff/d2vpkr/master/dota/scripts/npc/npc_abilities.json
However, the expanded ability information is not:
http://www.dota2.com/jsfeed/abilitydata
Solutions:

Manually add this data to abilitydata, like what we do here: https://github.com/odota/dotaconstants/blob/master/constants.js#L75
Find a better data source for the ability data

merge with #344


Option to watch until every watched item changes

Currently just-wait fires if anything changes in any of the comma delimited patterns. What we need is to watch two directories (files) and fire not before both has changed.

Hi, sorry for the late response.
I guess you are asking for AND/OR operators :)
I am open to PRs but I won't be changing this module much myself as I don't need this feature.


calamares: 3.2.60 -> 3.2.61

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/calamares/calamares/releases.
meta.description for calamares is: "Distribution-independent installer framework"
meta.homepage for calamares is: "https://calamares.io/"
meta.changelog for calamares is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 3.2.61 with grep in /nix/store/i9lj6pbfn5q9qcqv13w6p3bf6b8kp1j3-calamares-3.2.61
found 3.2.61 in filename of file in /nix/store/i9lj6pbfn5q9qcqv13w6p3bf6b8kp1j3-calamares-3.2.61

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath
calamares
calamares-nixos

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/i9lj6pbfn5q9qcqv13w6p3bf6b8kp1j3-calamares-3.2.61 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A calamares https://github.com/r-ryantm/nixpkgs/archive/1e0cd07d8f12244be69d0f94e662a2fc618fc71e.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/i9lj6pbfn5q9qcqv13w6p3bf6b8kp1j3-calamares-3.2.61
ls -la /nix/store/i9lj6pbfn5q9qcqv13w6p3bf6b8kp1j3-calamares-3.2.61/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

calamares
calamares-nixos

Maintainer pings
cc @manveru @vlinkz for testing.
Closes #188821

Result of nixpkgs-review pr 188822 run on x86_64-linux 1

2 packages built:

calamares
calamares-nixos


Some default computed bindings methods

There are some very often cases that should be available out of the box, for instance, I have following and similar methods in multiple places:
icon_class : (icon) ->
	"fa fa-#{icon}"

I suggest following list of default methods for computed bindings:

if(condition, then [, else [, prefix [, postfix]]]) - allows conditionally applying active CSS class alongside with other "constant" classes and the likes
join(array [, separator = ',']) - might be used for applying array of classes and things like that
concat(thing [, another [,...]]) - allows to do simple concatenations, like in example above
and(x, y [, z [,...]]) - since it is not allowed to use any expressions except negation, this might be useful for boolean attributes/properties
or(x, y [, z [,...]]) - similar to previous
xor(x, y [, z [,...]]) - similar to previous

This is bare minimum I think, with #2163 implemented this will cover most of trivial cases without any need to reinvent the wheel.

Thanks for the feedback.
Other than helpers that require nesting functions (which we're not likely to support in the short term), most of the others can be trivially implemented on behavior added to your elements.
We're definitely planning on adding helpers for CSS class application, and we'll review these suggestions for inclusion as well.

I know it is possible to achieve with behaviors, just would be nice to avoid everyone writing the same things again and again.

Agreed, @nazar-pc.

+1

Implemented in PR #2247

I'm on the fence as to whether we want to add these directly to Polymer. Certainly see the use, but I think open-sourcing this as a separate optional behavior might be the right idea for the short-term? Among other things, I'd worry that this would be a potentially high-risk source of breaking changes.

I am -1 to adding any more computed helpers, while I agree @nazar-pc they would be useful, the more functionality we add to the computed bindings the more people will use these features instead of creating methods, thus polluting the DOM with logic and making things much harder to reason about and test.

But if logic needed - it will be there. The only difference is whether it will be available out of the box or everyone will reinvent the wheel.
I mean, if I need simple concatenation or simple AND operation - I'll get it anyway. From my perspective there is nothing wrong in offering this by default rather than forcing everyone do it again and again.
However, some part of requirements might be fulfilled with support for Polymer 0.5-like expressions from #2182 (seems to be limited to string concatenations only).

Sorry for the delay.
We think that adding more complexity to the databinding layer is not really justified with our goal of keeping Polymer small and performant at the core.
Instead, one should use a behavior that adds these features so that the cost to payload and runtime is only incurred by the elements that would use those features. As it happens, the experimental polymer-expressions library/behavior may be a place for these functions to live (if equivalents don't exist already)
cc @justinfagnani

FYI, polymer-expressions as a behavior is in the 2.0-preview branch: https://github.com/Polymer/polymer-expressions/tree/2.0-preview
It needs a couple of more hooks to work properly with dom-repeat and wildcards, but you can try it now for simple things.

@justinfagnani, looks promising, but I'm afraid 1k lines of code will not be very fast, especially comparing to my implementation with 47 lines of ridiculously simple JavaScript that doesn't need to additionally parse each expression. Having sometimes a lot of elements this will be too big performance penalty (just my thoughts, haven't tried it yet).

There's a very slippery slope for things included with the default expression parser, more and more features can be added as special cases, until you approach a full expression language, yet as special cases the features are often incomplete compared to real expressions, and don't meet developer expectations.
Expression support is already spotty: There's support for unary negation, but no other unary or binary operators. Property paths, but no index notation. Function calls, but no nesting or chained method calls or property access on the result. Number and string literals, but commas in strings have to be escaped, unlike JS, and no boolean, map or list literals.
Adding more features at this point brings us further down the slope. Especially adding things to the prototype chain so that they can be accessed from within expressions seems bad as the surface area of element APIs is already so huge. There's an increasing chance of name collision.
I think the best thing at this point is to keep the built-in expressions very simple (I'd personally even make them simpler in 2.0 - just simple names ideally) and offer an opt-in, full featured, expression parser via a mixin/behavior.


send filename of current buffer to REPL

Thanks for this plugin!
I'm having trouble sending the filename of the current buffer over to the REPL. The use-case is when writing an RMarkdown file I'd like to send the equivalent of:
rmarkdown::render("%")

to the REPL so that it renders the current document, such that the % is filled in as the filename of the RMarkdown file being edited.
:IronSend! rmarkdown::render("%") just sends a literal %, and I haven't been able to find a solution. Any advice appreciated.

Hi, I'm sorry I missed your issue.
IronSend is a viml command that prepares plain string to be sent to the REPL through the lua interface.
You can call the lua interface directly like this:
:call luaeval("require('iron').core.send(_A[1], _A[2])", [&ft, "rmarkdown::render(".expand("%").")"])
" Maybe map that to a key
:map <F5> <Cmd>call luaeval("require('iron').core.send(_A[1], _A[2])", [&ft, "rmarkdown::render(".expand("%").")"])<CR>

Ah! Thanks, I'll give it a shot.


Generate the parser from struct definition [feature req.]

Here's a feature request for a future version: being able to auto-generate the parser from the struct definition (recursively). Some projects do that (I think asn1-cereal does).
Note that sometimes, specifying the parse function (kind of override) may be required.

Have you looked at serde? This provides generic serialization and deserialization between different data-types using macros. Once macros 1.1 is stabilised, creating custom #[derive(..)] macros for structs/enums will be much easier (and more user friendly).


Improve support for current project.

We all can see that the current state of this package is a bit out of date.
Would be great to get extended permissions to maintain this great project.
I think many people 2-3 people could get extended permissions and help with PR, issues
I hope owner of this package will check my thread

Already abandoned

Trying to move support over to my fork @websitevirtuoso
https://github.com/Arr-n-D/laravel-websockets


Re-organize platform/linux to prepare for API transition

This is built on top of #148 (and thus should be merge after).
This PR re-organises src/api/ to put it inside src/platform/linux, and moves the api transition boilerplate into the x11 and wayland modules.
This is the groundwork for transitioning these two backends to the new EventsLoop API.

I did not use the api generation macro, but rather expanded it by hand for both modules. This was necessary because the actual implementation of the boilerplate is not exactly the same as the one generated by the macro, due to the nesting in platform/linux.

Looks good.

(and thus should be merge after)

Well, that triggered merge conflicts.

Ah, I'll rebase it.


xyzDialog.Template.HTML disables size set within .less file

Dear all,
normally I easily can define width and height and caption width within the .less files for my Dialogs.
Now I Need to use a xyzDialog.Template.html to add additional Content to the the Dialog.
This works very fine (very elegant method of defining a Dialog by the way) but unfortunately - the Moment I have a xyzDialog.template.html file in my module, the dimensions set within the less file stop working for that particular Dialog.
Is this an expected behavior?
If yes: How can the Settings done within the less file be applied again to the dialog?
If no: @Volkan: Could you please look into this?
My template Looks like this:

            <form id="~_Form" action="">

            </form>

                            Add files...
                            <input id="fileupload" type="file" name="files[]" data-url="/Services/Default/SharedFiles/Upload" single>

Thanks for any Feedback and
with Kind regards,
John

Hmm ... Standard CSS.
e.c.
.s-MyModul-xxxDialog {
> .size {
width: 750px;
height: 550px;
}
.caption {
    width: 120px;
}

#jojo tr {
    height: 40px;
}

#jojo tr td .bar {
    width: 0%;
    height: 18px;
    background: green;
}

}

You can also try !important

Hi Zahar661,
thanks for your Feedback. This is more or less what is automatically generated by Serenity by compiling the .less file into the site.css (see below):
.s-Default-SharedFilesDialog > .size {
  width: 300px;
  height: 700px;
}
.s-Default-SharedFilesDialog .caption {
  width: 200px;
}

But unfortunately this does not Change the Dialog one Little bit.
I will have to investigate further...
Maybe the relevant Elements have different names than what Serenity thinks they should be (if a template is used). The Moment no template is used this works as expected.
Thanks again and
With Kind regards,
John

Hi all,
sorry, my fault: I had Exported the Dialog under a different Name (like in GetInsertedRecordIdDialog.ts from samples) so serenity could not Auto-generate the css for the correct Dialog.
Interesdingly when I earlier tested without template it worked. How - I don't know.
Thanks again for all your help and
with Kind regards,
John

in file less you need to write styles yourself. there is an example in \BasicSamples\Dialogs\MultiColumnResponsiveDialog
.s-Default-SharedFilesDialog #jojo #action tr {
height: 40px;
}
.s-Default-SharedFilesDialog  #jojo #action tr td .bar {
width: 0%;
height: 18px;
background: green;
}