text:
Vue panel stuck across three environments

Version
4.1.2
Browser and OS info
Chrome 64.0.3282.119/ Windows 7   Mozilla 58.01/Windows 7   Electron version of Vue devtools
Steps to reproduce
*Running Vue through npm installed package vue@2.5.13
*Laravel backend
*No Vue router, as Laravel handles routing through views
*Initial load of page (any page) works fine. Vue devtools working accordingly, inputs get updated, events tab
can be seen, etc
*Access different page url of the website
*Panel is now non-reactive to any mouse clicks
*Components from old url page still showing
*Cannot switch to events tab or any other tab
*Cannot do anything
*Vue panel works again after closing browser tab completely and reopening
*Hard refresh doesn't fix it
What is expected?
Vue panel to work accordingly
What is actually happening?
Vue panel is non-responsive

Same issue with Mozilla plugin, as well as electron standalone. All reinstalled today, issue remains.
Three different apps were tested, making sure no existing endless loop could cause this. Same issue.
It was working fine 3 hours ago.
Uncertain if issue is AFTER 29.01.2018 devtools update, as I don't notice when chrome updates my extensions

In case you're using electron as me just update electron-devtools-installer to the latest version.

I'm getting this error when I try to use the select tool on an element that's wrapped in a transition.

Same error, can not get it works
Chrome Version 66.0.3359.181 (Official Build) (64-bit) on Windows
Vue Dev Tools 4.1.4

Same error, this happens when i had displaying a component in inspector that i've passed an array by prop, and i have a computed property that sort this array. When i change something that causes reactivity on this computed property is when this breaks down. If i delete the sort on this array in the computed property this came alive again.

Same here, when I have a getter that returns a sorted array, Vue dev tools die.

I was having the same problem with Vue devtools 4.1.3 on macOs High Sierra in Chrome 69.0.3497.100 .
Devtools crash every 3-5 minutes, had to reload again and again.
Removed the extension and reinstalled it. Yet to check how it performs.
Seriously, team - an appeal to you - please resolve the issue asap. Without devtools vuejs looses its appeal as the go to framework for me.

macOs High Sierra in Chrome 69.0.3497.100 same error

Same here newest version on mac

Still happening here in 2019. MacOS 10.13.16 with Chrome 70.0.3538.110.
backend.js:1 Uncaught TypeError: Cannot read property '__VUE_DEVTOOLS_UID__' of undefined
    at backend.js:1
    at t.a.v.on.e (backend.js:1)
    at t.a.n.emit (backend.js:1)
    at e.listen.e (backend.js:1)
    at n (backend.js:1)

Any update?
Still experiencing this problem, although everything is up-to-date.

For me, the problem only occurs when having multiple vue instances bound on a single page.

In my case this appears when I create vue component in callback function after fetching data from api.

In my instance it turned out we had part of the build bundling vue.min.js instead of vue.js
It isn't just minified, it is also missing things like dev tools support
Ensuring we reference/bundle/whatever the non-minified (see: not production) vue.js fixed the problem for me.

Same problem here. Reloading the frame works - but it's annoying.

right click might be a workaround, but reinstalling the extension solved this forever, at least for me

release 5.2.0 Seemed to fix this issue for me.
Awesome release. It's so snappy now 💯
Good job!

I still have the issue with the latest version from Oct 30th.

authors: AlexanderZon BlitZz96 DannyFeliz JustinDraude Kolbasyatin alexandar87 alirezamirsepassi cecotw cerw eyaylagul goodpixels jordanranson mekhami nathanchere neeravp skyzhao1223 tronjs


text:
Installing as project dependency asks for Ionic version

Version
4.1.3
Browser and OS info
Any / macOS 10.13.3
Steps to reproduce
Install @vue/devtools as devDependency with yarn (yarn add --dev @vue/devtools)
What is expected?
@vue/devtools should be installed with no issues
What is actually happening?
Yarn shows a warning message: Couldn't find any versions for "ionic" that matches "beta". Please choose a version of "ionic" from this list:
Then it just don't install at all, stuck at Building fresh packages. waiting...

Following the Electron installation docs: https://github.com/vuejs/vue-devtools/blob/master/shells/electron/README.md

I think we don't have ionic declared as a dependency anywhere in the devtools.

@Akryum Yep.. That's the weird thing. I did a fresh yarn install before testing this, and running yarn add --dev @vue/devtools asks for the Ionic version. Perhaps a sub-dependency of a direct dependecy?

@Akryum Sorry to bother you guys with this, but I managed to solve this removing ionic from my globally installed packages. It looks like ionic installation broke for some reason. Removing it solved the issue.

source: gharchive/issue

authors: Akryum gabrielboliveira

repo: vuejs/vue-devtools

license: mit

license_type: permissive

license_source: bigquery


text:
Cross-Origin Request

Hi,
Does anyone knows how to do a http:post via Vue-resource from a different domain?
Thanks in advanced!
Cheers
Ralee

You can do it with a normal post $http.post('http://domain.com/'), however the domain must support CORS. See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS

Backend server should set Access-Control-Allow-Origin to * or [ Frontend server domains whitelist ]
Vue.http.options.xhr = { withCredentials: true } is not needed.
url must begin with http(s)://. e.g. localhost:8080 would fail.

authors: kenberkeley raleePixel steffans

repo: vuejs/vue-resource


text:
Support hash parameter in v-link and improve custom handling

It would be nice to be able to use hash with named route pattern.
Currently
In vue-router 0.7.11, in History/html5 mode:

hash is automatically extracted from path given as string and scroll to this hash after route change
(ie. v-link="/page#section" will to to the route /page and scroll to the element with this id (https://github.com/vuejs/vue-router/blob/master/src/index.js#L543-L560)
there is no way to specify an anchor/a hash with the named route pattern (ie. v-link="{name: 'page', params: {}}")

Proposal

Add/handle an optional hash or anchor in v-link named route pattern handling (ie. v-link="{name: 'page', hash: 'section'}")
Add a, optional hash() transition hook called after data hook, if hash value change (same behavior as data hook for hash) :

Vue.component('hash-hook-example', {
  // ... other options
  route: {
    hash (value) {
      console.log(`hash-hook triggered with ${value}`)
    }
  }
})

If the hook is present, it is called. If not, the default behavior (aka. scroll to getElementById(hash)) is executed

+1 on this, would really like to see links that are create by Vue and can scroll to an anchor

@noirbizarre @divmgl Scrolling to hash is implemented in 2.0, as in scrollBehavior (release notes),
As for hash hook, since all transition hooks are deprecated in 2.0, there won't be any new hooks added, just use a watcher on $route.

authors: divmgl fnlctrl noirbizarre

repo: vuejs/vue-router


text:
keep-alive to cache focus state

What problem does this feature solve?
It'd be especially useful for apps with spatial navigation, tab navigation and for accessibility issues in general. Let's consider this - assume you relay on the focus state when navigating through some application with vue-router (it might be TV app). It's irritating when you hit back button and your focus state is lost.
What does the proposed API look like?
:cache-focus="(boolean)"

This is not the goal of keep-alive and may be much more complicated than it looks like (because of edge cases). Nevertheless, it's something that should be implemented in userland. Feel free to post back your plugin if you create one 🙂

authors: pittkost posva

repo: vuejs/vue

license: MIT

license_source: github-api


text:
Typings: Improve $scopedSlots type to prevent unchecked access to undefined

What kind of change does this PR introduce? (check at least one)

[x] Bugfix
[ ] Feature
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

If yes, please describe the impact and migration path for existing applications:
The PR fulfills these requirements:

[x] It's submitted to the dev branch for v2.x (or to a previous version branch), not the master branch
[ ] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
[x] All tests are passing: https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#development-setup
[x] New/updated tests are included

If adding a new feature, the PR's description includes:

[ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:
When working directly with render functions in TypeScript / tsx, currently the following code is unsafe and unchecked by the ts compiler:
this.$sopedSlots.default() // default can be undefined

The change in this PR makes TypeScript complain about the unsafe access accordingly and the code has to be expressed in a way that prevents calling an undefined function, e.g.:
( this.$scopedSlots.default || ( () => 'default value' ) )( props )

Thank you for making this PR. However including undefined in the scoped slots value is actually inaccurate.
In the TypeScript, index signature is not guarantees whether the referenced key is exists. This is similar that an array type can be return undefined if accessing index of out of length.
const obj: Record<string, number> = { foo: 1, bar: 2 }
obj.baz // -> undefined

const arr: number[] = [1, 2, 3]
arr[5] // -> undefined

Some case that Including undefined is appropriate would be the case that key is exists but the value is undefined such as:
const obj: Record<string, number | undefined> = { foo: 1, bar: undefined }

Object.values() type would help you to understand these differences:
const a: Record<string, number | undefined> = { a: 1 }

// will be `(number | undefined)[]` even though `undefined` will be never appeared
const b = Object.values(a)

Hey, thank you for the quick reaction.

In the TypeScript, index signature is not guarantees whether the referenced key is exists.

Actually, I believe that it effectively does guarantee the following: It tells the TypeScript compiler that every possible key is permitted and (thats the important part) that all the values of the given object are guaranteed to have actual content of the type ScopedSlot.
Let me give you an example to hopefully better illustrate what is happening with the current type definition:
Let's first look at the current type definition for $scopedSlots:
interface Vue {
    readonly $scopedSlots: { [key: string]: ScopedSlot };
}

Now, in a vue component we try to call the default slot function:
this.$scopedSlots.default( props );

TypeScript won't complain about this code. But at runtime, default slot could be empty. The code above in that case will lead to a runtime error, because default is not a function and hence not callable.
Now if we tweak the type definition like that:
interface Vue {
    readonly $scopedSlots: { [key: string]: ScopedSlot | undefined };
}

This is what happens:

It says cannot invoke an object which is possibly undefined. And that is a good thing. It forces you to do a safety check before calling the function. For example like that:
<div class={styles.root}>
    {this.$scopedSlots.default ?
        this.$scopedSlots.default( props ) :
        'Fallback content'
    }
</div>

So, to sum it up:
Right now the TypeScript compiler won't complain about slot access because of the current type defintition for $scopedSlots. Because the content that is referenced by the key is defined to always be a ScopedSlot, TypeScript will happily allow a function call even if no slot function is present. It does not account for the fact that at runtime a slot is not necessarily defined.
I hope this explanation better illustrates why I believe this PR is an improvement of the current typing.

I see your point. As scoped slot and slot optional, it may be better to have undefined value 🙂
I was thinking scoped slot and slot always there if the object key is exists but it was incorrect as they can be blank. Not sure how actual implementation is but it sounds good to have undefined in that case.

I see your point. As scoped slot and slot optional, it may be better to have undefined value 🙂
I was thinking scoped slot and slot always there if the object key is exists but it was incorrect as they can be blank. Not sure how actual implementation is but it sounds good to have undefined in that case.

I see your point. As scoped slot and slot optional, it may be better to have undefined value 🙂
I was thinking scoped slot and slot always there if the object key is exists but it was incorrect as they can be blank. Not sure how actual implementation is but it sounds good to have undefined in that case.

You missed the one in VNodeData, I've fixed it with #9131

@KaelWD thanks

source: gharchive/pull-request

authors: KaelWD ktsn thenickname


text:
feat: migrate the codePlugin from @vuepress/markdown to plugin-shiki

Before submitting the PR, please make sure you do the following

[ ] Read the Contributing Guidelines.
[ ] Provide a description in this PR that addresses what the PR is solving. If this PR is going to solve an existing issue, please reference the issue (e.g. close #123).

What is the purpose of this pull request?

[ ] Bug fix
[ ] New feature
[ ] Other

Description

see https://github.com/vuepress/core/issues/1550
Screenshots

Before
After

Pull Request Test Coverage Report for Build 9098446664
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 49.759%

Totals

Change from base Build 9075650266:
0.0%

Covered Lines:
681

Relevant Lines:
1238

💛  - Coveralls

Also check0#135

Also check #135

It appears that the current shikiSetup() has already implemented the same functionality.

Same here. UT or E2E is required

Same here. UT or E2E is required

Added test cases identical to the codePlugin in @vuepress/core.

@meteorlxy @Mister-Hope Cc, this PR is ready.

authors: Mister-Hope coveralls meteorlxy pengzhanbo

repo: vuepress/ecosystem


text:
How to keep Vuikit CSS local to the app?

Hello,
I am using Vuikit, Vue + Webpack 4 to build an app which gets injected via a script tag onto a third party site.
The app is collecting CSS props from the host site.
Is there a way to ensure the CSS props neither are polluted by or pollute the parent page?
Thanks in advance!

Probably the best you can do is precompile the styles and import the css file instead of less.

thanks @miljan-aleksic could you provide a little more information on how I could achieve this?

If you are importing a less file it means you are creating your own UIkit theme and for such you should have in place a build task for it. Check UIkit documentation for details. You can also check Vuikit Theme build as example.
Once you have the build in place, just run it and import the resulting css in your project.

Hey @miljan-aleksic I am not important anything other than the standard theme, which I see contains both css and less files.
Am I correct to assume your package is already building them via the build script you shared?
One thing to note is when CSS is applied directly at the single file component level into scoped CSS - this issue does not exist.
is there a way to mimic such behaviour for the whole Vuikit package?

Yes, the Vuikit Theme provides the css by default in dist. Use the the src files only when extending.
In such case you need to tell me more about The app is collecting CSS props from the host site., as it not what I assumed.

Ok, so the app when loaded into the page, will inherit the fonts of the host webpage.
The app is being loaded as a script tag on a host page:
<script src="https://myapp.com/bundle.js">
The app itself is a Vukit Modal Element, which is mounted to the DOM in the normal Vuejs manner:
const vm = new Vue(App).$mount('#app');
The interference of styling happens both ways, i.e the app itself inherits fonts, whilst passing some CSS to the page. If you want to take a look like please visit http://wearemiq.com and add the following into your browser console:
const pluto = document.createElement('script');
pluto.setAttribute('id', 'pluto-cmp-js-src');
pluto.setAttribute('src', 'http://pluto-cmp.com/cmp');
pluto.setAttribute('client-id', '1');
document.body.appendChild(pluto);

Thank you for your help!

Got it. That's a broader issue you will have to find the best way to deal with. One way is to use iframes, a site loaded in an iframe has a native browser scope.
Another way and it seems is the one you are looking for, is to scope the theme styles with a custom class. You can find more info and instructions here. But I'm afraid there is no way to avoid the main site interfiering with UIkit styles, and you will have to do some manual resetings, adjustments.

Ok but there is no way to inject the Vuikit CSS into each single file vue component rather than having them float around in global scope?

No, not that I am aware about. UIkit themes were not designed with that in mind, but they source code is modular and well structured, perhaps you can find a way to make it work.

Thanks again @miljan-aleksic - final Qs on this I promise:

if I want to use uikit in scope mode how could I configure vuikit to this custom setting https://getuikit.com/docs/avoiding-conflicts#scope-mode
also is it possible to exclude the base class which contains all the references to global CSS selectors such as html, h1 etc

Vuikit doesn't apply any custom styles, it all relies on an standard UIkit theme, which Vuikit provides but doesn't impose.

Meaning you can create your custom theme, scoped or not, and just load it instead the Vuikit one.
Once the theme is scoped, all elements will be scoped, even the native html ones.

No problem, feel free to ask :)

authors: miljan-aleksic ydennisy

repo: vuikit/vuikit


text:
Add support for cppcheck

I'm using a new handling function because the cppcheck "gcc-compatible" output mode does not include column numbers, so it does not work with the already existing gcc handler.

I have added a test (sorry, thought about it, but then forgot)


text:
Use .cquery file to detect the project root

Hi @w0rp,
In addition to compile_commands.json cquery also supports .cquery file placed into the project root. This is a simple text file containing a list of clang compilation options.
https://github.com/cquery-project/cquery/wiki/.cquery
I have several projects using .cquery files so it would be good to support them in ALE as well.
Thanks!

Thank you for reviewing this! As usual, excellent points and all are valid! I've added tests not only for .cquery file but also for compile_commands.json. Please let me know if you need anything else.

Cheers! :beers:

Actually, I think neither compile_commands.json nor .cquery is a good choice.
Here is a common setup where users create a build directory in the project root and create a compile_commands.json symlink pointing to the real one in the build directory.
% tree
.
├── build
│   ├── a.cc
│   └── compile_commands.json
├── compile_commands.json -> build/compile_commands.json
└── src
    └── a.cc

build/a.cc will have an in correct project root.
In emacs-ccls, the default logic I use (MaskRay/emacs-ccls@b02a5d8#diff-2093f0a348c7bfdc7e0a9006283e081fR100):

Locate .ccls-root if it exists
(projectile-project-root) otherwise. projectile is a widely-used project extension so the setting is fine. But this is tricky in Vim land I know as there is no single dominant project plugin.

When subprojects are involved:
% tree -a
.
└── llvm
    ├── .git
    └── tools
        └── clang    # users expect files to be considered part of the llvm umbrella project
            └── .git

I solve this problem by locating .ccls-root.
A .cquery file can reside in subdirectories to control compile command lines only in that directory. ccls has a similar .ccls file.
And BTW a feature request for adding ccls https://github.com/MaskRay/ccls/wiki/Getting-started as a supported linter :) The latency of its completion and diagnostics should be on par with clangd now, but it offers references as cquery does (and better, but this is subjective).

Add in an ad for ShamWow while you're at it.

authors: MaskRay kodemeister w0rp


text:
Update Boise Startup Week to use iCal, not Meetup

First contrib. Hope I did this right!

Yep, thanks for doing that!

authors: domramirez waded

repo: waded/gemstateio-groups


text:
stocks.js as name is not recommended

Please see
https://docs.npmjs.com/files/package.json#description
under Some tips:

Similar names without .js are already taken, and typing just stocks on Github will show a bunch of other repositories. I named it stocks.js as I saw other projects with a similar name: Brain.js, angular.js, three.js, reveal.js, impress.js, turbo.js, parallel.js and to continue.
If stocks wasn't taken on npm, I would have published it under stocks on npm and still call it stocks.js - unfortunately it was taken.
However, if you come up with some really good name: please share it :smile:

authors: kresli wagenaartje


text:
Allow access to the parent context inside get_context of StreamField blocks

See @gasman's comment for details.

An incomplete PR for this (functional, but without tests/docs and missing fallback behaviour for user-defined get_context methods that haven't been updated to receive a context kwarg) exists as #3032.

Implemented in #3275

repo: wagtail/wagtail


text:
🛑 cyconet.org is down

In e4d12d6, cyconet.org (https://www.cyconet.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: cyconet.org is back up in 19fb9c0 after 9 hours, 9 minutes.

repo: waja/cyconet-upptime


text:
🛑 cyconet.org is down

In a860051, cyconet.org (https://www.cyconet.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: cyconet.org is back up in f2190bb after 1 hour, 9 minutes.


text:
Add proper license information

The current AboutDialog lacks proper licensing information.
The AboutDialog may include:

The app's license
xkcd's license
plugin licenses and links
other interesting information like GitHub etc.

ad91734e9defd79351e2e4a4f03b753aa57f7461

repo: wakahuula/xkcdViewer


text:
Port it to Firefox!

Please please please please! Port it to Firefox!

Duplicate of #49.

Sorry

authors: Naereen alanhamlett

repo: wakatime/chrome-wakatime


text:
feat: message verification and retry

This is a feature request
Problem
Feature that is useful for application developers is to know if message was actually seen and/or stored by the network.
Proposed Solutions
We need to implement one mechanism for message verification that would consume sender on one end and receiver on another and recognize messages that are not seen by the network or stored there.
This mechanism should populate a pool of messages to be re-send and automatically re-broadcast them with behavior specified in the reliability RFC.
Note: peer renewal should kick in in case failures happen during sending again and again.
This should be optional feature and enabled by option parameter passed to createLightNode.
TODO:

[ ] implement message monitoring component that would mark and cache messages that are not sent;

[ ] adapt it to monitor Filter and / or Store;
[ ] adapt it to monitor LightPush;

[ ] re-send messages if they are not successfully sent;

flowchart LR
  LightPush --> MessageMonitor
  Filter --> MessageMonitor
  MessageMonitor-- resend marked messages -->LightPush

Rough idea:

change lightPush to return hash of the message if success - return error object if immediate problem;
add entity to track state of message: error, sent, delivered check via store/filter;

repo: waku-org/js-waku


text:
Access to host files in Linux

When I run this container in Linux, it throws error when trying to write to user hiles on the host, so I cannot also use spfx framework. However the same operation works in node:10.18.1 container:
aleks@vm-dev:~/projects/01$ sudo docker run -it --rm --name spfx-helloworld -v $(pwd):/usr/app/spfx -p 5432:5432 -p 4321:4321 -p 35729:35729 waldekm/spfx /bin/bash -c "mkdir 17"
mkdir: cannot create directory '17': Permission denied
aleks@vm-dev:~/projects/01$ sudo docker run -it --rm --name spfx-helloworld -v $(pwd):/usr/app/spfx -p 5432:5432 -p 4321:4321 -p 35729:35729 node:10.18.1 /bin/bash -c "mkdir /usr/app/spfx/18"
aleks@vm-dev:~/projects/01$ ls
13  15  16  18

Might it have something to do with the way we setup permissions in waldekm/spfx?
Linux machine is provisioned in Azure, from this image:
    publisher = "Canonical"
    offer     = "0001-com-ubuntu-server-focal"
    sku       = "20_04-lts-gen2"
    version   = "20.04.202007290"

I see that in the first case you're using just the folder name, whereas in the other case you use the full path. Could it be that you're trying to create the folder in a folder where you don't have the access to?

When you execute the ls commands, what's the working folder? Could it be that the current user doesn't have permissions to access it?

Hi, thanks for your experience @mzietlow! I can share my experience with using WSL2 in Windows. I did not have to create the npm-shrinkwrap.json file. What I had to do is only running this command in the project directory in WSL2 console:
sudu chown -R 1001:1001 .

repo: waldekmastykarz/docker-spfx


text:
Add a pipe server

Really cool functionality would be the ability to have a server that can react to BASH stdin, so onMessage gets called every time a process writes to the pipe. I've tried to implement this myself but i'm really stuck!

stdin.php
<?php
require_once /your/path/Workerman/Autoloader.php';
use Workerman\Worker;
use Workerman\Connection\TcpConnection;

$worker = new Worker();
$worker->onWorkerStart = function($worker)
{
    $con = new \Workerman\Connection\TcpConnection(STDIN);
    $con->onMessage = function($con, $msg){
        echo "recv form stdin: $msg";
    };
};
Worker::runAll();

Run with command php stdin.php start and type some words you will see the result.
It looks strange bug works.

That works pretty well, what about having multiple open pipes? How can you write to the STDIN if it's demonised

Who write pipes?

For example if I were to run
exec("./script")
And get the output STDOUT of the script to call $con->onMessage

Here is an example for STDOUT of htop pipe to $con->onMessage. May be will help.
<?php
require_once  '/your/path/Workerman/Autoloader.php';
use Workerman\Worker;
use Workerman\Connection\TcpConnection;

$worker = new Worker();
$worker->onWorkerStart = function($worker) {
    $con = new TcpConnection(popen('htop', 'r'));
    $con->onMessage = function($con, $data) {
        echo "recv from pipe: $data";
    };
};
Worker::runAll();

authors: stunningpixels walkor

repo: walkor/Workerman


text:
Gracefully handle interact spamming

Delete old message before displaying new one, or don't display the new message if it's the same as the old one.

9df7657


text:
Update tools/setup_dev_environment.sh

Description
3.10.0rc1 doesn't seem to be available anymore; 3.10 now points to 3.10.0 (and works!).
I haven't been able to get any of the 3.6.* versions to work locally (I mean, I just tried all the possible versions, without patching anything) - do we still want to have it in here? @kptkin I recall you had some sort of a patch, do you want to add it here?
Testing
How was this PR tested? Locally!
Release Notes
Below, please enter user-facing release notes as one or more bullet points.
If your change is not user-visible, write NO RELEASE NOTES instead, with no bullet points.
------------- BEGIN RELEASE NOTES ------------------
NO RELEASE NOTES
------------- END RELEASE NOTES --------------------

@dmitryduev This is the patch i used, need to check if it works for the latest version.
pyenv install --patch 3.6.12 < <(curl -sSL https://github.com/python/cpython/commit/8ea6353.patch)

You only need it for macos >11.2, so maybe it's just easier to update the documentation. Like we did for core:
https://github.com/wandb/core/blob/master/docs/installation.md#install-pyenv

authors: dmitryduev kptkin

repo: wandb/client


text:
[Q] I want to delete the team

Hello, I want to delete team in wandb.
How can I do?
Your wandb username -> EomYunJung
The team name you have created -> asr_
Would you like any of the associated projects to be moved to your personal entity? Yes

Hi @EomYunJung , if you have an Admin Role, you will be able to delete the team by going to Team Settings and the bottom part, there is a Delete Team. Kindly try if you can go to it please. We'll be able to also help you move your projects, would like to know if there is specific ones or all projects?

Hi @EomYunJung , since we have not heard back from you we are going to close this request. If you would like to re-open the conversation, please let us know!

authors: EomYunJung JoanaMarieL

repo: wandb/wandb


text:
Rethink the update/change propagation strategy

The change propagation is now quite a hack with two state counters and a dirty flag in each block.
And it will probably not work for more complicated features such as recursion.
I do not know yet what a good solution is, but for changes like type modifications just a global update might not be bad.

I consider this as resolved by #217 and #221.

repo: wandernauta/viskell


text:
HTML

HTML
User Story
As a bootcamp student
I want the prework notes to be structured on a webpage
so that I can easily find and read information
Acceptance Citeria
GIVEN a Prework Study Guide website
WHEN I visit the website in my browser
THEN I see four boxes listed HTML, CSS, Git, and JavaScript with associated notes

Done! 8/26


text:
authtree.js 的treeToSelect方法递归参数currentDept+1有问题

authtree.js 的_treeToSelect方法参数currentDept 定义是字符串，递归传参currentDept 请转换数据类型
parseInt(currentDept) + 1

感谢反馈，入参已加 parseInt(opt.currentDept)

authors: DengjiajunJohn wangerzi

repo: wangerzi/layui-authtree


text:
added v2 api utils

added v2 api utils

LGTM


text:
tree导出文件目录树转化为导图

在linux下可以使用tree命令生成txt文件的文件夹目录树，能否支持将此目录树转化为思维导图。
.
├── d_ip_cell_wrapper
│   ├── cell_wrapper
│   │   ├── bef
│   │   │   ├── cln16ffc
│   │   │   │   ├── cpf
│   │   │   │   ├── cpm
│   │   │   │   ├── ctl
│   │   │   │   ├── def
│   │   │   │   ├── gds
│   │   │   │   ├── lef
│   │   │   │   ├── lib
│   │   │   │   ├── parasitics
│   │   │   │   ├── post_v
│   │   │   │   ├── pre_v
│   │   │   │   ├── sdf
│   │   │   │   └── upf
│   │   │   └── cln22ull
│   │   │       ├── cpf
│   │   │       ├── cpm
│   │   │       ├── ctl
│   │   │       ├── def
│   │   │       ├── gds
│   │   │       ├── lef
│   │   │       ├── lib
│   │   │       ├── parasitics
│   │   │       ├── post_v
│   │   │       ├── pre_v
│   │   │       ├── sdf
│   │   │       └── upf
│   │   ├── bfm
│   │   ├── cell_wrapper_table2rtl.csh
│   │   ├── cell_wrapper_table.csv
│   │   ├── def.v
│   │   ├── DUT.v
│   │   ├── filelist
│   │   │   ├── bcf
│   │   │   │   └── rtl_bcf.py
│   │   │   ├── pycache
│   │   │   │   └── rtl.cpython-37.pyc
│   │   │   ├── rtl.py
│   │   │   └── stub.py
│   │   ├── incisive
│   │   │   ├── coverage
│   │   │   │   └── all
│   │   │   └── wave
│   │   │       └── all

自己写个方法转成树结构，再传给思维导图渲染就行


text:
这个自定义的怎么设置后面的button？

RT  事件都没法串联啊 是不是没有提供给外面的接口  都要改你源码了

func wr_setLeftButton(title:String, titleColor:UIColor)
func wr_setRightButton(normal:UIImage, highlighted:UIImage)
func wr_setRightButton(image:UIImage)
func wr_setRightButton(title:String, titleColor:UIColor)

我设置了  就是他的事件触发不了

onClickRightButton

成功了 能做按钮偏移吗

暂不支持


text:
php版插入排序有问题？

换个数据，示例的排序会出错
function insertSort(&$data)
{
    $length = count($data);

    for ($i = 1; $i < $length; $i++) {
        $temp = $data[$i];
        for ($j = $i; $j > 0; $j--) {
            if ($data[$j - 1] > $temp) {
                $data[$j] = $data[$j - 1];
            } else {
                break;
            }
        }
        $data[$j] = $temp;
    }
}

$arr = [4, 5, 6, 1, 3, 2];
insertSort($arr);
print_r($arr);

没有问题啊


text:
can't open the pokemon storage

hey!
thanks for the great tutorial! i just have a short question since i seem unable to open the pokemon bag/ teleport on map where i need to usually press T on the keyboard. may i ask how you solved the issue?

Hey @thenerdikon,
Glad it helped you! Have you tried changing or checking your keyboard layout by pressing the F1 key in-game?

authors: thenerdikon wanhose

repo: wanhose/pokemon-reminiscencia-linux


text:
Symfony/console ^4.0 compatibility

Hi,
Is your library compatible with symfony/console:^4.0?
Is it possible for you to add it?
Thanks

Yes, updated requirement to ^3.4|^4.0 in dev-master.

authors: mveyrenc wapmorgan

repo: wapmorgan/PhpCodeFixer


text:
Defaults and arguments for the minimum and maximum message display width and height

Current situation for the defaults
Defaults for the minimum and maximum width and height of the message window are first of all specified in the fMsg form. This has become useless since the direct use if the fMsg form is not (no longer) supported. Each of the services Box, Dsply, ErrMsg, and Monitor comes with sensible defaults.
Requested improvement
All arguments of the _fMsg Dsply and Monitor service are no longer optional with default values.
Mixture of percentage and pt
The maximum message width is specified as percentage of the screen size but the minimum width is specified in pt. This is not at all obvious and thus rather confusing.
Possible improvement/simplification
The pt value's minimum is limited to the equivalent of 20%, the maximum is limited to the equivalent of 95% of the screen size. I e the percentage ranges from 20 to 95. Both can be specified by two arguments. A value < 100 is interpreted as percentage, a value > 100 as pt.

Note: Any value not named ...Percentage... is a pt value which is the final value for the message setup.
MsgWidthMaxLimitPercentage = 95
MsgWidthMinLimitPercentage = 25
MsgHeightMaxLimitPercentage = 85
MsgHeightMinLimitPercentage = 20
ScreenWidth = f(Metrics)
ScreenHeight = f(Metrics)
MsgWidthMaxLimit = ScreenWidth * (MsgWidthMaxLimitPercentage / 100)
MsgHeightMaxLimit = ScreenHeight * (MsgHeightMaxLimitPercentage / 100)
MsgWidthMinLimit = ScreenWidth * (MsgWidthMinLimitPercentage / 100)
MsgHeightMinLimit = ScreenHeight * (MsgHeightMinLimitPercentage / 100)
Notes

l = The value resulting from the services argument which is either the default or the specified value

l < 100 = pt, l > 100 = %

When l > 100
MsgWidthMax = Min(l, MsgWidthMaxLimit)
MsgWidthMin = Max(l, MsgWidthMinLimit)

MsgHeightMax = Min(l, MsgHeightMaxLimit)
MsgHeightMin = Max(l, MsgHeightMinLimit)

When l < 100 (the provided value has to be converted to pt first

The min/max limits and all defaults have become a metter of the mMsg module. All services adhere to the limit without raising an error when not met. Instead, any min/max specification which exceeds a limit is set baxk to the limit,

The procedure AssertWidthAndHeight when all arguments are provided with 0 returns:

the minimum width limit as the minimum width
the minimum height limit as the minimum height
the maximum width = the minimum width
the maximum height = the minimum height

repo: warbe-maker/Common-VBA-Message-Service


text:
I think sqlite3 supports check constraints

https://github.com/warmwaffles/exqlite/blob/cbd1e9c6eef74355c025158c341ccc678fe7446f/lib/ecto/adapters/exqlite/connection.ex#L510-L513
If you drill into the column definition you'll see that CHECK is allowed https://sqlite.org/lang_altertable.html
It doesn't support, exclude although if you can just negate the statement it might suffice.

So sqlite supports check constraints. But it does not support adding it to a column that exists. It has to be specified when the column is created.

repo: warmwaffles/exqlite


text:
use pyinstaller to build wormhole fat/standalone binary

tested with/on:

ubuntu linux 18.04 amd64
pyinstaller 3.3.1 (pip install pyinstaller)
python 3.6.5

There is a good chance it also works on FreeBSD, maybe also on macOS.
The change in __main__.py was required because otherwise it complains about __main__ not being a package when trying the dot-relative import.

Would be cool if some FreeBSD and macOS users could test this.
PyInstaller also supports Windows, but adapting for Windows might be a bit more work, not sure.

Cool, thanks!

For borg, we use vagrant to build platform binaries, in case you are interested you could grab it from there and build and release fat binaries for convenient download and usage.
See there:
https://github.com/borgbackup/borg/blob/1.1-maint/Vagrantfile
I sign releases so users can verify the binaries are as they were built, so a release looks like this:
https://github.com/borgbackup/borg/releases/tag/1.1.6
There are no windows binaries as borg does not support native windows, but pyinstaller supports building native windows binaries.

authors: ThomasWaldmann warner

repo: warner/magic-wormhole


text:
Create Feature page

Please review my code @wasimreja sir
issue no: #318

@wasimreja kindly review

repo: wasimreja/book-finder


text:
🛑 Waspito Platform is down

In 2f3b9e3, Waspito Platform (https://waspito.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Waspito Platform is back up in fb790ad.

repo: waspito/waspito-status


text:
Add support for continuous listening

Finish implementing and testing the SpeechToText.startListening function.

Holding up our production release.
We can help in any way.

Hi @dladouceur , we have continuous listening on our roadmap for beta release 0.2.0. The roadblock we are facing is that the Ogg library will not successfully packetize our compressed PCM audio. Using the PCM + OGG formats have decreased the audio sizes by at least 1/5.
In order to get continuous listening working while we figure out the issue about the OGG packets will be to simply stream through the WebSocket the PCM data captured. We will use the callback delegate you have found for returning progress.

+1
I also want to use continuous listening and want to request some additional functionality.
Issue is the right place to put my requests?

@dsato80: Yup! We have good visibility across our team for Github issues. If you'd like to request any additional functionality, please feel free to open an issue. We'll start a conversation and add it to our backlog. Looking forward to hearing your thoughts!
Feel free to submit pull requests, as well, if you'd like to dive into the code.

Copying @dsato80's excellent bug note from #146 for future reference here:

I found a bug in
https://github.com/watson-developer-cloud/ios-sdk/blob/master/WatsonDeveloperCloud/SpeechToText/SpeechToText.swift#L126-L140

if var audioState = audioState {
this statement copies self.audioState struct value to temporal audioState variable.
It causes EXC_BAD_ACCESS error because temporal variable is released when startListening is returned.

It is very helpful that I can prepare websocket connection before startListening.
For example SpeechToText.connect(completionHandler)
Currently the websocket connection takes a few seconds, it is critical for speech dialog system with STT.

SpeechToText.connect(completionHandler)
SpeechToText.disconnect(completionHandler)
SpeechToText.startListening()
SpeechToText.stopListening()

It is also helpful that I can send no-op message to prevent service timeout.
https://www.ibm.com/smarterplanet/us/en/ibmwatson/developercloud/doc/speech-to-text/using.shtml#timeouts

When using the WebSocket protocol, you can send a message with no-op as the action to keep the session alive.

This example requires a client "stop" and there is no way for we can detect silence on IOS ? So how can I know when to send "STOP". Please advise how to get final packet without the STOP or waiting 30 seconds?
In the third example, the client again sends audio that contains the string Name the Mayflower. As with the first example, the client sends the audio in two chunks in PCM format. This time, the client asks the server to send interim results for the transcription.
Client>> {"action": "start", "content-type": "audio/l16;rate=22050", "interim_results": true}
Server<< {"state":"listening"}
Client>>
Server<< {"results": [{"alternatives": [{"transcript": "name "}],"final": false}],"result_index": 0}
Server<< {"results": [{"alternatives": [{"transcript": "name may "}],"final": false}],"result_index": 0}
Client>>
Client>> {"action": "stop"}
Server<< {"results": [{"alternatives": [{"transcript": "name may flour "}],"final": false}],"result_index": 0}
Server<< {"results": [{"alternatives": [{"transcript": "name the mayflower "}],"final": true}],"result_index": 0}
Server<< {"state":"listening"}

I think this is just an example of STT API.
You can send STOP when you get the final result. The service detects the end of the phrase.
We need to dig into raw audio data to get silence on iOS. #152

By default, the service stops transcription at the first pause, which is denoted by a half-second of non-speech (typically silence), or when the stream terminates. This is referred to as an end of speech (EOS) incident.

Client>> {"action": "start", "content-type": "audio/l16;rate=22050", "interim_results": true}
Server<< {"state":"listening"}
Client>>
Server<< {"results": [{"alternatives": [{"transcript": "name "}],"final": false}],"result_index": 0}
Server<< {"results": [{"alternatives": [{"transcript": "name may "}],"final": false}],"result_index": 0}
Client>>
Server<< {"results": [{"alternatives": [{"transcript": "name may flour "}],"final": false}],"result_index": 0}
Server<< {"results": [{"alternatives": [{"transcript": "name the mayflower "}],"final": true}],"result_index": 0}
Client>> {"action": "stop"} <--------------------------
Server<< {"state":"listening"}

Hi, this is Mitul Golakiya from Neon Mobile, as @dladouceur mentioned above, we are using your SDK and trying to implement continuous listening for our production release. so we did some changes to current library like,

passing interim_results true
Do not write action=stop just after writing data chunk on socket (https://github.com/watson-developer-cloud/ios-sdk/blob/master/WatsonDeveloperCloud/SpeechToText/WatsonSocket.swift#L244).
Implemented continuous listening by using one third party class (AudioProcessor) which is doing all streaming stuff etc.

Here is the full process that we are doing:

call WatsonSocket.connectWebsocket() method to connect a socket (we made one custom method for it - WatsonSocket.sendContinuous())

Just after that, Start adding captured data to audioUploadQueue (but it will be suspended till we are not connected to IBM WebSocket)

Once web socket is connected and authenticated, queue will be set to suspended=false (SDK is already doing it)

By making suspended=false data queue will start uploading data

Everything is working fine till now, but by this process, sometimes we are getting results and sometimes not. And even if we stop speaking, we are not getting final=true. You mentioned above that, "The service detects the end of the phrase". But it's not. We are getting interim results but not getting final flag true. Socket waits for 30 seconds and does a timeout.
Here is all modified SDK files as well as our project files. Can you let us know if we are missing anything ?

Hi mitulgolakiya
The data buffer is allocated by the system and might be freed after adding to the queue.
I think, you need to copy the buffer data for the queue.
self.stt.appendData(data.copy() as! NSData)

The code includes your credential. So I recommend you to change the credential.

@dsato80  This solution is working and now we are getting final flag true with proper recognized text. Thanks.

We've been asked to redesign the API for SpeechToText and will be looking at it next week. We will probably write the service from scratch, but will draw from existing code and tests in the process.
We expect this to be a breaking change that will require client code to be modified. We'd love to get all of your feedback, though, after we push the updates!

Closed in favor of #168.

authors: dladouceur dsato80 glennrfisher mitulgolakiya rfdickerson

repo: watson-developer-cloud/ios-sdk


text:
Update Conversation models

Make sure our JSON models are consistent with the most recent release of the Conversation service. (Be sure to update the version-date and print out the JSON as strings, then compare.)

This issue is complete in the swift-3.0-remove-dependencies branch.


text:
Appears to solve #75 by modularizing parser

The work is not done, however, until more things are pushed into their own files, and overall structure is further considered

foldLeft appears to not be used, so delete it.

Split up the BinOp stuff since Not is going to be promoted into the middle of it, and who knows what else in the future.

Rename Function_ to Function and such. The previous naming was just to bypass jshint complaining.

Delete big comment in match.js

Shorten the names of things in match.js now that they are locally scoped and don't ened to worry about clashing so much.

WELP TIME TO MERGE THIS.

repo: wavebeem/squiggle


text:
[PUB-308 ] Enable multiplatform support for arm64 for AWS deployments

[ ] Needs to add changes for this PR: https://github.com/wavefrontHQ/wavefront-proxy/pull/644

Also, require changes on Jenkins after merging.

Hi, We need this change, currently, we were building the arm and AMD architecture by ourselves, but with the 10.7 version we are facing an issue while building arm architecture, can you please prioritize this?

https://github.com/wavefrontHQ/wavefront-proxy/pull/662

authors: hchhabada laullon

repo: wavefrontHQ/wavefront-proxy


text:
Fix concurrency issues and other optimizations

Fixes & Changes

[x] Connected-Connect race in Proxy Sender
[x] LineHandler Flush race/panic due to bufLen
[x] Flush in right order: ProxyConnHandler, LineHandler
[x] FlushAll added to LineHandler to flush all lines on Close()
[x] resetConnection close (Finalizer will close it but Conn lingers until GC'd)
[x] HistoLine preprocessing
[x] Heartbeater Ticker leak
[x] Unnecessary NewBufferString
[x] Signal channels: ProxyConnHandler, LineHandler, Heartbeater
[x]  Ticker refactoring in handlers
[x]  Readme edits
[x]  Initial testing framework for senders (partially automated)

chan struct{} is very common in Go. It's the recommended way to declare a channel carrying no data (i.e. just used for event signalling)

authors: mshvol prydin

repo: wavefrontHQ/wavefront-sdk-go


text:
no distance analyse will be show

Hi,
using Version 1.6
have to QSOs added but no data in the distance analayse.
What did I wrong ?

Can see the 2 QSOs in ../wavelog/index.php/statistics

Hello @ds2k5
You can check two things.

First make sure that the QSO does hava a valid grid locator and your station location does have a valid gridsquare aswell
Go to "Admin -> Update Country Files -> Second Tab "Distance Data""

Here you can Wavelog let recalculate missing distance data.
Try that.

Thanks a lot ! sorry my fault! did not set the gridsquare!

repo: wavelog/wavelog


text:
chore(master): release 1.1.77

:robot: I have created a release beep boop
1.1.77 (2023-09-07)
Bug Fixes

deps: update dependency wayofdev/laravel-webhook-client to v1.1.68 (f5cc8b4)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/wayofdev/laravel-stripe-webhooks/releases/tag/v1.1.77 :sunflower:

repo: wayofdev/laravel-stripe-webhooks


text:
Can you give a new website for the pretrained model?

The address in readme is none.

I have the same problem and sent email to author, but without feedback.

I have the same problem and sent email to author, but without feedback.

do you receive the author's reply? I also can't download the pretrained model from the disabled link.

I have the same problem and sent email to author, but without feedback.

do you receive the author's reply? I also can't download the pretrained model from the disabled link.

已收到！

authors: wangyanhaisea yileichen123 yyyyojiro

repo: wbenbihi/hourglasstensorlfow


text:
🛑 reader is down

In b78670f, reader (http://reader.wbsnpc.repl.co/#/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: reader is back up in 6c90e9c.

repo: wbsnpc/upptime


text:
Fix typing detection

Currently, when using the project with TypeScript, there are errors that the type definitions are not defined. This is because the package.json "types" property is misaligned with the build location of the index.d.ts file that contains the definitions.
This PR fixes #62

@wcandillon are we able to re-run circleci? This PR seems to be stuck but ideally we'd be able to merge it

Actually @wcandillon it seems that all of our PRs that I'm hoping to merge (starting w/ dependabot) are "tests passing" but "waiting for status to be reported" and I cannot therefore merge. Are you able to take a look at what's going on?

Thanks! Fixed it :)

authors: crutchcorn wcandillon

repo: wcandillon/react-native-responsive-ui


text:
Create make:datagrid command

Create a make:datagrid command which generates datagrid class, for example:
class CategoriesDataGrid extends DataGrid
{

    /**
     * CategoriesDataGrid constructor.
     */
    public function __construct()
    {
        $this->fromQuery(Category::query())
            ->column('id', 'ID', null, 50)
            ->column('name', 'Name')
    }
}

The command should take the following arguments:
name of the datagrid class
The command should take the following options

-m|--model name of the model to use
-f|--fields the name of the fields of the comma separated: 'field1,field2,field3' or 'field1:label1,field2:label2,field3:label3'

The generated datagrid class should be places in \App\DataGrids directory

Hi,
Go for it :)

Hello @daniel-werner! I created the pull request, let me know if it's ok

authors: daniel-werner thebatclaudio

repo: wdev-rs/laravel-datagrid


text:
i am using this time/date picker but the problem is that when i try to set value in my edittextview from onDateSet method it thrrows nullpointer exception . please help me because i am stuck witht his from last 3 days . please help me

it shows following error when i try to set value of editextview in my OnSetDate method
Process: com.example.anonymous.ghar_ka_khana, PID: 21651
java.lang.NullPointerException
at com.example.anonymous.ghar_ka_khana.Selling_item_detail.onDateSet(Selling_item_detail.java:158)
at com.wdullaer.materialdatetimepicker.date.DatePickerDialog.notifyOnDateListener(DatePickerDialog.java:1140)
at com.wdullaer.materialdatetimepicker.date.DatePickerDialog$1.onClick(DatePickerDialog.java:409)
at android.view.View.performClick(View.java:4466)
at android.view.View$PerformClick.run(View.java:18542)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5097)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
at dalvik.system.NativeStart.main(Native Method)
here is my code of the fragment in which date/time dialogue appears when the button is pressed
package com.example.anonymous.ghar_ka_khana;
import android.content.Context;
import java.util.Calendar;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.app.Fragment;
import android.support.annotation.RequiresApi;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.DatePicker;
import android.widget.EditText;
import android.widget.ImageButton;
import android.widget.TimePicker;
import com.wdullaer.materialdatetimepicker.date.DatePickerDialog;
import com.wdullaer.materialdatetimepicker.time.TimePickerDialog;
/**

A simple {@link Fragment} subclass.

Activities that contain this fragment must implement the

{@link Selling_item_detail.OnFragmentInteractionListener} interface

to handle interaction events.

Use the {@link Selling_item_detail#newInstance} factory method to

create an instance of this fragment.
*/
public class Selling_item_detail extends Fragment implements DatePickerDialog.OnDateSetListener,TimePickerDialog.OnTimeSetListener{
// TODO: Rename parameter arguments, choose names that match
// the fragment initialization parameters, e.g. ARG_ITEM_NUMBER
private static final String ARG_PARAM1 = "param1";
private static final String ARG_PARAM2 = "param2";
EditText timetext;
EditText datetext;
int hours;
View v;
// TODO: Rename and change types of parameters
private String mParam1;
private String mParam2;
private OnFragmentInteractionListener mListener;
public Selling_item_detail() {
// Required empty public constructor
}
/**

Use this factory method to create a new instance of
this fragment using the provided parameters.

@param param1 Parameter 1.
@param param2 Parameter 2.
@return A new instance of fragment Selling_item_detail.
*/
// TODO: Rename and change types and number of parameters
public static Selling_item_detail newInstance(String param1, String param2) {
Selling_item_detail fragment = new Selling_item_detail();
Bundle args = new Bundle();
args.putString(ARG_PARAM1, param1);
args.putString(ARG_PARAM2, param2);
fragment.setArguments(args);
return fragment;
}

@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
if (getArguments() != null) {
mParam1 = getArguments().getString(ARG_PARAM1);
mParam2 = getArguments().getString(ARG_PARAM2);
}
}
@RequiresApi(api = Build.VERSION_CODES.N)
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
// Inflate the layout for this fragment
v =inflater.inflate(R.layout.fragment_selling_item_detail, container, false);
timetext = (EditText)v.findViewById(R.id.time);
datetext = (EditText)v.findViewById(R.id.date);
 Log.i("timecontext",timetext+"");
 Log.i("datecontext",datetext+"");

 ImageButton calendarbutton =(ImageButton)v.findViewById(R.id.dateButton);
 calendarbutton.setOnClickListener(new View.OnClickListener() {
     @Override
     public void onClick(View view) {
         Calendar now = Calendar.getInstance();
         DatePickerDialog dpd = DatePickerDialog.newInstance(
                 new Selling_item_detail(),
                 now.get(Calendar.YEAR),
                 now.get(Calendar.MONTH),
                 now.get(Calendar.DAY_OF_MONTH)
         );
         dpd.show(getFragmentManager(), "Datepickerdialog");
     }
 });

 ImageButton timebutton =(ImageButton)v.findViewById(R.id.timeButton);
 timebutton.setOnClickListener(new View.OnClickListener() {
     @Override
     public void onClick(View view)
     {
         Calendar now = Calendar.getInstance();
         TimePickerDialog dpd = TimePickerDialog.newInstance(
                 new Selling_item_detail(),
                 now.get(Calendar.HOUR_OF_DAY),
                 now.get(Calendar.MINUTE),
                 now.isLenient()
         );
         dpd.show(getFragmentManager(), "Datepickerdialog");
     }
 });

 return  v;

}
// TODO: Rename method, update argument and hook method into UI event
public void onButtonPressed(Uri uri) {
if (mListener != null) {
mListener.onFragmentInteraction(uri);
}
}
@Override
public void onAttach(Context context) {
super.onAttach(context);
if (context instanceof OnFragmentInteractionListener) {
mListener = (OnFragmentInteractionListener) context;
} else {
throw new RuntimeException(context.toString()
+ " must implement OnFragmentInteractionListener");
}
}
@Override
public void onDetach() {
super.onDetach();
mListener = null;
}
@Override
public void onDateSet(DatePickerDialog view, int year, int monthOfYear, int dayOfMonth)
{
 datetext.setText("umair");

//  hours=year;
 Log.i("tareekh",dayOfMonth+"-"+monthOfYear+"-"+year);

}
@Override
public void onTimeSet(TimePickerDialog view, int hourOfDay, int minute, int second)
{
//  timetext.setText(hourOfDay+":"+second+":"+minute);
Log.i("waqt",hourOfDay+":"+second+":"+minute);
}
/**

This interface must be implemented by activities that contain this
fragment to allow an interaction in this fragment to be communicated
to the activity and potentially other fragments contained in that
activity.

See the Android Training lesson <a href=
"http://developer.android.com/training/basics/fragments/communicating.html"

Communicating with Other Fragments for more information.
*/
public interface OnFragmentInteractionListener {
// TODO: Update argument type and name
void onFragmentInteraction(Uri uri);
}
}

here is the xml of that fragment

<LinearLayout
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    android:padding="24dp">

    <FrameLayout
        android:layout_width="match_parent"
        android:layout_height="220dp"
        >

        <com.mikepenz.materialdrawer.view.BezelImageView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:src="@drawable/header"
            android:id="@+id/seelingfoodimage"/>

        <com.scalified.fab.ActionButton
            android:id="@+id/cambutton"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="bottom|start"
            fab:button_color="#ffffff"
            fab:button_colorPressed="#FF0000"
            fab:image="@drawable/cam"
            fab:image_size="34dp" />

    </FrameLayout>

    <com.github.florent37.materialtextfield.MaterialTextField
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginTop="10dp"
        app:mtf_openKeyboardOnFocus="true"
        app:mtf_labelColor="#666"
        app:mtf_image="@drawable/food"
        >

        <EditText
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:id="@+id/foodname"
            android:hint="Foodname"
            android:layout_marginTop="10dp"
            android:textColor="#333"
            android:textSize="15sp" />

    </com.github.florent37.materialtextfield.MaterialTextField>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginTop="10dp"
        android:orientation="horizontal">

        <com.github.florent37.materialtextfield.MaterialTextField
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            app:mtf_labelColor="#666"
            android:id="@+id/cal"
            app:mtf_image="@drawable/calendar"
            app:mtf_openKeyboardOnFocus="true"
            >

            <EditText
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:id="@+id/date"
                android:hint="Selling Location"
                android:textColor="#333"
                android:textSize="15sp" />

        </com.github.florent37.materialtextfield.MaterialTextField>

        <ImageButton
            android:id="@+id/dateButton"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginTop="40dp"
            android:layout_marginLeft="5dp"
            android:src="@drawable/calendar"/>

    </LinearLayout>

    <!--com.github.florent37.materialtextfield.MaterialTextField
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:mtf_labelColor="#666"
        app:mtf_image="@drawable/calendar"
        android:layout_marginTop="10dp"
        app:mtf_openKeyboardOnFocus="true"
        >

        <EditText
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:id="@+id/date"
            android:layout_marginTop="10dp"
            android:hint="Date"
            android:textColor="#333"
            android:textSize="15sp" />

    </com.github.florent37.materialtextfield.MaterialTextField-->

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginTop="10dp"
        android:orientation="horizontal">

        <com.github.florent37.materialtextfield.MaterialTextField
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            app:mtf_labelColor="#666"
            app:mtf_image="@drawable/time"
            app:mtf_openKeyboardOnFocus="true"
            >

            <EditText
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:id="@+id/time"
                android:hint="Selling Location"
                android:textColor="#333"
                android:textSize="15sp" />

        </com.github.florent37.materialtextfield.MaterialTextField>

        <ImageButton
            android:id="@+id/timeButton"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginTop="40dp"
            android:layout_marginLeft="5dp"
            android:src="@drawable/time"/>

    </LinearLayout>

    <!--com.github.florent37.materialtextfield.MaterialTextField
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:mtf_labelColor="#666"
        android:layout_marginTop="10dp"
        app:mtf_image="@drawable/time"
        app:mtf_openKeyboardOnFocus="true"
        >

        <EditText
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:id="@+id/mail"
            android:hint="Time"
            android:layout_marginTop="10dp"
            android:textColor="#333"
            android:textSize="15sp" />

    </com.github.florent37.materialtextfield.MaterialTextField-->

    <com.github.florent37.materialtextfield.MaterialTextField
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:mtf_labelColor="#666"
        android:layout_marginTop="10dp"
        app:mtf_image="@drawable/plate"
        app:mtf_openKeyboardOnFocus="true"
        >

        <EditText
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:id="@+id/plate"
            android:hint="Number Of Plates"
            android:layout_marginTop="10dp"
            android:textColor="#333"
            android:textSize="15sp" />

    </com.github.florent37.materialtextfield.MaterialTextField>

    <com.github.florent37.materialtextfield.MaterialTextField
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:mtf_labelColor="#666"
        android:layout_marginTop="10dp"
        app:mtf_image="@drawable/money"
        app:mtf_openKeyboardOnFocus="true"
        >

        <EditText
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:id="@+id/money"
            android:hint="Price Per Plate"
            android:layout_marginTop="10dp"
            android:textColor="#333"
            android:textSize="15sp" />

    </com.github.florent37.materialtextfield.MaterialTextField>

<LinearLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_marginTop="10dp"
    android:orientation="horizontal">

    <com.github.florent37.materialtextfield.MaterialTextField
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:mtf_labelColor="#666"
        app:mtf_image="@drawable/location"
        app:mtf_openKeyboardOnFocus="true"
        >

        <EditText
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:id="@+id/location"
            android:hint="Selling Location"
            android:textColor="#333"
            android:textSize="15sp" />

    </com.github.florent37.materialtextfield.MaterialTextField>

    <EditText
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:id="@+id/umair"/>

    <ImageButton
        android:id="@+id/mapButton"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginTop="40dp"
        android:layout_marginLeft="5dp"
        android:src="@drawable/map"/>

</LinearLayout>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="horizontal"
        android:layout_marginTop="20dp">

        <Button
            android:layout_width="0dp"
            android:layout_weight="1"
            android:layout_height="wrap_content"
            android:text="OK"
            android:textColor="#ffffff"
            android:id="@+id/ok"
            android:background="@drawable/rounded_button_selector" />
        <LinearLayout
            android:layout_width="0dp"
            android:layout_weight="1"
            android:layout_height="wrap_content">

        </LinearLayout>

        <Button
            android:layout_width="0dp"
            android:layout_weight="1"
            android:layout_height="wrap_content"
            android:text="Cancel"
            android:textColor="#ffffff"
            android:id="@+id/cancel"
            android:background="@drawable/rounded_button_selector" />

    </LinearLayout>

</LinearLayout>

while my gradle is like this
apply plugin: 'com.android.application'
android {
compileSdkVersion 26
defaultConfig {
applicationId "com.example.anonymous.ghar_ka_khana"
minSdkVersion 16
targetSdkVersion 26
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
implementation 'com.google.firebase:firebase-database:11.8.0'
//11.0.4
implementation 'com.android.support:support-v4:26.1.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
implementation 'com.google.android.gms:play-services:11.8.0'
implementation 'com.firebaseui:firebase-ui-auth:3.1.3'
// FirebaseUI for Firebase Auth
implementation 'com.firebaseui:firebase-ui-database:3.1.3'
// FirebaseUI for Firebase Realtime Database
implementation 'com.firebaseui:firebase-ui-firestore:3.1.3'
// FirebaseUI for Cloud Firestore
compile 'com.google.firebase:firebase-firestore:11.8.0'
//Firestore dependency
implementation 'com.firebaseui:firebase-ui-storage:3.1.3'
// FirebaseUI for Cloud Storage
implementation 'com.facebook.android:facebook-login:4.29.0'
// Required only if Facebook login support is required
// Find the latest Facebook SDK releases here: https://goo.gl/Ce5L94
implementation('com.twitter.sdk.android:twitter-core:3.1.1') { transitive = true }
// Find the latest Twitter SDK releases here: https://goo.gl/E5wZvQ
implementation 'de.hdodenhof:circleimageview:2.2.0'
implementation 'com.github.florent37:materialtextfield:1.0.7'
compile 'com.scalified:fab:1.1.3'
compile 'com.google.firebase:firebase-storage:11.8.0'
compile 'com.google.firebase:firebase-auth:11.8.0'
compile 'com.github.glomadrian:Grav:1.1'
implementation('com.mikepenz:materialdrawer:6.0.6@aar') {
transitive = true
}
compile 'com.wdullaer:materialdatetimepicker:3.5.1'
implementation 'com.android.support:design:26.1.0'
implementation 'com.android.support:recyclerview-v7:26.1.0'
implementation 'com.android.support:support-annotations:26.1.0'
}
apply plugin: 'com.google.gms.google-services'
configurations.all {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
def requested = details.requested
if (requested.group == 'com.android.support') {
if (!requested.name.startsWith("multidex")) {
details.useVersion '26.1.0'
}
}
}
}

This is not a bug with this library. I just don't have the time to debug everybody's code just because they happened to use this library.
I suggest attaching a debugger and looking at the state of your class when onDateSet gets triggered.

ok then let me debug it now and then i will tell you about status

repo: wdullaer/MaterialDateTimePicker


text:
Rewrite helm operator to use same git code as fluxd

The go-git package seems to introduce a host of problems, especially
with SSH, that are obviated by using the git binary.
Given a couple of modest additions to github.com/weaveworks/flux/git,
we can use that instead. Namely: read-only repos, and repo "exports"
(that is, clones that come with only the ability to look at the
files). Those changes are introduced in #1238.
It also turns out that it's possible to simplify the chartsync and
releasesync packages. Given the whole picture in the existing code,
it's possible to boild it down to two mechanically simple processes:

chartsync looks for the charts used by FluxHelmRelease resources,
and checks whether they've changed since the last commit;
releasesync installs any FluxHelmRelease resources that
don't have corresponding releases, and upgrades any that do and
differ.

(In fact, just the latter would be fine since new commits would result
in release diffs; but it's more eventual than having both).
Since these are now fairly compact, I've just merged them into the
chartsync package. I've removed the releasesync_tests.go here, since
it tested internal machinery that no longer exists, but I ought to
replace the test coverage forthwith.
(Once #1238 is merged, I'm going to play the 'it's an alpha' card and merge this too. Comments welcome in the mean time.)

Can we expose the ReadOnly setting to fluxd as well? It would be useful to be able to run read-only fluxes as well. Maybe that deserves a separate PR, though.

Can we expose the ReadOnly setting to fluxd as well? It would be useful to be able to run read-only fluxes as well.

I had that half in mind as I wrote this stuff -- it'd be cool to have, say, --git-readonly make it just sync things, and not run automation etc. It would require a bit of finessing though, since for example, we use a tag in the upstream repo to mark which commits we've seen.

authors: justinbarrick squaremo

repo: weaveworks/flux


text:
Resource view - reconcile inconsistencies between metrics of different topologies

As @2opremio has predicted, having multiple sources of truths for the nodes' metrics between hosts, containers and processes topologies is making some processes in the resource view seem as if they were consuming more resources than their parent containers.

To prevent resource boxes rendering overflows (and overlaps) in such cases, a temporary hack is used that renormalizes the total length of the overflown children to perfectly fit on top of their parent. This is just a visual fix though and it doesn't affect the displayed metric info in any way.
A proper solution would probably require backend to draw all the metrics info from a single source so that:

the total resource utilization of children could never exceed the parent's
resource capacities info was (more) consistent between different topologies

The underlying problem is #1133.

authors: fbarl rade

repo: weaveworks/scope


text:
Upgrade Go to 1.9.2

I came up with some benchmarks that say it goes a bit faster, but the timings are highly variable from one minute to the next so without spending an hour trying to tie them down let's just upgrade because Go 1.9 is better than Go 1.8.
Right after a release (1.6.7) is a good time to upgrade.

I am seeing a bunch of linker warnings
time env GOGC=off CGO_ENABLED=1  go build -i -ldflags "-extldflags \"-static\" -X main.version=3db91bce -s -w" -tags 'netgo unsafe' -o prog/scope ./prog
# github.com/weaveworks/scope/prog
/tmp/go-link-984278339/000005.o: In function `mygetgrouplist':
/tmp/workdir/go/src/os/user/getgrouplist_unix.go:15: warning: Using 'getgrouplist' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/tmp/go-link-984278339/000005.o: In function `mygetgrgid_r':
/tmp/workdir/go/src/os/user/cgo_lookup_unix.go:38: warning: Using 'getgrgid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/tmp/go-link-984278339/000005.o: In function `mygetgrnam_r':
/tmp/workdir/go/src/os/user/cgo_lookup_unix.go:43: warning: Using 'getgrnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/tmp/go-link-984278339/000005.o: In function `mygetpwnam_r':
/tmp/workdir/go/src/os/user/cgo_lookup_unix.go:33: warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/tmp/go-link-984278339/000005.o: In function `mygetpwuid_r':
/tmp/workdir/go/src/os/user/cgo_lookup_unix.go:28: warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libpcap.a(nametoaddr.o): In function `pcap_nametoaddrinfo':
(.text+0x85): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libpcap.a(nametoaddr.o): In function `pcap_nametoaddr':
(.text+0x5): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libpcap.a(nametoaddr.o): In function `pcap_nametonetaddr':
(.text+0xb5): warning: Using 'getnetbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libpcap.a(nametoaddr.o): In function `pcap_nametoproto':
(.text+0x305): warning: Using 'getprotobyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libpcap.a(nametoaddr.o): In function `pcap_nametoport':
(.text+0xfb): warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking

We get very similar messages in the current Cortex build (Go 1.9.1) e.g. https://circleci.com/gh/weaveworks/cortex/1493

According to golang/go#21421 this works as designed; the warnings were there in earlier golangs but got suppressed.

authors: bboreham rade


text:
Naïve process walker for Darwin

This fixes the regression where process names weren't appearing for Darwin probes. Makes testing easier.

OK, I think I addressed your feedback...

Good?

Yeah LGTM.  Please squash, and hold until David's done the release.

Of course.

authors: peterbourgon tomwilkie


text:
Link to license scan report instead of the project

Closes: #826

What changed?
Updated the README to point to the license scan report instead of the project

Why?
Linking to the project requires users to log in to see the report.  Linking to the report allows them to see a preview of the report and download a complete version.

How did you test it?
Previewed the readme file, copied the link to the report, opened an incognito window, pasted the link, viewed and downloaded the report

Release notes
No

Documentation Changes
None - other than this is an update to the README.

LGTM, the styling of the widget is a bit weird but 🤷

unfortunately, that's the text they give us.  I wonder if the watermark is because we are using the free account.  🤫

repo: weaveworks/weave-gitops


text:
reduce IP space fragmentation

The IPAM IP space can become very fragmented. In extremis we end up with one token per IP address. Which makes IPAM expensive for both CPU and bandwidth.
#1159 brought up one scenario that might introduce extreme fragmentation.

I can't see a way of guaranteeing we don't get fragmented, which therefore means to reduce fragmentation you need to remove entries in the ring - which means we need to reintroduce tombstones.
Some of the original ideas were to periodically "give up" any empty range you might own to your previous owner by tombstoning your entry.  Another was to periodically tombstone any entries you own which split spaces you own.

authors: rade tomwilkie

repo: weaveworks/weave


text:
sporadic TestGossipSurrogate failure

Seen in CI, e.g.
https://circleci.com/gh/weaveworks/weave/3929
https://circleci.com/gh/weaveworks/weave/3894
Reproduced locally as well, if run enough times.
The likely cause is the insufficiently accurate emulation of connections with mockConnection, brought to the fore by the reduced gossiping post #1736.

Unfortunately the change in #1767 has not fixed this. We saw a test failure in #1782, and I can reproduce the failure locally by running
go test -c -o mesh-test ./mesh/
for i in $(seq 1 500); do if ! ./mesh-test -test.run TestGossipSurrogate; then echo "failed at $i"; break; fi done

with the patch
diff --git a/mesh/gossip_test.go b/mesh/gossip_test.go
index 32ab647..c577fec 100644
--- a/mesh/gossip_test.go
+++ b/mesh/gossip_test.go
@@ -33,11 +33,13 @@ func (conn *mockGossipConnection) SendProtocolMsg(protocolMsg ProtocolMsg) {
 }

 func (conn *mockGossipConnection) Connect() {
+       log.Printf("connecting %s->%s", conn.router.Ourself.Name, conn.dest.Ourself.Name)
        conn.router.Ourself.handleAddConnection(conn)
        conn.router.Ourself.handleConnectionEstablished(conn)
 }

 func (conn *mockGossipConnection) Start() {
+       log.Printf("receiving  %s->%s", conn.router.Ourself.Name, conn.dest.Ourself.Name)
        close(conn.start)
 }

diff --git a/mesh/peers.go b/mesh/peers.go
index 8fc0761..8d54bfa 100644
--- a/mesh/peers.go
+++ b/mesh/peers.go
@@ -324,7 +324,7 @@ func (peers *Peers) ApplyUpdate(update []byte) (PeerNameSet, PeerNameSet, error)
        if err != nil {
                return nil, nil, err
        }
-
+       log.Printf("%s topology update: %v - %v", peers.ourself.Name, decodedUpdate, decodedConns)
        // Add new peers
        for name, newPeer := range newPeers {
                peers.byName[name] = newPeer

a successful run looks like this:
INFO: 2015/12/15 13:41:55.926333 connecting 01:00:00:01:00:00->02:00:00:02:00:00
INFO: 2015/12/15 13:41:55.926525 ->[|02:00:00:02:00:00(nick)]: connection added (new peer)
INFO: 2015/12/15 13:41:55.926568 ->[|02:00:00:02:00:00(nick)]: connection fully established
INFO: 2015/12/15 13:41:55.926590 receiving  02:00:00:02:00:00->01:00:00:01:00:00
INFO: 2015/12/15 13:41:55.926603 connecting 02:00:00:02:00:00->01:00:00:01:00:00
INFO: 2015/12/15 13:41:55.926643 ->[|01:00:00:01:00:00(nick)]: connection added (new peer)
INFO: 2015/12/15 13:41:55.926677 ->[|01:00:00:01:00:00(nick)]: connection fully established
INFO: 2015/12/15 13:41:55.926698 receiving  01:00:00:01:00:00->02:00:00:02:00:00
INFO: 2015/12/15 13:41:55.926717 connecting 03:00:00:03:00:00->02:00:00:02:00:00
INFO: 2015/12/15 13:41:55.926740 ->[|02:00:00:02:00:00(nick)]: connection added (new peer)
INFO: 2015/12/15 13:41:55.926765 ->[|02:00:00:02:00:00(nick)]: connection fully established
INFO: 2015/12/15 13:41:55.926789 receiving  02:00:00:02:00:00->03:00:00:03:00:00
INFO: 2015/12/15 13:41:55.926803 connecting 02:00:00:02:00:00->03:00:00:03:00:00
INFO: 2015/12/15 13:41:55.926824 ->[|03:00:00:03:00:00(nick)]: connection added (new peer)
INFO: 2015/12/15 13:41:55.926850 ->[|03:00:00:03:00:00(nick)]: connection fully established
INFO: 2015/12/15 13:41:55.926867 receiving  03:00:00:03:00:00->02:00:00:02:00:00
INFO: 2015/12/15 13:41:55.927360 03:00:00:03:00:00 topology update: [01:00:00:01:00:00(nick) 03:00:00:03:00:00(nick) 02:00:00:02:00:00(nick)] - [[] [] [{[1 0 0 1 0 0]  false true} {[3 0 0 3 0 0]  false true}]]
INFO: 2015/12/15 13:41:55.927707 02:00:00:02:00:00 topology update: [01:00:00:01:00:00(nick) 02:00:00:02:00:00(nick)] - [[{[2 0 0 2 0 0]  false true}] []]
INFO: 2015/12/15 13:41:55.928013 02:00:00:02:00:00 topology update: [01:00:00:01:00:00(nick)] - [[{[2 0 0 2 0 0]  false true}]]
INFO: 2015/12/15 13:41:55.928321 01:00:00:01:00:00 topology update: [02:00:00:02:00:00(nick) 01:00:00:01:00:00(nick)] - [[{[1 0 0 1 0 0]  false true} {[3 0 0 3 0 0]  false true}] [{[2 0 0 2 0 0]  false true}]]
INFO: 2015/12/15 13:41:55.928630 03:00:00:03:00:00 topology update: [01:00:00:01:00:00(nick)] - [[{[2 0 0 2 0 0]  false true}]]
INFO: 2015/12/15 13:41:55.928935 01:00:00:01:00:00 topology update: [02:00:00:02:00:00(nick)] - [[{[1 0 0 1 0 0]  false true} {[3 0 0 3 0 0]  false true}]]
INFO: 2015/12/15 13:41:55.929219 02:00:00:02:00:00 topology update: [03:00:00:03:00:00(nick) 02:00:00:02:00:00(nick)] - [[{[2 0 0 2 0 0]  false true}] [{[1 0 0 1 0 0]  false true} {[3 0 0 3 0 0]  false true}]]
INFO: 2015/12/15 13:41:55.929474 01:00:00:01:00:00 topology update: [03:00:00:03:00:00(nick)] - [[{[2 0 0 2 0 0]  false true}]]
INFO: 2015/12/15 13:41:55.929695 03:00:00:03:00:00 topology update: [02:00:00:02:00:00(nick)] - [[{[1 0 0 1 0 0]  false true} {[3 0 0 3 0 0]  false true}]]
INFO: 2015/12/15 13:41:55.929736 02:00:00:02:00:00 topology update: [03:00:00:03:00:00(nick)] - [[{[2 0 0 2 0 0]  false true}]]
INFO: 2015/12/15 13:41:55.930098 03:00:00:03:00:00 topology update: [01:00:00:01:00:00(nick)] - [[{[2 0 0 2 0 0]  false true}]]
INFO: 2015/12/15 13:41:55.930618 01:00:00:01:00:00 topology update: [03:00:00:03:00:00(nick)] - [[{[2 0 0 2 0 0]  false true}]]
INFO: 2015/12/15 13:41:55.930962 [gossip Test]: created surrogate channel
INFO: 2015/12/15 13:41:55.931926 02:00:00:02:00:00 topology update: [03:00:00:03:00:00(nick) 02:00:00:02:00:00(nick) 01:00:00:01:00:00(nick)] - [[{[2 0 0 2 0 0]  false true}] [{[1 0 0 1 0 0]  false true} {[3 0 0 3 0 0]  false true}] [{[2 0 0 2 0 0]  false true}]]
INFO: 2015/12/15 13:41:55.934379 02:00:00:02:00:00 topology update: [01:00:00:01:00:00(nick) 02:00:00:02:00:00(nick) 03:00:00:03:00:00(nick)] - [[{[2 0 0 2 0 0]  false true}] [{[1 0 0 1 0 0]  false true} {[3 0 0 3 0 0]  false true}] [{[2 0 0 2 0 0]  false true}]]
PASS

and a failed run
INFO: 2015/12/15 13:41:55.971263 connecting 01:00:00:01:00:00->02:00:00:02:00:00
INFO: 2015/12/15 13:41:55.971824 ->[|02:00:00:02:00:00(nick)]: connection added (new peer)
INFO: 2015/12/15 13:41:55.972088 ->[|02:00:00:02:00:00(nick)]: connection fully established
INFO: 2015/12/15 13:41:55.972197 receiving  02:00:00:02:00:00->01:00:00:01:00:00
INFO: 2015/12/15 13:41:55.972253 connecting 02:00:00:02:00:00->01:00:00:01:00:00
INFO: 2015/12/15 13:41:55.972326 ->[|01:00:00:01:00:00(nick)]: connection added (new peer)
INFO: 2015/12/15 13:41:55.972786 ->[|01:00:00:01:00:00(nick)]: connection fully established
INFO: 2015/12/15 13:41:55.972919 receiving  01:00:00:01:00:00->02:00:00:02:00:00
INFO: 2015/12/15 13:41:55.973083 connecting 03:00:00:03:00:00->02:00:00:02:00:00
INFO: 2015/12/15 13:41:55.973169 ->[|02:00:00:02:00:00(nick)]: connection added (new peer)
INFO: 2015/12/15 13:41:55.973471 ->[|02:00:00:02:00:00(nick)]: connection fully established
INFO: 2015/12/15 13:41:55.973684 receiving  02:00:00:02:00:00->03:00:00:03:00:00
INFO: 2015/12/15 13:41:55.973726 connecting 02:00:00:02:00:00->03:00:00:03:00:00
INFO: 2015/12/15 13:41:55.973780 ->[|03:00:00:03:00:00(nick)]: connection added (new peer)
INFO: 2015/12/15 13:41:55.973858 ->[|03:00:00:03:00:00(nick)]: connection fully established
INFO: 2015/12/15 13:41:55.973913 receiving  03:00:00:03:00:00->02:00:00:02:00:00
INFO: 2015/12/15 13:41:55.974510 02:00:00:02:00:00 topology update: [01:00:00:01:00:00(nick) 02:00:00:02:00:00(nick)] - [[{[2 0 0 2 0 0]  false true}] []]
INFO: 2015/12/15 13:41:55.974750 01:00:00:01:00:00 topology update: [02:00:00:02:00:00(nick) 01:00:00:01:00:00(nick)] - [[{[1 0 0 1 0 0]  false true}] []]
INFO: 2015/12/15 13:41:55.975013 02:00:00:02:00:00 topology update: [03:00:00:03:00:00(nick)] - [[{[2 0 0 2 0 0]  false true}]]
INFO: 2015/12/15 13:41:55.975193 01:00:00:01:00:00 topology update: [02:00:00:02:00:00(nick)] - [[{[1 0 0 1 0 0]  false true}]]
INFO: 2015/12/15 13:41:55.975472 03:00:00:03:00:00 topology update: [01:00:00:01:00:00(nick) 03:00:00:03:00:00(nick) 02:00:00:02:00:00(nick)] - [[{[2 0 0 2 0 0]  false true}] [{[2 0 0 2 0 0]  false true}] [{[1 0 0 1 0 0]  false true} {[3 0 0 3 0 0]  false true}]]
INFO: 2015/12/15 13:41:55.975585 02:00:00:02:00:00 topology update: [01:00:00:01:00:00(nick)] - [[{[2 0 0 2 0 0]  false true}]]
INFO: 2015/12/15 13:41:55.976001 03:00:00:03:00:00 topology update: [01:00:00:01:00:00(nick)] - [[{[2 0 0 2 0 0]  false true}]]
INFO: 2015/12/15 13:41:55.976499 01:00:00:01:00:00 topology update: [03:00:00:03:00:00(nick)] - [[{[2 0 0 2 0 0]  false true}]]
INFO: 2015/12/15 13:41:55.976572 Removed unreachable peer 03:00:00:03:00:00(nick)
INFO: 2015/12/15 13:41:55.976987 02:00:00:02:00:00 topology update: [03:00:00:03:00:00(nick) 02:00:00:02:00:00(nick)] - [[{[2 0 0 2 0 0]  false true}] []]
INFO: 2015/12/15 13:41:55.977575 03:00:00:03:00:00 topology update: [01:00:00:01:00:00(nick)] - [[{[2 0 0 2 0 0]  false true}]]
INFO: 2015/12/15 13:41:55.978026 03:00:00:03:00:00 topology update: [02:00:00:02:00:00(nick)] - [[{[1 0 0 1 0 0]  false true} {[3 0 0 3 0 0]  false true}]]
INFO: 2015/12/15 13:41:55.978332 01:00:00:01:00:00 topology update: [02:00:00:02:00:00(nick)] - [[{[1 0 0 1 0 0]  false true} {[3 0 0 3 0 0]  false true}]]

Note that these share the same prefix - all the connection establishment is done before any topology gossip gets processed. This isn't always the case, i.e. there are successful and failed traces with some interleaving, but I chose the above precisely because of their similarity.

I have figured out what is going on and raised #1765.


text:
Break out of kube rm-peers loop if nothing changes

Avoid getting into an infinite loop if some of the logic or underlying data is bad
#3310 has an example of one infinite loop:
DEBU: 2018/06/05 11:15:32.615919 [kube-peers] Preparing to remove disappeared peer {46:f4:4b:41:dd:11 ip-10-83-124-112.ec2.internal}
DEBU: 2018/06/05 11:15:32.615928 [kube-peers] Existing annotation 46:f4:4b:41:dd:11
DEBU: 2018/06/05 11:15:32.815841 [kube-peers] Nodes that have disappeared: map[ip-10-83-124-112.ec2.internal:{46:f4:4b:41:dd:11 ip-10-83-124-112.ec2.internal}]
DEBU: 2018/06/05 11:15:32.815867 [kube-peers] Preparing to remove disappeared peer {46:f4:4b:41:dd:11 ip-10-83-124-112.ec2.internal}
DEBU: 2018/06/05 11:15:32.815877 [kube-peers] Existing annotation 46:f4:4b:41:dd:11
DEBU: 2018/06/05 11:15:33.016143 [kube-peers] Nodes that have disappeared: map[ip-10-83-124-112.ec2.internal:{46:f4:4b:41:dd:11 ip-10-83-124-112.ec2.internal}]
DEBU: 2018/06/05 11:15:33.016172 [kube-peers] Preparing to remove disappeared peer {46:f4:4b:41:dd:11 ip-10-83-124-112.ec2.internal}

Edit: I added another commit to avoid the only way I can see to get into that situation.

Moved to 2.3 branch since it's a bug users have seen for real.


text:
Refactor login service with gokit

First take at implementing go ms a la go-kit.  Thinking we may want to split out the function/logic making external call(s) to other services. This is only a single call now, but will probably grow (e.g. when register is properly implemented)

A few nits but with those fixed LGTM

authors: idcrosby peterbourgon

repo: weaveworks/weaveDemo


text:
Define format of data type 'date'

something like 'yyyy-mm-dd'

Is there not an ISO standard that we should adopt?

Date, or date and time?
Date:  2017-11-01
Combined date and time in UTC: 2017-11-01T14:28:37+00:00

@laura-ham You are right, datetime format like you said is used: 2017-11-01T14:28:37+00:00

authors: bobvanluijt johnciocoiu laura-ham

repo: weaviate/weaviate-semantic-schemas


text:
Url with params (:id) doesn't work

We get redirected if we use :token for example

Should work again!

authors: RichardLindhout arjendevos

repo: web-ridge/react-native-ridge-navigation


text:
my node is not incease

it's not working anymore? my node isn't incease

same here, the node is connected but not in the dashboard

same here.
it seems like the node providers changed something... does anybody experience the same on grass ?

authors: Bekloppten dimasdamargalih dvorakkk


text:
Implement the NoteAccount and NoteManager

Summary of changes

Adds the NoteAccount: A keypair that allows the user to store notes encrypted in the browser.
Adds the NoteManager: An object which manages the state of notes for a connected NoteAccount. It is passed to the api-provider on construction for automated note selection / storage on deposit and withdraw.

Reference issue to close (if applicable)

Code Checklist
https://user-images.githubusercontent.com/16654909/184444728-1fb2ff5e-5ed7-4cbb-a4c8-402c6ab43ce5.mov

[x] Tested
[ ] Documented

@nepoche please update the "Create with MetaMask" to "Login with MetaMask"

Conflicts to fix and then we can merge this @nepoche when you're up.

authors: drewstone dutterbutter nepoche

repo: webb-tools/webb-dapp


text:
Add option to ignore blinking cursors / carets

Is your feature request related to a problem? Please describe.
Cannot properly compare visual info on inputs due to a blinking cursor on most inputs
Describe the solution you'd like
A simple option that can be defaulted in the config or passed to a certain check command as a boolean value to "ignore" the blinking cursor. Potentially enhance type CheckScreenMethodOptions to allow boolean property ignoreCarets that styles every input with caretColor: 'transparent' style.
Describe alternatives you've considered
With WDIO, set element's s caretColor style to transparent before comparing:
await browser.execute(
    function (this: Document, e: HTMLElement | WebdriverIO.Element | ChainablePromiseElement) {
      (e as HTMLElement).style.caretColor = 'transparent'
    },
    await email
  )

Additional context
N/A

Thanks @nextlevelbeard , something I'll add in one of the next releases

This will be released with https://github.com/webdriverio/visual-testing/pull/688

@nextlevelbeard
It's fixed in version 6.3.0

authors: nextlevelbeard wswebcreation

repo: webdriverio/visual-testing


text:
Simplify install instructions

Composer can create composer.json if missing, and letting
composer pick the latest version by itself is more future proof than
hardcoding a version that need to be changed on each release.

Coverage remained the same at 93.717% when pulling 070ab7d4302e1a03ac1755f6fc013161d71788a9 on PowerKiKi:patch-1 into 7ef9f9167296e8e25c53bc4cc9c2e33b735aaa63 on webonyx:master.

Thanks!

authors: PowerKiKi coveralls vladar

repo: webonyx/graphql-php


text:
docs(readme): fix usage section header

@AndreiRailean Please sign the CLA

@michael-ciniawsky doesn't the above comment by @jsf-clabot show that it's already signed?
I've signed and there's nothing more I can do at the link. Looks like licence bot is stuck.

authors: AndreiRailean michael-ciniawsky

repo: webpack-contrib/bundle-loader