UI: email settings

Harbor clarity ui
while test email server,click other tag in configuration, the spin will also show and the hint of connect error show too short

Verified.

fixed


fix: getStationsById when using multiple IDs

Endpoint needed for multiple URLS is /stations/byuuid?uuids=[ID(s)]

Thanks! 👍


hiding reveal speak

with STATF_HIDDEN not reveal when speak.
maybe can be add a flag for give options if want make speak or not with flag STATF_HIDDEN.

Like #588 ?

ok issue created close that.


Make more use of file name constants

Please have a look at the individual commit messages for the details.

While the example file might only contain a single package configuration the EvaluatorCommand option --package-configuration-file actually reads a list of package configurations from this file (and should therefore be renamed to --package-configurations-file). To me it doesn't make sense to introduce a global constant that relates only to this example file. If we introduce the constant it should rather reflect the CLI use case and use plural for the constant name and file name.
Also, note that the other constant ORT_PACKAGE_CONFIGURATIONS_DIRNAME also uses plural. And for consistency with package curations --package-configuration-dir should also be renamed to --package-configurations-dir.

Phew, looks like we have a tons of inconsistencies there. Also, I just realized we never look by default for a ~/.ort/config/package-configuration(s).yml file like we do look for ~/.ort/config/curations.yml.
Anyway, that's going beyond the scope of the PR which had just the goal to not hard-code the configuration file names. And I'd also prefer to keep the introduced ORT_PACKAGE_CONFIGURATION_FILENAME constant even if we'd rename it to ORT_PACKAGE_CONFIGURATIONS_FILENAME and make it point to "package-configurations.yml" later, as it's IMO a step into the right direction to have this constant for consistency.

Phew, looks like we have a tons of inconsistencies there. Also, I just realized we never look by default for a ~/.ort/config/package-configuration(s).yml file like we do look for ~/.ort/config/curations.yml.
Anyway, that's going beyond the scope of the PR which had just the goal to not hard-code the configuration file names. And I'd also prefer to keep the introduced ORT_PACKAGE_CONFIGURATION_FILENAME constant even if we'd rename it to ORT_PACKAGE_CONFIGURATIONS_FILENAME and make it point to "package-configuration_s_.yml" later, as it's IMO a step into the right direction to have this constant for consistency.

I have created #6501 to track this.


Linting issue

From @pronebird on February 8, 2017 12:34
Hi,
I use babel-eslint 7.1.1. and I see syntax issue with the following piece in my JSX:
<button onClick={::this.handleLogin}>Log In</button>

It points at :: and says that "expression expected"
My .eslintrc:
{
  "extends": [
    "eslint:recommended",
    "plugin:react/recommended"
  ],
  "parser": "babel-eslint",
  "parserOptions": {
    "ecmaFeatures": {
      "jsx": true,
      "modules": true
    }
  },
  "plugins": [ "react" ],
  "rules": {
    "indent": [ 2, 2 ],
    "quotes": [ 2, "single" ],
    "linebreak-style": [ 2, "unix" ],
    "semi": [ 2, "always" ],
    "no-console": [ 0 ],
    "no-loop-func": [ 0 ],
    "new-cap": [ 0 ],
    "no-trailing-spaces": [ 0 ],
    "no-param-reassign": [ 0 ],
    "func-names": [ 0 ],
    "comma-dangle": [ 0 ],
    "no-unused-expressions" : [ 0 ], // until fixed https://github.com/babel/babel-eslint/issues/158
    "block-scoped-var": [ 0 ], // until fixed https://github.com/eslint/eslint/issues/2253
    "react/prop-types": [ 0 ]
  },
  "env": {
    "es6": true,
    "node": true,
    "browser": true,
    "mocha": true
  }
}

ESLint works as expected and does not produce warnings:

eslint --no-ignore scripts app test *.js

Copied from original issue: Microsoft/vscode#20198

Thanks @dbaeumer I wasn't aware of this sub-repository.

@pronebird can you provide a more complete example that demonstrates the issue (e.g. a workspace folder with package.json, ...). I am happy to clone a GitHub repository as well.
This depends on many things mainly on the working directory used when limiting the file.

@dbaeumer sure.

Clone https://github.com/jschr/electron-react-redux-boilerplate
Run npm i to install dependencies
Open folder in VSCode and navigate to [app/components/Login.js](https://github.com/jschr/electron-react-redux-boilerplate/blob/master/app/components/Login.js) to reproduce the described issue.

It could be I miss some configuration for VSCode linter but npm run lint that uses eslint works fine and produces no warnings.

@dbaeumer any progress on supporting bind operator in ESLint? Not sure maybe related to JSX syntax that confuses ESLint.

@pronebird I am able to reproduce but I have no idea why this is happening. The ESLint extension actually uses the eslint npm module to do the actual validation. I don't know why it behaves different when running outside from the command line version inside VS Code.

Help is appreciated here.

I just noticed that vscode-eslint extension does not emit the "Expression expected" message!

As a workaround I can suggest to disable JavaScript validation by putting the following into your user or workspace config:
"javascript.validate.enable": true

I think vscode uses TypeScript for JS (because the javascript.validate.enable option is listed under TypeScript section in settings). If this is true, JS validation may be enabled back once Microsoft/TypeScript/issues/3508 is resolved.

Is this solved by @KyrychukD's discovery?

@KyrychukD you are absolutely correct and when I looked at the issue I totally forgot to look at the source of the errors. They are generated by the TS compiler and don't come from ESLint. This explains why they are not reported when running ESlint in a terminal.
@pronebird if you thinks the errors reported by TS are incorrect please open an issue here: https://github.com/Microsoft/TypeScript


changed value of Select All users to *

Please make the changes required to not consider "Not Enabled"  as report only mode

Looks good for private preview.


Select-DbaObject : Set Typename, pick defaultview

Type of Change

[ ] Bug fix (non-breaking change, fixes #)
[x] New feature (non-breaking change, adds functionality)
[ ] Breaking change (effects multiple commands or functionality)
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Adding code coverage to existing functionality
[ ] Pester test is included
[ ] Nunit test is included
[ ] Documentation
[ ] Build system

Changes
Added functionality to set the typename, and whitelist/blacklist properties from the default view of how the object is displayed.

ty! 🙇


Command line PDF download error

npx dl-librescore@latest
url: https://musescore.com/user/953676/scores/9731629
Select PDF
Use default output folder
error:

Processing…/Users/michel/.npm/_npx/47461c73a56e4a1f/node_modules/dl-librescore/dist/cli.js:4711
    return info.url;
                ^

TypeError: Cannot read properties of null (reading 'url')
    at /Users/michel/.npm/_npx/47461c73a56e4a1f/node_modules/dl-librescore/dist/cli.js:4711:17
    at Generator.next (<anonymous>)
    at fulfilled (/Users/michel/.npm/_npx/47461c73a56e4a1f/node_modules/dl-librescore/dist/cli.js:17:58)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Did some quick debugging; the info is destructured from the json that is returned. That doesn't contain an info property, but it does contain a 404 error.

Command-line tool isn't working right now, see https://github.com/LibreScore/dl-librescore/issues/44


Proposal: report-issue command

When a user mails us (or someone else) for help, it would be useful to gather information about their local environment, for example what version of node, npm, angular, libs they are using, log files, etc. This helps us reproduce their problem, and avoids a lot of back-and-forth communication to gather info ourselves.
We need more design thought, but my rough idea is a command for angular-cli that behaves a lot like the Send Feedback link in google properties. A wizard appears prompting user to explain their problem, gathers up the local repro info, and presents them with everything that will be sent off their machine (so they have a chance to prevent secrets being leaked).

Thinking about this again in the context of the volume of issue reports we get that are inactionable. Maybe we should route most users to file issues using a feedback command in the CLI rather than type them into github

You mean create a tool that wraps the output from ng version and adds the list of packages, and put that automatically in a GitHub issue,  including a couple of placeholders for the problems?

Yeah and it could gather much more. In theory we should try to grab a
reproducible snapshot of the users code, but in practice that would involve
slurping their whole repo and their code is typically
proprietary/confidential - but whatever we could possibly gather to help us
diagnose and reproduce the problem.
It could also be an interactive wizard, trying to get more users down the
path of reading doc/faq, getting help from other channels, etc.
On Tue, Jul 31, 2018 at 11:51 AM Sander Elias<EMAIL_ADDRESS>wrote:

You mean create a tool that wraps the output from ng version and adds the
list of packages, and put that automatically in a GitHub issue, including a
couple of placeholders for the problems?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/angular/angular-cli/issues/13#issuecomment-409328818,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAC5I3hcQoWOfZA-EoIlrd8XH8COlYgxks5uMKdFgaJpZM4FYk71
.

I don't think we ever want user code unless it's already a repro app. Both because of the proprietary bit, but also because it's usually confounded by a lot of project specific logic. It's hard for us to unravel the real problem inside a real project.
Perhaps we could have a wizard for making repros. Something like:
> ng repro --create
Creating reproduction app
Reproduction created in repro-1234asdf
Please add a commit with the minimum code to reproduce the issue and run 'ng repro --submit`
# user adds repro
> ng repro --submit
Please open https://github.com/new in your browser and follow the instructions there to upload your reproduction.

Then fill in a new issue at https://github.com/angular/angular-cli/issues/new with the link to your repro. Thanks!

I also remember some years ago that Ionic had a fantastic wizard to submit issues online, that also looked up issues with similar names and guided you through the process.
It doesn't seem to be working right now though: https://ionicframework.com/submit-issue/
We could have such a support website with the wizard and a knowledge base of the error codes.

Can we achieve this with the telemetry? If we can, do we need to keep this issue open?

Closing as this is currently note in the CLI roadmap.
Let's reconsider this in the future.


Fix for selecting specific fields in population for one-to-one relationship

Fix for selecting specific fields in population for one-to-one relationship
If there is a population for a one-to-one relationship, we should accept only "select" and "omit" attributes.

I would love to have this merged as well.. I use this feature frequently ! Thanks @TahaBoulehmi for the fix

I would love to have this merged as well.. I use this feature frequently ! Thanks @TahaBoulehmi for the fix

What is holding this back? Needed this today, using your fix, thanks @TahaBoulehmi

Please merge this! Vital stuff that's been waiting for a long time. We also would make heavy use of populate select for one-to-one relationships.

can wait till this is fully reviewed, great fix. Already tested the change and works like a charm. Please hurry and merge

Is it possible to get this reviewed soon? Need it urgently


Fix: FAIL_FAST_FATAL_APP_EXIT_c0000409_Microsoft.Windows.ApplicationModel.Resources.dll!winrt::com_array_winrt::hstring_::clear

Fix for [Watson Failure] caused by FAIL_FAST_FATAL_APP_EXIT_c0000409_Microsoft.Windows.ApplicationModel.Resources.dll!winrt::com_array_winrt::hstring_::clear
Consensus is that this error is likely due to concurrent access of class ResourceContext. I've added locks to all public methods to ensure there's no race.
A microsoft employee must use /azp run to validate using the pipelines below.
WARNING:
Comments made by azure-pipelines bot maybe inaccurate.
Please see pipeline link to verify that the build is being ran.
For status checks on the develop branch, please use TransportPackage-Foundation-PR
(https://microsoft.visualstudio.com/ProjectReunion/_build?definitionId=81063&_a=summary)
and run the build against your PR branch with the default parameters.
For status checks on the main branch, please use microsoft.ProjectReunion
(https://dev.azure.com/ms/ProjectReunion/_build?definitionId=391&_a=summary)
and run the build against your PR branch with the default parameters.

/azp run

/azp run

/azp run

/azp run


Build pipeline

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: Jason-D-Gordon sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


[2.0.0] Copy from above not working

Clicking the copy from above does nothing.
I would also suggest instead of having a copy from above a more generic copy button and a new paste button so that you can copy from anywhere and paste anywhere.

Clicking the copy from above does nothing.
I've stated in my release that it will do nothing for now. This release was just for me to be able to get some QA from other people 😄


Make toolbox multi user

When I try to open another terminal, it shows Directory tree /var/lib/toolbox/sailor-ethraza_backops-latest is currently busy.
As you can see, I tryed to set --ephemeral flag but it didn't work at all.
Is it possible to get toolbox to work for multiple logins?
$ cat /etc/lsb-release
DISTRIB_ID="Flatcar Container Linux by Kinvolk"
DISTRIB_RELEASE=2512.4.0
DISTRIB_CODENAME="Oklo"
DISTRIB_DESCRIPTION="Flatcar Container Linux by Kinvolk 2512.4.0 (Oklo)"

$ cat /home/sailor/.toolboxrc
TOOLBOX_DOCKER_IMAGE=ethraza/backops
TOOLBOX_USER=sailor
TOOLBOX_FLAGS="--system-call-filter=bpf --ephemeral"
TOOLBOX_BIND="--bind=/:/media/root --bind=/usr:/media/root/usr --bind=/run:/media/root/run --bind=/sys/fs/bpf:/sys/fs/bpf --bind=/var/run/docker.sock:/var/run/docker.sock --bind=/var/backops/home/sailor:/home/sailor --bind=/mnt/storage:/mnt/storage --bind=/tmp:/tmp"

$ ssh -C sailor@kirk
Last login: Mon Sep 14 15:43:13 2020 from <IP_ADDRESS>
Flatcar Container Linux by Kinvolk stable (2512.4.0)
Directory tree /var/lib/toolbox/sailor-ethraza_backops-latest is currently busy.
Connection to kirk closed.

Hi,
yes, that's a problem with the current implementation. A workaround is documented here:
https://docs.flatcar-linux.org/os/install-debugging-tools/#spawn-a-toolbox-with-tmux-in-the-background

Hi, thanks for answering.
I had to change the host sailor shell from /usr/bin/toolbox back to /bin/bash to be able to login to it in the host shell and execute the systemd-run command.
But after I managed to get it running (sudoing tmux and strace inside the container), I saw that every nsenter would get the same session, not a new one. Maybe I'm missing something, not sure.

Correct, with nsenter the namespace of the current tmux process is entered and with tmux a it attaches to the session. You can change it to run multiple tmux sessions and create new ones. Without the a you create a new tmux session but when you have multiple sessions you need to give them a name and attach to this name or otherwise end up looking for PIDs and trying each.

I see.
Well, in the mean time, I learned that run the same image with docker using pid:host, will give me what I want while keeping the multi user possible.
I will let the toolbox/rkt asleep for the day docker will not run for some reason, till there, I will keep to docker.
Thank you.


firejail firefox desktop

Issue description
How to modify desktop entries from NixOS configuration.nix to run Firefox in Firejail?
The end state is that uses clicks on Firefox icon and Firefox gets executed as 'firejail firefox'.

I don't know if this is the best way but I would simply change the desktopItem by overriding the firefox derivation. Something like this should work
nixpkgs.config.packageOverrides = pkgs: with pkgs; {
  firefox = stdenv.lib.overrideDerivation firefox (_: {
    desktopItem = makeDesktopItem {...};
  });
};

Thank you! It works.

@tex: zathura doesn't use the desktopItem attribute (it's nothing standard AFAIK), so overriding it changes basically nothing.

@tex: zathura doesn't use the desktopItem attribute (it's nothing standard AFAIK), so overriding it changes basically nothing.

So is there any way how to to what I want? Should I directly modify Zathura expression to use desktopItem attribute? Or is there any way how to overwrite package's file from configuration.nix?

So is there any way how to to what I want? Should I directly modify Zathura expression to use desktopItem attribute? Or is there any way how to overwrite package's file from configuration.nix?

The expression basically does overwrite the original expression, almost as if you did it in that file directly, but you have to add code that actually replaces that file, e.g. during postInstall phase.

The expression basically does overwrite the original expression, almost as if you did it in that file directly, but you have to add code that actually replaces that file, e.g. during postInstall phase.


Implement a feature to delete Activity Recognition data every 24 hours by default

Currently, there is no way to delete the Activity Recognition data from the cache. Some functionality is needed such that whenever the app is started for the first time user should be asked for the intervals that he wants to delete the Activity Recognition data, if user select none then interval should be of 24 hours, otherwise from the selected options from the user, which includes weekly or monthly option to remove data.

The above functionality can be achieved by making use of AlarmManager


fix to signature for hv.Element

Updated line to correct signature in the description of hv.Element

Thanks!
I'll merge this right away now the tests have passed. In addition, I'll need to update the website and the online notebook zip archive.
Updating the notebooks in the conda/pypi packages will have to wait till the next release which should happen in a few weeks time.


Upgrade to onnxruntime version 1.20.0

It's that time again!  Onnxruntime 1.20.0 is out.  Upgrading will hopefully require following the same checklist as before.

Tada: https://github.com/yalue/onnxruntime_go/pull/72
As mentioned, please confirm tests pass, and consider removing training support what was deprecated this release.

Fixed as of PR #72

Onnxruntime 1.20 is now supported by tagged version v1.13.0 of onnxruntime_go.


Logo Generation

Can I Generate a Good Logo and Use it in this Website?

Go Ahead! I have assigned the issue to you @arnabpal2022 .
Work on a new branch with the feature as the branch name.
When you create a pull request, request review from @rohitagr0310 , @jain-anshika or , @qaidjoharj53


chore: updated Dutch translations

SUMMARY
This PR updates the .po and .json file for the (missing) Dutch translations.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

Activate nl (Dutch) language in superset_config.py
Navigate through dashboards and UI of Superset

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

I just fixed the end-of-file error, for next PR please install the pre-commit hooks -> https://superset.apache.org/docs/contributing/development/#git-hooks

I just fixed the end-of-file error, for next PR please install the pre-commit hooks -> https://superset.apache.org/docs/contributing/development/#git-hooks

Thanks, and yes I will do so


Entities

I thought about these entities:

Company
Project
Developer
Team

Nice. I just think we can change developer to professional. The platform should accept designers, project managers, testers and others.

OK, excellent suggestion!


[DOC] getting started page refactor

This is a new getting started page.

should we have a "kitchen sink" code block where you can copy all code on the page OR should we have the same idea but "open in google colab" or something like that? (colab would not support JS)

I composed all this code into python and JS scripts and confirmed it works as expected.

Note to self

one open question on default client in getting started guide - ephemeral or persistent
todo fix: scrollbars on code


[BugFix] Fix mv with partition predicate rewrite bug

What type of PR is this：

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #22088
Problem Summary(Required) ：

Fix mv with partition predicate rewrite bug. The reason is that the version map of mv is not correct because of partition prune. Fix it by adding pruned partitions into version map with special version(-1) and filtered when query.
Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto backported to target branch

[x] 3.0
[x] 2.5
[ ] 2.4
[ ] 2.3

close it, fixed by https://github.com/StarRocks/starrocks/pull/28093

@Mergifyio backport branch-3.0

@Mergifyio backport branch-2.5


optional dependencies

btw not sure if this installs zstandard or not? Assumes its this lib, but right now don't see anything in the pyproject file to install that
same with lz4?
rest of the stuff looks to be python stdlib
unless im misunderstanding, should probably catch an importerror and warn if the third party libs are not installed
can PR if you think thats good

yeah it's zstandard on pip! And yep -- I didn't add the optional dependency yet (apparently there are no tests for it 🙈).
I think we should keep imports for the third party archivers on the use site so we don't have to write defensive code -- it seems fair to just crash if the compressor isn't installed when you try to uncompress the file (not much else we can do otherwise).
Could add a suggestion to install it though, e.g. pip install kompress[zstd] or something like that for the ease of use

will pr some docs for that (at least mention them in the readme)

added zstd dependency here btw, needed it for my setup anyway! https://github.com/karlicoss/kompress/pull/5


Add messages to loadinitialdata #905

Purpose
We don't really know when you are running the command what's doing inside. This improves that situation.

Coverage increased (+0.02%) to 56.016% when pulling 397f156961bde7221fdbe927a813d6a81f4a9887 on Menda:905-continuation-output-msgs into 11d1878939c5a03eaae445d08817f0f72e35a746 on toladata:dev-v2.


BUN compatibility

bun x update-browserslist-db@latest

update-browserslist-db: No lockfile found. Run "npm install",
"yarn install" or "pnpm install

Duplicate https://github.com/browserslist/update-db/issues/25

Bun support added with 1.1.


Brilliant pala elearn

Hey 👋 I previously contacted you for downloading videos from brilliant pala elearn and classes
But when I try to download the below error is coming
Brilliantpala:Elearn] Downloading login page
ERROR: An extractor error has occurred. (caused by KeyError('csrfmiddlewaretoken')); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
Student id 292870
Password 292870
Also push the update to ytdlp bcz I am using ytdlp stable version through ytdlnis android app for downloading
Please update for both elearn.brilliantpala.org and classes.brilliantpala.org

Hi, @asdfghjkl87755. I think you should not open two issues in each repositories. Anyway, I think I'll take a look if I'm free.

Okay 👍

Fixed in https://github.com/yt-dlp/yt-dlp/pull/9788.


Running supabase.auth.signInWithPassword returns XMLHttpRequest error in a local environment

Describe the bug
Hello, I created a flutter app and added the supabase initialize call as the docs indicates. Then I created a button which executes this:
final resp = await supabase.auth.signInWithPassword(
    email<EMAIL_ADDRESS>    password: 'some-password-here',
  );

but it returns XMLHttpRequest error without telling me more details. I researched and it looks like a CORS error, which makes sense because my flutter app runs on http://localhost:50452/#/.
I also tried running the "login" command from bash like this:
curl --referer http://localhost:50450  -X POST 'http://localhost:54321/auth/v1/token?grant_type=password' -H 'apiKey: ANON_KEY_HERE' -H 'Content-Type: application/json'  -d '{"email":"admin@test.com","password":"some-password-here"}'

and it works.
To Reproduce
Steps to reproduce the behavior:

Create a new flutter app
Add the supabase init call

  await Supabase.initialize(url: Env.supabaseUrl, anonKey: Env.supabaseAnonKey, debug: true);

Create a button and call this function onPressed

Future<void> login() async {
    final resp = await supabase.auth.signInWithPassword(
      email<EMAIL_ADDRESS>      password: 'some-password-here',
    );
}

On press an error is thrown

Error: XMLHttpRequest error.
dart-sdk/lib/_internal/js_dev_runtime/patch/core_patch.dart 963:28                get current
packages/http/src/browser_client.dart 69:22                                       <fn>
dart-sdk/lib/async/zone.dart 1685:54                                              runUnary
dart-sdk/lib/async/future_impl.dart 147:18                                        handleValue
dart-sdk/lib/async/future_impl.dart 766:44                                        handleValueCallback

Expected behavior
The AuthResponse should be returned when invoking signInWithPassword
Thanks

Hello,
I found the issue. I was using the studio URL instead of the API. My env variable Env.supabaseUrl was set to http://localhost:54323 instead of http://localhost:54321.
I ran supabase status to get the API url I should use.


New release?

Would you be okay with cutting a new release and putting it on NPM? I'd love to try out the new speed improvements that were recently added 🙂

New release is coming. There's a few new maintainers around here and we're getting the appropriate permissions to the appropriate people.

New release is coming. There's a few new maintainers around here and we're getting the appropriate permissions to the appropriate people.

Hey @Bosch-Eli-Black.
A new version has just been released.

Hey @Bosch-Eli-Black.
A new version has just been released.


ruby-v2_2_3-src has a different hash every time I try to download it

It appears that the downloaded tarball has a different SHA hash every time. I tried to fix pkgs/development/interpreters/ruby/default.nix but had no success:
$ nix-build --no-out-link ~/.nix-defexpr -A ruby_2_2_3
these derivations will be built:
  /nix/store/lkgqbdjinjpp09rp4cwi9wmnc6i1x2sa-ruby-v2_2_3-src.drv
  /nix/store/zbwf9jhgzxf2jkj0nivrqz4q6biib8y5-ruby-2.2.3-p0.drv
these paths will be fetched (0.00 MiB download, 39.33 MiB unpacked):
  /nix/store/4z87f91jpy12fnksc1c4g1bpa2ydgczk-ruby-2.2.3-p0
fetching path ‘/nix/store/4z87f91jpy12fnksc1c4g1bpa2ydgczk-ruby-2.2.3-p0’...
building path(s) ‘/nix/store/1m4hbbd2a7j7gm460416csa0ibvxv0v6-ruby-v2_2_3-src’

*** Downloading ‘http://hydra.cryp.to/nar/4z87f91jpy12fnksc1c4g1bpa2ydgczk-ruby-2.2.3-p0’ (signed by ‘hydra.cryp.to-1’) to ‘/nix/store/4z87f91jpy12fnksc1c4g1bpa2ydgczk-ruby-2.2.3-p0’...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
trying https://github.com/ruby/ruby/archive/v2_2_3.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   117    0   117    0     0    209      0 --:--:-- --:--:-- --:--:--   219
100 11.9M  100 11.9M    0     0  1679k      0  0:00:07  0:00:07 --:--:-- 2409k
unpacking source archive /tmp/nix-build-ruby-v2_2_3-src.drv-0/v2_2_3.tar.gz
100 2605k    0 2605k    0     0   336k      0 --:--:--  0:00:07 --:--:--  505k
output path ‘/nix/store/1m4hbbd2a7j7gm460416csa0ibvxv0v6-ruby-v2_2_3-src’ should have r:sha256 hash ‘126b2diaa9zslb1yynr6351vy32wvwjwjs6ai2pcj8zg675028x6’, instead has ‘1ssq3c23ay57ypfis47y2n817hfmb71w0xrdzp57j6bv12jqmgrx’
killing process 4794

Is this fixed by 6945557dba4525c41bf3e6b04e0d588a4bbd8432?

I think it is. Thanks!


testMode() method for BaseBuilder

Description
This PR introduces a new testMode variable that is meant to be used in the testing environment. It replaces all occurrences of $returnSQL, $test and $testing - reducing the number of parameters in a couple of methods.
Important
This should be considered as a BC change since some parameters from methods are removed. Those parameters weren't well documented but there is still a chance that somebody was using them.
Checklist:

[x] Securely signed commits
[x] Component(s) with PHPdocs
[x] Unit testing, with >80% coverage
[x] User guide updated
[x] Conforms to style guide

I'm super excited to see this happening!

@MGatner @lonnieezell Is this something we want in RC.2? I figure it's now or after 4.0.0, given the BC

I'm all for it happing now.

Lookihng good, and simpler :)
Is this ready to go?

My concern with this is that it won't be possible to return the actual SQL to do last-minute manipulation (for example inserting stuff that is not in the QB natively) but maybe this is OK?
I use the returned SQL string to insert SQL_CALC_FOUND_ROWS and ON DUPLICATE KEY UPDATE for example.

@tangix we have a bunch of methods from the getCompiled* family at our disposal.
https://codeigniter4.github.io/userguide/database/query_builder.html?highlight=getcompiled#CodeIgniterDatabaseBaseBuilder::getCompiledSelect

@tangix we have a bunch of methods from the getCompiled* family at our disposal.

Yeah, I guess.


Anti cheat detected RE 8

I put dinput8.dll on the game folder where the r8.exe is, but when i try to use the trainer of fling a window popup saying the anti cheat is detected :( i tried disabling windows defender (w11) but nothing. I tried using wemod but the game crash....

Reinstalling the game in other ssd solved the problem.


Wrote a description

The API is aptly named, so I'm not sure that the description adds much, but there you have it.

Ted, just a sanity check, please.

Thanks @EliotSeattle nice work!


Modify geostreams API to support polygons

We want to support geometry/polygons in PostGIS for geostreams API, i.e. to store field of view polygons instead of a single point.
The geospatial extractor already generates the polygons, but @robkooper thought the PostGIS db under clowder is configured for "geography" instead of "geometry".
@yanliu-chn tagging you on this issue so we can figure out what needs to be updated and by who. Hopefully this won't be a big change.

Created matching clowder issue : https://opensource.ncsa.illinois.edu/jira/browse/CATS-643

I am starting on this. Some discussion here: https://opensource.ncsa.illinois.edu/confluence/display/CATS/PostGIS+and+the+Geostreams+API?showComments=true
We can consider two pieces here:

allow Clowder API to support geometries beyond Point. This is possible using either 'geometry' or 'geography' data type.
do we want to store our data in 'geography' type as it currently does, or change to 'geometry'? geometry does not require conversion to WGS84 lat/lon and is likely faster, but would require a database migration and does not scale to state/national/global scales accurately.

We can do part 1 (and thus allow polygons for datapoints) without doing part 2, and do part 2 down the road if we need to for performance reasons. That would be my recommendation.

Makes sense to start with part 1 as long as someone knows how to convert from gantry coordinates to WGS-84. But we have planned to use the geometry data type from the beginning because of all of its features.
Geometry has more functionality and is faster. The difference in functionality is outlined in this matrix such as:

the ability to import from and export to standard geospatial data types (kml, geojson, wkt, gdal raster)
the ability to compute metrics of interest from polygons, 3D shapes and point clouds

The scales of relevance for our project are mm to km. We don't need to accurately align distant sites. We do need to cross-reference data from different coordinate systems on small scales: the gantry data is collected with mm accuracy and the tractor / drone data at cm scales. Cross-site (e.g. AZ, IL, KS) analyses will not depend on accurate locations of the sites.
Furthermore, we are faced with ingesting geospatial metadata from multiple coordinate systems. PostGIS already supports this, including defining new coordinate systems and translating among coordinate systems. For example:

the gantry coordinate system with x increasing to the left
the as-yet undefined reversed x gantry coordinate system

these are aligned with the sensors, so a raster will be 'square' on the coordinate systems
these are close to being aligned with NS/EW, but not sure if we would need to re-project a raster to this system

Our mapping from gantry coordinates to WGS84 has errors, and will likely change.
The precision tractors and drones in AZ use a GPS coordinate system with incorrect calibration - it is a few meters off but can't be modified because it is a commercial system used to guide tractors and drones around the region

Using geometries will allow us to define the different coordinates and ingest geospatial metadata directly into a common table without an extra translation layer. Data can be queried / exported in any coordinate system.
If the alternative is re-implementing all of this conversion functionality, it will add time and complexity to our pipeline, and will be more error prone / less stable than a mature software like PostGIS. If our assumptions / definition of one coordinate system changes, or we need a new one, we only have to define / modify in one place rather than identify and recompute all of the affected columns.
This stuff is a headache and it seems less of a headache to let postgis deal with it. Maybe the solution would be to add another geometry field rather than update all of the other Clowder users' databases. But it seems geometry supports all geography functions but not viceversa.

@yanliu-chn @robkooper we should discuss PostGIS a bit. Specifically storing multiple projections in a single geometry. If PostGIS is not sufficiently scalable, should we consider alternatives?

Hi Max,
Nathan Casler from our lab gave me the answer: you can store multiple geometry columns (each project as one column) in the table and when you retrieve from the table, you specify which geometry column to use.
A related discussion online is: http://gis.stackexchange.com/questions/176263/can-a-postgis-table-or-view-have-two-geometry-columns

Here is a pull request that adds support for polygons/GeoJSON for streams/sensors/datapoints:
https://opensource.ncsa.illinois.edu/bitbucket/projects/CATS/repos/clowder/pull-requests/1051/overview
This for now will let our extractors post GeoJSON - still geography, so still needs WGS 84. @caicai89- FYI. There's an example of how it works in the pull request.

@max-zilla what is the status of this issue?

@dlebauer https://opensource.ncsa.illinois.edu/bitbucket/projects/CATS/repos/clowder/pull-requests/1051/overview
Still waiting on reviewers. I'll add @robkooper as a reviewer in case he can accelerate things, I've fixed all the known issues with the PR as of a couple weeks ago.

@max-zilla can you deploy this on terra-clowder-dev. Biggest thing we have to look at with pull request that it does not break geodahboard.

@robkooper I can deploy to terra-clowder-dev but I haven't used/deployed geodashboard before, will need to track down some help for that. Will likely wait until Jan 3 given the other things I'm trying to get out this week.

Don't deploy geodashboard, @lmarini is checking out to make sure your changes work with geodashboard. Just deploy this code with search in clowder so people can test it with Terra.


AP-813 Display addresses better

What
Link to story
Addresses are currently displayed like this on the first check your answers page:
2
DENMAN ROAD
LONDON
SE155NP
They should be displayed as
2 Denman Road
London
SE15 5NP
ie - in title case, with line 1 and line 2 combined and a space in the
postcode.
Implement this by amending address_helper.rb to

concatenate address_line_1 and address_line_2
calling titelize on the first three lines
calling the address model's pretty_postcode method

Checklist
Before you ask people to review this PR:

[x] Tests and rubocop should be passing: bundle exec rake
[x] Github should not be reporting conflicts; you should have recently run git rebase master.
[x] There should be no unnecessary whitespace changes. These make diffs harder to read and conflicts more likely.
[x] The PR description should say what you changed and why, with a link to the JIRA story.
[x] You should have looked at the diff against master and ensured that nothing unexpected is included in your changes.
[x] You should have checked that the commit messages say why the change was made.

Not sure how this works for Honeysuckle Cottage, DA4 0EN, but it does.


Pass metadata from an EmsEvent to an alert

Allow passing some additional metadata from an EmsEvent to the MiqAlertStatus it generates.
extracted from #12773

Addressed comment

The same spec fails on master
$ git fetch upstream
$ git checkout upstream/master -B master
$ bundle exec bin/setup
$ bundle exec rspec spec/lib/miq_automation_engine/miq_ae_service_spec.rb
undefined method `attribute_names' for #<Module:0x00000017c4fba0>

@durandom @gtanzillo we could potentially go for a different approach -
event.try(:full_data).try(:[], :miq_alert_status)
and then override what ever is there.
Benefits:

not having provider specifics in EmsEvent
more extensive (can override all fields)

Drawbacks:

storing the same data twice

I have a feeling going down this path will require more PRs of this nature in the future.

Addressed comments. @gmcculloug take a look

I just added an override for another field: result.
That would be needed for #14121

@durandom @gmcculloug reverted to a previous version since I don't think overriding result is a good idea.


Return of the YAML aliases :)

Hi @denisdefreyne, it's been a long time since we've last been in touch. How are you? :)
Detailed description
This is the fix for #1676. See details there.
FYI, the last commit is solely a refactoring to establish single responsibility for YAML parser invocations, while the prior commits fix the invocations in the multiple places where they occurred.
3 commits:

commit 1: Fix YAML invocation for nanoc.yaml
commit 2: Fix YAML invocations in other places
commit 3: Factor out business rules for YAML invocation
=> single responsibility, less verbose YAML access, centrally testable (test included)

@zor-el Looks like there are some Rubocop changes that break main. Will fix those soon.

@zor-el Thank you!

@zor-el This is released as 4.12.19 today. I credited you as zor-el; lemme know if you’d like to change it!


dataset detail page throws errors

I get a lot of console errors when visiting the dataset details page. Not sure exactly when it happens, but both times I've noticed it I was near the infinite scroll.
The client also throws errors and does around 3200 calls to endpoints a la
http://localhost:7000/occurrence-download-dataset/81c5a091-6e94-40db-a2a4-48f4de42d410?limit=5&offset=14645
after 10 minuttes they still haven't resolved and a 1000 has failed.
And the client code downloadEventsTableCtrl throws errors.
server side express throws this:
Error: Error: connect ETIMEDOUT <IP_ADDRESS>:80     at /Users/mortenhofft/Documents/dev/work/gbif/portal16/app/controllers/dataset/details/datasetDetails.ctrl.js:664:22     at _rejected (/Users/mortenhofft/Documents/dev/work/gbif/portal16/node_modules/q/q.js:844:24)     at /Users/mortenhofft/Documents/dev/work/gbif/portal16/node_modules/q/q.js:870:30     at Promise.when (/Users/mortenhofft/Documents/dev/work/gbif/portal16/node_modules/q/q.js:1122:31)     at Promise.promise.promiseDispatch (/Users/mortenhofft/Documents/dev/work/gbif/portal16/node_modules/q/q.js:788:41)     at /Users/mortenhofft/Documents/dev/work/gbif/portal16/node_modules/q/q.js:604:44     at runSingle (/Users/mortenhofft/Documents/dev/work/gbif/portal16/node_modules/q/q.js:137:13)     at flush (/Users/mortenhofft/Documents/dev/work/gbif/portal16/node_modules/q/q.js:125:13)     at _combinedTickCallback (internal/process/next_tick.js:67:7)     at process._tickCallback (internal/process/next_tick.js:98:9) Error: Error: connect ETIMEDOUT <IP_ADDRESS>:80     at /Users/mortenhofft/Documents/dev/work/gbif/portal16/app/controllers/dataset/details/datasetDetails.ctrl.js:664:22     at _rejected (/Users/mortenhofft/Documents/dev/work/gbif/portal16/node_modules/q/q.js:844:24)     at /Users/mortenhofft/Documents/dev/work/gbif/portal16/node_modules/q/q.js:870:30     at Promise.when (/Users/mortenhofft/Documents/dev/work/gbif/portal16/node_modules/q/q.js:1122:31)     at Promise.promise.promiseDispatch (/Users/mortenhofft/Documents/dev/work/gbif/portal16/node_modules/q/q.js:788:41)     at /Users/mortenhofft/Documents/dev/work/gbif/portal16/node_modules/q/q.js:604:44     at runSingle (/Users/mortenhofft/Documents/dev/work/gbif/portal16/node_modules/q/q.js:137:13)     at flush (/Users/mortenhofft/Documents/dev/work/gbif/portal16/node_modules/q/q.js:125:13)     at _combinedTickCallback (internal/process/next_tick.js:67:7)     at process._tickCallback (internal/process/next_tick.js:98:9)

not relevant anymore. infinite scroll removed as rollups seems more useful to publishers.


feat: add custom compass control

This PR introduces a new CompassButton component that can be placed anywhere on the map using the new overlay parameter. The compass displays the current bearing and tilt of the map, and clicking it resets the camera orientation to north-up.
See #40

#125  👈 (View in Graphite)
main

This stack of pull requests is managed by Graphite. Learn more about stacking.


[Enhancement] Archive Client

Summary
I'd like to add archive-lookup functions, so users can obtain archive information on archiveGuid, userUid, deviceGuid, and a list of userUids.
Proposed API
Functions (/src/py42/clients/archive.py)
class ArchiveClient(BaseClient):
    def get_by_archive_guid(self, archive_guid):
        """Gets single archive information by GUID.
        `REST Documentation <https://console.us.code42.com/apidocviewer/#Archive-get>`__

        Args:
            archive_guid (int): The GUID for the archive.

        Returns:
            :class:`py42.response.Py42Response`: A response containing archive information.
        """
        uri = u"/api/Archive/{}".format(archive_guid)
        return self._session.get(uri)

    def get_by_device_guid(self, device_guid):
        """Gets archive information for a device.
        `REST Documentation <https://console.us.code42.com/apidocviewer/#Archive-get>`__

        Args:
            device_guid (int): The GUID for the device.

        Returns:
            :class:`py42.response.Py42Response`: A response containing archive information.
        """
        uri = u"/api/Archive"
        params = dict(backupSourceGuid=device_guid)
        return self._session.get(uri, params=params)

    def get_by_user_uid(self, user_uid):
        """Gets archive information for a user.
        `REST Documentation <https://console.us.code42.com/apidocviewer/#Archive-get>`__

        Args:
            user_uid (int): The userUid for a user.

        Returns:
            :class:`py42.response.Py42Response`: A response containing archive information.
        """
        uri = u"/api/Archive"
        params = dict(userUid=user_uid)
        return self._session.get(uri, params=params)

    def get_page(self, page_num, page_size=None, **kwargs):
        """Gets an individual page of archives.
        `REST Documentation <https://console.us.code42.com/apidocviewer/#Archive-get>`__

        Args:
            page_num (int): The page number to request.
            page_size (int, optional): The number of archives to return per page.

        Returns:
            :class:`py42.response.Py42Response`
        """

        uri = u"/api/Archive"
        page_size = page_size or settings.items_per_page
        params = dict(
            pgNum=page_num,
            pgSize=page_size,
            **kwargs
        )
        return self._session.get(uri, params=params)

    def get_by_user_uid_list(self, user_uid_list):
        """Gets archive information for a list of userUids.
        `REST Documentation <https://console.us.code42.com/apidocviewer/#Archive-get>`__

        Args:
             user_uid_list (list): A list of userUids.

        Returns:
            generator: An object that iterates over :class:`py42.response.Py42Response` objects
            that each contain a page of archives.
        """
        return get_all_pages(
            self.get_page,
            u"archives",
            userUid=','.join(map(str, user_uid_list)),
        )

Tests (/src/tests/clients/test_archives.py)
# -*- coding: utf-8 -*-
import pytest
from requests import Response

import py42
from py42.clients.archives import ArchiveClient
from py42.response import Py42Response

ARCHIVE_URI = "/api/Archive"

DEFAULT_GET_ARCHIVES_PARAMS = {
    "pgNum": 1,
    "pgSize": 100,
}

MOCK_GET_ARCHIVE_RESPONSE = """{"totalCount": 3000, "archives": ["foo"]}"""

MOCK_EMPTY_GET_ARCHIVE_RESPONSE = """{"totalCount": 3000, "archives": []}"""

class TestArchiveClient(object):
    @pytest.fixture
    def mock_get_archives_response(self, mocker):
        response = mocker.MagicMock(spec=Response)
        response.status_code = 200
        response.encoding = "utf-8"
        response.text = MOCK_GET_ARCHIVE_RESPONSE
        return Py42Response(response)

    @pytest.fixture
    def mock_get_archives_empty_response(self, mocker):
        response = mocker.MagicMock(spec=Response)
        response.status_code = 200
        response.encoding = "utf-8"
        response.text = MOCK_EMPTY_GET_ARCHIVE_RESPONSE
        return Py42Response(response)

    def test_get_by_archive_guid_calls_get_with_expected_uri(
        self, mock_session, successful_response
    ):
        mock_session.get.return_value = successful_response
        client = ArchiveClient(mock_session)
        client.get_by_archive_guid("ARCHIVE_GUID")
        uri = "{}/{}".format(ARCHIVE_URI, "ARCHIVE_GUID")
        mock_session.get.assert_called_once_with(uri)

    def test_get_by_device_guid_calls_get_with_expected_uri_and_data(
        self, mock_session,
    ):
        device_guid = 42
        client = ArchiveClient(mock_session)
        client.get_by_device_guid(device_guid)
        mock_session.get.assert_called_once_with(ARCHIVE_URI,
                                                params={"backupSourceGuid": device_guid})

    def test_get_by_user_uid_calls_get_with_expected_uri_and_data(
        self, mock_session,
    ):
        user_uid = 42
        client = ArchiveClient(mock_session)
        client.get_by_user_uid(user_uid)
        mock_session.get.assert_called_once_with(ARCHIVE_URI,
                                                 params={"userUid": user_uid})

    def test_get_by_user_uid_list_calls_get_expected_number_of_times(
        self, mock_session, mock_get_archives_response, mock_get_archives_empty_response
    ):
        user_uid_list = [1, 2, 3, 4, 5]
        py42.settings.items_per_page = 1
        client = ArchiveClient(mock_session)
        mock_session.get.side_effect = [
            mock_get_archives_response,
            mock_get_archives_response,
            mock_get_archives_empty_response,
        ]
        for _ in client.get_by_user_uid_list(user_uid_list):
            pass
        py42.settings.items_per_page = 500
        assert mock_session.get.call_count == 3

    def test_get_by_user_uid_list_calls_get_with_expect_uri_and_params(
        self, mock_session
    ):
        user_uid_list = [1, 2, 3, 4, 5]
        client = ArchiveClient(mock_session)
        for _ in client.get_by_user_uid_list(user_uid_list):
            pass
        expected_params = {"pgNum": 1, "pgSize": 500, "userUid": "1,2,3,4,5"}
        mock_session.get.assert_called_once_with(ARCHIVE_URI, params=expected_params)

Intended Use Case
Provides users with a way to lookup archive information.

I'd like to implement these functions, however I ran into an issue.
Currently in the SDK, archive is of type ArchiveModule, and I'm not sure how to implement it without affecting those existing functions.
I'm not fully familiar with the Py42 codebase yet, so would love some thoughts on how we can implement this.

@DiscoRiver Thanks for raising this.
In ArchiveClient, you could have a method just called get_archive() that takes an archive_guid, device_guid, and a user_uid... and then have the respective get_by_ methods at the ArchiveModule level.  ArchiveClient is currently in _internal.clients. You may also want to implement a get_all() method for returning a generator for all the pages.  See users.get_all() for an example.

@unparalleled-js - That makes sense, I can do that! Thanks for the info.

hey @DiscoRiver aside for the question you raised, the overall style/approach here is great. Please reach out if you have any questions -- as I mentioned, I do have some reorganization to the codebase happening soon, so we can try to work together to coordinate this change with that.

@alanag13 - Sounds good! For now I'll continue based on Juliya's feedback (shouldn't take too long), and I'll reach out once things are working with the current codebase.


Removes misc compiler warnings.

Assigned default values, if none.
Updated WebRequest.send().
Updated null check because structs can't be null.

All errors in the fixed scripts have gone.  Only script warnings left are :

"UNetAnchorManager.cs" (assigned but not used warnings)
"ControllerInfo.cs" (Lots of assigned but not used warnings)

@DDReaper I'll be addressing those two issues in future PRs related to those specific feature areas.

"UNetAnchorManager.cs" fixed in #1024


Can we add type definition

Can you please add type definition, so that we can use this library in typescript as well. Thanks you.

Hi! This is not something I am in need of and so will not be adding, but would be happy to review a Pull Request if you'd be up for contributing!

https://github.com/DefinitelyTyped/DefinitelyTyped/pull/28421


Ispravljene mape

👷 Deploy Preview for balkantransport processing.

Name
Link

🔨 Latest commit
b7c4b0ac21011157273db4e93396055430922c7e

🔍 Latest deploy log
https://app.netlify.com/sites/balkantransport/deploys/6293b1b0c321c600089918d4


⚠ Bofrost.lu has degraded performance

In 9035ad2, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2049 ms

Resolved: Bofrost.lu performance has improved in ff33534 after 16 minutes.


UofT-DSI | applying_statistical_concepts - Assignment 2

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
Updated assignment_2.ipynb
What did you learn from the changes you have made?
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
How were these changes tested?
A reference to a related issue in your repository (if applicable)
Checklist

[x] I can confirm that my changes are working as intended

A2: INCOMPLETE
-Please complete Question 1.

Q2 Part (i) Please identify which plots are demonstrating positive or negative association. Provide a small explanation as to what the positive or negative association entails in regression
Please complete Question 3
Please complete Question 4

A2: Complete
Q4: Correct RMSE is 3.18
I would consider maybe removing this component and continuing where you would leave off
"Avoid division by zero by adding a small constant (e.g., 1e-10)
return np.sqrt(np.mean(np.square((y_true - y_pred) / (y_true + 1e-10)))) * 100 "


Add ability to toggle live stream for hab_build resource

This Pull Request was opened by Chef Automate user Elliott Davis
Ready to merge? View this change in Chef Automate and click the Approve button: https://delivery.chef.co/e/chef/#/organizations/Delivery-Build-Cookbooks/projects/habitat-build/changes/0393cdc5-5ac2-4875-a380-36f368537fe4

/cc @jtimberman


Cannot use imported constructors

If I compile the following code:
syntax foo = function(ctx) {
  const arg = ctx.next().value;
  return #`new bar.Baz(${arg})`;
}

foo 'abc';

I get:
new "abc";

Instead of expected:
new bar.Baz("abc");

This is working in 2.2.1


Adding translation to portuguese

I created the translation file (src/locales/pt-br.yaml) according to the src/locales/en.yaml structure.

Okay, sorry. I removed the commit with the README change.

Thanks. I will merge it with the coming 1.5.0 update, so don't close this PR.


Empty field handler referenced in signature_help.lua

Error executing vim.schedule lua callback: ...lugged/completion-nvim/lua/completion/signature_help.lua:33: attempt to index field 'handler' (a nil value)

Originally posted by @yashLadha in https://github.com/nvim-lua/completion-nvim/issues/268#issuecomment-728083208

This happens when typing in a buffer with attached LSP after #268. Screenshot:

Note this screenshot shows a reference to handler in a different file, 'hover.lua'.

Closed by #266.

Fix is already pushed into master. Can you please check with the current master?

I used master for the screenshot

It is not happening for me, can you please try updating the plugin.

After another rebase to master it doesn't happen. Closing.


[SPARK-10100] [SQL] Perfomance improvements to new MIN/MAX aggregate functions.

The new MIN/MAX suffer from a performance regression. This PR aims to fix this by simplifying the evaluation of the MIN/MAX functions.
See the JIRA ticket for more information.

Can one of the admins verify this patch?

ok to test

Merged build triggered.

Merged build started.

Test build #41203 has started for   PR 8298 at commit 2fed4dc.

Test build #41203 has finished for   PR 8298 at commit 2fed4dc.

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/41203/
Test PASSed.

Merged build finished. Test PASSed.

Merged build triggered.

Merged build started.

Test build #41273 has started for   PR 8298 at commit 3423912.

Test build #41273 has finished for   PR 8298 at commit 3423912.

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/41273/
Test PASSed.

I doubt that whether your decision tree is better. But GreaterThan/LessThan should be a little better than Least/Greatest, I think.

@adrian-wang the improvement is absolutely tiny, about 2-3% if you do a lot of min's of max'es.
This PR was a response to misdiagnosed performance regression, the real cause was the use of a map in key-less aggregation. The PR adds some value, we could add it to 1.6. @yhuai / @adrian-wang if you feel differently about this, I'll withdraw the PR.


Public Comment: Add a content video

Add a content video

This issue was moved to MetropolitanTransportationCommission/CAPVMT#16


Server Error 502, when importing malformed vlans or adding ip-addresses without netmask

If a user imports vlans and the data is malformed (in my case the site was written in upper case, but it's defined in lower case), the user get's only an error 502 instead of a error message.
The same thing happens, if an IP-address is created without specifying a subnet-mask.
If I remove the admins from netbox/netbox/configuration.py, the user will get an server error, but with an error message, eg.:
malformed vlan import (site name in wrong case):
<class 'django.db.models.fields.related_descriptors.RelatedObjectDoesNotExist'>

VLAN has no site.

adding ip address without subnetmask:
<type 'exceptions.AttributeError'>

'unicode' object has no attribute 'ip'

I think the user should always get an error message, if data was entered in incorrect syntax

I'm not able to reproduce a server error from either of these actions. Please make sure you've upgraded to the latest code and try again. Closing this out for now.


Lazy load windows-pr

Resolves https://github.com/chef-cookbooks/windows/issues/276
Lazy loads windows-pr libraries. Chef 12.5 no longer includes the windows-pr gem, which is where these files were actually being loaded from (not from the chef_gem 'windows-pr').

:+1:


Erroe while using npx create-expo-stack@latest

Issue tracker is ONLY used for reporting bugs. New features should be discussed on our discord, in the #create-expo-stack channel.

Expected Behavior

Current Behavior

Possible Solution

Steps to Reproduce

CES Config File

\Users\olola\AppData\Local\npm-cache_npx\7db5f7bb998dd32f\node_modules\gluegun\build\index.js:15
throw up;
^
SystemError [ERR_TTY_INIT_FAILED]: TTY initialization failed: uv_tty_init returned EBADF (bad file descriptor)
at new SystemError (node:internal/errors:238:5)
at new NodeError (node:internal/errors:349:7)
at new WriteStream (node:tty:94:11)
at n.prompt (C:\Users\olola\AppData\Local\npm-cache_npx\7db5f7bb998dd32f\node_modules@clack\core\dist\index.cjs:9:890)
at text (C:\Users\olola\AppData\Local\npm-cache_npx\7db5f7bb998dd32f\node_modules@clack\prompts\dist\index.cjs:9:7)
at C:\Users\olola\AppData\Local\npm-cache_npx\7db5f7bb998dd32f\node_modules\create-expo-stack\build\commands\create-expo-stack.js:67:55
at Generator.next ()
at fulfilled (C:\Users\olola\AppData\Local\npm-cache_npx\7db5f7bb998dd32f\node_modules\create-expo-stack\build\commands\create-expo-stack.js:5:58) {
code: 'ERR_TTY_INIT_FAILED',
info: {
errno: -4083,
code: 'EBADF',
message: 'bad file descriptor',
syscall: 'uv_tty_init'
},
errno: [Getter/Setter],
syscall: [Getter/Setter]
}

I got this error while using this npx create-expo-stack


CB-11274 Platform browser: wrong path for config.xml

Adds cordova serve paths case handling
Jira issue

Reworked https://github.com/apache/cordova-lib/pull/443 to handle this situation on the cordova-serve side.


typescript with next & absolute imports breaks vs code integration

This may be a Code / Typescript issue, but wanted to post here in case anyone's solved it.
Has anyone been able to make absolute import paths work with next-typescript without losing VS Code module resolution?
Currently using absolute imports via babel-plugin-module-resolver, but whenever I call import Whatever from 'absolute/whatever', Code reports that the 'Cannot find the module'  (relative imports work fine).
Project builds fine, but editor integration would be clutch.
Have tried:

setting path and baseUrl props in tsconfig.json
setting aliases via config.resolve.alias in next.config.js
using module-aliases in lieu of the babel plugin

But nothing seems to make the editor resolve paths correctly.
relevant versions
@zeit/next-typescript 0.1.1
next 5.1.0
typescript 2.9.0 (@next)
babel-plugin-module-resolver 3.0.0
VS Code 1.21.1

I've created a repository and an SO question to accompany this issue

closing b/c i've somehow fixed this, though unclear on what did it.
for wayward googlers, here's my relevant .babelrc:
[
            "module-resolver",
            {
                "root": ["./"],
                "alias": {
                    "@components": "./components",
                    "@styles": "./styles",
                    "@utils": "./utils",
                    "@static": "./static",
                    "@higher-order-components": "./higher-order-components",
                    "@content": "./content",
                    "@src": "./src",
                    "@pages-code": "./pages-code",
                    "@pages": "./pages",
                    "@typings": "./typings",
                    "@server": "./server"
                }
            }
        ]

and in tsconfig.json:
  "baseUrl": ".",
        "paths": {
            "@components/*": ["./components/*"],
            "@utils/*": ["./utils/*"],
            "@styles/*": ["./styles/*"],
            "@static/*": ["./static/*"],
            "@higher-order-components/*": ["./higher-order-components/*"],
            "@content/*": ["./content/*"],
            "@src/*": ["./src/*"],
            "@pages-code/*": ["./pages-code/*"],
            "@pages/*": ["./pages/*"],
            "@server/*": ["./server/*"],
            "@typings/*": ["./typings/*"],
            "store/*": ["./src/store/*"]
        }

I am not sure why this wasn't working initially. I cleared any settings having to do with typescript & added tslint.json to the project, but afaik those shouldn't have affected IDE type checking. but, works like a charm now, so no complaints.

The baseUrl needs to be configured in next.config.js as well. Ideally @zeit/next-typescript would take care of that like I did below:
// next.config.js
//const withPreact = require('@zeit/next-preact')
const withTypescript = require('@zeit/next-typescript')
const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin')

module.exports = /*withPreact*/(withTypescript({
  webpack(config, options) {
    // Do not run type checking twice:
    if (options.isServer) config.plugins.push(new ForkTsCheckerWebpackPlugin())

    config.resolve.modules.unshift(__dirname)

    return config
  },
}))

Should we reopen this?

Quick note for any Googlers for whom @brandonmp 's config doesn't work - don't forget that when you have a .babelrc specified, Nextjs's webpack config's resolver.extensions configuration will not be respected by the plugin module-resolver.
You need to specify an extensions key value containing all the file extensions you want to resolve in the .babelrc module-resolver entry eg:
[
            "module-resolver",
            {
                "root": ["./"],
                "alias": {
                    "@components": "./components",
                    ...
                }
               "extensions": [ '.wasm', '.mjs', '.js', '.jsx', '.json', '.ts', '.tsx' ]
            }
        ]

When I upgraded to Next.js 9 and removed @zeit/next-typescript, the aliases stopped working. Adding this line to next.config.js made it working again (as seen in https://github.com/zeit/next-plugins/blob/master/packages/next-typescript/index.js#L31):
  webpack(config, options) {
      ...
      config.resolve.extensions.push('.ts', '.tsx')
      ...
  }

.babelrc
{
  "presets": ["next/babel"],
  "plugins": [
    [
      "module-resolver",
      {
        "root": ["./"],
        "alias": {
          "@": "./src/app",
          "@client": "./src/client",
          "@server": "./src/server"
        }
      }
    ]
  ]
}

Solved it by adding the baseUrl and paths in the complierOptions like this
{
  "compilerOptions": {
    "target": "es5",
    "lib": ["dom", "dom.iterable", "esnext"],
    "allowJs": true,
    "skipLibCheck": true,
    "strict": false,
    "forceConsistentCasingInFileNames": true,
    "noEmit": true,
    "esModuleInterop": true,
    "module": "esnext",
    "moduleResolution": "node",
    "resolveJsonModule": true,
    "isolatedModules": true,
    "jsx": "preserve",
    "baseUrl": ".",
    "paths": {
       "@src/*": ["./src/*"]
    }
  },
  "exclude": ["node_modules"],
  "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
}


iFrame on iOS Chrome Browser Pausing Game

Hello,
We just recently had an issue with Chrome browser on iOS with Phaser 2.4.4.  It seems Phaser touch events were not being active inside an iFrame with Chrome.
The iFrame seems to pause the game or Phaser pauses the game while in the iFrame.  We had to use this.game.stage.disableVisibilityChange = true to disable the pause and the touch events came back.
Found the fix according to this post:
http://www.html5gamedevs.com/topic/16096-touch-events-inside-iframe-on-chrome-for-ios-not-firing/
I did some some testing with older versions and found that anything less than 2.4.4 still works for us without having to change or set stage.disableVisibilityChange.
It wasn't a concern with Safari on iOS and Firefox on iOS.  Or Chrome on Android.

Which version of iOS? Nothing actually changed in 2.4.4 with regard to how the visibility events are handled, so it has to be a side-effect of something else (possibly even unrelated).

iOS 9.0.1 and 9.0.2
Chrome 45.0.2454.89
I think I still have a 8.0 device floating around.  I can see if that issue is happening as well.
The Chrome browser app for iOS did update in September 15, 2015.

You are correct that it is not just 2.4.4.
I did a test with 2.4.3 and ran into the same pause issue.  So, not just 2.4.4.  We have older games using different versions, but all those games are using the disableVisibilityChange = true.  So, they are working in the iFrame.
The oldest version looks to be Phaser 2.2.2 that we use and have that disableVisibilityChange set to true.

Did some tracing on out on a local phaser.js file.  As soon as you click the page containing the iframe or the game inside the iframe.  The window looks to fire a blur event.  Which causes the game to call focusLoss if disableVisibilityChange is not set to true.
None of the other browsers on iOS(safari and firefox) seem to fire that trace out.

Closing due to several months of inactivity. A stand-alone running code example is needed to investigate this further.


MINIFI-405 Including dependencies needed by core framework

MINIFI-405 Including dependencies needed by core framework that were previously transitively included

I pulled this commit and verified that the Jackson exception is fixed and the flow works.

+1 LGTM

Merged via 120bf4e7d5bdb7850d8fe3033bd179bb95a88bfe


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


#133 - Refactored.

@rultor merge

@rultor merge

@driver733 OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@driver733 Oops, I failed. You can see the full log here (spent 2min)
[\u001b[0;37mINFO\u001b[m] org.hibernate.validator.internal.util.Version: HV000001: Hibernate Validator 5.1.2.Final
[\u001b[1;34mINFO\u001b[m] JSR-303 validator org.hibernate.validator.internal.engine.ValidatorImpl instantiated by jcabi-aspects 0.18/55a5c13
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/audio/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/wallpost/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/wallpost/wallpost/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/wallpost/wallpost/wallposts/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/wallpost/attachment/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/wallpost/attachment/message/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/wallpost/attachment/message/messagepart/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/wallpost/attachment/mp3filefromfile/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/wallpost/attachment/mp3filefromfile/bytearray/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/wallpost/attachment/mp3filefromfile/bytearray/fallback/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/wallpost/attachment/mp3filefromfile/basictag/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/wallpost/attachment/mp3filefromfile/advancedtag/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/wallpost/attachment/upload/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/wallpost/attachment/support/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/wallpost/attachment/support/queries/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/wallpost/attachment/support/queries/safe/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/wallpost/attachment/support/attachment/strings/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/wallpost/attachment/support/attachment/fields/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/wallpost/attachment/support/attachment/string/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/properties/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/post/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/post/execution/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/post/posts/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/post/post/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m]
[\u001b[1;34mINFO\u001b[m] \u001b[1m--- \u001b[0;32mmaven-jar-plugin:3.0.2:jar\u001b[m \u001b[1m(default-jar)\u001b[m @ \u001b[36mVKMusicUploader\u001b[0;1m ---\u001b[m
[\u001b[1;34mINFO\u001b[m] Building jar: /home/r/repo/target/VKMusicUploader-1.0-SNAPSHOT.jar
[\u001b[1;34mINFO\u001b[m]
[\u001b[1;34mINFO\u001b[m] \u001b[1m--- \u001b[0;32mqulice-maven-plugin:0.17.1:check\u001b[m \u001b[1m(jcabi-check)\u001b[m @ \u001b[36mVKMusicUploader\u001b[0;1m ---\u001b[m
log4j:WARN No appenders could be found for logger (com.puppycrawl.tools.checkstyle.ConfigurationLoader).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
[\u001b[1;34mINFO\u001b[m] Checkstyle: src/test/java/com/driver733/vkmusicuploader/wallpost/wallpost/WallPostWithMessageIT.java[28]: Unused import - com.vk.api.sdk.exceptions.ApiException. (UnusedImportsCheck)
[\u001b[1;34mINFO\u001b[m] Checkstyle: src/test/java/com/driver733/vkmusicuploader/wallpost/wallpost/WallPostWithMessageIT.java[29]: Unused import - com.vk.api.sdk.exceptions.ClientException. (UnusedImportsCheck)
[\u001b[1;34mINFO\u001b[m] Checkstyle: src/test/java/com/driver733/vkmusicuploader/wallpost/wallpost/WallPostWithMessageIT.java[32]: Unused import - java.io.IOException. (UnusedImportsCheck)
[\u001b[1;34mINFO\u001b[m] Checkstyle: src/test/java/com/driver733/vkmusicuploader/wallpost/wallpost/AbstractCredentials.java[3]: Line does not match expected header line of ' *'. (HeaderCheck)
[\u001b[1;34mINFO\u001b[m] Checkstyle: src/test/java/com/driver733/vkmusicuploader/wallpost/wallpost/AbstractCredentials.java[66]: Method 'userId' is not designed for extension - needs to be abstract, final or empty. (DesignForExtensionCheck)
[\u001b[1;34mINFO\u001b[m] Checkstyle: src/test/java/com/driver733/vkmusicuploader/wallpost/wallpost/AbstractCredentials.java[79]: Method 'groupId' is not designed for extension - needs to be abstract, final or empty. (DesignForExtensionCheck)
[\u001b[1;34mINFO\u001b[m] Checkstyle: src/test/java/com/driver733/vkmusicuploader/wallpost/wallpost/AbstractCredentials.java[92]: Method 'token' is not designed for extension - needs to be abstract, final or empty. (DesignForExtensionCheck)
[\u001b[1;34mINFO\u001b[m] Read our quality policy: http://www.qulice.com/quality.html
[\u001b[1;34mINFO\u001b[m] \u001b[1m------------------------------------------------------------------------\u001b[m
[\u001b[1;34mINFO\u001b[m] \u001b[1;31mBUILD FAILURE\u001b[m
[\u001b[1;34mINFO\u001b[m] \u001b[1m------------------------------------------------------------------------\u001b[m
[\u001b[1;34mINFO\u001b[m] Total time: 13.977 s
[\u001b[1;34mINFO\u001b[m] Finished at: 2018-02-17T05:48:00Z
[\u001b[1;34mINFO\u001b[m] Final Memory: 56M/1218M
[\u001b[1;34mINFO\u001b[m] \u001b[1m------------------------------------------------------------------------\u001b[m
[\u001b[1;31mERROR\u001b[m] Failed to execute goal \u001b[32mcom.qulice:qulice-maven-plugin:0.17.1:check\u001b[m \u001b[1m(jcabi-check)\u001b[m on project \u001b[36mVKMusicUploader\u001b[m: \u001b[1;31mFailure\u001b[m: There are 7 violations -> \u001b[1m[Help 1]\u001b[m
[\u001b[1;31mERROR\u001b[m]
[\u001b[1;31mERROR\u001b[m] To see the full stack trace of the errors, re-run Maven with the \u001b[1m-e\u001b[m switch.
[\u001b[1;31mERROR\u001b[m] Re-run Maven using the \u001b[1m-X\u001b[m switch to enable full debug logging.
[\u001b[1;31mERROR\u001b[m]
[\u001b[1;31mERROR\u001b[m] For more information about the errors and possible solutions, please read the following articles:
[\u001b[1;31mERROR\u001b[m] \u001b[1m[Help 1]\u001b[m http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
container e836938734ea76bd6e8f6e269b442437c5d8c43abffa165037d5cfcce687c136 is dead
Sat Feb 17 06:48:33 CET 2018

@rultor merge

@rultor merge

@driver733 OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@driver733 Oops, I failed. You can see the full log here (spent 2min)
[\u001b[1;34mINFO\u001b[m] \u001b[1m--- \u001b[0;32mjcabi-maven-plugin:0.14.1:versionalize\u001b[m \u001b[1m(jcabi-versionalize-packages)\u001b[m @ \u001b[36mVKMusicUploader\u001b[0;1m ---\u001b[m
[\u001b[1;34mINFO\u001b[m] jcabi-aspects 0.18/55a5c13 started new daemon thread jcabi-loggable for watching of @Loggable annotated methods
[\u001b[1;34mINFO\u001b[m] Versionalizing /home/r/repo/target/classes directory
[\u001b[0;37mINFO\u001b[m] org.hibernate.validator.internal.util.Version: HV000001: Hibernate Validator 5.1.2.Final
[\u001b[1;34mINFO\u001b[m] JSR-303 validator org.hibernate.validator.internal.engine.ValidatorImpl instantiated by jcabi-aspects 0.18/55a5c13
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/audio/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/wallpost/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/wallpost/wallpost/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/wallpost/wallpost/wallposts/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/wallpost/attachment/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/wallpost/attachment/message/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/wallpost/attachment/message/messagepart/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/wallpost/attachment/mp3filefromfile/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/wallpost/attachment/mp3filefromfile/bytearray/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/wallpost/attachment/mp3filefromfile/bytearray/fallback/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/wallpost/attachment/mp3filefromfile/basictag/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/wallpost/attachment/mp3filefromfile/advancedtag/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/wallpost/attachment/upload/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/wallpost/attachment/support/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/wallpost/attachment/support/queries/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/wallpost/attachment/support/queries/safe/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/wallpost/attachment/support/attachment/strings/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/wallpost/attachment/support/attachment/fields/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/wallpost/attachment/support/attachment/string/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/properties/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/post/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/post/execution/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/post/posts/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m] File /home/r/repo/target/classes/com/driver733/vkmusicuploader/post/post/group-d----usic-ploader-jar.txt added
[\u001b[1;34mINFO\u001b[m]
[\u001b[1;34mINFO\u001b[m] \u001b[1m--- \u001b[0;32mmaven-jar-plugin:3.0.2:jar\u001b[m \u001b[1m(default-jar)\u001b[m @ \u001b[36mVKMusicUploader\u001b[0;1m ---\u001b[m
[\u001b[1;34mINFO\u001b[m] Building jar: /home/r/repo/target/VKMusicUploader-1.0-SNAPSHOT.jar
[\u001b[1;34mINFO\u001b[m]
[\u001b[1;34mINFO\u001b[m] \u001b[1m--- \u001b[0;32mqulice-maven-plugin:0.17.1:check\u001b[m \u001b[1m(jcabi-check)\u001b[m @ \u001b[36mVKMusicUploader\u001b[0;1m ---\u001b[m
log4j:WARN No appenders could be found for logger (com.puppycrawl.tools.checkstyle.ConfigurationLoader).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
[\u001b[1;34mINFO\u001b[m] Checkstyle: src/test/java/com/driver733/vkmusicuploader/wallpost/wallpost/AbstractCredentials.java[3]: Line does not match expected header line of ' *'. (HeaderCheck)
[\u001b[1;34mINFO\u001b[m] Checkstyle: src/test/java/com/driver733/vkmusicuploader/wallpost/wallpost/AbstractCredentials.java[66]: Method 'userId' is not designed for extension - needs to be abstract, final or empty. (DesignForExtensionCheck)
[\u001b[1;34mINFO\u001b[m] Checkstyle: src/test/java/com/driver733/vkmusicuploader/wallpost/wallpost/AbstractCredentials.java[79]: Method 'groupId' is not designed for extension - needs to be abstract, final or empty. (DesignForExtensionCheck)
[\u001b[1;34mINFO\u001b[m] Checkstyle: src/test/java/com/driver733/vkmusicuploader/wallpost/wallpost/AbstractCredentials.java[92]: Method 'token' is not designed for extension - needs to be abstract, final or empty. (DesignForExtensionCheck)
[\u001b[1;34mINFO\u001b[m] Read our quality policy: http://www.qulice.com/quality.html
[\u001b[1;34mINFO\u001b[m] \u001b[1m------------------------------------------------------------------------\u001b[m
[\u001b[1;34mINFO\u001b[m] \u001b[1;31mBUILD FAILURE\u001b[m
[\u001b[1;34mINFO\u001b[m] \u001b[1m------------------------------------------------------------------------\u001b[m
[\u001b[1;34mINFO\u001b[m] Total time: 13.241 s
[\u001b[1;34mINFO\u001b[m] Finished at: 2018-02-17T05:52:09Z
[\u001b[1;34mINFO\u001b[m] Final Memory: 55M/1192M
[\u001b[1;34mINFO\u001b[m] \u001b[1m------------------------------------------------------------------------\u001b[m
[\u001b[1;31mERROR\u001b[m] Failed to execute goal \u001b[32mcom.qulice:qulice-maven-plugin:0.17.1:check\u001b[m \u001b[1m(jcabi-check)\u001b[m on project \u001b[36mVKMusicUploader\u001b[m: \u001b[1;31mFailure\u001b[m: There are 4 violations -> \u001b[1m[Help 1]\u001b[m
[\u001b[1;31mERROR\u001b[m]
[\u001b[1;31mERROR\u001b[m] To see the full stack trace of the errors, re-run Maven with the \u001b[1m-e\u001b[m switch.
[\u001b[1;31mERROR\u001b[m] Re-run Maven using the \u001b[1m-X\u001b[m switch to enable full debug logging.
[\u001b[1;31mERROR\u001b[m]
[\u001b[1;31mERROR\u001b[m] For more information about the errors and possible solutions, please read the following articles:
[\u001b[1;31mERROR\u001b[m] \u001b[1m[Help 1]\u001b[m http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
container 7b463eb4691de297e8f9f0e2bb34fe17602d9782a4c02278d617640c8cd52f2c is dead
Sat Feb 17 06:52:46 CET 2018

@rultor merge

@rultor merge

@driver733 OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@driver733 Done! FYI, the full log is here (took me 3min)

@rultor merge

Coverage remained the same at 73.659% when pulling bc1fe0de0e19e97d4ecd918a14b41ac715335cfb on #133 into 74f9291efee5de091a9a51917d933626b25ef514 on master.

@rultor merge

@driver733 The pull request is closed already, so I can't merge it

@rultor merge

@driver733 I'm sorry, I don't understand you :( Check this page and try again please


Helidon MP does not generate a JSON result from a REST resource if the model does not have getters/setters.

Environment Details

Helidon Version: Latest version - 3.2.1
Tested with Helidon MP:
JDK version: 17
OS: Windows 10
Docker version (if applicable):

Problem Description
I have a simple java model:
public class User {

    private int userId;

    public int userId() {
        return userId;
    }

    public User userId(int value) {
        this.userId = value;
        return this;
    }
}

My REST resourse:
@GET
@Path("/hello")
@Produces(MediaType.APPLICATION_JSON)
public User hello() {
    return new User().userId(1000);
}

Result when I access /hello:   {}.   I expected to see  { userId: 1000 }
As you see. I am NOT following java bean rules. No getters/setters.
If I modify the User to use getters/setters, The result will be { userId: 1000 }.
The thing is:
If I use Jsonb.toJson directly to serialize the User object, I will see { userId: 1000 }, even if the User object does not have getters or setters. This is exactly what I expect.

Hi @haducloc,

If I use Jsonb.toJson directly to serialize the User object, I will see { userId: 1000 }

What version of Jsonb did you use ?
I tried this with the User class you provided:
Jsonb jsonb = JsonbBuilder.create();
jsonb.toJson(new User().userId(1000));

And the result is {}. I used Jsonb 2.0.0 version.

I am sorry for my mistake. When I tested jsonb.toJson() directly. The jsonb was created with a config. Please see my code:
     var config = new JsonbConfig();
    config.withPropertyVisibilityStrategy(new PropertyVisibilityStrategy() {

        @Override
        public boolean isVisible(Field field) { return true; }

        @Override
        public boolean isVisible(Method method) { return false; }
    });

    Jsonb jsonb = JsonbBuilder.create(config);
    var out = new StringWriter();

    jsonb.toJson(new User(), out);

    System.out.println(out.toString());
    // OUT: {"userId":0}

As you see. I had a chance to configure Jsonb to use fields instead getters/setters.
How can I configure Helidon MP to use fields only?

Thanks for providing me additional informations. I think one way to achieve that is to use ContextResolver.
@Provider
public class JsonbContextResolver implements ContextResolver<Jsonb> {

    @Override
    public Jsonb getContext(Class<?> type) {
        JsonbConfig config = new JsonbConfig().withPropertyVisibilityStrategy(new PropertyVisibilityStrategy() {
            @Override
            public boolean isVisible(Field field) { return true; }

            @Override
            public boolean isVisible(Method method) { return false; }
        });

        return JsonbBuilder.create(config);
    }

}

It works. Thank you for the solution. But I think serializing fields should be enabled by default. No getters/setters required.

It works. Thank you for the solution. But I think serializing fields should be enabled by default. No getters/setters required.


Updated for Blazor 3.0.0-preview4.

Updated for Blazor 3.0.0-preview4.
I also removed BlazorExtensions.Logging NuGet dependency from Test project and added some code to log directly (both to console and webpage).  I hope that's okay.  It was causing a conflict because it had references to the older Microsoft.AspNetCore.Blazor.Browser 0.7.0 assembly.

Thank you @DanielCarmingham !


[Update Request]: OpenVPNConnect 3.5.0

What type of update are you requesting?
A new version of an existing package
Current Package Identifier
OpenVPNTechnologies.OpenVPNConnect
Package Version
3.5.0
Please describe the changes you would like to see
There is a new version of OpenVPN Connect.
Download link: https://openvpn.net/client/client-connect-vpn-for-windows/

Closed via #175429

[!NOTE]
Close with reason: Resolved.

@yuriybarnovich @stephengillie 🙏🏼


startingOffset issues:

I tried executing the project locally using Spark Shell but facing issues with data displays in the terminal. In the default startingOffset setting which is 'latest', the output is a blank table but if I change the startingOffset setting to 'earliest', the output table does display 20-row output.
Please help me out.

@ScrapCodes Can you please take a look?

Did you push records after the kafka streaming job is started in spark shell, and waited for the processing duration?

Are you referring to the tail command?
I executed the spark-shell inside the command line generated by the 'tail' command.

Yes, tail command. You must execute it in another terminal, after the spark shell job has been submitted and you are waiting for the output.

Executed as instructed but 'Batch: 0" displays nothing. Post-execution of tail command on another terminal got output.
Will the table update every time I execute the tail command or should it update automatically after the first tail command?
Also, how do I validate if the output is correct?

Thanks for letting us know, that you got output, after inserting the data using another terminal.
Table updates automatically.
In order to validate the output, try to manually insert each row using kafka consumer, please see the documentation on kafka(https://kafka.apache.org/0102/documentation.html#quickstart_send).


GH# 74: Snap to streets

We now avoid sidewalks (namely, any ways tagged highway=footway) when snapping start and end locations.

Would it have been harder to just avoid footway=sidewalk?
I suggested that in case there are some footways we might want to use. On the other hand, this is probably fine. Looking at the footway wiki page it's mostly sidewalk-like things and (for example) the O'Shaughnessy Blvd sidepath is tagged highway=path instead, so it's NBD.

I'm not sure right now how difficult this will be to implement, but I'll investigate it in a separate PR. I see that you opened #123, which captures this ask.

#123 is different. That issue is about discouraging routing on sidewalks, not about preventing snapping to them for the start point of a route.


The latest master branch can not working

The latest master branch can not working
Process hang on After show message
connect to server succeed
connect to server succeed
connect to server succeed
connect to server succeed
connect to server succeed
connect to server succeed
connect to server succeed
connect to server succeed
connect to server succeed
connect to server succeed
connect to server succeed
connect to server succeed
connect to server succeed
connect to server succeed

-remote dog-tunnel.tk:8018 ,please try this, the new version is 0.6, not compatible with the default server dog-tunnel.tk:8008

the default server port is hard code  in the source code? may we temp using 8018 instead with 8008?

yes, the arg "remote" 's  default value is "dog-tunnel.tk:8008", when this change became stable, I will update the  default server

the master branch should be working correct , if there must be new server port, we should change it, (I just create new pull request),
i create another stable branch , with the default 8008 port, and it also worked.
i just  tested as you told me, it works, thanks for continue improve this software code.

https://github.com/netroby/dog-tunnel/tree/stable
The old , but stable branch.

The good side:
the latest master branch, decreased cpu usage.
The bad side:
Connection may lost after initialized connection , force killed and try to connect again, it's working normal.

ok, I will follow this issue


Fix request_workflow_status to ignore certain status change errors

If a workflow is still pausing and pause is requested again, request_workflow_status will not be able to change the workflow status to paused. This is normal and exception should not be raised. This is a similar case for workflow cancelation.

Codecov Report

Merging #174 into master will increase coverage by 0.04%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master    #174      +/-   ##
=========================================
+ Coverage   94.25%   94.3%   +0.04%
=========================================
  Files          40      40
  Lines        2470    2474       +4
  Branches      471     473       +2
=========================================
+ Hits         2328    2333       +5
  Misses         84      84
+ Partials       58      57       -1

Impacted Files
Coverage Δ

orquesta/conducting.py
93.51% <100%> (+0.05%)
:arrow_up:

orquesta/machines.py
88.43% <0%> (+0.57%)
:arrow_up:

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 224c1a5...575ca69. Read the comment docs.

In general, I prefer "fail early and loudly" approach (this would require more work on the part of the code which is consuming Orquesta library), but I also see no harm in this approach :+1:


Add new Admin mutations/queries to debug support requests

Search invoice/onchain tx receipt by hash (to verify status and if was credited to user)
Search payment status by hash
Execute onchain/invoices receipt process (giving the option before/after block) -> Maybe this should be allowed for each cron task
Get core wallets balances/transactions (at least the balance)

@nicolasburtey @krtk6160 Do you think this could compromise security?

I think we should also discuss about whether the current user auth on admin panel is sufficiently secure before we implement additional features.

@krtk6160 Do you think this could compromise security?

I don't think these features could compromise security, but they could compromise privacy.


Cannot copy data from SD card to extdata archive

FBI will throw "Archive not mounted" or "Unsupported operation" error when try to do this.

Fixed.


About running code

Hello, thanks for your excellent work! I have downloaded nuScenes dataset. Can you provide an explanation of running test data?

Thanks for your interest! The following command would meet your request:
PYTHONPATH="$(dirname $0)/..":$PYTHONPATH \
python3 -m torch.distributed.launch --nproc_per_node=$GPUS --master_port=$PORT \
    $(dirname "$0")/test.py $CONFIG $CHECKPOINT --launcher pytorch --eval bbox