Flutter Web Buttons are not Clickable after zoom in or zoom out

Steps to Reproduce

install responsive_framework: ^0.1.5
Execute flutter run on the code sample
zoom in/out with strg and scroll
try to click the button
button is not clickable anymore and onPressed function is not exectuted

Expected results:
help should be printed in the terminal
Actual results:
nothing, help is not printed in the terminal

Code sample

The used package version of  responsive_framework is ^0.1.5
import 'package:flutter/material.dart';
import 'package:responsive_framework/responsive_framework.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      home: const LoginPage(),
      builder: (context, widget) => ResponsiveWrapper.builder(widget,
          defaultScale: true,
          minWidth: 1000,
          defaultName: DESKTOP,
          breakpoints: const [
            ResponsiveBreakpoint.autoScale(450, name: MOBILE),
            ResponsiveBreakpoint.resize(600, name: TABLET),
            ResponsiveBreakpoint.resize(1000, name: DESKTOP)
          ],
          backgroundColor: Colors.white),
    );
  }
}

class LoginPage extends StatelessWidget {
  const LoginPage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Container(
        width: double.infinity,
        height: double.infinity,
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            Button(
                onPressed: () {
                  print("help");
                },
                buttonContent: "button",
                buttonColor: Colors.blue)
          ],
        ),
      ),
    );
  }
}

class Button extends StatelessWidget {
  final Function onPressed;
  final String buttonContent;
  final Color buttonColor;
  final double radius = 12;
  const Button(
      {Key? key,
      required this.onPressed,
      required this.buttonContent,
      required this.buttonColor})
      : super(key: key);

  @override
  Widget build(BuildContext context) {
    final responsiveValue = ResponsiveWrapper.of(context);
    return InkWell(
      onTap: () => onPressed(),
      child: Material(
        elevation: 26,
        borderRadius: BorderRadius.circular(radius),
        child: Container(
          height: responsiveValue.isLargerThan(TABLET) ? 60 : 30,
          width: responsiveValue.isLargerThan(TABLET) ? 500 : 150,
          decoration: BoxDecoration(
              borderRadius: BorderRadius.circular(radius), color: buttonColor),
          child: Center(
            child: Text(
              buttonContent,
              style: TextStyle(
                  fontSize: responsiveValue.isLargerThan(TABLET) ? 44 : 15,
                  fontWeight: FontWeight.bold,
                  fontStyle: FontStyle.italic),
            ),
          ),
        ),
      ),
    );
  }
}

Logs

flutter run --verbose
[  +60 ms] executing: [C:\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +101 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] 77d935af4db863f6abd0b9c31c7e6df2a13de57b
[        ] executing: [C:\flutter/] git tag --points-at 77d935af4db863f6abd0b9c31c7e6df2a13de57b
[  +87 ms] Exit code 0 from: git tag --points-at 77d935af4db863f6abd0b9c31c7e6df2a13de57b
[        ] 2.8.1
[   +8 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +77 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [C:\flutter/] git ls-remote --get-url origin
[  +69 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +135 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref HEAD
[  +73 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +73 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +70 ms] executing: C:\Users\marvi\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[  +71 ms] List of devices attached
[   +9 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +33 ms] Changing current working directory to: E:\GitHub\webserver\bug
[  +41 ms] Multiple devices found:
[  +53 ms] Chrome (web) • chrome • web-javascript • Google Chrome 96.0.4664.110
[   +1 ms] Edge (web)   • edge   • web-javascript • Microsoft Edge 96.0.1054.62
[   +1 ms] [1]: Chrome (chrome)
[        ] [2]: Edge (edge)
[   +1 ms] Please choose one (To quit, press "q/Q")
[        ] :
[+3252 ms] 1
[   +9 ms] Skipping pub get: version match.
[  +95 ms] Generating E:\GitHub\webserver\bug\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[  +73 ms] Launching lib\main.dart on Chrome in debug mode...
[  +85 ms] Updating assets
[  +68 ms] Waiting for connection from debug service on Chrome...
[ +116 ms] <- reset
[   +6 ms] C:\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev C:\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root C:\flutter\bin\cache\flutter_web_sdk/ --incremental --target=dartdevc --debugger-module-names
--experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill C:\Users\marvi\AppData\Local\Temp\flutter_tools.ce6b146\flutter_tool.3e923d64\app.dill --libraries-spec file:///C:/flutter/bin/cache/flutter_web_sdk/libraries.json --packages
E:\GitHub\webserver\bug\.dart_tool\package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-root C:\Users\marvi\AppData\Local\Temp\flutter_tools.ce6b146\flutter_tools.4116e5c0 --filesystem-scheme
org-dartlang-app --initialize-from-dill build\b1b715402d823b7fd5c2b68d2edcb2ce.cache.dill.track.dill --platform file:///C:/flutter/bin/cache/flutter_web_sdk/kernel/flutter_ddc_sdk_sound.dill --sound-null-safety
[  +21 ms] <- compile org-dartlang-app:/web_entrypoint.dart
[+14115 ms] Waiting for connection from debug service on Chrome... (completed in 14,3s)
[        ] Synced 28.6MB.
[        ] <- accept
[        ] Caching compiled dill
[ +381 ms] [CHROME]:
[   +1 ms] [CHROME]:DevTools listening on ws://<IP_ADDRESS>:62448/devtools/browser/3511a2c6-052f-404a-8a74-4f61f0e0f9f4
[ +424 ms] DwdsInjector: Received request for entrypoint at http://localhost:62435/main_module.bootstrap.js
[   +5 ms] MetadataProvider: Loading debug metadata...
[  +10 ms] MetadataProvider: Loaded debug metadata (sound null safety)
[   +4 ms] DwdsInjector: Injected debugging metadata for entrypoint at http://localhost:62435/main_module.bootstrap.js
[+2185 ms] ChromeProxyService: Initializing expression compiler for main_module.bootstrap.js with sound null safety: true
[  +63 ms] DevHandler: Debug service listening on ws://<IP_ADDRESS>:62472/p9NxHBY0DXA=/ws

[  +17 ms] This app is linked to the debug service: ws://<IP_ADDRESS>:62472/p9NxHBY0DXA=/ws
[   +9 ms] Debug service listening on ws://<IP_ADDRESS>:62472/p9NxHBY0DXA=/ws
[        ]  Running with sound null safety
[   +2 ms]   To hot restart changes while running, press "r" or "R".
[        ] For a more detailed help message, press "h". To quit, press "q".
[        ] An Observatory debugger and profiler on Chrome is available at: http://<IP_ADDRESS>:62472/p9NxHBY0DXA=
[ +951 ms] The Flutter DevTools debugger and profiler on Chrome is available at: http://<IP_ADDRESS>:9101?uri=http://<IP_ADDRESS>:62472/p9NxHBY0DXA=

flutter analyze
Analyzing lib...

   info - SizedBox for whitespace - main.dart:37:13 - sized_box_for_whitespace
   info - Avoid `print` calls in production code - main.dart:45:19 - avoid_print

2 issues found. (ran in 1.1s)

[√] Flutter (Channel stable, 2.8.1, on Microsoft Windows [Version 10.0.19043.1415], locale de-DE)
    • Flutter version 2.8.1 at C:\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 77d935af4d (9 days ago), 2021-12-16 08:37:33 -0800
    • Engine revision 890a5fca2e
    • Dart version 2.15.1

[√] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at C:\Users\marvi\AppData\Local\Android\sdk
    • Platform android-32, build-tools 32.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 2020.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • 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.10+0-b96-7249189)

[√] IntelliJ IDEA Community Edition (version 2021.3)
    • IntelliJ at A:\IntelliJ IDEA Community Edition 2020.2.1
    • 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

[√] VS Code (version 1.63.2)
    • VS Code at C:\Users\marvi\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.29.0

[√] Connected device (2 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 96.0.4664.110
    • Edge (web)   • edge   • web-javascript • Microsoft Edge 96.0.1054.62

• No issues found!

https://user-images.githubusercontent.com/46404767/147386705-9f09111b-8b89-43ca-9579-6618ba145c63.mp4

A duplicate of https://github.com/flutter/flutter/issues/77084


Add a YARP device example for using YarpCameraBridge and ArucoDetector in Gazebo simulation

P.S. The large file number is mainly due to the addition of gazebo models for Aruco markers.
As a result of this PR, we are able to do this,

YarpCameraBridge based Aruco detection in simulation

Maybe it's better to separate this PR into two, one handling code changes and another handling the Gazebo aruco marker changes?

Regarding the generation of the markers I found this: https://www.pyimagesearch.com/2020/12/14/generating-aruco-markers-with-opencv-and-python/

I'm going to close this PR since no one is working on this. If required in the future we can revive it :)


icon_screen is 'unknown action', according to Home Assistant?

Hi there. I am a bit confused, because I keep getting the warning in my devices overview that my automizations use icon_screen, which is an 'unknown action', eventhough it works.
Thanks and cheers

What is the version of EspHoMaTriX?

It is 2.0.0
But I just realized that this problem has a different cause: The Ulanzis had been renamed (during the phase with the MAC addressing issues). And indeed there were still references to Ulanzis that are now of course unkown to the system. The error didn't refer to icon_screen itself, but to the device it was (falsely) addressing. Sorry!

@clfberlin Can you please elaborate on "during the phase with the MAC addressing issues"? Because my Ulanzi is constantly being re-discovered by HA for the last few days. If you could provide a link to the subject it would be greatly appreciated.

Hi @riker09 - I am referring to this issue: https://github.com/lubeda/EspHoMaTriXv2/issues/248
With ESPHome 2024.10.0 Ulanzis became unknown or were all addressed as the same device. This was due to changes in dealing with MAC addresses.
If this is your issue too, please follow the setup changes up until Oct. 19th (lights).
I tried going back to previous settings for Ulanzis after updateing ESPHome to 2024.10.1, but that didn't work for me. I am still using the workaround decribed in issue 248. And that works fine.

yeah, I read that thread right after this issue. sorry for the spam


build: Add prefix to protobuf symbols

When building envoy as a library, like with envoy-mobile, if the final
binary already contains protobuf symbols, it leads to conflicts. This
change prefixes the protobuf symbols with the envoy namespace, to
avoid these conflicts.
Signed-off-by: Keith Smiley<EMAIL_ADDRESS>

Currently this is a RFC, looks like I need some more tweaks for it to actually work

This is intriguing :) Can you elaborate on why we might have multiple versions of protobuf linked in? Why can't we use just one (either the extant one or Envoy's)?

This is intriguing :) Can you elaborate on why we might have multiple versions of protobuf linked in? Why can't we use just one (either the extant one or Envoy's)?

I will let @keith provide more details, but honestly this is an absolute nightmare that we ultimately have to figure out a solution to. Basically Google SDKs and various other static libraries also include things like boringssl/protobuf/etc. We definitely need to figure out a better real solution for this.

Yea so our use case looks something like this:

And the core problem is that the build of envoy-mobile, and the build of our internal C++, don't know anything about each other. And given our internal infrastructure and processes, getting them to know about each other so that they shared the dependency correctly (if the same versions would even work for our use cases) likely isn't feasible (even if that is the most ideal solution).
And at this point we're also worried about the implications of this for other consumers of envoy-mobile as a library where they could have even less flexibility around the libraries they're pulling in. Specifically in the case that GoogleMaps (or a different closed-source 3rd party library) doesn't prefix their protobuf symbols it would result in the same issue, which we expect to happen at some point for other consumers.
As Matt mentioned we also already had this problem with BoringSSL (but now this is another place where Google prefixes their symbols).
Since you all have more context than me here are there implications of this you're worried about on the Envoy side?

This is likely problematic since we pull outside dependency that uses protobuf as google::protobuf, I think that's why CI fails because gRPC, and the transcoding library (and likely others) are hardcoded to google::protobuf, so we need to patch all of them to make this work. I don't think we should make it default, especially for those have in-house extensions consuming repositories. So this might need to go under compile_time_options.
There's other option to consider, while I have no idea at all whether it's going to work to use linker script to limit the exported symbol from a library, limiting to those starting from Envoy:: or only what you need for Envoy Mobile.

I can't re-open this PR, but does anyone have any other thoughts here? Theoretically we could solve the external dependencies' references of protobuf if we wanted to, but I'm getting the vibe we wouldn't want to do this even if we could?


Reindex atom index based on AtomMapNum

Configuration:

 2021.03.2

RDKit Version: '2021.03.2'
Operating system: Linux Ubuntu
Python version (if relevant): 3.7+
Are you using conda? Yes
If you are using conda, which channel did you install the rdkit from? I don't know
If you are not using conda: how did you install the RDKit?

Description:

I have SMILES with atom index encoded as following
[C:1]=[C:2]([H:5])[H:6].[O:0]([H:3])[H:4]
I want to preserve this atom index after converting SMILES into RDkit Mol object.
However, I find this atom index is saved in AtomMapNum property but not in AtomIdx which makes confusion.
Is there any way I can reassign atom index of mol object based on AtomMapNum?
That would make my life way more easier.

rxnsmiles = "[C:1]=[C:2]([H:5])[H:6].[O:0]([H:3])[H:4]>>[H:3].[O:0]([C:1]=[C:2]([H:5])[H:6])[H:4]"
reactant_smiles, product_smiles = rxnsmiles.split(">>")

rxn = rdChemReactions.ReactionFromSmarts(reactionsmiles, useSmiles=True)
rdkit_reactants = Chem.CombineMols(*rxn.GetReactants())

AtomMapNum = [atom.GetAtomMapNum() for atom in m.GetAtoms()]
AtomIdx = [atom.GetIdx() for atom in m.GetAtoms()]
print("reorder_idx : ", reorder_idx)
print("AtomIdx : ", AtomIdx)

Atom index and the atom map are two very different things.  In general, the atom map is preserved while the atom index is essentially arbitrary.  It's not clear what you are trying to do, but here are some suggestions.
If you really must do reorder atoms, see Chem.RenumberAtoms, but I highly suggest this is not the right approach as the act of writing a smiles string will not necessarily preserve the atom index.
RenumberAtoms(...)
    RenumberAtoms( (Mol)mol, (object)newOrder) -> Mol :
        Returns a copy of a molecule with renumbered atoms

          ARGUMENTS:

            - mol: the molecule to be modified

            - newOrder: the new ordering the atoms (should be numAtoms long)
              for example: if newOrder is [3,2,0,1], then atom 3 in the original
              molecule will be atom 0 in the new one

It looks like you should just use a reaction object:
rxn = rdChemReactions.ReactionFromSmarts(rxnsmiles)
reactants = [Chem.Mol(reactant) for reactant in rxn.GetReactants()]

If you need to use atom maps, I suggest a lookup:
lookup = {}
for atom in reactant.GetAtoms():
     atom_map = atom.GetAtomMapNum()
     if atom_map: lookup[atom_map] = atom

Then you can easily go from atom map to atom.

Thank you for the comment,
Although you discouraged using Chem.RenumberAtoms, that was the exactly what I needed and it solved my issue.
I really appreciate for your answer :)

I'm closing this because it is a question, not a bug report or enhancement request.
Please ask questions using the "Discussions" tab.


How can I make paste text to my PinEntryEditText?

Can you help me with this? Thanks

this is disabled on purpose, but I'll see if I can handle this in the widget some how just to allow for the newer features of Android Messenger letting you copy the code from the notifications.


Use Official Safari Extension if possible

It would be much better (could get easier/secure for users) to get it as official safari extension (same as its done for ff and chrome now).
See
https://safari-extensions.apple.com/?q=GitHub
This potentially relastes relates to
#10

Absolutely, I realise the state of the Safari version is very unfortunate. Without a certificate we can't build the extension at all, not even to publish as a standalone extension outside the Apple Extensions Gallery.
My plan is to enter the Apple Developer Program within the month. Then I can finally bring the Safari version up to date.


model: fix nan default dm

Fixed the text

Also, nothing needs to be modified where model.dm is called in benchmarks/user/benchmark.py?

No nothing to change there, only issue was that model.dm had NaNs due to div(1/vp) at the edge

Cool, lets merge when green and give TheMatrix a spin!


Optimizing the compilation process for macOS

I am using macOS 10.15.7, when I tried to compile, I got the following error.

fatal error: 'sodium.h' file not found
#include <sodium.h>
^~~~~~~~~~
1 error generated.
make[2]: *** [CMakeFiles/chia_plot.dir/src/chia_plot.cpp.o] Error 1
make[1]: *** [CMakeFiles/chia_plot.dir/all] Error 2

The reason is that libsodium cannot be found.
I fixed CMakeLists.txt to solve this problem.
If you think this is useful, please merge it.
Thx

Hello @yrjyrj123 ,
I tried your solution but i get below error.
Xcode is installed btw.
Any ideas?
erdinc@MACFVFF76JUQ05P chia-plotter % brew install libsodium gmp cmake git autoconf automake libtool wget Warning: Treating cmake as a formula. For the cask, use homebrew/cask/cmake Warning: libsodium 1.0.18_1 is already installed and up-to-date. To reinstall 1.0.18_1, run:   brew reinstall libsodium Warning: gmp 6.2.1 is already installed and up-to-date. To reinstall 6.2.1, run:   brew reinstall gmp Warning: cmake 3.20.3 is already installed and up-to-date. To reinstall 3.20.3, run:   brew reinstall cmake Warning: git 2.32.0 is already installed and up-to-date. To reinstall 2.32.0, run:   brew reinstall git Warning: autoconf 2.71 is already installed and up-to-date. To reinstall 2.71, run:   brew reinstall autoconf Warning: automake 1.16.3_1 is already installed and up-to-date. To reinstall 1.16.3_1, run:   brew reinstall automake Warning: libtool 2.4.6_3 is already installed and up-to-date. To reinstall 2.4.6_3, run:   brew reinstall libtool Warning: wget 1.21.1 is already installed and up-to-date. To reinstall 1.21.1, run:   brew reinstall wget erdinc@MACFVFF76JUQ05P chia-plotter % wget https://raw.githubusercontent.com/facebookincubator/fizz/master/build/fbcode_builder/CMake/FindSodium.cmake -O /usr/local/opt/cmake/share/cmake/Modules/FindSodium.cmake /usr/local/opt/cmake/share/cmake/Modules/FindSodium.cmake: No such file or directory

Hello @yrjyrj123 ,
I tried your solution but i get below error, after running wget command.
/usr/local/opt/cmake/share/cmake/Modules/FindSodium.cmake: No such file or directory
Xcode is installed btw.
Any ideas?
Thanks a lot.
erdinc@MACFVFF76JUQ05P chia-plotter % brew install libsodium gmp cmake git autoconf automake libtool wget
Warning: Treating cmake as a formula. For the cask, use homebrew/cask/cmake
Warning: libsodium 1.0.18_1 is already installed and up-to-date.
To reinstall 1.0.18_1, run:
brew reinstall libsodium
Warning: gmp 6.2.1 is already installed and up-to-date.
To reinstall 6.2.1, run:
brew reinstall gmp
Warning: cmake 3.20.3 is already installed and up-to-date.
To reinstall 3.20.3, run:
brew reinstall cmake
Warning: git 2.32.0 is already installed and up-to-date.
To reinstall 2.32.0, run:
brew reinstall git
Warning: autoconf 2.71 is already installed and up-to-date.
To reinstall 2.71, run:
brew reinstall autoconf
Warning: automake 1.16.3_1 is already installed and up-to-date.
To reinstall 1.16.3_1, run:
brew reinstall automake
Warning: libtool 2.4.6_3 is already installed and up-to-date.
To reinstall 2.4.6_3, run:
brew reinstall libtool
Warning: wget 1.21.1 is already installed and up-to-date.
To reinstall 1.21.1, run:
brew reinstall wget
erdinc@MACFVFF76JUQ05P chia-plotter % wget https://raw.githubusercontent.com/facebookincubator/fizz/master/build/fbcode_builder/CMake/FindSodium.cmake -O /usr/local/opt/cmake/share/cmake/Modules/FindSodium.cmake
/usr/local/opt/cmake/share/cmake/Modules/FindSodium.cmake: No such file or directory

@erdincsk
please run this command:
brew link cmake
It will create a symlink and fix this error.
I have added it in README.md too.

Dear @yrjyrj123,
Thanks for the feedback. This time i'm getting below error. I'm not sure what is wrong with my system. I'm just following the steps in readme.
SODIUM_FOUND in src/CMakeLists.txt
CMake Error at CMakeLists.txt:22 (find_package):
By not providing "Findsodium.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "sodium", but
CMake did not find one.
Could not find a package configuration file provided by "sodium" with any
of the following names:
sodiumConfig.cmake
sodium-config.cmake

Add the installation prefix of "sodium" to CMAKE_PREFIX_PATH or set
"sodium_DIR" to a directory containing one of the above files.  If "sodium"
provides a separate development package or SDK, be sure it has been
installed.
-- Configuring incomplete, errors occurred!

Hello,
I think my issue was related to below commit. i have a m1 mac. Problem solved!
https://github.com/madMAx43v3r/chia-plotter/pull/338/commits/92dab818a2817b1c9506a64930d79bd2bb6700df
i used
wget https://raw.githubusercontent.com/facebookincubator/fizz/master/build/fbcode_builder/CMake/FindSodium.cmake -O /opt/homebrew/Cellar/cmake/3.20.3/share/cmake/Modules/FindSodium.cmake
instead of
wget https://raw.githubusercontent.com/facebookincubator/fizz/master/build/fbcode_builder/CMake/FindSodium.cmake -O /usr/local/opt/cmake/share/cmake/Modules/FindSodium.cmake


Some words about transactions

Hi
I would like to use kmongo for my next kotlin/mongo project but Im a little bit concerned about mongo transactions. Is there any programmatic support? Couldn't find something in the docs.
Thank you 😊

KMongo uses under the hood  the java driver, so KMongo supports transactions ;)
Also, you can see that all extensions have a version with the ClientSession parameter, required to support transactions : http://litote.org/kmongo/dokka/kmongo/org.litote.kmongo/com.mongodb.client.-mongo-collection/index.html
It would be nice to include a sample in the doc, in order to explain how to write transaction code in kotlin - will add it in the next version.
Meanwhile, you can look at the reference page that contains a java sample: https://docs.mongodb.com/manual/core/transactions/
HTH

That makes sense. Thank you very much 👍


update pytket

this will allow newer versions of pytket to be used now and in the future.

Not sure what your workflow for release is, would be nice if this could be released soon.

Thanks @cqc-melf! As a small comment would you mind using develop as the target of this PR?

I'm not quite sure why the mac tests should be failing with the newer version of pytket, but it should fine to case things as mypy recommends.

Has there been a new mypy release in that time? Do you use a fixed version?

I also note that tests/test_requirements.txt specifies pytket~=1.0.1 which should probably also be changed. I think in-fact it might be better to remove pytket from the test requirements to avoid conflicts there?

I'm not quite sure why the mac tests should be failing with the newer version of pytket, but it should fine to case things as mypy recommends.

Has there been a new mypy release in that time? Do you use a fixed version?

The version should be fixed to 0.901, which is not the latest version of mypy in any case :/

Seems like a whole new set of errors. @sjdilkes, do you know what recent pytket changes could cause these tests to fail? My apologies, I'm not terribly familiar with the parts of the code where the tests are failing 😬 .

Seems like a whole new set of errors. @sjdilkes, do you know what recent pytket changes could cause these tests to fail? My apologies, I'm not terribly familiar with the parts of the code where the tests are failing 😬 .

How unexpected! No obvious idea, I will have a look today though. Maybe something to do with Transform.RebaseToCliffordSingles as that method is common to both, but still confusing.


Define responsive behavior of masthead utility items

Current implementations of the masthead utility items require rework to display desired responsive behaviors. These changes are required to the Page Layout demos in both core and React.
New implementation must support the following requirements:
(1) Must support the following Utility bar items

User Avatar (optional per application support),
User menu - dropdown with contents TBD)
Notification icon - alerts the user of unread notifications and toggles notification drawer. The notification icon must be visible at all viewport sizes.
utility menus - one or more items represented by an icon. Menus can be either Dropdowns or Options Menus. Typically includes Help and Settings but other menus may be included.

(2) At first breakpoint (tablet), collapse  utility items to kabob.
(3) At second breakpoint, (mobile) collapse user menu into kabob and hide avatar. (Only notification icon and kabob will be shown.)
This issue should address how the combined utility menu is displayed when collapsed, i.e. if User, Settings, and Help live in the same menu, what does that look like - how do we maintain hierarchy.

@mcoker @LHinson @rachael-phillips I have opened this issue to address revised responsive behavior of the utility bar in the masthead. @maryshak1996 will work on a design proposal that can be reviewed by next week. Per our discussions, this is a prerequisite for implementing the Notification Drawer demo (#35 ).
This issue does not address the content of utility menus. I will open a second issue for that. The intent is to refactor the current masthead implementation to allow for integration of the notification drawer.

Hi @Mcarrano this is great - thank you! Would also love to hear your
viewpoint of the urgency of this work and where it should live on the
roadmap.
On Thu, May 16, 2019 at 4:28 PM mcarrano<EMAIL_ADDRESS>wrote:

@mcoker https://github.com/mcoker @LHinson https://github.com/LHinson
@rachael-phillips https://github.com/rachael-phillips I have opened
this issue to address revised responsive behavior of the utility bar in the
masthead. @maryshak1996 https://github.com/maryshak1996 will work on a
design proposal that can be reviewed by next week. Per our discussions,
this is a prerequisite for implementing the Notification Drawer demo (#35
https://github.com/patternfly/patternfly-next/issues/35 ).
This issue does not address the content of utility menus. I will open a
second issue for that. The intent is to refactor the current masthead
implementation to allow for integration of the notification drawer.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/patternfly/patternfly-next/issues/1832?email_source=notifications&email_token=AJTI6XX43XVLKWIWVVX3XE3PVW7V7A5CNFSM4HNP4MR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVS7BDI#issuecomment-493219981,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJTI6XVRCPVVUJURJKGWMHLPVW7V7ANCNFSM4HNP4MRQ
.

I am hoping we can get this into the June release @rachael-phillips .  It came up as part of the exploration of notification drawer and how that would work in a mobile viewport.

+1 - i'ved added this to the spreadsheet.

We've had some concerns about the interaction of the Avatar name menu, coming from the cloud services platform. I am not sure if raising this here is the right place but wanted to bring it up. @KendraMar also mentions it here. https://github.com/patternfly/patternfly-next/issues/1833#issuecomment-493570413

Yes, we should consider how the Avatar folds into the menu responsively and how to update.

Reviewed this with @mcarrano and @mcoker and we think that this is going in a good direction:
https://redhat.invisionapp.com/share/8BS3SIY4ZDR

@dongniwang just wanted to make you aware of this as it's closely related to #1833. Let us know if you have any questions or feedback. One open question was what to do about the avatar. Right now that's just static so we were assuming we could hide at mobile sizes, but if the avatar will be interactive, we may need to reconsider this.

Thanks @mcarrano and @maryshak1996! I left a few comments in the InVision. I think it looks pretty good overall.
Regarding the avatar action. One solution would be to move the downward facing arrow (caret) to the right of the avatar if the avatar will not be interactive at all and users always have to update it somewhere else.

I put together a spec with basic visuals and interaction for what I have above:
visual-spec.pdf

I think this all looks great @maryshak1996 !  @kybaker can you take a look when you get a chance?

@mcarrano Looks good to me

https://sketch.cloud/s/LeMlW

@rachael-phillips @mcarrano I know that you both had some questions yesterday about what would happen if the user clicks on a utility item while the notification drawer is opened. I mocked this up and while it's a bit busy, I don't think that it's terrible. I'd be interested to know what you think

I think it's fine @maryshak1996 . Keep in mind that the menus do not sit open after the user selects something. We can never predict what will fall below any dropdown menu.

This design is approved and ready for CSS implementation.

@mcarrano I wanted to ping this issue again, as I talked to @dlabaj about this a bit more today. I wanted to more specifically indicate the states of the masthead icons:

DEFAULT: global-background-300
HOVER: white
OPENED: 36x36px black-800 circle appears behind icon (this is for ALL masthead icons, including notification bell)
I've updated the notification drawer docs as well as the docs for this issue, but here is a quick snapshot of what I'm referring to:
Default:

Hover:

Opened:

Just opened a new issue here to address behavior of the user menu and avatar: https://github.com/patternfly/patternfly-next/issues/2329  This may impact the desired solution here, and therefore placing this on hold until that direction is clarified.

Closing in favor of #2482 which reflects updated designs


Addition of building block into core library

Could we please add this ditopic building block to the core library (added with .txt extension because of GitHub file type support)? It comes from this paper -- DOI: 10.1002/cssc.201903545
Thanks!
ECBZ.txt

Closed by #64


tests: build_all: modem: Remove net tag

The build_all test suite for modems has had the net tag for a while, limiting when it was built, and for which boards it was built. Removing the tag let's the test build for all boards, which is not what we want either as the modem drivers can't be built for all boards.
The test suite currently uses a set of filters like min_ram and platform_exclude to blacklist some of these boards, which is not scalable and not what we actually want, we only want to build the drivers for platforms we know the drivers can be built for (whitelist)
This PR uses platform_allow to build for appropriate 32 and 64 bit platforms, and cleans up the testcase.yaml file substantially, while adding tests for both interrupt driven and async UART APIs for all drivers.
After this PR, build errors will be caught by CI in PRs, which has until now not been possible, leading to merges which would then fail main's CI...

I think you can close https://github.com/zephyrproject-rtos/zephyr/pull/64864 now.


Add EditVendor Page

Please do work for this task in a branch named issue-26
Allows a vendor to edit their own vendor details.

The initial mockup for the page is done, but to finish this issue, I'll need to come back and allow the page to actually change the database. Need to also figure out someway to pre-populate the fields with the vendor we're modifying.

Finished the Initial Mockup for Edit Vendor. I need to follow up in a new issue by adding the backend functionality, so that it actually writes to the database, as well as figuring out a way to pre-populate the fields.


Feedback of default log level for a channel is confusing

Repro:

Set default log level for all channels to debug
Set default log level for pty host to trace
Run the set log level command

This is the quick pick that shows, this is good:

When I click into the pty host it shows that debug is the default, which is the default for all channels, not the pty host specifically:

This is because we do not support setting default log level per logger in core. It can be configured for core + extensions only.  This action shown in UI for core loggers is a bug.


Custom Electronic Boards

Looking at replacing the Custom Electronic Boards with Optical Sensor
https://www.mouser.com/ProductDetail/Optek-TT-Electronics/OPB616?qs=a8pkJuPGWJ85yUPzFvMcew%3D%3D

Hi,
It could be a good idea! Unfortunately you will make a 1d sensor instead of 2d (lateral forces will not be perceived).
Also you will need some resistors to polarize the transistor and current limit the LED, so in the end it could be also quite complicate. I'm not sure about the weight of the OPB616 sensor, at the location, it is critical!
This foot sensor was design for solo8, but we are not sure about solo12 since the force really is 3d now.. We are trying to develop controller that do not need to contact sensor and estimator that can tell us if the foot is in contact.

Your correct did not take into consideration 2/3d, thank you.

How about using force sensing resistors (FSR) and IMU.

That should also be possible.
At the moment on each motor driver board there are two analog input channels available that are transmitted at 1kHz. One of them is used to measure the foot contact sensor signal. You can connect any other sensor with 0V-3.3V range.
Integrating the imu communication into the micro-controller would probably take quite a bit of effort.


Permission denied - git --version (Errno::EACCES) on Windows 10

Hi
I'm trying to install Heroku CLI on windows 10.
Got into this error when running heroku --version:
`'MySQL' is not recognized as an internal or external command, operable program or batch file.
'MySQL' is not recognized as an internal or external command, operable program or batch file.
!    Heroku client internal error.
 !    Search for help at: https://help.heroku.com
 !    Or report a bug at: https://github.com/heroku/heroku/issues/new

    Error:       Permission denied - git --version (Errno::EACCES)
    Command:     heroku --version
    Version:     heroku/toolbelt/3.43.9 (i386-mingw32) ruby/2.1.7
    Error ID:    18f250a4295d4be7a46bf9e088a8ce4a
    More information in C:/Users/antony/.heroku/error.log`

read about the MySQL, so I don't really mind/care abt it
It's the:
` Error:       Permission denied - git --version (Errno::EACCES)
that I'm asking about
Fyi, Git can be run using the same user. so I'm at lost here
rgds,
Antony

usually this is because the PATH is invalid

@antony7777 for more information see http://stackoverflow.com/a/34392342/255982


broken links

Problem description
2 broken links
Problem location

I saw a problem on the following URL: https://docs.docker.com/install/linux/docker-ce/ubuntu/

under "Next steps"

This issue is resolved. If the problem persists, please open a new issue. Thank you.


Add new City Spawns

Nation
X,Z
Discord

Estalia
0,0
Walkers#9999

Free Danzilonan Republic
5245,4530
buystamps#8915

Regentsburgh
-3514,8839
Britisher#3253

Pridelands
-2238,9216
Gillilaeous#0662

Amboise Palace
4306,-3497
Danman#1792

Pacem
-5194, -1008
Wheaties#7056

Icarus
-9100, -400
Zolo#7662

I can pick this one up if you would like

Ok

https://github.com/CivMC/CivDocker/pull/104


[Feature] Support tracking algorithm

Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.
Motivation
Please describe the motivation of this PR and the goal you want to achieve through this PR.
Modification
Please briefly describe what modification is made in this PR.
BC-breaking (Optional)
Does the modification introduce changes that break the backward-compatibility of the downstream repos?
If so, please describe how it breaks the compatibility and how the downstream projects should modify their code to keep compatibility with this PR.
Use cases (Optional)
If this PR introduces a new feature, it is better to list some use cases here, and update the documentation.
Checklist

Pre-commit or other linting tools are used to fix the potential lint issues.
The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
If the modification has potential influence on downstream projects, this PR should be tested with downstream projects, like MMDet or MMCls.
The documentation has been modified accordingly, like docstring or example tutorials.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.25 out of 26 committers have signed the CLA.:white_check_mark: zwhus:white_check_mark: JosonChan1998:white_check_mark: BIGWangYuDong:white_check_mark: hhaAndroid:white_check_mark: RangiLyu:white_check_mark: okotaku:white_check_mark: bobo0810:white_check_mark: zgzhengSEU:white_check_mark: yechenzhi:white_check_mark: xiejiajiannb:white_check_mark: LYMDLUT:white_check_mark: Zheng-LinXiao:white_check_mark: vansinhu:white_check_mark: yarkable:white_check_mark: IRONICBo:white_check_mark: lovelykite:white_check_mark: freepoet:white_check_mark: wufan-tb:white_check_mark: minato-ellie:white_check_mark: Czm369:white_check_mark: keyakiluo:white_check_mark: i-aki-y:white_check_mark: gihanjayatilaka:white_check_mark: xin-li-67:white_check_mark: JingweiZhang12:x: yalibianYou have signed the CLA already but the status is still pending? Let us recheck it.


Added failing test for tosca-embedded-resources

DO NOT MERGE - FOR REVIEW ONLY
The existing ToscaTypePlanTransformerIntegrationTest.testCsarLink() uses https:// resources for the start, configure, etc scripts rather than using the embedded scripts
I've created a new test (and CSAR) which attempts to read the resources from within the CSAR (i.e. using classpath://, however it's failing with an IOException at ResourceUtils.getResourceViaClasspath#365 as the resource classpath://csar-cp/scripts/stop.sh cannot be found
I've tried several variations of the path, but nothing seems to work. I've also tried (with a debugger attached) to use a new OsgiAwarePathMatchingResourcePatternResolver() to examine what's available, but unfortunately OsgiAwarePathMatchingResourcePatternResolver is not on the classpath of the test

@nakomis I think I've fixed this.  The archive wasn't being set on things in the parsed topology (the ImplementationArtifact) -- so we pass the archive as well.  If build passes let's merge.


Feature/security ci

Implemented Slither

needed to move openzeppelin, uniswap and solidity-linked-list dependencies from root directory to node_modules directories in child projects
Originally tried to run "yarn slither:all" in slither.yml, but it generated "not found openzeppelin file" error, so used this way

Implemented Echdina

will need to add test sol files for Echdina test

Hey @pavlovcik @0xcodercrane I have just tested with symlink, but keep failing. I need your checking

Did you check this over? @pavlovcik

Did you check this over? @pavlovcik

I see that you're keen on solving the other issue while you're blocked on this issue, which I think makes sense. Let me ask @sergfeldman to decide on this. In the meantime, lets wait for @0xcodercrane's response to unblock you. Thanks!

I just requested the changes to make it extensible but the screenshot says that it throws error in slither part.  I am thinking there could be a way to configure symlink in the config but never used it before.
For lint checking, do you @sunny0714  want us to update lint config to resolve your issue? If yes, that would be helpful to let us know which part needs to be updated. Another concern about this pull request is that we can merge it into development branch once all the checks pass.

I just requested the changes to make it extensible but the screenshot says that it throws error in slither part.  I am thinking there could be a way to configure symlink in the config but never used it before.
For lint checking, do you @sunny0714  want us to update lint config to resolve your issue? If yes, that would be helpful to let us know which part needs to be updated. Another concern about this pull request is that we can merge it into development branch once all the checks pass.

Notice that the error code isn't 1. Meaning it's intentional that Slither is signaling to the OS that it found a security error. The program didn't crash.

https://github.com/ubiquity/ubiquity-dollar/pull/268/commits/959e18ecfee4772cbd6b79918b1b95a89fbfb114
Hope you to check the symlink in package.json of individual project and let me know if it's correct or not

I just requested the changes to make it extensible but the screenshot says that it throws error in slither part. I am thinking there could be a way to configure symlink in the config but never used it before.
For lint checking, do you @sunny0714 want us to update lint config to resolve your issue? If yes, that would be helpful to let us know which part needs to be updated. Another concern about this pull request is that we can merge it into development branch once all the checks pass.

I think this PR can be merged after all the errors generated from Slither have been fixed. Yeah, absolutely agree with @pavlovcik


Add address points to buildings layer.

Refs #181.
Adds address point features to buildings layer. At present, doesn't do address line interpolation, nor expose the address interpolation lines.
Before:

After:

Cool!
/cc @rmarianski
Do we need to be selecting all the extra attributes in queries/buildings.jinja2? I'm not opposed to some/all of them, but should we collapse some of them into landuse_kind like we did for the roads intercut?

That's a good point. Are you thinking of coalescing the amenity, shop, and tourism properties? The others look significant on their own right to me.
https://github.com/mapzen/vector-datasource/blob/5fb743a6f4e957e1c128bbca0e529026198b45e3/queries/buildings.jinja2#L2-L26

Are the total list of exported attributes on address and building features comparable? Should they be?
I would expect there to be more attributes on buildings than on addresses. For instance, it doesn't seem worthwhile to export building shape attributes on the address points at all. And we should coalesce the typical list of keys into the generic kinds namespace to be consistent with our other feature classes.

As I understand it, each jinja2 template is a single query, and the selected attributes have to be the same across all unioned sub-queries. Have I misunderstood? Are you suggesting dropping some attributes in the processing stages?
I would generally expect to put address points in a separate layer from buildings. The geometry (point / polygon) is completely different, the attributes are pretty different, and the style applied to them is going to be pretty different.

As I understand it, each jinja2 template is a single query, and the selected attributes have to be the same across all unioned sub-queries. Have I misunderstood? Are you suggesting dropping some attributes in the processing stages?

We usually handle that by unioning the list of properties, and just setting them to null in the query itself for the query where it's irrelevant. We drop all properties where the value is null pretty early on in the pipeline.

Here's an example of the nulling Rob mentioned from the places layer:
https://github.com/mapzen/vector-datasource/blob/master/queries/places.jinja2#L9-L15

@nvkelso I've dropped it down to only selecting addr_housenumber, addr_street, name, id and amenity, shop and tourism -- these last 3 are almost always NULL anyway, and it might make it easier to show a proper icon for these if they're on the address. Review, please?

LGTM.
We're already not collapsing the amenity, shop, tourism keys into a single kind, but that doesn't need to be fixed in this issue.

See also:

https://github.com/mapzen/vector-datasource/issues/200


Filter ARI builder input on "ctrl"

The ARI builder input on the build page shows all possible ARI commands but should only display "ctrl" commands
Acceptance Criteria:

[ ] ARI builder input only shows "ctrl" and "macro" commands
[ ] [Optional] control to allow all commands to show

should also be able to see macros

handled by https://github.com/NASA-AMMOS/anms/pull/78, which updated the UI


Render multiple result images with markdown, if markdown contains multiple images

I think this closes: https://github.com/promptfoo/promptfoo/issues/871
I haven't been able to test these changes locally - @typpo do you have any suggestions? Do I write my own custom provider with markdown hardcoded in the response? Where would I need to put the provider file in this project's directory? Any info appreciated, so I can better test these changes without bugging you 😅

Thanks for wrangling this, will give it a try on my end!
One thing that may help you test this is to use the built-in (undocumented) echo provider, which just outputs the prompt.

Thanks @chrismaltais!  Works well for me locally.


Warning displayed when using action

The Github Action logs show the following warning:
Run azure/docker-login@v1
(node:2690) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.

👍 Would be nice to get this fixed.


Rewrite design

Instead of long text that people get bored reading, we make use of more interactive content. Diagrams, videos, or anything that captures the user's attention more efficiently. The goal is not to remove the whole text, but make it more compact. An image is worth more than words sometimes.
A few diagrams can be taken from this slideshow

Solved by https://github.com/prometheus-operator/prometheus-operator/pull/6793


feat: revamp social icons container ✨

Close #1137
Description

Revamped the social icons container on Contact us section

Screenshots

BEFORE

AFTER

Checklist:

[x] I have linked the PR to the correct issue.
[x] I have read the Contribution Guidelines
[x] I have built and tested the changes, and they do not break or show any errors.

Hey there @Vaishnavi-Patil2211, @akshathar-navada 👋🏻,
Please make sure to review this PR.
Thank you!

@Vaishnavi-Patil2211 Please merge this PR.


[BACKEND] Remove EmitIndicesTest.cpp and always use linear layout to emit offsets

Hi @jlebar , please let me know if it's sufficient or there's additional code I need to take out?

Also want to make sure I understand the roadmap correctly.
The next thing is to remove gpu::ConvertLayoutOpConversion?
Then, we can start removing the gpu::toLinearLayout and instead use LinearLayout encodings in the triton gpu IR?

The next thing is to remove gpu::ConvertLayoutOpConversion?

The next thing I was working on was switching ConvertLayoutOpToLLVM to use LLs.

Then, we can start removing the gpu::toLinearLayout and instead use LinearLayout encodings in the triton gpu IR?

No, I think there's more work to do before we can get there.
Before we can do that, everything during TTGIR -> LLVM lowering needs to use LLs.  So the emitters for every op need to use LLs.  ConvertLayoutOp is the first one I was looking at, but there are others like reduction, scan, etc.


How are more requests than threads handled?

I have a question about the way pistache handles requests by multiple clients.
How does pistache handle more parallel request than it was assigned threads.

Does it queue them?
Does it cancel them?
Or does it just ignore them?

Background: For 16/32 clients sending in parallel one request after another, I have a lot of failed requests against the pistache endpoint. The endpoint is assigned 16/32 threads.
The experiments are executed on a single machine with two Xeon E5-2683 v4 ( 16 cores / 32 threads each) and 512 GB ram. So resources should not be a problem in my opinion.
Note: the failing queries occur only if the requests are handled very fast. For workloads with a lot of requests that take some time to process the problem did not occur.

Pistache relies on the kernel managed queuing from <sys/socket.h>, here's a snippet from the header:
/* Prepare to accept connections on socket FD.
   N connection requests will be queued before further requests are refused.
   Returns 0 on success, -1 for errors.  */
extern int listen (int __fd, int __n) __THROW;

/* Await a connection on socket FD.
   When a connection arrives, open a new socket to communicate with it,
   set *ADDR (which is *ADDR_LEN bytes long) to the address of the connecting
   peer and *ADDR_LEN to the address's actual length, and return the
   new socket's descriptor, or -1 for errors.

   This function is a cancellation point and therefore not marked with
   __THROW.  */
extern int accept (int __fd, __SOCKADDR_ARG __addr,
		   socklen_t *__restrict __addr_len);

By default we set this to 128, though you could set it to what you like via Http::Endpoint::options for example:
auto opts = Http::Endpoint::options()
            .threads(thr)
            .backlog(256)
            .flags(Tcp::Options::InstallSignalHandler);

Answered issue, we can close it


order of file contexts

Hi,
I am puzzling with an issue that the order of file-context entries matters, where the last has precedence.
Because environments are constant in flux it happened that contexts are added in the 'wrong' order. For example, I added an fcontext for /data/log/mysql before /data/log. The effect is that the /data/log/mysql directory is getting the wrong context.
If I manually change the ordering, the context is applied correctly.
The puzzle is how do I puppet-fix this correct. Is am thinking in the direction of an Exec[] which (reverse) sorts the file /etc/selinux/targeted/contexts/files/file_contexts.local. However, this feels dirty and wrong. Any sugestions?

I could make a pullrequest creating the following Exec in init.pp (is this the place?) and notify it from within the fcontext definition.
exec { 'sort_file_contexts':
command => '/bin/sort -r -o /etc/selinux/targeted/contexts/files/file_contexts.local /etc/selinux/targeted/contexts/files/file_contexts.local',
unless  => '/bin/sort -cr /etc/selinux/targeted/contexts/files/file_contexts.local',
refreshonly => true,
}

reading File Contexts Sort Ordering (FedoraProject) I would suspect that if you add them as regex /data/log/mysql(/.*)? and /data/log(/.*)? the order of adding the rules should not matter.

there is an Redhat Bugzilla which seems to be related: https://bugzilla.redhat.com/show_bug.cgi?id=803846

and another bugzilla with no solution: https://bugzilla.redhat.com/show_bug.cgi?id=678577
IMHO the "real" workaround for this problem would be to use a module with filecontext included.

@Heidistein do you still think this module should fix the selinux bug/problem?
I think the selinux module way is the only real solution here.

the behaviour is now documented in the README.md. Also no follow up comment from author within the last 11 days.


[Easy Dictionary] ...x2: The operation was aborted.  c:index.js:70:17 AbortSignal.m:easydict.js:162:17318 [nodejs.internal.kHybridDispatch]:event_target:731:20 AbortSignal.dispatchEvent:event_target:673:26

Extension
https://www.raycast.com/isfeng/easydict
Description

Error:

Steps To Reproduce
No response
Current Behaviour
No response
Expected Behaviour
No response

x2: The operation was aborted.
c:index.js:70:17
AbortSignal.m:easydict.js:162:17318
[nodejs.internal.kHybridDispatch]:event_target:731:20
AbortSignal.dispatchEvent:event_target:673:26

Thank you for the feedback, I am aware of this issue https://github.com/tisfeng/Raycast-Easydict/issues/35 and will submit a PR to fix it soon.
If you can't wait, you can try using the latest code from the repository https://github.com/tisfeng/Raycast-Easydict

@raycastbot close this issue


mediainfo: bumped to 21.09

Installed manifest of package
(kiss manifest <pkg>)
/var/db/kiss/installed/mediainfo/version
/var/db/kiss/installed/mediainfo/sources
/var/db/kiss/installed/mediainfo/manifest
/var/db/kiss/installed/mediainfo/depends
/var/db/kiss/installed/mediainfo/checksums
/var/db/kiss/installed/mediainfo/build
/var/db/kiss/installed/mediainfo/
/var/db/kiss/installed/
/var/db/kiss/
/var/db/
/var/
/usr/bin/mediainfo
/usr/bin/
/usr/

Existing package

[x] I am the maintainer of this package.

Close by #729 ?

jkjk.
Why are these split?

Close by #728 ?

Not sure I understand. With the patch I was able to update libmediainfo. So with https://github.com/kiss-community/community/pull/728 this PR can also be closed. So if you meant "Closed", the answer is yes.

I mean that libmediainfo provides the dev files and mediainfo is providing just the binary - I initially misread this PR and thought it was just a duplicate of #728, but this is actually a split package. I was wondering if this was intentional, and if so what the reasoning behind it was. KISS does not split packages without good reason.

That's right. There is a reason, probably not a good one. When I created this package I took some inspiration from
other distributions, like crux, in which this split exists. I can have a look to get all in one package. In that case perhaps we can also get rid of libzen. Ok for you ?
Mediainfo is also released as a all in one package, so it should not be difficult.


Introduce parallel node image building

This PR will introduce the parallel node image building for Ubuntu and Centos.

/cc @mboukhalfa


[protobuf] protobuf v3.12.0

Update protobuf package to release v3.12.0

@jozefizso Thanks for your PR. Now ignition-msgs5 build failed with the following error, it build depends on protobuf.
buildtrees\ignition-msgs5\src\sgs5_5.1.0-e593042925\src\Utility.cc : fatal error C1128: number of sections exceeded object file format limit: compile with /bigobj

The /bigobj switch is set in CMakeLists.txt already.
  # Allow big object
  add_definitions(/bigobj)

Source: https://github.com/protocolbuffers/protobuf/blob/3.12.x/cmake/CMakeLists.txt

I added patch for ignition-msg5 to use /bigobj switch. This should make it compatible with protobuf 3.12.

The microsoft.vcpkg.pr (x64_osx) failed because of git issue:
From https://github.com/microsoft/vcpkg
 * [new ref]             refs/pull/11397/merge -> pull/11397/merge
git checkout --progress --force refs/remotes/pull/11397/merge
Previous HEAD position was 35a71e008 Merge 6248f7cc6dd2a25fe8b8f31d8f8ef1c76eec5ed9 into 8a583e80da3b72141105da9003175679af2fcb92
fatal: update_ref failed for ref 'HEAD': cannot lock ref 'HEAD': Unable to create '/Volumes/data/work/1/s/.git/HEAD.lock': File exists.

Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.
##[error]Git checkout failed with exit code: 128

Source: https://dev.azure.com/vcpkg/public/_build/results?buildId=37113&view=logs&jobId=7b75bd19-17d3-53d4-00fd-23f1a49a8ba4&j=7b75bd19-17d3-53d4-00fd-23f1a49a8ba4&t=6c1a7a3b-b385-5a17-556f-78ddf167924d

Cool, thanks @jozefizso :)

Looks like this might have caused regressions when merged with other changes: https://dev.azure.com/vcpkg/public/_build/results?buildId=37252&view=artifacts&type=publishedArtifacts
-- Downloading https://github.com/protocolbuffers/protobuf/archive/v3.12.0.tar.gz...
-- Extracting source C:/agent/_work/1/s/downloads/protocolbuffers-protobuf-v3.12.0.tar.gz
-- Applying patch fix-uwp.patch
-- Applying patch fix-android-log.patch
-- Using source at C:/agent/_work/1/s/buildtrees/protobuf/src/v3.12.0-8ba83cbbdb
CMake Error at ports/protobuf/portfile.cmake:21 (message):
  Cross-targetting protobuf requires the x86-windows protoc to be available.
  Please install protobuf:x86-windows first.
Call Stack (most recent call first):
  scripts/ports.cmake:90 (include)

Due to the following code, protobuf arm64-windows arm-uwp x64-uwp build failed on CI pipelines.
if(CMAKE_HOST_WIN32 AND NOT VCPKG_TARGET_ARCHITECTURE MATCHES "x64" AND NOT VCPKG_TARGET_ARCHITECTURE MATCHES "x86")
    set(protobuf_BUILD_PROTOC_BINARIES OFF)
elseif(CMAKE_HOST_WIN32 AND VCPKG_CMAKE_SYSTEM_NAME)
    set(protobuf_BUILD_PROTOC_BINARIES OFF)
else()
    set(protobuf_BUILD_PROTOC_BINARIES ON)
endif()

if(NOT protobuf_BUILD_PROTOC_BINARIES AND NOT EXISTS ${CURRENT_INSTALLED_DIR}/../x86-windows/tools/protobuf)
    message(FATAL_ERROR "Cross-targetting protobuf requires the x86-windows protoc to be available. Please install protobuf:x86-windows first.")
endif()

I will submit a PR to fix this issue.


chore(dev-deps): update dependency @semantic-release/release-notes-generator to v14.0.1

This PR contains the following updates:

Package
Type
Update
Change

@semantic-release/release-notes-generator
devDependencies
patch
14.0.0 -> 14.0.1

Release Notes

semantic-release/release-notes-generator (@semantic-release/release-notes-generator)
v14.0.1
Compare Source
Bug Fixes

deps: rename read-pkg-up to read-package-up (#671) (687ba5a)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

:tada: This PR is included in version 1.4.5 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


fastg file - gfa

Hi,
I used SPAdes for my assembly and I would like to try SCAPP but the only assembly graph that was built by SPAdes was a gfa file. I don't find any tool for the conversion. Would the metaflye_gfa2fastg.py work for short reads?
Thanks!

I don't see that there were any changes in SPAdes so I believe it should output a fastg file. The best option is to first see if you can locate it. Can you list the contents of the spades output directory and the end of the spades log file? If you don't see the fastg can you try to run spades --test and post the contents of the test output directory and end of the log file?
If that doesn't work out I can try to see about converting the gfa to fastg. It really depends on the specific gfa implementation used.

Solved, found it, thanks!

Great


Back End code?

I saw in the readme there was an offer to release backend code for this demo .. Is that possible?
Thanks, again, this is great.

Yup! It's coming in 2 weeks -- I'll post a link here once it's ready. Thanks for the kind words btw :)

Is it ready yet?

It's not quite ready but here's the latest version of the Node backend (everything should work): https://github.com/gothinkster/productionready-node-api
Would love your feedback & will post back here once it's 100% done.

Sorry about the optimism around our deadlines -- we've been swamped the past few months but are finally coming up for air.

No worries - this looks great so far, thanks.
On Tue, Sep 13, 2016 at 3:31 PM, Eric Simons<EMAIL_ADDRESS>wrote:

Sorry about the optimism around our deadlines -- we've been swamped the
past few months but are finally coming up for air.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/gothinkster/redux-review/issues/20#issuecomment-246796884,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AApCWbfrLgClHqSSu9CC0ApUjX8iQ2dlks5qpvoegaJpZM4JBjAD
.


DataRequirements test failures

on the most recent release of cqfTooling while running ECQMCreatorIT tests two failures occured when verifying DataRequirements matched between bundle and measure:
TestCMS125FHIR StartMatOutputTest("CMS125FHIR-v0-0-004-FHIR-4-0-1.json", "BreastCancerScreeningsFHIR")
failed on 'MedicationRequest' match
TestCMS816HIR StartMatOutputTest("HH-01FHIR-v0-0-010-FHIR-4-0-1.json", "HospitalHarmSevereHypoglycemiaFHIR")
failed on "MedicationAdministration" match
currently the test has been commented out until bug on DataRequirements has been fixed.

I am also seeing some unexpected behavior from the DataRequirementProcessor (currently using version 3.5.1).  It would appear that something has changed between versions 3.1.0 and 3.2.0.  If I use this small CQL file, I can replicate the behavior:
library "Test-Rule" version '0.0.1'
using FHIR version '4.0.0'
include FHIRHelpers version '4.0.0'
valueset "Test MedicationRequest VS": 'fake.medrequest.vs'
context Patient
define "Matching MedicationRequests": [MedicationRequest: "Test MedicationRequest VS"]

On version 3.1.0, the return value from gatherDataRequirements includes:

a requirement for MedicationRequest containing a code filter for my value set
a requirement for Patient

On version 3.2.0, repeating the same steps as above, I get:

a requirement for MedicationRequest containing a code filter for my value set
a requirement for MedicationRequest with no code filter attached
a requirement for Medication with no code filter attached
a requirement for Patient

The second and third requirements from version 3.2.0+ are unexpected to me.  I tried up to version 3.6.0 and still see the same behavior from the DataRequirementProcessor.

Whats happening here is that Medication.medication is a choice type. It can be either a CodeableConcept or a Reference. In cases where it's a Reference, there's an implied requirement for Medication since you're referencing one directly by id.
The two other unfiltered data requirements fall out from that. Essentially, since you're referencing Medication by id but you don't know the ids ahead of time (it could whatever is stored in the medication Reference, you need all the Medications.
You can rewrite the last line as:
define "Matching MedicationRequests": ["MedicationRequest"] MR where MR.medication as CodeableConcept in "Test MedicationRequest VS"

And you'll see the behavior you're expecting.

@JPercival the Medication.medication property is a reference in the case of our FHIR implementation.  What I'm hoping to infer from the data requirements is that the Medication requirement is originating from this MedicationRequest requirement, such that I can add the _include=MedicationRequest:medication parameter to the MedicationRequest search request and not separately fetch all Medication resources.
I understand why it is logical to include some indication that this artifact depends on Medication due to the choice type of Medication.medication and the possibility of it being a reference, but is it possible to report it in such a way that it could be differentiated from an explicit dependency on the Medication resource from the CQL?
On the other hand, I don't understand why the MedicationRequest data requirement without a code filter is a logical data requirement for this artifact.

but is it possible to report it in such a way that it could be differentiated from an explicit dependency on the Medication resource from the CQL?

Based on my understanding of data requirements that's not how they are intended to be used. Rather, it's a way to share metadata about all possible data the CQL might access. This is useful for things like access-control. "User A can see MedicationRequests, but not Medications".
In this case, which particular Medications are read depend on the data stored within the MedicationRequests, which is not known ahead of time. The narrowest it could be scoped and still work for all cases is an unfiltered Medication.

On the other hand, I don't understand why the MedicationRequest data requirement without a code filter is a logical data requirement for this artifact.

The data requirements processor can see that some Medications will be filtered by a ValueSet (those that have a CodeableConcept for medication). But other Medications that have a reference can not be filtered by a ValueSet. It's unable to distinguish in this particular context that you only care about those with CodeableConcept, so it gives you an unfiltered Medication to ensure those that have a reference are also captured. The explicit as CodeableConcept in the example I gave you is the clue it needs to remove that additional unfiltered Medication. "I know I'm talking about medication, which may be a Reference or a CodeableConcept, but I explicitly only care about the ones with a CodeableConcept, which precludes Medicaitons." It may be possible to enhance the inference there to doesn't add that additional unfiltered MedicaitonRequest. I'll have to look into that.

Based on my understanding of data requirements that's not how they are intended to be used. Rather, it's a way to share metadata about all possible data the CQL might access. This is useful for things like access-control. "User A can see MedicationRequests, but not Medications".

This interpretation seems to conflict with the discussion here: https://cql.hl7.org/05-languagesemantics.html#artifact-data-requirements
It discusses in detail how to combine/collapse data requirements in order to produce "the minimum initial data requirements for the artifact, with any overlapping requests for the same type of data collapsed into a single request descriptor."  Additionally, the presence of elements like codeFilter and dateFilter on the DataRequirement resource would indicate to me that they are meant to be used for optimal data fetching rather than primarily for access control.
The discussion in section 1.3 of the CQL Language Semantics guide is effectively exactly what we're trying to achieve, though we aren't bothering with the date filtering optimization at the moment, only the code filter so far.  For this specific example of the MedicationRequest referencing a Medication, it'd seem the Includes component of the retrieve data requirement is most relevant.  From that excerpt of the CQL guide:

Include elements for the clinical data. For data models that define relationships between data types, this element allows data matching the include relationships to be returned as part of the retrieve as well. Implementations that support this capability must ensure that included data returned is accessible via the related retrieve statements.

Though, I don't see a way to represent the include information in the FHIR resource for DataRequirement, so perhaps this is a gap with the resource definition?  I'm far from a FHIR expert, though.

Based on my understanding of data requirements that's not how they are intended to be used.

This interpretation seems to conflict with the discussion here: https://cql.hl7.org/05-languagesemantics.html#artifact-data-requirements
It'd seem the Includes component of the retrieve data requirement is most relevant. From that excerpt of the CQL guide:
Though, I don't see a way to represent the include information in the FHIR resource for DataRequirement, so perhaps this is a gap with the resource definition? I'm far from a FHIR expert, though.

I'm referring to the FHIR data requirements returned by the DataRequirements processor in question, not artifact data requirements in the CQL spec. These are two separate and distinct specifications, despite the conceptual overlap and shared nomenclature. As you've pointed out, there's not a way to do includes in the FHIR data requirements.

with any overlapping requests for the same type of data collapsed into a single request descriptor

Currently with the CQL compiler you have to set collapseDataRequirements to true on the CqlCompilerOptions to opt-in to the collapsing behavior, though in this case it would not help.

These are two separate and distinct specifications, despite the conceptual overlap and shared nomenclature.

I see, thank you for clearing up that source of confusion!
If we take the DataRequirementProcessor and FHIR out of the question, is it currently possible to implement the logic described in the CQL spec I referenced above?  We're using the cql2elm package to compile our CQL, which to my understanding utilizes the Cql2ElmVisitor class that was updated in #1228.  Is that also going to prevent us from accurately analyzing and collapsing the ELM data requirements as described in the CQL spec?

Yes, the logic for that analysis is partially implemented internally and is the source for the FHIR data requirements. Here's the package for that. In particular the ElmRequirementsVisitor may be of interest to you:
https://github.com/cqframework/clinical_quality_language/blob/master/Src/java/elm-fhir/src/main/java/org/cqframework/cql/elm/requirements/
We've yet to come up with a public API or serialization format for the ELM requirements, and includes have yet to be implemented, but you may find something useful there. We're definitely interested in support includes here it just hasn't bubbled up the backlog yet.


Split the filter popularity counting into a separate module

It makes sense for this to have it's own unit tests

Ping?


Hibernate Reactive for review

Build with ./gradlew micronautHibernateReactiveBuild
Then check build/dist/micronaut-hibernate-reactive-gradle-java.html for the instructions
for adding dependencies and testing.
This PR is prior to me adding a feature, so I want to check it's right before I go further

@dstepanov Hiya! Can you check this is all sensible?  I will eventually make it into a guide, but I want to check it's as you would expect before I work on the feature for https://github.com/micronaut-projects/micronaut-starter/pull/1307#issuecomment-1174951460

Looks fine to me. Maybe I would add some tests.

hold on though, this is not using the Micronaut Data implementation on top of Hibernate Reactive? Or is that planned for a separate guide?

We will have two guides:

Micronaut SQL Hibernate Reactive
Micronaut Data Hibernate Reactive

Notes
No Maven yet (see set up instructions for Gradle below)
SETUP INSTRUCTIONS
Build the code:
./gradlew micronautHibernateReactiveBuild

Open in intellij
idea /Users/tim/Code/GitHub/micronaut-projects/micronaut-guides/build/code/micronaut-hibernate-reactive/micronaut-hibernate-reactive-gradle-java

Edit required...
Until we can use a feature for hibernate-reactive, and the micronaut-data release 3.5.0, we need to manually set up some things.
Add the following to a clean micronaut gradle build:
in repositories
   maven { url "https://s01.oss.sonatype.org/content/repositories/snapshots/" }

in dependencies
    implementation("io.micronaut.reactor:micronaut-reactor")
    implementation(platform("io.micronaut.sql:micronaut-sql-bom:4.5.0"))
    implementation("io.micronaut.sql:micronaut-hibernate-reactive")
    implementation("io.vertx:vertx-mysql-client")
    testImplementation("org.testcontainers:testcontainers")

somewhere in build.gradle
// Pull the snapshot to fix a bug in transaction management under test
configurations.all {
    resolutionStrategy.eachDependency { details ->
        if (details.requested.group == 'io.micronaut.data') {
            details.useVersion "3.5.0-SNAPSHOT"
        }
    }
}

Project should compile, and tests should pass
Run MySql in docker (for running)
docker run -p 3306:3306 -e MYSQL_ROOT_PASSWORD=pass mysql:oracle

Run the app
./gradlew run

Test the app
$ curl http://localhost:8080
[]

$ curl -X POST \
    -d '{"name": "A genre"}' \
    -H "Content-type: application/json" \
    http://localhost:8080
{"id":1,"name":"A genre"}%

$ curl http://localhost:8080
[{"id":1,"name":"A genre"}]%


ACP Rule URL - Question

Hello,
Is there a way to add an URL to an ACPRule?
Regards,
Gabor

@banzigaga
Yes, but right now you have to build it manually.  Eventually I will add a function in the ACPRule Class which takes a list of url object names and does the work for you, just like the other supported objects.
url1 = URL(fmc=fmc1, name='_url1', url='asdf.org')
url1.post()
foo = [{"type":url1.type,"id":url1.id,"name":url1.name}]
acprule1 = ACPRule(fmc=fmc1, acp_name=acp1.name)
acprule1.urls = {"objects":foo}

Ok, thanks  @parkerbrother1 !

@parkerbrother1 have you made any progress on this?
Personally I like the separate method as it keeps things simple and the script writer doesn't need to be a programmer and/or need to know the underlying structure of the "objects" format.

I wrote some native Python to achieve this, I’ve been in the US for work for the last 5 weeks so swampped.
I’ got back yesterday, now to work out how to add a new method to fmcapi.

On 25 Aug 2019, at 19:27, daxm<EMAIL_ADDRESS>wrote:
@parkerbrother1 https://github.com/parkerbrother1 have you made any progress on this?
Personally I like the separate method as it keeps things simple and the script writer doesn't need to be a programmer and/or need to know the underlying structure of the "objects" format.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/daxm/fmcapi/issues/18?email_source=notifications&email_token=ACM6ZXVGRR4ADXDFBL3LMRLQGLFIJA5CNFSM4HXKIGHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5CZDMQ#issuecomment-524652978, or mute the thread https://github.com/notifications/unsubscribe-auth/ACM6ZXQUUISA4S3FOTOTLHLQGLFIJANCNFSM4HXKIGHA.

@karmicgeezer,
Or post your code here and I can implement it.

Hello, just asking how about this enhancement?

@NetDevAutomate, any status on your "fix" for this?

Check out the release 20200615.0.  I believe we've finally integrated the URL addition into the AccessRule class.


Add charge-lnd bonus script

Related to #4590
Adds a new bonus script for installing and configuring charge-lnd as a service on RaspiBlitz.

Implements the script bonus.charge-lnd.sh to enable or disable charge-lnd with "on" or "off" arguments.
Clones the charge-lnd repository into the bitcoin user's home directory during installation.
Configures charge-lnd with predefined policies and stores the configuration in /mnt/hdd/app-data/charge-lnd/charge.config.
Schedules charge-lnd to run every 6 hours using crontab and sets up a systemd service for continuous operation.
Provides functionality to remove charge-lnd, including stopping the systemd service, removing the service file, and cleaning up the installation directory.

For more details, open the Copilot Workspace session.

OK. Its an experimental script now that needs manual install after every RaspiBlitz update/recover.
Its using systemd-Timer instead of cron to execute it every 1h. Based on the config in:
/mnt/hdd/app-data/charge-lnd/charge.config


在不使用VT的情况下

在不使用VT的情况下  过了PG 是否可以监控 某内核地址的读 或写 硬件断点这种
实现躲避SSDT 挂钩的检测

As far as I know no one who contributes to this repo speaks Chinese. So you'll have a better chance of success asking in English. That said, I ran your question through Google translate and here are some possible things you may or may not be asking, and my answers to them:

Is it possible to hook the SSDT without using virtualization?

Yes, but Patchguard will detect it.

Is it possible to hook the SSDT without using virtualization and without Patchguard detecting it?

Only if you disable Patchguard. In theory this can be done both 'live' (on a running system) and 'offline' (patching a kernel file and booting from that). While working live Patchguard bypasses have been published in the past and will probably continue to be made, they tend to be short-lived as Microsoft patches them quickly. This is why the readme recommends an offline method such as UPGDSED.

Are there any plans to use virtualization to bypass Patchguard detection?

Not that I'm aware of. TH is an anti-anti-debugger that only happens to use rootkit mechanisms to hide its presence from user mode because this is convenient and powerful. However it is trivially detectable by free tools such as GMER which have a kernel mode component. True stealth (i.e. being a 'real' rootkit) is not a design goal; only avoiding detection by usermode anti-debuggers is.


Bipartition.edge

Hello!
i am attempting to gather information from bipartitions in trees and it would be handy to get edge information. However, i received this error:
AttributeError: 'Bipartition' object has no attribute 'edge'
Since this is specified as an option in the wiki I figured I'd ask whats happening here.
Thanks in advance.

Could you point out the place in the documentation where this is shown as the way to dereference the edge? This has to be fixed.
The correct way to dereference the edge is:
print(mle.bipartition_edge_map[split])

Here is the pagehere
I don't know how to point to a particular position on the page but its in the:
2nd paragraph of the Bipartition Encoding section
Thanks very much!

Thanks. I will update the document to reflect the current API. Hope the above works for you in the mean time.


new version of ocellus: display distance between thumbnails

it seems that the display of ocellus has been changed.

I preferred the older verison where the thumbnails have been much closer to each other like this

yea, you are right, the older version looks much nicer. The weird thing is, you shouldn't be seeing those gaps. Please do the following… reproduce the above display (the one with the ugly gaps) and let me know what display resolution is your screen. Thanks

3840 x 2160

hi @myrmoteras,
I have pushed a fix for the column gap. Please try again, but first, make sure you empty your browser cache so you get the latest stylesheet as the default caching is very aggressive. If you don't see the fix, try the following

go to https://ocellus.info/css/ocellus.min.css
then press Cmd (or Ctrl on Windows, I think) and reload the page
search (Ctrl-F) for #grid-images. If you find it, then you have the latest css
go back and reload your ocellus search

here it is .

top Firerfox that does what you want.
below Google Chrome which does it the old way.

I don't want to clear cache because there is too much inside that makes my life easier.
But what you can see is that GC has more image per row - what I prefer - and the distances between the images vary depending on the size of the window. In FF the distance does not change
https://ocellus.info/?source=all&q=Nymphalidae&page=1&size=30

yea, it should behave the same way on all the major browsers. Unfortunately there is no way for you to see it in Chrome unless you clear the cache. That is just how the computer works. I am sending it the right css but your Chrome is using the old one. If you clear the cache, it should pick up the new css. If you don't want to clear the entire cache, maybe there is a way to clear only the cache related to ocellus.info domain, but I don't know how. Try the four steps I listed above (with Chrome) and see if that helps

at some point I will. Right now I just use FF for this purpose


Top level function expression need to be parenthesized

I'm actually not sure if this is the case, but this:
(function() {})

certainly parses to:
Program { body: [ { ExpressionStatement { expression: FunctionExpression } }] }
However, that then code-gens:
function(){}
which is a syntax error (not longer a valid program since top level can't have floating unnamed functions). This used to work in 1.4.1 at least, but not in 1.6.0. To reproduce:
escodegen.generate(acorn.parse("(function(){})"))

Sorry, forgot a key thing to replicate. This only happens with Async functions. So if FunctionExpression.async === true, then you get
async function() {}
instead of
(async function(){})
This worked in 1.4.1.

@tolmasky:
Seeing the spec1, I think
async function(){}

is not a syntax error. So I think there's no need to parenthesize it.
Is  it correct?

6to5 certainly does not like an async function without parenthesis. Also, "function(){}" is a syntax error, so unless async function() {} has some sort of exception, I would expect it to be as well.

It shouldn't be a syntax error because the first token is not the first token of any statement. See the lookahead restriction for the ExpressionStatement grammar production.

Yes, function(){} is a syntax error.
But this is because when reading a token function in Program context, we cannot determine whether it's FunctionExpression or FunctionDeclaration.
As @michaelficarra described, it is standardized in 1.
But in the case of async function(){}, when async comes, we can determine the following is Expression. We can parse it as async FunctionExpression. So parentheses are not necessary.

So at the very least then it seems that the rewrite spec needs more consideration:
"
async function ?
=>
function ?{ return spawn(function*() ); }
"
That being said, I suppose I'll file this on Traceur and 6to5 instead.

@tolmasky
Ah! Good point. I missed it, thank you!
Seeing the spec, I've found that there's AsyncFunctionDeclaration.
Hm, in this case, we cannot determine
async function test() { }

is AsyncFunctionExpression or AsyncFunctionDeclaration.
First I thought async function () {} is valid because of the spec BNF. But considering the above case, now I suppose that the current spec has an issue about it.
@michaelficarra, what do you think about it?

See my edit above. I came to the same conclusion.

@michaelficarra Thank you!
@tolmasky :
Great! It's a spec & escodegen's bug.
I'd recommend you to file this in 1, it improves the ES7 spec!
And we need to fix it in escodegen!

Done. Thank you :)
This implementation will be improved when code generator with state is landed.

Published as 1.6.1.

I've filed https://github.com/lukehoban/ecmascript-asyncawait/issues/28.

@michaelficarra Great!


Warning problems corrections + format corrections

My first commit before give you help on your project.
We use Podam on all our projects in my job in PagesJaunes (french famous website).
I specilly am interested to work on @Pattern annotation : we use it a lot.

Codecov Report

Merging #254 into develop will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop     #254   +/-   ##
==========================================
  Coverage      90.38%   90.38%
  Complexity       576      576
==========================================
  Files             42       42
  Lines           1727     1727
  Branches         345      345
==========================================
  Hits            1561     1561
  Misses           105      105
  Partials          61       61

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 37feb12...fb5a6fc. Read the comment docs.

Sorry but I don't understand errors ...
with JDK 1.6 : all test are OK ("mvn clean verify")
with JDK 1.8 : all test are OK (Travis) => command launched OK : "mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V"
with JDK 1.7 : errors with Travis ?! => command launched KO : "mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V"
mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
NB: JAVA_HOME should point to a JDK not a JRE
With 1.7 environment, it seems to have a pb with JAVA_HOME variable, no ?

Thank you for you patch. oraclejdk7 doesn't seem to be supported by Travis any more and they suggest to switch to openjdk7 instead.

OK. thanks for your explain.
Do you think you could accept my PullRequest ?

Yes, but could you incorporate the fix in .travis.yml and could you please make a pull request against develop branch. Also I don't think double empty lines separating methods is a formatting problem. Rather this is a good thing helping to avoid conflicts sometimes.

OK. I will correct these things.
Sorry, it's my automatic formatter deleted "double empty lines". I will disable my automatic formatter for this project :)

I cancel this pull request and submit new PR.


Connected UserSignupPage, UserWaitingPage, and UserWaitingStatus to the backend

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Modified fetch method in user signup page to post form input to backend when joined
Added fetch method in user waiting status to get waiting status every minute
Allowed to redirect with user registration info and joined time while joining

What is the current behavior? (You can also link to an open issue here)

What is the new behavior (if this is a feature change)?

Other information:


setxAxisTickLabelsFormattingFunction not working as expected in XYChart

I have the following chart and I want to hide every 2 tick labels on the x-axis.

The expected output should be:

I used the setxAxisTickLabelsFormattingFunction method as follows:
import org.knowm.xchart.QuickChart;
import org.knowm.xchart.SwingWrapper;
import org.knowm.xchart.XYChart;

public class App {
    public static void main(String[] args) throws Exception {
        double[] yData = new double[] { 100, 90, 90, 89, 80, 101, 102, 99 };

        // Create Chart
        XYChart chart = QuickChart.getChart("Sample Chart", "X", "Y", "y(x)", null, yData);

        // hide every 2 xtick labels
        chart.getStyler().setxAxisTickLabelsFormattingFunction(x -> x.intValue() % 2 == 0 ? String.valueOf(x) : " ");

        // Show it
        new SwingWrapper(chart).displayChart();
    }
}

The resulting incorrect chart is:

If I change the formatting function to x -> x.intValue() % 2 == 0 ? String.valueOf(x) : "skip", the resulting chart becomes:

It seems that there are only 2 unique values of x that are passed to the formatting function instead of 8.
How can I achieve my desired output? Thanks.
Note: I am using xchart-3.8.5.jar.

A random guess without looking into the code. Could it be because this:

x.intValue() % 2

gets rounded down to smaller integer due to Double imprecision?
I.e. aren't you effectively performing a comparison with == on Doubles?

I don't think x.intValue() is the issue. If I simply use x -> String.valueOf(x.intValue()) as my formatting function, the x-axis tick labels seem fine (no rounding off issues):

The problem seem to be that setxAxisTickLabelsFormattingFunction expects the formatting function to return a unique string for each x.

Formatting function
Expected behavior
Result

x -> x.intValue() % 2 == 0 ? String.valueOf(x) : " "
Hide all odd tick labels
Missing tick labels because the function returns the same empty string for odd values of x

x -> String.valueOf(x.intValue())
Show all tick labels
Works as expected with no missing labels because each value of x returns a unique string.

x -> x.intValue() % 2 == 0 ? String.valueOf(x.intValue()) : String.valueOf(-x.intValue())
Show negative value of x when x is odd
Works as expected with no missing labels because each value of x returns a unique string.

This behavior of setxAxisTickLabelsFormattingFunction does not seem to be documented anywhere.

We have the same problem. Does it make sense to automatically calculate the position and visibility for "Custom-Labels"?