Closes: #1

Updated validations.py python script.
Fixed the behavior of validate_user function in validations.py.
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

@googlebot I signed it!
On Wed, 12 Aug 2020, 14:05 google-cla[bot]<EMAIL_ADDRESS>wrote:

Thanks for your pull request. It looks like this may be your first
contribution to a Google open source project (if not, look below for help).
Before we can look at your pull request, you'll need to sign a Contributor
License Agreement (CLA).
📝 Please visit https://cla.developers.google.com/
https://cla.developers.google.com/ to sign.
Once you've signed (or fixed any issues), please reply here with @googlebot
I signed it! and we'll verify it.
What to do if you already signed the CLA Individual signers

It's possible we don't have your GitHub username or you're using a
different email address on your commit. Check your existing CLA data
https://cla.developers.google.com/clas and verify that your email is
set on your git commits
https://help.github.com/articles/setting-your-email-in-git/.

Corporate signers

Your company has a Point of Contact who decides which employees are
authorized to participate. Ask your POC to be added to the group of
authorized contributors. If you don't know who your Point of Contact is,
direct the Google project maintainer to go/cla#troubleshoot (Public
version https://opensource.google/docs/cla/#troubleshoot).
The email used to register you as an authorized contributor must be
the email used for the Git commit. Check your existing CLA data
https://cla.developers.google.com/clas and verify that your email is
set on your git commits
https://help.github.com/articles/setting-your-email-in-git/.
The email used to register you as an authorized contributor must
also be attached to your GitHub account
https://github.com/settings/emails.

ℹ Googlers: Go here
https://goto.google.com/prinfo/https%3A%2F%2Fgithub.com%2Fgoogle%2Fit-cert-automation-practice%2Fpull%2F6067
for more info.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/google/it-cert-automation-practice/pull/6067#issuecomment-672734199,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOBJDTRF3CJRZXE4HPHQPV3SAJH35ANCNFSM4P4KMLAA
.

googlebot I fixed it..
On Wed, 12 Aug 2020, 14:17 google-cla[bot]<EMAIL_ADDRESS>wrote:

We found a Contributor License Agreement for you (the sender of this pull
request), but were unable to find agreements for all the commit author(s)
or Co-authors. If you authored these, maybe you used a different email
address in the git commits than was used to sign the CLA (login here
https://cla.developers.google.com/ to double check)? If these were
authored by someone else, then they will need to sign a CLA as well, and
confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot
I fixed it.. If the bot doesn't comment, it means it doesn't think
anything has changed.
ℹ Googlers: Go here
https://goto.google.com/prinfo/https%3A%2F%2Fgithub.com%2Fgoogle%2Fit-cert-automation-practice%2Fpull%2F6067
for more info.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/google/it-cert-automation-practice/pull/6067#issuecomment-672741311,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOBJDTRXEIVQ3L27FXXUTGDSAJJJNANCNFSM4P4KMLAA
.


make sure that MArray are noted as Local AS

@lcw maybe this helps with your perf problems (didn't have a chance to test the implementation yet so likely buggy)

On second thought that is actually unlikely to help much since all these allocations have already been promoted from mem to reg...

This seems to speed up https://github.com/lcw/Heptapus.jl/tree/e9da3ed68c473eb4d4a28b6ceb3843d686aec36d/examples/volumerhs-small by a factor of 2 to 3!  Still not quite the same as clang but now within a factor of ~2!

Looking into what changed when we turned this on in the ptx we now see:
mov.u64     %SPL, __local_depot0;
add.u64     %rd12, %SPL, 0;
mov.f32     %f3, 0f00000000;
st.local.v4.f32     [%rd12], {%f3, %f3, %f3, %f3};

Which is actually allocating "stack" memory, this is further confirmed by the opt.ll having alloca i160 which equals 20 bytes or 5 F32.
Again rather counter-intuitive...

Confirmed by.

I see, and for reference clang doesn't use any stack-frame
ptxas info    : 0 bytes gmem, 296 bytes cmem[3]
ptxas info    : Compiling entry function '_Z9volumerhsILi5ELi125ELi5EEvPfPKfS2_fS2_i' for 'sm_70'
ptxas info    : Function properties for _Z9volumerhsILi5ELi125ELi5EEvPfPKfS2_fS2_i
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 80 registers, 1100 bytes smem, 396 bytes cmem[0]


feat: endpoint and methods for letting a user change its full name.

UserInfo has the fullName instance property, but there is no method of change it in the current version of serverpod_auth. This PR adds this functionality.

#2723

Pre-launch Checklist

[x] I read the Contribute page and followed the process outlined there for submitting PRs.
[x] This update contains only one single feature or bug fix and nothing else. (If you are submitting multiple fixes, please make multiple PRs.)
[x] I read and followed the Dart Style Guide and formatted the code with dart format.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///), and made sure that the documentation follows the same style as other Serverpod documentation. I checked spelling and grammar.
[x] I added new tests to check the change I am making.
[x] All existing and new tests are passing.
[x] Any breaking changes are documented below.

If you need help, consider asking for advice on the discussion board.
Breaking changes
No breaking changes.

I have read the CLA Document and I hereby sign the CLA

recheck

@SandPod , Think I've updated everything we discussed.


Added Development Tools

This pull request enhances the development experience by combining essential development tools into a containerised environment. The goal is to ensure consistency and reproducibility of the development environment across different machines.
The only requirement is to have Docker installed on the host.

Hey, thanks for your PR.
Im not familiar with devcontainer's and still did not understand what purpose they solve, Is it something like an CI?

Usually if you pull the repo and open it with any modern editor (vscode, IntelliJ, neovim, etc), it will ask you if you want to open it using devcontainers.
If you agree, it will startup a docker container where all the dependencies are automatically installed and configured for you. That way you can work on multiple projects or even multiple branches within the project that have distinct dependencies and not have them conflict with each other. It's also more secure.
Another advantage is it makes sure anybody wanting to contribute has the same setup as anyone else (no need for advanced documentation on how to install everything).
It won't change the way the code is pushed though. Though the GitHub dependency bot will warn you if the environment contains tools that aren't up to date (especially security wise).

Ah okay, I took a look at the doc. Seem fine, Thanks for the PR :+1:


Webpack resolver doesn't apply resolve.root and externals option.

My webpack configurations is
// config.js
export webpackCommon = {
  // ...,
  resolve: {
    root: srcPath, // it's /src directory path
    extensions: ['', '.jsx', '.json', '.js'],
  },
  externals: [
    /^\.\/assets\.json$/,
    fs.readdirSync(modulePath).filter(x => x !== '.bin'),
  ],
  // ...,
};

// config.es5.js
require('babel-register');
require('babel-polyfill');
module.exports = require('./config').webpackCommon;

My eslintrc setting is:
  "settings": {
    "import/resolver": {
      "webpack": {
        "config": "./tools/conifg.es5.js"
      }
    }
  }

OS: OSX El Cap latest
this plugin can't resolve ./assets.json

and root path modules as below:
There's two directories

/src/components/A
/src/components/B

In component A, it can resolve component B as import B from 'component/B; but it doesn't work.

From your .eslintrc:

"config": "./tools/conifg.es5.js"

is that a typo in the issue or a typo in your config?

@benmosher  that's my configuration.

So what happens if you update 'conifg' to 'config'?

@benmosher I can't got what you mean.

Your Webpack config path is misspelled in the resolver config.

@benmosher The path is correct. because I can reference the es5 configurations through using node-cli like:
console.log(require('./tools/config.es5.js'));

the configuration files are placed at <Project Root>/tools.

I get that, but "config" is misspelled as "conifg" in the eslintrc you pasted.

Wow... awesome... I couldn't find out... Thank you.

Thus #300. No worries. 😎


Revert #2625

This PR reverts #2625, since RHEL6 isn’t compatible. We still need a solution of the original problem (services that aren’t installed showing up as errors on st2ctl commands), but currently I don’t have a better solution than checking exit codes, and this is a blocker, so we should revert now and worry about error messages later.
I’ll wait for @DoriftoShoes before merging, hopefully he’ll have some ideas. :)

What is the failure on EL6?  It seems like service should work fine.  Either way, I agree that we should merge this PR then look for a better solution to the earlier problem.

@DoriftoShoes A combination of https://github.com/StackStorm/st2-packages/blob/master/packages/st2/bin/runners.sh#L48 and https://github.com/StackStorm/st2/blob/master/st2common/bin/st2ctl#L66
mean that on RHEL6/centos66 exit code is 1 and actionrunners are not started.
Anyway the assumption that exit_code will be 1 when service is not present isn't inaccurate since the exit code is as per the init script.

+1

@manasdk: should we also merge this into 1.4? What would be best?

@emedvedev v1.4 looks fine https://github.com/StackStorm/st2/blob/v1.4/st2common/bin/st2ctl#L63


Switch to bbatsov's Style Guide since GitHub's is 404

[X] Have you followed the guidelines in our Contributing document?
[X] Have you checked to ensure there aren't other open Pull Requests for the same change?
[X] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[ ] Have you successfully run brew tests with your changes locally?

Fixes #106
GitHub's Ruby Style Guide is 404, and though it's supposed to come back in a revised form some time, we don't know when.
This switches our references to bbatsov's Ruby Style Guide, which GitHub's was based on.

👍


PasswordGenerator

It generates a password for 10chars with specialcases and numbers.

Looks like a good start!
Let me know if you have any questions on integrating this to the existing codebase. Note that there is a pretty big menuing change in #24 (which will hopefully be done soon, nearing completion of the sprite work) so you would want to develop against that for further work.

I'm not sure if this is a work in progress or if you just sent the first thing you found on the internet. I assume it's a bot that sends commits based on bugs. In the meantime, I'll close this PR.
Please send one when it's fully implemented and tested.
Regards!


Support approve github workflow

Now, the label of ok-to-test only working for prow job, and this issue is talking about let ok-to-test also working for github workflow, it's mean always approve github action running when the PR have label of  ok-to-test.
I remember that there was a corresponding discussion in the kubernetes/test-infra, but I can't find it now.
I think it can be a prow plugin.
/kind feature

tracking at  https://github.com/kubernetes-sigs/prow/issues/194
/close


Move colors to central place for all plots

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Based on conversations for PR https://github.com/microsoft/responsible-ai-toolbox/pull/1159, all colors should be moved to some central place and reused by all plots in the repository
Describe the solution you'd like
A clear and concise description of what you want to happen.
Code that handles colors should be moved to one central place, perhaps core-ui, and we should try to use semantic colors everywhere.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Having different plots use their own colors is not really an option, since the code is much messier and harder to maintain
Additional context
Add any other context or screenshots about the feature request here.

closing with merged PR #1559


Touchbar support?

I have been thinking, if it would be possible to somehow support Apples Touchbar. I am not sure this is feasible, so just brainstorming ideas here.
At least for iTerm this might look possible:
https://gist.github.com/tader/03842a1e61188993e311712e22518b61
https://github.com/zsh-users/zsh-apple-touchbar
Unfortunately, I don't have a Mac so cannot test anything. If anybody reading this has an idea what we could do and would like to have a stab, please go ahead.

This indeed works, however it is not more useful than remapping F keys. By default touch bar displays iTerm helper buttons, you can hold the fn key to view the F keys (still labeled as F1, F2 etc) and by pressing(touching?) one it does what you map it to, so it can be summed up as a mapping any other key.

according to https://developer.apple.com/design/human-interface-guidelines/macos/touch-bar/touch-bar-overview/

Use the Touch Bar as an extension of the keyboard and trackpad, not as a display.

so I guess airline it's not appropriate for airline to display something there. Closing.

@chrisbra I understand the importance of the HIG, but if we can do something useful with it, why not do it even if it violates the HIG? Besides, certainly there are useful actions that could be performed based on what's being displayed.

@chrisbra Apple guidelines are just that, guidelines. It would be useful to have some ariline functionality displayed there. Useful trumps guidelines anyday.


Updated field names in JSON file ?

Hello!
It looks like the json file has been updated with new role names ?
http://cdn.merakianalytics.com/riot/lol/resources/latest/en-US/championrates.json
E.g. it has "ADC", "SUPPORT" where the script uses "BOTTOM", "UTILITY".
Is it something that should be changed ?
Best,
Valentin

And I think there is 2 missing champions in the cdn file: http://cdn.merakianalytics.com/riot/lol/resources/latest/en-US/championrates.json
It only has 146 champions. I think it's Heimerdinger (74) and Taliyah (163).

In response to your first comment, that file is not intended to be used externally. Is there a reason you are accessing it? (I did update the json to reflect the role names used in our code, however, and updated Cassiopeia to go with it.)
For your second comment, it looks like those exclusions are intended - just like Lee Sin middle is excluded. The play rates for these champs+roles (and all roles for Heimer and Taliyah evidently) are too low to be relevant.
What are you using this file for?

It's strange that not all champions are in the json because your script crashes when you try to get a team with Heimer for example.
I'm using the json file because I made a fork of the script in Node.js.
Sadly the results are not so great, when I get one "exotic" pick (e.g. Brand mid has 0% playRate in the file).
I think I'll try to use your RoleML algorithm by calling the python script from my Node.js API with something like Python-Shell.
Just curious, how do you create the playRate by position file ? How many matches do you scan ?
Thanks!

I added Heimer to the current json file so that it no longer crashes.
I also tested a few games with Brand in the team composition, and it is working as I would expect it to given the inputs. Canisback's roleML is certainly more accurate because it includes post-game data. It is much harder to implement, train, keep up to date, and get data for, so that is the trade off: more/less accuracy for more/less work+time.
This data is compiled from millions of matches in most regions, so not just NA.
If you want to use this code in another language, I've been thinking about allowing the world to hit an API endpoint that will return these results. You would make a POST request to a URL with the team composition you want the role for, and the response would be the role assignments. I have all of this set up already but the person who said they would test it isn't responsive, so I'm looking for someone else. I want to make sure it 1) works well and 2) isn't expensive. If you want to give this a try (and it should be really simple to implement), DM me on discord and I'll give you the URL and POST body syntax. This will allow you to use our code in any language, at the expense of an http request.

Thanks for the info!
I think I'll stick with this version to predict live-game roles and try to switch to ML solution for post-game roles.
I've asked you on Discord, thanks!


Crash when calling vkMapMemory or vkUnmapMemory

Metal validation reports the following error:
-[MTLDebugBuffer didModifyRange:]:482: failed assertion `(range.location+range.length)=(65536) exceeds end of buffer (4096)'

With the following stack trace:
#7	0x0000000158213352 in MVKBuffer::flushToDevice(unsigned long long, unsigned long long) at /Users/bearishsun/Work/MoltenVK/MoltenVK/MoltenVK/GPUObjects/MVKBuffer.mm:148
#8	0x00000001581cc946 in MVKDeviceMemory::flushToDevice(unsigned long long, unsigned long long, bool) at /Users/bearishsun/Work/MoltenVK/MoltenVK/MoltenVK/GPUObjects/MVKDeviceMemory.mm:96
#9	0x00000001581cc5bc in MVKDeviceMemory::unmap() at /Users/bearishsun/Work/MoltenVK/MoltenVK/MoltenVK/GPUObjects/MVKDeviceMemory.mm:74
#10	0x00000001581a6351 in ::vkUnmapMemory(VkDevice, VkDeviceMemory) at /Users/bearishsun/Work/MoltenVK/MoltenVK/MoltenVK/Vulkan/vulkan.mm:462

Sometimes I get the crash during vkMapMemory rather than vkUnmapMemory. Without Metal validation I just get EXC_BAD_ACCESS during a memcpy operation.
My buffer is allocated using HOST_VISIBLE memory (I use it as a staging buffer). The code confirmed works on Windows as well as on previous versions on MoltenVK. It does not work in MoltenVK 1.0.43 (e9fc62b27dcd964526fd0c0746679c44bc161701).
The issue appear to be in MVKDeviceMemory::flushToDevice and MVKDeviceMemory::pullFromDevice methods, which will iterate over all images and buffers allocated from that MVKDeviceMemory instance and call equivalently named methods on those images/buffers.
The problem is that the offset/size argument for those methods is the one provided to vkMapMemory/vkUnmapMemory for the particular buffer I'm mapping, which will almost certainly be outside the bounds of those other images/buffers.
In my case I'm mapping a memory of size 65536 bytes, yet the size of one of the buffers in MVKDeviceMemory is 4096 bytes. This fails in an obvious way, but obviously any other size/offset also fails but perhaps does not result in a crash.

Please try with this change: https://github.com/js6i/MoltenVK/commit/d90528b0c9ae756587c00e1c9beb4f4b6fa5436a

Sadly I cannot run the latest master due to https://github.com/KhronosGroup/MoltenVK/issues/956.
But I see there are already some checks in place that could resolve this on master, along with your new change. I'll see if I can copy that code in my 1.0.43 version.

I added a workaround for #956 and got my code running on master. The issue there doesn't appear to be present and I'm not getting the crash, without or without the fix provided by @js6i .


OC-420 ~ Adds jenkins jobs

This pull request makes the build fail.

This pull request makes the build fail.


Add documentation to describe how chains.zip is created and what it is used for.

chains.zip contains data relating to network RPC. It can be obtained from here or here.
The following code is used to compress the file:
@available(iOS 13.0, *)
fileprivate func compressChainFile(inputFileName: String, outputFileName: String) throws {
    let inputFileHandle = FileHandle(forReadingAtPath: inputFileName)!
    let inputData = inputFileHandle.readDataToEndOfFile() as NSData
    let outputData = try inputData.compressed(using: selectedCompressionAlgorithm) as Data
    FileManager.default.createFile(atPath: outputFileName, contents: outputData, attributes: nil)
    try inputFileHandle.close()
}

Documentation need to be added to the project in doc/data-sources-chains.md to describe the process used to obtain, update, and compress the file.

@hboon I'm revisiting my code and I find that the iOS NSData.decompress(using:) function call does not understand the .zip file format. My code func compressChainFile above simply dumps the compressed data into a file raw without any formatting and is not a .zip file. There are packages which do understand the the .zip file format and are able to extract and decompress the data. So we have a few options:

Make a command line tool that dumps the compressed data raw into a file and use that for preparing the chains.json.zip file.
Use a package/pod that allows the iOS app to decompress a zip file. So we can use the macOS provided tools to create a proper zip file.
Use the chains.json data without compressing.

How about this order:

Use the chains.json data without compressing.

See if the app size is affected (much). Try with the original, bigger tokens.json too, just for curiosity. But I imagine we'll not get to that size any time soon.

Make a command line tool that dumps the compressed data raw into a file and use that for preparing the chains.json.zip file.

A simple .swift script/file might work?
Failing that, write an uncalled function in the iOS code to produce the compress file.

Use a package/pod that allows the iOS app to decompress a zip file. So we can use the macOS provided tools to create a proper zip file.

Let's try to avoid it if possible.

How about this order:

Use the chains.json data without compressing.

See if the app size is affected (much). Try with the original, bigger tokens.json too, just for curiosity. But I imagine we'll not get to that size any time soon.

Make a command line tool that dumps the compressed data raw into a file and use that for preparing the chains.json.zip file.

A simple .swift script/file might work?
Failing that, write an uncalled function in the iOS code to produce the compress file.

Use a package/pod that allows the iOS app to decompress a zip file. So we can use the macOS provided tools to create a proper zip file.

Let's try to avoid it if possible.

Swift script like this one? The script could download and compress the file.

Simpler, this https://rderik.com/blog/using-swift-for-scripting/ if possible. Look for:
#!/usr/bin/env swift
print("hello, world!")

I'll add this to the Makefile.


[SPARK-21767] [TEST] [SQL] Add Decimal Test For Avro in VersionSuite

What changes were proposed in this pull request?
Decimal is a logical type of AVRO. We need to ensure the support of Hive's AVRO serde works well in Spark
How was this patch tested?
N/A

Test build #80800 has started for PR 18977 at commit db15653.

cc @sameeragarwal @cloud-fan

Test build #80800 has finished for PR 18977 at commit db15653.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/80800/
Test PASSed.

Test build #80808 has started for PR 18977 at commit 5d6b616.

Thanks, LGTM!

Test build #80808 has finished for PR 18977 at commit 5d6b616.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/80808/
Test PASSed.

Merged build finished. Test PASSed.

Thanks! Merging to master.


How to trigger "url has changed" manually?

Hi,
I would like to trigger Navigo manually to handle route.
When I changed the URL without refresh the browser with:
window.history.pushState("data", "Title", "/user/login");
It doesnt firing Navigo.
Thanks for advance.

https://github.com/krasimir/navigo/issues/196#issuecomment-368788107
solved my


Share.shareText() kills app on iPads

Reported on community.
When using the Fuse.Share package in an app, the following action leads to the app crashing on all iPads, including simulators:
Share.shareText('Eu sou dooper! Descolei 10% OFF pra vc lá com o código #soulegal... Não conhece o Doop? tá perdendo então. Baixe agora para seu smartphone http://guiadoop.com.br/compartilhe #doop #guiasdoop #dooper #soudooper','');

The log associated with the crash tells us:
2017-06-26 19:04:58.385 DoopFuse[66017:59524395] *** Terminating app due to uncaught exception 'NSGenericException', reason: 'Your application has presented a UIActivityViewController (<UIActivityViewController: 0x7fae7ed18d20>). In its current trait environment, the modalPresentationStyle of a UIActivityViewController with this style is UIModalPresentationPopover. You must provide location information for this popover through the view controller's popoverPresentationController. You must provide either a sourceView and sourceRect or a barButtonItem.  If this information is not known when you present the view controller, you may provide it in the UIPopoverPresentationControllerDelegate method -prepareForPopoverPresentation.'
*** First throw call stack:
(
    0   CoreFoundation                      0x0000000110e67b0b __exceptionPreprocess + 171
    1   libobjc.A.dylib                     0x000000010f2fb141 objc_exception_throw + 48
    2   UIKit                               0x000000010e56ed67 -[UIPopoverPresentationController presentationTransitionWillBegin] + 3291
    3   UIKit                               0x000000010dc163c2 __71-[UIPresentationController _initViewHierarchyForPresentationSuperview:]_block_invoke + 2278
    4   UIKit                               0x000000010dc13d20 __56-[UIPresentationController runTransitionForCurrentState]_block_invoke + 426
    5   UIKit                               0x000000010daa1853 _runAfterCACommitDeferredBlocks + 318
    6   UIKit                               0x000000010da8e81c _cleanUpAfterCAFlushAndRunDeferredBlocks + 532
    7   UIKit                               0x000000010dac0560 _afterCACommitHandler + 137
    8   CoreFoundation                      0x0000000110e0d717 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
    9   CoreFoundation                      0x0000000110e0d687 __CFRunLoopDoObservers + 391
    10  CoreFoundation                      0x0000000110df2720 __CFRunLoopRun + 1200
    11  CoreFoundation                      0x0000000110df2016 CFRunLoopRunSpecific + 406
    12  GraphicsServices                    0x0000000112d4da24 GSEventRunModal + 62
    13  UIKit                               0x000000010da95134 UIApplicationMain + 159
    14  DoopFuse                            0x0000000109dd3337 main + 119
    15  libdyld.dylib                       0x000000011212965d start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException

The exact same code runs fine on iPhone 6 and presumably other iPhones too.

https://github.com/fusetools/fuselibs-public/pull/203


Portal Link not accessable in self-hosted version

Hey everyone,
I just self-deployed your docker image, but run into trouble, when wanting to generate a portal-link.
The api-response is: portal-link is only supported in paid Phase Two distributions
is this a bug, wrong configuration or a limitation to the open-source self hosted version?

Hi @paulwer thanks for the message. It depends on which "portal" link you are referring to.

the "portal link" that is created in the admin UI that opens a session to allow configuring a IdP on behalf of an organization using the wizard, then this is only available as a licensed extension, and is not available in the open source version.
the "admin portal" that allows your users to self-manage their organizations and profile is available as open source (https://github.com/p2-inc/phasetwo-admin-portal) and can be accessed by a logged in user at https://{host}/{relative-path}/realms/{realm}/portal/

@xgp thank you for your message.
I was refering to your first point. I guess it would be more suiteable to show the user within the portal that he cannot create the link. right now there is just an empty link-box and no informations.
(I had to look it up myself with the browser console)

@paulwer Great suggestion. Sorry that wasn't clear.


add test_mssautoplot

@ReimarBauer PTAL! I have reduced it back to limit to imports.

@ReimarBauer Next steps? (Also provide reference documentation for implementing steps) Thanks!

don't see a comparisopn for assert load_from_ftml(example_file) == ?

see test results

@ReimarBauer I just tried for load_from_ftml. Let me know if this is how it should be done. Now after writing test, how can we check the coverage for this mssautoplot?. so to know where and what lines to add testing.

you can do this for a specific test or for all.
pytest --cov-report html  tests/_test_utils/test_mssautoplot  --cov=mslib
All tests the CI ran you can also try locally. They are defined in .github/workflows

a starter documentation: https://docs.pytest.org/en/7.1.x/getting-started.html

@ReimarBauer I looked at test_airdata file to write tests myself and there is this @mock.patch("PyQt5.QtWidgets.QMessageBox.question", return_value=QtWidgets.QMessageBox.No) What does @mock_patch do? I don't know much about Qt yet but I am a quick-learner and can grasp important concept required to work on a project.

@ReimarBauer I looked at test_airdata file to write tests myself and there is this @mock.patch("PyQt5.QtWidgets.QMessageBox.question", return_value=QtWidgets.QMessageBox.No) What does @mock_patch do? I don't know much about Qt yet but I am a quick-learner and can grasp important concept required to work on a project.

get first the test done for this function there is no mocking needed.

@HarshKhilawala these lines I showed in the meet.
this should give access to the example.ftml in  PATH/tests/data/example.ftml

sample_path = os.path.join(os.path.dirname(__file__), "..", "data")
example_file = os.path.join(sample_path, "example.ftml")

then use the function and verify it has the right data by comparing using assert

@ReimarBauer I tried to compare the exact return values for load_from_ftml but one of the values out of 2 variable was something like this [<mslib.msui.flighttrack.Waypoint object at 0x00000253D14E2FB0>, <mslib.msui.flighttrack.Waypoint object at 0x00000253D14E3C70>, <mslib.msui.flighttrack.Waypoint object at 0x00000253D14E39A0>, <mslib.msui.flighttrack.Waypoint object at 0x00000253D14E3C40>, <mslib.msui.flighttrack.Waypoint object at 0x00000253D1B26710>] (wp_list). So comparing exact value is not possible. Also fixed lint errors

How is it with this?
test_mssautoplot.patch.txt
you can apply it by patch -p1 </test_mssautoplot.patch.txt

@ReimarBauer Done! PTAL! I initially had thought of asserting for data_list but didn't consider matching its len and type.name
Thanks!

@HarshKhilawala please look at the linter.

@ReimarBauer How do I run tests locally which are in .github folder with yml extension?

flake8 tests

@ReimarBauer Done! I don't think that I might have access to re-run github workflows😅

@ReimarBauer Done! I don't think that I might have access to re-run github workflowssweat_smile. GitHub should add a feature to allow contributors to re-run github workflows.

github has kind of "spam" filter for its ressources implemented.  Before I have not merged a PR from a new contributor the tests won't start automated for a  PR. Next time after I merged this one it gets better :)


Link to the docs in the About section

The About section (or a proper Readme.md) lacks a mention to the docs

I cannot change this, as I do not own this repository. If @NexTre-dev thinks the documentation viewer is good enough to be officially endorsed by the documentation repository itself, they may choose to add it.


Stop force upgrade to latest WebUI versions

Since Automatic1111 is so unstable I'd like to request that we bring back the option for users to NOT upgrade to latest version. (ie. more specifically we choose when to upgrade our instances) which the older versions of this repo used to do. Right now we force reset to the latest WebUI and it is frustrating how many new things break with every new release.

When you say automatic1111 is unstable do u mean elements become unresponsive all the time cuz thats happening to me too and its so frustrating never experienced this before. Sometimes generate button stops working, sometimes save button, sometimes highres fix checkbox and so on. Are you also having these problems?

Yes. Plus img2img now doesn't work. Clicking on a image to show in lightbox
also doesn't work. Just tired of these bugs. Clearly there is no unit tests
in webui so that's why these bugs get through.
On Wed, 29 Mar 2023, 8:15 pm Ilija, @.***> wrote:

When you say automatic1111 is unstable do u mean elements become
unresponsive all the time cuz thats happening to me too and its so
frustrating never experienced this before. Sometimes generate button stops
working, sometimes save button, sometimes highres fix checkbox and so on.
Are you also having these problems?
—
Reply to this email directly, view it on GitHub
https://github.com/TheLastBen/fast-stable-diffusion/issues/1897#issuecomment-1488229485,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABXYMGEKBVIBWIPB53GQIMTW6P4SJANCNFSM6AAAAAAWLULIPU
.
You are receiving this because you authored the thread.Message ID:
@.***>

I fought the error for 2 days, but it was a meaningful update for me. I deleted the existing installation and installed a new one. Several extensions were also updated, and above all, it works more comfortably and stably. 2.5x upscale works well

I just want the option in theLastBen automatic 1111 to not force to
download the latest commit and instead allow a tickbox to upgrade
On Wed, 29 Mar 2023, 11:04 pm dizzyjung, @.***> wrote:

I fought the error for 2 days, but it was a meaningful update for me. I
deleted the existing installation and installed a new one. Several
extensions were also updated, and above all, it works more comfortably and
stably. 2.5x upscale works well
—
Reply to this email directly, view it on GitHub
https://github.com/TheLastBen/fast-stable-diffusion/issues/1897#issuecomment-1488476145,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABXYMGEYFHXMPNFJNYAX5ZTW6QQN3ANCNFSM6AAAAAAWLULIPU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Same.

@digital-soul18 I'm modifying some files from the A1111 repo, and they are downloaded directly from the latest repo, so stopping the git pull will cause issues

@TheLastBen but can't we just install once all dependencies on Google Drive for a first time setup on G drive and then we can launch just that instance without having to git pull the latest version? I did achieve this in previous versions of the repo but since the python upgrade in Collab its killed that old version of collab. Would really appreciate a way to keep our environments stable from the chaotic auto1111 repo.


tiablob: investigate/fix proposer injected data to be a valid tx

Currently, validator injected data is not a valid tx (similar to injected vote ext data). There may be value in making it a valid tx.

certain apis won't break (i.e. grpc block queries)
may play nicer with other modules injecting data
is there additional overhead and if so, is it worth it
need to fix pulsar dependency issue
is there value in execution occuring in preblocker? Perhaps for upgrades or other txs? Or is it more beneficial to not use the preblocker and potentially support older cosmos-sdk and cometbft versions?

Reference the enshrined relayer implementation.

Closing as won't implement for now.
Non-noop cosmos-sdk mempools add new requirements for being a valid tx. This overhead in addition to needing a signer, block time, and proposer address in the injected message reduces the attractiveness of using a valid tx. Vote extensions may also drive the fixing of any apis that break when non-tx data is injected by the proposer.


Text entry closes when using context menu.

Windows build number: [Version 10.0.19042.746]
Windows Terminal version: 1.5.10271.0
This isn't a serious issue, but is annoying.
To reproduce
Open a new tab, then select "rename", on the context menu. Next, enter some text, then press Right Click or the context menu button on your keyboard (You may have to highlight text). It will close the context menu without warning.
Expected behavior
You should have the ability to open the context menu without it closing.
Actual behavior
The context menu closes instead of staying open, even though there are "cut", "paste", and "copy" options.

Yep - annoying for sure :blush: I will commit a fix later on today.

Yep - annoying for sure :blush: I will commit a fix later on today.


Dino self-supervised vision transformer

@alihassanijr @stevenwalton @honghuis @Walleclipse @itsShnik
Hi there,
do you have any suggestions and thoughts regarding reducing the computational cost of DINO.
can dino benefit from cct.
Demo of Dino

I'm sorry, but this question is out of scope of the project. If you'd like to ask questions about CCT or our paper feel free to open a new issue but we are not supporting other works by other teams.


how to find out that a peer has sent all the routes

in bgperf, it uses the count of how many prefixes received from a peer to know that a test has finished. When adding filter testing, just knowing the number of prefixes accepted isn't enough. It needs to know either the number of prefixes received before filters or the number of prefixes filtered, or that End-of-RIB has been sent. Is there anyway to get any of those things? with BIRD you can see the number of prefixes received and the number accepted. With FRRouting and OpenBGPD you can see when EOR has been sent.

The latest master sends eor messages.
Also you need the number of prefixes and accepted via the API, right?

Now the number of accepted routes are properly reported.


Logging enhancement (formatting )

It adds options to define customized way of uwsgi logging, that can be changed without need to rebuild the images.
For instance user can specify Apache format by defining (in compose or helm value):
DD_UWSGI_LOGFORMAT: '"%(addr) - %(user) [%(ltime)] "%(method) %(uri) %(proto)" %(status) %(size) "%(referer)" "%(uagent)"'
To produce:
"<IP_ADDRESS> - - [18/Mar/2022:12:52:21 +0000] "GET /alerts/count HTTP/1.1" 200 183 "http://localhost:8080/system_settings" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.109 Safari/537.36 OPR/84.0.4316.31"
The problem I still see that default is not populating (user) variable, I tried to do it manually in middleware with set_logvar but is not working as well (still empty). But it works fine if I define alternative logvar in the code like user1.
like
DD_UWSGI_LOGFORMAT: '"%(addr) - %(user1) [%(ltime)] "%(method) %(uri) %(proto)" %(status) %(size) "%(referer)" "%(uagent)"'

%(user) shall be taken from REMOTE_USER of the wsgi_request structure, according to https://uwsgi-docs.readthedocs.io/en/latest/LogFormat.html#offsetof. Maybe you can't override that with set_logvar. I couldn't find any information if Django can set this user.
Maybe it's best to go with a variable like dd_user, if you can't find any other solution.

Am I happy with this? No. So I'm considering this as minor improvement of the security logging.


UsbFile#delete corrupts FAT16 files

Problem
After deleting a file, the other files get corrupted in certain cases.
It looks similar to the issue https://github.com/magnusja/libaums/issues/144.
I will attach memory images of the USB memory before and after deleting a file.
(before_deleting_1st_file.img and after_deleting_1st_file.img.
For attachment, each file was split by 10MB and zipped.)
I am using a USB memory that is under development by our company.
Filesystem : FAT16
Memory capacity : 128 MB
Sector size (BPB_BytsPerSec) : 4096 Bytes
Number of sectors per cluster (BPB_SecPerClus) : 1
I am using libaums:0.7.4 and java-fs:0.1.4 in AndroidStudio.
< build.gradle >
implementation 'com.github.mjdev:libaums:0.7.4'
implementation 'me.jahnen:java-fs:0.1.4'

I tried the latest code in the master branch of Nuix/Jnode-fs (commit : 72d3e97) and the problem reproduced yet.
Expected behavior
After deleting a file, the remaining files are not corrupted and can be read correctly.
Actual behavior
There are 8 files in the USB memory.
When I delete any one of the 1st to 6th files, the 7th and 8th files get corrupted (FAT entries are set to 0).
I will attach the difference between the FAT area before and after the deletion. (diff_before_and_after_deletion)
Stacktrace of Excpetion
When I try to read a corrupted file, I get the following exception:
IOException
free entry in chain at: 257

org.jnode.fs.jfat.FatChain$ChainIteratåor in next at line 717
org.jnode.fs.jfat.FatChain in read at liåne 362
org.jnode.fs.jfat.FatFile in read at line 92
com.github.magnusja.libaums.javafs.wrapper.fs.UsbFileWrapper in read at line 169
com.github.mjdev.libaums.fs.UsbFileInputStream in read at line 79
kotlin.io.ByteStreamsKt in copyTo at line 110
kotlin.io.ByteStreamsKt in copyTo$default at line 103

Code where problem occurs
I suspect that this can be solved by adding the following code in ByteBlockDevice#write: before arraycopy on line 97 of ByteBlockDevice.kt.
targetBlockDevice.read(devOffset, buffer)
buffer.flip()

or
targetBlockDevice.read(devOffset, buffer)
buffer.clear()

diff_before_and_after_deletion
before_deleting_1st_file.img.aa.zip
before_deleting_1st_file.img.ab.zip
before_deleting_1st_file.img.ac.zip
before_deleting_1st_file.img.ad.zip
before_deleting_1st_file.img.ae.zip
before_deleting_1st_file.img.af.zip
before_deleting_1st_file.img.ag.zip
before_deleting_1st_file.img.ah.zip
before_deleting_1st_file.img.ai.zip
before_deleting_1st_file.img.aj.zip
before_deleting_1st_file.img.aj.zip
before_deleting_1st_file.img.al.zip
before_deleting_1st_file.img.am.zip
after_deleting_1st_file.img.aa.zip
after_deleting_1st_file.img.ab.zip
after_deleting_1st_file.img.ac.zip
after_deleting_1st_file.img.ad.zip
after_deleting_1st_file.img.ae.zip
after_deleting_1st_file.img.af.zip
after_deleting_1st_file.img.ag.zip
after_deleting_1st_file.img.ah.zip
after_deleting_1st_file.img.ai.zip
after_deleting_1st_file.img.aj.zip
after_deleting_1st_file.img.ak.zip
after_deleting_1st_file.img.al.zip
after_deleting_1st_file.img.am.zip

Dear Mr. Magnus @magnusja
Please let us know if you have any other information you need.
It would be greatly appreciated if you could update libaums in the mavenCentral repository.

Should be fixed in v0.9.4


Fix JVM options

-Xmx exceeds the limitation of Travis CI can offer. I use the same parameter as cats.
MaxPermSize was replaced by MaxMetaspaceSize

Codecov Report

Merging #928 into master will decrease coverage by 0.08%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #928      +/-   ##
==========================================
- Coverage   85.72%   85.64%   -0.09%
==========================================
  Files          76       76
  Lines        2459     2459
  Branches      166      157       -9
==========================================
- Hits         2108     2106       -2
- Misses        351      353       +2

Impacted Files
Coverage Δ

...rc/main/scala/io/circe/numbers/BiggerDecimal.scala
91.25% <0%> (-0.63%)
:arrow_down:

.../core/shared/src/main/scala/io/circe/Decoder.scala
92.35% <0%> (-0.34%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d293289...c0b6799. Read the comment docs.

Thanks for looking at this, @jiminhsieh!


Added use nodes for override and collision guard

The new use nodes use_override and use_colguard can be used in the same way as use_utool and similar.

Thanks for the addition! much appreciated. There were some issues I'm fixing in the commit after this one so make sure you merge your branch. Syntax wise I decided to change use_colguard to adjust_colguard as there is a "COL DETECT ON" and "COL DETECT OFF" instructions and thought use_colguard was ambiguous to that. Hopefully that works for you.

Hi Matt,
Thanks for your quick action and the work you've put into this project so far. It is much more fun to program the Fanucs this way.
I am totally fine with the syntax change you made.
Kind regards,
Dick

Van: Matt Dewar @.>
Verzonden: maandag 12 juli 2021 22:10
Aan: kobbled/tp_plus @.>
CC: dickvand @.>; Author @.>
Onderwerp: Re: [kobbled/tp_plus] Added use nodes for override and collision guard (#10)
Thanks for the addition! much appreciated. There were some issues I'm fixing in the commit after this one so make sure you merge your branch. Syntax wise I decided to change use_colguard to adjust_colguard as there is a "COL DETECT ON" and "COL DETECT OFF" instructions and thought use_colguard was ambiguous to that. Hopefully that works for you.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/kobbled/tp_plus/pull/10#issuecomment-878561376, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMVOLPIESH3I4475WQUCWT3TXND3HANCNFSM5AGHJDRQ.

Hi Dick,
No problem! If you have anything else to add just send a PR, or start an issue if you don't have the time yourself. I've been meaning to page through the operations manual and see what is missing. Its a little hard to see what the functionality of TP+ is right now, as the only way is to read through the unit tests. I'm trying to figure out adding documentation to a ruby project.
Cheers,
Matt


/poaching feature won't seem to work

Describe the bug
the /poaching feature doesn't seem to work. It won't accept pokemon. tried poaching a level 50 dondozo, but was given a 'does not fit requirements' when it also says no requirements. Also tried with level 1 charmanders and a level 1 springatito.
To Reproduce
Steps to reproduce the behavior:

Have a poaching pokemon in your party
Go to '/poaching' to try and poach it
click onto the selective pokemon you wish to poach
Not allowed to poach it from it 'not meeting requirements'

Expected behavior
Allowing pokemon to be poached for money
Screenshots

Username:
TotallyNotAl
Server name (all applicable):
I'm not to sure if it's doing the same on all servers but I know it's doing so on Atlas.
Logs:
Additional context
None of the available poaching pokemon are being allowed to be poached that I've tried. (Donozo, numerous level 1 charmanders, a level 1 springatito, Dratini, rookidee  gastly and Magikarp)

needs re-testing after the reset, forwarded to Wis

Fix now on live servers, thanks for the report


A few methods on DataFrame, Series,  Index, added or refined

Hi all,
Thanks for the great effort towards typing numpy and pandas! It's much appreciated.
I modified some lines on a fork because they were relevant to code I was writing recently. I thought I might as well submit a PR.

Pinging @thomkeh in case notifications regarding my changes in response to your comments fell through the cracks

It did indeed fall through, sorry!


PHP Fatal error:  Uncaught mysqli_sql_exception

I want to try this plug in but it seems that I get this error
Fatal error: Uncaught mysqli_sql_exception: Unknown column 'A1.host_name' in 'order clause' in /home/support/upload/include/mysqli.php:189 Stack trace: #0 /home/support/upload/include/mysqli.php(189): mysqli->query() #1 /home/support/upload/include/class.orm.php(3470): db_query() #2 /home/support/upload/include/class.orm.php(3517): MySqlExecutor->execute() #3 /home/support/upload/include/class.orm.php(2097): MySqlExecutor->getArray() #4 /home/support/upload/include/class.orm.php(2047): HashArrayIterator->{closure}() #5 /home/support/upload/include/class.orm.php(2026): CallbackSimpleIterator->next() #6 /home/support/upload/include/class.orm.php(2035): CallbackSimpleIterator->rewind() #7 /home/support/upload/include/class.orm.php(1706): CallbackSimpleIterator->valid() #8 /home/support/upload/include/class.orm.php(1741): CachedResultSet->fillTo() #9 /home/support/upload/include/class.orm.php(1602): CachedResultSet->offsetGet() #10 /home/support/upload/include/class.orm.php(1458): QuerySet->offsetGet() #11 /home/support/upload/include/plugins/osTicket-Inventory-Manager-1.0.1/views/queue-assets.tmpl.php(212): QuerySet->exists() #12 /home/support/upload/include/plugins/osTicket-Inventory-Manager-1.0.1/include/model/assets.php(242): require('...') #13 /home/support/upload/include/plugins/osTicket-Inventory-Manager-1.0.1/include/controller/Asset.php(190): require_once('...') #14 /home/support/upload/include/class.dispatcher.php(145): controller\Asset->handle() #15 /home/support/upload/include/class.dispatcher.php(38): UrlMatcher->dispatch() #16 /home/support/upload/include/class.dispatcher.php(120): Dispatcher->resolve() #17 /home/support/upload/include/class.dispatcher.php(38): UrlMatcher->dispatch() #18 /home/support/upload/scp/dispatcher.php(45): Dispatcher->resolve() #19 {main} thrown in /home/support/upload/include/mysqli.php on line 189
and some part of the personal queue are displayed in the page
osticket 1.16.3
php 8.1
ubuntu 20.4

Hi @lucize, Sorry for the delay in response. Can you provide some more information about what is going on, maybe some screenshots of the page? What are the steps that seem to generate the error?

@bcombs18 sorry, I was away, it seems that it didn't work for me
I removed 1.0.1 and copied 1.0.3. I also use the multi ldap plugin and we have setup custom queue
seems that the custom queue is displayed in the inventory page

@

@lucize Sorry, I didn't see this until now. This issue has since been resolved with the most recent release, v1.1.1. Try installing that and let me know if you have any issues. I think most of the bugs with the plugin have been squashed at this point.

@bcombs18 sorry for such late reply, updated to latest release and I have this, do you think that custom queues affect this ?

@lucize What web server are you running? Also, which version of osTicket are you using?

Server version: Apache/2.4.56 (Ubuntu)
osTicket 1.16.3


Functionality: Links open in paste's tab

Links currently open in the same tab that paste is in taking you away from paste. It would be nice if they automagically opened in a new tab,

To have links open in another tab, click the link in the WYSIWYG and select "Open in New Window"


net 451

Hi,
I just tried to switch to the nuget package, but as my project targets .net 451, it looks like the nuget package is incompatible.
Is it possible you could target netstandard 1.2 instead of 1.3 as I believe this would then make the library compatible with .net 451 according to this https://docs.microsoft.com/en-us/dotnet/articles/standard/library
Or if not, perhaps you could consider adding net451 as another target framework so your build produces both a netstandard 1.3 and .net 451 binaries?

PR submitted!

Nuget should be available now. https://www.nuget.org/packages/Glob/0.2.1 😄


Move Images to folder; update README; remove log file

Moves images from #57 to folder images
Updates the README to reflect new UI and use moved images
remove file hs_err_pid55005.log

@tischi to me it looked like the log file was added here by accident. Let me know if there is a reason for it being in the repo, then I will restore it.

I trust you 👍


⚠ Cioos National CKAN has degraded performance

In 2cc7cd1, Cioos National CKAN (https://catalogue.cioos.ca/) experienced degraded performance:

HTTP code: 200
Response time: 12861 ms

Resolved: Cioos National CKAN performance has improved in 194fc2b after 8 minutes.


[BACKLOG-13042] Mavenized get-previous-row-field

@pentaho/2-1b @smaring Please review

Build Completed
:x: This pull request has errors. They will need to be addressed before it can be accepted. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
mvn -B -fn -f plugins/pom.xml clean install && mvn -B -f plugins/pom.xml site

Cleanup Commands
mvn -B -f plugins/pom.xml build-helper:remove-project-artifact

Changed files
  plugins/get-previous-row-field/.gitignore
  plugins/get-previous-row-field/LICENSE.txt
  plugins/get-previous-row-field/README.md
  plugins/get-previous-row-field/assemblies/LICENSE.txt
  plugins/get-previous-row-field/assemblies/plugin/LICENSE.txt
  plugins/get-previous-row-field/assemblies/plugin/pom.xml
  plugins/get-previous-row-field/assemblies/plugin/src/assembly/assembly.xml
  plugins/get-previous-row-field/assemblies/plugin/src/main/resources/PRV.svg
  plugins/get-previous-row-field/assemblies/plugin/src/main/resources/version.xml
  plugins/get-previous-row-field/assemblies/pom.xml
  plugins/get-previous-row-field/core/LICENSE.txt
  plugins/get-previous-row-field/core/pom.xml
  plugins/get-previous-row-field/core/src/main/java/org/pentaho/di/trans/steps/getpreviousrowfield/GetPreviousRowField.java
  plugins/get-previous-row-field/core/src/main/java/org/pentaho/di/trans/steps/getpreviousrowfield/GetPreviousRowFieldData.java
  plugins/get-previous-row-field/core/src/main/java/org/pentaho/di/trans/steps/getpreviousrowfield/GetPreviousRowFieldMeta.java
  plugins/get-previous-row-field/core/src/main/java/org/pentaho/di/trans/steps/getpreviousrowfield/messages/messages_en_US.properties
  plugins/get-previous-row-field/core/src/main/java/org/pentaho/di/trans/steps/getpreviousrowfield/messages/messages_es_AR.properties
  plugins/get-previous-row-field/core/src/main/java/org/pentaho/di/trans/steps/getpreviousrowfield/messages/messages_fr_FR.properties
  plugins/get-previous-row-field/core/src/main/java/org/pentaho/di/trans/steps/getpreviousrowfield/messages/messages_it_IT.properties
  plugins/get-previous-row-field/core/src/main/java/org/pentaho/di/trans/steps/getpreviousrowfield/messages/messages_ja_JP.properties
  plugins/get-previous-row-field/core/src/main/java/org/pentaho/di/trans/steps/getpreviousrowfield/messages/messages_ko_KR.properties
  plugins/get-previous-row-field/core/src/main/java/org/pentaho/di/trans/steps/getpreviousrowfield/messages/messages_zh_CN.properties
  plugins/get-previous-row-field/core/src/main/java/org/pentaho/di/ui/trans/steps/getpreviousrowfield/GetPreviousRowFieldDialog.java
  plugins/get-previous-row-field/core/src/main/resources/PRV.svg
  plugins/get-previous-row-field/core/src/main/resources/org/pentaho/di/trans/steps/getpreviousrowfield/messages/messages_en_US.properties
  plugins/get-previous-row-field/core/src/main/resources/org/pentaho/di/trans/steps/getpreviousrowfield/messages/messages_es_AR.properties
  plugins/get-previous-row-field/core/src/main/resources/org/pentaho/di/trans/steps/getpreviousrowfield/messages/messages_fr_FR.properties
  plugins/get-previous-row-field/core/src/main/resources/org/pentaho/di/trans/steps/getpreviousrowfield/messages/messages_it_IT.properties
  plugins/get-previous-row-field/core/src/main/resources/org/pentaho/di/trans/steps/getpreviousrowfield/messages/messages_ja_JP.properties
  plugins/get-previous-row-field/core/src/main/resources/org/pentaho/di/trans/steps/getpreviousrowfield/messages/messages_ko_KR.properties
  plugins/get-previous-row-field/core/src/main/resources/org/pentaho/di/trans/steps/getpreviousrowfield/messages/messages_zh_CN.properties
  plugins/get-previous-row-field/core/src/main/resources/version.properties
  plugins/get-previous-row-field/core/src/main/resources/version.xml
  plugins/get-previous-row-field/pom.xml

License header violations

:heavy_exclamation_mark: Copyright year is not the current year on plugins/get-previous-row-field/core/src/main/java/org/pentaho/di/trans/steps/getpreviousrowfield/GetPreviousRowField.java. Found 2016. Was expecting 2017

:heavy_exclamation_mark: Copyright year is not the current year on plugins/get-previous-row-field/core/src/main/java/org/pentaho/di/trans/steps/getpreviousrowfield/GetPreviousRowFieldData.java. Found 2013. Was expecting 2017

:heavy_exclamation_mark: Copyright year is not the current year on plugins/get-previous-row-field/core/src/main/java/org/pentaho/di/trans/steps/getpreviousrowfield/GetPreviousRowFieldMeta.java. Found 2016. Was expecting 2017

:heavy_exclamation_mark: Copyright year is not the current year on plugins/get-previous-row-field/core/src/main/java/org/pentaho/di/ui/trans/steps/getpreviousrowfield/GetPreviousRowFieldDialog.java. Found 2016. Was expecting 2017


[otbn] Instruction encoding quick reference

The RISC-V specification has a compact table that lays out all of the instruction encodings in one place. This is a handy reference when working with instruction encodings. Should we have something similar included in the OTBN documentation? We're already autogenerating the tables per instruction so we've got most of what we need to do this anyway.
Whilst working on the OTBN decoder I've hacked up the existing python to give a table that's good enough for my purposes. I'd be happy to work on this to produce something suitable for inclusion in the repository.

Sounds like a very good idea! I vaguely thought I should do that when I was first doing all the YAML stuff, then completely forgot about it... But, yep, I think it looks very sensible.

Note to future potential people working on this: I suspect my initial work has been lost to the mists for time!


autoAdjustSelectionIndicatorWidth  has wrong

In ScrollView-Example DEMO, I set self.segmentedControl.autoAdjustSelectionIndicatorWidth = YES; then I  draging scrollView, it appear like this...

Slow connection speed, image upload was not successful,  Being uploaded...

        发自网易邮箱大师
        在2016年05月25日 17:05，Ignacio Romero Zurbuchen 写道:Like what?

—You are receiving this because you authored the thread.Reply to this email directly or view it on GitHub

        在2016年05月25日 17:05，Ignacio Romero Zurbuchen 写道:Like what?

—You are receiving this because you authored the thread.Reply to this email directly or view it on GitHub

[image: 内嵌图片 1]
2016-05-25 17:26 GMT+08:00 sinuofake<EMAIL_ADDRESS>
在2016年05月25日 17:05，Ignacio Romero Zurbuchen<EMAIL_ADDRESS>写道:
Like what?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/dzenbot/DZNSegmentedControl/issues/83#issuecomment-221515715

When I upload image, it's always display "Something went really wrong, and we can’t process that file. Try again "

Image was uploaded successfully, I use VPN


Add backend portion of the application

Some notes:

The test will not pass because it requires that the Wrapper class. Once it merges in the master with that class, the tests will pass.

@googlebot I signed it!

LGTM


Receiving invalid stream id

I am trying to implement socket.io-stream into my project, and I have noticed that when I stream objects to my client, I keep getting an invalid stream id error. Now it appears that all my data has been streamed successfully and the stream has ended successfully too, but it comes after the stream end event is sent and acknowledged.
Here is an image to show what I mean

Any suggestions or ideas would be appreciated.
Thanks!

I'm also getting this error, but only sometimes. This last part makes it very hard to debug, or to make a example.
I do have some logs. cloud:ws:StreamManager push or cloud:ws:StreamManager _read are called when the push or push method are called on a outgoing socket.io-stream.
  socket.io-stream:socket read: "b1534aca-180e-465f-8b26-d25d64b2ab12" +1ms
  socket.io-stream:socket write: "285d89ea-eb69-4579-86cc-53aa827a0d2c" +3ms
  cloud:ws:StreamManager push:  +4ms 55005c2b7a1c945b87bfa9a7-webcam/285d89ea-eb69-4579-86cc-53aa827a0d2c
  cloud:ws:StreamManager _read:  +0ms 55005c2b7a1c945b87bfa9a7-webcam/285d89ea-eb69-4579-86cc-53aa827a0d2c
  socket.io-stream:socket read: "b1534aca-180e-465f-8b26-d25d64b2ab12" +2ms
  socket.io-stream:socket write: "285d89ea-eb69-4579-86cc-53aa827a0d2c" +1ms
  cloud:ws:StreamManager push:  +3ms 55005c2b7a1c945b87bfa9a7-webcam/285d89ea-eb69-4579-86cc-53aa827a0d2c
  cloud:ws:StreamManager _read:  +0ms 55005c2b7a1c945b87bfa9a7-webcam/285d89ea-eb69-4579-86cc-53aa827a0d2c
  socket.io-stream:socket end: "285d89ea-eb69-4579-86cc-53aa827a0d2c" +1ms
  cloud:ws:StreamManager push:  +1ms 55005c2b7a1c945b87bfa9a7-webcam/285d89ea-eb69-4579-86cc-53aa827a0d2c
  socket.io-stream:socket error: "285d89ea-eb69-4579-86cc-53aa827a0d2c", "invalid stream id" +0ms
  socket.io-stream:iostream destroy +0ms
  socket.io-stream:iostream clean up +0ms
  cloud:ws:StreamManager error:  +0ms 55005c2b7a1c945b87bfa9a7-webcam/285d89ea-eb69-4579-86cc-53aa827a0d2c { [Error: invalid stream id] remote: true }
  socket.io-stream:iostream destroy +0ms
  socket.io-stream:iostream already destroyed +0ms

It looks like I'm getting this error after the end event.
I also notice it logs an error when running the first unit test:
$ DEBUG=socket.io-stream* mocha --require test/support/server.js
  socket.io-stream
  socket.io-stream:socket sending new streams +0ms
  socket.io-stream:socket sending new streams +2ms
  socket.io-stream:socket new streams +6ms
  socket.io-stream:socket new streams +101ms
  socket.io-stream:socket read: "41a0e462-d373-4a38-90fe-af00e30cf504" +2ms
  socket.io-stream:socket read: "fe90186d-6f0c-4d0f-9d01-1b59e57cfb3c" +2ms
  socket.io-stream:socket write: "41a0e462-d373-4a38-90fe-af00e30cf504" +2ms
  socket.io-stream:socket read: "41a0e462-d373-4a38-90fe-af00e30cf504" +2ms
  socket.io-stream:socket write: "fe90186d-6f0c-4d0f-9d01-1b59e57cfb3c" +2ms
  socket.io-stream:socket read: "fe90186d-6f0c-4d0f-9d01-1b59e57cfb3c" +2ms
  socket.io-stream:socket write: "41a0e462-d373-4a38-90fe-af00e30cf504" +1ms
  socket.io-stream:socket read: "41a0e462-d373-4a38-90fe-af00e30cf504" +0ms
  socket.io-stream:socket write: "fe90186d-6f0c-4d0f-9d01-1b59e57cfb3c" +5ms
  socket.io-stream:socket read: "fe90186d-6f0c-4d0f-9d01-1b59e57cfb3c" +2ms
  socket.io-stream:socket write: "41a0e462-d373-4a38-90fe-af00e30cf504" +0ms
  socket.io-stream:socket read: "41a0e462-d373-4a38-90fe-af00e30cf504" +1ms
  socket.io-stream:socket write: "fe90186d-6f0c-4d0f-9d01-1b59e57cfb3c" +4ms
  socket.io-stream:iostream _onfinish +1ms
  socket.io-stream:iostream _onfinish: not ended +0ms
  socket.io-stream:iostream _onend +0ms
  socket.io-stream:iostream _onend: [object Object] +0ms
  socket.io-stream:iostream destroy +0ms
  socket.io-stream:iostream clean up +0ms
  socket.io-stream:socket read: "fe90186d-6f0c-4d0f-9d01-1b59e57cfb3c" +1ms
  socket.io-stream:socket end: "41a0e462-d373-4a38-90fe-af00e30cf504" +0ms
  socket.io-stream:iostream _onend +0ms
  socket.io-stream:iostream _onend: not finished +0ms
  socket.io-stream:iostream _onfinish +0ms
  socket.io-stream:iostream _onfinish: ended, destroy [object Object] +0ms
  socket.io-stream:iostream destroy +0ms
  socket.io-stream:iostream clean up +0ms
  socket.io-stream:iostream _onfinish +1ms
  socket.io-stream:iostream _onfinish: not ended +0ms
  socket.io-stream:iostream _onend +0ms
  socket.io-stream:iostream _onend: [object Object] +0ms
  socket.io-stream:iostream destroy +0ms
  socket.io-stream:iostream clean up +0ms
  socket.io-stream:socket end: "41a0e462-d373-4a38-90fe-af00e30cf504" +0ms
  socket.io-stream:socket end: "fe90186d-6f0c-4d0f-9d01-1b59e57cfb3c" +0ms
  socket.io-stream:iostream _onend +0ms
  socket.io-stream:iostream _onend: not finished +0ms
  socket.io-stream:iostream _onfinish +0ms
  socket.io-stream:iostream _onfinish: ended, destroy [object Object] +0ms
  socket.io-stream:iostream destroy +0ms
  socket.io-stream:iostream clean up +0ms
  socket.io-stream:socket error: "41a0e462-d373-4a38-90fe-af00e30cf504", "invalid stream id" +1ms
  socket.io-stream:socket invalid stream id: "41a0e462-d373-4a38-90fe-af00e30cf504" +0ms
  socket.io-stream:socket end: "fe90186d-6f0c-4d0f-9d01-1b59e57cfb3c" +0ms
    ✓ should send/receive a file (175ms)

(I find it quite hard to debug, because when I enable more socket.io debug's my terminal can't handle all the buffers, it starts drawing all sorts of strange characters.)

Those errors I noticed in the test are coming from the _onend method in the socket.js module. It looks like _onend is called a second time and the second time, when the stream is already destroyed it can't find it.
The _onend method:
Socket.prototype._onend = function(id) {
  debug('end: "%s"', id);

  var stream = this.streams[id];
  if (!stream) {
    debug('_onend error: invalid stream id');
    this._error(id, 'invalid stream id');
    return;
  }

  stream._end();
};

Client: Sends image (reads from file)
$ DEBUG=client*,socket.io-stream*,socket.io-parser* node client/client.js
...
  client sendImage +0ms
  socket.io-stream:socket sending new streams +0ms
  socket.io-parser encoding packet {"type":2,"data":["$stream","image",[0],"d0b576a0-9d72-46b1-82d4-8865cfc39853",{"name":"10x10.jpg"}],"nsp":"/user"} +1s
  socket.io-parser encoded {"type":2,"data":["$stream","image",[0],"d0b576a0-9d72-46b1-82d4-8865cfc39853",{"name":"10x10.jpg"}],"nsp":"/user"} as 2/user,["$stream","image",[0],"d0b576a0-9d72-46b1-82d4-8865cfc39853",{"name":"10x10.jpg"}] +0ms
  socket.io-parser decoded 2/user,["$stream-read","d0b576a0-9d72-46b1-82d4-8865cfc39853",16384] as {"type":2,"nsp":"/user","data":["$stream-read","d0b576a0-9d72-46b1-82d4-8865cfc39853",16384]} +5ms
  socket.io-stream:socket read: "d0b576a0-9d72-46b1-82d4-8865cfc39853" +7ms
  socket.io-parser encoding packet {"type":5,"data":["$stream-write","d0b576a0-9d72-46b1-82d4-8865cfc39853",[...],"buffer"],"id":0,"nsp":"/user"} +1ms
  socket.io-parser encoded {"type":5,"data":["$stream-write","d0b576a0-9d72-46b1-82d4-8865cfc39853",{"_placeholder":true,"num":0},"buffer"],"id":0,"nsp":"/user","attachments":1} as 51-/user,0["$stream-write","d0b576a0-9d72-46b1-82d4-8865cfc39853",{"_placeholder":true,"num":0},"buffer"] +4ms
  socket.io-parser decoded 2/user,["$stream-read","d0b576a0-9d72-46b1-82d4-8865cfc39853",16384] as {"type":2,"nsp":"/user","data":["$stream-read","d0b576a0-9d72-46b1-82d4-8865cfc39853",16384]} +4ms
  socket.io-stream:socket read: "d0b576a0-9d72-46b1-82d4-8865cfc39853" +9ms
  socket.io-stream:iostream _onfinish +1ms
  socket.io-stream:iostream _onfinish: not ended +0ms
  socket.io-stream:iostream _onend +1ms
  socket.io-stream:iostream _onend: [object Object] +0ms
  socket.io-stream:iostream destroy +0ms
  socket.io-stream:iostream clean up +0ms
  socket.io-parser decoded 2/user,["$stream-end","d0b576a0-9d72-46b1-82d4-8865cfc39853"] as {"type":2,"nsp":"/user","data":["$stream-end","d0b576a0-9d72-46b1-82d4-8865cfc39853"]} +1ms
  socket.io-stream:socket end: "d0b576a0-9d72-46b1-82d4-8865cfc39853" +1ms
  socket.io-parser encoding packet {"type":2,"data":["$stream-error","d0b576a0-9d72-46b1-82d4-8865cfc39853","invalid stream id"],"nsp":"/user"} +1ms
  socket.io-parser encoded {"type":2,"data":["$stream-error","d0b576a0-9d72-46b1-82d4-8865cfc39853","invalid stream id"],"nsp":"/user"} as 2/user,["$stream-error","d0b576a0-9d72-46b1-82d4-8865cfc39853","invalid stream id"] +0ms

Server: Receives image, writes to file
$ DEBUG=server*,socket.io-stream*,socket.io-parser* node server/server.js
...
  server server listening on *:7000 +0ms
  socket.io-parser encoding packet {"type":0,"nsp":"/"} +0ms
  socket.io-parser encoded {"type":0,"nsp":"/"} as 0 +2ms
  socket.io-parser decoded 0/user as {"type":0,"nsp":"/user"} +11ms
  socket.io-parser encoding packet {"type":0,"nsp":"/user"} +1ms
  socket.io-parser encoded {"type":0,"nsp":"/user"} as 0/user +0ms
  server /user new connection +1s
  socket.io-parser decoded 2/user,["$stream","image",[0],"d0b576a0-9d72-46b1-82d4-8865cfc39853",{"name":"10x10.jpg"}] as {"type":2,"nsp":"/user","data":["$stream","image",[0],"d0b576a0-9d72-46b1-82d4-8865cfc39853",{"name":"10x10.jpg"}]} +1s
  socket.io-stream:socket new streams +2s
  server on image +0ms
  socket.io-parser encoding packet {"type":2,"data":["$stream-read","d0b576a0-9d72-46b1-82d4-8865cfc39853",16384],"nsp":"/user"} +3ms
  socket.io-parser encoded {"type":2,"data":["$stream-read","d0b576a0-9d72-46b1-82d4-8865cfc39853",16384],"nsp":"/user"} as 2/user,["$stream-read","d0b576a0-9d72-46b1-82d4-8865cfc39853",16384] +0ms
  socket.io-parser decoded 51-/user,0["$stream-write","d0b576a0-9d72-46b1-82d4-8865cfc39853",{"_placeholder":true,"num":0},"buffer"] as {"type":5,"attachments":1,"nsp":"/user","id":0,"data":["$stream-write","d0b576a0-9d72-46b1-82d4-8865cfc39853",{"_placeholder":true,"num":0},"buffer"]} +7ms
  socket.io-stream:socket write: "d0b576a0-9d72-46b1-82d4-8865cfc39853" +11ms
  socket.io-parser encoding packet {"type":2,"data":["$stream-read","d0b576a0-9d72-46b1-82d4-8865cfc39853",16384],"nsp":"/user"} +3ms
  socket.io-parser encoded {"type":2,"data":["$stream-read","d0b576a0-9d72-46b1-82d4-8865cfc39853",16384],"nsp":"/user"} as 2/user,["$stream-read","d0b576a0-9d72-46b1-82d4-8865cfc39853",16384] +0ms
  socket.io-parser encoding packet {"id":0,"type":3,"data":[],"nsp":"/user"} +0ms
  socket.io-parser encoded {"id":0,"type":3,"data":[],"nsp":"/user"} as 3/user,0[] +0ms
  socket.io-parser decoded 2/user,["$stream-end","d0b576a0-9d72-46b1-82d4-8865cfc39853"] as {"type":2,"nsp":"/user","data":["$stream-end","d0b576a0-9d72-46b1-82d4-8865cfc39853"]} +1ms
  socket.io-stream:socket end: "d0b576a0-9d72-46b1-82d4-8865cfc39853" +3ms
  socket.io-stream:iostream _onend +0ms
  socket.io-stream:iostream _onend: not finished +0ms
  socket.io-stream:iostream _onfinish +0ms
  socket.io-parser encoding packet {"type":2,"data":["$stream-end","d0b576a0-9d72-46b1-82d4-8865cfc39853"],"nsp":"/user"} +1ms
  socket.io-parser encoded {"type":2,"data":["$stream-end","d0b576a0-9d72-46b1-82d4-8865cfc39853"],"nsp":"/user"} as 2/user,["$stream-end","d0b576a0-9d72-46b1-82d4-8865cfc39853"] +0ms
  socket.io-stream:iostream _onfinish: ended, destroy [object Object] +0ms
  socket.io-stream:iostream destroy +0ms
  socket.io-stream:iostream clean up +1ms
  socket.io-parser decoded 2/user,["$stream-error","d0b576a0-9d72-46b1-82d4-8865cfc39853","invalid stream id"] as {"type":2,"nsp":"/user","data":["$stream-error","d0b576a0-9d72-46b1-82d4-8865cfc39853","invalid stream id"]} +1ms
  socket.io-stream:socket error: "d0b576a0-9d72-46b1-82d4-8865cfc39853", "invalid stream id" +0ms
  socket.io-stream:socket invalid stream id: "d0b576a0-9d72-46b1-82d4-8865cfc39853" +0ms

So:

client: was finished sending a stream
client: sends a $stream-end
client: destroys the stream
server: receives this $stream-end
server: destroys stream
5. server: for some reason sends a $stream-end back (why?)
client: receives this second $stream-end
client: tries to destroy a stream that doesn't exist anymore and sends a $stream-error back.
server: receives $stream-error, but can't emit error because stream doesn't exist anymore.

Why would the server respond with an $stream-end when it received a $stream-end?

I now understand the tricky thing is that a socket.io-stream is a duplex stream, it's writable and readable. The socket.io events that are send reflect the events the stream emits. So if a local socket.io-stream is fully consumed it will emit a end event and send a $stream-end to a remote socket.io-stream, whether that remote socket.io-stream was reading or writing.
The remote socket.io-stream will always receive this, whether he still had that stream or not. This is handy because it can clearly indicate it when a certain stream (id) doesn't exist.
So I'll admit I'm not sure what to do here. The following solutions don't seem adequate:

Not send $stream-end to a remote that wasn't reading. (Won't that break anything / limit the functionality somehow?)
Ignore $stream-... events for streams that don't exist. (It can fail silently, which is harder to debug)

How only sending a $stream-end to a reading remote could work:
https://github.com/nkzawa/socket.io-stream/pull/41

@peteruithoven I think I'm not fully understanding the issue, but doesn't the allowHalfOpen option solve it?
var stream = ss.createStream({ allowHalfOpen: true });

This allows the stream to keep the other side open like the option of net module.
https://nodejs.org/api/net.html#net_new_net_socket_options

@nkzawa, it could solve it, but I'm not sure using allowHalfOpen is always appropriate. I'll try to summarize the issue.
When you send a stream using socket.io-stream (so you write to the stream) the stream will be destroyed when sending finishes. (I think when the acknowledgment callback of the last write event is called). The receiving end will read the stream and, a $stream-end event will be send back to the sender, even though it has already destroyed this stream on his end because it was writing. It looks like it only makes sense to receive a $stream-end when you are reading from the stream, just like you only use  the regular stream end event when you're reading.
When the $stream-end is send anyway (like it currently is) you'll see this $stream-error with invalid stream id being send back as response to the $stream-end. While this error is not thrown or emitted, it does show up in the logs and Chrome's network dev tools, which is quite confusing.

@peteruithoven thank you very much for your great explanation. I think I understand the issue.

Ignore $stream-... events for streams that don't exist. (It can fail silently, which is harder to debug)

I'd like to take this way but apply it only for Socket#_onend. That is a simplest solution and it'd be nothing wrong to notify the event to the corresponding endpoint anyway. What do you think?

I'd like to take this way but apply it only for Socket#_onend. That is a simplest solution and it'd be nothing wrong to notify the event to the corresponding endpoint anyway. What do you think?

With the corresponding endpoint you mean the remote socket.io-stream right? I like the fact that the events send over socket.io are in sync with the events that are emitted locally.
Limiting ignoring only the end events send to not existing streams seems like a okay compromise.

Released as 0.6.1. Thank you very much for your help @peteruithoven :smile:

My pleasure.
I hope to contribute more in the near future, especially around preventing memory leaks.


Writing to a characteristic and getting a response on a Notification Characteristic

Summary
First of all, thank you for this awesome library. I am currently working on a BLE project where to do read requests I need to write certain bytes on a write-only characteristic, the hardware module processes the request then answers back on a notification-only characteristic. How would you suggest that I proceed to Write -> Get response in these conditions using RxAndroidBle? I want to avoid writing multiple times then getting de-synced responses since I am working with 2 different characteristics.
I need to wait for response because my next write will usually depend on the type of response I get back.

The answer will be posted here: http://stackoverflow.com/questions/38902913/rxandroidble-keeping-a-persistant-connection-write-notification-handling
Best Regards

is the answer use the rxjava not rxjava2? I am confused in using the answer code(many method can not resolve) in rxjava2 & Rxandroidble2 project, thank you!

Hello
As you can see the answer was added almost two years ago — at the time the library supported RxJava 1 only. You are now trying to use the same code for RxJava 2 version of the library — this will not work without some minor changes.
I will try to find some time to update the answer in the future but I cannot commit to any particular time frame.
You can adjust the code by yourself as the general API of the library has not changed — it was just updated to RxJava 2. You should be able to find some tutorials on the topic.
Best Regards

Thank you very much!
with your guides, I have get the answer, more detail see this[https://stackoverflow.com/questions/49921894/write-notification-handling-with-rxandroidble?noredirect=1&lq=1]


Show how many minutes are remaining before the next break on the extension icon

See https://stackoverflow.com/questions/5759130/google-chrome-extension-numbers-on-the-icon for how to implement.
Should be fairly easy.

Nice idea. I'd like it to be a preference …
… but not a default because (subtly) from UX and wellbeing perspectives, clock-watching sort of goes against the principle of taking a break :-)


feat: add support v flag

(I'm not familiar with parser implementation best practices. If you have a better implementation, please open a new PR.)

Overview
This PR adds support for v flag.
Add new AST nodes

ExpressionCharacterClass
If the character class has intersection or subtraction it will be wrapped in this node. E.g. [a--b], [a&&b],[^a--b], [^a&&b]
ClassIntersection
It is an intersection node. E.g. a&&b
ClassSubtraction
It is a subtraction node. E.g. a--b
ClassStringDisjunction
It is \p{...} node. E.g. \q{a|b}
StringAlternative
It is Alternative like node in ClassStringDisjunction.

Change AST nodes

CharacterClass

Add unicodeSets flag. true if the regex has the v flag. It had this because negation (^) behaves differently at runtime.

CharacterSet (with kind: "property")

Add strings flag. true if it \p{} with property of string (e.g. Basic_Emoji). It has no negation.

Change API

The fourth argument of parser.parsePattern and validator.validatePattern has been changed from a boolean uFlag to an object with flags.
This is because the object format is easier to use than specifying multiple flags in argument order. For backward compatibility, the old boolean value work as well.

close #80

Thank you @ota-meshi! I'll review this soon.

There is one thing I noticed by looking at the AST format: Alternative. I think that it's very confusing that Alternative is now either a DisjunctionAlternative or a StringAlternative. The 2 types of alternatives seem very different to me, so I think that combining them under Alternative doesn't make much sense.
I also think that the new Alternative just isn't a useful type. In the entire AST definition, the Alterantive type is used 2 times, while DisjunctionAlternative is used 20 times and StringAlternative used 2 times. DisjunctionAlternative and StringAlternative aren't used together much.
So I think it would make sense to more clearly separate the new StringAlternative. I would keep the old Alternative definition and make a new type for StringAlternative.

Good point. I think your idea makes sense. I will change the AST.

I refactored this PR. Previously, a character string indicating the kind was returned from some consume functions and processed. However, this was inconsistent so we refactored the consume function to return a boolean.
https://github.com/eslint-community/regexpp/pull/82/commits/8d46d1456cb29f7517b1ae98d03f393608f3b018

I refactored this PR. Changed MayContainStrings to handle using result. This follows a review comment in PR in Acorn.
https://github.com/eslint-community/regexpp/pull/82/commits/ffcaed597097baf5ab75535a75580121160dcd09

@eslint-community/core-team @RunDevelopment
Could you please check this PR if you are interested?
If no one responds, I'll merge and release this PR after next week.

Thank you for checking out this PR. I will merge this PR.

Hi @RunDevelopment!
I invited you to the team. I would be happy if you accept it.

Joined. Thanks @ota-meshi!


after build, how to install?

Hi,
after build llvm with ninja, how to install llvm to /usr?
search ninja manual, couldn't find the information.
TIA

install the executable:
sudo cp ninja /usr/local/bin
and add the following to your ~/.bashrc file:
nice printing for ninja and bash tab completion
export NINJA_STATUS="[%p %s/%t] "
. <location of ninja's bash completion file>
On Thu, Jul 7, 2016 at 1:49 PM, 8l<EMAIL_ADDRESS>wrote:

Hi,
after build llvm with ninja, how to install llvm to /usr?
search ninja manual, couldn't find the information.
TIA
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ninja-build/ninja/issues/1171, or mute the thread
https://github.com/notifications/unsubscribe/AAXP9ZnoUl0PhsoIZ2j-R-CGTf9tX6p7ks5qTWZKgaJpZM4JHfDZ
.

--
Scott Bailey

Ninja just runs the commands it's instructed to.  To install LLVM as built with CMake, see the LLVM and CMake documentation.

Thanks for the reply, but sorry not helpful.
if i build default cmake without ninja, i can install llvm without any problem.
but built llvm with ninja, still i couldn't install llvm to /usr.
anyway, until find the info, i fallback to default cmake and make.

You did not say what issue you were having. Can you share an error message?
But I think what @martine was trying to say is that's it's likely not a ninja bug.

You should file this bug in the cmake or llvm tracker.  I'm sure they can help you!  :)

Hi @8l, it's very old issue but ninja install does installation job after llvm build.

$ cmake . -DCMAKE_INSTALL_PREFIX=~/xxx/devlibs -G Ninja
$ ninja
$ ninja install


Broken KMS tests

Tests in kms/ are failing due to lint checks - see #1763 for example.

This appears to have been fixed.  Closing.


Get workspace URL

Description
Get workspace URL after install so that app can redirect to specific workspace
With 'incoming-webhook' in scopes, i am able to get incomingWebhook.configurationUrl but i would like to not have this scope as user have to select a channel during installation - this scope also is not required and doesn't have any use case for the app
Please let me know how do i get this
What type of issue is this? (place an x in one of the [ ])

[ ] bug
[ ] enhancement (feature request)
[x] question
[ ] documentation related
[ ] example code related
[ ] testing related
[ ] discussion

Requirements (place an x in each of the [ ])

[x] I've read and understood the Contributing guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.
[x] I've searched for any related issues and avoided creating a duplicate issue.

Hi @mithun35h, thanks for asking the question!
You can use auth.test API method with the issued OAuth token. The API response includes url which is the URL of the installed workspace (https://{your workspace subdomain}.slack.com). An alternative way is to use the Slack's deep link with team_id like the OAuth package does: https://github.com/slackapi/node-slack-sdk/blob/%40slack/oauth%402.2.0/packages/oauth/src/index.ts#L709
I hope this helps!

Yes, thank you


fix missing symbol to indicate start of command

In sample code area, some commands are missing '$' symbol
to indicate start of command.
Proposed changes
Add '$' symbol to indicate start of command.

Deploy preview for docsdocker ready!
Built with commit 3a7e77cbff83acb5b462df5f95b04b27e0933be9
https://deploy-preview-7698--docsdocker.netlify.com


Conditional Variables will soon be deprecated soon any workarounds?

I have spoken to Scoder one of the Cython developers and It seems I have no response for solving the Macro issue Does anyone have any ideas or workarounds to this where we would be able to keep the keywords in the script because otherwise we will have more problems in the future with future updates and we don't want for that to happen. If anyone can fork this repo and come up with a solution please reply to me about it. I do have one idea but it would be a pain because we would have to replace all the numbers but then telling people what they are would be a pain to implement (which implies that we would need More Documentation in the long run...) with DEF gone we need a clear and ALL-Out solution to this issue because uvloop is in the same boat as us...

This issue can be closed as we have now migrated to Cython 3.0.


Update to Stream v0.6 API and forward compatibility with Stream v1.0

Supersedes / closes #10

Interestingly updating the Stream dependency has fixed issues with legacy PHP < 5.4 segfaulting occasionally. This is very likely related to https://github.com/reactphp/stream/pull/80.

Interestingly updating the Stream dependency has fixed issues with legacy PHP < 5.4 segfaulting occasionally. This is very likely related to reactphp/stream#80.

Turns out the PHP 5.3 still segfaults occasionally. In particular, the test suite now runs all the tests successfully but then terminates with a segfault. I've reverted the doc changes with #15.


Please add terminal mode maps

Vim8.1 now has terminal mode.    If some maniac has Vim open in a tmux session and starts a Vim terminal window, then the normal mode mappings won't work from the terminal window.
This could be added to plugin/tmux_navigator.vim after the nnoremaps.
if has('terminal')
tnoremap   :TmuxNavigateLeft
tnoremap   :TmuxNavigateDown
tnoremap   :TmuxNavigateUp
tnoremap   :TmuxNavigateRight
tnoremap  <c-> :TmuxNavigatePrevious
endif

Hi @Heithoff, we have a few open issues and a PR related to terminal mode mappings (I'm working right now to consolidate them). IIRC there are some potential issues or complications when running this with FZF so I'm weary of adding these. You certainly can add to your own vimrc, but for now I'm going to close this in favor of https://github.com/christoomey/vim-tmux-navigator/pull/172 where I'd like to collect any conversations around terminal mode mappings.


Source input problem

This is my td-agent conf:
<source>
  type amqp
  host rabbitmq.hostname - local rabbitmq(same instance with td-agent)
  port 5672
  vhost /
  user test
  pass test
  queue logs
  format json
</source>

<match **>
  type file
  path /var/log/logs/test
  time_slice_format %Y%m%d%H
  time_slice_wait 1s
  utc
  buffer_chunk_limit 1m
</match>

For testing RMQ I use https://github.com/backstop/rabbit-mq-stress-tester
I see in RMQ dashboard request, but nothing in /var/log/logs/test and nothing in logs files
Thank you

When you start the td-agent, the queue named logs had been available?
If queue is exists, you can send message manually from RabbitMQ management console. Could you check these?

mq-stress-tester made stress-test-exchange queue whit Messages. I also see logs queue, but it is empty. http://s8.postimg.org/pxys6wrdh/Untitled.png

Please try to subscribe stress-test-exchange by td-agent. like below.
<source>
  type amqp
  host rabbitmq.hostname - local rabbitmq(same instance with td-agent)
  port 5672
  vhost /
  user test
  pass test
  queue stress-test-exchange
  format json
</source>

...

Yes, I changed queue name to stress-test-exchange  just as wrote previous message. I found the problem. durable! durable=true, now I see messages in _ /var/log/logs/test_ Thank you

also was tested on remote td-agent. all works. thanks

:+1:

Woa, durable => true, makes it work too, why?

@ebuildy If I remember correctly, both of producer and consumer shuold use same durable paramater. This behavior depends on producer's setting.


Hard to keep straight in my head.

I was having trouble understanding how to move things in the DOM.  I probably was overthinking.  This is as far as I got debugging took most of my time over the weekend.

Avoid using the For In loop in these problems and it should be much easier.


fix: kcp2k V1.35. secure cookie to prevent UDP spoofing. fixes: #3286

TODO

[ ] review
[ ] announce / disclose to users

Assets/Mirror/Transports/KCP/kcp2k/highlevel/KcpPeer.cs(717,85): error CS7036: There is no argument given that corresponds to the required formal parameter 'startIndex' of 'BitConverter.ToUInt32(byte[], int)'
Assets/Mirror/Transports/KCP/kcp2k/highlevel/KcpPeer.cs(743,47): error CS1503: Argument 2: cannot convert from 'byte[]' to 'System.ArraySegment<byte>'
AssetDatabase: script compilation time: 47.766542s
Scripts have compiler errors.

fixed


Error:

Describe the Error

Expected behavior

Additional context

@karanS08 Hi! It would be great if you could please debrief your issue.


Implement logging.

Currently, the only feedback/output is a couple of print statements. These should be replaced with detailed logging.

Implemented initial logging infrastructure.


Create warning on potentially mis-spelled names in for-context:, not-for-context:, for-compiler:

This is a future improvement: when csolution compares  names in for-context:, not-for-context:, for-compiler: it should highlight when a name is potentially misspelled.
Example:
  target-types:
    - type: Board                          # When applying target-type: 'Board':

When using for-context: +board this will never match -> issue warning: target-type name does not exist in solution
When using for-context: .Board2 this will never match -> issue warning: build-type name does not exist in solution (use obviously potentially mixed target with build type).

Addressed in https://github.com/Open-CMSIS-Pack/devtools/pull/1121 and https://github.com/Open-CMSIS-Pack/devtools/pull/1126.


Adding optional animation for drawing the lines

This is a simple addition, allowing the user to enable animation on the line drawing.

Thanks for the contribution !! I added a small comment in your code

One question I have, did you try with a big chart data? like weekly scale? Could you add a GIF about that case?


Refactor: statistics

fixes #331 e41c54e
fixes #335 c4239a0
fixes #336 3128206
fixes #337 e1f9ed8
fixes #338 437e8c3
fixes #334 91063d8
Values changed in output:

accepted_count_by_gender and sector_statistics, due to #338
msme_accepted_count_woman, msme_submitted_count_woman, due to #336

Pull Request Test Coverage Report for Build<PHONE_NUMBER>9
Details

17 of 22 (77.27%)  changed or added relevant lines in 1 file are covered.
36 unchanged lines in 6 files lost coverage.
Overall coverage decreased (-0.7%) to 85.721%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

app/utils/statistics.py
17
22
77.27%

Files with Coverage Reduction
New Missed Lines
%

app/utils/statistics.py
1
81.63%

app/routers/users.py
2
52.43%

app/util.py
2
96.74%

app/commands.py
3
94.44%

app/routers/downloads.py
6
40.85%

app/routers/guest/applications.py
22
84.83%

Totals

Change from base Build<PHONE_NUMBER>8:
-0.7%

Covered Lines:
1861

Relevant Lines:
2171

💛  - Coveralls

I think we should also change https://github.com/open-contracting/credere-backend/blob/main/app/routers/statistics.py to not check the database and calculate and return the statistics instead

I think we should also change https://github.com/open-contracting/credere-backend/blob/main/app/routers/statistics.py to not check the database and calculate and return the statistics instead
And then we could delete the update_statistics commands and Statistics table...

Sure, but let's do that in another PR, this one is a big changeset already.

delete the ... Statistics table

The table does keep a history of statistics for each day – not sure if this was a requirement.

Okay to merge on my end.


Doesn't call #close on the Rack response body when it's empty

Steps to reproduce:
# config.ru
run -> (env) {
  body = Rack::BodyProxy.new([]) { puts "This is never called" }

  [200, {}, body]
}

$ falcon serve -b http://localhost:9292

$ curl localhost:9292

I expected to see This is never called in the server output, but it's not there, which means Falcon never called #close on the response body. Puma call #close in this case, and if response body is nonempty then Falcon does as well.
This behaviour breaks some middlewares, for example Rack::CommonLogger won't log requests that have empty response bodies, because the logging is done on #close (it also uses Rack::BodyProxy).

Here is the relevant code:
https://github.com/socketry/falcon/blob/b3dfc44aabb8e7328d5214c7e7c1d42e451fb971/lib/falcon/adapters/output.rb#L67-L76
However, based on what you've said, maybe it's happening further upstream.

Okay, I found the issue.
There was a semantic change and it was not specced so I didn't catch it.
Body#read used to invoke #close when the chunk was nil. But this behaviour was generally difficult to reason about. The logic was moved into Body#each because it makes more sense - read all the chunks and then close the body. More elaborate use cases (e.g. Body#read can be followed by an explicit Body#close) exist but they are at a higher level.
The bug actually exists in http-protocol write_empty_body which invokes body.read, which used to invoke close, but now doesn't. I've changed this to invoke Body#each which should be backwards compatible and fix this issue.


cockroachdb: beta-20160915 -> beta-20160929

Things done

[ ] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] OS X
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

cockroachdb provides manpages, which are provided by running:
cockroach gen man

we actually could ship those as well.

@Mic92 Thanks for bringing this to my attention. I will try to ship those as well.

are you still planning to do this?

bump or should we close this?

I'm sorry guys, I haven't had time to work on this. In any case a newer version is already out so I will close this for now and ship an updated version later.


Document how to use the gRPC protocol for the OTel plugin

By default http is used to send traces using the opentelemetry protocol, and it's not mentioned anywhere how to use gRPC instead. I tried removing the http// part from the endpoint, so maybe the plugin gets the hint, but no, still http.

gRPC is not supported yet. Please refer to: https://docs.konghq.com/hub/kong-inc/opentelemetry/#:~:text=GRPC port that isn’t supported by the OpenTelemetry plugin yet.

Aha! Thanks. Probably make sense to not highlight the gRPC mention anywhere (also in the docs) at all, till supported. Closing this in the mean time.


Removing sort from RELAPparser.py  (#1024)

updated submodule moose

Revert "updated submodule moose"

This reverts commit da66d5150dc975e3aa9842cbfb3815238fada553.

Removing sorting from RELAPparser, and fixing a typo in the user manual: colon separated string, instead of column separated string for the  string

loosening up the tolerance for the GP test

Pull Request Description
What issue does this change request address? (Use "#" before the issue to link it, i.e., #42.)
What are the significant changes in functionality due to this change request?

For Change Control Board: Change Request Review
The following review must be completed by an authorized member of the Change Control Board.

[ ] 1. Review all computer code.
[ ] 2. If any changes occur to the input syntax, there must be an accompanying change to the user manual and xsd schema. If the input syntax change deprecates existing input files, a conversion script needs to be added (see Conversion Scripts).
[ ] 3. Make sure the Python code and commenting standards are respected (camelBack, etc.) - See on the wiki for details.
[ ] 4. Automated Tests should pass, including run_tests, pylint, manual building and xsd tests. If there are changes to Simulation.py or JobHandler.py the qsub tests must pass.
[ ] 5. If significant functionality is added, there must  be tests added to check this. Tests should cover all possible options.  Multiple short tests are preferred over one large test. If new development on the internal JobHandler parallel system is performed, a cluster test must be added setting, in  XML block, the node <internalParallel> to True.
[ ] 6. If the change modifies or adds a requirement or a requirement based test case, the Change Control Board's Chair or designee also needs to approve the change.  The requirements and the requirements test shall be in sync.
[ ] 7. The merge request must reference an issue.  If the issue is closed, the issue close checklist shall be done.
[ ] 8. If an analytic test is changed/added is the the analytic documentation updated/added?
[ ] 9. If any test used as a basis for documentation examples (currently found in raven/tests/framework/user_guide and raven/docs/workshop) have been changed, the associated documentation must be reviewed and assured the text matches the example.

Job Test linux on a344d81 : invalidated by @alfoa

Job Test CentOS 7 on a344d81 : invalidated by @alfoa

Closing this PR since the issue #995 is addressed in the PR #1066


Flow-cli panic when deploy contract with argument of dictionaries type.

When use flow-cli to deploy a contract with init func param type as Dictionaries.
For example:
pub contract Vault {
pub var signers: {String: UInt256}
init(data: {String: UInt256}) {
....
}
}
And when I deploy this contract with flow-cli and local flow.json with deployment config.
It always panic.
I am sure my argument  is correct in flow.json.
So can you help me with this problem? However, if my config is wrong, please show a correct one.
Thank you~

Can you share the part of the config defining the deploy argumetns?

I've reproduced the issue and I'm working on it.

Thank you for your replay.
My deployment args in flow.json:
"deployments": {
"emulator": {
"emulator-account": [
{
"name": "Vault",
"args": [
{
"type": "Dictionary",
"value": [
{
"key": "222",
"value": "22"
}
]
}
]
}
]
}
}

Yeah @liuxiaobleach this is starting to look like a bit harder problem to solve due to how cadence decodes the dictionary type from JSON. An issue has been opened here https://github.com/onflow/cadence/issues/1378
I might think about a workaround until that is solved but can't make promises.

Thank you.

@sideninja Double check, is this fix already deployed on testnet now?

Unfortunately, not yet, it's a bigger Cadence change and it might take some time. I will keep an eye on this.

Ok, if the fix is deployed on flow testnet, please tell me~