Connect to non-standard port via ssh

Great project. My ssh-server is running on a non-standard port other than 22. Is there any way I can use this project with my server to store the wordpress/php files?

I think you can do this with SSH_OPTS.
https://github.com/cloudfoundry-samples/cf-ex-wordpress/blob/master/manifest.yml#L14
Add an option -o port=2222 or whatever your port number is.

Thanks. This works.


npm doesn't work after updating winpty-git

winpty exact version is winpty-git-<IP_ADDRESS>.db12b07
Steps to reproduce

Download msys2-base-x86_64-20150916.tar.xz
Unpack it to d:/soft/msys2
Run mingw64-shell.bat
Restart
pacman -S mingw64/mingw-w64-x86_64-nodejs
npm (output should be ok)
update-core
Restart
pacman -S msys/winpty-git
npm

Expected result
npm help output as usual
Actual result
module.js:340
    throw err;
          ^
Error: Cannot find module 'D:\mingw64\lib\node_modules\npm\bin\npm-cli.js'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:935:3

Additional info
npm looks for npm-cli.js in
"$basedir/node" "$basedir/../lib/node_modules/npm/bin/npm-cli.js" "$@"

Basedir is /mingw64/bin, so the problem must be evaluating relative path
Downgrading to winpty-git-<IP_ADDRESS>.47a69d0 helps

I can verify. The process chain looks like this:
/mingw64/bin/npm
/usr/bin/sh (executes script)
/mingw64/bin/node /mingw64/bin/../lib/node_modules/npm/bin/npm-cli.js
/usr/bin/bash (executes script)
/usr/bin/winpty /mingw64/bin/node.exe /mingw64/bin/../lib/node_modules/npm/bin/npm-cli.js
C:\msys64\mingw64\bin\node.exe /mingw64/bin/../lib/node_modules/npm/bin/npm-cli.js

I assume that there should be some path mangling going on at the last step, but for some reason, it's not there with the newer winpty build. Unfortunately, I don't have time to dive into the source code (or the changelog) at the moment.

So this is what changed since the previous build. Nothing there strikes me as the definite reason for the breakage, but rprichard/winpty@2ecc596 looks pretty suspicious. Anyone up for bisecting it?

I have tried to do it, but I have trouble compiling winpty without that suspicious commit.

See #361 for a fix.

It isn't working again with winpty-git 1~<IP_ADDRESS>5.79c9859-1 and mingw-w64-x86_64-nodejs 0.10.40-1.


edit-validator: moniker changed to 'your-moniker' despite not specified

I've run the following command without --moniker:
fxcore@7b36c9e12a46:~$ fxcored tx staking edit-validator --from=test --website="https://example.com" --details="To infinity and beyond!"<EMAIL_ADDRESS>--gas auto --gas-adjustment=1.2 --gas-prices="6000000000000FX" --yes
gas estimate: 67264
{"height":"2015917","txhash":"9B236B7A56778483BBA126040763AA3D00C61F379454B11C1E565774D6217FF8","codespace":"","code":0,"data":"0A100A0E656469745F76616C696461746F72","raw_log":"[{\"events\":[{\"type\":\"edit_validator\",\"attributes\":[{\"key\":\"commission_rate\",\"value\":\"commissionrates:\\n  rate: \\\"0.005000000000000000\\\"\\n  max_rate: \\\"0.200000000000000000\\\"\\n  max_change_rate: \\\"0.010000000000000000\\\"\\nupdate_time: 2021-10-11T17:24:59.288210099Z\\n\"},{\"key\":\"min_self_delegation\",\"value\":\"1000000000000000000\"}]},{\"type\":\"message\",\"attributes\":[{\"key\":\"action\",\"value\":\"edit_validator\"},{\"key\":\"module\",\"value\":\"staking\"},{\"key\":\"sender\",\"value\":\"fxvaloper1testq0nmkkpd84qj4rde7l42a5nw3g8k5fpm77\"}]}]}]","logs":[{"msg_index":0,"log":"","events":[{"type":"edit_validator","attributes":[{"key":"commission_rate","value":"commissionrates:\n  rate: \"0.005000000000000000\"\n  max_rate: \"0.200000000000000000\"\n  max_change_rate: \"0.010000000000000000\"\nupdate_time: 2021-10-11T17:24:59.288210099Z\n"},{"key":"min_self_delegation","value":"1000000000000000000"}]},{"type":"message","attributes":[{"key":"action","value":"edit_validator"},{"key":"module","value":"staking"},{"key":"sender","value":"fxvaloper1testq0nmkkpd84qj4rde7l42a5nw3g8k5fpm77"}]}]}],"info":"","gas_wanted":"67264","gas_used":"66472","tx":null,"timestamp":""}

but it changed moniker to 'your-moniker'.
Transaction: 0x9B236B7A56778483BBA126040763AA3D00C61F379454B11C1E565774D6217FF8
These are the values which are not expected:

"moniker": "your-moniker"

"identity": "[do-not-modify]",

Further issues:

When changed a security contact, it's shown empty when checking via fxcored query staking validator.
When changed 'details' field, it's still showing then old one when specified on the validator creation. Checked by the above command.
Explorer website also got problems and not updating some fields, reported this separately at the forum.

I found the validator information at block height 2024529 (2021-11-20T08:36:47.224194515Z)
ubuntu@ip-172-20-71-245:~$ fxcored query staking validator fxvaloper1testq0nmkkpd84qj4rde7l42a5nw3g8k5fpm77 --height 2024529
commission:
  commission_rates:
    max_change_rate: "0.010000000000000000"
    max_rate: "0.200000000000000000"
    rate: "0.005000000000000000"
  update_time: "2021-10-11T17:24:59.288210099Z"
consensus_pubkey:
  '@type': /cosmos.crypto.ed25519.PubKey
  key: FEZz5DIUlb/wX+otO12y+Y89LAFrCyMTLl+hajBaDx4=
delegator_shares: "1400584238968077351915.735754119592503430"
description:
  details: To infinity and beyond!
  identity: ""
  moniker: Test
  security_contact<EMAIL_ADDRESS>  website: https://example.com
jailed: true
min_self_delegation: "1000000000000000000"
operator_address: fxvaloper1testq0nmkkpd84qj4rde7l42a5nw3g8k5fpm77
status: BOND_STATUS_UNBONDING
tokens: "1396600000000000000000"
unbonding_height: "2021043"
unbonding_time: "2021-12-11T03:19:09.601206856Z"

We will fix the block explorer as soon as possible

I found the validator information at block height 2024529 (2021-11-20T08:36:47.224194515Z)

The next run after it was to fix the invalid moniker.
$ fxcored tx staking edit-validator --from=test --website="https://example.com" --details="To infinity and beyond!"<EMAIL_ADDRESS>--moniker "Test" --gas auto --gas-adjustment=1.2 --gas-prices="6000000000000FX" --yes
gas estimate: 67042
{"height":"2015927","txhash":"C90A35BE958DDF19CFE2F132C93AD9BB539AEF3ECF01270FDDC21BEC118D3FA4","codespace":"","code":0,"data":"0A100A0E656469745F76616C696461746F72","raw_log":"[{\"events\":[{\"type\":\"edit_validator\",\"attributes\":[{\"key\":\"commission_rate\",\"value\":\"commissionrates:\\n  rate: \\\"0.005000000000000000\\\"\\n  max_rate: \\\"0.200000000000000000\\\"\\n  max_change_rate: \\\"0.010000000000000000\\\"\\nupdate_time: 2021-10-11T17:24:59.288210099Z\\n\"},{\"key\":\"min_self_delegation\",\"value\":\"1000000000000000000\"}]},{\"type\":\"message\",\"attributes\":[{\"key\":\"action\",\"value\":\"edit_validator\"},{\"key\":\"module\",\"value\":\"staking\"},{\"key\":\"sender\",\"value\":\"fxvaloper1testq0nmkkpd84qj4rde7l42a5nw3g8k5fpm77\"}]}]}]","logs":[{"msg_index":0,"log":"","events":[{"type":"edit_validator","attributes":[{"key":"commission_rate","value":"commissionrates:\n  rate: \"0.005000000000000000\"\n  max_rate: \"0.200000000000000000\"\n  max_change_rate: \"0.010000000000000000\"\nupdate_time: 2021-10-11T17:24:59.288210099Z\n"},{"key":"min_self_delegation","value":"1000000000000000000"}]},{"type":"message","attributes":[{"key":"action","value":"edit_validator"},{"key":"module","value":"staking"},{"key":"sender","value":"fxvaloper1testq0nmkkpd84qj4rde7l42a5nw3g8k5fpm77"}]}]}],"info":"","gas_wanted":"67042","gas_used":"66287","tx":null,"timestamp":""}

However without specifying --moniker, it's reverted back to 'your-moniker'.

Shouldn't fxcored query staking validator return the latest information, without the need of specifying --height?

Shouldn't fxcored query staking validator return the latest information, without the need of specifying --height?

yes

Another similar issue:
I've created validator without --moniker, it created your-moniker, then I've renamed moniker for the validator, but fxcored status still shows the initial one (your-moniker).

However without specifying --moniker, it's reverted back to 'your-moniker'.

Ok, I get it now. It's loaded from the config file.
$ grep moniker config.toml
moniker = "your-moniker"

I'm going to close it, since the moniker is changed as per config file, which I believe it's what is expected. The other small issues has been addressed already.


Please invite me to the GitHub Community Organization

Name
Kendall Pinto
Discord Username (if applicable)
No response
Additional Context
I got to know about Linkfree a while back, I really like Eddie's content and would love to be part of this community.

Thanks


gocql panics with panic: scylla: <ip>:9042 invalid number of shards when restarting node with higher resources assigned

One of Scylla Operator's E2E tests started failing after updating gocql dependency from v1.7.3 to v1.11.1 due to gocql panicking with the following logs:
        panic: scylla: <IP_ADDRESS>:9042 invalid number of shards

        goroutine 997 [running]:
        github.com/gocql/gocql.(*scyllaConnPicker).Put(0xc0005b1440, 0xc000904000)
                github.com/gocql/gocql@v1.6.0/scylla.go:400 +0x448
        github.com/gocql/gocql.(*hostConnPool).connect(0xc00058b1f0)
                github.com/gocql/gocql@v1.6.0/connectionpool.go:554 +0x2b0
        github.com/gocql/gocql.(*hostConnPool).fill(0xc00058b1f0)
                github.com/gocql/gocql@v1.6.0/connectionpool.go:397 +0x159
        github.com/gocql/gocql.(*policyConnPool).addHost(0xc0003decd0, 0xc000b849c0)
                github.com/gocql/gocql@v1.6.0/connectionpool.go:255 +0x1cf
        github.com/gocql/gocql.(*Session).startPoolFill(0xc000685000, 0x0?)
                github.com/gocql/gocql@v1.6.0/events.go:214 +0x2d
        created by github.com/gocql/gocql.(*controlConn).setupConn
                github.com/gocql/gocql@v1.6.0/control.go:301 +0x26a

https://github.com/scylladb/scylla-operator/actions/runs/6178751661/job/16772628746#step:3:3702
I bisected the repository and confirmed that, before we reverted to v1.7.3, the last good commit was 6b310ee0ce1c7a72e4d16555dedf4e1cf7058258, and that bumping gocql's version was then enough to break the test.
The failing test is https://github.com/scylladb/scylla-operator/blob/master/test/e2e/set/scyllacluster/scyllacluster_updates.go.
It was failing quite consistently on our master (GitHub CI node with kubeadm and cri-o) before reverting. I was also able to consistently reproduce it locally with a similar setup.
Debug logs from a local run:
2023/09/21 00:24:31 gocql: pool connection error "<IP_ADDRESS>:9042": EOF
2023/09/21 00:24:31 scylla: <IP_ADDRESS>:9042 remove shard 0 connection
2023/09/21 00:24:31 gocql: unable to dial control conn <IP_ADDRESS>:9042: dial tcp :0-><IP_ADDRESS>:9042: connect: connection refused
2023/09/21 00:24:31 gocql: unable to connect to any ring node: dial tcp :0-><IP_ADDRESS>:9042: connect: connection refused
2023/09/21 00:24:31 gocql: control falling back to initial contact points.
...
2023/09/21 00:25:25 Session.ring:[<IP_ADDRESS>:UP]
2023/09/21 00:25:25 Session.ring:[<IP_ADDRESS>:UP]
2023/09/21 00:25:25 scylla: connecting to shard 0
panic: scylla: <IP_ADDRESS>:9042 invalid number of shards
...

Test scenario:

Deploy ScyllaDB cluster with a single node
Wait for node's readiness
Initialize a gocql session and write data
Restart node with increased assigned resources (see https://github.com/scylladb/scylla-operator/blob/e87c45c17831e93d915a8114ab350e881778361c/test/e2e/set/scyllacluster/scyllacluster_updates.go#L81 for details)
Wait for node's readiness
Read the data written earlier

Now with v1.11.1, gocql is going to panic with panic: scylla: <node-ip>:9042 invalid number of shards, which is a regression from v1.7.3.
Prerequisites for reproducing:

Have a running k8s deployment with k8s-local-volume-provisioner deployed (see https://github.com/scylladb/scylla-operator/blob/master/.github/actions/setup-kubernetes/action.yaml and https://github.com/scylladb/scylla-operator/blob/master/.github/actions/setup-local-volume-provisioner/action.yaml for reference).
Deploy latest scylla-operator

Steps to reproduce:
$ git clone git@github.com:scylladb/scylla-operator.git && cd ./scylla-operator
$ go mod edit -replace<EMAIL_ADDRESS>&& go mod tidy && go mod vendor
$ go run ./cmd/scylla-operator-tests run all --loglevel=2 --parallelism=1 --progress --focus="ScyllaCluster should reconcile resource changes"

Additional context:
The issue never occurred in our presubmits, ran in a different environment with Prow CI, for which we're using GKE nodes for both master and worker nodes. My only guess was a different networking setup: GKE Dataplane V2 is implemented using Cilium, while in our GitHub CI we're using a default cri-o's network configuration.
For this reason I've setup a local kubeadm installation with Cilium v1.14.2 without kube-proxy. Unfortunately the issue reproduced, so it didn't help narrowing it down, but maybe you'll find this information helpful.
What version of Scylla or Cassandra are you using?
ScyllaDB OS 5.2.7
What version of Gocql are you using?
1.11.1
What version of Go are you using?
1.20

Cross reference: https://github.com/scylladb/scylla-operator/issues/1399
@avelanarius please let me know if you need any additional information or if you could use any help with reproducing the issue.
cc @tnozicka @mykaul

The comparison that triggers the panic:
https://github.com/scylladb/gocql/blob/61be561b44eaf2d86b93ce6e32be822565acc78b/scylla.go#L399-L401
occurs with nrShards = 2 and p.nrShards = 1.

It seems like the node has changed the number of shards, but I'll have to double check that this really occured.
In any case, the driver should not panic.

I am working on that, looks like check that is causing panic was there in previous version that worked, I need to do bisect to determine the actual change that broke the test

Any updates?

I found the commit that broke the test: https://github.com/scylladb/gocql/commit/0a990b213c7df8975b8110c8cde8cc1569f91932, it is quite large, but I managed to narrow down the error search to one file (control.go) and now I should quickly find out the reason why the test fails

@sylwiaszunejko any updates?

https://github.com/gocql/gocql/pull/1729 fixes the problem. We wanted to wait for upstream to merge it, but it looks like we’ll only merge it to our fork.
I will release the next version of gocql soon.

https://github.com/scylladb/scylla-operator/pull/1528 merged, thanks @avelanarius @sylwiaszunejko !


Document Vulkan Setup in Pages

Need to document how to setup vulkan in my own words to understand each part better. Hopefully going through this exercise will make some of the steps more clear.

This is a little silly as the api is documented pretty well. Once this project comes along a little more I will use pages for something else.


Web: Filament.wasm import issues

Filament will always attempt to load the .wasm file from the root directory instead of from the same folder that filament.js is in, if you include it using an import statement. This seems like a bug.
Easy to repro:
import * as Filament from '/libs/filament.js'

Hmm, that does sound like a bug, but might be hard to fix since emscripten generates the wasm-loading code for us. We have a webpack sample in the source tree that demonstrates the usage of import, if that's helpful.

I think that ends up working because it copies over the wasm into the output directory, and it does work when including the container file in a subfolder through an html tag. I'm doing that as a workaround for now after webpacking my project.
I figured this would be a nasty to figure out. I'll also take a look. >_>

@John-DeCorato-HZ happy to accept a pull request but this isn't something we have the expertise for.  Closing.


Support passing different date time string to table column with time datatype

Is your feature request related to a problem? Please describe
Table column datatype with time doesn't accept custom data time string. for example we cannot pass string 28/01/2022 12:45:51 as an input to a table cell with time datatype. It renders as InvalidDate.
When working with paginated tables we need to download table content as a csv file and date column values needs to be in this format %d/%m/%Y %H:%M:%S. Due to this limitation we cannot use same method to render paginated table rows and downloadable dates with above format.
Describe the solution you'd like
If we can provide date format as an input to table column definition would be beneficial for all the developers.

Table column datatype with time doesn't accept custom data time string. for example we cannot pass string 28/01/2022 12:45:51 as an input to a table cell with time datatype

Yes, this is by design currently. #1840 should help with that a bit, but still will not allow for custom hardcoded format due to internationalization reasons.

When working with paginated tables we need to download table content as a csv file and date column values needs to be in this format %d/%m/%Y %H:%M:%S. Due to this limitation we cannot use same method to render paginated table rows and downloadable dates with above format

If you use paginated tables, you are in control of the download as well, meaning you can provide any CSV (with whatever format) you like. See https://wave.h2o.ai/docs/examples/table-pagination-download/.

If you use paginated tables, you are in control of the download as well, meaning you can provide any CSV (with whatever format) you like. See https://wave.h2o.ai/docs/examples/table-pagination-download/.

@mturoci I was able to implement download table data based on the format that I needed. However, what worries me is, we cannot use the same data conversion logic for the table and the downloadable data. Looking forward to having that support in wave SDK.

Looking forward to having that support in wave SDK.

Not gonna happen due to internationalization reasons as stated in the prev comment.

we cannot use the same data conversion logic for the table and the downloadable data

If you use paginated table and want to go for bad UX intentionally, then you can render your dates as strings since sorting needs to be handled server side anyway.

Not gonna happen due to internationalization reasons as stated in the prev comment.
My bad, I misread your previous comment. I understand the complexities of supporting it. We'll introduce our own way to handle table content downloads. Thanks a lot.


Serious safety problems with callbacks

Client::input_port takes a callback by move, then passes the pointer to the C ffi. I believe that's going to work ok if the callback happens to be a plain function, but fail pretty badly if it contains any context. The right thing to do is put it in a Box. See https://github.com/RustAudio/coreaudio-rs/blob/master/src/audio_unit/render_callback.rs#L383 for how coreaudio deals with a similar issue.
The box needs to be dropped with the port. I believe that's a slightly more far-reaching change. Probably Object needs to store a second box for type erasure of the polymorphic drop.
The callback also needs Send and 'static bounds, to indicate that it might be called from a different thread, and after the function returns. Also, Fn should probably be weakened to FnMut (assuming Core MIDI guarantees that only one callback at a time will be outstanding, which I think is a reasonable assumption but I'm not 100% sure - https://lists.apple.com/archives/coreaudio-api/2002/Apr/msg00002.html seems to indicate it's ok).
I can send a PR if you'd like - I have this working as a prototype except it just leaks the box with the function.

Hi @raphlinus, thank you very much for the feedback. I am not very much involved with the project right now, so if you can PR the proposed changes I will be delighted to review ;-)


[Storage] Record and playback - Improvements for skip list

Improve dev convenience while skipping a test.
Currently, we are supposed to provide the file name of the recording to skip the test.
That implicitly means that the developer should have the knowledge of how a test title translates to the filename.
Instead, take describe block name and the test title as inputs in the skip list to skip the specific test.
https://github.com/Azure/azure-sdk-for-js/pull/3504#discussion_r296975172

Update
Managing the list of test names would mean that we should frequently update them whenever a test name changes or a new test is added.
New idea - Provide a .skip() method with the recorder so that it can be called from the it block to skip a test

Need to properly handle the recording that was already started in the beforeEach section and also make sure the afterEach block doesn't give any conflicting behaviour.
This way, there is no need to manage a skip list in the recorder :)

/cc - @kinelski

#4898


Lawnicon app displays icons as distorted and out of shape

About this discussion
Lawnicon displays icons in the icon grid view incorrectly. Some icons render with thick strokes and for some of them, it's too narrow. But scrolling them out of the display and back in re-renders them correctly (Image 3).
If you want to reproduce this bug, try typing something in the app search box. Some of the icon in search result shows incorrectly. Clearing the search box also shows some of the icons with incorrect stroke sizes.
Image 1

Image 2

Image 3

I believe this issue has been fixed now as I can't replicate it. Feel free to re-open the issue if you still experience this.


Create documentation for reverse proxies

Moved from https://github.com/thelounge/lounge/wiki/Reverse-Proxies

Do you mind if we hold onto that until I start improving the content/structure of the docs? I'm planning to do that as soon as the current reviews are settled. Being back with more time on the project + seeing a few of you active on PRs is great as I'll have more time to focus on the docs and less on reviews.


pkger build: no recipes to build

Running pkger build produces:
WARN  no recipes to build

However, pkger list recipes outputs a non-empty list. I can share the whole trace from pkger build, but it seems like the important part is just this:
TRACE opts=Opts {
    quiet: false,
    debug: false,
    trace: true,
    filter: None,
    config: None,
    command: Build(
        BuildOpts {
            recipes: [],
            simple: None,
            images: None,
            docker: None,
            all: false,
            no_sign: false,
        },
    ),
}

I think this is desired behavior, but perhaps could be better documented. Previously pkger build would build all recipes for all image targets and that is something not everyone expects as it might lead to a lot of builds started without the users intent. Right now if you want to build all images you have to explicitly add pkger build --all or specify the recipes that you want to build pkger build recipe1 recipe2...

Okay, that makes sense. I'm not quite sure where I got the impression that it would build everything. Maybe pkger build could output the intended usage if invoked without any recipes or flags?

That does sound like a good idea, I added initial warning message in #68. Do you think this message is enough or should it display some more usage options?

Looks perfect! Thank you


Make submitting examples easier from the command line.

New commands:
heron examples list
heron examples run
This patch is to provide easier commands to get the heron examples up and running.

This is a very interesting link between codes(java examples to python cli). Are we sure about this dep?

It is a little different and strange but I think we need an easier way to get started with examples. Currently, the user needs to know where the examples are installed and the fully qualified class name. This is a lot to ask to get started. I'm open to suggestions on how make this better.

With #2300, we have two sets of examples (heron-examples.jar and storm-compatibility-examples). Does this PR run the examples for both heron and storm-compatibility?

Closing this one


[Feature] fullscreen toggle

Proposed changes:
Add option to show a fullscreen toggle button as mentioned in #25.
Status (please check what you already did):

[x] made PR ready for code review
[x] added some tests for the functionality
[x] updated the documentation
[ ] updated the changelog

Would you mind rebasing that branch on mrbot-ai:master and message me back when it's done ? Thank you for your help and for your time.

Hi, can you please make the full screen button to not show by default. A lot of people use that widget and we want changes to be opt-in.
Can you also remove the outline when the button is in focus ? outline: none works I believe.
The fullscreen button also feels slightly misaligned with the chat title, taking it down by one or two pixels would help I think.
I also left two comments on the changes.
Thank you for your contribution.


Make download test repo a random one

So that it does not fail when it's already created, and we don't have to keep
deleting it

This is not simply a would like but is actually causing errors like this one  or this one


Swipe delete

Add confirmation when deleting a notify by swiping it to the left

Do you mean a button, like when swiping to the right, or a popup?

A buttonVon: Erik0806 @.>Gesendet: Mittwoch, 1. März 2023, 07:45An: Erik0806/notify @.>Cc: TheAnsgar @.>; Author @.>Betreff: Re: [Erik0806/notify] Swipe delete (Issue #20)
Do you mean a button, like when swiping to the right, or a popup?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>


[OCA-1240] Change/main concept demos

Description 📝
Updates app names to highlight deployments are demos.
Changes  🔄
updates stasckscript.utils
updates oneClickApps.ts

make sure to add changeset:
yarn changeset


Apex CPU time limit exceeded

I am getting CPU time limit exceeded error when i am try to getFile in a loop.
sampleZip = new Zippex(EncodingUtil.base64Decode(/*Some zip file*/));
sFileNames = sampleZip.getFileNames();
for(String fileName : sFileNames){
     if(fileName.endsWith('.xml')==false){
           Blob myBlob = sampleZip.getFile(fileName);
           if(String.isBlank(myBlob.toString())){
                  containedFileNames.add(fileName);
           }
     }
}

Is there any update on it? I am getting the same issue.

Same here. CPU time limit exceeded. It Happens when I attempt to add in a 2nd file (PDF) to the zip. The file is only 1.5 megs in size. Mine is not in a loop, but just manually adding a new file to the zip archive:
Zippex sampleZip = new Zippex();
Blob fileData = EncodingUtil.base64Decode(base64Data);
sampleZip.addFile('pdf1.pdf', fileData, null);
fileData = null; //reccomended to free up heap
Blob fileData2 = EncodingUtil.base64Decode(base64Data2);
sampleZip.addFile('pdf2', fileData2, null);
fileData2 = null;  //reccomended to free up heap
Blob zipData = sampleZip.getZipArchive();
(Apex bombs out with CPU time limit exceeded)
Any ideas?
Thank you.

me too.

Same issue

Any solution , facing the same issue "Apex CPU time limit exceeded".

What is Maximum size of zip ?
Any solution to this?

I'm having the same issue as well

if anyone find the solution of this problem please share with us.

I'm having the same issue as well

I'm having the same issue.
One workaround that I found is to use WinRar and compress the zip file with "Compression Method" = "Store"

Maybe we got the "Apex CPU Time limit exceeded" because Windows compile the .zip as ZIP64 (I'm not an expert, so this is just a guess) and request more processing from Apex


Support warnings on uninitialized variables.

might be a breaking change for OV.

AI Sriram: split this up into pieces that can be addressed in sprint 5.

At this point, the bulk of this feature has been implemented. Remaining parts are more specialized, and are likely better off being smaller, specialized issues.


Enhance vscode to return electron version using command prompt

Currently, using code --version command, we can know the version of vscode.
Also, using Help->About, option in vscode, we can know version of node.js and electron used by the vscode. It would be good to get all information of Help->About, using a single command.
It will help other vscode extension to know the electron version using which it need to be compiled to work with vscode.
Currently, process.versions.electron gives the version only in vscode console. I want this info from Windows or linux command prompt. Thanks.

Hi @deepak1556
This issue was labeled as out of scope.
Sorry, may I know why?
We are just asking you to add one more parameter like code --electron or code --electron_version.
Thanks
Akhil


LFOM orifice array design

How to determine the spacing between orifices? Is it based on the maximum orifice per row calculation that is in the Mathcad files?
We are making 30 rows that will either be populated with the number of orifices for that row, or with 0 orifices. How do we know which rows (of the 30 possible) should be populated (depending on how many overall rows we want)

Mathcad uses a S minimum of 1 cm

Fix the number of rows function
Figure out if we actually need 4, 5, 8, and 10 row options - determine that by plugging in different flow rates and seeing what we actually need

Actual design:
3) Calculate the number of rows needed for q_plant. Figure out which of the 40 need to be populated.
4) Determine the number of orifices for each row
5)  Figure out geometry of the orifice array - will need to take into account orifice offset from even and odd orifice numbers.
6) Using an origin of (0,0) for the first orifice on the first row, report to template team

offset of the location of the first orifice of each row
height of each row
number of orifices in each row

Here is the code in Mathcad.
I did find that for flowrates less than 20 L/s it was 8 rows. But ideally this would be calculated using an equation. See below


can not get install sh

wget https://github.com/apache/incubator-heron/releases/download/0.20.2-incubating/heron-install-0.20.2-incubating-ubuntu.sh
--2020-02-21 10:55:21--  https://github.com/apache/incubator-heron/releases/download/0.20.2-incubating/heron-install-0.20.2-incubating-ubuntu.sh
正在解析主机 github.com (github.com)... <IP_ADDRESS>
正在连接 github.com (github.com)|<IP_ADDRESS>|:443... 已连接。
已发出 HTTP 请求，正在等待回应... 404 Not Found
2020-02-21 10:55:22 错误 404：Not Found。

@dttlgotv This is mistake in the documentation that needs to be corrected. Prior to Heron being donated to the ASF all of the releases were made in Github.  Now that Heron is part of the Apache Foundation we need to go through a different release process as well as host the convenience binaries on Apache infrastructure for distribution.  We are close to getting to that point, but still have a little bit of work to do.  If you want to build the install script for a platform you can run the following command
$ bazel build --config=darwn/ubuntu/centos/debian scripts/packages:binpkgs

However, instead of having darwn/ubuntu/centos/debian as the config parameter value you need to select one OS value.
MacOs would be --config=darwin
Debian would be --config=debian
Ubuntu would be --config=ubuntu
Centos would be --config=centos
The output will be a file named heron-install.sh if I remember correctly.

@dttlgotv This is mistake in the documentation that needs to be corrected. Prior to Heron being donated to the ASF all of the releases were made in Github. Now that Heron is part of the Apache Foundation we need to go through a different release process as well as host the convenience binaries on Apache infrastructure for distribution. We are close to getting to that point, but still have a little bit of work to do. If you want to build the install script for a platform you can run the following command
$ bazel build --config=darwn/ubuntu/centos/debian scripts/packages:binpkgs

However, instead of having darwn/ubuntu/centos/debian as the config parameter value you need to select one OS value.
MacOs would be --config=darwin
Debian would be --config=debian
Ubuntu would be --config=ubuntu
Centos would be --config=centos
The output will be a file named heron-install.sh if I remember correctly.

I have some comping errors #3463  , so I have to install the newest version using this way.


CRAN errors replicated in spatial revdeps

Errors unfortunately persist with latest master dplyr/rlang/vctrs from github (I thought maybe that they would go away with the dplyr retraction on join order):
* checking tests ...
  Running ‘testthat.R’
 ERROR
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:
  Backtrace:
    1. nhdplusTools::get_pfaf(fl, max_level = 2)
    2. nhdplusTools:::cleanup_pfaf(pfaf)
    4. tibble:::`[.tbl_df`(...)
    5. tibble:::tbl_subset_row(xo, i = i, i_arg)
    6. tibble:::vectbl_as_row_index(i, x, i_arg)
    7. tibble:::vectbl_as_row_location(i, nr, i_arg, assign)
   14. vctrs::vec_as_location(i, n, arg = as_label(i_arg))

  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 180 | SKIPPED: 20 | WARNINGS: 0 | FAILED: 1 ]
  1. Error: get_pfaf (@test_calc_network.R#113)

  Error: testthat unit tests failed
  Execution halted

Agh! CRAN pretest emails were hitting my junk inbox and I am just seeing this -- thanks for the ping. Will resolve ASAP.

... really?
x <- data.frame(one = c(1,2,3), two = c(4,5,6))

x[, 1]
#> [1] 1 2 3

y <- tibble(x)[, 1]
#> Error in tibble(x): could not find function "tibble"

Created on 2020-04-01 by the reprex package (v0.3.0)


[schematics/angular] No need to generate a module spec

Bug Report or Feature Request (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request

Area
- [ ] devkit
- [x] schematics

Versions

Repro steps
When generating a module, a spec file is created.
This file has no real interest and was not generated before CLI v6 if I'm not mistaken.
It's possible to skip the generation with the spec option,
but as the test is not really useful, the test should never be created and the option removed?
module-spec git:master ❯ ng g m shared
CREATE src/app/shared/shared.module.spec.ts (275 bytes)
CREATE src/app/shared/shared.module.ts (190 bytes)

Desired functionality
It should not generate a spec file.

So, the real question for.me, and this has now come up in several projects, is WHY this came to be. Was this intentional but never discussed, or was this a mistake. Generally, speaking most module specs are useless, but was there a use-case that supported ALWAYS generating a spec file?


import type should not need runtime modules support

Suggestion
🔍 Search Terms
import type
module
--outFile
✅ Viability Checklist
My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

⭐ Suggestion
Intuitively I expect import type to be a compile-time only construct. This is currently not really the case, because using import type triggers the compiler into thinking we are using ES modules.
📃 Motivating Example
Consider this test.ts:
import type { mkdir as mkdir_proto } from 'fs';
const { mkdir } = require('fs') as { mkdir: typeof mkdir_proto };

This to compile to a ŧest.js which is more or less:
"use strict";
const { mkdir } = require('fs');

Which does not use ES modules. Nevertheless, the compiler refuses to compile this if modules are disabled, e.g.
tsc test.ts --outFile test.js --target es2020 fails with:
error TS6131: Cannot compile modules using option 'outFile' unless the '--module' flag is 'amd' or 'system'.

1 import type { mkdir as mkdir_proto } from 'fs';

Which makes me think the compilers treats import and import type the same way.
💻 Use Cases
This is clearly not a showstopper, more of an optimization. One use-case is trying to build simple Node.JS scripts, written in typescript as a single file (with the --outFile flag), in order to deploy each script as a single javascript file, that I can run natively on a Node.JS server with no typescript support (no tsc or ts-node installed).
Since the script only has dependency to node's standard library, I was not expecting typescript to refuse to compile as a single file.
We can work arround by defining a tsconfig.json and building in a directory, then extracting the js file generated in that build/ dir. And I realize there are a lot of issues around here about packaging as a single file. But in this case, there is no concatenation required at all. This is just about import type triggering typescript into thinking we are using modules, when we really aren't.
As I said, this is clearly not critical, and I have no idea if this would be easy to implement. So it's really just a suggestion :)

Essentially a duplicate of #41513 and #41562, with a possible solution discussed at #41567.
As soon as you're using the import or export statements you're dealing with modules. This is by design.

I see, thanks, and sorry for the duplicate.
For future reference, this explains the rationale: https://github.com/microsoft/TypeScript/pull/35200#issuecomment-645565073
Although it leaves unanswered the question of how to reference modules, and in particular type modules from script :(

Although it leaves unanswered the question of how to reference modules, and in particular type modules from script :(

That has been answered in the linked issues. In short: You can't. At least currently not.

Although it leaves unanswered the question of how to reference modules, and in particular type modules from script :(

That has been answered in the linked issues. In short: You can't. At least currently not.

This isn't entirely true, although it's kinda awkward without proper import. Basically you can use:
type MkdirProto = typeof import("fs")["mkdir"];

This isn't too bad to be honest, although becomes tedious if you want a lot of types as there's no destructuring or such to speak of in the type system. So you'll need a type ImportedType = ... for each and every imported type.

Ah excellent thanks. I saw that from some other comments but wasn't aware this syntax wasn't considered a module import as opposed to import type. Is this documented somewhere ?


Accessibility

Make the application compatible with assistive technologies and usable without a mouse.

Sevish

this also looks very helpful as a guide to adding the ARIA stuff
https://www.w3.org/WAI/ARIA/apg/


Add feature tests to the server

Test all endpoints - basically all the endpoints that are added in Postman
Authentication and security in general

Added 62 test cases!


Highlighting State text

Hi, just started using this card and the fist improvement I'd personally make is the ability to set the state text to Bold for better visibility and hierarchy definition.
eg: 120W Server -> 120W Server

Here above I just added style="font-weight:bold in the <span> and it looks already so much better to me.
Maybe it's not that clear in this example but it's something I'd like to try, at least in principle.
 Any hints on how to achieve this?

You can easily do this with card mod and CSS. All the text items are in separate spans for this reason.
Check issue #14 for an example

For future me:
Default style

Modded

Code I used:
card_mod:
  style: |
    .state {
      font-weight: bold;
      font-size: 120%;
    }
    .unit {
      font-weight: bold;
      font-size: 120%;
      padding-left: 1px;
    }


table.createLoadJob has mutually exclusive polymorphic return

Affects<EMAIL_ADDRESS>The table.createLoadJob is a callback-first method that has been promisified via promisifyAll, i.e. it doesn't meet the requirements of a non-promise method (Stream/constructor/etc). However, when the source argument is a string, the current implementation attempts a synchronous return type of Stream.Writable (EventEmitter). See https://github.com/googleapis/nodejs-bigquery/blob/v4.7.0/src/table.ts#L1226-L1248
This polymorphic return is problematic:

With callback and without await, Writable is returned
With callback and with await, Writable is returned
Without callback and without await, Promise (of Job? can't actually test this) is returned
Without callback and with await, Promise of Job is returned

The corresponding overloads are available:
createLoadJob(source: string): Writable; // Never reached
createLoadJob(source: string, callback: JobCallback): Writable; // 1, 2

// 4 is not documented as an overload, but is possible in the concrete signature:
createLoadJob(source: string): Promise<JobResponse> {...}

One of the tests expects a Writable without a supplied callback, but, upon promisifyAll refactor in the unit tests to actually be applied, it fails due to the method assuming to be used like a promise, which corresponds to scenario 3 in previous: https://github.com/googleapis/nodejs-bigquery/blob/v4.7.0/test/table.ts#L58-L64
In the current unit tests, this issue is not presented due to the promisifyAll stub, which removes the promisification functionality. See https://github.com/googleapis/nodejs-bigquery/blob/v4.7.0/test/table.ts#L58-L64
Example test cases (all succeed):
// fix the promisifyAll fake
const fakePfy = extend({}, pfy, {
  promisifyAll: (c: Function) => {
    if (c.name === 'Table') {
      promisified = true;
    }
    pfy.promisifyAll(c); // ADDED THIS
  },
});

// test cases
it('+cb +async', async () => {
  sandbox.stub(table, 'createWriteStream_').returns(new stream.Writable());
  const result = await table.createLoadJob(FILEPATH, () => {}); // noop
  assert(result instanceof stream.Writable);
  result.emit('job', {metadata: 'foo'});
});

it('+cb -async', (done) => {
  sandbox.stub(table, 'createWriteStream_').returns(new stream.Writable());
  const result = table.createLoadJob(FILEPATH, done);
  assert(result instanceof stream.Writable);
  result.emit('job', {metadata: 'bar'});
});

it('-cb +async', async () => {
  const w = new stream.Writable();
  sandbox.stub(table, 'createWriteStream_').returns(w);
  setImmediate(() => w.emit('job', {metadata: 'qux'}));
  const result = await table.createLoadJob(FILEPATH);
  assert.deepStrictEqual(result, [{metadata: 'qux'}, 'qux']);
});

it('-cb -async', () => {
  // cannot test this, table.createLoadJob always returns a Promise
});

Typically, combining promises, callbacks, and streams in a single function signature is mutually exclusive.
If a Writable result is really desired that coincides with the createLoadJob(source: string): Writable; signature, I recommend implementing a createLoadJobStream(source: string): Writable; method which will not be promisified.

I would guess that all the implementor wanted was an early return from the function, and all of the annotations suggesting stream support was done to get the linter off their back. Here's a diff of all I believe we want: https://gist.github.com/stephenplusplus/c20d164ff46aefe0fc0a7165667534a9

Thanks @stephenplusplus, that would be breaking API change, and wouldn't reveal the Stream whatsoever. Are we ok with that?

It's currently not possible to actually get the stream back, right? Would it only break TypeScript compilers if a user was under the impression they'd get a stream back?

In the current implementation, there are two scenarios that return the Writable stream, but considering it also invokes the supplied callback upon completion, i don't really see the point of returning the Writable.

With callback and without await, Writable is returned
With callback and with await, Writable is returned

@stephenplusplus @JustinBeckwith @shollyman I've not seen a breaking change handled in this library, so I'm curious if you can give @zamnuts and myself more feedback on this

We are going to be doing a semver major release here in the next or so.  If you want to make a breaking change, now would be a good time.

I tested this out, but it wouldn't actually return a stream to me:
'use strict'

const bigQuery = new (require('@google-cloud/bigquery')).BigQuery()

const dataset = bigQuery.dataset('stephen_has_a_new_dataset')
const table = dataset.table('stephen_has_a_new_table')
const schema = [{"type":"STRING","name":"Name"},{"type":"INTEGER","name":"Age"},{"type":"FLOAT","name":"Weight"},{"type":"BOOLEAN","name":"IsMagic"}]

;(async() => {
  await dataset.create()
  await table.create(schema)

  table.createLoadJob('./location-test-data.json')
    .on('error', console.error)
    .on('finish', console.log)
})()

(node:7504) UnhandledPromiseRejectionWarning: TypeError: table.createLoadJob(...).on is not a function
    at /Users/stephen/dev/play/gissue-640/index.js:14:6

I think we just need to move the return to after the lines that do the streaming work.

@JustinBeckwith in the next "what" or so? :) I'll be pushing within the next day.

We are going to be doing a semver major release here in the next or so.

@stephenplusplus IIRC table.createLoadJob the way you have it will return a promise of a stream. check my test cases in the OP.

Ah, I'm caught up now. This will return a stream, like your test case shows (sorry):
table.createLoadJob('./location-test-data.json', (err, job, apiResponse) => {
  // These are the expected arguments. No stream.
  console.log({err, job, apiResponse})
})
.on('data', console.log) // doesn't error

IIRC table.createLoadJob the way you have it will return a promise of a stream.

It actually resolves the normally-expected arguments, the Job instance and the POJO apiResponse:
table.createLoadJob('./location-test-data.json')
  .then(([job, apiResponse]) => {})

I don't believe there's a way to actually get the stream back where a Job or apiResponse was expected.
We never meant to allow a stream to be returned, or advertised it (outside of the TypeScript params, right?). So this is the gray area of breaking changes IMO, when an undocumented side-effect will break a user's code. (Documentation being these docs: https://googleapis.dev/nodejs/bigquery/latest/Table.html#createLoadJob, and not TypeScript IDE helpers)
But to be safe, and since we have one coming up anyway, sure, it's a breaking change. However, I don't think we need to do too much to fix this. Just not putting the return on the stream line, and instead below the stream logic should restore us to the original intentions of the function. Skip the idea that we need to return a stream at all.


Smart phone number creation

When we collect phone data from organizations, services, and locations, we're taking the whole field and putting it in the number column in the output phones.csv. This is a problem because the phone field might actually include extensions or other text. It would be great to at least parse out extensions in the number column and move them to the extension column.
See examples in this fixture: https://github.com/switzersc/open_referral_transformer/blob/master/spec/fixtures/output/resources/phones.csv

Started with #33


Add Haxe language key.

See travis-ci/travis-build#406.

@BanzaiMan Right now when providing a list of haxe version to expand build matrix, in the web interface the rows are marked with "no language set" (see image below). Is there anything I can do such that they will display haxe version numbers there?

Oops. Sorry about forgetting to mention this. That needs to be handled by travis-web (see commits such as https://github.com/travis-ci/travis-web/commit/42021bb11ae59830392e812def28513d92633765 and https://github.com/travis-ci/travis-web/commit/41d4259c223fa77a7f5bd9b8dc4f69e8ff8f47e0).

Submitted https://github.com/travis-ci/travis-web/pull/345 :)


Middlewares not working

trying to implement prometheus-middlewares and got nothing
//server
import { createServer } from 'nice-grpc';
import { prometheusServerMiddleware } from 'nice-grpc-prometheus';
...
    this.grpcServer = createServer(options);
    this.grpcServer.use(prometheusServerMiddleware());

  start(opts: { port: number } = { port: 50501 }) {
    this.grpcServer.listen(`<IP_ADDRESS>:${opts.port}`);
  }

// metrics endpoint
import { register as globalRegistry, Registry } from 'prom-client';
import { registry as niceGrpcRegistry } from 'nice-grpc-prometheus';
...
  async function promMw(app: FastifyInstance) {
    app.get(
      '/',
      async function (req, res) {
        const mergedRegistry = Registry.merge([globalRegistry, niceGrpcRegistry]);
        res.code(200).send(await mergedRegistry.metrics());
      });
  }

  fastify.register(promMw, { prefix: 'api/v1/prom' });

after that i called my rpc with BloomRPC and got nothing in metrics
# HELP grpc_server_started_total Total number of RPCs started on the server.
# TYPE grpc_server_started_total counter

# HELP grpc_server_handled_total Total number of RPCs completed on the server, regardless of success or failure.
# TYPE grpc_server_handled_total counter

# HELP grpc_server_msg_received_total Total number of RPC stream messages received by the server.
# TYPE grpc_server_msg_received_total counter

# HELP grpc_server_msg_sent_total Total number of gRPC stream messages sent by the server.
# TYPE grpc_server_msg_sent_total counter

# HELP grpc_server_handling_seconds Histogram of response latency (seconds) of gRPC that had been application-level handled by the server.
# TYPE grpc_server_handling_seconds histogram

# HELP grpc_client_started_total Total number of RPCs started on the client.
# TYPE grpc_client_started_total counter

# HELP grpc_client_handled_total Total number of RPCs completed on the client, regardless of success or failure.
# TYPE grpc_client_handled_total counter

# HELP grpc_client_msg_received_total Total number of RPC stream messages received by the client.
# TYPE grpc_client_msg_received_total counter

# HELP grpc_client_msg_sent_total Total number of gRPC stream messages sent by the client.
# TYPE grpc_client_msg_sent_total counter

# HELP grpc_client_handling_seconds Histogram of response latency (seconds) of the gRPC until it is finished by the application.
# TYPE grpc_client_handling_seconds histogram

Also i tried get yours test middleware
export function createTestServerMiddleware<Ext>(
  contextExt: Ext,
  actions: any[],
  actionTypePrefix = '',
): ServerMiddleware<Ext> {

and put it into my server
    this.grpcServer.use(createTestServerMiddleware(
      { test1: 'test-value-1' },
      actions,
      'middleware1-',
    ));

after that done some calls throught BloomRPC and actions array still empty

The server.use method does not mutate the server instance, but creates a new instance with the middleware attached.
Try to change this:
this.grpcServer.use(prometheusServerMiddleware());

to this:
this.grpcServer = this.grpcServer.use(prometheusServerMiddleware());


Sometimes submited hits not appear in the sandbox

Sometimes when I successfully launch the hit command, it doesn't appear in the sandbox, how to fix it?

You just have to wait for a while for hits to show up. If you get back a hit_id, it will eventually show up but is not guaranteed to show up immediately.

@yangshao How long did it take for you for the hits to show up in sandbox?

@spandanagella normally the HITs should appear within one minute.


Detail view

DetailView First Draft

Hey @Al3xHart, thanks for the work 👍 However, the types were not part of this issue goals. And 560 edited files is a bit too much for a pull request. Can you please delete all the unnecessary files (under the model folder for example).

Closed


add an upgrading guide for 2.0, missing validation of configuration

Trying to upgrade https://github.com/liip/LiipHyphenatorBundle is turning out to be surprisingly tricky.
I have been chasing one issue after another and now the latest issue seems to be:
An exception has been thrown during the rendering of a template ("Catchable Fatal Error: Argument 1 passed to Org\Heigl\Hyphenator\Hyphenator::getHyphenationPattern() must be an instance of Org\Heigl\Hyphenator\Tokenizer\TokenRegistry, string given, called in /Users/lsmith/htdocs/symfony-standard/vendor/OrgHeiglHyphenator/src/Org/Heigl/Hyphenator/Hyphenator.php on line 343 and defined in /Users/lsmith/htdocs/symfony-standard/vendor/OrgHeiglHyphenator/src/Org/Heigl/Hyphenator/Hyphenator.php line 359")
Guess something is lacking validation inside the lib which is causing it to break in the above place.

Am 06.12.11 09:47, schrieb Lukas Kahwe Smith:

Trying to upgrade https://github.com/liip/LiipHyphenatorBundle is turning out to be surprisingly tricky.
I have been chasing one issue after another and now the latest issue seems to be:
An exception has been thrown during the rendering of a template ("Catchable Fatal Error: Argument 1 passed to Org\Heigl\Hyphenator\Hyphenator::getHyphenationPattern() must be an instance of Org\Heigl\Hyphenator\Tokenizer\TokenRegistry, string given, called in /Users/lsmith/htdocs/symfony-standard/vendor/OrgHeiglHyphenator/src/Org/Heigl/Hyphenator/Hyphenator.php on line 343 and defined in /Users/lsmith/htdocs/symfony-standard/vendor/OrgHeiglHyphenator/src/Org/Heigl/Hyphenator/Hyphenator.php line 359")
Guess something is lacking validation inside the lib which is causing it to break in the above place.

Reply to this email directly or view it on GitHub:
https://github.com/heiglandreas/Org_Heigl_Hyphenator/issues/7
Hi.

I will dig into that later that day!
Can you give me a sample code of your invocation?
Regards
Andreas
--
,,,
(o o)
+---------------------------------------------------------ooO-(_)-Ooo-+
| Andreas Heigl                                                       |
|<EMAIL_ADDRESS>                  08°23'58"E 50°22'59.5"N |
| http://andreas.heigl.org http://tinyurl.com/26c6nas |
+---------------------------------------------------------------------+

On Dec 6, 2011, at 09:51 , Andreas Heigl wrote:

Am 06.12.11 09:47, schrieb Lukas Kahwe Smith:

Trying to upgrade https://github.com/liip/LiipHyphenatorBundle is turning out to be surprisingly tricky.
I have been chasing one issue after another and now the latest issue seems to be:
An exception has been thrown during the rendering of a template ("Catchable Fatal Error: Argument 1 passed to Org\Heigl\Hyphenator\Hyphenator::getHyphenationPattern() must be an instance of Org\Heigl\Hyphenator\Tokenizer\TokenRegistry, string given, called in /Users/lsmith/htdocs/symfony-standard/vendor/OrgHeiglHyphenator/src/Org/Heigl/Hyphenator/Hyphenator.php on line 343 and defined in /Users/lsmith/htdocs/symfony-standard/vendor/OrgHeiglHyphenator/src/Org/Heigl/Hyphenator/Hyphenator.php line 359")
Guess something is lacking validation inside the lib which is causing it to break in the above place.

Reply to this email directly or view it on GitHub:
https://github.com/heiglandreas/Org_Heigl_Hyphenator/issues/7
Hi.

I will dig into that later that day!
Can you give me a sample code of your invocation?

a little bit tricky to isolate:
https://github.com/liip/LiipHyphenatorBundle/blob/hyphenator_2.0/Extension/HyphenatorTwigExtension.php#L23
here is the DIC configuration:
https://github.com/liip/LiipHyphenatorBundle/blob/hyphenator_2.0/Resources/config/hyphenator.xml

Thanks.
I check that and get to you later!
Regards.
Andreas
--
,,,
(o o)
+---------------------------------------------------------ooO-(_)-Ooo-+
| Andreas Heigl                                                       |
|<EMAIL_ADDRESS>                  08°23'58"E 50°22'59.5"N |
| http://andreas.heigl.org http://tinyurl.com/26c6nas |
+---------------------------------------------------------------------+

The Upgrade-Guide will follow soonish. But the raised issue has been fixed with commit d766db4.

ok thx .. now its not throwing an exception anymore ... now i just need to find out why its not hyphenating anymore.

Am 06.12.11 19:03, schrieb Lukas Kahwe Smith:

ok thx .. now its not throwing an exception anymore ... now i just need to find out why its not hyphenating anymore.

I suppose you didn't provide any tokenizers. Try
Options::addTokenizer('WhiteSpace') and Options::addTokenizer('Punktuation')
That should cover the basic needs.
I'm at the moment sitting at the upgrade guide where I'm mentioning
exactly that.
--
,,,
(o o)
+---------------------------------------------------------ooO-(_)-Ooo-+
| Andreas Heigl                                                       |
|<EMAIL_ADDRESS>                  08°23'58"E 50°22'59.5"N |
| http://andreas.heigl.org http://tinyurl.com/26c6nas |
+---------------------------------------------------------------------+

no .. even calling these methods doesnt help either .. btw you should probably call it "Punctuation" with a "c"

What is the set locale? Because if you try to hyphenate a locale where no hyphenation-patternsa are available for the string will simply be returned unhyphenated. And yes, that will be renamed to "Punctuation" with a 'c'.

What is the set locale? Because if you try to hyphenate a locale where no hyphenation-patternsa are available for the string will simply be returned unhyphenated.

its set to "de"

Am 06.12.11 19:21, schrieb Lukas Kahwe Smith:

What is the set locale? Because if you try to hyphenate a locale where no hyphenation-patternsa are available for the string will simply be returned unhyphenated.

its set to "de"
try 'de_DE'. I have to be so specific as it could also be 'de_AT' or
'de_CH'.

--
,,,
(o o)
+---------------------------------------------------------ooO-(_)-Ooo-+
| Andreas Heigl                                                       |
|<EMAIL_ADDRESS>                  08°23'58"E 50°22'59.5"N |
| http://andreas.heigl.org http://tinyurl.com/26c6nas |
+---------------------------------------------------------------------+


bundleContractTests - groups the variation tests under the contract test

When using --bundleContractTests , Portman generates 2 folders contractTests and variationTests, but the variation test folders are empty and in the contract tests folder there is another folder variation tests containing the tests. It seems to happen when using contract tests within variation tests.

This will be part of the 1.10 release.


Can't load games

Short description of the issue
"No Games to show" after adding steam path. It detected my steam name, but not any games.
Lauhdutin version 3.0.0
Rainmeter version 4.2.0
Python version 3.6.4
Windows version 10.0.17134
Error messages
no log errors
Python stack traceback

Do you happen to have the Parse community profile option enabled? If yes, then have you set your Steam community profile to be public in your Steam profile settings?

I did have that enabled and I have my profile set to public

Have you updated your Steam profile settings since the changes that Valve implemented to the setting defaults about a month ago?

Hi just wanted to add i've been having the same issue and have tried all of the above. The only version i've been able to get to detect my games is 2.7.1

@hollowuniverse Which platforms' games are you trying to detect?
If Steam is among them, then:

What kind of setup do you have in terms of where games are installed (e.g. all in the main Steam folder or some/all in a Steam library on another partition)?
Are there appmanifest_X.acf files (replace X with a game's AppID) in the Steam\steamapps folder(s)?
Did you enable parsing of the community profile? If so, then did you make sure to make your community profile public?
Could you open<EMAIL_ADDRESS>in a text editor (e.g. Notepad) and check if there are any games in there at all?

Try (re)moving this folder: \documents\Rainmeter\Skins\Lauhdutin\@Resources\cache


Order gems alphabetically in Gemfile

I don't necessarily think this is particularly important, especially since the Gemfile is quite short, but I have been ordering my Gemfiles alphabetically for a while, and like the consistency of knowing where to look for things.

Than you @kytrinyx.


Update sbt-typelevel from 0.7.2 to 0.7.3

About this PR
📦 Updates org.typelevel:sbt-typelevel from 0.7.2 to 0.7.3
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.typelevel", artifactId = "sbt-typelevel" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.typelevel", artifactId = "sbt-typelevel" }
}]

labels: dependencies, sbt-plugin-update, early-semver-minor, semver-spec-patch, version-scheme:early-semver, commit-count:n:2

https://github.com/takapi327/ldbc/pull/305


There is a problem when adding it to an iOS project with watchOS.

Hello, I'm an Entry-level independent developer.This is the first time I submit new issue. Please understand if the description is not clear enough. It may not be your problem, but I'd better give you feedback.
I have an iOS project with watchOS that needs to use CodeScanner. If I only import this package into the iOS version, there will be lots of errors when running watchOS preview.

Xcode automatically adds the package to watchOS.But it's no problem to run on the real Apple Watch and Apple Watch simulator. Please refer to the picture for specific performance.

@FuncLinKrey that's because "UIViewController" that the package uses, is only available on iOS. Not on any other frameworks


chore: bdd-spring-1575639772 to 0.0.1

chore: Promote bdd-spring-1575639772 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Create a team Wiki Page

Create a team project page under "Projects" and then ceate a team wiki page under the "Wiki" tab that contains the name of your team, your teammates, the PM, and your roles.

URL to team project page
Url to Cerberus Team Wiki


[Feature] Toggle Deafen without also Muting Microphone

Before Requesting

[X] I found no existing issue matching my feature request

Describe the feature you'd like!
I'd like to be able to use the "toggle deafen" button, or maybe a different setting, to be able to deafen myself while in a VC, but not end up with my microphone being muted as well. I'm a speedrunner, and when I get to a hard part in the run, it would be nice to be able to deafen but have the others in the call hear what I'm saying.
Anything else?
No response

I don't think this is feasible with BetterDiscord, as far as I know the ability to deafen but not mute is reserved for bots.
You could find a way to use a hotkey to mute Discord entirely temporarily with autohotkey or something similar.

Either way this is not something that would be integrated into the core, things like that should be left for addons.

You can also just do this

Or make an auto hotkey script that just mutes the voice call process when a keybind is hit.


shadow volumes broken in master at near distances

Shadow volumes (underpinnings of all the polygon/corridor stuff that's clamped to ground) seem to be broken at distances close to the camera. It kind of looks like the camera's near plane is causing problems here. Steps to reproduce:

launch the Ground Clamping Sandcastle in master
select Draw Rectangle
go to a corner and zoom in to a view something like this:

@bagnell do you think this might be related to changes in https://github.com/AnalyticalGraphicsInc/cesium/pull/5851?

For reference, here's what the problem looks like

@bagnell we should fix this before the next release

Setting viewer.scene.logarithmicDepthBuffer = false; gets rid of the problem, so more evidence to this being a log depth thing.

@bagnell I think this is related to this comment: https://github.com/AnalyticalGraphicsInc/cesium/pull/5851/files#r172639411
Forcing DISABLE_GL_POSITION_LOG_DEPTH hereabouts seems to help for me. I'll investigate a bit more and open a PR, but I'm... not super confident heheh.


Expose underlying TessBaseAPI

I'm currently messing around tesseract in rust and have noticed there's a handful of functions that don't actually make it into the API currently, i.e TessBaseAPIPrintVariables. (unless I'm totally blind, which is a possibility)
While obviously I'd love for these to be added to the safe API, I think an easier solution in the shorter term would be to expose the tesseract_sys::TessBaseAPI, potentially as an unsafe get_/as_, to allow me to call said functions from the sys crate while still maintaining something of a safe high-level API for the things that do have safe wrappers.
I've currently implemented an as_raw() for both tesseract-rs and tesseract-plumbing in order to get to the raw pointer myself, but I think it's a useful thing in general.
Admittedly, I'm not super familiar with FFI/wrapper crate conventions, so this might be out of line. I'm happy to create a PR and contribute if necessary!

Hey,
I think the simplest thing to do is use pub around the struct fields in here and tesseract-plumbing. Having access to the underlying tesseract-sys pointer is totally safe.
The unsafety comes from calling c-functions on the tesseract-sys pointer or dereferencing it. Rust only allows the pointer to be de-referenced in an unsafe block. And all the c-functions in tesseract-sys are already declared unsafe.

I've currently implemented an as_raw() for both tesseract-rs and tesseract-plumbing in order to get to the raw pointer myself, but I think it's a useful thing in general.

Yes, it's neater to use methods than struct access.
The only issue I see with as_raw is it's unclear to me if to go from tesseract_rs::Tesseract to  *mut tesseract_sys::TessBaseAPI you'd do as_raw() or as_raw().as_raw(). Do you skip past tesseract_plumbing or not?
There is the as_ref trait https://doc.rust-lang.org/std/convert/trait.AsRef.html. You can technically define it twice for tesseract_rs::Tesseract like this impl AsRef<plumbing::TessBaseApi> for tesseract_rs::Tesseract and impl AsRef<*mut tesseract_sys::TessBaseAPI> for tesseract_rs::Tesseract. The only issue with doing that is you need to be explicit about which as_ref you're calling. If I remember right this would work let pointer: *mut tesseract_sys::TessBaseAPI = tesseract.as_ref().
Kind regards,
Chris

For the moment I'm skipping past plumbing, as I have only need for the base
ffi functions, and I don't really know what plumbing provides. This is
probably a mistake on my part, but I'm very much learning tesseract in
general
On Sun, Jun 25, 2023, 6:58 AM Chris Couzens @.***>
wrote:

Hey,
I think the simplest thing to do is use pub around the struct fields in
here and tesseract-plumbing. Having access to the underlying tesseract-sys
pointer is totally safe.
The unsafety comes from calling c-functions on the tesseract-sys pointer
or dereferencing it. Rust only allows the pointer to be de-referenced in an
unsafe block. And all the c-functions in tesseract-sys are already declared
unsafe.
I've currently implemented an as_raw() for both tesseract-rs and
tesseract-plumbing in order to get to the raw pointer myself, but I think
it's a useful thing in general.
Yes, it's neater to use methods than struct access.
The only issue I see with as_raw is it's unclear to me if to go from
tesseract_rs::Tesseract to *mut tesseract_sys::TessBaseAPI you'd do
as_raw() or as_raw().as_raw(). Do you skip past tesseract_plumbing or not?
There is the as_ref trait
https://doc.rust-lang.org/std/convert/trait.AsRef.html. You can
technically define it twice for tesseract_rs::Tesseract like this impl
AsRefplumbing::TessBaseApi for tesseract_rs::Tesseract and impl
AsRef<*mut tesseract_sys::TessBaseAPI> for tesseract_rs::Tesseract. The
only issue with doing that is you need to be explicit about which as_ref
you're calling. If I remember right this would work let pointer: *mut
tesseract_sys::TessBaseAPI = tesseract.as_ref().
Kind regards,
Chris
—
Reply to this email directly, view it on GitHub
https://github.com/antimatter15/tesseract-rs/issues/43#issuecomment-1606025803,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB5DMRCYXGKSDGCK7P6E6GTXNAKTVANCNFSM6AAAAAAZSV67WI
.
You are receiving this because you authored the thread.Message ID:
@.***>


Feature/add-properties-local-reference-support

Title
Feature/add-properties-local-reference-support
Description
This PR aims to bring support of properties local references resolution. It could happen that in a Document a local reference is pointing to one or multiple other virtual references instead to its property definition, as for exemple:
(...)
    ModelWithAnyJsonProperties:
      title: ModelWithAnyJsonProperties
      type: object
      additionalProperties:
        anyOf:
        - type: object
          additionalProperties:
            type: string
        - type: array
          items:
            type: string
        - type: string
        - type: number
        - type: integer
        - type: boolean
    ModelLocalReferenceLoop:
      "$ref": "#/components/schemas/ModelWithAnyJsonProperties"
    ModelDeeperLocalReferenceLoop:
      "$ref": "#/components/schemas/ModelLocalReferenceLoop"
 (...)

During properties parsing, those virtual reference are resolved by making them pointing to their target ModelProperty or EnumProperty definition.
Thus, only the target model will be generated and any path referencing them (the virtual reference)  will use the target model.
Also add support for inner property direct and indirect reference to its parent model resolution, as:
(...)
AModel:
  title: AModel
  type: object
  properties:
    direct_ref_to_itself:
      $ref: '#/components/schemas/AModel'
    indirect_ref_to_itself:
      $ref: '#/components/schemas/AModelDeeperIndirectReference'
AModelIndirectReference:
  $ref: '#/components/schemas/AModel'
AModelDeeperIndirectReference:
  $ref: '#/components/schemas/AModelIndirectReference'
(...)

QA Notes & Product impact
Add support for properties local reference ($ref) resolution
Add support for inner property direct and indirect reference to its parent model resolution.
@dbanty

I started working on fixing https://github.com/triaxtec/openapi-python-client/issues/338 on this branch, wip

I've added the support for the resolution of  inner property direct and indirect reference to its parent model. It resolve https://github.com/triaxtec/openapi-python-client/issues/338
The PR is ready for review @sp-schoen @emann

@p1-ra This solves my bug, but it seems like a new one was introduced. Now I get the error Attempted to generate duplicate models with name "FooBar".
This occurs for all schemas where "FooBar" and "FooBar[]" is defined.

@p1-ra This solves my bug, but it seems like a new one was introduced. Now I get the error Attempted to generate duplicate models with name "FooBar".
This occurs for all schemas where "FooBar" and "FooBar[]" is defined.

Your issue seem to come from the string sanitizer function used to generate python friendly class name:
https://github.com/triaxtec/openapi-python-client/blob/422e993e35fc34cd295a63dfe88e5e346aa20ca6/openapi_python_client/utils.py#L37-L38
FooBar and FooBar[] will lead to FooBar as output which will create a naming collision. Not sure how to properly fix it, but you can definitly apply a tiny patch there for your specific use case

Sorry I haven't gotten around to giving feedback on this yet. There are some other problems with references that need to be solved as well and I think the ultimate solution will end up being related.
Having just glanced through this code (so I may very well be missing something) I don't think we need lazy/late resolution to solve it. Similar to my findings in #312, there is a top level loop which will keep running and attempting to parse previously failed properties until it gets stuck. So when attempting to construct a model, if there's a reference that doesn't exist yet, it'll fail then but get retried later when, presumably, the reference has been registered.
I also successfully managed to remove most globals earlier in this project and would like to keep it that way since they have a nasty way of causing unexpected issues. Globals and exceptions 😅.
Anyway, my point is just that I haven't forgotten this issue & PR, but I think I need to do some bigger refactors & fixes related to references which will probably include fixing this elsewhere.

The two issues are solved by https://github.com/triaxtec/openapi-python-client/pull/366 , I'm closing this PR, thanks!

I'm going to close this just because it's pretty far behind main. We obviously want complete reference support at some point but I doubt this PR will be the end solution (I think a couple other related ones have come through since?)


Click  'reset' button, the v-model has no change

when I click the reset, the input value was empty.
but the v-model message still was old value.
Code here:
https://jsfiddle.net/50wL7mdz/9404/

Duplicate of #833


MODE-2513: Add pager for node list in Web-explorer

This PR adds pager for the list of child nodes

looks good to me


Scroll to Relevant Section with Navbar Links

Upon clicking menu item, scroll to Component Section.

I got you here too


Update with tail

Some models can be updated with additional conditions, ie when I about to update OrderTable, I need to ensure the owner with user_id. For now I must do query first to ensure the owner.

I didn't get it. Can you add examples (of what do you want)?
I'm not a developer of reform, so you can just ignore my question :)

OK, this is what i want to do :)
//reform:cc_order
type UserOrder struct {
	ID     uint `reform:"id,pk"`
	UserID uint `reform:"user_id" json:"-"`

	Contact        string `reform:"contact"`
	Phone          string `reform:"phone"`
	DeliverAddress string `reform:"deliver_addr"`
}

user 111 post data to modify order contact:
{
  ID: 1,
  Contact: "Another",
}

then I want to do something like this:
UPDATE cc_order SET contact = 'Another' WHERE id=1 AND user_id=111

Thanks!

Something like this?
// UpdateView updates specified columns of rows specified by tail and args in SQL database table with given struct,
// and returns a number of updated rows.
// Other columns are omitted from generated UPDATE statement.
// If struct implements BeforeUpdater, it calls BeforeUpdate() before doing so.
//
// Method never returns ErrNoRows.
func (q *Querier) UpdateView(str Struct, columns []string, tail string, args ...interface{}) (uint, error)

interface like this will be more safe

Reform is not a query builder, it does not abstract SQL for non-trivial cases – simply because I consider SQL to be more powerful, expressive and simple than any DSL for it. Instead, reform provides helpers for the most common operations (so one does not have to write them over and over again) and building blocks for making your own.


cargo build fails on network issue

Step 13/22 : RUN source $HOME/.cargo/env &&     cargo build --release
 ---> Running in 4e1bd2f46b71
    Updating crates.io index
warning: spurious network error (2 tries remaining): failed to resolve address for github.com: Name does not resolve; class=Net (12)
warning: spurious network error (1 tries remaining): failed to resolve address for github.com: Name does not resolve; class=Net (12)
error: failed to get `dotenv` as a dependency of package `twilight-dispatch v0.2.3 (/build)`

Caused by:
  failed to fetch `https://github.com/rust-lang/crates.io-index`

Caused by:
  network failure seems to have happened
  if a proxy or similar is necessary `net.git-fetch-with-cli` may help here
  https://doc.rust-lang.org/cargo/reference/config.html#netgit-fetch-with-cli

Caused by:
  failed to resolve address for github.com: Name does not resolve; class=Net (12)

Related to:  https://github.com/rust-lang/cargo/issues/6513
Related to: ".....Apple's security policy on Catalina."

I can confirm rebuild with Ubuntu20.04 worked without issues on this step. I will close this.


Add simple line magic that just expects the widget variable and then a query

Currently we need to submit a query via a cell block magic. It might also be convenient to allow simple queries to be entered on a single line using a line magic.
If we are to return a response, we may also need to block on awaiting the response, eg Blocking waits on the Python side for updates from Jupyter anywidget Javascript UI Code [UPDATE - the jupyter_ui_poll doesn't work in pyodide kernel]

I implemented this to mirror the cell magic arguments.


Cognoma Contributor Feedback Survey

Hi, all you amazing humans! :hugs:
We wanted to get some feedback on your experience with the Cognoma project.
Can you please take a few minutes to fill out this extremely short but very helpful survey?
https://tinyurl.com/CognomaFeedback

Once we collect the feedback, I will write a report summary of what we found.

I appreciate everyone taking the time out to fill out the survey. This will help us improve on Cognoma Datathon (and any other hack-a-thons that we may open in the future). We will try to take this feedback into account as we continue to build this project!
There are definitely some solid patterns in the feedback.
The motivation to contribute:

80% mentioned it's important for them to learn and strengthen their skills in data science and machine learning.
50% are driven by working on something meaningful
50% love working on an interesting project as part of a team

Impediments to contributing (top 3)

Not experienced enough in data science
Time commitments
Difficulty knowing which tasks to work on

It seems that some of the challenges people face in contributing tie into the motivation to contribute. We can try to figure out a way to manage this project and provide more of an educational approach so people can learn as they contribute along with being more involved in the management and more involved in assigning tasks.
How can we improve?

At each meeting, clarify the issues and tasks that need to be addressed.
A roadmap (incorporating milestones on GitHub)
More outreach to new people with new ideas
More front-end developers
Some sort of setup script / command to get something running quickly
More time spent with the beginners
A person from one of the groups gives more detail than just the brief update.
focus on project management and creative avenues to learn more (maybe brining in speakers once in a while or doing some kind of digital webinar).

Thanks again for completing the survey. We'll get to work based on the feedback!


Implement MultiDataTrigger like WPF in Style

I can't implement a function similar to the MultiDataTrigger in the Avalonia Style.
In WPF, it looks like:
<MultiDataTrigger>
    <MultiDataTrigger.Conditions>
        <Condition Binding="{Binding IsPressed, RelativeSource={RelativeSource Self}, Mode=OneWay}"
                   Value="True" />
        <Condition Binding="{Binding Path=(local:CustomHelper.PressedForeground), Converter={StaticResource {x:Static IsNonnullConverter}}, RelativeSource={RelativeSource Self}, Mode=OneWay}"
                   Value="True" />
    </MultiDataTrigger.Conditions>
    <Setter TargetName="BdrMain"
            Property="Background"
            Value="{Binding Path=(local:CustomHelper.PressedForeground), RelativeSource={RelativeSource TemplatedParent}, Mode=OneWay}" />
</MultiDataTrigger>

Is there a similar implementation in Avalonia?

Triggers and Behaviors are covered by https://github.com/wieslawsoltes/AvaloniaBehaviors

I saw that this library implements something similar to DataTrigger, but I did not find anything similar to MultiDataTrigger. Moreover, I’m not sure that this can be used to change the Selector

I saw that this library implements something similar to DataTrigger, but I did not find anything similar to MultiDataTrigger. Moreover, I’m not sure that this can be used to change the Selector

You can define class having boolean binding:

<Border Classes.my-class="{Binding Property, Converter={x:Static Converter}}" />

Then you can combine selectors in styles:

<Style Selector="Border[IsPressed=True].my-class">
   <Setter />
</Style>

It's not exactly the same, but allow to implement quite a lot.

but I did not find anything similar to MultiDataTrigger. Moreover, I’m not sure that this can be used to change the Selector

To change property - use ChangePropertyAction, to set class (and trigger style selector) - use AddClassAction.
I am not sure if there are composite triggers with Or/And conditions, but I would expect it. @wieslawsoltes

After a series of failed experiments, it succeeded.
I will record the solution here for later beginners .

What I'm trying to do is to bind a ClickBackground property and a HoverBackground property to the Border in the Button (if they are not Null), and trigger the background color change when the button is hovered or clicked.
These are the key parts of the code:

Instead of {StaticResource IsNotnullConverter} you can use {x:Static ObjectConverters.IsNotNull} - build in converter.


Telephony

Heads up so others don't duplicate efforts, am currently working on this:
Telephony will be a xplat library that provides email, sms, voice and video
call functionality. Supports Xamarin.iOS, Xamarin.Android, Windows Phone 8/8.1
(Silverlight and WPA)

https://github.com/ghuntley/telephony
If anyone is keen to do api review on the Email class - specifically comments about attachments that would be appreciated.

Closing for now, seems like Messaging and this could combine perhaps?


More testing cleanup

Codecov Report

Merging #11 into master will decrease coverage by 9.75%.
The diff coverage is 39.39%.

@@            Coverage Diff             @@
##           master      #11      +/-   ##
==========================================
- Coverage   97.32%   87.57%   -9.76%
==========================================
  Files          18       18
  Lines         524      523       -1
==========================================
- Hits          510      458      -52
- Misses         14       65      +51

Flag
Coverage Δ

#integration
?

#unit
87.57% <39.39%> (+0.16%)
:arrow_up:

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


Not working with Telenor IPTV

Hi!
I have some problems. Perhaps not possible to use this for Telenor IPTV in Norway?
I use igmpproxy proxy now. It does this:
Source             | Destination        | Protocol|Length|Info
192.168.xx.xxx | <IP_ADDRESS> | IGMPv2 | 60 | Membership Report group <IP_ADDRESS>
then TV starts to work
pimd does this:
Source | Destination | Protocol | Length | Info
192.168.xx.xxx | <IP_ADDRESS> | TLSv1.2 |   |
<IP_ADDRESS> | 192.168.xx.xxx | TCP | 66 |
192.168.xx.xxx | <IP_ADDRESS> | IGMPv2 | 60 | Membership Report group <IP_ADDRESS>
and pimd keeps sending TLSv1.2
TV never starts
pimd using TLSv1.2. igmp-proxy does not. Is it possible to turn off TLSv1.2 ?
Nautic

First of all, pimd does not implement any sort of TLS, so it is not the source of those TLSv1.2 messages.
Second, the multicast group <IP_ADDRESS> is reserved for Microsoft's SSDP (Simple Service Discovery Protocol).  It is link-local only, so it has a TTL of 1 and cannot be routed (this is by design). So that you can ignore completely.  From what I can understand, the Telenor IPTV multicast groups are in the range 233.184.xxx.yyy, none of which show up in our report above.
Also, as I tried to explain in the other issue you reported, igmpproxy and pimd are very different animals and will therefore behave differently:

igmpproxy forwards IGMP join/leave messages from one LAN to another, hence if a client in LAN B sends "IGMP join", igmpproxy creates routing entry for the request group from LAN A to LAN B, and forwards the "IGMP join" to LAN A.
pimd listens for IGMP join/leave for each LAN and then talks PIM with its neighboring routers.  If it is the only router between two LANs it expects to see all multicast that is to be routed at its "doorstep", so to speak.  It does not forward the IGMP traffic, since that's supposed to be link-local.

For your use-case I do not think pimd is the answer.


Sign git commits & releases (tags)

You should consider signing git commits & releases.

onionshare#221 (comment)
It is also displayed on GitHub: https://github.com/blog/2144-gpg-signature-verification
Here is GitHub's help for this: https://help.github.com/articles/generating-a-gpg-key/
And here is how you can properly sign releases: https://wiki.debian.org/Creating signed GitHub releases

I was considering signed releases but ended up considering it lower priority due to lack of time.
I'll take a second look and see if 2.x can be a signed release.

We should be signing commits/PR and tags from now on.


About the display layer of place name labels

Hello, I have created a tile from planet-xxx.osm.pbf, but as you can see in the image below, the place name labels are displayed under the road and part of the bridge is submerged in the sea.
Is it possible to work around this by using options, etc.?

Can you share your maplibre style.json?


Add nop function

:pushpin: Commit ee88607 has been approved by japaric

@homunkulus r+

:hourglass: Testing commit ee88607 with merge ee88607...

Thank you, @thejpster!

:sunny: Test successful - status-travis
Approved by: japaric
Pushing ee886077368c096669f18821288bc0cba13dd4dc to master...


Features

[ ] System Tray init
[ ] Better performance
[ ] Menu bar
[ ] Context Menu

You want it to work from menubar/system tray right? If not please clarify the statement so that I cant start working on it.

Also, and that would imply the app would run only in 1 instance. So the app should not open new window when launched again. A keyboard shortcut can be then defined to open the same window quickly. Ideally, close too, but that would require shortcut handling by the app.


Manage controlled vocabularies

Handle processing Lexicon of Linguistics lemmas for use in the annotation form.
This repeats each term per individual subfield (linguistic level) instead listing them under combined Phonetics/Phonology etc. groupings. Fixes the sort order for use in the form (order by the visible term instead of the lemma).
Not ready for merge: I'd like to see if we can fetch the list for use in the annotation form directly from SQLite. If so, we can add a separate TSV for Clarin concepts, create a SQLite database with both Lexicon and Clarin terms in the build step, and  do one query to get a combined Lexicon+Clarin list.

First run python vocabulary/vocabulary.py to get the new JSON file. Can maybe done in a Github Action when building the .xpi.


Adding basic settings, open Mods folder, and update modsettings.lsx features

Using an IPathProvider interface so that the settings manager might use multiple providers to possibly provide an "Always prompt" feature, a default provider, with priorities, etc
Long story short, an abstraction to base eventual features on.
The open Mods folder feature is based on this, using the process starting API.
The "update modsettings.lsx" button has a very trivial logic, but should be "ok enough" to not touch unsupported packages.
This PR puts the modmanager to a "usable" state (by that, I mean that I'm using it and it's ok, if a bit finicky in terms of UI).

Hey, Larian released a patch today with changes I'm looking to implement. Regarding your PR, it doesn't quite follow C# best practices which I would like to maintain in this repo. I assume you wanted to get it going in a somewhat functional state for personal use, which is good, but I will implement it fully when I have more time (it's start of the semester after all :b).


Normal loss, but the WER and the CER are so high

I am training an ASR model for Dutch and I use the /recipe/Librispeech/sequence2sequence.
My training dataset is about 330h. And this is the training_log.txt.

First, I prepare json files (train.json, test.json. valid.json)

And then using my train.json I prepare the tokenizers. This is my 5000_unigram.vocab.

I do not use language model, because my text data are limited.
Next, I train the ASR model.
I changed the data forms in the "train_BPE_5000.yaml " file from csv to json:

And I also do not use data augmentation.

In train.py, I only change the data forms from csv to json.

When I use the recipe in speechbrain/templates/speechrecognition/ASR, use the same data, the results are:

What is wrong with the recipe/librispeech/ASR/sequence2sequence/train.py?

Thanks in advance!


LibWeb: Implement HTMLTableCellElement.cellIndex

See:

http://wpt.live/html/semantics/tabular-data/attributes-common-to-td-and-th-elements/cellIndex.html

FWIW, with this change we now pass:  http://wpt.live/html/semantics/tabular-data/attributes-common-to-td-and-th-elements/cellIndex.html


Fixed a grammar error in log message ("SelectiveCompiler")

Change "None of the classes needs to compiled" to "None of the classes needs to be compiled" (notice the "be").

Thanks for the contribution @yulucodebase. Could you please sign the CLA?

No problem! It's done just now :).


UF-5641: Added IT-tests for each rule type

Added one passing and one failing app test for each rule type

Acted on PR-comments


TypeError: Can't instantiate abstract class GraphRequestAdapter with abstract method convert_to_native_async

installing
msgraph-sdk
now installs the
microsoft-kiota-abstractions==0.7.0
it was not a problem with
microsoft-kiota-abstractions==0.6.0
going through issue
https://github.com/microsoftgraph/microsoft-graph-training/issues/164
I saw
this commit
https://github.com/microsoftgraph/msgraph-training-python/commit/6fe994e8f8dd4242c4881393d582d977487c0bbc
uses
microsoft-kiota-abstractions==0.6.0
is there an updated use example for 0.7.0?

  File "graph.py", line 24, in __init__
    self.app_client = GraphServiceClient(self.client_credential) # type: ignore
  File "C:\Users\Edward\.conda\envs\py-39\lib\site-packages\msgraph\graph_service_client.py", line 48, in __init__
    request_adapter = GraphRequestAdapter(auth_provider)
TypeError: Can't instantiate abstract class GraphRequestAdapter with abstract method convert_to_native_async

Thanks for filing this. I've logged an issue with the SDK here: https://github.com/microsoftgraph/msgraph-sdk-python/issues/289
For now I'd stick with 0.6.0 until they fix this.

I'm going to move this to the msgraph-training-python repo.


Generated Swift file should use KotlinThrowable instead of Throwable

Hey, first of all, thanks for this library and the others useful libraries. As a KMM passionated developer, I am very happy to see that you and your team at icerockdev are pushing KMM to the limit 😄 👍
While I am working on the Swift bridging with moko-kswift, I found out that the generated file use "regular" Throwable instead of KotlinThrowable which result in compiling error at the Client side.

This is the generated .h content from the Kotlin Native side.
This looks like a bug to me, or I was wondering whether I am missing anything here?

will be available in 0.4.0


Unclear where cosmos or other connection strings are kept

I'm a little confused by some documentation as to best practices when storing connection strings.
I arrived at the below page from here which describes how to set connection strings for app services generally.
There is a link to the azure functions app settings documentation. I have seen several posts on blogs and stackoverflow stating that connection strings should only be used with azure functions when using Entity Framework, but cannot locate any official doc which states this.
From what I can tell, connection strings to other services (such as application insights) should be stored in app settings for azure functions.
Does the same rule also apply, and I should store a cosmos, or storage account connection string in app settings in azure functions? Or should I store them in the connection strings area?

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 18aa54fd-3aa1-37c5-925c-51a0195b1030
Version Independent ID: 60198016-1ea9-e7ae-b00b-2c665d5ad8ca
Content: App settings reference for Azure Functions
Content Source: articles/azure-functions/functions-app-settings.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

@Reisclef
Thanks for your feedback! We will investigate and update as appropriate.

Hello @Reisclef - In the context of Azure Functions, it's best to store the ConnectionStrings in KeyVault and use the App Setting to reference them:  https://learn.microsoft.com/en-us/azure/app-service/app-service-key-vault-references?tabs=azure-cli
Secondary to that would be to follow the formal .NET guidance (see underlying ConfigurationManager class) where the App Settings are for general settings and ConnectionStrings for external services, especially any DB connections like Cosmos or SQL.

Thanks @mike-urnun-msft . That's clear. I do feel the docs could be more explicit about this point, but happy to use the Q&A for things that aren't clear from the docs. Thanks again.


Read etherscanKey from config file

Depends on https://github.com/dethcrypto/eth-sdk/pull/34.
Closes https://github.com/dethcrypto/eth-sdk/issues/12.
What's changed?
We now read etherscanKey from the config file. I changed the readme to reference all config options there.

Oh, actually this is missing a changeset.