Add download all as .md

Is there a way for me to download all .md files from stackedit.io/app? It would be a great feature.

I'm new here but I'd like to try working on this issue


keyboard is opening when pressing on a suffix icon inside an Input decoration of a TextField

Very simple bug to reproudce: Have a suffix icon inside an InputDecoration of a TextField
Expected behaviour: Pressing on the TextField opens the keyboard, pressing on the suffix icon does not (worked fine until today)
Behaviour since latest update: Keyboard also opens when pressing on the suffixIcon
Tested on: Pixel 3XL, Iphone Xs and various Android Simulators -> same behaviour
**TextField(**
          cursorColor: Colors.black,
          controller: destinationController,
          textInputAction: TextInputAction.go,
          onSubmitted: (value) {},
          **decoration: InputDecoration**(
            **suffixIcon:** Container(
                width: 67,
                child: Row(
                  children: <Widget>[
                    Container(
                      margin: EdgeInsets.only(top: 3, bottom: 3),
                      width: 2,
                      color: Colors.black,
                    ),
                    Container(
                      margin: EdgeInsets.only(bottom: 0),
                      width: 65,
                      alignment: Alignment.centerRight,
                      child: **IconButton**(
                        padding: EdgeInsets.only(bottom: 10, top: 3, right: 5),
                        iconSize: 50,
                        onPressed: **_planTripPresed**,
                        icon: Image.asset(
                          'assets/icons/cartime1.png',
                        ),
                      ),
                  ],
                ),
              ),
            ),
            hintText: "Set Pickup Address",
            border: InputBorder.none,
            contentPadding: EdgeInsets.only(left: 15.0, top: 15),
          ),
        ),

CC @justinmc

@HansMuller  I think Input decoration, TextField and keyboard opening issues are from Alpha day and i think will never be fixed ( i had to move all the flutter app code to native )  very very disappointed by flutter team.

I was just wondering what this behavior should be while working on another PR, and I thought I came to the same conclusion as you @chart21, that taps on prefix/suffix should not pass through to the TextField.  https://github.com/flutter/flutter/pull/34723#issuecomment-507357684
However, I agree that's not how it behaves right now.  I pasted a minimal app to reproduce the problem for both Material and Cupertino at the bottom of this comment.
I'll track down why this changed and see what it would take to fix it.
import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart';

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

class SuffixApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        primarySwatch: Colors.blue,
        textSelectionColor: Colors.purple,
        textSelectionHandleColor: Colors.purple,
      ),
      title: 'Text Field Test',
      home: Scaffold(
        appBar: AppBar(
          title: Text("TextField Test"),
        ),
        body: Center(
          child: Padding(
            padding: const EdgeInsets.all(16.0),
            child: Column(
              mainAxisAlignment: MainAxisAlignment.center,
              children: <Widget>[
                CupertinoTextField(
                  suffix: Container(width: 50, height: 50, color: Colors.yellow),
                ),
                TextField(
                  decoration: InputDecoration(
                    suffixIcon: Container(width: 50, height: 50, color: Colors.red),
                  ),
                ),
              ],
            ),
          ),
        ),
      ),
    );
  }
}

Alright after going back through that PR, eventually we decided to purposely allow taps on prefix/suffix to pass through to the text field: https://github.com/flutter/flutter/pull/34723#discussion_r299223417
At first glance it looks like the Material spec shows the same behavior. If you add an icon to the interactive demo and click on it, it will activate the text field: https://material.io/design/components/text-fields.html
I know that people will want to put buttons in the prefix/suffix though, and there is no way to prevent the event from "bubbling" like on the web.  You could work around this by subclassing TextField or modifying its source code.  We already have some code to block taps on the clear button: https://github.com/flutter/flutter/blob/master/packages/flutter/lib/src/cupertino/text_field.dart#L81
I'm not sure what the long term solution is.  Maybe some sort of parameter to TextField that says whether or not prefix/suffix pass events through to the input?

@justinmc Thank you for your great help Justin. I think a parameter would be ideal as it is a common use case i guess. I will try to modify my code then, didn't have any success though so far with just adding a gesture detector as a parent of the textformfield. Is there a widget that consumes all input events from its parent?

There are widgets like AbsorbPointer, but confusingly they won't work in this case.  The reason is that TextField uses some custom gesture detection under the hood so that it can receive gestures through the cursor and selection handles.
If you want to work around this, see my link above to how we do this for the clear button.  You would need to do the same thing for your suffix.

I use this workaround:
void _cancelSearch() {
  widget.bloc.cancelSearch();

  // https://github.com/flutter/flutter/issues/36948
  Future<void>.delayed(const Duration(milliseconds: 50), () {
    _searchFieldFocus.unfocus();
    _searchFieldController.clear();
  });
}

Maybe the duration can be optimized, but it works for me.

thanks for the workarounds. Although they did not work for me, i fixed the problem by simply replacing the TextField with a CupertinoTextField. By default the CupertinoTextField Suffix does not open the keyboard just as the old TextField used to do.
I guess the easiest conclusion is:
If you want to open the keyboard when a user presses on the suffix -> use TextField
If you want to do something else when the user presses on the suffix -> use CupertinoTextField
Thanks for the help everyone, I will close the Issue now.

@tiagodavi You can try to use Stack
Stack(
  alignment: Alignment.centerRight,
  children: <Widget>[
    TextField(),
    IconButton(
      icon: Icon(Icons.dialpad),
      onPressed: () {
        // do something
      },
    ),
  ],
)

Very Similar To How to add clear button to TextField Widget

@tiagodavi You can try to use Stack
Stack(
  alignment: Alignment.centerRight,
  children: <Widget>[
    TextField(),
    IconButton(
      icon: Icon(Icons.dialpad),
      onPressed: () {
        // do something
      },
    ),
  ],
)

Hi @tiagodavi  Facing invalid constant value error, when I call function on onPressed. How to solve it?

I have simular problem. I have a TextFormField with SuffixIcon which is IconButton. I want the keyboard stays in the same position opened/closed as it is when I pressed the SuffixIcon. I couldn't find a solution.

I have simular problem. I have a TextFormField with SuffixIcon which is IconButton. I want the keyboard stays in the same position opened/closed as it is when I pressed the SuffixIcon. I couldn't find a solution.

Same here, I solved using Stack:
Stack(
	alignment: Alignment.centerRight,
	children: <Widget>[
	  OutlinedTextEdit(
		onChanged: _onPasswordChanged,
		label: 'Password',
		obscureText: _obscurePassword,
		keyboardType: TextInputType.text,
	  ),
	  IconButton(
		icon: _obscurePassword ? Images.eyeOff : Images.eyeShow,
		onPressed: _onObscurePasswordPressed,
	  ),
	],
  ),

SOLUTION:-
Well, this is not the right way to do this but it is perfectly working.
This solution is also working with the Cupertino text field.
SAMPLE CODE:-
import 'package:flutter/material.dart';
void main() => runApp(SuffixApp());
class SuffixApp extends StatelessWidget {
// Focus nodes are necessary
final firstTextFieldFocusNode = FocusNode();
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: Text("TextField Suffix Tap Fixed"),
),
body: Center(
child: Padding(
padding: const EdgeInsets.all(16.0),
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
// Material Text Field Example
TextField(
// Set Focus Node
focusNode: firstTextFieldFocusNode,
decoration: InputDecoration(
suffixIcon: GestureDetector(
onTap: () {
// Unfocus all focus nodes
firstTextFieldFocusNode.unfocus();
                    // Disable text field's focus node request
                    firstTextFieldFocusNode.canRequestFocus = false;

                    // Do your stuff
                    print("Thanks for the solution");

                    //Enable the text field's focus node request after some delay
                    Future.delayed(Duration(milliseconds: 100), () {
                      firstTextFieldFocusNode.canRequestFocus = true;
                    });
                  },
                  child: Container(
                    width: 50,
                    height: 50,
                    color: Colors.red,
                  ),
                ),
              ),
            ),
          ],
        ),
      ),
    ),
  ),
);

}
}

SOLUTION:-
Well,  this is not the right way to do this but this is working perfectly fine.
This is also working with the Cupertino text field.
SAMPLE CODE:-
`
import 'package:flutter/material.dart';
void main() => runApp(SuffixApp());
class SuffixApp extends StatelessWidget {
// Focus nodes are necessary
final firstTextFieldFocusNode = FocusNode();
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: Text("TextField Suffix Tap Fixed"),
),
body: Center(
child: Padding(
padding: const EdgeInsets.all(16.0),
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
// Material Text Field Example
TextField(
// Set Focus Node
focusNode: firstTextFieldFocusNode,
decoration: InputDecoration(
suffixIcon: GestureDetector(
onTap: () {
// Unfocus all focus nodes
firstTextFieldFocusNode.unfocus();
                    // Disable text field's focus node request
                    firstTextFieldFocusNode.canRequestFocus = false;

                    // Do your stuff
                    print("Thanks for the solution");

                    //Enable the text field's focus node request after some delay
                    Future.delayed(Duration(milliseconds: 100), () {
                      firstTextFieldFocusNode.canRequestFocus = true;
                    });
                  },
                  child: Container(
                    width: 50,
                    height: 50,
                    color: Colors.red,
                  ),
                ),
              ),
            ),
          ],
        ),
      ),
    ),
  ),
);

}
}
`

SOLUTION:-
Well, this is not the right way to do this but this is working perfectly fine.
This is also working with the Cupertino text field.
SAMPLE CODE:-
import 'package:flutter/material.dart';

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

class SuffixApp extends StatelessWidget {
  // Focus nodes are necessary
  final textFieldFocusNode = FocusNode();

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: Text("TextField Suffix Tap Fixed"),
        ),
        body: Center(
          child: Padding(
            padding: const EdgeInsets.all(16.0),
            child: TextField(
              // Set Focus Node
              focusNode: textFieldFocusNode,
              decoration: InputDecoration(
                suffixIcon: GestureDetector(
                  onTap: () {
                    // Unfocus all focus nodes
                    textFieldFocusNode.unfocus();

                    // Disable text field's focus node request
                    textFieldFocusNode.canRequestFocus = false;

                    // Do your stuff
                    print("Thanks for the solution");

                    //Enable the text field's focus node request after some delay
                    Future.delayed(Duration(milliseconds: 100), () {
                      textFieldFocusNode.canRequestFocus = true;
                    });
                  },
                  child: Container(
                    width: 50,
                    height: 50,
                    color: Colors.red,
                  ),
                ),
              ),
            ),
          ),
        ),
      ),
    );
  }
}


Add controllerConfig.serviceServiceCert, for deploying router on OSE >= 1.3.0

This PR configures the master to declare a controllerConfig.serviceServiceCert section.
Without it, the router won't deploy out of the box Openshift 1.3.0 and OSE 3.3.
See https://github.com/openshift/openshift-ansible/issues/2345

Now that the origin 1.3.x packages have been released to the Centos7 paas repository this PR becomes necessary. Can you consider merging @IshentRas?

Sorry, have been busy with other topics....
Will review it asap :)

New version 1.10.15 :-) Thanks for your help. I did not merge your code as I changed other major stuff...

Thank you very much @IshentRas


Broken Install

Something is wrong with the new updates. The package.json file fails every time I just try to install the sandbox site.

Fails for me on Centos 7 with node v5.9.1 and npm v3.7.3
I also used aposthrophe-cli to generate project folder.
[root@foodmemes foodmemes]# npm install
npm WARN deprecated<EMAIL_ADDRESS>react-tools is deprecated. For more information, visit https://fb.me/react-tools-deprecated
npm WARN deprecated<EMAIL_ADDRESS>graceful-fs version 3 and before will fail on newer node releases. Please update to<EMAIL_ADDRESS>as soon as possible.
npm WARN deprecated<EMAIL_ADDRESS>Please update to the latest version.
npm WARN deprecated<EMAIL_ADDRESS>the module is now available as 'css-select'
npm WARN deprecated<EMAIL_ADDRESS>the module is now available as 'css-what'
npm WARN deprecated<EMAIL_ADDRESS>graceful-fs version 3 and before will fail on newer node releases. Please update to<EMAIL_ADDRESS>as soon as possible.
loadDep:async             ▄ ╢█████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
Killed

This is an out of memory error from npm and is not related to Apostrophe
per se. Obviously it concerns us though.
We generally advise our clients to get a 2GB VPS, which has always been
sufficient. In 1GB, npm tends to fall over, especially with mongodb on the
same machine.
It may be due to the inclusion of babel in the apostrophe-browserify
module's dependencies. It's a fairly large dependency. Still npm should
cope and I wish they would revisit it from top to bottom.
Ryan's message is pretty ambiguous, it's not clear if he's having the same
issue as you are, so I will keep this issue open in the hope he comes back
with specifics.
On Sun, Mar 27, 2016 at 1:10 AM, Brian M. Jemilo II <
<EMAIL_ADDRESS>wrote:

Fails for me on Centos 7 with node v5.9.1 and npm v3.7.3
I also used aposthrophe-cli to generate project folder.
[root@foodmemes foodmemes]# npm install
npm WARN deprecated<EMAIL_ADDRESS>react-tools is deprecated. For
more information, visit https://fb.me/react-tools-deprecated
npm WARN deprecated<EMAIL_ADDRESS>graceful-fs version 3 and before
will fail on newer node releases. Please update to<EMAIL_ADDRESS>as
soon as possible.
npm WARN deprecated<EMAIL_ADDRESS>Please update to the latest version.
npm WARN deprecated<EMAIL_ADDRESS>the module is now available as
'css-select'
npm WARN deprecated<EMAIL_ADDRESS>the module is now available as
'css-what'
npm WARN deprecated<EMAIL_ADDRESS>graceful-fs version 3 and before
will fail on newer node releases. Please update to<EMAIL_ADDRESS>as
soon as possible.
loadDep:async ▄ ╢█████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
Killed
—
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub
https://github.com/punkave/apostrophe/issues/123#issuecomment-201992479

--
*THOMAS BOUTELL, *DEV & OPS
P'UNK AVENUE |<PHONE_NUMBER>  |  punkave.com

Certainly a different error from hat I received in the past if my memory serves me correctly. This looks like a memory issue.  Mainly because of where the killed log is happening.  I'd suggest looking at your memory as its loading dependancies and make a note of the most significant spike

We find that a 2GB VPS has no trouble, but anything smaller tends to run
into this. ): npm needs a crash diet.
On Mon, Mar 28, 2016 at 10:57 AM, Ryan Watts<EMAIL_ADDRESS>wrote:

Certainly a different error from hat I received in the past if my memory
serves me correctly. This looks like a memory issue. Mainly because of
where the killed log is happening. I'd suggest looking at your memory as
its loading dependancies and make a note of the most significant spike
—
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub
https://github.com/punkave/apostrophe/issues/123#issuecomment-202427437

--
*THOMAS BOUTELL, *DEV & OPS
P'UNK AVENUE |<PHONE_NUMBER>  |  punkave.com


⚠ MorethanTV has degraded performance

In 223438f, MorethanTV ($MTV) experienced degraded performance:

HTTP code: 502
Response time: 2666 ms

Resolved: MorethanTV performance has improved in 7ca3cda.


Mismatch of fields, common for vCard format?

I tried to export it to JSON, and viewed it with jsonviewer.stack.hu.
I think the format is verry clear, better then of some other library I tried.
Only I saw some weird facts, sometimes:
zip is street or hoursenumber, street is one letter, country is city ect.
Is that common for vCard, how can I fix that?

Haven't seen that before, but haven't tested all formats. Do you have the vcard version # or the vcard you are testing with strange results?

I used a export from GMail contacts, it was vCard version 3.0.
I don't know if it occured at this contact, but something like this:
BEGIN:VCARD
VERSION:3.0
FN:Anon
ADR;TYPE=HOME:;Ampeldam;Van Roonstraat 555A;Nederland;;230346 AV;
ADR;TYPE=HOME:;;Van Roonstraat 555A;Ampeldam;;23046 AV;Polen
END:VCARD

Fixed in 0.5.2. All the fields for address are correct now. The error was related to the extended address in your example. I've ensured all fields parse correctly whether present or not.


update ControlPosition

Updates the ControlPosition enum according to this: https://github.com/visgl/react-google-maps/issues/67#issuecomment-1803588928
Fixes #67

Awesome, thanks a lot. Merging this right away.

Dang, I just noticed that the values are duplicated for aliases (TOP === TOP_CENTER), so this doesn't work as an enum. We could either remove the duplicates and keep the enum or declare this as an const object. What do you think?

I don't love enums, so I'm fine with making it an object if that works for you. Will come back to this later today.

Perfect, let's do this.


Support PyArrow Dataset as a valid return type for Python models

From the docs:

The pyarrow.dataset module provides functionality to efficiently work with tabular, potentially larger than memory, and multi-file datasets.

Since pyarrow.table type won't work with larger than memory datasets, this might be a good alternative. I was also thinking about Polars but wanted to check first if this was easier to implement.

Hrm, it's possible that after @AlexanderVR's most recent PR, this will (almost) just work? We may need to generalize this check to look for pyarrow.dataset.Dataset as well?

Sweet! It works when installing dbt-duckdb from GitHub. Thanks a lot @jwills!


Unbound sometimes not updating IPV6 prefix for LAN interface

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[x] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[x] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Describe the bug
Hello.
I observe Unbound sometimes serving outdated records for the LAN interface of the firewall itself. This persists until Unbound is restarted manually, at which point it starts serving the correct record.
To Reproduce
Steps to reproduce the behavior:

Have setup as described below
Wait a few days, during which multiple WAN reconnects take place
At one point, the firewall hostname doesn't resolve to correct IPv6 anymore

Expected behavior
Unbound records should be reliably kept up-to-date
Describe alternatives you considered

Screenshots

Relevant log files
The bug was triggered, igb0 (LAN) has IPv6: 2001:xxxx:b354:7300:xxxx:xxxx:xxxx:1440.
# dig @<IP_ADDRESS> AAAA opnsense
;; ANSWER SECTION:
opnsense.	3600	IN	AAAA	fc00:bbbb:bbbb:bb01::1:6199
opnsense.	3600	IN	AAAA	fc00:bbbb:bbbb:bb01::3:38de
opnsense.	3600	IN	AAAA	fd0d:80ff:fc07:89::c8
opnsense.	3600	IN	AAAA	2001:xxxx:a022:5f43:xxxx:xxxx:xxxx:1440
opnsense.	3600	IN	AAAA	2001:xxxx:b37a:8400:xxxx:xxxx:xxxx:1440

-> Wrong (outdated) AAAA records being served. -> Manually restart Unbound ->
# dig @<IP_ADDRESS> AAAA opnsense
;; ANSWER SECTION:
opnsense.	3600	IN	AAAA	fc00:bbbb:bbbb:bb01::1:6199
opnsense.	3600	IN	AAAA	fc00:bbbb:bbbb:bb01::3:38de
opnsense.	3600	IN	AAAA	fd0d:80ff:fc07:89::c8
opnsense.	3600	IN	AAAA	2001:xxxx:a022:5f43:xxxx:xxxx:xxxx:1440
opnsense.	3600	IN	AAAA	2001:xxxx:b354:7300:xxxx:xxxx:xxxx:1440

-> Note b37a:8400 now pointing to the new correct b354:7300. Also note the also-outdated a022:5f42 persisting.
Additional context
I occasionally see There were error(s) loading the rules: pfctl: DIOCADDRULENV: Device busy. Doubt it's related.
Environment
Software version used and hardware type if relevant, e.g.:

OPNsense 23.7.12 (amd64).
APU2D4
WAN is PPPoE on igb1 using DHCPv6 connected to a DSL modem, reconnects every 24h and gains a new IPv6 /56 each time
LAN is igb0 and using Track Interface on WAN.

Thanks!

Can currently reproduce almost daily. 🙃


Neovim with init.lua is faster

We all know how hard it would be to create a separate neovim exclusive config, but the speed it brings is huge.
Neovim now has native Language Server support, treesiter for better syntax.
There is a thread on Reddit on how much faster/or better using init.lua could be:
https://www.reddit.com/r/neovim/comments/jfs5sb/initvim_to_initlua_any_advantages/
Personally, I am using a plugin that caches lua plugins, which already are faster than pure vim:
    use {'lewis6991/impatient.nvim', rocks = 'mpack'}   -- faster startup

The plugin manager is packer (written in lua)
Even it took a long time to implement, this solution would be great

I like the idea of generating the configuration for neovim in lua, but how do we implement it within the current (generator) code?
Where you don't give us so much trouble to maintain?
@voyeg3r do you have any suggestions? Do you have knowledge in our code base?

The idea is not bad. However we'd have to implement another generator just for this.
(I don't know this project's codebase but the assumption is logical)

However we'd have to implement another generator just for this.

@cizordj one way to do this would be to abstract the final language that should be generated (viml, lua, etc) and use the template go (programming language used on the server) to generate the output file


config: platform dependent reference source

This introduces verbiage of fields that may occur in json (technically
optional), but is required on certain platforms (e.g. Linux).
Not adding a "name" string, as that is not a requirement yet.
In the event a windows runtime shows up, I could imagine an sid, but
we'll get to that when it happens.
Closes https://github.com/opencontainers/specs/pull/135
Related to https://github.com/opencontainers/specs/issues/166
Signed-off-by: Vincent Batts<EMAIL_ADDRESS>

LGTM

On Wed, Jan 13, 2016 at 03:53:12PM -0800, Vincent Batts wrote:

In the event a windows runtime shows up, I could imagine an sid,
but we'll get to that when it happens.

+1 on this PR and its punt, but until we have no platform-specific
build decisions I think #135 should stay open.  #190 implies that
having *_linux.go is enough to trigger platform-specific build
decisions.

This PR now addresses all the platform dependent source, not just the User struct.
And added field tags that we can build tooling around.

PTAL

looks nice

On Thu, Jan 14, 2016 at 01:56:28PM -0800, Vincent Batts wrote:

This PR now addresses all the platform dependent source…

You squashed config-linux.md into config.md but left
runtime-config-linux.md as its own file.  I'm fine either going with
platform-specific files or per-config files, but I think we should
pick one way or the other.

Is the plan to remove *-linux.md and won't add any *-windows.md but all combined into config.md? It's gonna make it really fat, isn't there other way we can do to make specs platforms agnostic?

@hqhq that's a fair point

On Fri, Jan 15, 2016 at 01:29:00AM -0800, Qiang Huang wrote:

Is the plan to remove *-linux.md and won't add any *-windows.md
but all combined into config.md? It's gonna make it really fat,
isn't there other way we can do to make specs platforms agnostic?

Combining the Go (or just changing _linux.go to something else.  Does
Go treat linux/.go as platform-specific?) seems orthogonal to
combining the Markdown docs.  We can leave *-linux.md and still have
cross-platform Go.

On the other hand, lots of folks want a single-page spec (#263), and a
single-page Markdown would make that easier (fixing links 1, etc.).

I have a preference for one file with sections for platform specific stuff.  Less of a chance of having to duplicate things (and keep them in-sync). And it easier to then compare the differences between what each platform expects.  Besides, the size of these platform specific bits should be small.

I started to do runtime*.md, but it was much longer. It was really an arbitrary decision.

On Fri, Jan 15, 2016 at 10:19:34AM -0800, Doug Davis wrote:

Besides, the size of these platform specific bits should be small.

Heh.
$ git describe
v0.2.0
$ wc -l config.md
39 config-linux.md
130 config.md
535 runtime-config-linux.md
122 runtime-config.md
826 total
so 70% of our config docs are Linux specific, and that's not even
counting Linux-specific examples like the process entry in config.md
and the mount entry in runtime-config.md.  Of course, 1 would bring
that number down a lot, but since we still haven't landed an opt-out
like #237, I'd be surprised if cgroups are moved outside of this spec
before summer (if they get moved out at all).
 Subject: removal of cgroups from the OCI Linux spec
 Date: Wed, 28 Oct 2015 17:01:59 +0000
 Message-ID<EMAIL_ADDRESS>

On Fri, Jan 15, 2016 at 10:34:21AM -0800, Vincent Batts wrote:

I started to do runtime*.md, but it was much longer.

If we're not comfortable rolling that in, that's fine with me 1, and
if we don't want to develop in a single page, but still provide a
single page view that's also fine with me 2.  But if we don't want
squash *-linux.md for the runtime.json spec, I'd suggest rerolling
this series to avoid squashing *-linux.md for the config.json spec.
Otherwise we'll get odd half-squashing if/when we unify runtime.json
and config.json (#284).

will need more rebasing, with https://github.com/opencontainers/specs/pull/329

Rebased

Rebased

@crosbymichael if you would give this a once-over. It ought not be a code/structure change at all.

LGTM


Limitations/documentation

what's NOT covered in our model, compared to EVM transactions? external markets/real-world agents
track limitations (whenever you run/improve simulations) and add to documentation

will add to the GitBook and provide a link here

will add to the GitBook and provide a link here


Cooooool. Future plans for this library.

Hi, I was wondering if I should implement the Visitor implementation myself and found this library. It's still useful now, but I think it'll be good if the function is added. Do you happen to have a long-term milestone? 🍻

This library aims to provide parity to rust api's visitor macros. Which means if there are missing visitor calls, it may be added and should be straightforward. Other than those, do not plan to implement its own features.


Javascript called twice when server redirect

My project installed jquery.turbolinks and turbolinks.
The wysihtml5 editor is triggered twice.
Here is my js.coffee codes
//= require bootstrap-wysihtml5
//= require bootstrap-wysihtml5/locales/zh-TW
//= require bootstrap-wysihtml5/locales/zh-CN
...
//= require_self

$('textarea').each ->
  $(this).wysihtml5()
$(document).ready ->
  ...

My server redirect user to the final product view from the first turotial controller as normal html call. It works fine without turbolinks. Otherwise, the html5  editor will be triggered twice. Seems the following redirection created the problem; from firebug -

GET http://myhost.com/wireframe/tutorials/description/dTrcN  302 Found  308ms  turbolink.js...?body=1（132 row）
GET http://myhost.com/shop/admin/products/test-2-6e9281b8-0647-48ef-a967-333373c1d71d/edit
200 OK

Where in the page do you include your site's javascript?

Hi @reed,
thanks for your help. I figure out it is the wyishtml5 set up need the follow script with turbolinks:
$(document).on('page:load', function(){
  window['rangy'].initialized = false
})

Glad you got it working.


Using directive to configure Java Properties

Scala CLI allows to configure Java properties using javaProp paramter.
We are missing using directives parser for them similar to one for JavaOptions - maybe even add it to that file directly.

#493  implementation done :)


Use enums for flag variables

https://github.com/stellargraph/stellar-ml/blob/acfbb255bcb9f8a11c92a860ccf714caa16d7ece/stellar/data/edge_splitter.py#L213
Hi guys, usually string variables shouldn't be used for default arguments in Python as they are mutable.
Moreover it is best practice to use enums for flag arguments
from enum import Enum
class NegativeSamples(Enum):
    GLOBAL = 1
    LOCAL = 2

def train_test_split(self, something=NegativeSamples.GLOBAL)

Then the enums would float about in a 'utils.py' or 'const.py' file that people import. If the flags are common they can be promoted through init.py.

Unfortunately, I'm not sure this is a good idea.

most libraries use strings (and potentially other options too) e.g.:

df.join(..., how="right") in Pandas https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.join.html ,
numpy.array(..., dtype="int32"),
Dense(kernel_initializer="uniform")

strings aren't mutable in Python (unlike lists and dicts) so the dangers are more controlled
using enums is a bit clunky and annoying in Python, since it requires extra imports

We could potentially support both enums (good for "high assurance" cases) and strings (good for ease-of-use), but I'm not sure that's valuable. As such, I'm going to move this to Review/QA for discussion.

Yeah I also don't think we need enums. I'm not sure if it's python libraries in general or just the libraries that are geared towards data-science/notebook workflows, but using strings instead of enums seems to be the preferred approach.


GROUP BY and UNION statements

[x] Uninon statement
[x] Union all statement
[x] Cube operator
[x] Group by statement
[x] Gruop by GROUPING SETS
[x] Group with ROLLUP
[x] Group by Cube

Ready to merge


Getting ALL comments from a single thread in a subreddit

So I have a subreddit I maintain, and I want to use the API to search the comments of one thread as opposed to the entire subreddit.
Is this possible currently?

Is currently possible, let me open up the API and give you a rundown for that though...

So far I have:
var subreddit = reddit.GetSubreddit("/r/EndlessFrontier");
            foreach (var post in subreddit.Posts)
            {
                if (post.Title.Contains("Tower of Trial (S1: Round 91"))
                {
                    Comment[] allComments = post.Comments;
                    for (int i = 0; i < allComments.Length; i++)
                    {
                        Console.WriteLine(allComments[i].Body);
                    }
                }
            }

This displays all comments, but it doesn't show the replies to each comment.

allComments have a replies property known as "comments" (recursive), you can see the level of depth with that methodology if you want to

Hey thanks, I've got it working now!

One other question guys, hope I'm not asking/bugging too much but here's my current code:
        static void Main(string[] args)
        {
            //username,pass
            var subreddit = reddit.GetSubreddit("/r/botdebug");
            foreach (var post in subreddit.Posts)
            {
                if (post.Title.Contains("Tower of Trial (S1: Round 9"))
                {
                    Comment[] allComments = post.Comments;
                    for (int i = 0; i < allComments.Length; i++)
                    {
                        Console.WriteLine(allComments[i].Body + "\n-------");
                        WalkReplies(allComments[i]);
                    }
                }
            }
            Console.Read();
        }

        static void WalkReplies(Comment c)
        {
            foreach (var reply in c.Comments)
            {
                Console.WriteLine(reply.Body + "\n-------");
                WalkReplies(reply);
            }
        }

I am new to programming so I was wondering, is there a way of placing all of the comments/replies into a single array/list?
My end goal is to search through all of the comments/replies, then use them as needed to update the main post.

Yes - you could do something like the following:
var myList = new List<Comment>();

foreach (var comment in Post.Comments)
{
   myList.Add(comment);
   // etc...
}

But this is not the place for general programming questions - only bug reports 😃
These are some good subreddits to check out.
https://www.reddit.com/r/csharp/
https://www.reddit.com/r/dotnet/
https://www.reddit/com/r/programming/
https://www.reddit.com/r/redditdev/


Create webcam device for robot load snapshots on i03

Fixes #435
Instructions to reviewer on how to test:
Run:
import bluesky.plan_stubs as bps
from bluesky.run_engine import RunEngine
from dodal.beamlines.i03 import webcam

RE = RunEngine()

my_webcam = webcam()

def my_plan():
    yield from bps.mv(my_webcam.filename, "test_file")
    yield from bps.mv(my_webcam.directory, "/tmp/")
    yield from bps.trigger(my_webcam, wait=True)
    print((yield from bps.rd(my_webcam)))

RE(my_plan())

and confirm image gets stored in tmp.
Checks for reviewer

[ ] Would the PR title make sense to a scientist on a set of release notes
[ ] If a new device has been added does it follow the standards

@callumforrester or @DiamondJoseph before I finish writing the tests for this is there a more idiomatic way of doing it? last_saved_path is effectively a datum right? So would it make sense to put it in an event like that? If so how do I do it?

@callumforrester or @DiamondJoseph before I finish writing the tests for this is there a more idiomatic way of doing it? last_saved_path is effectively a datum right? So would it make sense to put it in an event like that? If so how do I do it?

Are you only going to be saving images during a data collection, or at any time?

@DominicOram you need to implement read and collect_stream_docs, see this PR: https://github.com/bluesky/ophyd-async/pull/144/files#diff-2cd995da8cacab74d7a14c898acc1270646df44d1aaabba2d5c2a35a86271911
Which is a fake ophyd-async detector that writes real HDF5 files

Are you only going to be saving images during a data collection, or at any time?

For the first usecase inside a collection but I don't want to rule it out

@DominicOram you need to implement read and collect_stream_docs, see this PR...

Thank you, do you think it's appropriate here? The use of stream is a bit odd as we only really want the one image.
Basically, this is how I would implement the webcam but very keen to hear from you guys on if you think there is a better way

I think stream is still appropriate for a single image, but could ask @coretl for a second opinion

As an external file, I think if you're going to emit anything it'd be a StreamResource to describe the file itself then 0-N StreamDatum for correlating data within the file.
What is consuming the last_saved_path?

What is consuming the last_saved_path?

We're just dumping the path into ispyb

Warning that StreamResource/StreamDatum are due to undergo a change in a bluesky version to be released after June, so anything that parses the SR will need to be modified after that point.
AFAIK those documents can't be emitted unless the RunEngine thinks it's in a run. You can make a run just to emit the documents (a Run is any correlated data collection, collecting data from just the Webcam is still a valid Run) if you need to start sending the path outside of a data collection.
https://github.com/bluesky/event-model/pull/301

Ok, looking through the example @callumforrester gave I think the added complexity isn't worth it in this case. What do you guys think?

    async def collect_stream_docs(
        self, indices_written: int
    ) -> AsyncIterator[StreamAsset]:
        filename = await self.filename.get_value()
        directory = await self.directory.get_value()
        yield from compose_stream_resource(
                spec="image/png",  # prep for switch to mimetype
                root=directory,
                data_key="last_saved_path",
                resource_path=f"{filename}.png",
                resource_kwargs={},
            ).stream_resource_doc

    def stream_data(self, indices_written: int) -> Iterator[StreamDatum]:
        # don't emit Datum
        return None

It should be relatively simple, you know what you're writing (a png), and where (the root/resource_dir distinction will matter when using softiocs in the cluster)

Spent a couple of hours on trying to do it with streams, ended up more messy without much gain so using existing solution

the png file saved by the manual test can't be opened properly - were you expecting it to be able to?

This works for me @olliesilvester. Potentially the webcam was down when you tried? Can you try again and check what http://i03-webcam1/axis-cgi/jpg/image.cgi looks like if it doesn't work?

the png file saved by the manual test can't be opened properly - were you expecting it to be able to?

This works for me @olliesilvester. Potentially the webcam was down when you tried? Can you try again and check what http://i03-webcam1/axis-cgi/jpg/image.cgi looks like if it doesn't work?

The issue was the PNG library on my workstation, the files work OK on another computer


add_tests is unusble, only generates half of the response

add_tests command abruptly finishes in the middle and therefore the result is unusable.
Setting max_tokens to a large value does not help.
Update:
I was able to get around this issue by cloning and using this repo locally and entering max_tokens in file lua/chatgpt/flows/actions/actions.json
So I believe the issue is that the params defined by the user is not merged with params defined in actions.json for different actions.

This was a misconfiguration on my part, please ignore. If this helps anyone, the max_tokens in your config should be inside openai_params so a level deeper than api_key_cmd


feat(selection-list): Add support to radio like mat-selection-lit

Feature Description
Currently <mat-selection-list multiple="false"></mat-selection-list> behaviour is far from ideal. It should support radio button style like it supports checkboxes, and when used as single selection, the value shound not be an array. It should work like radio-button-group with a style of selection list.
Use Case
Ceating a single selection-list that properly indicates it's single selectable.
Demo
(Stackblitz) I've hacked the current selection list arund with style and so, but it's quite ugly. I'll understand it this issue get low prio, beacuse of mdc, but this issue is not just about styling, but behaviour too.

Duplicate of https://github.com/angular/components/issues/7157.

Ohh, thank you, I've searched for this, but could not find it.


fix(git): fix linting error

The git PR was merged at the same time as the new linting PR and somehow passed CI without running through the new linter.

Current coverage is 5.15% (diff: 0.00%)

No coverage report found for master at caf1fd0.

Powered by Codecov. Last update caf1fd0...36785b1


How to run demo in "Real-time"

Hello, can someone guide me how to run demo in real-time, these are the latencies when I run in Colab notebook with GPU runtime:
Processing audio: 00083 ...
1. Computing APC features...
2. Manifold projection...
LLE projection: 100% 1374/1374 [**00:00**<00:00, 5131.87it/s]
3. Audio2Mouth inference...
4. Headpose inference...
generating headpose: 100% 672/672 [**00:06**<00:00, 111.27it/s]
5. Post-processing...
100% 672/672 [00:00<00:00, 17413.64it/s]
6. Image2Image translation & Saving results...
Image2Image translation inference: 100% 672/672 [**00:53**<00:00, 12.59it/s]

It takes around 0:59min in total...

hey @anthnyprschka, would you be kind enough to share the colab notebook that you are using. I am trying to work out the latency, and i can try running it on A100 to see if that improves the latency!!
Thanks


Delay Counter

Nice tutorial, minor issue with the modification to the component change for the async increment. The tutorial gives this replacement, losing the value={store.getState()} which was necessary for display purposes.
function render() {
  ReactDOM.render(
    <Counter
      onIncrementAsync={() => action('INCREMENT_ASYNC')}
    />,
    document.getElementById('root')
  )
}

I believe the change in the tutorial should be replaced with this since you are not supposed to take out the other variables but only add that to the bottom of the list. Heres what the updated code should look like in the tutorial:
function render() {
  ReactDOM.render(
    <Counter
      ...
      onIncrementAsync={() => action('INCREMENT_ASYNC')}
    />,
    document.getElementById('root')
  )
}


Add files via upload

defined nicerdata directory, fixed length violation in extractor string

Hi Tess,
let me know if you have issues with this pull request

@mfacorcoran,
I had ported the nicer notebook to work on sciserver in PR #3. You can see it at  here, and I think that works by loading the data locally on sciserver. These 2 PR's should be merged somehow.

@zoghbi-a looks fairly similar to what I just submitted aside from the heasoftpy version checking, so if that works we can go with it...

Closing in favor of conflicting PR #3


UHF-6506: Added missing translations for the district and project sea…

…rch cards
UHF-6506

What was done

Added missing translations

How to install

Make sure your instance is up and running on correct branch.

git pull origin UHF-6506_district_and_project_search_missing_translations
make fresh

Run make drush-cr

How to test

[ ] Run make shell and inside the shell drush locale:check; drush locale:update; drush cr
[ ] Check that the schedule fields on project teasers are translated now.
[ ] Check that code follows our standards

Designers review

[x] This PR does not need designers review

Fixing the coding standard issues in a separate PR since this PR had nothing to do with them.


Data for training MineCLIP

Hi,
Thanks for these amazing results and for releasing the code!
Do you plan to also release the 640K video-language pairs for training MineCLIP you mention in the paper ?

Hey, please follow the instruction to download the YouTube data. Let me know if you have further questions. Thanks!

MINEDOJO: knowledge base: 730K+(~300K hours)
MINECLIP: 640k video-language pairs, 640K*16s=2.8K hours.
I know how to download the YouTube data (300K hours), but I can't find the filterd 640K data used to train MineCLIP. Where can I download it?
Thanks~

Hi @yifan123! Thanks for your interest. Here is how we extracted 640K pairs. Feel free to use other heuristics to extract training pairs from 730K+ videos.

Collect a list of keywords corresponding to the supported entities, blocks, and items in Minecraft;
Perform string matching over our YouTube video transcripts to obtain 640K text segments;
For each matched transcript segment, randomly grow it to 16 ∼ 77 tokens (limited by CLIP’s context length);
Randomly sample a timestamp within the start and end time of the matched transcript as the center for the video clip;
Randomly grow the video clip from the center timestamp to 8 ∼ 16 seconds.

Thanks for your reply. I have a few more questions.

Compared with the 400M data used by CLIP, MineCLIP uses a little less data of 640K to finetune, does it seriously limit the performance?
In comparative learning, the larger the batch, the better. What is the reason for mineCLIP to choose small batch(64*8)?
What is the reason for finetuning only two epochs?

Thanks~

We initialized MineCLIP weights from OpenAI CLIP’s public checkpoint and only finetuned the last two layers during training. Therefore, MineCLIP was not trained from scratch and we found that 640K video-text pairs already gave a satisfactory performance.
We followed VideoCLIP which also uses 512 batch size. Note that our visual inputs are videos instead of images. We sampled 16 RGB frames from each video uniformly.
We did not do too much hyperparameter tuning. So it's possible that finetuning for more epochs would give better performance.

Thanks @wangguanzhi for the detailed explanation. I'm closing this issue now. Feel free to reopen with new questions. Thanks @yifan123 again for your interest.

Thanks for your replay!
Could you share your script of cleaning data?

Hi @yifan123! Thanks for your interest. Here is how we extracted 640K pairs. Feel free to use other heuristics to extract training pairs from 730K+ videos.

Collect a list of keywords corresponding to the supported entities, blocks, and items in Minecraft;
Perform string matching over our YouTube video transcripts to obtain 640K text segments;
For each matched transcript segment, randomly grow it to 16 ∼ 77 tokens (limited by CLIP’s context length);
Randomly sample a timestamp within the start and end time of the matched transcript as the center for the video clip;
Randomly grow the video clip from the center timestamp to 8 ∼ 16 seconds.

DM you!

DM you!

hey! Thanks for your amazing work!
would you mind sharing your scripts for cleanning data once more?

Can you give me your email?

DM you!

hey! Thanks for your amazing work!
would you mind sharing your scripts for cleanning data once more?

Can you give me your email?

Hi @yifan123! Thanks for your interest. Here is how we extracted 640K pairs. Feel free to use other heuristics to extract training pairs from 730K+ videos.

Collect a list of keywords corresponding to the supported entities, blocks, and items in Minecraft;
Perform string matching over our YouTube video transcripts to obtain 640K text segments;
For each matched transcript segment, randomly grow it to 16 ∼ 77 tokens (limited by CLIP’s context length);
Randomly sample a timestamp within the start and end time of the matched transcript as the center for the video clip;
Randomly grow the video clip from the center timestamp to 8 ∼ 16 seconds.

Hey,
Depending on the keyword you provide, each video can matches about 30 keywords. Therefore, we can extract about 700k*30=20M pairs from 730K+ videos following the above filtering process. Intuitively, these pairs have low quality. For example, the voice often talks about something in the future, which does not match the current video, such as diamond. As mentioned in the paper, only 640K pair was extracted at last. Is there any other post-processing?

Thanks a lot！
<EMAIL_ADDRESS>

Hi @yifan123! Thanks for your interest. Here is how we extracted 640K pairs. Feel free to use other heuristics to extract training pairs from 730K+ videos.

Collect a list of keywords corresponding to the supported entities, blocks, and items in Minecraft;
Perform string matching over our YouTube video transcripts to obtain 640K text segments;
For each matched transcript segment, randomly grow it to 16 ∼ 77 tokens (limited by CLIP’s context length);
Randomly sample a timestamp within the start and end time of the matched transcript as the center for the video clip;
Randomly grow the video clip from the center timestamp to 8 ∼ 16 seconds.

Hey,
Depending on the keyword you provide, each video can matches about 30 keywords. Therefore, we can extract about 700k*30=20M pairs from 730K+ videos following the above filtering process. Intuitively, these pairs have low quality. For example, the voice often talks about something in the future, which does not match the current video, such as diamond. As mentioned in the paper, only 640K pair was extracted at last. Is there any other post-processing?

Just replied to your email!

Hi, can you share the script with me as well?
<EMAIL_ADDRESS>Thanks in advance

Hi, could you please share the script with me?
<EMAIL_ADDRESS>Thanks a lot!

Hey! Sorry for bumping this old thread, but I was hoping to get the script for cleaning the data as well. Thanks!
<EMAIL_ADDRESS>

We just released the transcript annotations. See https://github.com/MineDojo/MineCLIP#training-data


Update CLI docummentation

Summary
testPathIgnorePatterns exist as part of the SearchSource but it is not documented. I provide a simple definition so people can use it.

This PR does not contain any change to the code, I do not understand why test-node-8 fails, can I get some help?


Make docs strict

Purpose

Closes #262
To-do

Content

[ ] I have read and checked the items on the review checklist.

bors try

bors r+


Any chance this might get added to the docker repo in order to easily install in unraid.

Already is. https://hub.docker.com/r/angellusmortis/sxm-player/

ok thank you was looking for sxm-docker my B


Add NA to DEFAULT_INVALID_VALUES

Please add "NA" to DEFAULT_INVALID_VALUES. "NA" is used by default by most R functions (both base R and various packages) that write CSV files.

Done! This will be part of the next release. Thanks @otsaw.


Serverextension example

Fix #19

Thanks @fcollonval!
Again this is a really nice write-up :+1:
I really like the step-by-step walkthrough, and the section on packaging is very relevant and useful too.

Leaving it open in case @echarles wants to have a look too.
Otherwise feel free to merge.

Thx @fcollonval, one more great and didactic example. Left a few minor comments.

@echarles I'm unable to see your comments. Did you validate your review?

@fcollonval oops just validated it now.

Thanks for the thorough reviews @echarles and @jtpio


feat: add timestamp object

Summary
This PR adds a Timestamp object to allow the suer of Discord's native timestamps.
Checklist

[x] If code changes were made then they have been tested.

[x] I have updated the documentation to reflect the changes.

[ ] This PR fixes an issue.
[x] This PR adds something new (e.g. new method or parameters).
[ ] This PR is a breaking change (e.g. methods or parameters removed/renamed)
[ ] This PR is not a code change (e.g. documentation, README, ...)

I'm really not a fan of how this is implemented. It is missing features and is messy imo


Some Known Issues as of now

[ ] Figure environment's caption is not always captured. Specifically when the content of the figure environment is not just a single includegraphics (instead is tabular or subfloat or multiple includegraphics).
[ ] Some Divs are not parsed

[ ] IEEEeqnarray
[ ] array
[ ] figure*

It may be helpful to perform some preprocessing using pylatexenc[https://pylatexenc.readthedocs.io] or even just use that instead of panflute directly.


Detected language preference on the sign-in page doesn’t persist across the app

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Verify that App's language preference is set to English
Set your device/browser language preference to Spanish
Navigate to 'Sign In' screen
Verify if the 'Sign-in' page's translations are in Spanish
Enter email address and click on ‘Continue’ button
Enter password and click on ‘Sign in’ button

Expected Result:
Detected device’s/browser’s language preference should persist throughout the app
Actual Result:
Detected device’s/browser’s language preference don't persist throughout the app
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: 1.2.97-2
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/43996225/230798170-b9254fa4-e351-4a44-b2b0-cf19899717e0.mp4
https://user-images.githubusercontent.com/43996225/230798177-870511af-a4ad-4667-8a49-d7c9a3a85dee.mp4
Expensify/Expensify Issue URL:
Issue reported by: @natnael-guchima
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1681074474757409
View all open jobs on GitHub

Triggered auto assignment to @arielgreen (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Bug0 Triage Checklist (Main S/O)

[ ] This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
[ ] This bug is not a duplicate report (check E/App issues and #expensify-bugs)

If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead

[ ] This bug is reproducible using the reproduction steps in the OP. S/O

If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
If the reproduction steps aren't clear and you determine the correct steps, please update the OP.

[ ] This issue is filled out as thoroughly and clearly as possible

Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.

[ ] I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

This is expected and accurate behavior. If my selected language in the app is one Expensify supports (such as English) then I would expect that to be the language displayed, regardless of what my OS/browser selection is.
I performed the steps exactly as described. I saw Spanish on the sign in page. Once logged into my account, Expensify was in English, which makes sense as that is my selected language.
Closing.

@arielgreen This PR seems to claim that the detected preferred language should persist across the app.

Also, can you take a look at this Slack thread -> ‘Write something…’ in composer flashes from Spanish to English when a user changes browser/device language preference to Spanish and Sign-in. If the above behavior is expected this issue on the Slack thread might be a bug.

Hello @puneetlath, is detected language preference not persisting throughout the app an expected behavior? Also, please, can you take a look at an observation I mentioned here ^? It is related to detecting language preference.

@Natnael-Guchima I'm not able to reproduce what you say. I just tried the following:

set my account to spanish
signed out (sign in page is in english, like my device)
signed in (account is now in english)

@Natnael-Guchima I'm not able to reproduce what you say. I just tried the following:

set my account to spanish
signed out (sign in page is in english, like my device)
signed in (account is now in english)

@puneetlath I don't know how this is happening but I am able to reproduce it.

set my account language preference to Spanish
Signed out (sing in page is in English according to my device and browser language preference)
signed in back

Actual Result: account is now in Spanish Uploading
XRecorder_16042023_190232.mp4 …

Hmm, and you're definitely on the latest version of the app?
If so, can you tell me:

What language shows as being set in Onyx when you're on the sign in page
The language being passed in the API request when you sign in

Onyx data is in application > indexedDB > OnyxDB > keyvaluepairs

Network request is in Network tab. You can see the passed locale in the API command payload:

Onyx data is in application > indexedDB > OnyxDB > keyvaluepairs
Network request is in Network tab. You can see the passed locale in the API command payload:

Thanks for the guidance 🙌. Below are the results:
English is set in Onyx when a user is on the sign-in page

English is passed in the API request on user sign in

Ah! It only was added to the password-less flow, since the password flow is going to be removed very soon. That's why you aren't seeing it.
Thanks for the report though!

Okay. No problem👍.


Refused to load the script

Because it violates the following Content Security Policy directive: "script-sre self". Note that 'script-src-elem' was not explicitly set, so script-sre is used as a fallback.

Will be solved in 1.3.5


orphan files/folders on harddrive

Describe the bug
My instance uses much more storage on the disk than expected. When looking into what files use the space I found files on the disk that I have deleted in ocis e.g. storage/users/spaces/00/7f0f4e-cb0c-4d60-a229-180920aa97ec/blobs/97/79/ab/b8/-bbea-4d25-bee8-d418129a5568
The messagepack of that file has this content:
{
  "user.ocis.blobid": "9779abb8-bbea-4d25-bee8-d418129a5568",
  "user.ocis.blobsize": "10139136",
  "user.ocis.cs.adler32": "\ufffdLwv",
  "user.ocis.cs.md5": "\u0014\ufffd\ufffd{\ufffdĮH\ufffd@0\ufffdh\ufffd\ufffd\ufffd",
  "user.ocis.cs.sha1": "\ufffd\ufffd\ufffd\u001f\u0015\ufffdENlJu\ufffd\ufffd\u001c˲Ssp\ufffd",
  "user.ocis.name": "P1120390.JPG",
  "user.ocis.parentid": "dbd28bd2-27fb-4f8c-92b7-40fa31753e37",
  "user.ocis.type": "1"
}

I can find it's parent on disk:
ls ./storage/users/spaces/00/7f0f4e-cb0c-4d60-a229-180920aa97ec/nodes/db/d2/8b/d2/-27fb-4f8c-92b7-40fa31753e37 -lh
total 0
lrwxrwxrwx 1 arturproxy arturproxy 55 Jul  4 11:30 P1120306-Glückwunsch.JPG -> ../../../../../b1/10/38/22/-880f-439d-956e-9135ef9af288
lrwxrwxrwx 1 arturproxy arturproxy 55 Jul  4 11:31 P1120306.JPG -> ../../../../../41/d4/bb/fa/-0580-4732-a28e-f5c228bbdb98
lrwxrwxrwx 1 arturproxy arturproxy 55 Jul  4 11:31 P1120307.JPG -> ../../../../../88/2c/73/2f/-83d0-4dee-bd1e-d727069bb5f2
lrwxrwxrwx 1 arturproxy arturproxy 55 Jul  4 11:31 P1120309.JPG -> ../../../../../cb/39/0b/2f/-41d6-40c9-8581-9e93b6ac4e43
lrwxrwxrwx 1 arturproxy arturproxy 55 Jul  4 11:31 P1120313.JPG -> ../../../../../f3/f5/4d/fc/-8078-4ae6-9af3-2d5cf7bcdd2d
lrwxrwxrwx 1 arturproxy arturproxy 55 Jul  4 11:31 P1120315.JPG -> ../../../../../11/5c/28/03/-087e-4522-ade0-1d73c21007f5
lrwxrwxrwx 1 arturproxy arturproxy 55 Jul  4 11:31 P1120317.JPG -> ../../../../../5f/d5/19/0a/-c019-4a92-adbd-830daf8af264
....

The parent has this messagepack content:
{
  "user.ocis.name": "2022-04-18-22-Bandipur-Urlaub",
  "user.ocis.parentid": "4629d530-c6f7-4fdf-ab4c-8ce3025a9d9c",
  "user.ocis.propagation": "1",
  "user.ocis.tmp.etag": "",
  "user.ocis.tmtime": "2023-07-04T09:36:22.416708035Z",
  "user.ocis.treesize": "951625660",
  "user.ocis.type": "2"
}

These are files that I have deleted previously, including the folder.
I cannot find that folder or the files in the ocis webUI, nor the but not the grand-parent with the id 4629d530-c6f7-4fdf-ab4c-8ce3025a9d9c anywhere on disk
Steps to reproduce
Not sure! But I have uploaded a lot of files, generated previews (what sometimes crashed), deleted files, created & deleted spaces
Expected behavior
no orphan files/folders on harddrive
Actual behavior
orphan files/folders exist on the harddrive
Setup
docker compose

---
version: "3.7"

services:
  ocis:
    image: owncloud/ocis:${OCIS_DOCKER_TAG:-latest}
    networks:
      ocis-net:
    ports:
      - "9200:9200"
    entrypoint:
      - /bin/sh
    command: [ "-c", "ocis init || true; ocis server" ]
    environment:
      OCIS_URL: https://${OCIS_DOMAIN:-ocis.in-nepal.de}
      OCIS_LOG_LEVEL: ${OCIS_LOG_LEVEL:-info}
      OCIS_LOG_COLOR: "${OCIS_LOG_COLOR:-false}"
      OCIS_INSECURE: true
      PROXY_HTTP_ADDR: <IP_ADDRESS>:9200
      PROXY_TLS: false
      OCIS_CACHE_STORE: "redis"
      OCIS_CACHE_STORE_NODES: "cache:6379"
      OCIS_LOG_FILE: /var/log/ocis/ocis.log
    restart: always
    depends_on:
      - cache
    volumes:
      - type: bind
        source: /mnt/HC_Volume_32687865/ocis-config
        target: /etc/ocis
      - type: bind
        source: /mnt/HC_Volume_32687865/ocis-data
        target: /var/lib/ocis
      - type: bind
        source: /mnt/HC_Volume_32687865/ocis-logs
        target: /var/log/ocis

  cache:
    image: redis:6.2-alpine
    restart: always
    networks:
      ocis-net:
    volumes:
      - cache:/data

networks:
  ocis-net:

volumes:
  cache:
    driver: local

Additional context
Add any other context about the problem here.

I believe I've also ran into this issue. I've replicated it by permanently deleting a folder containing files; oCIS will report that deletion was successful, the folder will disappear from the trash bin, but the files contained within that folder will remain on disk.
Selecting all the files individually, sending to trash + perma-deleting will work as expected.
I initially ran into this issue 6 month ago. My oCIS 4.0.0 Docker instance (with Keycloak IDP + Apache Tika, Debian 11 LXC in Proxmox VE 8.1) was using a whopping 29TB of space, despite oCIS reporting a total size of 9.8TB via the web interface.
I then followed the Binary Setup guide and migrated my data to a 2nd instance of oCIS 4.0.4 (with Keycloak IDP + Apache Tika, Debian 12 LXC in Proxmox VE 8.1) and can confirm the issue is still present.
File permissions were setup correctly on both instances. The orphaned files/folders in /var/lib/ocis/storage/ also had correct permissions. Both LXCs were each installed onto their own ZFS RAIDz1 dataset.
I've recorded a video (can't upload directly) where I recreate this issue on a fresh oCIS 4.0.4 instance (with Apache Tika, Debian 12 LXC in Proxmox VE 8.1, this time installed onto a ZFS dataset on a new NVME drive).
The top left window contains statistics on the LXC's total HDD usage, which reveals whether a perma-deletion succeeds or fails. There's also a live journal log for both oCIS and Apache Tika Server.
As you can see, I'm able to successfully upload + select individual files for perma-deletion as expected, but selecting a folder for perma-deletion results in orphaned files.
1st instance's docker-compose.yml:
version: '3.8'

services:
    ocis:
        image: owncloud/ocis
        container_name: ocis
        networks:
            ocis-net:
        ports:
            - '9200:9200'
        entrypoint:
            - /bin/sh
        command: ["-c", "ocis init || true; ocis server"]
        environment:
            - OCIS_INSECURE=true
            - PROXY_HTTP_ADDR=<IP_ADDRESS>:9200
            - OCIS_URL=https://ocis.[redacted].com
            - DEMO_USERS=false
            - PROXY_TLS=false
            - OCIS_LOG_LEVEL=info
            # Use Keycloak IDP
            - OCIS_OIDC_ISSUER=https://keycloak.[redacted].com/realms/ocis
            - PROXY_AUTOPROVISION_ACCOUNTS=true
            - PROXY_OIDC_REWRITE_WELLKNOWN=true
            - WEB_OIDC_CLIENT_ID=ocis-web
            - OCIS_ADMIN_USER_ID=9efa99a9-2ddb-40bb-adc5-49511ef1f953
            # Use Apache Tika indexer
            - SEARCH_EXTRACTOR_TYPE=tika
            - SEARCH_EXTRACTOR_TIKA_TIKA_URL=http://apache-tika:9998
            - FRONTEND_FULL_TEXT_SEARCH_ENABLED=true
        volumes:
            - ${PWD}/config:/etc/ocis
            - ${PWD}/data:/var/lib/ocis
        restart: always
    apache-tika:
        image: apache/tika
        container_name: apache-tika
        networks:
            ocis-net:
        ports:
            - '9998:9998'
        restart: always
networks:
    ocis-net:
        name: ocis-net

I can confirm this is still present in 5.0.0-rc.1.
It happens regardless of whether the trash is emptied through the UI, or items are left to expire with ocis storage-users trash-bin purge-expired.

I can report this issue as well and had opened a community post about it: https://central.owncloud.org/t/deleting-files-but-disk-space-is-still-used/47038

Can confirm that this is happening for me under 5.0.0-rc.3 as well

In the meanwhile I've completely cleaned up my instance by copying all data to a new user/space and deleting the old spaces.
I do nightly backups (shutdown ocis, copy all files with rsnapshot, start ocis) and after success I check the backup using the backup consistency ocis command.
All has been fine for a week or so, but yesterday I've been working on some files (uploading through the desktop client,  editing in the text file viewer, viewing the file in the presentation viewer) and on today's backup I have orphaned blobs:
🚨 Inconsistent Blobs:
	👉 [blob orphaned]	blob: /var/lib/ocis/storage/users/spaces/bd/be95cd-a66e-4add-ace5-88dc58598eb2/blobs/39/ba/10/4d/-ea12-4f6a-9e7b-87cbd40e06d1
	👉 [blob orphaned]	blob: /var/lib/ocis/storage/users/spaces/bd/be95cd-a66e-4add-ace5-88dc58598eb2/blobs/3e/cd/66/75/-1b10-4189-9d15-4b0c02651ae6
	👉 [blob orphaned]	blob: /var/lib/ocis/storage/users/spaces/bd/be95cd-a66e-4add-ace5-88dc58598eb2/blobs/52/ae/b7/a5/-3bcf-48a5-9f9f-6a6cb577db3d
	👉 [blob orphaned]	blob: /var/lib/ocis/storage/users/spaces/bd/be95cd-a66e-4add-ace5-88dc58598eb2/blobs/67/b8/c8/6e/-a033-4d48-9753-dc69000e0e37
	👉 [blob orphaned]	blob: /var/lib/ocis/storage/users/spaces/bd/be95cd-a66e-4add-ace5-88dc58598eb2/blobs/d3/f3/5b/0d/-c3a4-4d6c-a717-09162b12ab7c
	👉 [blob orphaned]	blob: /var/lib/ocis/storage/users/spaces/bd/be95cd-a66e-4add-ace5-88dc58598eb2/blobs/db/dc/8e/91/-1a34-4856-aecf-32e95d3a99a3

the content of most of those blobs are various versions of the .md files I've mostly worked with yesterday.
BTW: the real storage of ocis shows the same result, so the issue is not in the backup process itself.
Currently I'm running:
Version 	6.4.0
Web client version 	10.2.0


Installing Production Package : Copyedited content

I have copy edited this document and added content to make it more coherent and concise. @fakela

@pragatijain the PR shouldn't be sent here but here instead https://github.com/mautic/user-documentation
However, if can move your suggestions over to this repo. Would that be okay by you

Awesome job 👍@pragatijain, this looks really great however the PR shouldn't be sent here but here instead https://github.com/mautic/user-documentation .
i can move your suggestions over to this repo. Would that be okay by you.

@pragatijain here is the doc rendered here https://mautic-documentation.readthedocs.io/en/latest/home/installing-from-production-package.html

@fakela Thank you for sharing the link! Super excited !!

Awesome job 👍@pragatijain, this looks really great, I love the suggestions you made, however, the PR shouldn't be sent here but here instead https://github.com/mautic/user-documentation .
I will move your suggestions over to this repo https://github.com/mautic/user-documentation and merge them there.

Sorry, could not get to your comments over the weekend. Sounds good. Going forward, I will post the PR links at the suggested link: https://github.com/mautic/user-documentation . Thank you for the feedback.


RPIP-46 spec update

Inflation update
Initial no_share to 5%
Saturn 1 will use voter_share and no surplus_share
Downstream changes from the above

Adding comment here before I forget.... discussion also led to recommendation of expecting to drop eligibility for RPL issuance rewards to ~zero with Saturn 1, (~all staked RPL will earn RPL issuance rewards until Saturn 2)


bitkeeper 7.2

Adding a new cask

[x] Checked there aren’t open pull requests for the same cask.
[x] Checked there aren’t closed issues where that cask was already refused.
[x] When naming the cask, followed the token reference.
[x] Commit message includes cask’s name.
[x] brew cask audit --download bitkeeper is error-free.
[ ] brew cask style --fix bitkeeper left no offenses.
[x] brew cask install bitkeeper worked successfully.
[x] brew cask uninstall bitkeeper worked successfully.

Signed-off-by: Premkumar Subramanian<EMAIL_ADDRESS>

couldn't verify brew cask style --fix bitkeeper because of open issue caskroom/homebrew-cask#20806


Unable to connect to windows instance

I have a
machine 'storage' do
  action :converge
end

resource.  I'm using the chef-provisioning-vra driver, and the machine is being created (I can rdp to it).  The machine is using the same template as my test-kitchen boxes, which I have no trouble connecting to, but chef-provisioning times out waiting for the machine to become reachable.
snippet of the debug logs:
$chef-client -z -o 'cookbook::recipe'
<cut tons of debug stuff>
    - Powering on storage if needed
    - Power on machine storage
    - Waiting for storage to be reachable WARN  WinRM::WinRMWebService : WinRM::WinRMWebService#run_powershell_script is deprecated. Use WinRM::CommandExecutor#run_powershell_script instead
[2016-03-04T15:37:44-05:00] DEBUG: unavailable: network connection failed or broke: #<Timeout::Error: execution expired>

    - been waiting 10/1800 seconds -- sleeping 5 seconds WARN  WinRM::WinRMWebService : WinRM::WinRMWebService#run_powershell_script is deprecated. Use WinRM::CommandExecutor#run_powershell_script instead
[2016-03-04T15:37:59-05:00] DEBUG: unavailable: network connection failed or broke: #<Timeout::Error: execution expired>

That message will just repeat for 30 minutes until it times out.  The machine is definitely up.
Is this being caused by not using the commandExecutor or is this something entirely different?
Version info:
$ chef --version
Chef Development Kit Version: 0.11.2
chef-client version: 12.7.2
berks version: 4.2.0
kitchen version: 1.5.0

$ chef gem list chef-provisioning

*** LOCAL GEMS ***

chef-provisioning (1.6.0)
chef-provisioning-aws (1.8.0)
chef-provisioning-azure (0.5.0)
chef-provisioning-fog (0.16.0)
chef-provisioning-vagrant (0.11.0)
chef-provisioning-vra (0.3.0)

Grabbing the resource_id and the hostname out of the chef-zero node json file, and inserting them into a .kitchen/machine.yml file, then attempting kitchen converge machine works with no issues connecting.
Let me know if more info is needed, please.  Not sure if it matters, but I am running this from OSX.

So this is interesting.  I'm having the same issue attempting to use chef-provisioing-ssh to winrm into a given machine as well.
Starting to wonder if this isn't due to the winrm version included in chefdk 0.11.2 being 1.7.0.  Will start mucking with the environment tomorrow and try version 1.3.4 that was included in chefdk 0.10.0.

Unrelated to version, it's starting to look like the culprit is the corporate overlords fancy cisco vpn software is stomping all over my routing table...

@stevehedrick  - I'm running into precisely the same thing.  Did you figure out what needed to change?  How did you come to this conclusion?
Thanks.


Yes, because technically it's not the same weapon anymore. The same happens if you'd add a modifier while they're on the ground. Better this way than being able to pick up too different tools.


Intermittent spurious values returned from pio version versus gpio version

I'm getting intermittent spurious values returned from pio version versus gpio version. I'm using a Raspberry Pico W with a run-of-the-mill hx711 board and a 1kg shear beam loadcell in a test mount. Plus of course the important 455g tin of peeled plum tomatoes used as a calibration weight and which is left on the rig for these tests.
pio code:
from machine import Pin, I2C
from time import sleep

from hx711_pio import HX711

pin_OUT = Pin(19, Pin.IN, pull=Pin.PULL_DOWN)
pin_SCK = Pin(18, Pin.OUT)

hx711 = HX711(pin_SCK, pin_OUT, gain=128)

offset = hx711.read()

print("Add calibration weight")
sleep(5)
print("Calibrating")

scale = (hx711.read() - offset) / 455.0

print("Calibrated")

samples = 0

while True:
    if (hx711.is_ready()):
        value = (hx711.read() - offset) / scale
        samples += 1
        if abs(value-455) > 1.0:
            print(samples, value)
    sleep(0.1)

The output:
MicroPython v1.22.0 on 2023-12-27; Raspberry Pi Pico W with RP2040
Type "help()" for more information.
>>> %Run -c $EDITOR_CONTENT
Add calibration weight
Calibrating
Calibrated
24 463.75
32 463.75
34 463.75
119 463.75
155 459.375
180 459.375
230 463.75
292 463.75
297 463.75
472 463.75

On changing the pio library to the gpio one I get no spurious values.
Is there a problem with the pio version of the library or am I doing something wrong?
I also note that the values of the pio version seem to have a granularity in the measurement. Note how the values always end in "75". This seems odd.

Have replaced classes with latest versions and that has corrected the problem. Thanks for the quick response. I had downloaded the code a fair while ago and had done a quick test but not noticed the difference in behaviour of the two methods. Have now nearly finished a weighing tipping bucket rain gauge to add to a weather station and the problem became apparent. Again, many thanks.


Youtube URL regex needs to be locked to videos only

Playlist URLs or any other youtube URL (non video) crashes the backend.

As of 2.5.0 this has been fixed


Tuning Envoys: Adjust Istio Idle Timeout in UDS Core

Related to #745
With regard to the Kubernetes Watch flakiness it was suggested to try adjusting the idleTimeout in Istio to see if that plays any role keeping the connections alive.
Background: The idleTime determines the duration a connection can be idle before being terminated by the proxy.
apiVersion: networking.istio.io/v1alpha3
kind: EnvoyFilter
metadata:
  name: timeout-test
  namespace: istio-system
spec:
  configPatches:
  - applyTo: NETWORK_FILTER
    match:
      context: ANY # EVERYWHERE!
      listener:
        filterChain:
          filter:
            name: "envoy.filters.network.http_connection_manager"
    patch:
      operation: MERGE
      value:
        typed_config:
          "@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
          common_http_protocol_options:
            idle_timeout: "3h" # Increased from 1 hour

Definition of done:

[x] Deploy UDS Core with Pepr <= 0.31.0 (Pre-Informer to make sure results are not skewed)
[x] Crank up neuvector the CronJob to run every minute
[x] Deploy this EnvoyFilter for the whole mesh
[x] Document and present results

CC: @blancharda
Related External Issue: https://github.com/istio/istio/issues/50089

Unfortunately tuning the Envoy's idleTimeout has not played a factor.


simplify implementation of 'estimateMaxNumberOfInputs' & increase coverage

Issue Number

#2051
Overview

I've added scenarios for Byron and Icarus keys
I've added a 'within' clause to some scenarios in order to make sure that the properties are executed within a reasonable time.

Comments

This didn't really improve execution time significantly, but it is still useful to keep.

bors r+

bors r+

bors r+

bors r+


MGMT-12691 add support for KERNEL_VERSION etc replacement for filesToSign and unsignedImage fields (#336)

Fixes #336
Upstream-Commit: 546c83387da884997298e4b34086acd9bcbfba02
Upstream-Commit: 00d1995fd5c09fa7efd6a2630604dd074515ee58

MGMT-12691 add support for KERNEL_VERSION etc replacement for filesToSign and unsignedImage fields (#187)
filesToSign (the filepaths of the kmods to sign) and unsignedImage (the name of the image that contains the
kmods if its not built in cluster) both normally would contain the kernel version, this commit allows the
embedding of "${KERNEL_VERSION}" and/or ${KERNEL_FULL_VERSION} in them and have it replaced with the
actual kernel version
The code for doing this search/replace has been added to internal/utils/replaceStrings.go to make a generally
useful library for other places that may need similar functionality

@chr15p how about including https://github.com/kubernetes-sigs/kernel-module-management/commit/00d1995fd5c09fa7efd6a2630604dd074515ee58 as well?
If you agree, please include the following lines in the commit message:
Upstream-Commit: 546c83387da884997298e4b34086acd9bcbfba02
Upstream-Commit: 00d1995fd5c09fa7efd6a2630604dd074515ee58

getting the code out of sync

Hopefully the sync tool should help there. The two Upstream-Commit markups help it realize that this midstream commit covers the two upstream ones. Just wanted to avoid the hassle of another PR for a very related commit, but definitely we can go with whatever we're more comfortable with.

Just wanted to avoid the hassle of another PR for a very related commit,

Yes, these should really have been one commit in upstream so it makes sense to merge them here (especially if it avoids having to fix another cherry-pick issue), which is why I did it.  My caution is that every time we do something different in this repo to what we do upstream it risks increasing the amount of management this repo needs going forward.
With servers we'd talk about "pets verses cattle", (pets are individuals and need individual care and attention, cattle you manage as a herd so each individual takes a lot less effort) not sure what the equivalent is for repos.
Anyway, its done :)
(hmm I changed the commit message, but probably should have changed the PR description as well... my bad, fixed)

/lgtm

/retest


Don't Merge! PR real time test for webhook case

OPS Build status updates of commit 3bfd62c:
:clock10: Full build: the average full build time is 6 min(s) 12 sec(s), this is based on the last 165 build(s) for this repository.
:warning: This is a FULL build due to the 'pr-webhookbackup' branch being a new branch in Open Publishing service and is still building. No action is required on your part. For more detailed info, please click here.

OPS Build status updates of commit 3bfd62c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details
Dependent Files

docs-ref-conceptual/testing.md
:white_check_mark:Succeeded
View (azure-cli-latest) View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Remove leftover 5.0 Package.swift; not supported since 1.5.0

We dropped Swift 5.0 support in 1.5.0, but forgot to remove the Package.swift file for that tools version, removing now.

Release wise we're not rushing to push this one; whenever we have more to release this'll come with it.
Context: The change in Swift 5.0 support was announced in 1.5.0: https://github.com/apple/swift-log/releases/tag/1.5.0 but we missed to remove the support explicitly; This only enforces what was already announced before.


(No load DATAPACKS) Error with enter in world - Placebo 6.6.4

(No load DATAPACKS) Error with enter in world
does not provide crashlog, just sends me to Main Menu or Safe Mode.

This likely means you have a mod matched with the wrong version of placebo.  You should update all mods that depend on placebo and attempt again.

OK, I will try and come back. ty


Improve doc examples.

Both the with and '/` features are very useful,
but hard to find if you don't know they exist :)
Plus, I think that:
foo = bar_path / "foo"

is much more readable than
foo = bar_path.joinpath("foo")

and also safer, because using the first option prevents you from writing foo = bar_path.join("foo") which is definitely never what you want ...
BTW: thanks for maintaining this awesome project!

Wow. I'm surprised that wasn't already clear from the documentation. Thanks for adding it.


multivec only displaying one track, only allowing two track types

Commit: I installed higlass-manage on Ubuntu 20.04.4. Typing higlass-manage version shows 0.8.0. I am not sure what version of higlass is running inside the docker.
Steps to reproduce

I followed the steps in the docs for Other Data (multivec). It is read depth counts of 5' -> 3' (value1) or 3'-> 5' (value2) -telomere repeat-containing reads. I used this as the model:

segment_name    start  end  value1  value2   value3
segment1            0 10000      1       2        1
segment2        20000 30000      1       1        1

Here is a sample of my actual data. There is no header line (segment_name...):
W7    1508467 1508597 14      0
W7    1508597 1508609 13      0
W7    1508609 1508610 11      0
W7    1508610 1508619 13      0
W7    1508619 1508638 12      0
W7    1508638 1508680 5       0
W7    1508680 1508767 4       0
W7    1508767 1508769 1       0
W7    1508769 1509601 0       0
W8    0       7658    0       0
W8    7658    7706    0       4
W8    7706    7923    0       5
W8    7923    7924    0       4
W8    7924    7942    0       5
W8    7942    7943    0       4

I ran clodius aggregate to make the file a multivec hdf5 file. (There are typos in the documentation that I might submit a PR to fix.)

clodius convert bedfile-to-multivec \ #docs say bedfile_to_multivec
    data.tsv \ # the above table
    --chromsizes-filename segments.tsv \ # just the chromsize file.
    --starting-resolution 1

I ingest the file into my instance of higlass with higlass-manage

higlass-manage.py ingest --filetype multivec --datatype multivec data.mv5

Observed behavior

I only see one of the tracks in multivec track type. It is the first column's data. (green tracks are read coverage)

I also only see the first column's data when I switch to horizontal-stacked-bar. Green tracks are read coverage, not related to question. Second pic shows that there is nothing in the multivec track where there should be something (shown in table above).

If I switch to any track type aside from multivec or horizontal-stacked-bar I get an error that says "Unknown track type: ".  (green tracks are read coverage, not related to question)

Expected behavior

Shouldn't my input datatype file work for all these track types shown for multivec, and show both columns' data at the same time? I like the stacked bar look, with a different color for each data column.

Thank you! looking forward to getting this working.

I have an update after some more digging into the documentation and tests. I found https://github.com/higlass/higlass/issues/1067 , and read the in-progress multivec spec that @pkerpedjiev provided.
I saw that there was an option to make multivec files from multiple bigwig files. I updated my clodius to the latest version (v0.18.0?) with pip in a new environment.
I found that:

Making a multivec file from a bedgraph-like multi-sample file still results in me only seeing the first column's data (same problem as above).
Making a multivec file from multiple bigwig files with the new clodius version allows me to see multiple tracks at once. However, the color for both tracks is the same in both multivec and horizontal-stacked-bar. Looking at it closer it looks like one is red and one is orange, but they're too close to differentiate easily. If I mouse over data from either bigwig, higlass doesn't specify a name.

If I try to put anything into the --row-infos-filename option when I make this multivec file, the track is stuck on "Loading..." when I open it in HiGlass. The in-progress spec file seems to have a few options for what the row-infos file might look like. I tried two row-infos files as input that both resulted in a non-loading multivec file.

The first row-infos file format I tried just had the sequence that I am highlighting from the first and second bigwigs. This seemed OK to use given the documentation.
TTAGGG
CCCTAA

The second row-infos file format I tried was a json construct that seemed to match the terminology used in the HiGlass config, and the loading scheme I saw here, linked to in the in-progress spec file: https://github.com/higlass/clodius/compare/develop...keller-mark:keller-mark/row-infos-as-str-dataset
{ "name": "TTAGGG", "color": "#ff2a1b"}
{ "name": "CCCTAA", "color": "#519bfc"}

I guess now my question has been reduced to, what file format can I use for the row-infos file to get my multivec file to display the colors that I want for each sample?

Oh my, sorry for the delayed response.  Really impressive sleuthing and finding your way by yourself. You've probably given up by now, but on the off chance you're still interested in getting this to work... I should ask what type of plot are you trying to make? As you probably read in the multivec spec, there's a few different semantic distinctions in the data. You can display quantitative values, qualitative values (states) or quantities of states (e.g. epilogos).

Hi Peter,
No worries! My goal is basically to be able to hijack this to make a stacked bar chart showing quantitative values, and where I can also pick the display color of each category. I haven't been able to figure that out yet.
As of now, I only want positive values, but the ability to encode negative values (a la epilogos visual style) would give me some room for creativity in the future.
I haven't worked on this since I last posted, but please let me know how to specify color info if possible!
Best,
Darrin

OK, gotcha. You're on the right track. The format you were trying to use for the row-infos file is correct. Something else must be going on. When you get to this part:

Loading the output in HiGlass gave me a "Loading..." screen.

Could you open your browser's console and send a screenshot? There should be some error there.
What you're trying to do is definitely possible. Here's an example of an epilogos with a different color scheme:
https://resgen.io/l/?d=f2wIMiL2QZK19rZuE2AVbw

One more suggestion, could you try running that exact same command using this version of clodius?
https://github.com/reservoirgenomics/rhodius
Note that this package is a private fork of clodius that I've just made public to see if we can fix your issue. If it works, I'll create a PR to clodius to sync up the two packages.
Best way to try it out, IMO would be to remove clodius and setup rhodius as a development package:
pip uninstall clodius
git clone https://github.com/reservoirgenomics/rhodius
cd rhodius
python setup.py develop

And then run your clodius ... command.


Create ATTACK.md

First draft of attack on testnet

Would be nice to have a simple table with a leaderboard.

Would be nice to have a simple table with a leaderboard.

Added table


Error when saving file using save_file from Manager base class

When I try to save a file using the save_file method provided by the Manager parent class, the following error is thrown:
unit-slurm-client-0: 10:58:11 ERROR unit.slurm-client/0.juju-log auth-munge:2: Uncaught exception while in charm code:
Traceback (most recent call last):
  File "/var/lib/juju/agents/unit-slurm-client-0/charm/venv/hpctmanagers/__init__.py", line 140, in save_file
    p.write_bytes(self.data)
AttributeError: 'MungeManager' object has no attribute 'data'

Looking at the code for the save_file method, the problem is immediate:
https://github.com/j4m-can/hpct-managers/blob/2a9126d5be3737ae27c710db18d582e7fd92a4c9/lib/hpctmanagers/__init__.py#L118-L142
The method is calling out to the class member self.data but it does not exist inside the scope of the class. In the method's current form, the data argument passed when the function is called is never used. This is most likely a holdover from the same method utilized in FileDataInterface. This will need to be fixed so that files can be saved correctly without each manager needing a custom implementation.

Bug fixed in pull request #8 - closing out.


feat: col, line numbers on mdapi deploy errors

requires https://github.com/forcedotcom/source-deploy-retrieve/pull/1130

What does this PR do?

show col/line numbers on component fails
sort the failures table better
remove duplicate failure reporting

What issues does this PR fix or reference?
https://github.com/forcedotcom/cli/issues/356
@W-14247072@

QA notes:
setup:
sf: @salesforce/cli/2.12.9 darwin-x64 node-v18.17.0
using dreamhouse, full deploy then modify GeocodingService apex class and try to deploy with invalid syntax in mdapi format:
sf project convert source --metadata ApexClass:GeocodingService --output-dir col-line-err
current scenario:
no col, line info in human output (but it is included in json), duplicate errors:

✅ Line:Column column in deploy failures, no duplicate errors:
➜  dreamhouse-lwc git:(main) ✗ sf project deploy start --metadata-dir col-line-err
Deploying <version specified in manifest> metadata to<EMAIL_ADDRESS>using the v58.0 SOAP API.
Deploy ID: 0Af8N00000tvZrkSAE
Status: Failed | ████████████████████████████████████████ | 2/2 Components (Errors:2) | 0/0 Tests (Errors:0)

Component Failures [2]
===============================================================
| Type  Name             Problem                    Line:Column
| ───── ──────────────── ────────────────────────── ───────────
| Error GeocodingService Unexpected token 'static'. 2:12
| Error GeocodingService Unexpected token 'static'. 2:12

✅ json output
{
  "status": 1,
  "result": {
    "checkOnly": false,
    "completedDate": "2023-10-09T14:36:37.000Z",
    "createdBy": "0058N000004sBPj",
    "createdByName": "User User",
    "createdDate": "2023-10-09T14:36:35.000Z",
    "details": {
      "componentFailures": [
        {
          "changed": false,
          "columnNumber": 12,
          "componentType": "ApexClass",
          "created": false,
          "createdDate": "2023-10-09T14:36:36.000Z",
          "deleted": false,
          "fileName": "zip/classes/GeocodingService.cls",
          "fullName": "GeocodingService",
          "lineNumber": 2,
          "problem": "Unexpected token 'static'.",
          "problemType": "Error",
          "success": false
        },
        {
          "changed": false,
          "columnNumber": 12,
          "componentType": "ApexClass",
          "created": false,
          "createdDate": "2023-10-09T14:36:36.000Z",
          "deleted": false,
          "fileName": "zip/classes/GeocodingService.cls",
          "fullName": "GeocodingService",
          "lineNumber": 2,
          "problem": "Unexpected token 'static'.",
          "problemType": "Error",
          "success": false
        }
      ],
      "componentSuccesses": [
        {
          "changed": true,
          "componentType": "",
          "created": false,
          "createdDate": "2023-10-09T14:36:37.000Z",
          "deleted": false,
          "fileName": "zip/package.xml",
          "fullName": "package.xml",
          "success": true
        }
      ],
      "runTestResult": {
        "numFailures": 0,
        "numTestsRun": 0,
        "totalTime": 0,
        "codeCoverage": [],
        "codeCoverageWarnings": [],
        "failures": [],
        "flowCoverage": [],
        "flowCoverageWarnings": [],
        "successes": []
      }
    },
    "done": true,
    "id": "0Af8N00000tvYRWSA2",
    "ignoreWarnings": false,
    "lastModifiedDate": "2023-10-09T14:36:37.000Z",
    "numberComponentErrors": 2,
    "numberComponentsDeployed": 0,
    "numberComponentsTotal": 2,
    "numberTestErrors": 0,
    "numberTestsCompleted": 0,
    "numberTestsTotal": 0,
    "rollbackOnError": true,
    "runTestsEnabled": false,
    "startDate": "2023-10-09T14:36:36.000Z",
    "status": "Failed",
    "success": false,
    "files": [
      {
        "error": "Unexpected token 'static'.",
        "problemType": "Error",
        "columnNumber": 12,
        "lineNumber": 2,
        "fullName": "GeocodingService",
        "type": "ApexClass",
        "state": "Failed",
        "filePath": "classes/GeocodingService.cls"
      },
      {
        "error": "Unexpected token 'static'.",
        "problemType": "Error",
        "columnNumber": 12,
        "lineNumber": 2,
        "fullName": "GeocodingService",
        "type": "ApexClass",
        "state": "Failed",
        "filePath": "classes/GeocodingService.cls"
      }
    ]
  },
  "warnings": []
}

❓ why do we see 2 component failures for 1 apex class? is this something we can fix in SDR or is just the MD API response?

❓ why do we see 2 component failures for 1 apex class? is this something we can fix in SDR or is just the MD API response?

I think they came back like that.  But we could definitely de-dupe them

I think they came back like that. But we could definitely de-dupe them

Logged W-14262002 to track this 👍🏼


Revert "Repo update during pacman dependency installation"

Reverts BinaryAnalysisPlatform/qira#155

Thanks for catching that, I didn't know.


Fix backend workflow

Description
Get the new backend workflow working (it only executed the first time after merging the backend PR).
Type of change

[ ] New feature (backwards compatible)
[ ] New feature (breaking API changes)
[ ] Bug fix
[x] Other (Documentation, CI, ...)

Contribution checklist

[ ] Add our license to new files.
[ ] Check that your code adheres to our coding style.
[ ] Write unittests.
[ ] Run the unittests and check that they’re passing.
[ ] Run the benchmarks to make sure your change doesn’t introduce a regression.

@SteveDiamond the workflow is fixed.


Bag ingestion patches

Several small tweaks around bag ingestion and handling aggregations via the api.  Also updated bag ingestion tests to not have test files zipped up.

Pull Request Checklist:

[x] Positive Test Case Written by Dev

[x] Automated Testing

[x] Sufficient User and Developer Documentation

[ ] Passing Jenkins Build

[ ] Peer Code review and approval

Positive Test Case

Run the functional test cases in hs_rdf or run the unit tests in hydroshare.

METRIC
VALUE

https://sonarqube.cuahsi-workstation.com:9000/dashboard?id=hydroshare-4082

METRIC
VALUE

https://sonarqube.cuahsi-workstation.com:9000/dashboard?id=hydroshare-4082


Disable paste image

Hi !
Is there any way to disable paste image in editor ? Thank you for help me!

Perhaps issue #384 might help you.


docs: improve v2 installation docs

Follow-up issues

[ ] #3824
[ ] #3825
[ ] #3826
[ ] #3828
[ ] #3816

BTW I think we should add a persistent volumes to the containerised CockroachDB

BTW I think we should add a persistent volumes to the containerised CockroachDB

Already done that 😉

Awesome 😎

Is this PR blocked by something? Can I assist?

Is this PR blocked by something? Can I assist?

@hifabienne is reviewing it.

Is this PR blocked by something? Can I assist?

@hifabienne is reviewing it.

ok thanks


Feature/fma 26/owner author switch

We should merge FMA-25 to make this code review easier

Closing this PR since the code is already in feature/FMA-47/vp-support


Module not found: Can't resolve 'react-cache'

Hi! tthis library threw me this error when I installed it.
./node_modules/the-platform/createResource.js
Module not found: Can't resolve 'react-cache' in '/home/dan/dev/trino/web-trino/node_modules/the-platform'
React-Version: 16.13.1

react-cache is a peer dependency: https://github.com/jaredpalmer/the-platform/blob/master/package.json#L32
You need to make sure it's installed in your project.

The plaform...


Move on from setup.py

The use of setup.py is being discouraged in favour of pyproject.toml and setup.cfg - look into how to use these for this module.

Version 23.1 of pip is bringing some deprecations to setup.py functionality which might affect this package - just another reason to move on.

Closed with PR #61


cite @namebiliography don't work in the label!

In your exmaple,
I insert this (after number-sections: true, and before filters:):
bibliography: "link my Pseudo citedrive"
for the bibliography
In your example:
::: TODO
### Custom styles
- [ ] create an API for user defined block styles @geore1997
- [ ] provide an example
- [ ] and documentation
:::

I insert  \ref{TeachersHope} (your code this example) in label:
### Custom styles \ref{TeachersHope}
I see: It work ok :)
But, when I cite @name000 (have in my own citedrive) of the bibliography.
### Custom styles @name000
And I see: It don't work only pdf but also html. :( I only see text: "@name000" (don't see cite the bibliography) on the pdf and html.

Hi @nqt2022, Thank you for reporting, and sorry, I did not have time to answer (semester was too busy).
I do not really understand your citedrive bibliography. Does your quarto document work as expected when you do not use the custom-numbered-blocks extension?

Yes, on callouts of revealjs, cite very ok for for the bibliography :)
Thanks for your support!

Yes, it works with callouts :-).
Quarto folks are working heavily on crossreferenceable ::: blocks, and reprogram the whole cross referencing mechanism.  Numbering environments (and having them collapsible) was the main reason for me to make this extension. Maybe a later version (Quarto 1.5, perhaps) has better tools to achieve this - it will either make custom-numbered-blocks obsolete, or trigger a major rewrite. Then I would look at how to resolve bibliography references before using a header as title of a block. I did that in a very straightforward way.