features for fedoraware

i would like to see the following features in fedoraware if its possible:

improve the IMGUI a bit;
fakelag fix;
bind for crouch exploit;
reportbot with delay and ignore friends + party members + ignore players from playerlist;
positions for elements (healthbar, ubercharge, text health and other texts (including name), weapon and class icons);
competitive bypass if PC is potato;
eliminate crashes (at the moment I have not seen).

I don't mess around with the menu much, how would you want it to be improved.
Not sure how to make fakelag "fix", you can not shoot them until they unchoke packets, or tell the server you shot them when they were unchoked, but I've not heard about any other methods.
I do not know what crouch exploit is.
Reporting does nothing in TF2, it was disabled in 2017 iirc after catbots got a bunch of people mm banned by just spam reporting them.
I'll look into it, I'd like to remake all the esp stuff as it feels a bit messy rn.
No clue how to do this, I'll look into it?

@xxmyn i meant fakelag fix from csgo.

crouch exploit is duck speed;
Competitive bypass

i recently hvh'd today , i know you probably don't care but i'm not talking about that you retard. What i mean is it technically "HAS" a fakelag fix, it can pretty much resolve it own fakelag, lmaobox fakelag , and depending even ncc and rijin fakelag not garanteed of course. You can try just baiming them since you can't hit head properly.

i recently hvh'd today , i know you probably don't care but i'm not talking about that you retard. What i mean is it technically "HAS" a fakelag fix, it can pretty much resolve it own fakelag, lmaobox fakelag , and depending even ncc and rijin fakelag not garanteed of course. You can try just baiming them since you can't hit head properly.

i forgot to say that fakelag fix will useful if play with ping 300+ (not only HVH).

i recently hvh'd today , i know you probably don't care but i'm not talking about that you retard. What i mean is it technically "HAS" a fakelag fix, it can pretty much resolve it own fakelag, lmaobox fakelag , and depending even ncc and rijin fakelag not garanteed of course.  Nice observation

the fakelag "fixes" i could find were backtrack & disable interp, which we already do.
you can make the imgui window bigger, I might look at making it so you can change the size of text, I don't really care about it though.
to the other two, maybe.

@xxmyn Ok. I noticed that if put an avatar with a black man with a bad nickname in steam profile and at the same time cheat in any games + getting reports. 100% you can get a community ban or nickname will be replaced by Steam ID.

Those are steam community bans & stuff removed by steam moderators and only effect steam community, in game reports have nothing to do with them.

@xxmyn cheat lacks custom name feature

@xxmyn cheat lacks custom name feature

type name and then your desired name in console and it will change your name.
this is what the in game report system used to do

a checkbox for sandvich aimbot would be nice

No motd feature

* improve the IMGUI a bit;

This is very vague, could you clarify what you mean by this?

* fakelag fix;

I don't really know how to do this, so that's a nope from me.

* bind for crouch exploit;

Do you mean like a bind to crouch you and do the crouch speed seperate from just holding crouch?

* reportbot with delay and ignore friends + party members + ignore players from playerlist;

I'm not adding this, reportbots in TF2 don't do anything and I disagree with the idea anyway.

* positions for elements (healthbar, ubercharge, text health and other texts (including name), weapon and class icons);

This is a good idea that I would like to do but I'm lazy so, nope.

* competitive bypass if PC is potato;

How do I do this, do you mean allowing you to use mods in competitive?

* eliminate crashes (at the moment I have not seen).

I'm not going over every piece of code to check for somewhere it could crash, I'd rather people just attach a debugger and if they can't solve it themselves and submit a PR, at least make an issue saying where it crashes for me or someone else to look at

No motd feature

I could do this I guess.

bind for crouch exploit;

Do you mean like a bind to crouch you and do the crouch speed seperate from just holding crouch?

I was wrong.

competitive bypass if PC is potato;

Competitive mode forces high settings. I need low settings.

i recently hvh'd today , i know you probably don't care but i'm not talking about that you retard. What i mean is it technically "HAS" a fakelag fix, it can pretty much resolve it own fakelag, lmaobox fakelag , and depending even ncc and rijin fakelag not garanteed of course. You can try just baiming them since you can't hit head properly.

i forgot to say that fakelag fix will useful if play with ping 300+ (not only HVH).

how will it be useful if you have 300+ ping i seriously want to know how you think predicting a choking players position would be useful when you have 300+ ping.

but the players arent the ones lagging around in that situation, it's you...

but the players arent the ones lagging around in that situation, it's you...

yes

so how would having a fix for fakelag fix it?

so how would having a fix for _fake_lag fix it?

fakelag fix

that removes interp, alr done in this cheat

that removes interp, alr done in this cheat

Ok

I have new ideas: fakelatenct with triggerbot support (including autobackstab), region selector for valve servers

yeh ok noted cool.


Don't cache the dataset data fetch

Since the dataset data is dynamic we want to re-fetch on every page load.

Answer: https://beta.nextjs.org/docs/rendering/static-and-dynamic-rendering#static-data-fetching-default
"By default, Next.js will cache the result of fetch() requests that do not specifically opt out of caching behavior. This means that fetch requests that do not set a cache option will use the force-cache option."

My theory is only the client-side API calls (to the next API) are cached. The dataset-fetcher uses a POST request. Usually, POSTs aren't cached. Need to double check this.

Perhaps this could help:
When building the app (npm run build), the following output is displayed:
Route (app)                                Size     First Load JS
--
11:27:55.539 | ┌ ○ /[locale]                              21.2 kB         111 kB
11:27:55.539 | ├ ○ /[locale]/about                        208 B          87.3 kB
11:27:55.539 | ├ ○ /[locale]/contact                      208 B          87.3 kB
11:27:55.539 | ├ ○ /[locale]/dataset/[id]                 186 B          82.8 kB
11:27:55.539 | ├ ○ /[locale]/faq                          208 B          87.3 kB
11:27:55.539 | └ ○ /[locale]/register                     207 B          87.3 kB
11:27:55.539 | + First Load JS shared by all              82.7 kB
11:27:55.539 | ├ chunks/17-9517c7f39763fbf3.js          80.4 kB
11:27:55.539 | ├ chunks/main-app-f6f9fa3b1d647cef.js    216 B
11:27:55.539 | └ chunks/webpack-09a2eef97bbe7146.js     2.04 kB
11:27:55.540 |
11:27:55.540 | Route (pages)                              Size     First Load JS
11:27:55.540 | ┌ ○ /404                                   179 B          81.2 kB
11:27:55.540 | └ λ /api/datasets                          0 B              81 kB
11:27:55.540 | + First Load JS shared by all              81 kB
11:27:55.540 | ├ chunks/main-9c2dc15100b66a26.js        78.8 kB
11:27:55.540 | ├ chunks/pages/_app-5841ab2cb3aa228d.js  192 B
11:27:55.541 | └ chunks/webpack-09a2eef97bbe7146.js     2.04 kB
11:27:55.541 |
11:27:55.541 | ƒ Middleware                               36.1 kB
11:27:55.541 |
11:27:55.542 | λ  (Server)  server-side renders at runtime (uses getInitialProps or getServerSideProps)
11:27:55.542 | ○  (Static)  automatically rendered as static HTML (uses no initial props)

The /[locale] page is built as a static page, but, instead, should be rendered server-side, at runtime.

@sdevalk I think this is resolved with the server-side rendering. Now, this is the output with npm run build.  The size of /[locale] went from 21.2 kB to 2.74 kB and is dynamically rendered.
Route (app)                                Size     First Load JS
┌ λ /[locale]                              2.74 kB         109 kB
├ λ /[locale]/about                        214 B          91.1 kB
├ λ /[locale]/contact                      214 B          91.1 kB
├ λ /[locale]/dataset/[id]                 204 B          91.1 kB
├ λ /[locale]/faq                          214 B          91.1 kB
└ λ /[locale]/register                     212 B          91.1 kB
+ First Load JS shared by all              68.7 kB
  ├ chunks/455-9534f9688bbdc8e4.js         66.4 kB
  ├ chunks/main-app-909138bb87d721e7.js    202 B
  └ chunks/webpack-146196b089261923.js     2.04 kB

Route (pages)                              Size     First Load JS
─ ○ /404                                   179 B          84.6 kB
+ First Load JS shared by all              84.4 kB
  ├ chunks/main-d26831dc1b104b86.js        82.2 kB
  ├ chunks/pages/_app-907dedfd0e4177db.js  192 B
  └ chunks/webpack-146196b089261923.js     2.04 kB

ƒ Middleware                               36.7 kB

λ  (Server)  server-side renders at runtime (uses getInitialProps or getServerSideProps)
○  (Static)  automatically rendered as static HTML (uses no initial props)

@barbarah This is perfect! 👍


[FEATURE] Unify flagd DISABLED status handling

Requirements
Background
Consider the review conversion here ^1, currently there are mixed handling for disabled flags of flagd.

Flagd core : generates an error [2]
Java provider : consider this as an error [3]
JS provider : consider this as NOT an error [4]
Go provider : consider as an error

Requirement
These implementations must be unified such that DISABLED flags are considered NOT_FOUND and throw errors.
AC

All flagd and other providers are updated to handle disabled flags as NOT_FOUND errors.
Add issue to create e2e tests to flagd tests so that unified handling is validated

Validated implementations. Can confirm that this is complete


ENSCORESW-2287

I know it's a bigger refactor than we'd probably be interested in, but I'm not sure how I feel about ensembl-production and ensembl-orm becoming dependencies of REST. ensembl-production just doesn't feel like it should be public facing like that, rather than for production tasks. And ensembl-orm, so we have our orm within the api, plus this other orm. Eek. Feels like we're adding to the maintenance burden.
But this might be a bigger discussion than this one pull request.


Adds missing documentation for computed property in export policy component

Documentation change only.

Codecov Report

Merging #1431 into master will decrease coverage by 0.12%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master   #1431      +/-   ##
=========================================
- Coverage   60.63%   60.5%   -0.13%
=========================================
  Files         184     184
  Lines        4044    4044
  Branches      936     936
=========================================
- Hits         2452    2447       -5
- Misses       1592    1597       +5

Impacted Files
Coverage Δ

...pp/components/datasets/compliance/export-policy.ts
84% <0%> (ø)
:arrow_up:

wherehows-web/app/components/purge-policy.ts
81.48% <0%> (-18.52%)
:arrow_down:

Continue to review full report at Codecov.

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

Coverage remained the same at 22.974% when pulling 763bf99142064f6c0494fd95be0a213adb7d729c on cptran777:missing-export-policy-documentation into 34bcbfc56d56c6063b28120519717827bd03db71 on linkedin:master.


Uncaught Error permission_denied at Client doesn't have permission to access the desired data

I am trying to figure out a way to catch Authentication errors. Getting the following error:
Uncaught Error permission_denied at Client doesn't have permission to access the desired data
Using ionic V3.
My workaround for catching this error prior to logging in is to first check for auth.
  ionViewWillEnter() {
    this.afAuth.authState.subscribe(user => {
      if (!user) {
        this.reads = Observable.of([]);
        return;
      }
      this.reads = this.afoDb.list('my_fb_list');
    });
  }

The lingering issue that is remaining is how properly handle a user logout event.  I'll point out that if I swap out angularfire2-offline for angularfire2 the errors go away, and I can login and logout with any errors.

Maybe this is fixed by #18

Definitely related to #18.  Closing ticket. Thanks for including the recommendations in the source code as far as protecting the signOut() when offline & etc.


Could not resolve dependencies for project org.trustedanalytics:hdfs-broker:jar:0.5.8

The groupId of hdfs-broker-store
org.trustedanalytics.servicebroker.repository
does not exist in https://repo1.maven.org/maven2/org/
Is there a separate registry we should use? or should we add some options when "mvn clean package"?

Turns out you need to first "./gradlew install" https://github.com/cloudfoundry-community/spring-boot-cf-service-broker and "mvn clean package install" https://github.com/trustedanalytics/broker-store


Update package installation checkbox properly (-ish)

I'm sorry if this is one of those issues we are not supposed to report yet, but anyway :)
I noticed that installation checkboxes are not updated properly as you scroll through the package list. Once progress has been set to 1.0 for some installed package, there's basically no way back to 0.0, and the cell eventually ends up being shown for a package which is not installed.
Unfortunately, I have no experience in OS X development, but this seems to fix the problem. Actually, it feels like a wrong place for this code, shouldn't this be handled somehow via existing binding?

Thanks everyone - this should be working properly in master


Check for large increases in step count

nice! It would be cool if we could also catch long running tests in our CI - another source of pain


add weakdeps - extensions

Currently, this fails the formatter if using weakdeps - packages extensions in Project.toml.
e.g. https://github.com/JuliaPlots/Plots.jl/actions/runs/4127586892/jobs/7130974959
cc @tkf.

This package does not seem maintained well for now. I suggest using Aqua.jl which is also founded by @tkf.
The Aqua.jl docs says:

Project.toml formatting is compatible with Pkg.jl output.


Move TheDocumentFoundation.LibreOffice <IP_ADDRESS> to TheDocumentFoundati…

…on.LibreOffice.LTS <IP_ADDRESS>
Checklist for Pull Requests

[ ] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Error information:
Http Response: OK
Http Reason Phrase: OK
Error occurred while downloading installer from http://downloadarchive.documentfoundation.org/libreoffice/old/<IP_ADDRESS>/win/x86_64/LibreOffice_<IP_ADDRESS>_Win_x64.msi. 0x80072EE2.
Error information:
Http Response: OK
Error information:
Http Response: OK
Http Reason Phrase: OK

4/1/2024 8:46:40 PM
(Automated response - build 876.)

URL: http://downloadarchive.documentfoundation.org/libreoffice/old/<IP_ADDRESS>/win/x86_64/LibreOffice_<IP_ADDRESS>_Win_x64.msi
Status Code: 200
(Automated message - build 876)

@wingetbot run

[Policy] Reset Labels


Error in accompanying Colab: "InternalError: libdevice not found at ./libdevice.10.bc [Op:__inference_tf_forward_55230]"

In an accompanying Colab (different Colab than for #29), under Setting up training state at this step:
predictions, labels = infer_librispeech(dataset, num_batches=2618)

Running all the code in the colab up to this point produces an error here:
---------------------------------------------------------------------------
InternalError                             Traceback (most recent call last)
<ipython-input-16-85b57072fd5d> in <module>()
----> 1 predictions, labels = infer_librispeech(dataset, num_batches=2618)

6 frames
/usr/local/lib/python3.7/dist-packages/tensorflow/python/eager/execute.py in quick_execute(op_name, num_outputs, inputs, attrs, ctx, name)
     58     ctx.ensure_initialized()
     59     tensors = pywrap_tfe.TFE_Py_Execute(ctx._handle, device_name, op_name,
---> 60                                         inputs, attrs, num_outputs)
     61   except core._NotOkStatusException as e:
     62     if name is not None:

InternalError: libdevice not found at ./libdevice.10.bc [Op:__inference_tf_forward_55230]

Here's a screenshot:

Hi,
it was happening because colab was unable to re-install tensorflow properly because of some reason. I have removed tensorflow from the requirements.txt as the fix. So, you should be able to run the notebooks now!!
Feel free to open the issue again if you encounter any other problem.


emq_mod_retainer issue in 2.0

Environment

OS:
Erlang/OTP:
EMQ:

Description
Running make command prompts
===> Failed to solve release:
Dependency emq_mod_retainer is specified as a dependency but is not reachable by the system.

git clone -b 'v2.0.7p1' https://github.com/emqtt/emq-relx.git emq-relx && cd emq-relx && make


Consumer negative acknowledgement not working

Describe the bug
According to doc, When a consumer does not consume a message successfully at a time, and wants to consume the message again, the consumer can send a negative acknowledgement to the broker, and then the broker will redeliver the message.
If I log the message and negative-acknowledge it afterwards, shouldn't it be redeliver back to the consumer on the next receceive() poll?
To Reproduce
Below is a simple consumer testing code.
    Consumer<byte[]> consumer =
        client
            .newConsumer()
            .subscriptionType(SubscriptionType.Key_Shared)
            .subscriptionName("ks-test")
            .topic("test-topic")
            .subscribe();
    while (true) {
      Message<byte[]> message = consumer.receive(100, TimeUnit.MILLISECONDS);
      if (message != null) {
        System.out.println(new String(message.getData()));
        consumer.negativeAcknowledge(message);
      }
    }

Expected behavior
I expect to see the same message reprinted over and over as in the below screenshot

However, I'm seeing this. No message redelivery. Redelivery happens only after ConsumerBuilder.ackTimeout() expires. This tells me, the negative acknowledgement is actually not acking. Am I missing something on the consumer API?

Environment

OS: Ubuntu
Pulser Vserion: 2.4.1
Java Client Version: 2.4.2

Well I just realized that a call to Consumer#negativeAcknowledge(MessageId) does not actually trigger the redelivery mechanism but add the MessageId to the list of ids to be redeliver. The actual triggering is scheduled by a timer controlled by ConsumerBuilder#negativeAckRedeliveryDelay().
So, setting this delay to 100ms creates the effect I expected.


document --run for dvc stage add

See https://github.com/iterative/dvc/pull/9487

Should we also add a deprecation notice for dvc run?

We should at least wait for 2-3 minor releases before deprecating, it was just released.

@skshetry I mean we should add a notice now that it's being deprecated. It won't be actually deprecated until 3.0. That should help make it less surprising when we drop it.
Related: https://github.com/iterative/dvc.org/pull/4443#issuecomment-1557191650

Right, but there’s no alternative for users yet.

Sorry, I still don't get it. What is the harm in putting a notice in the docs now that it will be deprecated in 3.0? If users don't upgrade, they can continue to use it. If they go to the docs, it would help for them to know ASAP that they can't keep relying on it for much longer.


Unable to resolve module 'react-native/Libraries/EventEmitter/EventEmitter rn-0.48.2

It seems that after this breaking change: https://github.com/facebook/react-native/commit/db3df3400a80353a0140442a5045eca344dfc76f the module is not working anymore.

It's an earlier change than that I think.
https://github.com/facebook/react-native/commit/365aea3415fdf3e16a6643862a0bfacf87b2f1d1#diff-21131746d55fbfb23814f3310bc4fa1b
Moved a bunch of files, including:

Libraries/EventEmitter/EventEmitter.js → Libraries/vendor/emitter/EventEmitter.js

there are also other libs broken with RN-0.48.x,
e.g.: https://github.com/invertase/react-native-firebase/pull/387/files
Can someone fix this for 0.48 ?

This change should go to 49 rc and not in 48 to give space to the devs to make changes. Anyway...

Same question

+1

bump

+2

I suggested a PR #11 which has no breaking changes. Instead of using the React Native event emitter, it uses a third party one with the same API.
What do you guys think?
In the meantime, it's possible to use the package @bam.tech/react-native-root-siblings from npm which has those changes

Hope it get merged soon... even though the creator isn't active much...

Fix:
Change import EventEmitter from 'react-native/Libraries/EventEmitter/EventEmitter';
to import EventEmitter from 'react-native/Libraries/vendor/emitter/EventEmitter';
In AppRegistryInjection.js.

when this changes going to be merged. please merge asap we are waiting.

this isnt ever going to be fixed, fork it or move to a better alternative: https://github.com/maxs15/react-native-modalbox

@magicismight Please make your root siblings module work with RN 16+, so we don't have to fork your stuff and create confusion. It will also be the answer to this bug report: https://github.com/magicismight/react-native-root-toast/issues/51

1

+1

Fix:
Change import EventEmitter from 'react-native/Libraries/EventEmitter/EventEmitter';
to import EventEmitter from 'react-native/Libraries/vendor/emitter/EventEmitter';
In AppRegistryInjection.js.

On the contrary, I changed to 'react-native/Libraries/EventEmitter/EventEmitter'
It worked,  unbelievable！

Plz read my previous comment @Stone


build method of a widget is not triggered if the web browser is minimized

Steps to Reproduce
In our fluter web app, we listen to network messages and in response to a message, we push a new page using Navigator.of(contex).push().
    _api.messages.stream.listen((msg) async {
        _isVideoChatActive = true;
        await Navigator.of(context).push(AnimatedRoute(
          widget: VideoChatScreen(),
          anim: PageAnimation.FROM_RIGHT,
        ));
        _isVideoChatActive = false;
      }
    });

The widget VideoChatScreen() is not created and initialized (initState() is not called) if the browser window is minimized, until we restore the browser window.
Is this behavior by design? Is there a way of overriding this behavior?
flutter doctor -v
[√] Flutter (Channel beta, 1.24.0-10.2.pre, on Microsoft Windows [Version 10.0.17763.1637], locale tr-TR)
• Flutter version 1.24.0-10.2.pre at c:\Projects\flutter
• Framework revision 022b333a08 (5 weeks ago), 2020-11-18 11:35:09 -0800
• Engine revision 07c1eed46b
• Dart version 2.12.0 (build 2.12.0-29.10.beta)
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
• Android SDK at C:\Users\au250073\AppData\Local\Android\Sdk
• Platform android-30, build-tools 29.0.3
• ANDROID_HOME = C:\Users\au250073\AppData\Local\Android\Sdk
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
[√] Android Studio (version 4.0)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 47.1.2
• Dart plugin version 193.7361
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
[√] VS Code (version 1.51.1)
• VS Code at C:\Users\au250073\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 2.23.1
[√] Connected device (3 available)
• Web Server (web) • web-server • web-javascript • Flutter Tools
• Chrome (web)     • chrome     • web-javascript • Google Chrome 80.0.3987.132
• Edge (web)       • edge       • web-javascript • Microsoft Edge 87.0.664.57
• No issues found!

I think this could be a desirable feature request for flutter web
I took the liberty of writing a minimal code sample to illustrate the current behavior

code sample
import 'dart:async';

import 'package:flutter/material.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp() : super(key: const ValueKey('MyApp'));
  @override
  Widget build(BuildContext context) => const MaterialApp(
        home: MyHomePage(),
      );
}

class MyHomePage extends StatefulWidget {
  const MyHomePage() : super(key: const ValueKey('MyHomePage'));

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  StreamSubscription _subscription;
  var _counter = 10;
  @override
  void initState() {
    super.initState();
    _subscription =
        Stream.periodic(const Duration(seconds: 1), (i) => i).take(11).listen(
              (count) => count < 10
                  ? setState(() => _counter--)
                  : Navigator.of(context).push(
                      MaterialPageRoute(
                        builder: (context) => const MySecondPage(),
                      ),
                    ),
            );
  }

  @override
  void dispose() {
    _subscription?.cancel();
    super.dispose();
  }

  @override
  void deactivate() {
    print('deactivate');
    super.deactivate();
  }

  @override
  Widget build(BuildContext context) {
    print(_counter);
    return Material(
      child: Center(
        child: Text('pushing in $_counter seconds, please the browser'),
      ),
    );
  }
}

class MySecondPage extends StatelessWidget {
  const MySecondPage() : super(key: const ValueKey('MySecondPage'));

  @override
  Widget build(BuildContext context) {
    print('second page has been built');
    return const Material(
      child: Center(
        child: Text('second page'),
      ),
    );
  }
}

doctor
[✓] Flutter (Channel master, 1.26.0-2.0.pre.132, on Linux, locale en_US.UTF-8)
    • Flutter version 1.26.0-2.0.pre.132 at /home/francesco/snap/flutter/common/flutter
    • Framework revision 6e5f55fb59 (18 hours ago), 2020-12-24 12:29:02 -0500
    • Engine revision 1c975f1e7c
    • Dart version 2.12.0 (build 2.12.0-177.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /home/francesco/Android/Sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /usr/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_275-8u275-b01-0ubuntu1~20.04-b01)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
    • cmake version 3.10.2
    • ninja version 1.8.2
    • pkg-config version 0.29.1

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • Linux
    • Chrome (web)    • chrome • web-javascript • Google Chrome 87.0.4280.88

! Doctor found issues in 1 category.

Hi @iapicca, that's exactly our situation. Thanks for the sample app.
We are running our flutter video  chat web app in an Electron executable which generally stays in the taskbar minimized and when a video call request comes to the app, we push the video chat screen which does not pop if the Electron application is minimized.
This behavior which we found out during our tests put us into a very hard situation.
We would be glad if there is a patch we can use to override this behavior.

@iapicca, @pedromassango,  we can not really figure out when or ever this "proposal" is going to be implemented looking at the labels you added.
So can you please tell us if there is a quick fix we can add to our project to override this behavior?

@iapicca, @pedromassango,  we can not really figure out when or ever this "proposal" is going to be implemented looking at the labels you added.
So can you please tell us if there is a quick fix we can add to our project to override this behavior?

I think this could be a desirable feature request for flutter web

@pedromassangocode
I take back my words, I think this is more a bug than a feature request, for the following reasons:

parity: running the code sample with flutter run -d linux
the count down and navigation keep running when the app is minimized

expected behavior: unlike mobile apps, both users and developers expect a minimized web page or web app
to continue running when minimized (most obvious example, youtube)

lastly
while the code sample involves routing, the issue can be represented just with a count down,
I suspect the problem might be on engine side, @postacik if you agree you might consider a re-title

I think this could be a desirable feature request for flutter web

@pedromassangocode
I take back my words, I think this is more a bug than a feature request, for the following reasons:

parity: running the code sample with flutter run -d linux
the count down and navigation keep running when the app is minimized

expected behavior: unlike mobile apps, both users and developers expect a minimized web page or web app
to continue running when minimized (most obvious example, youtube)

lastly
while the code sample involves routing, the issue can be represented just with a count down,
I suspect the problem might be on engine side, @postacik if you agree you might consider a re-title

@iapicca, I agree with you 100%.
While playing with your sample code, I noticed that setState() calls do not trigger the build method if the application window is minimized so this is not an issue only related to routing. I'm changing the title accordingly.

@iapicca, I agree with you 100%.
While playing with your sample code, I noticed that setState() calls do not trigger the build method if the application window is minimized so this is not an issue only related to routing. I'm changing the title accordingly.

Any clue to override this behavior before a fix is released?

Any clue to override this behavior before a fix is released?

Thanks @iapicca @postacik.
flutter doctor -v
/Users/pedromassango/dev/SDKs/flutter_master/bin/flutter doctor --verbose
[✓] Flutter (Channel master, 1.26.0-2.0.pre.177, on Mac OS X 10.15.7 19H2 darwin-x64, locale en)
    • Flutter version 1.26.0-2.0.pre.177 at /Users/pedromassango/dev/SDKs/flutter_master
    • Framework revision 7c26c8fbb1 (5 hours ago), 2021-01-05 01:19:03 -0500
    • Engine revision b9dc0cf1d8
    • Dart version 2.12.0 (build 2.12.0-179.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/pedromassango/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS (Xcode 12.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.1, Build version 12A7403
    ! CocoaPods 1.9.3 out of date (1.10.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2020.3.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 52.1.5
    • Dart plugin version 203.6912

[✓] VS Code (version 1.51.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.16.0

[✓] Connected device (4 available)
    • Redmi 5 Plus (mobile)      • 0258ff700005  • android-arm64  • Android 8.1.0 (API 27)
    • sdk gphone x86 64 (mobile) • emulator-5554 • android-x64    • Android 11 (API 30) (emulator)
    • macOS (desktop)            • macos         • darwin-x64     • Mac OS X 10.15.7 19H2 darwin-x64
    • Chrome (web)               • chrome        • web-javascript • Google Chrome 87.0.4280.88

! Doctor found issues in 1 category.
Process finished with exit code 0

Thanks @iapicca @postacik.
flutter doctor -v
/Users/pedromassango/dev/SDKs/flutter_master/bin/flutter doctor --verbose
[✓] Flutter (Channel master, 1.26.0-2.0.pre.177, on Mac OS X 10.15.7 19H2 darwin-x64, locale en)
    • Flutter version 1.26.0-2.0.pre.177 at /Users/pedromassango/dev/SDKs/flutter_master
    • Framework revision 7c26c8fbb1 (5 hours ago), 2021-01-05 01:19:03 -0500
    • Engine revision b9dc0cf1d8
    • Dart version 2.12.0 (build 2.12.0-179.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/pedromassango/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS (Xcode 12.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.1, Build version 12A7403
    ! CocoaPods 1.9.3 out of date (1.10.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2020.3.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 52.1.5
    • Dart plugin version 203.6912

[✓] VS Code (version 1.51.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.16.0

[✓] Connected device (4 available)
    • Redmi 5 Plus (mobile)      • 0258ff700005  • android-arm64  • Android 8.1.0 (API 27)
    • sdk gphone x86 64 (mobile) • emulator-5554 • android-x64    • Android 11 (API 30) (emulator)
    • macOS (desktop)            • macos         • darwin-x64     • Mac OS X 10.15.7 19H2 darwin-x64
    • Chrome (web)               • chrome        • web-javascript • Google Chrome 87.0.4280.88

! Doctor found issues in 1 category.
Process finished with exit code 0

Do the labels assigned to this issue mean that this proposal is going to be implemented in an upcoming release?

Do the labels assigned to this issue mean that this proposal is going to be implemented in an upcoming release?

This behavior must be detecting that the browser is minimized to be able to delay all build methods until the window is restored.
If you can tell us how "isMinimized" works, maybe we can build a hack to make the app think the browser is never minimized.

This behavior must be detecting that the browser is minimized to be able to delay all build methods until the window is restored.
If you can tell us how "isMinimized" works, maybe we can build a hack to make the app think the browser is never minimized.

This behavior must be detecting that the browser is minimized to be able to delay all build methods until the window is restored.

@postacik
I'm not sure this would be ideal,
think about youtube  or any messaging notification,
it doesn't just stop because it's minimized
imho it should just keep running in background
what would I see a smart thing to pause is the rendering part

This behavior must be detecting that the browser is minimized to be able to delay all build methods until the window is restored.

@postacik
I'm not sure this would be ideal,
think about youtube  or any messaging notification,
it doesn't just stop because it's minimized
imho it should just keep running in background
what would I see a smart thing to pause is the rendering part

@iapicca
Yes, the current behavior is neither ideal nor logical.
I am just trying to find a way to disable it by a work around until it's fixed.

@iapicca
Yes, the current behavior is neither ideal nor logical.
I am just trying to find a way to disable it by a work around until it's fixed.

Hi @ferhatb ,
Is there any progress about this issue?

Hi @ferhatb ,
Is there any progress about this issue?

Hi @postacik
As the author of this issue, you may get notifications once the issue gets some updates.

Hi @postacik
As the author of this issue, you may get notifications once the issue gets some updates.

It seems that this issue will be hanging for a long time.
Can you please point us to the right direction if a work around is possible?

@ferhatb , is there any progress about this issue?

We are still looking into this one. This is by design to make sure your browser doesn't consume resources when in background. See https://developers.google.com/web/updates/2017/03/background_tabs. @postacik what is your expectation when network message comes through? If the browser visibility api tells you the tab is inactive you could detect that and use a different code path, even if we gave you an api to render a frame (force a build), it would still be inactive tab.

The main logic can be seen in the code below:
    _api.messages.stream.listen((msg) async {
      if (!_isVideoChatActive && (msg.type == "videocall" || msg.type == "screencall")) {
        _isVideoChatActive = true;
        await Navigator.of(context).push(AnimatedRoute(
          widget: VideoChatScreen(
            displayName: "${_model.currentUser.name}}",
            to: msg.from,
            room: msg.payload["room"],
            pin: msg.payload["pin"],
            inbound: true,
            shareScreen: msg.type == "screencall",
          ),
          anim: PageAnimation.FROM_RIGHT,
        ));
        _isVideoChatActive = false;
      }
    });

When a "videocall" or "screencall" message comes, VideoChatScreen is pushed into the stack and the rest of the call logic is merged into the VideoChatScreen code and the actions are:

Play "ringing" audio file.
Join the video room and display the caller's video stream in a widget.
If it's a "screencall", answer the call automatically and start sending your stream.

Some "video room" related functions take widgets, which are in the VideoChatScreen widget tree, as parameters.
It's hard to decouple some actions from the VideoChatScreen.
However, with the current optimization, building VideoChatScreen is delayed until the browser is restored from minimized state.

@ferhatb
imho the base expectation should be parity across platforms
as running background processes on mobile
seems relatively streamlined (even if requires some native code),
this doesn't not seem to be the case for web

Is this FR ever going to be implemented?

@postacik please see https://github.com/flutter/flutter/issues/72953#issuecomment-804318372.
Thank you

@pedromassango
I answered the comment you mentioned. It's hard to decouple some actions from the rendering process.
Maybe the behavior I expect to achieve can be made optional by using a parameter.

It's sad to see the lack of progress here.
I stumbled across this github issue after discovering a similar problem on the app Im working on
Basically, there's a widget driven polling process, that should be stopped once that polling request returns a specific code.
Because it's widget driven, the process never really stops if the browser is in the background.
Time to forget that "everything is a widget" and move everything to a different architecture really, as this can not be trusted at all.

Issue is still reproducible on the latest versions of flutter.

recording
https://user-images.githubusercontent.com/88313112/210335711-ee0889c3-5fb9-493d-8eb5-76b0f9d8fd20.mov

updated sample
import 'dart:async';

import 'package:flutter/material.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp() : super(key: const ValueKey('MyApp'));
  @override
  Widget build(BuildContext context) => const MaterialApp(
        home: MyHomePage(),
      );
}

class MyHomePage extends StatefulWidget {
  const MyHomePage() : super(key: const ValueKey('MyHomePage'));

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  late StreamSubscription _subscription;
  var _counter = 10;
  @override
  void initState() {
    super.initState();
    _subscription =
        Stream.periodic(const Duration(seconds: 1), (i) => i).take(11).listen(
              (count) => count < 10
                  ? setState(() => _counter--)
                  : Navigator.of(context).push(
                      MaterialPageRoute(
                        builder: (context) => const MySecondPage(),
                      ),
                    ),
            );
  }

  @override
  void dispose() {
    _subscription.cancel();
    super.dispose();
  }

  @override
  void deactivate() {
    print('deactivate');
    super.deactivate();
  }

  @override
  Widget build(BuildContext context) {
    print(_counter);
    return Material(
      child: Center(
        child: Text('pushing in $_counter seconds, please minimize the browser'),
      ),
    );
  }
}

class MySecondPage extends StatelessWidget {
  const MySecondPage() : super(key: const ValueKey('MySecondPage'));

  @override
  Widget build(BuildContext context) {
    print('second page has been built');
    return const Material(
      child: Center(
        child: Text('second page'),
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel stable, 3.3.10, on macOS 13.1 22C65 darwin-arm, locale en-GB)
    • Flutter version 3.3.10 on channel stable at /Users/nexus/dev/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 135454af32 (3 weeks ago), 2022-12-15 07:36:55 -0800
    • Engine revision 3316dd8728
    • Dart version 2.18.6
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14B47b
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] VS Code (version 1.74.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.56.0

[✓] Connected device (3 available)
    • M2007J20CG (mobile) • adb-5dd3be00-22GXB2._adb-tls-connect._tcp. • android-arm64  • Android 12 (API 31)
    • macOS (desktop)     • macos                                      • darwin-arm64   • macOS 13.1 22C65 darwin-arm
    • Chrome (web)        • chrome                                     • web-javascript • Google Chrome 108.0.5359.124

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

[!] Flutter (Channel master, 3.7.0-13.0.pre.138, on macOS 13.1 22C65 darwin-arm64, locale en-GB)
    • Flutter version 3.7.0-13.0.pre.138 on channel master at /Users/nexus/dev/sdks/flutters
    ! Warning: `flutter` on your path resolves to /Users/nexus/dev/sdks/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutters. Consider adding /Users/nexus/dev/sdks/flutters/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/nexus/dev/sdks/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutters. Consider adding /Users/nexus/dev/sdks/flutters/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b938dc13df (23 hours ago), 2023-01-02 05:47:23 -0500
    • Engine revision 472e34cbbc
    • Dart version 3.0.0 (build 3.0.0-76.0.dev)
    • DevTools version 2.20.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14B47b
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] VS Code (version 1.74.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.56.0

[✓] Connected device (3 available)
    • M2007J20CG (mobile) • adb-5dd3be00-22GXB2._adb-tls-connect._tcp. • android-arm64  • Android 12 (API 31)
    • macOS (desktop)     • macos                                      • darwin-arm64   • macOS 13.1 22C65 darwin-arm64
    • Chrome (web)        • chrome                                     • web-javascript • Google Chrome 108.0.5359.124

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

Still no progress on this? Breaks an app I am building which renders a flutter app to a picture in picture video which should also work when in background


Message Viewer

Great project!
A side tool could be a conversation viewer, reading the JSON. Opened in a browser, the messages would be browsable, separated by conversations/persons, searchable, etc. All the things the local archive messages html file doesn’t do but the online original message feature does.

Yup, when I first conceived of the project I had planned to add many of the features you've suggested. Unfortunately I got busy with school, and other interests, so I haven't really followed up on those features, and I don't think I will for some time. However, I'd urge you to check out jsharkey13's fork which is much more comprehensive in its feature set!

Yup, when I first conceived of the project I had planned to add many of the features you've suggested. Unfortunately I got busy with school, and other interests, so I haven't really followed up on those features, and I don't think I will for some time. However, I'd urge you to check out jsharkey13's fork which is much more comprehensive in its feature set!

I tried making a simple proof of concept server interface, building on @CopOnTheRun 's original format (which made a great API) to allow viewing in the browser. Got a little carried away with the HTML/CSS/SCSS stuff; but the result is here: https://github.com/jsharkey13/flask_facebook_messages.  It might do something like what you want. This is apparently what happens when you finish university and start hanging out with computer scientists . . .
(PS - Sorry to hijack your issue!)


log4j-over-slf4j is incorrectly identified as matching CVE-2020-9488

I have a Gradle project with Dropwizard 2.0.10 which pulls in org.slf4j:log4j-over-slf4j:1.7.30
The dependency-check-gradle tool is incorrectly flagging this with https://nvd.nist.gov/vuln/detail/CVE-2020-9488
which affects the similarly named but distinct project "log4j"
I don't see any CPEs which should match here, and my SBT and Maven projects with this dep don't get this false positive, so I think this is some kind of CPE matching bug in dependency-check-gradle
https://nvd.nist.gov/vuln/detail/CVE-2020-9488/cpes?expandCpeRanges=true
Here is the relevant section from the build output:
$ ./gradlew dependencyCheckAnalyze
...
One or more dependencies were identified with known vulnerabilities in my-app:

log4j-over-slf4j-1.7.30.jar<EMAIL_ADDRESS>cpe:2.3:a:apache:log4j:1.7.30:*:*:*:*:*:*:*) : CVE-2020-9488

Please could you confirm whether this is a bug in dependency-check-gradle or if I have done something wrong?
Thanks,
Rich

This should be fixed.


Reset weight when clearing

clear does not reset the weight as it should.

Nice find! Could you add a test for this?

Would that be in the weight module?

Done in #54


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


comparison with ObjectModel

Hey there,
I just found out your library on EchoJS and it appears to be very similar to a project of mine: http://objectmodel.js.org/
I thought it would be interesting to compare our goals / implementations / philosophy, so we could learn from each other and exchange ideas. Then with your agreement and if you find the comparison fair enough, I would like to publish it on ObjectModel's readme.
Here is what I found so far, please correct me if I get something wrong:

Structures are for Structure what Models are for ObjectModel (what a surprise :smile:)
Schemas are for Structure what Definitions are for ObjectModel
both libs use reference to constructors to describe types (i.e. Number, Date)
both libs have a similar Type concept, but ObjectModel also validates values (for enumerations for example)
Structure has a coercion mechanism while ObjectModel throw errors when types do not match
Structure has a lot of built-in validation helpers while ObjectModel comes with very few and encourage to declare generic models and use extension/composition (see http://objectmodel.js.org/examples/common.js)
Structure acts as an extension to classes while ObjectModel acts as a transparent proxy on different kinds of objects
Structure validation is triggered manually and do not throw exception by default, while ObjectModel validate everytime an object is touched and throw TypeError by default
Some features of ObjectModel do not (not yet ?) exist in Structure, such as assertions, union types, inheritance, null-safe traversal... Not a big deal since Structure is quite young compared to ObjectModel (started > 2 years ago) and may have very different goals in mind for the future of the library.
Structure goals are focused on interfacing app classes with external interfaces (i.e. JSON services) while ObjectModel goals are focused on strong type checking and bug prevention.

Considering the last point, its quite funny that our libraries end up with a very similar API while having very different goals and priorities in mind.
Did I miss anything ? I would love to have a chat with you, here or somewhere else, and discuss about our motivations and what do we aim for our respective libraries.

Hey there! I know ObjectModel, I even sent a question once https://github.com/sylvainpolletvillard/ObjectModel/issues/31, and I really considered using ObjectModel (or Ampersand State) before starting to develop Structure, since I think ObjectModel is a pretty good package, but it didn't do what I needed.
The main objective of Structure is to add attributes to classes without interfering with the class' hierarchy, I mean without having to extend a model class, I wanted to be able to add attributes even to classes that extends from other classes. I'm also a Ruby developer and an example of this in the Ruby world is Virtus gem. The better approach I could find to do this this on JavaScript was to use of a decorator, so that's why Structure is out-of-box compliant with JS decorators.
Combined with a good way to integrate with classes I also wanted to have a nice set of validations out-of-box for basic types. Before developing Structure I used normal JavaScript classes and created myself a validate() method that used a Joi schema to validate my model, but I always though that Joi was pretty verbose and yet very powerful, so I noticed it would be possible to generate Joi schemas from a cleaner type declaration, and that's what I implemented on Structure.
Another thing I missed from the Ruby world was a way to coerce values so I could use structures (I'll talk about why I choose this name next), for example, to validate values coming from a request (validate form data on the backend), and that's why I implemented coercion on the package too. I think it's normal to have similar APIs for some stuff because they're intuitive, it's the simples way to have type declaration inside a decorator.
About the name, I tried not to use the world "model" from the beggining because I wanted to avoid the idea that Structure is to be used only for entities or that is some ORM. So it's just a way to create structures that may be used to whatever the user wants.
The item about throwing when the instance is invalid is interestant. I didn't want to throw when it's invalid because it would force the developer to use try/catch to avoid breaking something. On V8 the use of try/catch or try/finally causes function deoptimization and since Structure is mainly focused on backend I didn't want to make a someone else's function be deoptimized when using this package.
I think ObjectModel is a pretty cool package but, as you said, the API is basically all it has in common with Structure since it diverges from my package's intention:  a way to simply define attributes on a JavaScript class. It's ok to publish about it on ObjectModel's readme as long as my points are considered too, maybe I could review the final version before you publish it if you don't mind?
It would be really good to chat about out packages, we can do it by the email that's on my GH profile!

Ah, I knew I saw you somewhere :smile:
Your background experience is very different from mine, which is really interesting because we interpret the vocabulary differently. I don't know much about Ruby and Joi and I am not sure what an entity is. I chose the name "Model" because I used this library essentially in the "Model" layer, in MVC / MVVM oriented projects. When reading "structure" I immediately think about model composition, but not basic types (like ensuring a String is lowercase or a number is positive).
Your remark about try/catch is interesting too, since I never used try/catch with ObjectModel. My goal was to extend the perimeter of TypeError to help with debugging. So there are no expected errors, otherwise I would use the test or validate method with a custom collector. The errors are just thrown in the console like any other unexpected JS error. I added the custom collector feature months layer because another guy wanted to use the library for different purposes (form validation if I remember right).
The class hierarchy is a major difference between our libs, you're right. I never thought about declaring a model/structure over an extended class since I always used models as the smallest unit of logic. So if I got i it right;

Structure does not change the class hierarchy and mutate the original class passed as argument, while ObjectModels creates its own dedicated classes.

my package's intention: a way to simply define attributes on a JavaScript class.
Oh, so what I said about Structure focusing on interfacing classes is wrong ? Coercion and validation are not the main features then ? Feel free to correct the comparison points directly so we can agree on a final version. Of course I will not publish anything until we both agree on the version :)

On Ruby world (more specifically on Rails world, that is the one I have more contact when working with Ruby) we also have models, since Rails is a MVC framework. On Rails, models are mainly used to define databases abstractions, I used the word entity because it's a generic way to define objects that have an entity (not necessarily persisted on a database), as classified by Eric Evans on Domain-Driven Design book. About thinking about composition, yes, that's what Structure is about, you can even have another structure as a type of a structure member (check this example).
As for the validation, from the beggining I thought it would be good to have a way to have nice validation messages when validating an instance, that way I could, for example, use it for API responses, that could even be used together with boom.
Yep, you're right about how the "decorator" works. The intention is to use it even in a nicer way when the decorator proposal become a stage-4 feature, something like:
@attributes({
  name: String
})
class User {

}

About the main features: so, as I said before, validation is a main feature because I took a lot of attention on how they would be declared (avoid verboseness) and how the validation messages  could be used somehow, but coercion is not, it's just an effect of how I thought the package could be used in multiple circumstances. For the coercion I even plan to add an option to disable it: https://github.com/talyssonoc/structure/issues/12.
I hope I addressed all the subjects directly! 😄

Sure, its a whole new world for me but thanks for the references !
Speaking about new proposals, what are your plans concerning the stage-2 class fields proposal ? https://github.com/tc39/proposal-class-public-fields ; it looks very close to your package's intention, except it does not provide any kind of validation. Maybe they will add decorators to class fields too ?

It's always good to discuss about this kind of stuff and exchange knowledge!
I didn't give too much thought to this proposal yet but maybe if it add some type of metadata to the class' prototype (that could be read with Reflect API, I think) I'd be able to avoid to add setters/getters to the decorated class, not sure yet.

Closing it as no more discussion was added to that.


Avoid using bootsnap on CI for stable builds

Here's a quick attempt to fix the CI failure problem on ruby 2.7.0, aka #426

Awesome stuff, thanks!


GIS upload - error handling for invalid JSON

Invalid JSON files are creating unhandled errors gis-upload api and causing our pods to crash. In addition to that there is no user feedback for it so most people would just try again and then give up when it isn't working.

[ ] Screen design to follow spike
[ ] Properly handle broken JSON files
[ ] Show error message on front end so user knows it has errors

@MarsRomer I created a ticket here for invalid JSON error handling.

Blocked until #1978 is completed

Please add your planning poker estimate with Zenhub @VB-at-Bis

We have a branch with some sample code 1978-granular-json-errors


Add generic plugin to avoid duplicating code in custom plugins

Closes #132
@mikz Let me know if you think this is a good idea. I'll add tests for the new generic plugin in this PR later.
Also, for now, I've just extracted init(), rewrite(), and balancer(). I think that at least parts of access() should be extracted too, but there's a lot of logic in there. That needs a more careful analysis.

We don't need this after merging #135 right?

No, we don't. Closing.


Fix implied string index rendering

Commit 30167082cd3f2706f733168da8647bbc4126696d fixed string index
rendering except for implied string types, which were left broken.
Close that gap by applying the same workaround.

Thank you!


Matplotlib animation displays extra plot

This is driving me a bit nuts. I'm using the following code to produce a simple animation. It works in the sense that the movie gets displayed but I also get an extra plot in my notebook, showing one of the frames of the movie.
Using IJulia.clear_output() only deletes the movie I want! The bonus frame stays around.
My guess is that this has something to do with PyCall (the equivalent example in a Jupyter notebook with a Python kernel works fine, so I'm convinced this is specific to Julia)
Code:
using PyCall
import IJulia
@pyimport matplotlib.animation as animation
using PyPlot

function showanim(filename)
    base64_video = base64encode(open(readbytes, filename))
    display("text/html", """<video controls src="data:video/x-m4v;base64,$base64_video">""")
end

A = randn(20,20,20)

fig = figure(figsize=(2,2))

function make_frame(i)
    imshow(A[:,:,i+1],interpolation="none")
end

anim = animation.FuncAnimation(fig, make_frame, frames=size(A,3), interval=20)
anim[:save]("test2.mp4", bitrate=-1, extra_args=["-vcodec", "libx264", "-pix_fmt", "yuv420p"]);
showanim("test2.mp4");

Screenshot:

Hi, it's a bit kludgy, but I tried adding empty!(IJulia.displayqueue) just before the showanim and that works.
@stevengj should IJulia.clear_output possibly include empty!(displayqueue)? I have limited experience with clear_output so I'm not sure, but it helps for this particular case.

Thanks, you are a hero. As a workaround I'll put empty!(IJulia.displayqueue) at the top of the showanim function.
Should I close this, or leave open in hopes of a less "kludgy" solution?

Good. I think we can leave it open and wait for @stevengj to weigh in.

Emptying the displayqueue on clear_output seems reasonable.
As an alternative, you could also do
withfig(fig) do
    anim = animation.FuncAnimation(fig, make_frame, frames=size(A,3), interval=20)
    anim[:save]("test2.mp4", bitrate=-1, extra_args=["-vcodec", "libx264", "-pix_fmt", "yuv420p"])
end

The withfig function was designed for using PyPlot with Interact.jl animations, and what it does is to eliminate side effects from plotting (e.g. imshow will no longer push a figure to display).


Add Azure Function App for MailRisk Sentinel Connector

Required items, please complete
Change(s):

Added Azure Function App code
Update link to Data Connector deploy script

Reason for Change(s):

Need deployed Azure Function App code in the repo

Version Updated:

No, not yet published.

Testing Completed:

Yes

Checked that the validations are passing and have addressed any issues that are present:

Yes

@ingin97 : Please act on the Code QL alerts generated.

@ingin97 : We tried deploying the azure function but still getting the error function runtime is unreachable.
Suggestions to fix this error:

After extracting the zip package, we found that there is a folder named MailRiskSentinelIntegration and inside this all the files are included, whereas expected behavior is that the Azure function related files should be at the root, so please delete this folder and add all the content at the root in the zip file.
You can refer Alibaba Cloud Azure function zip file to reference.
Since, this is python based azure function we must include the .python_packages folder at the root in the zip folder. (Please refer Alibaba Cloud function package file)
Also, we see that the zip package contains some irrelevant files, viz. SecurePractice_MailRisk.json and azuredeploy_SecurePractice_MailRisk.json file as well. Please exclude them and other irrelevant files from the zip package.

Thanks!!

Hi @v-rucdu,

My mistake, I have updated the files to be in the root of the zip folder now.
I was not quite sure how to create the .python_packages folder of the dependencides properly. The command I used was:
python -m pip install -r requirements.txt --target=./.python_packages/lib/site-packages/. Is this correct?
They are removed from the zip.

@ingin97 : After making changes to azure deploy file, please test the function app once and share the successful execution screenshot from the Monitor tab as we do not have the credentials to test it End to End.... Thanks!!!

Hi @v-rucdu! Thank you so much, now the deployment of the function app works! 🚀🎉

NB: It only worked after I changed the Application Settings for WORKSPACE_KEY, API_KEY, API_SECRET from using the keyvault reference to raw text. Do you know how I can fix the references in the keyvault to return the correct value?
Thanks!!


Direct html conversion

Hi, is there any way to pass directly the HTML code and not an URL?
Thanks!

Hi, is there any way to pass directly the HTML code and not an URL?
Thanks!

Sorry, It's not supported currently. If necessary, Maybe build a dynamic server or save as a file in doctron to support it.

Thanks for the reply and great work! The docker works perfect.


[Enhancement] forEach() replace stream().forEach()

Search before asking

[X] I had searched in the issues and found no similar issues.

Description
Please use IDEA, it will hint we use forEach()  replace stream().forEach()
Solution
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

I will work on it, please assignee it to me.


issue that this cannot read certain srt files

I am using this package for my app.
this is really good.
But I am having an unknown error recently.
This package has an error that it cannot read certain srt files and I cannot figure out why.
Can you figure out the reason and update flutter subtitle?
I am attaching one of the srt files that is causing the error.
srtwithissue.zip

Please provide error information and reproduce the environment.

There are extra blank lines

fixed 0.0.5


Option to ignore item validation errors when value is unchanged

Feature Request
Description
Occasionally, when updating document definitions, it is necessary to introduce a breaking change to the schema. However, if there are already documents in the database that conform to the old schema but not the new schema (e.g. a string's regexPattern or an integer's minimumValue have changed), this can require a full, complicated data migration to the new format that may result in revision conflicts if any of the documents in question also happen to have been modified by an offline client. Sometimes this is unavoidable, but in other cases it is acceptable to "grandfather" the old value in for existing documents (e.g. a product ID format that is no longer used for new products, but is still valid for old, obsolete products).
This feature would introduce a new universal item validation constraint (e.g. skipValidationWhenValueUnchanged) that suppresses validation errors for that property/element when replacing a document revision where the corresponding property/element has the same semantic value. Also introduce a constraint that requires strict equality (e.g. skipValidationWhenValueUnchangedStrict).
Examples
Consider the following document definition:
myDoc: {
  typeFilter: simpleTypeFilter,
  channels: { write: 'write' },
  propertyValidators: {
    code: {
      type: 'string',
      regexPattern: /^[a-z]{4}-\d{3}$/,
      skipValidationWhenValueUnchanged: true
    },
    quantity: {
      type: 'integer',
      required: true,
      minimumValue: 0
    }
  }
}

The code property must be four lowercase letters, followed by a dash and three digits. However, if the previous version of the code property's regexPattern expected only two digits at the end, then values from existing documents that match that regular expression would be invalid if not for the skipValidationWhenValueUnchanged option.
Therefore with a previous document body of { "code": "abcd-12", "quantity": 5 }, the following new document revision would be considered valid even though it validates the updated regexPattern for code: { "code": "abcd-12", "quantity": 4 }

Satisfied by #325 and #326


Love this! Sorry to see it isn't in the store anymore.

Hi @joshpeng,
I'm super curious why you've removed everything from the VSCode Marketplace?
I love this theme. Is it because other themes do the same thing now? I haven't been able to find one. 😃
Hope all is well,
Jeremy

Has anyone found a similar extension?? I have it on one computer but would love to have it across multiple machines! Thanks!!

I would guess that this was removed from the store due to the developer not wanting to continue updating it (the last commit to this repo was in 2018). Open source development of this kind is a thankless job that takes a lot of time and energy unfortunately.
I noticed in another issue on here that some people have suggested using https://github.com/michaelgmcd/vscode-language-babel instead as it is still under active development and continues to receive updates. I haven't tried it myself, but it may be worth a look.


Some coins cause an error when trying to swap

Go to swap tab
Select USDC (from)
Select OCEAN (to)
Error - execution reverted

When switching this error will pop (and catched) every time because it is trying to recalcualte the rate in SwapAction.vue:334
With ETH and BNT this issue doesn't happen

and this happened on prod and not staging?

and this happened on prod and not staging?

and this happened on prod and not staging?

Happened on staging

and this happened on prod and not staging?

Happened on staging

Determine what function exactly is getting thrown to create this error and review parameters sent, can discuss your findings tomorrow @Ran73Cohen

Determine what function exactly is getting thrown to create this error and review parameters sent, can discuss your findings tomorrow @Ran73Cohen

Doesn't happen anymore the exception was because of an API error.
File
SwapAction.vue
Method:
calculateRate
API Call:
vxm.bancor.getReturn
Leads to:
@action async getReturn(proposedTransaction: ProposedFromTransaction) {
return this.dispatcher(["getReturn", proposedTransaction]);
}
Closing

Doesn't happen anymore the exception was because of an API error.
File
SwapAction.vue
Method:
calculateRate
API Call:
vxm.bancor.getReturn
Leads to:
@action async getReturn(proposedTransaction: ProposedFromTransaction) {
return this.dispatcher(["getReturn", proposedTransaction]);
}
Closing


Update webhook-url field for the new version in README

This check should not fail but does.
need to update the workflow file too. >> Did not update in this PR to give an idea of the failure in CIs


Updates download_progress_hook comment

Updates download_progress_hook comment to match the behavior of reporting every 5% of change.

Can one of the admins verify this patch?

(Please feel free to ping this thread or send a new PR once the CLA is signed, thanks for the PR!)


CSS compilation support

This is only for support, not actually doing anything processing or manipulation. Mooltipage should include a CSS parser and serializer. This should plug into the pipeline to allow CSS processing.

Tagged the wrong issue lol


Remove a few problematic TLSv1.0 ciphers

This PR fixes the same problem as #212 but without adding TLSv1.3 options for older openssl versions. As noted in this https://github.com/codemanki/cloudscraper/issues/211#issuecomment-492320464 , the TLSv1.3 options aren't the actual reason why #212 resolved the problem for the OP.
This is a minimal solution and is known to avoid the CAPTCHA on the latest version of openssl as well as older versions. It is reproducible on Node.js v10.8.0 which uses openssl v1.1.0h
Fixes #211

I will take a look today. Sorry, I'm traveling now and have a very limited
internet access :)
On Wed, May 22, 2019, 06:51 Dwayne<EMAIL_ADDRESS>wrote:

@pro-src https://github.com/pro-src requested your review on: #219
https://github.com/codemanki/cloudscraper/pull/219 Remove a few
problematic TLSv1.0 ciphers.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/codemanki/cloudscraper/pull/219?email_source=notifications&email_token=AACK6QD5BOZP5G7CJCI3YU3PWR4FPA5CNFSM4HM4R4AKYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGORSDQXOA#event-2357660600,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACK6QBA4QEKML6ABCL2R2TPWR4FPANCNFSM4HM4R4AA
.

Thanks :)

I would appreciate if you could do that :) otherwise I can take care of it.
I would prefer these settings to be documented well, as they are already
present in the README, so why not to keep them up to date?
On Thu, May 23, 2019, 08:18 Dwayne<EMAIL_ADDRESS>wrote:

@pro-src commented on this pull request.
In index.js
https://github.com/codemanki/cloudscraper/pull/219#discussion_r286735487
:

@@ -37,8 +37,10 @@ function defaults (params) {
decodeEmails: false,
// Support gzip encoded responses
gzip: true,

// Adds secure TLSv1.3 ciphers when using older openssl versions
agentOptions

agentOptions: {

Then again, maybe I'm making too many assumptions about the user base.
Just let me know and I'll make the changes. :)
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/codemanki/cloudscraper/pull/219?email_source=notifications&email_token=AACK6QGT4XOUDJFTW2O2OXDPWXPFDA5CNFSM4HM4R4AKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOBZOG52Q#discussion_r286735487,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACK6QDXMPMKP5GRLYJXCSLPWXPFDANCNFSM4HM4R4AA
.

Awesome! Thank you :) Merging and releasing


B+ tree

Any reason to not choosing B+ Tree? :smile:

Because I never had the use of such a structure in JS :) in my various use cases.


Unexpected margin at printing

Describe the bug
When printing the markdown document, there should be no initial margins used. E.g. currently the document has a big left/right margin on print preview. And if the user selects a small paper format, the margin is unproportionally big, which seems buggy.
So the idea is to set the print margin to 0 for all sides, since the browser will control the print margin separately.
To Reproduce

Open a markdown document
Go to print Preview

Choose in browser => Margins: None => The text should be rendered without margins. But it isn't.
or Select a small Paper size => The margin is unproportionally big

Expected behavior
In print preview and while printing the margins should be initially 0 on all sides. Browser handles margins separately.

You're right, I'll improve. Thank you!

Version 2.16 has been released, please try after updating, if you have other questions, please continue to ask, thank you for your use!


Extend TargetWithContext with GetContextPropertyList #5543

Resolves #5543

@snakefoot
Hi,
Seems like SonarCloud not picking up unit tests for TargetWithContext.cs
Can you please direct me in this regard?

Think I was a little too quick with the issue-creation. Instead of saying GetContextPropertyList then should be a sister-method to GetAllProperties. Ex. GetAllPropertyList() (so some better name).
The goal of the new GetAllPropertyList is to reduce allocation at all cost, also the yield-state-machine.
Thus if no ContextProperties and no LogEventInfo.Properties and no ScopeContext.Properties, then it would just return empty-array (zero allocation).
Also the new GetAllPropetyList should not depend on caling the existing CaptureContextProperties + CaptureScopeContextProperties + CaptureContextGdc that allocates Dictionary-object.
Might also consider changing the internal PropertiesDictionary to implement IEnumerabl<KeyValuePair<string, object>> so if only using IncludeEventProperties = true (and empty ContextProperties  + empty ScopeContext.Properties), then it would just return LogEvenInfo.Properties directly (zero allocation).
Was thinking the new GetAllPropertyList should only allocate the yield-state-machine, when necessary.

I have now spent some time on benchmarking the new GetAllPropertiesList() and the existing GetAllProperties(). See also #5563
After several performance tweaks of the existing PropertiesDictionary, then the overhead of the existing GetAllProperties() has been minimized, so the added complexity of implementing Lazy-evaluation of LogEvent-Properties doesn't seem to pay off.
Seems my suggested idea #5543 doesn't provide the bonus, that I was expecting. The overhead from allocating a new Dictionary compared to lazy-allocated yield-engine doesn't seem that big.
Thank you for taking the time to implement proof-of-concept of how lazy-allocated-list-implementation could be done, but currently it doesn't seem a good direction after benchmark-testing.


Clarify definition for Stack

The old version seems to be missing a word.

Thank you!

Thank you!


Autocorrect inserts T.let into method definition

Input
→ View on sorbet.run
# typed: true
class A
  extend T::Sig
  sig {params(path: String).returns(Integer)}
  def for_file(path)
    while !path.empty?
      return 5 if rand > 0.5
      path = path[0...(path.rindex('/') || 0)]
    end
    1
  end
end

Observed output
Sorbet would like to auto-correct to def for_file(T.let(path, T.nilable(String))), which is invalid syntax.

# typed: true
class A
  extend T::Sig
  sig {params(path: String).returns(Integer)}
  def for_file(path)
    while !path.empty?
      return 5 if rand > 0.5
      path = path[0...(path.rindex('/') || 0)]
    end
    1
  end
end
editor.rb:8: Changing the type of a variable in a loop is not permitted https://srb.help/7001
     8 |      path = path[0...(path.rindex('/') || 0)]
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  Existing variable has type: String
  Attempting to change type to: T.nilable(String)

  Autocorrect: Use `-a` to autocorrect
    editor.rb:5: Replace with T.let(path, T.nilable(String))
     5 |  def for_file(path)
                       ^^^^
Errors: 1

Expected behavior
Sorbet should not suggest a T.let annotation when the first definition of the variable comes from a sig.
Or it should suggest widening the type of the argument in the sig, but getting the location information for that is harder.

Relates to #1474

I fixed this recently, but I don’t have a link to the pull request that fixed it handy.


shellspec unit tests can fail due to unpredictable dev environment

Shellspec unit tests currently use whatever shell happens to be installed on the developer's machine.
The problem with this is that the scripts shellspec is supposed to be testing are specifically meant to be run with a bash shell. This means that if a developer is using a different shell, such as zsh, shellspec tests will end up failing in any case where the scripts being tested utilize shell syntax that is not exportable from bash.
Solution would be to have shellspec tests run within a container where we can control exactly which shell is available within the environment.

while we're at it, we should also add coverage gates: https://github.com/shellspec/shellspec?tab=readme-ov-file#code-coverage


preservationMethod

Looking into the GBIF data it appears that dwc:preparations is used to capture 2 distinct pieces of information, the preservation method and the part of the organism being stored.
A new term "preservationMethod" is requested to capture the one part. NCD has created a vocabulary for preservation methods in the TDWG ontology that could be used as a recommended vocabulary: http://rs.tdwg.org/ontology/voc/Collection#SpecimenPreservationMethodTypeTerm
preservationMethod definition

The process or technique used to prevent physical deterioration of non-living collections.
Recommended best practice is to use a controlled vocabulary such as the NCD Specimen Preservation Method Type Term vocabulary.

Examples
dried; driedAndPressed; fluidPreserved; frozen; pinned

Andy Bentley is leading a group to determine how best to capture information about collection objects, and their preservation methods and histories.

This proposal requires a new term change request using the template in the [Guidelines for contributing] (https://github.com/tdwg/dwc/blob/master/.github/CONTRIBUTING.md). there has been demand from multiple sources, though not captured in this issue. Documented demand would be useful.

I had proposed a preparation extension to Darwin Core to capture the varied information currently captured in the preparation field.  It is usually a concatenation of various pieces of information and is more than just the preservation method and part of the organism.  In some cases (for lot based collections), it also contains a count as well as who prepared it, date of preparation, original fixation, historic preservation, etc.  I am afraid I never made much headway with this (kept falling to the bottom of my to-do list) but would be interested in reinvigorating it if others are interested.  Attached is an Excel file that we worked on with proposed terms, and a PPT presentation I gave as part of Darwin Core hour
Preparation extension field list.xlsx
Darwin Core Hour 04a - Evolution of Darwin Core Terms and Extensions_ two extant examples for community input.pptx.  Happy to discuss further with interested parties.

It makes sense to have an extension to capture complex preparation details. But I would still argue that DwC should provide at least 2 separate terms for what organism part has been collected/stored and how it was prepared so this can be shared in a simple, flat view. Both are vital information for users.

I agree with the need for two terms. I was just hoping to keep preparations
for the organism part part. ;-)  Maybe it would be a lot easier to coin the
two new terms after all and leave preparations as it is - a sort of
verbatim field that doesn't try to have a controlled vocabulary.
On Thu, Sep 10, 2020 at 4:19 AM Markus Döring<EMAIL_ADDRESS>wrote:

It makes sense to have an extension to capture complex preparation
details. But I would still argue that DwC should provide at least 2
separate terms for what organism part
https://github.com/tdwg/dwc/issues/3 has been collected/stored and how
it was prepared so this can be shared in a simple, flat view. Both are
vital information for users.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/tdwg/dwc/issues/1#issuecomment-690042198, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AADQ723G2ISLZVP5LKPKGMTSFB4WJANCNFSM4AWPDMEA
.

I agree with @tucotuco that this needs to be split.

Further support provided through GBIF feedback gbif/portal-feedback#2429.

I think that, along with Issue #3, these proposals would benefit from a Task Group.

Related issues are Issue #3, Issue #24 (reopened because of renewed interest), Issue #314, Issue #332, Issue #344, Issue #345, Issue #346, and Issue #347.


Release 0.1.0 unpublished

Hi Krispo, thanks for that awesome library!
Just noticed the release version 0.1.0 has not been published, so Bower cannot find it when installing.
Cheers

Just checked. It works now (bower install angular-nvd3#0.1.0)


support Swift3

Add compability with swift 3

Verified these changes.. Works well on my end..

Hi can you share the availability with swift 3?

@tarigancana @jyothikallam @mohamedz-1 Thanks all! I'll do this as soon as I reviewed the commit.


need workable safety process supporting fast and efficient development for the next ~3 months

Automotive safety requires many things, we need to figure out what is mandatory for our first few steps and not be stopped in our tracks.
We need to stay focused on what really leads to shippable products as opposed to just a stack of documents!
This issue has a time frame of ~3 months, the long-term (after S. delivery) ticket is #6.
What are the conditions of satisfaction for merging this ticket #4?

Activities for a short term approach:
Upfront:

Collecting and organizing documentation of VCU HW/SW Architecture and understanding these
Collect/Update/Create documentation of overall System Design:

Network Architecture
CAN Matrix
CAN Busload (Calculated or meassured)

Understanding error modes and causes:

Combined HW/SW FMEA for VCU
Clarify availability of FMEA for External System
Initial FMEDA or alternatively FTA of overall System

Defining System Limits and document it

Define/Evaluate System Limits (Topology, Speed/Range of Sensors, etc.)
Get Information about minimum expectation regarding environment/driving parameters (topology?,pedestrians crossing?, max speed?,safety driver!,etc.) for initial use case

Define behavior in case of failure

Define safe state / need of fail operation? depends on above
Definition of degradation modes on different  failure scenarios (especially regarding vehicle visibility in case of emergency stop)
Define Initial Safety Concept

Adapt

Update System architecture
Update Communication/CAN Matrix/CAN Content
Update Software

After extensive feedback from Fred (thank you!), I suggest that we agree on the following Conditions of Satisfaction (CoS) for closing this ticket:

Our description of processes clearly distinguishes between two phases:

a "status quo definition" phase that is free from Standards, Guidelines, and Regulations (SGRs)
a "pilot vehicle for non-public road areas" phase that applies ISO 13849-1

The third phase, adding the application of ISO 26262, is out of scope for this ticket. This will be added in the tickets #8, #9, and #10. So it actually deserves no mention in this branch #4. ;-)

@marcusvw In the emails you mentioned safety-relevant CAN messages. Would you please clarify for which of the above phases you suggest we aim for taking measures, either by adding it to the CoS of the existing tickets or by adding an extra ticket?
I will now collate all your input onto branch #4 and send out a pull request so that we can quickly solidify our decisions.

Hi @creighto,
I would come to the same conclusion as you from the feedback from Fred, except for the 1st. Phase. We will follow some guidelines etc. And followed the proposed process discussed in this ticket before, but without any formal relationship to a standard. That is also the reason to answer you question that we should all already this safety measures in the first phase. There are some measures I want to discuss with you after our Tuesday meeting.
So second phase could be also a commercial vehicle that is not running on public roads (Campus etc. From a regulatory view). This should already full fill a lot of measures.  And also a dedicated process. Regarding that what I've seen is that here the process is easier but some things how to do things are more focused on redundancy concepts.

@marcusvw I'm sorry, but even after reading your comment several times, I still cannot piece together what you actually want to say… Could you please fix the English, maybe I'll be able to follow you, then.


install.sh does not install srv when install sshnp as described by install guide

Describe the bug
sshnp fails to run if following the install guide this is down to the fact that srv is not installed when following the guide.
Steps to reproduce

new machine (vm)
follow installation instructions (they have been modified now) to include srv
sshnp fails

Expected behavior
install should workl if followed
Screenshots
cconstab@servalan:~/sshnp$ sshnp  -f @cconstab -t @ssh_1 -d iot_device01 -h @rv_am -u cconstab -i ~/.ssh/GitHub_rsa
2024-01-28 14:24:49.050465 : Resolving remote username for user session
2024-01-28 14:24:49.050510 : Resolving remote username for tunnel session
2024-01-28 14:24:49.050619 : Fetching host and port from srvd
2024-01-28 14:24:50.913939 : Sending session request to the device daemon
2024-01-28 14:24:51.577960 : Waiting for response from the device daemon
2024-01-28 14:24:52.030993 : Received response from the device daemon
2024-01-28 14:24:52.031161 : Creating connection to socket rendezvous

Error : TimeoutException after 0:00:02.000000: Future not completed

Stack Trace:
cconstab@servalan:~/sshnp$ cp srv /home/cconstab/.local/bin
cconstab@servalan:~/sshnp$ sshnp  -f @cconstab -t @ssh_1 -d iot_device01 -h @rv_am -u cconstab -i ~/.ssh/GitHub_rsa
2024-01-28 14:25:07.382114 : Resolving remote username for user session
2024-01-28 14:25:07.382152 : Resolving remote username for tunnel session
2024-01-28 14:25:07.382246 : Fetching host and port from srvd
2024-01-28 14:25:09.012641 : Sending session request to the device daemon
2024-01-28 14:25:09.707990 : Waiting for response from the device daemon
2024-01-28 14:25:10.163746 : Received response from the device daemon
2024-01-28 14:25:10.164052 : Creating connection to socket rendezvous
2024-01-28 14:25:10.205235 : Starting tunnel session
2024-01-28 14:25:10.951390 : Starting user session
Welcome to Ubuntu 22.04.3 LTS (GNU/Linux 5.15.0-84-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

  System information as of Sun Jan 28 10:25:17 PM UTC 2024

  System load:            0.0
  Usage of /:             43.8% of 31.32GB
  Memory usage:           21%
  Swap usage:             1%
  Processes:              146
  Users logged in:        1
  IPv4 address for ens18: <IP_ADDRESS>
  IPv6 address for ens18: ::4467:a0ff:fe43:8788

 * Strictly confined Kubernetes makes edge and IoT secure. Learn how MicroK8s
   just raised the bar for easy, resilient and secure K8s cluster deployment.

   https://ubuntu.com/engage/secure-kubernetes-at-the-edge

Expanded Security Maintenance for Applications is not enabled.

49 updates can be applied immediately.
To see these additional updates run: apt list --upgradable

1 additional security update can be applied with ESM Apps.
Learn more about enabling ESM Apps service at https://ubuntu.com/esm

*** System restart required ***
Last login: Sun Jan 28 22:25:18 2024 from <IP_ADDRESS>
cconstab@iotdevice01:~$

Smartphones

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Were you using an atApplication when the bug was found?
No response
Additional context
Note this bug can be fixed in the script or the install instructions.
I have for the moment updated the install instructions (if we update the script we can revert those changes..
install now says ./install.sh sshnp && ./install.sh srv
--Colin

If you are happy with the instructions solution please feel free to close

I've looked into modifying the install script, and I think the updated instructions solution is better. Closing.


Remove the unused account_id variable

The account_id variable defined in config/common_variables is not used in any current projects. The only usage is in old-projects/packer_ami_builder which is deprecated.
Where the account_id of the current user is needed the data resource aws_caller_identity's attribute current.account_id should be preferred.

This one warrants a discussion. If we were going to remove it we'd also need to trim things like - TF_VAR_account_id in the Rakefile. Removing this does mean deploying older things like the traffic alerts becomes a lot harder.

Ah, have I misunderstood and is this another way of declaring the TF_VAR_account_id?


New vanilla trees in modded biomes

TerraForged's new vanilla tree designs look very good. However, non-vanilla biomes such as those from Biomes O' Plenty still generate the original trees for vanilla tree types, which can lead to somewhat jarring aesthetic transitions.

If the new trees can be generated in non-vanilla biomes, then the overall visual cohesion of TerraForged would improve.

Someone could make a datapack to achieve this. Modifying other mods' content to this extent is not within the scope of the project


too many atoms

I believe the following atoms are redundant. We can implement their functionality in EO, instead of Java. Let's remove them and implement them in EO.

array.empty (let's rename to array.is-empty)
float.geq (the same as eq + or + greater)
float.leq (same as less or eq)
float.less (same as not greater and not eq)
float.neg (same as mul -1)
float.neq (same as not eq)
float.signum (same as self / self.abs)

The same for int.

@yegor256 Done in two parts. Please close.

https://github.com/cqfn/eo/pull/452
https://github.com/cqfn/eo/pull/477

@andreoss thanks!

Job gh:cqfn/eo#431 is not assigned, can't get performer


Null value in column "log_version" violates not-null constraint

I get an error when I try to create an object UserCourse
django.db.utils.IntegrityError: null value in column "log_version" violates not-null constraint
DETAIL:  Failing row contains (134407, 29450, 29450, UserCourse object (29450), 0, 2021-12-16 06:19:26.324922+00, null, 40, null, {"id": ["None", "29450"], "user": ["None"<EMAIL_ADDRESS>"co..., null, null).

in models:
from auditlog.registry import auditlog

class UserCourse(models.Model):
   ...

auditlog.register(UserCourse)

why can this happen?

hi can i solve this issue?

@gatapov, I don't think this issue is caused by django-auditlog as there is no such name as log_version in the project. The error message indicates that the UserCourse model has a log_version field with no default and it is not getting a value. Could you please provide the maintainers with a larger snippet or even a minimal failing example?

The error message indicates that the UserCourse model has a log_version field with no default and it is not getting a value.

I was wrong. This exception means that an object similar to LogEntry gets a null value in its log_version. I tried classifying the values listed in the exception message:

field
value

id
134407

object_pk
29450

object_id
29450

object_repr
UserCourse object (29450)

action
0

timestamp
2021-12-16 06:19:26.324922+00

actor_id
null

content_type_id
40

remote_addr
null

changes
{"id": ["None", "29450"], "user": ["None"<EMAIL_ADDRESS>"co...

additional_data
null

???
null

There is one extra field which is not present in the current version of django-auditlog. I don't think the upstream version of this package has ever had a log_version field. If this field is added in a fork, please direct this question to the corresponding fork or let's discuss it in a pull request.
Please reopen this issue if you think I'm wrong and this is indeed a bug of django-auditlog.


fix: future-proof deserialization of studies with exceptions

This fixes https://github.com/hpi-studyu/studyu/issues/564
Notes
This is an alternative PR to https://github.com/hpi-studyu/studyu/pull/573
It raises exceptions and handles them instead.

Let's merge https://github.com/hpi-studyu/studyu/pull/583 first, then we can merge this one and close https://github.com/hpi-studyu/studyu/pull/573


Development

Corrected the error in the nodejs app.

Corrected a spelling error in the node.js app.


Adding Export Pop-up

What type of PR is this? (check all applicable)

[ ] Refactor
[x] Feature
[ ] Bug Fix
[ ] Optimization
[ ] Documentation Update

Description
Added export popup that allows for export to PDF or Text File when clicking export button
Added empty functions for the back-end development for PDF export and Text File export
Edits in file: lib/core/widgets/home_page_app_bar.dart
Can be found in: class ExportIcon extends StatelessWidget {}
Related Tickets & Documents

Closes #1

Screenshots, Recordings

Tested Feature??

[ ] In Real Device.
[x] In Emulator

Reviewing now

Merging now.