Add initial support for shading rate control

Adds ability to detect and enable Vulkan support for Fragment Density Map (FDM) and Variable Rate Shading (VRS).
Adds ShadingRatePattern for specifying the pixel density for each region of the render target.
Adds support for attaching a ShadingRatePattern to a RenderPass.
Adds application settings and knob flags to enable FDM or VRS.

Note: VRS support with the DX12 backend is not yet implemented. Attempting to enable FDM or VRS with DX12 will cause an error.

Hello! Curious, do you have a branch with any project using foveation? Could be something like 01_triangle, but could help understand how this would integrate into an app code 🙂

Yes, I have a fovation benchmark I put together to measure the performance impact of a bunch of foveation related variables, as well as a commit that enables foveation in 04_cube. https://github.com/bjoeris/bigwheels/tree/experimental-foveation

Just a quick note, contributing page (https://github.com/google/bigwheels/blob/main/CONTRIBUTING.md#for-developers-contributing-a-patch) mentions "Please add new commits to your branch, instead of amending your commit. Adding new commits makes it easier for the reviewer to see what has changed since the last review."
It's easier to see changes that way, particular for larger PRs

Just a quick note, contributing page (https://github.com/google/bigwheels/blob/main/CONTRIBUTING.md#for-developers-contributing-a-patch) mentions "Please add new commits to your branch, instead of amending your commit. Adding new commits makes it easier for the reviewer to see what has changed since the last review." It's easier to see changes that way, particular for larger PRs

Apologies, that makes sense. I'll do that for future PRs.

Thanks! Would you be able to update the PR description to more accurately reflect what is included in this PR?
(I haven't taken a look after your last changes)

Wasn't able to test the cube or other samples on the branch on my devices (lacks extensions) and won't be able to on a device that has those before next week. I'll just ask you to run those on a compatible device with validation enabled, and make sure we don't trigger any validation errors.

Thanks for the reminder to check the validation layers. I did find a couple of errors and added commits to fix these.
One of the errors is going to be a bit annoying: we are only allowed to enable one of FDM or VRS when creating the device. This means Application needs to know which shading rate mode to pass to the device create info. For now I just added this to ApplicationSettings, but I'll also need a way to set this from a knob.

but I'll also need a way to set this from a knob.

Adding two boolean flags KnobFlag<bool> to StandardOptions for each of vrs and fdm should be reasonably simple. If you want force to have only one of them there's always the option of tossing an error.

Adding two boolean flags KnobFlag<bool> to StandardOptions for each of vrs and fdm should be reasonably simple. If you want force to have only one of them there's always the option of tossing an error.

Yeah, that worked. The order of Config and InitKnobs seems confusing, but I think I got it figured out.
I also changed the ShadingRateCapabilities for the device to report only the single ShadingRateMode that is enabled on the device.

Would you be able to add a few lines into the PR description on what changes are included here? Since that will be used as a commit message. For example, it shading rate pattern, flags, using renderpass create 2, etc. Thanks!

Do you mean PRs are squashed to a single commit when merged in this repo? I usually leave separate commits, since that gives more specific information to someone searching through the git history. But I'm happy to do whatever works for folks working in this repo.
I don't see how to add extra lines to the PR description. I only see how to edit the title, which is just a single line.

Do you mean PRs are squashed to a single commit when merged in this repo? I usually leave separate commits, since that gives more specific information to someone searching through the git history. But I'm happy to do whatever works for folks working in this repo.
I don't see how to add extra lines to the PR description. I only see how to edit the title, which is just a single line.

Yeah, what we usually do is 1 PR = 1 commit. Since we add commits for review feedback, and that way you can in theory sync to a specific commit and it should be valid. Also presumably if we need multiple commits, then maybe it could have been multiple PRs too? Anyway, you should be able to click "..." in the current PR description to edit it.

Anyway, you should be able to click "..." in the current PR description to edit it.

I see, I didn't realize first comment = description. Done.


error TS2300: Duplicate identifier for self-referencing packages.

Bug Report
I have two packages A and B.
B has peerDependency on A
A has devDependency on B (for running certain tests)
B extends an external package and exports a module:
declare module "yup" {
  export type ObjectIdSchemaConstructor = { ... }
}

Now funnily, because of B's peerDependency on A, running installation brings A bundle into node_modules of A. Thus the error of duplicate identifier.
node_modules/@bluelibs/x-bundle/dist/validators/declarations.d.ts:21:10 - error TS2300: Duplicate identifier 'ObjectIdSchemaConstructor'.

21     type ObjectIdSchemaConstructor = {
            ~~~~~~~~~~~~~~~~~~~~~~~~~

  src/validators/declarations.ts:25:15
    25   export type ObjectIdSchemaConstructor = {
                     ~~~~~~~~~~~~~~~~~~~~~~~~~
    'ObjectIdSchemaConstructor' was also declared here.

node_modules/@bluelibs/x-bundle/dist/validators/declarations.d.ts:24:11 - error TS2451: Cannot redeclare block-scoped variable 'objectId'.

24     const objectId: () => ObjectIdSchema;

TypeScript doesn't know anything about peer dependencies or dev dependencies. It sounds like someone is just shipping wrong types? I don't understand what the implied bug is here.

@RyanCavanaugh let me clarify as I understand how it can be confusing.
Inside my x-bundle I do inside a file: declare module yup { export type X { } }.
In my x-bundle I have a devDependency on x-password-bundle (to run some specific tests).
x-password-bundle has a peerDependency and devDependency on x-bundle.
This means that I end up having x-bundle inside node_modules on x-bundle thus triggering error of duplicate export of type from yup.
Now that I think about it this may not be a TS bug in the sense that TS does it's thing, it reads the types of the node_modules and "detects" a duplicate export of the same type from two different sources. (the one from node_modules/.../x-bundle/dist/declaration.ts and the one from dist/declarations.ts)


Time range for leaderboard

Deploy Monthly leaderboard.
Option to add custom time range is also desirable

Being worked on #52


k8s: make sure we return an error when no healthy endpoints

What does this PR do?
This PR make sure kubernetes endpoints discovery does not return en empty list of servers but rather an error.
Motivation
In the case that all pods referenced by a k8s service are unhealthy kubernetes endpoints discovery will return an empty list of service which will ultimately end up by a Service Unavailable for the client.
By returning an error here I hope that traefik will continue matching the request against other routes so that we can do a fallback.
More

[ ] Added/updated tests
[ ] Added/updated documentation

Additional Notes

FYI I was able to test this patch on v2.1 this morning and it did what I was hoping for.
Given the following ingress routes:
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
  name: go-lev-tls
  namespace: default
spec:
  entryPoints:
  - https
  routes:
  - kind: Rule
    match: Host(`go-lev.company.com`)
    services:
    - name: go-lev
      passHostHeader: true
      port: 80
  tls:
    secretName: company-com-tls
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
  name: go-lev-maintenance-tls
  namespace: default
spec:
  entryPoints:
  - https
  routes:
  - kind: Rule
    match: Host(`go-lev.company.com`)
    priority: 2
    services:
    - name: maintenance
      namespace: maintenance
      passHostHeader: true
      port: 80
  tls:
    secretName: company-com-tls

If the kubernetes service go-lev were to reference only unhealthy pods then the go-lev-tls would be ignored and traefik would consider go-lev-maintenance-tls.
Presently if go-lev service were to reference only unhealthy pods, traefik would return a 503.

Hello @sylr,
The current behavior is to return a 503 when there are no healthy endpoints available to serve the request. This behavior acknowledges that Traefik should accept the request, and that there is a valid backend, but it is currently unhealthy/unavailable.
Kubernetes services inform Traefik of state, allowing us to infer that there should be valid endpoints. This inference is what dictates this behavior.
This PR inverts this logic, and I don't think that is correct behavior.
Therefore, I vote to decline this PR.

Hi @dtomcej,
Thank you for your reply.
This is indeed a change of bahaviour but it would match the behaviour observed when the kuberbetes service reference no pods at all.

No Pods
No Healthy Pods

Today
Next Rule
503

With Patch
Next Rule
Next Rule

Hello @sylr,

No pods or no healthy pods should behave alike.

Completely agree.

No Pods: Next Rule

Are you sure this is the current behavior? If there is a service referenced in an ingress[Route] it should create a Router, regardless of if there are valid endpoints.
It is possible that the No-pods behavior is incorrect...

I did not test it, I make sense of it when I saw this:
https://github.com/containous/traefik/blob/49a5af151ea56c91ef3f2916ac36d630865073b9/pkg/provider/kubernetes/crd/kubernetes_http.go#L322-L324
To me it seems that we would hit this code when a service has no pods.

So I did the test and if a service has no pods associated the rule is ignored (-> Next Rule).
This behaviour is really handy as it allows to do a fallback.

We believe that this proposal fits into a more complex problem and we want to think about it more carefully in a dedicated issue. Could you open the issue accordingly with the details of your use case ?


DCC_Tabbed_Sheet: Add known issues to sheet.json

Changes / Comments
Just adding a "known issues" section to the sheet.json file
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[x] Does the pull request title have the sheet name(s)? Include each sheet name.
[ ] Is this a bug fix?
[ ] Does this add functional enhancements (new features or extending existing features) ?
[ ] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.


[Web] [CanvasKit] WebGL errors when using HtmlElementView

In a full app I see lots of rendering issues caused by this error. In this simple example there is only the error.
/cc @hterkelsen
WebGL: INVALID_OPERATION: bindTexture: object does not belong to this context

[.WebGL-0x7fc2991f8e00]GL ERROR :GL_INVALID_OPERATION : glDrawElements: Source and destination textures of the draw are the same.

import 'dart:html';
import 'dart:ui' as ui;

import 'package:flutter/material.dart';

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

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  double opacity = 0;

  @override
  void initState() {
    super.initState();
    ui.platformViewRegistry
        .registerViewFactory('xyz', (int viewId) => SpanElement());

    WidgetsBinding.instance.addPostFrameCallback((_) {
      setState(() {
        opacity = 1;
      });
    });
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Column(
        children: <Widget>[
          Expanded(
            child: AnimatedOpacity(
              duration: Duration(seconds: 4),
              opacity: opacity,
              child: Container(
                child: FlutterLogo(size: 400),
              ),
            ),
          ),
          Container(
            height: 400,
            child: HtmlElementView(viewType: 'xyz'),
          ),
        ],
      ),
    );
  }
}

[✓] Flutter (Channel master, v1.14.7-pre.83, on Mac OS X 10.15.2 19C57, locale en-CH)
    • Flutter version 1.14.7-pre.83 at /Users/ben/Projects/flutter
    • Framework revision e10df3c1a6 (14 hours ago), 2020-02-01 11:23:01 +0800
    • Engine revision e625e174c5
    • Dart version 2.8.0 (build 2.8.0-dev.6.0 5ae5aff640)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/ben/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.3.1, Build version 11C504
    • CocoaPods version 1.8.3

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

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 43.0.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

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

[✓] Connected device (3 available)
    • macOS      • macOS      • darwin-x64     • Mac OS X 10.15.2 19C57
    • Chrome     • chrome     • web-javascript • Google Chrome 79.0.3945.130
    • Web Server • web-server • web-javascript • Flutter Tools

• No issues found!

Closing this issue as I am unable to reproduce it on the latest master (48d5fcabbd).

Re-opening because I still see the error on master with the given example app


synbiohub_adapter test_submit_sub_collection fails

sub collection submission is not working. This needs investigation.
synbiohub_adapter/tests/test_sbh_submissions.py has test_submit_sub_collection() which demonstrates the issue. This is currently on branch upload_test of synbiohub_adapter.

The code above appears to be unrelated. It is never triggered while the failing test is running.

Today there are three failing tests in synbiohub_adapter/tests/test_sbh_submissions. For tests.TestSBHSubmissions.test_submit_collection at least part of the issue is that the submitted collection has no members. When the same code is run with pysbol, the submitted collection has a member. I am continuing to investigate.

The submission of the document used None where it should have used 'file' as pySBOL does. Two of the three tests are now fixed.
test_submit_sub_collection is still failing.

See #113 for the root cause of this breakage.


No package 'vips-cpp' found

I work on Mac OSX High Sierra. After install vips and ffmpeg via
$ brew install vips ffmpeg
I tried to build tifig. However, the following error happened during cmake
$ cmake ..
-- Checking for module 'vips-cpp'
--   No package 'vips-cpp' found
CMake Error at /usr/local/Cellar/cmake/3.6.2/share/cmake/Modules/FindPkgConfig.cmake:424 (message):
A required package was not found
Hope some one can help. Thanks.

Hmm, that's weird. Can you paste the output of brew info vips and pkg-config vips-cpp --libs ,  then I can might have some more clue what's wrong on your machine.

Thanks for the suggestion. everything is fine with brew info vips. When I run pkg-config vips-cpp --libs, it suggests me to add the folder containing vips-cpp.pc to PKG_CONFIG_PATH. There are other cmake errors such as
-- Checking for module 'vips-cpp'
--   Package 'libexif', required by 'vips', not found
$ pkg-config libexif --libs
Package libexif was not found in the pkg-config search path.
Perhaps you should add the directory containing `libexif.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libexif' found
I am not sure whether the directory should be added by vips or tifig. For me, these packages are installed in /usr/local/Cellar/
Thanks, I will continue to add these directories to PKG_CONFIG_PATH.

Ok, seems like your PKG_CONFIG_PATH was messed up somehow. :crossed_fingers: it builds now.

Did building tifig finally work for you?

Yes, it works. Thanks. The issue can be closed.


About resnet50 implemented using CaffeOp

For bugs or installation issues, please provide the following information.
The more information you provide, the more likely people will be able to help you.
Environment info
Operating System:
centos7.2
Compiler:
gcc
Package used (Python/R/Scala/Julia):
python
MXNet version:
0.9.5
Or if installed from source:
yes
MXNet commit hash (git rev-parse HEAD):
If you are using python package, please provide
python-2.7
Python version and distribution:
If you are using R package, please provide
R sessionInfo():
Error Message:
Please paste the full error message, including stack trace.
When I implement the resnet-50 network by CaffeOp operator fully, I found that, the "batch normlization layer" and the "scale layer" with some problems:
First, in init_params, the dimension is not adapted;
Second, I think the network with CaffeOp can not convergence when trainning, which is normal in train_resnet.py in mxnet's original operator; and also, It is normal in caffe;
Third, When I alternate the resnet-50 symbol with a simple lenet-5 symbol, it looks like normall
Thank you for your answer!
Minimum reproducible example
if you are using your own code, please provide a short script that reproduces the error.
Steps to reproduce
or if you are running standard examples, please provide the commands you have run that lead to the error.

What have you tried to solve it?

The weight is not updated normally , when I check the value with monitor, and all the value is same from begin to end in training in each batch

This issue is closed due to lack of activity in the last 90 days. Feel free to ping me to reopen if this is still an active issue. Thanks!
Also, do please check out our forum (and Chinese version) for general "how-to" questions.


TextInput bug when insert position changes

Focus a TextInput
Type 'abc'
Tap the textinput to put the cursor before 'abc'
Write 'xyz'
The result is totally wrong:
it should be: 'xyzabc'
instead it is: 'abcxyzabc'
The bug is on LG, Android Lollipop, kivy 1.9.1, keyboard LG (with predictions or without)

I will work on the issue and send the pr as soon as possible.

Hi @melassa. I think you are trying to build an apk using old toolchain(buildozer android debug)
Try using the new toolchain(buildozer android_new debug). You will not receive any such issue.

I am using kivy launcher

The issue which you have described here is not actually a bug because I tried to use text input in all platforms and I faced this issue only in android that too using old toolchain(which should not be used now).
So, if you are using kivy launcher and facing the issue the I would encourage you to build an apk using new toolchain and then use it.

@melassa Old launcher with code and bootstrap from ~1 year ago. Build a new one, or as suggested, just package it as a separate app and test again.
However, there was a similar thing (#4173), so you might want to check that too (might be the same bug?), though I can't reproduce it either.

Ok. I'll try.
2017-01-19 1:17 GMT+01:00 Peter Badida<EMAIL_ADDRESS>
@melassa https://github.com/melassa Old launcher with code and
bootstrap from ~1 year ago. Build a new one
http://python-for-android.readthedocs.io/en/latest/launcher/, or as
suggested, just package it as a separate app and test again.
However, there was a similar thing (#4173
https://github.com/kivy/kivy/issues/4173), so you might want to check
that too (might be the same bug?), though I can't reproduce it either.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kivy/kivy/issues/4914#issuecomment-273643801, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AIhQ23n7jigBUeIaUwdMEhXWFjlMZKt8ks5rTqt-gaJpZM4LiySS
.

Please reopen if you can reproduce it with kivy master + sdl2.


Draw ellipse parameter is mislabeled as center

The drawEllipse function actually treats the x and y as the position of its rect bounds (ie: top left corner).

Draws an ellipse inside the rectangle {x, y, width, height} of width lineWidth (inset from the rectangle bounds). If startAngle != _endAngle, this draws an arc between the given angles. Angles are given in degrees, clockwise from due north.

Tripped me up a little when I was using it to debug and thought my points were offset a little since the crankstart function is
pub fn draw_ellipse(
        &self,
        center: ScreenPoint,
        size: ScreenSize,
        line_width: i32,
        start_angle: f32,
        end_angle: f32,
        color: LCDColor,
    )

Pretty easy fix, would just need to rename the parameter. Might hop on it this weekend if no one else does

So in the original api. 🤷🏻♂
Also same in reference and derivatives like this.


Wrong character when using non-English keyboard

Description

I've added some more characters to the dropdown opener in the regex, so that the dropdown opens when the following keys are pressed on the keyboard:

Because if those characters are available to type, they can open the drop-down menu after pressing.
Also correct first character when trying to type numbers or non-English.

it solves following bug:

https://github.com/Choices-js/Choices/issues/1068
Types of changes

[ ] Chore (tooling change or documentation change)
[ ] Refactor (non-breaking change which maintains existing functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

[x] My code follows the code style of this project.
[ ] I have added new tests for the bug I fixed/the new feature I added.
[ ] I have modified existing tests for the bug I fixed/the new feature I added.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

I checked the error in the pipeline and found that the problem is solved if the following packages are installed:
  "pixelmatch": "^5.3.0",
    "puppeteer": "^19.2.2",

We need to add these packages to package.json.
This has nothing to do with my changes, should I add these packages?
@mtriff

I can't resolve the failed checks, can you please help me?
@mtriff

Thanks so much for the contribution @ousmorez!


Permute the TIFF dimensions by default

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.09%. Comparing base (f87939c) to head (e432807).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #14      +/-   ##
==========================================
+ Coverage   94.00%   94.09%   +0.08%
==========================================
  Files           7        7
  Lines         267      271       +4
==========================================
+ Hits          251      255       +4
  Misses         16       16

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

🚨 Try these New Features:

Flaky Tests Detection - Detect and resolve failed and flaky tests


Skip the suffix when updating the Submariner CR

Downstream builds track the main version, without pre-release suffixes (-rc1 etc.), even for pre-release builds. Skip the suffix when updating the corresponding CR.
Signed-off-by: Stephen Kitt<EMAIL_ADDRESS>

/cc @sridhargaddam @tpantelis

/lgtm
/approve


Restore defauts/ undo

I would like to know if there is a option to restore or undo anything, for whatever option there

edits can generally be undone using Edit > Undo, but certain actions (such as opening a completely new source VFX) cannot be undone


nix.dev: enable branch protection on master

Is your feature request related to a problem? Please describe.
Currently, anyone added to the Documentation Team can push to master at will. Recently, there was an incident where a contributor pushed an incorrectly-signed commit to the wrong git remote (the upstream master, when they should have pushed to their fork), requiring manual remediation.
Describe the solution you'd like
Branch protection rules should be enabled for nix.dev to prevent erroneous pushes.

I've enabled the setting that requires PRs before merging into master:

Let me know of any other specific settings you'd like to see enabled. (I'll leave this open until someone chimes in if this is enough protection, or if you want more.)

However, it looks like the documentation team only has "Maintain" permissions on the nix.dev repo (see image below), which as far as I understand doesn't imply "Write" permissions (https://docs.github.com/en/organizations/managing-user-access-to-your-organizations-repositories/managing-repository-roles/repository-roles-for-an-organization), so maybe there's another issue...?

Maintain does indeed imply Write, per the link you posted:

Ah, cool, I can't read. Cheers.

It would be good if I got admin permissions, then we wouldn't have to bother the infra team for such trivialities.

(Jeez, the GH UI is so confusing for assignees... sorry.)
Sending to @zimbatm to handle https://github.com/NixOS/nixos-org-configurations/issues/303#issuecomment-1801216393 and/or close this issue.

We need a declarative tool to manage users and repo configuration. I don't like the idea of people randomly clicking around the consuming GH UI. But in the meantime, I gave fricklhandler permission.


Hello!

Hi!
I am very interested in you gomoku game!
I found that it has not strongest enought
Could you improve to make it stronger.
Could you see the file below! I am alway victory it by that way!

Best regrads,

When I am victory in this game. After that, I play it again and I am alway victory if I play the same with previous game!

Thank you for posting this, do you remember the moves before J4 and J9? I can see the straight four was formed in column J but not which moves were before this. I will continue to try and improve the AI ^^

Thank you!
I am waiting for new version from you!
I recorded the video for problem above!
video-1499003341.mp4.zip

Thanks, I think I have discovered the problem and will get a fix out in the next few days hopefully. I appreciate the video!


adding help text loop to loading page

This is a first pass at adding some helpful text that loops during the loading page. The goal is both to give users some information about what's currently happening, as well as to provide some interesting information about the project in general.
I think the list should never get too long - not sure exactly what that means, but this starts with a handful of messages to share with users as they wait. Over time, we can add and modify this.
Here's the text that will be updated in this PR. Note, it is sped way up just to show the messages w/o having a 60 second long gif, the actual seconds between message change is currently 4

What do people think about this pattern for sharing information?

One thing I'm not sure about is the looping code I'm using here. I've got a while true statement to keep looping through the messages, but something tells me there might be a better way to do this in a javascripty async fashion? If anybody has ideas let me know!

cc @betatim who has been on a "designy" kick with me lately :-)

The fact that the log viewer changes position is :-/ (I think it already did when the error message appeared but this GIF really drives home the point about how annoying that is.)
Otherwise I like the idea. In https://github.com/scikit-learn/scikit-learn/pull/11221#issuecomment-518182294 someone said "I think mybinder.org is broken for me", it turns out they misinterpreted the "taking longer than usual" as an error message. Maybe we can improve on that with this PR as well?

I totally agree about the height. What do you think about:
Give enough whitespace for 2 lines on a 13" laptop, set fixed width for the "taking longer to load" message so we can better-predict the vertical space that the text takes up. Then just fill in the white space if the text messages spill over, and don't use text that takes up more than 2 lines?
re: the wording of taking longer than usual and people thinking it's broken. Do you think we should change that text, or change the "helpful messages" to add one about it?

OK, a few updates. Here's the latest version (again, with sped-up messages)

This is what it currently looks like. I wanted to have a comparison nearby.
Initial thought from "just woke up, dark laptop screen" Tim: is the grey/gray of the two sub messages dark enough to produce a high enough contrast? I thought it was tricky to read. We should check that.
Thoughts:

can we know if the repo is building or launching outside our log window? That would be super useful because we could then display "Building a new image for your repository, this can take a few minutes" instead of having to write the text as "maybe it is building, who knows"
one help message should be some good instructions about expanding the log window (or we make it expanded by default, which we had decided we should do in #787)
is it confusing if there are two messages that scroll independently? My feeling is that one change interval is easier for new users to understand. This means that we have a "large message" and a "small message" that both work together to communicate one idea. Then it changes to the next pair of "large message" and "small message" that communicate the next idea.
I like the extra white space

I think this will be a good improvement to the UI!

It also makes me think we should start the process of redesigning the UI elements taking into account all the things we learnt, features we added, and what a good UX looks like. We are on the brink of having a "messy" UI because we keep adding to it instead of designing it specifically with all the components in mind. Something for a new PR/issue.

OK, the latest push cleans up a few things per @betatim's comments - I thought about it a bit more on the plane and I agree with you, I think having only one thing change on the page is preferable. So, here's what this does:

The big text no longer changes
For the first N (where N is currently 120 but I'm flexible on this) seconds, the smaller message will rotate through the ones in this PR
After 120 seconds, the message freezes to the "this is taking a while to load" message

This way we keep the same general structure of the page, and avoid changing vertical spacing when new messages pop up.  Here's a gif:

Merging now. I think we can work on the messages in a new PR as well.


[BEAM-9605] BIP-1: Rename setRowOption to setOption on Option builder

Added missing rename.
Please add a meaningful description for your change here

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

As this was an oversight of a forgotten refactor, merging in.


Out of Range error - TypeFilter = 2

When typeFilter is set to 2, the used var Indexes is used to store the proxes indexes matched by filters values.
The variable is passed through two methodes. One for value1 and another one for value2 (country and port in our case).
When the value is passed to CountryFilter, all working great, right index are added to indexes.
The problem come when indexes will be added with the second methode.
If the value in .item3 equal value2 it will be added to the Indexes even if the .item2 not match the filter.
We need to do the verification on already gathered indexes proxies.
Can't change the methode for port cause is used in another methode or functions.

foreach (index in Indexes)
{
   if (DataTable[index].ItemX != valueX)
       {
           Indexes.RemoveAt(index)
       }
}

foreach (var item in DataProxyTable)
{
   if (item.itemX == valueX)
   {
       item.delete();
    }
}
var proxyQueue = ProxyQueuing(DataProxyTable);
return proxyQueue;

Patched in [d21ebe0] ...


is it possible to write plugin to show images/pdf?

sorry if I posted in the wrong place.
If this is possible, I would like to help in any way I can, including with donation.
Any documentation / guidance would help!
Thank you.

Hi, this is totally possible - start with the https://github.com/Eugeny/terminus/blob/master/HACKING.md document!
You're looking to extend BaseTabComponent to create a new tab that contains an embedded PDF viewer.
The only question is how the user would reach that tab.


Transfer Error

When I try to use transfer function if I set memo parameter as None it is sending successfully
But If set memo parameter as a string I am getting this error output ;
from bitshares import BitShares
bitshares = BitShares()
bitshares.wallet.unlock("xxxxxxxx")
bitshares.transfer("red-head2", "0.000001", "OPEN.BTC", None,"red-head") --> this is working good
bitshares.transfer("red-head2", "0.000001", "OPEN.BTC", "sometextmessage","red-head") --> this is NOT working
Error Details
Traceback (most recent call last):
File "/home/serdar/bitshares-deneme.py", line 39, in
bitshares.transfer("red-head2", "0.000001", "OPEN.BTC", "[]","red-head")
File "/home/serdar/.local/lib/python3.5/site-packages/bitshares/bitshares.py", line 422, in transfer
"memo": memoObj.encrypt(memo)
File "/home/serdar/.local/lib/python3.5/site-packages/bitsharesbase/operations.py", line 45, in init
memo = Optional(Memo(kwargs["memo"]))
File "/home/serdar/.local/lib/python3.5/site-packages/bitsharesbase/objects.py", line 98, in init
('from', PublicKey(kwargs["from"], prefix=prefix)),
KeyError: 'from'

The account= attribute in the call is not required. It will obtain the account from the configuration's default_account.
If you want to send from a specific account in your wallet you need to provide it explicitly with account= like this:
bitshares.transfer("red-head2", "0.000001", "OPEN.BTC", "sometextmessage",account="red-head")

I can send asset when I set memo parameter as None,
But my main problem is when I try to set memo parameter with some text data it is giving the same error like above.
I can not send asset with memo details...
Please could you help to fix that problem?

I want to send like that, I want to write memo text...

Thanks for the report. This was in fact an error I made in the code. Has been fixed in the develop branch and will be available in the next release


Support keyboard 3d touch text selection on iOS

Use case
When typing in a text field on native iOS apps, you can force-press on the keyboard to move the cursor, and then force press further to select the word under the cursor. You can then drag the cursor around to extend the selection to more words, or force press again to deselect and go back to just moving the cursor. Force pressing repeatedly toggles between selecting or just moving the cursor.
In flutter applications you can move the cursor using 3d touch, but attempting to force touch further to select words does not work. Sometimes it seems to select the last word in the text field, but it does not work the same way as in native apps, where the word under the cursor is selected. This makes apps feel less native, and can be jarring as it does not do what you expect.
Proposal
For Flutter to mimic this behaiviour as closely as possible, so it feels more like native apps.

Related to 17030

Since Apple is discontinuing use of 3D touch for long-press, I think we also need to opt-in for long-press instead. Is that explanation ok @Eik1234?

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.

I think the original comment is quite clear: On iPhone, while dragging the cursor from the keyboard, you can "touch harder" to select a single word or a range of words. This doesn't seem to be supported on Flutter.
Steps to reproduce:

Write text with multiple words in a textfield
3D touch on the keyboard to trigger the cursor mode
Move the cursor to any word that you want to select
3D touch the screen (touch harder)

Expected result:

The word gets selected
You can drag the cursor to select more words

Actual result:

3D touch while dragging the cursor has no effect

$ flutter doctor -v
[√] Flutter (Channel stable, 1.22.5, on Microsoft Windows [VersiÃ³n 10.0.19041.867], locale es-ES)
    • Flutter version 1.22.5 at D:\devtools\flutter-1.22
    • Framework revision<PHONE_NUMBER> (3 months ago), 2020-12-10 11:54:40 -0800
    • Engine revision ae90085a84
    • Dart version 2.10.4


Firewall / Rules - Page Efficiency Upgrade

Add is_array test and change !empty test to is_array test.

I already pushed a change that is almost the same as this and the DEV team have tested it. Would you take a look at that please and let me know if this PR adds anything?

@sbeaver-netgate wasn't the change you're referencing was just in upgrade_config.inc?
This looks legit. The checking whether $config['filter']['rule'] is an array should always be unnecessary since I don't think short of manually editing the config it's possible for that to not be an array, but it's a good check to have regardless. The foreach on $separators likely hasn't triggered an error because it's never been passed anything other than an array, but is_array is better than !empty there and may prevent PHP from throwing errors in the future.

Yes. You are right. The code is so similar I didn't notice this was another instance. This is fine.

Yeah I think you are referring to the upgrade script function.
That triggered me to take a look at these two functions in filter.inc.


support haproxy

Apparently, to support operating behind an haproxy you can't wait for the nonce string.  see the gist:   https://gist.github.com/729332
I'm not 100% sure about how this works but reading references in other servers: https://github.com/Worlize/Socket.IO-node/commit/b9bef2b2660526768c1cd21ad1ef77f72ec0fc62
and https://github.com/facebook/tornado/pull/153
It appears the nonce e.g. the request body is optional?  From my gist it's clear that it's not included when proxied behind HAProxy...   I'm just getting setup with em-* so will take a shot at a patch but thought it'd be helpful to get some more eyes on this...
I'm using the following to manage haproxy locally for testing: https://gist.github.com/729335
I've messed around with changing the websock from mode http and mode tcp - believe with the changes in the other mentioned servers mode http would/can work...   i've also tested running on the same or different ports.

Is this still a known issue in 2015? We are trying to load balance using HAproxy and we're seeing odd behaviour.


[5.4] Model::getRouteKeyName() should return fully qualified key name

Implicit Route Binding fails if the model has a global scope that joins tables with an id column (column reference "id" is ambiguous).
This is because Model->getRouteKeyName() only returns the key column name (i.e. "id") instead of the fully qualified identifier (i.e. "users.id") to ImplicitRouteBinding::resolveForRoute

I don't want to make this change on a point release. You can override the method in your model if it is needed.

ok, will do


[Question] Builder Initialized Output Event

Hi Formio team,
I need the builder instance once the builder is initialized. This is similar to the (ready) event available for  selector.
The change output event does not address our use case.
I am expecting something like this:
<form-builder [form]="formJSON" (ready)="builderLoaded($event)"></form-builder>
So is there any plan to introduce this or any workaround to achieve this.?

You can get it like this.
import { Component, AfterViewInit, ViewChild } from '@angular/core';
import { FormBuilderComponent } from 'angular-formio';

@Component({
  template: '<form-builder></form-builder>'
})
export class FormRenderComponent implements AfterViewInit {
  @ViewChild(FormBuilderComponent) formBuilder: FormBuilderComponent;
  ngAfterViewInit() {
    this.formBuilder.ready.then((builder) => {
      // "builder" is the form builder instance.
      console.log(builder);
    });
  }
}


Can the component act as a wrapper?

Firstly thank you for providing this repository, which I've found very helpful.
This isn't a bug/code issue but I wasn't sure the best place to ask.
In my Vue file, I have a heap of content:
<template>

  // lots of Vue content

</template>

I want to use vue-html2pdf and wrap the existing content, is that possible? I've tried using it as an outer wrapper for content it does not render/show my Vue code inside the  element.. The only way I've been able to use it so far is like so:
<template>

Lots of Vue Content

    <vue-html2pdf>
          Lots of Vue content (a copy/paste of the above code, line for line)
    </vue-html2pdf>

</template>

Is there something I have to do with the props to get it to wrap and display the content inside the wrapper? As it happens, I'm having to copy and paste my code and that's not very D.R.Y.
The show-layout props seems to cause the content to float above the page, but I just want to render the Vue code

I solved my own problem using CSS and overrides. If anyone else encounters this issue, I just added this into my css file:

Hey, thanks for letting me know, will come up a solution for this use case

Would you accept a PR? I've not contributed to an open source project before but I'd like to try with this one if possible?

Hmm yeah that would be cool, ill set it up tomorrow

I think I should be able to fork and PR the fork, and that should do it, I'll try tonight. Thanks!

Sure you could try that, Just make sure you make the current behavior of the layout to be a default and just give them an option of making the layouts content to not float, Thanks as well!

@kempsteven when you're working on it locally, how to do test your changes? I only see build scripts in the package.json (sorry, I've not done much contribution to open source code like this)

Have not set up any unit tests yet, for now I only do manual testing, you could pull the vue-html2pdf-demo to do the test.
I just make sure the changes works on the latest version of Chrome, Mozilla, and Edge.
It's cool man, Its my first time working with someone on an open source project

Hey man, Just heads up, I might become less busy in the next few days and I might do this update

This is now done in version 1.7.2, yay
Just need to set float-layout to false and you'll be able to do this.

Cool sorry mate I got sidetracked

Its cool man


FIxed Navbar vertical alignment and Login/Signup Components

Fixed Navbar alignment and Login/Signup component #79
Problems and Fixing status

[x]  As mentioned in the issue the navbar was not vertically aligned after a specific breakpoint. [FIXED]
[x] Forms on Login and Signup page were not proper. [FIXED]

I have tried my best to maintain the coding standards while fixing the issue

@ArchanRD please provide an video demonstration!

Hey! @skmirajulislam Here is the video demonstration of the changes.
Video

Hey! @skmirajulislam Here is the video demonstration of the changes.
Navigation.login-singup.fix.mp4

very satisfied by your handwork, you deserve the label!


Point visualization and vispy 0.9.6

🐛 Bug
vispy 0.9.6 does not allow to represent points alone as previous versions did.
Reverting to vispy 0.6.6 and napari 0.4.9 solves the issue
To Reproduce
Steps to reproduce the behavior:
pip install napari

import napari
import vispy
import numpy as np

print(f'vispy version: {vispy.__version__}')
print(f'napari version: {napari.__version__}')

nb_points = 20
x = np.arange(nb_points)
y = np.arange(nb_points)
z = np.arange(nb_points)
points = np.array(np.meshgrid(x, y, z)).T.reshape(-1, 3)
viewer = napari.view_points(points, size=.2)

output:
vispy version: 0.9.6
napari version: 0.4.14

Expected behavior
Display the points
Environment
When it is not working:

napari: 0.4.14
Platform: macOS-10.16-x86_64-i386-64bit
System: MacOS 11.4
Python: 3.9.7 (default, Sep 16 2021, 08:50:36) [Clang 10.0.0 ]
Qt: 5.15.2
PyQt5: 5.15.6
NumPy: 1.21.2
SciPy: 1.7.3
Dask: 2021.10.0
VisPy: 0.9.6
OpenGL:

GL version: 2.1 ATI-4.5.14
MAX_TEXTURE_SIZE: 16384

Screens:

screen 1: resolution 1680x1050, scale 2.0

Plugins:

console: 0.0.4
scikit-image: 0.4.14
svg: 0.1.6

When it is working (differences in bold):

napari: 0.4.9
Platform: macOS-10.16-x86_64-i386-64bit
System: MacOS 11.4
Python: 3.9.7 (default, Sep 16 2021, 08:50:36) [Clang 10.0.0 ]
Qt: 5.15.2
PyQt5: 5.15.6
NumPy: 1.21.2
SciPy: 1.7.3
Dask: 2021.10.0
VisPy: 0.6.6
OpenGL:

GL version: 2.1 ATI-4.5.14
MAX_TEXTURE_SIZE: 16384

Screens:

screen 1: resolution 1680x1050, scale 2.0

Plugins:

console: 0.0.4
scikit-image: 0.4.9
svg: 0.1.6

Additional context

Thank you for the clear bug report, @leoguignard !
I am not sure if you just left it off of the reproducible example, but when running napari from a script, you need to add napari.run() at the end to start the event loop.
import napari
import vispy
import numpy as np

print(f'vispy version: {vispy.__version__}')
print(f'napari version: {napari.__version__}')

nb_points = 20
x = np.arange(nb_points)
y = np.arange(nb_points)
z = np.arange(nb_points)
points = np.array(np.meshgrid(x, y, z)).T.reshape(-1, 3)
viewer = napari.view_points(points, size=.2)

napari.run()

Even after adding the napari.run() to the end, the points are not visible in the viewer. However, they are visible if I make the points bigger (e.g., set the size to 10). Is that the case for you?
@brisvag , do you think this has to do with the point size and edge width? Or is this the weird behavior we've seen when points are too close together (points are one unit apart)?

I'll look better later (on the phone now), but just from reading the issue this gives me the "extent issue" vibes. Are dims sliders visible?

Hello, thanks for the quick answer.
I did not had the napari.run() since I was running napari from a notebook. I did not specify that part, I did not think it could have an impact.
The size seems to have an impact indeed but maybe not the expected one. Also, having a higher size makes the visualization and interaction significantly slower.
Maybe a few quick few things that I forgot to mention in the original post, it's likely obvious to you but just in case it is not:

I had to downgrade the napari from version 0.4.14 to 0.4.9 to be able to have it work with vispy version 0.6.6
I have not tried versions of napari other than 0.4.9 and 0.4.14
I have not tried versions of vispy other than 0.6.6 and 0.9.6
I am mainly pointing out that the behaviors between the two versions are different, I tagged it as a bug because I like the behavior of the older version. The new behavior might be intended though.

That being said, if it helps here are the screen cap of the outputs that I get from the two different versions (note that you can correctly see the points in the layer preview)

napari==0.4.14 vispy==0.9.6 size=.2

napari==0.4.14 vispy==0.9.6 size=10

napari==0.4.9 vispy==0.6.6 size=.2

napari==0.4.9 vispy==0.6.6 size=10

Ok, I took a better look, @leoguignard. The issue should be solved already in main (which will be released with v0.4.15 next Tuesday!). The issue was cause by a long-standing problem with size, edge width and sensible defaults.
As for what fixes it in main: it's a change I introduced in #3999, which makes the edge_width of points relative to the size by default. This means that if you have size=10 and edge_width=0.2, you actually get edge width 2. On the flipside, on 0.4.14, if you have size 0.2 (like in your example), edge_width still remains the default (1, if I recall correctly), which is bigger than the size of the point. So you get points with an edge bigger than the face. If the edge is also black like the background: boom, invisible points :) The change in #3999 was specifically to avoid this kind of issue!

It might be helpful to note that you can test the 0.4.15 release candidate (0.4.15rc0) now with pip install -U --pre napari!

Perfect, thanks a lot for the quick answers!


Fix plugin-only release

Add renamed plugin (systemverilog.so) to release. Install script expects both it and uhdm.so for backward compatibility.

Right, that is something that we definitely want to test. Added to workflow.


Add send(), recv() for connected UDP sockets.

Hey there!
I'm building some high-perf UDP server for netcode.io and noticed that mio was missing send() and recv() on connected UDP sockets. This is the first part of getting those operations over into mio.
Let me know if there's anything you'd like changed, I didn't see an contribution guidelines so I just followed what I saw in the repo.

Awesome, thanks!


Unable to comment on added files in a PR when file is opened from the commits tree view

Extension version: v0.49.2022080912
VSCode Version: 1.71-insider
OS: Windows 11

Steps to Reproduce:

Open a PR with an added file
✅ from Files tree node, can open an added file and see comment ranges
:bug: from Commits tree node, cannot see comment ranges in added file

Duplicate of https://github.com/microsoft/vscode-pull-request-github/issues/2793


Can't use nerd font icons

I wanted to reuse my scripts, when I used the scripts containing nerd font icons, the program crashed. The output was: segmentation fault (core dumped). How do I get icons without the bar crashing?

Can you type out your script and the output when you run the script (not dwmblocks)?

Also you must include the font in your dwm config.h file.

Closing due to inactivity.


Added Programs on C

PR accepted @Paramhans-Singh
Successfully merged to HacktoberFest_22  repo.
Need to Star this repo incase not done.
🚀🚀👍


How to predict from prior-sampled model (+ how to have choice and rt as a separate input)

I feel like this question lies somewhere between SequentialSamplingModels and Turing itself, but let's assume the following basic LBA model:
using Turing
using SequentialSamplingModels
using Random
using LinearAlgebra
using DataFrames
using StatsPlots

# Generate data with different drifts for two conditions A vs. B
Random.seed!(254)
data = DataFrame(rand(LBA(ν=[3.0, 2.0], A=0.8, k=0.2, τ=0.3), 500))

@model function model_lba(data)
    data = (choice=data.choice, rt=data.rt)
    min_rt = minimum(data[2])

    # Priors
    drift ~ filldist(MvNormal(zeros(2), I * 2), 2)
    A ~ truncated(Normal(0.8, 0.4), 0.0, Inf)
    k ~ truncated(Normal(0.2, 0.2), 0.0, Inf)
    tau ~ Uniform(0.0, min_rt)

    # Likelihood
    data ~ LBA(; τ=tau, A=A, k=k, ν=drift)
    return (; data, drift, A, k, tau)
end

chain = sample(model_lba(data), Prior(), 50000)

(note that it is made to run with a dataframe input for convenience)
I can easily sample from priors. What I like to do next is to make generate predictions from these priors (to visualize a prior predictive check).
My first instinct was to simply run:
predict(model_lba(data), chain)

But it returns nothing - which I thought was a bug. The Turing team clarified the solution: it was to set the outcome variable to missing, which is straightforward in a linear model, but not here.
Attempt 1: Re-instantiating the model on a data with missing for choice:
predict(model_lba(DataFrames.transform(data, choice -> (choice=missing,))), chain)

ERROR: TypeError: non-boolean (Missing) used in boolean context
Stacktrace:
  [1] pdf
    @ C:\Users\domma\.julia\packages\SequentialSamplingModels\hMsCP\src\LBA.jl:108 [inlined]
  ...

Attempt 2: Re-write the model to have choice and rt as separate inputs, which would also make it more flexible (for instance to add predictor variables in the future).
@model function model_lba(choice, rt)
    min_rt = minimum(rt)

    # Priors
    drift ~ filldist(MvNormal(zeros(2), I * 2), 2)
    A ~ truncated(Normal(0.8, 0.4), 0.0, Inf)
    k ~ truncated(Normal(0.2, 0.2), 0.0, Inf)
    tau ~ Uniform(0.0, min_rt)

    # Likelihood
    (choice, rt) ~ LBA(; τ=tau, A=A, k=k, ν=drift)
    return (; choice, rt, drift, A, k, tau)
end

ERROR: LoadError: Malformed variable name (choice, rt)!

Turing doesn't seem to like the tuple output. So maybe we can workaround by creating the data tuple inside the model?
@model function model_lba(choice, rt)
    data = (choice=choice, rt=rt)
    min_rt = minimum(rt)

    # Priors
    drift ~ filldist(MvNormal(zeros(2), I * 2), 2)
    A ~ truncated(Normal(0.8, 0.4), 0.0, Inf)
    k ~ truncated(Normal(0.2, 0.2), 0.0, Inf)
    tau ~ Uniform(0.0, min_rt)

    # Likelihood
    data ~ LBA(; τ=tau, A=A, k=k, ν=drift)
    return (; data.choice, data.rt, drift, A, k, tau)
end

chain = sample(model_lba(data.choice, data.rt), Prior(), 50000)

ERROR: MethodError: no method matching iterate(::LBA{Matrix{Float64}, Float64, Float64, Float64})
  ...

Unfortunately no. I am not sure what else to try, and any pointers and thoughts are more than welcome ☺

I'm not quite sure how to fix the issue. It might be good to ask the Turing team for advice for this specific model. Yesterday, Kiante and I made changes that I believe were supposed to prevent the no matching method error. Have you upgraded to the most recent version?

Also, if you don't mind, I will add your solution to the documentation.

Have you upgraded to the most recent version?

I did, but the iterate() error still exists. I'm not sure why iterate() is called here (and creates problem) as compared to the working version...

It might be good to ask the Turing team for advice

posted on discourse

if you don't mind, I will add your solution

Of course :)
Thanks!

@DominiqueMakowski, the follow code runs without a method error. However, predict runs but does not work correctly. If you run predict a second time, you can see that the data are generated in lba_model. I tried using Tuple and Array as the data container, but it still produced the same behavior.  So I am not sure what is happening. Do you have any insights?
using Pkg
cd(@__DIR__)
Pkg.activate("..")
using Revise
using Turing
using SequentialSamplingModels
using Random
using LinearAlgebra

# Generate data with different drifts for two conditions A vs. B
Random.seed!(254)
data = rand(LBA(ν=[3.0, 2.0], A=0.8, k=0.2, τ=0.3), 500)

@model function model_lba(data)
    min_rt = minimum(data[2])

    # Priors
    drift ~ filldist(MvNormal(zeros(2), I * 2), 2)
    A ~ truncated(Normal(0.8, 0.4), 0.0, Inf)
    k ~ truncated(Normal(0.2, 0.2), 0.0, Inf)
    tau ~ Uniform(0.0, min_rt)

    # Likelihood
    data ~ LBA(; τ=tau, A=A, k=k, ν=drift)
    println("data $data")
    return (; data..., drift, A, k, tau)
end

chain = sample(model_lba(data), Prior(), 100)
# this does not work, but if you rerun predict, it does generate data correctly
predictions = predict(model_lba(data), chain)

I have been wondering whether the solution to this problem is to define a type called MixedMultivariateDistribution which works for these types of models. I'm not sure what this would entail, but it seems like the proper way to make things work. I think there is new functionality in Julia 1.9 which would allow these methods to be exported conditionally when Turing is being used.

I agree with your vision of striving at implementing things "the proper way" without hacks and workarounds - when possible. Unfortunately I cannot help much you directly with the code (still a Julia newbie) - but I can assist with testing things, trying to get external help and all that ☺


Better docs for Services and public IPs.

Fixes #2738

now merged.

Overall, LGTM. Just a few minor comments. It doesn't mention readiness probes, but I don't want to block this PR on that.

new push is up with nits fixed

LGTM


feat: turn prisma client on graphql context validation into a formal check

closes #146
TODO

[x] docs
[x] tests

[x] find way to capture log output
[x] find way to speed up integration tests
[x] error thrown when instanceof check and duck typing fails
[x] warning emits when instanceof check fails but duck typing succeeds
[x] warning does not emit when setting for it is disabled
[x] error thrown if failure to import prisma client class reference
[x] error thrown if imported prisma client class reference is not actually a class reference

Idea for speeding up integration tests: Use a few standard integration test schemas and commit the pregenerated prisma clients for them. This should avoid the need to generate on the fly.

Idea for speeding up integration tests: Use a few standard integration test schemas and commit the pregenerated prisma clients for them. This should avoid the need to generate on the fly.

Thank you bro :)). Patiently waiting this project stable release 💯

Codecov Report

Merging #180 (65b166a) into main (ec4c606) will increase coverage by 3.02%.
The diff coverage is 80.00%.

@@            Coverage Diff             @@
##             main     #180      +/-   ##
==========================================
+ Coverage   49.39%   52.42%   +3.02%
==========================================
  Files          36       44       +8
  Lines         583      639      +56
  Branches      108      121      +13
==========================================
+ Hits          288      335      +47
- Misses        279      286       +7
- Partials       16       18       +2

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

npm package (@next-major dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


read complexity dataframe from csv

We can write a hierarchical dataframe to CSV, but when we read it, we get a flat dataframe where the columns are of string type:
val df = mapOf("name" to listOf("a","b","b","c","a","a","b","b","c","a"),
              "number" to listOf(1,2,3,1,3,2,3,2,1,3)).toDataFrame()

val df1 = df.groupBy("name").pivot("number", inward = false).aggregate {
                count() into "count"
                mean() into "mean"
            }

If look at the df1 diagram, it will look like this:
name: String
1:
    count: Int?
    mean:
        number: Double?
3:
    count: Int?
    mean:
        number: Double?
2:
    count: Int?
    mean:
        number: Double?

Let's write df1 to csv and read from it:
df1.writeCSV("sample.csv")

DataFrame.read("sample.csv").schema().print()

On the dataframe read from CSV, the scheme is already like this:
name: String
1: String
3: String
2: String

Done. Column groups and nested data frames are serialized as json strings and parsed back on reading.


Fix image upgrade plan

Hi,
For the agent plan, there's no need to specify the rancher/k3s-upgrade version

@catherineluse @SheilaghM ok to merge - I just didn't want to in case there might be a reason I shouldn't do that in master branch presently.


Favicon Inconsistency - Match iPortal's

Use same favicon.ico for all powertools.

Wont fix because there is a difference in the way favi-icon is handled in iportal and it's different architecture than QMC Utilities.


Fixed #33018 -- Corrected function compilation with empty queryset

Hi,
This PR tackles https://code.djangoproject.com/ticket/33018

Thanks for the review 🙏

Should we expand the solution a bit further and rename empty_aggregate_value as you suggested, and use it in the SQLCompiler too?

Yes, empty_aggregate_value was introduced in Django 4.0, so we can rename is now to the empty_result_set_value (adjust release notes and docs) an even backport this change to the 4.0 without a deprecation period. Can you prepare a separate PR?

I'll push a separate PR and create a ticket 👍

Superseded by #14894.


balena-cli: 17.5.1 -> 18.0.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/balena-io/balena-cli/releases.
meta.description for balena-cli is: A command line interface for balenaCloud or openBalena
meta.homepage for balena-cli is: https://github.com/balena-io/balena-cli
meta.changelog for balena-cli is: https://github.com/balena-io/balena-cli/blob/v18.0.0/CHANGELOG.md
Updates performed

NPM version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 18.0.0 with grep in /nix/store/y63cma4afhsiad5fig9p4fvgh5cf5lsg-balena-cli-18.0.0
found 18.0.0 in filename of file in /nix/store/y63cma4afhsiad5fig9p4fvgh5cf5lsg-balena-cli-18.0.0

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
balena-cli

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/y63cma4afhsiad5fig9p4fvgh5cf5lsg-balena-cli-18.0.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A balena-cli https://github.com/r-ryantm/nixpkgs/archive/6c639c64274a77769d034079959169229a9a8236.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/6c639c64274a77769d034079959169229a9a8236#balena-cli

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/y63cma4afhsiad5fig9p4fvgh5cf5lsg-balena-cli-18.0.0
ls -la /nix/store/y63cma4afhsiad5fig9p4fvgh5cf5lsg-balena-cli-18.0.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

balena-cli

Maintainer pings
cc @kalebpace @doronbehar for testing.

For the record, default Nixpkgs' nodejs major version is 20.


input group addons taller than  in IE9-11

Demo: http://jsfiddle.net/9waquk0b/
Works fine in Chrome, Safari, and Firefox, but not IE11.
Refs https://github.com/twbs/bootstrap/issues/17035#issuecomment-151643774
Screenshot:

Hi @cvrebert!
You appear to have posted a live example (http://fiddle.jshell.net/9waquk0b/show/light/), which is always a good first step. However, according to Bootlint, your example has some Bootstrap usage errors, which might potentially be causing your issue:

XX0: Your example is too large for Bootlint to process! Please simplify your example and make it smaller.

You'll need to fix these errors and post a revised example before we can proceed further.
Thanks!
(Please note that this is a fully automated comment.)

MS Edge isn't affected.

In IE11, the <input>'s content height is 18.4px instead of 24px like in other browsers. Couldn't figure out why; guess I'm not pro enough; font-size and line-height are the same as Chrome.
Also, IE11 "rounds" the <input>'s 0.375rem of top/bottom padding to 0.37rem, thus making the computed vertical padding 5.92px instead of 6px.
And the .input-group-addon's content height is 16px instead of 24px. I'm lost.
CC: @mdo

FYI: Also occurs on windows phone.

It seems that the rounding up to the second decimal is presentational only
Layout:

--
Calculated:

Hi again,
I had some time to dig into this issue.
Apparently, line-height (still) doesn't work as expected for input tags
Minimal amount of css to reproduce this: https://jsfiddle.net/tagliala/fmkktn2p/
Hope it helps

Re-tested in a263e194194969fa0daf5fde938a330f6c77be81. Things have improved; the issue now is that .input-group-btns are slightly too short in IE9-11:

Testcase: http://jsbin.com/biqube/edit?html,css,output
CC: @mdo

No longer an issue with the move to flexbox.


Report error if submodules are not present

Currently if the submodules haven't been loaded with
git submodule update --init

Then the plugin crashes and the error it reports isn't useful in determining that this is the issue.

I've switched the rope over to use subtrees instead of submodules.
So this is now not an issue.


Fix compilation on *nix.

Apart from fixing the direction of some slashes, this re-encodes
tools/Finite/main.cpp in UTF-8 (from UTF-16).
Fixes #29.

I think you forgot to merge this (unless we are waiting for approval for someone else).

Apologies, was waiting to run a test on Windows.  Now done.


How to use vsmarketplace with nixpkgs?

I wasn't able to figure out how to use the vsmarketplace sources expressions generated by nvfetcher in conjunction with the buildVscodeExtension function from nixpkgs. When using that with the src as produced by nvfetcher, It always fails to unzip the file in the unpackPhase (probably because it expects a zip file extension), and I wasn't able to find a workaround for that.
Maybe buildVscodeExtension is just not the way this is inteded to be used? Seems I'm missing something here. Maybe we could put together an example for that in the README?
I'll try to show my problem. Given this:
[GitHub-vscode-pull-request-github]
src.vsmarketplace = "GitHub.vscode-pull-request-github"
fetch.vsmarketplace = "GitHub.vscode-pull-request-github"

results in
# This file was generated by nvfetcher, please do not modify it manually.
{ fetchgit, fetchurl, fetchFromGitHub }:
{
  GitHub-vscode-pull-request-github = {
    pname = "GitHub-vscode-pull-request-github";
    version = "0.35.2021121409";
    src = fetchurl {
      url = "https://GitHub.gallery.vsassets.io/_apis/public/gallery/publisher/GitHub/extension/vscode-pull-request-github/0.35.2021121409/assetbyname/Microsoft.VisualStudio.Services.VSIXPackage";
      sha256 = "sha256-219j4QcnKq/UBEytzi9q3F/CTlKOkA1tTIi8Geg0Yls=";
    };
  };
}

which I tried to use like this:
{ sources, lib, pkgs, ... }:
{
  GitHub.vscode-pull-request-github =
    let
      inherit (sources."GitHub-vscode-pull-request-github") src version;
    in
    pkgs.vscode-utils.buildVscodeExtension
      {
        inherit src;
        name = "GitHub-vscode-pull-request-github-${version}";
        vscodeExtUniqueId = "GitHub.vscode-pull-request-github";
        meta.license = lib.licenses.mit;
      };
}

But this ends up in
error: builder for '/nix/store/j6dhq8rh9rjifm4h78gbqnaj42yy8d4q-vscode-extension-GitHub-vscode-pull-request-github-0.35.2021121409.drv' failed with exit code 1;
       last 3 log lines:
       > unpacking sources
       > unpacking source archive /nix/store/ha9vh5kgx1l9r1gzr60hsx58978kv9wg-Microsoft.VisualStudio.Services.VSIXPackage
       > do not know how to unpack source archive /nix/store/ha9vh5kgx1l9r1gzr60hsx58978kv9wg-Microsoft.VisualStudio.Services.VSIXPackage
       For full logs, run 'nix log /nix/store/j6dhq8rh9rjifm4h78gbqnaj42yy8d4q-vscode-extension-GitHub-vscode-pull-request-github-0.35.2021121409.drv'.

I wasn't able to trick buildVscodeExtension into unpacking that file from the nix store. However, everything "just works" if I change the generated sources like this:
--- generated.nix
+++ generated.nix
@@ -7,6 +7,7 @@
     src = fetchurl {
       url = "https://GitHub.gallery.vsassets.io/_apis/public/gallery/publisher/GitHub/extension/vscode-pull-request-github/0.35.2021121409/assetbyname/Microsoft.VisualStudio.Services.VSIXPackage";
       sha256 = "sha256-219j4QcnKq/UBEytzi9q3F/CTlKOkA1tTIi8Geg0Yls=";
+      name = "GitHub-vscode-pull-request-github-0.35.2021121409.zip";
     };
   };
 }

Hmm good question. Because fetchurl doesn't know how to unpack a .vsix file, we need rename it to zip, like https://github.com/NixOS/nixpkgs/blob/a6d04cce6790aa9c3500f902070c263bf032c453/pkgs/misc/vscode-extensions/mktplcExtRefToFetchArgs.nix?_pjax=%23js-repo-pjax-container%2C div[itemtype%3D"http%3A%2F%2Fschema.org%2FSoftwareSourceCode"] main%2C [data-pjax-container]#L7. This operation can be automated in nvfetcher.
After solving that, we can vscode-utils.buildVscodeMarketplaceExtension to create the drv. Let's use vscode-LiveServer in nvfetcher_example.toml as an example. The input is:
[vscode-LiveServer]
src.openvsx = "ritwickdey.LiveServer"
fetch.openvsx = "ritwickdey.LiveServer"
passthru = { publisher = "ritwickdey", name = "LiveServer" }

and the output is:
{ fetchgit, fetchurl, fetchFromGitHub }:
{
  vscode-LiveServer = {
    pname = "vscode-LiveServer";
    version = "5.6.1";
    src = fetchurl {
      url = "https://open-vsx.org/api/ritwickdey/LiveServer/5.6.1/file/ritwickdey.LiveServer-5.6.1.vsix";
      sha256 = "sha256-uPp5h6rvphkjckiFHBTfQfyMsOGuj+1liW/XUc8r88M=";
      # will be generated in the future
      name = "LiveServer-5.6.1.zip";
    };
    name = "LiveServer";
    publisher = "ritwickdey";
  };
}

This will work:
# sources is imported generated.nix
{ vscode-util, sources }:
with sources.vscode-LiveServer;
vscode-utils.buildVscodeMarketplaceExtension {
  vsix = src;
  mktplcRef = { inherit name version publisher; };
}

Sweeet, thanks for investigating and putting your effort into this.


Don't use Discord for support.

Discord is a well known privacy nightmare, makes no sense using it for support on a "privacy-first messaging app".
Consider a better alternative, like Matrix, IRC, XMPP ...

Reasons not to use the Discord communications system
Discord — Spyware Watchdog

Thx for your issue :) We don't use discord for support, we don't have any users yet so no support to make yet.
With more words :) Nobody should use berty right now (accounts get corrupted sometimes, the app might decide to stop working for the next 15 minutes, the ui is broken on Android, there is no true GUI on desktop (you have either dev tools or an Irssi like UI)) appart for devs and for peoples using it just to test, sending a few messages. So as we don't have any users yet we shouldn't have any support to make yet.
But thx, I might setup a Discord, Matrix, IRC, ... bridge for the open beta.

There is a matrix room #berty:matrix.org
It is bridged to discord

Hey!
Thank you for reaching us.
@Generator : We answered your question in more detail in a larger issue (#108 ). In short, we do NOT use Discord for support purposes but for convenience - to connect the community easily and quickly.
@xuhcc : FYI, The bridge is currently disabled. We prefer to centralize exchanges with the early community on this Discord.
Best,


Added dnsutils for err-dnsutils and optimized.

Thanks for the Docker image :)

Added dnsutils for err-dnsutils
Debian is the recommended base image for Docker. See
https://docs.docker.com/articles/dockerfile_best-practices/#from
Added ENV DEBIAN_FRONTEND noninteractive
Just install pip via apt. Why install it manually?

Great. Thanks for this patch. I can not remember why I decided to install pip manually, but it make more sense to install it via apt :)

You are welcome :smile: Thanks for the container.


Minor: referred-to-entity mixup

Right now, I find this statement:
<https://sk.acdh.oeaw.ac.at/D_000087-003-000/relation/7> a ns1:INT3_IntertextualRelationship ;
        rdfs:label "Intertextual relation"@en ;
        ns1:R12_has_referred_to_entity <https://sk.acdh.oeaw.ac.at/pmb41244/published-expression> ;
        ns1:R13_has_referring_entity <https://sk.acdh.oeaw.ac.at/D_000087-003-000/passage/7> .

The referring passage (last line) is created from quote from Die Fackel (//quote[starts-with(@source, "https://fa")]). It is an earlier //rs[@type="work" and @subtype="pmb"] that does actually refer to this pmb41244/published-expression.
This statement also exists. It has the same referred-to-entity; here it's correct:
<https://sk.acdh.oeaw.ac.at/D_000087-003-000/relation/6> a ns1:INT3_IntertextualRelationship ;
        rdfs:label "Intertextual relation"@en ;
        ns1:R12_has_referred_to_entity <https://sk.acdh.oeaw.ac.at/pmb41244/published-expression> ;
        ns1:R13_has_referring_entity <https://sk.acdh.oeaw.ac.at/D_000087-003-000/passage/6> .

So I guess there is something wrong with assigning continuing numbers to the different elements?
ps.: Maybe it has something to do with this: The @source in the Fackel-quote is "https://fackel.oeaw.ac.at/f/757,0u4" - which, because it refers to a front page ("0u4") can not be found in the fackeltexts_cascaded in any @range. Maybe try filtering those out (for special treatment maybe later on)?

could not verify if the filter works but fackel quotes with source that ends with "0u4" should be excluded.


Dealing with sun/shade in stereo image

[x] We are planning to deal with sun/shade in full field stitched rgb image by choosing a darker tile in a set of tiles, since we have overlap images.

[ ] If above method do not work well, we may try a variant of high-dynamic range rendering, this is not the best choice because the data is missing.

Here is an initial result for this issue. Testing date 2017-04-27 which the same as those in #306

And this comes from a method can be describe as 'darker pixel choice from different set of tiles'.
@dlebauer Is that work for the purpose of sun/shade problem?
More visualization on 2017-05-27:

@ZongyangLi what an improvement!

How robust is it? What happens when there are no shaded pixels?
On Thu, Jun 8, 2017 at 10:22 AM Max Burnette<EMAIL_ADDRESS>wrote:

@ZongyangLi https://github.com/zongyangli what an improvement!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/terraref/computing-pipeline/issues/326#issuecomment-307137238,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAcX51m79ezBI5vV9mfqIusmPm41x670ks5sCBG9gaJpZM4NtRaa
.

More test should be done to see whether it is robust enough.
If there are no shaded pixels, it will choose a darker pixel in the tiles set.

@ZongyangLi can you share sunshade code?

codes updated to https://github.com/terraref/extractors-stereo-rgb/blob/master/fieldmosaic/shadeRemoval.py

@ZongyangLi I think you also need to upload an imported file:
import geotiff_to_tiles
geotiff_to_tiles.createVrt(out_dir,tif_file_list)

...don't think this file was included unless it was renamed.

https://terraref.ncsa.illinois.edu/clowder/datasets/5936a3ad4f0c0ead2da27389 example output

@pless can you please review / comment on / approve or suggest further changes to the updated algorithm?

I think the current algorithm is appropriate for making a stitched whole field image for quality assurance and some simple processing. I'm not sure that any simple stitching process (or any more complicated process that would be called stitching) is good enough to be used for more complicated analysis.

I'm not clear - what is the current stitched image suitable for and what is
it not suitable for? What is the alternative?
On Tue, Jul 11, 2017 at 5:42 PM Robert Pless<EMAIL_ADDRESS>wrote:

I think the current algorithm is appropriate for making a stitched whole
field image for quality assurance and some simple processing. I'm not sure
that any simple stitching process (or any more complicated process that
would be called stitching) is good enough to be used for more complicated
analysis.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/terraref/computing-pipeline/issues/326#issuecomment-314592669,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAcX520nnA2Z8pnjdQlfA90aCkCuY0Gjks5sM_pYgaJpZM4NtRaa
.

I think the current stitched image is suitable for most data quality and coverage assessments and some data analysis.
For data quality, the stitched image, as is, is good for:

Understanding what part of the field was imaged,
Understanding if the imaging script is correctly capturing the plots (in the context of not imaging the whole field), or if there is a problem it is missing some of the plots.
Understanding if the image capture has good lighting, no motion blur, etc.

For data analysis, the stitched image, as is, is good for:

an extractor for Canopy Coverage Percentage, and
an extractor for some phenotype analysis (emergence date, leaf color, flower/panacle detection)

For some data analysis, the stitched image will cause some problems.  To ground this discussion, here is an example of a stitched image:

Any stitched image introduces new artifacts into the image data; it always introduces edges at the boundary of where one image turns into another --- either an explicitly black line boundary or an implicit boundary that is there because you can't exactly stitch images of a complicated 3D world (without making a full 3D model).  Even if you could stitch them (say, it is just flat dirt), the same bit of the world is usually a different brightness when viewed from different directions.
The particular stitching strategy of "choose the darker pixel" is a nice way to automatically choose a good image when there is bright sunshine effects.  It may create additional artifacts because the algorithm is allowed to integrate pixels from both images in potentially complicated patterns.  These artifacts may be hard to account for.

The alternative is to always to all initial feature selection or image analysis on the original images, and to then create derived features or extracted features from those images and save those derived or extracted features per plot.

@pless thank you for the description.
Regarding the alternative you suggest 'always do all initial feature selection or image analysis on the original images', what do we need to do to support algorithms that use the original images? Should we support both the current (stitch-->clip-->analyze) approach as well as the alternative (clip-->analyze-->combine)?
For the clip-->analyze-->combine  approach, should we organize by plot e.g. in a directory named sensor/date/plot? Is there a general way to combine results (e.g. weighting by area covered and accounting for resampling of the same area due to image overlap ?).


mirror a repositoriy does sync anymore after updating to 1.13.0

Gitea version (or commit ref): gitea/gitea:1.13.0
Git version:
Operating system:

Database (use [x]):

[ ] PostgreSQL
[ ] MySQL
[ ] MSSQL
[ ] SQLite
[x] Mariadb

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No

Log gist:

Description
Since I've updated from 1.12.6 to 1.13.0, all mirror repositories does not sync anymore.
Example https://git.osuv.de/mirror/gitea
"Synchronize Now" does not change this behaviour. Furthermore, there isn't any error in the logs.

@markuman have you checked the cron settings?
https://docs.gitea.io/en-us/config-cheat-sheet/#cron-cron

It was not defined.
After set it to
[cron]
ENABLED = true

[cron.update_mirrors]
SCHEDULE = @every 10m

it worked again.

This does not seems to fix this issue permanentely.
After update the configuration as mentioned above, I've restarted the gitea container which result in syncing all repositories once.
Now they are all outdated again and nothing happens.
Any ideas?

I'll need to see your app.ini.
On gitea/admin/monitor when is the next time this is due to run?

@zeripath
$ sudo cat app.ini
APP_NAME = Gitea: Git with a cup of tea
RUN_MODE = prod

[repository]
ROOT = /data/git/

[repository.local]
LOCAL_COPY_PATH = /data/gitea/tmp/local-repo

[repository.upload]
TEMP_PATH = /data/gitea/uploads

[server]
APP_DATA_PATH    = /data/gitea
SSH_DOMAIN       = git.osuv.de
HTTP_PORT        = 3000
ROOT_URL         = https://git.osuv.de/
DISABLE_SSH      = false
SSH_PORT         = 22
LFS_CONTENT_PATH = /data/git/lfs

[database]
PATH    = /data/gitea/gitea.db
DB_TYPE = mysql
HOST    = mariadb
NAME    = gitea
USER    = gitea
PASSWD  = ...
LOG_SQL = false
CHARSET = utf8mb4

[indexer]
ISSUE_INDEXER_PATH = /data/gitea/indexers/issues.bleve

[session]
PROVIDER_CONFIG = /data/gitea/sessions

[picture]
AVATAR_UPLOAD_PATH = /data/gitea/avatars

[attachment]
PATH = /data/gitea/attachments

[log]
ROOT_PATH = %(GITEA_WORK_DIR)/log
MODE = console
LEVEL = Info
STACKTRACE_LEVEL = None
REDIRECT_MACARON_LOG = false
ENABLE_ACCESS_LOG = false
ENABLE_XORM_LOG = true
XORM = ,
ACCESS = ,

[log.console]
MODE                = console
LEVEL               = info
PREFIX              =
COLORIZE            = true
ACCESS_LOG_TEMPLATE = {{.Ctx.RemoteAddr}} {{.Ctx.Req.Method}} {{.Ctx.Req.RequestURI}} {{.ResponseWriter.Status}} "{{.Ctx.Req.Referer}}\" \"{{.Ctx.Req.UserAgent}}"

[security]
INSTALL_LOCK   = true
SECRET_KEY     = ...
INTERNAL_TOKEN = ...

[service]
DISABLE_REGISTRATION = true
REQUIRE_SIGNIN_VIEW  = false

[oauth2]
JWT_SECRET = ...

[cron]
ENABLED = true

[cron.update_mirrors]
SCHEDULE = @every 10m

[cron.git_gc_repos]
ENABLED = true

I deleted the ara mirror and restart the container.
No idea what was wrong with that mirror. There is no error log about it.
I hope mirroring is working now.

it seems there was one repo which was blocking everything.
I cannot say what was happen again, because there are no error logs about it.


Where are the keys on Linux?

Operation System: Ubuntu 18.04
Beaker version: Version: 0.8.8 Electron: 4.1.3 - Chromium: 69.0.3497.128 - Node: 10.11.0
Hi, I published a website with Beaker. Now I want to backup the archive including the keys. Where can I find the archive and the keys? I searched inside the beaker path /home/christian/.var/app/com.beakerbrowser.Beaker/config/Beaker Browser but couldn't find them.
Thanks!

Hi @zeitrechnen! I'll refer you to this other issue: https://github.com/beakerbrowser/beaker/issues/815


Approach 2: Making the lengths array's values type Integer instead of String using generic types

closes #53
closes #49
This is the second approach of making the JSONExtData generic. And it is also actually working.
So the new design is as follows:
   classDiagram
   class JSONExtData~T~ {
   T object
  getObject() T
  }
class SeqColExtendedDataEntity~T~{
    String digest
    JSONExtData~T~ extendedSeqColData
}
JSONExtData <-- SeqColExtendedDataEntity

I think this model allows us to to easily add new attributes with any type: String, Integer, List<String>, List<Integer>, etc... compared to the previous approach #54 , which limits us to using only List<T>, and where we only specify the type of the array's elements.

This PR can be closed


How to choose the model ?

CHECKPOINT_DIR
TASK_NAME
MODE

jingheya/lotus-depth-g-v1-0
depth
generation

jingheya/lotus-depth-d-v1-0
depth
regression

jingheya/lotus-normal-g-v1-0
normal
generation

jingheya/lotus-normal-d-v1-0
normal
regression

In addition, running "jingheya/lotus-depth-g-v1-0" takes up all the 12G graphics card memory.
Is there any way to reduce the configuration or model parameters so that it can run on an 8G graphics card?

Thanks for your interest in our work!

Our inference code is built upon PyTorch 2.3.1, which already supports memory-efficient attention to help reduce memory usage. If you'd like to further minimize memory consumption, you can refer to this page for additional guidance.

Great question regarding video depth estimation. Currently, Lotus focuses on single-frame images, but we are actively investigating the consistency challenges in video depth estimation.

Hope my answer helps!

Hi @juntaosun , thanks so much for your attention!
I have also noticed the flikering during the inference for video depth estimations. Here is also an interesting tweet (X).
From my perspective, perhaps it is because the normalization of V-KITTI is conducted in a per-frame level. We are trying to re-train the model using a scene-level normalization. Hope the video version of LOTUS will be ready soon!
Thanks,
Haodong


Orchestrator validation sets can be stuck when two processor copies happen in parallel

Bug Hit Count

Environment
Count

DEV
2

INT
0

PROD
7

Explanation
A validation set (dccf5bef-f050-4655-a3df-148ae192605e) became stuck when two parallel threads we processing the completion of the ScanAndSign processor. From the orchestrator's perspective, this was the sequence of events:

Thread
Event

1
Received message

1
Determined ScanAndSign is complete

1
Start the copy of the ScanAndSign .nupkg to the validation-set location

2
Received message

2
Determined ScanAndSign is complete

2
Start the copy of the ScanAndSign .nupkg to the validation-set location

1
Clean up the ScanAndSign .nupkg

1
Start PackageSigningValidator2

1
Complete message

2
Copy fails with source missing

When the copy on thread 2 fails, it has already set the destination blob to zero bytes.
The copy process uses an empty etag condition so it has no problem clobbering the validation set package with a "duplicate" copy operation. The line of code is here:
https://github.com/NuGet/NuGet.Jobs/blob/c3912a04df42ab4146b1cd8069f3baf8a3793d9b/src/NuGet.Services.Validation.Orchestrator/ValidationPackageFileService.cs#L226
When the PackageSigningValidator2 wakes up to validate the package, it sees an empty blob and fails.
Mitigation
Revalidating the package fixes the problem every time from my experience.
If this happens a lot, we can do our best to reduce message duplication by turning off queue-back. Note that this will increase validation times.
Fix
I talked to @agr and we came up with three solutions, one which was ruled out.

Add a validation-set package etag so that one of the copies fails with etag mismatch.
Add a lease on the validation-set package.
Don't clean up the ScanAndSign copy and less blob storage cleanup do it's thing. We can't do this one because you can still have a slow processor completion clobber a subsequent blob. For example, processor A is being completed still but the validation-set blob has already been updated with work from processor B.

Detecting the problem
traces
| where timestamp > todatetime('2019-10-09T01:00:00')
| where message contains "VALIDATION SET ID OF THE PACKAGE"
| extend callGuid = tostring(customDimensions.CallGuid)
| extend instanceName = tostring(customDimensions.InstanceName)
| where instanceName !startswith "Validation.Orchestrator-"
| order by timestamp desc
| project timestamp, callGuid, instanceName, message

In Validation.PackageSigning.ProcessSignature-* logs, you'll see something like this over and over:
Downloaded 0 bytes in 0.0104824 seconds for request...

Examples
Validation Set IDs:
DEV
2019-09-30 - dccf5bef-f050-4655-a3df-148ae192605e
2019-10-09 - d81c7729-8bdb-4cac-b1d9-e20b2979af90

PROD
2019-10-09 - 60f1974a-11e8-4c95-9eea-74119e80a24b - HZH_Controls 1.0.7
2019-10-09 - 495d3ff0-7912-4f1e-a8a7-4c9ace92b8c2 - amgbuild 0.28.0
2019-10-09 - e963448d-64e4-4b00-a3c7-5f722b118dc5 - PeanutButter.TempDb.Runner 1.2.310
2019-10-09 - 804c07a8-6c5c-4c4d-91b2-b1df70aff4b3 - MassTransit.DocumentDb 5.5.6-develop.2194
2019-10-09 - cf2a2dd4-97aa-4e0c-b27c-4bfcb4f6155b - WebVella.TagHelpers 1.0.24
2019-10-09 - bbb4d00c-28a2-41e3-9686-90f613fc8716 - IDTechSDK <IP_ADDRESS>
2019-10-10 - 355ba0f9-1b0e-4e85-bdaf-27e66c21b9ba - RobotRaconteurNET 0.9.1

I have disabled queue-back because of this problem. The improve validation times are not worth the on-call cost to manually revalidate this many. A code fix should be applied before queue-back is turned back on.

Mitigated with https://github.com/NuGet/NuGetGallery/issues/7629. Will re-open if the problem persists.


Error Messages with "Get-RsSubscription piped to Set-RsSubscription"

Do you want to request a feature or report a bug?
Bug
What is the current behavior?
I am getting the error message seen below. The GET works just fine. But I have had an issue both COPY (mentioned previously in Ticket #172) and SET (as seen in this post). Am I doing something wrong?
PS:
$reportServerUri_src= "http://gcod049/ReportServer"

Get-RsSubscription -ReportServerUri $reportServerUri_src -Path "/fsqa" | Where-Object {$_.Subscr
iptionId -eq '4c1539c4-9e0f-42c4-aace-b493c96ec2e4'} | Set-RsSubscription -StartDateTime "2/13/2019 1:20pm" -verbose

VERBOSE: Establishing proxy connection to http://localhost/reportserver/ReportService2010.asmx...
Failed to establish proxy connection to http://localhost/reportserver/ : Failed to establish proxy connection to
http://localhost/reportserver/ReportService2010.asmx : There was an error downloading
'http://localhost/reportserver/ReportService2010.asmx'.
At C:\Users\bl0040ep\Documents\WindowsPowerShell\Modules\ReportingServicesTools\ReportingServicesTools\Functions\Utilit
ies\New-RsWebServiceProxy.ps1:83 char:17

            throw (New-Object System.Exception("Failed to establish proxy co ...

  + CategoryInfo          : OperationStopped: (:) [], Exception
  + FullyQualifiedErrorId : Failed to establish proxy connection to http://localhost/reportserver/ : Failed to estab
 lish proxy connection to http://localhost/reportserver/ReportService2010.asmx : There was an error downloading 'ht
tp://localhost/reportserver/ReportService2010.asmx'.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
Error posted above
What is the expected behavior?
The subscription StartDateTime is updated.
Which versions of Powershell and which OS are affected by this issue? Did this work in previous versions of our scripts?
CMD: $PSVersionTable

Name                           Value
PSVersion                      4.0
WSManStackVersion              3.0
SerializationVersion           <IP_ADDRESS>
CLRVersion                     4.0.30319.42000
BuildVersion                   6.3.9600.19170
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0}
PSRemotingProtocolVersion      2.2

CMD: Get-WmiObject -Class Win32_OperatingSystem | Format-Table Caption, ServicePackMajorVersion -AutoSize

Caption                           ServicePackMajorVersion
Microsoft Windows 7 Professional                        1

Hi @sherlockspreadsheets, looking into your error message "Failed to establish proxy co ... I think your problem here (at least at the moment) is you are missing the -ReportServerUri parameter on the Set-RsSubscription.
Can you test it with this change and let us know the outcome?
Thanks

I updated the script as you've suggested:
Get-RsSubscription -ReportServerUri $reportServerUri_src -Path "/fsqa" | Where-Object {$_.SubscriptionId -eq '4c1539c4-9e0f-42c4-aace-b493c96ec2e4'} | Set-RsSubscription -ReportServerUri $reportServerUri_src -StartDateTime "6/10/2019 8:00am" -verbose
This fixes the "Failed to establish proxy co ....  But I get a different error message:

Get-RsSubscription : System.Exception: Exception while retrieving subscription properties! Exception calling"GetSubscriptionProperties" with "8" argument(s): "The EndDate field has a value that is not valid. --->

I can't reproduce the error.
I tried with and without "EndDate" being already configured.
Can you paste here the output of your Get-RsSubscription and also all the MatchData.
PS: Please mask any sensitive data.

I am getting the exact same error when trying to set the endate.


Update describe to example .formNow return value

dayjs.extend(relativeTime)
dayjs('1999-01-01').fromNow() // 20 years ago

If you pass true, you can get the value without the suffix.
dayjs.extend(relativeTime)
dayjs('1999-01-01').fromNow(true) // 22 years

Time from now .fromNow(withoutSuffix?: boolean) - RelativeTime · Day.js

I was confused about the difference between 20 years ago and 22 years 😕
so I fix similar value to 22 years.

Thanks


Change in the material design spec

Bug, feature request, or proposal:
Yes..
Inputs have changed in the material design spec. For instance, textareas now include a border.
Labels now replace placeholders and placeholders are something a bit different. (Issue #6240)
Found here:
https://material.io/guidelines/components/text-fields.html#text-fields-field-types

Dupe of https://github.com/angular/material2/issues/3984

Duplicate of #3984


Does multibit generate HighS transactions ?

Repeating what I say here :

For information, I am currently running a node which transform HighS to LowS.
I thought I was the only one running a malleability attack right now, does MultiBit HD use HighS by any chance ?

There is approximately 2 to 4% of HighS signatures still generated, I'm trying to track them down. Might it be Multibit ?

sorry, closing this is now 30%... other ongoing attack :/


Add OCI labels for versions

Adds OCI LABELS for scm revision and application version.

Opened as a draft as I need to look closer as the values being passed to the labels.

@daveconde , latest commit results in the following build output:
STEP 14/14: LABEL "org.opencontainers.image.revision"="341c481" "org.opencontainers.image.version"="0.0.4-SNAPSHOT"


NLM JATS to DAR JATS

Im new to texture. How can i convert an xml from NLM JATS to DAR JATS format, for further editing with Texture.
Thanks in advance

There are a lot different flavours of JATS so it's hard to write a general converter. However we'd like to encourage orgs/journals to write little transformers to convert/normalise their content.  It's not a hard job, just there's a lot of variation, and we can't take responsibility for that. With the Dar format we hope that in future things will be interexchangable between journal etc. (even authoring tools).


Go back to raw data after using FRASER::results()

Hello,
I would like to see the raw data that was used to generate p-values and z-scores in the results() table. For example, fds_filtered@assays@data[["psi5"]], and see the values by sample.
However, I don't seem to be able to get back to it using the concatenation of seqnames : ranges. Are these coordinates changed somehow when running res() ?
Or is it again a problem of species?
Thanks in advance!

Hi, yes, try:
assays(fds)$psi5
You can see all the assays using:
names(assays(fds))


balena-yocto-scripts: Update to 1.15.9

Update balena-yocto-scripts from 1.15.8 to 1.15.9
Changelog-entry: Update balena-yocto-scripts from 1.15.8 to 1.15.9
Signed-off-by: Kyle Harding<EMAIL_ADDRESS>Depends-on: https://github.com/balena-os/balena-yocto-scripts/pull/252

@balena-ci rebase

@resin-jenkins retest this please

@balena-ci I self-certify!