text:
How to animate height , when element heght is not fixed

Such as, We need an collapse component. An collapse has some panel, every panel has a header element.
When header clicked, then panel open or close. The panel open need animate panel heigth for zero to panel's scrollHeight. Close action reverse.
The problem is, I can only get the hight(el.scrollHeight) of panel after the panel render. React-motion require the endState height, before the panel render.

subscribing. :+1:
@chenglou  ideas?

Hey! I think this isn't a problem specific to react-motion. If you need the element's height before rending but you can only get it after at least one render, then you're going to have to set some default height. Then you can hook up an event handler that calls this.setState({height: ...}) every time the event you need fires (here I'm guessing scroll?).
If you need to access a DOM element renderer by react you should look into using refs.
In any case, only the first render will need some default value.

yeah there is no real way to solve this problem without actual rendering. It is not possible with any tools (not only react-motion). With css transitions you cannot animate height:auto either.
So it is possible to render element in the same container (in wrapper so it is invisible), get it's dom node height, then set wrapper state and only after that do animation knowing actual element height.
It is just the nature of "fluid" html rendering, you don't know the height until element is rendered.
Maybe there could be some trick provided by browser renderer and exposed to js, but I am not aware of any existing at the moment.

We could provide a helper/library in the future. Not in core, probably.
In this repo, the earlier commits show an example with css-layout. It worked really well. Glorious, glorious layout transitions. Didn't have time to put them into a respectable demo for the talk.
Leaving this open because yes, this is unfortunately an issue on the web and I want to provide a good default.

I need that wrapper as well, so in next couple of days will make it. I made
it for other frameworks couple of times before. Just need that stuff done
for react now.
Gonna be fun

The lesson we've learned from TransitionGroup is that while it handles its specific use-cases very well, those use-cases aren't enough. So here I'm going down a level of abstraction and provide means to diff on data itself rather than final components (which is less ideal than the latter, but much more practical until we find the right abstraction for diffing on components).
One neat thing we did before was that, since TransitionSpring diffs on the keys of your endValue, You can turn your css-layout output into that flat format, diff it, then "re-hydrate" it, so that at the end you get to diff on arbitrary layout structures. It was painful without helper methods though, but somewhat intriguing.
(TransitionSpring doesn't do nested diffs. Been there done that. Way too much boilerplate needed.)

Since Spring lets us update an animation mid flow smoothly, how about this:

User clicks panel header to expand it
Spring starts to animate to an 'estimated' default height, say 100px
Contents are rendered and 'real' height is calculated
Spring updates animation mid flow to the new 'real' height (say 150px)
Since all this happens in, say, 100ms, the animation still looks clean to the user and there is no jumping

@nick that's what I meant when I said "use a default value for the first render" :D

guys, you're doing it wrong! All you need is a wrapping div. You set and animate height on the wrapper, meanwhile the content block always have height: auto so you may always know what the true height is. You cut it to the wrapper height by having overflow: hidden on the wrapper. And that's it!

@constb care to show a snippet? Say you're animating a box that's as high as the text inside it, from that height to 0.

@constb wrapper is definitely needed if we don't want to mess up the content, but when we don't know the content height, we can't animate it. We first need to render content, get it's height and then do animation.

I'm not familiar with react-motion api yet, so I made a simple demo in pure js. http://jsfiddle.net/constb/xur4pf6m/1/ I animate wrapper height that always has height of 0 or auto when not animating. Content lives inside and provides code with height value in pixels. Does that answer the question?

@constb
 wrapper.style.height = state ? content.offsetHeight + 'px' : 0;

You get the content.offsetHeight to do animation. You need to know height of the content to do it. We are talking about animating element which is not yet rendered.

@constb try to start with var state = false; instead ;)

@nkbt easy. http://jsfiddle.net/constb/xur4pf6m/2/ my point is - if you need to know content height - render it into a wrapper with height: 0; overflow: hidden; and then animate wrapper's height. don't animate content height.

@constb this is exactly what I suggested before =)

@nkbt sorry, my bad. )

@constb no problem, i completely forgot about this issue for a while, since it is not assigned to me. Oh, I wish we can "assign to myself" in Github for not owned repos...

What's the best way for grabbing the height of the wrapper?

@derekr check out this PR https://github.com/elementalui/elemental/pull/31/files for reference.
You will need to check the element height and margins.

Awesome! Thanks @nkbt

It works well to get the height (post-render) and then animate from 0 to that height. One hiccup along the way is when the content that has just rendered has images—these images might not fully load for a second or two, causing a div to be cut short and showing all content (becuase the images that eventually render take up extra height, sometimes). To make it work, one solution is having some sort of listener for loaded images...and having that trigger the state change, which would then trigger the animation.

The layout could change due to elements other than images, too.
The best would be to handle the elementresize event via its polyfill (there
is one based on overflow events, without polling the DOM for size changes,
sorry cannot provide the link now).

Something like this? https://www.npmjs.com/package/element-resize-event or http://www.backalleycoder.com/2013/03/18/cross-browser-event-based-element-resize-detection/

@sikhote Yeah! I stumbled upon this one before: https://github.com/sdecima/javascript-detect-element-resize (inspired by http://www.backalleycoder.com/2013/03/14/oft-overlooked-overflow-and-underflow-events/ ).

out of interest https://fabric.io/blog/introducing-the-velocityreact-library does a render a the 'completed' state to get the height before it starts it's animation.

Don't they have a flicker problem?

Using Springs, I don't see a flicker when I animate the height of a container when checking if the height has changed (by setting the height to auto and reverting back) on componentDidMount and componentDidUpdate.

@chenglou no can't see any flicker.

can react-measure be used for this?

Just published https://www.npmjs.com/package/react-collapse
Issue can be closed I guess
I did not have time to fill README, will do it tomorrow. See example for reference. It is as simple as:
        <Collapse isOpened={isOpened} style={style.container}>

Content

Hello!

        </Collapse>

Supports multiple children. Support dynamic height. Unmounts collapsed children.

Still kinda want to offer this out of the box if possible, though

I think it is better not to include it into a react-motion itself. It is a not-so-pure component.
Better move it under react-motion org (when we have one) and reference from readme

thanks @nkbt this is exactly what i was looking for ;)

@arush :+1:

Ok so i spent some time using both velocity-react and react-motion + react-collapse, and I have to say, I agree with @chenglou that not supporting animation to/from height:auto out-the-box causes a lot of confusion and additional hacking to get it to work. Honestly im finding myself wanting to use velocity-react for these situations just because the API is simpler.
Height animation is one of the most important features for most TransitionMotion use cases - if you ever want something to enter/leave without the container-div to do that awful snap after the node is removed - the height will need to be animated from zero to auto. This is a very common use case for menus, accordions, dropdowns, popovers/tooltips. Whether this is something that RM should deal with or simply pass off to Velocity.js (someday) idk, but the API should be simple for the developer.

@arush can you raise an issue in react-collapse for what you find frustrating or what is not working for you? That would be really awesome.

@chenglou in my experience, velocity-react does have a flicker problem, and doesn't deal with this situation easily either... here's the issue with some gifs: https://github.com/twitter-fabric/velocity-react/issues/36
in the end, velocity-react doesn't cater for auto height children elegantly without opacity and display hacks.
@nkbt Gonna look into react-collapse again.

Stumbled upon this by looking for a way to collapse heights. Don't know if this will help or if it has already been solved by nkbt but you can collapse it while caring about the container's height with negative margin-top equal to the outerHeight(true) of the element in transition: http://codepen.io/corysimmons/pen/qbeyZz

+1

I believe my initial comments above are out of date re: velocity-react. I am using their native slide methods to handle this pretty well now

There is no CSS transition to from height: 0; to height: auto;.
A (not so well-known) workaround to solving this problem is to, instead, animate maxHeight from 0 to a ridiculously high number. That way the items will grow from 0 to their actual height.
	getDefaultStyles() {
		return this.props.items.map(item => ({
			key: item.id,
			style: {
				maxHeight: 0,
				opacity: 1,
			},
			data: {
				...item,
			},
		}));
	}

	getStyles() {
		return this.props.items.map(item => ({
			key: item.id,
			style: {
				maxHeight: spring(10000, presets.noWobble),
				opacity: spring(1, presets.noWobble),
			},
			data: item,
		}));
	}

	willEnter() {
		return {
			maxHeight: 0,
			opacity: 1,
		};
	}

	willLeave() {
		return {
			maxHeight: spring(0),
			opacity: spring(0),
		};
	}

Regards,
Bramus.

I'm a little late to this party. I spent hours researching this and trying to find a solution, including anything that react-motion can do for me.
I think this is what @constb is talking about or something similar. It is the approach I took. Nice, light, and all native.
This is the my Accordion content component:
import React, { Component } from 'react';

class Content extends Component {
  constructor (props) {
    super(props);

    this.state = {
      isActive: this.props.isActive,
      styles: {
        height: 0,
        overflow: 'hidden',
        transition: '250ms ease-in-out'
      }
    };
  }

  componentWillReceiveProps (nextProps) {
    this.setState({
      isActive: nextProps.isActive,
      styles: {
        height: nextProps.isActive ? `${this.refs.content.clientHeight}px` : 0,
        overflow: nextProps.isActive ? 'none' : 'hidden',
        transition: '250ms ease-in-out'
      }
    });
  }

  render () {
    return (

          {this.props.children}

    );
  }
}

export default Content;

@chrispeterson3 The above solution works nicely but it hardcodes the initial state to be always closed. I have modified it a bit to accommodate both open and closed initial states.
JS
/**
 * This is an animated expandable and collapsible component. It will open and
 *    close based on the 'isOpen' prop with a nice animation.
 *
 * LOGIC
 * Render the element with an initial height of 'auto' so that we can
 *    calculate it's actual height after mounting is completed (actual height is
 *    required as we cannot animate from height: auto -> height: 0 and
 *    vice versa). Then fire 'forceUpdate' to re-render it based on the actual
 *    open/close state.
 */
import React, { Component, PropTypes } from 'react';

class ExpandCollapse extends Component {
    componentDidMount() {
        this.containerHeight = `${this._container.clientHeight}px`;
        this.forceUpdate();
    }

    render() {
        let newHeight = this.containerHeight;

        if (newHeight !== undefined) {
            newHeight = this.props.isOpen ? this.containerHeight : 0;
        } else {
            newHeight = 'auto';
        }

        return (

 {this._container = input;}}
            >
                {this.props.children}

        );
    }
}

/**
 * [propTypes description]
 * @type {Object}
 * @property {bool} isOpen   - true if item is open, false if closed.
 * @property {node} children - the item content.
 */
ExpandCollapse.propTypes = {
    isOpen: PropTypes.bool.isRequired,
    children: PropTypes.node.isRequired
};

export default ExpandCollapse;

CSS
.expand-collapse {
    overflow: hidden;
    transition: height $fade-in-time ease-in;
}

I am doing something like this on my Open component, any feedback would be much appreciated. The issue I have now is how do we animate from auto to an updated value? Assume the height of the children dynamically changes.
Also for a slight performance boost, I am removing the nodes from the DOM when the components if props is set to false .
TSX
import * as React from 'react';
import * as ReactDOM from 'react-dom';
import * as classNames from 'classnames';
import './Open.less';

export interface IOpenProps {
  if? : boolean;
  className? : any;
  children? : any;
  overflow? : boolean;
  parent? : boolean;
  child? : boolean;
  fill? : boolean;
}

class Open extends React.Component<IOpenProps, any>{

  public refs : any;

  constructor(props){
    super();

    this.state = {
      height : props.if ? 'auto' : 0,
      open: props.if || false,
      render: props.if || false
    }
  }

  componentWillReceiveProps(nextProps){
    this.setState({
      open: nextProps.if
    }, ()=>{
      nextProps.if ? this.setHeightOpen() : this.setHeightClose();
    })
  }

  setHeightOpen(){
    const self = this;
    if (this.refs.Open) {
      this.setState({
        height : this.state.open ? this.refs.Open.children[0].clientHeight : 0,
        render: true
      }, ()=>{
          setTimeout(() => {
              self.setAuto();
          }, 300);
      })
    }
  }

  setHeightClose(){
    const self = this;
    if (!this.state.open) {
      this.setState({
        height : this.state.height === 'auto' ? this.refs.Open.children[0].clientHeight : 0
      }, ()=>{
        if (this.state.render) {
          setTimeout(()=>{
            self.setState({
              height : 0,
              render: false
            })
          }, 0);
        }
      })
    }
  }

  setAuto() {
    if(this.refs.Open && this.state.height > 0) {
      this.setState({
        height : 'auto'
      })
    }
  }
  render(){
     const self = this;
     const props = self.props;
     const state = self.state;

     let OpenClass = classNames(
        'r-Open',
        {'e-open': (props.if)},
        {'e-close': (!props.if)},
        {'parent': (props.parent)},
        {'child': (props.child)},
        {'fill': (props.fill)},
        props.className
     );

     return(

{state.render || state.open ? props.children : null}

     )
  }
}

export default Open;

CSS
@import '../../less/Global';

.r-Open{
  position:relative;
  -webkit-transform-origin: top;
	-o-transform-origin: top;
	-ms-transform-origin: top;
	transform-origin: top;
  -webkit-transform: scaleY(1);
  -o-transform: scaleY(1);
  -ms-transform: scaleY(1);
  transform: scaleY(1);
  -webkit-transition: -webkit-transform 0.26s ease-out;
  -o-transition: -o-transform 0.26s ease;
  -ms-transition: -ms-transform 0.26s ease;
  transition: all 0.26s ease;
  height: auto;
  overflow: hidden !important;
}

.r-Open.e-autoHeight{
  height : auto !important;
  max-height : none !important;
}

.r-Open.e-close{
  height: 0;
  -webkit-transform: scaleY(0);
	-o-transform: scaleY(0);
	-ms-transform: scaleY(0);
	transform: scaleY(0);
}

Sorry to hijack the thread but these seems to be the only discussion on this issue. I've just started playing around with react-motion and I would appear I've started of attempted one of the most tricky use cases.
Effectively, I'm trying to do the equivalent of this in react-motion:
import React, { Children, Component } from 'react';

const transition = 'height 0.75s';
const SCROLL_TIMEOUT = 2000;

export default class Scroller extends Component {
  componentDidMount() {
    setTimeout(this.scroll.bind(this), SCROLL_TIMEOUT);
  }

  scroll() {
    const parent = this.scrolledContainer;

    if (parent) {
      if (parent.children.length < this.props.scrollAfter) return;

      const child = parent.children[0];

      child.addEventListener('transitionend', () => {
        child.style.height = 'auto';
        child.style.transition = '';

        if (parent) {
          parent.removeChild(child);
          parent.appendChild(child);
        }

        setTimeout(this.scroll.bind(this), SCROLL_TIMEOUT);
      }, { once: true });

      child.style.overflow = 'hidden';
      child.style.transition = '';

      requestAnimationFrame(() => {
        child.style.height = `${child.scrollHeight}px`;
        requestAnimationFrame(() => {
          child.style.transition = transition;
          child.style.height = 0;
        });
      });
    }
  }
  render() {
    return (

 { this.scrolledContainer = e; }}>
        {Children.map(this.props.children, c =>
{c}
)}

    );
  }
}

Given a list of items it reduces the height of the firs one, giving the appearance of scrolling up. It then removes it and sticks it at the bottom of the list and repeats the process with the next one and so on indefinitely.
I'm looking to use react-motion in order to avoid manipulating the DOM directly and having this discrepancy between the order of children props and the actual order in the DOM. Initially it seemed like TransitionMotion would be the tool for the job but I've had no success unless I hard-code the height of the elements.
So is this type of thing possible in react-motion or is it simply not designed for this type of use case?

I'm new to react and I'm trying to wrap my head around how I will accomplish certain things before I jump in because I know they are going to come up sooner rather than later. This is one of the things I deal with regularly. I dont really know enough about react to know if my idea is plausible so I'll just try to explain it here and see if you guys think there is away this could be implemented into RM.
To start you have to create a window.resize event listener that basically loops through all the containers in the object/array and stores their computed height and element reference, and removes the prep class of each element. This needs to be called once upon page load as shown below:
In jQuery this looks something like this:
var sliders = [];
$(function() {
$(window).resize(function() {
$('.slide-container.prep').each(function() {
sliders.push({element: this, height: $(this).outerHeight()});
$(this).removeClass('prep');
}).resize();  /** This calls the resize function on page load to ensure the initial values are captured) **/
});
The starting class for each of these containers would like something like 'slide-container prep' (as long as the container they all live within is position: relative; then the width will remain accurate which will keep the height calculation accurate:
.slide-container {
position: static;
height: 0; /* starting closed */
top: auto;
transition: height .5sec ease;
}
.slide-container.prep {
position: absolute;
top: -50000px;
height: auto;
transition: none;
}
After it logs each of the computed height it would remove the prep class which would move it to its starting position, hidden from the dom.
In the action method where the link is clicked or hovered where the animation needs to happen the target div would need to have its stored 'opened' height dynamically set via javascript causing the height animation to play out due to the transition property.
Thoughts?

Check this...
in render method...
<Button
      onPress={() => {
        this.setState({contentHeight: content.length*25});
        this.toggleContent()
        //toggleContent calls Animated values from state to animate them
      }}
    />
    {this.state.showContent ? this.renderContent() : null}

it won't toggle the next time you press the button, but if you create a boolean in the state, initializing it to false to start, then setting it to true in setState(), then check that boolean before the setState().
Works for me. Even though it's really gross.

Did you find a solution?

Kevin Powell shows how to do it in this video:
https://www.youtube.com/watch?v=B_n4YONte5A
Give the parent
display: grid; grid-template-rows: 0fr; transition: .6s
Child:
overflow:hidden
Then put all your content inside the child div, and use whatever method you want to change the parent div's grid-template-rows property to 1fr.

这是来自QQ邮箱的假期自动回复邮件。

您好，我最近正在休假中，无法亲自回复您的邮件。我将在假期结束后，尽快给您回复。

authors: SnowdenWintermute SublymeRick amit1911 arush bramus bsansouci chenglou chirag04 chrispeterson3 constb corysimmons derekr djskinner jackmead515 jisaac89 kristian-puccio maximelebreton nick nkbt shepherdwind sikhote sompylasar theformer wenlittleoil

repo: chenglou/react-motion


text:
added bower.json

Added a bower.json file so more people can enjoy this awesome library. Didn't register the package, it's super easy though http://bower.io/docs/creating-packages/#register.

The current build process ignores the output Spring.js. I'll un-git-ignore it once we get this in. Thanks!
Also, you just reminded me that I totally forgot to put keywords in package.son, lol

Thanks!

No problem, thanks for getting that in so fast! Want to use it at my work, but we're on rails so we need it in a bower package for use with rails-assets.org. Also, noticed the line breaks didn't come through on the README for the packages info, minute issue, but wanted to let you know.

source: gharchive/pull-request

authors: chenglou souporserious

license: mit

license_type: permissive

license_source: bigquery


text:
服务无法访问

应该是你那边的网络问题？我用 5G 直接访问也可以打开（手机没翻墙），可以试试换一下网络能不能访问

问题已解决。代理的问题，关掉代理就好了

好的哈哈

source: gharchive/issue

authors: chengpeiquan debugzhao

license: MIT

license_source: github-api


text:
🛑 tt is down

In 826d7c4, tt (https://telebot-app-serverless-i7z8-chenhaonanniubi.vercel.app/checkhealth) was down:

HTTP code: 504
Response time: 10142 ms

Resolved: tt is back up in 60d15b5 after 17 minutes.

repo: chenhaonanniubi/upptime


text:
🛑 tt is down

In 1f3f6c6, tt (https://telebot-app-serverless-i7z8-chenhaonanniubi.vercel.app/checkhealth) was down:

HTTP code: 500
Response time: 2993 ms

Resolved: tt is back up in 02fea7a after 10 minutes.


text:
🛑 tt is down

In 715ee91, tt (https://telebot-app-serverless-i7z8-chenhaonanniubi.vercel.app/checkhealth) was down:

HTTP code: 500
Response time: 2424 ms

Resolved: tt is back up in 8fd2a43.


text:
Failed to OPEN after startup

Describe the bug
it's looks like it unable to access the project’s JS resources
To Reproduce
Steps to reproduce the behavior:

yarn global add js-analyzer
js-analyzer --root ./

Screenshots

js-analyzer
no configuration provided

@Baoyx007 The architecture has been adjusted, please upgrade to > = v2.2.6

repo: chennlang/js-analyzer


text:
use webpack-merge in webpack configs

As discussed in https://github.com/chentsulin/electron-react-boilerplate/issues/264 Using webpack-merge simplifies config merging.

👍 Thanks!

repo: chentsulin/electron-react-boilerplate


text:
Mac(10.12.3) Chrome(55.0.2883.95) 通过复制图片上传，得到的总是tiff地址

Mac(10.12.3) Chrome(55.0.2883.95) 通过复制图片上传，得到的总是tiff格式的链接。
但如果将图片保存，再拖拽上传就是正确的图片格式。试过的网站都出现了这个问题，比如百度图片、lofter等。
请问这个该如何修复？

@panfake  你好是有这个问题。因为，复制的是传数据，让七牛云检测格式。七牛云的sdk，应该支持，指定格式。前几天我把xcode卸载了。等装好了，我尝试下。或者你也可以，查看七牛云的文档，尝试下。😆

好的哈哈！期待修复！

@panfake  看了下，因为复制的图片数据格式是tiff的可能。在代码里做了格式转换成png的了。线上版本未更新。

@chenxtdo 好的，还是很奇怪，难道是chrome会把网站的图片先转正tiff再显示？因为保存下来都是正确的格式……
话说不知是否打算增加一个上传到指定目录的功能？现在图片都混在一起不是很好管理呀~

authors: chenxtdo panfake

repo: chenxtdo/UPImageMacApp


text:
[Snyk] Security upgrade mermaid from 8.0.0-rc.8 to 8.0.0

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `yarn` dependencies of this project.

Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

package.json
yarn.lock

Vulnerabilities that will be fixed
With an upgrade:

Severity
Priority Score (*)
Issue
Breaking Change
Exploit Maturity

768/1000  Why? Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 7.5
Regular Expression Denial of Service (ReDoS) SNYK-JS-MOMENT-2944238
No
Proof of Concept

Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

xsdsaa

dsfd


text:
About BN location

Hi! Thank you for making this project open to the world!
I run into some confuses because I am new to Tensorflow.
I wonder whether you add Batch Normalization(BN) to your added layers, e.g. 1*1 conv kernel and bottleneck in RefineNet.
Could you please give me a hint about where you add BN?

That may be part due to historical problem. When we reproduce FPN for detection, we find BN can stablize the training process in case of  NaN loss, thus we inherit from that. In fact that incurs redundant overhead of computation if now it trains well. BN is applied in original bottleneck blocks in resnet. As far as I know, it can improve the performance.


text:
🛑 Chequeado is down

In cdc8a0b, Chequeado (https://chequeado.com) was down:

HTTP code: 502
Response time: 9057 ms

Resolved: Chequeado is back up in 6a95b7b.

repo: chequeado/status


text:
🛑 Chequeo Colectivo is down

In 40c76cb, Chequeo Colectivo (https://chequeado.com/colectivo) was down:

HTTP code: 502
Response time: 9063 ms

Resolved: Chequeo Colectivo is back up in 616fa35.


text:
Documentation for Map and Set

As a C noob, I'm having a real hard time understanding how to use the other types from looking at the macros.

I'm very sorry. It's only me, being an English noob, having a real hard task to describe all of this properly. :(
But your comment made me somewhat motivated, so I hope to start documenting all of that in forthcoming 2022, with other improvements as well.

Thanks for the response. I tried looking at the tests, but since they are using macros and I can barely read C, I wasn't able to model what was happening in my head. If you take even a meager first pass at this I can help you flesh it out as a native speaker.

If you take even a meager first pass at this I can help you flesh it out as a native speaker.

Thank you very much for this offer, I took it into consideration.

I tried looking at the tests, but since they are using macros and I can barely read C, I wasn't able to model what was happening in my head.

If you want, you can ask me any questions here.

Note to myself: make a separate page in the future documentation for alternative projects, as done here:
https://rurban.github.io/ctl/
Otherwise, my bookmarks will explode soon.

authors: cher-nov dustinlacewell

repo: cher-nov/Gena

license: WTFPL


text:
MVP mockup

excuse the programmer layout

This is really rough. But here are my thoughts...
The "Mentions @github/team-identity-panda-rocket" on the top is where you can view all filters, change the active filter, add new filters, and remove filters. I have no idea how that UI will work.
The filters are limited to "mentions <user/team>" "created by " and "invloves "
The "snooze", "ignore", "archive" items are buttons that will act on the active item, or the checked items below. Just like how mail clients work.
I cut out a bunch or stuff I thought I might want in addition, but I think this will be enough to start a prototype on.
What do you think @cheshire137?

I like it! When you described it earlier, I had pictured multiple tabs with names like "@github/team-identity-panda-rocket," "Direct mentions," and the like. This looks more focused, like you're only dealing with github/team-identity-panda-rocket issues/PRs right now, which probably fits the actual workflow.
Probably want the repo name included somewhere, since you or a team you're on could be mentioned across multiple repos. Or were you envisioning this view to be repo specific and you'd choose from a list of repos elsewhere? Maybe the list of issues/PRs could be grouped by repo for each filter.

Here is the latest mockup we worked on together


text:
feat: add calendar to logged in App

User Story
As a User looking for upcoming events
When I am logged in
Then I want to see a calendar of things happening in The Chess Centre venue
Currently the calendar for events can only be found on the home page, once you are logged into the app you cannot navigate back to this without logging out.

repo: chess-centre/platform


text:
Problem with binary data

Hi!
I'm trying to make this module work with other RNCryptor's flavours (java, php and obj-c), but when I try to decrypt a file with binary contents (originally encrypted with the PHP version) the result is malformed.
I'm doing something like this:
[...]
var password = 'mypass';
var b64string = fs.readFileSync('/path/to/file.enc', 'utf-8');
var decrypted = RNCryptor.Decrypt(b64string, password);
touch('/path/to/file.jpg', function() {
  fs.writeFileSync('/path/to/file.jpg', decrypted);
});

Doing the same job with the java or obj-c version produces no problems.
Any idea?

Thanks for reporting this, will give it a check.

@enricodeleo You save the encrypted string which is in base64 to file.enc, when you read this file, you don't read a base64 string but an utf-8 string, you need to make the conversion before decrypting, so:
var b64string = new Buffer(fs.readFileSync('/path/to/file.enc').toString(), 'base64');

Note that replacing 'utf-8' for 'base64' doesn't do the job, also fs.readFileSync returns a Buffer, then you need to convert it again to string using toString method.
Please let me know if this works.

@chesstrian thank you for your reply! I tried as you suggested but the problem seems to be the same.
Also, opening the final file with vim, I get something like (reporting the first lines):
���^@^PJFIF^@^A^A^A^A,^A,^@^@��^LXICC_PROFILE^@^A^A^@^@^LHLino^B^P^@^@mntrRGB XYZ ^G�^@^B^@    ^@^F^@1^@^@acspMSFT^@^@^@^@IEC sRGB^@^@^@^@^@^@^@^@^@^@^@^@^@^@��^@^A^@^@^@^@�-HP  ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^Qcprt^@^@^AP^@^@^@3desc^@^@^A�^@^@^@lwtpt^@^@^A�^@^@^@^Tbkpt^@^@^B^D^@^@^@^TrXYZ^@^@^B^X^@^@^@^TgXYZ^@^@^B,^@^@^@^TbXYZ^@^@^B@^@^@^@^Tdmnd^@^@^BT^@^@^@pdmdd^@^@^B�^@^@^@�vued^@^@^CL^@^@^@�view^@^@^C�^@^@^@$lumi^@^@^C�^@^@^@^Tmeas^@^@^D^L^@^@^@$tech^@^@^D0^@^@^@^LrTRC^@^@^D<^@^@^H^LgTRC^@^@^D<^@^@^H^LbTRC^@^@^D<^@^@^H^Ltext^@^@^@^@Copyright (c) 1998 Hewlett-Packard Company^@^@desc^@^@^@^@^@^@^@^RsRGB IEC61966-2.1^@^@^@^@^@^@^@^@^@^@^@^RsRGB IEC61966-2.1^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@

This appear like a binary jpg file, so the module actually decrypts data (both with or without the new Buffer meethod you suggested above) but may be it loose some some part. What do you think about it?

@enricodeleo Please provide me your file.enc encrypted with 'mypass' password, want to try to decrypt it, Maybe I found a different issue.

authors: chesstrian enricodeleo

repo: chesstrian/JSCryptor


text:
Hotkeys cleared on page reload?

If you define hotkeys in a property on the route configuration, they're bound on $routeChangeSuccess. However, if you reload the same route, $routeChangeSuccess is not fired again and all of the hotkeys are cleared out during bootstrap. Is there a way to persist hotkeys defined in the route configuration through reloading the same page?

I can't tell if I'm having the same issue described or something different.  Basically, when I define hotkeys on one route, everything works as expected.  Then when I move away to another route and then back the original, the hotkeys seem to be firing the appropriate function in $scope, however, any directives watching data aren't evaluated as if the angular digest loop isn't kicking off.
Example:
http://www.seminull.com/angular/hotkeys
Page1 has the hotkey '/' defined.  It'll show a div by setting some data to true.
Navigate to Page2 and then back to Page1 and you can see in the console that the function is invoked, however the div does not show.

authors: seminull thomasnordlund

repo: chieffancypants/angular-hotkeys


text:
Contenteditable issue

Hello!
I ran into a problem when there is no possibility of making keys work when focus is inside the contenteditable tag. I believe this should come as an option in allowIn array, just like TEXTAREA, INPUT or SELECT.
Thanks!

Makes sense -- can you please squash the commits so it's a bit easier to review?

Sure, just did it.

Closing due to being out of date with master and no updates after I made some suggestions.  If this is still important to you, please open a new PR that has been updated against master.

authors: chieffancypants chocking-u


text:
Improvement. Allow set time for 100%

It would be nice to set max expected time for request. For example same as timeout in $http.
It will be also simplest solution to #114:

Some user experience studies suggest that progress should be initially slow and speed up towards the end. This is though to implement in practice because we don't necessarily know the duration of the request.

As you mention, you'll never know the duration of the request, as it is highly dependent upon network conditions in which you have no control over.  Accordingly, providing an option to enter what will be a wild guess seems more cumbersome and inaccurate, than simply starting in large increments, and progressively getting smaller over time as UX studies show is more effective.  The good news is we're already doing exactly that.
Ultimately, I'm unlikely to add something like this personally, as I'm not convinced adding an estimated request time would actually work, and it complicates the API by no longer being 100% automatic.
Appreciate the suggestion, and please feel free to reopen if you've got additional data proving me wrong, or are willing to open a PR to address.  Thanks!

authors: chieffancypants styxiak

repo: chieffancypants/angular-loading-bar


text:
Kadanza DAM media connector v0.0.1

Add a connector with query, detail, filtering, metadata capabilities
Add support only for oAuth2ResourceOwnerPassword auth at this stage

@ivaylo-kostov-kad Would you be able to provide readme.md file with more or less similar information like in this PR example https://github.com/chili-publish/studio-connector-framework/pull/77/files#diff-d32e0ff4f8005cea104987800088b6ff736939d05f600c875db0b8f6f4501468 ? Of course if you see a potential to add more info, feel free to do it

@psamusev - done. Kept it simple at this stage and we'll update it later once more auth and other options are added.

@ivaylo-kostov-kad  May I ask you in addition update connector logo with this one
 - the logo should follow our style guide to be presented in a correct way later

authors: ivaylo-kostov-kad psamusev


text:
Implement proper logging

Use the tokio/tracing crate to implement tracing.
The policy-server is now honoring its --debug flag (previously the value of this flag wasn't handled).
Moreover a new flag --log-fmt has been introduced. This allows to choose between two types of log format:

text: simple text
json: json output

Regardless of the output format, all the events are structured logs.
Fixes https://github.com/chimera-kube/policy-server/issues/3

Some screenshots
Info level - text output
This is the default BTW

Info level - JSON output

Debug level - text output

repo: chimera-kube/policy-server


text:
HttpProxyMiddleware [ERR_STREAM_WRITE_AFTER_END] when using agent

Checks

[X] I understand project setup issues should be asked on StackOverflow or in GitHub Discussions.
[X] I updated to latest http-proxy-middleware.

Describe the bug (be clear and concise)
I'm using HttpProxyMiddleware, with those options:
export const httpProxy = createProxyMiddleware({
  agent: new HttpsProxyAgent('http://127.0.01:10701'),
  pathRewrite: {
    '/tob_gateway': '',
  },
  router: () => {
    return 'http://URL_ADDRESSxxxxx';
  },
  secure: false,
  changeOrigin: true,
  on: {
    proxyReq: (proxyReq, req) => {
      const requestBody = (req as unknown as BodyParserLikeRequest)?.body;

      if (!requestBody) {
        return;
      }

      const writeBody = (bodyData: string) => {
        proxyReq.write(bodyData);
      };

      const contentType = proxyReq.getHeader('Content-Type') as string;
      if (
        contentType &&
        (contentType.includes('application/json') ||
          contentType.includes('+json'))
      ) {
        writeBody(JSON.stringify(requestBody));
      }

      if (
        contentType &&
        contentType.includes('application/x-www-form-urlencoded')
      ) {
        writeBody(querystring.stringify(requestBody));
      }
    },
  },
});

I know that the body is empty since I read the stream with express.raw which using bodyParser behind the scenes, but how can I write it back again before its sent? I cant make any request changes on 'onProxyReq', since I get errors like the above, and if I try to change any headers I get [ERR_HTTP_HEADERS_SENT]
I want to write the request body back before I send it to the server
Step-by-step reproduction instructions
1. ...
2. ...

Expected behavior (be clear and concise)
i can to write body when proxyReq event is triggered( use agent option)
How is http-proxy-middleware used in your project?
as a http proxy

What http-proxy-middleware configuration are you using?
export const httpProxy = createProxyMiddleware({
  agent: new HttpsProxyAgent('http://127.0.01:10701'),
  pathRewrite: {
    '/tob_gateway': '',
  },
  router: () => {
    return 'http://URL_ADDRESSxxxxx';
  },
  secure: false,
  changeOrigin: true,
  on: {
    proxyReq: (proxyReq, req) => {
      const requestBody = (req as unknown as BodyParserLikeRequest)?.body;

      if (!requestBody) {
        return;
      }

      const writeBody = (bodyData: string) => {
        proxyReq.write(bodyData);
      };

      const contentType = proxyReq.getHeader('Content-Type') as string;
      if (
        contentType &&
        (contentType.includes('application/json') ||
          contentType.includes('+json'))
      ) {
        writeBody(JSON.stringify(requestBody));
      }

      if (
        contentType &&
        contentType.includes('application/x-www-form-urlencoded')
      ) {
        writeBody(querystring.stringify(requestBody));
      }
    },
  },
});

What OS/version and node/version are you seeing the problem?
mac: 14.4.1
node: v20.15.0

Additional context (optional)
No response

https://stackoverflow.com/questions/78429842/httpproxymiddleware-err-stream-write-after-end-when-using-agent
I found the same problem onstackoverflow

This code fails in the following circumstances:

http-proxy-middleware@2.0.6

const express = require(`express`)
const { createProxyMiddleware, fixRequestBody } = require(`http-proxy-middleware`)

const app = express()

const defaultConfig = {
  ws: true,
  secure: false,
  changeOrigin: true,
  onProxyReq: (proxyReq, req, res) => {
    // https://github.com/chimurai/http-proxy-middleware/pull/492
    fixRequestBody(proxyReq, req)
  },
  logLevel: `silent`,
  pathRewrite: { '^/amap/': `https://restapi.amap.com/` },
  // proxyTimeout: 60 * 1000,
  // timeout: 60 * 1000,
}

app.use(`/amap/`, createProxyMiddleware({ ...defaultConfig, target: `https://restapi.amap.com/`}))
app.listen(8840)

Visit the following link:
:8840/amap/v3/geocode/regeo?key=******&location=37.09024%2C-95.712891&extensions=all&appname=*****

An error occurs under Linux:
events.js:292
      throw er; // Unhandled 'error' event
      ^

Error [ERR_STREAM_WRITE_AFTER_END]: write after end
    at writeAfterEnd (_http_outgoing.js:668:15)
    at write_ (_http_outgoing.js:680:5)
    at ServerResponse.write (_http_outgoing.js:661:15)
    at IncomingMessage.ondata (internal/streams/readable.js:719:22)
    at IncomingMessage.emit (events.js:315:20)
    at IncomingMessage.Readable.read (internal/streams/readable.js:519:10)
    at flow (internal/streams/readable.js:992:34)
    at resume_ (internal/streams/readable.js:973:3)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)
Emitted 'error' event on ServerResponse instance at:
    at writeAfterEndNT (_http_outgoing.js:727:7)
    at processTicksAndRejections (internal/process/task_queues.js:81:21) {
  code: 'ERR_STREAM_WRITE_AFTER_END'
}

Same code and same version number, no problem under Windows:

repo: chimurai/http-proxy-middleware


text:
Any plans to support infering a batch of images?

Thanks for the perfect port, it's really good.
Most face detection frameworks out there are pretty good at detecting faces but the ones that use GPUs like MTCNN or DLib (Conv) never have supported batches of image properly.
Since inference time is slow (even on a 1080 ti I have a mean 300 ms inference time) is there any way to support batches of images instead of detecting only one image each time?

No plan of any maintenance. It's recommend to use https://github.com/deepinsight/mxnet-SSH to detect faces.

authors: Neltherion chinakook


text:
Add Hero component to main page

Hero component added to Main [index.js] page
Hero component requirements still to be determined and added to https://github.com/chingu-voyage3/grad.then/projects/3

closed by #156


text:
🛑 同花顺实时快讯(10jqka-realtimenews) is down

In dc2b9bd, 同花顺实时快讯(10jqka-realtimenews) (https://www.rssinn.com/10jqka/realtimenews/) was down:

HTTP code: 404
Response time: 384 ms

Resolved: 同花顺实时快讯(10jqka-realtimenews) is back up in 5fa83fb.

repo: chinobing/upptime-rssinn


text:
fbht

how to use fbht in kali linux please help me

Bagi Sc Hack Fb gan

how to use fbht in kali linux please help me

Hello, This is Shohag. I am a professional Ethical Hacker,
Security Specialist as well as Penetration Tester. I can test the following vulnerability and I will provide you with a perfect assessment of your website security
which makes your website safe and sound.
My Experience:
💗. Recovering Hacked WordPress Website
💗. Full Vulnerability Scan and WordPress website malware removal
💗. Vulnerability Assessment
💗. Antispam protection
💗. Analysis of database servers
💗. Restore a hacked website
💗. Ethical Hacking(White Hat Hacker)
💗. Hacked account recovery
💗. Password recovery
💗. Decode encrypted files
💗. Vulnerability Testing
💗....my  WhatsApp number +8801314956025

how to use fbht in kali linux please help me

My Experience:
💗. Recovering Hacked WordPress Website
💗. Full Vulnerability Scan and WordPress website malware removal
💗. Vulnerability Assessment
💗. Antispam protection
💗. Analysis of database servers
💗. Restore a hacked website
💗. Ethical Hacking(White Hat Hacker)
💗. Hacked account recovery
💗. Password recovery
💗. Decode encrypted files
💗. Vulnerability Testing
💗....my WhatsApp number +8801314956025

repo: chinoogawa/fbht


text:
Derive the version number from the generated version header.

That way, we have a single source where the version number is coming from: the CMake project.

CC: @timkpaine using your generated header :)

repo: chipsalliance/Surelog


text:
Fix build on macOS/arm64 (M1)

Apple clang does not currently support march=native on arm64/M1.
edit: Only remove the flag on macos/arm64

Thanks for your contribution @kammoh - sorry I am just seeing this now.
Can you fix the ruby warnings the continuous integration found ?

YW, and NP. The formatting should be fixed now.

authors: hzeller kammoh

repo: chipsalliance/homebrew-verible


text:
[Feature req] Lint Rule for width mismatch

Summary
There should be a lint rule that reports when the LHS and RHS signals are of different width. There is already a undersized-binary-literal and truncated-numeric-literal lint rules exist, but they only work with constant values.
Test cases and examples
logic [3:0] a;
logic [1:0] b;
assign a = b; //this should generate a width mismatch warning, since RHS signal 'b' is smaller in length than LHS signal 'a'.
assign b = a; //this should also generate a width mismatch warning, since LHS signal 'a' is bigger in length than RHS signal 'b'.

Another example is when a module is instantiated within a module and there is a width mismatch:
module top
(       input [5:0] a,
        output [4:0] b,
);

under u_inst
(  .a  (a),   //u_inst.a is 2 bits wide
   .b  (b)    //u_inst.b is 6 bits wide
);
endmodule : top

module under
(       input [1:0] a,
        output [5:0] b,
);

assign b = {4'hF,a};

endmodule : under

repo: chipsalliance/verible


text:
GestureRecognizer pop problem

Hi @bawn, I don't understand what's the issue you were referring to. I can use the pop gesture smoothly in my iPhone. Could you please elaborate?

@chiunam sorry, I should not clearly described
Step 1: Enter the group page
Step 2: Click on any one cell enter the album
Step 3: Click back item back to group page
Step 4: From the left to the right edge of the screen slide
Step 5: Click on any one cell, This will not push other page

@bawn Got it. Thanks.

authors: bawn chiunam

repo: chiunam/CTAssetsPickerController


text:
RFP - DeepL

[x] The package I am requesting does not already exist on https://chocolatey.org/packages;
[x] There is no open issue for this package;
[x] The issue title starts 'RFP - ';
[x] The download URL is public and not locked behind a paywall / login;

Package Details
Software project URL : https://www.deepl.com/home
Direct download URL for the software / installer : https://www.deepl.com/windows/download/full/DeepLSetup.exe
Software summary / short description: This is a very good machine translator for translation between many European languages.
When installing via the .exe it makes an icon on the desktop, and some sort of service in the tray. During installation there is a pop-up to tell you the short cut keys for triggering the tool to pop up so you can translate. Maybe it is possible to silence this and instead log in the screen output to inform the installed that they can use those keys to trigger the app.

https://www.deepl.com/windows/download/full/DeepLSetup.exe is redirected to https://appdownload.deepl.com/windows/full/DeepLSetup.exe
https://appdownload.deepl.com/windows/full/DeepLSetup.exe downloads DeepLSetup.exe as "content-type: text/plain' according "response headers" but the file is really a binary as I can correctly launch manually the downloaded file D:\Temp\chocolatey_cache\deepl\1.11.0\DeepLSetup.exe
In D:\Temp\chocolatey_cache\deepl\1.11.0, there is also another file "DeepLSetup.exe.istext"
and Chocolatey sends an error when an executable is a text file (cf. https://github.com/chocolatey/choco/commit/d7b4de5b469ca9a9623167fb5eb68e25f603cdf2).
So, I don't know how to handle this...
Some logs:

https://appdownload.deepl.com/windows/full/DeepLSetup.exe
{
Connection: keep-alive
Accept-Ranges: bytes
Content-Length: 145224280
Content-Type: text/plain
Date: Mon, 02 Mar 2020 19:05:20 GMT
ETag: "5e43aceb-8a7f258"
Last-Modified: Wed, 12 Feb 2020 07:44:43 GMT
Server: nginx
}.
System.Net Information: 0 : [16172] ConnectStream#28555771::ConnectStream(Buffered 145224280 bytes.)
System.Net Information: 0 : [16172] Associating HttpWebRequest#41950770 with ConnectStream#28555771
System.Net Information: 0 : [16172] Associating HttpWebRequest#41950770 with HttpWebResponse#24191173
WARNING: D:\temp\chocolatey_cache\deepl\1.11.0\DeepLSetup.exe is of content type text/plain
System.Net Information: 0 : [16172] ContentLength=145224280
Downloading https://appdownload.deepl.com/windows/full/DeepLSetup.exe to D:\temp\chocolatey_cache\deepl\1.11.0\DeepLSetup.exe
Progress: 100% - Completed download of D:\temp\chocolatey_cache\deepl\1.11.0\DeepLSetup.exe (138.5 MB).
Download of DeepLSetup.exe (138.5 MB) completed.
No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
Verifying package provided checksum of '1498BFCA4361B90D9F7F0345A5E0981B257270CC2D52761B4D3464FE22F8C6F4' for 'D:\temp\chocolatey_cache\deepl\1.11.0\DeepLSetup.exe'.
Running Get-ChecksumValid -file 'D:\temp\chocolatey_cache\deepl\1.11.0\DeepLSetup.exe' -checksum '1498BFCA4361B90D9F7F0345A5E0981B257270CC2D52761B4D3464FE22F8C6F4' -checksumType 'sha256' -originalUrl 'https://appdownload.deepl.com/windows/full/DeepLSetup.exe'
checksum.exe found at 'C:\ProgramData\chocolatey\helpers..\tools\checksum.exe'
Executing command ['C:\ProgramData\chocolatey\helpers..\tools\checksum.exe' -c="1498BFCA4361B90D9F7F0345A5E0981B257270CC2D52761B4D3464FE22F8C6F4" -t="sha256" -f="D:\temp\chocolatey_cache\deepl\1.11.0\DeepLSetup.exe"]
Hashes match.
Command ['C:\ProgramData\chocolatey\helpers..\tools\checksum.exe' -c="1498BFCA4361B90D9F7F0345A5E0981B257270CC2D52761B4D3464FE22F8C6F4" -t="sha256" -f="D:\temp\chocolatey_cache\deepl\1.11.0\DeepLSetup.exe"] exited with '0'.
Running Install-ChocolateyInstallPackage -packageName 'deepl' -fileType 'exe' -silentArgs '/s' -file 'D:\temp\chocolatey_cache\deepl\1.11.0\DeepLSetup.exe' -validExitCodes '0' -useOnlyPackageSilentArguments 'False'
Running Get-ProcessorBits -compare '32'
Installing deepl...
Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -workingDirectory 'D:\temp\chocolatey_cache\deepl\1.11.0' -statements '/s ' -exeToRun 'D:\temp\chocolatey_cache\deepl\1.11.0\DeepLSetup.exe'
Unable to use current location for Working Directory. Using Cache Location instead.
Test-ProcessAdminRights: returning True
Elevating permissions and running ["D:\temp\chocolatey_cache\deepl\1.11.0\DeepLSetup.exe" /s ]. This may take a while, depending on the statements.
ERROR: The file was a text file but is attempting to be run as an executable - 'D:\temp\chocolatey_cache\deepl\1.11.0\DeepLSetup.exe'
at Start-ChocolateyProcessAsAdmin, C:\ProgramData\chocolatey\helpers\functions\Start-ChocolateyProcessAsAdmin.ps1: line 198
at Install-ChocolateyInstallPackage, C:\ProgramData\chocolatey\helpers\functions\Install-ChocolateyInstallPackage.ps1: line 335
at Install-ChocolateyPackage, C:\ProgramData\chocolatey\helpers\functions\Install-ChocolateyPackage.ps1: line 408
at , C:\ProgramData\chocolatey\lib\deepl\tools\chocolateyinstall.ps1: line 13
at , C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1: line 49
at , : line 1
Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\deepl\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '''] exited with '4'.
Calling command ['"C:\WINDOWS\System32\shutdown.exe" /a']

@chtof Have you contacted the author to let them know their website is broken? If they fix it everything should work?

@pauby I haven't contacted the author as it works properly outside Chocolatey.

Can I suggest you raise an issue on chocolatey\choco?

@chtof Did you raise an issue for this?

I have a working package for this, just need to download the file and install from local

Pushed, should be OK

https://chocolatey.org/packages/deepl/1.11.0.1

Can you assign it to me ? to ease the followup.
Thank you

This package as been approved, you can close this issues.
Thank you

authors: chtof dallyingllama pauby tunisiano187


text:
(TotalCommander) v10 is not published

A few month ago v10 of Total Commander was officially released.
https://www.ghisler.com/whatsnew.htm
According to this commit, somebody tried(?) to update the chocolatey package.
But somehow the package is still at v9.51.
Can anybody fix this?
There has been no response to the Disqus comments.
Thanks.

https://community.chocolatey.org/packages/totalcommander/10.0
Failed verifcation:
https://gist.github.com/choco-bot/0fce3f8f2b217175ed63c94611b16cfa#file-install-txt-L1000

TC10 changed the installer and that is the reason it fails:

https://www.ghisler.ch/wiki/index.php?title=How_to_make_installation_fully_automatic%3F

I fixed it using new installer features, but it failed validation because of the method used (env vars):

https://community.chocolatey.org/packages/TotalCommander/10.0.0.20210903

The reason for this kind of code is that there is a bug in choco:

https://github.com/chocolatey/choco/blob/master/src/chocolatey.resources/helpers/functions/Install-ChocolateyInstallPackage.ps1#L359

In "$silentArgs $additionalInstallArgs" space is added to silent args which makes TC installation fail to set up folder so I had to use this as a workaround:
https://github.com/chocolatey-community/chocolatey-coreteampackages/blob/0a7332f2ad972850d197d5f7b706eb904c45b314/automatic/totalcommander/tools/chocolateyInstall.ps1#L8-L9
I can obfuscate this line to not trigger the veriifer but its bet if bug can be fixed (/cc @gep13 @ferventcoder ) or at least tool excluded from validation. I am quite surprised that nobody else detected it, but tools don't usually consider command line whitespace as relevant.

@majkinetor apologies, I had it on my list to come back to you on this one, but looks like it fell off my radar 😢
It currently isn't possible to provide a permanent exemption from package-validator (this is only possible with package-verifier) but this is by-design, and there aren't any plans to change that.
While we wait until the bug is addressed in Chocolatey (which should hopefully be included in the next release) which would prevent the need for the current workaround, @TheCakeIsNaOH has suggested that we get you added as a maintainer on the TotalCommander package.  That way, if/when you notice that it has failed package-validator, you can request an exemption from one of the moderators.
I am going to go ahead and add you as a maintainer on the package, but if this is not something that you want, let us know, and we can cancel the request to get you added.

I am looking over a few old issues, and noticed this issue do not seem to be relevant anymore.
As the 10.x version of totalcommander is available on the Chocolatey Community Repository, I'll close this issue now.

authors: AdmiringWorm CWempe gep13 majkinetor


text:
[Required] No temporary/backup files should be in the package

https://chocolatey.org/packages/classified-ads/0.11#files
Note the ~ file.

Just mentioning other prefixes that is possibly used:

.tmp
.bak
.bck
.backup
.bbb (not that often used)
.bfk (also used by windows backup)
.bkp
.dbk
.old

There are several others, but those are usually software specific.
Reference of a few software specific backup files that are used: https://www.file-extensions.org/common/backup

authors: AdmiringWorm ferventcoder

repo: chocolatey/package-validator


text:
AutoUninstaller ensure runs every time in 0.10.x

#134 issue is back.

I have not been able to repro this though.

If anyone runs into this, please comment and we can move forward on this - right now not able to reproduce this issue at all.

I'm seeing it.
The output of choco feature list -r is formatted differently between versions.  On the 0.10.0 systems I'm seeing this on, the output looks like:
autoUninstaller|Enabled|Uninstall from programs and features without requiring an explicit uninstall script.

Where a 0.9.9.8 outputs:
autoUninstaller - [Enabled]

@joshbeard what version of chocolatey/chocolatey do you have installed?

That was on 1.2.4.  1.2.6 resolves it in my environment so far.  I should've checked that first ;)  Sorry for the noise.

No worries - also take a look at puppetlabs/chocolatey - https://puppet.com/blog/puppet-supported-module-chocolatey

authors: ferventcoder joshbeard

repo: chocolatey/puppet-chocolatey


text:
Return none from ML models if nothing available for a given target.

Fixes #437

Codecov Report

Merging #438 (02af07e) into main (0a6b354) will decrease coverage by 0.02%.
The diff coverage is 50.00%.

authors: codecov-commenter hmacdope

repo: choderalab/asapdiscovery


text:
Alchemy cinnabar update

Description
This PR updates the asap-alchemy cinnabar interface to use the new API which allows us to create absolute and relative data frames.
Todos
Notable points that this PR has either accomplished or will accomplish.

[ ] add a test using computed tyk2 results which converts to an fe map and calculates the dataframes

Questions

[ ] Do we want to extend the absolute dataframe and add 2D pictures of the ligands and write it to an interactive HTML?

Status

[ ] Ready to go

Codecov Report

Merging #624 (4117da5) into main (96c970f) will increase coverage by 2.87%.
The diff coverage is 100.00%.

Additional details and impacted files

@jthorton when adding measurements, Measurement now requires labelA and labelB, even when it's an absolute measurement, in which case there is no A/B. Am I missing something?

Ah yes you have to use a special flag for the ligand state A see.

@jthorton is this still WIP or ready for review.

authors: JenkeScheen codecov-commenter hmacdope jthorton


text:
Attempt to fix failing CI due to old qcportal version being installed

Fixes #107

Closing, since no longer relevant!

repo: choderalab/espaloma


text:
Two markers at exact same location

If I have two markers at exact same location the library cluster them no matter what the other settings are (like maxZoomLevelForClustering or minUniqueLocationsForClustering). Then even if you click it and zoom in until the max possible level they stay clustered. Is it possible to prevent/disable this?

You can't disable this – in my opinion, this makes sense because two annotations views at the exact same spot wouldn't be selectable/visible

authors: choefele georgij

repo: choefele/CCHMapClusterController


text:
bankai() options not documented

As titled.

Will be fixed in https://github.com/choojs/bankai/pull/401

#401 is merged, should this be closed?

authors: mcollina tnguyen14 yoshuawuyts

repo: choojs/bankai