implement windows::core::IUnknown

I'm trying to implement IUnknown like this:
use windows as Windows;
#[implement(Windows::core::IUnknown)]
struct HelloData;

And I get this error:
error: `Windows.core.IUnknown` is not a class or interface

I'm not having trouble implementing other interfaces so it seems to be specific to IUnknown.
As a workaround, I think I can find a marker interface to implement but it's a little weird to have to do that.

The implement macro just received a major overhaul (https://github.com/microsoft/windows-rs/issues/1345). That update should be published next week but you can try it out by pointing directly at GitHub for now. Note that IUnknown is always implemented so you need not mention it directly. Here's a simple example:
use windows::core::*;

#[implement()]
struct Sample(i32);

impl Drop for Sample {
    fn drop(&mut self) {
        println!("dropping {}", self.0);
    }
}

fn main() -> Result<()> {
    let a: IUnknown = Sample(123).into();
    let _b: IUnknown = a.clone(); // AddRef
    let _c: IUnknown = a.cast()?; // QueryInterface

    Ok(())
}

Thanks, that works with 0.28.
It's not entirely obvious though. It might be worth adding support for something more explicit even if it doesn't change code gen.

The error message with the latest version is a little more helpful, I think...
D:\temp>cargo run
   Compiling temp v0.1.0 (D:\temp)
error[E0119]: conflicting implementations of trait `std::convert::From<Sample>` for type `windows::core::IUnknown`
  --> src\main.rs:10:1
   |
10 | #[implement(IUnknown)]
   | ^^^^^^^^^^^^^^^^^^^^^^
   | |
   | first implementation here
   | conflicting implementation for `windows::core::IUnknown`
   |
   = note: this error originates in the attribute macro `implement` (in Nightly builds, run with -Z macro-backtrace for more info)


White line bug after update

Describe the bug
A white line now appears after update. (see screenshots)
To Reproduce
Steps to reproduce the behavior:

open ungoogled-chromium
See error

Expected behavior
The line not be visible like past versions
Screenshots

Environment (please complete the following information):

OS/Platform and version: Linux(Fedora) - Flatpak
ungoogled-chromium version: flatpak 94.0.4606.61

This is an upstream design change

ugh, looks horrible and out of place. thank you i will close it if there is no need further neeed

This might be a good fit for https://github.com/ungoogled-software/contrib but for the main patchset its out of scope.

This is an upstream design change

btw do you have a source for it? maybe it will be useful for someone too

I have a patch that fixes this that I intend to submit to the contrib repo.  I'll try to get that PR up sometime soon.


🐛 Bug ➾ Metadata plugin 'generate-project-metadata' fails with 'Taqueria isn't aware of this task. Perhaps you need to install a plugin first?'

🚥 Status (Internal Taqueria Team Use Only)

[ ] 🔬 Investigated and Verified
[ ] ⚗ Solution Identified and Designed
[ ] 🧫 Dev Implementation of Fix
[ ] 🧪 Fix Tested and Validated
[ ] 🏆 PR Merged

🆘 What happened?
In some installations, I can get the interactive dialogue; in others, I get an error that another plugin is required, even though I have installed the only two that could be required.
🆘 Steps to Reproduce?

taq init test-project
cd test-project
taq install @taqueria/plugin-metadata
taq install @taqueria/plugin-ligo
taq create contract hello-tacos.mligo
taq generate-project-metadata
ERROR:  "Taqueria isn't aware of this task. Perhaps you need to install a plugin first?"

🪵 Relevant log output
mike in 🌐 giga2 in ~
❯ taq init test-project
Project taq'ified!

mike in 🌐 giga2 in ~
❯ cd test-project/

mike in 🌐 giga2 in ~/test-project is 📦 v1.0.0 via  v17.9.0
❯ taq install @taqueria/plugin-metadata

added 6 packages, and audited 205 packages in 1s

21 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
Plugin installed successfully

mike in 🌐 giga2 in ~/test-project is 📦 v1.0.0 via  v17.9.0 took 2s
❯ taq install @taqueria/plugin-ligo

added 3 packages, and audited 208 packages in 1s

21 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
Plugin installed successfully

mike in 🌐 giga2 in ~/test-project is 📦 v1.0.0 via  v17.9.0
❯ taq create contract hello-tacos.mligo

mike in 🌐 giga2 in ~/test-project is 📦 v1.0.0 via  v17.9.0
❯ taq generate-project-metadata
taq [command]

Commands:
  taq init [projectDir]                     Initialize a new project
  taq scaffold [scaffoldUrl] [scaffoldProj  Generate a new project using pre-mad
  ectDir]                                   e scaffold
  taq opt-in                                Opt-in to sharing anonymous usage an
                                            alytics
  taq opt-out                               Opt-out of sharing anonymous usage a
                                            nalytics

Options:
  -p, --projectDir  Path to your project directory               [default: "./"]
  -e, --env         Specify an environment configuration
      --version     Show version number                                [boolean]
      --build       Display build information about the current version[boolean]

Taqueria is currently in BETA. You've been warned. :)

Taqueria isn't aware of this task. Perhaps you need to install a plugin first?

🐘 How impactful is this bug?
🤯 Major disruption
⏱ Prevalance
If they try to generate the metadata
💻 Operating System
Windows -> Linux VM
🕸 System Architecture
x64
🌮 Taqueria Version
dev-main
🌿 Node.js Version
v17.9.0
☎ Contact Details
<EMAIL_ADDRESS>Code of Conduct

[X] I agree to follow this project's Code of Conduct

This has been resolved by assuring only local plugin loading


Files changed as a result of highstate are triggering the beacon

In my pillar, I have the following:
beacons:
  pulsar:
    paths:
      - /var/cache/salt/minion/files/base/file-integrity-mon/conf/default.yaml
    disable_during_state_run: True

Despite that, I'm still seeing file changes that arise as a result of a highstate triggering the beacon/resulting in alerts sent to Slack.  In this case, the state results in the modification of a file that already existed on every host, not sure if that has anything to do with it.
Still need to do more testing, but this beacon is going to be way too noisy if it triggers every time a state changes the filesystem.

@basepi Could it be because even though the beacon isn't running during the state run, inotify is still running and adding things to the queue? Stuff gets added on to the queue during the sate run, then when it runs again after the state, it just processes everything on the queue.

Yep. I had a thought that that might be the case. I'll have to see if I can figure out a workaround.

Just FYI, I am working on a PR for this.  If the testing looks good I'll have something up in a day or two.

Nice! I've had some thoughts about how to work around this, but haven't started yet. I'll be interested to see what you came up with.

just an update-- updating our test environment from Lithium to Boron.  PR forthcoming once I've had a chance to test with the current version.

👍

@corleyma How's the testing coming?

@corleyma This is becoming increasingly important to us at Adobe, but I don't want to duplicate efforts. Did you get a chance to test?

@corleyma Just following up again. Can you perhaps push the work you've already done so I can review and maybe help push it over the finish line?

@corleyma Hey! Just a gentle ping to push the work you've done so far so we can get this included in the next version of pulsar. Thanks!

This issue was moved to hubblestack/hubble-salt#27


Fix RequestData hashcode and equality for .NET core HttpConnection

RequestData's GetHashCode implementation uses instances of types that will return different values per instance (Headers, BasicAuthenticationCredentials). GetHashCode and Equals only need to reference properties that are unchanging per HttpClient instance, which are:
RequestTimeout
HttpCompression
ProxyAddress
ProxyUsername
ProxyPassword
DisableAutomaticProxyDetection
All other properties are set per request.
Fixes #2417

I can verify that when run on my mac (in the vs code debugger):

hashCode is now the same for each request (whereas before it was not).
the call to ElasticClient.Index is working correctly.

and in the docker container on my linux machine:

lsof -a -p is no longer showing a new line after each .Index call.

Code LGTM, though I notice you implement GetHashCode on BasicAuthenticationCredentials but it's no longer used.

I'll remove the Equality members on BasicAuthenticationCredentials 👍
Also looks like GetOrAdd() can execute more than once when run simultaneously on different threads. I'll fix that too

@forloop I know you have a local commit with additional tests but I am going to pull this in to all active branches so that we can spin this on myget. Mind sending that commit as a new PR?

ported to master and 2.x

No worries; will submit a separate PR 👍


SAML connections support

Describe the problem you'd like to have solved
Maybe there is something that is just missing from the documentation, but if you need to use this library with a SAML connection to an active directory is there some different values or some other method for specifying which connection you want to use.
My application needs to be able to handle on startup to specify which SAML provider to use for its authentication.

Hi @martinrojas - this SDK uses Auth0 with the Universal Login Page. If your Auth0 client is setup with a SAML integration and you can login to that through the Universal Login Page, then this library should work without any modification.

Thank you for the response. In looking at the code a little deeper and translating from the auth0-spa SDK I believe that by calling loginWithRedirect({ connection}) from the useAuth hook I can change the SAML Provider. Will try this next week and post back if the solution works.

Closing - feel free to reopen if you have any other questions on this


STORM-2658: Extract storm-kafka-client examples to storm-kafka-client-examples

See https://issues.apache.org/jira/browse/STORM-2658.
The changes to the Trident examples mainly have to do with the command line arguments not being consistently passed to the topologies, e.g. the broker url was passed to producing topologies but not the consuming topology. The extra parameters have been removed, I think the example code is fine with hard coded topic names.

+1

@hmcl I think I addressed everything. Please look again. Thanks.

+1. Thanks @srdo

@srdo
I have no idea which branches I need to apply this patch, so please go on merging yourself. Thanks for the patch. :)

Will do, thanks @HeartSaVioR :)


Helm Charts: BookInfo Application example not working with mixer disabled

Describe the bug
 As per the istio documentation the istio can work with minimal components(https://istio.io/docs/concepts/policies-and-telemetry/). Trying to test the BookInfo Application  deploying istio with disabling mixer . It is giving connection refused error.
(Tested the BookInfo application  deploying istio with all the components it works fine.)
Have used Helm for installation of istio in both cases.

Expected behavior
The BookInfo Application should work fine with mixer disabled
Steps to reproduce the bug

Install istio with mixer diabled.

In the istio system namespace all the istio components are running except mixer components

Deploy the Book Application example as shown below

All the pods are running

Connection refused error is getting show when trying to access the application.

Observation:

The egress and ingress pods in the istio-system get restarted and the logs shows

Version
  istio version       : 1.0.0
kubectl version  : v1.10.4

Is Istio Auth enabled or not?
Disabled
Environment
Ubuntu

@Rajadeepan: did you install istio using helm? Can you provide the command you used to install istio?

@ijsnellf  yes i have installed istio with helm.  This is the command used to install istio without mixer
helm install install/kubernetes/helm/istio --name istio --namespace istio-system
--set mixer.enabled=false
(referred this doc https://istio.io/docs/setup/kubernetes/helm-install/#customization-example-traffic-management-minimal-set)

mixer.enabled=false removes stasd-to-prom bridge as well.
Envoy relies on statsd-to-prom bridge to emit metrics, needs to be fixed by always deploying stasd-to-prom and prometheus as well.
stats collection directly from envoy should not be conditional on mixer.

/cc @liamawhite would you mind taking this ?

@ijsnellf This problem is visible on Ansible Installer and openshift as well

You also need to turn off the Envoy statsd stuff mentioned in the docs you linked to:
helm install install/kubernetes/helm/istio --name istio --namespace istio-system
--set mixer.enabled=false  --set global.proxy.envoyStatsd.enabled=false

Otherwise Envoy expects statsd-to-prom to be there

@liamawhite suggestion here works on my minikube on macos

@liamawhite you suggestion worked. thanks


Can't save navigation item without title property set

Steps to reproduce
Local environment connected directly to a MySQL database.
custom.js for plugin configuration:
module.exports = ({ env }) => ({
  plugins: {
    navigation: {
      excludedContentTypes: ["plugins::", "strapi"],
      allowedLevels: 1,
      contentTypesNameFields: {
        page: ["title"],
      },
    },
  },
});

Add new navigation item, set URL field and select collection and entry
The title field needs to be left empty
Press "Create Item" button
Press "Save" button

Strapi shows an error: "An error occurred"
Terminal output shows the error:
[2021-08-24T18:43:49.559Z] error Error: insert into `navigations_items` (`created_at`, `menuAttached`, `order`, `path`, `type`, `uiRouterKey`, `updated_at`) values ('2021-08-24 18:43:49.516', false, 2, 'impressum', 'INTERNAL', 'impressum', '2021-08-24 18:43:49.516') - ER_NO_DEFAULT_FOR_FIELD: Field 'title' doesn't have a default value
    at Query.Sequence._packetToError (/workspace/backend/node_modules/mysql/lib/protocol/sequences/Sequence.js:47:14)
    at Query.ErrorPacket (/workspace/backend/node_modules/mysql/lib/protocol/sequences/Query.js:79:18)
    at Protocol._parsePacket (/workspace/backend/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/workspace/backend/node_modules/mysql/lib/protocol/Parser.js:433:10)

Possible fix
The title property is omitted for the insert statement, but does not have a default value in the MySQL table column definition.
We could set a default in the model's settings so the title column can be null. Or we might pass the title as an empty string.
Thank you and kind regards,
mat

Confirmed when trying to edit a nav item. Initially saving it works fine though.

Hi @sapkra, can you please provide version of node, strapi and navigation plugin that you are using.

@ltsNotMike
strapi-plugin-navigation: 2.1.0-beta.1
node: 16.15.0
strapi: 4.1.10

@sapkra fix released as part of major version 2.1.0


how to detect type of protobuf message?

hi
how to detect type of protobuf message in both of client and server?
can u help me for sample code?
thanks

The service implementation IPacket，client implementation IClientPacket
sample https://github.com/IKende/BeetleX-Samples/tree/master/TCP.ProtobufFormater


codecov readded

🚀 🚀 Pull Request
Checklist:

[ ]  My code follows the style guidelines of this project and the Contributing document
[ ]  I have commented my code, particularly in hard-to-understand areas
[ ]  I have kept the coverage-rate up
[ ]  I have performed a self-review of my own code and resolved any problems
[ ]  I have checked to ensure there aren't any other open Pull Requests for the same change
[ ]  I have described and made corresponding changes to the relevant documentation
[ ]  New and existing unit tests pass locally with my changes

Changes

can we wait to merge this until all PRs are consolidated into release/2.0? we won't be adding robust tests yet it's just going to add more clutter to the PRs. will be happy to address codecov stuff in small PRs later


What's wrong with it and where to get the error detail information

cleos create account dwallet dylan.os EOS8WPzi8EgrgMUWc3DAECYwTKMb88t1LaiUR2P16PTHmiS7aFPyz EOS5k8Zx5TZV9ZXfPj5aKep1tuBe8nEWwxLGAUwhj9tKQLcCyMxdK
3410981ms thread-0   main.cpp:1008                 main                 ] Failed with error:<PHONE_NUMBER>46896)
Request Path: localhost:8888/v1/chain/push_transaction, Request Post Data: {"signatures":[],"compression":"none","data":"2e6a855a00007016a5aeb962000000000000"}

When create contract, meet this error.

@WildDylan since you reference "cleos" I assume you are on the master branch, but the master branch is not compatible with testnet2.  See the README.md file that was updated today.

ok thanks, i will have a look.

@gleehokie MY BUILD BRANCH WAS DAWN 2.X.

@WildDylan are you sure?  dawn-2.x branch does not have a cleos executable in the programs directory, it is called eosc there on the dawn-2.x branch.

@gleehokie Please see this photos. ok, now, i want to use the latest readme.md to rebuild my eos under dawn-2.x, how to clean my enviroment. thanks for your reply.

@WildDylan did you build master (dawn-3.0) previously and do a make install?  If so that cleos executable is probably left over from that install.

yep sudo make install

ok, how to remove this, clean my enviroment. thanks, it's may my questions.


Unexpected brackets are not colored in Light High Contrast theme

Fixes https://github.com/microsoft/vscode/issues/224904

FYI @daviddossett I took the same color as used in the overview ruler


Allow requiring SSL connections for Redshift

Describe the feature
Many enterprise customers (and their customers) require that connections to databases be encrypted with SSL, and it would be great if dbt supported this.
This issue is a blatant copy-paste of https://github.com/dbt-labs/dbt/issues/2152 as the PR merged in that issue only addressed Postgres and not Redshift.
The change should probably be very, very similar to https://github.com/dbt-labs/dbt/pull/2154 as the functionality is essentially the same.
Describe alternatives you've considered

Additional context
This feature is relevant for all databases but this issue is about enabling it specifically for Redshift.
Who will this benefit?
Teams that value security.
Are you interested in contributing this feature?
I can give it a try when I have a bit of time. Also happy if someone else takes this over :-)

@olivermeyer Good news! The introduction of sslmode to the Postgres connection keys, in https://github.com/dbt-labs/dbt/pull/2154, means you can also use this on Redshift, too. The dbt-redshift adapter plugin directly inherits its connection mechanism from dbt-postgres:
https://github.com/dbt-labs/dbt/blob/e10d1b0f8687152d78d926d9e0337383c4ecdff5/plugins/redshift/dbt/adapters/redshift/connections.py#L38-L65
You should be able to set sslmode to verify-ca/require, and have that take effect for your Redshift connection.
If there's any change needed here, it should be documenting that the Redshift profile has access to all connection parameters available to the Postgres profile, too.
In the meantime, I'm going to close this issue.

My bad @jtcohen6, I didn't dig very deep :-) I'm really trying to enforce SSL from dbt Cloud, which I thought would be doable from the UI after fixing this issue, but apparently not. I'll move this to Slack.

@olivermeyer Understood! I'd recommend reaching out to dbt Cloud support, and indicating that this is an option you'd like to have for Redshift connections, having confirmed that the dbt-redshift plugin already supports it.

Will do, thanks!


Is there a reading + definition option for anki?

I'm trying to mine with anki connect but I usually make my cards with kanji on the front and hiragana reading + definition on the back. Is that possible? Seems I can only choose one or the other.

Are you perhaps using the "Basic" note type/model? You need to create custom note types for JL (ideally one for words/others, one for kanjis and one for names). Those note types should preferably have all the JL fields for that expression type. e.g., Primary Spelling, Readings, Alternative Spellings, Definitions etc. for the note type created for Words. Primary Spelling, Kun Readings, On Readings etc. for the note type created for Kanjis and so on. You can choose which of these fields will be shown on the back/front side of your cards. See https://docs.ankiweb.net/editing.html#adding-a-note-type and https://docs.ankiweb.net/templates/intro.html for more details.
When you create a note type with the necessary fields, you must select that note type as your "model" and after that you can simply pair the corresponding JL fields with the card fields, like the following:


Update hello-hybrid-cert-whfb-settings-pki.md

Grammar correction

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.


fix(Makefile): fix Makefile

Fix Makefile.
https://github.com/lvgl/lv_port_linux/pull/51
@etag4048 @kisvegabor

Tested and working! Thank you!
Please remove this from the README, and add make as option here.

Tested and working! Thank you!
Please remove this from the README, and add make as option here.

Modified.


Have block proof only use final public values

cf discussion on slack, + some refactoring cleanup

Actually requiring most of the refactor work done on the continuations_cancun branch, so closing for now.


reinstating provider incentives

Storage providers correctly received tokens when the storage module had tokens to payout. For the mainnet launch we removed the storage module receiving tokens. A good example of unit tests work but integration tests are still needed. @BiPhan4 can you work on that for me so we can have that sorted for mainnet. I know providers will get paid, but providers on the testnet will not get tokens for the time being. Going to push an update to testnet soon then. This is why we have testnets after all it seems.

@TheMarstonConnell To clarify: the first integration test would be between the mint module and the storage module?


Reference handling with .obsm causing trouble with umap.transform (maybe?)

Alright, this is a bit of a weird one. I'm trying to project simulated doublets into a UMAP of the real data. The initial embedding is being modified when I try to transform the simulated doublets. This only seems to occur if there are the same amount of simulated doublets as initial cells. I spent the last day thinking was a problem with UMAP, until I couldn't replicate without using Scanpy and AnnData, so my current theory is it has to do with getters and setters for .obsm. I could also be doing something dumb and just not seeing it.
I've put everything needed to reproduce in this gist (sorry about the length, I'm having trouble cutting it down). Basically, this code gives weird looking results and throws an error:
umap = UMAP()
pbmc.obsm["X_umap"] = umap.fit_transform(pbmc.obsm["X_pca"])
assert np.allclose(pbmc.obsm["X_umap"], umap.embedding_)
dblt.obsm["X_umap"] = umap.transform(dblt.obsm["X_pca"])
assert np.allclose(pbmc.obsm["X_umap"], umap.embedding_)  # This assertion fails

This code does not:
umap = UMAP()
pbmc_umap = umap.fit_transform(pbmc.obsm["X_pca"])
assert np.allclose(pbmc_umap, umap.embedding_)
dblt_umap = umap.transform(dblt.obsm["X_pca"])
assert np.allclose(pbmc_umap, umap.embedding_)

Managed to cut down the example by a lot:
import numpy as np
from scipy import sparse
from umap import UMAP
import scanpy as sc

def pca_update(tgt, src, inplace=True):
    # TODO: Make sure we know the settings from src
    if not inplace:
        tgt = tgt.copy()
    if sparse.issparse(tgt.X):
        X = tgt.X.toarray()
    else:
        X = tgt.X.copy()
    X -= np.asarray(tgt.X.mean(axis=0))
    tgt_pca = np.dot(X, src.varm["PCs"])
    tgt.obsm["X_pca"] = tgt_pca
    return tgt

pbmc = sc.datasets.pbmc68k_reduced()
sc.pp.pca(pbmc)
pbmc2 = pbmc.copy()
pca_update(pbmc2, pbmc)

umap = UMAP()
pbmc.obsm["X_umap"] = umap.fit_transform(pbmc.obsm["X_pca"])
assert np.allclose(pbmc.obsm["X_umap"], umap.embedding_)
pbmc2.obsm["X_umap"] = umap.transform(pbmc2.obsm["X_pca"])
assert np.allclose(pbmc.obsm["X_umap"], umap.embedding_)

Looks like it has something to do with the pca update function

Doesn't your last example suggest that the umap instance does some changes to pbmc.obsm["X_pca"] (which gives a view on .obsm by virtue of how numpy structured arrays work) via fit_transform if you can resolve it via .copy()?

It doesn't look like it changes the values:
import scanpy as sc
import numpy as np
from umap import UMAP
import joblib  # UMAP internally hashes data this way

a = sc.datasets.pbmc68k_reduced()
b = a.copy()
b.obsm["X_pca"] = np.dot(
    a.obsm["X_pca"],
    np.eye(a.obsm["X_pca"].shape[1])
)

apca = a.obsm["X_pca"]
bpca = b.obsm["X_pca"]

print(joblib.hash(apca), "apca")
print(joblib.hash(bpca), "bpca")

umap = UMAP()
u = umap.fit_transform(apca)
u_orig = u.copy()
print(joblib.hash(umap._raw_data))
print(joblib.hash(apca))
assert np.allclose(u, u_orig)
umap.transform(bpca)
print(joblib.hash(apca))
print(joblib.hash(umap._raw_data))
assert np.allclose(u, u_orig)
# 68d1208f4a3c65dbf2217e511d6aa8e6 apca
# cc58c1030b1b4880344131106b00c5f0 bpca
# 68d1208f4a3c65dbf2217e511d6aa8e6
# 68d1208f4a3c65dbf2217e511d6aa8e6
# 68d1208f4a3c65dbf2217e511d6aa8e6
# 68d1208f4a3c65dbf2217e511d6aa8e6
# ---------------------------------------------------------------------------
# AssertionError                            Traceback (most recent call last)
# <ipython-input-105-6881f6a8ec92> in <module>
#      26 print(joblib.hash(apca))
#      27 print(joblib.hash(umap._raw_data))
# ---> 28 assert np.allclose(u, u_orig)

# AssertionError:

It definitely could have something to do with being a view though, but I'm not particularly familiar with recarrays

I can finally get this to (not) work with random data:
a = sc.AnnData(np.random.random((1000, 1000)))
b = sc.AnnData(np.random.random((1000, 1000)))

sc.pp.pca(a)
b.obsm["X_pca"] = a.obsm["X_pca"] + 1  # Error does not occur with `np.dot` or `+ 0`
# Could also have done sc.pp.pca(b) and gotten error

umap = UMAP()
u1 = umap.fit_transform(a.obsm["X_pca"])
u1_orig = u1.copy()
print(joblib.hash(u1))
print(joblib.hash(umap.embedding_))
assert np.allclose(u1_orig, umap.embedding_)
print(joblib.hash(u1))
u2 = umap.transform(b.obsm["X_pca"])
print(joblib.hash(u1))
assert np.allclose(u1_orig, umap.embedding_)
# 073bd434de1d0aa7c0410dc622af0184
# 073bd434de1d0aa7c0410dc622af0184
# 073bd434de1d0aa7c0410dc622af0184
# 16613dd24c4b22aa1d4dbf931f492c5f
# ---------------------------------------------------------------------------
# AssertionError                            Traceback (most recent call last)
# <ipython-input-160-f5b701ce789e> in <module>
#      16 u2 = umap.transform(b.obsm["X_pca"])
#      17 print(joblib.hash(u1))
# ---> 18 assert np.allclose(u1_orig, umap.embedding_)

# AssertionError:

After some blood, sweat, and tears I've managed to factor out AnnData entirely:
Using a umap fit on a view of a recarray to transform any other array of the same size will modify the umap object internally. Any time you get some values from .obsm like adata.obsm["X_pca"] it is a view of a recarray, which is not obvious from how it's printed (thanks for pointing that out Alex!). Here's a little example:
import numpy as np
import joblib
from umap import UMAP

r = np.recarray((1000,), dtype=[("X", "<f8", (50,))])
r["X"] = np.random.random((1000, 50))

a = np.random.random((1000, 50))

umap = UMAP()
u1 = umap.fit_transform(r["X"])
u1_orig = u1.copy()
assert np.allclose(u1_orig, umap.embedding_)
print(joblib.hash(u1))
u2 = umap.transform(a)
print(joblib.hash(u1))
assert np.allclose(u1_orig, umap.embedding_)

I'll go open an issue for UMAP now.

I can imagine that this was a lot of blood, sweat, and tears...


[Discussion] Prepare for v0.3.0 release

It's almost time to release v0.3.0 and we still have some issues not resolved in v0.3.0 milestone. https://github.com/ray-project/kuberay/milestone/3 yet. Beside these issue listed in the milestone, we may have other issue in the backlog not associated with v0.3.0 release. Please help tag the issue we want to include in next release.
On the compatibility side, we need to have consensus on the latest Ray version we want to support. For those 2.0-dev or experimental feature, it would be great to add the feature flags and explain the usage and maturity in the docs.
Timeline perspective, we can merge all v0.3.0 features by end of week and then cut a branch release-0.3 and RC release. Starting from next week, let's concentrate on the integrations and testings.  If no more bugs are reported, we can cut the official release.
Any thoughts?
/cc @DmitriGekhtman @brucez-anyscale @simon-mo @akanso @caitengwei @harryge00  @daikeshi @davidxia  @scarlet25151 @wilsonwang371

The KubeRay 0.3.0 release will be coordinated closely with the critical Ray 2.0.0 release.
Will start by tagging some Ray and Anyscale team leads, so that we don't miss anything.
@zhe-thoughts @ericl @pcmoritz @richardliaw @edoakes @jaikumarg1 @iycheng @sriram-anyscale

@Jeffwan that sounds awesome. On Ray side we plan to cut 2.0rc on 7/22. Kuberay to cut anytime before that or close to that would be ideal. Also cc @tgaddair .

Following up on @richardliaw's comment, I think it'd be acceptable to cut a KubeRay RC by the end of next week, but any time before is also fine.
I think it would be natural to use next Tuesday's sync meeting to finalize some of the details.
On the other hand, before is fine as well.

For the items under the 0.3.0 milestone, let's discuss on the individual issues. It may be wise to remove some of the items.

If possible, we should flip the feature flags now.

The KubeRay-related Ray issues for this release are here
https://github.com/ray-project/ray/issues?q=is%3Aopen+is%3Aissue+author%3ADmitriGekhtman+label%3Akuberay+label%3A"Ray+2.0"

@DmitriGekhtman  I think major features are all there, the left things are docs and improvements.

https://github.com/ray-project/kuberay/pull/398
https://github.com/ray-project/kuberay/issues/290#issuecomment-1192777995

I see in the 0.3.0 issues, there're 3 issues related to autoscaler. Any updates on those issues?

This one https://github.com/ray-project/kuberay/issues/360 is better handled in the context of the release process (once the Ray 2.0.0 branch is cut).
The other two I'll take care of within the next couple of business days.

@Jeffwan any chance we can include https://github.com/ray-project/kuberay/pull/383 in 0.3.0?

@davidxia The change looks good to me and I merge it. Thanks for the fix, we did encounter the same issue in downstream.

Just noting some release todos, based on discussion yesterday:
Definite requirements:

Changelog
Document with high-level release notes

Could be useful:

Release candidate? It could help, for example, to have a 0.3.0rc0 tag for docker images and configs.

Should have eventually (if not this release then in a future one):

Documented, structured release process (a checklist, say). That would make it easier for the community to contribute in the release process.

Sounds good. I will help cut branch and rc release today once these two merged.

test is really annoying We need to fix the root issue here https://github.com/ray-project/kuberay/pull/424
https://github.com/ray-project/kuberay/pull/423
https://github.com/ray-project/kuberay/issues/417

I cut release-0.3 branch and v0.3.0-rc.0 tag.
We can test the latest version using below commands or use helm to install kuberay (https://github.com/ray-project/kuberay/tree/release-0.3/helm-chart/kuberay-operator)
export KUBERAY_VERSION=release-0.3
kubectl create -k "github.com/ray-project/kuberay/manifests/cluster-scope-resources?ref=${KUBERAY_VERSION}"
kubectl apply -k "github.com/ray-project/kuberay/manifests/base?ref=${KUBERAY_VERSION}"

Docs: https://ray-project.github.io/kuberay/
For bug fixes, let's file PR against master and we will cherry-pick to release-0.3 later.

v0.3.0-rc.1 is out.
export KUBERAY_VERSION=v0.3.0-rc.1
kubectl create -k "github.com/ray-project/kuberay/manifests/cluster-scope-resources?ref=${KUBERAY_VERSION}"
kubectl apply -k "github.com/ray-project/kuberay/manifests/base?ref=${KUBERAY_VERSION}"

v0.3.0 has been officially released and we can close the issue https://github.com/ray-project/kuberay/releases/tag/v0.3.0


Findings about using certificates and Tls in server.

I have spent some time trying to run tls encrypted communication on server side mqtt server.
I will try to get together some findings, that may help somebody to success.
1.) tls need certificate with private key, right, and mqtt  server internals will check if this is true and if not ...you are out of luck. So I generated certificate with makecert with options from wiki. but tls failed to start because X509Certificate2.HasPrivateKey is false for that certificate.
2.) Finally I was able to get this property to "true" with following steps:

installed generated certificate into windows storage ( no matter if personal or machine)
with using MMC and "Certificates" snap-in exported certificate WITH private key and WITH password and PFX format
now result is :
string certPath = @"D:\xxx\SecureServer\cert.pfx";
X509Certificate2 certificate = new X509Certificate2(certPath, "ccc");
Console.WriteLine(certificate.HasPrivateKey);	//true

next challenge is get to work this:
string certPath = @"D:\xxx\SecureServer\cert.pfx";
X509Certificate2 certificate = new X509Certificate2(certPath, "ccc");
Console.WriteLine(certificate.HasPrivateKey);	//result is TRUE
X509Certificate2 cert2 = new X509Certificate2(certificate.Export(X509ContentType.Cert));
Console.WriteLine(cert2.HasPrivateKey);		//result is FALSE
this is more-or-less replication of steps what are used when certificate is used in mqttserver with tls options.
I am investigating further.

Hi,
thanks for reporting this. Probably I have to update the Wiki with this information.
Best regards
Christian

GOT IT!
certificate.Export(X509ContentType.SerializedCert)
did the trick
so for now I would wait some time if somebody will be able reproduce this steps and confirm that behavior.
Now tls server is running ... I will make some testing.

I will repeat the steps in a few days and also update the Wiki.

You can also export as Pfx, but you must set the exportable flag when loading the certificate, like so:
var cert = new X509Certificate2("C:\...\certificate.pfx", "pass", X509KeyStorageFlags.Exportable);
var newCert = new X509Certificate2(cert.Export(X509ContentType.Pfx));
var hasPrivateKey = newCert.HasPrivateKey; //true

Cannot use TLS on mobile devices using Xamarin.  X509ContentType.SerializedCert is not available. However, using desktop or server windows it works and connects to MQTT Mosquito broker.  Example:
IEnumerable<byte[]> certificates = new[] { certificate.Export(X509ContentType.SerializedCert), certificate1.Export(X509ContentType.Cert), certificate2.Export(X509ContentType.Cert) };

Cannot use TLS on mobile devices using Xamarin. X509ContentType.SerializedCert is not available. However, using desktop or server windows it works and connects to MQTT Mosquito broker. Example:
IEnumerable<byte[]> certificates = new[] { certificate.Export(X509ContentType.SerializedCert), certificate1.Export(X509ContentType.Cert), certificate2.Export(X509ContentType.Cert) };

Re: Cannot use TLS on mobile devices using Xamarin. X509ContentType.SerializedCert is not available: Error at Mono.Btls.X509CertificateImplBtls.Export (System.Security.Cryptography.X509Certificates.X509ContentType contentType, System.Byte[] password) [0x00029] in <3e9b3e26c4694baab3f689687ad40612>:0
at System.Security.Cryptography.X509Certificates.X509Certificate.Export (System.Security.Cryptography.X509Certificates.X509ContentType contentType, System.Byte[] password) [0x0000b] in :0
at System.Security.Cryptography.X509Certificates.X509Certificate.Export (System.Security.Cryptography.X509Certificates.X509ContentType contentType) [0x00000] in :0

GOT IT!
certificate.Export(X509ContentType.SerializedCert)
did the trick
so for now I would wait some time if somebody will be able reproduce this steps and confirm that behavior.
Now tls server is running ... I will make some testing.

how you explain a example of code off how connect by TLS??

certificate.Export(X509ContentType.SerializedCert is not enabled in Xamarin only on working in windows environment (e.g. server)
From:   inforaudio<EMAIL_ADDRESS>To:   chkr1011/MQTTnet<EMAIL_ADDRESS>Cc:   AlbertTester<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Sent:   3/13/2019 7:13 PM
Subject:   Re: [chkr1011/MQTTnet] Findings about using certificates and Tls in server. (#124)
GOT IT!
certificate.Export(X509ContentType.SerializedCert)
did the trick
so for now I would wait some time if somebody will be able reproduce this steps and confirm that behavior.
Now tls server is running ... I will make some testing.
how you explain a example of code off how connect by TLS??
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

ok. Thanks . So much Thanks.
Do you know some library that run properly in Xamarin for connect by MQTT SSL?

I dont understand your last message.
Do you mean that "certificate.Export(X509ContentType.SerializedCert is not enabled".. But is possible enabled?? or is not possible?

Have you got a complete example of how run it?

GOT IT!
certificate.Export(X509ContentType.SerializedCert)
did the trick
so for now I would wait some time if somebody will be able reproduce this steps and confirm that behavior.
Now tls server is running ... I will make some testing.

How you got a simple and complete example using certificate files?

Other Question.
How do you access so the certificate files.
We try in diferents path and is not possible.
Always have this message
System.IO.FileNotFoundException: Could not find file "certi\caX509.cert"

This is already in the wiki by now. https://github.com/chkr1011/MQTTnet/wiki/Server#using-a-certificate. Maybe I will extend this a bit.

Done. https://github.com/chkr1011/MQTTnet/wiki/Server#using-a-certificate.


const fn for trivial getters where possible

This adds const to all trivial getters where possible. Although applications in the field will barely benefit from this, I like about const that it ensures that a function is pure, i.e., has no side-effects during runtime.
I did this with the help of cargo clippy -- -D clippy::missing_const_for_fn.
Checklist

[ ] Sensible git history (for example, squash "typo" or "fix" commits). See the Rewriting History guide for help.
[ ] Update the changelog (if necessary)

Yiikes.. Somehow the commit message is broken. I'm sorry for that. I don't know how that happened..

Oops, I didn't notice either :) Not a big deal anyway, it's pretty clear what's going on in that commit.


Bump swift-crypto to 1.1.7

@swift-ci please test

@swift-ci please smoke test

Closing this for now. Can reopen if we really need it.


Prevent error when reference to http_tcp_listeners or target_groups a…

PR o'clock
Description
When destroy Autoscaling Group referencing to Target Groups ( Target Groups were destroyed successfully before ), the error will show up like:
Error: Invalid function argument

  on ../../modules/terraform-aws-alb/outputs.tf line 105, in output "target_group_arns":
  99:
 100:
 101:
 102:
 103:
 104:
 105:     var.target_groups_count,
 106:
    |----------------
    | var.target_groups_count is 1

Invalid value for "end_index" parameter: end index must not be greater than
the length of the list.

Just add condition to check if the list is empty or not. For example:
output "target_group_arn_suffixes" {
  description = "ARN suffixes of our target groups - can be used with CloudWatch."
  value = slice(
    concat(
      aws_lb_target_group.main.*.arn_suffix,
      aws_lb_target_group.main_no_logs.*.arn_suffix,
    ),
    0,
    length(concat(
      aws_lb_target_group.main.*.arn_suffix,
      aws_lb_target_group.main_no_logs.*.arn_suffix,
    )) != 0 ? var.target_groups_count : 0,
  )
}

If Target Groups are already destroyed, the end_index will be 0.
Checklist

[x] terraform fmt and terraform validate both work from the root and examples/alb_test_fixture directories (look in CI for an example)
[ ] Tests for the changes have been added and passing (for bug fixes/features)
[ ] Test results are pasted in this PR (in lieu of CI)
[ ] Docs have been added/updated (for bug fixes/features)
[ ] Any breaking changes are noted in the description above

We also ran into this. Thank you for the fix!

I believe this is not an issue in v5.0.0, which has been just released.
Check UPGRADE-5.0.md for upgrade instructions.
Please give it a try and let me know if the issue still exists in v5.0.0.


Fix on checks

The checks were not properly working so far. Specifically, the following problems occurred:

we did not have checks on the data field, specifically for the type EmissionData,
we did not check the majority of the nodes,
the time profile checks were not working and resorted to the blank default,
we did not have tests which could be used for identifying the errors.

This PR should solve all of the above problems. The change in the tests for the field data allows in addition for changes in the tests from EnergyModelsInvestments.
Minor additional change:

I updated the NEWS.md to follow the style from markdownlint, I was to annoyed by the constant warnings.

Once the PR is approved, the NEWS.md file will be updated with the correct data.


Waypoint: Target the Parent of an Element Using jQuery

Challenge http://www.freecodecamp.com/challenges/waypoint-target-the-parent-of-an-element-using-jquery has an issue. Please describe how to reproduce it, and include links to screenshots if possible.

If I'm understanding your issue correctly, your code here sets the entire left-well div background, including the header text "left-well" to red, when in fact you should be targeting the parent of "#target1" and setting the background color.

@EllieAdam thanks for posting this issue!
Note that your issue is a duplicate:
https://github.com/FreeCodeCamp/FreeCodeCamp/issues/2337
https://github.com/FreeCodeCamp/FreeCodeCamp/issues/1934
Please see Help I've Found a Bug.

 $(document).ready(function() {
    $("#target1").css("color", "red");

    $("#target1").prop("disabled", true);
    $("#target4").remove();
    $("#target2").appendTo("#right-well");
    $("#target5").clone().appendTo("#left-well");
     $("#target1")parent().css("color", "red");

I tried this to target the immediate parent but didn't pass.
On Sun, Aug 23, 2015 at 10:00 PM, Noah Rubin<EMAIL_ADDRESS>wrote:

If I'm understanding your issue correctly, your code here sets the entire
left-well div background, including the header text "left-well" to red,
when in fact you should be targeting the parent of "#target1" and setting
the background color.
—
Reply to this email directly or view it on GitHub
https://github.com/FreeCodeCamp/FreeCodeCamp/issues/2613#issuecomment-134036890
.

just disregard my issue :)
On Mon, Aug 24, 2015 at 9:17 AM, ellie adam<EMAIL_ADDRESS>wrote:

 $(document).ready(function() {
    $("#target1").css("color", "red");

    $("#target1").prop("disabled", true);
    $("#target4").remove();
    $("#target2").appendTo("#right-well");
    $("#target5").clone().appendTo("#left-well");
     $("#target1")parent().css("color", "red");

I tried this to target the immediate parent but didn't pass.
On Sun, Aug 23, 2015 at 10:00 PM, Noah Rubin<EMAIL_ADDRESS>wrote:

If I'm understanding your issue correctly, your code here sets the entire
left-well div background, including the header text "left-well" to red,
when in fact you should be targeting the parent of "#target1" and setting
the background color.
—
Reply to this email directly or view it on GitHub
https://github.com/FreeCodeCamp/FreeCodeCamp/issues/2613#issuecomment-134036890
.

You may close this issue if your problem has been fixed.


build debug tensorflow

In order to debug tensorflow, study TF internal module  and its principle.
so, select source code compilation and installation.
System information

Ubuntu18.04:
TensorFlow 2.1( git checkout merge-200413):
Python 3.6
Bazel version2.0:
ROCm 3.3
Device: vega 10
vscode

In build_ rocm_python 3 file add compilation options, --cxxopt="-g",  as follows:
bazel build --cxxopt="-g" --config=opt --config=rocm //tensorflow/tools/pip_package:build_pip_package --verbose_failures &&
Implement
./build_rocm_python3
Meet problem
Import TF into '. Py' file and write some simple TF addition and subtraction.
Debug can enter the . Py file in tensorflow, but can't enter the C / C++ code in TF.
I want to debug into C / C + + in TF. I don't know if there is a problem with my own compilation options.

Please use gdb to debug into C++ code.
Closing this as the repo only deal with ROCm specific issue, otherwise please post it to upstream at https://github.com/tensorflow/tensorflow. Will re-open only if you can prove this issue is ROCm specific.

Please use gdb to debug into C++ code.
Closing this as the repo only deal with ROCm specific issue, otherwise please post it to upstream at https://github.com/tensorflow/tensorflow. Will re-open only if you can prove this issue is ROCm specific.


Wip: ltx-video support

For now, the diffusion model seems to load in memory. the 128-D VAE is still completely unmplemented. Forward logic might be off.
TODO:

[x] rebase on master properly
[x] figure out how to work around tensor 'model.diffusion_model.proj_out.weight' has wrong shape in model file: got [1, 1, 2048, 128], expected [2048, 128, 1, 1] (diffusion model will hopefully load properly after that)
[ ] VAE support
[ ] Figure out modulation order
[ ] Make it generate Video
[ ] Use it to implement Pixart Alpha too

this is great, thank u so much, cant wait to test it when its done
please support for quantized ltx models too and conversation too, there are fp8 in huggingface and fp16 gguf
it will be great if u make it work to have im2vid
also in ltx video playground in huggingface there is advanced options that we can make videos up to 11 seconds like 512x320 resolution with 257 frames, it will be great ifwe can make long videos here too

The 5D tensors in the VAE are a pain to deal with. I'm losing motivation...

it is ok, this is hard task, we got unworking svd too, seems video is harder to impelent in sd cpp, thank u for ur hard work
let me summon the staff of ltx themselves:
@yoahacohen
could u guys give us a hand here please, we seems have hard times to bring a video to cpp here

The 5D tensors in the VAE are a pain to deal with.

@stduhpf Which operators require more than 4 dimensional tensors? Can these tensors be transformed to less dimensions? Maybe with appropriate combination of ggml_view and ggml_reshape it can be done. We had similar issues when implementing SAM and I remember we managed to avoid the need for 5D tensors which were used in the original implementation. Hopefully there is a workaround, since adding support for 5D and more dimensions to ggml would be very difficult.

@ggerganov Basically the whole VAE is made of 3D convolutions, so this means a 3x3x3 kernel for each input/output channel pair. Maybe there is a way to flatten it to use Conv2d instead, but I couldn't figure it out.

Hm, indeed it's not obvious. I guess we will need to increase the GGML_MAX_DIMS at some point.

it is ok, this is hard task, we got unworking svd too, seems video is harder to impelent in sd cpp, thank u for ur hard work let me summon the staff of ltx themselves: @yoavhacohen could u guys give us a hand here please, we seems have hard times to bring a video to cpp here

It’s understandable that this task is challenging, and I appreciate everyone’s efforts so far. Based on the comments, the issue seems to stem from the lack of conv3d implementation in the GGML library.
Although I’m not familiar with GGML, I noticed that conv2d is implemented using im2col and matmul:
https://github.com/ggerganov/ggml/blob/a5960e80d3e65ce6ff18f90315ab96f63cf9c4cc/src/ggml.c#L3884
The same principle can be extended to conv3d using a 3D version of im2col. Here’s a high-level approach:
Implementing conv3d:
You can create an im2col_3d tensor and perform matrix multiplication for convolution, similar to the conv2d implementation. Below is sample (untested) code:
// a: [OC, IC, KD, KH, KW]
// b: [N, IC, ID, IH, IW]
// result: [N, OC, OD, OH, OW]
struct ggml_tensor * ggml_conv_3d(
        struct ggml_context * ctx,
        struct ggml_tensor  * a,
        struct ggml_tensor  * b,
        int                   s0, // stride depth
        int                   s1, // stride height
        int                   s2, // stride width
        int                   p0, // padding depth
        int                   p1, // padding height
        int                   p2, // padding width
        int                   d0, // dilation depth
        int                   d1, // dilation height
        int                   d2  // dilation width) {
    // Create im2col tensor for 3D input
    struct ggml_tensor * im2col = ggml_im2col_3d(ctx, a, b, s0, s1, s2, p0, p1, p2, d0, d1, d2, true, a->type); // [N, OD, OH, OW, IC * KD * KH * KW]

    // Perform matrix multiplication for the convolution
    struct ggml_tensor * result =
        ggml_mul_mat(ctx,
                ggml_reshape_2d(ctx, im2col, im2col->ne[0], im2col->ne[4] * im2col->ne[3] * im2col->ne[2] * im2col->ne[1]), // [N, OD, OH, OW, IC * KD * KH * KW] => [N*OD*OH*OW, IC * KD * KH * KW]
                ggml_reshape_2d(ctx, a, (a->ne[0] * a->ne[1] * a->ne[2] * a->ne[3]), a->ne[4]));                          // [OC, IC, KD, KH, KW] => [OC, IC * KD * KH * KW]

    // Reshape the result back to a 5D tensor
    result = ggml_reshape_5d(ctx, result, im2col->ne[1], im2col->ne[2], im2col->ne[3], im2col->ne[4], a->ne[4]); // [OC, N, OD, OH, OW]
    result = ggml_cont(ctx, ggml_permute(ctx, result, 0, 1, 4, 3, 2)); // [N, OC, OD, OH, OW]

    return result;
}

Implementing im2col_3d:
Since GGML lacks im2col_3d, you can emulate it using a composition of two im2col operations:

Apply 1D im2col along the depth dimension.
Step 2: Apply 2D im2col for the height and width dimensions.

struct ggml_tensor * ggml_im2col_3d(
        struct ggml_context * ctx,
        struct ggml_tensor  * a,
        struct ggml_tensor  * b,
        int                   s0, // stride depth
        int                   s1, // stride height
        int                   s2, // stride width
        int                   p0, // padding depth
        int                   p1, // padding height
        int                   p2, // padding width
        int                   d0, // dilation depth
        int                   d1, // dilation height
        int                   d2, // dilation width
        enum ggml_type        dst_type) {

    // Step 1: Perform 1D im2col along the depth dimension
    const int64_t OD = ggml_calc_conv_output_size(b->ne[2], a->ne[2], s0, p0, d0); // Depth
    const int64_t IH = b->ne[3];
    const int64_t IW = b->ne[4];
    const int64_t IC_KD = b->ne[1] * a->ne[2]; // IC * KD

    const int64_t ne1[5] = { IC_KD, IW, IH, OD, b->ne[0] }; // Intermediate tensor shape: [N, OD, IH, IW, IC * KD]

    struct ggml_tensor * intermediate = ggml_new_tensor(ctx, dst_type, 5, ne1);

    int32_t params_1d[] = { s0, 1, p0, 0, d0, 1 }; // Stride and padding for depth dimension
    ggml_set_op_params(intermediate, params_1d, sizeof(params_1d));
    intermediate->op     = GGML_OP_IM2COL; // Use existing im2col operation
    intermediate->src[0] = a;
    intermediate->src[1] = b;

    // Step 2: Perform 2D im2col on the intermediate tensor for height and width
    const int64_t OH = ggml_calc_conv_output_size(IH, a->ne[3], s1, p1, d1); // Height
    const int64_t OW = ggml_calc_conv_output_size(IW, a->ne[4], s2, p2, d2); // Width

    const int64_t ne2[5] = { IC_KD * a->ne[3] * a->ne[4], OW, OH, OD, b->ne[0] }; // Final output shape: [N, OD, OH, OW, IC * KD * KH * KW]

    struct ggml_tensor * result = ggml_new_tensor(ctx, dst_type, 5, ne2);

    int32_t params_2d[] = { s2, s1, p2, p1, d2, d1 }; // Stride and padding for height and width dimensions
    ggml_set_op_params(result, params_2d, sizeof(params_2d));
    result->op     = GGML_OP_IM2COL; // Use existing im2col operation
    result->src[0] = a;              // Use filter tensor
    result->src[1] = intermediate;   // Intermediate tensor from step 1

    return result;
}

As already stated GGML_MAX_DIMS should be increased to 5 to support 5D tensors.
These are just starting points and will need testing and optimization.
Does this align with your understanding? Are there additional constraints or goals that we should consider?


Allow pry to be activated in rspec if in the local gemfile.

Re: https://github.com/rubocop-hq/rubocop/pull/9341#issuecomment-757504942
#9341 replaced pry with irb but it is useful for debugging. This change will just allow pry to be used in rspec if it's activated from Gemfile.local.

This looks good!

This looks good!


Adds is_visible/1 to ElementHandle to check if visible

@geometerio Any update on merging this?

Merged with some changes to match recent updates to the internals, and to add a test.


[CROSSED / FATES] Add images

Changes / Comments
Heya! I got into contact with Catscratcher Studio and they sent me some logos and emblems for the sheet. I've added the red square and the Catscratcher Studio logo to the sheet. I also updated the thumbnail preview to include these changes!
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[x] Does the pull request title have the sheet name(s)? Include each sheet name.
[ ] Is this a bug fix?
[ ] Does this add functional enhancements (new features or extending existing features) ?
[x] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.


NIST SP 800-53 Rev. 5 invalid bundleLink

replace this url:
https://cloud.google.com/anthos-config-management/docs/how-to/using-nist-sp-800-53-r5
with this one:
https://cloud.google.com/kubernetes-engine/enterprise/policy-controller/docs/how-to/using-nist-sp-800-53-r5

Thanks for the report @davelanglois-ssc!  Long term the bundle will be updated, in the meantime the original url will now automatically redirect to the new url.


Reverse a Linked List

Description
Given pointer to the head node of a linked list, the task is to reverse the linked list. We need to reverse the list by changing the links between nodes.
Examples:
Input: Head of following linked list
1->2->3->4->NULL
Output: Linked list should be changed to,
4->3->2->1->NULL
Input: Head of following linked list
1->2->3->4->5->NULL
Output: Linked list should be changed to,
5->4->3->2->1->NULL
Input: NULL
Output: NULL
Input: 1->NULL
Output: 1->NULL
Domain
Data Structure
Type of Contribution
Addition
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of LearnCPP.

/assign


[Cookie Compliance] Stabilize the pipeline

Just a Revert, nothing needs to be changed in this PR.
Will send another PR to expire GA's cookie.

Why do we expire the cookie in 1 year? Looks like the default is 2, so what's the significant difference?

Why do we expire the cookie in 1 year? Looks like the default is 2, so what's the significant difference?

This is for compliance. The cookie should be expired in 12 months. I will send another PR to handle GA's cookie.


Redundant dependencies in requirements.txt

requirements.txt specifies unversioned dependencies on numpy and protobuf, both of which are (version constrained) dependencies of onnx, and so these are redundant and can be removed. For reference, the dependencies identified from poetry are:
├── onnxconverter-common >=1.7.0
│   ├── numpy *
│   ├── onnx *
│   │   ├── numpy >=1.16.6 (circular dependency aborted here)
│   │   ├── protobuf >=3.12.2
│   │   └── typing-extensions >=<IP_ADDRESS>
│   ├── packaging *
│   │   └── pyparsing >=2.0.2,<3.0.5 || >3.0.5
│   └── protobuf * (circular dependency aborted here)

Removed.


Create Project form

GUI form to create project
Rust API to create SSH key, save to GitHub deploy keys, clone repo

@miteshashar this is still not complete, rather this is a basic API integration proof with a form on top. Please review and merge, or point out any major issue or idea change. I will create new branch after this.


Fix get wrong property value after restart

Fix #65

Codecov Report

Merging #82 into master will increase coverage by 4.45%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #82      +/-   ##
==========================================
+ Coverage   81.71%   86.16%   +4.45%
==========================================
  Files          44       44
  Lines        3122     3122
==========================================
+ Hits         2551     2690     +139
+ Misses        571      432     -139


Named exports from ol/easing

adds named exports from the ol/easing module.

Thanks for the review, I've created #7587 to not forget about the version number


First chart milestone

Charts
Task: Pong
Attack: Uniform Attack

[x] reward / frequency chart
[x] reward / frequency, reward / frequency transfer policy
Attack: Strategically Timed Attack
[x] reward / frequency chart
[x] reward / frequency, reward / frequency transfer policy
Attack: Adversarial Policy Attack
[x] reward / frequency chart
[x] reward / frequency, reward / frequency transfer policy
Attack: Critical Strategy
[x] reward / frequency chart
[x] reward / frequency, reward / frequency transfer policy
Attack: Critical Point
[x] reward / frequency chart
[x] reward / frequency, reward / frequency transfer policy

task completed


where can find the qmlbook's code and resources? thanks.

where can find the qmlbook's code and resources? thanks.

The code and assets are posted on qmlbook.org


Difficulty recovering lightning pool account after update of lightning terminal

Hello,
I have an umbrel.
On 4/10/2022 I created a Lightning Pool account inside Lightning terminal by funding it with 5000000satoshis.
I then tried to initiate an ASK order for 1000000satoshis and I got a message that said my Lightning Terminal version was too old. Indeed it was not the most current version.
I uninstalled and reinstalled Lightning Terminal to get the latest version
Now my account and 5000000satoshis are gone at Lightning Pool is asking me to open a new account.
I understand that there is a procedure for account recovery, possibly more than one.
I have tried doing some SSH work as described here: https://docs.lightning.engineering/lightning-network-tools/lightning-terminal/troubleshooting#pool-account-recovery
I'm not able to get it to work.
I have posted a similarly in the community.getumbrel.com system, but I've not heard back from them yet.
I feel compelled to try to resolve the issue as quickly as possible so I'm reaching out here to see if I can get some assistance in recovering my lightning pool account on my umbrel.
I have lot's of screenshots and more information available on request.

FYI, my latest attempt:
umbrel@umbrel:~ $ docker exec -it 55065ce08f71 /bin/bash
bash-5.1$ pool --tlscertpath "/data/.lit/tls.cert" --rpcserver localhost:8443 --macaroonpath "/data/.pool/mainnet/pool.macaroon" accounts recover
[pool] rpc error: code = Unknown desc = recovery already in progress
Last night I noticed it used the wrong "trader key" - e.g. see attached image.
I'm confused where it says "could not recover account 02ab6c ... . " as this is not my "trader key" and therefore I assume not my account that it is trying to recover.

Hello @domesticblend, just to be 100% sure,  you are using the same LND backend node right?

Apologies, but I don't know what that means - "LND backend node".
I haven't changed much on my node/umbrel in the last 24 hours or so since I reinstalled the Lightning Terminal app on my umbrel and lost the account.

And . . . . please excuse my ignorance

No problem at all, LND backend node => you are using the Pool with the same lightning node that you created the account with.
It looks like you are not able to try the recovery process more than once because of a non-related bug (I already created a  PR in Pool with the fix)
Can you restart the lightninglabs terminal container and try to run the recovery command again?

Thanks so much for helping me out!
I am indeed using the same lightning node that I created the account with.
I do not know how to "restart the lightninglabs terminal container." - Would you mind doing a step by step with me on this one?
I am capable of running the recovery command again. However, again, I'd prefer if you walk me through it ;)
I have very basic SSH skills, but I am working on it . . .

FYI, I saved quite as much data as I could about this issue . . I have several images, details from RTL, debug logs . .. .images of the original account . . .   trader key etc . . .

Are you in LL slack?
Join and write in the #pool channel, I will DM and help you there.

I just created a slack account and joined the #pool channel - Thanks again.

Fixed. The server returned an unrelated error the first time that he retried to run a recovery and he was unable to re run it because the rpc server did not marked the recovery process as done in case of failure (so the user was not able to run a new one).
This can be fixed by restarting the server/container + running the recovery process again (fixed in Pool #355)


Poopgen Groove

hi! i use poopgen a lot lately, i love it! heres a royalty free copyrright free song about it!@
Maybe could add it for CLI start process music. Thanks!
https://jmp.sh/nREVS3Pg

What...


Support additional schmes in URL validation

Your environment

Version of jquery-validate: Whatever's on https://jqueryvalidation.org/url-method/
Browser name and version: Safari Version 17.6 (196<IP_ADDRESS>.5)

Current behavior
URL validation rejects valid URLs such as rsync://master.pgxn.org/pgxn/. Perhaps it's limited to http/https URLs? There are a lot more schemes supported by the standard tho.
Expected behavior
rsync://master.pgxn.org/pgxn/ should be considered valid.
Live demo

Go to https://jqueryvalidation.org/url-method/
Scroll down and enter rsync://master.pgxn.org/pgxn/ in the form
Submit

Thanks!


Add image overrides

Allow users / developers to override a list of images from a release to another image. This is useful for debugging of a hosted cluster control plane components, where building a whole release image with a simple fix in a single image would be cumbersome.
Tested using:
./control-plane-operator run --image-overrides=cluster-network-operator=quay.io/openshift/origin-cluster-network-operator:latest

oc -n clusters-jsafrane describe deployment cluster-network-operator
...
    Image:      quay.io/openshift/origin-cluster-network-operator:latest

Checklist

[x] Subject and description added to both, commit and PR.
[ ] Relevant issues have been referenced.
[ ] This change includes docs.
[ ] This change includes unit tests.

/approve
/lgtm


Misalignment of text in column view

I use poet-theme for org-mode to do not frighten my audience (screen sharing) too much with this nerdy tool.
Beside the text-scale-adjust issue, my biggest issue is that the columns in org-mode column view not aligned correctly. I could improve it with (face-remap-add-relative 'org-column :fixed-pitch t). But still there are major misalignments with the column headers, and between the rows.

Could you include a screenshot, I'm not sure I understand the problem correctly. Thanks for the report!

Here a minimal example, which show that at least tags cause misalignments - and of cause the headings, which is no so important.

As shown above tags and dates are no issue in dynamic blocks, but links are. This relates to #22 .


Sharing Object Transform Updates, Rotation, Scale, Bools, etc.

Overview
I've been playing with the SharingTest and SharingSpawnTest examples and am having difficulty wrapping my mind around how to properly share/sync and update a game object between devices.
In the SharingSpawnTest I noticed I could resize, rotate, and scale and object over the network but when I try to do this in the SharingTest example nothing updates.  The only thing that is shared is the initial world anchor with the sphere and the only object that updates is the remote head manager.
How would I go about syncing and updating game objects across devices with the SharingTest example?  Is there a generic script I can put on an object similar to the remote head manager script?
Thanks!

There is not. But you should be able to adapt the RemoteHeadManager which broadcasts the head transform and transform the localPosition of your gameobject.
Remember, you cannot move an object that has an anchor attached to it. The anchor transform will override the gameobject transform.
You can move an object which is a child of an object that has an anchor attached to it.
Please reopen if you have more difficulties.

I also believe the SharingSpawnTest scene utilizes the sync system, which can be used to keep object in sync, like you described, across devices. The scripts are locating in the Spawn and SyncModel folders in the Sharing folder.
https://github.com/Microsoft/MixedRealityToolkit-Unity/blob/master/Assets/HoloToolkit/Sharing/Scripts/SyncModel/SyncObject.cs


can't raise abilities above 20

18 is the max for a level 1 character, but you can add up to 3 for a level 10 character.

Thanks for bringing this up - fixed in latest version.


optimiazte emhash8

you can define maco EMH_WYHASH_HASH before including head file hash_table8.hpp
which is more efficient than std::hash

Thanks for your advice.
As for now, there is a new class StrName which does pooling for all identifiers. So we don't need to hash std::string anymore.
emhash8::HashMap<StrName, PyVar>
StrName is a 32 bit integer. So I'd like to find a special hash for this case.
StrName is

Currently there is a huge overhead in function call.
When doing a call like f(x, y, z), we need to new a hashmap to store locals. And the locals will soon be freed when function returns.
For this case, I think the hashmap can be optimized for storing 0-8 elements(regular argument numbers of a function call) and it has fast new/delete performance.

I saw you have mentioned a stack hashmap in the docs. I want both of them~

a lightweight hashmap for function call(fast new/delete)
a heavy hashmap for dict(fast lookup but we don't care new/delete)

now only emhash5 support small hashmap,
you can try it by define EMH_SMALL_SIZE = 8

#define EMH_FIND_HIT can improve finding hit performance(10%) in emash5/6

now only emhash5 support small hashmap, you can try it by define EMH_SMALL_SIZE = 8

That's awesome. What happens if adding more than 8 elements with EMH_SMALL_SIZE=8.

if size > EMH_SMALL_SIZE, it will alloc heap memory and copy stack memory to heap.

Great. I also have an idea to implement a very customized version, focusing on <int32, PyVar>.

Great. I also have an idea to implement a very customized version, focusing on <int32, PyVar>.
For example, I want to pre-make some hashmap that sizes 8, 16, 32. When needed, we can just retrieve one from the pool.

but emhash5 is used a fixed marco value, so need change it to be a template arg

https://github.com/python/cpython/blob/main/Objects/dictobject.c#L172

but emhash5 is used a fixed marco value, so need change it to be a template arg

Perhaps it is not the case.
I mean pre-making the underlying array, not hashmap instance. When the hashmap enlarges, it retrieve a low level array from the pool.

but emhash5 is used a fixed marco value, so need change it to be a template arg

Perhaps it is not the case. I mean pre-making the underlying array, not hashmap instance. When the hashmap enlarges, it retrieves a low level array from the pool.
If I can access to the low level array, there is a faster way to move a bunch of PyVar.(a tagged pointer)

**inline const value_type* values() const { return _pairs; }** in emhash8, key/value in a continuous array.

emhash8<int, int> e8 = {{1,2},{2,0}};
const auto& node = *values();
for (int i = 0; i < e8.size(); i++)
  doit(node[i].first, node[i].second);

Thank you~I will try!

if no any deletion on emhash8, the order of nodes array just as insertion order.

I am trying a fancy idea.
I noticed a fact that, the keys of some hashmap is already known. For example, int has __add__, __sub__, etc. Its keys won't change. A function locals, the keys are predefined in the symbol table. (unless one call setattr or exec to dynamically add key)
So I made a simple hashmap with some special things.

calulate the initial capacity with predefined keys, so the hashmap won't do expensive rehash.
use find_perfect_hash_seed to get a hash seed (get into hash function) that with no/few collision.
Dynamic load_factor, for type/module object, small load factor is used since they are not frequently new/delete. For normal objects, use standard load factor to save memory.

https://github.com/renzibei/fph-table, just tiny faster than flat hash.
https://martin.ankerl.com/2022/08/27/hashmap-bench-01/#benchmark-results-table
**A very interesting new contender: This hashmap implementation uses a perfect hash, thus it doesn’t have any collisions. This should make it extremely fast for lookups, but with a potentially high overhead for insert/removal.
The Good
Find is extremely fast, regardless of the hash. In fact, std::hash or boost::hash is best here even with their bad hash quality.
The Bad
Insert and erase and copying the map is very very slow, the slowest in the benchmark. Memory usage is very high. I’d say this map is good for stable data that is never modified, and when you can afford the high memory usage.
About
Website: https://github.com/renzibei/fph-table/tree/noseed, Tested version: 1a613aba (noseed), License: none specified**

That makes sense. It still require some time to find perfect mapping algo.
I also changed the layout of <KeyT, valueT>. Normally we use std::pair or struct to store them.
While I use this.
[key0, key1, key2, ...] [val0, val1, val2, ...]

https://github.com/blueloveTH/pocketpy/blob/main/src/namedict.h#L19
So I can use memset to reset keys/values/both, instead of calling destructor.

I also want to do these special optimizations.

embed ref counting into the hashmap so we don't need to use shared_ptr wrapper, hence reduce one heap allocation.
use uint16_t instead of uint32_t.


Build error using --prod in latest Ionic 2.2 and latest Angular 2.4.x

Short description of the problem:
ionic build --prod fails with this error:
[11:39:29]  build prod failed: Error encountered resolving symbol values statically. Calling function
            'NoOpAnimationDriver', function calls are not supported. Consider replacing the function or lambda with a
            reference to an exported function, resolving symbol AnimationDriver.NOOP in
<EMAIL_ADDRESS>            resolving symbol BrowserTestingModule in
<EMAIL_ADDRESS>resolving
            symbol BrowserTestingModule in
<EMAIL_ADDRESS>[11:39:29]  ionic-app-script task: "build"
[11:39:29]  Error: Error encountered resolving symbol values statically. Calling function 'NoOpAnimationDriver',
            function calls are not supported. Consider replacing the function or lambda with a reference to an exported
            function, resolving symbol AnimationDriver.NOOP in
<EMAIL_ADDRESS>            resolving symbol BrowserTestingModule in
<EMAIL_ADDRESS>resolving
            symbol BrowserTestingModule in
<EMAIL_ADDRESS>Error: Error encountered resolving symbol values statically. Calling function 'NoOpAnimationDriver', function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol AnimationDriver.NOOP in<EMAIL_ADDRESS>resolving symbol BrowserTestingModule in<EMAIL_ADDRESS>resolving symbol BrowserTestingModule in<EMAIL_ADDRESS>    at SyntaxError.BaseError [as constructor] (C:\dev\mckissock\mckissock-mobile\node_modules\@angular\compiler\bundles\compiler.umd.js:1597:31)
    at new SyntaxError (C:\dev\mckissock\mckissock-mobile\node_modules\@angular\compiler\bundles\compiler.umd.js:1795:20)
    at simplifyInContext (C:\dev\mckissock\mckissock-mobile\node_modules\@angular\compiler\bundles\compiler.umd.js:25783:27)
    at StaticReflector.simplify (C:\dev\mckissock\mckissock-mobile\node_modules\@angular\compiler\bundles\compiler.umd.js:25795:17)
    at StaticReflector.annotations (C:\dev\mckissock\mckissock-mobile\node_modules\@angular\compiler\bundles\compiler.umd.js:25291:64)
    at NgModuleResolver.resolve (C:\dev\mckissock\mckissock-mobile\node_modules\@angular\compiler\bundles\compiler.umd.js:17771:86)
    at CompileMetadataResolver.getNgModuleMetadata (C:\dev\mckissock\mckissock-mobile\node_modules\@angular\compiler\bundles\compiler.umd.js:18272:64)
    at CompileMetadataResolver.getNgModuleSummary (C:\dev\mckissock\mckissock-mobile\node_modules\@angular\compiler\bundles\compiler.umd.js:18228:56)
    at C:\dev\mckissock\mckissock-mobile\node_modules\@angular\compiler\bundles\compiler.umd.js:18318:72
    at Array.forEach (native)

Steps to reproduce:

$ ionic build browser --prod

Which @ionic/app-scripts version are you using?
1.1.4
Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)
Package.json fragments:
  "scripts": {
    "ionic:build": "ionic-app-scripts build && gulp default --gulpfile build_gulpfile.js",
    "ionic:serve": "ionic-app-scripts serve --sourceMap source-map --iscordovaserve --wwwDir platforms/browser/www/ --buildDir platforms/browser/www/build",
    "build": "ionic-app-scripts build && gulp default --gulpfile build_gulpfile.js",
    "build-prod-browser": "ionic-app-scripts build browser --prod --release && gulp browser --gulpfile build_gulpfile.js",
    "build-dev-browser": "ionic-app-scripts build browser --sourceMap source-map --dev && gulp browser --gulpfile build_gulpfile.js",
    "watch": "ionic-app-scripts watch --sourceMap source-map",
    "emulate:before": "build",
    "deploy:before": "build",
    "build:before": "build",
    "run:before": "build"
  },
  "dependencies": {
    "@angular/common": "2.4.8",
    "@angular/compiler": "2.4.8",
    "@angular/compiler-cli": "2.4.8",
    "@angular/core": "2.4.8",
    "@angular/forms": "2.4.8",
    "@angular/http": "2.4.8",
    "@angular/platform-browser": "2.4.8",
    "@angular/platform-browser-dynamic": "2.4.8",
    "@angular/platform-server": "2.4.8",
    "@ionic/storage": "2.0.0",
    "ionic-angular": "2.2.0",
    "ionic-native": "2.4.1",
    "ionicons": "3.0.0",
    "rxjs": "5.0.1",
    "sw-toolbox": "3.4.0",
    "zone.js": "0.7.2",
    "del": "2.2.2",
    "gulp": "3.9.1",
    "gulp-cli": "1.2.2",
    "run-sequence": "1.2.2",
    "angular2-cookie": "1.2.6"
  },
  "devDependencies": {
    "@ionic/app-scripts": "1.1.4",
    "@types/jasmine": "2.5.43",
    "@types/node": "7.0.6",
    "codecov": "1.0.1",
    "jasmine-core": "2.5.2",
    "jasmine-spec-reporter": "3.2.0",
    "karma": "1.5.0",
    "karma-chrome-launcher": "2.0.0",
    "karma-jasmine": "1.1.0",
    "karma-mocha-reporter": "2.2.2",
    "karma-remap-istanbul": "0.6.0",
    "ts-node": "2.1.0",
    "tslint": "4.5.1",
    "tslint-eslint-rules": "3.4.0",
    "typescript": "2.2.1"
  },

I found this: http://stackoverflow.com/questions/41815946/angular2-cli-build-prod-error-calling-function-noopanimationdriver-function
I tried using --aot false and it did not resolve the issue.

ngc should not see any of your testing files or you will run into major trouble, of which this is part. Exclude them aggressively in tsconfig.json.

My tsconfig.json is the same as the ionic-conference-app.

@morrisonbrett Do you have any test files? The conference app does not, so it would not account for them in its tsconfig.json. Our project does have test files, and excluding everything testing-related via tsconfig.json solved this issue for us.

We have had the same issue after upgrade to 2.2.0 with immutable-js structures. For now we have to stay at 2.1.0. In angular 4.0.0-beta.6 it should be fixed (latest is 4.0.0-rc.2).
Maybe as temporary solution would be great, if we were able to use --aot false flag in ionic.

We have had the same issue after upgrade to 2.2.0 with immutable-js structures.

Are you positive it's the same issue? ngc should never see BrowserTestingModule unless there is some file visible in tsconfig.json that references testing stuff.

I have ended up with excluding the testing modules but now I have problems with:
build prod failed: Error encountered resolving symbol values statically. Could not resolve type Window              (position 11:22 in the original .ts file), resolving symbol HttpInterceptor in
Any solution/suggestion? Thanks in advance

@rapropos We are using redux, so whole application state and models are build on immutable-js, not just tests. Error message:
Error encountered resolving symbol values statically. Symbol reference expected
points to line, where immutable Record is used.

@kesozjura You're going to have to take that up with whoever's responsible for that code. It's not the same as this issue, which is caused by ngc seeing tests and therefore trying to process BrowserTestingModule, which ends badly.

@JustinPierce Thanks.  That was it.  Here's my updated exclude section, adding test.ts to the exclusion list.  Thanks!
  "exclude": [
    "node_modules",
    "src/test.ts"
  ],

Hello all! Thanks for opening an issue with us! As this seems like more of a support question i will urge that you ask this question on our forum or on our slack channel. Thanks for using Ionic!


gronning APIs where an authentication token is needed

Dear Tom,
Many thanks for this very useful package which I already sent to people around as am sure they will find it extremely useful.
Would there be any way of trying this for APIs where authentication is needed? I tried for example and I get this message:
json = {};
json.detail = "Authentication credentials were not provided.";
Best wishes,
Dimitris

Hi @dpolychr! Thanks for raising an issue :)
The HTTP client built into gron is very basic and doesn't really support those kinds of use-cases.
Where you need to make more complex requests I recommend you use a tool like curl to make the request, and pipe the output to gron.
For example:
▶ curl -s https://httpbin.org/anything -H'Authorization: Bearer 123qksdrfkj' | gron | grep headers
json.headers = {};
json.headers.Accept = "*/*";
json.headers.Authorization = "Bearer 123qksdrfkj";
json.headers.Connection = "close";
json.headers.Host = "httpbin.org";
json.headers["User-Agent"] = "curl/7.47.0";

One thing that can be particularly useful in cases such as these is Chrome's copy as curl option in the DevTools.
Let me know if you have any issues with this approach and I'll try my best to help

@dpolychr were you able to solve your issue using curl? :)

yeah @tomnomnom, many many thanks :-)
Best wishes,
Dimitris

Interesting

Interesting

Great


nginx access log parse returns %h specifier error

Hi there, I have posted on stackoverflow here:  https://stackoverflow.com/questions/52602669/goaccess-nginx-returns-specifier-h-error
I even manually deleted the - - - at the beginning of the access log and %h in the log format line  but it still returns the same error.  I am on a Macbook Pro High Sierra (not mine).

Please attach a text file here containing the original lines (unaltered) from your access log.

Closing this.

I'm sorry but I left my job.
On Mon, Oct 15, 2018 at 11:01 PM Gerardo O<EMAIL_ADDRESS>wrote:

Closing this.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/allinurl/goaccess/issues/1250#issuecomment-429863828,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AYBcqT8EdK_LHZnw60Oilz6uf8i6lAOPks5ulJUqgaJpZM4XDjxm
.

--
Nobutaka Kim
Tel：818059856067
Line:Hockeymonkey96


Adds three trivial methods and a solution status case.

Thank you for your contribution!

@mattmilten I am a bit confused. Here @yozw  added the function getNLPIterations and we had lpiGetNLPIterations. Is there any difference between them? Of course, in SCIP one uses lpiGetNLPIterations to get the iterations of an arbitrary lpi, but in our python implementation, we get SCIP's lpi. So, should we remove this function from the class Model?

There actually is a diference: our old method returns the current LP's iterations while the new one returns the total number of iterations so far.


Fix blew aggregate has no grouping column bug

sql:
mysql> select max(v1) from (select v1 from t0 union select v1 from t0) as xx;
mysql> UNKNOW ERROR

reason is below aggregate group map is empty, will throw NPE on line 89

run starrocks_fe_unittest

run starrocks_clang

run starrocks_clang-format


Reverse

When I add the "reverse: true" option to my mask, I get "object doesn't support property or method 'parseFloat'"...hum.  Haven't looked at the code yet.  Any thoughts?

Cracked open the code, It does not like the "Number.parseFloat" in the method "maskValueReverse" (at least in IE 11).  I removed the Number. and it worked fine.  I have never contributed on github, so not sure if this is something I should commit.

It really looks like the reverse true flag is causing issues. When I enable it on FF/Chrome it formats the number as 1.undefined


Handle crashed redis gracefully (#17)

Fixes #17. Middleware won't crash app when redis is crashed/unavailable. Now it emits errors and simulates a cache miss.
Readme updates
Example code

Thanks @rv-kip :)
PS: I add you as a contributor in package.json

I am not yet pushing to npm repository because I still have 1 test failing when I run npm test. I'll let you know when it all works

@co2-git, if the test that is failing is the one I added, I bet it's the timeout value on the test for expiration. Try 5000 (5 sec).
this.timeout(2500); // allow more time for this test


fix(paymaster-proxy): fix uncaught error handling

#350  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @jakim929 and the rest of your teammates on  Graphite


Fix runtime tags in 2.0.0 branch

Description
This is to fix the runtime tag in the 2.0.0 branch.
The base branch to merge this change into is the 2.0.0 branch.
Related issue and scope

[ ] I opened an issue to propose and discuss this change (#????)

My changes affect the following components

[ ] API
[ ] Controller
[ ] Message Bus (e.g., Kafka)
[ ] Loadbalancer
[ ] Scheduler
[ ] Invoker
[ ] Intrinsic actions (e.g., sequences, conductors)
[ ] Data stores (e.g., CouchDB)
[ ] Tests
[ ] Deployment
[ ] CLI
[ ] General tooling
[ ] Documentation

Types of changes

[ ] Bug fix (generally a non-breaking change which closes an issue).
[x] Enhancement or new feature (adds new functionality).
[ ] Breaking change (a bug fix or enhancement which changes existing behavior).

Checklist:

[x] I signed an Apache CLA.
[x] I reviewed the style guides and followed the recommendations (Travis CI will check :).
[ ] I added tests to cover my changes.
[ ] My changes require further changes to the documentation.
[ ] I updated the documentation where necessary.

hm.. the CI tests do not run for this branch.

You might have to rebase 2.0.0 and/or the PR branch on main to cause it to "see" the change to the workflow files.

I cherry-picked #5474 into the 2.0.0 branch.  Tests running now.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 62.83%. Comparing base (5d0ce63) to head (2735fed).
 Consider uploading reports for the commit e6ed25d to get more accurate results

Additional details and impacted files
@@             Coverage Diff             @@
##            2.0.0    #5473       +/-   ##
===========================================
- Coverage   78.21%   62.83%   -15.38%
===========================================
  Files         241      234        -7
  Lines       14650    14386      -264
  Branches      644      640        -4
===========================================
- Hits        11458     9039     -2419
- Misses       3192     5347     +2155

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

@dgrove-oss
Thank you!

It seems the CI tests require images with the 2.0.0 tag.
TASK [apigateway : (re)start apigateway] ***************************************
Friday 22 March 2024  01:16:18 +0000 (0:00:00.904)       0:00:06.533 **********
fatal: [<IP_ADDRESS>]: FAILED! => {"changed": false, "msg": "Error pulling image openwhisk/apigateway:2.0.0 - 404 Client Error: Not Found (\"manifest for openwhisk/apigateway:2.0.0 not found: manifest unknown: manifest unknown\")"}

I would trigger this job: https://ci-builds.apache.org/job/OpenWhisk/job/OpenWhisk-DockerHub-ReleaseBranch/

It's now ready to merge.


Missing instructions on how to use

Hi,
The README states Find below instructions for using the MAF RDK with JDeveloper. but there aren't instructions after that.

Hi Bruno,
Thank you for the note. I have updated README.md section 'Instructions for using the RDK' to point to the included Technical eBook, which has an entire section on running the sample application.
Regards,

Thanks