Version solving failed between hive_generator and dartx

Question
When I try to resolve hive_generator with ^0.7.0 and dartx with ^0.3.0, it ran into error.
Code sample
dependencies:
  dartx: ^0.3.0
dev_dependencies:
  hive_generator: ^0.7.0

Version

Flutter version: 1.12.13+hotfix.7
Hive version: hive 1.3.0, hive_flutter 0.3.0

Since the Flutter master upgrade yesterday 31/03/2020 I get the same issue:

Because no versions of hive_generator match >0.7.0+2 <0.8.0 and hive_generator 0.7.0+2 depends on dartx ^0.2.0, hive_generator ^0.7.0+2 requires dartx ^0.2.0.
And because no versions of dartx match >0.2.0 <0.3.0, hive_generator ^0.7.0+2 requires dartx 0.2.0.
And because dartx 0.2.0 depends on quiver >=2.0.3 <2.1.0 and every version of flutter_test from sdk depends on quiver 2.1.3, hive_generator ^0.7.0+2 is incompatible with flutter_test from sdk.

related pubspec.yml
dartz: ^0.3.0
Local NoSQL DB
hive: ^1.4.1+1
hive_flutter: ^0.3.0+2
dev_dependencies:
build_runner:
hive_generator: ^0.7.0+2

And because dartx 0.2.0 depends on quiver >=2.0.3 <2.1.0 and every version of flutter_test from sdk depends on quiver 2.1.3, hive_generator ^0.7.0+2 is incompatible with flutter_test from sdk.

I think that requires you to override quiver.

And because dartx 0.2.0 depends on quiver >=2.0.3 <2.1.0 and every version of flutter_test from sdk depends on quiver 2.1.3, hive_generator ^0.7.0+2 is incompatible with flutter_test from sdk.

I think that requires you to override quiver.

Thank you for the suggestion, I wish I knew what that means. I've tried adding a reference to quiver,  but I can't get it to compile and run. Only work around is to comment out the hive_generator in dev_dependencies.

Thanks for the solution @leisim

Thanks for the info. In the future I will release a new version of all the packages simultaneously. Until then please use
dependency_overrides:
  dartx: ^0.3.0

this doesn't work for me. When i get packages it prints
! dartx 0.3.0                                                            Running "flutter pub get" in pepsfield-app-promotores...            0.9s

Got this after downloading the flutter master from last night:
Running "flutter pub get" ...
Because hive_generator >=0.6.0 depends on dartx ^0.2.0 which depends on characters ^0.3.0, hive_generator >=0.6.0 requires characters ^0.3.0.
And because every version of flutter_test from sdk depends on characters 1.0.0, hive_generator >=0.6.0 is incompatible with flutter_test from sdk.
So, because your app depends on both flutter_test any from sdk and hive_generator ^0.7.0+2, version solving failed.
pub get failed (1; So, because your app depends on both flutter_test any from sdk and hive_generator ^0.7.0+2, version solving failed.)

Same issue

Since @leisim has tons of works to deal with, anyone who's facing this issue please paste your key references about the conflict packages, and I'll try to help you solved it since I've done a lot in solving problems like this. 😄

Any chance of a new tag that resolves this? So we don't all need to add hacks to pubspec?
Lots (10+) of issues relating to this, I nearly gave up Hive before I started because it's incompatible...

Any chance of a new tag that resolves this? So we don't all need to add hacks to pubspec?

The only way to achieve this is using to overrides.

Lots (10+) of issues relating to this, I nearly gave up Hive before I started because it's incompatible...

Currently I'm using dartx on Flutter SDK's upper to 1.17.x and no compatible issues happened.

dependency_overrides:   path: ^1.6.4   dartx: ^0.4.0
This worked for me

dependency_overrides:
    path: ^1.6.4
    dartx: ^0.4.0

This worked for me

This is not working for me. I am getting the below error while running 'flutter pub get'
The current Dart SDK version is 2.9.1.
Because every version of hive_generator from git depends on analyzer >=0.40.0 <2.0.0 and build >=1.2.1 <1.5.0 depends on analyzer >=0.35.0 <0.40.0, hive_generator from git is incompatible with build >=1.2.1 <1.5.0.
And because build_runner >=1.10.0 <1.10.2 depends on build >=1.3.0 <1.4.0 and build_runner >=1.10.2 requires SDK version >=2.10.0-0.0 <3.0.0, hive_generator from git is incompatible with build_runner >=1.10.0.
So, because contacts_hive depends on both hive_generator from git and build_runner ^1.10.0, version solving failed.
pub get failed (1; So, because contacts_hive depends on both hive_generator from git and build_runner ^1.10.0, version solving failed.)
It would be helpful if you post your pubsec.yaml file details. I am posting my pubsec.yaml file for your reference.
name: contacts_hive
description: A HiveDB sample project that demonstrates TypeAdapter functionality.
version: 1.0.0+1
environment:
sdk: ">=2.6.0 <3.0.0"
dependency_overrides:
path: ^1.6.4
dartx: ^0.4.0
dependencies:
flutter:
sdk: flutter
hive:
hive_flutter:
git:
url: git://github.com/hivedb/hive.git
path: hive_flutter
dev_dependencies:
hive_generator:
git:
url: git://github.com/hivedb/hive.git
path: hive_generator
build_runner: ^1.10.0
flutter:
uses-material-design: true

The current Dart SDK version is 2.9.1.

Can you try hive_generator: 0.7.3 ?

The current Dart SDK version is 2.9.1.

Can you try hive_generator: 0.7.3 ?

Thanks, worked for me.

I'm seeing similar issue. Needed to update some dependencies because of the firebase crashlytics and now I'm running into problems.
General Info
Flutter 1.22.0 • channel stable • https://github.com/flutter/flutter.git
Framework • revision d408d302e2 (9 days ago) • 2020-09-29 11:49:17 -0700
Engine • revision 5babba6c4d
Tools • Dart 2.10.0

pubspec
environment:
  sdk: ">=2.6.0 <3.0.0"

dependencies:
  logging: ^0.11.4
  dio_http_cache: ^0.2.6
  dio_http2_adapter: ^1.0.0
  cached_network_image: ^2.0.0
  firebase_core: 0.5.0+1
  firebase_crashlytics: ^0.2.1
  hive: ^1.4.1+1
  hive_flutter: ^0.3.0+2
  path_provider: ^1.6.5
  polygon_clipper: ^1.0.2
  async: ^2.4.0
  uuid: ^2.0.4
  image_picker: ^0.6.6+1
  xml: ^3.6.1
  provider: ^4.0.4
  animations: ^1.1.2
  intl: ^0.16.1
  collection: ^1.14.11
  url_launcher: ^5.4.2
  package_info: ^0.4.0+16
  google_fonts: ^1.0.0
  html_unescape: ^1.0.1+3
  flutter:
    sdk: flutter

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^0.1.2

dev_dependencies:
  analyzer: ^0.40.4
  hive_generator: 0.7.3
  build_runner: ^1.8.0
  flutter_launcher_icons: "^0.7.3"
  flutter_test:
    sdk: flutter

# TODO Workaround for pub get issues. Follow https://github.com/hivedb/hive/issues/268 to see what's the actual fix
dependency_overrides:
  path: ^1.6.4
  dartx: ^0.4.0

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec

# The following section is specific to Flutter.
flutter:

  # The following line ensures that the Material Icons font is
  # included with your application, so that you can use the icons in
  # the material Icons class.
  uses-material-design: true

  # To add assets to your application, add an assets section, like this:
  assets:
   - assets/
   - assets/icons/
   - google_fonts/

error
flutter pub get
Because every version of flutter_test from sdk depends on typed_data 1.3.0-nullsafety.3 which depends on collection >=1.15.0-nullsafety <1.15.0, every version of flutter_test
from sdk requires collection >=1.15.0-nullsafety <1.15.0.
And because dartx >=0.2.0 <0.5.0 depends on collection >=1.14.11 <1.15.0, flutter_test from sdk is incompatible with dartx >=0.2.0 <0.5.0.
So, because <> depends on both flutter_test any from sdk and dartx ^0.4.0, version solving failed.
Running "flutter pub get" in <>...
pub get failed (1; So, <> depends on both flutter_test any from sdk and dartx ^0.4.0, version solving failed.)

Can anyone help with what should be the "hack" for dependencies override to get my project up and working again?

@mkieres Can you try collection: any ?

@AlexV525 I just tried your suggestion with setting collection package to any but unfortunately I'm getting the same result:
flutter pub get
Because every version of flutter_test from sdk depends on typed_data 1.3.0-nullsafety.3 which depends on collection >=1.15.0-nullsafety <1.15.0, every version of flutter_test
from sdk requires collection >=1.15.0-nullsafety <1.15.0.
And because dartx >=0.2.0 <0.5.0 depends on collection >=1.14.11 <1.15.0, flutter_test from sdk is incompatible with dartx >=0.2.0 <0.5.0.
So, because <> depends on both flutter_test any from sdk and dartx ^0.4.0, version solving failed.
Running "flutter pub get" in <>...
pub get failed (1; So, because <> depends on both flutter_test any from sdk and dartx ^0.4.0, version solving failed.)

Do I need to clean the package cache before I run the pub get?

@mkieres Where did you put it at? By using any I mean define this under the override part.

@AlexV525 Thanks for your quick response. I changed the version of the collection package to any in the dependencies section. Once I added it to the dependency_overrides section it looks like the pub get command is working fine.
However, I'm still seeing issues when I try to generate adapters with by running the following flutter packages pub run build_runner build -v. I can provide logs if anyone is willing to help but I'm unsure if it belongs to this issue or not.

We should focus on dependencies override issue here only. :)

Hello @AlexV525,
I come across with the similar issue, from above solution I gave it some try, but unfortunately its not works for me. I don't know where I did make mistake.
environment:
  sdk: ">=2.7.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter
  cupertino_icons: ^0.1.2
  jitsi_meet: ^0.2.5
  flutter_bloc: ^3.2.0
  convex_bottom_bar: ^2.2.3
  dio: ^3.0.7
  hive: ^1.4.1+1
  hive_flutter: ^0.3.0+2
  built_value: ^7.1.0
  equatable: ^1.2.0
  provider: ^4.0.0
  firebase_auth: ^0.16.1
  flutter_facebook_login: ^3.0.0
  google_sign_in: ^4.5.1
  country_code_picker: ^1.4.0
  pin_entry_text_field: ^0.1.4
  fluttertoast: ^4.0.1
  flutter_keyboard_visibility: ^3.2.1
  intro_slider: ^2.3.1
  after_layout: ^1.0.7+2
  flutter_html: ^1.0.0
  share: ^0.6.4+3
  onesignal_flutter: ^2.6.0
  app_review: ^1.1.2
  image_picker: ^0.6.7+4
  flutter_spinkit: "^4.1.2"
  flutter_pagewise: ^1.2.3
  admob_flutter: ^0.3.4
  connectivity: ^0.4.9
  collection: ^1.14.11

dev_dependencies:
  flutter_launcher_icons: "^0.7.3"
  flutter_test:
    sdk: flutter
  hive_generator: 0.7.3
  build_runner:
dependency_overrides:
  path: ^1.6.4
  dartx: ^0.4.0
flutter_icons:
  android: "launcher_icon"
  ios: false
  image_path: "assets/images/android_launcher_icon.png"

Thank you!!

I come across with the similar issue, from above solution I gave it some try, but unfortunately its not works for me. I don't know where I did make mistake.

@hitesh-dhamshaniya dartx seems published with a nnbd version 0.6.0, could you try to upgrade to this version first?

@AlexV525 Thank you for your quick response. The error was solved by an update the version. However to compile and run my project I have to make a few more changes :)

As the issue itself seems no longer an issue, I'm going to close as solved. For people that don't have this issue anymore, you can unsubscribe for less spam notifications.


remove is_learner flag because it confuses readers when introduce joint consensus

Signed-off-by: qupeng<EMAIL_ADDRESS>Remove the is_learner flag from Raft, because after jonit consus is introduced, some peers could be learner in the old configuration, but voter in the new one. So we use promotable instead: if one given peer is voter in one of new or old configuration, it will be promotable.

PTAL @BusyJay


Integrate ADFS Authentication

Spoke with George Roszik and provided him necessary information to configure Real BI on Azure App Gallery. Expect to receive manifest details for Azure IDP in a day or so.

Still working with George to get scopes and admin consent with Azure taken care of.
TopDesk ticket #W 21 03 2034

Progress

.env and .env.example files are up-to-date with the latest necessary variables to implement ADFS integration.
Some backend routes and front-end logic are in place but still not fully tested or validated as the best approach.

Process/Structure

ADFS Integration should be a basic oauth2 flow.

When a user navigates to Real BI, the app should check local storage for an existng auth token, if it finds one, it should communicate with the backend to verify it. (The backend will need a route to proxy the request from the frontend to Azure).
If the user doesn't have a token or it is expired, user should be redirected to the Azure sign-on page. (Route for redirecting to azure sign-on page already partially written).
Once a user logs in and is redirected back to Real BI, redirect endpoint should get token or error from url and either save token behind the scenes and send user to their workspaces or display the error. (Display error portion already partially written).

Issues

Currently, sign-on page will not redirect back to Real BI to continue development as organization admin has not consented on behalf of all users in organization for the redirect to occur. The page currently requests that a user send a request to the org admin to consent for Real BI.

Spoke to George about this, haven't heard back from him as of yet.


Issue #SB-18846 fix: Added userData to playerConfig (input to player)

Issue #SB-18846 fix: Added userData to playerConfig (input to player)

Marked for another release.


Update MetaExtractor Model Card on HF Hub

Put in:

usage example
model metric performance summary

Done here: https://huggingface.co/finding-fossils/metaextractor


Setup CI

A simple Travis script could check:

Complience of JSON files with scheme
Consistent formatting
Compare network field with filename

Makes sense, the script is already there to do parse the files and generate the joint files so we can configure it pretty easily


v4.0.5

Update extraction rules

Coverage remained the same at 93.384% when pulling 0f21fff692db168bb93264b1463300739972ec2d on dev into f900ccc6a033dbc24791a86b028e161b0b59f2ed on master.


Delete WorkGroup once verified

In order to save space, workgroups should be deleted once they have been verified, as a DataChunk is created instead.

My mistake, this is not a bug


Fix issue #34

Gotcha !
So there were to references to remove : timer and handle in the callback instance. Please check the validity of my code but it should be ok.

The tests are not passing in CI, though they are passing locally for me (on linux)
Looks like there are some problems with appveyor and broken URLs? I'll fix them in master and then rebase.

Note that the Circle CI tests don't work, I haven't actually set them up yet...
The Travis builds are failing on both the "use quamash" and "don't use quamash" state, so it's probably something weird. I'd like to see passing tests on windows, but it's hard to see how this could make it worse.

I wonder why the tests are passing locally but not on Travis ? May it be related to https://docs.python.org/3.4/library/gc.html#gc.garbage , where before python 3.4, objects with a del method could not be deleted by the garbage collector ?

Travis is running both Python 3.4 and Python 3.3 tests and both fail... so
that's not it.
On Thu, Aug 20, 2015 at 9:41 AM, Insoleet<EMAIL_ADDRESS>wrote:

I wonder why the tests are passing locally but not on Travis ? May it be
related to https://docs.python.org/3.4/library/gc.html#gc.garbage , where
before python 3.4, objects with a del method could not be deleted by
the garbage collector ?
—
Reply to this email directly or view it on GitHub
https://github.com/harvimt/quamash/pull/40#issuecomment-133071452.

On python 3.4, it's only flake8 which fails. The test is passing.
https://travis-ci.org/harvimt/quamash/jobs/76489498

Hrm. Using del x instead of x = None didn't work either.

(I hindsight I don't know why it would have)

The problem is that the custom _del_ is never called on the Task for Python 3.3. The Task is deleted but the exception handler is not called.
I'm not sure what should be done. Maybe just disable the test for python < 3.4...

Alright, I marked the test as xfail on python 3.3, did a little minor rebasing. I'm probably ready to push a bugfix release to PyPI.

That'd be perfect :)


Add consent manager

@MikeTschudi I'd like to go ahead with this even though we don't have that detail worked out yet so I can do a publish to npm and get in an initial PR for the deployment app


AdaptiveSampler#sampled? works in the unexpected way

I guess AdaptiveSampler#sampled? works in the unexpected way
Description
I expected that sampling algorithm would take random examples of desired transaction, but the code looks like it just takes the first ones (target_samples+1 count) in each period (period_duration).
Expected Behavior
I expected to have 10% of transaction occurrences in the period to be sampled in the distributed tracing.
Additional context
Let's take a look at the code:
https://github.com/newrelic/newrelic-ruby-agent/blob/8.2.0/lib/new_relic/agent/adaptive_sampler.rb#L24..L40
It seems it is overcomplicated, b/c atm it works in fact almost like that:
          sampled = if @first_period
            @sampled_count < 10
          elsif @sampled_count <= @target
            true # b/c @seen_last = elapsed_periods > 1 ? 0 : @seen, so it equals 0 unless @first_period
          else
             false
          end

The condition rand(@seen) < (@target ** (@target / @sampled_count) - @target ** 0.5) is a nonsense, b/c @target & @sampled_count are both Integer, so if @sampled_count would be greater than @target, it gives
(@target ** 0 - @target ** 0.5), which is negative and always gives false as the result of comparison.
As a result it's a very strange sampling algorithm, it takes the first @target - 1 (9 by default) transactions and than randomize to take another two from 10th, 11th, 12th or 13th at maximum.

Hi @romul, thank you for reaching out with your concern about the way AdaptiveSampler#sampled? behaves!
You're correct, the integer division is causing the value returned by rand(@seen) < (@target ** (@target / @sampled_count) - @target ** 0.5) to always be zero. Thank you for catching this and breaking down the problem for us.
Though replacing integers with floats when dividing is a solution to this problem, we need to talk with our team about the implications of changing the existing algorithm before moving forward.

Hi @romul  - I wanted to let you know a change in response to your issue is included in the newly published version 8.3.0 of the agent. Thanks for your contribution!

Thank you @kaylareopelle 👍


binding 64-bit integer

Hi!
I have a trouble with binding 64-bit integer. When I pass 64-bit integer(int64_t) to Criteria it throws an exception with the following message:
...
...
20221002 06:42:45.135000 UTC 19 TRACE [execSqlInLoop] select * from device where edge_id = $1 - PgBatchConnection.cc:222
20221002 06:42:45.135000 UTC 19 ERROR ERROR:  incorrect binary data format in bind parameter 1
CONTEXT:  unnamed portal parameter $1
 - PgBatchConnection.cc:482
...
...

Here is the code itself:
...
...
Mapper<Device> deviceMapper(app().getDbClient());
std::vector<Device> devices = deviceMapper.findBy(Criteria(Device::Cols::_edge_id, edge.getValueOfId()));
...
...

, where edge.getValueOfId() is of type int64_t
PS. If I change int64_t to int32_t it succeeds!

What's the type of the edge_id column? you should ensure that the type supports 64 bit integer.
For example:

The type is BIGSERIAL. Below is the SQL create script of the table:
CREATE TABLE Edge (id BIGSERIAL NOT NULL PRIMARY KEY, title TEXT NOT NULL);

I can't reproduce this issue in my environment, what's your OS and compiler? please give me more information.

OS: Windows 11
My environment: MSYS2
My compiler: MinGW (C++, x86 64bit at "C:\msys64\mingw64\bin\g++.exe")
Models are generated from existing PostgreSQL DB by drogon_ctl

P.S. Just to note, if I convert the id to std::string, the query also succeeds!

The problem exists on Ubuntu also!
What I do to reproduce:

create two referenced tables with primary keys "id: BIGSERIAL"
run drogon_ctl to create the models
invoke Mapper<>::findByPrimaryKey() and pass model's getValueOfId() value to it

As a result I get the following error:
20230616 14:20:48.462118 UTC 76235 ERROR ERROR:  incorrect binary data format in bind parameter 1
CONTEXT:  unnamed portal parameter $1
 - PgBatchConnection.cc:507

OS: Ubuntu 22.04.2 LTS
Compilers: Clang 14, GCC

OK! I found the reason, it was because the referencing column was INTEGER. In the case of drogon, both primary id column and referencing column types must be the same!


overall styling of the rating page as right now its very basic (Feature_Request)

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

Describe alternatives you've considered

Demo Video/Screenshot (Mandatory )
Are you contributing under any open-source program ?

@Hansawani Please fill up the details properly what features you want to add.
Otherwise I will be not able to assign this issue

The rate-us page is very basis and plain and it requires styling so that it is visually appealing to the users. I will add a background image to the page, modify the ratings box, style the feedback page a little and also add the navbar to the rate-us page too so that users can go from that page to others too.

The rate-us page is very basis and plain and it requires styling so that it is visually appealing to the users. I will add a background image to the page, modify the ratings box, style the feedback page a little and also add the navbar to the rate-us page too so that users can go from that page to others too.

@Hansawani I have understood your issue. but from next time properly fill the issue templates

@Hansawani I have assigned you this time. you have 2-3 days to submit your PR

i have made a pr...please review the changes and give your feedback on whether anything more is to be done


Upgrade compileSdkVersion and buildToolsVersion for use react-native-onesignal

I want use react-native-onesignal in my project
How to upgrade compileSdkVersion and buildToolsVersion in my project.
My current version:
compileSdkVersion 23
buildToolsVersion "23.0.1"

I am going to uograde to:
compileSdkVersion 27
buildToolsVersion '27.0.3'

Version 3.2.5 of react-native-oneisgnal uses 'ext' variables got from the root build.gradle file
That means you need to add at './android/build.gradle' the following code:
ext {
    compileSdkVersion = 27
    buildToolsVersion = "27.0.3"
}

You should also refer to https://documentation.onesignal.com/v5.0/docs/react-native-sdk-setup


bug(Tabs): Box-shadow hidden

Is this a regression?

[X] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
applying box shadow the the content of any tab does not show due to inner css of overflow hidden and width 100%, adding margin reduced the size of the content which looks mis-align compared to tab icons
Reproduction
StackBlitz link: https://stackblitz.com/edit/rs9pc4?file=src%2Fstyles.scss
Steps to reproduce:

add box-shadow to content 1 div and observe

Expected Behavior
too able to see the box-shadow
Actual Behavior
box-shadow gets hideen
Environment

Angular: 18
CDK/Material: 18
Browser(s): chrome
Operating System (e.g. Windows, macOS, Ubuntu): Windows

Closing since this is working as expected. The overflow: hidden is necessary in order to render out the tab group correctly. You can add a margin or a padding to the content in order to give enough space for the box shadow.


Google Cloud CLI, Python

closes #12
@l3r8yJ take a look, please

PR-Codex overview
This PR adds Python 3 and Google Cloud CLI to the Dockerfile.
Detailed summary

Installs Python 3 and pip
Downloads and installs Google Cloud CLI
Installs CMake version 3.16.3 for C/C++ projects

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

seems that jdk17, which was installed on prev. versions are broken now.
 failed to solve: process "/bin/sh -c apt-get -y install openjdk-17-jdk=17.0.5+8-2ubuntu1~20.04" did not complete successfully: exit code: 100

@l3r8yJ can you help us?

@h1alexbel this gha is broken itself, need to replace with something else, i'll do this a bit later

@rultor merge

@rultor merge

@rultor merge

@h1alexbel @l3r8yj Can't merge it. Some CI checks were failed. Apparently, the pull request is not ready to be merged since it has some problems. Please, fix them first.

depends on #14


Fixes behavior in Ember 3.1

I'm afraid I don't have time to thoroughly test, but this appears to fix the behavior. Fixes #65

So far it is working fine for me, thanks for the PR.

Had a little issue. I forked your code, and created another PR with a fix https://github.com/aupac/ember-aupac-typeahead/pull/68


Stopped working on macOS 10.13.5

Hi, I've been using this kext for a long time. Thanks to the devs.
I stopped using it for about 1 month and now it doesn't work anymore. The inputs and outputs "Soundflower (2ch)" and "Soundflower (64ch)" still appear in the I/O lists.
I tried different setups like playing music to soundflower and recording it with QuickTime Player. Soundflower's output doesn't produce any sound. QuickTime recorded nothing.
I recently updated Xcode and macOS which might have caused the issue. (9.4.1 and 10.13.5)
I also tried to reinstall it from https://github.com/mattingalls/Soundflower/releases/tag/2.0b2.
Here is a test I made using Audio Hijack Pro.

Hopefully, there are still people on this old repo and can help me.

first thing to do is open Audio MIDI Setup and check that all volume sliders are up and all mute buttons are off -- some apps can turn Soundflower off without you knowing.

You were right, the master was muted. Thank you !


Translation - missing strings

From @HaakonME on April 21, 2014 19:40
It is not possible to translate these Channel settings:
You receive a connection request
Your connections are confirmed
Please add to Transifex.
Copied from original issue: friendica/red#424

From @friendica on April 22, 2014 6:43
You have to tell us when a translation is ready to check-in to Red (from Transifex). It doesn't happen automatically.

From @friendica on April 22, 2014 6:58
nb-no has just been pushed.

From @friendica on April 21, 2014 22:5
Both are in the messages.po file (near line 3945 in the current version)

From @HaakonME on April 22, 2014 4:44
OK, but I just pulled this morning and these two translations are still not showing on the Channel settings page. I tried
grep -R "You receive a connection request" *
and got these - notice there is no Norwegian version even though the translation turned out to be is in Transifex.
mod/settings.php:                       '$notify1'      => array('notify1', t('You receive a connection request'), ($notify & NOTIFY_INTRO), NOTIFY_INTRO, ''),
util/messages.po:msgid "You receive a connection request"
view/it/strings.php:$a->strings["You receive a connection request"] = "Ricevi una richiesta di entrare in contatto";
view/it/messages.po:msgid "You receive a connection request"
view/sv/strings.php:$a->strings["You receive a connection request"] = "Du får en kontaktförfrågan";
view/sv/messages.po:msgid "You receive a connection request"
view/pt-br/strings.php:$a->strings["You receive a connection request"] = "Você recebe uma solicitação de conexão";
view/pt-br/messages.po:msgid "You receive a connection request""

From @friendica on April 30, 2014 0:15
There is no way to do this from Transifex. Often, translators have some code skills and check in the changes and issue a pull request. In this case you'll have to send me (or another translator with git access) a message on Red to do the requisite tasks; which are:
download from transifex
upload to a git working tree (if this is on a different box than the box you downloaded it to)
generate the strings.php file
check for syntax errors
sync the working tree with the master repository (if necessary)
check in the changes
issue a pull request

From @HaakonME on May 28, 2014 6:33
Sorry, this has been hanging around. I will close it. I do not know how to do number three.

From @HaakonME on April 29, 2014 7:25
Sorry, I have to open this again - how do I tell you from Transifex when a translation is ready to check-ini to Red? I cannot find a button for this in Transifex.

From @HaakonME on April 22, 2014 7:4
Aha - thanks! :-)

From @solstag on May 28, 2014 7:43
if by number three you mean "generate the strings.php file":
$ php util/po2php.php view/$yourlanguage/messages.po
As of now there's no reachable documentation for this from the help page, but I'm about to send a patch to fix this.


Add support for international language

During login, choose the English (UK ) language, for the uploading script to work
Also, update the readme, and remove the unwanted language change requiremtns steps, as this will not be required and doesn't even work anyways
https://github.com/fawazahmed0/youtube-uploader/issues/12#issuecomment-873673001

Hello, I got the first lang switch to english working : https://github.com/fawazahmed0/youtube-uploader/pull/16
Working on changing again to english after loging in.  (Yes it turns back to french once I'm logged in...)

Seems unrelated to my changes, it shows an incomplete link when the processing isn't done yet

Fixed it with a simple do While


chore(main): release redis 0.1.0

:robot: I have created a release beep boop
0.1.0 (2024-09-28)
Features

redis: add a collection that installs redis (#31) (21bfca8)

This PR was generated with Release Please. See documentation.

🤖 Created releases:

redis-v0.1.0

:sunflower:


Speedup arithmetic evaluations

As of now, Jexl inefficiently evaluates operators +,-,/,%,***** on Integer types as it casts operands to BigInteger type, applies operation and casts the result back. This for example, creates 3 BigInteger instances for a simple operation of 1+1. All evaluations on Integer types can be performed on corresponding long values, which is a magnitute of 200%-300% faster, in my measurments, and unneeded objects are not allocated on heap. Another point is request is to make selfAssign operators overridable in descendands of JexlArithmetic, instead of being able to be oveloaded, which can save the time by avoiding reflection.

https://github.com/apache/commons-jexl/commit/bfa64f34a7a03e025e2ff7f4e458094ef349114c
https://github.com/apache/commons-jexl/commit/94df556911b7df57339c30d31a52fa7b673df77e


Inaccurate GPU temperature

It seems the GPU temp detected in alienFX is always lower than that displayed in taskmgr and GPU-Z.
I can only guess that alienFX can not read the data sent from Nvidia driver but use a different BIOS sensor.

Is there any possibility that alienFX can read the temp more accurately ?

This is a known bug for some systems. Dell take incorrect sensor data into BIOS, and they not fix it for months.
As a fix, use one of ESIF sensors (seems like ESIF 3 in your case) instead - they are correct.

Well... My tools support Libra Hardware Monitor readings (but start it before tools).
So you can use sensors from it as well (they use different method to retrieve it). This also help to configure out which on from ESIF is really GPU.
Don't rely on task manager, it's quite inaccurate (approximate).

To me are happening the same problem in Dell G15 5515, but what I realize, in my case, it's the software is using the temps of Radeon and do not get RTX temps. There's a way to change, is it?

I got an answer from Dell.
This is... Optimus. They always take dGPU temp, and then chip is not active... you will see random value.
Can you please check (start game and look at temperatures).


How do I know the construction method of each newly generated feature

Openfe can generate a large number of features, but how do I know how each feature is constructed?

You can just use the following code to get the construction of each feature:
from openfe import tree_to_formula
features = ofe.fit(X_train, Y_train)
feature_list = [tree_to_formula(feature) for feature in features]

feature_list contains all original feature combinations.

Great! Thank you


Fix SkinnedMeshRenderer clone bug

Please check if the PR fulfills these requirements

[x] The commit message follows our guidelines

[x] Tests for the changes have been added (for bug fixes / features)

[x] Docs have been added / updated (for bug fixes / features)

Fix SkinnedMeshRenderer clone bug cause by blendShapeWeights

Add ModeMesh unit test

Add SkinnedMeshRenderer unit test

Codecov Report

Merging #1028 (46cfb80) into main (78cb1c1) will increase coverage by 3.77%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #1028      +/-   ##
==========================================
+ Coverage   29.87%   33.65%   +3.77%
==========================================
  Files         334      334
  Lines       14454    14454
  Branches     2214     2215       +1
==========================================
+ Hits         4318     4864     +546
+ Misses       9635     9060     -575
- Partials      501      530      +29

Impacted Files
Coverage Δ

packages/core/src/mesh/SkinnedMeshRenderer.ts
15.21% <0.00%> (+14.13%)
:arrow_up:

packages/math/src/Color.ts
85.71% <0.00%> (-3.58%)
:arrow_down:

packages/core/src/asset/ResourceManager.ts
15.47% <0.00%> (+1.19%)
:arrow_up:

packages/core/src/Entity.ts
74.56% <0.00%> (+1.29%)
:arrow_up:

packages/core/src/Renderer.ts
15.88% <0.00%> (+1.86%)
:arrow_up:

packages/core/src/ComponentsManager.ts
27.43% <0.00%> (+2.65%)
:arrow_up:

packages/core/src/graphic/BufferUtil.ts
30.00% <0.00%> (+4.28%)
:arrow_up:

packages/core/src/DisorderedArray.ts
25.00% <0.00%> (+10.00%)
:arrow_up:

packages/core/src/base/Util.ts
13.51% <0.00%> (+10.81%)
:arrow_up:

packages/core/src/mesh/MeshRenderer.ts
13.11% <0.00%> (+11.47%)
:arrow_up:

... and 11 more

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


Use pipenv

Description
Adds pipenv to handle dependencies, categorise them, manage virtualenvs.

Context
Maintaining 2 requirements files is cumbersome and we end up installing dependencies in our docker images which are only used for tests.

Type of changes

[x] Refactoring (non-breaking change)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Bug fix (non-breaking change which fixes an issue)

Checklist

[x] I am familiar with the contributing guidelines
[x] I have followed the code style of the project
[x] I have added tests to cover my changes
[ ] I have updated the documentation accordingly
[ ] This PR is a result of pair or mob programming

Sensitive Information Declaration
To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.

[x] I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes.

@dnimmo I had to make some small changes to test.sh since last approval, would you mind taking another look please?


Handle missing key share extension

PROBLEM: Failing to process key share extension leads to null pointer access. Related to Issue #1157 and Issue #1641
PROPOSED SOLUTION:
Need to verify negotiated_curve is not null before accessing it in s2n_tls13_compute_shared_secret](https://github.com/awslabs/s2n/blob/4c40f5d40d873b240cf7add97af0fbc6694dbf76/tls/s2n_tls13_handshake.c#L53); it may be null if keyshare extension was not sent by server, stripped from TLS message or if TLS message is malformed, see where s2n_server_extensions_recv calls s2n_extensions_server_key_share_recv
Ensure this case is covered by automated testing.

we discussion about this a little, one fix is adding
notnull_check(conn->secure.server_ecc_evp_params)

in s2n_extensions_server_key_share_recv()

Seems like adding a check in the function s2n_extensions_server_key_share_recv() would not work because if the extension is missing, that check never executes and we run into the same problem when we reach s2n_tls13_compute_shared_secret(). It would be better to do the check in s2n_tls_13_compute_shared_secret().


Radicale DecSync

Project description
Radicale DecSync is an Radicale storage plugin which adds synchronization of contacts and calendars using DecSync. This allows you to use DecSync on any CalDAV/CardDAV compatible client like Thunderbird.
Metadata

homepage URL: https://github.com/39aldo39/Radicale-DecSync
source URL: https://github.com/39aldo39/Radicale-DecSync
license: gpl3
platforms: linux

It is a package from PyPI, so after making nixpkg for it, one should patch nixpkg and service for radicale, with option to add DecSync as storage plugin.

I'll gladly package it. But my question is could you write the module? I've never used this before, and I don't see myself ever using it so I really have no way to test it.

I have this so far:
{ lib, python3Packages, radicale }:

python3Packages.buildPythonApplication rec {
  pname = "radicale-decsync";
  version = "1.2.2";

  src = python3Packages.fetchPypi {
    pname = "radicale-storage-decsync";
    inherit version;
    sha256 = "0000000000000000000000000000000000000000000000000000";
  };

  propagatedBuildInputs = [ python3Packages.libdecsync radicale ];

  meta = with lib; {
    description = "Radicale storage plugin to add synchronization using DecSync";
    homepage = "https://github.com/39aldo39/Radicale-DecSync";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ ethancedwards8 ];
  };

}
``` Feel free to carry on with it and finish it, I'm going to work on other things.

@ethancedwards8 I would gladly finish and test this, but so far I am a total nix newbie. Could you point me at the right direction, what else should be done to complete this?

@ethancedwards8 I would gladly finish and test this, but so far I am a total nix newbie. Could you point me at the right direction, what else should be done to complete this?

https://github.com/NixOS/nixpkgs/pull/127632 You would need to pick this up, finish the package above, and then work on the main Radicale package to allow plugins like this one. Have fun!

I use the following home-manager configuration for Radicale with DecSync:
{ config, pkgs, lib, ... }:

let
  libdecsync = pkgs.python3Packages.buildPythonPackage rec {
    pname = "libdecsync";
    version = "2.2.1";

    src = pkgs.python3Packages.fetchPypi {
      inherit pname version;
      hash = "sha256-Mukjzjumv9VL+A0maU0K/SliWrgeRjAeiEdN5a83G0I=";
    };
  };
  radicale-storage-decsync = pkgs.python3Packages.buildPythonPackage rec {
    pname = "radicale_storage_decsync";
    version = "2.1.0";

    src = pkgs.python3Packages.fetchPypi {
      inherit pname version;
      hash = "sha256-X+0MT5o2PjsKxca5EDI+rYyQDmUtbRoELDr6e4YXKCg=";
    };

    buildInputs = [ pkgs.radicale ];
    propagatedBuildInputs = [ libdecsync pkgs.python3Packages.setuptools ];
  };
  radicale-decsync = pkgs.radicale.overrideAttrs (old: {
    propagatedBuildInputs = old.propagatedBuildInputs ++ [ radicale-storage-decsync ];
  });
  radicale-config = pkgs.writeText "radicale-config"
    ''
      [storage]
      type = radicale_storage_decsync
      filesystem_folder = ${config.xdg.dataHome}/radicale
      decsync_dir = ${config.xdg.dataHome}/decsync
    '';
in
  {
    systemd.user.services.radicale = {
      Unit.Description = "Radicale with DecSync";
      Service = {
        ExecStart = "${radicale-decsync}/bin/radicale -C ${radicale-config}";
        Restart = "on-failure";
      };
      Install.WantedBy = [ "default.target" ];
    };
  }

It's not perfect, it uses the precompiled libdecsync from the python package (this was also an issue in #127632, but I did not manage to compile it with nix) and it uses radicale as buildInput for radicale-storage-decsync and then overrides the propagatedBuildInputs of radicale, but I don't know if there is a better way.


Updated mesos package to use cmake.

High-level description
Build dcos linux mesos package with cmake.
Corresponding DC/OS tickets (required)

D2IQ-66807 build dcos linux mesos package with cmake.

@mesosphere-mergebot request-review

@mesosphere-mergebot request-review @greggomann @asekretenko @DominikDary

@mesosphere-mergebot request-review

@mesosphere-mergebot label Ready For Review

@akornatskyy note that the build the EE bump fails, because dcos-ee-mesos-modules still use the automake build.
Please incorporate your changes from
https://github.com/mesosphere/dcos-enterprise/pull/7843
into the EE bump PR created by mergebot
(https://github.com/mesosphere/dcos-enterprise/pull/7733, the link posted above by mesosphere-mergebot)

@asekretenko done in https://github.com/mesosphere/dcos-enterprise/pull/7733

@mesosphere-mergebot bump-ee

@mesosphere-mergebot changelog-not-required No user-facing change.


Use ngx-uploader in a service

Hi,
Is there an example of using ngx-uploader in a service?
How we would associate it with a ngFileDrop/ngFileSelect, but still have access to progress/complete response after navigating away from the current route? (navigating away - means that the component which contains ngFileDrop/ngFileSelect would get destroyed).
Scenario: on drag&drop files, autoupload starts. Then, the user should be able to freely navigate in your app, while having some floating info displaying the progress of all his/her uploads that haven't yet finished uploading.
Problem is that, as soon as the route changes, even though the upload is still being done in the background, I loose all data regarding it (progress, response on complete). Therefore, this should be done in a service... But I have no idea how.
Also, creating multiple instances programmatically would be required, because the user might want to upload another batch of uploads while the previous one hasn't finished yet, and there might be separate data to be edited/entered for each batch. Anyway, this probably has less to do with ngx-uploader itself, but more with app logic (just wanted to mention this in case there is something that would prevent having multiple instances to work correctly).
I blindly tried to adapt the demo example in a service, instead of a component, and thought to directly make use of NgUploaderService, but I quickly stopped because I really have no clue how to use ngx-uploader, other than the strict two simple examples here and here.
Any other advanced examples out there, that involve using a service?

hi @MrCroft. good point, actually I am just working on a complete rewrite of the whole module which will be done in the next days coming. I'll try to cover all the usage examples on the demo page. I'll keep you posted. thanks!

any updates on when this will be available?

hi @lgleim I just pushed to https://github.com/jkuri/ngx-uploader/tree/3.0.0 new branch. I am pretty much done with uploading features but there's still work to be done (documentation ofc).
I will do my best to finish this till the Sunday evening or Monday morning.

hey guys new version published as 3.0.0. For more info see README and check online demo on http://ngx-uploader.com. Thanks!

Newb here... Works great at component level. Unfortunately, I still don't know how to properly make it work in a service.
I've put all the code from the demo in a service (UploadService).
Then, in my component (which is loaded in the dashboard home) I tried the following (to simply use the service):
    public uploadInput;

    constructor(private uploadService: UploadService) {
        this.uploadInput = this.uploadService.uploadInput;
    }

    onUploadOutput(output: UploadOutput): void {
        this.uploadService.onUploadOutput(output);
    }

    /**
     * No need to use this, because the upload is set to auto in the service.
     */
    startUpload(): void {  // manually start uploading
        const event: UploadInput = {
            type: 'uploadAll',
            url: 'http://localhost:3000/upload',
            method: 'POST',
            data: { hash: this.uploadService.generateHash() },
            concurrency: 0 // set sequential uploading of files with concurrency 1
        }

        this.uploadService.uploadInput.emit(event);
    }

    cancelUpload(id: string): void {
        this.uploadService.uploadInput.emit({ type: 'cancel', id: id });
    }

I've stripped the app of everything else, leaving just the upload part plus some basic routing. I've created a repo here: https://github.com/MrCroft/ngx-uploader-demo (all the below is also included in the readme).
Any pointers towards the right direction? Has anybody succeeded in doing something like this?
Issues:

Even though the uploader code is in a service, it is still coupled with the file input in my component and it stops logging to the console as soon as we navigate away from the dashboard/home component. I don't know how to decouple that.
Multiple uploads should send all the files in a single request (unrelated to the initial question).

Step 1: Either upload a very large file or enable some throttling in the chrome developer tools to emulate a very slow connection.
Step 2: Click to select files or drag and drop files. The upload starts.
Step 3: Watch the console. It keeps logging "uploading" (good). I look in the network tab, the request says "pending". So far so good.
Step 4: Navigate to any other route in the app. The console.log() immediately stops.
The request in the network tab still says pending (and the upload is still happening, it will be finished at some point - unless I stop the server or close the browser tab entirely).
Also, if I navigate to the dashboard/home component, after having navigated away previously, I get an error: Error: Uncaught (in promise): ObjectUnsubscribedError: object unsubscribed
Desired scenario:

When I navigate to any other route in my app (after having started an upload), I still need the upload service to keep logging to the console ().
Plan is to store all uploads which are in progress in an array in the service and have an event emitter to which I can subscribe and listen to in any other component in my app, so I can show the user any the data regarding the uploads in progress, anywhere else I might choose to in the app (like in http://localhost:4200/queue for example, or http://localhost/queue/some-hash).

Every file select (or drag and drop) operation, multiple or not, should launch one request instead of number of requests = number of files dropped.
Right now, if I multiple-select 10 files, I see 10 requests (well, actually it's 20 in my case, because of the preflight, since the server is on another domain).
The hash I create and add to the data that's being sent to the server (data: { hash: this.generateHash() }) seems to be per operation, not per file - which is good, because it helps to keep track of the files as a group, server-side.
But the fact that it doesn't send multiple files in one request, makes it extremely difficult to have an overall progress (per upload batch).

@jkuri any news on an example?

@MrCroft give me some minutes, I'll check now.

hey man, can you ping me tomorrow please, I will solve this for you but haven't sleep for two days. been checking now but haven't found a solution already, I am kinda dizzy. okay?

Sure thing! Thank you so much for looking into it.
I'm sure that what I've tried doesn't make much sense also...
Will ping you tomorrow. Thanks again!
And have a good night!

ping! :)

hi :) thanks. I'll let you know when ready.

hey @MrCroft, I am attaching source files here. I needed to create custom directive to make your case work. hope this will gets you going, if you need further help, let me know.
MrCroft-client.zip

Awesome! Thank you very much!
I'll check it out right away!
I owe you! If I can ever help you out with anything, let me know!

Works great! I think I shouldn't have any problems with creating a custom fileDrop directive also, that will look mainly like the fileSelect one, only different event listeners.

Hey @jkuri @MrCroft I have the same problem, I need to continue my upload when the user changes the active router from the component that has directive uploader. Checking the code source, I can make this not using the directive because when It's destroyed unsubscribe is called. I created the singleton service and using the 'API' directly checking the source. @MrCroft, congratz for code, but, I believe the service is the better way to use your lib and these directives is a one way to use. I think the nice way is focused your lib in a service, because all application can upload files in the same instance and the progress continue even the user change the router and get the active upload progress any time with the service, using this with directives and call unsubscribe this not possible, isn't possible get active upload files in another component, you need to save the var 'files' in another service to get the values, and other problems... If you want help for the service to provide the way to use your lib I can help you for make this possible. Thank you! (sorry for English :p)

Hi @GustavoCostaW
Yes, right now, for every upload I save all the data in my service and check that from any component where I might need that data.
The directive is needed, though... customized a bit. But, once an upload is added, the service takes over and continues to work as the user navigates.
Did you check the code in the archive attached above by @jkuri ? Because I haven't updated my repo... so, if that's the code you checked, that doesn't work.

@MrCroft yep, but he needed to create a custom directive to do this, and the main idea of this lib works with directives and limits the service and, unfortunately, has some limitations.
I'm working in a complex panel to upload most files asynchronous and the user can navigate in all application and the upload progress continue in 'background mode' ( like Google Drive. ) and react events, for make this possible, I'm changing very things in lib and add new features, like

Singleton service
Using Angular Injector Dependency (why you need create NgUploadService manually?)
passing custom properties in uploadFile type, (It's created in handleFiles)
new events like allFilesHaveBeenUploaded
not dependencies with directives, you can use the service normally and with simple way.

Well, there are still some features to be added, I do not know if the creator ( @jkuri ) of the lib will accept a pull request, so I'll probably make a fork of the project.

Same here, I have a fileService that is responsible to handle everything that is related to files. I want to use this library with it, but it can't be done without an upload service...

A singleton service-based approach definitely does look like the most reasonable approach for this library.
@GustavoCostaW Have your released your code yet?
@jkuri Would you be willing to accept a pull request with corresponding changes?

I was hoping to use this library to replace the following code in one of my services:
public upload(url: string, file: File): Promise<Response> {
        return new Promise((resolve, reject) => {

            let xhr: XMLHttpRequest = new XMLHttpRequest();
            xhr.onreadystatechange = () => {
                if (xhr.readyState === 4) {
                    if (xhr.status === 200) {
                        resolve(xhr.response);
                    } else {
                        reject(xhr.response);
                    }
                }
            };

            xhr.open('POST', Urls.openFile, true);

            let formData = new FormData();
            formData.append("file", file, file.name);
            xhr.send(formData);
        });
    }

Unfortunately the service in this library does not accept File objects. The main reason was that I wanted to be able to test my service and it wasn't straight forward in term of mocking xhr and all its operations.
Any thoughts are welcome, I would be delighted to remove all reference of xhr from my code as it doesn't feel "Angularish"...

Angular 4.4: ObjectUnsubscribedError error when ngFileSelect or ngFileDrop (!) is used in one of router states.

@MrCroft
have you achieved using fileService. If yes can you please share your code.


Clarity in Activity tab re what are "outgoing" vs "incoming" tx

I've mentioned the same thing to Explorer team:
https://github.com/hirosystems/explorer/issues/998
That the current Hiro design does not allow a user to quickly & easily spot which tx are going OUT vs coming IN.
I'd love to see more icon design improvement under Activity tab (currently just the same blue icon with different white color symbols).
Can consider use of green & red colors, and / or use of wording to improve clarity.

Hi Hero, Thanks for the suggestion. I think it is a good idea if we can discuss this with the explorer team see if we can take a similar approach.
I thought the negative sign before the total would be helpful. I am not sure if using red is a good idea users may think it is a failed transaction instead:

I think it could be helpful in the explorer to show outgoing coins with a negative sign, right?

Related: https://github.com/hirosystems/stacks-wallet-web/issues/3160

Rather than simple up and down arrows, I would recommend a design language more like this.

@markmhx This seems to be working already on some branches.
Screenshot from: https://github.com/hirosystems/wallet/actions/runs/4435706571

But not in the production version? 🤔


Deleting NodeSprite with attached animation doesn't remove the timer object

Creating a new sprite animation also creates a new timer object. Removing the NodeSprite with the attached animation from the scene doesn't also remove the timer object. This results in a lot of timer objects collecting over time, which heavily impacts performance when creating new timers.
Possible solution: Remove animation and associated timers when removing NodeSprite from parent graph.
I've created a demo showcasing this problem, see attachment.
SpriteBug.zip

Issue resolved:
https://github.com/JirkaDellOro/FUDGE/commit/3329ffacd452e69d13071d543889dc709e04ebc1


can not get video output..

Hey!
Thanks so much for this brilliant idea, but somehow i'm struggling to get this to finally work
I'm eventially got this all working - communication via web page etc.. but i can't get the video output at all
I havent checked HDMI but throug composite or TightVNC i get no video so far..
How is it suppose to work - when i'm clicking "Start Video" - it should start fullscreen?
I see just many commands in Terminal, reacting on what i'm doing
Any help is greatly appreciated! And hope 2016 will see an evolution of this great app!
Cheers!

Ok, i got it
I simply put the "raspivj"  folder inside another folder - hence the script wasn't able to find the MultiPlayer
Thanks so much to your support and your work!
Cheers!

Ok, i got it
I simply put the "raspivj"  folder inside another folder - hence the script wasn't able to find the MultiPlayer
Thanks so much to your support and your work!
Cheers!

Ho. Great. Glad to know it worked.
And sorry for the trouble. I should make things more flexible. So you could install it wherever you want. As I said in the readme, I mostly built this for myself. So not very flexible yet.
I'm also thinking of making dedicated PI image that you would just have to copy on an SD card and run it.
But I did not have time or a deadline to do this. Looking forward for your feedback. See you.

Ho. Great. Glad to know it worked.
And sorry for the trouble. I should make things more flexible. So you could install it wherever you want. As I said in the readme, I mostly built this for myself. So not very flexible yet.
I'm also thinking of making dedicated PI image that you would just have to copy on an SD card and run it.
But I did not have time or a deadline to do this. Looking forward for your feedback. See you.


Support for Optionals

I hit the following error (among others) when throwing approx-derive at a bunch of our types:
the trait AbsDiffEq is not implemented for Option<i32>
Is Option just not supported yet? If not, do you know of a similar library or a fork that supports it? Otherwise, I can look at implementing it myself and contributing it back, but I haven't implemented derivable traits before.
Thanks for the library!

Optionals are not supported by default. It is possible to annotate the field with the #[approx(skip)] flag to circumvent the error.
What would be your expected behaviour for these cases?
// Example 1
assert_abs_diff_eq!(None, None));
// Example 2
assert_abs_diff_eq!(Some(1i32), Some(1i32));
// Example 3
assert_abs_diff_eq!(Some(2i32), Some(1i32));
// Example 4
assert_abs_diff_eq!(Some(1i32), None));

Allowing the last example could be very misleading. Assume that you have 3 instances x, y, z of the struct in question. Typically if
assert_abs_diff_eq!(x, y);
assert_abs_diff_eq!(z, y);

then we can assume that x and z are at most 2 epsilon in distance from each other.
If in our case Example 4 would be true, we could not make such a conclusion.
However, disallowing Example 4 could also be misleading in the since that you expect to only test if both options is_some is true.
What do you think?

I hit the following error (among others) when throwing approx-derive at a bunch of our types:

Which other errors did you get? Maybe I can help.

Hey, thanks for the response! We're using this in unit tests, so the behavior we would want for Optionals would be the strict one:
None = None
None != Some
Some(value+eps) = Some(value)
In other use cases I could see wanting to be relaxed about missing values:
None = None
None = Some(*)
Some(value = eps)=Some(value)
So ideally it would be configurable, or a different trait, but if you also start creating separate traits to control, i.e. how NaN comparisons work, you'd end up with lots of traits, so tradeoffs.
I am also not expecting integers to be approximate; we are just working around floating point imprecision in tests.

I have not fully figured out how to deal with this issue. In the meantime I have published a new version which supports a new attribute: #[approx(equal)] this should work for types such as Option<u8> or Option<String>.
See: #3 and version 0.1.5 on crates.io.

This means the following example works:
#[derive(AbsDiffEq, PartialEq, Debug)]
struct ContainsOptional {
    value: f64,
    #[approx(equal)]
    opt: Option<i32>,
}
let c1 = ContainsOptional { value: 1.1, opt: Some(1) };
let c2 = ContainsOptional { value: 1.0, opt: Some(1) };
let c3 = ContainsOptional { value: 1.0, opt: Some(2) };

assert_abs_diff_eq!(c1, c2, epsilon = 0.2);
assert_abs_diff_ne!(c2, c3);

See https://github.com/jonaspleyer/approx-derive/blob/main/tests/derive_abs_diff.rs#L144

Update
I just had the idea to add a new feature which allows you to map a value to another before comparing them. Please have a look at the new documentation:
https://docs.rs/approx-derive/latest/approx_derive/#mapping-values

@andrew-otiv I believe that you might want to update your version of approx-derive as I have added some useful new features.


Suggesting to remove unused 'thumbnail' template tags to avoid conflicts

We are currently in a dilemma. We used easy_thumbnails and we have to use sorl.thumbnail as well. These two libraries work both a bit differently and are used in a lot of 3rd party apps. The main problem with these two apps is, that they both come with a "thumbnail" template tag.
Tom Christie suggested on stackoverflow to create some kind of proxy package, but this does not fix the problem in the global scope.
A better approach, basically how to use django-smart-load-tag, is described here. We use this in our templates and plugins/apps.
It seems others (eg. #45) have the same conflicting issues. So, what does this all mean for django-filer?
The thumbnail tag is loaded in two files, here and here. As far as I can see, the tag is loaded but not used so just remove them. If it has to be re-added in the furure, I suggest to go with django-smart-load-tag.

Filer depends on easy-thumbnail at a much deeper level and cannot use sorl.thumbnail.
Unneeded templatetags can be removed, but you cannot use filer with sorl-thumbnail; or at least you *need easy-thumbnails for the filer backend to work: if there is any way you can make them both to coexist in the same project, filer backend is not "disturbed" by sorl

@yakky do not at all intend to replace easy_thumbnails with sorl.thumbails. We have project where  both (easy_thumbnails and sorl.thumbails) work together or side-by-side. There are no issues at all with that beside of the naming conflict of the thumbnail tag. Removing them in filer would remove the conflict. As already mentioned, if filer should use easy_thumbnails's thumbnail tag again in templates in the future, it could be loaded using django-smart-load-tag to avoid conflicts.
Small changes with big impact - at least for us.

@philippeowagner sorry, I misunderstood your report. thumbnail is useless and I don't think it will return in the future :)
Thanks for your PR.


Adding ACI examples and helper code to example package

The examples directory is now a proper go package, with helper code for writing easy examples moving forward.
Adding a few README.md files to help explain what is going on.
Adding CREATE and DELETE for ACI.

Any help with understanding what is going on with Travis would be great!

I'm looking through your PR now, and will get back to you with a review today. We love getting example PRs! After getting merged, this may end up getting moved to a repository in the Azure-Samples organization. Actually, I'm sure @joshgav would love to hear your voice in terms of our efforts to improve and consolidate our samples and documentation.

@kris-nova says:
Any help with understanding what is going on with Travis would be great!

A linter error complaining about a missing comment for an exported function
A few redeclared variables that are interfering with one another

Oh, one more thing, mind updating this PR to target dev instead of master?

This overlaps with ongoing work with the CDAs and DevEx to prepare conceptual docs for release - there is an ACI quickstart, including accompanying code. See https://github.com/Azure-Samples/azure-go-samples/pull/1 and https://github.com/MicrosoftDocs/azure-docs-pr/pull/26042
Before writing any further examples for the Go SDK, please check in with myself or @joshgav. The work may have already been done and we would like to start centralizing examples.

@sptramer, would you like me to review either of those PRs?

If you have access to the repositories, you are absolutely welcome to get involved in review. It will help a lot with getting the first round of Go conceptual documentation ship-ready.

Because this PR is going stale, and it overlaps with work by @joshgav and @sptramer, I'm going close it out. Feel free to tag me and have me re-open it if you feel this was in error.


[QUESTION]

My question is...
Hello, First let me congratulate you for such a great job with this control, I would like to know how I get the list of values of the selected elements

Thanks for your feedback!  For the basics of how to use this component, you should check out the docs for the original react-select component: https://react-select.com/home
But I can also give you a simple example of how to do so, you just need to use the value and onChange props to manually keep track of the value using state:
import { useState } from "react";
import { Select } from "chakra-react-select";

export const flavors = [
  { value: "vanilla", label: "Vanilla" },
  { value: "chocolate", label: "Chocolate" },
  { value: "strawberry", label: "Strawberry" },
  { value: "salted-caramel", label: "Salted Caramel" }
];

const Example = () => {
  const [selectedOptions, setSelectedOptions] = useState([]);

  return (
    <Select
      isMulti
      name="flavors"
      options={flavors}
      placeholder="Select some flavors..."
      // Add these props to the component
      value={selectedOptions}
      onChange={setSelectedOptions}
    />
  );
};

thanks, great resposnse

No problem!  I'm going to close this but feel free to reach out if you're still having issues.


Data package viewer shows data as Open Data if license is absent

If the datapackage.json does not include a license field - the data is shown as open data - this is not true in all cases.

WONTFIX / OBSOLETE.


getVendors missing param components

I guess the query params are missing at some queries 🤔

I created PR #5 to correct this.

Fixed with https://github.com/adamdburton/destiny-2-api-client/pull/5.


s/bug_bounty/vulnerability_disclosure_program/g

Many of the programs listed in bug_bounty_list.json are not actually bug bounties (they don't offer payment). They'd be more accurately described as vulnerability disclosure (programs|services) or something like that. Bug bounties are a kind of vdp, but not the only kind represented in your list.

Good call. We went with "bug bounty" as the more broadly understood/know term, but you're absolutely correct wrt technical accuracy. We'll flush out a few technical dependancies and make the change.

@bcdavidchou Any update on this?


[WIP] Improve flake8 compliance and code style

Beginning a campaign to reduce the list of "grandfathered" files in the flake8 config, starting with stencil.py. Since this is probably going to be a big task and take a while, I figured I'd best get some opinions before continuing.
I've reduced numba/stencils/stencil.py to only throwing 4 errors:
numba\stencils\stencil.py:8:1: F401 'numpy as np' imported but unused
numba\stencils\stencil.py:12:1: F401 'numba.core.typing.templates.CallableTemplate' imported but unused
numba\stencils\stencil.py:12:1: F401 'numba.core.typing.templates.infer_global' imported but unused
numba\stencils\stencil.py:309:25: F841 local variable 'sum_results' is assigned to but never used

Before removing all 4, I thought best to check with someone more familiar with the codebase that such imports aren't needed for e.g. side-effect reasons, although I can see nothing obvious.
If you look at the changes I've made, you'll find the style I've used is heavily influenced by Black, although I've deviated in places where it seemed appropriate - and before someone points out such a deviation, I made the changes by hand which is why the style hasn't been implemented everywhere. But I do wonder how you'd feel about adding something like Black, which includes an autoformatter, in order to tidy up the code style? It would likely throw lots of errors at first, but I'd be relatively happy to focus effort there (as well as in updating older styles) as part of this.
More than anything, I could also do with some general consensus/agreement before I begin on stylistic choices. Things like % versus .format() string formatting, and whether or not to include parentheses when unpacking tuples, and other such small changes - I don't want to make lots of changes, only to find that someone either a) has major disagreement or, even worse, b) had written using one specific style with good reason!
And finally, in order to track what I've done, I intend to modify and remove a few files per PR to make them more manageable for reviewers.

Thanks for the PR - see also #7001 - if there's anything in that PR that's useful / you want to pull in to here, feel free to do so :-)

Before removing all 4, I thought best to check with someone more familiar with the codebase that such imports aren't needed for e.g. side-effect reasons, although I can see nothing obvious.

Given that all tests on CI passed except for flake8, I'd suggest removing these imports, pushing to this branch again, and seeing if CI stays green. My expectation is that these imports are side-effect free.

Thanks for the PR - see also #7001 - if there's anything in that PR that's useful / you want to pull in to here, feel free to do so :-)

@gmarkall thanks! I'll certainly bring in some of those changes when I get to those files.

Given that all tests on CI passed except for flake8, I'd suggest removing these imports, pushing to this branch again, and seeing if CI stays green. My expectation is that these imports are side-effect free.

As it happened, tests started failing because I removed the numpy import. I've re-added it, ignored it in flake8, and added a comment explaining why.

@GEbb4 Was the numpy import needed because of some dynamic code generation?  My suggestion was going to be the same as Graham's.  Just comment out the things that look unnecessary and then try it.  I'm not aware of any imports in parfors that are strictly for side-effects.  Thanks for doing this work.

@DrTodd13 Uncertain - I just saw "Name np is not defined" from a test on the stencil.py file and went back and replaced the import (I probably should have done a bit more digging to be honest). I'm not too familiar with Azure, I'm not sure if it's possible to go back and look at previously failed test runs, but it's likely an easily reproducible failure.
Since that initial file, I've also gone through the process of setting up a suitable local dev environment (although I followed through the tutorial here, which uses py36, and a luck would have it many stencil tests are for py37 and later...), so I can at least run some of the tests before committing.

@DrTodd13 Uncertain - I just saw "Name np is not defined" from a test on the stencil.py file and went back and replaced the import (I probably should have done a bit more digging to be honest). I'm not too familiar with Azure, I'm not sure if it's possible to go back and look at previously failed test runs, but it's likely an easily reproducible failure.
Since that initial file, I've also gone through the process of setting up a suitable local dev environment (although I followed through the tutorial here, which uses py36, and a luck would have it many stencil tests are for py37 and later...), so I can at least run some of the tests before committing.

I just checked and it is due to dynamic code generation.  This happens in stencil and parfor code so if flake says that something is unused then still do a search for that import in the file to see if it occurs in a text string.  If so, then it is still used.

I just checked and it is due to dynamic code generation. This happens in stencil and parfor code so if flake says that something is unused then still do a search for that import in the file to see if it occurs in a text string. If so, then it is still used.

@DrTodd13 ah, yes - got it! Thanks, I'll be sure to keep an eye out for this trope in future files, and I'll update my comment to reflect this.

I've sorted 8 files here (although there are 9 lines removed from .flake8 - one of them had no errors). The next on the list, parfor.py, would push this to being quite a big review so I'll leave these ones to be reviewed and open a new PR for the next few files.

@stuartarchibald could you advise on what's needed to mark this as "ready for review"?

@GEbb4 As it's passing tests I've marked this as ready for review.


Add item pickup protection type and disallow it by default

Implemented in https://github.com/LCLPYT/mg-lobby/commit/e567e5f9acc68be019f633f383ec8df774c993a1


Call to eval() blocked by CSP

I tried to install plugin, configured middleware, but empty window is only shown and I got CSP error
Uncaught EvalError: call to eval() blocked by CSP
    vb4 http://www.wiris.net//demo/editor/editor?lang=en&stats-editor=CKEditor5&stats-mode=xml&stats-version=<IP_ADDRESS>1:1
    getNewInstanceFromJSON http://www.wiris.net//demo/editor/editor?lang=en&stats-editor=CKEditor5&stats-mode=xml&stats-version=<IP_ADDRESS>1:1
    getNewInstanceWithParams http://www.wiris.net//demo/editor/editor?lang=en&stats-editor=CKEditor5&stats-mode=xml&stats-version=<IP_ADDRESS>1:1
    "com.wiris.js.JsEditor" http://www.wiris.net//demo/editor/editor?lang=en&stats-editor=CKEditor5&stats-mode=xml&stats-version=<IP_ADDRESS>1:1

Please check new middlewares config in readme.
{
    name: 'strapi::security',
    config: {
      contentSecurityPolicy: {
        directives: {
          'script-src': ["'self'","'unsafe-eval'", "'unsafe-inline'",  externalURI],
          'script-src-attr': ["'self'", "'unsafe-inline'", externalURI],
          'font-src': ["'self'",  externalURI, "https://fonts.gstatic.com", "https://cdnjs.cloudflare.com"],
          'connect-src': ["'self'", externalURI, "https://*.strapi.io"],
          'style-src': ["'self'", "'unsafe-inline'", "'unsafe-eval'", externalURI, "https://fonts.googleapis.com", "https://cdnjs.cloudflare.com", "http://cdn.jsdelivr.net"],
          'img-src': ["'self'", "blob:", "data:", externalURI, "https://*.strapi.io"],
        },
      }
    },
  },

Having the same issue here, configured the middlewares using your changes above and still had the same problem
EvalError: call to eval() blocked by CSP

followed immediately by
Content-Security-Policy: The page’s settings blocked a JavaScript eval (script-src) from being executed because it violates the following directive: “script-src 'self' 'unsafe-inline' http://www.wiris.net/” (Missing 'unsafe-eval')

Not sure if related, but also getting a CORS error:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://analytics.strapi.io/api/v2/track. (Reason: CORS request did not succeed). Status code: (null).


Multiple files upload

Hi,
I'm doing multiple files upload and it seems to working fine, until the moment it should
appears in the browser... I don't know if I'm missing something.
what appears is:
File File File File File [#<Image id: 1, post_id: 2, file_id: "ff4321b8d6269b2b5dc7762027c815f60a136d3bb722b35869...", created_at: "2015-09-25 18:23:11", updated_at: "2015-09-25 18:23:11">, #<Image id: 2, post_id: 2, file_id: "2d6ebd5c21c33fd727265d08a75c90d62eeb75f6817ee60aee...", created_at: "2015-09-25 18:23:11", updated_at: "2015-09-25 18:23:11">, #<Image id: 3, post_id: 2, file_id: "c1296b0768ff3034c16847c96f41321b7a079e3b8ee1151d65...", created_at: "2015-09-25 18:23:11", updated_at: "2015-09-25 18:23:11">, #<Image id: 4, post_id: 2, file_id: "fa8855773b7fa3d95483186d596c12c747e5f466e09be8993a...", created_at: "2015-09-25 18:38:28", updated_at: "2015-09-25 18:38:28">, #<Image id: 5, post_id: 2, file_id: "b653eace2ab2d8ab4575ce62e73acc3a05813e40ad3dded0b6...", created_at: "2015-09-25 18:38:28", updated_at: "2015-09-25 18:38:28">]
Here is my view code:
post.html.erb
<%= @post.images.each do |img| %>
<%= image_tag attachment_url(img, :file, :fill, 150, 150) %>
<% end %>
Models:
Image.rb
class Image < ActiveRecord::Base
belongs_to :post
attachment :file
end
class Post < ActiveRecord::Base
validates :title, :content, :presence => true
has_many :images, dependent: :destroy
accepts_attachments_for :images, attachment: :file, append: true
end
Post Controller
def post_params
params.require(:post).permit(:title, :content, :slug, images_files: [])
end

Looks good to me, but in any case you should remove the = from the each loop directive:
<% @post.images.each do |img| %>

Are you getting errors in the resources panel of your web inspector?

I did another try and its ok now. I don't know why it didn't work at first time =\


Merge upstream master

Merged upstream master and fixed conflicts to bring our fork up to date.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.6 out of 12 committers have signed the CLA.:white_check_mark: avantasia1975:white_check_mark: v-zhuravlev:white_check_mark: n888:white_check_mark: jkroepke:white_check_mark: skl:white_check_mark: deepy:x: povilasv:x: junotx:x: Shivam Shukla:x: metalmatze:x: azun:x: dohnto-s1Shivam Shukla seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Docs: Troubleshoot import statement

Summary
When setting up a project with @vue/cli (https://github.com/vuejs/vue-cli) with version 4.5.13 with ts-jest I faced the problem that the test could not be executed for my component because one of the modules doesn't need to be transpiled.
I found this answer after searching for a long time on the web and therefore thought it should be added to the documentation of the project.
Test plan
There are no changes in the code. In can be tested as follows:

Setup a vue project with vue-cli: vue create project
Select Vue2.x, typescript, jest and babel
Add the vue-class-component package via npm install --save vue vue-class-component
Adapt the HelloWorld.vue component:

<script lang="ts">
import Vue from "vue";
import Component from "../../node_modules/vue-class-component/lib";

@Component
export default class HelloWorld extends Vue {
  name = "HelloWorld"
};
</script>

Run the test via npm run test:unit and verify the error message.
To fix this issue adapt the jest.config.js as following:

module.exports = {
  preset: "@vue/cli-plugin-unit-jest/presets/typescript-and-babel",
  transformIgnorePatterns: ["node_modules/(?!(vue-class-component))"]
};

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

You would need to run lint-prettier :)


Display comment bubbles different colors based on participant

The comment bubbles provide a great place to quickly show where comments are in the code, but the current user, the original author, and other reviewers are all shown with a "white" comment bubble (and white indicator in the file gutter).
It would be great if the different participants added different colors.  For simplicity maybe any reviewer comments are a shade of blue, and the PR author comments a shade of yellow, and files with comments from reviewers and the author a shade of green.  The same (configurable) colors would be used in the file gutter for individual comments.
BTW, very useful extension.  👍🏾

@marvin1up we're about to use color to indicate resolved/unresolved, so we won't be able to use it for the user. I do like the idea of differentiating self comments vs. other's comments in some way though.
Thanks for using the extension!

I don't expect that we're going to make a change in this direction, especially since a comment thread can have replies in it from multiple users. The Comments view lets you filter comments (just in the view though, not in the editor) and you can search by user in there.


Lightbulb overwritten by errors in gutter. Can we have an option to have it float instead?

Love this plugin! Noticed when setting it up that errors will take priority over the lightbulb. Was wondering if we can have best of both worlds and move the bulb out of the gutter?
Just thinking off top of my head here.. But would really like to see both if possible. Anyways, thanks!

I added what I think you meant by have it float as a feature, please check the latest master if it suits your needs.

It's turned off by default, so you'll have to enable it.
Therefore, you now have three options to avoid conflict with diagnostics:

Use text and texthl for the diagnostics sign and numhl for the lightbulb sign:

Use numhl for the diagnostics sign and text + texthl for the lightbulb sign:

Use whatever you want for the diagnostics sign and use the float feature for the lightbulb.

Let me know what you think!

Fantastic 😀 This is exactly what I meant
Have tested and it works!! Thank you so much, this is a wonderful improvement to this plugin.

@kosayoda is there any way to avoid code actions being prioritized over errors in gutter, changing sign priority to 0 didn't change the behavior

@kosayoda is there any way to avoid code actions being prioritized over errors in gutter, changing sign priority to 0 didn't change the behavior

Please open a new issue with your configuration, thanks.


*list.json failing to convert EBCDIC file correctly

. Currently, we have a file that we cannot successfully convert using the json that is generated from the copy book we have been provided and request that your team review.
The attached zip file contains the following. The notes included are the known information based on our understanding of how the process works to create a json file that is used to determine how to convert the file from EBCDIC to ASCII.

The original copy book

The *-list.json which contains the transformation parameters that tell the python script how to read the EBCDIC file.

Note that it is a multi-layout copy book with 3 record types (meaning 2 redefines). Of these two redefines only one is required. The data file we are processing only contains 2 of the three record types. As noted in the copy book the record type values are 10 and 20, respectively. 10 represents personal information and 20 represents check information. There is not a record in the data file for police information (which would have been record type 30). However, it is included in the copy book. The trans-rule has been added for the check redefine (record type 20). Based on my understanding of the README.md file provided a trans-rule would not be needed for personal information since it is not a redefine (record type 10). In the file the relevant transformations for the different records types are transf (personal) ,transf1 (check), and transf2 (police). There is a transf3 that seems to be related to the in-record redefine discussed in the next section.

** Additionally, there is an ‘in-record’ redefine in the check information record to redefine the format of a field on the check record). It seems that when the copy book is processed, it is creating a forth transformation to handle this. However, the other fields included in the redefine are all related to the police record and not the check record.

The *-dict.json file which is a data dictionary.

Thanks,
DIFSDB.zip
Craig
CRAIG BAUMGARTNER

Hi Craig,
I'm glad that you are running this sample, and therefore helping to improve it.
By the json you've provided It seems that the field you are considering for the transformation rule is DB-RECORD-TYPE. Is that correct?
003400             15  DB-RECORD-TYPE            PIC XX.                00000053
003500                 88  DB-PERSONAL-RECORD    VALUE '10'.            00000054
003600                 88  DB-OFFENSE-RECORD     VALUE '20'.            00000055

DB-RECORD-TYPE is a character element (PIC XX), which means that its '20' hexadecimal representation is '0200' and not '0014'.
Please run again with the configuration below and attach a sample of the input file (without PII) if the undesired behaviour persists.
"transf-rule": [
	{
	"offset": 29,
	"size": 2,
	"hex": "0200",
	"transf": "transf1"
	}
    ]

Luis,
I replaced the hex value as you suggested and the problem persists. I have spoken with my client and they will have to get a file with dummy data.
As an aside, the value I used was the decimal value of 20 instead of the character value which I now understand is incorrect. However, when I enter the character value 20 in any of the online converter it converts to 3230. I do not understand how the hex value of 0200 is derived from the ASCII value of 20. Is there a converter that you are using that is available to me?
Thanks,
Craig
CRAIG BAUMGARTNER
Prinicpal Consultant
CAPCO | 2550 Pacific Avenue, Suite 700 | Dallas, Texas 75226
W: www.capco.comhttp://www.capco.com/
M:<PHONE_NUMBER>
@.https://www.twitter.com/capco https://www.facebook.com/capcoglobal @. https://www.youtube.com/capco_global @.*** https://www.linkedin.com/company/capco @.*** https://www.instagram.com/capco_global/
@.***
@.***  Please consider the environment before printing this email
From: Luís Gustavo Dantas @.>
Sent: Tuesday, April 5, 2022 5:27 PM
To: aws-samples/mainframe-data-utilities @.>
Cc: Baumgartner, Craig @.>; Author @.>
Subject: Re: [aws-samples/mainframe-data-utilities] *list.json failing to convert EBCDIC file correctly (Issue #2)
Caution: This email originated from outside Capco. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Hi Craig,
I'm glad that you are running this sample, and therefore helping to improve it.
By the json you've provided It seems that the field you are considering for the transformation rule is DB-RECORD-TYPE. Is that correct?
003400             15  DB-RECORD-TYPE            PIC XX.                00000053
003500                 88  DB-PERSONAL-RECORD    VALUE '10'.            00000054
003600                 88  DB-OFFENSE-RECORD     VALUE '20'.            00000055
DB-RECORD-TYPE is a character element (PIC XX), which means that its '20' hexadecimal representation is '0200' and not '0014'.
Please run again with the configuration below and attach a sample of the input file (without PII) if the undesired behaviour persists.
"transf-rule": [
    {

    "offset": 29,

    "size": 2,

    "hex": "0200",

    "transf": "transf1"

    }

]

—
Reply to this email directly, view it on GitHubhttps://github.com/aws-samples/mainframe-data-utilities/issues/2#issuecomment-1089444609, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYSLGFMQ77TLH6PNDGWQ4FTVDS4ZNANCNFSM5STU5ZNA.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>

I'm sorry, Craig. I was distracted.
"F2F0" is the right hex value. Please check the decimal 240 and 242 values in the table below.
https://www.ibm.com/docs/en/xl-fortran-linux/15.1.0?topic=appendix-ascii-ebcdic-character-sets
"3230" is the hexadecimal representation of "20" when the data is encoded in ASCII.
Regards,
Luis

Luis,
I have tried using F2F0 and the problem persists.
Currently, I am working with my team to get a dummy file so that you can test it on your side.
Thanks,
Craig
CRAIG BAUMGARTNER
Prinicpal Consultant
CAPCO | 2550 Pacific Avenue, Suite 700 | Dallas, Texas 75226
W: www.capco.comhttp://www.capco.com/
M:<PHONE_NUMBER>
@.https://www.twitter.com/capco https://www.facebook.com/capcoglobal @. https://www.youtube.com/capco_global @.*** https://www.linkedin.com/company/capco @.*** https://www.instagram.com/capco_global/
@.***
@.***  Please consider the environment before printing this email
From: Luís Gustavo Dantas @.>
Sent: Tuesday, April 5, 2022 9:41 PM
To: aws-samples/mainframe-data-utilities @.>
Cc: Baumgartner, Craig @.>; Author @.>
Subject: Re: [aws-samples/mainframe-data-utilities] *list.json failing to convert EBCDIC file correctly (Issue #2)
Caution: This email originated from outside Capco. Do not click links or open attachments unless you recognize the sender and know the content is safe.
I'm sorry, Craig. I was distracted.
"F2F0" is the right hex value. Please check the decimal 240 and 242 values in the table below.
https://www.ibm.com/docs/en/xl-fortran-linux/15.1.0?topic=appendix-ascii-ebcdic-character-sets
"3230" is the hexadecimal representation of "20" when the data is encoded in ASCII.
Regards,
Luis
—
Reply to this email directly, view it on GitHubhttps://github.com/aws-samples/mainframe-data-utilities/issues/2#issuecomment-1089697491, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYSLGFM2THD6AOJGE4J4C4DVDT2SLANCNFSM5STU5ZNA.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>

Ok, Craig. Please, send me the file when you have it.

Hi Luis,
Attached is the masked data file you can use for validating this issue.   Apologies for the delay.
Craig will be back in the office tomorrow if you have follow-up questions/
Thanks,
Emily
Emily Tidwell
CAPCO
M:<PHONE_NUMBER>
From: Baumgartner, Craig @.>
Sent: Wednesday, April 6, 2022 10:42 AM
To: aws-samples/mainframe-data-utilities @.>; aws-samples/mainframe-data-utilities @.>
Cc: Author @.>; Veetil, Anil @.>; Tidwell, Emily @.>; Sumit Khadka @.>; Udrick Azinue @.>
Subject: RE: [aws-samples/mainframe-data-utilities] *list.json failing to convert EBCDIC file correctly (Issue #2)
Luis,
I have tried using F2F0 and the problem persists.
Currently, I am working with my team to get a dummy file so that you can test it on your side.
Thanks,
Craig
CRAIG BAUMGARTNER
Prinicpal Consultant
CAPCO | 2550 Pacific Avenue, Suite 700 | Dallas, Texas 75226
W: www.capco.comhttp://www.capco.com/
M:<PHONE_NUMBER>
@.https://www.twitter.com/capco https://www.facebook.com/capcoglobal @. https://www.youtube.com/capco_global @.*** https://www.linkedin.com/company/capco @.*** https://www.instagram.com/capco_global/
@.***
@.***  Please consider the environment before printing this email
From: Luís Gustavo Dantas<EMAIL_ADDRESS>Sent: Tuesday, April 5, 2022 9:41 PM
To: aws-samples/mainframe-data-utilities<EMAIL_ADDRESS>Cc: Baumgartner, Craig<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [aws-samples/mainframe-data-utilities] *list.json failing to convert EBCDIC file correctly (Issue #2)
Caution: This email originated from outside Capco. Do not click links or open attachments unless you recognize the sender and know the content is safe.
I'm sorry, Craig. I was distracted.
"F2F0" is the right hex value. Please check the decimal 240 and 242 values in the table below.
https://www.ibm.com/docs/en/xl-fortran-linux/15.1.0?topic=appendix-ascii-ebcdic-character-sets
"3230" is the hexadecimal representation of "20" when the data is encoded in ASCII.
Regards,
Luis
—
Reply to this email directly, view it on GitHubhttps://github.com/aws-samples/mainframe-data-utilities/issues/2#issuecomment-1089697491, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYSLGFM2THD6AOJGE4J4C4DVDT2SLANCNFSM5STU5ZNA.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>

Hello, Emily. I cannot see the file.


Link to  Microsoft Support article 817433 is broken

A script to locate and reset formerly protected objects in the domain is linked to not existing page on Microsoft, probably moved.
the original link on the following page:
https://github.com/MicrosoftDocs/windowsserverdocs/blob/main/WindowsServerDocs/identity/ad-ds/plan/security-best-practices/Reducing-the-Active-Directory-Attack-Surface.md#adminsdholder-and-sdprop
link to Microsoft Support article 817433, which is not exist.

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


Make Python 2.6 working again.

I think using unittest2 from PyPI is a perfectly acceptable workaround
for unittests to work.

Coverage remained the same when pulling 007f61bcc1f003b192de117a3b7cc01f18a52646 on mcepl:py26_back into 97f770343c34f102a6908b69d92d0fc6af5188a1 on tstone2077:develop.


how to close socket properly on server side ??

how to properly close connection on server side ??
our server is an async ssl server.  our close logic is like below
on receiving "closed" error in read handler, we post ( boost::asio::post )  an event to the io context and in the post handler we call ws.close(). close throws an exception and the server crashes.  The exception code is 125 ( operation cancelled ) .
close(close_reason const& cr)
 {
    static_assert(is_sync_stream<next_layer_type>::value,
         "SyncStream type requirements not met");
     error_code ec;
     close(cr, ec);
     if(ec)
         BOOST_THROW_EXCEPTION(system_error{ec});   <---------- origin of exception.
 }

sorry being vague, the error in our case we are relying on  to close the connection is "boost::beast::websocket::error::closed" , in this case the client is a browser tab and the event happens on the close of the tab. our code is in fact based on the example mentioned by you. it is not clear to me as in why close is throwing exception.

The example would not try to close the websocket after receiving error::closed (because of the fail in on_read).
The server examples all handle error::closed without calling close, see e.g. https://www.boost.org/doc/libs/master/libs/beast/example/websocket/server/async-ssl/websocket_server_async_ssl.cpp, instead relying on destructors to do the right thing. Same for the chat-multi example.

Returning from the read handler will automatically invoke the session destructor unless there are shared pointers floating around . Destructor will automatically close the network connection as well. The documentation and examples floating around are misleading , the latest beast library simplifies lot of things and reduces a lot of code. Our case was that a reference was floating around in a container leading to half closure of the socket.

Glad you were able to get it sorted! Of you have suggestions on how to improve the examples (e.g. what specifically was misleading) we'd love to hear.
Even if it is anti-patterns that are floating around in books/other websites, sometimes it can be worth calling it out with a warning in the Beast documentation.

https://github.com/boostorg/beast/issues/1127
I was totally misled by the above discussion , I was exactly facing the same issue .  This popped up in my google search. Also the code was pretty old and the api was changed and would not compile with the new library.


Define default Adapter#name

I noticed while working on #760 that every adapter defines #name and it's just a variable set in initialize. This PR added a default Adapter#name method, which is just the snake_case version of the ClassName.
In https://github.com/flippercloud/flipper/pull/760#discussion_r1328013132, @jnunemaker said:

I don't usually allow changing the adapter name. But seeing it makes me wonder if we should allow this for people as I could see scenarios where someone wants to override for instrumentation purposes.

Currently, the ActiveRecord and Sequel adapters are the only ones that allow setting the name. Those will still work with this change. Should we allow others?

👍 All names should be the same.


Feature Request: Take apps to be moved from a (user-)supplied list

Your app sounds promising, thanks for making this available. I would welcome if it would offer the possibility to move apps according to a list of apps to be moved which is a typical use case for "debloating" a Stock ROM.
As a further enhancement, the app could supply such lists already for some common ROMs/Devices and (as an even further enhancement) try to auto-detect the device being used to apply a matching debloating list.

i also think that would be a great feature, with at least 3 levels of "movable" :

app still working ( probably few or none )
app no more working ( but phone is still working, you can want to throw away useless apps )
phone no more working on reboot.