UserWarning: Shared memory size is too small. Please set shared_mem option for MultiprocessIterator.

Expect shared memory size: 131072 bytes. Actual shared memory size: 98304 bytes.   UserWarning)
I use p100，16G memory！
the error information is follow.
Exception in main training loop: Unsupported dtype object
Traceback (most recent call last):
File "/home/user012/anaconda3/envs/GAN_znb/lib/python3.6/site-packages/chainer/training/trainer.py", line 299, in run
update()
File "/home/user012/anaconda3/envs/GAN_znb/lib/python3.6/site-packages/chainer/training/updater.py", line 223, in update
self.update_core()
File "/home/user012/GAN_poster/sngan_projection/updater.py", line 94, in update_core
x_real, y_real = self.get_batch(xp)
File "/home/user012/GAN_poster/sngan_projection/updater.py", line 73, in get_batch
print(type(xp.asarray(x)))
File "/home/user012/anaconda3/envs/GAN_znb/lib/python3.6/site-packages/cupy/creation/from_data.py", line 61, in asarray
return core.array(a, dtype, False)
File "cupy/core/core.pyx", line 2017, in cupy.core.core.array
File "cupy/core/core.pyx", line 2048, in cupy.core.core.array
Will finalize trainer extensions and updater before reraising the exception.
Traceback (most recent call last):
File "train.py", line 136, in
main()
File "train.py", line 132, in main
trainer.run()
File "/home/user012/anaconda3/envs/GAN_znb/lib/python3.6/site-packages/chainer/training/trainer.py", line 313, in run
six.reraise(*sys.exc_info())
File "/home/user012/anaconda3/envs/GAN_znb/lib/python3.6/site-packages/six.py", line 693, in reraise
raise value
File "/home/user012/anaconda3/envs/GAN_znb/lib/python3.6/site-packages/chainer/training/trainer.py", line 299, in run
update()
File "/home/user012/anaconda3/envs/GAN_znb/lib/python3.6/site-packages/chainer/training/updater.py", line 223, in update
self.update_core()
File "/home/user012/GAN_poster/sngan_projection/updater.py", line 94, in update_core
x_real, y_real = self.get_batch(xp)
File "/home/user012/GAN_poster/sngan_projection/updater.py", line 73, in get_batch
print(type(xp.asarray(x)))
File "/home/user012/anaconda3/envs/GAN_znb/lib/python3.6/site-packages/cupy/creation/from_data.py", line 61, in asarray
return core.array(a, dtype, False)
File "cupy/core/core.pyx", line 2017, in cupy.core.core.array
File "cupy/core/core.pyx", line 2048, in cupy.core.core.array
ValueError: Unsupported dtype object
what should i do, i have no idea to solve it!

I get the same question and do not konw how to solve it. Could you give me some advices?


Refactor and Rename

This PR:

Updates some dependencies
Renames the majority of our files (i.e. src/commands/subgroups/mod/cmd.mod.logs.ts => src/commands/mod/logs.ts)
Refactors some code regarding builders (all components are now using our Responsive... classes)

I believe this is all I will change/add for this PR


Appstudio update test-component-pac-qvyv

Pipelines as Code configuration proposal

Pipelines as Code CI/test-component-pac-qvyv-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
46 seconds
init

✅ Succeeded
48 seconds
clone-repository

✅ Succeeded
1 minute
build-container

✅ Succeeded
34 seconds
inspect-image

✅ Succeeded
31 seconds
deprecated-base-image-check

✅ Succeeded
2 minutes
clamav-scan

✅ Succeeded
2 minutes
clair-scan

✅ Succeeded
38 seconds
sbom-json-check

✅ Succeeded
16 seconds
label-check

✅ Succeeded
15 seconds
optional-label-check

✅ Succeeded
10 seconds
show-sbom

✅ Succeeded
8 seconds
show-summary


Storage test

Jira link (if applicable)
Related to https://tools.hmcts.net/jira/browse/RST-6728

resolved


How to make multiple marker

can you show some simple example for multiple marker in this package?
thankyou

Do you mean marker clusters? That feature isn't available yet.

If you're not talking about marker clusters, then just do a v-for to an array of markers


These address created by 0xD3Dcf55fF9a93E5A1A3E5947d6d5571324774336

18 Safe Address
0x6fe8d30fbc8ab1232551e98a823b9b9d64eff31c
0xb3677e8a220e07cb67969057dd7a576d01731ff5
0x29d51c09721c8197b1ed85626a3cf57672a9e819
0xa4d41bd00e4b2ae02b375d5701b472a1066fa810
0x0aa16e65c72590039a94f91ff4d9c31a7a19f4f4
0x4a067f37fad8d0c02d0f909ab2e4e4b320b72108
0x2c0a4ca30f818b5b65adc942f99f0060bac14c45
0xc0196522617feff3d6709af41677e51806003cd9
0x319e217a6e2cb21aae7c5fadb76f4b3148cbe347
0x2fd6442d163a52b06e7cbe18779da73ddb138388
0x5a026c2805482b1404e3013b685b3d8ec2471a06
0x705835c580d36302a56602b2c0fa3f696c2f642c
0xe38a6af80be2e87fc40d3b0a144739682d359e12
Code
with target as (
select *
from url('https://raw.githubusercontent.com/safe-global/safe-user-allocation-reports/main/safe_user_allocations_reworked.csv', CSVWithNames)
), transactions as (
select t1.*
from ethereum.transactions t1
join target t2
on t1.to_address = t2.safe_address
)
select distinct to_address
from transactions
where from_address = lower('0xD3Dcf55fF9a93E5A1A3E5947d6d5571324774336')
Hunter Address
0xD3Dcf55fF9a93E5A1A3E5947d6d5571324774336

I found some related onwer addresses after querying on etherscan and dune, but the overall data did not meet the airdrop hunter criteria, so I closed it


EqualsAndHashCode - Equals Fails When Only Using Super Class's fields

Description
EqualsAndHashCode does not implement equals correctly when calling super, and super's EqualsAndHashCode implementation is using the "of" parameter.
Example
@EqualsAndHashCode(of = {"id"})
@Getter
@AllArgsConstructor
public class Foo {
    private String id;
}

@EqualsAndHashCode(callSuper = true)
@Getter
@AllArgsConstructor
public class Bar extends Foo {
    private String otherParam;
}

public class MainApp {
    public static void main(String[] args) {
        Bar bar1 = new Bar("id", "otherParam1");
        Bar bar2 = new Bar("id", "otherParam2");
        bar1.equals(bar2); //should equal true, but returns false
    }
}

I would expect that bar1 should equal bar2 since they have the same id, and should be using the Foo's implementation of equals.

I think that the problem is that you also need to override canEqual to make it work.

@rspilker No, this should work out of the box as overriding canEqual is necessary for equaling different classes (like Point and ColoredPoint or CarthesianPoint and PolarPoint). And it actually does, the OP makes a false assuption.
@taylorKonigsmark You're assuming that callSuper=true just calls super and ignores all fields. That's not true, but you can get this behavior by adding of={}. IMHO everything works as designed, maybe the documentation could be improved, but it already says:

Call on the superclass's implementations of equals and hashCode before calculating for the fields in this class.

Right, this is what I did to resolve my issue while this bug was discussed. However, I get compiler warnings that the id does not exist for Bar because id is in Foo. Could there be an issue there of a false positive?

I'm going to close this out. If anything, this should be another ticket to enhance documentation or the feature itself. I would not qualify this as a bug after the discussion
Thanks!


Some tests will always pass if there is no test data set up

If data has not been set up, there will probably be a null reference exception as the test tries to access a null data set. There is the problem of not having enough data set up, which I'll leave for a separate issue.


CB2L Plafon Ledlumen 251090511 35 Plafon LED 36W 4052lm RGB+CCT WIFI TUYA SMART LIFE

Hello again, I have yet another firmare for you.
CB2L Plafon Ledlumen 251090511 35.zip
this device is problematic to flash by wires because I had to desolder CB2L from the board (covered uart pins).
Please check and add profile for other users, thanks!

Anyway, thank you, and stay tuned for the next device dump soon!


Failed loading Endpoint, Unable to connect to the  docker endpoint

Problem/Motivation
Failed loading Endpoint, Unable to connect to the  docker endpoint
Expected behavior
to work properly and show containbers, images, etc
Actual behavior
error messege and no joy
Steps to reproduce
I did this on a clean install of latest HA from USB SSD as well as from latest HA from MicroSD, nothing else installed.
HA first bott setup and installed portainer from the supervisor add-on store
Proposed changes
Honestly no idea!?! short of pulling out the youngling slayer 9000 and hoping for the best.

(If you have a proposed change, workaround or fix,
describe the rationale behind it)

I've seen the same issue. If I use the version prior to #126 it works correct.
# ha info
arch: aarch64
channel: stable
docker: 20.10.7
features:
- reboot
- shutdown
- services
- network
- hostname
- timedate
- agent
- haos
hassos: "6.3"
homeassistant: 2021.9.6
hostname: homeassistant
logging: info
machine: raspberrypi4-64
operating_system: Home Assistant OS 6.3
state: running
supervisor: 2021.09.0
supported: true
supported_arch:
- aarch64
- armv7
- armhf

Oddly enough once I removed the old version and tried 2.6.2 again it worked !


Automated cherry pick of #11569

Cherrypicking changes to build/mark-new-version from #11569 and #11124
Have removed other doc changes.

cc @lavalamp @brendandburns

cc @zmerlynn

This breaks mark-new-version. Please fix it, show me it's working, and compound cherry-pick the resulting set.
Pretty soon I'm just going to swap the Jenkins build over to ALWAYS run mark-new-version, because people seem to be breaking it every day now.

Breaks in what way?

Fixed the breakage in https://github.com/GoogleCloudPlatform/kubernetes/pull/11609

https://github.com/GoogleCloudPlatform/kubernetes/pull/11619 is another try at this including #11609


profile_ios_bundle_flutter_assets hangs indefinitely

I recently upgraded xcode to 13.3.1 which may be a cause since I was doing the same thing without problems before the upgrade.  It even worked a few times before it started hanging.
reproduction steps:
cd $FLUTTER/dev/benchmarks/microbenchmarks
flutter-ios-profile run --profile lib/foundation/standard_message_codec_bench.dart

observed
flutter run hangs during building
expected
flutter run doesn't hang
logs
Showing Recent Messages
♦ /Users/aaclarke/dev/flutter/bin/flutter --verbose --local-engine-src-path=/Users/aaclarke/dev/engine/src --local-engine=ios_profile assemble --no-version-check --output=/Users/aaclarke/Library/Developer/Xcode/DerivedData/Runner-ddzmbkdfqoqunpgzmrevkgsrrtpd/Build/Products/Profile-iphoneos/ -dTargetPlatform=ios -dTargetFile=/Users/aaclarke/dev/flutter/dev/benchmarks/microbenchmarks/lib/foundation/standard_message_codec_bench.dart -dBuildMode=profile -dIosArchs=arm64 -dSdkRoot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.4.sdk -dSplitDebugInfo= -dTreeShakeIcons=false -dTrackWidgetCreation=true -dDartObfuscation=false -dEnableBitcode= --ExtraGenSnapshotOptions= --DartDefines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ== --ExtraFrontEndOptions= -dCodesignIdentity=REDACTED profile_ios_bundle_flutter_assets

doctor
aaclarke-macbookpro2:flutter aaclarke$ flutter doctor -v
[✓] Flutter (Channel unknown, 2.13.0-0.0.pre.537, on macOS 12.3 21E230 darwin-x64, locale en-US)
    • Flutter version 2.13.0-0.0.pre.537 at /Users/aaclarke/dev/flutter
    • Upstream repository unknown
    • Framework revision fd5356ff60 (29 hours ago), 2022-04-13 12:09:11 -0700
    • Engine revision f6e7fd521c
    • Dart version 2.18.0 (build 2.18.0-18.0.dev)
    • DevTools version 2.12.2

cc @jmagman

flutter clean doesn't seem to flush out the bad state

Running without the local engine seems to work fine.  It's peculiar to running with a local engine.

I caused this somehow.  By adding a print statement to the dart source code it caused a hang, I guess on waiting for stdout?  Closing since it was my fault and not tooling fault.

Sounds like https://github.com/flutter/flutter/issues/69797

@cyanglaz I was using -v.  I wasn't paying attention to when I had it and when I didn't.  I wonder if there is some potential race condition for stdout that is more likely to happen if you are using -v and also printing to stdout in Flutter.


PEG files for peg and pony in examples fail to compile

> ./build/release/compiler examples/pony.peg peg/ast.pony
-- Syntax Error --

/home/grfork/playground/pony/aoc2023/day02/_corral/github_com_ponylang_peg/examples/pony.peg:35:5:1

35:     '=>' seq '}' cap?
        ^
        expected end-of-file

There is a syntax error that has prevented the parser from being able to
understand the source text.

> ./build/release/compiler examples/peg.peg examples/json.peg
-- Syntax Error --

/home/grfork/playground/pony/aoc2023/day02/_corral/github_com_ponylang_peg/examples/json.peg:19:16:1

19: object <- -'{' (pair % ',') -'}'
                   ^
                   expected end-of-file

There is a syntax error that has prevented the parser from being able to
understand the source text.

When running with individual files like:
../build/release/compiler peg.peg
then peg.peg and json.peg work fine, but the pony.peg does have an issue.
When giving two args like is done in the examples in the report. It would create a compiler from the using the first one of the two peg files and run over the second.
So there's at least a couple bugs to look for in the examples. One.
../build/release/compiler pony.peg

where the pony.peg isn't valid.
And
../build/release/compiler peg.peg json.peg

where the parser created by peg.peg doesn't understand json.peg. the bug there would probably be peg.peg not validating  json.peg. IE the bug is probably in peg.peg. Because json.peg is valid, just not when peg.peg parses it.

The two different bugs should be addressed in different PRs.

I have a fix for the pony.peg issue.

the grammar in peg.peg should be updated to be the same as the grammar in peg/pegparser.pony.


[Linux]: setup PPA for lean

https://github.com/ruediger/VobSub2SRT/blob/master/CMakeModules/UploadPPA.cmake

Dear @leodemoura, it seems this one can be closed now, right?

Yes, I agree.
Best,
Leo


Allow getting Quaternion rotation in different Euler orders

This PR improves Quaternion's get_euler method to allow getting the Euler angles in any order. I also added test cases to ensure that this works as expected.
The get_euler method is a wrapper around Basis's method, so it's simple to pass the order to Basis. Later we could possibly change the implementation to be more direct to increase performance, in which case the API would not change and the test cases added in this PR would still be helpful.

Thanks!


1.13.7-1 image not in dockerhub

Not really an issue but noticed when deploying this that the most recent image is not actually in docker hub. I created my own image for the time being but wanted to note that it's not building these images on tag.
https://hub.docker.com/r/kubeaws/kube-spot-termination-notice-handler/tags

Yeah, I've had some issues trying to get the auto-build set up (again, after docker hub changes).
I'll do a manual build, so we have the image there.

And done!


Possible error in the implementation of GIoU in association.py

In line 53 of association.py the giou is computed as
giou = iou - (area_enclose - wh) / area_enclose
However from the original paper I believe the should actually be (area_enclose - area_of_union)/area_enclose since I believe wh is the area of the intersection in the code. Am I missing something?

Please refer to the calculation in the paper you send.

I'm sorry, but doesn't this code say exactly what I said? It says it should be (area(enclosing object) - area(union) )/ area(enclosing object) and not what the code is, which is (area(enclosing object) - area(intersection) )/(area(enclosing object))

Thanks so much. yes, that's a bug. I have fixed it in the commit 2d34c67


Computed derived data access from multiple components

Hey there, I'm coming to this project from baobab, and one of the features I like best about baobab is the ability to compute derived data from the state tree and store it in the state tree.
Here's an example of what that would look like in baobab:
{
	foo: 'bar',
	baz: 'yip'
	derivedNode: deriveData(['foo'], ['baz'], function(foo, baz) {
		return foo + baz
	})
}

In my components I could then access 'derivedNode' like any other data within the tree. This would work well if I needed that data across multiple top level components.
I read the docs section about the memoized selector function, which seems like a nice solution for generating derived data, but I was wondering what to do if you needed the derived data across multple "smart" components. Do they each have to implement the same selector function on the connect call?
Just started checking out this library today so I hope my question makes sense.
While I'm here...
Another quick question I have, it seems like for every reducer added to the store, another set of action type strings need to be checked against. Does this method ever encounter issues with scale?  Once many actions are being fired, it seems like it might be time consuming to compute all those switch statements. Has this ever been an issue for anyone?
Thanks very much,
Thomas

Defining a memoized selector function in a module and importing it into different smart components should work fine. You can open an issue over at the Reselect repo if you have any problems and I'll do my best to help.

Won't the selector function be duplicating work for every module it is
attached to? Also what about the little part 2 of my question concerning
action type checking?
On Fri, Sep 25, 2015, 1:48 AM ellbee<EMAIL_ADDRESS>wrote:

Closed #800 https://github.com/rackt/redux/issues/800.
—
Reply to this email directly or view it on GitHub
https://github.com/rackt/redux/issues/800#event-418949566.

No, it won't duplicate work (assuming the selector is being used as the mapStateToProps argument to Connect).
Action type checking with switch statements is the standard approach among flux implementations. I have never heard of it being a performance problem.

@tnrich I have fleshed out the answer to this (it applies in the common case but there are caveats) in the Reselect FAQ.

Awesome, thanks @ellbee! Much appreciated.


Allow controller option for avModal

We need to add the ability to supply a controller to avModal

purpose?  just curious :smirk_cat:

It'll allow you to make more modular code. You don't have to worry about creating a new scope and setting all of its properties each time you want a modal. It also provides a more familiar option set to other angular components and libraries like directives and ui-router.
AngularUI has a nice set of options: http://angular-ui.github.io/bootstrap/#/modal. Here's the controller option implementation: https://github.com/angular-ui/bootstrap/blob/master/src/modal/modal.js#L639. It also allows use of the controllerAs and bindToController options.

ok sounds fair

@bobbennett was this resolved with the recently added controller as syntax?

Yeah that's exactly what was needed

ok this can be closed then.

Closed by #197


about REDS dataset

Hi,i want to train X2 model,but i didn't find a way to download the REDS dataset.Do you have a link to download this dataset?thanks.

this?
https://seungjunnah.github.io/Datasets/reds.html

@NaiveteYaYa yes,thanks.please,is Low Resolution used in the training?

@NaiveteYaYa yes,thanks.please,is Low Resolution used in the training?

No. Only high-resolution images are used to train RealBasicVSR


[Agent] COSTAR 框架撰写员

systemRole
你是一個 COSTAR Framework prompt 編寫員
下面是COSTAR 的解釋
The COSTAR Framework Explained:
Context : Providing background information helps the LLM understand the specific scenario.
Objective (O): Clearly defining the task directs the LLM’s focus.
Style (S): Specifying the desired writing style aligns the LLM response.
Tone (T): Setting the tone ensures the response resonates with the required sentiment.
Audience (A): Identifying the intended audience tailors the LLM’s response to be targeted to an audience.
Response (R): Providing the response format, like text or json, ensures the LLM outputs, and help build pipelines.
Here is an example of the use of theframework:
Let’s suppose you are a personal productivity developer, you like to help people reach their goals, by converting the goals into a system of actionable items. Now let’s tests a COSTAR prompt that can achieve this purpose.
CONTEXT
I am a personal productivity developer. In the realm of personal development and productivity, there is a growing demand for systems that not only help individuals set goals but also convert those goals into actionable steps. Many struggle with the transition from aspirations to concrete actions, highlighting the need for an effective goal-to-system conversion process.
#########
OBJECTIVE
Your task is to guide me in creating a comprehensive system converter. This involves breaking down the process into distinct steps, including identifying the goal, employing the 5 Whys technique, learning core actions, setting intentions, and conducting periodic reviews. The aim is to provide a step-by-step guide for seamlessly transforming goals into actionable plans.
#########
STYLE
Write in an informative and instructional style, resembling a guide on personal development. Ensure clarity and coherence in the presentation of each step, catering to an audience keen on enhancing their productivity and goal attainment skills.
#########
Tone
Maintain a positive and motivational tone throughout, fostering a sense of empowerment and encouragement. It should feel like a friendly guide offering valuable insights.
AUDIENCE
The target audience is individuals interested in personal development and productivity enhancement. Assume a readership that seeks practical advice and actionable steps to turn their goals into tangible outcomes.
#########
RESPONSE FORMAT
Provide a structured list of steps for the goal-to-system conversion process. Each step should be clearly defined, and the overall format should be easy to follow for quick implementation.
#############
START ANALYSIS
If you understand, ask me for my goals.
你會根據我告訴你的要求編寫 COSTAR Framework prompt
identifier
costar-framework-bot
avatar
📝
title
COSTAR 框架撰写员
description
擅长 COSTAR Framework prompt 编写
tags
COSTAR Framework prompt, 写作, 指导, 指示, 系统转化
locale
zh-CN

locale 确定是 zh-CN 吗？


Italian language (and other european languages) support

Are other languages other than en() and ja() supported? I can't find other languages inside the package.

Are other languages other than en() and ja() supported? I can't find other languages inside the package.

Only English and Japanese are defined in the package, but they can be specified as options.
Since it is difficult to cover all languages, it is recommended to specify them as follows.
Or, would you prefer to have the definitions in the package?
import 'package:board_datetime_picker/board_datetime_picker.dart';
import 'package:flutter/material.dart';

class SampleApp extends StatefulWidget {
  const SampleApp({super.key});

  @override
  State<SampleApp> createState() => _SampleAppState();
}

class _SampleAppState extends State<SampleApp> {
  final controller = BoardDateTimeController();

  DateTime date = DateTime.now();

  @override
  Widget build(BuildContext context) {
    final languages = BoardPickerLanguages(
      weekdays: ['dom.', 'lun.', 'mar.', 'merc.', 'gio.', 'ven.', 'sab.'],
      today: 'Oggi',
      tomorrow: 'Domani',
      now: 'il corrente',
    );

    final options = BoardDateTimeOptions(
      languages: languages,
    );

    return BoardDateTimeBuilder(
      builder: (context) {
        return Scaffold(
          body: Center(
            child: ElevatedButton(
              child: Text(
                BoardDateFormat('yyyy/MM/dd').format(date),
              ),
              onPressed: () {
                controller.openPicker();
              },
            ),
          ),
        );
      },
      options: options,
      controller: controller,
      onChange: (val) {
        setState(() => date = val);
      },
    );
  }
}

If you want you can send me all the texts, (weekdays, months, and other
texts used in the package) and I’ll translate at least in Italian so you
can include it. Thanks
Il giorno sab 28 ott 2023 alle 06:18 mytooyo @.***> ha
scritto:

Are other languages other than en() and ja() supported? I can't find other
languages inside the package.
Only English and Japanese are defined in the package, but they can be
specified as options.
Since it is difficult to cover all languages, it is recommended to specify
them as follows.
Or, would you prefer to have the definitions in the package?
import 'package:board_datetime_picker/board_datetime_picker.dart';import 'package:flutter/material.dart';
class SampleApp extends StatefulWidget {
const SampleApp({super.key});
@override
State createState() => _SampleAppState();
}
class _SampleAppState extends State {
final controller = BoardDateTimeController();
DateTime date = DateTime.now();
@override
Widget build(BuildContext context) {
final languages = BoardPickerLanguages(
weekdays: ['dom.', 'lun.', 'mar.', 'merc.', 'gio.', 'ven.', 'sab.'],
today: 'Oggi',
tomorrow: 'Domani',
now: 'il corrente',
);
final options = BoardDateTimeOptions(
  languages: languages,
);

return BoardDateTimeBuilder(
  builder: (context) {
    return Scaffold(
      body: Center(
        child: ElevatedButton(
          child: Text(
            BoardDateFormat('yyyy/MM/dd').format(date),
          ),
          onPressed: () {
            controller.openPicker();
          },
        ),
      ),
    );
  },
  options: options,
  controller: controller,
  onChange: (val) {
    setState(() => date = val);
  },
);

}
}
—
Reply to this email directly, view it on GitHub
https://github.com/mytooyo/board_datetime_picker/issues/3#issuecomment-1783693227,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQP6TTXZKDEON3GMMPMOGN3YBSBTDAVCNFSM6AAAAAA6S3VLFWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBTGY4TGMRSG4
.
You are receiving this because you authored the thread.Message ID:
@.***>

Thank you.
Now, could you please tell us about the following items so that we can support Italian and other European languages?

weekdays
today
tomorrow
now

Please provide any other items you need.

weekdays - giorni della settimana
today - oggi
tomorrow - domani
now - adesso

Monday - sunday:
Lunedì
Martedì
Mercoledì
Giovedì
Venerdì
Sabato
Domenica
Jan-Dec:
Gennaio
Febbraio
Marzo
Aprile
Maggio
Giugno
Luglio
Agosto
Settembre
Ottobre
Novembre
Dicembre
Il giorno sab 28 ott 2023 alle 14:12 mytooyo @.***> ha
scritto:

Thank you.
Now, could you please tell us about the following items so that we can
support Italian and other European languages?

weekdays
today
tomorrow
now

Please provide any other items you need.
—
Reply to this email directly, view it on GitHub
https://github.com/mytooyo/board_datetime_picker/issues/3#issuecomment-1783792710,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQP6TTQM3VKYW2L6XE2YCMTYBTZCZAVCNFSM6AAAAAA6S3VLFWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBTG44TENZRGA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Thank you.
Is there a shortened form of Monday - Sunday?

Language can now be changed by putting a setting for Italian in the options languages.
options: BoardDateTimeOptions(
  languages: const BoardPickerLanguages.it(),
),

You can write
Lun Mar Mer Gio Ven Sab Dom
Or write only the first letter of each day even if the second and third
start with the same.
Il giorno dom 29 ott 2023 alle 02:37 mytooyo @.***> ha
scritto:

Thank you.
Is there a shortened form of Monday - Sunday?
—
Reply to this email directly, view it on GitHub
https://github.com/mytooyo/board_datetime_picker/issues/3#issuecomment-1783953487,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQP6TTV37JCEBE73N5ZYSF3YBWQMHAVCNFSM6AAAAAA6S3VLFWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBTHE2TGNBYG4
.
You are receiving this because you authored the thread.Message ID:
@.***>

Thank you very much for supporting Italian as new language. I appreciate it
a lot
Il giorno dom 29 ott 2023 alle 05:38 mytooyo @.***> ha
scritto:

Language can now be changed by putting a setting for Italian in the
options languages.
options: BoardDateTimeOptions(
languages: const BoardPickerLanguages.it(),
),
—
Reply to this email directly, view it on GitHub
https://github.com/mytooyo/board_datetime_picker/issues/3#issuecomment-1783996720,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQP6TTTRAGVZQSPYPZNJGH3YBXMU3AVCNFSM6AAAAAA6S3VLFWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBTHE4TMNZSGA
.
You are receiving this because you authored the thread.Message ID:
@.***>

It is supported in v1.2.1, so please try it.

I’ll test it tomorrow morning, thank you very much.
Il giorno dom 29 ott 2023 alle 13:11 mytooyo @.***> ha
scritto:

It is supported in v1.2.1, so please try it.
—
Reply to this email directly, view it on GitHub
https://github.com/mytooyo/board_datetime_picker/issues/3#issuecomment-1784087033,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQP6TTXRMPAH5L4P6EK33BLYBZBXNAVCNFSM6AAAAAA6S3VLFWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBUGA4DOMBTGM
.
You are receiving this because you authored the thread.Message ID:
@.***>

It seems to be working fine, i'll open another issue with some bugs found as i need some more explaination


loss of decoupling in mask instructions

Even though reduction instructions are designed to avoid decoupling loss, the vpopc.m and vfirst.m still write their results directly scalar regfile. In consequence we end up with pipeline stalls or uops in ooo.
This decoupling is especially destructive in case of deep temporal InO or where only vmv.x.s and vmv.f.s  can write to scalar without the stalls from skewed execution stages.
With current EEW concept those instructions could write XLEN sized results into vd[0] regardless of current SEW.

The common use case for vpopc.m and vfirst.m is to determine scalar control flow or to produce a value to write to vl etc.  In this case, the loss of decoupling is inherent in what the code is trying to do and writing to the scalar register directly helps reduce the LoD.
I'm not sure how useful these instructions are writing to vd[0].  Where would this be used?
The other mask instructions vms?f.m were designed to support some kinds of data-dependent loop-exit processing without the LoD (see section 6.8 of my thesis).

I'm not sure how useful these instructions are writing to vd[0]. Where would this be used?

Most notably to reduce nastyness of microarch implementations. Especially when writeback to scalar core can be scheduled few instructions later to not break tail-chain, instruction flow etc.
Figure 6.9 and 6.11 from [1] shows the 6 instruction hole between vfirst and use of its result. In RVV examples:

strncpy: 4 (+2 possible) 1 of them is m8 vector store
strlen: 1 (+1 possible)
strcpy: 4 (+1 possible ) 1 of them is m8 vector store

Note how all vector instructions following the first.f can be issued before the scalar unit receives the result of the first.f instruction

I hardly belive that this is possible on InO with precise (and somewhat deterministic) exceptions (assuming no stalls on/before issuing vfirst).
And because instructions are always used according to designers intentions. We are about to see popcnt reductions based on vpopc.m due to the lack of vpopc.vv.
In this case we could slide vpopc.m results (8x for lmul==8 dataset) within one reg group and do vredsum on it. Otherwise we have to do 7 scalar additions per vl chunk. This is very likely gonna fall into the "faster than Y but only on dev machine" category anyway.
I'll leave link to what we are talking about for others:
[1] http://people.eecs.berkeley.edu/~krste/thesis.pdf

Just realized that we need another vmv.x.s with XLEN scaled EEW to avoid excess vsetvli.

I hardly belive that this is possible on InO with precise (and somewhat deterministic) exceptions (assuming no stalls on/before issuing vfirst).

I've already built an in-order implementation with precise exceptions that does exactly this.

Ok, but if this kind of coupling is that easy/cheap/efficient and of course scalable then why not make reductions to also use that path for writeback into scalar?
I also think that this issue has to be resolved prior to 1.0. Any backwards compatible addition is pointless.

The vfirst/vpopc instructions produce an integer and are primarily used to drive scalar control flow, so have to get result to x registers.
The vector unit will support types/operators that won't fit in x/f registers, and so useful to have a pattern that reduces into elements of a vector register.
Reductions via x/f registers would add additional latency into reduction->reduction chain, also lose decoupling when just storing reduction result to memory.

Closing as there is nothing useful for post 1.0 (even now it's a quite a moot)
BTW, one of the vpopc.m from datareg happened already here:
https://lists.riscv.org/g/tech-vector-ext/topic/sparse_matrix_vector_multiply/74057261?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,40,74057261


WIP: New ChIP-seq tutorial

Created new MD-style tutorial for ChIP-seq analysis of the TAL1 TF in mouse hematopoietic cell lines. Update includes screenshot images of workflow.

so, @bebatut, should I merge this? I like it a lot!

@friedue please feel free to merge!
Thanks a lot @malloryfreeberg!

This looks fantastic! @malloryfreeberg please let us know when this is out of WIP!!!!

Ready for merging!

:tada:  :balloon: very nice addition. Thanks a lot and merry Christmas! :tada:  :balloon:


Calling another script functions from another script.

Hello,
First of all I would like to thank you for creating such a lovely API. And I hope this message finds you well.
I have been testing lua for adding it to our game engine that is being created for out master's degree course project, and sol is really smoothing the process for me. As you may have guessed we are going to use lua as our scripting language if the tests give us good enough results.
As I'm rather new to Lua, I'm sorry if what I'm asking has a trivial solution with sol.
For days, I have been trying to add the functionality to interact between different sol::states to have different scripts to call each other's functions while keeping the state of the variables they have for example. To do so, I have been doing the following:

Each LuaScript class object has sol::state lua_state.
In each script, we have a table that is the same name with the file name.
LuaScript class has a method called GetMethod that returns the member function with the specified name by doing the following:
sol::protected_function method = lua_state[name.c_str()][method_name];
With these setting, I have two scripts and I add one script's table's member functions to another like the following:
  sol::table dependency = dependency_script->GetState()[dependency_script->GetName()];

  dependencies.push_back(dependency_script);

  for (const auto& entry : dependency)
  {
  	const sol::object& current_object = entry.second;

  	if (!current_object.is<sol::function>())
  	{
  		continue;
  	}

  	const std::string& function_name = entry.first.as<std::string>();

  	std::cout << "Adding: " << function_name << std::endl;

  	sol::safe_function function = dependency_script->GetMethod(function_name.c_str());

  	dependency_as_table.set_function(function_name, GetDependency(dependency_script->name.c_str())->GetMethod(function_name.c_str()));
  }

  lua_state[dependency_script->GetName()].set(dependency_as_table);

and when I try calling any function, I get error saying:
attempt to call a nil value stack traceback:         [C]: in function 'print'         ...cpp_experiment/lua_cpp_experiment/scripts/experiment.lua:60: in function 'call_from_another_script'         ...pp_experiment/lua_cpp_experiment/scripts/experiment2.lua:6: in function <...pp_experiment/lua_cpp_experiment/scripts/experiment2.lua:5>
And honestly, probably I'm getting all these stuff wrong. Can you see a way to achieve what I'm trying to do using sol? Do you have any suggestions?
Sincerely yours,
Baran

Hello,
First of all sorry for answering this late, and thanks for your fast response.
From your comments, I think my whole approach was wrong and I see I need to create one sol::state that holds all the scripts sandboxed in different sol::environments.
Thank you so much!!


Item: Alchemical Bag

An Alchemical Bag is a portable storage item

Textures merged in https://github.com/pahimar/Equivalent-Exchange/pull/54


Improve zorder interleave perf

Why are the changes needed?

Make interleave function more faster.
The basic idea is from http://graphics.stanford.edu/~seander/bithacks.html#InterleaveTableObvious
How was this patch tested?

[x] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[x] Run test locally before make a pull request

cc @cfmcgrady @yaooqinn @pan3793

Codecov Report

Merging #1333 (05f0b6e) into master (1003f52) will increase coverage by 0.50%.
The diff coverage is 94.75%.

@@             Coverage Diff              @@
##             master    #1333      +/-   ##
============================================
+ Coverage     78.52%   79.03%   +0.50%
  Complexity      110      110
============================================
  Files           178      179       +1
  Lines          7246     7492     +246
  Branches        887      917      +30
============================================
+ Hits           5690     5921     +231
- Misses         1071     1081      +10
- Partials        485      490       +5

Impacted Files
Coverage Δ

...cala/org/apache/kyuubi/sql/zorder/ZorderBase.scala
85.00% <77.77%> (ø)

...rg/apache/kyuubi/sql/zorder/ZorderBytesUtils.scala
94.42% <95.45%> (+1.76%)
:arrow_up:

...apache/kyuubi/server/api/v1/SessionsResource.scala
86.36% <0.00%> (-10.31%)
:arrow_down:

...in/scala/org/apache/kyuubi/server/api/v1/dto.scala
73.07% <0.00%> (-0.84%)
:arrow_down:

.../org/apache/kyuubi/session/KyuubiSessionImpl.scala
89.79% <0.00%> (ø)

...in/scala/org/apache/kyuubi/engine/EngineType.scala
100.00% <0.00%> (ø)

...in/scala/org/apache/kyuubi/config/KyuubiConf.scala
95.24% <0.00%> (+0.08%)
:arrow_up:

...org/apache/kyuubi/operation/ExecuteStatement.scala
88.42% <0.00%> (+0.66%)
:arrow_up:

...ain/scala/org/apache/kyuubi/engine/EngineRef.scala
80.00% <0.00%> (+1.17%)
:arrow_up:

Continue to review full report at Codecov.

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

thanks for review, merging to master


better error message - BUFFER_SHORTAGE

I recently ran into "BUFFER_SHORTAGE" errors due to what ended up being an encoding problem on my end.  My suggestion is that "BUFFER_SHORTAGE" is perhaps not a correctly descriptive error message.  I would recommend something like "BUFFER_TOO_SHORT" instead, since "BUFFER_SHORTAGE" make it sound like something is having trouble allocating a buffer, due to memory constraints, or something.  You don't have a shortage of buffers in this case - you have a buffer that is too short.
Originally posted by @jvsteiner in https://github.com/kawanet/msgpack-lite/issues/60#issuecomment-703238575

I'm having the same error, not knowing what I did wrong. Can you provide some information on what "encoding problem" you encountered?

It's been a while, but iirc, I was encoding the object somewhere, and that wasn't working right, resulting in a zero length object, which caused the error when I tried to decode it.


Switching language

Description
Add a button to toggle the website language between English and German. The button should be user-friendly and accessible, allowing users to seamlessly switch between the two languages.
Discussion
No response
Motivation
No response
Details
No response

This issue is related to #197


Add GetPartitionCount

In order to randomly produce you have to know how many partitions a
topic has, and to know that you need the metadata, which is presently
not exposed by the broker. This adds tracking of partition counts to the
metadata cache and also a method for getting the counts.

I'm flexible on how this works but we need some way to get this metadata so that we can randomly produce.

cc @DrTall @dctrwatson

Thanks for the pull request. It's good idea, but the code requires few fixes. Please provide tests for new code as well.

Updated with tests, but without covering that one case you pointed out that I don't understand yet.

Code looks good. What do you think about renaming GetPartitionCount to PartitionCount? No other method use Get prefix.

That sounds fine! Done, renamed to PartitionCount.

I'm not sure why the CI build failed... it seems unrelated?
--- FAIL: TestConsumerBrokenPipe (0.21s)
	broker_test.go:1201: cannot consume: dial tcp <IP_ADDRESS>:44212: getsockopt: connection refused

I'm not sure why the CI build failed... it seems unrelated?

Don't worry about it. Sometimes build server does not allow to open server connection.


Per topic encrypt config

Type of change

Enhancement / new feature

Description
Resolves https://github.com/kroxylicious/kroxylicious/issues/811
With this change the User can configure the encryption filter to only apply Encryption logic to specific filters using inclusion/exclusion lists of exact topic names and topic name prefixes.
Additional Context
Example config:
    - type: EnvelopeEncryption
      config:
        kms: VaultKmsService
        kmsConfig:
          vaultTransitEngineUrl: http://vault.vault.svc.cluster.local:8200/v1/transit
          vaultToken: myroottoken
        topics:
        -  includedTopicNames: ["encryptedTopic"]
           excludedTopicNames: ["unencryptedTopic"]
           includedTopicPrefixes: ["include_prefix_"]
           excludedTopicPrefixes: ["exclude_prefix_"]
           selector: TemplateKekSelector
           selectorConfig:
             template: "${topicName}"

Note this is a nonsensical configuration to show the 4 lists.
The existing selector and selectorConfig fields are deprecated. The topics field is preferred over them. If only the legacy fields are present then there would be a problem as the meaning of an alias not being found in the KMS has changed. (perhaps we should remove the old fields entirely and document the change instead).
An alias not being found is now considered an exception. If a topic configuration includes topic X then it is expected that we want to encrypt that topic.
Routing Logic

Topic routing is exclusive by default. So no topics would be selected for encryption if topics is set to an empty list.
exact-topic-name matches are the highest priority rule
the same exact-topic-name cannot be routed to multiple destinations
prefix-matches are lower priority that exact-topic-name
longer prefixes are higher priority than shorter prefixes
the same prefix cannot be routed to multiple destinations
inclusion beats exclusion, so it's okay for configuration 1 to say "include prefix a, but exclude prefix ab", then configuration 2 to say "include prefix ab", topic "ab" would be routed to configuration 2.

The end result is that every topicName should be unambiguously routed to either a kek selector, or the default exclusive behaviour which will map the topicName to null and proceed to treat it as an unencrypted topic.
This PR introduces the TopicNameRouter, which aims to deterministically route every topic name to a single destination. The destination is left generic, currently the destination is a TopicNameBasedKekSelector but if we add more configuration to the TopicConfiguration like the cipher spec then the thing we are routing to will likely change. By making it generic hopefully the TopicRouter won't have to be modified, we will just route different things through it.
Checklist
Please go through this checklist and make sure all applicable tasks have been done

[ ] Write tests
[ ] Make sure all tests pass
[ ] Review performance test results. Ensure that any degradations to performance numbers are understood and justified.
[ ] Make sure all Sonarcloud warnings are addressed or are justifiably ignored.
[ ] Update documentation
[ ] Reference relevant issue(s) and close them after merging
[ ] For user facing changes, update CHANGELOG.md (remember to include changes affecting the API of the test artefacts too).

Closing superceded by #1036


text/template: panic on range over send-only channel

What version of Go are you using (go version)?
go1.15.5
What did you do?
https://play.golang.org/p/Z9wXwjO_NVd
What did you expect to see?
An error returned.
What did you see instead?
A panic.

I will take a look


More unit test coverage.

I've noticed other people are starting to add their own unit tests which may potentially clash with tests I've been adding. So I'm going to open PR's more regularly to ensure that people are working with the latest version of the tests.
Cheers!

Thanks mate I'll look into it.


How to get the time when we close the vscode editor?

I am trying to capture the time when iam closing the vs-code editor but my deactivate function is not working?
or is there any other way to capture the close vs-code editor time?

@Prabhatyadav11 Can you please try the following: in your deactivate function, open a file on disk and write to it. Do you observe that the code has executed? Please note that the visible window that you see will not wait until after deactivate finishes, the window will close immediately.


cors option is not working

When enabling CORS extension, Kusk does not send the appropriate headers.
For example, the following CORS setting
cors:
	origins:
		- "*"
	methods:
		- GET
		- POST

Should include the following header in all requests:
Access-Control-Allow-Origin: *
Access-Controll-Allow-Methods: GET, POST

Moreover, removing any of the methods, or changing the origin and making the request with a different origin does not make any difference: the requests succeed and are directed to the upstream. This should not be the case perhaps?

If CORS is defined in OpenAPI definition we should ALWAYS send the Access-Control-Allow-Origins header, regardless of the request
If CORS is defined in OpenAPI definition we should send the Access-Control-Allow-Method header only on OPTIONS request


Authoring guidelines: preloaded code

Breakdown of #139
Set of guidelines related to writing preloaded code.
Proposed guidelines:

stick to general coding guidelines
user solution is able to call code present in preloaded snippet, and access variables and types defined here. do not put reference solution or verification functions in preloaded because they can be called, read, or modified by user solution.
remember it's not visible to users, consider putting it in description
...

Preloaded code is visible to users programmatically, see https://github.com/codewars/docs/issues/146#issuecomment-723162362. This is implied by the "do not put reference solution or verification functions" bullet but might be worth making explicit since "remember it's not visible to users, consider putting it in description" seems to contradict this.

Is visibility of preloaded different in any language from visibility of the tests? Tests can be read by solutions too. I thought it was so only for some interpreted languages, but it looks like they are available even in C.

by "remember it's not visible to users, consider putting it in description" I meant literally "cannot be seen".  Authors sometimes happen to put some things there, like test helpers, some data, other things to make them common for sample tests and full tests. This leads to the fact that by just looking at sample tests users cannot recreate them locally. For example see "morse code" kata which keep morse dictionary in preloaded, or some C/C++/Java/C# kata which have return data types or input data types in preloaded, so user cannot see how its defined.

Is visibility of preloaded different in any language from visibility of the tests? Tests can be read by solutions too.

Yes. As long as we aren't talkng about "hacks/cheats" (those who go opend the tests file manually), there are languages where the tests cannot be programmatically accessed from the soltuion: python, for instance.

That's right, you can read the preloaded source file from any language that lets you run a subprocess which I assume is all languages. SQL often has the solution query in preloaded, making cheating easy. There was some talk of unlinking the preloaded source file by default before running the candidate solution but I doubt this has been implemented, or is needed assuming authors are aware that it's readable.
I hadn't considered the use case of wanting to run tests locally; that makes sense. I generally avoid preloaded for reasons like this--it hides information. Having said that, if you have some setup code that preps a database or something, plopping 50-100 lines into the sample tests is pretty distracting and this is when preloaded is useful.
The important thing is that authors know that preloaded is not visible on the UI but is readable for all intents and purposes, which is why no secure information can be kept there.


Debounce the creation of work done progress for indexing and package reloading

This avoids us from showing a work done progress for short-lived index tasks that take less than a second.
Fixes https://github.com/apple/sourcekit-lsp/issues/1298
rdar://128071328

@swift-ci Please test


How can I do configuration make the window looks like the screenshot ?

How can I do configuration make the window looks like the screenshot ?

You'll need to provide a bit more detail on what it is you're trying to achieve.  If it's just the layout, which is Yabai's area of concern, that's a basic layout.  The two background terminals are split in two by the standard BSP layout, and the foremost window is floating to sit on top.
Have you looked at the example config? https://github.com/koekeishiya/yabai/blob/master/examples/yabairc

Thanks!
So there are two background terminal windows without title bar ?
Yes, I did try the example config, I got all program windows display on the screen, and arrangement automatically.

Yep, looking at the bar on the bottom of the left terminal, that looks like kitty, which is a highly-configurable performant terminal.  I have a similar pared down UI, but with radiused corners.
Other than that, it's just the menubar and Dock set to hide to reduce clutter and get a clean desktop


Pass http proxy as env to command (fix #136, #117)

We use leetcode-cli and leetcode-cli uses request to call LeetCode web API.
It's lucky that request respects the http proxy env variables(http_proxy, https_proxy),
so all we need to do is passing proxy as env variable http_proxy to every command.
TODO: do we need to set https_proxy for https request?

Thank you @edvardchen for contribution.
So Is this PR aimed to fix #117

Yes.

@edvardchen Awesome, I'll take a look later, thanks!

Hi @edvardchen
What will happen if we don't set https_proxy for https request

request will use http_proxy as fallback

Because vscode user setting doesn't have a https.proxy option, so we should not worry about it.

@edvardchen Thank you for your contribution!


didn't respond to HTTP pings on port: 8000, failing site start

My Django website https://xxxxxxx-django.azurewebsites.net is not loading - never did till now.
I keep getting :
Container xxxxxxx-django_0_00b5a161 didn't respond to HTTP pings on port: 8000, failing site start. See container logs for debugging.

I added WEBSITES_PORT and PORT to 8000 in configuration settings.
I even did ALLOWED_HOSTS = ['*', '<IP_ADDRESS>']
2023-03-15T10:25:32.956333434Z Migrations for 'application':
2023-03-15T10:25:32.956424735Z   application/migrations/0004_remove_user_dob.py
2023-03-15T10:25:32.956434035Z     - Remove field dob from user
2023-03-15T10:25:35.082124191Z Operations to perform:
2023-03-15T10:25:35.082189591Z   Apply all migrations: admin, application, auth, contenttypes, sessions
2023-03-15T10:25:35.082196891Z Running migrations:
2023-03-15T10:25:35.082200791Z   No migrations to apply.
2023-03-15T10:25:36.340Z ERROR - Container xxxxxxx-django_0_66aec21cfor site xxxxxxx-django has exited, failing site start
2023-03-15T10:25:36.361Z ERROR - Container xxxxxxx-django_0_66aec21c didn't respond to HTTP pings on port: 8000, failing site start. See container logs for debugging.
2023-03-15T10:25:36.371Z INFO  - Stopping site xxxxxxx-django because it failed during startup.

According to support email - If the problem persists, you may need to modify the code in the container to resolve the issue
I am not sure what I have to modify anymore. I connected to the MySQL database remotely and all migrations are in there, so no DB issues.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 682f3cfc-22d7-c367-1215-a692d6031089
Version Independent ID: ec754538-109a-4062-2acf-a5fbbaa5fb41
Content: Configure Linux Python apps - Azure App Service
Content Source: articles/app-service/configure-language-python.md
Service: app-service
GitHub Login: @cephalin
Microsoft Alias: cephalin

@anjanesh
It would be great if you could add a link to the documentation you are following for these steps? This would help us redirect the issue to the appropriate team. Thanks!!

Since we have not heard back from you, we will now proceed to close this thread.

@SnehaAgrawal-MSFT
please can you review it.

My free-trial subscription ends on the 27th of this month - after which I have to switch to my company's paid subscription after which the Django app will be in a VM only.
If my trial can be extended for another one month I can give this app service deployment once again and then re-evaluate if one VM with Apache + Python + MySQL + Redis is cheaper or not when compared to using 4 different services for each service.

@anjanesh For subscription suggest you to Create an Azure support request, further for failing site start there could be multiple reasons why the Django website https://xxxxxxx-django.azurewebsites.net/ is not loading and failing to start.
To troubleshoot issue could you please try to
check the server logs: Azure provides server logs that can help you identify the root cause of the issue. You can find the logs by navigating to the Azure portal, selecting the app service that hosts the website, and clicking on "Log stream" under the "Monitoring" section.
Also refer to this similar issue might be helpful: https://learn.microsoft.com/en-us/answers/questions/168746/container-didnt-respond-to-http-pings-on-port-8080?page=1#answers


Jetpack Hover Bug

When wearing the jetpack in the modular space suit, with 3 speed and a hover upgrade in the helmet, sprinting with ic2's quantum legs, toggling the jetpack on into hover mode and taking off, allows the jetpack to be turned off and all space suit parts to be unequiped, while still flying in the air. Lasts until you land on something. Advanced Rocketry 1.10.2-1.0.19, libVulpes 1.10.2-0.1.19, ic2 2.6.210-ex110

After more testing, it doesn't even need ic2 at all, simply sprinting, turning on the jetpack and wating for the speed increase, leaving the ground while still sprinting and then turning it off triggers the bug.

looking into it

in my case it simply not possible to go to hover mode. i havent understood from the beginning how to do that form the video i helped me with creative flight from angel ring (but even without that ring i cannot go to hover mode) i am playing All the mods 1

Redid jetpack hovermode, should be fixed now


ALPN/NPN Examples Not using failure behavior compatible with all SslP…

…roviders
Motivation:
Examples that are using ALPN/NPN are using a failure mode which is not supported by the JDK SslProvider. The examples fail to run and throw an exception if the JDK SslProvider is used.
Modifications:

Use SelectorFailureBehavior.NO_ADVERTISE
Use SelectedListenerFailureBehavior.ACCEPT

Result:
Examples can be run with both OpenSsl and JDK SslProviders.

Fixes https://github.com/netty/netty/issues/3758
@normanmaurer @ejona86 - FYI.

@Scottmitch just a tiny comment... after that ship it

Cherry-picked 4.0 (ef95fbf) 4.1 (2dd59e4) master (02e9409)

@normanmaurer What would it take to get OpenSsl to support FATAL_ALERT? Is it just a matter of adding the support to OpenSslContext?
/cc @ejona86

@nmittler - OpenSSL does not support it yet. See https://github.com/openssl/openssl/issues/188. This issue has been opened for a while now, but I don't think implementing it will be that hard.  On the surface it is just a new alert definition and some additional return types to support.

I wonder if libressl support it... I would need to check though

I'll also chat with the BoringSSL guys.


Looking for clarification on implementation/efficiency

Hi there @patrick-nicodemus! Nice paper - I am just opening an issue to get some clarification on the implementation computational complexity of the model. I've been putting together a general toolkit of models/methods for morphometrics for a bit now (in 2D for right now) and the idea of using GW distance as a morphometric descriptor seems pretty cool.
Onto my question/comment:
I just wanted to clarify that if I strip away all the boilerplate related to neuron data I/O that this is your implementation (for 2-dimensions). And that the input is (K points, K points) shape outline pairwise distance matrices and that the output is (N shapes, N shapes) pairwise GW distance matrix.
# The distance function as defined in your code
def gw(fst_mat: np.ndarray, snd_mat: np.ndarray) -> float:
    _, log = ot.gromov.gromov_wasserstein(
        fst_mat,
        snd_mat,
        ot.unif(fst_mat.shape[0]),
        ot.unif(snd_mat.shape[0]),
        "square_loss",
        log=True,
    )
    return log["gw_dist"]

# The graph/matrix output as described in your paper
def gw_matrix(outlines):
    n = len(outlines)
    gw_distances = np.zeros((n,n))
    for index in [*itertools.combinations(np.arange(n), 2)]:
        i, j = index
        a = cdist(outlines[i].T, outlines[i].T)
        b = cdist(outlines[j].T, outlines[j].T)
        gw_distances[i,j] = gw_distances[j,i] = gw(a,b)

    return gw_distances

Comment on improving efficiency
So it looks like there is two spots of quadratic complexity (ignoring GW computation): (1) computation of "intra-shape" pairwise distance matrix and (2) computation of GW distances between all pairwise distance matrices? If I don't have it wrong, the major speed bottleneck is the pairwise GW distance computation across all cells, etc. This appears to be a bit of a problem for scaling to a very large number of cells.
To improve speed and enable scaling to larger datasets, have you thought about first building a nearest neighbour graph using a set of morphometric descriptors that are correlated to GW at a lower level of granularity? For example, maybe major axis length computed from the best-fitting ellipse can reduce the number of pairwise GW computations (neighbours) for each cell by 1/2.
Thanks,
Tom

Hi Tom;
These are great questions.

Yes. Mathematically, this is the core of what's happening. Our software is in large part a tool for allowing users to convert various data formats for cell morphology into an intracell distance matrix. For 2D image segmentation data this is essentially what's happening here. Note that you could use pdist rather than cdist here. A warning: the OT library reports the squared GW distance rather than the GW distance. This is probably not a metric and it would be best (in the sense of choosing a standard for clear communication) to use the term "GW distance" to refer to the one in Memoli's paper, which is a metric, rather than the squared distance. I have pushed a fix for this.
Your efficiency observations are very much correct. The computation of pdist/cdist is extremely fast and you can ignore it for the sake of performance relative to the GW computation. On my machine (one python process with openblas multithreading disabled) I get these runtimes for GW between two cells. The first column is the number of points taken from each cell.

| Resolution | Time (ms) |
|------------+-----------|
|         10 |      0.47 |
|         20 |      0.91 |
|         30 |      1.53 |
|         40 |      2.25 |
|         50 |      3.09 |
|         60 |      4.20 |
|         70 |      5.68 |
|         80 |      7.52 |
|         90 |      9.32 |
|        100 |     11.83 |

I did a best fit with a power law and I got $y = Ax^n$ where $n=1.416$ and $A=0.0141$ms, to give a rough idea of the scaling with cell size.

As you say, the quadratic growth with number of cells is indeed a serious chokepoint. We are working on this problem in a development branch, "optimize", which should be released later this week. Reading the documentation (under construction) for that branch in our readthedocs may give some insight.
In this new branch we have done three things:

Rewrote the gradient descent algorithm for computing GW in Cython and made small changes to improve performance, perhaps a 20% speed improvement.
Closest to your suggestion, we have implemented a lower bound for GW from Memoli's original paper, called SLB, and we can use this to filter out cell pairs which are sufficiently far apart that they cannot be within each other's nearest neighbor list. This technique is general and does not require a notion of major/minor axis, it is compatible with geodesic distance. It is multiple orders of magnitude faster than GW. This reduces the number of cell pairs to compute by about 70%, if the GW distance only needs to be known precisely for the nearest neighbors.
Implemented an approximation to GW, called quantized GW, which involves replacing the cell by a subset of its points and using this as an approximation to the original space. The approximation is acceptable and offers a substantial reduction in computation time; as shown in the table above, approximating a 100pt space by a 30pt space gives an 87% reduction in computation time.

Lastly, combining all of these, we have written an algorithm to compute the SLB pairwise for all cells, and use this as a basis to compute only the quantized GW distance between nearby cells, up to an acceptable (user-specified) degree of error in the reported nearest neighbor table. We hope that these improvements will be enough to realistically apply CAJAL to very large datasets such as the MICrONS dataset.
Thanks for your interest and please feel free to comment on the code or documentation!

Hi @patrick-nicodemus, thanks for taking the time with the detailed response! It sounds like big speed reductions are coming (which is awesome) and it seems like CAJAL is a great choice for analyzing highly projected morphologies. Looking forward to seeing the updates. I'll close up the issue.


nfolds is kwarg of both prepare_XY and k_fold_cross_val which can cause problems

Also 'u' is multiply defined in the config.json

Yes, this is not a problem if you use ut.extract_nested and ut.set_values_recursive

I'll put it as a wontfix for now


Misc changes for Wildfly Swarm

Adjust how content is provided in order to support multiple deployments.
Use start() instead of bootstrap() so that quiesence is achieved.
Rename (simplify) some items.
Throw exceptions instead of abort()'ing, printing and exiting.
Do not install StdioContext, to allow user's own
System.err/System.out usage to continue as expected.

Windows Build 1213 is now running using a merge of 79ce9dbca9a49454a10cbbbf2d3e758f89fc635e

Linux Build 1559 is now running using a merge of 79ce9dbca9a49454a10cbbbf2d3e758f89fc635e

Core - Full Integration Build 813 is now running using a merge of 79ce9dbca9a49454a10cbbbf2d3e758f89fc635e

Windows Build 1213 outcome was SUCCESS using a merge of 79ce9dbca9a49454a10cbbbf2d3e758f89fc635e
Summary: Tests passed: 3092, ignored: 66 Build time: 0:20:45

Linux Build 1559 outcome was SUCCESS using a merge of 79ce9dbca9a49454a10cbbbf2d3e758f89fc635e
Summary: Tests passed: 3092, ignored: 66 Build time: 0:21:48

Core - Full Integration Build 813 outcome was FAILURE using a merge of 79ce9dbca9a49454a10cbbbf2d3e758f89fc635e
Summary: Tests failed: 2 (2 new), passed: 2845, ignored: 412 Build time: 0:47:04
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.integration.messaging.mgmt.JMSQueueManagementTestCase.removeJMSQueueRemovesAllMessages: <no details avaliable>

org.jboss.as.test.integration.jca.datasource.remove.EjbAppDsRemoveTestCase.testDatasourceRemove: <no details avaliable>

Core - Full Integration Build 823 is now running using a merge of 79ce9dbca9a49454a10cbbbf2d3e758f89fc635e

Windows Build 1222 is now running using a merge of 79ce9dbca9a49454a10cbbbf2d3e758f89fc635e

Linux Build 1570 is now running using a merge of 79ce9dbca9a49454a10cbbbf2d3e758f89fc635e

Windows Build 1222 outcome was SUCCESS using a merge of 79ce9dbca9a49454a10cbbbf2d3e758f89fc635e
Summary: Tests passed: 3096, ignored: 66 Build time: 0:20:46

Linux Build 1570 outcome was SUCCESS using a merge of 79ce9dbca9a49454a10cbbbf2d3e758f89fc635e
Summary: Tests passed: 3096, ignored: 66 Build time: 0:22:15

Core - Full Integration Build 823 outcome was SUCCESS using a merge of 79ce9dbca9a49454a10cbbbf2d3e758f89fc635e
Summary: Tests passed: 2846, ignored: 412, muted: 1 Build time: 0:49:49

Linux Build 1572 is now running using a merge of 186d9ae77e1763ccb50078810e99d8d3a987d8dc

Windows Build 1224 is now running using a merge of 186d9ae77e1763ccb50078810e99d8d3a987d8dc

Core - Full Integration Build 825 is now running using a merge of 186d9ae77e1763ccb50078810e99d8d3a987d8dc

Linux Build 1572 outcome was SUCCESS using a merge of 186d9ae77e1763ccb50078810e99d8d3a987d8dc
Summary: Tests passed: 3098, ignored: 66 Build time: 0:19:23

Windows Build 1224 outcome was SUCCESS using a merge of 186d9ae77e1763ccb50078810e99d8d3a987d8dc
Summary: Tests passed: 3098, ignored: 66 Build time: 0:20:24

Core - Full Integration Build 825 outcome was SUCCESS using a merge of 186d9ae77e1763ccb50078810e99d8d3a987d8dc
Summary: Tests passed: 2857, ignored: 412 Build time: 0:48:44


Fixed the missing semicolon of variation1.py

Thank you for you contribution to the repo and the community
On 17 Jun 2017, at 12:19, Zheng SHI<EMAIL_ADDRESS>wrote:

You can view, comment on, or merge this pull request online at:
https://github.com/geekcomputers/Python/pull/183
Commit Summary
Merge branch 'geekcomputers/master'
fixd missing semicolon
compatible with python2; PEP8
File Changes
M CountMillionCharacters-Variations/variation1.py (28)
Patch Links:
https://github.com/geekcomputers/Python/pull/183.patch
https://github.com/geekcomputers/Python/pull/183.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


[WIP] Pull partner details from partner API and Display it #545

Resolves #545
Description
This PR introduces an API request to the Partner application, which retrieves partner related data.
What i've done is barely the initial API client

[x] Send/Receive data to/from partner client successfully
[ ] Refactor API Client
[ ] Create Service Object to interface with API Client
[ ] Create View for Partner page
[ ] Connect to Diaper API controller ?

Type of change

New feature (non-breaking change which adds functionality)
This change requires a documentation update
Documentation update

How Has This Been Tested?

Screenshots

Hey @sbpipb I'm going to close this issue while you work on it, please reopen when it is finished! We've seen that there is less discussion on issues when there is an attached PR and we don't want to prevent people from contributing good ideas!

@seanmarcia  I can't reopen, so snould I just create a new PR instead?


Docs: Increase visibility of skeleton patterns

Ref #556
@rxaviers and @jzaefferer, how does this look?

Repeating the same link within two sentences doesn't make a lot of sense. How about you revert that change, then add a new line under the table, something like "For a complete list of skeleton patterns check the unicode CLDR documentation.", where everything from "check" is a link.

Yeah, letting them know they are heading to CLDR Docs is a good idea.

Yeah, letting them know they are heading to CLDR Docs is a good idea.

Looks good to me.

me too :+1:

Left one minor comment, other than that :+1:

@rxaviers just curious, why are we limiting line length anyways?

There's no rule for limiting line length on documentation source, but as we do for JavaScript (http://contribute.jquery.org/style-guide/js/#spacing) I followed the same pattern.

Thanks @karan1276 and @jzaefferer


User activity

Changes
This is a continuation of the work that @chloealee began on user activity syncing. This PR adds a /forwardSignup endpoint and associated tests to Northstar. This allows an admin-scoped API key (e.g. Phoenix) to "push" a campaign signup to a user document without authenticating as that user.
References #243. References DoSomething/phoenix#4571.
How should this be tested?
You should be able to submit arbitrary signups to the user document via Paw or Postman. If a Northstar user already has a campaign with the given ID, the existing campaign data will be updated & returned.
Automated tests (including the two added tests: testForwardedCampaignSignup & testForwardedCampaignSignupRequiresAdminScope) should pass. :traffic_light:
Documentation
I'll add this to the wiki once this PR is merged:

Forwarding an Existing Campaign Sign Up
Push an existing campaign sign up to the user document in Northstar. This allows Phoenix to sync activity data to Northstar when a user signs up for a campaign on the web. This endpoint requires an 'admin' scoped API key.
If the Northstar user already has campaign data with the given ID, the existing campaign data will be updated with the given values & the updated document will be returned with a code 200.
POST /forwardSignup

Parameters:
{
 /* The user's Drupal ID */
 "user_drupal_id": /* <Integer> */

 /* The campaign's Drupal ID */
 "campaign_drupal_id": /* <Integer> */

 /* The sign up's Drupal ID */
 "signup_drupal_id": /* <Integer> */

 /* Sign up source. ex: phoenix */
 "source": /* <String> */

 /* Should push notifications be sent for this signup? Defaults false. */
 "trigger_event": /* <Boolean> */
}

Example Request:
curl -X POST \
 -H "X-DS-Application-Id: ${APPLICATION_ID}" \
 -H "X-DS-REST-API-Key: ${REST_API_KEY}" \
 -H "Content-Type: application/json" \
 -H "Accept: application/json" \
 -d '{"source": "phoenix",  "user_drupal_id": "100001",  "campaign_drupal_id": "1337", "signup_drupal_id": "100" }' \

https://northstar.dosomething.org/v1/forwardSignup

**Example Response:**
```js
// 201 Created

{
 "data": {
   "drupal_id": "1337",
   "signup_id": "100",
   "signup_source": "phoenix",
   "created_at": {
     "date": "2015-05-19 21:51:06.000000",
     "timezone_type": 3,
     "timezone": "UTC"
   }
 }
}

For review: @angaither @chloealee

Not sure why Wercker isn't triggering for this PR... will keep an eye on it. :confused:
For now, here's the test suite running on my Homestead environment:

Weird, and suddenly the Wercker build triggered! :white_check_mark:
As follow-up, we're going to hold on merging this after some issues that @angaither raised in a dev roundtable discussion today. Since a given Drupal campaign NID may (but doesn't always) have multiple runs, the schema of storing this by campaign NID on the Northstar user will cause conflicts in situations where a user has signed-up or reported back for multiple runs of a single campaign.

Closing this, since we're not going this route anymore & this branch is super out of date.


Chrome Web Store Extension Uses Wrong URL.

That's it, really. They change the URL to http://discord.com from http://discordapp.com.

The chrome extension was discontinued years ago and will not be updated.


Doc updates for M4

squashed, rebased, and merged as https://github.com/spring-cloud/spring-cloud-stream/commit/b490b6b73d7ae364a732986a8574ed1556614657
also added another commit to address comments on this PR along with several other updates:
https://github.com/spring-cloud/spring-cloud-stream/commit/944c1005767d54585fca539414c132d47317aa51


From where to import ReactToPDF like import ReactToPDF from "ReactTOPDF"

Use -
import ReactToPDF from "@kunwarji/react-to-pdf"

Usually you import from the package name that you installed. Closing this issue.


[Enhancement] look function support partial cache

I found that the current connector supports the lookup function, but the implementation is to fully scan the table data and store it in the memory. If the table data is large, the memory usage of flink tm will be relatively high, and it may even be oom. I think we should support caching some data just like jdbc connector. Are there any plans to enhance the lookup function?

Would you like to contribute the feature?

I'm willing to implement this feature, but it will take some time.

I think it's ok, and first assign this issue to you. Thanks.

ok


Semantics editor updates

Couple of corrections on result display for specified cases.

LGTM, with a couple small suggestions.


Is it possible to share the trained nominal SRL model?

Hi, thanks for the great repository!
I'm following the instruction to run nominal SRL on some text. However, it seems there isn't a trained model uploaded. I wonder if it's possible for us to access the trained model.

Most recent push should include links in the README.


Fix remaining Clang warnings

@hughbe,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

Fixed the indentation. I was experimenting with a CMake build system (I don't think a PR would be accepted to actually replace the Automake system with a CMake build system but I wanted to create an XCode project so I could debug the code more easily).
For some reason, these warnings popped up in the XCode project. To that end, I'm using AppleClang <IP_ADDRESS>00037 / OSX 10.12.6 (16G29)

I don't think a PR would be accepted to actually replace the Automake system with a CMake build system

Yeah not at this time. We've been thinking about moving to CMake in Mono for some time but it always gets put on the back burner. If/should that happen I guess we can move libgdiplus over as well :)
Thanks for the link, I've tried adding -pedantic and that showed some of the warnings but not all.
I assume CMake sets some other flags by default, could you please check the build log and see what flags are actually passed to clang?


Kafka-15444: Native docker image for Apache Kafka(KIP-974)

This PR aims to add Docker Image for GraalVM based Native Kafka Broker as per the following KIP - https://cwiki.apache.org/confluence/display/KAFKA/KIP-974%3A+Docker+Image+for+GraalVM+based+Native+Kafka+Broker
This PR adds the following functionalities:

Ability to build the docker image for Native Apache Kafka

Dockerfile
Launch script
metadata configs required by graalVM native-image: link

Add Kafka startup ability in the KafkaDockerWrapper.scala
ABility to build and test the image - integrated with the existing JVM docker image framework.

Testing:
I modified the internal system tests pipeline to run System tests via vagrant on native iAK. The test results were comparable with the System tests results of AK.
I will raise the PR to integrate the native AK with System tests post this PR merge.
Post this PR:

PR to integrate the native AK with System tests.
Integration with Github action jobs
Add Examples
Add Documentation
Update release process

Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Also will the current Github workflows work with current PR changes ?

The github workflows uses the build, test and release scripts.
I have integrated the native docker image with these scripts and tested them locally. They are working fine.
I will raise a separate PR to integrate this image in the github action workflows.

Can we add README to docker/native and add few details about the image and native-image-configs

Sure. I will add this Readme in the documentation PR.


Update direct-db-connection.md

Please look over my changes before merge. I want to make sure I tweaked the wording to read a little better, but not changed the actual meaning of the sentences. Thanks!
t

Thanks, Trent! Looks good, I have added a comment for the last part only.


Add ability to bypass clipmenu for choosing selection

Add 2 new options:

--print-sel argument to print all selections in clipmenu
CM_INPUT_CLIP to accept selection from stdin

The reasoning behind this is to bypass clipmenu for getting a selection.
For example: clipmenu --print-sel | fzf | CM_INPUT_CLIP=1 clipmenu
For my user case I found a need for it so I can preprocess the output of fzf before piping it back into clipmenu.
This is because fzf prints out extra information, apart from the selection, in some circumstances and clipmenu can't handle with such a scenario.

clipmenu is now in C, so closing since this applies to the old bash version. Thanks for your work on this, though!


NPE on getPayin()

Hello,
On the following operation:
https://dashboard.sandbox.mangopay.com/Refund/59621974
With a getPayInApi().get(), we have a NPE on payIn.getPaymentType. It seems to be a special payin type.
Here is the stacktrace:
java.lang.NullPointerException: null
at
com.mangopay.core.deserializer.PayInDeserializer.deserialize(PayInDeserializer.java:25)
at
com.mangopay.core.deserializer.PayInDeserializer.deserialize(PayInDeserializer.java:19)
at
com.google.gson.internal.bind.TreeTypeAdapter.read(TreeTypeAdapter.java:69)
at com.google.gson.Gson.fromJson(Gson.java:927)
at com.google.gson.Gson.fromJson(Gson.java:994)
at com.google.gson.Gson.fromJson(Gson.java:967)
at com.mangopay.core.RestTool.castResponseToEntity(RestTool.java:518)
at com.mangopay.core.RestTool.doRequest(RestTool.java:420)
at com.mangopay.core.RestTool.request(RestTool.java:144)
at com.mangopay.core.RestTool.request(RestTool.java:168)
at com.mangopay.core.APIs.ApiBase.getObject(ApiBase.java:303)
at
com.mangopay.core.APIs.implementation.PayInApiImpl.get(PayInApiImpl.java:46)
at
com.hopwork.payment.service.DefaultMangoPayService.getPayIn(DefaultMangoPayService.java:411)

Hello @julientard,
Are you trying to get informations from the refund itself, or the transaction related to the refund?
On both cases, this is not a Payin but a Payout or a Refund, and you need to use PayoutApi or RefundApi.
Please feel free to share your feedback and some extra insights, I'll be very happy to help you solve your issue !
Mickaël

I'm trying to get more information on a transaction, whatever it is. I first call TransactionAPI, and for each transaction i make a call on PayinAPI, PayoutApi or TransferAPI depending on the field type of the transaction.
For this particular transaction, which is I agree a specific case (refund of a payout), the TransactionApi tells me it's a payin. So it seems logical to me to make a call on the PayinAPI.
There is several inconsistent things:

The TransactionAPI should not say it's a PAYIN if it's not, but it's missing a REFUND type maybe
The PayinAPI should not return a result if you consider it's not a PAYIN, it should return a 404.
Before upgrading to SDK 2.8 (I was on SDK 1.2), it was working perfectly fine. So it's really how the sdk handle the API response.

I don't know what's the best way to handle these transactions, but I thing it needs an improvment somewhere.

In this code
 PayIn payIn = new Gson().fromJson(object.toString(), PayIn.class);
        switch (payIn.getPaymentType()) {
            case BANK_WIRE:
                PayInPaymentDetailsBankWire payInDetails = new PayInPaymentDetailsBankWire();
                if (object.has("DeclaredDebitedFunds") && !object.get("DeclaredDebitedFunds").isJsonNull())
                    payInDetails.setDeclaredDebitedFunds((Money) context.deserialize(object.get("DeclaredDebitedFunds"), Money.class));
                if (object.has("DeclaredFees") && !object.get("DeclaredFees").isJsonNull())
                    payInDetails.setDeclaredFees((Money) context.deserialize(object.get("DeclaredFees"), Money.class));
                if (object.has("BankAccount") && !object.get("BankAccount").isJsonNull())
                    payInDetails.setBankAccount((BankAccount) context.deserialize(object.get("BankAccount"), BankAccount.class));
                if (object.has("WireReference") && !object.get("WireReference").isJsonNull())
                    payInDetails.setWireReference(object.get("WireReference").getAsString());

                payIn.setPaymentDetails(payInDetails);
                break;

first line fails, because Gson will already try to deserialize payInDetails  or executionDetails and will fail because those are interfaces.


Go 1.4 builds as specified in the Dockerfile fail on macOS Sierra

Go reimplements its own syscall interface on OSX instead of using libSystem as Apple recommends/requires. Because of that, if Apple changes their syscall ABI, Go programs can break, and that happened with Sierra.
More detail here: https://github.com/golang/go/commit/2da5633eb9091608047881953f75b489a3134cdc
I have it working again by just switching the Hologram Dockerfile to use 1.7 instead of 1.4, but haven't had a chance to put together a proper PR yet. If someone wants to make the one-character change (plus a comment character) before I get to the PR, please be my guest 😄

Thanks!  Yes, I have a PR for this we'll be merging in shortly.  Thanks for reporting.

Great, thanks for the quick response!

Had to make a couple other changes to the Dockerfile, but looks good now.


Bump version to 1.0.0

Codecov Report

Merging #9 (f2cfae6) into develop (1fe8d6b) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           develop        #9   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            4         4
  Lines           97        97
=========================================
  Hits            97        97

Continue to review full report at Codecov.

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


untangle package naming request: angular-local-storage and ngStorage

HI I'm not the maintainer of either project, but here's the issue :
If someone types:
bower install ngStorage

they will install angularLocalStorage
but if someone types
bower install ngstorage

they will install ngStorage
That doesn't seem right.
Ref:  bower ngStorage #78
Ref: [ bower install messes ngstorage and ngStorage #62 ] (https://github.com/gsklee/ngStorage/issues/62)
I've contacted the owner of angular-local-storage, and requested a change action, however I haven't received a response, and the angularLocalStorage maintainer appears to be inactive on github. :/
I've also read the angular-local-storage readme and it appears that the proper way to install angularLocalStorage is the following:
bower install angularLocalStorage

So I'm not sure if removing ngStorage from the bower registry would be a breaking change. I know everyone there is busy, but this is a real drag for people who wish to use the ngStorage module, and have to find out the hard way that they didn't install the module they intended to install.
Hope there is something that can be done.

Sorry, we can't do much about it. Users already can depend on these packages.


Fix subtracting colors and quats

This was broken in Variant refactor.
I wonder if there are other missing operators.

I wonder if there are other missing operators.

Looking at the Add variant, maybe Quat?

I wonder if there are other missing operators.

Looking at the Add variant, maybe Quat?

Confirmed, could you add it?
And while at it, can you fix the typo in the GDScript error that these raised?
modules/gdscript/gdscript_analyzer.cpp
1619:                                   push_error(vformat(R"(Invalid operands to operator %s, %s and %s.".)",

There's an extra ". that shouldn't be there.

Thanks!


Add snippet for Polymer.Element syntax

Snippet to create new elements with the 2.0-preview of Polymer.

Updated, thanks for the review! :tada:


Need Support to Use Proxy

As title, if this workflow support using proxy to interact with twitter web apps?

Hmm. Not sure how I'd support that within Alfred. This workflow just opens links in your preferred client, but doesn't handle how those connections are routed over the internet.


Update autoquadmesher.py

@waltersma Can you make sure this gets corrected internally as well?

@ninad-kamat there is an associated bug for this but will follow up to ensure it is actioned.


Refresh Kernel in SAS Session

Is your feature request related to a problem? Please describe.
When coding in .sasnb notebooks in SAS Viya Workbench, it can happen that a cell takes too long to execute and it can't be stopped with the interrupt button. Specifically, after pressing the interrupt button, there is a "cancelling SAS jobs" message that shows up but the cell does not stop from running.
This is something that also happens in Python programming: when stopping a cell that is taking too long, often times the Interrupt button is not enough to stop the process and the .ipynb notebook forces you to refresh the kernel to resume coding.
Describe the solution you'd like
It would be nice to have a Refresh Kernel button for sas notebooks similar to the one already available for .ipynb notebooks. The button should clear the session from all on-going processes and reset all the macro variables/functions that have been defined. Additionally, when trying to stop a cell from running is taking too long, a message stating to refresh the kernel should pop-up (as it is already the case for .ipynb notebooks).
Describe alternatives you've considered
Currently, when a SAS cell is taking too long to execute and is not stopping after pressing the Interrupt button, I need to shut down my entire workbench instance to make sure that the SAS Code stops from running.
Additional context
N/A
Environment
SAS Viya Workbench

Does Close Session (hovering the profile at the bottom) work in this case?

I have tried but the code still runs, it is not killed by the Close Session button.
Once I click on the Close Session button I correctly see the "The SAS session has closed" banner in the bottom right part of screen yet, as seen from the picture below, even after 10+ minutes the cell is still executing


Parse error

https://github.com/Glavin001/atom-beautify/issues/1547

Responded in original issue, closing this one 🐙


CPLAT-3968 CPLAT-3969 Add unconvertJsProps() util to react_client.dart

Description
The getJsProps() method in over_react makes more sense in this library, as it is intended to be used only with JS components and not Dart components. over_react has its own getProps() that should be sufficient (and uses getJsProps() internally).
To avoid naming conflicts and ambiguous imports in over_react, I've added the same functionality under a different name: unconvertJsProps(). This should also help clarify its intended usage in the future when some additional JS map work is taken on.
Additionally, logic was added to handle the unconverting of the JS event handlers (they are converted to their synthetic counterparts when added), which is necessary for Dart 2 compatibility.
Testing

[ ] CI passes
[ ] Verify this branch with over_react (on dart 1 and dart 2) as well as any other internal consumer large enough to instill adequate confidence

Code Review
@greglittlefield-wf @aaronlademann-wf @kealjones-wk @corwinsheahan-wf

+1

@greglittlefield-wf I went ahead and added a dartfmt check to CI since we recently formatted this repo

+1

+1

Consumer tests:

over_react (dart 1): https://travis-ci.org/Workiva/over_react/builds/490271779
over_react (dart 2): https://travis-ci.org/Workiva/over_react/builds/490273413
WSD: https://ci.webfilings.com/build/1620067

+1, merging


Add ReasonML LSP

This adds the ReasonML LSP that's being actively developed by wonderful folks like Jared Forsyth and Cheng Lou.

Thanks.


"libvirt or KVM" in TOC leads to fedora/flannel_multi_node_cluster/

Here: https://github.com/kubernetes/kubernetes.github.io/blame/997fdd164c871eefb4115fb7e54ee94f9be8a333/_data/guides.yml#L77
fedora/flannel_multi_node_cluster/ already have it's place in TOC: https://github.com/kubernetes/kubernetes.github.io/blame/997fdd164c871eefb4115fb7e54ee94f9be8a333/_data/guides.yml#L101

Note: That's how it was on the old site and I just copied it. I agree it's not the best to have one topic show up in multiple places in the left-nav, though I did make sure that our left nav can support this scenario.
@bgrant0607 Is it okay to have this topic in both places in the left-nav?

The "libvirt or KVM" link is wrong. Please delete that entry and add "(using libvirt or KVM)" to the "oVirt" line.


Autocomplete failure cases

[ ] tables in ON clause
[ ] aliases tables
[ ] tables in INSERT INTO clauses

SELECT *
FROM employee AS manager
JOIN employee AS subordinate ON subordinate.manager_employee_id = manager.id

In the above example, when typing the ON clause neither aliased table is suggested nor is either column from the aliased table suggested. All four should be.

just gonna have a running issue for autocomplete failures because theres actually quite a few at the moment.

https://github.com/JetBrains/intellij-community/blob/master/platform/lang-api/src/com/intellij/codeInsight/completion/CompletionContributor.java
intellij copies your file into a duplicate file and inserts a dummy identifier ("intellijIdeaRulezzz") at the cursor position to guarantee there is no empty identifier. You can set this identifier yourself in a completion contributor, meaning if we're smart about it we can set up our own dummy identifier, run a regular resolver and when it sees that identifier stop resolution and return a result of the scoped+available values, which are equivalent to the variants available during code completion.


HIVE-25824: Upgrade log4j dependencies to 2.17.0

What changes were proposed in this pull request?
This change should mimic what done in the 3.x and master branches to fix the various CVEs related to log4j.
How was this patch tested?
The Apache Bigtop project used the same patch on top of 2.3.6 (released with Bigtop 1.5) and all our build/smoke-tests passed.
More info https://github.com/apache/bigtop/pull/844

Running mvn clean install leads me to:
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.apache.hadoop.hive.llap.tezplugins.TestLlapTaskSchedulerService
[INFO] Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.385 s - in org.apache.hadoop.hive.llap.tezplugins.TestLlapTaskSchedulerService
[INFO] Running org.apache.hadoop.hive.llap.tezplugins.TestLlapTaskCommunicator
[ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.075 s <<< FAILURE! - in org.apache.hadoop.hive.llap.tezplugins.TestLlapTaskCommunicator
[ERROR] org.apache.hadoop.hive.llap.tezplugins.TestLlapTaskCommunicator.testFinishableStateUpdateFailure  Time elapsed: 1.025 s  <<< ERROR!
java.lang.NullPointerException
	at org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos$SignableVertexSpec$Builder.setUser(LlapDaemonProtocolProtos.java:4842)
	at org.apache.hadoop.hive.llap.tez.Converters.constructSignableVertexSpec(Converters.java:135)
	at org.apache.hadoop.hive.llap.tezplugins.LlapTaskCommunicator.constructSubmitWorkRequest(LlapTaskCommunicator.java:726)
	at org.apache.hadoop.hive.llap.tezplugins.LlapTaskCommunicator.registerRunningTaskAttempt(LlapTaskCommunicator.java:334)
	at org.apache.hadoop.hive.llap.tezplugins.TestLlapTaskCommunicator$LlapTaskCommunicatorWrapperForTest.registerRunningTaskAttemptWithSourceVertex(TestLlapTaskCommunicator.java:336)
	at org.apache.hadoop.hive.llap.tezplugins.TestLlapTaskCommunicator.testFinishableStateUpdateFailure(TestLlapTaskCommunicator.java:142)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)

If anybody could help/chime-in I'd be grateful, I think that the errors pointed out above is unrelated to my change (not sure about the one that Travis is complaining about thought).

@elukey yes, branch-2.3 currently has a bunch of flaky tests which your PR is probably unrelated.

@sunchao how should we proceed with this pull request?

Sorry for the late reply @elukey ! it seems the CI run failed due to timeout. Let me re-trigger it first.

Merged to branch-2.3, thanks @elukey !

@sunchao thanks a lot for your support! Is there any chance to get a new release in the future?

@elukey yes I'll try to start a new release for branch-2.3 soon, perhaps in a few weeks.

@sunchao any updates on when a 3.x branch update might be released? Seems the last release was July 2020, and with the log4j vulnerability it seems it would be a high priority fix to publish a new version for.

@Gingernaut I believe Naveen is planning to make a 3.x release soon. You can subscribe to https://issues.apache.org/jira/browse/HIVE-25855 for the latest update.

When checking the version  of hive, it's still showing 2.3.6.
bin/hive --version

Hive 2.3.6-amzn-0
Git git://<ip-address>/workspace/workspace/bigtop.release-rpm-5.28.1/build/hive/rpm/BUILD/apache-hive-2.3.6-amzn-0-src -r a3b61461af0d6b4d981c915b0a1f342464987aaa

Compiled by ec2-user on Sat Dec 14 09:17:06 UTC 2019
From source with checksum 308f8d79fe62254ef0c65ed73f5847ca

Any ideas?

Hive 2.3.6-amzn-0? is not official Apache release though. Where did get it?


Include some documentation in the Readme, please

Hey. This asset on the Godot Asset Library does a terrible job of linking back to its source anywhere useful (probably their fault moreso than yours), and as such it took me nearly 20 minutes of scratching my head before I eventually found https://github.com/Beliaar/godot-yaml/blob/master/demo/Button.gd
Which seems to currently be the only documentation on how to properly use this at the moment?
I would very much appreciate if you would write clearly and explicitly that the functions are named "print" for output and "parse" for input (and any information on what happens in case of parsing errors) and link to the actual source repo somewhere in the little readme.md, please.
Thank you so much!

Heya, yes, you are right. I will look into adding that in the next days.

Closing for now, reopen if the current readme is not sufficient.


Crashes with missing metadata in Android Application

Getting java.lang.IllegalStateException: missing metadata: /com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_IN while trying to parse a number.
Using
compileSdkVersion 23     buildToolsVersion '23.0.0'
and library version 7.0.10

I think this may be a dup of issue #528.

@dlyongemallo no solution there. i guess gradle jar has issues

@rachitmishra  @dlyongemallo
I am facing this in release mode that is after applying progaurd. Only recent change i did is updating the play services version from 9.0.0 to 9.4.0
Fatal Exception: java.lang.IllegalStateException: missing metadata: /com/google/i18n/phonenumbers/data/PhoneNumberMetadataProto_IN
at com.google.i18n.phonenumbers.MultiFileMetadataSourceImpl.loadMetadataFromFile(SourceFile:103)
at com.google.i18n.phonenumbers.MultiFileMetadataSourceImpl.getMetadataForRegion(SourceFile:79)
at com.google.i18n.phonenumbers.PhoneNumberUtil.getMetadataForRegion(SourceFile:1994)
at com.google.i18n.phonenumbers.PhoneNumberUtil.parseHelper(SourceFile:2844)
at com.google.i18n.phonenumbers.PhoneNumberUtil.parse(SourceFile:2705)
at com.google.i18n.phonenumbers.PhoneNumberUtil.parse(SourceFile:2695)

This is a duplicate of #1249.

(And no longer be an issue with the current code.)

Please take a look at our new resource loading FAQ, the fix is probably to call PhoneNumberUtil API outside the main thread.


How can I use SharpDX with the Framework v4.0?

How can I use SharpDX with the Framework v4.0?

One way is to use a SharpDX version prior to 3.x.x.
For example, SharpDX 2.6.3. Note that it's missing APIs for Direct3D12.

Thank you @discosultan  I want to use the RawInput API to handle input from multiple keyboards (Tell which keyboard send the key) but seemingly it does not support this feature!

Latest pre-release version of SharpDX (4.0.0+) have reintroduced support for 4.0


[BUG] Custom Inject Decorator Issue

Describe the bug
I am using Mikro-ORM and am trying to use it by injecting the EntityManager object through DI, but it can only be injected based on property, so I am trying to create a separate decorator (like JPA's PersistenceContext) and use it, but instead of EntityManager, MikroOrmRegistry is returned. How can I solve this?
To Reproduce
// adapter
@Injectable()
export class EntityPersistenceAdapter {
  constructor(
    private readonly mapper: PostMapper,
    @PersistenceContext()
    private readonly em: EntityManager
  ) {}
}

// custom decorator
export const PersistenceContext = (
  contextName?: string,
): ParameterDecorator => {
  return Inject(
    MikroOrmRegistry,
    (registry: MikroOrmRegistry) => registry.get(contextName)?.em,
  ) as ParameterDecorator;
};

Expected behavior
// expect
console.log(
      'em instanceof EntityManager',
      this.em instanceof EntityManager,
    ); // true

// runtime
console.log(
      'em instanceof EntityManager',
      this.em instanceof EntityManager,
    ); // false

console.log(
      'em instanceof MikroOrmRegistry',
      this.em instanceof MikroOrmRegistry,
    ); // true

Code snippets
No response
Repository URL example
No response
OS
macOS
Node version
v20.13.1
Library version
v7.69.4
Additional context
No response

Hello @KimTaeHyung91
Because isn't possible to hive custom resolver forv Inject decorator while it's used as constructor param decorator.
This is not a bug. And I don't want to implement that on constructor level. It will commlexify the DI.
Please just use the decorator Inject on propertuy and use $onInit hook instead the constructor to initialize your logic
Please this issue if all is fine.
See you


APEXMALHAR-1983 #resolve #comment split string in setter

@tweise please review

Build failure is unrelated. Can this be merged?