Complete instructions on SSH key pair

In step 2 of the README, there is a point to create an SSH key pair, however, it doesn't detail what to do with the generated pair. I imagine this should be added to the ~/.ssh folder in the machine from which the deployment is performed. I suspect however that this requires to use the name id_rsa. At least in step 5, I tried running terraform plan, after terraform init completed successfully, which failed with the error:
╷
│ Error: Invalid function argument
│
│   on modules/cluster/main.tf line 15, in resource "azurerm_kubernetes_cluster" "k8s":
│   15:       key_data = file(var.ssh_public_key)
│     ├────────────────
│     │ while calling file(path)
│     │ var.ssh_public_key is "~/.ssh/id_rsa.pub"
│
│ Invalid value for "path" parameter: no file exists at "~/.ssh/id_rsa.pub"; this function works only with files that are distributed as part of the configuration source code, so if this file will be created by a resource in this
│ configuration you must instead obtain this result from an attribute of that resource.

P.S.: the README does not suggest to run terraform plan but to go straight to terraform apply. Maybe it would be good to first suggest to run plan. This is also what the output of terraform init suggests in any case.

I believe this has been addressed


Exception on basic example

Describe the bug 🐛
Exception in basic example
To Reproduce 👨🔬
$ hpx create --name spa_project --kind SPA --path-params
$ cd spa_project
$ hpx dev --reload
An error was occurred when compiling main
/home/carlo/.nimble/pkgs/regex-0.19.0/regex.nim(836, 29) template/generic instantiation from here
/home/carlo/.nimble/pkgs/regex-0.19.0/regex.nim(856, 18) Error: Exception can raise an unlisted exception: Exception
Please complete the following information 📃
HappyX 2.10.1
Arch Linux

please go to spa_project/src and run nim js main. Give me full error.
Also update regex to head nimble install regex@#head

Sure!
Hint: used config file '/home/carlo/.choosenim/toolchains/nim-2.0.0/config/nim.cfg' [Conf]
Hint: used config file '/home/carlo/.choosenim/toolchains/nim-2.0.0/config/config.nims' [Conf]
Hint: used config file '/home/carlo/.config/nim/nim.cfg' [Conf]
..................................................................................................
/home/carlo/.nimble/pkgs/regex-0.19.0/regex.nim(836, 29) template/generic instantiation from here
/home/carlo/.nimble/pkgs/regex-0.19.0/regex.nim(856, 18) Error: Exception can raise an unlisted exception: Exception

after regex upgrade still uses 0.19 because it is pinned to specific commit in happyx.nimble.

so ... welcome to dependencies hell with nim2)
https://github.com/HapticX/happyx/issues/135

delete ALL regex and happyx packages from .nimble/pkgs and .nimble/pkgs2
reinstall it
successfull!

after regex upgrade still uses 0.19 because it is pinned to specific commit in happyx.nimble.
yeap but nim2 with nimble say no

I clobbered my .nimble directory and reinstalled 2.0.0 via choosenim- works fine now. That was it- thanks!


Xray Watch v2

I've removed most of the pointers from watches.
But I found it's quite inconvenient to remove all of them from policies.go. When you use a struct with fields of different types, non-empty verification is confusing.
Pointers can have nil values, and it looks like it was the reason they were used everywhere initially.


Bug: Message count error in DMs

Every time a user sends a direct message to the bot (not a command), the bot raises an error in messagecounter.py
Traceback (most recent call last):
  File "xxx\client.py", line 378, in _run_event
    await coro(*args, **kwargs)
  File "xxx\MessageCounter.py", line 31, in on_message
    category_name = message.channel.category.name.lower()
                    ^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'DMChannel' object has no attribute 'category'

Fix: exit (return) event (on_message) if message is a direct message

Would this just be:
if message.guild is None:
	return

?


docker执行报错

Traceback (most recent call last):
File "/app/xiaogpt.py", line 5, in
main()
File "/app/xiaogpt/cli.py", line 171, in main
loop.run_until_complete(miboy.run_forever())
File "/usr/local/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/app/xiaogpt/xiaogpt.py", line 344, in run_forever
await self.init_all_data(session)
File "/app/xiaogpt/xiaogpt.py", line 80, in init_all_data
await self._init_data_hardware()
File "/app/xiaogpt/xiaogpt.py", line 119, in _init_data_hardware
raise Exception(
Exception: we have no hardware: lx01 please use micli mina to check

lx要改成大写LX

啊对！谢谢


Support Plasma 6

Currently the widget doesn't work on Plasma 6.0 beta 1.
https://develop.kde.org/docs/plasma/widget/porting_kf6/

I just merged Plasma 6 support into main and published the Plasma 6 widget to store.kde.org, see https://store.kde.org/p/2114471.


Update release_plan

Codecov Report

Merging #11843 (e6518ec) into main (a6ab021) will increase coverage by 0%.
 Consider uploading reports for the commit 5e3c78c to get more accurate results

@@           Coverage Diff           @@
##            main   #11843    +/-   ##
=======================================
  Coverage     62%      62%
=======================================
  Files        491      486     -5
  Lines      34541    34657   +116
  Branches    5600     5636    +36
=======================================
+ Hits       21644    21766   +122
- Misses     10800    10810    +10
+ Partials    2097     2081    -16

Impacted Files
Coverage Δ

src/kernels/common/delayedFutureExecute.ts
4% <0%> (-47%)
:arrow_down:

src/kernels/common/chainingExecuteRequester.ts
66% <0%> (-23%)
:arrow_down:

...kernels/jupyter/session/backingFileCreator.base.ts
68% <0%> (-13%)
:arrow_down:

src/kernels/execution/cellExecutionCreator.ts
80% <0%> (-11%)
:arrow_down:

src/kernels/helpers.node.ts
62% <0%> (-9%)
:arrow_down:

src/kernels/execution/cellExecution.ts
72% <0%> (-8%)
:arrow_down:

src/kernels/execution/cellDisplayIdTracker.ts
73% <0%> (-7%)
:arrow_down:

src/platform/common/cancellation.ts
62% <0%> (-4%)
:arrow_down:

...riables/customEnvironmentVariablesProvider.node.ts
82% <0%> (-4%)
:arrow_down:

src/kernels/variables/preWarmVariables.node.ts
91% <0%> (-4%)
:arrow_down:

... and 93 more


Lost programs, can't find folder after update

Type: Bug
I can't go up the folder list and find my folder / files after you wiped out my open python programs for this update.  I'm NOT a proficient user so messing with my settings, wiping my open tabs and making me search for my open project files is a big setback.
VS Code version: Code 1.94.2 (384ff7382de624fb94dbaf6da11977bba1ecd427, 2024-10-09T16:08:44.566Z)
OS version: Windows_NT x64 10.0.26100
Modes:

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz (12 x 2208)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabledwebnn: disabled_off

Load (avg)
undefined

Memory (System)
15.88GB (4.53GB free)

Process Argv
--crash-reporter-id 74789eb0-5f9b-467b-a474-9cd9b65c2832

Screen Reader
no

VM
0%

Extensions (10)

Extension
Author (truncated)
Version

vscode-firefox-debug
fir
2.9.10

debugpy
ms-
2024.10.0

python
ms-
2024.16.1

vscode-pylance
ms-
2024.10.1

jupyter
ms-
2024.9.1

jupyter-keymap
ms-
1.1.2

jupyter-renderers
ms-
1.0.19

vscode-jupyter-cell-tags
ms-
0.1.9

vscode-jupyter-slideshow
ms-
0.1.6

remote-containers
ms-
0.388.0

A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
pythonnoceb:30805159
asynctok:30898717
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
accentitlementst:30995554
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
01bff139:31013167
a69g1124:31058053
dvdeprecation:31068756
dwnewjupyter:31046869
impr_priority:31102340
nativerepl2:31139839
refactort:31108082
pythonrstrctxt:31112756
wkspc-onlycs-t:31132770
wkspc-ranged-t:31151552
cf971741:31144450
autoexpandse:31146404
iacca2:31156134
notype1cf:31151524
5fd0e150:31155592

Did you maybe store your code in a subfolder of the one VS Code got installed in? If so then you should have been presented with a warning that it is liable to being deleted by an update.

I thought I created a separate directory on the D drive but at this point I am not sure.  I may have simply gone with the defaults.  Not  too much of a loss since I was planning to redo major parts, but some code would have been nice to save.

@bpasero I'm not sure if there's much to go off of here, but I get the feeling this is a user tab state (maybe more) data loss across version updates. Not sure if you know of anything that may have caused this.

@safieradam are you maybe able to restore files you had saved via this entry from the Timeline view:

Its in the first view of VS Code (the "Explorer").
If you had stored your files in the directory where VS Code is installed, then this could explain the data loss. For that reason we show a prominent warning in the top banner.


IEC61850 client port not configurable

In the osgp-adapter-protocol-iec61850.properties there is a property for client port configuration. Default value is:
iec61850.port.client=102
But, this value is never used, instead, a hardcoded value from Iec61850DeviceConnectionService.java is used.
private static final int IEC61850_DEFAULT_PORT = 102;
Please let me know if I should provide a pull request with the correction.

Hello @ThE-MaRaC , the port for IEC61850 devices can be configured using database records. I think this code may be conflicting with the global property your mention. It would be great if you are willing to create a fix for this situation :)

Sure, I will provide a pull request with the correction.

The codebase seems to have changed (The hardcoded value is no longer present) .
Could you please verify if this issue is still valid?


knife solo prepare fails

-bash-4.1$ knife solo prepare friend@host
Bootstrapping Chef...
Enter the password for friend@host:
curl: (7) couldn't connect to host
sudo: Illegal option -E
usage: sudo -V | -h | -L | -l | -v | -k | -K | [-H] [-P] [-S] [-b] [-p prompt]
[-u username/#uid] -s |
-bash-4.1$

Sounds like someone's running centos

I am running Red Hat Linux. How do I fix this issue?

https://github.com/matschaffer/knife-solo/blob/7f9f69da5e1afba90648c3f0b4e9bbc1ef244d3e/lib/knife-solo/ssh_command.rb#L82 sounds like a good idea.

Thanks. It seems to be failing at the end now
-bash-4.1$ knife solo prepare<EMAIL_ADDRESS>-VV --sudo-command sudo
WARNING: No knife configuration file found
Bootstrapping Chef...
Enter the password for<EMAIL_ADDRESS>DEBUG: Initial command uname -s
DEBUG: Using replacement sudo command: sudo
DEBUG: Running processed command uname -s
DEBUG: uname -s stdout: Linux
DEBUG: Initial command lsb_release -d -s
DEBUG: Using replacement sudo command: sudo
DEBUG: Running processed command lsb_release -d -s
DEBUG: lsb_release -d -s stdout: "Enterprise Linux Enterprise Linux Server release 5.8 (Carthage)"
DEBUG: Distro detection yielded: {:type=>"yum_omnibus"}
DEBUG: Initial command sudo yum clean all
DEBUG: Using replacement sudo command: sudo
DEBUG: Running processed command sudo yum clean all
DEBUG: sudo yum clean all stdout: Password:
DEBUG: sudo yum clean all stdout:
DEBUG: Initial command sudo yum -y install rsync
DEBUG: Using replacement sudo command: sudo
DEBUG: Running processed command sudo yum -y install rsync
DEBUG: sudo yum -y install rsync stdout: Password:
DEBUG: sudo yum -y install rsync stdout:
DEBUG: Initial command           /bin/sh -c "             if command -v curl >/dev/null 2>&1; then               curl -L -o 'install.sh' 'https://www.opscode.com/chef/install.sh';             else               wget -O 'install.sh' 'https://www.opscode.com/chef/install.sh';             fi;           "
DEBUG: Using replacement sudo command: sudo
DEBUG: Running processed command           /bin/sh -c "             if command -v curl >/dev/null 2>&1; then               curl -L -o 'install.sh' 'https://www.opscode.com/chef/install.sh';             else               wget -O 'install.sh' 'https://www.opscode.com/chef/install.sh';             fi;           "
DEBUG:           /bin/sh -c "             if command -v curl >/dev/null 2>&1; then               curl -L -o 'install.sh' 'https://www.opscode.com/chef/install.sh';             else               wget -O 'install.sh' 'https://www.opscode.com/chef/install.sh';             fi;           "
stdout:
curl: (7) couldn't connect to host
curl: (7) couldn't connect to host

Sounds like your internet access from slc01epm.us.oracle.com is restricted.
If you can't open that up you'll have to host the omnibus installer
somewhere you can access then use a combination of --omnibus_url and
--omnibus_options to point the prepare command at assets you can access.
-Mat
about.me/matschaffer
On Thu, Apr 9, 2015 at 12:35 PM, kmanohar1<EMAIL_ADDRESS>wrote:

Thanks. It seems to be failing at the end now
-bash-4.1$ knife solo prepare<EMAIL_ADDRESS>-VV
--sudo-command sudo
WARNING: No knife configuration file found
Bootstrapping Chef...
Enter the password for<EMAIL_ADDRESS>DEBUG: Initial command uname -s
DEBUG: Using replacement sudo command: sudo
DEBUG: Running processed command uname -s
DEBUG: uname -s stdout: Linux
DEBUG: Initial command lsb_release -d -s
DEBUG: Using replacement sudo command: sudo
DEBUG: Running processed command lsb_release -d -s
DEBUG: lsb_release -d -s stdout: "Enterprise Linux Enterprise Linux Server
release 5.8 (Carthage)"
DEBUG: Distro detection yielded: {:type=>"yum_omnibus"}
DEBUG: Initial command sudo yum clean all
DEBUG: Using replacement sudo command: sudo
DEBUG: Running processed command sudo yum clean all
DEBUG: sudo yum clean all stdout: Password:
DEBUG: sudo yum clean all stdout:
DEBUG: Initial command sudo yum -y install rsync
DEBUG: Using replacement sudo command: sudo
DEBUG: Running processed command sudo yum -y install rsync
DEBUG: sudo yum -y install rsync stdout: Password:
DEBUG: sudo yum -y install rsync stdout:
DEBUG: Initial command /bin/sh -c " if command -v curl >/dev/null 2>&1;
then curl -L -o 'install.sh' 'https://www.opscode.com/chef/install.sh';
else wget -O 'install.sh' 'https://www.opscode.com/chef/install.sh'; fi; "
DEBUG: Using replacement sudo command: sudo
DEBUG: Running processed command /bin/sh -c " if command -v curl

/dev/null 2>&1; then curl -L -o 'install.sh' '
https://www.opscode.com/chef/install.sh'; else wget -O 'install.sh' '
https://www.opscode.com/chef/install.sh'; fi; "

DEBUG: /bin/sh -c " if command -v curl >/dev/null 2>&1; then curl -L -o
'install.sh' 'https://www.opscode.com/chef/install.sh'; else wget -O
'install.sh' 'https://www.opscode.com/chef/install.sh'; fi; "
stdout:
curl: (7) couldn't connect to host
curl: (7) couldn't connect to host
—
Reply to this email directly or view it on GitHub
https://github.com/matschaffer/knife-solo/issues/432#issuecomment-91105899
.

But I could do this on the 'host' successfully,
curl -L -o 'install.sh' 'https://www.opscode.com/chef/install.sh'

knife solo prepare<EMAIL_ADDRESS>--sudo-command sudo -VV --no-host-key-verify --omnibus-url friend@host356.abc.com:/private/home/friend/install.sh
Tried the above one and got the error
curl: (6) Couldn't resolve host 'host356.abc.com'


chore(deps): update lingui monorepo to v2.9.0

This PR contains the following updates:

Package
Type
Update
Change

@lingui/cli
devDependencies
minor
2.8.3 -> 2.9.0

@lingui/macro
devDependencies
minor
2.8.3 -> 2.9.0

Release Notes

lingui/js-lingui
v2.9.0
Compare Source
New Features

Add optional sort by origin/filename (#563).
Thanks to Kenneth Skovhus
Lazily split messages by value tags (#593).
Thanks to Danny Sellers
Optional line numbers for lingui format (#587).
Thanks to Martti Roitto
Moved typescript dependency to peer (#589).
Thanks to Daniel K.

Bug Fixes

Compile strict skips pseudo locale (#584).
Thanks to Daniel Chabr

Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Enabled.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".
:no_bell: Ignore: Close this PR and you won't be reminded about these updates again.

[ ] If you want to rebase/retry this PR, check this box

Available now for Enterprise: Renovate Pro with real-time webhook handling and priority job queue.

:tada: This PR is included in version 2.152.23 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


update CRDs to apiextensions.k8s.io/v1

This should addresses https://github.com/IBM/composable/issues/88#issuecomment-937808849
Signed-off-by: pdettori<EMAIL_ADDRESS>

Any reason this was not merged?


Internal Port

Internal port allows defining ports internal to a thing, that are connected to themselves by default (no need to do it in the configuration). Basically, it allows internal async communication. Right now, internal ports have a similar syntax as other port, with a list of sent and received messages. The thing is, internal ports typically (and should always) be able to receive what they send (i.e. both lists are equal). We should simplify the syntax (and maybe adapt the metamodel) to only declare one list.

This is on hold until better specified

I suggest something like:
internal port p {
  handles m1, m2
}

Ideally (not to change all the compilers), the list of handled messages should be copied into the sent AND the received messages somewhere in the parser

Why not messages instead of handles?
internal port p {
  messages m1, m2
}

I guess if we want something else on the ports handles is better, but for now messages is quite clear.

That could work too


[FLINK-34250] add config docs for formats

What is the purpose of the change
Generate the doc sections for Flink format options.
Brief change log

Add format packages ConfigurationOptionLocator
Generated html files for formats
config.md to link all of the generated config html files.
Change the class ConfigOptionsDocsCompletenessITCase to allow duplicated key ignore-parse-errors in both json and csv format.

Verifying this change

Completeness is covered by ConfigOptionsDocsCompletenessITCase

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (docs)

@leonardBang do you have time to help review this?


Create custom user for e2e tests with limited rights

Issue link

What changes have been made

Verification steps

Checks

[ ] I've made sure the tests are passing.
Testing Strategy

[ ] Unit tests
[ ] Manual tests
[ ] Testing is not required for this change

deprecated, closing


[Event Request] table 5965  "Service Contract Header" - OnBeforeCreateDim

Hello, would it be possible to add OnBeforeCreateDim event to table 5965  "Service Contract Header", like this:
    procedure CreateDim(DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])
...
          if "Change Status" <> "Change Status"::Open then
             exit;

         IsHandled := false;
>         OnBeforeCreateDim(Rec, IsHandled); //New Event
         if IsHandled then
             exit;

         SourceCodeSetup.Get();

     [IntegrationEvent(false, false)]
     local procedure OnBeforeCreateDim(var ServiceContractHeader: Record "Service Contract Header"; var IsHandled: Boolean)
     begin
     end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 10531.


Add tabs to search results

I'm pretty partial to the mixed results page that's currently there. I can see where it would be convenient if you only care about a specific type of result, but I like being able to see results from all types when you've got a more specific query is more convenient. The current search page also lets you just use the keyboard to find what you're looking for, without having to switch between tabs.
Maybe a "top results" section would be more helpful? Just something that would highlight a couple of results that best match what you're searching for (regardless of type).

First of all, try changing the results order to Artists, Albums, Songs. I can't really tell about the top results thing - I guess it depends on how well it'd work.

Instead of doing that, maybe just display only direct results? So if a user searches for an artist, don't show all their songs and albums. If an album - don't show the songs it contains.

Right now searching includes a song if either its song name, artist name, or album name contains the search query (and includes an album if either its album name or artist name contain the query). Just to confirm, you're saying to change this so that songs and albums are only included in the results if their name contains the query, right?

Yes, instead of creating a seperate section with best results, I'd narrow all results shown to the best, accurate ones. This way if you only reorder elements to Artists, Albums, Songs it's much quicker for users to find what they want to.


impl Drive for String and some others

I'm trying to use derive(Drive) with types generated by https://github.com/badicsalex/peginator/.
Unfortunately, a lot of these types contain String fields (and ops::range::RangeInclusive, but maybe that could be skipped) in ways that's not easy to detect (there are a lot of type alias shenanigans going on). This causes an error when using the derive macro.
Would it be possible to impl Drive for some more standard types? Or should this be solved differently?

The reason why the crate doesn't implement Drive for more std types is to discourage vague visitor methods, e.g.
#[derive(Drive)]
struct User {
    username: String,
}

#[derive(Drive)]
struct File {
    content: String,
}

In this example, both field values would be passed to visit_string method of a visitor, even though their contents are very much semantically different, and likely need to be treated differently. Current design forces the user to make an explicit choice between:

Skipping a field and treating its containing structure as a "leaf", rather than treating the field itself as a "leaf":

#[derive(Drive)]
struct User {
    #[drive(skip)]
    username: String
}

Making a field a newtype and making the visitor method semantically meaningful:

#[derive(Drive)]
struct User {
    username: Username
}

#[derive(Drive)]
struct Username(#[drive(skip)] String);

I can add a macro attribute e.g. #[drive(skip_all)] or #[drive(leaf)] that would be applied to the container struct and produce the same result as marking each field with skip. Furthermore there could be a "whitelist mode", i.e. all fields are skipped by default, but select fields are visited. Would it solve your issue?

I would hope anyone writing an enter_string function knows it's not going to be very "semantic".
Then again, I understand your concern that it shouldn't be misusable by default. For my case I'd be happy with an empty implementation too, but I guess that's bad for other reasons. Maybe behind a config flag?
(My use-case is that I generate structs from a DSL, where each field refers to another struct. Sometimes not a struct is generated for a specific name, but a type alias. This is done statelessly during generation, so it's hard to know what the fields' actual types will be. Using type aliases instead of newtypes is a core design choice unfortunately.
Otherwise I guess could do your no 2. solution or just use #[drive(with=...)] for primitive-typed fields, or generate that skip manually)

Feature flag sounds like a good compromise to me, what std types would you want to implement Drive then?

All simple primitive types and String would be enough.
I actually drafted something here: https://github.com/badicsalex/derive-visitor/commit/8e3063588e324522ce4a44c40d5aff8e815a013b
(That macro might not be the most elegant solution.)

Looks good to me, could you create a PR?

Thanks!


k8s-release-dev-ci Jenkins Job is failing due to --api-servers is no longer a known parameter for Kubelet on master branch

Observed this issue on Nightly Jenkins Job. Issue is only happening on master branch.
Kubelet Log
{"log":"Error: unknown flag: --api-servers\n","stream":"stderr","time":"2017-07-27T16:50:15.356061625Z"}
{"log":"\n","stream":"stderr","time":"2017-07-27T16:50:15.356077874Z"}
{"log":"The kubelet binary is responsible for maintaining a set of containers on a\n","stream":"stderr","time":"2017-07-27T16:50:15.356532126Z"}

Build
https://storage.googleapis.com/kubernetes-release-dev/ci/latest-green.txt
Kubelet Parameters
/hyperkube kubelet --address=<IP_ADDRESS> --allow-privileged=true --cloud-provider=vsphere --enable-server --enable-debugging-handlers --kubeconfig=/srv/kubernetes/kubeconfig.json --pod-manifest-path=/etc/kubernetes/manifests --cluster-dns=<IP_ADDRESS> --cluster-domain=cluster.local --v=2 --api-servers=http://localhost:8080 --register-schedulable=false --cloud-config=/etc/kubernetes/vsphere.conf
Fix
When --api-servers=http://localhost:8080 flag is removed from the kubelet, kubelet was able to start sucessfully and able to launch all other system containers.
This flag also needs to be removed from all worker nodes's kubelet
We will need to fix Kubernetes-Anywhere  and build new image for dev-ci nightly Jenkins job.
In case if you come across situlation where kubernetes-anywhere is waiting for nodes to become healthy for significant amount of time, and you are using latest master branch build image. Apply above fix, to unblock development.
@BaluDontu @rohitjogvmw @luomiao @SandeepPissay @tusharnt

Ignition image for kubernetes master branch build is available at
docker.io/cnastorage/k8s-ignition:v1.8-dev-release
I have tested deploying kubernetes version v1.8.0-alpha.2.1028+b350527ecb0011 using this ignition image.
Also modified k8s-release-dev-ci-latest Jenkins jobs to use this new ignition image.
Change is available at : https://github.com/divyenpatel/kubernetes-anywhere/tree/new-ignition-for-k8s-release-dev-ci

Ref PR: https://github.com/kubernetes/kubernetes/pull/40050


Try to make performance better for bigger servers

[x] load the list of playernames/uuid on startup in it's own thread
- [ ] keep track of and load most-used statistics in memory?
- [ ] also make this configurable (which stats should be loaded on startup)
[x] calculate size of names/uuid with Bukkit.getOfflinePlayers() if no size is known yet?

Use the default ForkJoinPool:

[x] make a class that extends RecursiveTask

[ ] Use a database
[ ] #53


updated smelting patch to be compatible with bannerlord 1.2

mipen/BannerlordTweaks#54
this is for bannerlord 1.2

Thanks for merging :)

No, thanks for making the patch! I don't play bannerlord anymore for the moment, so it is getting difficult to keep the mod up to date, so I really appreciate the help!

I think that Joshua and I does not mind keeping the mod a live. You have a huge following and a massive addictive group that wants the mod updated.
I have a lot of time on my hands and I do not mind working on new features and help maintaining the mod.
Maybe we create a Trello board and add new suggestions. I would be great if we maybe have a discord or zoom talk and agree how we want to maintain this.
Like Keeping the release version bug free and working and use the BETA to add new features?


Twilight 2000 4th Edition | Update Vehicle Reliability from Letter to Number

Another change from Alpha to full release.
Changes / Comments
Replaces the Alpha letter system for vehicle reliability with the official release version of using a number.
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[x] Does the pull request title have the sheet name(s)? Include each sheet name.
[x] Is this a bug fix?
Yes. A correction between the alpha ruleset and the official release
[x] Does this add functional enhancements (new features or extending existing features) ?
It does not.
[x] Does this add or change functional aesthetics (such as layout or color scheme) ?
It does not.
[x] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
Unfortunately because of the change, there isn't a way to preserve existing data, however the change is mostly minor and doesn't impact any sheet-based roles.
[x] If this is a new sheet, did you follow [Building Character Sheets standards]
Not applicable.
(https://wiki.roll20.net/Building_Character_Sheets#Roll20_Character_Sheets_Repository) ?

If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.


How to generate nforA.exr and nforB.exr？

In my view, the nfor.exr can be generated from color, colorA, colorB and many other features.
But hot to generate nforA.exr or nforB.exr？
Is nforA.exr generated from colorA, colorAA, colorAB and other features？

Generating colorA.exr and colorB.exr from colorAA.exr, colorAB.exr, colorBA.exr, etc. is one solution.
Another approach without the need for extra storage and computation (as we adopted in the paper), is simply using the intermediate filtering results of colorA.exr and colorB.exrin the NFOR algorithm (see these lines, just dump resultA and resultB in the code). They are slightly noisier and correlated, but OK for use in our method since we perform further filtering on the weight maps.

Generating colorA.exr and colorB.exr from colorAA.exr, colorAB.exr, colorBA.exr, etc. is one solution.
Another approach without the need for extra storage and computation (as we adopted in the paper), is simply using the intermediate filtering results of colorA.exr and colorB.exrin the NFOR algorithm (see these lines, just dump resultA and resultB in the code). They are slightly noisier and correlated, but OK for use in our method since we perform further filtering on the weight maps.

Thank you for your reply. It addressed my concern. By the way, how to generate kpcnA.exr and kpcnB.exr?

If I recall it correctly, we generate kpcnA.exr and kpcnB.exr by re-running the network, with the same auxiliary feature maps as kpcn.exr.

Specifically, just change the color into the colorA and others auxiliary features are fixed. Is it correct?

Thank you for your efficient response and help.

Oh, one more thing: KPCN splits color buffers into diffuse and specular illumination and denoise them separatedly, so actually you also need to replace diffuse.exr with diffuseA/B.exr and specular.exr with specularA/B.exr.

Yes, I will just fix the auxiliary features, such as albedo, normal, depth, respective half buffer and variance.


How to manage reverse slide?

I need a slide with max to min. Suppose, we have two values 100, 10.
Code:
      <vue-slider
            :tooltip="'focus'"
            :dotSize="18"
            :height="10"
            :max="10"
            :min="100"
            :reverse="true"></vue-slider>

https://nightcatsama.github.io/vue-slider-component/#/api/props?hash=direction
:min="10"
:max="100"
:direction="rtl"

https://nightcatsama.github.io/vue-slider-component/#/api/props?hash=direction
:min="10"
:max="100"
:direction="rtl"

This is not what I want, I want to drag point max to min.
ie., 100,99,98,...,11,10.

https://jsfiddle.net/5Lds3fzt/1/

Thank you so much for this code. This works just the way I wanted it to 😊


config-ui adopts JIRA configuration API and new UI designs

Description
Due to breaking change of PR #491, config-ui will have to update accordingly, or jira configuration part wouldn't function at all.

@Startrekzky  will design an prototype for multi-datasources supporting (#519)
@e2corporation  will implement the new design for config-ui with a focus on the multi data sources part for now

Due to #517, we will remove status mapping from jira configuration to simply the setup process.

Broken into other tickets


Delete empty teams with no submissions

Empty teams need to be kept around if they have active submissions. However, if they're truly empty, we can safely delete them -- and we should, to free up some space for team names.

Could you please tell where the files are located?


FileNotFoundException

Hi!
While using the taskService.GetFolder method i receive an exception saying FileNotFoundException: 'The system cannot find the file specified. (Exception from HRESULT: 0x80070002)'
After checking i found that the folder that i was trying to get was deleted from the WindowsTaskScheduler
Example:
taskService.GetFolder("My Tasks");
and the folder "My Tasks" got deleted from the Windows Task Scheduler.
I wanted to know that how can we check if the folder in which our tasks are stored exists or not so that i can check it before hand.
Thanks.
Originally posted: 2012-06-01T03:33:27

There is no "HasFolder" method or anything like it. I would call the GetFolder method and handle the FileNotFoundException as an indicator that the folder does not exist.
Originally posted: 2012-06-13T11:07:26


 Instead of
individually syncing subdirectories of Chromium in SVN, we're now
syncing Chromium (and all of its DEPS, as defined by its own DEPS file),
into the `chromium/src` directory.

As such, all Chromium directories which are currently pulled by DEPS are
now replaced with a symlink into the full Chromium checkout.

To avoid disrupting developers, we've chosen to not delete your
directories forcibly, in case you have some work in progress in one of
them :).

ACTION REQUIRED:
Before running `gclient sync|runhooks` again, you must run:
src/setup_links.py --force

Which will replace all directories which now must be symlinks, after
prompting with a summary of the work-to-be-done.

Error: Command '/usr/bin/python src/setup_links.py' returned non-zero exit status 1 in /mnt/vdb/webrtcbuilds/out

Thanks, I'll try to repro for this...
running ./build.sh -b 50 -t linux with:

a fresh clean repo (checking out branch 50 directly)
a repo that has a pre-existing 'latest' checkout in out (checking out latest then branch 50)

one other thing comes to mind is depot_tools, what is that revision?
cd depot_tools
git log -1 --oneline

cd depot_tools
git log -1 --oneline
9e8fb0e Add --cache-dir argument to gclient.

Repro'ed and added doing the action required (setup_links), please reopen if there's still an issue with this.

Thank you for your effort. It passed.
Now I have this:
_```
_______ running '/usr/bin/python src/webrtc/build/gyp_webrtc -Dextra_gyp_flag=0' in '/mnt/vdb/webrtcbuilds/out'
Updating projects from gyp files...
Hook '/usr/bin/python src/webrtc/build/gyp_webrtc -Dextra_gyp_flag=0' took 11.90 secs
Checking WebRTC dependencies
ERROR: Only Ubuntu 12.04 (precise), 14.04 (trusty),  14.10 (utopic), 15.04 (vivid) and 15.10 (wily)
/mnt/vdb/webrtcbuilds/out/src/build/install-build-deps.sh: line 80: are currently supported: command not found

my original command is:
`. build.sh -b 50 -t linux -c arm64
`

From the error it looks like from the time that the branch 50 was cut, ~2016, there were only a certain ubuntu distributions and the webrtc scripts may be checking for those distributions.
ERROR: Only Ubuntu 12.04 (precise), 14.04 (trusty), 14.10 (utopic), 15.04 (vivid) and 15.10 (wily)
Do you happen to be using xenial (16.04)?

I downgraded the machine to ubuntu 14.04.
I compiled many linux on x64 with no problems at all.
still the arm64 . build.sh -b 50 -t linux -c arm64
No missing packages, and the packages are up-to-date.
Skipping installation of Chrome OS fonts.
Skipping symbolic links for NaCl.
Patching WebRTC source
Compiling WebRTC
ERROR at //build/config/nacl/config.gni:42:58: Undefined identifier
      "${nacl_toolchain_dir}/${nacl_toolchain_package}/${_nacl_tuple}"
                                                         ^----------

kindly advise.

I did a little digging, it appears like this bug https://bugs.chromium.org/p/chromium/issues/detail?id=568883, but it also appears from the timestamps that it was fixed before branch 50 was made.
I also tried building with linux/arm64 with latest with:
./build.sh -t linux -c arm64 # build script errors and tells to install the following script
out/src/build/linux/sysroot_scripts/install-sysroot.py --arch=arm64
./build.sh -t linux -c arm64 # continue the build

and that seemed to work. So at this point, I'm still not sure exactly why latest works and branch 50 doesn't but I'm open to ideas.

https://cs.chromium.org/chromium/src/build/install-build-deps.sh
./build/install-build-deps.sh  --no-chromeos-fonts

$ git clone --depth 1 https://chromium.googlesource.com/chromium/tools/depot_tools.git
$ export PATH=`pwd`/depot_tools:"$PATH"

export GYP_DEFINES="target_arch=x64 host_arch=x64 build_with_chromium=0 use_openssl=0 use_gtk=0 use_x11=0 include_examples=0 include_tests=1 fastbuild=1 remove_webcore_debug_symbols=1 include_pulse_audio=0 include_internal_video_render=0 clang=1 "

mkdir webrtc-checkout
cd webrtc-checkout

gclient config https://chromium.googlesource.com/external/webrtc.git@branch-heads/50 --name=src
gclient sync --force --with_branch_heads
gclient sync --force --with_branch_heads --nohooks

cd src

git checkout branch-heads/50

gclient runhooks

ninja -C ./out/Release

These are the exact steps that build branch 50 with no problems at all.

Thanks for the steps. I see branch 50 builds with target_arch=x64 with no problems at all. I notice this didn't set the target arch to arm64 which is what the -c arm64 argument would do. I wasn't able to build further with these steps with target_arch=arm64 set in the GYP_DEFINES export, have you?
Like:
export GYP_DEFINES="target_arch=arm64 host_arch=x64 build_with_chromium=0 use_openssl=0 use_gtk=0 use_x11=0 include_examples=0 include_tests=1 fastbuild=1 remove_webcore_debug_symbols=1 include_pulse_audio=0 include_internal_video_render=0 clang=1 "

When I run
. build.sh -b 50 -t linux

I got
ERROR: Only Ubuntu 12.04 (precise), 14.04 (trusty),  14.10 (utopic), 15.04 (vivid) and 15.10 (wily)
/mnt/disks/webrtcbuilds/out/src/build/install-build-deps.sh: line 80: are currently supported: command not found

I was never able to build branch 50 using build.sh :(


build: add windows exe pack & upload CI job

What does this PR do?
adds windows pack and upload ci job
What issues does this PR fix or reference?
@W-8856338@

@RasPhilCo looks like you need to put a @ next to the W-8856338 to satisfy CI.

@RasPhilCo merge at your leisure. It doesn't seem I have permissions to do that yet.

Successful run: https://app.circleci.com/pipelines/github/salesforcecli/sfdx-cli/180/workflows/c218c8fb-40b2-4df3-93d7-3d2be6470cbf/jobs/789


Do not call setup.py directly

See i.e. https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html

Cool, this drops a few deprecation warnings in logs.


about pitch coherence

hello,
In your code:
Exp[i] = Exp[i]/sqrt(1e-15+Ex[i]*Ep[i]).
while bandE[i]=sqrt(sum[i]) in the function compute_band_corr.
I think the code should be
if(Ex[i]*Ep[i]==0)
Exp[i] = 0;(or 1?)
else
Exp[i] = Exp[i]/(1e-15+Ex[i]*Ep[i]).
And this can only make pitch coherence{Exp[i]} be 1,when signal{X} and it's periodic component {P} are exactly the same。

I've checked the code in the function compute_band_corr didn't apply sqrt
if I change it to bandE[i]=sqrt(sum[i]) than I think
the equation Exp[i] = Exp[i]/sqrt(1e-15+Ex[i]*Ep[i]). should remain sqrt
otherwise your answer Exp[i] = Exp[i]/(1e-15+Ex[i]*Ep[i]) (without sqrt) is right
I'm not sure about which Exp[i] value should I take 0 or 1 in case of exception that Ex[i] or Ep[i] is 0.
how about changing 1e-15 to very small epsilon 1e-37 would be nice solution
I think it won't ruin that much to Exp value but also prevent zero division error.
wait for your suggestion thanks.

sorry,I confused the two functions.
"bandE[i]=sqrt(sum[i])"is in the fuction compute_band_energy.
Ex[i] and Ep[i] is already the ||x|| and ||p||,so Exp[i] should equal to  Exp[i]/(1e-37+Ex[i]*Ep[i]) instead of Exp[i]/sqrt(1e-37+Ex[i]*Ep[i]).
void compute_band_energy(float *bandE, const kiss_fft_cpx *X) {
......
......
for (i=0;i<NB_BANDS;i++)
{
bandE[i] = sqrt(sum[i]);
}
}


Moved methods for creating adoc file about ACDD elements from nc_to_m…

…md.py to yaml_to_adoc.py in order to avoid dependency on the netCDF4 library
Summary:
Related issue:
Suggested reviewer(s):
Reviewer checklist:

[ ] The headers of all files contain a reference to the repository license (i.e., "License: This file is part of py-mmd-tools, licensed under the Apache License 2.0 (https://www.apache.org/licenses/LICENSE-2.0)")
[ ] 100% test coverage of new code - meaning:

[ ] The overall test coverage increased or remained the same as before
[ ] Every function is accompanied with a test suite
[ ] Tests are both positive (testing that the function work as intended with valid data) and negative (testing that the function behaves as expected with invalid data, e.g., that correct exceptions are thrown)
[ ] Functions with optional arguments have separate tests for all options

[ ] Examples are supported by doctests
[ ] All tests are passing
[ ] All names (e.g., files, classes, functions, variables) are explicit
[ ] Documentation (as docstrings) is complete and understandable

The checklist is based on the S-ENDA conventions and definition of done (see https://s-enda-documentation.readthedocs.io/en/latest/general_conventions.html). The above points are not necessarily relevant to all contributions. In that case, please add a short explanation to help the reviewer.

I'll merge this to fix the MET data management handbook (on internal gitlab) which is currently missing the adoc file because it was removed from version control in github.com/metno/data-management-handbook


Refactor deg_to_compass function

Improves the accuracy and maintainability of this calculation.  Carried over the out-of-range handling of Forecast.io's windBearing in case it's necessary.

I'm truly sorry you had to look at that if/elif monstrosity

We can actually do better here(see 4db4e00906c895399f63645e14eca18219f2ded7), using built-in floor division (preferrable vs math.floor) and some modular math. Note that the image of our function will always be one of the 16 ordinal directions, given a domain of all real numbers, so we don't really need to handle edge cases.


Possible wrong date format in MessageFormatter

In MessageFormatter you are using gmdate('c'), but the date format specified in the Apache docs is defined as:
[day/month/year:hour:minute:second zone]
day = 2*digit
month = 3*letter
year = 4*digit
hour = 2*digit
minute = 2*digit
second = 2*digit
zone = (`+' | `-') 4*digit

Was this intentional? The correct format is gmdate("d/M/Y:H:i:s O"), I believe.

Ah yeah, you're right. Looks like the date should be modified to match the common log format's date.


clarify no-meaningful-features warning in Dataset construction (fixes #5081)

Fixes #5081.
During Dataset construction, LightGBM may drop features for the following reasons:

all data would end up in one bin (e.g. all missing or otherwise constant)
not possible to create any bins the satisfy min_data_in_bin
not possible to create any bins that satisfy min_data_in_leaf

https://github.com/microsoft/LightGBM/blob/d4cdbcfe1b1db2d48e95665a8b358028c496cdb2/src/io/bin.cpp#L493-L502
If all features in the raw data are dropped for these reasons, the following warning is issued

[LightGBM] [Warning] There are no meaningful features, as all feature values are constant.

Note that that warning only cites one of the possible reasons a feature is excluded (all values are constant). As a result, sometimes this warning can be confusing or misleading. See the example in the description of #5081, where for a very small dataset (<40 rows), LightGBM excludes all features and issues this warning unless min_data_in_bin=1, min_data_in_leaf=1 are set.
This PR proposes clarifying the language in this warning.
Notes for Reviewers
@StrikerRUS @shiyu1994 @guolinke why is this a warning and not a fatal error? What is the purpose for allowing a Dataset to be constructed which has 0 features? Is it related to distributed training, or maybe to the ability to use forced_splits?

Is it related to distributed training

I don't think so, since this warning is given after all feature bin mappers are synced, see
https://github.com/microsoft/LightGBM/blob/d4cdbcfe1b1db2d48e95665a8b358028c496cdb2/src/io/dataset_loader.cpp#L791

or maybe to the ability to use forced_splits

That is the possible reason.

But at least, without any feature, we can provide an average score for the whole dataset, which is meaningful in some sense

That makes sense to me! I guess a no-feature model is still technically a valid (even if unlikely to be useful) LightGBM model, and supporting it allows users to not need to account for that possibility in training code. For example, in grid search if you set min_data_in_leaf too high and all features have a single bin, you'll still get a valid model (with just very bad performance on the hold-out set) instead of an error.
Thanks for the explanation @shiyu1994 !


Compilation error for px4_fmu-v5_default: incompatible cast

Describe the bug
When running make px4_fmu-v4_default I get the following error:
wdog/wd_start.c: In function 'wd_expiration':
wdog/wd_start.c:151:20: error: cast between incompatible function types from 'wdentry_t' {aka 'void (*)(int,  unsigned int,  ...)'} to 'void (*)(int)' [-Werror=cast-function-type]
                 (*((wdentry0_t)(wdog->func)))(0);
                    ^

To Reproduce
Running the following on my Arch linux:
git clone git@github.com:PX4/Firmware.git
cd Firmware
make submodulesclean
make px4_fmu-v4_default

I tried the same with v1.9.0-beta1 (git checkout v1.9.0-beta1), with the same result.
Expected behavior
It should compile.
Log Files and Screenshots

-- PX4 config file: /home/***/tmp/Firmware/boards/px4/fmu-v4/default.cmake
-- PX4 config: px4_fmu-v4_default
-- PX4 platform: nuttx
-- PX4 lockstep: disabled
-- PX4 version: v1.9.0-beta1-100-gc3d6a042e6
-- cmake build type: MinSizeRel
-- The CXX compiler identification is GNU 8.2.0
-- The C compiler identification is GNU 8.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/arm-none-eabi-gcc
-- Check for working CXX compiler: /usr/bin/arm-none-eabi-g++
-- Check for working CXX compiler: /usr/bin/arm-none-eabi-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/arm-none-eabi-gcc
-- Check for working C compiler: /usr/bin/arm-none-eabi-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Found PythonInterp: /usr/bin/python (found version "3.7.2")
-- Found PY_jinja2: /usr/lib/python3.7/site-packages/jinja2
-- PX4 ECL: Very lightweight Estimation & Control Library v0.9.0-646-g54ab819
-- Using C++11
-- Release build type: MinSizeRel
-- Adding UAVCAN STM32 platform driver
CMake Warning (dev) at platforms/nuttx/CMakeLists.txt:76 (target_link_libraries):
Policy CMP0079 is not set: target_link_libraries allows use with targets in
other directories.  Run "cmake --help-policy CMP0079" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
Target
nuttx_arch

is not created in this directory.  For compatibility with older versions of
CMake, link library
drivers_board

will be looked up in the directory in which the target was created rather
than in this calling directory.
This warning is for project developers.  Use -Wno-dev to suppress it.
CMake Warning (dev) at platforms/nuttx/CMakeLists.txt:76 (target_link_libraries):
Policy CMP0079 is not set: target_link_libraries allows use with targets in
other directories.  Run "cmake --help-policy CMP0079" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
Target
nuttx_arch

is not created in this directory.  For compatibility with older versions of
CMake, link library
drivers_arch

will be looked up in the directory in which the target was created rather
than in this calling directory.
This warning is for project developers.  Use -Wno-dev to suppress it.
CMake Warning (dev) at platforms/nuttx/CMakeLists.txt:76 (target_link_libraries):
Policy CMP0079 is not set: target_link_libraries allows use with targets in
other directories.  Run "cmake --help-policy CMP0079" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
Target
nuttx_arch

is not created in this directory.  For compatibility with older versions of
CMake, link library
drivers_boards_common

will be looked up in the directory in which the target was created rather
than in this calling directory.
This warning is for project developers.  Use -Wno-dev to suppress it.
CMake Warning (dev) at platforms/nuttx/CMakeLists.txt:76 (target_link_libraries):
Policy CMP0079 is not set: target_link_libraries allows use with targets in
other directories.  Run "cmake --help-policy CMP0079" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
Target
nuttx_arch

is not created in this directory.  For compatibility with older versions of
CMake, link library
drivers_boards_common_arch

will be looked up in the directory in which the target was created rather
than in this calling directory.
This warning is for project developers.  Use -Wno-dev to suppress it.
CMake Warning (dev) at platforms/nuttx/CMakeLists.txt:84 (target_link_libraries):
Policy CMP0079 is not set: target_link_libraries allows use with targets in
other directories.  Run "cmake --help-policy CMP0079" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
Target
nuttx_c

is not created in this directory.  For compatibility with older versions of
CMake, link library
nuttx_drivers

will be looked up in the directory in which the target was created rather
than in this calling directory.
This warning is for project developers.  Use -Wno-dev to suppress it.
CMake Warning (dev) at platforms/nuttx/CMakeLists.txt:85 (target_link_libraries):
Policy CMP0079 is not set: target_link_libraries allows use with targets in
other directories.  Run "cmake --help-policy CMP0079" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
Target
nuttx_xx

is not created in this directory.  For compatibility with older versions of
CMake, link library
nuttx_c

will be looked up in the directory in which the target was created rather
than in this calling directory.
This warning is for project developers.  Use -Wno-dev to suppress it.
-- ROMFS: px4fmu_common
-- ROMFS: Adding rc.board_defaults
-- ROMFS: Adding rc.board_sensors
-- ROMFS: Adding rc.board_extras
-- Configuring done
-- Generating done
-- Build files have been written to: /home//tmp/Firmware/build/px4_fmu-v4_default
ninja: Entering directory `/home//tmp/Firmware/build/px4_fmu-v4_default'
[0/1165] git submodule platforms/nuttx/NuttX/nuttx
[1/1165] git submodule platforms/nuttx/NuttX/apps
[5/1165] git submodule src/lib/ecl
[9/1165] git submodule src/drivers/gps/devices
[12/1165] git submodule src/drivers/uavcan/libuavcan
[14/1165] git submodule mavlink/include/mavlink/v2.0
[17/1165] Generating nuttx/include/nuttx/version.h, nuttx/include/nuttx/config.h
[323/1165] Generating nuttx/sched/libsched.a
FAILED: NuttX/nuttx/sched/libsched.a
cd /home//tmp/Firmware/build/px4_fmu-v4_default/NuttX/nuttx && find sched -type f -name .o -delete && make -C sched --quiet --no-print-directory all TOPDIR=/home//tmp/Firmware/build/px4_fmu-v4_default/NuttX/nuttx KERNEL=y EXTRADEFINES=-D__KERNEL__ >nuttx_build.log
wdog/wd_start.c: In function 'wd_expiration':
wdog/wd_start.c:151:20: error: cast between incompatible function types from 'wdentry_t' {aka 'void ()(int,  unsigned int,  ...)'} to 'void ()(int)' [-Werror=cast-function-type]
(((wdentry0_t)(wdog->func)))(0);
^
cc1: all warnings being treated as errors
make[1]: *** [Makefile:77: wd_start.o] Fehler 1
make[1]: *** Es wird auf noch nicht beendete Prozesse gewartet....
[336/1165] Generating nuttx/drivers/libdrivers.a
ninja: build stopped: subcommand failed.
make: *** [Makefile:171: px4_fmu-v4_default] Fehler 1

Currently we're using GCC 7 in the CI system and as the only supported compiler version.
You'll need to either fix these small issues (or disable the warnings) or switch to the GCC version in the documentation. We'll need to fix these warnings eventually when we upgrade the toolchain, but we only do that as needed (it's a huge testing effort).

I'll try to fix the cmake warnings (they go away if you upgrade cmake).

@dagar thanks for looking into it.
I'm using cmake v3.13.4.
The only newer version of cmake available would be a release candidate.
Are you sure, you're using release candidate versions of cmake?
However, my problem aren't the cmake warnings:
My problem is that wdog/wd_start.c does not compile.
The compiler I'm using is arm-none-eabi-gcc v8.2.0.
Since this version is also newer than gcc v7, the code should compile anyways, shouldn't it?

OK, I tried compiling with gcc 7.3 and this produced a working binary.
So, there is really a problem with gcc 8.2...

Same as #12814.


[MRG] fix some stuff in runme.py to do with query and ksize

...mistakes were made 😆
This PR fixes some mistakes I made that prevented runme.py from doing the Right Thing when it came to query files and ksize. Specifically,

[x] the query argument to runme.py now properly overrides the query_file parameter in the config
[x] the config file no longer contains the default query file
[x] the query file passed into runme.py properly deals with relative paths
[x] the ksize parameter is properly interpreted

Ready for review & merge @ropolomx @bluegenes

thanks tessa!


Provide MSAL token cache implementations

If you are authenticating your .NET Core app against Azure AD the suggested path is to use the MSAL library.  This requires code to load/serialise the TokenCache before/after every access and sample code is provided here
The code is not great as it uses the Session to hold the token cache and there are some issues with MSAL as the Load/Persist methods are not asynchronous.
Given that every application would need to include such code, is it in scope to provide this in an official library along with implementations that use IMemoryCache/IDistributedCache?
There's also the next step of constructing a ConfidentialClientApplication to acquire a token but this might be a bit more open to interpretation

Closing because we have no plans to implement this but if anyone comes up with a good solution to this, please let us know.


Need to visually show selected square when square is unclaimed

Currently, the square border with inverted colour only works for claimed squares. This is likely because the code only checks the colour and inverts it from the array of owned squares.
This will be a larger issue with the updates to the contract

Users will be able to claim any square and should be shown which square they have selected
Users may forfeit ownership of a square

Proposed solution:

Use jQuery for unowned squares
Will likely only return an RGB value and thus need to add an RGB to Hex function in utils as well

Will mark this as closed although issues with inverting colours of unclaimed squares remain


suite: don't try to check ceph packages against kernel flavor

The whole kernel_flavor check in schedule_suite() is completely wrong.
ceph packages and kernel packages are built on different gitbuilders
and so a set of ceph flavors is distinct from a set a kernel flavors
(they happen to intersect because both have a 'basic' flavor but that's
it).  Querying ceph gitbuilders with kernel flavor (which is what it
currently does - has_packages_for_distro() talks to ceph gitbuilders)
is useless and only worked because the only kernel we currently care
about and use in qa is 'basic' kernel.  Remove the for i in set(...)
construct and only check install task (i.e. ceph) flavor.
Also, crucially, do not make an empty dict a kernel task config in
!kernel_hash (i.e. "do not install any kernel") case.  This makes
kernel task install a default version of the kernel (branch master) on
all remotes.
Both of the above are partial reverts of commit 9968c366b17f ("Also
check install task's flavor when scheduling").
Signed-off-by: Ilya Dryomov<EMAIL_ADDRESS>

Refer to this link for build results (access rights to CI server needed):
http://jenkins.ceph.com//job/teuthology-pull-requests/1525/
Tests passed for this pull request.


Notification can find payments when there is no reference

For Trustly, for whatever reason, Adyen doesn't provide a psp reference in the redirect, so the original payment created in the redirect has a nil response_code. This means when the notification comes in it doesn't link with the payment and creates another payment, so each Trustly order has a 'pending' payment and a 'complete' payment.
This PR adds in functionality so that if a payment isn't found for a notification it looks for the last Adyen payment without a response code, and uses that instead.
I'd like something better than what I've got for the where clause in that query, but I've been away from this for a month and a bit so I'm a bit slow to think of something better.

Maybe it would be better if we only create the payment from the authorization notification, and never from redirect. I guess that would mean we would have to redirect to a generic "Thank you" page. Honestly I don't really feel comfortable merging something that adds non-deterministic behaviour to something as critical and payments.

Perhaps making a 'pending' payment on redirect, if that's first, but the notification always makes a successful payment and 'merges in' (which in reality will just remove?) the pending payment if there is one? I'm not sure we'd be happy enough with not sending the user to the proper order complete page on redirect, and we're already assuming a 'pending' or 'success' message from the redirect is counted as a completed order.

There are definitely compromises for any solution that we try to attempt here. I'm going to mull this over for the day.
I take it that you guys have had this in production for a while and have been seeing success?

This change isn't in our production env yet, I made it as part of getting Trustly online for us. If you would be happier with us running this for a while to see if anything unexpected comes up that may be possible.

I can't think of a better way to handle this.
It should be fine because we are still using the merchant reference to at the very least make sure it's the right order.


ubutu 20.4 e5-2698  err

Multi-threaded pipelined Chia k32 plotter - 78ee372
Final Directory: /mnt/a/
Number of Plots: 1
Crafting plot 1 out of 1
Process ID: 132235
Number of Threads: 16
Number of Buckets P1:    2^9 (512)
Number of Buckets P3+P4: 2^9 (512)
Pool Public Key:   a4e6884a8714afee0eee40f124ad2b98003446e2d646c56f7d7c48ef54385d96d0f76478b43f9bf7550c6b7105632b5b
Farmer Public Key: aecc3d3ef7626bcec537c3ba0e79b7b6d6fc30d2ea0fc6108084c955a4f1835dcc5b16b56c8ab808798eab2c13d45178
Working Directory:   /mnt/tmp1/
Working Directory 2: /mnt/ram/
Plot Name: plot-k32-2021-06-24-16-15-d1f6702d078df6624165eadb4f923a58975edd77e51e6c5a2e5f315c7a5a4e24
[P1] Table 1 took 17.2663 sec
[P1] Table 2 took 122.253 sec, found<PHONE_NUMBER> matches
[P1] Table 3 took 132.184 sec, found<PHONE_NUMBER> matches
[P1] Table 4 took 216.219 sec, found<PHONE_NUMBER> matches
[P1] Table 5 took 179.827 sec, found<PHONE_NUMBER> matches
[P1] Table 6 took 173.047 sec, found<PHONE_NUMBER> matches
[P1] Table 7 took 116.641 sec, found<PHONE_NUMBER> matches
Phase 1 took 957.469 sec
[P2] max_table_size =<PHONE_NUMBER>
[P2] Table 7 scan took 10.8949 sec
[P2] Table 7 rewrite took 32.8274 sec, dropped 0 entries (0 %)
terminate called after throwing an instance of 'std::runtime_error'
what():  fopen() failed

Yes I have started to get similar errors - all of sudden a couple of days ago - it will do a few plot a and the something like this happens. MI have had various similar errors - the last one is this:
Phase 2 took 959.948 sec
Wrote plot header with 268 bytes
[P3-1] Table 2 took 76.3001 sec, wrote<PHONE_NUMBER> right entries
terminate called after throwing an instance of 'std::runtime_error'
what():  thread failed with: thread failed with: small_delta >= 256<PHONE_NUMBER>6)
Aborted (core dumped)

I am on up to date Ubuntu 21.04

Yes I have started to get similar errors - all of sudden a couple of days ago - it will do a few plot a and the something like this happens. MI have had various similar errors - the last one is this:
Phase 2 took 959.948 sec
Wrote plot header with 268 bytes
[P3-1] Table 2 took 76.3001 sec, wrote<PHONE_NUMBER> right entries
terminate called after throwing an instance of 'std::runtime_error'
what(): thread failed with: thread failed with: small_delta >= 256<PHONE_NUMBER>6)
Aborted (core dumped)

IMHO, this one is pretty different.
I would suggest you to run RAM test.

terminate called after throwing an instance of 'std::runtime_error'
what(): fopen() failed

Please, try to increase opened files limit.

My issue seems fine now

So what solved this issue ?


Validation of github handle

Currently random github handles are accepted. We only need to allow valid handles

There is already check in place for validating the Git Handle through APIS.
If it is valid git handle then only we will allow them to submit the
request.
There is a minor change now where we validate the git handle only on lost
focus of the control rather then on every key press in the respective text
box.
On Mon, May 20, 2019 at 10:27 PM raamb<EMAIL_ADDRESS>wrote:

Assigned #48 https://github.com/singnet/snet-rfai-dapp/issues/48 to
@ksridharbabuus https://github.com/ksridharbabuus.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/singnet/snet-rfai-dapp/issues/48?email_source=notifications&email_token=ABYVNXD7VVRPK3SR6N37Y5TPWOB2PA5CNFSM4HOHPGU2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGORRPB5FY#event-2354978455,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABYVNXDKMIPMEHDOJUTQSS3PWOB2PANCNFSM4HOHPGUQ
.

--
Thanks,
Sri
Blog: http://sridharbabuk.blogspot.com/


Crashing every time i click "Create your own"

Browser Type/Version: Google chrome Version 51.0.2704.103 m
Operating System: Windows 10
Issue Description: I accidentally put too many >>>> next to each other while messing around and now when i click "Create your own" button it crashes the tab. Any way i can fix this?
  Here's the fix:

go to the homepage. right click anywhere and go to 'inspect element'
Click on the tab 'resources'
Expand 'Local Storage' and click 'homebrewery.naturalcrit.com'
Right click on 'homebrewery-new' and delete it

Reload the page and you should be fine.

Ah, i couldn't seem to fix it by going into the resources and deleting the homebrewery-new , but i did fix it by clearing my cookies and cache. but it did get rid of my Recently Viewed/Edited so watch out if anyone sees this.


Buffer retry blocks valid records after exception

fluentd or td-agent version. - gem 'fluentd' version '1.1.3'
Environment information, e.g. OS. - Docker
Your configuration

<match *.logs.**>
  @type copy_ex
  <store ignore_error>
    @type forest
    subtype elasticsearch
   <template>
      hosts abc
      user admin
      password admin
      reload_on_failure true
      request_timeout 15s
      reload_connections true
      reconnect_on_error true
      index_name xx-${tag_parts[0]}-current
      template_name xx-${tag_parts[0]}
      template_file /etc/td-agent/alias_template.json
      index_prefix logstash
      type_name test
      # Use the beacon-generated UUID rather than a newly generated one by ES
      id_key UUID
      #remove_keys UUID # no need to have the field also as a separate attribute
      write_operation create # If id already exists, skip the record
      include_tag_key true
      @log_level debug
      num_threads 1
      <buffer>
        @type file
        path /var/log/td-agent/bufferv5/${tag_parts[0]}.data
        flush_interval 5s
        chunk_limit_size 6m
        queued_chunks_limit_size 4096
      </buffer>
    </template>
  </store>
</match>

Your problem explanation. If you have an error logs, write it together.
I am using the Elasticsearch plugin to send data from the Fluentd. In case of exception for a particular record(like mapper exception), the chunk is retained for the retry. Because of the retry the buffer size keeps on increasing and the next chunk of data is also not processed.

Is it possible to clear only the failing chunk after x retry_limit?

If what you said "because of the retry, the buffer size keeps on increasing" is true, then I think it's a bug as well.  The only reason for the increase of buffer size should be coming from performance bottleneck instead of whatever error handling, i.e. retrying.  In other words, buffer size should only increase when the input rate is bigger than the output rate.

@kumaravel29 , I ran into the same issue recently. Have you resolved this issue or have any workaround?

@ahrtr In case of an exception from elasticsearch, the plugin was retrying the buffer. So I just modified that part code to log the exception and not retry(exception out_of_memory_error and es_rejected_execution_exception will have the retry mechanism).
I think we should have a check on which type of exception/error from elasticsearch can be ignored, because in my case the mapping exception could be successful even after n number of retries but that blocked the flow.

@kumaravel29  Thanks for the feedback.
I am not familiar with fluentd's source code. But I have a feeling that this is a bug related to the work flow instead of "which type of exception/error from elasticsearch can be ignored". The key point is that fluentd shouldn't block sending other normal chunks in whatever progress of retrying.

I think this should be a major bug, and deserve more attention.

I opened new issue on Elasticsearch plugin repository: https://github.com/uken/fluent-plugin-elasticsearch/issues/432

@kumaravel29 Could you try fluent-plugin-elasticsearch v2.10.4 or later?

seems to be fluent-plugin-elasticsearch's issue. And fixed it.


Mocked system class is not invoked when it's casted into another (non-final) type

From<EMAIL_ADDRESS>on June 10, 2013 01:47:34
What steps will reproduce the problem? 1. Mock a final system class such as StringBuilder
2. Cast that instance into a CharSequence
3. Call method and expect the mocked call to be invoked. What is the expected output? What do you see instead? The expected output is whatever the StringBuilder was mocked to do. Instead the non-mocked instance is used so mocked invocations aren't performed. What version of the product are you using? On what operating system? Powermock 1.5, Mac OS X 10.7.5 Please provide any additional information below. See the attached patch for test case and fix.
Original issue: http://code.google.com/p/powermock/issues/detail?id=445

From<EMAIL_ADDRESS>on June 09, 2013 16:57:53
This issue is related to https://code.google.com/p/powermock/issues/detail?id=135 .

From<EMAIL_ADDRESS>on June 09, 2013 22:25:27
Unfortunately I also get test errors :/ All tests in "samples.testng.SystemClassUserTest" fails, otherwise everything else seems to be working. Could you take a look at that?
Status: Accepted

From<EMAIL_ADDRESS>on June 09, 2013 23:18:53
Damn. If you add
@ObjectFactory
public IObjectFactory objectFactory()
{
	return new PowerMockObjectFactory();
}

to it. It works.

From<EMAIL_ADDRESS>on June 09, 2013 23:44:06
Hm but why is that? It has already been declared in the suite.xml file so it shouldn't be necessary  to add an object factory for this class?

From<EMAIL_ADDRESS>on June 10, 2013 00:26:04
I wondered that myself. I'll look at it tonight. I don't think having the @ObjectFactory in each class is allowed. Why do you have a suite.xml by the way? I usually find those cumbersome to use within an IDE.

From<EMAIL_ADDRESS>on June 10, 2013 00:44:12
Thanks! I agree but the reason is that it should work with both suite.xml and object factory since they are both supported by TestNG.

From<EMAIL_ADDRESS>on June 10, 2013 14:58:55
I saw that SampleServletTest also has a @ObjectFactory method, probably to be able to run the tests without having to run the whole suite. Wouldn't it be simpler if all the testcases just extended PowerMockTestCase and that the suite.xml was removed?
Did you run the tests through suite.xml or by hand? When I run the test by itself it doesn't use the suite.xml file and thus the errors occurs. IMO it should always be possible to run a unit-test without running the whole suite.
Btw, I see the same error without my changes.

From<EMAIL_ADDRESS>on June 10, 2013 23:35:49
I run it from Maven but even though I try to add the objectFactory I can't get it to work with your patch :/
I run it like this: JAVA_HOME="/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home" mvn clean install -Dmaven.javadoc.skip=true -o
When I run it without your patch it works.

From<EMAIL_ADDRESS>on June 11, 2013 09:20:17
Powermock have some differences in testng versions:
modules/module-test/easymock/testng-test/pom.xml : 6.0.1
modules/module-impl/testng/pom.xml : 6.8
By changing 6.0.1 to 6.8 I'm now down to one test error in modules/module-test/easymock/testng-test.

From<EMAIL_ADDRESS>on June 11, 2013 09:28:52
By changing @PrepareForTest to @PrepareForTest(SampleServlet.class) in SampleServletTest the last error was resolved as well.

From<EMAIL_ADDRESS>on June 11, 2013 23:07:57
I've tried this as well but it still doesn't build from Maven. From Intellij I can get it working when I run the tests one by one :/

From<EMAIL_ADDRESS>on June 11, 2013 23:13:08
What errors are you getting?

From<EMAIL_ADDRESS>on June 12, 2013 07:03:30
Here's the Maven details:
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building powermock-module-test-easymock-testng 1.5.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ powermock-module-test-easymock-testng ---
[INFO] Deleting /Users/johan/devtools/java/projects/powermock/code/svn/trunk/modules/module-test/easymock/testng-test/target
[INFO]
[INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-maven) @ powermock-module-test-easymock-testng ---
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ powermock-module-test-easymock-testng ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/johan/devtools/java/projects/powermock/code/svn/trunk/modules/module-test/easymock/testng-test/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ powermock-module-test-easymock-testng ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ powermock-module-test-easymock-testng ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/johan/devtools/java/projects/powermock/code/svn/trunk/modules/module-test/easymock/testng-test/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ powermock-module-test-easymock-testng ---
[INFO] Compiling 11 source files to /Users/johan/devtools/java/projects/powermock/code/svn/trunk/modules/module-test/easymock/testng-test/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.10:test (default-test) @ powermock-module-test-easymock-testng ---
[INFO] Surefire report directory: /Users/johan/devtools/java/projects/powermock/code/svn/trunk/modules/module-test/easymock/testng-test/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
Running TestSuite
Tests run: 22, Failures: 12, Errors: 0, Skipped: 0, Time elapsed: 1.263 sec <<< FAILURE!
Results :
Failed tests:   doGet(samples.testng.SampleServletTest):
assertThatMockingOfCollectionsWork(samples.testng.SystemClassUserTest):
assertThatMockingOfFinalSystemClassesWorks(samples.testng.SystemClassUserTest):
assertThatMockingOfNonFinalSystemClassesWorks(samples.testng.SystemClassUserTest):
assertThatMockingOfTheRuntimeSystemClassWorks(samples.testng.SystemClassUserTest):
assertThatMockingStringWorks(samples.testng.SystemClassUserTest):
assertThatPartialMockingOfFinalSystemClassesWorks(samples.testng.SystemClassUserTest):
assertThatPartialMockingOfFinalSystemClassesWorksForNonVoidMethods(samples.testng.SystemClassUserTest):
mockingInetAddressWorks(samples.testng.SystemClassUserTest):
mockingInstanceMethodOfFinalSystemClassWorks(samples.testng.SystemClassUserTest):
mockingStaticVoidMethodWorks(samples.testng.SystemClassUserTest):
mockingURLWorks(samples.testng.SystemClassUserTest): expected same with:< EasyMock for class java.net.URLConnection> but was:
Tests run: 22, Failures: 12, Errors: 0, Skipped: 0

From<EMAIL_ADDRESS>on June 12, 2013 10:31:05
Did you add @PrepareForTest(SampleServlet.class) to samples.testng.SampleServletTest in modules/module-test/easymock/testng-test? Because that is the exact same error I got before I added the SampleServlet.class to the annotation. This may break backward-compatibility.
It seems like the first error (doGet(samples.testng.SampleServletTest)) leaves some invalid state in the PowerMockObjectFactory as when running the tests through surefire the SampleServletTest is executed before SystemClassUserTest. In eclipse when I run the suite.xml, SystemClassUserTest is executed before SampleServletTest and thus only one error is displayed instead of 12 that surefire reports.
Could it be that if a test-class fails (SampleServletTest) it leaves the PowerMockObjectFactory in a state where it no longer can mock System classes? I'll have to look a bit deeper.

From<EMAIL_ADDRESS>on June 12, 2013 15:38:25
The reason for getting 12 errors was that PowerMockTestNGMethodHandler only runs:
if(thisMethod.isAnnotationPresent(Test.class))
{
clearMockFields();
MockRepository.clear();
}
if the test case doesn't throw anything. Moving this block into a finally block now results in one error which is fixed by changing @PrepareForTest to @PrepareForTest(SampleServlet.class) in SampleServletTest.

From<EMAIL_ADDRESS>on June 12, 2013 15:44:52
While going on the powermock code safari I discovered that EasyMockStateCleaner chooses which classloader that has a LastControl loaded, why doesn't it try to clear both classloaders? I.e something like this:
private Iterable classloadersToClear()
{
List loaders = new ArrayList();
final ClassLoader systemClassLoader = ClassLoader.getSystemClassLoader();
final ClassLoader contextClassLoader = Thread.currentThread().getContextClassLoader();
if(classFoundInClassloader(LastControl.class, systemClassLoader))
{
loaders.add(systemClassLoader);
}
if(classFoundInClassloader(LastControl.class, contextClassLoader))
{
loaders.add(contextClassLoader);
}
return loaders;
}
Is it intentional or a miss?

From<EMAIL_ADDRESS>on June 12, 2013 22:43:06
Wow thanks a lot for digging into the code that much! I think not "cleaning" all classloaders is a misstake. You've already helped out a great deal but would you be so kind to provide an updated patch will all your findings and fixes?

From<EMAIL_ADDRESS>on June 13, 2013 00:21:43
Coming right up. I'll write a test case for the PowerMockTestNGMethodHandler fix as well and attach it to a separate issue.

From<EMAIL_ADDRESS>on June 13, 2013 00:27:18
Added SampleServlet.class to the annotation.
Attachment: issue445.patch

From<EMAIL_ADDRESS>on June 13, 2013 01:07:35
Attached the state cleaning to https://code.google.com/p/powermock/issues/detail?id=54 .

From<EMAIL_ADDRESS>on June 13, 2013 23:08:53
Thanks a lot for your help!!! I've applied the patches and committed them to trunk.
Status: Fixed

From<EMAIL_ADDRESS>on June 14, 2013 00:09:06
Cool. I'm looking forward to the release!


Fix the workflow publishes quickstart manifests

What this PR does / why we need it:

Add pull-requests write permission to the job
ref; https://github.com/peter-evans/create-pull-request?tab=readme-ov-file#token
Set the base branch of PR
ref; https://github.com/pipe-cd/pipecd/actions/runs/11229319582/job/31214779847#step:6:52

Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

How are users affected by this change:
Is this breaking change:
How to migrate (if breaking change):

I found a better solution. I'll change the actions/checkout arguments, not the create-pull-request arguments.


Disabled Identity test produce Sql exception

There was a regression at some point where some identity tests started throwing:
To reproduce this, reenable these tests:
https://github.com/aspnet/Identity/blob/dev/test/Shared/UserManagerTestBase.cs#L397
  ---------------- System.Data.SqlClient.SqlException : Incorrect syntax near '<'.
  Must declare the scalar variable "@__CS$".
  Stack Trace:
        at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
        at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
        at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
     C:\Github\Identity\src\Microsoft.AspNet.Identity.EntityFramework\UserStore.cs(489,0): at Microsoft.AspNet.Identity.EntityFramework.UserStore`4.<RemoveClaimsAsync>d__49.MoveNext()
     --- End of stack trace from previous location where exception was thrown ---
        at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
        at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
        at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
     C:\Github\Identity\src\Microsoft.AspNet.Identity\UserManager.cs(977,0): at Microsoft.AspNet.Identity.UserManager`1.<RemoveClaimsAsync>d__102.MoveNext()

I got the same problem. I believe this is related to "Remotion.Linq" "2.0.0-alpha-002"

@HaoK do you have a stripped down repro we can use to debug against the EF code base?

No sorry, these were uncovered by CI, some EF changes caused this regression, but the identity tests were just skipped since greater powers wanted a build out...

/CC @divega  Do we want to do this in Beta4?

@rustd I talked to @maumar and he will be looking at this now.

culprit is the following query:
N'SELECT [uc].[ClaimType], [uc].[ClaimValue], [uc].[Id], [uc].[UserId]
FROM [AspNetUserClaims] AS [uc]
WHERE ([uc].[UserId] = @__CS$<>8__locals1_user_Id_0) AND ([uc].[ClaimValue] = @__claim_Value_1) AND ([uc].[ClaimType] = @__claim_Type_2)

Problem is that the parameter name we generate for one of the test queries is incorrect - "@__CS$<>8__locals1_user_Id_0". The way we construct those names is by taking FieldInfo and PropertyInfo names from the MemberExpression, and use their Name property. However for this test, the name comes out wacky like this. Code in question is as follows:
        public async virtual Task RemoveClaimsAsync(TUser user, IEnumerable<Claim> claims, CancellationToken cancellationToken = default(CancellationToken))
        {
//(...)
            foreach (var claim in claims)
            {
                var matchedClaims = await UserClaims.Where(uc => uc.UserId.Equals(userId) && uc.ClaimValue == claim.Value && uc.ClaimType == claim.Type).ToListAsync(cancellationToken);
//(..)
            }
        }

Possible workaround could be to pass the user.Id closure to a local variable and pass this instead.
This might also be a CLR bug - not sure if those FieldInfo/PropertyInfo names should ever come out like this.
Alternatively we could compensate in EF by removing the invalid characters and uniquefying  those invalid parameters names.

@maumar can you please @HaoK when you fix this so he can fix https://github.com/aspnet/Identity/issues/363

@maumar thanks for looking. This is very likely a standard compiler generated name for the particular scenario in those Identity methods, in which case EF (or the SQL Server provider for EF) should handle it. Assuming the scenario is not that common we can punt this bug for post Beta4 I believe. Can you send a PR with the workaround on Identity?

update: the workaround doesn't work - will try to repro this outside Identity tests and fix in EF

Fix to EF has been checked in - 945bbe111f59cca7323bd44508383b173dd5609b

@HaoK

Query fix has been pushed in

Tests are renabled now and passing


Allow IP-based Communication

This PR enables IP-based connection in addition to connecting based on registered FQDNs. It also corrects a bug which was leading to the use of incorrect default plan .yaml files.

Can one of the admins verify this patch?

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

Jenkins, please retry a build

Jenkins, please retry a build

ok to test

@TortoiseHam thanks for the contribution! We will review your PR. Could you please fix flake8 issues found by our CI ?

Jenkins please retry a build

Jenkins please retry a build

@TortoiseHam Thanks for the contribution!:)


Type 'abap_bool' not found in scope, NewObject

(y is type ref to data). NEW should recognize the builtin type just as it is recognized by the type declaration.

try again, 2.38.17


Board Review: Introducing Spring Cloud Azure 4.0

Thank you for starting the process for approval of the client library for your Azure service.  Thorough review of your client library ensures that your APIs are consistent with the guidelines and the consumers of your client library have a consistently good experience when using Azure.
The Architecture Board reviews Track 2 libraries only. If your library does not meet this requirement, please reach out to Architecture Board before creating the issue.
Please reference our review process guidelines to understand what is being asked for in the issue template.
Before submitting, ensure you adjust the title of the issue appropriately.
Note that the required material must be included before a meeting can be scheduled.
Contacts and Timeline

Main contacts:

Strong Liu (@stliu, Spring Cloud Azure team lead)
Sean Li (@seanli1988, Spring Cloud Azure PM)
Xiaolu Dai (@saragluna)

Expected GA date for this library:

mid-March, 2022

About the Service
Spring is the most popular application development framework for enterprise Java. There are many Spring projects in the Spring ecosystem to take care of the different needs in application development. The Spring Cloud Azure team is working on the integration between Azure and Spring. We provide Azure support for different Spring projects, such as Spring Boot, Spring Data, Spring Integration, Spring Security, and Spring Cloud Stream.

Link to documentation introducing/describing the service:

https://spring.io/
https://docs.microsoft.com/en-us/azure/developer/java/spring-framework/

Link to the service REST APIs:
N/A
Is the goal to release a Public Preview, Private Preview, or GA?
The Spring Cloud Azure libraries exist for years, and this time we are going to GA a major version, the Spring Cloud Azure 4.0, which is a refactored new version.

About the client library

Name of client library:
Spring Cloud Azure is our project name. And we will ship ~40 artifacts this time:

spring-cloud-azure-core
spring-cloud-azure-service
spring-cloud-azure-resourcemanger
spring-cloud-azure-trace-sleuth
spring-messaging-azure
spring-messaging-azure-eventhubs
spring-messaging-azure-servicebus
spring-messaging-azure-storage-queue
spring-integration-azure-core
spring-integration-azure-eventhubs
spring-integration-azure-servicebus
spring-integration-azure-storage-queue
spring-cloud-azure-stream-binder-eventhubs
spring-cloud-azure-stream-binder-eventhubs-core
spring-cloud-azure-stream-binder-serviceubs
spring-cloud-azure-stream-binder-serviceubs-core
spring-cloud-azure-autoconfigure
spring-cloud-azure-actuator
spring-cloud-azure-actuator-autoconfigure
spring-cloud-azure-starter
spring-cloud-azure-starter-activedirectory
spring-cloud-azure-starter-activedirectory-b2c
spring-cloud-azure-starter-actuator
spring-cloud-azure-starter-appconfiguration
spring-cloud-azure-starter-cosmos
spring-cloud-azure-starter-data-cosmos
spring-cloud-azure-starter-eventhubs
spring-cloud-azure-starter-keyvault-secrets
spring-cloud-azure-starter-servicebus
spring-cloud-azure-starter-servicebus-jms
spring-cloud-azure-starter-storage-blob
spring-cloud-azure-starter-storage-file-share
spring-cloud-azure-starter-storage-queue
spring-cloud-azure-starter-integration-eventhubs
spring-cloud-azure-starter-integration-servicebus
spring-cloud-azure-starter-integration-storage-queue
spring-cloud-azure-starter-stream-eventhubs
spring-cloud-azure-starter-stream-servicebus

Link to library reference documentation:
https://microsoft.github.io/spring-cloud-azure/4.0.0-beta.3/4.0.0-beta.3/reference/html/index.html
Is there an existing SDK library? If yes, provide link:
Yes, we have shipped these libraries before, but the artifact names are changed in this version.
https://repo1.maven.org/maven2/com/azure/spring/

Step 1: Champion Scenarios
Ultimately the library should be easy to use for common scenarios that developers want. Consider the following questions when thinking about champion scenarios:

What is the app the developer is building that uses your client library?
Typically a Spring or Spring Boot application.
Who is the end-user of the application (the developer's customer)?
The developer's customer.
What features of the API need to be explained in the sample so that someone could use this API in real app?
Will explain in the champion scenarios.
How does the authentication workflow look?
Build on top of azure sdks and azure-identity.

See Champion Scenario section here.
Code is appreciated but optional. Pseudocode is fine.

Use the auto-configuration provided by Spring Boot: https://gist.github.com/saragluna/7e1754a7d17d0820f223ddba8621e2c7.
Use Resource Handling abstractions provided by Spring Framework: https://gist.github.com/backwind1233/0f5a5e11ed9856db141f4cdc1c285971.
Use Enterprise Integration Patterns (EIP) supported by Spring Integration: https://gist.github.com/yiliuTo/352b071a717fd90c984bcf03ec5d0fb9.

Step 2: Quickstart Samples (Optional)
Include samples demonstrating how to consume the client library if available:
We have a sample repo hosting all our sample projects: https://github.com/Azure-Samples/azure-spring-boot-samples/tree/spring-cloud-azure_4.0.0-beta.3
Thank you for your submission!

scheduled for 1/19 4-6pm pst

Recording[MS INTERNAL ONLY]


idea: try karo background for main page

as a reference to mathematics

rejected, not part of the current plan


Add travis-support

looks like we should not disable ipv6 for travis test

We have to merge https://github.com/hardening-io/ansible-os-hardening/pull/16 first, then travis should work.

Build is still failing, this time because of insufficent permissions:
error: permission denied on key 'net.ipv4.tcp_timestamps'

My plan is to add to the failing task(s) a tag (e.g. travis_skip) and then skip this tag when travis runs:
- ansible-playbook --sudo -v --diff spec/travis.yml -e os_network_ipv6_enable=true --skip-tags=travis_skip

cant we write all options into travis.yml. then everything would be in one place. otherwise we mix the implementation with specific edge cases

To skip single tasks you have to specify tags and then use the skip-tags-option.
Now we could give each of the included task-files a tag and skip the sysctl-tasks:
In tasks/main.yml
``

include: suid_sgid.yml
include: sysctl.yml tags=sysctl
In `.travis.yml`:script:

ansible-playbook --syntax-check spec/travis.yml
ansible-playbook --sudo -v --diff spec/travis.yml -e os_network_ipv6_enable=true --skip-tags=sysctl
``

Or we could use conditionals on all problematic tasks and evaluate them to false just like here:
``

ansible-playbook --sudo -v --diff spec/travis.yml -e os_network_ipv6_enable=true
``
But then we could not use https://github.com/hardening-io/ansible-os-hardening/pull/20.

@rndmh3ro Thanks for pointing this out. I definitely like #20. Instead of skipping complete tasks, we could also overwrite the parameter values and switch back to os defaults for travis playbook for required parameters: https://docs.ansible.com/playbooks_variables.html#variables-defined-in-a-playbook
What do you think?

I cannot get it to work. Even though when a sysctl-variable doesn't get changed, traivis throws errors at me.
How do the puppet and chef implementations pass? They should also be getting a permission denied and fail, if I'm correct.

we do not use travis vms for applying hardening, instead we opt in for a separate jenkins setup

Then, I'd say we exclude the sysctl-tasks from travis. I can confirm that it works locally. Nonetheless all other tasks should work with travis!

amazing. let's do this

I think this is ready for merging now, @chris-rock. Would be great if you could do it.

amazing work @rndmh3ro

I rebased the branch on master. If this goes through, I'll merge.

@rndmh3ro Could you have a look, what is going wrong?

Thank you very much. As I said, amazing work!


Do not convert to ascii when saving schema to file

When writing Schema with non ascii character, default is to convert unicode to ascii.
This code
from tableschema import Schema
Schema({'fields':[{'name': 'café'}]}).save('coffee.json')

produces a file containing

{
"fields": [
{
"name": "caf\u00e9",
…

This PR adds ensure_ascii option to .save function (option directly passed to json.dump).
Now this code
from tableschema import Schema
Schema({'fields':[{'name': 'café'}]}).save('coffee.json', ensure_ascii=False)

produces a file containing

{
"fields": [
{
"name": "café",
…

@pajachiet
Thanks! Sorry for the very slow reply.
What do you think if we set ensure_ascii to False by default?

I thought about doing that.
But

there is a reason this is not the default for json.dump
this would change the current behavior

Ok, cool. Thanks


When top and el are specified in scrollBehavior, the offset scrolls in different directions.

Reproduction
https://jsfiddle.net/yoshipy/dhnvscf9/11/
Steps to reproduce the bug
Check the position of Hello
Expected behavior
It should scroll 10px above the element #hello because the code is
scrollBehavior() {
    return {
      top: -10,
      el: '#hello'
    }
  }

Actual behavior
It scrolls 10px below the element #hello.
Additional information
No response

when only top is specified only positives values make sense, when an element is specified, it becomes a relative position, so the meaning is a bit different. It can seen as an offset of space in pixels needed between the top of the window and the element itself


Add CLI args for specifying more attrs of invite

More command line arguments for specifying role, label, multiuse, and public attributes of the invite generated at startup. Helpful for debugging.

Codecov Report

Merging #192 into master will decrease coverage by <.01%.
The diff coverage is 61.53%.

@@            Coverage Diff            @@
##           master    #192      +/-   ##
=========================================
- Coverage   71.61%   71.6%   -0.01%
=========================================
  Files         218     218
  Lines        9931    9943      +12
=========================================
+ Hits         7112    7120       +8
- Misses       2819    2823       +4