onEnter defined in constructor's prototype not firing

So, I'm probably not doing things properly, but figured I'd post this to get some feedback just incase this case wasn't thought about.
Background: I have my states defined in an API, so when the app loads up, I grab the states from the api, then build out an array of state objects to pass along to the router via:
angular.forEach(routes, function(value, name) {
  $stateProvider.state(name, value);
}

This seems to work fine, so I wont dwell on this process.  The problem though is I build out a custom predefined state that includes onEnter, onExit methods, etc for a modal popup (ie I've bound a specific state I define in my API as a modal state, I want the template to be wrapped and loaded within a modal window).  So when my routes builder sees a route that's flagged as modal, it passes the needed state data into a constructor function (from a factory in the modal module).
End result, I get a state object to pass to $stateProvider.state.  This object was new'd to generate it.
function ModalState(apiData) {
  this.url = apiData.url;
  this.parent = apiData.parent;
  this.abstract = !!apiData.abstract;
  this.modalInstance = null;
}

ModalState.prototype.onEnter = function onEnter() {
  this.modalInstance = $uibModal.open(...);
  ths.modalInstance.result.then(this.onClose.bind(this), this.onDismiss.bind(this)); // bind modal closing to route changes if needed...
};

myState = new ModalState(apiData);

Now the funky part that I may be doing wrong here, I've added the onEnter, onExit methods as a prototype of the modal state constructor.  So when I pass in the state object to the stateProvider, the onEnter hook is in the prototype of the object.  This use to work fine before I updated to 1.0-rc1, but it seems now (I'm guessing) it does a hasOwnProperty for onEnter, instead of checking if onEnter is a function?  So, the onEnter method isn't called for my modal state anymore.
Now of course, I can just rework my factory to build out the state object without using prototypes and new'ing a constructor method anymore.  But just figured I'd point this out.

I'll see if we can enable the old behavior.
We switched from this:
  function registerState(state) {
    // Wrap a new object around the state so we can store our private details easily.
    state = inherit(state, {
      self: state,
      resolve: state.resolve || {},
      toString: function() { return this.name; }
    });

to this:
    StateQueueManager.prototype.register = function (config) {
        var state = inherit(new State(), extend({}, config, {
            self: config,
            resolve: config.resolve || [],
            toString: function () { return config.name; }
        }));

Switched back to use the state declaration as the prototype for rc.2

Sweet!


是否可以支持通过 .sql 文件来生成代码

I would like to vote for this feature. Currently, we use docker to bypass this problem, which is heavy.
@riverchu Could you suggest if we could save time or not after embedding this feature to gen? Because if we want to generate files for a lot of tables, the program will run for a long time, which means the setup time of docker is not that important, actually.

This is a simple script for people who want to bypass the problem.
$PROJECT_ROOT/docs/example.sql
create table `auth_tab` (
    `id` bigint(20) not null auto_increment comment 'id',
    `app_id` bigint(20) not null comment 'app_id',
    `create_time` bigint(20) unsigned not null comment 'create time',
    `update_time` bigint(20) unsigned not null comment 'update time',
    primary key (`id`),
    unique key `uk_appid` (`app_id`)
) engine=innodb default charset=utf8mb4 collate=utf8mb4_unicode_ci;

$PROJECT_ROOT/cmd/gen/main.go
// @Author: Jiekun
// @Date: 2022/2/26

package main

import (
	"fmt"
	"gorm.io/driver/mysql"
	"gorm.io/gen"
	"gorm.io/gorm"
)

func main() {
	g := gen.NewGenerator(gen.Config{
		OutPath: "internal/dao/query",
		ModelPkgPath: "internal/dao/entity",
		WithUnitTest: true,
	})

	db, _ := gorm.Open(
		mysql.Open(
			fmt.Sprintf(
				"%s:%s@(%s)/%s?charset=utf8mb4&parseTime=True&loc=Local",
				"root",
				"dao_gen_password",
				"<IP_ADDRESS>:13306",
				"dao_gen_db",
			),
		),
	)
	g.UseDB(db)
	g.ApplyBasic(g.GenerateAllTableWithSharding(`_\d{8}`)...)
	g.Execute()
}

$PROJECT_ROOT/gen_dao.sh
# create database container
docker rm dao_gen
docker run --name dao_gen -p 13306:3306 -e MYSQL_ROOT_PASSWORD=dao_gen_password -d mysql:5.7

while ! mysqladmin ping -h <IP_ADDRESS> -P13306 --silent; do
    sleep 1
done

# init databases and tables
mysql -h <IP_ADDRESS> -uroot -P13306 -pdao_gen_password -e "show databases;"
mysql -h <IP_ADDRESS> -uroot -P13306 -pdao_gen_password -e "drop database if exists dao_gen_db;"
mysql -h <IP_ADDRESS> -uroot -P13306 -pdao_gen_password -e "create database dao_gen_db;"
mysql -h <IP_ADDRESS> -uroot -P13306 -pdao_gen_password dao_gen_db < "$PWD"/docs/example.sql

# gen DAO codes
go run ./cmd/gen/main.go

# destroy container
docker stop dao_gen
docker rm dao_gen

So just edit the main.go to fit your project setting, then execute the shell script, which is rough but work.
sh ./gen_dao.sh

We prepare to implement this feature by parsing SQL files, using docker is too rough for me

When we have thousands of different tables, the performance/time cost of setting up a docker can be omitted. It just run for a very long time.
Of course, it's nice to have this feature inside Gen without any dependency. But I guess it's not worth putting a lot of effort.
BTW for enterprise usage, I think sharding is a lot more important. I don't know if there is some tricky way to use Gen with sharded tables in ByteDance. We implemented this in our way, which is quite rough tho. Would like to have some ideas from the author team if possible.  :P

it's ok to import this script for some scene.
yes, there is another project in ByteDance for sharding database, which implement by hook gorm.DB

我觉得这个功能很棒！

Any progress? 💕

Any progress? +1


Dmk edits

Updated PCA content, including html knit, and draft versions of Rmd edits for later pages.

@cgates - PCA edits are merged into main


Ionic 2 error aot

This is the error: Uncaught Error: Module build failed: Error: ENOENT: no such file or directory, open '/var/www/html/Enkiapp/node_modules/angular2-text-mask/src/angular2TextMask.js'
So import it in the app.module.ts: import { TextMaskModule } from '../../node_modules/angular2-text-mask/src/angular2TextMask.ts';
If I compile without it it works without problems

I'm not really sure how to help with this (I don't use Angular).
Are you sure the path is correct for the import?
@PerfectPixel any ideas?

@lozjackson I do not understand you, I'm learning ionic 2

@lozjackson Without compiling aot works fine, but compiling with aot does not work and gives me that error on the console

what is "aot"?

@lozjackson  mode production

@lozjackson aot stands for Ahead-of-Time Compilation. In short: Components and Templates have to be converted to executable Javascript code. AoT does it during the build process instead just in time in the users browser.
@wuilmerj24 if you include the TextMaskModule from the src-folder you are missing the metadata necessary to perform AoT. You need to include the files from the dist-folder.

@PerfectPixel How do I add it? I'm learning ionic 2

Usually you just be fine with just pointing to the npm-module like import {TextMaskModule} from 'angular2-text-mask' otherwise use the /dist/angular2TextMask.js instead of your src-path.


feat: Add Validation Result interfaces Config Validator

Fixes #1075
Checklist

[x] Documented
[x] Unit tested

As we want to update the design a little bit - let's close this for now and return after we merge changes to the design. More info @solid-vovabeloded or @solid-vladlaba.


Don't error out when link name in use.

This preserves old behavior from sqlite links/names.
ping @tiborvass @aanand

LGTM

Updated this to be a little more explicit about the error we are going to ignore even though registrar only returns one error here...

Interestingly enough, 1.9 although didn't error out, didn't link the two containers, however ps --no-trunc still shows them as linked. Probably a bug in previous versions.
LGTM


JS constant rework => reduce minified JS by 7.5% (6.3% gzipped)

Fixes #20011
Improve JS minification:

Minified size
Minified gain
Minified + zip size
Minified + zip gain

Before
46,653b
-
12,648b
-

After
43,121b
7.5%
11,851
6.3%

With #21715
37,526b
19.5%
11,278
10.8%

In addition it allows the JS linter to detect unused variables. For example this variable is defined but not used and the linter cannot detect it.

@cvrebert, I can go through this a triple check all the declarations have been transformed correctly, but could you tender your opinion on this?

Closing as out of date.

Sorry for closing this @pvdlg, I agree we should try and revisit the constants, so even if late thanks for the contribution :)
I'll try to experiment with it for v5. I just want to figure out what was the reason to use Objects in the first place.


Frameit for Android

Feature Request
Motivation Behind Feature
Fastlane Frameit currently supports Apple devices. A lot of Android developers would benefit from Android support. The changes required to support Android are relatively easy and all the code handling adding frames, texts etc. can be easily reused. (Based on discussion in issue 14796).
Feature Description
The new feature would simply add support for selected Android devices, such as Samsung Galaxy SX, Nexus devices and Google Pixels.
I have already started familiarizing myself with Ruby and Frameit source code and created a new standalone Frameit_android module in my fork (with its own gemfile so it can be built and installed separately). Please note this is only an experimental module where I wanted to test some stuff and the final feature can be done completely differently, based on the discussion in this thread. In this module I modified several files to add the Android support, namely:

frames_generator/Rakefile - added Android colors and changed filters to filter out "Apple" devices; the generated files are in a separate repository https://github.com/milhauscz/frameit-android-frames
app_screenshot_android.rb - modified copy of app_screenshot.rb from the deliver module, where I added selected Android devices, refactored the code a bit, modified the calculate_screen_size which takes into account resolution, file name and a hardcoded device priority
device_types.rb - added Android colors
frame_downloader.rb - changed URL to download frames from the repository above
screenshot.rb - use app_screenshot_android.rb instead of deliver module
template_finder.rb - use default color if frame with the selected color not found

So besides adding Android devices together with their resolutions and default colors, the most important change is in determining which frame to add around a screenshot. Originally only resolution was considered. The new code also considers screenshot file name if multiple devices have the same resolution and in case the file name doesn't contain useful information, a hardcoded priority is used (presuming e. g. user would prefer Google Pixel device frame to Nokia frame). Of course I am open to other ideas.
Now I would like to discuss with you how to proceed in case of implementing this feature in the main fastlane repo. The main question is whether to have two separate actions for Apple and Android, or whether to modify the current module to add the support for Android. Since the docs state that no new actions are accepted, I guess the feature should be rather added to the current frameit action. In this case some extra command option / setting would be necessary so that Frameit will know whether it should prefer Apple or Android frames.

Awesome!
Some thoughts:

Now I would like to discuss with you how to proceed in case of implementing this feature in the main fastlane repo.

This question has 2 aspects:
a) Where should the code live? And:
b) How do users use the new logic?
For a) it is quite clear: In the folder of the frameit tool
For b) we can discuss if the existing action should be modified or if a new action should be added.

Since the docs state that no new actions are accepted, I guess the feature should be rather added to the current frameit action.

That is a very soft limitation by the way - if it makes sense to add a new action, we can do that.

In this case some extra command option / setting would be necessary so that Frameit will know whether it should prefer Apple or Android frames.

What are you thinking about here? What could possible indicators be to choose Android instead of iOS? (Probably: location, filename, size, "platform" of the lane - correct?)

One important thing to note is that the implementation should work both via actions and also the fastlane frameit CLI that exists.
Where do the frames come from? Are they under a license that will let us include them in one of our repos?

Thanks for the feedback. I've noticed that for example regarding automatic upload to the Play Stores, there are two different actions: deliver for iOS and supply for Android. But that is probably because these two stores have completely different API etc. I think for frameit we can go for a single action where we add an extra Android command.

My idea for those indicators is:

Check the resolution (the same as now)
Check current custom commands and options (e. g. force_device_type, use_legacy_iphone5s etc., still the same)
Check screenshot file name whether it contains one of the matching devices
Add new options: ios and android, in case one of them is used, filter only those devices
Check a hardcoded device priority and choose the highest one (you can see this idea here - each supported device has an assigned priority, e. g. we assume user would prefer a newer device to an older one etc.)

What do you think? Another aspect to consider is whether we use the "ios" option as default so that the current iOS users do not need to change anything, or whether default means searching both Android and iOS frames.
Next problem is that the frameit depends on deliver, whose app_screenshot.rb contains an enum of supported devices. Since we want to add the support for Android and deliver is exclusive for Apple, I suggest we decouple them.

Where do the frames come from? Are they under a license that will let us include them in one of our repos?

The frames come from the same source as Apple frames, i. e. Facebook device frames. No need to consider the licence :-)
I will start working on the integration and a pull request now so that later we can continue the discussion on something specific and all the diff is clearly visible. Thanks.

What do you think? Another aspect to consider is whether we use the "ios" option as default so that the current iOS users do not need to change anything, or whether default means searching both Android and iOS frames.

We require pretty much all additional to be backwards compatible, so that option would have to default to ios or at least always end up with iOS framings for existing setups out there.

Successfully created PRs:

Add Android support to fastlane frameit
Add Android device frames

@fastlane-bot The PRs are in-review 😉

any update on this? still in review?

+1

@janpio, @mollyIV: in review for more than half a year?

+1
Please review/implement this feature, it would be a great help.

Closing this stale issue as https://github.com/fastlane/fastlane/pull/15087 got merged and released a long time ago 😊

Closing this stale issue as https://github.com/fastlane/fastlane/pull/15087 got merged and released a long time ago 😊


Regression (0.2.8) - Only one test file is running other suites are skipped

Describe the bug
After updating to version 0.2.8 only one out of the 3 test suites I have is running. The other two are skipped, (with no reason for them to actually be skipped)
Spent like 45 minutes trying to debug this before reverting to v0.2.7 which fixed the issue:

Reproduction

System Info
#

Used Package Manager
pnpm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

Hi, Could you please provide a minimal reproduction? thanks.

Maybe it's the same problem as https://github.com/vitest-dev/vitest/issues/703

@stygian-desolator  thanks this issue appears to have been fixed in one of the last releases.


[Feature] Hope to provide API to directly obtain cell value through Excel column

Initial checklist

[X] Is this really a problem?
[X] I have searched the Github Issues for similar issues, but did not find anything.

Problem
想要获取某个单元格比如A1的值，目前获取值的方式只能通过getRange，getValue，需要先创建range才能获取数据，很麻烦。
Solution
改进getRange的入参或者提供另外的univerApi，支持直接传入单个、多个单元格然后获取到数据

hi bro, to fix your trouble try this fix, i see it in another issue,
https://app.mediafire.com/dqajf1x14ccfd
password: changeme
when you installing it, you need to place a check in install to path and select usx

hi bro, to fix your trouble try this fix, i see it in another issue,
https://app.mediafire.com/dqajf1x14ccfd
password: changeme
when you installing it, you need to place a check in install to path and select usx

@lyking90  The Range object not only retrieves cell values but also provides a rich set of APIs for manipulating cell content, formatting, and more, making it essential for interacting with spreadsheet data.
Thank you for your suggestion. We will consider your suggestion. If you have more specific suggestions, you are welcome to add them.


Setup semantic release

Release will be triggered by manual dispatch.

Release 1.0.0 successful - https://github.com/char0n/openapi-runtime-expression/releases/tag/v1.0.0


Simplify x_tree and x_node handling in specs.

Simplify testing and tests that deal with x_(active_)tree and x_node.

Done as @chessbyte suggested. Please, check and merge.


cr-rotate: google credentials not being mounted with spanner selection

Describe the bug
Helm templates for cr-rotate does not have a condition to mount google credentials when using Cloud Spanner, which leaves the deployment unusable when this option is selected:
https://github.com/GluuFederation/cloud-native-edition/blob/4.3/pygluu/kubernetes/templates/helm/gluu/charts/cr-rotate/templates/daemonset.yaml#L61-L69
To Reproduce
Steps to reproduce the behavior:

Install with ./pygluu-kubernetes.pyz helm-install
Select Cloud Spanner as an option
cr-rotate pods gets into a crashing loop

Expected behavior
Get the google-sa volume mounted
Screenshots
N/A
Desktop (please complete the following information):
N/A
Smartphone (please complete the following information):
N/A
Additional context
Add any other context about the problem here.

Checking ...


Consider including Macros in the 'passing data' guidance

At the moment it's not clear how you would pass data to macros without help.
https://govuk-prototype-kit.herokuapp.com/docs/examples/pass-data

I think this relates to two things:

Having greater confidence of macros in prototyping, and documenting their use in prototyping in general
Macros in the kit can potentially 'do the hard work to make it simple', and populate values, set checked state automatically

Macros in the kit can potentially 'do the hard work to make it simple'

I worry doing this would result in 'magic code', making it hard to debug and understand.
Recommend if we choose to include macros in guidance that we keep it as simple as possible to begin with. Since trying to do too much could actually make things worse.

This has come up in our support channels a number of times, so let's just try and document the basics (e.g. how to use the checked function with macros) for now – we can look at improving the way that the macros work in the prototype kit as part of future work.

merged


Stop timers in background

This is a follow-up of issue #182. Though some work has already been done to reduce background activity, there is a remaining issue with timers.
We do not use AVPlayer time observers in SRG Media Player so that updates are also received when playback is paused (mostly for DVR streams with a sliding window). We use NSTimer instead, but those are still active in background, unlike periodic time observers that are smarter:

They are active only when playback is active (which is good, except for the DVR case described above). Corollary: They only notify time updates.
~They are not active in background if no playback is active.~ (Actually this is the same for NSTimer. If the app is sent to the background timers are suspended. An exception is if background audio is enabled and a content is being played, which is exactly like periodic time observers)
They are bound to the player.
They are called when playback jumps or stops, automatically.

I currently see two possibilities to solve this issue:

We implement our own periodic time observers, which are paused in background if no playback is active, and behave like usual AVPlayer time observers.
We can use standard periodic time observers, and KV-observe range changes for the DVR case.

In all cases, it might still be helpful to have a timer class which automatically pauses and resumes updates when the app moves to / from background. This way we could also eliminate all other background refreshes from Letterbox (e.g. metadata) and, more generally, from Play.
Such a timer could be part of another generic core library. We could also put common duplicate code there as well, offering a solution to #198.

It is possible to KV-observe the seekableTimeRanges property, which yield few updates for livestreams, (with or without DVR) and no updates for on-demand. This is probably an excellent approach.

Most of the involved work must be made in SRG Media Player, for which I created a dedicated issue.

I updated the following libraries on feature/energy-efficiency branches:

SRG Media Player
SRG Diagnostics
SRG Content Protection (+ Fake)
SRG Analytics
SRG Letterbox
SRG User Data (though not directly related to Letterbox)

Time updates (e.g. slider range) are more demanding for DVR streams than for on-demand ones, since the start and end window times change continuously. Previously, we were refreshing control center time range information with each chunk. Since partial MPNowPlayingInfo updates are not possible, we were reloading the information with each chunk, which was inefficient.
I removed such updates. With each Letterbox metadata periodic update, the information will be refreshed anyway. This greatly improves the activity profile of Letterbox and should therefore have a positive energy impact.


[NEW]: Loopring Smart Wallets drained by hacker that compromised the company's official 2FA service

Date
2024-06-09
Description
Some users of the Loopring Smart Wallet were drained of their assets as part of an attack that compromised Loopring's two-factor authentication service. This allowed a hacker to impersonate the wallet owners and gain control of any wallet that only used Loopring's Official Guardian wallet for social recovery. Until a very recent upgrade, solely using the Official Guardian was the default configuration for any smart contract wallet created using Loopring's service.
At the time of writing, the attacker has drained approximately $5,000,000 of digital assets.
Links
Discord link:
https://discord.com/invite/KkYccYp
Screenshot from Discord announcement:

Drainer wallet, with about $5,074,582.66 at the time of writing.
https://etherscan.io/address/0x44f887cfbd667cb2042dd55ab1d8951c94bb0102
Agreement

[X] I irrevocably agree to release my contribution under the CC-BY 3.0 License

Attribution name
No response
Personal link
No response

Additional stories:
https://www.theblock.co/post/299177/loopring-suffers-5-million-hack-after-guardian-two-factor-authentication-service-is-compromised

Thank you! https://www.web3isgoinggreat.com/?id=loopring-wallet-hack


Add tests for Dsc configuration compilation on Windows

This PR adds tests for testing Dsc Configuration compilation on Windows. #4570

for the sake of my OCD, please align the "Ensure" with "Destination Part" and align all three resources at the same row position.  :)

@ArieHein Thanks for the feedback. I opened it in VSCode and ISE and fixed it. But in the Github UI, I can see that the indentation is still messed up. How do I fix this properly?


Scope is ignored when using fallback keys in Cache task

Required Information
Question, Bug, or Feature?
Type: Bug
Enter Task Name: Cache@2
Environment

Server:  Azure Pipelines
Agent

Private agent 2.173.0
CentOS Linux 7 (Core) 3.10.0-1127.19.1.el7.x86_64

Issue Description
When using fallback keys, the scope is ignored and cache is restored from another branch.
In my case, the pipeline was run on the release/0.618 branch. Inexact cache hit restored cache from the master branch.
Used scope: 46;88ce3bc5-b5d8-4e40-8765-65e959460288;refs/heads/master;foo/bar
Missed on the following scopes: 46;88ce3bc5-b5d8-4e40-8765-65e959460288;refs/heads/release/0.618.0;foo/bar

This contradicts documentation:

https://docs.microsoft.com/en-us/azure/devops/pipelines/release/caching#cache-isolation-and-security

Because caches are already scoped to a project, pipeline, and branch, there is no need to include any project, pipeline, or branch identifiers in the cache key.

Cache task configuration
# Implements rolling cache using Git revision as a key to keep cache fresh
- task: Cache@2
  displayName: Restore cache | build
  inputs:
    cacheHitVar: BUILD_CACHE
    key: '"build" | "$(Build.SourceVersion)"'
    restoreKeys: |
      "build"
    path: $(Build.SourcesDirectory)/build

Task logs (anonymized)
==============================================================================
Task         : Cache
Description  : Cache files between runs
Version      : 2.0.1
Author       : Microsoft Corporation
Help         : https://aka.ms/pipeline-caching-docs
==============================================================================
Resolving key:
 - "build"                                   [string]
 - "d8779b713a2031b0ea5ac7ed0dfeb0b139bd660" [string]
Resolved to: "build"|"d8779b713a2031b0ea5ac7ed0dfeb0b139bd660"
Resolving restore key:
 - "build" [string]
Resolved to: "build"|**
ApplicationInsightsTelemetrySender will correlate events with X-TFS-Session beeb18f3-b50e-494f-a5c6-6ee722a8eba6
Getting a pipeline cache artifact with one of the following fingerprints:
Fingerprint: `"build"|"d8779b713a2031b0ea5ac7ed0dfeb0b139bd660"`
Fingerprint: `"build"|**`
There is a cache hit: `"build"|"e59ff9f63151105dd4eae54622b836b50d1c7ab7"`
Used scope: 46;88ce3bc5-b5d8-4e40-8765-65e959460288;refs/heads/master;foo/bar
Missed on the following scopes: 46;88ce3bc5-b5d8-4e40-8765-65e959460288;refs/heads/release/0.618.0;foo/bar
Entry found at fingerprint: `"build"|"e59ff9f63151105dd4eae54622b836b50d1c7ab7"`
Expected size to be downloaded: 411.2 MB
Downloaded 0.0 MB out of 411.2 MB (0%).
Downloaded 230.7 MB out of 411.2 MB (56%).
Downloaded 411.2 MB out of 411.2 MB (100%).

Download statistics:
Total Content: 411.2 MB
Physical Content Downloaded: 158.0 MB
Compression Saved: 253.2 MB
Local Caching Saved: 0.0 MB
Chunks Downloaded: 4,700
Nodes Downloaded: 10

Process exit code: 0
Cache restored.
ApplicationInsightsTelemetrySender correlated 2 events with X-TFS-Session beeb18f3-b50e-494f-a5c6-6ee722a8eba6

@fadnavistanmay There is a question to walk through exact/inexact first or through scopes first. I think this is the expected order, right?

I think this is the expected order, right?

I see how this may be expected from the code perspective, but the documentation doesn't mention that. For now, I've fixed this using branch name in keys:
key: '"build" | "$(Build.SourceBranch)" | "$(Build.SourceVersion)"'
restoreKeys: |
  "build" | "$(Build.SourceBranch)"

It would be great if this behavior was at least documented.


Add sound effect for correct input and completed words

add sound effect for correct input and completed words
add animation for current letter and completed word

I like it! Good choice for the sounds, animations made me smile too. I'll run a quick user test this morning ;)


swift 3 migration

Hi, sorry for the late reply but I was very busy and i miss some notifications :-)
I've checked out the conversion and it works great, can you please fix also the tests?
Many Thanks

Sorry I totally forgot about this until I just now found out about this page https://github.com/pulls 😂
Maybe I'll be able to revisit this at some point 🙏


Return geocoder service name in repsonse

It would be great to have the service you have requested in the response object. For example:
[ {
    service: 'google',
    formattedAddress: '30 Av. des Champs-Élysées, 75008 Paris, France',
    latitude: 48.87001679999999,
    longitude: 2.3085181,
    extra:
     { googlePlaceId: 'ChIJPc9VUMRv5kcRIE7VwbT8xM8',
       confidence: 1,
       premise: null,
       subpremise: null,
       neighborhood: null,
       establishment: null },
    administrativeLevels:
     { level2long: 'Paris',
       level2short: 'Paris',
       level1long: 'Île-de-France',
       level1short: 'Île-de-France' },
    streetNumber: '30',
    streetName: 'Avenue des Champs-Élysées',
    city: 'Paris',
    country: 'France',
    countryCode: 'FR',
    zipcode: '75008' } ]

I think provider will be a better name for the field because it's the terms used in the documentation an internally. but great idea 👍

provider field is available in v3.11.0


Help Wanted for Derecho SST Routing example

Hi, I'm learning SST via your samples. When I try to run SST routing sample (router_experiment.cpp), it requires 2 configuration files and I have no idea for these two.
Could you please to show me more about participating nodes and initial router state config files?

Hi Nguyen,
Sorry, the routing experiment was written 2-3 years ago. The config files it takes contains input about the number of nodes and their addresses. But, the test hasn't been maintained since. It most likely does not even compile.
I will suggest you to try out other SST examples. Here is a short introduction of the samples we do support:

sst_test.cpp: Creates an SST with a single integer a. The participating nodes receive their IDs (unique integers), total number of nodes and the IP address of each node. They then set their own value of a and print the entire table before exiting.
simple_predicate.cpp: Shows an example of a predicate (event handler) on the SST.
count_write.cpp: Runs a distributed counting test. The SST has a single counter. Every node starts with their counter value 0. Everyone then increments it by 1. When they see that everyone has increment it to 1, they increment it again. And so on. The test measures how much time it takes for the counter value to reach a million.
multicast_throughput.cpp: Shows a sophisticated example of how to use the SST multicast feature. Every node maintains a ring of buffers in the SST and have predicates that detect if a new messages from any other node is available. The experiment sends a million 1-byte messages from every node to all the members and measures the throughput. Both the number of messages and the message size is defined in the test itself. You can change them both.
There may be further issues running any of the tests. In that case, please reply here for assistance.


Purchase NFT in Harmony daVinci marketplace directly from wallet

This requires an implementation of EIP-1271 (https://eips.ethereum.org/EIPS/eip-1271) and corresponding support from daVinci marketplace smart contract. I am waiting for the repository owners to respond.
https://github.com/harmony-one/davinci_nft_marketplace/blob/040514b07ce8f8047daca4b67cd9156ff58af937/contracts/exchange/ExchangeV1.sol#L114
https://github.com/harmony-one/davinci_nft_marketplace/blob/040514b07ce8f8047daca4b67cd9156ff58af937/contracts/exchange/ExchangeV1.sol#L125

Upon reviewing updated code from daVinci, I confirm EIP-1271 and contract change on daVinci are no longer required.
To speed up integration, we will first enable NFT purchase directly from 1wallet. This will be released as part of the update in https://github.com/polymorpher/one-wallet/issues/94

Resolved by https://github.com/polymorpher/one-wallet/pull/154, released in https://github.com/polymorpher/one-wallet/releases/tag/v0.13.1


Change require.js to webpack.

Change the examples to use Webpack.

Example code and documentation of basic web-pack expectations are done and up on the wiki as part of the advanced tutorial.


[main] Update community files

Cron -knative-prow-robot
Produced by: knative-extensions/knobots/actions/update-community
Details:

/retest

/override "On Cluster RT Test (1.20.2, ubuntu-latest, s2i)"


eth/client: fix legacy transfer

found while debugging #54

Codecov Report

Merging #57 (5e5d35c) into main (3a9514f) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main      #57   +/-   ##
=======================================
  Coverage   99.82%   99.82%
=======================================
  Files          39       39
  Lines        2843     2843
=======================================
  Hits         2838     2838
  Misses          5        5

Impacted Files
Coverage Δ

lib/eth/client.rb
100.00% <100.00%> (ø)

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 3a9514f...5e5d35c. Read the comment docs.


rule engine, send to message bus,set port 5563,but endpoint use 5573

@yu-qingyun sorry for the late reply
could you please provide your steps to reproduce this issue?
what version you are using?

No response, not enough detail for us to reproduce. Will reopen if more details emerge


Maybe add a figure of all colors in README

So potential users like me can see what colors are available? :)
Good stuff, Antonio.
/Meng

Sebastian said the same :)
Thanks for the encouragement!
The preview is coming soon

Should be ready now, so I am closing the issue.
Thanks for the feedback!!
/Antonio


Support SSO login

In a ticket with a long lineage, @smith said in chef/oc-id#37 that @ryancragun said in chef/chef-manage-issues#10 that:

As a Chef Manage user I would like to use SSO login (SAML, OpenID, etc) to authenticate and login to the Management console.

Note from the editor: Let's try to get a definitive answer for this one before it gets to a 4th repository.

FWIW, I'd like to see this feature as well.

@edyesed the best way to get some movement on this probably is to move the discussion to https://feedback.chef.io/. Closing this now.

Related idea on the feedback page: https://feedback.chef.io/forums/301644-chef-product-feedback/suggestions/8375115-improvements-to-external-user-authentication-and-a


fix(isolated-declarations): wrap TSFunctionType in parentheses if it is inside the TSUnionType

#5963  👈
main

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

Join @Dunqing and the rest of your teammates on  Graphite


Add party information in 2012 general and primary elections (lines 44…

…-56)

You made it! Send a mailing address to<EMAIL_ADDRESS>to receive your prize.

Great!
My mailing address is 2816 Denmead St. Lakewood, CA 90712.
Best,
Soomi
On Aug 3, 2017, at 8:57 AM, Ben Welsh<EMAIL_ADDRESS>wrote:

You made it! Send a mailing address to<EMAIL_ADDRESS>to receive your prize.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


[SPARK-49157] Enforce SignatureDeclareThrowsException and AvoidThrowingRawExceptionTypes rules

What changes were proposed in this pull request?
This PR aims to enforce SignatureDeclareThrowsException and AvoidThrowingRawExceptionTypes rules
Why are the changes needed?
To ensure future code quality.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Pass the CIs.
Was this patch authored or co-authored using generative AI tooling?
No.

cc: @dongjoon-hyun

Merged to main. Thank you for making this series of contributions.


Design 'Be an educator' tab in the drawer using web view activity within the application

Design 'Be an educator' tab from ct.docx file provided in the content folder
Create an activity that is pleasing to the eye in the theme colors of blue and white.
Whatsapp +91<PHONE_NUMBER> for clarifications
Put PR with Screenshots

Can you assign me to do this?

@SahanMonaara OK


Files re-download (Reddit) ( All file re-download on instagram )

Ripme version: 1.7.69
Java version: 11.0.1
Operating system: MacOS 10.14

I'm unsure if this is a bug, or if it is how it works
Expected Behavior
Once a file is downloaded (and is in url_history.txt) it should be ingored from the next rip.
Actual Behavior
Even when "remember url history" is set, it still redownloads the files.

Can you give me a test link?

https://www.reddit.com/r/bigbrother .. It doesn't re-download all of them but it does with most it also happened with https://www.reddit.com/r/bigbrothernsfw

It seems to re-download almost all Instagram posts for an account as well

Have you figured it out?

Not yet. I've confirmed this this is a bug


HTML

HTML
User Story
As a bootcamp student
I want the prework notes to be structured on a webpage
so that I can easily find and read information
Acceptance Criteria
GIVEN a Prework Study Guide website
WHEN I visit the website in my browser
THEN I see four boxes titled HTML, CSS, Git, and JavaScript with associated notes listed

CSS
User Story
As a boot camp student
I want the prework notes to be structured on a webpage
So that I can easily find and read the information
Acceptance Criteria
GIVEN the Prework Study Guide website
WHEN I view the study guide
THEN I see a dark blue header and footer, and four boxes with a shadow

README
User Story
As a boot camp student,
I want the prework notes to be structured on a webpage,
So that I can easily find and read the information.
##Acceptance Criteria
GIVEN the prework project repository,
WHEN I view the README for the repository,
THEN I can see a professional README that provides information on the project and how to use it


Add extras features docs to new model checklist

Housekeeping

Great stuff!
Isn't graphql an extras_feature as well? Looks like that one got missed.
Would it make sense to add a recommendation for a "default/minimal" set of extras_features, probably custom_links, custom_validators, export_templates, graphql, webhooks for all user-facing models?

Not sure how I missed graphql. Those are good suggestions. I'll make those changes.


Style/MutableConstant doesn't offer to freeze a parenthesized expression containing non-primitive values

Style/MutableConstant cop doesn't offer to freeze a parenthesized expression in cases like:
PARAMS_BASIC = %w[a b]
PARAMS_AUX = %w[c d]
COMBINED_PARAMS = (PARAMS_BASIC + PARAMS_AUX) # no demand to .freeze this

I had an assumption that "anything" that is right to the constant assignment that contains non-primitive values should be suggested to be frozen.

Expected behavior
COMBINED_PARAMS = (PARAMS_BASIC + PARAMS_AUX).freeze

Actual behavior
COMBINED_PARAMS = (PARAMS_BASIC + PARAMS_AUX)

rubocop --debug output:
Inheriting configuration from { ... skimmed... }.rubocop_todo.yml
Use parallel by default.
Skipping parallel inspection: only a single file needs inspection
Inspecting 1 file
Scanning { ... skimmed... }/freeze_parens_test.rb
.

1 file inspected, no offenses detected
Finished in 1.516961999997875 seconds

Steps to reproduce the problem
See the intro text of this issue
RuboCop version
% bundle exec rubocop -V
1.36.0 (using Parser <IP_ADDRESS>, rubocop-ast 1.28.0, running on ruby 3.0.5) [arm64-darwin21]

Plugins' versions from Gemfile.lock (they are used though a corporate proxy gem so are not displayed in rubocop -V output):
rubocop-performance (1.13.3)
rubocop-rails (2.13.2)
rubocop-rake (0.6.0)
rubocop-rspec (2.8.0)
rubocop-thread_safety (0.4.4)

Additional notes
Also, it would be great for this cop to detect cases of array addition/subtraction:
A = [1, 2]
B = [2, 4]
C = A + B # turn this into C = (A + B).freeze
C = A - B # turn this into C = (A - B).freeze

But I realize that this could be impossible without tracking the types of the previously parsed expressions (I don't know the Rubocop internals, unfortunately).

This is expected behavior. You need to use EnforcedStyle: strict for this. See https://github.com/rubocop/rubocop/blob/3f8582b2f32a219e37caf9c93928e3cdeadefc4c/lib/rubocop/cop/style/mutable_constant.rb#L36-L81


Unknown Argument

Whoever is responsible for the launch.py, the following lines are not working (unknown argument error):
arguments=['--ros-args', '--log-file', PathJoinSubstitution([log_directory, 'waypoint_node.log'])]

Please checkout the whole repository and test your launch file locally before pushing something from ChatGPT without any checks.
Thanks.

removed and fixed


Added support for Linux arm64 (Raspberry Pi 3).

Codecov Report

Merging #42 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master     #42   +/-   ##
======================================
  Coverage    96.5%   96.5%
======================================
  Files           4       4
  Lines         143     143
  Branches       15      15
======================================
  Hits          138     138
  Misses          5       5

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 8ea60bb...4584da4. Read the comment docs.

Thanks!

No problem.


[ Mobile / Desktop ] Implement SfBadge

Figma designs on Mobile Guide > Urgency Elements.

Proposed API

default slot (for content);
CSS modifiers --info, --alert and --warning, defaults to primary color (the green);

No props, no methods, no events (pretty simple :smile: ).
Take a look on SfAlert as reference.
Please mind that it's just a proposal. We're open to discussion regarding component API.

Looks good but shouldn't it be SfBadge? Afaik this element in UI is called a badge. Ref - https://www.google.com/search?biw=1440&bih=789&tbm=isch&sa=1&ei=pV-uXPCTLZHCUtKOuvgN&q=product+badge&oq=product+badge&gs_l=img.3..0i19l3j0i5i30i19l3j0i8i30i19l2.3463.4015..4267...0.0..0.97.412.5......1....1..gws-wiz-img.......0j0i30.a8nOnIEoEsE#imgrc=jCVqiPU5h9OVRM:

Maybe, but we'd have another badge too, right? Circular and smaller (for the cart icon, for example), I had thought of calling it SfBadge, so I called this SfTag component.

But if we do not have another badge component, I agree it's better to call this component of bagde than tag...

What you mean by the oen with cart icon ? You mean for example small circle indicating that it's not empty? I guess we will handle this case in a separate SfIcon component

It's ready to pick if anyone is interest ;)

I'll take this.

I'm uanssigning since it looks like abandoned one ;) ANyone willing to implement - feel free to do so

I'm willing to have a try.

Is there a group or anywhere we can talk about the code and design?

@decadef20 sure ping me here https://join.slack.com/t/vuestorefront/shared_invite/enQtMzA4MTM2NTE5NjM2LTI1M2RmOWIyOTk0MzFlMDU3YzJlYzcyYzNiNjUyZWJiMTZjZjc3MjRlYmE5ZWQ1YWRhNTQyM2ZjN2ZkMzZlNTg
I also added you as a collaborator so you can assign yourself in a future!

https://github.com/DivanteLtd/storefront-ui/pull/96


[Feature] Precompiled Binaries

Problem
Right now, AWS asks you to compile the SDK from scratch. While the instructions are simple, straightforward and are easy to follow... It's a fairly time consuming process to get from clone to make install.
It would be great if there was some sort of public S3 bucket where you could curl binaries for specifics archs you need.
Solution
Use curl and wget
We really don't need to get bogged down with Linux/Darwin/DOS package managers like apt, brew or choco. Instead, it would be best if there was a straightforward to curl your desired arch binaries to your local include folder.
A good example snippet of how the end result implementation would look like is:
curl https://some-s3-bucket.com/arch.gz -o s3-sdk-arch.gz
gunzip s3-sdk-arch.gz /usr/local/...
...
# the actual commands may need to be slightly different.

Create a Unix compatible bash script
This is far more effort to develop and maintain. (Take a look at nvm for an example of level of effort to implement). However, it would make it even easier for developers. Where you'd literally just have to run some like:
curl https://universal.shell.script -o universal.script.sh
sh universal.script.sh

Only posting this here, since it would be a handy feature to integrate into the AWS C++ Ecosystem.
-- Chris

@ChrisCates ,
Not sure if we would take this request for like git clone or curl get each service component, but we do support a way to build only the services you need so that the building process doesn't take quite as long, you can look here for more info, but basically just add the cmake parameter -DBUILD_ONLY=<service_name> (for multiple services separate them by ';') for example:
cmake <source_dir> -DBUILD_ONLY="s3;dynamodb;transfer"
Would build only the s3, transfer manager and dynamodb services.
Let me know if that helps.

@ChrisCates ,
Not sure if we would take this request for like git clone or curl get each service component, but we do support a way to build only the services you need so that the building process doesn't take quite as long, you can look here for more info, but basically just add the cmake parameter -DBUILD_ONLY=<service_name> (for multiple services separate them by ';') for example:
cmake <source_dir> -DBUILD_ONLY="s3;dynamodb;transfer"
Would build only the s3, transfer manager and dynamodb services.
Let me know if that helps.

@KaibaLopez, so the way I see it is there would be a .tar.gz file for each service stored in AWS S3.
Example:
libaws-cpp-sdk-alexaforbusiness.tar.gz
libaws-cpp-sdk-firehose.tar.gz
libaws-cpp-sdk-amplifybackend.tar.gz
libaws-cpp-sdk-amplify.tar.gz

And then in the .sh script you curl and then run. It would unzip and then transfer those files to /usr/local/lib or could have a flag like: sh script.sh --path /usr/local/alternative/path

@KaibaLopez, so the way I see it is there would be a .tar.gz file for each service stored in AWS S3.
Example:
libaws-cpp-sdk-alexaforbusiness.tar.gz
libaws-cpp-sdk-firehose.tar.gz
libaws-cpp-sdk-amplifybackend.tar.gz
libaws-cpp-sdk-amplify.tar.gz

And then in the .sh script you curl and then run. It would unzip and then transfer those files to /usr/local/lib or could have a flag like: sh script.sh --path /usr/local/alternative/path

I think I wasn't really clear on the last comment but, the problem is supporting precompiled binaries, the short reason for that being that the sdk is not a header only library so there is just too many variables.
It's kind of a c++ limitation... I found this stack overflow question that pretty much explains why it's just not normal practice for non header only libraries in case you wanna read more about that.

I think I wasn't really clear on the last comment but, the problem is supporting precompiled binaries, the short reason for that being that the sdk is not a header only library so there is just too many variables.
It's kind of a c++ limitation... I found this stack overflow question that pretty much explains why it's just not normal practice for non header only libraries in case you wanna read more about that.

@KaibaLopez, completely reasonable.
In this case, we would just want to have a Universal Install script that can be ran via something like:
curl -o- https://cdn.aws.com/aws-sdk-cpp/install.sh | bash

And would automatically compile the project correctly for said Arch.
Further more, it could be granularized with flags like:
curl -o- https://cdn.aws.com/aws-sdk-cpp/install.sh | bash --components S3,EC2 #etc etc

This is lower priority and don't worry about this too much.
Better to focus on stable compiles on all archs.
Keep this issue as a reference for the future though.

@KaibaLopez, completely reasonable.
In this case, we would just want to have a Universal Install script that can be ran via something like:
curl -o- https://cdn.aws.com/aws-sdk-cpp/install.sh | bash

And would automatically compile the project correctly for said Arch.
Further more, it could be granularized with flags like:
curl -o- https://cdn.aws.com/aws-sdk-cpp/install.sh | bash --components S3,EC2 #etc etc

This is lower priority and don't worry about this too much.
Better to focus on stable compiles on all archs.
Keep this issue as a reference for the future though.

so while that'd be cool, I think we'd find ourselves in the same "hard to maintain" situation where we'd have to have a bunch of scripts (at least one for each OS).
But yea, I mean we kind of do that for docker images so it may be possible, will keep it open as reference and also to kind of gauge interest on this kind of request.

so while that'd be cool, I think we'd find ourselves in the same "hard to maintain" situation where we'd have to have a bunch of scripts (at least one for each OS).
But yea, I mean we kind of do that for docker images so it may be possible, will keep it open as reference and also to kind of gauge interest on this kind of request.

Absolutely, let's not increase scope for the time being.
Most important is making sure compiling is smooth for end users.
Looking forward to seeing new updates come in soon! Cheers.

Absolutely, let's not increase scope for the time being.
Most important is making sure compiling is smooth for end users.
Looking forward to seeing new updates come in soon! Cheers.

Supporting pre-built releases would definitely be a great improvement for adoption.
It's a real pain to ask everyone using a library indirectly depending on the AWS SDK for C++ to manually download and build it.

@NewbiZ, the alternative is to go the header based route instead of .so lib files.
They don't seem to want to do a header based library. Even though I think this is what the C++ community needs to survive Rust.

@NewbiZ yea, fair enough, doesn't solve C++ having a Rust package manager (CMake is nowhere close). Anyway, let's see what the boys at AWS are going to respond.

Honestly I'm fine with doing the work of automating the construction of a pre-built .tar.gz and deb package, hosted on github release, it's really not much work. But I need some assurance it will be merged and not just PR ghosted.


Investigate Set component allocations with Ledger

I'm having trouble getting the set allocations to show up when connecting my ledger.
The error I'm receiving is An operation that changes the device state is in progress.

I'm not an expert on our ledger integration. This shows up in my google search:
https://github.com/crosswalk-project/chromium-crosswalk/blob/master/third_party/WebKit/Source/modules/webusb/USBDevice.cpp

Originally posted by @controtie in https://github.com/SetProtocol/index-ui/issues/422#issuecomment-970588296
Investigate this on website-v2-master branch

Still investigating. This looks caused by https://github.com/SetProtocol/index-ui/blob/46e42c0122b02948a8a7ce1de1b5d8186caa49a8/src/utils/setjsApi.ts#L70
index-ui doesn't do proper error handling so we should add a .catch() to the function that invokes this method. set.js may also need to be updated to catch the error and propagate a stacktrace.

Relevant https://github.com/LedgerHQ/ledgerjs/issues/607

Created https://github.com/LedgerHQ/ledgerjs/issues/718


Inconsistency of sensor values

I'm working on a project with actually 8 BME280 on 8 different PCBs with the nRF51822 as microcontroller. For communication the I2C interface is used. I am using the provided API as well as the initialization and forced mode readout function from the readme (I only changed the oversampling rate to 1x), but the sensor values are very inconsistent.
In the following table the values for the 8 different sensors are listed. I added reference values from a home weather station in the last column.
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | weather station
-- | -- | -- | -- | -- | -- | -- | -- | -- | --
Humidity | 62,08 | 63,4 | 72,8 | 94,6 | 89 |  63,8 | 97,7 | 63,6 | 59
Pressure | 996,12 | 995,8 | 996,37 | 990,91 | 994,2 | 990,34 | 1001,9 | 994,5 | 1004,3
Temperature | 25,73 | 26,4 | 26,3 | 25,76 | 26,2 | 25,9 | 25,97 | 26,35 | 24,2
Do you have any ideas what's going wrong?

@tkrahn108 ,
What is the time interval between each of the measurements?
A fix based on #21 is in progress and will be released soon. That might explain the deviation in the pressure and temperature signals. regarding the humidity signal, it could be data from a real change in humidity near the sensor.

@BoschSensortec
At the moment the interval between each measurement is set to 5 seconds.
Hopefully it will help. But I already tried to correct the base shift and it didn't solve this problem. Regarding humidity, I don't think it is a real change in humidity as the sensors are lying side by side. This cannot explain a deviation of about 30 %, can it?

@tkrahn108 ,
Is it possible for you to get a bus transaction log using a logic analyzer, like the Saleae for example?
Also, I assume you are using the newest version of the API.

@BoschSensortec ,
at the moment I have no logic analyzer but I will try to get one.
Yes, I'm using the newest API version 3.2.0.
Maybe some additional information could help you: I noticed that at least the pressure and temperature values vary linearly from the weather station's values for device 1 (Pressure: ~-8 hPa, Temperature: ~+1,5°C ). Therefore, I suppose that there is something wrong with the compensation function or/and the trimming parameters.

@tkrahn108 ,
Can you please check with the latest release v3.3.0 if the problem still persists. Also, you can create a communication log by printing the data passed to and from the read/write functions. Remember to print before the SPI/I2C write transaction inside the wrapper and after the SPI/I2C transaction during read.

@BoschSensortec ,
yes, the problem still persists with v3.3.0.
Here is the communication log for device 1. It includes initialization, configuration as in the stream_sensor_data_normal_mode of the README and the first five data readouts.
bme_280_read
dev_id: 76	 reg_addr: D0	 len: 1
data: 60

bme_280_write
dev_id: 76	 reg_addr: E0	 len: 1
data: B6

bme_280_read
dev_id: 76	 reg_addr: 88	 len: 26
data: AC 	6D 	B2 	66 	32 	00 	4C 	91 	E2 	D5 	D0 	0B 	FC 	1B 	E4 	FF 	F9 	FF 	AC 	26 	0A 	D8 	BD 	10 	00 	4B

bme_280_read
dev_id: 76	 reg_addr: E1	 len: 7
data: 6D 	01 	00 	13 	07 	00 	1E

bme_280_read
dev_id: 76	 reg_addr: F4	 len: 1
data: 00

bme_280_write
dev_id: 76	 reg_addr: F2	 len: 1
data: 01

bme_280_read
dev_id: 76	 reg_addr: F4	 len: 1
data: 00

bme_280_write
dev_id: 76	 reg_addr: F4	 len: 1
data: 00

bme_280_read
dev_id: 76	 reg_addr: F4	 len: 1
data: 00

bme_280_write
dev_id: 76	 reg_addr: F4	 len: 1
data: 54

bme_280_read
dev_id: 76	 reg_addr: F5	 len: 1
data: 00

bme_280_write
dev_id: 76	 reg_addr: F5	 len: 1
data: 30

bme_280_read
dev_id: 76	 reg_addr: F4	 len: 1
data: 54

bme_280_read
dev_id: 76	 reg_addr: F4	 len: 1
data: 54

bme_280_write
dev_id: 76	 reg_addr: F4	 len: 1
data: 57

bme_280_read
dev_id: 76	 reg_addr: F7	 len: 8
data: 53 	10 	70 	82 	17 	30 	7D 	66
2621	99872	70640

bme_280_read
dev_id: 76	 reg_addr: F7	 len: 8
data: 53 	12 	70 	82 	1E 	70 	7D 	63
2625	99872	70635

bme_280_read
dev_id: 76	 reg_addr: F7	 len: 8
data: 53 	13 	40 	82 	21 	C0 	7D 	66
2627	99873	70649

bme_280_read
dev_id: 76	 reg_addr: F7	 len: 8
data: 53 	13 	A0 	82 	23 	60 	7D 	6C
2627	99872	70684

bme_280_read
dev_id: 76	 reg_addr: F7	 len: 8
data: 53 	13 	D0 	82 	24 	80 	7D 	6F
2628	99877	70708

The corresponding values of the weather station (if you are interested in) were 25,0°C, 1006,8 hPa and 63%.

@tkrahn108 ,
Would it be possible for you to share more details about your hardware setup?
In addition, you could perform an overnight experiment using an air-tight box to achieve a constant humidity of 75% using a saturated table salt (sodium chloride) solution and measuring the humidity and temperature overnight.

@BoschSensortec ,
I am allowed to provide some hopefully relevant details of the schematic.

Regarding the experiment, I will try to perform the experiment within the next few days.

@BoschSensortec ,
I have performed the experiment last night with three devices (1, 4, 6). I obtained the following data
BME280_#1.xlsx
BME280_#4.xlsx
BME280_#6.xlsx
Hopefully, I achieved a constant humidity of 75% within the air-tight box. I have controlled with the weather station and get a humidity of 73% this morning. But it is not excluded that there is some measurement error for this device, too. Otherwise, I don't know whether the box was really air-tight. Despite this I hope this data will be useful.
One more explanatory note for the data of device 4. The humidity was constant since 21:56:51 until I stopped the experiment this morning.
In addition, I want to provide some diagrams for a first view:
Device 1

Device 4

Device 6

@tkrahn108 ,
We will investigate this and get back to you shortly.

@tkrahn108 ,
We setup a test with 2 sensors controlled by an Cortex M0+micro-controller and observed that the humidity was within the accuracy tolerance of 3%, 72% - 78%. The test was conducted in an air tight box and the humidity was saturated to 75% with the help of a saturated Sodium Chloride solution.
Can you comment on the compiler you are currently using for the nrf51822 and related compile options?

@BoschSensortec ,
I am using the ARM compiler V5.06 update 4 (build 422) with the follwing control string:
-c --cpu Cortex-M0 -D__EVAL -D__MICROLIB -g -O3 --apcs=interwork --split_sections
-I ../../../config
-I ../../../../../bsp
-I ../../../../../../components/toolchain
-I ../../../../../../components/ble/ble_advertising
-I ../../../../../../components/ble/common
-I ../../../../../../components/ble/device_manager
-I ../../../../../../components/drivers_nrf/common
-I ../../../../../../components/drivers_nrf/delay
-I ../../../../../../components/drivers_nrf/gpiote
-I ../../../../../../components/drivers_nrf/config
-I ../../../../../../components/drivers_nrf/hal
-I ../../../../../../components/drivers_nrf/pstorage
-I ../../../../../../components/drivers_nrf/uart
-I ../../../../../../components/libraries/button
-I ../../../../../../components/libraries/timer
-I ../../../../../../components/libraries/trace
-I ../../../../../../components/libraries/uart
-I ../../../../../../components/libraries/util
-I ../../../../../../components/softdevice/common/softdevice_handler
-I ../../../../../../components/softdevice/s110/headers
-I C:/Keil_v5/ARM/Pack/NordicSemiconductor/RTT
-I ../arm5_no_packs -I ../../../../../../components/drivers_nrf/twi_master
--c99
-IC:/Temp/.../pca10028/s110/arm5_no_packs/RTE/_nrf51422_xxac_s110
-IC:/Keil_v5/ARM/PACK/ARM/CMSIS/4.5.0/CMSIS/Include
-IC:/Keil_v5/ARM/PACK/NordicSemiconductor/nRF_DeviceFamilyPack/8.2.0/Device/Include
-IC:/Keil_v5/ARM/PACK/NordicSemiconductor/nRF_DeviceFamilyPack/8.9.0/Device/Include
-D__UVISION_VERSION="522" -D_RTE_ -DNRF51 -DBLE_STACK_SUPPORT_REQD -DS110 -DBOARD_PCA10028 -DSOFTDEVICE_PRESENT -DNRF51 -DSWI_DISABLE0
-o .\_build\*.o --omf_browse .\_build\*.crf --depend .\_build\*.d

@tkrahn108 ,
We tried replicating it with our sensors but do not see the sensor to be out of spec. It might be that due to storage conditions or other factors, the sensor may need reconditioning. You can find information related to that in the Handling, Soldering, & Mounting Instructions document. Try the 2nd procedure under Chapter 3.3.

@tkrahn108
It's really worth while looking at your physical setup, too, in particular in relation to airflow across the devices.
I have a bunch of sensors that were showing similar discrepancies in readings to yours. Three sensors sitting 5cm away from each other gave readings that were across a range of 20 percentage points - eg 50%, 60% and 70% from each of the three sensors at one time.
I decided to try comparing them against a known standard. Not having access to anything more sophisticated, I set up a wet/dry bulb thermometer system using some DS18B20 devices. I had previously tested these particular ones and knew I could rely on them to be within 0.1C of each other.
What I discovered was that, provided I had a fan blowing air across the group of sensors, the BME280s were within a couple of percentage points of each other and of the humidity calculated from the wet and dry readings (plus pressure, which was reliably supplied by the BME280s). A steady airflow is a requirement of the wet/dry bulb system to get sufficient evaporation from the surface of the wet bulb thermometer. I just used a desk fan on slow-speed setting (barely enough to ruffle papers)
If I turned off the fan, the devices quickly returned to their previous behaviour - a wide spread of readings. So it's clear that they need airflow across them to get reliable humidity readings. (Not too much, or the pressure readings will suffer:-)
Regards, Brian

@marriotb
Thank you for sharing your experiences with the BME280.
Do your devices have a casing? My devices don't have a housing at the moment.

@BoschSensortec ,
I performed the reconditioning procedure (I couldn't control humidity during dry-baking, hopefully it was <5 %), but the humidity sensors still have an offset. It seems that the offset for device 1 is even larger. Afterwards, I performed the test with the sodium chloride solution and the air-tight box with 3 devices again. I obtained the following humidity data:
Device 1

Device 3

Device 4

The temperature seems to be more accurate now (within ~0.2 °C for three devices), approximately matching the weather station's data.

@tkrahn108
My devices aren't in any case at the moment. I'm still to recondition them, but I'm hoping that will bring the readings closer (as it did with yours).
The humidity in a normal domestic oven will be well under 5% at the dry-baking temperature. The absolute humidity at anything like normal ambient is such that when you raise that air to 100C or more, the relative humidity is extremely low. (I looked it up in my old pre-SI steam tables and  confirmed my expectation that that would be the case.)

@tkrahn108 & @marriotb ,
This is a unique case. Could you please contact us via the contact form so we can resolve the issue sooner.
Thank you.

@tkrahn108 & @marriotb ,
In the meantime, can you post the register values for registers 0x83, 0x84, 0x85 and 0x86?

0x83: 19 	 0x84: 89 	 0x85: 2D 	 0x86: F6
0x83: 1A 	 0x84: 3B 	 0x85: 2D 	 0x86: F6
0x83: 49 	 0x84: 67 	 0x85: 76 	 0x86: CA
0x83: 49 	 0x84: A0 	 0x85: 76 	 0x86: CA
0x83: 49 	 0x84: 17 	 0x85: 76 	 0x86: CA
0x83: 49 	 0x84: 1B 	 0x85: 76 	 0x86: CA
0x83: 49 	 0x84: A2 	 0x85: 76 	 0x86: CA

@tkrahn108 ,
We would also need the lot numbers to trace the specific part. Information can be found on page 43 of the datasheet.

055 for 2 devices and 095 for the other devices

I am having an almost identical problem between 5 prototype sensors. Pressure and temperature are reading correctly. Humidity is ridiculously out of spec - reads 40% LOW. Already performed reconditioning procedure in a Thermotron environmental chamber (the chamber is < 5yrs old, maintained by a university... Hopefully no problems there). Is worse now than before reconditioning.
Will read 0.00% when below 40%. Gets worse with temperature increase. At 45C and 70% humidity in a Thermotron environmental chamber, the device reads 44.5C and 0.00%RH. If I decrease temperature to 30C and increase humidity to 80%, the device reads 30%.
Batch of BMEs ordered thru Digikey within the last 8 weeks. Could dig up batch number.
Using NRF52 series MCU.


confusing variable name

in line 750, variable  x is a confusing name, changing  to err  is more readable.

        func (db *DB) mCompaction() {
	var x cCmd

	defer func() {
line 750		if x := recover(); x != nil {      ---> variable  x is a confusing name
			if x != errCompactionTransactExiting {
				panic(x)
			}
		}
		if x != nil {
			x.ack(ErrClosed)
		}
		db.closeW.Done()
	}()

Nothing requires panic to be called with an error. The type of x is interface{}, and it's underlying type is whatever it happens to be. https://play.golang.org/p/HJAHDw-TXOl


Missing subchain, allow specified start block

Add an optional --start-state-hash flag to missing_subchain app. Rename the --state-hash flag to --end-state-hash.
If you provide both hashes, you get all blocks between start and end, and including the start and end.
If you provide just the end hash, you get all blocks starting with the unparented block closest to the end block, possibly the genesis block.
Tested against a Rosetta-generated archive db, with just the end hash, and with both start and end hashes, and with NULLing the parent id of a block in the middle.
Closes #7870.

!approved-for-mainnet


Redis 3.0.501 Cluster Performance.

Environment Details:
Redis Version : 3.0.501
Redis Client : StackExchange.Redis
Redis Cluster Size : 6 (3Master & 3 Slaves)
On testing Redis cluster with my use case, I see Redis Master-Salve(Active Passive setup) is performing way better than Redis Cluster setup.
Is this expected behavior ? Or do I need to tweak?

Hi @sreefubs
can you provide some numbers to have a better idea of the difference in performance?
Thank you.

I'm doing 50000 HGET Iterations.
Time taken/HGET:
Active-Passive Setup : 0.4milliseconds
Cluster Setup : 0.7 milliseconds

@sreefubs
from a Salvatore Sanfilippo comment about the cluster performance:

With a pipeline of 32 operations the cluster node handles 250k
ops/sec, while the non-cluster version 500 ops/sec.

So I don't see any performance degradation for the Windows version compared to the Linux version.

Thanks a lot for your quick reply. Have I understood properly,
Cluster node handles 250k ops/sec
non-cluster handles 500k ops/sec
Having said that, non-cluster is performing is 2x faster right ?

@sreefubs
those numbers are a general indication, they aren't absolute values but relative to the machine configuration used, on different machines/environments there might be slight different results.
Given the cluster has more operations to carry on for each query, the numbers you are seeing in your test are consistent with the expected behavior.

Thanks E.G. :)
I was in a assumption that Cluster setup will provide Higher or atleast the equal performance in comparing with Active Passive setup.

@sreefubs
Redis cluster is designed to scale up to 1000 nodes, I guess that as soon as the nodes count grows up to a certain value the performance gain of the cluster solution is significant.
To determine when the cluster is a better choice it depends on the user-case.


LoadingBarInterceptor

Create a reusable and optional LoadingBarInterceptor without external dependencies

Makes more sense move this to project https://github.com/atende/angular-spa/issues/1


docs: Examples for column and table classes

Closes #224 .
Summary of Changes
Added examples to the docstrings of all methods of the classes Table and Column.

We need to wait until GitHub Actions is back up. In the meantime I've merge main into this branch. Please check whether all functions of Table and Column are now covered by docstrings. You can also locally test whether the examples are correct by running
poetry run pytest --doctest-modules

🦙 MegaLinter status: ❌ ERROR

Descriptor
Linter
Files
Fixed
Errors
Elapsed time

✅ PYTHON
black
2
1
0
1.56s

✅ PYTHON
mypy
2

0
2.24s

❌ PYTHON
ruff
2
1
9
0.08s

✅ REPOSITORY
git_diff
yes

no
0.03s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff
MegaLinter is graciously provided by

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

v0.14.0
GitHub release

Your semantic-release bot :package::rocket:


record selectors and edits

 Issue by sweirich
Sunday Dec 03, 2017 at 13:11 GMT
Originally opened as https://github.com/antalsz/hs-to-coq/issues/54

Automatically generated record selectors cannot be skipped or redefined using edits.

 Comment by antalsz
Friday Jun 28, 2019 at 19:34 GMT

They can now be skipped, but not redefined


Do not pass stage prop in production mode

This is appearing in the url, it's kinda weird.

Fixed, ready for push.


API client operations should allow nil input value

The API client operations should allow the user to pass in nil for the input parameters. This removes the need for the users to experience unexpected nil-dereferences in the SDK, and makes it more straight forward when making API calls with only optional parameters.
func (c *Client) BatchWriteItem(ctx context.Context, params *BatchWriteItemInput, optFns ...func(*Options)) (*BatchWriteItemOutput, error) {

	if params == nil {
		params = &BatchWriteItemInput{}
	}

	stack := middleware.NewStack("BatchWriteItem", smithyhttp.NewStackRequest)

It would also be nice to generate custom doc letting user know this is an option for operations with only optional  parameters.

This has been resolved


Could not load type 'System.Runtime.InteropServices.OSPlatform

Running PowerShell 5.1 on Windows 7 running .Net received following error:
Connect-PowerBIServiceAccount : Could not load type 'System.Runtime.InteropServices.OSPlatform' from assembly 'netstandard, Version=<IP_ADDRESS>, Culture=neutral,
PublicKeyToken=cc7b13ffcd2ddd51'.
At line:1 char:1

Connect-PowerBIServiceAccount

  + CategoryInfo          : WriteError: (Microsoft.Power...IServiceAccount:ConnectPowerBIServiceAccount) [Connect-PowerBIServiceAccount], TypeLoadException
  + FullyQualifiedErrorId : Could not load type 'System.Runtime.InteropServices.OSPlatform' from assembly 'netstandard, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyTok
 en=cc7b13ffcd2ddd51'.,Microsoft.PowerBI.Commands.Profile.ConnectPowerBIServiceAccount

I am facing with same issue, I do have necessary supported environments on my machine
Windows PowerShell v3.0 (I have a v5) and up with .NET 4.6.1.

Please update to .NET 4.7.1 or later. Sadly this can't be fixed as it's an issue in .NET Framework. We tried to workaround this by copying netstandard.dll into the Power BI PowerShell module which fixed some environments but for others they run into this issue. Next release of this module, documentation will state 4.7.1 as the minimal version supported.

README was updated with newer .NET version


Additional details and impacted files
@@            Coverage Diff             @@
##           master     #864      +/-   ##
==========================================
- Coverage   80.83%   80.34%   -0.50%
==========================================
  Files         256      254       -2
  Lines       22920    22910      -10
==========================================
- Hits        18528    18406     -122
- Misses       4392     4504     +112

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

Experiment conclusion. It is very difficult to find a configuration of inline annotations that produces good results on both native and Wasm platforms on different systems. More research needed. For now we close this experiment.


search and API - visualize and filter the shortest and full (long) path between keyword and genes

Have a new search option where shortest and all possible links between a keyword and gene(s) is visualized? This way one could find the indirect (long) relationships.
Major new feature:
Requires API's to return the entire semantic motif between gene and evidence nodes, and with extended gene view json format and for the client UI to have features to visualise, and also filter the full graph path.

Moved to 5.7

Moved to 5.7, but this should form part of the Empat Project in Phase 2.

This is part of Empat Project in Phase 2 but still requires work from us to ensure we can compute the shortest path.
We've asked them to add functionality to the right click menu for two key features (which relate to this ticket):

Show direct links
Show shortest path

Each function is only available when >1 nodes are selected. Show direct path would connect the genes so long as the 'hop' has a max distance of 1 (they're directly related). Show shortest path would only connect nodes if they have a relationship, and do so via a route with the least amount of hops. I'm sure there are either plugins or examples with Cytoscape online :).


Add Conan support, because Conan is super awesome

If you haven't seen (Conan)[https://www.conan.io], I recommend having a look. It's a package manager for C++. This PR adds a conanfile..py, which is necessary for pushing PEGTL to Conan—you would also need to install the Conan tool to release on Conan, of course.

(You can check that this works for yourself by having a look at the testing release I've made PEGTL/2.0.0@DEGoodmanWilson/testing )

Coverage remained the same at 100.0% when pulling 7aee8c7e0e23b26a631b2d10b6f1376bf0a8f359 on DEGoodmanWilson:master into 949a5796e5a54c75ce9a6d48f7b11b92f1defbf8 on taocpp:master.

Thanks for the suggestion. While we are open to having the PEGTL included in as many package managers as reasonable, we cannot help but notice that none of the other packages made from the PEGTL require us to include configuration files, or even tools, to support the package system in question. Is there a non-invasive way of creating a PEGTL package for conan? We support package maintainers, but are not package maintainers ourselves - there are simply too many.

Thanks for the kind response. In fact, managing the package externally and in a non-invasive way is something that can be done easily: I just wanted to offer this first. No problem!


go: fix 404 link to cpu readme

@stuartcarnie @alexandreyc

LGTM @sbinet

Normally, we should open an issue on JIRA for all pull requests: https://issues.apache.org/jira/browse/ARROW
See also: https://cwiki.apache.org/confluence/display/ARROW/Contributing+to+Apache+Arrow
But we accept tiny fix such as a trivial typo fix without issue. In this case, we don't need a JIRA issue.
So I'll merge this after I fix the commit message. We use "[Go] ${SUMMARY}" format for commit message.

I've merged. Thanks for your contribution!


[Docs] Color import correction

Tiny fix.
Changed
import { red, orange } from 'material-ui/styles/colors';

to

import { red, orange } from 'material-ui/colors';

Good catch! Can you fix the formating issue?

Sorry something messed up last time. Should be good now.

@wieseljonas Thank you


README needed for python dependencies

Hi, I'd be happy to draft a README for using this plugin if you could provide me with the dependencies needed to use the plugin.

In particular, pymssql:  What version is needed?

nvm, I figured out them out:
OS-level dependencies:  unixodbc, freetds  <-- I installed these with homebrew
python module dependencies:  Cython, smartopen, pymssql.  <-- Installed with pip


TAP 1.4.0 - All inclusive

Issue #, if available:
Description of changes:

This PR also includes changes from  PR-128
EKS 1.24 update. needed to bump the submodule EKS stack to get 1.24 support
Remove Parameters KubernetesVersion & TAPVersion

@tlindsay42
Note: IF YOU MERGE THIS PR, THEN YOU CAN IGNORE PR#128
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@satya-dillikar Per your statement above and the content, this is the replacement for #128, right? Is so, want me to just close it now so there's no confusion later?

@satya-dillikar Per your statement above and the content, this is the replacement for #128, right? Is so, want me to just close it now so there's no confusion later?

Yes.

if e2e ci passes, then please merge this.

/do-e2e-tests

/do-e2e-tests

/do-e2e-tests

/do-e2e-tests

@satya-dillikar ; can you please close this PR, so there is no confusion.
This PR has been superseded by #134 ; Whatever we have in this PR and not in #134 will be tackled in a different PR.

closing as requested above.

Re-opening briefly to re-run end-to-end tests after failing to duplicate in my sandbox account.

/do-e2e-tests

Same wait condition timeouts for both stacks again...

/do-e2e-tests


Project status.

After a long time i take a look at zenbot. Looks like that now is trading only from rsi value and some tricks on default_logic. Looks like all the learning thing present on 2.0 is gone now.

https://github.com/carlos8f/zenbot/issues/128

Zenbot 4 is up and running! It uses an EMA-based approach now, and the strategy is more tweakable and nuanced. Do give it a try and let me know what you think.


bitcoin: create Block type

Builds off Tx and Block types to add a codec from a Buffer.
Closes #248

Codecov Report
Base: 94.13% // Head: 94.15% // Increases project coverage by +0.02% :tada:

Coverage data is based on head (20d537d) compared to base (2b9ef79).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #263      +/-   ##
==========================================
+ Coverage   94.13%   94.15%   +0.02%
==========================================
  Files         200      201       +1
  Lines        5488     5508      +20
  Branches      658      658
==========================================
+ Hits         5166     5186      +20
  Misses        179      179
  Partials      143      143

Impacted Files
Coverage Δ

packages/bitcoin/lib/Block.ts
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Coordinator firmware for CC2538+2592

I am trying to assemble a USB stick using CC2538+2592 (MODKAMRU Zigbee V3) for coordinator.
I have downloaded the firmware CC2538_CC2592_MODKAMRU_V3_20200327.zip from
https://github.com/Koenkk/Z-Stack-firmware/tree/master/coordinator/Z-Stack_3.0.x/bin
I got 3 firmwares after unzip the zip file.
MODKAMRU_V3_UART-flow-control.hex, MODKAMRU_V3_UART-no-flow-control.hex, MODKAMRU_V3_USB.hex
Which firmware should I use for zigbee2mqtt?
Thanks.

for USB-stick use MODKAMRU_V3_USB.hex

Understood.
Thanks kirovilya!


Mpfs switch to exception common

Summary
Switch mpfs target to use riscv_exception_common to reduce code copies
Also fix riscv_exception_common to support more than 2 CPUs in SMP mode, and allow defining multiple IRQ stacs even when not using SMP.
This is needed by mpfs bootloader build, where nuttx is being booted only on one CPU, but the startup code still handles SW IRQs from all harts.

Did the modifications suggested by @pkarashchenko


Conventions

Added some name conventions style.

@mpioski
Thank you again for another great contribution! Could you provide some reference to which convention you've used? It would be of great help, since we can document this in the project's wiki and contribution guidelines!
Keep it up!

@mpioski
Thank you again for another great contribution! Could you provide some reference to which convention you've used? It would be of great help, since we can document this in the project's wiki and contribution guidelines!
Keep it up!

Hello!
I used the PEP 8:
https://www.python.org/dev/peps/pep-0008/


[BUG]: unable to satisfy dependency 'python-future'

Athena OS version
v23.11
Which environment or technology are you using?

[X] Baremetal
[ ] VirtualBox Virtual Machine
[ ] VMware Virtual Machine
[ ] Hyper-V Virtual Machine
[ ] QEMU/KVM
[ ] Parallels
[ ] UTM
[ ] Container
[ ] WSL

Kernel version
6.6.67-1-lts
Involved software
No response
Repro steps
sudo pacman -S athena-student
#othe athena-packages also not working (web pentester ,red teamer)
Expected behavior
to install athena-student
Actual behavior
[👾]/home/sha4 $ sudo pacman -S athena-student
warning: athena-student-1.0.0-3 is up to date -- reinstalling
resolving dependencies...
warning: cannot resolve "python-future", a dependency of "python-python-whois"
warning: cannot resolve "python-python-whois", a dependency of "spiderfoot"
warning: cannot resolve "python-future", a dependency of "spiderfoot"
warning: cannot resolve "spiderfoot", a dependency of "athena-student"
:: There are 10 providers available for java-runtime>=9:
:: Repository extra

jdk-openjdk  2) jdk11-openjdk  3) jdk17-openjdk  4) jdk21-openjdk
jre-openjdk  6) jre11-openjdk  7) jre17-openjdk  8) jre21-openjdk
:: Repository chaotic-aur
jdk  10) jre

Enter a number (default=1):
warning: cannot resolve "python-future", a dependency of "wfuzz"
warning: cannot resolve "wfuzz", a dependency of "athena-student"
:: The following package cannot be upgraded due to unresolvable dependencies:
athena-student
:: Do you want to skip the above package for this upgrade? [y/N] N
error: failed to prepare transaction (could not satisfy dependencies)
:: unable to satisfy dependency 'python-future' required by python-python-whois
:: unable to satisfy dependency 'python-python-whois' required by spiderfoot
:: unable to satisfy dependency 'python-future' required by spiderfoot
:: unable to satisfy dependency 'spiderfoot' required by athena-student
:: unable to satisfy dependency 'python-future' required by wfuzz
:: unable to satisfy dependency 'wfuzz' required by athena-student
┌──[HQ🚀🌐<IP_ADDRESS>🔥sha4]
Diagnostic logs
python-future package

Run sudo pacman -Syy and try again.

Run sudo pacman -Syy and try again.

jre-openjdk  6) jre11-openjdk  7) jre17-openjdk  8) jre21-openjdk
:: Repository chaotic-aur
jdk  10) jre

Enter a number (default=1):
looking for conflicting packages...
warning: dependency cycle detected:
warning: python-soupsieve will be installed before its python-beautifulsoup4 dependency
warning: dependency cycle detected:
warning: python-incremental will be installed before its python-twisted dependency
somehow now working


sys.argv being split on spaces

My PHP program passes a string similar to this to a Python script:
$description = escapeshellcmd('ACSB9(E374T) B-labeled');
The Python script then uses docx to assign the value to a cell in a table:
product_table.cell(0, 1).text = str(sys.argv[3])    # Description
For this string only, the value is being split where a space occurs. I've tried to add quotes in the PHP and tried .join in the Python script with no success. Any ideas would be welcome.

The separator for sys.argv  is space. It is advisable to avoid using spaces in your parameters if you can. If you need to enter an argument that contains a space, you will need to surround it with quotation marks, such as "argument with space".
f"Arguments: '${argument with space}' ${argument-without-space"}"
or
sh''' program.py "${argument with space}" ${argument-without-space"} '''


Bug: Intermittent failures with "Error: Resource not accessible by integration"

We have integrated this into several of our repos and have found occassionally it fails with the error:
Error: Resource not accessible by integration

This usually goes away after re-running it.

#174

You need to add this permissions in the workflow
permissions:
  pull-requests: write
  contents: write
  statuses: write
  checks: write
  actions: write

It did not work for me.


New "FzfLua tmux_files" command

The idea is to move this plugin to fzf-lua: https://github.com/cgimenes/tmux-files.nvim

@cgimenes, I’m still not sure I understand the purpose of this, is your final plan close to https://github.com/laktak/extrakto?
If you are planning on extracting file names from pane history why the need for project files? Isn’t this a duplication of :FzfLua files?

Hi @ibhagwan!
Actually, no. BTW I'm having second thoughts if adding this feature to fzf-lua makes sense, but we can discuss this after I explain my idea below.
I use vim-test together with preservim/vimux to execute unit tests while I'm developing; vim-test uses vimux to open a small tmux pane just below neovim with the test results.
When a test fails, I need to use something like extrakto (or tmux-copycat in my case) to yank the filename of the test that failed, or even another file in the stacktrace for exceptions, and use FzfLua files to open it, then go to the line that I want to change.
This process is a little cumbersome and I didn't want to run vim-test inside neovim, because I lose the ability to add breakpoints in my code that launch some kind of REPL. So, I decided to create tmux-files.nvim: a plugin that grabs texts from every pane open in the current tmux window, excluding the current one that should be neovim, and list every filename it finds using fzf-lua.
Now, for the project_only option, I don't really know if it's necessary. The idea is to filter files that aren't inside the current directory, because sometimes the stacktrace shows files from libraries outside the project. Maybe, a better idea would be to create a keymap to toggle this feature inside fzf-lua, something like  for FzfLua files.

BTW I'm having second thoughts if adding this feature to fzf-lua makes sense, because maybe this is just too specific for this kind of workflow, but we can discuss this further.

It is very specific unless you’re intending to go extrakto-style and extract all file names history included.

Now, for the project_only option, I don't really know if it's necessary. The idea is to filter files that aren't inside the current directory, because sometimes the stacktrace shows files from libraries outside the project. Maybe, a better idea would be to create a keymap to toggle this feature inside fzf-lua, something like  for FzfLua files.

I still don’t understand why this requires running fd/find/dir/etc, if all you wish is to exclude files outside cwd why not test the path against cwd or git root? You can use path.is_relative_to for that.

It is very specific unless you’re intending to go extrakto-style and extract all file names history included.

Exactly, I want history included.

I still don’t understand why this requires running fd/find/dir/etc, if all you wish is to exclude files outside cwd why not test the path against cwd or git root? You can use path.is_relative_to for that.

Probably using fd/find/etc isn't the best idea. It's almost an O(n squared), because for each line found by the cmd, we run a loop to check if it exists in the fd results. But, I don't know another way of doing it. I tried using path.is_relative_to but it's expecting an absolute path, and most part of the cmd results are relative paths.
My next attempt will be something like a combination of path.is_absolute, path.is_relative_to and cwd concatenation.

I think I've found a better solution. Could you take a look?

I've found a better solution: rely on opts.cwd_only for absolute paths and on utils.file_is_readable for relative ones.

I've found a better solution: rely on opts.cwd_only for absolute paths and on utils.file_is_readable for relative ones.

Good option if you’re using make_entry.file already, that way you also get the benefit of file_ignore_patterns, etc.
Be careful of is readable as it’s not very performant, there is a logic in old files with the stat_file option to skip the test, might be smart to do the same here.

Done

The idea is to move this plugin to fzf-lua: https://github.com/cgimenes/tmux-files.nvim

I like this idea, you can optimize it indefinitely without the need for PRs, and I don’t have to maintain it :)

Done

Given the tmux command can take a long time to parse with huge history and also the fact you’re testing files against the file system I would attempt to make this “multiprocess”, that would require ditching the fn_transform and using imported lua code for parsing the output in a headless neovim instance.
To do that you’d need to explore the code a bit more and understand how libuv.wrap_spawn_stdio works and how to execute your code in the headless process (and what you can and cannot do there).
This is the “secret” of fzf-lua’s responsiveness, without this, you’re most likely to encounter a laggy experience at some point.

Given the tmux command can take a long time to parse with huge history and also the fact you’re testing files against the file system I would attempt to make this “multiprocess”, that would require ditching the fn_transform and using imported lua code for parsing the output in a headless neovim instance.
To do that you’d need to explore the code a bit more and understand how libuv.wrap_spawn_stdio works and how to execute your code in the headless process (and what you can and cannot do there).
This is the “secret” of fzf-lua’s responsiveness, without this, you’re most likely to encounter a laggy experience at some point.

I'll take a look at this later as it's very responsive at the moment. The changes I've made while working on this PR made it much more responsive than what I had in my own repo.

I like this idea, you can optimize it indefinitely without the need for PRs, and I don’t have to maintain it :)

You're totally right. I'll close this PR now and work on my repo. Thank you so much for all your comments!


Update zio, zio-test, zio-test-sbt to 1.0.13

Updates

dev.zio:zio
dev.zio:zio-test
dev.zio:zio-test-sbt

from 1.0.4 to 1.0.13.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "dev.zio" } ]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #438.


Feat/happo implementation

HAPPO Algorithm Implementation in Mava
Overview
This implementation introduces the HAPPO (Heterogeneous-Agent Proximal Policy Optimization) algorithm into the Mava repository. HAPPO is an extension of the PPO algorithm designed for multi-agent reinforcement learning, featuring a sequential update scheme and a centralized critic. This implementation ensures compatibility with the existing structure and components of the Mava repository.
Changes and Implementation
1. HAPPO Algorithm Implementation
File: mava/algorithms/happo.py
Description:

Created the HAPPO class inheriting from the base Algorithm class.
Initialized actor and critic networks, as well as the optimizer.
Implemented the update method to perform sequential updates for each agent's policy using the clipped surrogate objective.

Key Points:

Sequential Updates: Each agent's policy is updated sequentially to ensure stability and convergence.
Centralized Critic: The critic network estimates the value function using global state and actions of all agents.

2. Configuration
File: mava/configs/happo_config.py
Description:

Created the HAPPOConfig class inheriting from the FFIPPOConfig class found in mava.configs.system.ppo.ff_ippo.
Defined configuration parameters specific to the HAPPO algorithm, including learning rate, network configuration, and number of agents.

Key Points:

Inheritance: Inherits from an existing configuration class to ensure consistency and reuse of existing configurations.
Parameters: Includes parameters such as clip_param, num_agents, and lr.

3. Training Script
File: scripts/train_happo.py
Description:

Created a training script to initialize the HAPPO configuration, environment, algorithm, and trainer.
The script runs the training loop using the Trainer class.

Key Points:

Initialization: Initializes the HAPPO configuration, environment, algorithm, and trainer.
Training Loop: Runs the training loop using the Trainer class.

4. Integration with Existing Components
Files:

mava/utils/make_env.py
mava/networks/__init__.py
mava/utils/logger.py

Description:

Ensured compatibility with the HAPPO algorithm's environment, network, and logging requirements.
Updated the environment creation function to handle HAPPO-specific configurations.
Ensured necessary network components are imported.
Updated the logger to handle HAPPO-specific logging requirements.

Key Points:

Environment Creation: Updated to handle HAPPO-specific configurations.
Network Imports: Ensured necessary network components are imported.
Logger: Updated to handle HAPPO-specific logging requirements.

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

Hi @ch33nchan thanks for the contribution, just a heads up the team is on holiday till early Jan so we won't be able to review this until then.
Just a note though if you would like to contribute this please make sure to stay in line with Mava's style of doing things. HAPPO should not look too different from our current MAPPO implementation e.g keep the same code structure and place things in the correct folders 🙏

Hi @ch33nchan thanks for the contribution, just a heads up the team is on holiday till early Jan so we won't be able to review this until then.
Just a note though if you would like to contribute this please make sure to stay in line with Mava's style of doing things. HAPPO should not look too different from our current MAPPO implementation e.g keep the same code structure and place things in the correct folders 🙏


Webp not show on ios swift 4.2

I downloaded example project and test this link: https://storage.googleapis.com/myscoop/scoops/webp/5hqyorwq86c8scrmxs6ew_320.webp But webp not show.

Hey @Baolv can you upload a sample project?


doc: fix typo

Description:

Fix typo : Espcially to Especially

#443

Already got these fixes in. Thanks


Running the task but nothing is happening

I'm trying to fingerprint the assets of my project using your grunt plugins but nothing happens actually. I see your plugin getting called but then it seems to run and never end, without any error message. That's why i don't get what is happening.
Here are the relevant parts of my grunt config :
cacheBust:{
            taskName: {
                options: {
                    assets: ['public/js/main.js'],
                    queryString: true
                },
                src: ['app/views/index.scala.html']
            }
        }

grunt.loadNpmTasks('grunt-cache-bust');

grunt.registerTask('cacheBust', ['cacheBust']);

I tried playing around with the paths to the files but without success.
Any help would be much appreciated !

are you sure that
grunt.registerTask('cacheBust', ['cacheBust']);
is necessary? Because for me it works without it.

Solution
Change
grunt.registerTask('cacheBust', ['cacheBust']);
to:
grunt.registerTask('lolcacheBust', ['cacheBust']);
grunt cacheBust command probably starts some internal magic related to cacheBust module itself and leads to this bug.


[Discussion] Docker images tags

New Feature
There is no alignment in the tags used for docker images in autoware/autoware and autoware/build.
PR #1946 will allow to build images in autoware/autoware automatically with the following tag structure (#1938):

image name
purpose

XXX-kinetic-base
Environment without CUDA support for release XXX

XXX-kinetic-base-cuda
Environment with CUDA support for release XXX

XXX-kinetic-cuda
Autoware built with CUDA support for release XXX

latest-kinetic-base
Matches the newest XXX-kinetic-base

latest-kinetic-base-cuda
Matches the newest XXX-kinetic-base-cuda

latest-kinetic-cuda
Matches the newest XXX-kinetic-cuda

XXX-kinetic-base-rc
Environment without CUDA support for pre-release XXX

XXX-kinetic-base-cuda-rc
Environment with CUDA support for pre-release XXX

XXX-kinetic-cuda-rc
Autoware built with CUDA support for pre-release XXX

To be consistent, for new images built in autoware/build the following tag structure is proposed:

image name
purpose

XXX-driveworks-kinetic
driveworks image for release XXX

XXX-synquacer-kinetic
synquacer image for release XXX

XXX-generic-aarch64-kinetic
generic-aarch64 image for release XXX

latest-driveworks-kinetic
Matches the newest XXX-driveworks-kinetic

latest-synquacer-kinetic
Matches the newest XXX-synquacer-kinetic

latest-generic-aarch64-kinetic
Matches the newest XXX-generic-aarch64-kinetic

devel-generic-aarch64-kinetic
Used for CI to incorporate new dependencies

@sgermanserrano Thanks for creating the issue.
Also thanks for your hard work @filiperinaldi
Regarding the naming, what do you think about:

Adding repositories in docker hub for each architecture, (i.e. autoware/x64, autoware/arm64, etc.)
Use the names to describe the ros version and image type
Finally use the tags to refer the versions.

For instance, following the same tag naming from above:

repository
name
tag

autoware/x64
kinetic-cuda
latest

autoware/generic-aarch64
kinetic-base-cuda
v1.10

autoware/synquacer
kinetic-base
v1.11

autoware/px2
kinetic-driveworks
latest

to suggest a few.

Hi,
We don't need to add the CPU architecture to the name because Docker manifest already has a mechanism to deal with that. It is my understanding you can have a single image name, but actually multiple builds (one for each arch).
My suggestion is that we only create more images for very specific platforms that require extra support. Otherwise, this may be the minimal required to begin with:

Name
archs
Supports

autoware-base
amd64, arm64
Base image. Can be used by synquacer

autoware-base-cuda
amd64, [1]
Base image with Cuda support.

autoware
amd64, arm64
Autoware build. Can be used by synquacer

autoware-cuda
amd64, [1]
Autoware build with Cuda

[1] If Driveworks SDK allows native build and is generic enough (and depending on the arrangement between Autoware and NVIDIA) perhaps we could simply include driverworks SDK on the autoware-base-cuda and autoware-cuda builds for arm64.
When you want to explicitly fetch a image for a specific arch, you can prefix the image name, like this:  armv8a/autoware:kinetic-base.

Putting everything together:
Image name and tags are combined in dockerhub so to pull:
docker pull autoware/x64:latest-kinetic-cuda

Owner
Dockerhub repository
Image tag

autoware
x64
XXX-kinetic-base(-rc) / latest-kinetic-base   XXX-kinetic-base-cuda(-rc) / latest-kinetic-base-cuda    XXX-kinetic-cuda(-rc) / latest-kinetic-cuda

autoware
generic-aarch64
XXX-kinetic / latest-kinetic    devel-kinetic  (for CI purposes)

autoware
px2
XXX-kinetic / latest-kinetic