Empty file being generated

Following minimal configurations, I am getting am empty file, incorrect name with no extension.
Configurations I am using:
Package.json:

Folder structure and generated file:

I am running command : "cypress run --spec cypress/integration/policysearch.feature"
The generated file is coming as blank with 0 bytes and file name is sort of incorrect, Its always  cucumber-C (with no extension)
Any help much appreciated.
p.s. contents of feature file (only 1 scenario)

Hi
I set up a simple project to try and reproduce your empty file problem
git clone https://github.com/jcundill/cuke_test.git
consists of minimal package.json and a very simple cypress feature file.
cucumber json output file formatting is added to the package.json - should dump files in cypress/my-cucumber-files
could you try cloning this example, and running
npm install
npx cypress run --spec cypress/integration/BackgroundSection.feature
ls -al cypress/my-cucumber-files/
Does this example project still give you the empty file issue your are seeing on your project?
See README.md for the results I see when running this locally
Thanks for reporting this problem

Hi,
Still blank file :

I am on Windows 10.

Thanks - it's probably an issue running on windows then. We just use macs and linux boxes. I'll try it on a windows box tomorrow - hopefully that will reproduce the issue. If I can reproduce your problem it shouldn't be too hard to fix

Found the problem I think:
Line 59:

This is my uri in json :
"uri":"C:Commercial Quote Hubcqh-insurer-portal\testsOpenGI.MobiusGatewayPresscypressintegrationpolicysearch.feature"
I will do some digging as to where this is coming from, let me know if you find something or guide me to the right place.
Thanks

Was a windows issue - I wasn't parsing the filename out of a filepath to the feature file correctly.
now use path.basename in loader.js to get the name from the path


TimeUnits

Fixes #39
I created the following Time Units:

Nano Seconds
Milli Seconds
Seconds
Minutes
Hours
Days

It should be quite easy to add/remove from that list but I thought this would be a good start.

I'll update all orders. Thanks for the review @tomerd

@MrLotU  some suggestions ^^

@MrLotU could you try running this script over this change. Because currently it breaks the public API, once that checker script is happy, you should be good.
If you need help running it, please reach out.

That reminds me that it'd be a good idea to have a sanity script to check API breakage in this repo as we do in NIO perhaps? // @tomerd ?

@ktoso that is only available in 5.1 so need to wait until then

Ah I see... I keep living on the edge and keep forgetting about it... ¯\(ツ)/¯

@swift-server-bot test this please

also CI is failing since linux tests are not generated, please run ./scripts/generate_linux_tests

Checking breaking API changes from my TimeUnits branch to 41b382a88d3eacabf97345cd9b9e08a82b51c303 gives the following output:
==============================
ERROR: public API change in CoreMetrics.json
==============================

/* Generic Signature Changes */

/* RawRepresentable Changes */

/* Removed Decls */

/* Moved Decls */

/* Renamed Decls */

/* Type Changes */

/* Decl Attribute changes */

/* Fixed-layout Type Changes */

/* Protocol Conformance Change */

/* Protocol Requirement Change */
Func TimerHandler.preferDisplayUnit(_:) has been added as a protocol requirement

/* Class Inheritance Change */
Checking Metrics.json... OK
done

However I have added a NOOP default implementation for that method in an extension, so this should not qualify as breaking anymore, correct? (CC @weissi)

@swift-server-bot test this please

@MrLotU this looks good but CI fails on formatting, please make sure you run the sanity test locally to make sure everything is ready for merge.

Will do! Thanks @tomerd

@tomerd Script is passing locally now! All should be fixed.

@swift-server-bot test this please

@MrLotU i believe one of the unit tests is failing, missing a return?
func retriveValueInPreferredUnit(atIndex i: Int) -> Int64 {
        return self.lock.withLock {
            let value = values[i].1
            guard let displayUnit = self.displayUnit else {
                return value
            }
            switch displayUnit {
            case .days: return (value / 1_000_000_000) * 60 * 60 * 24
            case .hours: return (value / 1_000_000_000) * 60 * 60
            case .minutes: return (value / 1_000_000_000) * 60
            case .seconds: return value / 1_000_000_000
            case .milliseconds: return value / 1_000_000
            case .nanoseconds: return value
            }
        }
    }

Yup! Saw it too. Pushing right now 😄

@swift-server-bot test this please

@MrLotU https://github.com/apple/swift-metrics/releases/tag/1.20

Awesome! Thanks


fix instability induced in Zygote gradient

Fixes #46
@avik-pal could you check that this works for you?

Argh. Seems like it breaks other stuff.
@avik-pal I need to travel the rest of this week, but I will be able to merge things and create a new release. Do you think you might be able to debug the remainder?

Yes I will take a look from here

coverage: 100.0%. remained the same
when pulling 558f74c0e07f6c5b09c582838c212e1d24b8aebe on issue46
into f3bdb32aedf82c6aa06df439181e4aaee66cd9d5 on main.


RFQ modifications derived from the tap channels proof-of-concept

This PR incorporates changes to the RFQ service based on the tap channels proof-of-concept code.

I still need to unpack the WIP: rfq commit.


NPM Error

Hello Team, I am new here, i ran the command below, see the result.
root@segunharuna-VirtualBox:/# npm i terminal-stocks -g                                                                                loadDep:yargs -> resolveW \ |#################################--------------------------------------------------------------------------------------------------------------------------------|
npm ERR! Linux 4.15.0-112-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "i" "terminal-stocks" "-g"
npm ERR! node v8.10.0
npm ERR! npm  v3.5.2
npm ERR! code EMISSINGARG
npm ERR! typeerror Error: Missing required argument #1
npm ERR! typeerror     at andLogAndFinish (/usr/share/npm/lib/fetch-package-metadata.js:31:3)
npm ERR! typeerror     at fetchPackageMetadata (/usr/share/npm/lib/fetch-package-metadata.js:51:22)
npm ERR! typeerror     at resolveWithNewModule (/usr/share/npm/lib/install/deps.js:456:12)
npm ERR! typeerror     at /usr/share/npm/lib/install/deps.js:457:7
npm ERR! typeerror     at /usr/share/npm/node_modules/iferr/index.js:13:50
npm ERR! typeerror     at /usr/share/npm/lib/fetch-package-metadata.js:37:12
npm ERR! typeerror     at addRequestedAndFinish (/usr/share/npm/lib/fetch-package-metadata.js:82:5)
npm ERR! typeerror     at returnAndAddMetadata (/usr/share/npm/lib/fetch-package-metadata.js:117:7)
npm ERR! typeerror     at pickVersionFromRegistryDocument (/usr/share/npm/lib/fetch-package-metadata.js:134:20)
npm ERR! typeerror     at /usr/share/npm/node_modules/iferr/index.js:13:50
npm ERR! typeerror This is an error with npm itself. Please report this error at:
npm ERR! typeerror     http://github.com/npm/npm/issues
npm WARN deprecated<EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
npm ERR! Please include the following file with any support request:
npm ERR!     /npm-debug.log

@segunh  - Try uninstalling and installing npm again. Its a problem with npm.

@segunh  - Try uninstalling and installing npm again. Its a problem with npm.

@segunh - Try uninstalling and installing npm again. Its a problem with npm.

I will try to do that, it's a new territory for me. Thank you for the quick response.

@segunh - Try uninstalling and installing npm again. Its a problem with npm.

I will try to do that, it's a new territory for me. Thank you for the quick response.


Adds Subscribe button to menu bar

Visuals: https://www.dropbox.com/s/802fk40rbrtzt9m/Screen Shot 2017-05-16 at 4.36.09 PM.png?dl=0
Adds a premium button directly to the campaign menu bar.
Should open the subscribe modal when clicked, and have a trackable event tag. Shouldn't be visible to our free players (students, free servers, etc)

Coverage remained the same at 56.244% when pulling 7cc43a209cbb4c55040db517aa153e2811123e5e on Zerrien:premium-button into e897d9e88c63c7382a746464e46ed37649e4b760 on codecombat:master.

Coverage remained the same at 56.244% when pulling 94e55a7b3a3d7e10bc01a2a9c4bbc0a893b934ec on Zerrien:premium-button into a48c214b23ce0a93674ec4da6cc2952891c2dffd on codecombat:master.


Webpack 5.0.0-beta.31 broke operations on arrays imported from JSON files

Bug report
I have the following code in my project (simplified):
import types from '../../../../../../config/types.json';

function getLabel(data) {
  return types.find(
    el => el.type === data.type,
  ).label;
}

function validate({
  response,
  data,
}) {
  const { type } = response;

  if (type !== formData.type) {
    console.warn(`Type mismatch: '${formData.type}' provided, expected '${type}'.`);

    const typeLabel = getLabel(data);

    return `It looks like ${typeLabel} type is wrong.`;
  }
}

where imported types.json is something like
[
  {
    "label": "Label",
    "type": 1
  }
  {
    "label": "Another label",
    "type": 2
  }
]

and obviously, validate() function is ran at some point.
After upgrading from Webpack 5.0.0-beta.29 to 5.0.0-rc.3, I've noticed that this function started crashing.
I investigated by updating it step by step and here's my outcome:

Version
Works?

5.0.0-beta.29
Yes ✅

5.0.0-beta.30
Yes ✅

5.0.0-beta.31
No ❌

5.0.0-rc.0
No ❌

5.0.0-rc.3
No ❌

What is the current behavior?
In 5.0.0-beta.31, 5.0.0-rc.0, 5.0.0-rc.3 it's compiled to (whitespace added for readability):
if(o!==s.type)
  return console.warn("Type mismatch: '"+s.type+"' provided, expected '"+o+"'."),
  "It looks like "+function(e){return(void 0)((function(t){return t.type===e.type})).label}(s)+" type is wrong.";

which causes the following error:
TypeError: (void 0) is not a function

What is the expected behavior?
In 5.0.0-beta.29, 5.0.0-beta.30, if statement is compiled to (whitespace added for readability):
if(o!==s.type)
  return console.warn("Type mismatch: '"+s.type+"' provided, expected '"+o+"'."),
  "It looks like "+function(e){return _.find((function(t){return t.type===e.type})).label}(s)+" type is wrong.";

which correctly prints
Type mismatch: <type> provided, expected <expectedType>.

and correctly returns
It looks like <type.label> type is wrong.

Other relevant information:
Changing types.json from to js (export default [{…}, {…}]) makes it all working again.
Similarly, changing the code slightly not to do direct operations on array imported from JSON:
-import rawTypes from '../../../../../../config/types.json';
+import rawTypes from '../../../../../../config/types.json';
+
+const types = [...rawTypes];

function getLabel(data) {
  const { label } = types.find(
    el => el.type === data.type,
  );

  return label;
}

also fixes the issue.
So my diagnosis is: tree-shaking / or minifying / or module concatenating functionality, starting with 5.0.0-beta.31, stopped correctly recognizing Array.find on arrays imported from JSON files, causing them be "resolved" to void 0, and consequently, to no longer work.
webpack version: 5.0.0-rc.3
Node.js version: 14.5.0
Operating System: macOS Big Sur

Thanks for report!
Closing in favor of https://github.com/webpack/webpack/issues/11580


update copy to make formatting options clearer

Fixes https://github.com/denoland/docs/issues/1160 and https://github.com/denoland/docs/issues/1143


Prices and http headers changes

I just saw that you merged a couple of my open PRs, thanks! I have done some further work which I hadn't yet raised a PR for, here it is!
Changes:

Add some headers to API HTTP requests (recommended in API documentation
Add some utility methods for working with prices (nearest_price, ticks_difference and price_ticks_away

The individual commit message themselves have more detailed information in. One thing I should add: the nearest_price method is based on an implementation from: https://github.com/AlgoTrader/betfair-sports-api/blob/master/lib/betfair_price.js that code is under the MIT license, and so a copyright notice might need to be added ("The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software." - I'm not sure if this counts as a copy or "substantial portion").

This looks good, but I proposed a few additional changes in https://github.com/petedmarsh/betfair.py/pull/1. Feedback welcome. Thanks for your help!

I've amended the commits to remove the HTTP header stuff and include the whitespace/spelling changes from https://github.com/petedmarsh/betfair.py/pull/1. To be honest I don't think it's worth having code that generates the prices: they don't changefamouslastwords and they'll just be computed over and over every time someone loads the module for the first time, so I've left those changes out :)

I forgot to add - I'm in two minds as to whether the prices should be Decimals, on the one hand the accuracy is desirable but if they're used here they should really be used everywhere, i.e. the models should convert numbers from API response to Decimal, otherwise you can get type errors, e.g.:
Decimal('100') + 0.1
>>> TypeError: unsupported operand type(s) for +: 'Decimal' and 'float'

I went ahead and merged my revisions to the price module. I'm more concerned about code reuse and developer efficiency than the cycles we might save by not computing prices on import. Plus, it takes about 100 μs to build PRICES, and it's cached on import, so I'm not worried about performance :racehorse:.
Thanks again for the feature!


worlds/iris.world not working, iris.sdf missing

I cannot find the iris.sdf  file anywhere in the repo.
$ gazebo worlds/iris.world
Error [parser.cc:287] Error finding file [/home/pfrommer/Documents/quad/src/sitl_gazebo/models/iris/iris.sdf].
Error [parser.cc:745] Unable to read file[/home/pfrommer/Documents/quad/src/sitl_gazebo/models/iris/iris.sdf]
Error [parser.cc:826] Error reading element <world>
Error [parser.cc:395] Unable to read element <sdf>
Error [parser_urdf.cc:3423] Unable to call parseURDF on robot model
Error [parser.cc:310] parse as old deprecated model file failed.

I can find some xacro files under the urdf directory....

I had this issue as well, if I remember correctly the iris.sdf file is compiled during one of the make steps.

On Aug 11, 2017, at 3:25 PM, Bernd Pfrommer<EMAIL_ADDRESS>wrote:
I can find some xacro files under the urdf directory....
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


View revamp

Rework the view functions to allow for better control.
Also, allow for changing view's shape when using floating windows

Looks to be good enough to merge. I hope it doesn't break anything 🙏🏻


(feat) Update to use Gemini 1.5 Flash

Description
Thank you for opening a Pull Request!
Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[X] Follow the CONTRIBUTING Guide.
[X] You are listed as the author in your notebook or README file.

[X] Your account is listed in CODEOWNERS for the file(s).

[X] Make your Pull Request title in the https://www.conventionalcommits.org/ specification.
[ ] Ensure the tests and linter pass (Run nox -s format from the repository root to format).
[ ] Appropriate docs were updated (if necessary)

Note: I updated commit message but can't get check to re-run.

Note: I updated commit message but can't get check to re-run.

@aliciawilliams I changed the PR Header to the correct format and re-ran the check. (Note - I think the check still failed because there's only one commit, but it'll be fine because we're doing squash and merge)
For future reference, here's how to re-run checks.


Fine-tuning Problem

Dear author,
Thank you for open-sourcing such an excellent work with DDCoT. I have a question regarding the training process.
In Figure 5 of the paper, it is indicated that the Rationales are encoded and input into the model for fine-tuning. I understand Rationales to represent the reasoning process involving the breakdown into sub-questions and corresponding answers. However, when examining the fine-tuning code, I noticed that in main.py, the training dataset being loaded is the description of questions from ScienceQA, similar to MMCoT. Therefore, I would like to clarify what the input Rationales specifically consist of during the fine-tuning process of DDCoT.
Thank you very much for your time, and I look forward to your response!

Thank you very much for your recognition and interest in our work with DDCoT.
To clarify, during the fine-tuning process, we use the Rationales generated after applying the Integrate step for training. The detailed process for generating these Rationales is described in Section 3.2 of our paper. The loading process is implemented in the ScienceQADatasetImg class within the utils_data.py file. In the code, we use new_rationale_train.json and new_rationale_test.json as placeholders, which should be replaced with the files containing the Rationales generated following the described process.
Please feel free to reach out if you have further questions!


ui_test: build dependencies in locked mode unless bless is enabled

This should help ensure that tests are reproducible.

@bors r+

:pushpin: Commit 5c52a7695c26a96cd8d2a54e0756730c207b3240 has been approved by oli-obk
It is now in the queue for this repository.

:hourglass: Testing commit 5c52a7695c26a96cd8d2a54e0756730c207b3240 with merge 30d1c68206f5e85e841b82efdb6526db4f17f361...

:sunny: Test successful - checks-actions
Approved by: oli-obk
Pushing 30d1c68206f5e85e841b82efdb6526db4f17f361 to master...


[sca] Add initial implementation of SHA3 SCA program

This PR adds a program for SHA3/KMAC SCA. I also improved meson.build a bit and refactored the code for trigger selection and disabling peripherals, which will hopefully make it easier to add new programs in the future. I'll create a separate PR in lowRISC/ot-sca for the capture scripts. I also had to write some static functions for controlling KMAC to unblock this PR but these can be moved to the KMAC DIF library later.
I'm not sure what the attack(s) will look like but I guess we could approach this in two ways:

Performing a SHA3(key | message) operation (@moidx's suggestion), or
Loading the key to KMAC and performing a KMAC operation.

I went with the latter to exclude key loads from traces. That being said, (1) can also be easily implemented as a separate command handler if needed.
This change does not include a batch capture command and the current capture speed is ~100 traces/s. This is how traces look like:

The trigger is high for ~48 us but the traces are a bit longer to include the idle state as well. @eunchan told me that he would expect this operation (absorb with a 16 byte key and message) to take 3~4 us at 100 MHz. Since CW310 runs at 10 MHz and we also have some overhead due to DIFs, the length of the trigger seems to match our expectations.
Another thing to note is that since the KMAC operations require the CPU for FIFO writes, we cannot use sca_call_and_sleep as we did for AES and traces will have some additional noise as a result. I'm not sure if we can do something in HW to improve this for SCA.
Also, we have been calling this sha3_serial so far but maybe we should call it kmac_serial since it uses the KMAC peripheral. Please let me know what you think.

The hardware IP should trigger a "done" interrupt after the absorb step. So it may be possible to enter sleep after providing the message with dif_kmac_absorb and prevent the polling.
The message FIFO in hardware is 64 entries deep and thus sufficiently big to hold the entire message for this use case. But I don't know if the absorb already starts when writing the first message byte or only once writing the process command (currently inside kmac_absorb_end()). Depending on that, it may make sense to add a delay in hardware for SCA testing only as we have it for AES, too.

Thanks for the review @vogelpi, added to meeting notes. We should definitely discuss these with @eunchan when we start working on an attack.

This PR adds a program for SHA3/KMAC SCA. I also improved meson.build a bit and refactored the code for trigger selection and disabling peripherals, which will hopefully make it easier to add new programs in the future. I'll create a separate PR in lowRISC/ot-sca for the capture scripts. I also had to write some static functions for controlling KMAC to unblock this PR but these can be moved to the KMAC DIF library later.
I'm not sure what the attack(s) will look like but I guess we could approach this in two ways:

Performing a SHA3(key | message) operation (@moidx's suggestion), or
Loading the key to KMAC and performing a KMAC operation.

I went with the latter to exclude key loads from traces. That being said, (1) can also be easily implemented as a separate command handler if needed.
This change does not include a batch capture command and the current capture speed is ~100 traces/s. This is how traces look like:

The trigger is high for ~48 us but the traces are a bit longer to include the idle state as well. @eunchan told me that he would expect this operation (absorb with a 16 byte key and message) to take 3~4 us at 100 MHz. Since CW310 runs at 10 MHz and we also have some overhead due to DIFs, the length of the trigger seems to match our expectations.
Another thing to note is that since the KMAC operations require the CPU for FIFO writes, we cannot use sca_call_and_sleep as we did for AES and traces will have some additional noise as a result. I'm not sure if we can do something in HW to improve this for SCA.

can you clarify this a bit? We don't have a DMA in our system, so wouldn't we need to CPU to do data moves even for AES? I didn't completely follow.

Also, we have been calling this sha3_serial so far but maybe we should call it kmac_serial since it uses the KMAC peripheral. Please let me know what you think.

can you clarify this a bit? We don't have a DMA in our system, so wouldn't we need to CPU to do data moves even for AES? I didn't completely follow.

@tjaychen: Sure, for AES, we first load the data to AES_DATA_IN_* registers, then start the encryption manually by writing to the AES_TRIGGER register. AES is configured to start 40 cycles after this which gives us enough time to put Ibex to sleep.

I will merge this PR after CI runs since we will probably do a few iterations while working on an attack.


[DOCS] Transition Frontier

NB: There are still some TODOs, and this documentation does not fulfill the doccomment requirements layed out by the new guidelines. I will be addressing these before this lands, but wanted to get this up as an example doc so that we can discuss and commit to this pattern.

!ci-build-me

!ci-build-me

!ci-build-me


Add aside nav bar

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
I am a gssoc23 contributor. please assign this issue to me @thestarsahil

Elaborate it !

similar to this

How this will help in this project
Can you make a prototype or UI to describe and understand well

would help in easy navigation to different pages


Please add support for one more command

Hi,
I would like to ask if it is possible to add support for one more command for memcached?
lru_crawler metadump all
Best regards

Try to use:
const client = new Memcached('<IP_ADDRESS>:11211');
client.command({
    command: "lru_crawler metadump all",
    callback: (err, data) => console.log(err, data),
})


Error with MoorhenMap.autoReadMtz

Hello,
I just updated to the new version 0.10.0 and I am getting an error after calling MoorhenMap.autoReadMtz:

The CCP4 module that was loaded is the 32 bit one.
Opening the same files with version 0.9.4 works.
It seems the Auto open MTZ is broken on https://moorhen.org/ too: when I do it there, I do not get an error but nothing happens.

Thanks for reporting this, I can reproduce the error as well.

The function get_mtz_columns used to be included in the front-end wasm blob (a.k.a web_example.js) see here:
https://github.com/moorhen-coot/Moorhen/blob/787cbb6dbfa5550f338fc26bc3ed5e60034d3fd4/wasm_src_frontend/web_example.cc#L338
This blob is no longer used, so we should include this function in the moorhen.js wasm blob. I tried doing this myself but the compiler complained about some missing functions/types (it went above my head). @stuartjamesmcnicholas could you take a look?

Hopefully this is fixed in 909f3f70a0d2b23385f61a3e3456350280f80f7b.

Thanks @stuartjamesmcnicholas I can confirm this works now.

Thanks a lot!


refactor(hesai): per-sensor diagnostic struct definitions

PR Type

Bug Fix

Related Links

Description
Hesai LiDAR TCP errors are occurred. To fix it, TCP Structs and other processes are fixed in this pr.
Review Procedure

Remarks

Pre-Review Checklist for the PR Author
PR Author should check the checkboxes below when creating the PR.

[x] Assign PR to reviewer

Checklist for the PR Reviewer
Reviewers should check the checkboxes below before approval.

[ ] Commits are properly organized and messages are according to the guideline
[ ] (Optional) Unit tests have been written for new behavior
[ ] PR title describes the changes

Post-Review Checklist for the PR Author
PR Author should check the checkboxes below before merging.

[ ] All open points are addressed and tracked via issues or tickets

CI Checks

Build and test for PR: Required to pass before the merge.

@ike-kazu Thank you!
I'll test with real sensors this week, after which we can merge.

Evaluation
I have reduced the remaining log spam to a minimum and implemented the missing QT128 support.
I also added sensor-specific parsing of HesaiInventory.
Due to the datasheets available to me not being quite up-to-date, some of the sensors still cannot be parsed correctly and some of the diagnostics (listed below the first table) are still incorrect.
The sensors we currently use in-house (Pandar40P, XT32, AT128, QT128, OT128) are all working as expected apart for some minor issues listed below.
No PandarQT64 was available for testing.
Summary

Criterion
Pandar40P
Pandar64
XT32
AT128
QT128
OT128

All structs parsed warning-free?
:green_circle:
:red_circle:
:red_circle:
:green_circle:
:green_circle:
:red_circle:

All diagnostics correct?
:green_circle:
:red_circle:
:red_circle:
:green_circle:
:green_circle:
:green_circle:

PTP diagnostics correct?
:green_circle:
:red_circle:
:green_circle:
:green_circle:
:green_circle:
:green_circle:

Nebula running without errors?
:green_circle:
:green_circle:
:green_circle:
:green_circle:
:green_circle:
:green_circle:

Pandar64: startup_times, total_operation_time, ptp_status always 0
XT32: input_current, input_power have wrong values
OT128: inventory returned from sensor has many more bytes than what the datasheet says, but all parsed information is correct.

Diagnostics Output

Model
PTP off
PTP on

Pandar40P

Pandar64

XT32

AT128

QT128

OT128


[UpdatePlugin]  Martin Petran ghinja 1.2

Please update my plugin:
Author: Me
Repo name: ghinja
Release: https://github.com/Martyx00/ghinja/releases/tag/1.2

Sorry for the delay, done.


New value doesn't exist when pushed to slice within map

Go program example:
package main

import (
	"fmt"

	"github.com/dop251/goja"

	_ "embed"
)

//go:embed handler.js
var js string

type Data struct {
	Map map[string]any `json:"map"`
}

func main() {
	vm := goja.New()
	vm.SetFieldNameMapper(goja.TagFieldNameMapper("json", true))
	_, err := vm.RunString(js)
	if err != nil {
		panic(err)
	}

	var handler func(data *Data) any
	err = vm.ExportTo(vm.Get("handler"), &handler)
	if err != nil {
		panic(err)
	}

	data := &Data{
		Map: map[string]any{"slice": []any{"foo"}},
	}

	handler(data)

	fmt.Println(data)
}

handler.js
function handler(data) {
    data.map.slice.push("bar");
}

As you can see in the js, I push a value onto the slice within the map. I would expect the output of this program to be
&{map[slice:[foo bar]]}

But instead, I get this
&{map[slice:[foo]]}

It works as expected if I rewrite my js to look like the following
function handler(data) {
    const slice = data.map.slice;
    slice.push("bar");
    data.map.slice = slice;
}

Yeah, I would expect that too. Unfortunately, this is not how Go works. Values in maps are not addressable, so when you take it out of a map you get a copy. Your code is equivalent to
	m := make(map[string]any)
	m["slice"] = []any{"foo"}
	s := m["slice"].([]any)
	s = append(s, "bar")

	fmt.Println(m["slice"])

The solution is to always store non-primitive values as pointers in maps.
This behaviour is documented, see https://pkg.go.dev/github.com/dop251/goja#Runtime.ToValue


handle ctrlc while sending files

This is the simplest approach

This handles unused events https://github.com/lemunozm/termchat/pull/16/commits/4c3c90fbc85527de1643a4f3848ed9dc70d1f921
Also there is this method with channels https://gist.github.com/sigmaSd/393b475e3ed3ebec48fedcaabd150e19
but this requires you expose the receiver, so its possible to clone it (crossbeam channel is multi receiver)

And obviously  the third option is to ignore events when sending.
These are the methods I could find.

Also regarding the current method used by this pr, I think if message-io Receiver exposed try_recv/try_iter it would help make it better, so recv_timeout is not needed.
If you still want receive to be called from one place, we probably can make a send event and add it here https://github.com/lemunozm/termchat/blob/master/src/application.rs#L35 .
I'm not sure how feasible that is though.

I think if .receive_event_timeout(std::time::Duration::from_millis(100)) is replaced with .try_iter[1]  it would make this pr Ok

it handles ctrlc
doesn't loose any event
the only problem is design wise it calls receive in two places, but  this is a synchronous part of the code-base so receive is called from only one location at a time

[1] https://docs.rs/crossbeam-channel/0.5.0/crossbeam_channel/struct.Receiver.html#method.try_iter

I think that the main problem is that while you are sending, the application loses its "asynchronous" mode with the current approach. For example, if I sent a big file (several seconds of transfer), and the other sent me a message, I will not process that message until my file was entirely sent. So, the problem is not only the ctrlc events, could be any other event.
The Send event (that sent a chunk of data) is the best scalable approach. For code organization (only one receive call) and continues de "asynchronous" mode that allows scale the application better.

I like the try_recv idea, bit if that event is after 1000 events in the queue, How it should be works in message-io? dequeue and enqueue those events?

Isnt that crossbeam job?, so Event try_recv just calls try_recv on the internal receiver
Regarding the send event (actually the readfile event, the sending should happen in the main loop) the more I think about it, i think its actually doable.

https://github.com/lemunozm/termchat/pull/17

Sorry, I misunderstand you with the try_recv, I thought that you want to expect a concrete Event type. try_recv could be a valid shorthand for something like receive_event_timeout(Duration::default()).is_some().
The idea in message_io to keep the things scalable is to call to the receive from one place. Call received from several places could not scale well, could lose some events, or have some decrement in performance (reinjecting events), and the code is more difficult to manage. In some way, message-io acts as a framework giving a point from the event should be processed and the application must adapt to it. message-io converts your application into an application message based.
Having said that, and in order to organize the ideas and sumarize, there is two differentiated command implementation in termchat:

Synchronous command: Block the application event processing to make their processing (for example, writing a simple user message).
Asynchronous commands: Should deal with events, because for several reasons they can not block the event processing. I can distinguish 2 reasons:

Need an external asynchronous input in some part of their processing.
Are in fact synchronous processing, but their computation takes so much time that is not viable to block the application event processing. This PR when the files are really big.

In our case, if we consider that sending a big file can not block the application, that command should be asynchronous


Set window size 1920x1080

Is it possible to force the size of the window that Cage uses to 1920x1080?

Duplicate of https://github.com/cage-kiosk/cage/issues/257


Simplify language of waypoint description

Replaced existing first sentence:
"Functions can take input with parameters. Parameters are local variables that take on the value of the arguments which are passed into the function."
With user suggested sentence:
"Parameters are variables that act as placeholders for the values that are to be input to a function when it is called. When a function is defined, it is typically defined along with one or more parameters. The actual values that are input (or "passed") into a function when it is called are known as arguments."
Thanks for the patience Saint Peter :)
Closes #5800

:+1:


Observable notebooks

create<EMAIL_ADDRESS>account and transfer these notebooks to that account
https://observablehq.com/@ascott

created an account with the admin@participedia gmail account and forked all of the notebooks.
https://observablehq.com/@participedia


✨ refactor: better markdown detection

Checklist

[ ] The title of my PR starts with a Conventional Commit prefix (fix:, feat:, docs: etc).
[ ] I have read the Contributor Guide and followed the process outlined for submitting PRs.
[ ] I have updated/added tests for new/updated/fixed functionality.
[ ] I have updated/added dartdoc comments with ///.

Breaking Change

[ ] Yes, this is a breaking change.
[ ] No, this is not a breaking change.

Related Issues

Codecov Report

Merging #887 (9042adb) into main (0e28d5d) will increase coverage by 4.79%.
The diff coverage is n/a.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@            Coverage Diff             @@
##             main     #887      +/-   ##
==========================================
+ Coverage   82.17%   86.97%   +4.79%
==========================================
  Files         253       10     -243
  Lines        3198      238    -2960
==========================================
- Hits         2628      207    -2421
+ Misses        570       31     -539

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


Can not work with "extends" configuration

After configuring the extends field in the biome.json file, is it possible that the VSCode plugin may not effectively utilize this configuration?

I will close this issue because there hasn't been any activity for a month, and I believe it has been answered. If you feel otherwise, feel free to reopen.


Create a mock server to test challenges

I don't think we can test challenges at runtime without exposing credentials and passwords.
Let's mock those servers so we can get the routine tested properly and we can execute on staging live after we get ACME V2 working without problems.

You might find Pebble to be helpful for this. It also includes a test server for responding to challenges.

Thanks @cpu. I'll take a look at it.

Peeble running locally. Now we're cooking! @cpu
So the idea here is automate on peeble and test manually at stage?

Peeble running locally. Now we're cooking! @cpu

Nice! :man_cook:

So the idea here is automate on peeble and test manually at stage?

:+1: I think that's a good approach. If you carefully implement the automated tests to accept a server URL you should be able to run them against staging by just changing the target server in a one-off manner before cutting a release.
I generally don't recommend folks run automated tests against staging as part of every CI cycle because it can make builds somewhat unreliable when you depend on a networked service (e.g. we have planned maintenance periods and it shouldn't block dev work). Pebble works better for reliable CI tests :-)

@cpu you got it. Pebble on.


download linuxkit instead of building, as it is a basic tool; eliminate eve-build-<user> image from most activities

This changes the Makefile so that linuxkit is downloaded directly from its GitHub release page as a compiled binary, rather than downloading the repo and compiling it. It also eliminates the need for a "linuxkit.version" flag file, but checking the actual linuxkit version against the desired version by running linuxkit version --short. As of v1.3.0, linuxkit supports that syntax.
The real benefit, though, is that it eliminates the need for building that eve-build-<user> docker image, unless you take an activity that requires it (like make shell). Those activities are all developer-specific ones. With this change, it will build that only if you take one of those activities.
make eve-pillar is not one of those activities, nor is any of the other make eve-* ones for packages, or even make eve.
This will make getting to the actual build part of make commands faster.
Also, perhaps even more importantly, it eliminates the usage of that image from the GitHub Actions pipelines. That means no more pulls of golang or similar for that purpose. This will make logs cleaner, and a lot fewer pulls of rate-limited images. We were pulling them with every single run of any command to the Makefile. That goes away.

A few things:
First, I do not understand why the riscv64 PR build failed.
Second, it looks like make eve still tries to create eve-build-ubuntu. See for example this line (arm64, xen, generic) or this line (amd64, kvm, generic).
I cannot recreate it locally. If I try to run the same make command as in the workflow logs, I do not get it trying to build the eve-build-* image.
It does not build for the pkgs, which is a definite step up. But we should resolve the rest before merging this in.

I can see tons of lines in workflow (something like tar: Ignoring unknown extended header keyword...) can you please check?

Yes, I know what it is. linuxkit tracks information on each file that was placed into its tar (rootfs.tar) so it can know efficiently if it needs to redo them when rebuilding. It turns out to make it significantly faster (multiple times) to regenerate. Added in this PR. This was an efficiency idea from @rouming, which turned out to be really helpful.
It stores the additional info as PAX headers on the files. Not every version of tar recognizes extended PAX headers. Those that do not, usually treat it as a warning, which is convenient. It continues to work backwards-compatibly.
The messages you are seeing is because we call tar xf rootfs.tar in make sbom, and since gnu tar on the runner does not support those headers, it will give the message.
We probably can (should?) fix it, although unrelated to this PR. We can suppress it with tar --warning=no-unknown-keyword. Separate PR for that, methinks.

Mind, tar --warning= only works on GNU tar, whereas bsdtar has no issues with those. Probably need to check tar version first.

It looks like the packages job in build.yml is getting the latest Makefile but the eve job is not? I added a temporary commit that dumps the Makefile to see.

First, I do not understand why the riscv64 PR build failed.

This was transient, rerunning it fixed it.

Second, it looks like make eve still tries to create eve-build-ubuntu. See for example this line (arm64, xen, generic) or this line (amd64, kvm, generic).

This was due to an update necessary in build.yml unrelated to this PR. Yash is fixing that one, when it is done, I will rebase this PR on that fix.

Yash fixed it, rebased, should be clean now. Will follow closely.

I can confirm that the build now does not try to build linuxkit or the eve-build-ubuntu image! I checked multiple make calls in the action run logs.


Preserve manifest file

#211 allow to preserve the manifest file

Thanks. How was this tested?

It has been (manually) tested in an actual project build.

Thanks for the merge. Looking forward to the next release!

@lasselindqvist Any foreseen date for the next release that includes this feature?

https://github.com/wvengen/proguard-maven-plugin/commits/master
I think this should be in 2.6.0. Can you confirm?

It seems to be in 2.6.0 indeed. Sorry, I couldn't find that release on the release page https://github.com/wvengen/proguard-maven-plugin/releases.


Support: How can Use Livewire Volt with InterNACHI/modular

I like volt due to its colocation features. So I am using volt  component instead of regular livewire component. How can use it?
Thanks

I'm using it with volt. Just needed to mount the module's path in VoltServiceProvider.php
Volt::mount([
    resource_path('views/livewire'),
    resource_path('views/pages'),
    base_path('/app-modules/module/resources/views'),
]);

Thank you @benbjurstrom


[Function Request] codeunit 90 "Purch.-Post" CopyAndCheckItemCharge

Hello,
We would like to have CopyAndCheckItemCharge procedure declared as global. We use it in our document validation codeunit and we don't want to duplicate code.
Similar situation to https://github.com/microsoft/ALAppExtensions/issues/21979.
Thank you

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 10134.


Improve the performance of user data lookups by changing from string to enum

This change updates the UserData dictionary to use enum keys instead of string keys, resulting in a marginal (observable to an astute user) performance improvement in opening the GCStats window. It may improve other areas as well, but I have not collected data to say for sure.
⚠ I believe this is an API change in the TraceEvent library, and based on the name I must assume that users will notice. The GetOrCreateKnownUserData method aims to provide a new way to accomplish the same underlying operation. I'm not sure what the project stance on long-term compatibility is, or how users feel about API changes which are implemented to improve overall performance.

This needs a more careful/thoughtful look.   If I don't get back to you by Monday, nudge me again.

I'm going to close this one for now. There are too many alternatives which seem better for the performance-critical paths where this data tends to be used.


exposition format: Move protobuf format to proto3

Since proto3 has no "unset" values anymore, we need to have all the values that may be "unset" (and where that has a meaning different from "default value") to be repeated, specifying that the value is repeated either zero times or once.
While doing so, we could also allow multiple samples in a single protobuf message (which must be timestamped then). This has to be added in the spec.
All these changes are backwards compatible with the proto2 protobufs.
See relevant discussion in https://github.com/prometheus/client_model/issues/13

Just keep in mind that the text format should have the same capability.

The text format already has this capacity.

Just keep in mind that the text format should have the same capability.

The text format already has this capacity.

What capability/capacity are you referring to? (And are you referring to the same one?)

What capability/capacity are you referring to? (And are you referring to the same one?)

"The capability" seems to be,

While doing so, we could also allow multiple samples in a single protobuf message (which must be timestamped then).

Since our current use of protobuf for exposition is going away, and the new way that might come with OpenMetrics will be done from scratch, this issue is obsolete.


Finish unit test for ItineraryController

finish unit tests for #878 (stubs provided). Unit tests live in ItineraryAdminControllerTests. Please reach out to me with any questions

Caught the standup this morning and now looking for a place to jump-in. Mind if I start here just to get acquainted/ramped-up or would you prefer I start elsewhere?
cc: @mgmccarthy @tonysurma

Thanks for jumping in.  This would be a great place to start.

@cj-taylor, the unit tests are a great way to start getting familiar with the source code, so please jump in!
If u have any implementation questions, feel free to reach out to me.


Fork-Join timeout is not working

I tried with a slowed(for 10s) backend and set the timeout to 3s(3000ms).  After 10s I am getting the response from the backend and didn't happen the timeout. please see the sample code below.
function testJoinAll()(message){
    message[] responses;
    message m={};

fork(m){
    worker worker1(message msg1){
        http:ClientConnector ep1 = create http:ClientConnector("http://localhost:8088/mockGlobalWeatherSoap");
        system:println("wk1");
        string msgs = "wk1";
        message resp1 = http:ClientConnector.post(ep1,"",msg1);
        reply resp1;
    }
    worker worker2(message msg2){
        http:ClientConnector ep2 = create  http:ClientConnector("http://localhost:8088/mockGlobalWeatherSoap");
        system:println("wk2");
        message resp1 = http:ClientConnector.post(ep2,"",msg2);
        reply resp1;
    }
    worker worker3(message msg3){
        string msgs = "\n wk3";
        //message:setStringPayload(msg3, msgs);
        system:println("wk3");
        message:setStringPayload(msg3, "test");
        reply msg3;
    }
}
join(all worker2)(message[] replies){
    responses = replies;
}
timeout(3000)(message[] failures){
    string messageE = "Error Occurred.";
    message res = {};
    message:setStringPayload(res, messageE);
    system:println(messageE);
    responses[0] = res;
}
    string m1 = message:getStringPayload(responses[0]);
    string final = m1;
    message mfinall = {};
    message:setStringPayload(mfinall,final);
    return mfinall;
}

In a fork-join scenario, timeout in seconds makes more sense and millisecond level resolution is not required at this level. Hence it is better to use seconds.

Fix the documentation with https://github.com/ballerinalang/ballerina/pull/2077

Closing the issue, since the docs are fixed.


chunker of the Groth16 verifier program

Hi, we have completed our chunks of the Groth16 verifier program. Each chunk complies with Bitcoin's consensus rules, including stack depth and the total size of witnesses and scripts and will generate script and witness for each branch of disprove transaction.

All chunks are located in the src/chunker/ folder.
The test case test_hinted_groth16_verifier can be found in src/chunker/chunk_groth16_verifier.rs.
For the bit commitment part, we've included the BCAssigner trait to adapt to the BitVM bridge, located in src/chunker/assigner.rs.
Special thanks to @wz14, @panjone, @dylan, and the support from Bitlayer.

This is great!
I had a quick look at the code and I am a bit confused how we'd use this in the bitvm setup. It seems like groth16_verify_to_segments is the main function to calculate the segments. However, this function takes as input the program proof and the public inputs. In a bridging setup, these are not known when setting up the scripts - these are to be input later on  via bit commitments. Is supporting such a setup still to-do at the moment, or am I missing something?

I had a quick look at the code and I am a bit confused how we'd use this in the bitvm setup. It seems like groth16_verify_to_segments is the main function to calculate the segments. However, this function takes as input the program proof and the public inputs. In a bridging setup, these are not known when setting up the scripts - these are to be input later on via bit commitments. Is supporting such a setup still to-do at the moment, or am I missing something?

In general the idea is to reuse code for the compilation step in the actual evaluation/assert/disprove step. Thus, at compile time one can provide a placeholder proof that will only change the hints but alwasy return the same scripts. At run time the correct proof is provided which will fill in the correct hints.

Good point! The segments should work as Lukas mentioned. We are trying to add more unit test cases to show the placehoder works as Lukas mentioned.

Thank you guys. That's amazing work!
When I run the test_hinted_groth16_verifier it creates 1071 segments. I noticed in the code that the segments may have multiple inputs and outputs. So as I understand we might need even more than 1071 commitments in the assert transaction. Is my assumption correct? Do you know how many there are?

Thank you guys. That's amazing work!
When I run the test_hinted_groth16_verifier it creates 1071 segments. I noticed in the code that the segments may have multiple inputs and outputs. So as I understand we might need even more than 1071 commitments in the assert transaction. Is my assumption correct? Do you know how many there are?

The  code was updated,  now segments size is 975 and commitments size is 1079.

Good point! The segments should work as Lukas mentioned. We are trying to add more unit test cases to show the placehoder works as Lukas mentioned.

We add a new test case 'test_hinted_groth16_verifier_stable' located in  src/chunker/chunk_groth16_verifier.rs,  which could show the placeholder works. @sander2 @lucidLuckylee

Thank you guys. That's amazing work!
When I run the test_hinted_groth16_verifier it creates 1071 segments. I noticed in the code that the segments may have multiple inputs and outputs. So as I understand we might need even more than 1071 commitments in the assert transaction. Is my assumption correct? Do you know how many there are?

The code was updated, now segments size is 975 and commitments size is 1079.

The assert transaction will be about 3.6M (by using Winternize Signature and 16-byte version Blake3 Hash) and each slash transaction will be under the limitations of Bitcoin's consensus rules, including stack depth and the total size of witnesses and scripts.


Hilt with lsParanoid

An Exception is thrown after building a project that uses Hilt. It only works when the project doesn't have any caches.
Exception:
Caused by: org.gradle.api.UncheckedIOException: java.util.zip.ZipException: duplicate entry: dagger/hilt/internal/aggregatedroot/codegen/_com_example_lsparanoidtest_App.class
at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:62)
at org.gradle.internal.UncheckedExceptio
n.throwAsUncheckedException(UncheckedException.java:41)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:128)
Here is a demo project : lsparanoidDemo.zip
Do you have any Solution for this Issue?

@BreadInjection  I have the same problem.
did you solve it?


In opened(), closing connection would crash the server

I think the title sums it up.
I need to kick out clients when IP address is duplicated (cannot connect twice with the same IP)
This is a pat of the dump
File "/Users/millerf/Documents/www/Python/mzk_local/mzk_local/mozaikserver/websocketendpoint.py", line 44, in opened
self.close(error.code,error.message)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ws4py/websocket.py", line 176, in close
self._write(self.stream.close(code=code, reason=reason).single(mask=self.stream.always_mask))
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ws4py/streaming.py", line 141, in close
return CloseControlMessage(code=code, reason=reason)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ws4py/messaging.py", line 145, in init
data += struct.pack("!H", code)
error: integer out of range for 'H' format code
Does it make any sense?

Same error using gevent or wsgiref servers

I tried the example for cherrypi, I cannot connect any client (in python or browser)
Traceback (most recent call last):
File "tests/test_client_ws.py", line 20, in
ws.connect()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ws4py/client/init.py", line 231, in connect
self.process_response_line(response_line)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ws4py/client/init.py", line 284, in process_response_line
raise HandshakeError("Invalid response status: %s %s" % (code, status))
ws4py.exc.HandshakeError: Invalid response status: 200 OK


Builds failing in GCC 5/new ABI

I'm having issues building ngx_pagespeed on Fedora Rawhide (aka Fedora 23), but not Fedora 19-22. I suspect the issue is steming from GCC 5's ABI change.
Full output of obj/autoconf.err: http://paste.fedoraproject.org/203083/27353406/, what I suspect is the relevant error below:
checking for psol
/tmp/ccWlcgjO.o: In function `base::BasicStringPiece<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::BasicStringPiece(char const*)':
autotest.cc:(.text._ZN4base16BasicStringPieceINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2EPKc[_ZN4base16BasicStringPieceINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC5EPKc]+0x1f): undefined reference to `base::internal::StringPieceDetail<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::StringPieceDetail(char const*)'
/tmp/ccWlcgjO.o: In function `net_instaweb::HtmlParse::ParseText(base::BasicStringPiece<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > const&)':
autotest.cc:(.text._ZN12net_instaweb9HtmlParse9ParseTextERKN4base16BasicStringPieceINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE[_ZN12net_instaweb9HtmlParse9ParseTextERKN4base16BasicStringPieceINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE]+0x29): undefined reference to `base::internal::StringPieceDetail<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::size() const'
autotest.cc:(.text._ZN12net_instaweb9HtmlParse9ParseTextERKN4base16BasicStringPieceINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE[_ZN12net_instaweb9HtmlParse9ParseTextERKN4base16BasicStringPieceINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE]+0x38): undefined reference to `base::internal::StringPieceDetail<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::data() const'
collect2: error: ld returned 1 exit status

The above linked article says to use the old ABI by specifying '-D_GLIBCXX_USE_CXX11_ABI=0'. Compiling ngx_pagespeed with
./configure --add-module=$HOME/ngx_pagespeed-release-<IP_ADDRESS>-beta --with-cc-opt="-D_GLIBCXX_USE_CXX11_ABI=0" works as expected.
I'm not too sure where the option should be added (documentation, somewhere in cpp_feature or config, ???), but can test & submit a pull request if someone can point a good location out.

That makes sense.  I think us documenting a requirement of -D_GLIBCXX_USE_CXX11_ABI=0 makes sense: we're usually the only c++ module people are compiling into nginx.

Before updating the doc I need to make check whether old g++ chokes on D_GLIBCXX_USE_CXX11_ABI=0 or just ignores it.

Checked with 4.8.1: passing in -D_GLIBCXX_USE_CXX11_ABI=0 is fine.

Building it for CentOS 6, 7 & Fedora 20-22+Rawhide worked just fine, that covers GCC 4.4.7-5.0
If it's just added in the documentation, it could be a footnote along the lines of "If you're compiling with GCC 5.0, add  --with-cc-opt="-D_GLIBCXX_USE_CXX11_ABI=0". I don't think any other major distro is using GCC 5 yet, and Fedora 23 is only planned to be released in November, so there's ~8 months to think of something better.

I'll plan to put --with-cc-opt="-D_GLIBCXX_USE_CXX11_ABI=0" in the documentation for now, and our next release will use nginx's config scripts to do the same thing.
Is there any reason to restrict the documentation note to people on 5.0 and above?  Its easiest for users installing to just run the commands without having to look up versions.

Very true - it would be marginally simpler to read until you're the one running GCC 5.
Yeah, there's no real reason not to include it as part of the command.


Add support for multiple text elements on canvas #26 UPDATE

UI Changes

Add a new "Add Text" button next to the existing controls
Consider renaming the "Save" button to "Update" for clarity

Benefits

Users can create more complex designs with multiple text elements
Increased flexibility and functionality of the text editor
Improved user experience for creating diverse canvas designs

Potential Challenges

Ensuring smooth performance with multiple text elements
Implementing an intuitive selection mechanism for editing specific text elements
Updating the undo/redo functionality to work with multiple elements

Additional Considerations

We may need to update the drag functionality to work with individual text elements
The capitalize/lowercase buttons should apply to the selected text element
Consider adding a way to delete individual text elements

Next Steps

Discuss the proposed changes with the team
Create a new branch for this feature
Implement the changes and test thoroughly
Update documentation to reflect the new functionality
Create a pull request for review

Please comment with any suggestions or concerns about this proposed feature.

Kindly check now

@vishanurag Please comment with any suggestions or concerns about this proposed feature.

From next time, please try to mention the issue no. on the top of first comment of pr.

Thank you for your guidance over this.

No problem.


Unref uv timers/tcp handles

Fixes #14947.
@mehrdada This is a release blocker
During #14599 there was some offline discussion regarding the unrefing of uv_handles in gRPC.
At the time, we weren't sure exactly why we were doing it, and when I removed the unrefing it appeared that all the node tests and c-core libuv tests were passing, so I left it out.
It turns out this is very much necessary.
The failures were not noticed immediately because they don't show up in the node unit tests, only the interop tests.  The Node interop tests that get run on PRs don't use the pending changes to c-core, so I did not notice the failures at the time.

Do we need to ship an RC3 for all languages or just Node?

@mehrdada
Just Node

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

If Node hasn't published its RC2 yet, I think we should just build at head of 1.11.x and publish it as RC2 for Node, increment the version to final on Friday, ship final packages for every other language right then, and then Node can wait a bit to see things settled down and publish it as final. Sounds reasonable?

[microbenchmarks] No significant performance differences

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

[microbenchmarks] No significant performance differences

Can you please explain to me what happens if you don't have the #ifndef ? More specifically, why wouldn't we be able to always unref timers after their creation, like what the original code was doing ?

For reference: https://github.com/grpc/grpc/blob/v1.10.x/src/core/lib/iomgr/timer_uv.cc#L71

After the refactor, I simplified the custom pollset implementation to only have a global shutdown method.
Before, there was also an individual pollset shutdown function that was only used when running the c-core libuv tests that would spin the loop to make sure all callbacks were run.
After the refactor, I switched the global shutdown to spin the libuv loop until there were no active/referenced uv objects.
#ifdef GRPC_UV_HOLD_LOOP
is only defined for the c-core tests.

I understand that part, but what I don't see is why we couldn't unconditionally unref the timers even during tests. What breaks exactly if we do ? Timer-only tests ?

When I unconditionally unrefed the tcp endpoints, the uv-loop exits before all tcp-shutdown callbacks are called (which caused memory leak asan failures).
I suspect something similar would happen for timers.

So, what I am getting at is that by doing something one way in node, and another way in tests, we're putting ourselves in a situation where we're not testing what actually happens in reality. What I am inferring from your last response is that if doing this unref can cause memory leaks in tests, doing it in the node codepath only might cause memory leaks in node that will then go undetected because we're not doing it when testing for memory leaks.
Moreover, I am also getting the feeling that this is caused by the global pollset shutdown change, indicating that the rootcause of this is in fact in there, and that it wasn't the right thing to do to begin with. This is where the fix needs to happen, not with this workaround.
Or to be more blunt, you can't keep adding kludges to fix other kludges.

@nicolasnoble Shall we skip a Node release in 1.11?  I am concerned about a rushed release after deeper fixes in core without going to a proper QA process. The next branch cut (1.12) is April 23 and 1.12 is planned to be released on May 7.  I am partial to skipping Node 1.11 and going with a release from the head of 1.11 as is without this PR. What do you think?

So my short answer here is "no". There are lots of changes in grpc/grpc-node that our users are waiting for, and some of our future release schedule depend on features being released now.
Now, I am going to suggest something potentially controversial, but since grpc/grpc-node is its own separate repository, grpc-node could still be released for version 1.11, but with the grpc-core submodule being pointed at 1.10. This might create the possibility that some of the grpc-node users will be puzzled as to why some grpc-core bugfixes in 1.11 aren't present in grpc-node 1.11, but this would allow us to move forward nonetheless.

@nicolasnoble That sounds an acceptable resolution to me, especially since 1.12 feature window will be quite short anyway.


Can arcsv genotype samples using a ref complex-SV vcf files

Hi,
Thank you for developing this wonderful tool.
I have learned that arcsv can call complex-SVs in each sample. I was wondering that is it possible that I merge all sample's complex-SV calls into one file, and use the merged SVs to genotype all the samples? Or if I identified some complex-SVs by comparing two genomes, could I use arcsv to genotype these SVs in population samples?
Thank you
Best wishes,
Songtao Gui

Thanks for the feedback! To answer your questions:

I have observed many SVs called identically in multiple samples, however, so a simple de-duplication step may be sufficient here. Merging different SVs into a common one is a tricky problem, however -- even for simple SVs.
Genotyping new samples based on an existing set of complex SVs (from ARC-SV or somewhere else) is not possible, unfortunately. ARC-SV is actually very well-suited to this task, so some genotyping-only mode may be added in the future.

Dear Joey,
Thank you for you reply.
I will try merging each sample's SV .
Best wishes,
Songtao Gui


West notes for 2.6

Latest push is just a typo fix and a link from the release notes to the west spdx docs.

@mbolivar-nordic not sure if you need to rebase to get the doc fix that I merged.


Adds pause and resume

This adds pause and resume functionality which I need for my project :-)
By adjusting the startTime we can resume the animation from where we left off and avoid flickering.

Nice one.


[resolves #666] Password must have at least 1 non-alphanumeric symbol

Refer to this link for build results (access rights to CI server needed):
https://fabric8-ci.fusesource.com/job/wildfly-camel-pullreq/473/
Test PASSed.


MM-16110: Only use slack attachments when there is something to show …

Ticket: https://mattermost.atlassian.net/browse/MM-16110
@jasonblais if there are fields (Assignee or Priority) and no description, there will be an empty line in the slack attachment prior to the fields. It's not a huge amount of space though. Otherwise should work.

if there are fields (Assignee or Priority) and no description, there will be an empty line in the slack attachment prior to the fields. It's not a huge amount of space though. Otherwise should work.

Thanks Lev, that should be fine


Introduce a component selection descriptor factory

Fixes #13606

@bot-gradle test this

OK, I've already triggered ReadyForMerge build for you.


Text extractor lang switch by current keyboard layout

Description of the new feature / enhancement
Hello!
Is it possible to add the ability to switch the recognition language on Text extractor depending on the current keyboard layout?
Thanks!
Regard, Alex.
Scenario when this would be used?
copy text from scanned books
Supporting information
No response

+1 on this. I often need to scan different languages and currently I must go to PowerToys settings everytime to update the language. Either this idea or a hotkey (with some form of a visual feedback to know which language is used now) would be very nice.

/dup #23686


Use cups-pdf with cups-filters to print doesn't  have effect

Describe the bug
When I use the cups-pdf in Linux alone to print, I can see that the printed PDF content is normal. However, when I use cups-pdf with cups-filters，the printed content is empty. I don't know what's causing it and how to locate and fix it. Could you give me some advice ?  Thanks a lot.
To Reproduce
Steps to reproduce the behavior:

install the cups-filters and cups-pdf
configure the cups-pdf and add the cups-filter to the cups-pdf's ppd configure file

lpinfo -m | grep -i pdf
cat /usr/share/cups/model/CUPS-PDF_noopt.ppd | grep filter
lpadmin -p cups-pdf -v cups-pdf:/ -m CUPS-PDF_noopt.ppd -E
lpstat -p -d

restart the cups by typing sudo systemctl restart cups

use the cups-pdf with cups-filters to print the test.txt by typing lp -d cups-pdf ./test.txt

view the printed file. However, the content of the out file is empty like this:

Expected behavior
I hope to correctly configure cups-filter to print the correct content with cups-pdf. In addition, in addition to texttopdf, I have also configured other filters, but all the printed pages are blank，I don't know how to fix it.
System Information:

OS: fedora 40
Version: 1.20.0

cups-pdf is really old and takes PostScript input (instead of PDF) and converts it to PDF.  Some people have modernized cups-pdf to use PDF as input, e.g.:

https://github.com/alexivkin/CUPS-PDF-to-PDF

You modified the PPD to have the following cupsFilter line:
cupsFilter: "application/vnd.cups-postscript 0 /usr/lib/cups/filter/texttopdf"
So, you are trying to make text2pdf take PostScript input, why?
The stock cups-pdf will use texttopdf if you try to print a text file, e.g. lpr text.txt, the filters used would be:
texttopdf → pdftopdf → pdftops → cups-pdf
You can also issue the following to see which filters are used to generate an output PDF file with cups-pdf  :
/usr/sbin/cupsfilter -p /usr/share/cops/model/CUPS-PDF_noopt.ppd -m application/pdf foo.txt --list-filters


Remove duplicate line from Host Aggregate

Lines 2 and 8 were duplicated. Removed one

@andyvesel You may be able to remove the bottom one and not the top one, due to other mixins' use of SupportsFeatureMixin


Chef ec2 driver instance

While running of "kitchen create" command following errors are writing.

------Exception-------
Class: Kitchen::UserError
Message: Both F:/Devops/CHEF/chef-repo/cookbooks/tomcat-trails/kitchen.yml and F:/Devops/CHEF/chef-repo/cookbooks
/tomcat-trails/.kitchen.yml found. Please use the un-dotted variant: F:/Devops/CHEF/chef-repo/cookbooks/tomcat-trails/ki
tchen.yml.
Please see .kitchen/logs/kitchen.log for more details
Also try running kitchen diagnose --all for configuration
kitchen.log

Hi ganapathirao,
Can you please post kitchen.yml you have written

driver:
name: ec2
aws_ssh_key_id: chef
security_group_ids: ["sg-067d51782ac228fbc"]
region: us-east-2
require_chef_omnibus: true
instance_type: t2.micro
associate_public_ip: true
shared_credentials_profile: Ganesh
provisioner:
name: chef_zero
You may wish to disable always updating cookbooks in CI or other testing environments.
For example:
always_update_cookbooks: <%= !ENV['CI'] %>
always_update_cookbooks: true
verifier:
name: inspec
platforms:

name: ubuntu-14.04
driver:
image_id: ami-7d132e18
transport:
ssh_key: chef.pem
username: ubuntu
#- name: centos-7

suites:

name: default
run_list:

recipe[tomcat-trails::default]
verifier:
inspec_tests:

test/integration/default
attributes:

We have ran into same problem in the class. Please dont execute any kitchen init commands.
Directly modify the .kitchen.yml with suitable fields. and execute kitchen converge

Here the problem is,  My OS version is Windows7. I tried in Windows 2012 R2. Kitchen run successfully without any issues.


Set value to null when clearing a single select2

When clearing a Select2, the value was not properly updated on model, keeping the old value.
This patch fix this issue.

thanks

😁👍


only jshint displays detailed messages

It seems that only my JSHint task displays detailed error info in the notification message. If I have errors in SASS or CoffeeScript files, the notification only says "Error".
Furthermore, grunt-notify does not respect any custom title in my notify_hooks task in my project's Gruntfile.coffee – it just uses the name from my project's package.json:
notify_hooks:
  options:
    enabled: true
    title: 'Project Name'

The (relavant) output of $ grunt -v:
Running "sass:dist" (sass) task
Verifying property sass.dist exists in config...OK
Files: assets/sass/main.scss -> assets/css/main.min.css
Options: style="compressed", compass, sourcemap
Writing assets/css/main.min.css...OK
WARNING: $columns must be a unitless number or list of unitless numbers. Current value [number]: 16aaa
         on line 28 of<EMAIL_ADDRESS>in `pre'
         from line 12 of assets/sass/pages/_layout.scss
         from line 195 of assets/sass/main.scss

WARNING: $columns must be a unitless number or list of unitless numbers. Current value [number]: 16aaa
         on line 28 of<EMAIL_ADDRESS>in `pre'
         from line 12 of assets/sass/pages/_layout.scss
         from line 195 of assets/sass/main.scss

Syntax error: Invalid null operation: "0 plus null".
        on line 46 of<EMAIL_ADDRESS>in `pre'
        from line 12 of assets/sass/pages/_layout.scss
        from line 195 of assets/sass/main.scss
  Use --trace for backtrace.
File "assets/css/main.min.css" created.
>> [grunt-notify] growl: growlnotify wasn't found. If you were hoping to use Growl, make you sure you have their command line script called Growlnotify. Mac: http://growl.info/downloads or Windows: http://www.growlforwindows.com/gfw/help/growlnotify.aspx and put it in your path. You should be able to type growlnotify --version and get something back.
>> [grunt-notify] IS_WINDOWS: false
>> [grunt-notify] PROGRAM_FILES: undefined
>> [grunt-notify] PROGRAM_FILES_X86: undefined
>> [grunt-notify] fullPathToApplication: false
>> [grunt-notify] snarl: Snarl not available for this OS.
>> [grunt-notify] os: Darwin
>> [grunt-notify] version: 13.1.0
>> [grunt-notify] IS_MAC: true
>> [grunt-notify] MOUNTAIN_LION: true
>> [grunt-notify] notification_center: Will use Notification Center
>> [notification-center] cmd: /Users/montchr/Sites/vvv-nginx/www/ttn-cutnado/htdocs/web/app/themes/cutnado/node_modules/grunt-notify/bin/Grunt.app/Contents/MacOS/Grunt
>> [notification-center] args: -title cutnado -message Error
Warning:  Use --force to continue.

Aborted due to warnings.

I see that on line 44 of lib/hooks/notify-jshint.js, the grabErrors function handles the JSHint error message.
Why aren't there any detailed error messages or hooks for other common Grunt plugins? If it's not supported out of the box, are there any reliable resources for these hooks out there?

+1

+1


sanitycheck: Add --disable-size-report option

The segment size computation has value, but it's actually a very slow
process that parallizes poorly.  It seems to be bound by the Python
GIL doing the parsing, so never sees more than about 150% of CPU in
use even on wildly parallel systems.  And it takes about 75-80
seconds, which is 15-20% of the entire runtime of the test on that
box!
And the only "failure" case this can detect (unexpected sections in
the output file) is now a duplicate of the orphan section warning
we've since enalbled at the linker level.
This defaults to enabling the test to preserve behavior (as I don't
know where all the existing users of the size report are to change
them), but long term we might consider making "disabled" the default
and switching this to an --enable flag.
Signed-off-by: Andy Ross<EMAIL_ADDRESS>

Codecov Report

Merging #12284 into master will increase coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #12284      +/-   ##
==========================================
+ Coverage   48.28%   48.32%   +0.04%
==========================================
  Files         294      294
  Lines       44191    44191
  Branches    10600    10600
==========================================
+ Hits        21337    21356      +19
+ Misses      18589    18569      -20
- Partials     4265     4266       +1

Impacted Files
Coverage Δ

lib/cmsis_rtos_v2/kernel.c
79.16% <0%> (+39.58%)
: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 319e87a...11e69ab. Read the comment docs.


Wrong server status

Describe The Problem
Everything seems to work, it's great! except the status of the server: it says in the dashboard that it's stopped, but it's actually running, and the connected peers are even well displayed!
I tried to restart the WireGuard server, WGDashboard and even the machine itself, but the problem is still there.
Expected Error / Traceback
When I try to switch from OFF, it says:
wg-quick: 'wg_server' already exists

and it stays OFF.
To Reproduce
I followed the standard installation, and my WireGuard was already set up.
OS Information:

OS: Debian GNU/Linux 10 (buster)
Python Version: Python 3.7.3

Sample of my wg_server.conf file
[Interface]
Address = 10.ABC.0.1/22
SaveConfig = true
ListenPort = 15082
PrivateKey = XXXXXXXXXXXXXXXXXX

[Peer]
PublicKey = XXXXXXXXXXXXXXXXXX
AllowedIPs = 10.ABC.0.2/32

[Peer]
PublicKey = XXXXXXXXXXXXXXXXXX
AllowedIPs = 10.ABC.1.5/32
.......

Can you check if you have another configuration with the name wg_server under /etc/wireguard?

That's weird... can you type wg into your terminal and see if there's a configuration already running, if not follow this:
sudo apt-get install -y net-tools
ifconfig

then see if there is an interface called wg_server

Yes :
root@vps:~# wg
interface: wg_server
  public key: XXXXXXXXXXXXXXXXXX
  private key: (hidden)
  listening port: 15082

peer: ....
....

and I see also the interface wg_server with ifconfig

I think I found the issue, it has nothing to do with WireGuard or your settings. It was caused by the library I used to parse network interface that does not parse any interface name containing _ (underscore) hence the dashboard think the configuration is not "on". I think you can do that following for a workaround:
cd /etc/wireguard
wg-quick down wg_server
mv wg_server.conf wgserver.conf # rename it to without underscore
wg-quick up wgserver

and now should be good to control the configuration from the dashboard.
The issue is reported in the library's repo: https://github.com/ftao/python-ifcfg/issues/70#issue-1374082764

Kudos, you're a whiz! I would have never figured it out. I made the change, and everything is working like a charm! Again, kudos and thank you!

Thank you for approving the pull request 😁


Question: hostingWPCOM config and ability to still use wordpress.com

Just wanted to know if people on wordpress.com would still be able to move from gatsby-source-wordpress to gatsby-source-wordpress-experimental?
Would it mean an end to wordpress.com hosted support once gatsby-source-wordpress is deprecated?
Thanks 👍

Hi @dalecreativ , unfortunately yes. There are too many critical issues with using the WP REST API in a decoupled setup which make creating a good integration an insurmountable problem. For that reason we decided to use WPGraphQL as a data source instead which requires installing WPGraphQL. In order to make this work smoothly we also needed to create our WPGatsby WP plugin.
If/when you're able to install the WPGraphQL and WPGatsby plugins on wordpress.com, we'll be able to support it, but until then we wont be able to. V3 of gatsby-source-wordpress will continue to exist but will not be actively maintained.
See https://github.com/gatsbyjs/gatsby-source-wordpress-experimental/blob/master/docs/problems-with-v3.md for more info about why we made this decision.
Thanks for opening this issue and for using Gatsby 💜


Session closed on external monitor plug

Hello,
With version 0.3.2 the first time an external monitor is plugged the session gets closed:
Aug 19 09:39:08 thinkpad login[569]: pam_unix(login:session): session closed for user davide
Aug 19 09:39:08 thinkpad login[569]: pam_systemd(login:session): New sd-bus connection (system-bus-pam-systemd-569) opened.
Aug 19 09:39:08 thinkpad systemd[1]<EMAIL_ADDRESS>Deactivated successfully.
Aug 19 09:39:08 thinkpad systemd[1]: run-credentials-getty\x40tty1.service.mount: Deactivated successfully.
Aug 19 09:39:08 thinkpad systemd[1]: session-1.scope: Deactivated successfully.
Aug 19 09:39:08 thinkpad systemd[1]: session-1.scope: Consumed 2.190s CPU time, 341.1M memory peak.
Aug 19 09:39:08 thinkpad systemd-logind[477]: Session 1 logged out. Waiting for processes to exit.
Aug 19 09:39:08 thinkpad systemd[1]<EMAIL_ADDRESS>Scheduled restart job, restart counter is at 1.
Aug 19 09:39:08 thinkpad systemd[1]: Started Getty on tty1.
Aug 19 09:39:08 thinkpad systemd-logind[477]: Removed session 1.
Aug 19 09:39:08 thinkpad login[815]: pam_systemd_home(login:auth): New sd-bus connection (system-bus-pam-systemd-home-815) opened.

Issue is not present in 0.3.1.

can you bisect

I hope this is it:
589346162f82f3e6ffa8adff4cdef8a496e59811 is the first bad commit
commit 589346162f82f3e6ffa8adff4cdef8a496e59811 (HEAD)
Author: Vaxry<EMAIL_ADDRESS>Date:   Thu Aug 15 16:54:05 2024 +0100
DRM: Allow checking no-crtc connectors (#49)

include/aquamarine/backend/DRM.hpp |  2 +-
src/backend/drm/DRM.cpp            | 16 ++++++----------
2 files changed, 7 insertions(+), 11 deletions(-)

and what does "session gets closed" mean? crash?

Yes.
I start Hyprland with only one screen, then a while Hyprland is running I plug in my external screen and Hyprland dies.

can you attach a crash report from latest aquamarine-git with latest hyprland-git?

Attached is what I could get.
The log and the crash wasn't from the same run.
hyprland.log
hyprlandCrashReport657129.txt

this crash report looks outdated. That issue was fixed in 0.3.2 iirc

and I don't see anything wrong in the log?

Apologies. Here is a fresh crash log.
hyprlandCrashReport783249.txt

can you build aquamarine in debug and get the crash report again

I am going to try, will be back soon...

I hope this is it
hyprlandCrashReport800461.txt

hyprlandCrashReport808811.txt

Not sure if I did it right, but here we go:
hyprlandCrashReport824122.txt
#0  0x00007badbbd883f4 in ?? ()
No symbol table info available.
#1  0x656c20666f203432 in ?? ()
No symbol table info available.
#2  0xa508fed375e09a00 in ?? ()
No symbol table info available.
#3  0x616853205d474f4c in ?? ()
No symbol table info available.
#4  0x0000000000000006 in ?? ()
No symbol table info available.
#5  0x00007badbaeedb40 in ?? ()
No symbol table info available.
#6  0x00007badbce83de8 in ?? ()
No symbol table info available.
#7  0x0000000000000000 in ?? ()
No symbol table info available.

Help?
#0  0x00007badbbd883f4 in ?? ()
No symbol table info available.
#1  0x656c20666f203432 in ?? ()
No symbol table info available.
#2  0xa508fed375e09a00 in ?? ()
No symbol table info available.
#3  0x616853205d474f4c in ?? ()
No symbol table info available.
#4  0x0000000000000006 in ?? ()
No symbol table info available.
#5  0x00007badbaeedb40 in ?? ()
No symbol table info available.
#6  0x00007badbce83de8 in ?? ()
No symbol table info available.
#7  0x0000000000000000 in ?? ()
No symbol table info available.
hyprlandCrashReport824122.txt

I'm not sure if I did it right, but here is the crash log
hyprlandCrashReport824122.txt
And I also got this:
coredump.txt

and what does "session gets closed" mean? crash?

Logout (e.g. loginctl terminate-session 1).
Hyprland does not crash.

can you bisect

Maybe next weekend.

should be fixed

pls verify

Fixed, thanks.


local root not access to include printer

Hello Michael,
I installed the cups via source and am not getting administrative access to include printers. At the moment that is requested the login and password I put the login as root and the password of the root, but it does not access.
I created the group lpadmin, but I do not know if in the creation of it is configured something regarding the cups.
groupadd -g 19 lpadmin
and I put the root user into the lpadmin group
usermod -a -G lpadmin root
cupsd.conf

SystemGroup lpadmin
LogLevel warn
PageLogFormat
Listen 631
Listen /var/run/cups/cups.sock
Browsing On
BrowseLocalProtocols
DefaultAuthType Basic
WebInterface Yes

Allow From <IP_ADDRESS>
Allow From 172.16.*
Order allow,deny

<Location /admin>
Allow From <IP_ADDRESS>
Allow From 172.16.*
Allow <IP_ADDRESS>
Order allow,deny

<Location /admin/conf>
AuthType Default
Require user @SYSTEM
Order allow,deny

<Location /admin/log>
AuthType Default
Require user @SYSTEM
Order allow,deny

Any idea about the problem?

Michael,
I fixed the "bug"!!!
The file cups in /etc/pam.d/ has a invalid entry after installation from source.
In the file have:

auth    required        pam_unknow.so nodelay
account required        pam_unknow.so

and should be:

auth    required        pam_unix.so nodelay
account required        pam_unix.so

Correct?

Sounds like the PAM module check isn't working. Where are your PAM modules installed on your system?

(checking on current Ubuntu, it looks like things have moved to /lib/x86_64-linux-gnu/security.

@michaelrsweet

Sounds like the PAM module check isn't working. Where are your PAM modules installed on your system?

/var/lib/pam

(Checking on current Ubuntu, it looks like things have moved to /lib/x86_64-linux-gnu/security.)

I installed cups in debian 9.2

[master ac05c6306] Fix PAM module detection and add support for the "common-*" includes used on Ubuntu (Issue #5185)


lite: Add C API for variable tensors

Added new experimental C API to access variable tensors. This enables to capture and restore stateful models.

@idstein  Can you please resolve conflicts? Thank you!

@idstein Can you please resolve conflicts? Thank you!

Done.

Hi @miaout17 Can you please review this PR ? Thank you!

Hi @miaout17 Can you please review this PR ? Thank you!

Hi @miaout17 Can you please review this PR ? Thank you!

Hi @miaout17 Can you please review this PR ? Thank you!

Hi @rascani Can you please review this PR ? Thank you!

@sirakiin this look ok to you?


Bump dependencies

Pushes several dependency updates

Looks good to me. Should this be merged before or after the local election page PR? One of the dependabot PRs broke something, so I reverted it. Not sure if it was one that's in here.

@shannonmcharg I left out the one that broke in Netlify, so it should be okay. If it builds in Netlify (which is more temperamental), it should build fine in Pages.


Dev assistant for Cupcake website page content fix (Sprint 22)

As an: Cupcake website content creator

I need to: fix errors and problems with the assistance of an experienced developer

so that I can: present the content with the correct layout and feature set up.

Additional information

The items we need to work on together will be recorded below.
I will schedule a work session for us for the second week of the sprint so we can fix what we worked on the week before.
We will work on the fix together, so Jacob and I can learn how to troubleshoot.

Task

(TBD)

Acceptance criteria

[ ] Errors and problems fixed and updated on the live website.

@jeffchew
Current issues:

spacing between h2 & h3
linking icons correctly on the resource cards

@jeffchew Another issue:

Resource cards not aligning

@JennySanchez @jacobottesen-dgc can you provide a link to a content page where I can see these issues?

@jeffchew https://deploy-preview-72--carbon-for-ibm.netlify.com/resources

@jeffchew I did fix the card misalignment. I just needed to add a  around the card.

@jeffchew Do you know how we can add an icon to the link in this table? Just under the documentation section.

Link: https://carbon-for-ibm.netlify.com/components/masthead


⚠ SkipTheCommericals has degraded performance

In 76d8c03, SkipTheCommericals ($STC) experienced degraded performance:

HTTP code: 200
Response time: 1304 ms

Resolved: SkipTheCommericals performance has improved in 15be823.


syllable_tokenize cannot be imported

Description
When I imported syllable_tokenize from pythainlp.tokenize
ImportError will be raised.
Expected results
syllable_tokenize can be imported normally.
Current results
ImportError: cannot import name 'syllable_tokenize' from 'pythainlp.tokenize'
Steps to reproduce

pip install pythainlp
pip install epitran
import syllable_tokenize from pythainlp.tokenize

from pythainlp.tokenize import syllable_tokenize

text = "อับดุลเลาะ อีซอมูซอ สมองบวมรุนแรง"

syllable_tokenize(text)

PyThaiNLP version
3.1.1
Python version
3.7.15
Operating system and version
Windows 11 Pro 21H2
More info
No response
Possible solution
No response
Files
No response

@oat-tanutchakorn Hello! syllable_tokenize is deprecated. You can pythainlp.tokenize.subword_tokenize instead.
PyThaiNLP 3.1 change log #643
pythainlp.tokenize.subword_tokenize docs: https://pythainlp.github.io/docs/3.1/api/tokenize.html#pythainlp.tokenize.subword_tokenize

For syllable segmenter, you can use 2 engines

ssg - CRF syllable segmenter for Thai
tltk - syllable tokenizer from tltk


⚠ Bofrost.at has degraded performance

In f6ae828, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1783 ms

Resolved: Bofrost.at performance has improved in 7f2fe21 after 6 minutes.


Allow apt-get to upgrade openssh-server in 3.x (#4358)

Allow apt-get to upgrade openssh-server
This fixes a hang in pcluster build-image when Build:UpdateOsPackages:Enabled:true is set.
apt-get upgrade will prompt for user input during upgrade of openssh-server as /etc/ssh/ssd_config is locally modified and would be overwritten by package provided file. The proposed patch removes the prompt and chooses to keep the existing configuration file.
I can see this issue pop up on ubuntu-{1804,2004} in pcluster-[3.1.1-3.1.4]. I did not test older releases, but would expect it to occur there do.

Closing this since it didn't make to 3.2.1


remove requirement for Spotify in readme

Remove warning in readme stating that Spotify secret is required. Also removed version from docker compose example as is generally not needed and is not used by official docker compose examples either.

[ ] I updated the changelog

:package: :robot: A new release has been made for this pull request.
To play around with this PR, pull ghcr.io/museofficial/muse:pr-1139.
Images are available for x86_64 and ARM64.

Latest commit: 2345a958b407d66bb4d9f0ca329e79807658833f


Chipers '^' syntax was added in v8.1 instead of v8.0

This fixes command complaints on clients using ssh v8.0, for instance, CentOS 8.4.
If you check the ChangeLog from openssh release v8.1p1 you will see the Ciphers syntax change is added there.

I am not really understanding what failed in the CI. I doubt it has relation with the changes from this PR.

Restarted CI, now green

If you check the ChangeLog from openssh release v8.1p1 you will see the Ciphers syntax change is added there.

Sorry, that was my fault. I thought I had verified that, but when I just looked again at the changelog, I think I must have been misreading "Changes since OpenSSH 8.0" as "Changes in OpenSSH 8.0". 😞


Paginate help output?

Some of my subcommand help screens have gotten quite large between long_desc, flags/options and multiple examples. I have a pager built into my little app and I'm wondering if there's a way I could hook the help command to direct output through the pager so it works more the way that git help (or even man) does instead of requiring the user to scroll back up to see the first options.

I monkey patched it for now, but if there's a more elegant way, I'd love to hear. If it's not already an option and I missed it, might be nice to have the ability to pipe the help command output as needed.

Hmm, yeah this seems like a good feature, but I'm not sure exactly how to achieve this.  Can you share what you did?
The only thing I can think of is to have gli replace itself with gli «args» | $PAGER somehow

I just did a very dirty monkey patch over the whole show_help function and changed the puts command to my built-in pagination function.
module GLI
  module Commands
    # Help Command Monkeypatch for paginated output
    class Help < Command
      def show_help(global_options,options,arguments,out,error)
        Doing::Pager.paginate = true

        command_finder = HelpModules::CommandFinder.new(@app,arguments,error)
        if options[:c]
          help_output = HelpModules::HelpCompletionFormat.new(@app,command_finder,arguments).format
          out.puts help_output unless help_output.nil?
        elsif arguments.empty? || options[:c]
          Doing::Pager.page HelpModules::GlobalHelpFormat.new(@app,@sorter,@text_wrapping_class).format
        else
          name = arguments.shift
          command = command_finder.find_command(name)
          unless command.nil?
            Doing::Pager.page HelpModules::CommandHelpFormat.new(
              command,
              @app,
              @sorter,
              @synopsis_formatter_class,
              @text_wrapping_class).format
          end
        end
      end
    end
  end
end

My pagination routine just detects the appropriate pager for the system based on GIT_PAGER, PAGER, and a cascade of potential executables (bat, less, more). If it finds a usable one, it uses IO.pipe to send text to it. Happy to share it, but I'm just bad enough at Ruby to by shy about it :).
What I'd be interested in is just a block like on_error, but on_help do |help_text| that received the formatted help output and let you do what you wanted to with it, defaulting to puts if it returns true. And if help -c was run than the block would be skipped. I'm probably not thinking through the complexities or possibilities, though.

Closing as old - I'd like to keep GLI relative stable so I won't be able to work on this.  If someone has a patch with tests, please open a PR


Return frame from library

Hi,
Thank you for this amazing library.
I am going to use it to autopilot, based on image processing with OpenCV.
The best way to use easyTello would be to modifiy the methods "_video_thread" and "streamon" to return a frame in OpenCV format, but I don't know hoe to do this.
Could you modifiy tello.py to do this?
Thank you very much.
Javier.

@openexpertise you can modify the _video_thread to yield the frame based on a flag.

After you turn the stream on with .streamon() you can get the last captured frame with .last_frame in a different thread.


Crashes upon trying to view a channel or video

/home/videogamesm12/youtube2009/yt2009/back/cache_dir/ryd_cache_manager.js:26
                    callback(utils.custom_rating_round(response.rating))
                                                                ^

TypeError: Cannot read properties of undefined (reading 'rating')
    at /home/videogamesm12/youtube2009/yt2009/back/cache_dir/ryd_cache_manager.js:26:65
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

try pulling the latest commit https://github.com/ftde0/yt2009/commit/f815a98a1546b48f266f5e880b4d7583839d2b7a. this seems to be related to the return youtube dislike's outage which didn't happen for that long before in yt2009's history of defaulting ryd.

does the error crash the server as a whole? doesn't do that on my end

It does.

https://github.com/ftde0/yt2009/commit/6ad12022078e742e8bddcd8db42dce0844a6d887 should do it.

Switching back and forth between videos on the channel page (possibly during playback, I'm not sure) also sometimes invokes an error that looks like this that crashes the entire web server:
node:_http_outgoing:703
    throw new ERR_HTTP_HEADERS_SENT('set');
    ^

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (node:_http_outgoing:703:11)
    at ServerResponse.header (/home/videogamesm12/youtube2009/yt2009/node_modules/express/lib/response.js:794:10)
    at ServerResponse.location (/home/videogamesm12/youtube2009/yt2009/node_modules/express/lib/response.js:915:15)
    at ServerResponse.redirect (/home/videogamesm12/youtube2009/yt2009/node_modules/express/lib/response.js:953:18)
    at /home/videogamesm12/youtube2009/yt2009/back/backend.js:1102:17
    at WriteStream.<anonymous> (/home/videogamesm12/youtube2009/yt2009/back/yt2009utils.js:909:13)
    at WriteStream.emit (node:events:531:35)
    at finish (node:internal/streams/writable:946:10)
    at finishMaybe (node:internal/streams/writable:934:9)
    at WritableState.onConstructed (node:internal/streams/writable:380:5) {
  code: 'ERR_HTTP_HEADERS_SENT'
}

Secondly, this video seems to cause the backend to crash due to the ID not matching a defined regex pattern:
/home/videogamesm12/youtube2009/yt2009/node_modules/ytdl-core/lib/url-utils.js:40
    throw TypeError(`Video id (${id}) does not match expected ` +
          ^

TypeError: Video id (sbUgZFrRsM) does not match expected format (/^[a-zA-Z0-9-_]{11}$/)
    at exports.getURLVideoID (/home/videogamesm12/youtube2009/yt2009/node_modules/ytdl-core/lib/url-utils.js:40:11)
    at exports.getVideoID (/home/videogamesm12/youtube2009/yt2009/node_modules/ytdl-core/lib/url-utils.js:61:20)
    at exports.<computed> [as getInfo] (/home/videogamesm12/youtube2009/yt2009/node_modules/ytdl-core/lib/info.js:484:29)
    at /home/videogamesm12/youtube2009/yt2009/back/backend.js:2296:18
    at Layer.handle [as handle_request] (/home/videogamesm12/youtube2009/yt2009/node_modules/express/lib/router/layer.js:95:5)
    at next (/home/videogamesm12/youtube2009/yt2009/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/home/videogamesm12/youtube2009/yt2009/node_modules/express/lib/router/route.js:114:3)
    at Layer.handle [as handle_request] (/home/videogamesm12/youtube2009/yt2009/node_modules/express/lib/router/layer.js:95:5)
    at /home/videogamesm12/youtube2009/yt2009/node_modules/express/lib/router/index.js:284:15
    at Function.process_params (/home/videogamesm12/youtube2009/yt2009/node_modules/express/lib/router/index.js:346:12)

Secondly, this video seems to cause the backend to crash due to the ID not matching a defined regex pattern:

that's an issue with ytdl, but what looks like is happening is that you're passing a 10-character ID to ytdl.
comparing with the link you sent:

sbU-gZFrRsM

and the id ytdl receives:

sbUgZFrRsM

the difference is there.

Switching back and forth between videos on the channel page (possibly during playback, I'm not sure) also sometimes invokes an error that looks like this that crashes the entire web server:

will commit a fix shortly.

hi, please report back on whether the issue's fixed so it can be closed.


⚠ Thumbnails API Endpoint has degraded performance

In 01845dc, Thumbnails API Endpoint (https://thumbnails.roblox.com/v1/assets?assetIds=82738847&format=Png&isCircular=false&size=30x30) experienced degraded performance:

HTTP code: 200
Response time: 4668 ms

Resolved: Thumbnails API Endpoint performance has improved in ac61776 after 14 minutes.