text:
Get Nav2: offNamed does not remove controller

Describe the bug

Get.rootDelegate.offNamed does not remove the controller from the current route from memory.
initialRoute in GetRouterOutlet does not put the route defined in this property in the navigation history

**Reproduction code
import 'package:flutter/material.dart';
import 'package:get/get.dart';

void main() {
  runApp(GetMaterialApp.router(
    getPages: [
      GetPage(
        name: '/',
        page: () => RootPage(),
        participatesInRootNavigator: true,
        children: [
          GetPage(
            name: '/splash',
            page: () => SplashPage(),
            binding: SplashBinding(),
          ),
          GetPage(
            name: '/login',
            page: () => LoginPage(),
            binding: LoginBinding(),
          ),
          GetPage(
            name: '/home',
            page: () => HomePage(),
            binding: HomeBinding(),
          ),
        ],
      ),
    ],
  ));
}

/* ROOT */
class RootPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return GetRouterOutlet.builder(
      builder: (context, delegate, current) {
        final title = current?.location;
        print(title);
        return Scaffold(
          appBar: AppBar(title: Text(title ?? '')),
          body: GetRouterOutlet(
            initialRoute: '/splash',
          ),
        );
      },
    );
  }
}

/* SPLASHSCREEN */
class SplashBinding implements Bindings {
  @override
  void dependencies() {
    Get.put(SplashController());
  }
}

class SplashController extends GetxController {
  void gotoLogin() async {
    Get.rootDelegate.offNamed('/login');
  }
}

class SplashPage extends GetView<SplashController> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: ElevatedButton(
          onPressed: () => controller.gotoLogin(),
          child: Text('Go Login'),
        ),
      ),
    );
  }
}

/* LOGIN */
class LoginBinding implements Bindings {
  @override
  void dependencies() {
    Get.put(LoginController());
  }
}

class LoginController extends GetxController {
  gotoHome() {
    Get.rootDelegate.offNamed('/home');
  }
}

class LoginPage extends GetView<LoginController> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: ElevatedButton(
          onPressed: () => controller.gotoHome(),
          child: Text('Go Home'),
        ),
      ),
    );
  }
}

/* HOME */
class HomeBinding implements Bindings {
  @override
  void dependencies() {
    Get.put(HomeController());
  }
}

class HomeController extends GetxController {
  gotoBackSplash() {
    Get.rootDelegate.offNamed('/splash');
  }

  gotoBackLogin() {
    Get.rootDelegate.offNamed('/login');
  }
}

class HomePage extends GetView<HomeController> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            ElevatedButton(
              onPressed: () => controller.gotoBackSplash(),
              child: Text('Back to Splash'),
            ),
            ElevatedButton(
              onPressed: () => controller.gotoBackLogin(),
              child: Text('Back to Login'),
            )
          ],
        ),
      ),
    );
  }
}

To Reproduce
Steps to reproduce the behavior:

Click on each screen button

Expected behavior

The controller should be removed with offNamed
In AppBar it should show /splash when starting the App

Screenshots

Flutter Version:
Flutter 2.2.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision f4abaa0735 (4 weeks ago) • 2021-07-01 12:46:11 -0700
Engine • revision 241c87ad80
Tools • Dart 2.13.4
Getx Version:
Branch Master of Getx Repository
Describe on which device you found the bug:
iOS Simulator (iPhone 12 Pro Max)

@ahmednfwela

sorry for the late reply, can you check if this code solves your case ? (I only added ForceNavigateToRouteMiddleware)
tested on: get: 4.3.6
import 'package:flutter/material.dart';
import 'package:get/get.dart';

class ForceNavigateToRouteMiddleware extends GetMiddleware {
  final String from;
  final String to;

  ForceNavigateToRouteMiddleware({
    required this.from,
    required this.to,
  });

  @override
  Future<GetNavConfig?> redirectDelegate(GetNavConfig route) async {
    if (route.location == from) {
      return GetNavConfig.fromRoute(to);
    }
    return route;
  }
}

void main() {
  runApp(
    GetMaterialApp.router(
      getPages: [
        GetPage(
          name: '/',
          page: () => RootPage(),
          participatesInRootNavigator: true,
          middlewares: [
            ForceNavigateToRouteMiddleware(from: '/', to: '/splash'),
          ],
          children: [
            GetPage(
              name: '/splash',
              page: () => SplashPage(),
              binding: SplashBinding(),
            ),
            GetPage(
              name: '/login',
              page: () => LoginPage(),
              binding: LoginBinding(),
            ),
            GetPage(
              name: '/home',
              page: () => HomePage(),
              binding: HomeBinding(),
            ),
          ],
        ),
      ],
    ),
  );
}

/* ROOT */
class RootPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return GetRouterOutlet.builder(
      builder: (context, delegate, current) {
        final title = current?.location;
        print(title);
        return Scaffold(
          appBar: AppBar(title: Text(title ?? '')),
          body: GetRouterOutlet(
            initialRoute: '/splash',
            anchorRoute: '/',
          ),
        );
      },
    );
  }
}

/* SPLASHSCREEN */
class SplashBinding implements Bindings {
  @override
  void dependencies() {
    Get.put(SplashController());
  }
}

class SplashController extends GetxController {
  void gotoLogin() async {
    Get.rootDelegate.offNamed('/login');
  }
}

class SplashPage extends GetView<SplashController> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: ElevatedButton(
          onPressed: () => controller.gotoLogin(),
          child: Text('Go Login'),
        ),
      ),
    );
  }
}

/* LOGIN */
class LoginBinding implements Bindings {
  @override
  void dependencies() {
    Get.put(LoginController());
  }
}

class LoginController extends GetxController {
  gotoHome() {
    Get.rootDelegate.offNamed('/home');
  }
}

class LoginPage extends GetView<LoginController> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: ElevatedButton(
          onPressed: () => controller.gotoHome(),
          child: Text('Go Home'),
        ),
      ),
    );
  }
}

/* HOME */
class HomeBinding implements Bindings {
  @override
  void dependencies() {
    Get.put(HomeController());
  }
}

class HomeController extends GetxController {
  gotoBackSplash() {
    Get.rootDelegate.offNamed('/splash');
  }

  gotoBackLogin() {
    Get.rootDelegate.offNamed('/login');
  }
}

class HomePage extends GetView<HomeController> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            ElevatedButton(
              onPressed: () => controller.gotoBackSplash(),
              child: Text('Back to Splash'),
            ),
            ElevatedButton(
              onPressed: () => controller.gotoBackLogin(),
              child: Text('Back to Login'),
            )
          ],
        ),
      ),
    );
  }
}

Editing ForceNavigateToRouteMiddleware I was able to get redirected to a predefined page (404 or notFoundPage) for when the user enters an unknown route (unknownRoute is not working for me according to the nav2 example)
I do not know if my approach is fine but there it serves someone else so I share it.
class ForceNavigateToRouteMiddleware extends GetMiddleware {
  final String from;
  final String to;

  ForceNavigateToRouteMiddleware({
    required this.from,
    required this.to,
  });

  @override
  Future<GetNavConfig?> redirectDelegate(GetNavConfig route) async {
    var pos =
        route.currentTreeBranch.indexWhere((p) => p.name == route.location);
    if (pos == -1) {
      return GetNavConfig.fromRoute('/404');
    }
    if (route.location == from) {
      return GetNavConfig.fromRoute(to);
    }
    return route;
  }
}

I also leave my AppPage
class AppPages {
  AppPages._();

  static const INITIAL = Routes.HOME;

  static final routes = [
    GetPage(
      name: '/',
      page: () => RootPage(),
      participatesInRootNavigator: true,
      middlewares: [
        ForceNavigateToRouteMiddleware(from: '/', to: '/splash'),
      ],
      children: [
        GetPage(
          name: '/splash',
          page: () => SplashPage(),
          binding: SplashBinding(),
          preventDuplicates: true,
        ),
        GetPage(
          name: '/login',
          page: () => LoginPage(),
          binding: LoginBinding(),
          preventDuplicates: true,
          middlewares: [
            EnsureNotAuthedMiddleware(),
          ],
        ),
        GetPage(
          name: '/home',
          page: () => HomePage(),
          binding: HomeBinding(),
          preventDuplicates: true,
        ),
      ],
    ),
    GetPage(
      name: '/404',
      page: () => const NotFoundView(),
    ),
  ];
}

repo: jonataslaw/getx


text:
FilterChip not update!

      //  rpc is Controller.
       Container(
        height: 200,
        child: Obx(
          () => ListView(
            children: [
              for (int i = 0; i < rpc.allPlayers.length; i++)
                FilterChip(
                  selected: rpc.allPlayers[i].isSelect,
                  label: Text(rpc.allPlayers[i].player,
                      style: const TextStyle(color: Colors.white)),
                  avatar: const FlutterLogo(),
                  elevation: 10,
                  pressElevation: 5,
                  shadowColor: Colors.teal,
                  backgroundColor: Colors.black54,
                  selectedColor: Colors.blue,
                  onSelected: (bool selected) {
                    print(selected);
                    rpc.allPlayers[i].isSelect = selected;
                  },
                ),
            ],
          ),
        ),
      ),

when select not update!
when Hot reload then update.
how to solve?
Thanks.

Please wrap your FilterChip widget over obx

Please wrap your FilterChip widget inside obx

Sorry still not working..
but setstate method working.
Getx not working.

Can you share your controller code?

ya please wait

rpc.allPlayers.refresh() use this whenever any change within.

The method 'refresh' isn't defined for the type 'List'.

Please mention getx and flutter version

Oh ... Thanks for help!!!
now Works. when Use " rpc.refresh();"
But Show alert.
The member 'refresh' can only be used within instance members of subclasses of 'package:get/get_state_manager/src/simple/list_notifier.dart'.

Please mention getx and flutter vesrion

[√] Flutter (Channel unknown, 2.5.3, on Microsoft Windows [Version 10.0.19041.329], locale en-IN)
• Flutter version 2.5.3 at C:\flutter
• Upstream repository unknown
• Framework revision 18116933e7 (5 months ago), 2021-10-15 10:46:35 -0700
• Engine revision d3ea636dc5
• Dart version 2.14.4
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at C:\ANDROID_SDK_HOME\Sdk
• Platform android-31, build-tools 30.0.3
• ANDROID_HOME = C:\ANDROID_SDK_HOME\Sdk
• 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
[X] Visual Studio - develop for Windows
X Visual Studio not installed; this is necessary for Windows development.
Download at https://visualstudio.microsoft.com/downloads/.
Please install the "Desktop development with C++" workload, including all of its default components
[√] 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)
[√] VS Code (version 1.65.0)
• VS Code at C:\Users\user\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.36.0
[√] Connected device (3 available)
• SM J710F (mobile) • 5203bac95ee3b37b • android-arm    • Android 8.1.0 (API 27)
• Windows (desktop) • windows          • windows-x64    • Microsoft Windows [Version 10.0.19041.329]
• Chrome (web)      • chrome           • web-javascript • Google Chrome 99.0.4844.51

get: ^4.6.1

RxList allPlayers = [].obs;

when using RxList allPlayers = [].obs; Got error Model class
when using RxList<Player> allPlayers = <Player>[].obs;
not woring

  Container(
	height: height * .3,
	child: ListView(
	  children: [
		for (int i = 0; i < rpc.allPlayers.length; i++)
		  Obx(
			() => FilterChip(
			  selected: rpc.allPlayers[i].isSelect,
			  label: Text(rpc.allPlayers[i].player,
				  style: const TextStyle(color: Colors.white)),
			  avatar: const FlutterLogo(),
			  elevation: 10,
			  pressElevation: 5,
			  shadowColor: Colors.teal,
			  backgroundColor: Colors.black54,
			  selectedColor: Colors.blue,
			  onSelected: (bool selected) {
				print(selected);
				rpc.allPlayers[i].isSelect = selected;
				// using this works
				rpc.refresh();
			  },
			),
		  ),
	  ],
	),
  ),

class PlayerModel {
  int id;
  String player;
  bool isSelect = false;
  PlayerModel({
    required this.id,
    required this.player,
    required this.isSelect,
  });

  PlayerModel copyWith({
    int? id,
    String? player,
    bool? isSelect,
  }) {
    return PlayerModel(
      id: id ?? this.id,
      player: player ?? this.player,
      isSelect: isSelect ?? this.isSelect,
    );
  }

  Map<String, dynamic> toMap() {
    return {
      'id': id,
      'player': player,
      'isSelect': isSelect,
    };
  }

  factory PlayerModel.fromMap(Map<String, dynamic> map) {
    return PlayerModel(
      id: map['id']?.toInt() ?? 0,
      player: map['player'] ?? '',
      isSelect: map['isSelect'] ?? false,
    );
  }

  String toJson() => json.encode(toMap());

  factory PlayerModel.fromJson(String source) =>
      PlayerModel.fromMap(json.decode(source));

  @override
  String toString() =>
      'PlayerModel(id: $id, player: $player, isSelect: $isSelect)';

  @override
  bool operator ==(Object other) {
    if (identical(this, other)) return true;

    return other is PlayerModel &&
        other.id == id &&
        other.player == player &&
        other.isSelect == isSelect;
  }

  @override
  int get hashCode => id.hashCode ^ player.hashCode ^ isSelect.hashCode;
}

class RpcController extends GetxController {
  RxList<PlayerModel> allplayers = <PlayerModel>[].obs;
  @override
  void onInit() {
    allplayers.add(PlayerModel(
      id: 1,
      player: 'John',
      isSelect: false,
    ));
    super.onInit();
  }
}

class RpcView extends GetView<RpcController> {
  const RpcView({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('RpcView'),
        centerTitle: true,
      ),
      body: SizedBox(
        height: 200,
        child: Obx(() => ListView(
              children: [
                for (var i = 0; i < controller.allplayers.length; i++)
                  FilterChip(
                      label: Text(controller.allplayers[i].player),
                      selected: controller.allplayers[i].isSelect,
                      selectedColor: Colors.blue,
                      onSelected: (bool selected) {
                        controller.allplayers[i].isSelect = selected;
                     ///TODO:Please make sure refresh the list
                        controller.allplayers.refresh();
                      })
              ],
            )),
      ),
    );
  }
}

I think it will fix your problem without warning. If fixed close the issue.

I think it will fix your problem without warning. If fixed close the issue.

ya.. its working now without alert.
Thanks again.

source: gharchive/issue

authors: Shreemanarjun ashokavarthanan

license: MIT

license_type: permissive

license_source: github-api


text:
Clearing marker from search result when entering a new search

Hello @jonataswalker, thank you for providing the ol-geocoder.
We used the code to get an address search function for our map in our project.
Now we want to add the function, that if there is a new search entered, the old markers should automatically be cleared from the OSM map and the new search result should show up. At the moment, all the markers are staying on the map.
Is there a solution to clear the markers from the search results?
Regards

Hi @TobiCook
Something like this?
geocoder.on('addresschosen', function (evt) {
  console.info(evt);
  geocoder.getSource().clear();
  geocoder.getSource().addFeature(evt.feature);
});

http://jsfiddle.net/jonataswalker/bq30mnwt/

authors: TobiCook jonataswalker

repo: jonataswalker/ol-geocoder


text:
Multiple preheat timers

Maybe even have each oven timer support an integrated preheat timing mode?

Other option is just have two preheat scenes that are independent. This might actually be an easier interface for the user rather than having a "pop up" interface when setting a timer. And one option doesn't exclude the other.

repo: jonbirge/ecochef


text:
🛑 AL - Albania is down

In 85f5ecf, AL - Albania (https://www.skyshowtime.com/al/help/) was down:

HTTP code: 404
Response time: 940 ms

Resolved: AL - Albania is back up in fcf437c after 20 minutes.

repo: jonesyriffic/gsp-sst


text:
superagent 1.1.0 vs 3.8.2

Changing the superagent dependency is breaking our application (running on node 0.12), as the main version of this package was not changed. We are using inline-css, which depends on extract-css, href-content and at the end remote-content.
Please revert the superagent to 1.1.0 in the v1.x.x versions.

Node v0.12 reached end of life at the end of 2016 and is no longer supported. If you can't upgrade Node, my suggestion is to fix the version of this package to 1.0.1.

We cannot downgrade your package, as the dependency is in a package which is a dependency of an other package...
I am asking you to fix your versioning according to semver.
I know that node v0.12 is not supported, and our upgrade is ongoing, but until then we cannot deploy our app.

I would argue that I am not violating semver because there were no breaking changes in this module. Tests are passing for all currently supported versions of node.
This dependency is four levels deep so I would have to bump the major version for four modules to do what you are asking, all with no breaking code changes so that you can stay on a version of node that has not been supported in over a year. My apologies but I am not currently inclined to do that.
You can fork the modules and have npm pull from your repo and then you should be able to deploy.

You are right in that we are using an outdated node version.
For quick fix we use npm-shrinkwrap.json.
Thanks.

authors: csstoia jonkemp

repo: jonkemp/remote-content

license: mit

license_source: bigquery


text:
debugging

Hello, I really like this project, and now I have a confusion about the windbg debugging issue. In another not very well-refined codebase, I can set breakpoints in the Vm-Exit process, but that code doesn't handle many bugs. Therefore, I have been studying your project. Could you please help me understand why, after enabling virtualization, interruptions by windbg in this code lead to a crash?

The reason is because the host has its own interrupt descriptor table. Other hypervisors simply share the guest IDT, which is not a good idea.

I really like this project，I also want to know how to debug the exit host。I hope you can help me. Thank you very much

authors: godpassword jonomango louiswu2

repo: jonomango/hv


text:
Not handling IE conditionals

Which I believe is fixed in html-minifer version 3.1.1 so can the version be raised to reflect this please.

Sorry, seems this was fixed in 1.3.0 so please ignore.

repo: jonschlinkert/gulp-htmlmin


text:
small Dockerfile improvements

This PR improves the following points in the Dockerfile:

build exact git tag instead of the current master
update of the current golang build environment from 1.9.2 to 1.11.4
use scratch instead of an alpine image
run container as user 1000 (instead of root)
change listening ports from system ports 53, 80, 443 to 5353, 8080, 8443

WARNING - this PR contains breaking changes in the Dockerfile
The container that is started from the image that is built from this Dockerfile is running as user 1000 instead of root (0). As a non root user cannot (per default) listen on system ports (<1024), I had to change them to ones that are higher than 1024. In this case 5353, 8080.
Updates from older versions should not be a problem, as long as the user 1000 or the group 0 has read permissions on the config file, write permissions on the sqlite db file and the listening ports are higher than 1024.

Coverage remained the same at 92.903% when pulling 6fd21c3c9c1b74efd0eb2a58052323b730375c66 on schue30:master into ea4d125663b9cea0057ba7c1c0b12f4226847f40 on joohoi:master.

Ok, this PR looks good. I had to pick the Go base image line from this PR for the work done in #147  so there's a merge conflict for that line, I'm sorry.
In addition to the merge conflict resolution, I think we should update the README to point to the new port configuration in: https://github.com/joohoi/acme-dns#using-docker

Ping @schue30 are you interested to continue working on this PR or can someone else continue from here on? I would love to hear your opinion especially about the volume change, I'm not a Docker expert by any means myself.

Pong @joohoi

Thanks for all the work you've put into this @schue30 and @tcely ! Looks robust. I'm still wondering how to notify the current Docker users of acme-dns about the breaking changes. What's the usual process?

Regarding communication, normally I'd suggest a major version bump as a way of denoting that the changes could break stuff. In this case though it doesn't seem like there are any changes to acme-dns itself, just to the docker container. So I guess you could just bump the docker container version, but then it'd be out of sync with the acme-dns version. Hmm...

Thanks for all the work you've put into this @schue30 and @tcely ! Looks robust. I'm still wondering how to notify the current Docker users of acme-dns about the breaking changes. What's the usual process?

I'm not sure we can do any better than a note at the top of the README.md file.

I see that breaking changes stop this PR from being merged. There are ways to accomplish nearly the same without breaking changes.

File permissions problem: Start container as root with a new entrypoint script. The new entrypoint script ensures correct file permissions on every startup and then drops root with e.g. gosu. This is common practice in several Docker images.
Port problem: use old ports (80, etc) and add container capability NET_BIND_SERVICE so non-root processes can open lower ports in this container. (As explained in Docker security documentation)

Hey folks, i've just implemented my self-hosted acme-dns instance into production using the modified version of the Dockerfile: https://github.com/joohoi/acme-dns/commit/43c4f1bef8a695ffa7686730dbff9bfa44fd9189
I don't want to create a PR yet as i see you are trying to solve similar docker image improvements here. My proposal is to use a multi stage docker build using the scratch as a final image. This has following features:

resulting image contains only the acme-dns binary
much more secure and decreased attack surface by using the scratch image
backward compatible with the old image

This solves all the previous implementation discussions that should be rather solved by outside of the project:

USER/uid discussion - you don't need to solve this for scratch images
EXPOSE/VOLUME - those are exposed/mapped overriden at the container runtime and are implementation-specific. In the Dockerfile they have practically only informational purpose.
config shouldn't be included in the docker image as the default one is not possible to use for the real implementation either

I think this can significantly your whole workflow.

Root in scratch image is fine for my level of paranoia.
Would make things much more simple.

source: gharchive/pull-request

authors: Ajedi32 coveralls joohoi sbocinec schue30 tcely zokradonh

repo: joohoi/acme-dns


text:
Issue 388: interop with MonsterBlocks & dnd5.DNDBeyondNPCSheet

Proposed fix for incorporating support for filtering out feats and abilities as defined by dnd5.DNDBeyondNPCSheet.
Behaviors:

Filter out the following items since they are not loot or weapons:
type = 'feat' and system.weaponType = 'natural'
Ensure weight, price, and quantity counts reflect the filtered out types

Tested and verified behaviors for monsters with feats and melee "weapon" abilities.

Looks good. I'll merge this later today. Thanks for the help. I never use the sheet for loot of monsters after the fact, only ever merchants or chests, so I never really noticed this issue before 😀

authors: FeistyMango jopeek


text:
test: add tests for template selector

Related #8

Looks good @nishantwrp. The merge is yours!

authors: CalebJohn nishantwrp

repo: joplin/plugin-templates


text:
[Help Needed] Fix support for other languages

More information on: https://github.com/jorge-menjivar/unSAGED/issues/47 and https://github.com/jorge-menjivar/unSAGED/issues/73
Result:
Multiple language redirect should work.

Maybe this could help? https://github.com/vercel/next.js/discussions/18419
I'm absolutely newbie with next.js... but interested in this fix... so if I would like to help

repo: jorge-menjivar/unsaged


text:
Improve documentation

I would like to review the docs and explain also de concepts behind some decisions.
Things needed to explain:

DDD objectives and reasons why.
Core concepts like

bounded context
anti corruption layer
domain
value objects VS entities
aggregates
aggregate root
layered architecture and each one responsibility
reasons for the command and query bus
the event driven design
the application workflow
symfony messenger routing and testing
read and write models

Add examples about advanced topics

I am counting the hours to read that documentation! Thank @jorge07 very much for everything you contribute to the community.

After close #194 and #193 this is my next task to pick. Will take long, so I'll probably have a branch with the doc to be reviewed over time

@all-contributors please add @Lutacon for code

@all-contributors please add @cv65kr for code

@all-contributors please add @kowalk for code

@all-contributors please add @patrykwozinski for code

@all-contributors please add @jon-ht for code


text:
Add notice on mainenance bandwidth to readme

Closes https://github.com/jorgecarleitao/arrow2/issues/1429
This PR clarifies for current and potential future users that the current maintenance bandwidth for this crate is very limited.  Related to @tustvold 's proposal on https://github.com/jorgecarleitao/arrow2/pull/1464
I also hope it might encourage other current users of arrow2 to offer to help maintain the crate if that is valuable to them.

Hey Andrew. Thanks for the PR. I think I can find myself more in this. I am / Polars is willing to maintain arrow2 as it is a huge dependency for us. If we can work out a way to get the API working on arrow-rs, I might consider a switch, but the capacity is not here at the moment.
I think you can mention that development here is slower paced than on arrow-rs. I am definitely willing to fix bugs as I encounter them though. I think that only the development of new features is rather stalled.

Given I don't really know what your plans are maybe we should just close this PR as not helpful.

Yes, I don't think it per se helps much. :) I will close this and reconsider it once/if we are further in the transition process. Let's wait out a bit.

Yeap, it's on my stack. :)

@ritchie46 I noticed the addition of nano-arrow crate to polars (https://github.com/pola-rs/polars/pull/11179). Does this mean that arrow2 will receive low maintenance bandwidth going forward? If so then perhaps we can re-open this PR and update the readme.

In case anyone else finds this issue:
I believe that pola-rs is  vendoring (aka brought a snapshot of the arrow2 code into their codebase):

arrow2 https://github.com/pola-rs/polars/pull/11179
parquet2 https://github.com/pola-rs/polars/pull/12026

Yes, @alamb is correct, we started vendoring in polars and repelling anything we don't use. See our notice here: https://github.com/pola-rs/polars/pull/11179

Related discussion: https://github.com/jorgecarleitao/arrow2/issues/1429

authors: alamb mnpw ritchie46


text:
cloudflare issue, already login to chatGPT but still show haven't login

what version of chrome and the extension are you using

what version of chrome and the extension are you using

Latest one

Check Extensions - ChatGPT for Search Engine - Details - Site access, is it set to On all sites?
And is the option Allow access to file URLs enabled?

Check Extensions - ChatGPT for Search Engine - Details - Site access, is it set to On all sites? And is the option Allow access to file URLs enabled?

Yes it is. (I have the same issue)

This is very strange, I'm afraid I need a computer that can reproduce this issue, or someone to debug the source code.

Install the new extension at chrome web store: https://chrome.google.com/webstore/detail/chatgptbox/eobbhoofkanlmddnplfhnmkfbnlhpbbo
If there are still some problems, just tell me.

authors: erfan-mehraban josStorer sohaiBiu99


text:
Fix prints in entrypoints

Looks like you didn't update the echos

Haha, thanks for catching that. My bad.

authors: Tadaboody josephbmanley

repo: josephbmanley/build-godot-action


text:
Reduce lineup reloads

Implement the functionality needed to avoid reloading the lineup in the following scenarios:

[x] Loading a new page to the end of the lineup
[x] Moving a page around in the lineup (should only refresh the page moved and those following it)

Any others?

Looks like a4898d012415ecda0e7e7a2cdcd3bd9e78570e2c fixed both. Closing this issue.

repo: joshuabenuck/seran-wiki


text:
feat: update visibility

This adds in a few more comments than intended due to odd rebasing. Ah well.
Anyways, this adds in visibility changes which allows for someone to set the visibility of the tilemap which then gets set for all chunks.

Tests are broken but are fixed post botched rebases.


text:
Timing parameters

How does this library handle timings like Mark and Break?

Hi! Could you elaborate a bit further on your question? Are you referring to how the library handles Mark and Break conditions when receiving or when sending?

Yes, I can't see anything in the code how you handle the Break and MAB (Mark after Break).

The handling of MAB and break conditions is not explicitly handled in the C code itself. The Programmable IO (PIO) modules handle the specific timing requirements for the DMX protocol. The assembly code for DMX output and input can be found here.
For DMX output, the PIO module automatically transmits a Break and MAB every time a new frame is transmitted. As soon as the Break and MAB are transmitted, the PIO module starts pulling bytes from memory using DMA.
For DMX input, The PIO actively checks for a break condition on the DMX line. If the line is continuously kept low for more than 90 microseconds, a break condition is asserted. The PIO then waits for the MAB and first start bit before it starts reading bytes from the frame.

Ok, this helps. Is there a way to made Break and MAB timing configurable easily?

Unfortunately, no...
The timing parameters are embedded in the PIO assembly code, so configuration of Break and MAB timing requires you to edit and re-assemble the PIO assembly code.
It is possible, but not particularly easy

Thank you. I will test the library soon.

authors: jostlowe sstaub

repo: jostlowe/Pico-DMX


text:
feat: (breaking) api overhaul

I wanted to get your feedback on some of the changes. some tests are still breaking here.
My idea was to use as much from tanstack query as possible with very little implementation in jotai. With this, I've setup conditions which make suspense work only if suspense is true. tanstack query wants users to be explicit about suspense. Even in v5, they're creating new hooks (useSuspenseQuery) rather than making suspense default. This goes against jotai's default implementation? useAtom throws promise be default if it receives a promise.
Another one is refetch. some of the tests indicate that refetch triggers suspense but that's different from tanstack query. tanstack query does not trigger suspense when a query is refetching.

Even in v5, they're creating new hooks (useSuspenseQuery) rather than making suspense default.

In that case, the better abstraction might be separating atomWithQuery and atomWithSuspenseQuery.

And, it feels like the new jotai-tanstanck-query version should use v5, no?

Even in v5, they're creating new hooks (useSuspenseQuery) rather than making suspense default.

In that case, the better abstraction might be separating atomWithQuery and atomWithSuspenseQuery.

I agree.

And, it feels like the new jotai-tanstanck-query version should use v5, no?

they released a release candidate 2 days ago. I think the work I'm doing can work for both v4 and v5 with very little changes.

In that case, the better abstraction might be separating atomWithQuery and atomWithSuspenseQuery.

I agree.

Let's try that then.

they released a release candidate 2 days ago. I think the work I'm doing can work for both v4 and v5 with very little changes.

Do you want to continue supporting v4 for your new api? I think it can only be for v5.

I'm going the route of separating creating atomWithQuery and atomWithSuspenseQuery. will do the same for other *WithQueries as well.
atomWithQuery passes all tests. I've adjusted the tests to keep them inline with tanstack/query functionality.
created a new component QueryAtomErrorResetBoundary, to use in the place of QueryErrorResetBoundary from tanstack. tanstack's boundary uses context. I don't think we can use that directly within jotai atoms. tanstack-reference

@dai-shi everything except resetting error boundary support is done.
main changes:

moved to v5
separated suspense vs non-suspense

let me know what you think

Hi, thanks for working on this.
I can't review everything, but looking at atomWithQuery and its related code, it generally looks good. Great work!
I would like to discuss one fundamental idea. Sorry, if I raise it too late.
I don't remember which issues/discussions/chats we discussed,
but someone suggested to use query cache as the source of truth.
So, instead of creating query observer in each atom, we directly subscribe to query cache.
How does that sound? We would like to consider if it's a viable solution.

I've looked into QueryCache and realized there's a lot of functionality that QueryObserver implements in terms of returing promises, conditionally fetching/pausing which we'll have to implement. We'd have to build our own QueryObserver.
While refactoring, I have tried to replicate the logic that tanstack hooks perform, in atoms. And in this process, I'm questioning that statement that 'query observer might not be a reliable source of truth'. I've been trying to add tests as issues come up. (most recent "on reset, atom wasn't suspending" - raised in discord)
For now, I haven't seen anything that points towards queryobserver not being reliable.

@kalijonn Can you join my Discord server and DM me? https://discord.gg/MrQdmzd

For now, I haven't seen anything that points towards queryobserver not being reliable.

Sounds good. If you considered it and the current conclusion is so, it's perfect.

@dai-shi I might install this on my side project; give it a shot and feedback. Any preferred channel ?

That would be great! Please open a new issue in this repo for the feedback.
You can install from the csb build. See "Local Install Instructions" in: https://ci.codesandbox.io/status/jotaijs/jotai-tanstack-query/pr/45
BTW, from now on, @kalijonn will be a new maintainer of this package.

authors: dai-shi kalijonn

repo: jotaijs/jotai-tanstack-query


text:
Add syntax for version numbers

As part of the header separator?
1.0=

=1.0

Alternately, the first line could specify the version info:
tablo/1.0
"Artist", "Album", "Song", "Downloads"
=

If a file does not have a version specifier, it is interpreted as the latest version the parser can read. If a file does have a version specifier, parser behavior depends on whether the file's version is newer or older than the parser's version. A parser with a version older than the file's version should not parse the file. (An optional flag to attempt parsing in a compatibility mode may be used.) A parser newer than the file's version should parse the file using the parsing rules from the older version of the format.

repo: jotjotdotio/tablo


text:
🛑 Upfos Indonesia is down

In 2cc9af8, Upfos Indonesia (https://upfos.co.id) was down:

HTTP code: 500
Response time: 2008 ms

Resolved: Upfos Indonesia is back up in 304fd64.

repo: jourjet/upptime


text:
Workaround pycord error

Getting PR ready in case pycord dependency issue is not actually resolved.

you want me to delete this?!

fixed with https://github.com/jp00p/AGIMUS/pull/143


text:
"Weight" manquant

Il semble manquer l'attribut "weight" dans la réponse de
https://caissy.dev/shops/products

:see_no_evil:
Effectivement! Je vais le rajouter immédiatement.

C'est corrigé. Merci d'avoir ouvert un issue!

authors: bouhrassa jpcaissy


text:
Update README.md

Basic HTTP authentication didn't kick in for me. So I wandered through the code and found HTTP_USER / HTTP_PASS to be the correct environment variables.
Love this tool!
Cheers

Thanks!

authors: bucha jpillora

repo: jpillora/docker-dnsmasq


text:
🛑 Launch Morrisville is down

In f9e239d, Launch Morrisville (https://LaunchMorrisville.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Launch Morrisville is back up in a6d7493 after 24 minutes.


text:
Segmented Button Group

Description
A Segmented Button Group is a control that shows a list of actionable buttons, flush with separators between them.
### Tasks
- [x] Research other implementations
- [x] Figure out the height of the separators e.g. selectable, base - spacing-100 (switch)
- [x] Figure out focus management e.g. Roving tab-index (arrow keys) / Standard focus (tab)
- [x] Figure out focus ring contrast
- [ ] Write guidance on usage e.g. how does it differ from Toggle Button Group/Toolbar

Notes:

Different from Toggle Button Group as its prime use-case is with "normal" buttons which do not have a pressed state and won't support exclusive selection.
Will form the Split Button pattern when used with the Menu Button pattern

8 Feb Kick Off with @joshwooding @bhoppers2008 @mikearildbrown
Requirement:
All variants / all density
Use Buttons and add separator,
Keyboard
Accessibility
Focus ring
Switch height or checkbox height
Part of Split Button pattern

Discussed with @joshwooding  focus management should be Standard focus (tab)

15 Feb - Characteristics/ Accessibility/ Interactions Specs are done and reviewed with @joshwooding @bhoppers2008

5 Mar - Decision made: using Primary Separator. Spec updated
5-6 Mar - Component sets added to Light and Dark

6-7 Mar - Component Guide, reviewed with @bhoppers2008 and merged

Available in core https://www.saltdesignsystem.com/salt/components/segmented-button-group/examples

authors: joshwooding yunjungyeh

repo: jpmorganchase/salt-ds


text:
List control revamp

Replaces #2657
Todo
Tests
Docs

/release-pr

Would you mind adding some examples (maybe in the FormField docs/folder) where Dropdown/Combobox is shown alongside other form controls to make sure they look okay together?
I seem to be seeing some weirdness when I have Dropdown in a horizontal stack alongside input form fields:

/release-pr

@mikearildbrown if you have time do you mind having a look at the mdx here

could you please add QA stories

Very pleased to see the move away from the use of Selection in the generic type. That was such a pain to work with whenever selected ot defaultSelected had to be handled.

authors: alycrys el-dav heswell joshwooding


text:
Import data only (no settings, no mappings)

Hi,
It seems like it's currently not possible to only import the raw data, with no settings and mappings reapplied.
What I'd like to do is to let knapsack import the raw data and have elasticsearch with auto index creation on and some templates to allow developpers to restore the data while applying their own modified mapping (with templates).

If you pass the parameter  with_metadata=false to knapsack import, it will not create indices or mappings. Default is true.

Works great. Thx

authors: arnaudbriche jprante

repo: jprante/elasticsearch-knapsack


text:
用摄像头发视频时，崩溃

My environment:
native 7.0
华为Emtion ui5.0.1
测试机型有软键盘
消息提示录音失败
提示这个错误： java.lang.IllegalStateException: CameraDevice was already closed
完整的错误栈：
1.
android.hardware.camera2.CameraAccessException: CAMERA_DISCONNECTED (2): cancelRequest:291: Camera device no longer alive
at android.hardware.camera2.CameraManager.throwAsPublicException(CameraManager.java:633)
at android.hardware.camera2.impl.ICameraDeviceUserWrapper.cancelRequest(ICameraDeviceUserWrapper.java:95)
at android.hardware.camera2.impl.CameraDeviceImpl.stopRepeating(CameraDeviceImpl.java:926)
at android.hardware.camera2.impl.CameraCaptureSessionImpl.close(CameraCaptureSessionImpl.java:379)
at android.hardware.camera2.impl.CameraCaptureSessionImpl$2.onDisconnected(CameraCaptureSessionImpl.java:515)
at android.hardware.camera2.impl.CameraDeviceImpl$7.run(CameraDeviceImpl.java:228)
at android.os.Handler.handleCallback(Handler.java:761)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:156)
at android.os.HandlerThread.run(HandlerThread.java:61)
Caused by: android.os.ServiceSpecificException: cancelRequest:291: Camera device no longer alive
at android.os.Parcel.readException(Parcel.java:1679)
at android.os.Parcel.readException(Parcel.java:1618)
at android.hardware.camera2.ICameraDeviceUser$Stub$Proxy.cancelRequest(ICameraDeviceUser.java:350)
at android.hardware.camera2.impl.ICameraDeviceUserWrapper.cancelRequest(ICameraDeviceUserWrapper.java:93)

at android.hardware.camera2.impl.CameraDeviceImpl.checkIfCameraClosedOrInError(CameraDeviceImpl.java:1988)
at android.hardware.camera2.impl.CameraDeviceImpl.submitCaptureRequest(CameraDeviceImpl.java:857)
at android.hardware.camera2.impl.CameraDeviceImpl.setRepeatingRequest(CameraDeviceImpl.java:904)
at android.hardware.camera2.impl.CameraCaptureSessionImpl.setRepeatingRequest(CameraCaptureSessionImpl.java:236)
at cn.jiguang.imui.chatinput.camera.CameraNew.updatePreview(CameraNew.java:461)
at cn.jiguang.imui.chatinput.camera.CameraNew.access$800(CameraNew.java:68)
at cn.jiguang.imui.chatinput.camera.CameraNew$4.onConfigured(CameraNew.java:380)
at java.lang.reflect.Method.invoke(Native Method)
at android.hardware.camera2.dispatch.InvokeDispatcher.dispatch(InvokeDispatcher.java:39)
at android.hardware.camera2.dispatch.HandlerDispatcher$1.run(HandlerDispatcher.java:65)
at android.os.Handler.handleCallback(Handler.java:761)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:156)
at android.os.HandlerThread.run(HandlerThread.java:61)

@china-coder 这个日志看不到报错在哪一行，你看看能不能复现场景，截一下正确的日志。

嗯嗯 是的，在拍照的时候，最小化窗口可以，但是最大化的情况下拍照，就会出现这个问题。

@china-coder 我自己测试是没有出现这个问题的。

嗯嗯 我在我的魅族手机上测试也是没有问题，华为的手机上面好想普遍一点。

@china-coder 你可以试试把其他的应用关了，看看是不是有点应用打开了摄像头，然后测试一下。我用乐2 测试没问题，我再用华为测试一下。

@china-coder 我用华为 GRA-TL00 测试没有问题。你的是什么型号

设备型号是HUAWEI Mate8 和华为 note8 都出现崩溃问题

@china-coder 试试更新版本，应该修复了。

好的

遇到一样的问题，请问用哪个版本解决了呢?

authors: KenChoi1992 china-coder laienliang

repo: jpush/aurora-imui


text:
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.

是否考虑升级 Gradle 配置？？

直接 compile 替换成 api 就可以

手动改 node_modules 吗？

可以，不过这个对编译没有影响吧，后续我们会升级

https://github.com/oblador/react-native-vector-icons/tree/master/android 影响就是打包会很慢，包体积会因为 android support 版本不一致变大。0.57.* 提供了根配置，你可以参考这个库和 https://github.com/master-atul/react-native-exception-handler/blob/master/android/build.gradle

@JoshLipan 请尽快修改吧，哥们，我排查了我用的10几个原生库，绝大部分都升级到适配 0.57.* 了

authors: JoshLipan youngjuning


text:
Type conversion to Boolean

Minor issue with conversions on 0.6.3.  Passing True or False to interface taking and java.lang.Object is currently producing a java.lang.Long rather than an expected java.lang.Boolean.  Likely this is just an order of operations problem as I thought that we had logic to deal with this.

See #360 and #361 for tests showing the current behavior.

Fixed in master

repo: jpype-project/jpype


text:
Update jscs to latest

As mentioned in #876, grunt-jscs may not be catching certain style errors and needs to be updated to the latest version.

a jscs update might include jshint as well.

@arghgr I'm looking forward a PR to fix this one. :)

authors: arghgr leobalter

repo: jquery/qunit


text:
Add Pixel 2 device

Virtual devices were problematic with push, but also way slower to execute. Even slower fo processing the outputs.

@jraska How are you finding this?
I am using Device Testing via Bitrise so I don't use Firebase Test Lab directly. I have recently had issues that the tests end with a failure saying it crashed, but all the tests pass.
Bitrise support suggest I try a different device. I was using Pixel 2 API 28 before.

@lordcodes So far it works good the execution is surprisingly even faster than on Pixel 4 API 29. (Median of 14s compared to 17s) :)
I had similar failure experience with Pixel 4 In my case it was some crash within Play Store installed on the device. It took some weeks of information ping pong with Firebase Support to get it sorted :D
Different device usually solves this, but they don't have API 30 yet and there is very few on API 29.

I re-read above, I'm forced to use virtual devices as that must be the deal Bitrise have with Firebase.
You get it included with your Bitrise subscription so worth sticking with until I really need more.

This PR was released with 0.22.1

authors: jraska lordcodes

repo: jraska/github-client


text:
Respond to https://hypothes.is/a/rgwU8pFcEeqnmR9Eg0R7yg

Respond to hypothes.is annotation rgwU8pFcEeqnmR9Eg0R7yg on https://jrnold.github.io/r4ds-exercise-solutions/data-visualisation.html (user: acct:chova32@hypothes.is, created: 2020-05-08T18:49:43.011651+00:00, updated: 2020-05-08T18:50:04.913714+00:00)

Could not generate the same stat_summary( ) plot with that code, did a little research and stack overflow suggested two solutions: use geom_line( )
ggplot(data = diamonds, mapping = aes(x = cut, y = depth)) +
geom_line() +
stat_summary(fun.y = "median", geom = "point", size = 3)
or, reduce the amount of data by grouping it
data = diamonds %>%
group_by(cut) %>%
summarise(min = min(depth), max = max(depth),
median = median(depth))
ggplot(data, aes(x = cut, y = median, ymin = min, ymax = max)) +
geom_linerange() +
geom_pointrange()
Source: https://stackoverflow.com/questions/41850568/r-ggplot2-pointrange-example

Link: https://hyp.is/rgwU8pFcEeqnmR9Eg0R7yg/jrnold.github.io/r4ds-exercise-solutions/data-visualisation.html

Fixed by PR #361


text:
V2: mat4 enhancement

Expected Behavior
I find this function very useful at times, and think that other users will be interested. From the example, extrudeAlongPath.js
  function rotationMatrixFromVectors (srcVector, targetVector) {
    // From https://gist.github.com/kevinmoran/b45980723e53edeb8a5a43c49f134724
    srcVector = maths.vec3.normalize(srcVector)
    targetVector = maths.vec3.normalize(targetVector)

    const axis = maths.vec3.cross(targetVector, srcVector)
    const cosA = maths.vec3.dot(targetVector, srcVector)
    const k = 1 / (1 + cosA)

    return maths.mat4.fromValues(
      (axis[0] * axis[0] * k) + cosA, (axis[1] * axis[0] * k) - axis[2], (axis[2] * axis[0] * k) + axis[1], 0,
      (axis[0] * axis[1] * k) + axis[2], (axis[1] * axis[1] * k) + cosA, (axis[2] * axis[1] * k) - axis[0], 0,
      (axis[0] * axis[2] * k) - axis[1], (axis[1] * axis[2] * k) + axis[0], (axis[2] * axis[2] * k) + cosA, 0,
      0, 0, 0, 1
    )
  }

Actual Behavior
Not available
Steps to Reproduce the Problem

NA

Specifications

Version: V2
Platform: all
Environment: all

Suggested names...

mat4.fromVectors(source, target)
mat4.fromVectorRotation(source, target)

Suggested names...

mat4.fromVectors(source, target)
mat4.fromVectorRotation(source, target)

That is cool. Could you give few more use cases ? I am curious :)

That is cool. Could you give few more use cases ? I am curious :)

I'll try...
Currently, the API has a transform function called rotate([x, y, z], ...objects) which is based upon the mat4.fromTaitBryanRotation function, i.e. yaw, pitch, roll rotations. All fine for those that think in X, Y, Z rotations.
An alternative (and possibly more mathematically correct) is basing rotations upon directional vectors. For example, rotating a direction vector to point to 5, 5, 5. Hmm... getting a little tough to use rotate([?, ?, ?]). Maybe easy if the original vector is going to 0, 0, 20, but what about if the original vector is going to -3, -3, -3? Oooo... I don't want to do the math for the current rotate() function.
Another possible application is 'connecting' geometries; A and B. If you know the directional vectors of the connection points then it's pretty easy to connect there

get a rotation from A' to B' minus, and rotate
translate A to B

I'll try...
Currently, the API has a transform function called rotate([x, y, z], ...objects) which is based upon the mat4.fromTaitBryanRotation function, i.e. yaw, pitch, roll rotations. All fine for those that think in X, Y, Z rotations.
An alternative (and possibly more mathematically correct) is basing rotations upon directional vectors. For example, rotating a direction vector to point to 5, 5, 5. Hmm... getting a little tough to use rotate([?, ?, ?]). Maybe easy if the original vector is going to 0, 0, 20, but what about if the original vector is going to -3, -3, -3? Oooo... I don't want to do the math for the current rotate() function.
Another possible application is 'connecting' geometries; A and B. If you know the directional vectors of the connection points then it's pretty easy to connect there

get a rotation from A' to B' minus, and rotate
translate A to B

@SimonClark might have some nice applications as well.

@SimonClark might have some nice applications as well.

Could it be used to make a simpler version of this ?
https://openjscad.nodebb.com/topic/183/cylinder-between-points?_=1611131975841

Could it be used to make a simpler version of this ?
https://openjscad.nodebb.com/topic/183/cylinder-between-points?_=1611131975841

Could it be used to make a simpler version of this ?
https://openjscad.nodebb.com/topic/183/cylinder-between-points?_=1611131975841

I would think so... the directional vector (DV) is just P2 - P1
Then it’s just get the rotation from 0,0,1 to DV

Could it be used to make a simpler version of this ?
https://openjscad.nodebb.com/topic/183/cylinder-between-points?_=1611131975841

I would think so... the directional vector (DV) is just P2 - P1
Then it’s just get the rotation from 0,0,1 to DV

Huh,
I am having issues with your function. I might be using it incorectly, please check.

green is double the starting vector,  and red is the rotated vector using the function.
blue sphere is where it should go through.
Script:

const {primitives, transforms, maths, colors} = require('@jscad/modeling')
const {translate, rotate} = transforms
const {cylinder, sphere, cube} =primitives

var _parameters = [];

var funcs = new Map();

function main(){

	var vecTo = [10,10,10]
	var vecFrom = [0,0,10] //
	var rot = rotationMatrixFromVectors(vecFrom,vecTo)
	// var rot = rotationMatrixFromVectors([1,1,1],[0,0,1])
	//var rot = [-Math.PI/4,Math.PI/5,0]
	//var rot = [0,0,0]
	// cylinder is larger on purpose
	var cylinderForVector = translate([0,0,10],cylinder({radius:0.5, height:20}))
	return [

		// vecFrom
		colors.colorize([0,1,0,0.5],cylinderForVector),

		// blue sphere where it should point
		translate([10,10,10],sphere({radius:0.5})),
		// vecTo
		colors.colorize([1,0,0,0.5],rotate(rot,cylinderForVector)),

		// green sphere where it almost points
		colors.colorize([0,1,0],translate([-10,-10,10],sphere({radius:0.5}))),

		// cube that is also with 10x10x10
		colors.colorize([0,0,1,0.5],translate([5,5,5],cube({size:10}))),
		// cube that is also with 10x10x10
		colors.colorize([0,0,1,0.5],translate([-5,-5,5],cube({size:10}))),
	]
}

function rotationMatrixFromVectors (srcVector, targetVector) {
	// From https://gist.github.com/kevinmoran/b45980723e53edeb8a5a43c49f134724
	srcVector = maths.vec3.normalize(srcVector)
	targetVector = maths.vec3.normalize(targetVector)

	const axis = maths.vec3.cross(targetVector, srcVector)
	const cosA = maths.vec3.dot(targetVector, srcVector)
	const k = 1 / (1 + cosA)

	return maths.mat4.fromValues(
	  (axis[0] * axis[0] * k) + cosA, (axis[1] * axis[0] * k) - axis[2], (axis[2] * axis[0] * k) + axis[1], 0,
	  (axis[0] * axis[1] * k) + axis[2], (axis[1] * axis[1] * k) + cosA, (axis[2] * axis[1] * k) - axis[0], 0,
	  (axis[0] * axis[2] * k) - axis[1], (axis[1] * axis[2] * k) + axis[0], (axis[2] * axis[2] * k) + cosA, 0,
	  0, 0, 0, 1
	)
}

module.exports = {main}

Huh,
I am having issues with your function. I might be using it incorectly, please check.

green is double the starting vector,  and red is the rotated vector using the function.
blue sphere is where it should go through.
Script:

const {primitives, transforms, maths, colors} = require('@jscad/modeling')
const {translate, rotate} = transforms
const {cylinder, sphere, cube} =primitives

var _parameters = [];

var funcs = new Map();

function main(){

	var vecTo = [10,10,10]
	var vecFrom = [0,0,10] //
	var rot = rotationMatrixFromVectors(vecFrom,vecTo)
	// var rot = rotationMatrixFromVectors([1,1,1],[0,0,1])
	//var rot = [-Math.PI/4,Math.PI/5,0]
	//var rot = [0,0,0]
	// cylinder is larger on purpose
	var cylinderForVector = translate([0,0,10],cylinder({radius:0.5, height:20}))
	return [

		// vecFrom
		colors.colorize([0,1,0,0.5],cylinderForVector),

		// blue sphere where it should point
		translate([10,10,10],sphere({radius:0.5})),
		// vecTo
		colors.colorize([1,0,0,0.5],rotate(rot,cylinderForVector)),

		// green sphere where it almost points
		colors.colorize([0,1,0],translate([-10,-10,10],sphere({radius:0.5}))),

		// cube that is also with 10x10x10
		colors.colorize([0,0,1,0.5],translate([5,5,5],cube({size:10}))),
		// cube that is also with 10x10x10
		colors.colorize([0,0,1,0.5],translate([-5,-5,5],cube({size:10}))),
	]
}

function rotationMatrixFromVectors (srcVector, targetVector) {
	// From https://gist.github.com/kevinmoran/b45980723e53edeb8a5a43c49f134724
	srcVector = maths.vec3.normalize(srcVector)
	targetVector = maths.vec3.normalize(targetVector)

	const axis = maths.vec3.cross(targetVector, srcVector)
	const cosA = maths.vec3.dot(targetVector, srcVector)
	const k = 1 / (1 + cosA)

	return maths.mat4.fromValues(
	  (axis[0] * axis[0] * k) + cosA, (axis[1] * axis[0] * k) - axis[2], (axis[2] * axis[0] * k) + axis[1], 0,
	  (axis[0] * axis[1] * k) + axis[2], (axis[1] * axis[1] * k) + cosA, (axis[2] * axis[1] * k) - axis[0], 0,
	  (axis[0] * axis[2] * k) - axis[1], (axis[1] * axis[2] * k) + axis[0], (axis[2] * axis[2] * k) + cosA, 0,
	  0, 0, 0, 1
	)
}

module.exports = {main}

I am having issues with your function. I might be using it incorectly, please check.

Real close... remember that rotationMatrixFromVectors is returning a math.mat4. So...
	var **matrix** = rotationMatrixFromVectors(vecFrom,vecTo)

I am having issues with your function. I might be using it incorectly, please check.

Real close... remember that rotationMatrixFromVectors is returning a math.mat4. So...
	var **matrix** = rotationMatrixFromVectors(vecFrom,vecTo)

ok works now

I am completely clueless what mat4 is :)

ok works now

I am completely clueless what mat4 is :)

There is nothing special about mat4, which is a 4 x 4 matrix. However, understanding matrix math is always a challenge. You can find lots of information on matrix mathematics. One of the best websites for beginners (of all ages) is MathIsFun

There is nothing special about mat4, which is a 4 x 4 matrix. However, understanding matrix math is always a challenge. You can find lots of information on matrix mathematics. One of the best websites for beginners (of all ages) is MathIsFun

I am familiar with matrix math.  But I googled why 4x4 matrix is used in 3D  to learn a bit about the concept :)

I am familiar with matrix math.  But I googled why 4x4 matrix is used in 3D  to learn a bit about the concept :)

FYI, this is required for the new X3D serializer, so a small pull request to add this function will happen soon.


text:
Remove debug print statements

Removing print statements that are currently printing output in our test suite.

+1 @jschrewe do you think you could merge this?

authors: m-vdb olivierlefloch

repo: jschrewe/django-mongoadmin


text:
🛑 Nextcloud is down

In 330b7c7, Nextcloud ($SERVER_BASE/nextcloud/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nextcloud is back up in 2f0a2be after 15 minutes.

repo: jscmidt/upptime


text:
🛑 Piwigo is down

In d7dc416, Piwigo ($SERVER_BASE/piwigo/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Piwigo is back up in 3811fe5 after 1 hour, 30 minutes.


text:
🛑 Tandoor is down

In ab02f25, Tandoor ($SERVER_BASE/recipes/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Tandoor is back up in 7a73e89 after 10 minutes.


text:
Unable to run multiple batches in single process

The analysis code is designed to run multiple batches, each running the analysis over the full data set for different steering cards, or cuts
However on the second batch a memory segmentation fault error is returned always on the mc96_1.rz ntuple.

../data/mc96/mc96_1.rz
ANALYSE: File contains           14614    Events
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
Backtrace for this error:
#0  0xb5a8de27 in ???
#1  0xb5a8cf8e in ???
#2  0xb7f9fbbf in ???
#3  0xb6f64a9f in ???
#4  0x44634d in isr_cuts96_
at ./src/isr_cuts96.fpp:408
#5  0x457df8 in anevent96_
at ./src/anevent96.fpp:147
#6  0x46282a in do_all_
at ./src/do_all.fpp:131
#7  0x453a0a in MAIN__
at ./src/analysis.fpp:44
#8  0x453f2a in main
at ./src/analysis.fpp:66
Segmentation fault (core dumped)

There is a warning earlier at the start of the second batch
*** WARNING in HBOOK1 : Already existing histogram replaced : ID= 500

Line 408 of isr_cuts96.fpp is
call hf1(510,temp,1.)
This is a line to fill the histogram with data. I suspect there is a problem reusing an existing histogram.

Fix is to call hdelet(0) to delete and free up memory of all histograms in terminate


text:
Added reporterOutputOnly flag

This flag allows for a reporter to send output both to stdout and a
specified filepath.

Does anyone take a look at these?

Thanks for summoning, why it couldn't be just a custom reporter?

Sorry about that, I just wasn't sure what the process was on getting feedback :D
From my understanding you can only have one reporter. Is that right?

Yeah, but with the custom reporter you can write anywhere you like, or you can write it in the file, in stdout and in some third party service with some api

For example, that console.log could be a call request call, console.log one and fs.writeSync simultaneously

Ah I see, I just figured others might want this functionality as well since it's not super custom. The problem with making this a custom reporter is that since I can only have one I would have to duplicate code from any existing reporters in this custom one adding whatever else I needed. Again, this would make sense if what I wanted to do was make a request but printing to stdout seems like a pretty general behavior.

You can create your own reporter, which would require already existing reporter and do the same thing as you did in here - hook to the console.
All and all, i don't think this issue should be solved this way, jscs reporters though, could be improved, so they would pipe their data instead of just printing it right away

Ok if output destination manipulation should be done using a reporter then I guess I'm confused as to why you have reporterOuput. Why not just require people to provide a reporter that manipulates the output to a file @markelog?

Only because jshint has it :), i would call it "legacy" in other words :)

authors: dschaller markelog

repo: jscs-dev/grunt-jscs


text:
Update version of marked dependency

Q
A

Bug fix?
yes

New feature?
no

Breaking change?
no

Deprecations?
no

Tests added?
no

Fixed issues
comma-separated list of issues fixed by the pull request, if any

License
Apache-2.0

https://www.npmjs.com/advisories/812
There is a security issue with the version of marked in use. This PR addresses that

last commit merged was on January 20. not sure this will get addressed anytime soon unfortunately :(

Hi @hegemonic
No rush, but when you get a chance can you take a look, please :)

@hegemonic any chance you could merge this? This vulnerability has been opened for several weeks now

Fixed in a separate commit. The fix will be included in JSDoc 3.6.0, which I'll be releasing very soon.

authors: bizob2828 collinwu drazisil hegemonic


text:
New logo

@h2non I made this for the organization of jsdocs, I'm unable to access to the settings so could you upload it for me? Thanks

Will do tonight!

Thanks! I was afraid that you didn't like it because I'm conscious of my unusual type of design, but I'm glad you will do it, thanks.

Done! Due to Github CDN cache, it may take a couple of minutes to update the image.

Awesome, thanks!

authors: h2non jameskolce tomas-fp

repo: jsdocs/jsdocs


text:
cannot read property 'style' of undefined

error comes out right after npm install
index.js: 606:36
style: _reactNative.ViewPropTypes.style,
anyone have workaround on this ?
react-native-cli: 2.0.1
react-native: 0.42.0

Should work if you upgrade react-native to >0.46.  Otherwise, you could downgrade react-native-swipeable to 0.4.0.

how can i downgrade to swipeable 0.4.0?

authors: MrHazimAli jshanson7 shushuy


text:
[[TEST]] Fixing copy-paste bugs in tests

Noticed several copy-paste errors in test scripts. Modified names of some functions and restored, what was intended.

@jugglinmike these changes look good to me, can you give this a review? Thanks!

@jshaptic you'll still need to rebase this before it can land.

Coverage remained the same at 97.765% when pulling b38ecac79993cb20a577918220fbcce8f276fae7 on jshaptic:test-fixes-1 into e0d575f2803ff9d5891007f2c22c3953df4a21fe on jshint:master.

Rebase is executed.

Looking good! Squashed and merged to master at commit 68be275. Thanks :)

authors: coveralls jshaptic jugglinmike rwaldron

repo: jshint/jshint


text:
🛑 PlayYourPride is down

In eca3d3f, PlayYourPride (https://playyourpride.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: PlayYourPride is back up in 88de6ee after 16 minutes.

repo: jshwlkr/upptime


text:
Allow integer parsing

When handling currency values in programming it's recommended to use integer values to avoid calculations and conversion mistakes due to the floating point problem.
So I want to discuss the possibility to have a prop called something like parseAsInteger so the value will be an integer, with the decimals multiplied by their precision.
So when the user input: 12,34 the value should be 1234, if the precision is 2.
If the precision is other like 3, the value 12,345 should be parsed as 12345.
Instead of having to multiply it by 100 by my self I would like to have the value parsed as integer like this.
For instance: 2.22 * 100 == 222 evaluates to false. When I multiply 2.22 by 100, it doesn't return an integer value due to the floating point problem.
I can make a PR but I want to have some feedback on this issue first.

If you're still interested, I've just published @ericblade/react-currency-input^1.0.2 , which is pretty much identical in function to this repo, right now.  there may be some slight behavior changes, and i removed the bits that were deprecated in this repo.  I've placed a codepen at https://codepen.io/ericblade/pen/NWaLbGK
Whole thing is in typescript, and builds with the typescript compiler now.
I will be more than happy to continue work there (or if @jsillitoe returns, to hand it back off :) ) and accept pull reqs, and so on.
code repo is https://github.com/ericblade/react-currency-input
... I would 1000% be interested in flat out replacing the current handling with integer handling and issuing a major version upgrade.

authors: BrOrlandi ericblade

repo: jsillitoe/react-currency-input


text:
Fix es6 module loading issue

ref: https://github.com/moment/moment-timezone/blob/develop/moment-timezone.js#L21

@jsmreese  Any chance that this might make it into the library? Trying really hard to figure out how to get around this issue with modern tooling like vite but cannot figure it out.

I've created a fork that can be installed in place of this library in case anyone is having issues:
https://github.com/sethreidnz/moment-duration-format
npm install sethreidnz/moment-duration-format

You have no idea how thankfull i am....
This has fixed my entire problem.
For all folks who are using vite and have a problem like "TypeError: moment is not a function" this will fix it.
for dev and prod build

authors: realAP sethreidnz yulodl

repo: jsmreese/moment-duration-format


text:
Multi tenancy for feature flipping

Hey,
Is there a clean way to have a FK from the "Flag" and other to a SITE_MODEL in order to be able to do feature flipping for a specific site.
I'll try to fork the project and open a PR, with an app config parameterization.
What do you think about it?

see https://github.com/jsocol/django-waffle/pull/117 discussion

sorry for the duplicate post. Closing this issue.

authors: aRkadeFR cleder

repo: jsocol/django-waffle


text:
Successful related response needed

The section being referred to: http://jsonapi.org/format/#fetching-resources-responses
At the bottom is an example of a response from a GET request to /articles/1/author.  However, only an unsuccessful request is shown, so no example of how to best format this response if an author is found is provided.
Would it be similar to a request to GET /articles/1/links/author or would it take a format of:
{
  "links": {
    "self": "/articles/1/author"
  },
  "data": {
    "id": "21",
    "type": "person"
  }
}

Thinking about it further, I fail to see the point of having both /articles/1/author and /articles/1/links/author.  It seems rather redundant to me.

The relationship url (/articles/1/links/author) allows you to directly manipulate the authors related to an article independently from the article itself. For a toOne relationship this may seem a bit useless, but for a toMany relationship it is quite important for supporting non-destructive updates.

@tkellen I am wondering if you could potentially elaborate a bit more with respect to the difference between self, related on relationships. Perhaps an example of how one would manipulate a relationship and how that would differ from the self link? Why wouldn't related go to the author resource for instance? For example:
  "relationships": {
    "author": {
      "links": {
        "self": "/articles/1/relationships/author",
        "related": "/people/9"
      },
      "data": { "type": "people", "id": "9" }
    }

@alexwen Could you please raise this question on http://discuss.jsonapi.org?
The members of a links object always refer to the container it resides in. Because JSON-API allows direct manipulation of relationships, the self link of a relationship is the "relationship url".
In the example you've provided, no matter who the author of the article is, you can find it at the relationship url /articles/1/relationships/author. The related link points to the actual author, but that can change any time.

authors: ColtonProvias alexwen tkellen

repo: json-api/json-api


text:
not compatible on embedded builtins

The spec for embedded fields (anonymous) is fairly precise.  My tests found it basically doesn't work in json-iterator.
type Embedded float64

type T struct {
        Embedded
}

--- FAIL: Test_Roundtrip (0.00s)
	json_test.go:37: marshal expected:
		    {
		    >  "Embedded": 0.7875301928158793
		    }
		got:
		    {}
		obj:
		    (test.T) {
		>  Embedded: (test.Embedded) 0.7875301928158793
		}
FAIL

And embedded pointers produce null rather than {}

fixed

authors: taowen thockin

repo: json-iterator/go


text:
Tab array broken in Chrome

Cloned repo, ran examples/bootstrap-example.html and selected the "tab array" example
In Chrome console I got this error:
Error: [$parse:syntax] http://errors.angularjs.org/1.4.3/$parse/syntax?p0=.&p1=not%20a%20primary%20expression&p2=1&p3=.length&p4=.length
    at Error (native)
    at http://localhost/angular-schema-form/bower_components/angular/angular.min.js:6:416
    at Object.q.throwError (http://localhost/angular-schema-form/bower_components/angular/angular.min.js:209:32)
    at Object.q.primary (http://localhost/angular-schema-form/bower_components/angular/angular.min.js:206:6)
    at Object.q.unary (http://localhost/angular-schema-form/bower_components/angular/angular.min.js:205:174)
    at Object.q.multiplicative (http://localhost/angular-schema-form/bower_components/angular/angular.min.js:204:434)
    at Object.q.additive (http://localhost/angular-schema-form/bower_components/angular/angular.min.js:204:261)
    at Object.q.relational (http://localhost/angular-schema-form/bower_components/angular/angular.min.js:204:96)
    at Object.q.equality (http://localhost/angular-schema-form/bower_components/angular/angular.min.js:203:425)
    at Object.q.logicalAND (http://localhost/angular-schema-form/bower_components/angular/angular.min.js:203:278) <li ng-hide="form.readonly" ng-click="$event.preventDefault() || (selected.tab = appendToArray().length - 1)">(anonymous function) @ angular.js:12330$get @ angular.js:9109Y @ angular.js:8652S @ angular.js:8150g @ angular.js:7541S @ angular.js:8145g @ angular.js:7541S @ angular.js:8145g @ angular.js:7541(anonymous function) @ angular.js:7416$get.h @ angular.js:7560s @ angular.js:8177(anonymous function) @ angular.js:23812scopePrototype.$watch.arguments.(anonymous function) @ hint.js:1905$get.n.$digest @ angular.js:15683scopePrototype.$digest @ hint.js:1924$get.n.$apply @ angular.js:15951scopePrototype.$apply @ hint.js:1987l @ angular.js:10364F @ angular.js:10536K.onload @ angular.js:10477

Have you installed all dependencies?

You could also check if you are running as a file or through a http server.
Please re-open if you have more info to help us answer more sufficiently.

Came across the same issue. Turned out that I accidentally put ng-field-model instead of sf-field-model in my template. Make sure that you have the following attributes at the beginning of your tabarray template:
ng-model="modelArray"
schema-validate="form"
sf-field-model="sf-new-array"
sf-new-array

authors: Anthropic grobgl nicklasb oivinds

repo: json-schema-form/angular-schema-form


text:
When can you open source?

Thanks for your great work!

The related manuscript is under peer review. After that, I would release the code. You can refer to the following preprint.
https://arxiv.org/abs/2306.12770

Hello there, thanks for your research and hard work, appreciated! : )
Why is it required not to be under peer review for releasing the code?

Ah, nice ! Thank you so much! : ))


text:
Minimal version of a mouse tracking extension for jspsych

Hi!
I made a extension for mouse tracking based on webgazer-ext.
Also I add an example (a modified version of the webgazer_image example) and docs. I hope we can tested together and and can become a useful tool for the jsPsych community! 😁
Best!
Gustavo.

Thanks very much @GEJ1!
Assuming it's ready to go, I'm not sure whether it will be added to version 7.0 (the next release) or 7.1, which is focused on adding new features/plugins. I'll mark it for 7.1 for now but we'll look at it ASAP. Thanks again!

Hi @GEJ1,
This is a priority for our next milestone. Are you interested in updating this to be compatible with v7? You can find the new extension template in our new contrib repo. If you are interested, do you think you can do it relatively soon? We're aiming to be done with it in the next 3 weeks or so.

Hi @jodeleeuw ,
I can work on the update this week, but I'm not sure if it will be difficult. I'll be looking for help here if that's the case.

Sounds good! Happy to answer questions, or just let us know if you want us to take over at some point.

No problem. I can take it from here 👍

authors: GEJ1 becky-gilbert jodeleeuw

repo: jspsych/jsPsych


text:
BlazorWebView bridge

hi jspuij,
Thank you for this control.
Is it possible to have a bridge which transmits messages/data between Blazor and the native code of the platform?
Blazor <-> WPF
Blazor <-> Xamarin
Thank you for your help.

I would think that would not be necessary.  Because the razor class library can access the file system like normal.  They can actually write to sql server.  However, another choice can be to also use event aggregation.  That would probably be the best way.  So in the blazor, you can send a message and the wpf can pick it up and do things with it.

There indeed is no bridge necessary. You're just running a full framework. So you can immediately access the WPF and Xamarin parts. The only thing that you have to be careful about is that Blazor is running on it's own thread that is NOT the desktop UI thread. (this is because there already is so much happening on the UI thread and there is a Javascript interop boundary anyway, so it was easier to just have a dedicated thread for the Blazor rendering).
So if you want to do something on the WPF or Xamarin UI, use the WPF or Xamarin dispatcher to schedule the operation. If you want to do something on the Blazor UI, use the Blazor Dispatcher to schedule the operation.

authors: AmineKhiyat jspuij musictopia2

repo: jspuij/BlazorWebView


text:
small pricing card in tailwindCSS

Description
**Need to create code for small pricing card as per below image. **

The final code should be placed under path tailwind_components/pricing_cards with file name as small_pricing_card.jsx
The file as to be imported to tailwind_components/pricing_cards/collection.js file as per example and added to the pricingCardsCollections list
Post these process, go to components tab (components/pricing_cards) in website and check whether the codepen is updated

For PR reference - https://github.com/jsvigneshkanna/tailwind_ui_components/pull/76/files
For any issue while creating / importing the component code file, check below sample files
https://github.com/jsvigneshkanna/tailwind_ui_components/tree/master/tailwind_components/buttons
For icons please refer - https://heroicons.com/
Screenshot of the tailwind component

Are you taking this fetaure implementaion
no

Hi,
Can you please assign this to me ?

Welcome back @Kabiirk
Also look for other issues too
Appreciate that!

authors: Kabiirk jsvigneshkanna


text:
Download haxe compiler automatically

Pending for a reply here: https://groups.google.com/forum/?hl=en#!topic/haxelang/ys14iAJIJgI

Initial prototype downloading from haxe website. I will create another issue to try to handle with maven.

For the reference:
https://github.com/jtransc/jtransc/blob/82596bac176dac7738c6fff5d627e975bc12bed2/jtransc-gen-haxe/src/com/jtransc/gen/haxe/HaxeCompiler.kt#L37

repo: jtransc/jtransc


text:
problem about 'event' information used by nanopolish

Hi, thank you very much for sharing this very powerful tool.
As we all know, Nanopolish used HMM model to call methylation. And during this process, Nanopolish used the event information from .fast5, which is produced after sequencing. However, the new version of .fast5 files no loner contains event information. Furthermore, Nanopolish can run successfully despite the absence of event information. . So, I am wondering how Nanopolish do it.
Thank you very much.

Hi @Flower9618,
I explain how we do this in this blog post: https://simpsonlab.github.io/2017/09/06/nanopolish-v0.8.0/ (in particular the 3rd paragraph)

Hi @Flower9618,
I explain how we do this in this blog post: https://simpsonlab.github.io/2017/09/06/nanopolish-v0.8.0/ (in particular the 3rd paragraph)

Very clear. I learned a lot from it. Thank you very much.

No problem, glad it was helpful

repo: jts/nanopolish


text:
Variants - core dump

Hello Jared,
Thanks for the great tool - I hope I can get it working as it looks very promising!
I compiled nanopolish using GCC-5.2 and make. I received the error immediately after execution.
Execution
nanopolish variants --consensus nanopolish_ACall/polished.0-4120.fa -w 0-4120 -r nanopolish_ACall/arturo_all_reads.fa -b nanopolish_ACall/NB01.consensus.sorted.bam -g nanopolish_ACall/drafts/NB01.consensus.fasta --min-candidate-depth 100 --models-fofn nanopolish_models.fofn
Stderr
#CHROM	POS	ID	REF	ALT	QUAL	FILTER	INFO
TODO: train model
TODO: filter data
nanopolish: src/common/nanopolish_fast5_map.cpp:84: void Fast5Map::load_from_fasta(std::__cxx11::string): Assertion `read_to_path_map.find(seq->name.s) == read_to_path_map.end()' failed.
Aborted (core dumped)
Core dump
registering model t.007-base
registering model t.007-ONT
#CHROM	POS	ID	REF	ALT	QUAL	FILTER	INFO
TODO: train model
TODO: filter data
nanopolish: src/common/nanopolish_fast5_map.cpp:84: void Fast5Map::load_from_fasta(std::__cxx11::string): Assertion `read_to_path_map.find(seq->name.s) == read_to_path_map.end()' failed.
Program received signal SIGABRT, Aborted.
0x0000003bef832495 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x0000003bef832495 in raise () from /lib64/libc.so.6
#1  0x0000003bef833c75 in abort () from /lib64/libc.so.6
#2  0x0000003bef82b60e in __assert_fail_base () from /lib64/libc.so.6
#3  0x0000003bef82b6d0 in __assert_fail () from /lib64/libc.so.6
#4  0x000000000048db21 in Fast5Map::load_from_fasta (this=this@entry=0x7fffffffa1d0, fasta_filename=...) at src/common/nanopolish_fast5_map.cpp:84
#5  0x000000000048ef36 in Fast5Map::Fast5Map (this=0x7fffffffa1d0, fasta_filename=...) at src/common/nanopolish_fast5_map.cpp:38
#6  0x00000000004a1955 in AlignmentDB::AlignmentDB (this=0x7fffffffa120, reads_file=..., reference_file=..., sequence_bam=..., event_bam=..., calibrate_reads=) at src/alignment/nanopolish_alignment_db.cpp:35
#7  0x00000000004159ad in call_variants_for_region (contig=..., region_start=4120, region_end=-2) at src/nanopolish_call_variants.cpp:797
#8  0x00000000004172cf in call_variants_main (argc=, argv=) at src/nanopolish_call_variants.cpp:1012
#9  0x0000000000408860 in std::function<int (int, char**)>::operator()(int, char**) const (__args#1=0x7fffffffa710, __args#0=15, this=0x9abf50)
at /broad/software/free/Linux/redhat_6_x86_64/pkgs/gcc_5.2.0/include/c++/5.2.0/functional:2271
#10 main (argc=16, argv=0x7fffffffa708) at src/main/nanopolish.cpp:59
Prior commands
bwa mem -x ont2d nanopolish_ACall/drafts/NB01.consensus.fasta nanopolish_ACall/arturo_all_reads.fa | samtools sort -o nanopolish_ACall/NB01.consensus.sorted.bam -T nanopolish_ACall/NB01.consensus.sorted.tmp -
Files
head -n 1 nanopolish_ACall/arturo_all_reads.fa
'>channel:1D_000:template GP1B9_B89_20170301_FNFAB30680_MN16958_sequencing_run_2nd_Attempt_AC_Samples_48030_ch245_read8000_strand arturo_all_source/fast5_all/GP1B9_B89_20170301_FNFAB30680_MN16958_sequencing_run_2nd_Attempt_AC_Samples_48030_ch245_read8000_strand.fast5'

Hi,
Your fasta has duplicated entries, which prevents nanopolish from creating a read-to-fast5 map. Your reads are probably all named channel:1D_000:template but they should be named like <unique-id>:1D_000:template. What basecaller/extraction program did you use?
Jared

authors: cinaljess jts


text:
Problem of basecalled the reads

We can get a pass/ file which contain .fast5 files inside after doing nanopore test.
When I want to use this command:
read_fast5_basecaller.py -c r94_450bps_linear.cfg -t 8 -i pass -s basecalled/ -o fastq
I get nothing from the output file -- basecalled/workspace/pass/.fastq and no fastq files in bascalled/workspace/pass/*.fastq inside. How could I fix it ？

Thx!

can  you solve the problem?


text:
Cowboy UART commands

Hello Jouke,
Thank you for the great repo! It was almost exactly what I required for my small project, but I am still missing one thing: the commands to control the bike's support level (aka Eco, Adaptive, Off). So my question is, how did you get the commands to switch the lights? Or, maybe, do you know the exact commands I need?
Some context: as you surely know, Cowboy bikes lack physical controls (at least mine C4), and I'd like to implement such controls based on esp32. That is why I need to gather as many known commands as possible. The commands from your example:
static uint8_t lightsOffCmd[] = {0x0A, 0x10, 0x00, 0x01, 0x00, 0x01, 0x02, 0x00, 0x00, 0xD4, 0xB1};
static uint8_t lightsOnCmd[] = {0x0A, 0x10, 0x00, 0x01, 0x00, 0x01, 0x02, 0x00, 0x01, 0x15, 0x71};

Good question. If I recall correctly I looked at the source of some of the apps (Unleashed/Untamed/Bronco?) and based it on that. Or I was in contact with one of their developers and they shared it informally. However I just did a quick search and it seems like their source code is offline. Best to ask some of the other devs on reddit for a list of codes.

authors: jtwaleson zzzorgo

repo: jtwaleson/cowboy-bike-remote-ble


text:
🛑 EDGAR is down

In 6d8213b, EDGAR (https://www.edgar.com.ar/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: EDGAR is back up in c579c99 after 9 minutes.

repo: juanLabonia/uptime


text:
Times out

It does not work when i run tailscale up --login-server https://vpn.*.duckdns.org --authkey *

Hi @Juliaria08,
Can you add more details?
If you do curl https://vpn.*.duckdns.org/key do you get any response?
Thanks!

Yes, i get a machine id
It is tring to get /machine/ endpoint
[GIN] 2021/06/01 - 12:31:26 | 404 |         437ns |    0.0.0.0  | GET      "/machine/-"
[GIN] 2021/06/01 - 12:31:45 | 404 |       1.174µs |    0.0.0.0  | GET      "/machine/-"

What ports do need to be opened on that server?
Appart from that http proxy that i am doing

Hey @Juliaria08,
You are getting this error on the top of the log message you are pasting:

Could not load DERP servers map

That means that there is something wrong with your derp.yaml.
Without a working list of DERP servers your tailscale nodes are not going to be able to boot up.

Hey @Juliaria08,
You are getting this error on the top of the log message you are pasting:

Could not load DERP servers map

That means that there is something wrong with your derp.yaml.
Without a working list of DERP servers your tailscale nodes are not going to be able to boot up.

I have just put the derp conf back to default

And the result?

And the result?
Still hanging up on tailscale up

Can you paste the full log in here?
On Tue, 1 Jun 2021 at 20:51, Julian Marcos @.***> wrote:

And the result?
Still hanging up on tailscale up
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/juanfont/headscale/issues/32#issuecomment-852364643,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABMGQ56HWGFJMXEGAOBLGDTQUT4JANCNFSM454L3ANA
.

Can you paste the full log in here?
…
On Tue, 1 Jun 2021 at 20:51, Julian Marcos @.***> wrote: And the result? Still hanging up on tailscale up — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#32 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABMGQ56HWGFJMXEGAOBLGDTQUT4JANCNFSM454L3ANA .

I asume headscale log, now running on prod mode with systemd:
Jun 01 21:06:47 bindy.mopi.local sh[520347]: [GIN] 2021/06/01 - 21:06:47 | 200 |     679.472µs |  machine2 | POST     "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06297c2845"
Jun 01 21:07:04 bindy.mopi.local sh[520347]: 2021/06/01 21:07:04 We dont know anything about the new key. WTF
Jun 01 21:07:04 bindy.mopi.local sh[520347]: [GIN] 2021/06/01 - 21:07:04 | 200 |      757.98µs |  machine2 | POST     "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06297c2845"
Jun 01 21:07:10 bindy.mopi.local sh[520347]: [GIN] 2021/06/01 - 21:07:10 | 404 |         950ns |   machine1 | GET      "/machine/60e3bce3c4c47d0d14cf7a49e4e518f683b224e21a5c19a9415b57f96c58d069"
Jun 01 21:07:32 bindy.mopi.local sh[520347]: [GIN] 2021/06/01 - 21:07:32 | 404 |         658ns |   machine1 | GET      "/machine/60e3bce3c4c47d0d14cf7a49e4e518f683b224e21a5c19a9415b57f96c58d069"
Jun 01 21:07:37 bindy.mopi.local sh[520347]: 2021/06/01 21:07:37 We dont know anything about the new key. WTF
Jun 01 21:07:37 bindy.mopi.local sh[520347]: [GIN] 2021/06/01 - 21:07:37 | 200 |     688.414µs |  machine2 | POST     "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06297c2845"
Jun 01 21:08:00 bindy.mopi.local sh[520347]: [GIN] 2021/06/01 - 21:08:00 | 404 |         550ns |   machine1 | GET      "/machine/60e3bce3c4c47d0d14cf7a49e4e518f683b224e21a5c19a9415b57f96c58d069"
Jun 01 21:08:06 bindy.mopi.local sh[520347]: 2021/06/01 21:08:06 We dont know anything about the new key. WTF
Jun 01 21:08:06 bindy.mopi.local sh[520347]: [GIN] 2021/06/01 - 21:08:06 | 200 |     630.594µs |  machine2 | POST     "/machine/a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06297c2845"

Um. This looks like a bug indeed!
I will investigate and try to replicate the issue. Keep you posted!

Um. This looks like a bug indeed!
I will investigate and try to replicate the issue. Keep you posted!

If you need that system is running with a nginx reverse proxy for giving myself ssl, because i have more than one websites && a firewall that only allows nginx, http, ssh, but it allows to make connections as if the ip was dierect, because it is also using a x2ltp connection

Do i need to get #33 ?

Is there any port i need to open?

Hi @Juliaria08 you can checkout that branch, or just wait until the PR is reviewed and merged into main.
In principle you only need to open the port where you run headscale, as per the config.json you have defined.

Hi @Juliaria08 you can checkout that branch, or just wait until the PR is reviewed and merged into main.
In principle you only need to open the port where you run headscale, as per the config.json you have defined.
Ok, then it is still not working because i can't ping the other server...

@Juliaria08 but has the authentication workflow finished? Can you paste the logs?

@Juliaria08 but has the authentication workflow finished? Can you paste the logs?

Ok. pasting logs. Due to not wanting to get DDOS'ed i will change client 1's ip to 0.0.0.0 and client 2's ip to 0.0.0.1

You are not running the new branch!

You are not running the new branch...
However, that should work in the current version you are running. Have you register your nodes?
(asuming that you did not create a new namespace)
./headscale namespace create foobar
./headscale -n foobar node register a1a52bbeb584ddf98210f6fcde91224b67f9bcffbb3d554d8d9f3e06

Ops i pasted old journald

That looks like a new bug !
I will investigate....

Getting branch fix-polling-race...

@Juliaria08 the branch has now been merged into main. Can you check if you are still having the issue?
Cheers,
Juan

@Juliaria08 the branch has now been merged into main. Can you check if you are still having the issue?
Cheers,
Juan

Nothing, tailscale up still does not work correctly.
What i am supposed to do on the client side? Appart from running tailscale up --login-server https://vpn.*.duckdns.org

Can you paste logs?

Can i send mail?

hahah sure. juanfontalonso at gmail.com

hahah sure. juanfontalonso at gmail.com

Done

Why aren't the machines able to acces, nor ping the tailnet...

Check your email please.
On Sun, Jun 13, 2021, 20:21 Julian Marcos @.***> wrote:

Why aren't the machines able to acces, nor ping the tailnet...
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/juanfont/headscale/issues/32#issuecomment-860251152,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABMGQ3F3PAMQDJEQHGSH7DTSTZKHANCNFSM454L3ANA
.

repo: juanfont/headscale


text:
Turn the combination of TLS-ALPN-01 and listen_addr on a port other than

443 into a warning, not an error, refs #53.

Looks great!

authors: cure juanfont


text:
[Question] Is this a 2-way sync?

For instance:

Annotations from hypothesis are created as zotero child notes. (hypothesis-> zotero)
If I add new child notes to the same pdf on zotero, will the childnotes be created as new annotations on hypothesis? (zotero -> hypothesis)?

Here is some context so you get a better idea of what I am trying to do:

I create pdf annotations using my local pdf reader (ereader device, android device, or tablet).
I use zotfile, a zotero plugin, to extract my locally generated annotations into child notes.
I use the contents of this repo to push my annotations up to my hypothesis account.

No, it's only Hypothesis annotations -> Zotero child notes.

I see. Thanks for the response

authors: bugzy judell

repo: judell/zotero


text:
svc: support closing via context

In nsqio/nsq#1305 I encountered a situation where I wanted to add additional hooks for exiting a process - but the only exit path for Run() is a SIGINT/SIGTERM. In order to add new way for applications to signal that the process should exit I am adding a conditional Context interface that applications can implement. When implemented svc will wait for a SIGINT/SIGTERM OR for the context to finish.

@jehiah Thanks. I'll check and merge over the weekend

LGTM

Thanks @judwhite

authors: jehiah judwhite

repo: judwhite/go-svc


text:
Vuln branch

Description

A clear and concise summary of the change and which issue (if any) it fixes. Should also include relevant motivation and context.
Resolved or fixed issue:
Affirmation

[ ] My code follows the CONTRIBUTING.md guidelines

Meant to push to a personal repo

repo: juice-shop/juice-shop