Right sidebar

Thanks. I'd been waiting for something like this for a long time.
You say that it opens the right side bar "unless" it has a ribbon. Do you mean "if"?
I'm trying to work out why it doesn't work on the right sidebar.

I made a prototype that allows opening right sidebar on hover close to edge (no ribbon) .
you can try it locally with BRAT plugin: https://github.com/clairefro/obsidian-open-sidebar-on-hover-plus
waiting to see whether the maintainer of this repo is continuing with their project


cli: make .nmstate-persist.stamp contain JSON

This JSON object maps MAC addresses to interface names for the interfaces that were pinned. This will be read by the MCO to easily know the list of interface names involved and do some additional steps necessary in some cases.

I ended up just parsing the link files since it cleaned up other things too so I think we can drop this.


Parametrize the stream where the progress bar display goes

Hi, it would be nice if one could set the stream that is used for displaying the progress bar. std::cout can't always be used. For example, in applications whose stdout is then piped into something else it would be desirable to use std::cerr for progress bars. In my case, Rcpp modules expect printing to be done through a special Rcpp::Rcout object, as opposed to std::cout.
Thank you!

This is already supported. Example.
You can pass a stream option to the constructor.

Hi, I came across this lib and would like to try it. However, I am currently writing the progress bar info using spdlog logging facilities, I was wondering if this lib supports setting custom handlers other than the mandatory "stream" option.
Something like this would be great:
  auto logger = spdlog::default_logger;

  ProgressBar bar{
      option::BarWidth{50},
      option::Start{"["},
      option::Fill{"="},
      option::Lead{">"},
      option::Remainder{" "},
      option::End{"]"},
      option::PostfixText{"Getting started"},
      option::ForegroundColor{indicators::Color::green},
      option::FontStyles{std::vector<indicators::FontStyle>{indicators::FontStyle::bold}},
      option::Handler{[&logger] (auto&&  pbar_str) {logger.info("{}", pbar_str;)}};

where pbar_str would be the rendered pbar content that get sent to the stream normally.


Error when getting the submodules (on MacOS)

Following https://github.com/godot-extended-libraries/godot-tensorflow-workspace/issues/3#issue-548250651 for #2 I get
git submodule update --init --recursive
Submodule 'godot-tensorflow-demo' (https://github.com/godot-extended-libraries/godot-tensorflow-demo.git) registered for path 'godot-tensorflow-demo'
Submodule 'src/godot' (https://github.com/godot-extended-libraries/godot-tensorflow-godot.git) registered for path 'src/godot'
Cloning into '/Users/clemens/Sites/Godot/compile/godot-tensorflow-workspace/godot-tensorflow-demo'...
Cloning into '/Users/clemens/Sites/Godot/compile/godot-tensorflow-workspace/src/godot'...
Submodule path 'godot-tensorflow-demo': checked out '54bb8f09a57c490c69e9484f783dce2b528a0847'
Submodule path 'src/godot': checked out 'd4d5e4025f297dd7430b59a31a596bc3e3ee2823'
Submodule 'modules/tensorflow' (https://github.com/godot-extended-libraries/godot-tensorflow.git) registered for path 'src/godot/modules/tensorflow'
Submodule 'thirdparty/tensorflow' (https://github.com/godot-extended-libraries/tensorflow.git) registered for path 'src/godot/thirdparty/tensorflow'
Cloning into '/Users/clemens/Sites/Godot/compile/godot-tensorflow-workspace/src/godot/modules/tensorflow'...
Cloning into '/Users/clemens/Sites/Godot/compile/godot-tensorflow-workspace/src/godot/thirdparty/tensorflow'...
Submodule path 'src/godot/modules/tensorflow': checked out 'aab52b044dcf954a5474e59825c4c561e695d8b1'
error: unable to create symlink tensorflow/lite/tools/make/downloads/flatbuffers/docs/source/CONTRIBUTING.md: File name too long
Unable to checkout '0ebd265baa4b140aabfef389b764fc07a6578843' in submodule path 'src/godot/thirdparty/tensorflow'
Failed to recurse into submodule path 'src/godot'

Found https://apple.stackexchange.com/questions/86611/does-os-x-enforce-a-maximum-filename-length-or-character-restriction. What git client are you using?

I had 2.20.1 and upgraded to 2.24.1
compiling works better now but takes some time.

Somehow I managed to compile and run your dist of Godot :-)

This still isn't fixed. iirc I git cloned the tensorflow repo in /tmp then moved it into godot dir.

Tersting with an USB FAT32 failed too. See both https://github.com/godot-extended-libraries/godot-tensorflow-workspace/issues/4#issuecomment-573351174 and https://github.com/godot-extended-libraries/godot-tensorflow-workspace/issues/4#issuecomment-573355386

Commit
https://github.com/godot-extended-libraries/tensorflow/commit/993a06ad33a07eee72789ee07a42c2cd98b7ed3a added the files.
and make download_dependencies.sh execute https://github.com/godot-extended-libraries/tensorflow/commit/3cb38f5663e740aefa6562cc702bfb26dc3e96d6
I just did ... download_dependencies.sh runs
  601  git clone git@github.com:tensorflow/tensorflow.git
  602  tensorflow/tensorflow/lite/tools/make/download_dependencies.sh

so we probably can make this work by instructing (not working on windows I guess)
git clone --recursive git@github.com:godot-extended-libraries/godot-tensorflow-workspace.git
cd godot-tensorflow-workspace
src/godot/thirdparty/tensorflow/tensorflow/lite/tools/make/download_dependencies.sh

Testing for https://github.com/godotengine/godot-docs/pull/3055 the compile included tensorflow
I can run
src/godot/bin/godot.osx.tools.64 --editor
src/godot/bin/godot.osx.tools.64 --editor --path ./godot-tensorflow-demo/

So for some weird reasons (to much balls in the air / user error ?) the demo runs.


Add option to ignore availability in google calendar events

Description:
This implements the transparency feature for google calendars. If for example an all-day event is present but it is set to 'free' HA now skips those events and shows the next. This can be turned on/off per calendar.
ignore_availablilty is optional and defaults to false. It enables/disables whether to respect/ignore the transparency tag which can be opaque (busy) or transparent (free).
Related issue (if applicable): fixes #6076 (only partial)
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#5101
Example entry for configuration.yaml (if applicable):
- cal_id<EMAIL_ADDRESS>  entities:
  - device_id: calendar
    name: Calendar
    track: true
    ignore_availablilty: true

Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass

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

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

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

[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

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

Yeah, I just fixed that. Should be working fine now.


Problem: large chunk of code in docs is not nice

Right now in https://github.com/ethereumproject/sputnikvm/wiki/VM-Integrator we have a large chunk of code file. The problem with this is that it's not directly runable, and the rendering looks bad.
I suggest we use Rust's cargo examples feature to handle those code.

Moved to https://github.com/ethereumproject/sputnikvm/wiki/Documentation-Process due to #175.


Iterate over #420

Why remove the archive installation instructions?

Hi. I can appreciate that you're trying to simplify here but I disagree with this change and > feel it represents a negative departure from the current instructions.
If people use Git to clone the repo locally, they can then use git pull to update the repo from upstream as changes happen.
With your method, you've stripped that capability away which I see as a dis-service to new users.
-- comment by @feoh

see #420
Basically there's no real advantage in having the archive installation instruction and, at least to me, is not very useful, even for a new users.

Hi, thanks for your contribution but we'd need detailed instructions on how to use git clone to clone the repository.
If you're not comfortable with that please go ahead and close this and I'll take a swing at it :)

Pardon. Didn't mean to close there :)

Hi, thanks for your contribution but we'd need detailed instructions on how to use git clone to clone the repository.
If you're not comfortable with that please go ahead and close this and I'll take a swing at it :)

There are already in the README, aren't they enough?
```sh
git clone https://github.com/nvim-lua/kickstart.nvim.git ~/.config/nvim
# OR
gh repo clone nvim-lua/kickstart.nvim
```


Custom presets

How can we add custom presets from the docker command line?

You mean how to create a custom preset or how to install an existing custom preset?

How to add an existing preset generated with the GUI outside of Docker.


on the web UI overview module ，Errors in filling out rules

Please answer these questions before submitting your issue.

Why do you submit this issue?
[ ] Bug

Bug

Which version of SkyWalking, OS and JRE?
6.0GA,CentOs7,jdk1.8

What happen?

as you can see ,The number two can be specified only 1xxxxx, and  number2 can be less than 1 ？

@TinyAllen could you check this?

@wu-sheng It has this phenomenon ,I will try to fix it these day.

Good to know, thanks.

fixed https://github.com/apache/incubator-skywalking-ui/pull/235


Explore page

I have had a problem with migration, PR it as a draft
Solve #10 and #11

Great work!
However I think there should be more meaningful variable names before merging. The names should be more descriptive and helpful to understand what's going on :)
Also, maybe rebase the commits?

@alonweissfeld I fixed all the required changes.
This PR  is still a work in progress and currently a draft, I will rebase the commits later ;)


feat(scheduler): add csv support for get_file_metadata grpc method

Which issue does this PR close?
Closes #.
I was exploring the code and came across the TODO about the csv file format support. So decided to address it.
Rationale for this change
The functionality extension.
What changes are included in this PR?

add csv / tlb file format support
fix minor typos

Are there any user-facing changes?
No

@andygrove
Could you please take a look at this change when you have  time?
Provided that there were no open ticket (but only todo in the code) I understand that maybe this change is of no use.

@andygrove just a ping in case this notification is lost.
Could you please take a look?

Thank you for the feedback @Dandandan
I'll resolve the conflicts and address your comments in the next couple of days!

@Dandandan @etolbakov  get_file_metadata has been removed from latest code (#/1110). it was not clear what it was used for, no documentation nor any of the internal ballista code was using it.
can you please elaborate what was the point of it ?

@milenkovicm @Dandandan
sorry for the confusion, as per description I was exploring the code and came across the TODO about the csv file format support. So decided to address it.
If it doesn't seem to be useful enough or creates more hassle we can close the ticket.
I'm happy to look into something else.

As project was not actively maintained and lot of work accumulated we decide to change project's scope and remove code so maintainers have smaller code base to maintain ( some details in #1067 ). This specific functionality has been removed as there is no clear benefit of keeping it.
Currently, there is active work ongoing towards #974
@etolbakov if you wish to contribute please join discord channel, there are ongoing discussions on tasks and priority


vesktop: 0.4.4 -> 1.5.0

Description of changes
Release 1.5.0 Changelog

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

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

1 package built:

vesktop

vesktop 1.5.0 is a breaking change (hence the new versioning scheme) and this package does not work as is. these no longer work:
https://github.com/NixOS/nixpkgs/blob/2a2273f1e30c9ff1a40f932da79c2d60b860c359/pkgs/by-name/ve/vesktop/package.nix#L125-L144
https://github.com/NixOS/nixpkgs/blob/2a2273f1e30c9ff1a40f932da79c2d60b860c359/pkgs/by-name/ve/vesktop/package.nix#L146-L157
https://github.com/NixOS/nixpkgs/blob/2a2273f1e30c9ff1a40f932da79c2d60b860c359/pkgs/by-name/ve/vesktop/package.nix#L169
the VencordDesktop name was fully dropped this version so it should just be changed to Vesktop

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

1 package built:

vesktop

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

1 package built:

vesktop


Start wiring up buttons to use real assets in the navbar.

r? @bgrins

Migrated to #51 due to repo changes

There's no problem doing CSS transitions as inlined styles. Hover states are a bit trickier, but manageable with mixins. As discussed yesterday, a hybrid approach will do.


Add Common product

To enable using the contents of Common individually it needs to be exposed as a product

cc @mercedesbunz @e-kononenko
Sorry, I got to this too late it seems 🫤
I don't think it was not working. Previously we had decided that Common would not be needed alone by external consumers of the SDK.
So, to prevent them from needing to do
import Common
import Player

We were exposing Common implicitly with every module by doing this
in PlayerExports.swift
@_exported import Common

Allowing them to just do
import Player

Has anything changed recently that causes external consumers of the SDK to only need to import Common?


Default host

I want  to be able to use /usr/local/lib/monitoring/plugins/check_pgactivity -s $service without any connection parameters - and it should initiate psql without connection parameters.
The default behaviour for psql is to connect through the unix socket file, found at the compile-time configured default socket directory (/tmp in the official postgres release, but /var/run/postgres under most distributions) and then connect as the logged-in-user (I'll add an nrpe user with superuser privileges, alternatively just do sudo -u postgres).
Two things:

It's required to add either at least one connection parameter.  This is just an aesthetic issue, I just don't want to pass a "dummy" connection parameter.

The default host is "localhost".  This causes a TCP connection, and the user is no longer authenticated by the OS, so one is asked for a password:
$ sudo -u postgres psql -h localhost
Password:
psql: fe_sendauth: no password supplied

Possibly this could be solved by running up an ident server, but I don't want to go that route.
I could add '--host /tmp' or '--host /var/run/postgres', but I don't like to do such hard-coding as it may be distro-specific where the socket file is located.
I could add some config service file on the host with a password ... but I don't want to complicate the setup.
Last, -h "" seems to work, but it does give some warnings so perhaps best to avoid it:
$ sudo -u postgres /usr/local/lib/monitoring/plugins/check_pgactivity -h '' -s autovacuum
Use of uninitialized value in sprintf at /usr/local/lib/monitoring/plugins/check_pgactivity line 879.
POSTGRES_AUTOVACUUM OK: Number of autovacuum: 0 | ANALYZE=0 VACUUM=0 VACUUM_FREEZE=0 VACUUM_ANALYZE=0 oldest_autovacuum=NaNs max_workers=3

I'm considering writing up a pull request on this one.

@tobixen you can use -h /var/run/postgresql without other user and password params.

@tobixen you can use -h /var/run/postgresql without other user and password params.

Ref the research I did in march 2017, even though /var/run/postgresql is the correct answer in most distributions, the default directory in the official postgresql release is (or, was at that time) /tmp.
I don't want to hard code /var/run/postgresql into my manifests as it can be fragile.


"Cannot read Proerty '0' of undefined" After upgrade to 2.0.0

Hi, seem to be having issues after upgrading to 2.0.0. Our only dependencies are the intelli-espower-loader and power-assert, however this seems to have an issue that's only popped up in the last day or so. Possibly since the 2.0.0 release.
intelli-espower-loader: 1.0.1
power-assert: 1.4.2
app/node_modules/espower/lib/assertion-visitor.js:372
    var firstBody = body[0];
                        ^
TypeError: Cannot read property '0' of undefined
    at insertAfterUseStrictDirective (/home/s98430/Code/nova/nova-service-diagnostic/app/node_modules/espower/lib/assertion-visitor.js:372:25)
    at /home/s98430/Code/nova/nova-service-diagnostic/app/node_modules/espower/lib/assertion-visitor.js:222:9
    at /home/s98430/Code/nova/nova-service-diagnostic/app/node_modules/espower/lib/transformation.js:17:9
    at Array.forEach (native)

Thanks :smile:

@TomLingham Thank you for reporting!
I'll take a look ASAP.
Would you create a small reproduction case for this issue?
I want to know your code and environment.

Alright, so after further digging around I also discovered this error only happens if the directories.test field is set to an existing folder in package.json. Here is a sample project that you should be able to just pull down and run npm test on. If you remove the test key in the package.json the error no longer happens.
https://github.com/TomLingham/espower-sample
I don't even know if this is a problem with your package but the error shows up in espower :confused:

So, apparently that needs to be there for instrumentation... Hmm...

Alright, inline functions seem to be causing the problem, assuming that the instrumentation is looking for the body of a function (but there is none) which is why it is having the problem.

@TomLingham Ah, inline functions!
Your repro case helps me a lot. Thanks!!
I have to deal with ArrowFunctionExpressions that have CallExpression as its immediate child.

Just released espower 2.0.1 to fix this issue.
Thank you for your reporting!

Thank you! It works great! :)
On Wed., 16 Nov. 2016, 7:05 pm Takuto Wada<EMAIL_ADDRESS>wrote:
Just released espower 2.0.1
https://github.com/power-assert-js/espower/blob/master/CHANGELOG.md#201-2016-11-16
to fix this issue.
Thank you for your reporting!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/power-assert-js/espower/issues/33#issuecomment-260879897,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AD98mQ6FTBKmdr4q6jDOg0N5JNoQz9VYks5q-rkugaJpZM4KyPej
.

@TomLingham Glad to hear that 😃


Updating README to remove pre Knative instructions

see https://github.com/projectriff-samples/node-square/pull/4


[v3] errors with setting header row through addSheet/Worksheet and setHeaderRow

i came across two bugs when working with the new methods. they are distinct errors but debugging one led to the other so both are described here.
Issues

addSheet breaks when provided props.headerValues as described in google-spreadsheet docs
setHeaderRow break due to a range syntax issue

related thought: should the GoogleSpreadsheetWorksheet basic properties in the v3 docs include headerValues?

internally the class doesnt initialize this property unless used (directly or indirectly)
maybe it should be initialized as null and have a proper getter (and the throw error setter like other props).

addSheet

the v3 docs says to use props.headerValues
only props.headers are omitted in addSheet which causes the following error

applies to both addSheet and addWorksheet as the latter is just a wrapper

async addWorksheet(properties) { return this.addSheet(properties); } // alias to mimic old version

error

Google API error - [400] Invalid JSON payload received. Unknown name "headerValues" at 'requests[0].add_sheet.properties': Cannot find field.

cause

async addSheet(properties = {}) {
  const response = await this._makeSingleUpdateRequest('addSheet', {
    properties: _.omit(properties, 'headers'), // <--- fails to omit 'headerValues'
  });
...
  // allow it to work with `.headers` but `.headerValues` is the real prop
  if (properties.headers) { await newSheet.setHeaderRow(properties.headers); }
  if (properties.headerValues) { await newSheet.setHeaderRow(properties.headerValues); }
...

proposed solution

async addSheet(properties = {}) {
...
  // separate header[Value]s as they are not valid update props
  const { headers, headerValues, ...onlyUpdateProps } = properties;
  const response = await this._makeSingleUpdateRequest("addSheet", {
    properties: onlyUpdateProps,
  });
...
  // allow it to work with `.headers` but `.headerValues` is the real prop
  if (headers || headerValues) {
    await newSheet.setHeaderRow(headers || headerValues);
  }
...

setHeaderRow

breaks due to range issue
does not appear to be documented (clearly) in the official spreadsheets.update docs
docs state to use A1 ranges syntax. i came across this SO post which described the solution as replacing A1 with 1:1.
i dont know why this is or where it is documented by google

error

Google API error - [400] Requested writing within range ['SHEET NAME'!A1], but tried writing to column [B]

cause

const response = await this._spreadsheet.axios.request({
...
  url: `/values/${encodeURIComponent(this.a1SheetName)}!A1`, // <-- must be 1:1 for ROWS
...
  data: {
    range: `${this.a1SheetName}!A1`, // <-- must match URL value
...

solution thanks to GregMa from the SO post:
What I needed was for sRange to be 1:1 (the whole first row), not A1. Reading somewhere else in the google docs said that A1 represents the columns starting in A1 until the end (row if setMajorDimension("ROWS"), column if setMajorDimension("COLUMNS"). That seems to not be the case when it comes to rows. Changing A1 to 1:1 fixed the issue!

const response = await this._spreadsheet.axios.request({
...
  url: `/values/${encodeURIComponent(this.a1SheetName)}!1:1`,
...
  data: {
    range: `${this.a1SheetName}!1:1`,
...

i had to do some digging to figure out the setHeaderRow bug. because all the tests in the lib pass but my own usage didnt.
it turns out that if the worksheet title has a colon : in it it causes the error
in retrospect it makes sense because the range is defined by a string:
range: `${this.a1SheetName}!A1`

so if the title (sheet name) has a : in it it can become
range: `$sheet: name with colon!A1`

and somehow breaks the range. no idea why 1:1 fixed it...

this is obviously an edge case not even google considered (cant find any warning in their docs).
i tried with / and - and both worked

do you think its worth updating the docs to include a warning about the title?
or should we add a regex test to check the title and throw an error? it would be near impossible to figure this out otherwise

Thanks for doing this debugging and digging :)
I think there is likely a way to encode any colon in the title that would make it work as intended.
I'll take a look at this tomorrow and see if I can get it all working.
Thanks

fixed the header/headerValues stuff. It should really be a getter like the other props, but not a high priority...
Regarding the colon issue, I thought I'd be able to figure out a way to encode it, and I did a lot of digging. Turns out it is a bug on google's side that only affects some api calls and not others. I left an issue here: https://issuetracker.google.com/issues/150373119
I also added an error in the module with a nice message to help.
My advice - avoid colons in sheet titles!


is it possible to convert models trained by earlier version to last version?

I have a few models that I am not that keen on retraining....
Thank you!

Hi @mosheliv
Yes, just create model by code and then use .load_weights('path/to/previous/model.h5')
model = EfficientnetB0()
model.load_weights('best_model.h5')


Add a manipulator CheckQuests

This is a routine work I do everyday, multiple times, but postponed to implement as I have much more fun things to do. Yes, this is not that fancy, but should be automated to reduce unnecessary overhead.

ed853d461f43d0e7ab25fd18b178e17ef5f2b1fc


Added CategoricalNB

With MinMaxScaler and quantile transformer

The pipeline must be scale then transform.
i.e MinMaxScaler then Quantile


Recommend relative imports within Django components.

django-developers thread:
https://groups.google.com/d/msg/django-developers/11XvmVdx58w/sFrF0pL8LTgJ

Looks good.


LinkedChart Fix + Fix dependencies

Description
In the template project the LinkedChart of svelte-tiny-linked-charts was undefined.

Add the pnpm dependencies
Move the LinkedChart to a svelte:component

Demo on Template

e.g.

TypeError: Cannot read properties of undefined (reading 'LinkedChart')
    at eval (/src/components/viz/BigValue.svelte:122:114)
    at Object.$$render (/@fs/Users/charles/DEV/github.com/evidence-dev/template/node_modules/svelte/internal/index.mjs:1876:22)
    at eval (/src/pages/+page.md:163:87)
    at Object.$$render (/@fs/Users/charles/DEV/github.com/evidence-dev/template/node_modules/svelte/internal/index.mjs:1876:22)
    at Object.default (root.svelte:48:41)
    at eval (/src/pages/+layout.svelte:155:56)
    at Object.$$render (/@fs/Users/charles/DEV/github.com/evidence-dev/template/node_modules/svelte/internal/index.mjs:1876:22)
    at root.svelte:42:39
    at $$render (/@fs/Users/charles/DEV/github.com/evidence-dev/template/node_modules/svelte/internal/index.mjs:1876:22)
    at Object.render (/@fs/Users/charles/DEV/github.com/evidence-dev/template/node_modules/svelte/internal/index.mjs:1884:26)

How I am testing on template
In the template > index.md replace the query orders_by_month by

select *,
  sales_usd0k / lag(sales_usd0k, -1) over (order by order_month desc) - 1 as sales_growth_pct1
  from (
select
  date_trunc('month', order_datetime) as order_month,
  count(*) as number_of_orders,
  sum(sales) as sales_usd0k,
  sum(sales)/count(*) as average_order_value_usd2
from orders

group by 1 order by 1 desc
  )

and replace the first BigValue by

<BigValue
  data={orders_by_month}
  value=sales_usd0k
  comparison=sales_growth_pct1
  sparkline="order_month"
/>

Checklist

[x] For UI or styling changes, I have added a screenshot or gif showing before & after
[x] I have added a changeset

I've tested in the monorepo and it works well!
Just tested in the template as well - it works, but there's a flash of an inline error on page refresh:

I'm also getting these errors in the browser console on page load - assume they're unrelated to this issue, but wanted to flag as I saw them:

Ok I looked into these errors I just posted and they're actually coming from a Chrome plugin - I turned all my plugins off and back on one-by-one to find the culprit and it turned out to be the Loom Chrome plugin. When I turn Loom off, these errors don't appear, so I think we are good on those!

Also not seeing the scrollbar anymore on show/hide queries!

I'm also getting fully reactive queries in the template now!

@Winterhart I'm trying to update our stackblitz demo to 15.0.1
https://stackblitz.com/edit/sveltejs-kit-template-default-yppqnv?file=package.json,pages%2Findex.md&terminal=dev
vite is throwing an error:
[vite] Error when evaluating SSR module /src/components/viz/BigValue.svelte: failed to import "svelte-tiny-linked-charts"

I'm wondering if this svelte-tiny-linked-charts library is worth the pain given how little we see the sparkline used. Perhaps we should just deprecate the feature.

I've added it in the above stackblitz example, but it didnt seem to help. peerDeps might help, we'll see.

It is already there: https://github.com/evidence-dev/evidence/blob/main/packages/evidence/package.json#L57 😅


Automatically write import lines

I'm not sure if this is already a feature or not. I'd like to be able to write a line of code which requires an imported symbol and have it suggest that I import that symbol.
For example, if I entered in the code:
public void onTabReselected(TabLayout.Tab tab) { }

Then it would ask me to import this:
import com.google.android.material.tabs.TabLayout;

Or at least indicate that the symbol is not located in the current imports and that it should be imported. Does that request make sense?

Hi @johncadengo - yes, your suggestion makes sense and would be a useful addition to the extension.
This sort of feature is normally implemented using CodeActions - at the moment, the Android extension doesn't support any CodeActions (you can see in langserver/server.js that we only implement CompletionItem and SignatureHelpers).
It would require the registration of a new CodeActionProvider which would need to:

Identify the unresolved symbol(s)
Locate the correct import for each symbol (or the list of possible imports that match the missing type)
Provide a code-insertion routine for adding the import statement.

I am unlikely to code this myself, but as with all new features, I'm happy to accept PRs from contributors.


Differentiate scanner output csv names

Adding cla: yes label, as the PR author is a googler at the time of this PR was created.


Add Release Drafter action

Current Situation
Each of the layer5 repositories needs releaseDrafter automation as had been done in the meshery project which takes care of drafting release notes.
Desired Situation
Add ReleaseDrafter configuration yaml file & GitHub Action.

Additional context
ReleaseDrafter Configuration File
ReleaseDrafter GitHub Action

Contributor Resources

See layer5 contributing instructions

Fixed in https://github.com/layer5io/nighthawk-go/commit/6c0c76c82fd340a711bbe201e22d0fcaef32a766


[WIP]adding codecov reports

Codecov Report

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

@@            Coverage Diff            @@
##             master     #259   +/-   ##
=========================================
  Coverage          ?   57.79%
=========================================
  Files             ?       22
  Lines             ?      879
  Branches          ?        0
=========================================
  Hits              ?      508
  Misses            ?      371
  Partials          ?        0

Continue to review full report at Codecov.

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


Allow for optionally passing options to #remove

The Docker::Container remove method in docker-api conditionally accepts a hash of options
Furthermore, removing a docker container, by default, will not remove the volumes unless you pass v: true as a parameter.
Without the ability to pass v: true we can end up with many dangling volumes that take up disk space.
This commit adds an optional hash argument to the DockerContainer #remove method, it defaults to an empty hash.
To assist with tests I've also added:

DockerContainer#mounts method which returns an array of the mount hashes from the container #info
DockerContainer#mount_names which returns an array of the mount names (ids)

Not changed but perhaps good to discuss: should remove also remove the volumes by default?

@HeyNonster hi! can you run rake standard:fix locally so the code style is fixed automatically to follow StandardRB?

@HeyNonster hi! can you run rake standard:fix locally so the code style is fixed automatically to follow StandardRB?

@guilleiguaran Done! :)

Seems to all be passing except for the timeout issue that's also present on the main branch! :)

@HeyNonster thanks!!! I'll fix the timeout issue later this week (or feel free to send a PR for it if you have some spare time :D)

@HeyNonster thanks!!! I'll fix the timeout issue later this week (or feel free to send a PR for it if you have some spare time :D)

@guilleiguaran You probably already saw this, but: https://github.com/testcontainers/testcontainers-ruby/pull/32 🙂


Install dockerplugin improvements better signposting floc 3130

https://clusterhq.atlassian.net/browse/FLOC-3130
This is a PR into the main docs PR, so that @davidoliverSP2 can review the changes I have proposed separately.
This branch adds a first-class menu item for installing FPD, and a introductory line. I also fixed some references to the old project name.

I'm not sure about adding a top level section about installing the plugin - it sits outside our current installation docs, and positions itself after the current Flocker configuration steps. I'd also rather avoid page duplication if possible.
I do think we can add an introduction to the plugin at the top level though, possibly in a "Using the Flocker plugin for Docker" content in FLOC 3129.
All other changes (adding the comment to the index page, and ensuring all references to the plugin are the full name) have been added to https://github.com/ClusterHQ/flocker/pull/1943
I think this branch can be closed


Fix type mismatch compile-time error on Android

This PR should close issue #114
Temporary solution until merge:
...
flutter_paystack:
    git:
      url: https://github.com/definitelyme/flutter_paystack.git
      ref: patch/1.0.5+2
...

Thanks for your contribution. This has already been fixed in 1.0.6


Use GetDomainName instead of GetDomainByID for retrieving domain names

What changed?
https://github.com/uber/cadence/issues/3883

Why?
https://github.com/uber/cadence/issues/3883

How did you test it?
Unit test.

Potential risks
No logic change in this diff so the risk is quite low

Coverage increased (+0.03%) to 61.496% when pulling 1571da35a744a54a8442e57e19aaf05252813474 on yycptt:get-domain-name into 5009940b4ba4927b62be942e02fdf1ba4b629020 on uber:master.

Coverage increased (+0.03%) to 61.496% when pulling 1571da35a744a54a8442e57e19aaf05252813474 on yycptt:get-domain-name into 5009940b4ba4927b62be942e02fdf1ba4b629020 on uber:master.


The function 'getlastabsSF' is not found

The function 'getlastabsSF' is not found, when running the file 'generateLTEDataset.m'.

Hi you're right my apologies I just added the function you should be able to run the code now thanks!

Thanks a lot!


Screens Manifest Generator Initial Commit

This is a manifest generator for Screens channel created through Franklin.
We can generate the resources in all the channels using helix indexing like https://main--franklin-ceasers--absarasw.hlx.page/franklin/screens/menus/manifests.json.
This package will take this as an input and generate the manfiests for all the channels in the format expected by the AEM Screens Player.

If this is a completely new project that we are creating, I would suggest including TypeScript in this repo. In long run this help in code maintainability

In the https://main--franklin-ceasers--absarasw.hlx.page/franklin/screens/menus/manifests.json I see stringified json structure, is this limitation of this manifest.json call?

Are we deferring unit tests for now?


Config JSX Fragments

Hai
How to config auto close jsx fragment tag (<></>)
for other tag already ok
Thanks

Hey folks if you're still having issues, I've begun maintaining a fork over @ https://github.com/PriceHiller/nvim-ts-autotag until windwp is active again.
Give it a shot and if it's still not working then open an issue over there and I'll investigate 🙂.
I'm not familiar with jsx/tsx, so if you have an example file you can point me at I can take a look and try to implement support on my fork (if it doesn't already work).


Commits from fbartho up to July 31, cherry-picked from the fbartho/tipsi-stripe#fb/upgrade-ios branch

We should add a .nvmrc containing:
lts/*


Problem with UE4

Description
Hi baldurk,
Thanks for the wonderful tool !
When I capture a frame for a .exe generated with UE4 . It failed.
RenderDoc can launch the exe and when I press F12 , RenderDoc give me a tips that
it captured at a centain number of frame! but when I shutdown the exe, it lost all the frames it just captured.
First,a tab "connecting " show for few seconds just beside the tap "Launch Application" and then
it closed. And everything get lost.
The RenderDoc is not the plugin for the UE4 but the native version!

Repro steps

Environment

UE4: Version: 4.20.2-4302132+++UE4+Release-4.20
RenderDoc build: e.g. v1.1,
Operating System: e.g. Windows 7
API: e.g. D3D11

I will need more information to debug this, there is presumably something more specific than just launching a UE4 application which breaks it.
When the application is running and the 'connecting' tab disappears, can you then go to File -> attach to running instance and attach there? If you do, do the captures show up as expected?
It sounds like maybe something is causing the connection to fail. Can you paste the output log from Help -> View Diagnostic log? It sounds like maybe there's a problem with multiple processes - does your program use child processes?

Closing this issue due to lack of information to be able to investigate. If you're able to provide more information feel free to comment here and I can open it up again.


Remove versioneer

Bump ucx-py version
Remove versioneer

Codecov Report

Merging #1244 (eed0766) into main (1552348) will increase coverage by 3.46%.
The diff coverage is 100.00%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@            Coverage Diff             @@
##             main    #1244      +/-   ##
==========================================
+ Coverage   81.58%   85.05%   +3.46%
==========================================
  Files          78       77       -1
  Lines        4611     4255     -356
  Branches      854      752     -102
==========================================
- Hits         3762     3619     -143
+ Misses        660      467     -193
+ Partials      189      169      -20

Files
Coverage Δ

dask_sql/__init__.py
100.00% <100.00%> (ø)

... and 5 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


[0.6.0 - Cubietruck] /etc/systemd/network/dns.network : Unknow value 'UseDomains' in section Network

What I have before running kube-config install when I want to set up manually my network (no dhcp in dmz)
/etc/systemd/network/dns.network : Unknow value 'UseDomains' in section Network

and in addition dns.network "conflicrs" with eth0.network for eth0 settings.
Putting everyhting in eth0.network works (with UseDomains commented so far)

Yeah, I'm wondering which way is the best to do this.
Now, I added a dns.network file which overrides the other .network files
dns.network uses eth0 and DHCP by default.
The purpose is to include this line in /etc/resolv.conf
search default.svc.cluster.local svc.cluster.local cluster.local

That's systemd's way of configuring this file.
Any suggestion to make this better?

On 2nd cubietruck, I'll try to setup dns.network instead of using eth0.network (which is more straight forward and what I expected).
I would do more in fact what I did, that is to say add what was in the dns.network into the eth0.network. Seems more in line with official doc of systemd. Otherwhise, it should be mentionned in this project documentation.

Ok, so on 2nd cubie:

Editing only dns.network to switch from DHCP to static adress works and override eth0.network
It still says that UseDomains is an unknown value in section network. but it does not prevent to set-up eth0.

... and so:
curl my-nginx.default.svc.cluster.local works but not curl my-nginx which is logical.

I've fixed the UseDomains issue and documented that one should edit dns.network.
Thanks. (PS. v0.6.2 is soon here)


r5 & r6 unit tests

r5 and r6 are a fragile topic, we'd need some unit tests testing extensively modulus, the new registers and some old stuff, especially extensive stack testing.

tl:dr; they're broken


expose consumer stats to prometheus instead of consumer internal stats

Motivation
In order to expose consumer stats, KOP create a consumer and update the stats metric to consumer object.
It's too expensive.
Modifications

expose consumer stats to prometheus instead of consumer internal stats

TODO

groupid still should store in zookeeper, it's hard to remove.

I'm afraid it's hard to reuse the current consumer stats design. There's a point that if we're going to remove OffsetAcker, the consumers should be created somewhere else.
Or should we just remove OffsetAcker#ackOffsets only? Currently the consumers of OffsetAcker are created in

GroupCoordinator#handleSyncGroup

OffsetAcker#addOffsetsTracker

OffsetAcker#getOrCreateConsumer

Then we'll still create client side consumers and broker side consumers.

Sorry I missed something. I found getGroupConsumers is removed, the there's no problem with this PR.

I found FETCH latency metrics doesn't exist
kop_server_REQUEST_LATENCY{success="false",quantile="0.99", request="Fetch"} NaN

Could you take a look?

I found FETCH latency metrics doesn't exist
kop_server_REQUEST_LATENCY{success="false",quantile="0.99", request="Fetch"} NaN

Could you take a look?

@BewareMyPower  I have address the problem, just due to metric update delay, PTAL.


update to fmt 5.2.1 - Unicode format not supported

https://github.com/Microsoft/vcpkg/issues/4384
/*
    Microsoft Visual Studio Community 2017
    Version 15.8.5

    Package: fmt
    Version: 5.2.0

    Error   C2664   'OutputIt fmt::v5::format_to<fmt::v5::wmemory_buffer,wchar_t[8]>(OutputIt,fmt::v5::string_view,const wchar_t (&)[8])': cannot convert argument 2 from 'const wchar_t [27]' to 'fmt::v5::string_view'
*/
if (1) {
    fmt::wmemory_buffer outw;
    format_to(outw, L"For the moment, {} builds.{}", L"nothing", '\0');
    wprintf(L"%s", outw.data());
}

Looks like this was actually picked up in our rolling upgrade system.
Thanks for the PR and sorry for the long merge delay!


Support for windows credential manager when username and password omitted

added wf_defaults.c (also in CMakeLists.txt) which provides the capability to read credential manager entries and set username and password in the rdpSettings accordingly
the same will be done if a gateway host is specified without credentials
the behavior will be similar to mstsc.exe on windows

To test the implementation, create a new "Generic Credential" in the Windows Credential Manager and use the following values:
Internet or network address: TERMSRV/[your RDP server name or IP]
User name: the username to log on to the RDP server
Password: the password to log on to the RDP server
Feature PR discussion:
https://matrix.to/#/!mnXPZoPpWIGqYeWkOf:matrix.org/$Is6wfkc_qDECcMvvUydVkIm21I6MxIBbkrZkJxL_Z1A?via=matrix.org&via=tchncs.de&via=windcorp.ru

@freerdp-bot test

Sounds promising.
General remark: AFAICT we don't use the JAVA code style like 0 != <expression>, we always use  <expression> != 0, would be nice to keep the style coherent

Thanks for your patience and all the comments. Learning a lot here. I'm not sure about the header file rules, so I did my best by looking at other files ;)

@akallabeth @hardening @mfleisz with a little help from a friend I was able to rewrite it to CredReadW. Please check if this is acceptable this way. Thanks again!

@freerdp-bot test

@StefanKoell did take some time, but now it is ready. Thank you for the hard work!

@freerdp-bot test

@freerdp-bot test

Learned a lot. Thanks for all the feedback and help. I will create another PR with the suggestion from @awakecoding to use the environment variable for the TERMSRV/ prefix. Let's see if my lessons learned will make this quicker ;)


Updated RestfulService to include PATCH

RestfulService now allows PATCH and also removed CURLOPT_POST

Will merge once tests pass.


Using union types to implement the Relay Global Object Identification Specification

First of all: Thanks for that great piece of software.
We're building a GraphQL Endpoint which will be used by several Clients to display & mutate data.
To make it as easy as it is possible we've decided to make the GraphQL Endpoint relay compatible.
The most parts of the relay spec were easy to implement. But as you might guess, there is one part we're currently stuck with: the Relay Global Object Identification Specification.
The Global Object Identification Specification defines that each "main"-type must be identifiable by an unique id. The unique identifier can be used to load data from a query with the following schema:
node(id: ID!): ...

Some relay clients are using Query.node to extend their local cache with additional fields from the GraphQL endpoint. This usually happens if some pieces are already known.
We're using the TypeGraphQL createUnionType function to generate the "NodeQueryResult" union. All included types are implementing an interface called "Node".
Lets head over to the extracted example implementation.
The Node interface looks like this:
import { InterfaceType, Field, ID } from "type-graphql";

@InterfaceType()
export abstract class Node {
  @Field(() => ID)
  id: string;
}

The "Node" interface is used by each "main" type:
import { ObjectType, Field } from "type-graphql";

@ObjectType({ implements: Node })
export class User implements Node {
  id: string;

  @Field()
  emailAddress: string;
}

import { ObjectType, Field } from "type-graphql";

@ObjectType({ implements: Node })
export class Account implements Node {
  id: string;

  @Field()
  name: string;
}

Both types are combined using createUnionType:
import { createUnionType } from "type-graphql";

const NodeQueryResult = createUnionType({
  name: "NodeQueryResult",
  types: [User, Account]
});

export { NodeQueryResult };

The resolver looks like this:
import { Resolver, Arg, ID, Query } from "type-graphql";
import { Inject } from "typedi";

@Resolver()
export class NodeResolver {
  @Query(() => NodeQueryResult, { nullable: true })
  async node(
    @Arg("id", () => ID) id: string
  ): Promise<null | typeof NodeQueryResult> {
    // ... load & return the data from our datastore

    // otherwise, return null
    return null;
  }
}

As described on top of the Relay Global Object Identification Specification page a node query looks like this:
{
  node(id: "...") {
    id
    ... on User {
      emailAddress
    }
  }
}

With TypeGraphQL we're facing the following error:

Cannot query field "id" on type "NodeQueryResult". Did you mean to use an inline fragment on ...

I was able to fix the issue by using @Query(() => Node) instead of @Query(() => NodeQueryResult). But I think, it would be a great improvement if the library extracts the underlying interfaces and exposes the fields in the union type directly.

But I think, it would be a great improvement if the library extracts the underlying interfaces and exposes the fields in the union type directly.

It would be great but do you know how to make it?
TypeGraphQL only wraps graphql-js so it get's the metadata from decorators and build the schema using graphql-js constructs. And the union type constructor has following config:
export interface GraphQLUnionTypeConfig<TSource, TContext> {
    name: string;
    types: Thunk<GraphQLObjectType[]>;
    resolveType?: Maybe<GraphQLTypeResolver<TSource, TContext>>;
    description?: Maybe<string>;
    astNode?: Maybe<UnionTypeDefinitionNode>;
    extensionASTNodes?: Maybe<ReadonlyArray<UnionTypeExtensionNode>>;
}

https://github.com/graphql/graphql-js/blob/d2e29e9bfceaec0b6f66d4336dafd6ade543840d/src/type/definition.js#L1115-L1127
So the runtime is responsible for parsing the query and finding the id field in types. I can't do nothing about that, extends or something.

I was able to fix the issue by using @Query(() => Node) instead of @Query(() => NodeQueryResult).

That's also the idiomatic GraphQL solution - if your query returns an interface, you can query its field and also all the implementing object types using the fragment syntax. Why don't you like that? 😕

Closing for a housekeeping purposes as there's no response after a week 🔒


Disable/enable lethal Mace traps

If death on contact enabled in config, then keep actual behavior .

if unchecked in config, make trap break both legs and not 1 shot .

After discussion with members of the unit, here is what I will do:

Mace trap will only kill 1 person maximum
other people in the killing radius will have broken legs/arms + might be unconscious due to weight falling on them.
Make this configurable so mission makers can decide how lethal those traps are (kill radius, amount of broken limbs, what type of limbs, toggle ON/OFF lethality of trap if they want the initial behavior)

First, BUGS will be addressed:

https://github.com/gerard-sog/arma3-macvsog-columbia-scripts/issues/173
https://github.com/gerard-sog/arma3-macvsog-columbia-scripts/issues/200

Done in https://github.com/gerard-sog/arma3-macvsog-columbia-scripts/pull/215


Incorrect Data in DLQ for HTTP Sink

For an HTTP sink scenario, assume that we configure the SOURCE_KAFKA_CONSUMER_CONFIG_MAX_POLL_RECORDS to 10. During a poll of 10 records, if the 3rd record results in a 4XX error, it will undergo a retry process. If the retry attempts are exhausted, all 10 records will be directed to the Dead Letter Queue (DLQ). Importantly, in such instances, the DLQ topic will contain not only the failed response data but also the data from the successful responses.
Expected Behavior
The DLQ topic should only have the source data for which the response was error.
Steps to Reproduce

Spin up a test HTTP endpoint designed to return a 4XX response for a specific input message.
Create a firehose job with the sink set to http and configure SINK_HTTP_RETRY_STATUS_CODE_RANGES to include the range 400-600.
Set the RETRY_MAX_ATTEMPTS to 2 for the firehose job.
Enable Dead Letter Queue (DLQ) and configure DLQ details:

DLQ_SINK_ENABLE set to true
DLQ_WRITER_TYPE set to KAFKA

Configure SOURCE_KAFKA_CONSUMER_CONFIG_MAX_POLL_RECORDS to the required range.
If the firehose receives a specific message resulting in a 4XX HTTP response, it will retry for the specified maximum attempts. After exhausting the retry attempts, examine the DLQ consumer.
Ideally, the DLQ should contain the source data for which the 4XX response was received after the retry. However, the DLQ is observed to have all records from the MAX_POLL_RECORDS value from the source topic.

Code Example
Looks like this error is happening due to the custom exception thrown in above scenario met here

Completed under https://github.com/goto/firehose/pull/34


Strip propTypes even when there might be side effects

When optimizeForSize is true remove the static Comp.propTypes manually
instead of relying on JSC to strip unused code sincw
React.propTypes.instanceOf etc looks like they have side effects to JSC
so they are left in the ouput.

TBR

LGTM


Make packet headers a specific interface.

This is a slightly more involved change than the first few I've sent. It changes a packet's Headers from interface{} to a new Header interface. Currently, this interface just as a HeaderType() (enumerated in decode.go) and a Bytes() slice, which returns the bytes detected to be part of the header.
This allows for a couple of nice things. First, it makes switching based on header type easy (switch pkt.HeaderType() {}). Also, it opens up the ability to do cursory parsing of certain header types without fully coding them. If, for example, there's a header X that doesn't affect the ending payload, we can decode and skip it without fully coding the decode() function. I'm planning to do this next with IPv6 extensions, basically a quick initial implementation that does nothing but pulls out Bytes() and HeaderType(), and leaves the rest of the decoding for a later time.

Any comments on things I could improve on this?


Fix warning when changing number of nodes to be plotted

Related to Issue #295

Codecov Report

Merging #297 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master     #297   +/-   ##
=======================================
  Coverage   80.23%   80.23%
=======================================
  Files          11       11
  Lines        3167     3167
=======================================
  Hits         2541     2541
  Misses        626      626

Impacted Files
Coverage Δ

ross/rotor_assembly.py
92.72% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Package.getActivationCommands is deprecated.

Use activationCommands instead of activationEvents in your package.json
Commands should be grouped by selector as follows:
  "activationCommands": {
    "atom-workspace": ["foo:bar", "foo:baz"],
    "atom-text-editor": ["foo:quux"]
  }

Package.getActivationCommands (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:790:9)
Package.hasActivationCommands (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:715:20)
<unknown> (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:169:24)
Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:147:15)

+1

Duplicate of #42. Will be resolved if #43 is merged.


DataFrame list of dicts example fails

Working through the tutorial labeled pandas 0.7.0.dev-1139a8d documentation, I was having a problem with the list of dicts example

In [1]: from pandas import *
In [2]: import numpy as np
In [14]: pandas.version
Out[14]: <module 'pandas.version' from '/Library/Frameworks/Python.framework/Versions/7.2/lib/python2.7/site-packages/pandas-0.6.1-py2.7-macosx-10.5-i386.egg/pandas/version.pyc'>
Prove that I have everything installed correctly
In [15]: data = np.zeros((2,),dtype=[('A', 'i4'),('B', 'f4'),('C', 'a10')])
In [16]: data[:] = [(1,2.,'Hello'),(2,3.,"World")]
In [17]: DataFrame(data)
Out[17]:
A  B  C
0  1  2  Hello
1  2  3  World
List of dicts example that fails
In [18]: data2 = [{'a': 1, 'b': 2}, {'a': 5, 'b': 10, 'c': 20}]
In [19]: DataFrame(data2)
Out[19]:
0
0  {'a': 1, 'b': 2}
1  {'a': 5, 'c': 20, 'b': 10}
In [20]: DataFrame(data2, index=['first', 'second'])
Out[20]:
0
first   {'a': 1, 'b': 2}
second  {'a': 5, 'c': 20, 'b': 10}
In [21]: DataFrame(data2, columns=['a', 'b', 'c'])
AssertionError:
Looking at the mailing list, you almost have the solution in your post on 9/28/2011 in response to "Re: [pystatsmodels] Getting "stuff" into dataframes..."
In [23]: row_data2 = dict(enumerate(data2))
In [24]: DataFrame.from_dict(row_data2, orient='index'))
Out[24]:
a  b   c
0  1  2   NaN
1  5  10  20
(which matches the result in the documentation)

I'm not able to reproduce.  What is your pandas.version?,

that should read _ _ version _ _

Hmm, this did not show up in the output above.  This is true on both Win32 and OSX
pandas.version
Out[37]: <module 'pandas.version' from 'C:\Apps\Python27\lib\site-packages\pandas-0.6.1-py2.7-win32.egg\pandas\version.pyc'>

Try again
pandas-0.6.1-py2.7-win32.egg

I suspect that if you are using pandas 0.7.0+, this may be solved.  In which case, there just needs to be a note in the documentation that for versions 0.6.* and below, the workaround I have should be used.

This got implemented on December 22 (https://github.com/wesm/pandas/commit/5a38dcaad29ed811abe6ca40b73f944be92ce77e), 9 days after the 0.6.1 release. I am working frantically to get the 0.7.0 release out as fast as I can-- you can install from source or wait for the official release, though the git master branch is more than safe to use for production applications.

Thanks.  I'll look for the release, my workaround will do in the meantime.


Missing/empty docs in docs directory

This links to the docs directory but the files are empty. It looks like there is already a Getting Started section in the REAMDE, so maybe this whole link can just go.
https://github.com/redis/redis-om-spring/blob/08eca0697e4d25716e742999c64b633cac1fec0d/README.md?plain=1#L467

Thanks, full docs site coming soon using Antora https://antora.org/ - likely on 0.9.4 release


Inaccurate Vim instructions?

I followed the instructions for Vim integration, but I don't see anything that would map ctrl+b to run the Makefile. Is there a binding missing to run :make with ctrl+b?

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/28633886-inaccurate-vim-instructions?utm_campaign=plugin&utm_content=tracker%2F2014790&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F2014790&utm_medium=issues&utm_source=github).

Which is your OS? CMD+B works good for me under MacVim

Ubuntu Linux. I had to add nnoremap <C-b> :make<CR> to my .vimrc to get it to work, it works with that, though.

Added to docs. Thanks!


Error on SBML export

System
CNApy 1.0.3, miniconda3, Ubuntu 21.04
Traceback excerpt
Traceback (most recent call last): File "/home/dev/miniconda3/envs/cnapy13/lib/python3.7/site-packages/cobra/core/model.py", line 410, in copy new._solver = deepcopy(self.solver) File "/home/dev/miniconda3/envs/cnapy13/lib/python3.7/copy.py", line 180, in deepcopy y = _reconstruct(x, memo, *rv) File "/home/dev/miniconda3/envs/cnapy13/lib/python3.7/copy.py", line 283, in _reconstruct y.setstate(state) File "/home/dev/miniconda3/envs/cnapy13/lib/python3.7/site-packages/optlang/glpk_interface.py", line

Might be an issue with prune_unused_metabolites as reported in issue #345.


Support for multipart/mixed Content-Type

I have a use case to support the multipart/mixed content type as defined in RFC 2049. Use of this content type includes support for:

multiple parts in sequence
each part with its own content type and data
each part separated by a boundary value included in the HTTP request Content-Type header

It seems like it would be ideal if Swagger could enable defining each part as a parameter with content type and, on submission, have Swagger UI create the MIME boundary, add the boundary to the HTTP request Content-Type header, and assemble the multipart parameters into a multi-part request body using the boundary.
It would be great to support this in Swagger natively.

:+1: for implementing this :)

Is there some way that a work around to at least allow a user to hand enter (or use the example to enter) the http body (including sub requests with their headers etc) and get them all back for multipart/mixed request/response?

As a workaround for a multipart/mixed request, I'm currently hardcoding a boundary value for example use. For example:
"consumes" : ["multipart/mixed; boundary=Boundary-----1234567890"],
"parameters" : {
     "in": "body",
     "default" : "--Boundary-----1234567890\n ... EXAMPLE HERE ... \n--Boundary-----1234567890--"
}

@grokify that's good to know thanks i'll try this out first thing tomorrow, how about the response though? So far I haven't been able to get it to show a response with multipart/mixed at all.

The above doesn't pass the validator,you have to add "schema": { "type": "string" } for that, and then the default field is at odds with the validator too, looks like a bug.

@gaillard - when you say 'allow the user to hand enter', do you mean via swagger-ui or in general?

Yes I mean in the UI. It would be great if the user could choose content type, body and headers of each multi part, but as a work around if we could let the user hand enter that like @grokify showed it would help tremendously. His way works unless you also want it to run through the validator, can that bug be fixed?

@gaillard you have to add schema to the parameter. While I'd normally discourage the following definition, as a workaround you can try this:
"consumes" : ["multipart/mixed; boundary=Boundary-----1234567890"],
"parameters" : {
     "in": "body",
     "schema": { "type": "object" },
     "default" : "--Boundary-----1234567890\n ... EXAMPLE HERE ... \n--Boundary-----1234567890--"
}

That does not pass the validator though. I'm running the validator locally.

What error do you get from the validator?

That the schema doesn't match. [{"level":"error","domain":"validation","keyword":"oneOf","message":"instance failed to match exactly one schema (matched 0 out of 2)","schema":{"loadingURI":"http://swagger.io/v2/schema.json#","pointer":"/definitions/parametersList/items"},"instance":{"pointer":"/paths/~1{version}~1batch/post/parameters/1"}}]

Also an example of the response does not work.

@gaillard - let's take this to the google group as it's not directly related to the issue (this is just a workaround we're trying to employ, it won't change the issue at hand). There, just provide me with the definition of the POST /{version}/batch path, what you expect to see in the ui and what you actually experience.

Ok posted, thanks

Feature request: multipart/related (merging https://github.com/swagger-api/swagger-spec/issues/520 into this)

Any updates on Content-Type and boundary?

See #878

Has anyone involved in this thread used multipart/mixed with OpenAPI 3?  If so, how did you correlate the parts with the named properties in the schema?  This has come up several times recently without any clear answer, which led me to essentially re-file this issue as #3721.  But if there is a pattern that works as-is, even if it's only in some circumstances, we should document that in the 3.0.4 and 3.1.1 patch releases.


GH-35742: [C++][FlightRPC] Fix deadlock in Flight-UCX

Rationale for this change
The test was sometimes hanging in CI.
What changes are included in this PR?
Fix a condition where we were sending a message and waiting for it, only for it to never get sent.
Are these changes tested?
Existing tests ran into the deadlock already, but this is hard to deterministically reproduce.
Are there any user-facing changes?
No.

Closes: #35742

Hmm, I might have to rework a good chunk of the state machine...

NOTE: We need to enable UCX in our CI again because it's disabled temporary by #36306.

I don't think I'm going to have time to look at this anytime soon, unfortunately


Add icptokens.net to showcase

This pull request adds icptokens.net to the showcase list on the Dfinity portal.

Dear @fenixbul,
In order to potentially merge your code in this open-source repository and therefore proceed with your contribution, we need to have your approval on DFINITY's CLA.
If you decide to agree with it, please visit this issue and read the instructions there. Once you have signed it, re-trigger the workflow on this PR to see if your code can be merged.
— The DFINITY Foundation


tzOffset is hardcoded; will not handle daylight savings time change

Good catch! That would definitely be an improvement to either calculate dynamically or just add a note that it needs to be tweaked periodically.

Figure we could just calculate based on Denver time, since it's Colorado


fix unversioned test

broken at head
@thockin @davidopp

LGTM

merging to fix build
@brendandburns @ArtfulCoder @davidopp

LGTM


Some feedbacks for version 4.x

Recently I got some feedbacks from developers about Version 4.x. I summary it here:
appKey, appSecret renaming
So appKey has been renamed to clientId and appSecret has been renamed to clientSecret.
This breaks majority of the existing apps.
I am thinking maybe we can support both for a while and mark former as deprecated.
apiResponse.json() method changed from sync style to async style ?
Not 100% sure but if it is true, it will break most apps.
Reference error
One developer reported that he got reference error after referencing ringcentral.js & ringcentral-subscription.js  I will follow up.

Easy enough to rename appKey, the rest however, seems to break about every part of  every app.  Where are the examples of how to do platform.get etc with the 4.x release, as it would appear every use of the platform in every app will need to be recoded.

Here's the change log: https://github.com/ringcentral/ringcentral-js/blob/master/CHANGELOG.md

Yeah that is already there, what is needed is updated code samples for login, platform calls, etc.
From: Kirill Konshin<EMAIL_ADDRESS>Sent: Wednesday, February 19, 2020 4:19 PM
To: ringcentral/ringcentral-js<EMAIL_ADDRESS>Cc: Doug Routledge<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [ringcentral/ringcentral-js] Some feedbacks for version 4.x (#116)
Here's the change log: https://github.com/ringcentral/ringcentral-js/blob/master/CHANGELOG.mdhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fringcentral%2Fringcentral-js%2Fblob%2Fmaster%2FCHANGELOG.md&data=01|01|doug.routledge%40bridgeoc.com|3b62b6b68bd94ce8cc9608d7b589ca45|21c5943d04744ebd95188b9aa5c3fc88|1&sdata=2V5ufyWUG04L%2Bt6vGZrH1H%2FmIPA1BblX%2Bmqa4Q623iI%3D&reserved=0
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fringcentral%2Fringcentral-js%2Fissues%2F116%3Femail_source%3Dnotifications%26email_token%3DADX4456QPNOLUXOSBQXK2UDRDWV65A5CNFSM4ILPSZOKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMJ5G2Q%23issuecomment-588501866&data=01|01|doug.routledge%40bridgeoc.com|3b62b6b68bd94ce8cc9608d7b589ca45|21c5943d04744ebd95188b9aa5c3fc88|1&sdata=CSAQChCZr7XYqTM8pq8ksCPkhYhPxeikLeTBp4q2QPA%3D&reserved=0, or unsubscribehttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FADX4456LSWASMIENZDTJYFDRDWV65ANCNFSM4ILPSZOA&data=01|01|doug.routledge%40bridgeoc.com|3b62b6b68bd94ce8cc9608d7b589ca45|21c5943d04744ebd95188b9aa5c3fc88|1&sdata=guPYltFwVW8KSMxjnReVP7MuFZK8jwidITxinZEQYlI%3D&reserved=0.
Doug Routledge
Bridge Communcations
Sales: +17012124797tel:+17012124797
Support: +17012124009tel:+17012124009
Email<EMAIL_ADDRESS>Get Help Fast! : Open Chathttps://chat.bridgeoc.com
Bridge Communications specializes in software solutions for Cisco, RingCentral and Microsoft Unified Communications. For more information about all of our services, please visit our website.
Corporate Sitehttps://www.bridgeoc.com
Meet the Bridge Cloud Suite

For RingCentral
[Bridge Cloud Suite]https://bridge-oc-cloud-app.azurewebsites.net/ringcentral.html
For Cisco CUCM
[Bridge Cloud Suite]https://bridge-oc-cloud-app.azurewebsites.net/cisco.html

This issues does not require action , closing this issue.


Feature/ pre configured networks

#8694k6c12

Task linked: CU-8694k6c12 Android. Add network from list


[WIP] OCPCLOUD-2167: Test unhealthy node cases

At the moment, we are missing any cases that would cover unhealthy node cases, such as deleting an instance in the cloud or terminating a kubelet on a node.
Adding both of these cases should make testing of this stuff easier for QE.

/hold
Have to figure out whether we need to actually use some kind of auth to delete the instances in the cloud providers.

Test for AWS seems to be deleting the instance on the cloud properly, need to investigate whether the steps after that are correct (find and delete the failed machine and check for rollout).
As we have (AFAIK) only periodics job for AWS, shall I create ones for Azure and GCP? cc @JoelSpeed

Currently, when we delete an instance on the cloud provider successfully, a node in OpenShift gets into NotReady state and soon followed as non-existent (deleted). Right after that a corresponding machine gets into phase Failed, which is also expected. Right now, we would like to delete the machine as seen here, but we are running into an issue with etcd, which is expecting 3 control plane nodes, but only has two (the third one, new, gets up and running after the new machine gets into Running phase) at the moment, which is preventing this block of code from deleting the machine as the etcd has not stabilized yet.

/test e2e-aws-periodic-pre

/retest

/retest

/test e2e-aws-periodic-pre

/test e2e-aws-periodic-pre

/test e2e-aws-periodic-pre

The pre-submit e2e test case with instance being deleted passed for AWS.
I want to make sure that this case also passes for GCP and Azure.

/test e2e-gcp-periodic-pre

Just have checked that this first part of the tests work for AWS, GCP and Azure (delete an instance in the cloud provider and and after we delete the Failed machine, a new one comes up at the index).

/retest

Had to bump golangci-lint package to fix the CI linting issues. The linter is becoming more and more invasive and checks really unnecessary things. I think we might want to take a look into configuring it better to stop targeting things like putting backslash as a constant, cc @JoelSpeed.

/retest

/hold
I don't know what's up but this is spamming my inbox

For some reason, gotoolchain v1.x.x appeared in the go.mod

/hold
I don't know what's up but this is spamming my inbox

For some reason, gotoolchain v1.x.x appeared in the go.mod

CI should be fixed now, lets see.

/test e2e-aws-periodic-pre

Changes look good, we are blocked currently on a different bug though right?

Changes look good, we are blocked currently on a different bug though right?

Yes, this is blocked on an etcd related bug.

The etcd bug got merged last week.
/retest

/retest

/retest

/retest

/retest

/retest
CI is slow.

/retest

/retest

/retest

/retest

/retest

/test unit

Something tells me there's an actual issue with the unit tests here that we need to look to resolve

Unit tests pass locally on my machine and I also don't see anything in the logs, that would suggest what is going wrong.

Have you tried executing the unit tests from with a container? As we do in CI? That would isolate your own environment and maybe be more representative?
Seems it's consistently failing at starting the kube-apiserver binary right? You could try adding config to envtest to have it spit out the logs from the kube-apiserver binary, perhaps there's an issue?

CI passed.
/unhold

/approve
/lgtm


Matlab cmake

This creates the build of the mex files with CMake.

cleaned a bit some cmakelists. Tested with matlab, all works. Merging.


How to maintain translations file?

I'm using https://next-intl-docs.vercel.app/docs/usage/typescript to ensure that I only import valid translations.
However, I want to also know how to do this the other way around. Ie, if I delete an instance of t('mystring'), that I can safely remove this in ./messages/en.json, and not leave this file as append-only, and grow in size over time.
Is there a mechanism for doing this? Perhaps something like https://formatjs.io/docs/getting-started/message-extraction to try compare the translations file against code that actually consumes it?

That's an interesting point. Currently there's unfortunately no way to validate that you're only providing messages that are actually used.
The closest to this is probably to build up a list of used namespaces to filter any unused ones on a page out. However the unused messages would still be in your translations file.

I see, that's unfortunate. I'm already using the list of used namespaces. I suppose if I used more-but-smaller components and thus namespaces, the problem gets smaller, though never really disappears.
Identifying which namespaces are actually used is also tricky:

I can bubble it upwards like in your example: Parent.messages = ["parentNamespace", ...Child.messages]. But this gets boilerplate-y very quickly especially when there are deep component trees with intermediate layers that don't even have anything to do with messages, but have to forward it upwards.
I can skip the bubbling, and just "know" which namespaces are in play. This eliminates the boilerplate, but introduces magic instead.

Is there a another option that I haven't considered?

But this gets boilerplate-y very quickly especially when there are deep component trees with intermediate layers that don't even have anything to do with messages, but have to forward it upwards.

Yep, I see your point. I took inspiration from Relay where fragments are composed this way. It takes a few lines of code to compose these correctly together, but I found it not so bad in practice. Feature-wise a real limitation here is that this approach currently doesn't work for lazy loaded components. I'd be interested to explore Suspense-based lazy loading of messages once Suspense for data fetching ships.
Apart from that I'd certainly be interested in an automatic way of retrieving namespaces from a dependency tree but I haven't had time to look into that in more detail and for my personal needs the manual composition of namespaces worked fairly ok.
So to answer your question: I think you're aware of the options that are currently applicable.

Ok, thanks for the feedback.


Component whitespace results in unwanted whitespace in the place of inclusion

Example:
This is an example (<c-test>This is in parentheses</c-test>)

templates/cotton/test.html

 {{ slot }}

Result:
This is an example ( This is in parentheses )

The only way to fix it seems to be removing whitespace from the component definition:
{{ slot }}

@KucharczykL can you confirm the version of cotton? Thanks

Hi @wrabit, apologies for not including it in the original report. I was using 0.9.37 before, now I have updated to 0.9.40 and the issue persists.

I suspect upgrading to the latest (1.2.0) will resolve this. The compilation process was overhauled >1.0.0.

@KucharczykL closing for now, please let me know if you still have issues with this.

@wrabit I have updated to 1.2.0 and the issue still persists.

@KucharczykL Thanks for reporting, I'll take a closer look.

Django's {% include %} tags have the same effect. Vue, Svelte by default 'condenses' whitespace, I think React/jsx takes a different approach and preserves it.
I think we can enable whitespace condensing by default and there should probably be a new config item to retain the existing behaviour.

Having looked into this further the way it is now is how any typical html works:
(
Anything
)

Will result in ( Anything )
Some specific consideration will have to be made if we were to offer whitespace control here. As in, will we need to check if we're inside a
 tag before we perform this. I think it's reasonable to manage your html in these cases for now. But should there be some consensus for a solution, I will for sure take another look.


Update Vitejs to v4

Vite has released v3, should we migrate to it? But may be it will be breaking change.

Now already v4 😂

Implemented in next branch


Bot class naming

https://github.com/Blamer-io/bot/blob/afcf08ab19e300aeb1015e8fc6301f62e7b49c46/src/main/java/io/blamer/bot/bot/Bot.java#L52
@l3r8yJ It can be named TgBot. I believe it's a better naming for this class
WDYT?

@h1alexbel good suggestion

/in


Training MSNet3D error

I am trying to train MSNet3D on stereodriving and KITTI2015 but faced this error:
File "train.py", line 205, in
train()
File "train.py", line 98, in train
loss, scalar_outputs, image_outputs = train_sample(sample, compute_metrics=do_summary)
File "train.py", line 155, in train_sample
disp_ests = model(imgL, imgR)
File "/opt/conda/lib/python3.8/site-packages/torch/nn/modules/module.py", line 727, in _call_impl
result = self.forward(*input, **kwargs)
File "/opt/conda/lib/python3.8/site-packages/torch/nn/parallel/data_parallel.py", line 161, in forward
outputs = self.parallel_apply(replicas, inputs, kwargs)
File "/opt/conda/lib/python3.8/site-packages/torch/nn/parallel/data_parallel.py", line 171, in parallel_apply
return parallel_apply(replicas, inputs, kwargs, self.device_ids[:len(replicas)])
File "/opt/conda/lib/python3.8/site-packages/torch/nn/parallel/parallel_apply.py", line 86, in parallel_apply
output.reraise()
File "/opt/conda/lib/python3.8/site-packages/torch/_utils.py", line 428, in reraise
raise self.exc_type(msg)
RuntimeError: Caught RuntimeError in replica 0 on device 0.
Original Traceback (most recent call last):
File "/opt/conda/lib/python3.8/site-packages/torch/nn/parallel/parallel_apply.py", line 61, in _worker
output = module(*input, **kwargs)
File "/opt/conda/lib/python3.8/site-packages/torch/nn/modules/module.py", line 727, in _call_impl
result = self.forward(*input, **kwargs)
File "/home/trainer/mobile_stereo/models/MSNet3D.py", line 124, in forward
out1 = self.encoder_decoder1(cost0)
File "/opt/conda/lib/python3.8/site-packages/torch/nn/modules/module.py", line 727, in _call_impl
result = self.forward(*input, **kwargs)
File "/home/trainer/mobile_stereo/models/MSNet3D.py", line 46, in forward
conv5 = F.relu(self.conv5(conv4) + self.redir2(conv2), inplace=True)
RuntimeError: The size of tensor a (4) must match the size of tensor b (3) at non-singleton dimension 2
Does anybody know how to solve this problem?
Looking forward to your reply！

What arguments are you giving the train.py function?

Thanks for your reply
I am giving these arguments:
python train.py --dataset drivingstereo --datapath /home/trainer/Datasets/drivingstereo/ --trainlist ./filenames/ds_train.txt --testlist ./filenames/ds_test.txt --epochs 400 --lrepochs "200:10" --batch_size 1 --test_batch_size 1 --model MSNet3D  --logdir ./log_drivingstereo/

I freshly pulled the code and used the same arguments as you did (only changing the data path), but I can't replicate your error.

When does it throw the error?

When does it throw the error?

3D-mobilestereonet can not reach the test results of kitti2015，why？thanks。I used the MSNet3D_SF_KITTI2015.ckpt you provided.We submitted the parallax map to the kitti website, but the results were very different from those in the paper. In the paper, it is 1.75 3.87 2.10 1.61 3.50 1.92, but what I measured is 2.01 4.40 2.40 1.85 3.88 2.18, is it the wrong way for me to fine-tune, or is it for some other reason? Please help me.


Fetch favicon from newsletter?

Is it possible to fetch favicon from the newsletter and use it instead of kill the newsletter's own favicon? I use kill the newsletter for NetNewsWire. Would be nice to have this feature.

Hi @I7T5,
I love the idea, but there’s a complication: We don’t know which website is sending the newsletter. We could either ask the user to provide us with that information when creating the feed, or we could try to deduce that from the From fields on the emails that we receive.
In either case, I believe that the cost/benefit for creating and maintaining this feature isn’t there yet.
But I’ll keep that in mind and if more people keep asking for this then I may get around to it.
Best.

Hmmm, alright, let’s give it a try. I implemented this as part of 2.0.6. It sets the <icon> based on the from of the email.

Thanks for the feature!
It doesn't always work for me; not all websites have the icon in root/favicon.ico. Also, if the mailing list doesn't accept kill the newsletter and a user tries to resend the message through their mail, this implementation won't work either.
Could you add a field in the 'feed created' page (where you can copy subscription and feed addresses) to optionally add a link to an image that can work as an icon?
That way, if the link is manually added, the feed could have the specified icon, and else, it could try to set it based on the from of the email, as it does now.

@Asmatzaile: Thanks for the feedback.
I’ll look into that at some point…

I added an option for you to set a custom icon. You may access it from a link at the bottom of the feed entries, as well as when you create the feed.

@Asmatzaile: Thanks for the feedback.
I’ll look into that at some point…

Have you successfully gotten to this to work on any newsletters? using on 5 of them, tried to clear caches, remove from reeder app and read, but never have gotten it to work. Tried many different image links as well. not sure what other information to add to help diagnose, but wondering if this is a me problem.


Fix issues found by David in #325

TODO:

[ ] update proposal API list in README.
[ ] add a test

I have also spotted a bug while writing the ReadMe and solved it this PR  #329


fix: add sourcemap file to chunk.auxiliaryFiles

Summary
fix: add sourcemap file to chunk.auxiliaryFiles (#3253), follow up for #5490

Test Plan
I created a demo to test it
https://github.com/hulin32/rspack-for-react-test-verification
Require Documentation?

[x] No
[ ] Yes, the corresponding rspack-website PR is __

Please create a unit test within the directory packages/rspack/tests/cases/chunks.

!bench

!bench

I ran the performance test and it looks like there are no issues. Then solve the other TODOs and we can be merged.

Please create a unit test within the directory packages/rspack/tests/cases/chunks.

@SyMind dumb question, I wrote the test, but how can I run the test in this folder to test it on my local ?
I am trying with this from doc:
# In root path
./x build -a
./x test js

but not work, thanks

@hulin32 The document is outdated. Please execute the pnpm run test command on packages/rspack now to perform the test. We will update the document later.

@SyMind Hey, sorry for bother you,  just for local test right now, I am putting below test codes in Errors.test.js file, and I want to use imported webpack  to compile the file, then check the stats to see if auxiliaryFiles are good, but seems it isn't using the rspack from source codes, I put a  print log println! in process_assets method which from crates/rspack_plugin_devtool/src/lib.rs, and ran cargo build && pnpm run build:cli:debug in root to compile it, then go to packages/rspack to run pnpm run test tests/Errors.test.js, but the println! log is not shown, so for me seems its not using the local one, any suggestions? thx a lot
it("should add source map file to auxiliaryFiles", async () => {
const stats = await new Promise((resolve, reject) => {
  const compiler = webpack({
    entry: {
		main: path.resolve(__dirname, 'cases/chunks/auxiliary-files/one.js')
	},
    devtool: 'source-map',
  });
  try {
    compiler.run((bailedError, stats) => {
      if (bailedError) {
        return reject(bailedError);
      }
      compiler.close(closeError => {
        if (closeError) {
          return reject(closeError);
        }
        resolve(stats);
      });
    });
  } catch (err) {
    // capture sync thrown errors
    reject(err);
  }
});
console.log("statssss", stats.toJson({ errorDetails: false }));
});

@hulin32 It's possible that stats.errors contains some error messages that could help diagnose the problem.

This is our current issue. Contributing a test case is quite difficult, so I will add the relevant unit tests.

@SyMind awesome 👍, thanks for your help, also learn something here


Spelling test swift indent

This fixes some misspellings in Swift test/swift-indent, it is split per https://github.com/apple/swift/pull/42421#issuecomment-1101092698

@swift-ci smoke test and merge


URL with pre-selected instance types do not work

So I have the following URL, after selecting the instance types my company is interested in:
http://www.ec2instances.info/rds/?min_memory=8&region=ap-southeast-1&cost=monthly&selected=db.m4.2xlarge,db.r3.2xlarge,db.m4.4xlarge,db.r3.4xlarge,db.m4.10xlarge,db.r3.8xlarge
Unfortunately, clicking on that URL leads me the the complete list, instead of pre-selected:
http://www.ec2instances.info/rds/?min_memory=8&region=ap-southeast-1&cost=monthly
Is this by design?

Not by design. It works with the main EC2 instances list so must just be a bug specific to the RDS listing.


Pretrained Models for HTC with DCN

Hi, just wanted to quickly check, are there pretrained models for HTC with DCN other than the one that uses ResNeXt-101-64x4d-FPN as the backbone (e.g. ResNet-50 or ResNet-101)? If so, is there any chance that they could be made available. Thanks!

Currently not, and there is no plan for that. We provide frameworks and users can train any models they want.


Validate OpTypeImage and OpTypeSampledImage

Added new validation rules to the validate image pass.

Passes Vulkan CTS master.

Rebased, squashed, and pushed into master as  e1ceff9f


Postgresql Kafka Couchbase

Hi Krishna,
I am using an openerp server and Postgresql as DB. I want the table edit or update or delete or create actions to be logged, send this messages to kafka and kafka send this messages to Couchbase.
Can you guide me or help me on the same to achieve this.
Regards,
Vijay

Hi @vijaykumar0690 -
Sorry for the delayed reply.
I think you can do this by following this approach:

Stream your logs which contains the events(which in your case is DB events) using stream tools like Apache Flume.
This stream will be the Producer for the kafka.
Then, have a consumer like the one we created in this git repo to parse the logs to your desired format(perhaps JSON) and index in ElasticSearch

And there you are, you can use the Kibana to monitor.
Thanks.


:bug: Don't use full konveyor.Dep for dependency Extras

@aufi Not all complex fields are a problem only a certain fields that make grpc protobuf / json / yaml marshaling get confused on some nested fields. In this case, labels []string was being an issue


[ADDON] - Karpenter

Robust scaling addon implemented by AWS can be a great alternative for cluster autoscalor.
Add addon: karpenter

closing as it is already addressed by PR #251


Lazy Loading of POs

We have a large implementation with several scores of PO's.
We also load data in the initialization of POs.
Because all POs are initialized when the test kicks off, All of these assets are loaded.  This is a large time and memory suck.
We would love a way to run our tests where the POs dont actually get loaded until the 'on(pageobject)' call is made.

Have you tried using autoload? I had been avoiding it since it was slated to be deprecated (for the past 7 years). However, Matz recently said they are keeping it (https://bugs.ruby-lang.org/issues/5653#note-46). Might be worth a try.


Liquid branch testnet

When selecting testnet as network on liquid branch, elements is configured as regtest.

There's no testnet on liquid :)
There is liquidv1 (mainnet) and elementsregtest (regtest for elements).  There is now also signet if I'm not mistaken... haven't tried it yet.

Look like it exist now. https://blockstream.info/liquidtestnet/blocks/recent I managed to make it work with elements-qt but no success with peg-in for now. Configuration and faucet --> https://liquidtestnet.com

Oh wow!  I wasn't aware they finally created one!  Thanks!  I'll update the features/liquid branch!

Look like it exist now. https://blockstream.info/liquidtestnet/blocks/recent I managed to make it work with elements-qt but no success with peg-in for now. Configuration and faucet --> https://liquidtestnet.com

Still figuring this out myself. FWIU LiquidTestnet is maintained by Blockstream and not actually linked to BitcoinTestnet - so no peg-ins.

@BHodl
The reason why it doesn't work is because the liquidtestnet.com config has the setting daemon=1
Container needs the process to stay in the foreground.

I got it working with this docker-compose.yaml
  elements_liquidtestnet:
    image: cyphernode/elements:v22.0.2-mosquitto-debian
    user: $USER
    command: elementsd
    ports:
      - 18891:18891
    volumes:
      - "/mnt/sharednodes/elements_liquidtestnet:/.elements"
    stop_grace_period: 30s
    networks:
      - sharednodesnet
    deploy:
      replicas: 1
      placement:
        constraints:
          - node.labels.io.sharednodes == true
      restart_policy:
        condition: "any"
        delay: 1s
      update_config:
        parallelism: 1


reqd for erica support on windows

apply same patch as I proposed in couchdb, IIRC submitted upstream in yajl already.

repo is unmaintened. closing the pr. Thanks for the patch anyway.


No handlers could be found for logger "pip.index"

poise 2.8.1
poise-languages 2.1.1
poise-python 1.6.0
Cannot really make sense out of what is happening here.
* python_package[wheel] action install
  ================================================================================
  Error executing action `install` on resource 'python_package[wheel]'
  ================================================================================

Mixlib::ShellOut::ShellCommandFailed
------------------------------------
python_package[wheel] (/var/chef/cache/cookbooks/poise-python/files/halite_gem/poise_python/python_providers/base.rb line 153) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of ["/usr/bin/python", "-", "wheel"] ----
STDOUT:
STDERR: No handlers could be found for logger "pip.index"
Traceback (most recent call last):
  File "<stdin>", line 38, in <module>
  File "/usr/lib/python2.7/site-packages/pip/index.py", line 514, in find_requirement
    'No matching distribution found for %s' % req
pip.exceptions.DistributionNotFound: No matching distribution found for wheel
---- End output of ["/usr/bin/python", "-", "wheel"] ----
Ran ["/usr/bin/python", "-", "wheel"] returned 1

Cookbook Trace:
---------------
/var/chef/cache/cookbooks/poise-languages/files/halite_gem/poise_languages/command/mixin.rb:207:in `tap'
/var/chef/cache/cookbooks/poise-languages/files/halite_gem/poise_languages/command/mixin.rb:207:in `language_command_shell_out!'
/var/chef/cache/cookbooks/poise-languages/files/halite_gem/poise_languages/command/mixin.rb:222:in `block in language_command_mixin'
/var/chef/cache/cookbooks/poise-python/files/halite_gem/poise_python/resources/python_package.rb:282:in `pip_command'
/var/chef/cache/cookbooks/poise-python/files/halite_gem/poise_python/resources/python_package.rb:306:in `pip_outdated'
/var/chef/cache/cookbooks/poise-python/files/halite_gem/poise_python/resources/python_package.rb:180:in `check_package_versions'
/var/chef/cache/cookbooks/poise-python/files/halite_gem/poise_python/resources/python_package.rb:160:in `load_current_resource'
/var/chef/cache/cookbooks/poise/files/halite_gem/poise/helpers/notifying_block.rb:69:in `notifying_block'
/var/chef/cache/cookbooks/poise-python/files/halite_gem/poise_python/python_providers/base.rb:50:in `action_install'

Resource Declaration:
---------------------
# In /var/chef/cache/cookbooks/r701-python/recipes/default.rb

  8: python_runtime '2' do
  9:   not_if {node['platform_family'] == 'rhel' && node['platform_version'].to_i == 5}
 10:   provider :system
 11:   setuptools_version false
 12: end

Compiled Resource:
------------------
# Declared in /var/chef/cache/cookbooks/r701-python/recipes/default.rb:8:in `from_file'

python_runtime("2") do
  provider PoisePython::PythonProviders::System
  action [:install]
  retries 0
  retry_delay 2
  default_guard_interpreter :default
  subresources [python_runtime_pip[2], python_package[wheel], python_package[virtualenv]]
  declared_type :python_runtime
  cookbook_name "r701-python"
  recipe_name "default"
  get_pip_url "https://bootstrap.pypa.io/get-pip.py"
  pip_version true
  version "2"
  virtualenv_version true
  wheel_version true
  not_if { #code block }
end

Platform:
---------
x86_64-linux

I'll add that if I mask the problem by setting wheel_version false in my resource, it just falls through to the next problem (virtualenv):
* python_package[virtualenv] action install

  ================================================================================
  Error executing action `install` on resource 'python_package[virtualenv]'
  ================================================================================

  Mixlib::ShellOut::ShellCommandFailed
  ------------------------------------
  Expected process to exit with [0], but received '1'
  ---- Begin output of ["/usr/bin/python", "-", "virtualenv"] ----
  STDOUT:
  STDERR: No handlers could be found for logger "pip.index"
  Traceback (most recent call last):
    File "<stdin>", line 38, in <module>
    File "/usr/lib/python2.7/site-packages/pip/index.py", line 514, in find_requirement
      'No matching distribution found for %s' % req
  pip.exceptions.DistributionNotFound: No matching distribution found for virtualenv
  ---- End output of ["/usr/bin/python", "-", "virtualenv"] ----
  Ran ["/usr/bin/python", "-", "virtualenv"] returned 1
...
...

Pip released a new rev yesterday, so that might be related. Does it get better if you lock pip to 9.0.2?

(or 9.0.1)

Observing this as well, but intermittently between multiple runs on the same node.

Ours stopped freaking out sometime over the weekend on all of our nodes. I could be wrong, but it seemed to only be happening on RHEL 7 nodes.

Happening for us on our macOS nodes.

This might also be due to the pending removal of TLS 1.0 and 1.1 on PyPI. They have been doing rolling brownouts to test the removal so you might be failing. You will need to upgrade to versions of things which support TLS 1.2 to use PyPI going forward.

the workaround here https://github.com/poise/poise-python/issues/140#issuecomment-462688078


libwebsockets:x64-linux build failed

vcpkg version: git master
machine: this is ubuntu bionic for WSL on Windows 10
log:
Building package libwebsockets[core]:x64-linux...
-- Downloading https://github.com/warmcat/libwebsockets/archive/v3.1.0.tar.gz...
-- Extracting source /c/Users/rkito/src/vcpkg/downloads/warmcat-libwebsockets-v3.1.0.tar.gz
-- Applying patch 0001-Fix-UWP.patch
-- Applying patch failed. This is expected if this patch was previously applied.
-- Using source at /c/Users/rkito/src/vcpkg/buildtrees/libwebsockets/src/v3.1.0-1c566e1539
-- Configuring x64-linux-dbg
-- Configuring x64-linux-rel
-- Building x64-linux-dbg
-- Building x64-linux-rel
CMake Error at scripts/cmake/vcpkg_fixup_cmake_targets.cmake:45 (message):
  '/c/Users/rkito/src/vcpkg/packages/libwebsockets_x64-linux/debug/cmake'
  does not exist.
Call Stack (most recent call first):
  ports/libwebsockets/portfile.cmake:31 (vcpkg_fixup_cmake_targets)
  scripts/ports.cmake:71 (include)

Error: Building package libwebsockets:x64-linux failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: libwebsockets:x64-linux
  Vcpkg version: 2018.11.23-unknownhash

Thanks for posting this issue. This issue has been fixed. So I am closing this issue for now.


Add support for IP mediums, part 3

Previously #336 #346. includes #399, review that one first
TODO:

[ ] Prettyprinter doesn't work

how about the progress of tun support? I want use it in Android VPN service app which use tun interface.

#401 has working code, people have used it successfully with tun including on android :)
It should be on master soon hopefully

Support for tun interface would be great to have.  I am also looking into integrating smoltcp into an Android VPN service.  Thanks @Dirbaio for working on this.


SSH sendFile stuck at 32700 bytes

Hi Folks,
when uploading a file via ssh using the sendFile method, the upload gets stuck at 32700 bytes which ist the standard maximum packet length of the ssh protocol. https://www.rfc-editor.org/rfc/rfc4253#page-8
Why isn't the file splitted in packages?
Thanks in advance :-)

I've been getting memory out of bound crashes when I use the sendFile method


Mongo docker-compose example

My example of a MongoDB integration with ddev, please tell me if i need to improve anything :)

 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.

Also remember that your contribution here will likely be the pattern for every service that will follow, so yay!

Ok, i'll try to work a bit more on the README next week :)

BTW, it would probably be best to change the docker-composer for mongo express not to be accessible to the entire network.
You do it like this:
    ports:
      - "<IP_ADDRESS>:<hostport>:<containerport>"

Hello @rfay, i made the change you adviced, seems to works: i can access it, coworkers can't anymore.
Do i also need to change
ports:
      - "27017"

to
ports:
      - "<IP_ADDRESS>:27017:27017"

for the mongo definition? Looks like it's not needed but i'm not fluent with ports and stuff so... :D

Yes, I recommend changing to <IP_ADDRESS>:27017:27017 - The difference with this one is that you were getting an ephemeral (un-reserved) port on localhost with
ports:
      - "27017"

so people would have to work to find it, but it would be there waiting for them if they probed it.
You should probably add a note that only one project at a time can run with this wired port, so a second project using this recipe will need altered ports.
Also, this doesn't work on docker toolbox, where the IP address is not <IP_ADDRESS>, it's , maybe <IP_ADDRESS>.
Thanks for all the work on this!


neoneffectadded

Fixes Issue
i added neon effect on button

Changes proposed

Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] All new and existing tests passed.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers
now skip button looks more attarctive

Hey @NiharikaSharma18 , kindly don't spam in the repo by again and again opening the same pull again and again, and closing them immediately or closing and opening the same pull again and again.
If you want to contribute then kindly leave it opened, I will review it and merge it, if it is fine.
This can lead to your ban from the repo.
Hope so, you have understood 😃

Nice work 👍 @NiharikaSharma18, Keep It Up.

very sorry @AyushAgnihotri2025  jst trying to reslove the confict ,i did'nt know that

thank you so much sir.


ClickHouse - 3mins for $0.56

Details here https://clickhouse.com/blog/clickhouse-1-trillion-row-challenge
Code https://github.com/ClickHouse/1trc

Whoa!  Nice.
We need to do a follow-up post with all of these responses.  This is great.
Also @fjetter Dask+Coiled has been unseated for minimum cost solution.  Maybe this is a good opportunity to push on the S3+Parquet reading throughput? 🙂