How to move tapped item to center in carousel

I am using this plugin, i have 6 items and kept in carousel. After tapping on any item it should come to center. I don't know how to implement this feature.
code:
<Carousel
          ref={(c) => { this._carousel = c; }}
          data={this.props.entries}
          renderItem={this._renderItem}
          onSnapToItem={this.handleSnapToItem}
          sliderWidth={sliderWidth}
          itemWidth={itemWidth}
          layout={'default'}
          onLayout={() => {
            this._carousel.snapToItem(this.state.activeSlide);
          }}
        />

<View onPress={ () => {
                                   this.setState({
                                     activeSlide: index
                                   })></View>

 handleSnapToItem = () => {
    // console.log("snapped to ", index);
    this._carousel.snapToItem(this.state.activeSlide);
  }

#1 View don't use onPress
#2 Remove the props onSnapToItem from the Carousel component
#3 follow this quick steps
If you want to center the item when you touch it, you just need to add a
_renderItem = ({item, index}) => ( <TouchabaleOpacity onPress={() => this._carousel.snapToItem(index)}> // your code here </TouchableOpacity> )
I hope it was helpful !


Create 0000-01-02-lokeshpedduri.md

Created new file step 5, committed and rasing PR

Step 7: Respond to a review
Your pull request is looking great!
Let’s add some content to your file. Replace line 5 of your file with a quotation or meme and witty caption. Remember: Markdown is supported.
⌨ Activity: Change your file

Click the Files Changed tab in this pull request
Edit your newly added file
Replace line 5 with something new
Scroll to the bottom and click Commit Changes

Note : Can't find the button to edit the file? It may look like a pencil, or it may look like three dots.
I'll respond when I detect a commit on this branch.

Done


Resolved TravisCI Issues

Travis Flagged a couple of issues with links in the Readme. This resolves them.
Issues :-(
> Links
  1. [L082] 301 http://demo.convos.by/  → https://demo.convos.by/
  2. [L087] 301 https://thelounge.github.io/  → http://thelounge.chat/
  3. [L087] 301 https://github.com/thelounge/lounge  → https://github.com/thelounge/thelounge

See the TravisCI log for more details.

Update:
Ironically https://botbot.me had a couple of 5XX errors in the time when Travis was checking. I'm going close and reopen this PR.

And this should trigger a Travis build.

Thank you for the contributions :)


Fix a invalid indentation

Make sure you're opening this pull request pointing to beta branch!
What does this PR do/solve?
Fix a typo in example!
closes #327

examples updated and fixed in #330


Define local function APIs to call the Config File parameters

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.skolip200 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


readline broke OSX build

so there are 2 issues as of the readline merge.

readline.get_line_buffer is a function so its missing () operator
adding the operator, you notice that process_next_action() is now continusly looping without user input, since readline.get_line_buffer() seems to be a none blocking call.

Traceback (most recent call last):
  File "ai_dungeon_cli/__init__.py", line 353, in <module>
    main()
  File "ai_dungeon_cli/__init__.py", line 337, in main
    ai_dungeon.start_game()
  File "ai_dungeon_cli/__init__.py", line 303, in start_game
    self.process_next_action()
  File "ai_dungeon_cli/__init__.py", line 294, in process_next_action
    if user_input.startswith("/remember"):
AttributeError: 'builtin_function_or_method' object has no attribute 'startswith'

#11 should fix this

Thanks!
I merged on a phone wo/ the ability to test.
I really need to implement automated tests.

It works ok now

cool, this can be closed so


Any plans to support compiler without c++11 support?

No that is not possible with this interface and C++11 is 6 years old now


Update for 1.9.5

Please update for version 1.9.5 which is released recently

I will update it later this week.

I will update it later this week.

Hey can you Push the update ,if you have modified the repo ?


[wip]- pairwise ranking objective implementation on gpu

there are couple of more algorithms (ndcg and map) for which support will be added
as follow-up pr's
with no label groups defined, get gradient is 90x faster on gpu (120m instance
mortgage dataset)
it can perform by an order of magnitude faster with ~ 10 groups (and adequate cores
for the cpu implementation)

I spent some time on ROC-AUC and PRAUC.  Will have follow up PRs for those metrics.

@hcho3 is it possible for me to restart the build (or more preferably just the pieces that failed)? the failure seems to be a transient error not related to this pr.

@sriramch I restarted the Test stage.

@sriramch I restarted the Test stage.

@hcho3 thanks for the super fast response - much appreciated!

@sriramch I restarted the Test stage.

@hcho3 it looks like tha ci/jenkins/pr-merge hasn't been restarted. can you start that as well, or is that a downstream job to the test build?

@sriramch I think MS has some datasets used for learning to rank: https://www.microsoft.com/en-us/research/project/mslr/ There are used in multiple benchmarks.

thanks @trivialfis. yes, i was using that before as well and was wondering if there are others that are like that.

@RAMitchell @trivialfis @rongou - please look now.
i'm working on getting some performance numbers. i'll document them here soon.

test environment

1 socket
6 cores/socket
2 threads/core
80 gb system memory
v100 gpu

test

tree method is gpu_hist
uses all cpu threads
100 trees
objective is rank:pairwise

small mslr dataset

~ 3.6m training instances
distributed over ~ 10k groups
consuming 3.9 gb disk space
master does the gradient computation on cpu
fork does the gradient computation on gpu - i.e. this pr

branch
get_gradient(s)
peak_memory_usage(mb)
map-metric
auc-metric
rmse-metric

master
6.1
2163
.654110
1.053581
.852861

fork
0.5
2218
.653650
1.052807
.851833

large mslr dataset

~ 11.3m training instances
distributed over ~ 95k groups
consuming 13 gb disk space
master does the gradient computation on cpu
fork does the gradient computation on gpu - i.e. this pr

branch
get_gradient(s)
peak_memory_usage(mb)
map-metric
auc-metric
rmse-metric

master
18.5
4328
.659504
1.069513
.861250

fork
1.2
4501
.659607
1.069124
.860611

Will look into it soon.   I'm thinking about generalizing the bucketing procedure in ranking.  Maybe as a future work.

@trivialfis i have addressed your comments. please relook.

Codecov Report

Merging #4873 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #4873   +/-   ##
=======================================
  Coverage   71.82%   71.82%
=======================================
  Files          11       11
  Lines        2300     2300
=======================================
  Hits         1652     1652
  Misses        648      648

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 7e72a12...0c06684. Read the comment docs.

@RAMitchell Do you have other comments?  Otherwise I will merge it tomorrow so that I can rebase.

Rebasing right now.

@hcho3 the past 3 commits to dmlc head has been failing on lint checks on python code. i mention this here, simply because the commit builds here are failing in a similar fashion. would you be able to look at this?

@RAMitchell i have addressed your comments. please look when you get a chance.

@sriramch See #4971. Can you review it?

@hcho3 Merged master into here.  Let's don't skip test whenever possible.

That's funny.  CPU worker timed out.

@hcho3 Do you have any idea for the following error:
Scanning dependencies of target xgboost4j

[2019-10-22T07:35:13.008Z] [ 93%] Building CXX object CMakeFiles/runxgboost.dir/src/cli_main.cc.o

[2019-10-22T07:35:13.008Z] [ 95%] Building CXX object jvm-packages/CMakeFiles/xgboost4j.dir/xgboost4j/src/native/xgboost4j.cpp.o

[2019-10-22T07:35:15.456Z] [ 96%] Linking CXX shared library ../../lib/libxgboost4j.so

[2019-10-22T07:35:15.797Z] [ 96%] Built target xgboost4j

[2019-10-22T07:35:20.792Z] [ 98%] Linking CXX executable ../xgboost

[2019-10-22T07:35:20.792Z] /opt/rh/devtoolset-4/root/usr/libexec/gcc/x86_64-redhat-linux/5.3.1/ld: cannot open output file ../xgboost: Is a directory

[2019-10-22T07:35:20.792Z] collect2: error: ld returned 1 exit status

[2019-10-22T07:35:20.792Z] gmake[2]: *** [../xgboost] Error 1

[2019-10-22T07:35:20.792Z] gmake[1]: *** [CMakeFiles/runxgboost.dir/all] Error 2

[2019-10-22T07:35:20.792Z] gmake: *** [all] Error 2

[2019-10-22T07:35:20.792Z] building Java wrapper

[2019-10-22T07:35:20.792Z] cd ..

@trivialfis I'm looking into the timeout issue. Give me a few more minutes.

@sriramch So happy to finally merge this.  Big thanks for you good work!


Replace Groovy with Kotlin or others

Recently Groovy is not so actively developed, and problems like #523 are not solved.
But when we replace the existing Groovy code, the build fails due to https://github.com/gradle/gradle/issues/12321, https://github.com/gradle/gradle/issues/4030, or other issues.
It would be better to handle this as a part of the next major release.
Sample migration: https://github.com/spotbugs/spotbugs-gradle-plugin/compare/spotbugs:cd8f3dd...spotbugs:0ffeca7

I'm hitting Groovy<->Kotlin enum issues with Spotbugs plugin version 6.0.2 on Gradle 8.5. I would be willing to rewrite the plugin in Java, but I doubt that that change would be ABI compatible for Kotlin consumers. It might not even be source compatible; I haven't looked at the API closely enough to tell.


GateMate - Verilator relationship

The published tool installation instructions for GateMate, as well as its published Blinky example, use only Icarus simulator. Yet, Verilator is a much faster, more modern, better supported, and in most aspects more capable / more mainstream simulation tool than Icarus.
While this project is providing sim examples for Verilator, this is to urge CologneChip to include Verilator in their official tools package.

... here is a good example of immense value that inclusion of Verilator to design flow brings to the table


Message text not displayed in Skype when attachment is a list of hero cards.

I am sending a message using this code :
var msg = new builder.Message(session)
                    .textFormat(builder.TextFormat.xml)
                    .text("Here are the button list ...")
                    .attachmentLayout(builder.AttachmentLayout.carousel)
                    .attachments([
                        new builder.HeroCard(session)
                        .buttons(buttonsList) // list of button created already
                    ]);

on skype , only buttons are appearing not the msg text. While on bot emulator its working fine.

In Skype you can't send text which is associated with the carousel as a whole (only text for each card). An alternative would be to send a message, followed by the carousel.


Repl arrow in input not vertically centered on Windows

@isidorn fyi as shown during standup. maybe the line-height is missing on the element containing the icon?

Now it is not vertically centered in macOS:

DUp of https://github.com/Microsoft/vscode/issues/14429

Actually, let's move it to #14649.


Unable to update registry - unknown error occurred

How can I debug this?
$ cargo build --verbose
    Updating registry `https://github.com/rust-lang/crates.io-index`
error: Unable to update registry https://github.com/rust-lang/crates.io-index

Caused by:
  [0/-1] an unknown error occurred
$ cargo -V
cargo 0.11.0
$ rustc -V
rustc 1.10.0-dev

I get the same thing trying to install git-series:
$ cargo install --verbose --root ~/.local git-series
    Updating registry `https://github.com/rust-lang/crates.io-index`
error: [0/-1] an unknown error occurred

See https://github.com/git-series/git-series/issues/25 for more details.

Hm this is likely coming from git2-rs where apparently it thinks an operation failed but libgit2 disagrees. Can you reproduce this reliably locally? Do you have perhaps any filesystem weirdness set up around CARGO_HOME ($HOME/.cargo)?

I can reproduce this 100% of the time locally.  No I haven't set CARGO_HOME or anything else related - it's the first time I ever tried Cargo so it's a totally vanilla setup and I didn't even know about that environment variable!  I do have a complex ~/.gitconfig, so after reading about Cargo issues triggered by use of insteadOf, I tried again after renaming that file, but it didn't help.
I have no experience with rust either, but I am an experienced developer who is keen to help debug this, if you can just give me some pointers of where to look :)  I tried --verbose as originally suggested by cargo install but it didn't make any difference.  Thanks!

Ah well if you're willing to help debug, let's keep digging!
How'd you install Cargo? I wonder if maybe it's using a different libgit2 version that's out of sync?

Also if you can get a debug build of Cargo, you could try breaking on this line. That'll give a stack trace as to what called the operation that purportedly failed.

Thanks for the reply!  I installed Cargo from the Open Build Service.
Well, this is incredibly weird.  I just re-ran this for the hell of it:
$ cargo install --verbose --root ~/.local git-series

and now I'm getting a verbose build with a totally different failure! #wtf
[...]
   Compiling tempdir v0.3.5
     Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/tempdir-0.3.5/src/lib.rs --crate-name tempdir --crate-type lib -C opt-level=3 -C metadata=c5a9975021308003 -C extra-filename=-c5a9975021308003 --out-dir /tmp/cargo-install.x1BdtE9KCHF8/release/deps --emit=dep-info,link -L dependency=/tmp/cargo-install.x1BdtE9KCHF8/release/deps -L dependency=/tmp/cargo-install.x1BdtE9KCHF8/release/deps --extern rand=/tmp/cargo-install.x1BdtE9KCHF8/release/deps/librand-49a08859d086fffe.rlib --cap-lints allow`
.cargo/registry/src/github.com-1ecc6299db9ec823/clap-2.13.0/src/errors.rs:857:35: 857:46 error: no method named `description` found for type `std::fmt::Error` in the current scope
.cargo/registry/src/github.com-1ecc6299db9ec823/clap-2.13.0/src/errors.rs:857         Error::with_description(e.description(), ErrorKind::Format)
                                                                                ^~~~~~~~~~~
error: aborting due to previous error
Build failed, waiting for other jobs to finish...
error: failed to compile `git-series v0.8.10`, intermediate artifacts can be found at `/tmp/cargo-install.x1BdtE9KCHF8`

Caused by:
  Could not compile `clap`.

Caused by:
  Process didn't exit successfully: `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/clap-2.13.0/src/lib.rs --crate-name clap --crate-type lib -C opt-level=3 --cfg feature="term_size" --cfg feature="strsim" --cfg feature="wrap_help" --cfg feature="ansi_term" --cfg feature="libc" --cfg feature="default" --cfg feature="color" --cfg feature="suggestions" -C metadata=315a0a334d3f6b4c -C extra-filename=-315a0a334d3f6b4c --out-dir /tmp/cargo-install.x1BdtE9KCHF8/release/deps --emit=dep-info,link -L dependency=/tmp/cargo-install.x1BdtE9KCHF8/release/deps -L dependency=/tmp/cargo-install.x1BdtE9KCHF8/release/deps --extern vec_map=/tmp/cargo-install.x1BdtE9KCHF8/release/deps/libvec_map-d843695eff67d492.rlib --extern unicode_width=/tmp/cargo-install.x1BdtE9KCHF8/release/deps/libunicode_width-bcfd50e6d35d16e0.rlib --extern term_size=/tmp/cargo-install.x1BdtE9KCHF8/release/deps/libterm_size-9fd23557733de795.rlib --extern unicode_segmentation=/tmp/cargo-install.x1BdtE9KCHF8/release/deps/libunicode_segmentation-e3fd0169850011a0.rlib --extern strsim=/tmp/cargo-install.x1BdtE9KCHF8/release/deps/libstrsim-b42a694875d9a3b0.rlib --extern ansi_term=/tmp/cargo-install.x1BdtE9KCHF8/release/deps/libansi_term-aa5dcc2affa8dc75.rlib --extern bitflags=/tmp/cargo-install.x1BdtE9KCHF8/release/deps/libbitflags-0e272044714c8076.rlib --extern libc=/tmp/cargo-install.x1BdtE9KCHF8/release/deps/liblibc-1417726cb94dbc83.rlib --cap-lints allow` (exit code: 101)

Apparently this is an incompatibility with newer clap with older rust: kbknapp/clap-rs#663
I have rustc 1.10.0-dev and apparently I need 1.11 to fix this, which unfortunately will require updating some distribution packages ...
But I have no idea why the original error magically vanished!

Interesting! It sounds like you're installing from a "non standard" location (in these that it's not literally our nightlies), so maybe the build process there was different and maybe cargo wasn't compiled quite right? I guess there's not much we can do until it can get reproduced again :(

The details of the build process are all here:
https://build.opensuse.org/package/show/devel:languages:rust/rust
In particular, you can see in the .spec file the URL used to obtain the source tarball and exactly how it was built.  The build log is also just one click away from that page.
I have literally zero experience in building rust, but that .spec file looks very standard to me.  I wonder is it possible that the original problem was caused by some temporary internet glitch?

Hm unfortunately I can't quite deduce how this may have arisen from that, so maybe it's unrelated! I guess ping again if you get a reproduction?

Yeah, I certainly will!  I guess we can close this issue and reopen if necessary?

Ok, sounds good to me!


Change EDKII spec(s) to mention default MODULE TYPE for library if the library supports multiple modules. (Bugzilla Bug 834)

This issue was created automatically with bugzilla2github
Bugzilla Bug 834
Date: 2018-01-02T01:17:58+00:00
From: Younas khan <>
To:   nobody <>
CC:   nobody, yonghong.zhu
Last updated: 2018-12-10T20:03:09+00:00

Comment 3342
Date: 2018-01-04 19:13:03 +0000
From: Yonghong Zhu <<yonghong.zhu>>
Bug scrub: Assign to mike to investigate first.

Comment 3375
Date: 2018-01-11 01:26:56 +0000
From: nobody <>
Library header file can assume the base definitions have been included. It doesn't need to include the type header file again. If it depends on other definitions from Ppi/Protocol/Guid/IndustryStand, it needs to obviously include them. This is edk2 design policy. Each module includes the type header file, the public Ppi/Protocol/Guid/Library header file don't include it. Edk2 Driver Writer Guide V1.01 in https://github.com/tianocore/tianocore.github.io/wiki/EDK-II-User-Documentation gives the sample code that always includes <Uefi.h>

Comment 3358
Date: 2018-01-09 00:46:35 +0000
From: nobody <>
Base definition is not required to be included in the header file. For each module type (BASE, PEIM, DXE_DRIVER, UEFI, ..), they need to include Base.h, PiPei.h, PiDxe.h, PiSmm.h or Uefi.h in their source code before include library header file. And, edk2 BaseTools also includes the module type header file into AutoGen.h, and AutoGen.h is always included. Because the basic definition is already in those module type header file, they are not required to be included in the library header file again.

Comment 3308
Date: 2018-01-02 04:52:05 +0000
From: Younas khan <>
Need to add header files used by each library in its own library .h file.
Ex: UefiBaseType.h in DebugLib.h.
Uefi/UefiSepc.h in UefiBootServicesTableLib.h
Changed the bug summary accordingly.
Thank you,
Younas.

Comment 3304
Date: 2018-01-02 02:09:47 +0000
From: Younas khan <>
Also EFI_GUID is used in DebugLib.h
Need to add Uefi/UefiBaseType.h in DebugLib.h
Base.h is already included in UefiBaseType.h
So no need to include Base.h
Changed the bug summary accordingly.
Thank you,
Younas.

Comment 3303
Date: 2018-01-02 01:17:58 +0000
From: Younas khan <>

Industry Specification: ---
Target OS: ---
Bugzilla Assignee(s): nobody <>

Base.h is needed in DebugLib.h due to following macro:
BASE_CR()
Please add it to DebugLib.h
Also check if any other files are using any other macros from some other .h files and them too.
Because the driver/module can use it and no need to include Base.h as part of each driver/module.
Thank you,
Younas.

Comment 3359
Date: 2018-01-09 02:26:07 +0000
From: Younas khan <>
Hi Liming,
It is the responsibility of each library header file to add the functions/macros used from other header files. So that we can avoid declaration of basic header files in each driver/module implementation.
Please share your comments.
Thank you,
Younas.

Comment 3390
Date: 2018-01-12 06:55:38 +0000
From: Younas khan <>
Hi Liming,
I can understand your concern.
Base.h or specific PiPei.h/PiDxe.h etc header files will be included as per EDK II Build specification.
You can close this bug.
Thank you,
Younas.

Comment 3457
Date: 2018-01-19 06:43:27 +0000
From: Younas khan <>
Ok, I got your point.
Currently I mentioned the MODULE_TYPE as BASE and while building Uefi header files are not included and Base.h is included as you said.
Consider a library which is applicable only for PEIM, DXE_DRIVER, DXE_RUNTIME_DRIVER, DXE_SMM_DRIVER. In that case, what we should mention in MODULE_TYPE of the library? If it is, Is there any information in any Uefi spec?
MODULE_TYPE       = BASE
LIBRARY_CLASS     = DummyLib| PEIM DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SMM_DRIVER
Thank you,
Younas.

Comment 3512
Date: 2018-01-30 01:09:50 +0000
From: Younas khan <>
Hi Liming,
Can you add/ask someone for EDKII build spec/inf spec related to MODULE_TYPE value for library if library is applicable for multiple modules?
Thank you,
Younas.

Comment 3459
Date: 2018-01-22 02:39:29 +0000
From: Younas khan <>
Ok, You can document in wiki. But we can have some standard rule to mention it in EDKII build specification and/or inf specification for libraries.
Please let me know if any concerns.

Comment 3519
Date: 2018-01-30 20:33:50 +0000
From: nobody <>
edk2 build spec can document edk2 build behavior. It can describe which header file will be added based on the module type. And, the shared library is used for PEI, DXE and SMM. Which module type is recommended? This topic is related to edk2 module driver guide. So, I say to add Wiki to introduce this case.

Comment 3454
Date: 2018-01-19 00:02:03 +0000
From: nobody <>
Edk2 library and driver both have MODULE_TYPE. Build tool depends on MODULE_TYPE to include the different header file into AutoGen.h. So, it will not cause the confliction only if the module source code usage matches its module type.

Comment 3438
Date: 2018-01-17 07:57:41 +0000
From: Younas khan <>
Hi Liming,
It works fine for PEIM/Driver, but it will not work for libraries.
I mean automatic inclusion of Base.h/PiPei.h/PiDxe.h will be included in specific module but if any library is using the UefiBase.h or UefiSpec.h then it causes build errors in library while generating the object file for library.
I believe we can add the specific header file while building each library also.
Please share your comments on this.
Thank you,
Younas.

Comment 3458
Date: 2018-01-19 07:57:56 +0000
From: nobody <>
If the library is used by PEIM and DXE driver, its module type should be PEIM or DXE_DRIVER so that it can include the necessary header file. edk2 MdeModulePkg\Library\PeiDxeDebugLibReportStatusCode is just an example. This is the edk2 project usage model. We should add some wiki pages to document it.

Comment 4198
Date: 2018-06-22 01:30:38 +0000
From: Younas khan <>
Liming,
Is there any update on this?
Thank you,
Younas.

Comment 3893
Date: 2018-04-19 08:05:26 +0000
From: Younas khan <>
Liming,
Is there any update on this?
Thank you,
Younas.

Comment 3615
Date: 2018-02-21 01:50:14 +0000
From: Younas khan <>
Is there any update on this?
Thank you,
Younas.

Comment 3623
Date: 2018-02-23 01:58:46 +0000
From: nobody <>
I plan to work it end of Q1 or early of Q2.

Comment 4008
Date: 2018-05-24 02:14:33 +0000
From: Younas khan <>
Liming,
Is there any update on this?
Thank you,
Younas.

Comment 4108
Date: 2018-06-11 03:40:55 +0000
From: Younas khan <>
Liming,
Is there any update on this?
As per your comment #19, you have committed to provide the changes by early Q2.
Thank you,
Younas.

Comment 3532
Date: 2018-02-05 06:55:20 +0000
From: Younas khan <>
Liming,
Thank you.
Can you help to update the document in Edk2 build & module driver guides?

Comment 3533
Date: 2018-02-05 23:42:30 +0000
From: nobody <>
Yes. I will use it to track the change in spec and doc.

Comment 3572
Date: 2018-02-12 01:24:42 +0000
From: Younas khan <>
Updated the Bug details accordingly.

Comment 4634
Date: 2018-08-17 12:57:05 +0000
From: nobody <>
It is still in my Q3 plan.

Comment 4375
Date: 2018-07-23 07:56:40 +0000
From: Younas khan <>
Any update on this?

Comment 4242
Date: 2018-07-09 00:02:58 +0000
From: Younas khan <>
Liming,
Can you please reply for Comment #25?

Comment 4245
Date: 2018-07-09 01:49:54 +0000
From: nobody <>
I will add the contents into EDK_II Module Writer_s Guide section 3.2.2. But now, this doc is not git book. I need to convert it to git book first. It may take some time.

Comment 4207
Date: 2018-06-25 02:30:19 +0000
From: Younas khan <>
Hi Liming,
I got the list of header files included for specific module type in Build spec. But my concern is different and mentioned in comment #10 onwards.
Please revisit comment #10 on-wards and let me know the details.
Thank you,
Younas.

Comment 4202
Date: 2018-06-22 02:28:44 +0000
From: nobody <>
edk2 build spec <IP_ADDRESS> Header files inclusion lists Which files are included is determined by module type. Please check it.

Comment 4626
Date: 2018-08-17 05:55:48 +0000
From: Younas khan <>
Liming,
This issue is created in Jan 2018. Can you please respond on this?

Comment 5732
Date: 2018-12-03 23:08:56 +0000
From: Younas khan <>
Liming,
Is there any update on this?

Comment 5057
Date: 2018-09-21 04:37:41 +0000
From: nobody <>
ModuleWriteGuide has been sent in https://lists.01.org/pipermail/edk2-devel/2018-September/029798.html

Comment 5821
Date: 2018-12-10 20:03:09 +0000
From: nobody <>
Update doc at afecb202781fd48fde1e950684ca229ebf5abf36 in ModuleWriteGuide git book https://github.com/tianocore-docs/edk2-ModuleWriteGuide.git.

Comment 5743
Date: 2018-12-05 09:04:57 +0000
From: nobody <>
Patch is sent https://lists.01.org/pipermail/edk2-devel/2018-December/033523.html


Omnichain swap contract failed to send ZETA on ZetaChain to recipient

Source chain:
https://etherscan.io/tx/0x7c03a9b719a7ac039960f2f72c43ec8d00626e9218b6267257c6bb550be90642
Destination chain hash:
https://zetachain.blockscout.com/tx/0x0aff5e175db8b6f2c2f9f8e632294b10be9349b95dbad271480ad0f1bdd7bc14
This is how we sent the zeta in our contract:
// withdraw WZETA to get aZeta in 1:1 ratio
WZETA.withdraw(outputAmount);
// transfer azeta
(bool sent, ) = payable(senderEvmAddress).call{value: outputAmount}("");
require(sent, "Failed to transfer aZeta");

@andresaiello are there any issues with WZETA withdrawal and subsequent transfer?

@andresaiello can you confirm that this looks like the right way to send native ZETA after withdrawing?

Closing. I guess it's more an issue for protocol-contracts if it is still a problem


Release

Hi @daruvurisai, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla2.dotnetfoundation.org.

TTYL, DNFBOT;

@daruvurisai, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.
Thanks, DNFBOT;


gconf: gtk should be an opt-in dependency

gtk should be an optional dependency of gconf. Furthermore, as it is rather heavy, I think it should be disabled by default. That's what other linux distributions are doing (e.g. Archlinux package or Debian one).
I also stumbled into that discussion, that justifies this choice.

I can't reach the justifying link, but it sounds sensible. Do you know what is gtk+ for in gconf? Maybe @lethalman?

This should probably be rebased against staging which has 3.16 which becomes the mainline gnome.

I don't know, also I don't really care about gconf, it's a gnome2 thing. As long as it doesn't break xfce and others it's fine I guess.

True, it might need synchronization with gnome-3.16 addition (in staging only ATM).

@vcunat There's at least the gconf-sanity-check binary that requires gtk+.


Issue #24: Allow assignment of channels to users and roles

Introduces a mechanism to configure in the document definition which channels should be dynamically assigned to users and/or roles as a document of that type is created, replaced or deleted. The configuration is flexible enough to allow either static (i.e. predefined lists of users/roles/channels) or dynamic (i.e. functions that return computed lists of users/roles/channels) assignment. Also extends the corresponding test-helper module validation functions so that callers can write specs that verify the channels that are assigned to users and roles.
Addresses issue #24.

@dkichler: Ready for another review.


GUI is not finding the docker images

After running following command
docker run -d -e ENV_DOCKER_REGISTRY_HOST=localhost -e ENV_DOCKER_REGISTRY_PORT=5000 --name docker-registry-frontend -p 8080:80 konradkleine/docker-registry-frontend:v2

and going to :8080
browsing repositories does NOT find any docker images
And when i browse :5000/v2/_catalog i am able to see list of docker images via registry API
Anything i missed?

First of all, thank you for your comment.
This is a saved reply. There have been numerous questions like yours and I highly recommend that you take a look at the example-setup directory. It contains a README on how to set up a registry with a backend and it contains a ready-to-use docker-compose.yml file for you to run.
I sorry but I cannot help with every setup request coming in. If you find out something that wasn't documented well enough, please contribute back and open a pull request with your changes to the documentation.
Thank you!

I get what you saying but seems like one cannot just run your image on an already existing docker registry?
Because if i am able to get to an already existing docker registry by hostname and port and then i add the exact hostname and port and yet your image can't find the docker images/repositories, then i suspect it is fair to say your image does not work with already existing docker registry?
Would have been great, because it seems like a simple stuff right? it should see same thing API sees if hostname and port are correct?

Something must be wrong with your setup, I dropped this container right in and pointed to existing repo and it worked. If I had an issue working from the example setup and working backwards to eliminate any discrepancies is how I'd probably debug.

@NitroPye
Can you explain how you built your existing registry and what command you ran to connect the docker-registry-frontend to it?

Not to sound repetitive but I followed the example-setup and then substituted my registry information for the one in the example-setup.
I've noticed that your command to run it looks like this:
ENV_DOCKER_REGISTRY_HOST=localhost

localhost is a super no-no here I think. localhost inside one container is not localhost inside another. This may be part of the problem.
I also utilized docker links to map the frontend to the registry. e.g. https://github.com/kwk/docker-registry-frontend/blob/v2/example-setup/docker-compose.yml#L6

@NitroPye
You are RIGHT!
I changed to ip address instead of using localhost and it worked
Thanks a lot for pointing that out. I think i tried that for another server and it didn't work but now that i retried on a different setup, it now works
Thanks


Feature Request : API to set custom candle colors

This feature would enable customizing individual candles both before and after the chart has been rendered programmatically based upon user-defined conditions.
For example, this API feature would allow end-users to select the top-most or bottom-most candle and set a random color for the that particular candle to mark for some event.

Duplicate of #195


first release of docs

trying new theme
seeing if I can avoid installing package and still have correct version #s

looks like we do need to build the package for the versioning + module reference to work properly. not sure how pyscaffold gets away with it, but maybe it's bc they dont have a module reference as part of their docs...


Revert encap work

Broke the CI tests for some reason even though they passed for the PR.

Is there a link to the failures ? I am looking at this one, not sure if thats the right one.
https://jenkins.cilium.io/job/cilium/job/cilium/job/master/

@mchalla here https://jenkins.cilium.io/job/cilium/job/cilium/job/master/329/execution/node/20/log/?consoleFull


Permission to package.

Hey! @siduck76 I have packaged your dwm build with some modifications and converted your bar.sh into a binary ( dwmblocks ) which I hope to integrate into my GNU/Linux Distribution ( https://github.com/xelphlinux ).
The least I can do to acknowledge that the build was not my own hard-work, is to ask you for a permit to package although the repository is under the MIT license.

@Shinyzenith I wouldnt mind unless you credit me :))

Absolutely, they're in the PKGBUILD and I forked from your repo so it's evident.
Should I put comments with the same in the source code?

just noticed that my autocorrect wrote sideduck XD fixing that.

Fixed!


[JDO-709] Enable Element.TYPE for @Convert

This reverts commit bddffaba0384d1393b9091461ad9eaba0d9848b8 to be consistent with its javadoc.
With this capability, we can avoid as much configuration file as possible, it's very convenient to mark default attribute converter for a type with Java annotation.
Reference: https://issues.apache.org/jira/browse/JDO-709?focusedCommentId=17619585&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17619585

Notify some authors touched this file, please have a look,  thanks! @clr-apache  @mboapache @tobous

The original goal for having Element.Type apply to @Convert was to allow a PersistenceCapable class to have all of the field convert annotations in one place at the definition of the class instead of needing the annotation on each field/property. But this requires new properties on @Convert to identify the field plus the converter for each field. We decided that this use case was not really needed.
But a different use, case recently identified by @Dieken is to annotate the field type for a user-defined class that will by default always use the converter regardless of which PersistenceCapable class the field is defined in. This use case requires the Element.Type to be supported by @Convert.
Note that the JPA annotation supports this use case and therefore there should be minimal changes needed to DataNucleus to support JDO in addition to JPA which is already supported. Perhaps @andyjefferson can comment on whether this can be done easily or if it already should work with JDO if the annotation is enabled.
To properly support this use case we should have TCK tests for it. There are already test cases for AttributeConverters which should have a new test added.
One test case should annotate a new user-defined type with @Convert and verify that the converter is used for date between memory and the datastore. Another test case should override the default case and verify that the override conversion is used instead of the conversion defined in the annotation for the class.


e2e: serial: split tests form workload_placement_test.go - take 4

Split off test that verifies a burstable pod is properly scheduled and doesn't expect for resources to be accounted in NRT. The test is relevant for both TM policies.

/assign @fromanirh
may you have a look please?

fixing lint ..

/assign


Delivery Mode - Not Updating to Post

Describe the bug in current situation
When the delivery mode is set to Post in AXIS (Paper - Post), it syncs and updates to "In-Person Pickup"
It appears to be related to the fact that we don't have Post as a drop-down option.
Link bug to the User Story
Impact of this bug
Will be misleading for delivery purposes
Chance of Occurring (medium)
Will happen on most corrections requests due to post being the typical delivery mode
Pre Conditions: which Env, any pre-requesites or assumptions to execute steps?
Steps to Reproduce
Steps to reproduce the behavior:

Go to an AXIS synced request
Update the delivery mode to paper-post in AXIS
Sync request in AXIS
See error

Actual/ observed behaviour/ results
Expected behaviour
A clear and concise description of what you expected to happen. Use the gherking language.
Screenshots/ Visual Reference/ Source
If applicable, add screenshots to help explain your problem. You an use screengrab.

Note - have heard feedback that we need a 'Post' or 'Mail' option for delivery mode. The example I was given was for personal request where the applicant is out of Province.


Crash in parse_types_from_source with options -x c and --std c99

There appears to be a bug in Binary Ninja's type parser when combining -x c and --std c99 options. The segfault occurs specifically when both flags are present, while using either flag alone works (though with expected parsing errors).

Segfault only happens with both -x c and --std c99
Issue reproduces across platforms (arm32 and x86-64)
BN version: 4.3.6468-dev

(credit to @fosdickio for the report)

Can't reproduce? What steps are you taking to cause this crash and what type / args are you parsing that causes this?

Hi, attached is the source file that is causing the issue. I'm able to parse other files without problems.
Here are my repro steps:
from binaryninja import *
bv = load("/bin/ls") # This is x86-64, but i've also tried arm32 with the same results
with open("/tmp/segfault.c") as f:
     source = f.read()

tp = TypeParser.default
tp.parse_types_from_source(source=source, file_name='segfault.c', platform=bv.platform, options=["-x", "c", "--std", "c99"])
Segmentation fault

segfault.c.txt

After playing around with this, I have managed to reproduce the crash. The stack trace points within clang, handling function type attributes. I'm betting it's something in the custom type attribute parsing patches I wrote, considering I wouldn't expect clang to crash on its own. I will investigate further.

Fixed with an additional null check in the type attribute handling patches we have for clang


Inconsistent Callback behavior on window resize event between Windows and Linux

On resizing a window from the left or top edge, or the top-left corner GLFW will:

On Windows trigger both ImGui_ImplGlfw_WindowSizeCallback() and ImGui_ImplGlfw_WindowPosCallback()
On Linux trigger only ImGui_ImplGlfw_WindowSizeCallback()

On Linux this can create problems for programs that assume any change in window origin location will be accompanied by a ImGui_ImplGlfw_WindowPosCallback(), since resizing from the top or left edge, or the top-left corner will change the origin location for the window. Maximizing a window will also change the origin location (not sure what callbacks this triggers).
It isn't clear to me which behavior is "correct", but it should be consistent across platforms. I am running GLFW master - built a few hours ago.

I have some additional info to add to this. The behavior is not consistent on Linux:
System 1: Debian Buster with Gnome 3.32 on X11 (Not Wayland)
System 2: kwin_x11 (I don't have any more details)
On system 1 only ImGui_ImplGlfw_WindowSizeCallback() is triggered. On system 2, both ImGui_ImplGlfw_WindowSizeCallback() and ImGui_ImplGlfw_WindowPosCallback() are triggered on a left or top edge or top-left corner resize event.

Thank you for reporting this. This should be fixed now with fe57e3c2921a1901390534e1e51053df70b5644b.
This was a bug in the X11 implementation caused by not correctly following ICCCM 4.1.5. Not all window managers send synthetic events during a resize and GLFW was discarding the position of the real ones.


Typo in the documentation

Hello team! I was following the documentation and found a potential typo there.
I believe ./gradlew dependencies --refresh-rependencies should be ./gradlew dependencies --refresh-dependencies.
I tried to edit the page by clicking the Edit this page button at the bottom of the page but I couldn't access it. If there's a way to edit the page by myself please let me know.
Thanks!

As of now, documentation is private, so unfortunately, you cannot edit it.

Thanks for reporting. We will fix it soon.


Update flusurv schema and docs with new age, sex, and race groups

Summary:
Update flusurv table schema to support #1278. Also make sure rate_age_5, 6, and 7 are returned.
Necessary for https://github.com/cmu-delphi/delphi-epidata/issues/1247
Prerequisites:

[ ] Unless it is a documentation hotfix it should be merged against the dev branch
[x] Branch is up-to-date with the branch to be merged with, i.e. dev
[x] Build is successful
[x] Code is cleaned up and formatted

@korlaxxalrok Tentatively tagging you for review.

This got lost somehow...  Im going to merge it now; I just need to remember to run the migration before release deployment!

aw crap, i wasnt paying attention and i thought this was going to merge into the dev branch...  im going to try to revert it and revisit it again when i have a chance to review #1278

ugh, i made a mess.  this PR's status can't be changed from "Merged".  I will leave a note on #1278 that it needs to re-merge this (which is now probably best done by reverting #1426)


Sparkline doesn't work.

Nothing happens when selecting sparkline.

Nor does progress and solid guage charts for me.

@ckizer Pls send me screencast of your workflow


fix: add proper install command

It should be ionic plugin so it can be saved in package.json. It also needs the flags, they are a requirement.

Thanks for the PR! Sadly, this isn't the correct place for this change. Since the docs are auto generated, the need to be changed in the template.
https://github.com/driftyco/ionic-native/commit/f22c9fc51eeb0f11c1b231ec6c9a95d3dcebebc1
Closing this.


Default error warning

Hey there,
we try to push the WebDataset use for large amount of data, and we think it would be a good idea if the error message would be changed to something like "warn and try again N times", when the error is due to interrupted connection. We had many questions on "why does it not work", because the default behavior seemed unintuitive for many users..
What do you think?

I think it's best not to use the warning mechanism for this. If you need I/O retries due to interrupted connections, just put that into the I/O process. That is, instead of
ds = WebDataset("http://.../...")

use
ds = WebDataset("pipe:curl-with-retries http://.../...")

You can use the handler mechanism for this if you really want to; handlers are just callables that get called with an exception object; you can write a class instance with a __call__ method that keeps track of how often it has been called.


Ubuntu14.04百度网盘无法登陆ConnectionError: ('Connection aborted.', ResponseNotReady())

commit  99519d4c790014a8a9023d85c79b7e509ce51b41
log:
/usr/local/lib/python2.7/dist-packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
Traceback (most recent call last):
File "pan.baidu.com.py", line 3151, in
main(argv)
File "pan.baidu.com.py", line 2738, in main
x.login(username, password)
File "pan.baidu.com.py", line 290, in login
r = ss.post(url, data=data)
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 425, in post
return self.request('POST', url, data=data, **kwargs)
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 383, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 486, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python2.7/dist-packages/requests/adapters.py", line 378, in send
raise ConnectionError(e)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='passport.baidu.com', port=443): Max retries exceeded with url: /v2/api/?login (Caused by ProtocolError('Connection aborted.', ResponseNotReady()))
按照#18 按照了所有依赖.似乎不是依赖问题?
pip2 install --upgrade requests
pip2 install --upgrade requests-toolbelt
pip2 install rsa
pip2 install pyasn1

Ubuntu14.04 64bit python2.7
我记得安装urllib3后有些.py运行不了.我自己到 /usr/...改了几个文件的import .. 应该不关事吧...

是requests的问题，见：
https://github.com/kennethreitz/requests/issues/2568
https://github.com/kennethreitz/requests/search?q=ResponseNotReady&type=Issues&utf8=✓
用2.6.0就好。
pip2 install requests==2.6.0

requests 已发 2.7.0，这个bug已修复。


Add Update Option on post

@diyajaiswal11 Can I work on this?

@diyajaiswal11 Can I work on this?

Sure @Halix267 , Go ahead.

A little query @diyajaiswal11 regarding this issue . Can u tell me how can I create the post?


implement real time suggestion

Resolves #148

Implemented real-time suggestions using the autocomplete.js library provided by Algolia.

[x] Created a SearchBar component
[x] Added search logic
[x] Set up a query suggestion index
[x] Implemented custom loading for the search bar
[x] Enhanced query handling for better suggestions
[x]  Fixes test cases

Preview
https://github.com/user-attachments/assets/ffebbf0b-c6ce-4c05-bf7c-e8140b4685e1

@Rajgupta36 Thank you for working on this! Could you please resolve existing conflicts before we review this one? Thanks!

I also noticed multiple loading indicators upon data loading 🤷♂

yeah it's only when our component load first time . i am fixing it

It seems we can create suggestions index programmatically.

So what about the index settings, do we need to update them manually?
We need new indexes for query suggestion . Maybe we can add facets value programmatically


Water Sensors- XFS

This site never made an initial connection. Has this site been reset? Is it a cellular issue? If this site is printing data effectively we can classify this site as just fine in the shepherding sheet.
Per Alston: Gateway was stolen. Nodes in Receiver mode.

Site in receiver mode- gateway was stolen


Update service downloader to 0.2.3

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.005%) to 41.632%

Totals

Change from base Build<PHONE_NUMBER>:
0.005%

Covered Lines:
26590

Relevant Lines:
57868

💛  - Coveralls


WIP: Hacking to get GDCM to work with libjpeg-turbo

Must work to still be done, but looks likes a plausible path forward.

PR Checklist

[ ] No API changes were made (or the changes have been approved)
[ ] No major design changes were made (or the changes have been approved)
[ ] Added test (or behavior not changed)
[ ] Updated API documentation (or API not changed)
[ ] Added license to new files (if any)
[ ] Added Python wrapping to new files (if any) as described in ITK Software Guide Section 9.5
[ ] Added ITK examples for all new major features (if any)

Refer to the ITK Software Guide for
further development details if necessary.

@seanm

Neat. So you're hacking here in ITK then I guess you'd make in PR in GDCM itself eventually?

Neat. So you're hacking here in ITK then I guess you'd make in PR in GDCM itself eventually?

I don't think I will have time to follow through with this to GDCM. Consider this just a proof of concept that switching to libjpeg-turbo should work. I'm not sure if it would be best to have GDCM support this external option for this, or if the internal jpeg library should be updated/changed. @malaterre


C# Sample seems to have typo?

I had to change
private AppWindow GetAppWindowForCurrentWindow()
        {
            IntPtr hWnd = WinRT.Interop.WindowNative.GetWindowHandle(window);
            GetWindowIdFromWindowHandle(hWnd, out WindowId myWndId);
            return AppWindow.GetFromWindowId(myWndId);
        }`

to
private AppWindow GetAppWindowForCurrentWindow()
        {
            IntPtr hWnd = WinRT.Interop.WindowNative.GetWindowHandle(this);
            GetWindowIdFromWindowHandle(hWnd, out WindowId myWndId);
            return AppWindow.GetFromWindowId(myWndId);
        }

Otherwise I would get a compile error because window was undefined

Fixed in PR #3332


Scrollbar is barely visible

It would be better if all scrollbars would be a lighter color to make it much more visible

done, changed in v1.1.0


0.13 not closing connections, resulting in OOM after certain time

RHEL6.6, Influxdb 0.13
Summary: clients close connections, but they remain open on server, which results in memory grows and OOM kill.
Home-grown collection tool send reports from few thousands of clients every minute by libcurl with the next code:
      headers = curl_slist_append(headers, "Content-Type: text/plain");
      headers = curl_slist_append(headers, "Connection: close");
      curl = curl_easy_init();
      curl_easy_setopt(curl, CURLOPT_URL, url);
      curl_easy_setopt(curl, CURLOPT_POST, 1);
      curl_easy_setopt(curl, CURLOPT_TIMEOUT, 10);
      curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers);
      curl_easy_setopt(curl, CURLOPT_FORBID_REUSE, 1);
      curl_easy_setopt(curl, CURLOPT_POSTFIELDS, repdata);
      curl_easy_perform(curl);
      curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &http_code);
      curl_easy_cleanup(curl);

After start of influxdb, memory starts to grow and finally results in OOM kill (I limit address space for the process with 200GB).
After investigation I found that influxdb has quite a number of open sockets in CLOSE_WAIT state, while there are no open sockets on the clients. And this number of open sockets grows, although I never exhausted my default 65535 limit, as memory get exhausted first, But I've seen 40K of open sockets.
If I limit maxfile for the process at certain value (5K), then memory grows stops (around 40GB). But, obviously, I often can't even get dashboards in grafana rendered, as there are no available files/sockets anymore.
Is there anything special which has to be done to make sure that server closes connections/sockets?

I remember the server socket connection is no limit, in other words, the server port 8086 can receive connections is not limited, if you set ulimit -n unlimited and  system have enough resources(memory and cpu).

But this is a problem, there is no need to have unlimited. One client has only or zero connections at the time. It is server just not closing them and exhausting memory because of that.
Anyway, I check with nightly build, and issue seems to be resolved there.
Although, there is still uncontrollable memory grows which results in OOM kill.

We are also experiencing problem of unbounded memory growth. Our use case is write intensive with rare queries. Write intensity is 50-100 points per second through UDP and total number of series is ~150K.
Memory just grow indefinitely until OOM killer comes for reaping.

In our case, we have a bit less than 100K points per minute, and cardinality is only about 400.
I tried to play with everything, snapshots sizes, cold write timeout etc, no help.

@antst thanks for the report.
I'm not familiar with libcurl, so have a couple of questions:
(1) is your client closing its connection after every write?
(2) if not, then is it supposed to be using a connection pool?
Looking at the amount of data being sent you would probably benefit from a connection pool, but given the number of sockets a connection pool probably isn't being used here.
Do the outstanding CLOSE_WAIT sockets change to CLOSED given time?

Please upgrade to 1.1 and let us know if this is still occurring.


I'm having an issue with the Meetup API when trying to pull upcoming open_events.

When trying to pull upcoming events in the next 2 weeks, it seems that the upcoming events for today and tomorrow are not being returned. It does not appear to be based on specific dates, but rather rolling dated, as I am only seeing upcoming events 2 days out. Please find the api query that I am sending below:
https://api.meetup.com/2/open_events.json?zip=94107&radius=2&time=,2w&offset=1&page=200&limited_events=true&text_format=plain&key=<my_key>
I also paged through all the records using the 'offset' parameter, but am still not getting the records for today or tomorrow.
Alternatively, I tried to pull past events to see if the events from today may be classified there, but they are not being returned there either.
Any help to pull in events for today and tomorrow would be awesome!
Thanks in advance!

@softprops I'm also running into the second issue @z0Yo mentioned with past events not being returned. I've tried both epoc and relative but both return the same results with only one event for the previous day and nothing before that.
https://api.meetup.com/2/open_events?&sign=true&photo-host=public&lat=-37.8139831&state="past"&lon=144.9641694&time=-1w,&page=20
It seems like the time filter is just being ignored.

in this case, its not the time filter. It's the status filter. swap state with status and set it to past not "past"
Here's a console example

@softprops I'm blind, thank you! :)


Test some changed in behaviour of Home and End

Testing #19644 (came in as PR #21338)

[ ] windows or linux @sandy081
[ ] mac @isidorn

Complexity: 2
Have some wrapped lines.
On Windows/Linux:

end -> end of wrapped line

end x2 -> end of line

home -> first character of wrapped line

home x2 -> first character of line
home x3 -> column 0

On Mac:

cmd+right -> end of wrapped line

cmd+right x2 -> end of line

cmd+left -> first character of wrapped line

cmd+right x2 -> first character of line
cmd+right x3 -> column 0

ctrl+E -> end of line
ctrl+A -> column 0

Works great on mac, same as sublime

Works like charm on Windows & Linux.


6 issues adjusted

6 issues

https://github.com/nicalcoca/qgeoidcol/issues/14
https://github.com/nicalcoca/qgeoidcol/issues/12
https://github.com/nicalcoca/qgeoidcol/issues/17
https://github.com/nicalcoca/qgeoidcol/issues/16
https://github.com/nicalcoca/qgeoidcol/issues/15
https://github.com/nicalcoca/qgeoidcol/issues/13

Done

Done


XML response is clipped at certain value, and parsing fails

Description:
When a big XML response is received by @source(type='http-response'...), the response is clipped at certain length, and then the clipped response is tried to be parsed (which fails)
Suggested Labels:
bug
Suggested Assignees:
@minudika
Affected Product Version:

siddhi-io-http-1.0.39
latest SP

Steps to reproduce:

Create a http service that responds with a big XML response. (In my case, big was ~1300 character long w/o whitespaces)
Setup http-request / http-response. I have it like this:

--Sink stream - get http events
@sink(type = 'http-request', publisher.url = 'http://localhost:3000/lastevent',
	sink.id = 'request-sink',
	@map(type = 'json'))
define stream postHttpRequestStream(payloadBody String); -- payloadBody is currently not used

--Source stream - incoming http events
@source(type = 'http-response', sink.id = 'request-sink', http.status.code = '200',
	@map(type = 'xml',
		@attributes(eventName = 'reply/equipmentReplies/movementEvents/sightingEventCodeText')))
define stream httpResponseStream2xx(eventName string);

The response from above URL - localhost:3000/lastevent, in postman is:

Run this code in stream processor, I get an error-

[2018-10-18_15-51-26_165] INFO {org.wso2.extension.siddhi.map.xml.sourcemapper.XmlSourceMapper} - Error parsing incoming XML event : trainIIAlphaCode>ICHR</trainIIAlphaCode><sightingEventCode>4050</sightingEventCode><sightingEventCodeText>JUNCTION RECEIVED</sightingEventCodeText><toMarkId>BNSF</toMarkId><trainInd>UP</trainInd></movementEvents><tripPlan><tripPlanId/></tripPlan><waybill><commodity/><destination><city/><splc/><state/></destination><grossWeight>0</grossWeight><netWeight>0</netWeight><tareWeight>0</tareWeight><weightCode>8</weightCode></waybill><requestType>LAST_EVENT</requestType></equipmentReplies></reply></ns2:TracingPlatformRequest>. Reason: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1] Message: Content is not allowed in prolog.. Hence dropping message chunk (Encoded)

Additional information:
If I keep resizing the XML output from server, by removing XML elements, I reach a point where the error is no more.
I have validated my XML via multiple XML validators online. This is the raw version of the XML output:
<ns2:TracingPlatformRequest xmlns:ns2="http://someUrl/someEndPoint"><TracingPlatformRequestHeader>TracingPlatformRequestHeaderVal</TracingPlatformRequestHeader><reply><equipmentReplies><groupSequenceNumber>0001</groupSequenceNumber><equipment><equipmentId><equipmentInitial>BNSF</equipmentInitial><equipmentNumber>0000000100</equipmentNumber></equipmentId></equipment><umlerDetails><owner>BNSF</owner></umlerDetails><movementEvents><eta><etaDate>Thu Oct 18 2018</etaDate><ediEventCode/><eventCode/><location><splc/></location><reportingScac/></eta><fromMarkId>UP</fromMarkId><loadEmptyStatus>E</loadEmptyStatus><location><splc>536870000</splc></location><reportingRailroadSCAC>BNSF</reportingRailroadSCAC><sightingDate>Thu Oct 18 2018</sightingDate><sightingClmCode>R</sightingClmCode><trainIIAlphaCode>ICHR</trainIIAlphaCode><sightingEventCode>4050</sightingEventCode><sightingEventCodeText>JUNCTION RECEIVED</sightingEventCodeText><toMarkId>BNSF</toMarkId><trainInd>UP</trainInd></movementEvents><tripPlan><tripPlanId/></tripPlan><waybill><commodity/><destination><city/><splc/><state/></destination><grossWeight>0</grossWeight><netWeight>0</netWeight><tareWeight>0</tareWeight><weightCode>8</weightCode></waybill><requestType>LAST_EVENT</requestType></equipmentReplies></reply></ns2:TracingPlatformRequest>
Thanks,
Ravi Pandey

Hi @minudika. Just wanted to check if you could reproduce this, and if there is any update on this issue.
Thanks,
Ravi Pandey

Hi @rvypandey,
We have observed this issue and already fixed this on the latest siddhi-io-http version.
In order to apply the latest version on your Stream Processor pack, please follow the below steps.

Download siddhi-io-http-1.0.40.jar from the following link.
https://store.wso2.com/store/assets/analyticsextension/details/63a5db75-586e-48d0-8244-4c16774e8846
Replace the existing siddhi-io-http-1.0.39.jar which can be found in the  <SP-HOME>/lib directory with the latest siddhi-io-http-1.0.40.jar.

Please let us know if you have further concerns regarding this.
Regards,
Minudika

Thank you @minudika,
I have verified the fix and I cannot reproduce this in 1.0.40.
Regards,
Ravi Pandey


Get rid of grunt, use webpack for everything

Here's the result of me having a free evening.

Grunt is no more.
JSX files now have a regular .js extension.
All file names are hashed by webpack, we no longer need a custom storage backend.
Font files are automatically extracted, no need to copy them anywhere.
All generated files are written under saleor/static/assets/. The structure is flat as the files are not meant for humans.
Templates use django-webpack-loader to insert links to assets.
webpack-bundle.json file is needed by the above and should be deployed with the backend code.
We now use a standard Heroku node.js buildpack.
Rebuilds are triggered with npm run build-assets.
Watch mode can be triggered using npm run watch.

A lot of code was removed. Total delta is positive only because of the shrinkwrap file for npm.
Todo:

[ ] Verify that source maps work.
[ ] Make sure docs don't lie.
[ ] Verify that Heroku works.
[ ] Double-check that Docker works (I use Docker locally but it would be nice of someone could verify).
[ ] Check if S3 works. We should get rid of the custom storage backend first.

Future work:

Move source JS, SCSS and font files outside of the static file tree so they don't end up getting uploaded to a CDN during deployment.

[Current coverage][cc-pull] is 49.96%

Merging [#530][cc-pull] into [master][cc-base-branch] will increase coverage by 0.02%

@@             master       #530   diff @@
==========================================
  Files            90         90
  Lines          4147       4149     +2
  Methods           0          0
  Messages          0          0
  Branches        430        430
==========================================
+ Hits           2071       2073     +2
  Misses         2019       2019
  Partials         57         57

Powered by Codecov. Last updated by [f243102...8fbe382][cc-compare]
[cc-base-branch]: https://codecov.io/gh/mirumee/saleor/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/mirumee/saleor/compare/f243102bf1ad68ba4a56ec370d4e9d655eb600df...8fbe3824df8e9dd53e3ef7ad08b593fe129d0108
[cc-pull]: https://codecov.io/gh/mirumee/saleor/pull/530?src=pr


Search in left panel (with resource types)

What would you like to be added:
Search in left panel (with resource types). For example it could be text field at the top or it could be "search as you type" (as in file list in VS Code, IDEA or other IDEs).
Why is this needed:
There are a lot of resource types (especially with custom resource types) and it's often takes time to find needed resource type just by scrolling the list.

As a minor workaround, it is possible to use the command pallet to search for some of the resource types. That can be opened with CMD+P (or CTRL+P) or by using the app menu.


Wrong styles applied during SSR hydration

Styled components is applying wrong styles during SSR hydration. The problem is that styles in production builds are swapped across components. For instance, the class sc-16rshtk is applied to a ToolbarContainer but contains the styles of a FooterLink. I'm using gatsby with gatsby-theme-material-ui and gatsby-plugin-styled-components.
This didn't happen for client side rendering, only for SSR. Since it only affected components styled with styled-components, I tried to collect more information by assigning a displayName to each component, but it did nothing, classnames remained the same.
Then I found #261 and saw this comment. It says that styled-components should not be re-exported to make displayName work.
import styled from '../lib/styled-components'; //  Does not work :(
import styled from 'styled-components'; //  Works

After applying that change, I made a new production build and then discovered that SSR hydration was now working correctly. I suspect that babel-plugin-styled-components does not work if the package is re-exported.
This issue was very hard to debug.
If you were re-exporting the module to add theme type definitions, please use module augmentation instead.
// src/types/styled-components.ts
import type { Theme } from '@material-ui/core';

declare module 'styled-components' {
  export interface DefaultTheme extends Theme {
  }
}

You probably should use topLevelImportsPath to import styled() from different location. Based on the tests this is supported, see https://github.com/styled-components/babel-plugin-styled-components/blob/main/test/fixtures/add-identifier-with-top-level-import-paths-and-named-import/.babelrc and https://github.com/styled-components/babel-plugin-styled-components/blob/main/test/fixtures/add-identifier-with-top-level-import-paths/.babelrc
Should be confirmed by some of the maintainers.

@javiertury This is the first time I've seen issues that speak very closely to the super annoying issues we are also having.
However, we still can't find a fix in any of the comments.
Env:
@ourcompany/react-ui-components
@ourcompany/projectx
We too are noticing that our projects (@ourcompany/projectx) that consume our ui lib (@ourcompany/react-ui-components) are experiencing this same issue with the wrong styles being applied.
The way we import
We're not using typescript, and never have imported this way in either our repos. import styled from '../lib/styled-components'; Not sure why anyone would do that, so I think I'm missing something important? We've always imported as import styled from 'styled-components'; in both our @ourcompany/react-ui-components and @ourcompany/projectx.
Version of babel-plugin-styled-components
We've had to lock babel-plugin-styled-components to v1.10.3 in order to get it working right. Even tried updated everything to latest v2.0.2 and still broken.
Please Help!
It sounds like many people have solved this issue and have wrapped there head around the cause, but the solution doesn't seem to apply to us?

@iDVB if the symptoms are similar to mine then it's probably because this babel plugin is not transforming your source files.

We've always imported as import styled from 'styled-components';

Even if you are importing the package correclty, there can be other reasons why your source files are not being transformed.
From the description of your issue, I suspect that the problem lies in your babel configuration with respect to packages @ourcompany/react-ui-components and @ourcompany/projectx. Usually babel is configured to transform only the source code of the current package and to ignore node_modules. Additionally, bundlers like webpack, vite or rollup could also be preventing node_modules from being transformed by babel.
Please check that both babel and your bundler are configured to transform your node_modules, or at least node_modules/@ourcompany/react-ui-components and node_modules/@ourcompany/projectx.
https://babeljs.io/docs/en/options#exclude
https://babeljs.io/docs/en/options#ignore

@javiertury Thanks! Ya I bet it's something like that. But can you clarify one thing that has been nagging us.
As styled-component ui lib authors, are we supposed to apply the babel-styled-components plugin when packaging/publishing the lib AND in the consuming repo?
Currently, when publishing the Ji lib we ARE using that plugin, however when we are bundling the consuming project (gatsby) we are ONLY targeting things NOT in node_modules. So this lib would not be processed this second time.
Also, keep in mind everything works fine AS-IS so long as we keep to babel-styled-components@v 1.10.5

Beyond the scope of my setup, I can only provide ideas for configuration changes but not much more.
Even though in many cases it's recommended to do transpilation at the library level, I have a gut feeling this plugin is different because of SSR. I would say try to apply this babel plugin only on your main project(gatsby) and take the plugin out of your libraries (but just this plugin, you can keep the rest of your babel config). Try also to bundle those libraries as ES6 modules (that's the preferred format for rollup and webpack 5).
Finally, take a look at other issues that may be related with other aspects of your setup, for instance this bug with duplicated imports because of symlinked node_modules.

@javiertury makes sense. But the larger question I'm thinking.... is why did this work fine before with previous versions?

@javiertury I'm a little confused about the conclusion of this issue. Are you reporting a bug or just confusion? Did @mnajdova's comment help?

Are you reporting a bug or just confusion?

Now just confusion. Although at first I didn't know about topLevelImportsPath and I thought it was a bug.
Also I would like to draw attention to how painful it was to find out that re-exporting the package was breaking SSR. Perhaps the debugging experience could be improved somehow or the documentation for the plugin could include a reference to topLevelImportsPath.

Did @mnajdova's comment help?

I replicated the original problem in my project, used @mnajdova topLevelImportsPath to solve it and it worked.


Entry missing in the /etc/hosts file of the source container after linking containers

Description of problem: It seems that an entry in the file /etc/hosts of the source container is missing. The missing entry contains the ID of the recipient container. Below is the output of two the hosts files after containers are linked. Host-1 (cffd3d6aaa69) is the source and host-2 (4937d32a2ca3) is the recipient:
root@cffd3d6aaa69:/# cat /etc/hosts
<IP_ADDRESS>	cffd3d6aaa69
<IP_ADDRESS>	localhost
::1	localhost ip6-localhost ip6-loopback
fe00::0	ip6-localnet
ff00::0	ip6-mcastprefix
ff02::1	ip6-allnodes
ff02::2	ip6-allrouters
<IP_ADDRESS>	host-1
<IP_ADDRESS>	host-1.bridge
<IP_ADDRESS>	host-2
<IP_ADDRESS>	host-2.bridge

root@4937d32a2ca3:/# cat /etc/hosts
<IP_ADDRESS>	4937d32a2ca3
<IP_ADDRESS>	localhost
::1	localhost ip6-localhost ip6-loopback
fe00::0	ip6-localnet
ff00::0	ip6-mcastprefix
ff02::1	ip6-allnodes
ff02::2	ip6-allrouters
<IP_ADDRESS>	host-1 cffd3d6aaa69
<IP_ADDRESS>	host-2
<IP_ADDRESS>	host-2.bridge
<IP_ADDRESS>	host-1
<IP_ADDRESS>	host-1.bridge

svoboda@ubuntu-64:~$ docker version
Client:
 Version:      1.8.3
 API version:  1.20
 Go version:   go1.4.2
 Git commit:   f4bf5c7
 Built:        Mon Oct 12 05:37:18 UTC 2015
 OS/Arch:      linux/amd64

Server:
 Version:      1.8.3
 API version:  1.20
 Go version:   go1.4.2
 Git commit:   f4bf5c7
 Built:        Mon Oct 12 05:37:18 UTC 2015
 OS/Arch:      linux/amd64

svoboda@ubuntu-64:~$ docker info
Containers: 9
Images: 30
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 48
 Dirperm1 Supported: true
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 3.19.0-31-generic
Operating System: Ubuntu 14.04.3 LTS
CPUs: 8
Total Memory: 7.781 GiB
Name: ubuntu-64
ID: JDUN:YLMS:LORM:U5WJ:GHLE:7WBA:BMWK:FHRU:HVUA:4A56:TC5R:2SFE
WARNING: No swap limit support

svoboda@ubuntu-64:~$ uname -a
Linux ubuntu-64 3.19.0-31-generic #36~14.04.1-Ubuntu SMP Thu Oct 8 10:21:08 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Environment details (AWS, VirtualBox, physical, etc.): The host machine is a VM running inside VMWare 11.1.2 build-2780323.
Steps to Reproduce:

docker run -it --name=host-1 ubuntu:14.04
docker run -it --name=host-2 --link host-1 ubuntu:14.04

Actual Results:
From the recipient container it is possible to ping the source container using its CONTAINER ID. However it is not possible to do the same from the source container to the recipient.
Expected Results:
Both containers should be able to reach each other by using their CONTAINER IDs.
Additional info:
The issue described above was detected during some tests with a cluster running Apache Storm. The symptom is that no message has been transferred among the members of the cluster. Looking at the Storm logs we found the following error:
b.s.m.n.StormClientErrorHandler [INFO] Connection failed Netty-Client-1dcef2215f68:6701
java.nio.channels.UnresolvedAddressException: null

We fixed this behavior by using the --hostname option.

Thanks for the thorough description.
The entry <IP_ADDRESS> host-1 cffd3d6aaa69 in the second container's etc/hosts file is added because of the --link.
This is the entry which allows container 2 to ping container 1 by container id.
But --link is unidirectional. It does not install an reciprocal entry on the source container's etc/hosts file.

Thanks for your clarification @aboch.
Indeed, the Docker documentation mentions that using the --link parameter allows the recipient container to access information about the source container. However, if you have an entry like <IP_ADDRESS> host-2 on the source container which also allows it to access the recipient, why omit the entry with the CONTAINER ID as an alias?

@lhsvobodaj This was a bug. This functionality will not exist in docker 1.9, at least for the default bridge.

@lhsvobodaj
The entries you see in the hosts file are the result of two separate features.
The <container id> entry comes from the link feature.
The <container name> and <container name>.<network name> entries come from the inbuilt service discovery feature from the new networking.
As @cpuguy83 explained, the second feature was not supposed to be available on the default docker0 bridge network and it is being turned off in 1.9.
See comment

Perfect. In this case I believe one could assign an appropriate label to this issue and close it.


Create CODE_OF_CONDUCT.md

All contributions, bug reports, bug fixes, documentation improvements, enhancements, and ideas are welcome.


vmd with FastPBC

Dear prof Vermaas,  I hope that you are fine.
I want ask you, How do I install vmd with FastPBC? . I have review your README here, but it mention any lines from code that I am not sure if are the corrects.
tcl_commands.C  I found  the following section containing fastpbc name, Do I change from 0 to 1?
#if 0
  Tcl_CreateObjCommand(interp, "fastpbc", obj_fastpbc,
                       (ClientData) app, (Tcl_CmdDeleteProc *) NULL);
#endif

now in same file in line 283 I found ,
282 Tcl_CreateCommand(interp, "vmd_menu", text_cmd_menu,
 283       (ClientData) app, (Tcl_CmdDeleteProc *) NULL);

In this file (tcl_commands.C) I don't found more code that refer to FastPBC
For other hand, I want to ask you, Is this fastPBC suitable to box with cubic and rectangular geometries?
I need any very fast tool that PBCTools (the tcl program in VMD), because I have a 25K frames with 600K atoms, and a lot of replicas (>18) , and I only have workstation to perform this calculations.  I have try using qwrap, too, but this less flexible.
Thanks so much in advanced for your help.

Yup, you flip the 0 to a 1 and recompile, and then the C preprocessor won't yank out that code. Fastpbc is similar to qwrap https://github.com/jhenin/qwrap, but can use GPUs.


ENV override not properly explained

According to the documentation, sub level environments can be overwritten by more specific definitions:
https://docs.pydantic.dev/latest/usage/pydantic_settings/#parsing-environment-variable-values
export V0=0
export SUB_MODEL='{"v1": "json-1", "v2": "json-2"}'
export SUB_MODEL__V2=nested-2
export SUB_MODEL__V3=3
export SUB_MODEL__DEEP__V4=v4

In this case, Settings.SubModel.V2 = 'nested-2' and that's ok. But what is NOT mentioned in the documentation, is if you have an Environment named V2 and specially if you reuse that value in multiple submodules. The value is passed to each submodule.
This is very frustrating, specially when dealing with the ENV PORT as it is very common for multiple services to have such definition (i.e.: Databases, Services, etc)
What I had to do so far:
from pydantic import Field
from pydantic_settings import BaseSettings, SettingsConfigDict

class RedisConfig(BaseSettings):
    """Configuration for Redis"""
    host: str = Field(default='localhost')
    # Setting alias to prevent override from env PORT
    port: int = Field(default=6379, gt=0, alias='redis.port')
    db: int = Field(default=0, ge=0, le=15)
    prefix: Optional[str] = Field(default=None)
    ttl: Optional[int] = Field(default=None, gt=0)

class ServiceWithCache(BaseSettings):
    url: str
    redis: RedisConfig

class Config(BaseSettings):
    model_config = SettingsConfigDict(
        env_nested_delimiter='__',
        env_file=('dist.env', '.env'),
        env_file_encoding='utf-8',
        extra='ignore',
        use_enum_values=True,
        populate_by_name=True
    )

    cache: RedisConfig
    service: ServiceWithCache

config = Config()

The example above "works" but is not very nice, as I had to add populate_by_name and set different and "unusable" alias for the port field.
Otherwise, if I had the PORT=8000 env for example, all my Redis instances where I thought I was using the default port value (6379) would try to use port 8000.
This should AT least be in the documentation! But I think this should be fixed and prevented from being the default case.
Selected Assignee: @samuelcolvin

Thanks @Verhaeg for reporting this 🙏
I've tested the example in the doc and created a V2=test env variable before running the example. but the result was the same.
So, I couldn't reproduce the problem.
Please let me know what is your python, Pydantic, pydantic-core, and pydantic-settings version.
Update all of the above packages to the latest version if you can.
If you still have the problem, Please check your environment variables
Please let me know what is the result.

Ok.. Here is my previous code (simplified) and example of executions:
# pylint: disable=too-few-public-methods,invalid-name
from enum import Enum
from typing import Annotated, Literal, Optional

from pydantic import Field
from pydantic_settings import BaseSettings, SettingsConfigDict

class BaseSettingsIgnore(BaseSettings):
    """Basic model with already ignoring extra parameters"""
    model_config = SettingsConfigDict(extra='ignore', populate_by_name=True)

class CacheType(str, Enum):
    """Possible values for Cache class"""
    redis = 'redis'
    memory = 'memory'

class EventType(str, Enum):
    """Possible values for Events class"""
    memory = 'memory'
    pubsub = 'pubsub'
    redis = 'redis'

class RedisConfig(BaseSettingsIgnore):
    """Configuration for Redis"""
    host: str = Field(default='localhost')
    # Setting alias to prevent override from env PORT
    port: int = Field(default=6379, gt=0)
    db: int = Field(default=0, ge=0, le=15)
    prefix: Optional[str] = Field(default=None)
    ttl: Optional[int] = Field(default=None, gt=0)

class MemoryCacheConfig(BaseSettingsIgnore):
    """Memory type cache config - Dummy usage"""
    type: Literal[CacheType.memory]
    ttl: int = Field(default=60 * 60 * 24, ge=0)

class RedisCacheConfig(RedisConfig):
    """Configuration for Redis"""
    type: Literal[CacheType.redis]

CacheAnnotation = Annotated[RedisCacheConfig | MemoryCacheConfig, Field(discriminator='type')]

class FeatureFlagConfig(BaseSettingsIgnore):
    """Configurations for SplitIO"""
    key: str = Field(default='localhost')
    file: Optional[str] = Field(default=None)
    redis: Optional[RedisConfig] = Field(default=None)

class PubSubEventHandler(BaseSettingsIgnore):
    """Configuration for PubSub"""
    type: Literal[EventType.pubsub]
    project: str
    topic: str

class RedisEventHandler(RedisConfig):
    """Configuration for PubSub"""
    type: Literal[EventType.redis]

class MemoryEventHandler(BaseSettingsIgnore):
    """Memory dummy event handler"""
    type: Literal[EventType.memory]

EventAnnotation = Annotated[Optional[MemoryEventHandler | PubSubEventHandler | RedisEventHandler],
                            Field(default=None, discriminator='type')]

class Config(BaseSettings):
    """Base settings for project"""
    model_config = SettingsConfigDict(
        env_nested_delimiter='__',
        env_file=('dist.env', '.env'),
        env_file_encoding='utf-8',
        extra='ignore',
        use_enum_values=True,
        populate_by_name=True
    )

    cache: CacheAnnotation
    events: EventAnnotation
    feature_flag: FeatureFlagConfig

    max_per_page: int = Field(default=10, gt=0)

config = Config()  # pyright: ignore

if __name__ == '__main__':
    print(config.model_dump())

.env file
FEATURE_FLAG__KEY=localhost
FEATURE_FLAG__FILE=test.ff.yaml

CACHE__TYPE=redis
CACHE__HOST=localhost
CACHE__TTL=60

Tests:
❯ PORT=8000 python config.py
{'cache': {'host': 'localhost', 'port': 8000, 'db': 0, 'prefix': None, 'ttl': 60, 'type': <CacheType.redis: 'redis'>}, 'events': None, 'feature_flag': {'key': 'localhost', 'file': 'test.ff.yaml', 'redis': None}, 'max_per_page': 10}

See that Redis port for cache is 8000 instead of default 6379
Sorry for the long example, perhaps it is due to some especial ENV cases like PORT?
Oh.. and by the way, I'm using the latest versions for pydantic and pydantic-settings

The problem is because sub models are inheriting from BaseSettings. They should inherit from BaseModel.
I've explained the reason in a similar issue.
Also, you can see in the example that all sub models are inheriting from BaseModel.
So, you can fix the problem by changing class BaseSettingsIgnore(BaseSettings): to class BaseSettingsIgnore(BaseModel):

Thanks for the informaion @hramezani, double-checked that documentation uses BaseModel (did not check against that) but also didn't find mention to this "condition".. I thought that it would only behave like that if initialized in the outer scope, not as sub-settings.
I think it would be nice to have this mentioned in the documentation ;)
In any case, it is explained ;). I'll change my code to follow this standard.
Thanks for the help

I think it would be nice to have this mentioned in the documentation ;)

Yes, agree.
would you like to open a PR?

Closed in https://github.com/pydantic/pydantic-settings/commit/f7e810d42688cee286556fd92a0b8c451da8daf3


Smoother screen transitions

Currently switching screens is immediate, the idea is to smoothen the experience.
Proposed implementation:

change screens through a helper observer

commands.trigger(ScreenTransition(AppState::Playing));

the observer will change ScreenTransitionState from Complete to FadeOut { dest: AppState }
ScreenTransitionState::Exiting will run a short timer, during which a top level UI node will go from transparent to full black.
after the timer is done FadeOut  will change to FadeIn together with AppState changing to dest.
a new short timer will start, this time turning the node from full black to transparent
when the timer is done FadeIn will change to Complete

Okay so after some more thought, my current stance is that this feature would clearly make the template's game better, but it's not clear that it would make the template's code better, which is what users will be interacting with.
Opting for wont-fix for Bevy Jam 5 + reconsider later, especially if Bevy adds some new features that make screen transition code simpler and easier to add/remove.


Update http3.md

Fixed a typo and added a bit more context.
@Rick-Anderson edit: Internal review URL

@samsp-msft  can you accept/reject my suggestions or give me permission to apply them?

Applied your suggestions. The checkbox for allowing edits by maintainers is checked, do I need to do something else to give you permissions?

Applied your suggestions. The checkbox for allowing edits by maintainers is checked, do I need to do something else to give you permissions?

Nope, I just didn't want to apply them without your permission. Thanks

@samsp-msft  thanks for the PR, really nice improvements


Add WaitGate proto serialization

Refactored this to only define the serializer and deserializer, without adding it to the gate sets.


docs: help for running in Container

Review?

Thanks a lot for your pull request and for the effort to enhance the documentation. I think instructions on how to create a Docker image with it go into a bit too much detail, so I decided not to merge this. Instead, I have slightly reworked INSTALL.md to better highlight the requirement of the redistributable. Please take a look and let me know what you think 😺


[BUG][File Composition] Can't mix type and variable selectors with same name

Describe the bug
If a type selector and a variableExpression selector have the same format, then the rules will clash

Expected behavior
To be able to have both an Id type and an Id variable.
Additional context
Thanks for the hard work

Currently, the logic is based on the name of a given selector without taking its type into account. I'll think about whether there's a way to work around this. As a temporary solution, you can either skip positionIndex for one of them or change the name of the type to IdType.

Fixed in v3.5.0


2630 date time picker spec alignment

Closes #2630
Summary

Adds readableValue to the onApply callback and catches that variable in the onCardAction callback to display it in the subtitle, if one isn't already given.

Change List (commits, features, bugs, etc)

add humanValue, tooltipValue to onApply callback for DateTimePickerV2
add state management for subtitle to display the currently selected DateTimeValue in the subtitle of a card if one isn't already given
add docs for Card
refactor parseValue into a utility and use in both DateTimePicker/DateTimePickerV2
update tests as necessary and add new ones

Acceptance Test (how to verify the PR)

in the Card with datetime range selector story
open the DateTimePicker and choose a date
click onApply
the chose date range should display in the subtitle

Regression Test (how to make sure this PR doesn't break old functionality)

make sure existing CardRangePicker works as expected
make sure the DateTimePicker (V1 and V2) continue to work as expected without changes

Things to look for during review

[ ] Make sure all references to iot or bx class prefix is using the prefix variable
[ ] (React) All major areas have a data-testid attribute. New test ids should have test written to ensure they are not changed or removed.
[ ] UI should be checked in RTL mode to ensure the proper handling of layout and text.
[ ] All strings should be translatable.
[ ] The code should pass a11y scans (The storybook a11y knob should show no violations). New components should have a11y test written.
[ ] Unit test should be written and should have a coverage of 90% or higher in all areas.
[ ] All components should be passing visual regression test. For new styles or components either a visual regression test should be written for all permutations or the base image updated.
[ ] Changes or new components should either write new or update existing documentation.
[ ] PR should link and close out an existing issue

Looks good. Few items I see in the preview:

This story throws an error when you choose true as value for range knob and then click the calendar icon
The knobs still reference the option to be full or icon-only. We should update these knobs?


Allow "Bot tagging" by other Fediverse services

Hey back, it's me again.
This change sets the created activities' actor type to Service to allow "bot detection" by other Fediverse clients.
Mastodon (for example) tags as "bot" incoming activities containing this actor type (see here), since v2.4.0.
As this bridge (should) only create(s) automatically-generated content, I think its accounts should be tagged as a "services" instead of real "human" entities (when the detection is implemented).
Tell me what you think about this, bye (again) :wave:

This is a great suggested change. I'm going to test it with Pleroma and if it works I'll merge it.

It works! Thanks for the PR.


scan mode always starts from the beginning while scanning a website multiple times.

Hi,
I scan a domain and stop it in the middle. When I re-scan that domain it starts all over the beginning. But the previous versions of osmedeus are scanned from the last stage. Can you fix this ?
Thank you

Please check the usage first at osmedeus help -h or osmedeus scan help -h.
You can use --resume flag when doing osmedeus scan -t example.com. It will ignore the modules that have already been scanned if the report file of that module exists.
But it is also recommend to do the scan again since the result might be change from time to time depend on your target.

--resume fag does not work.
I use this CMD
osmedeus scan -T domain.txt -R
after interrupting, I use the same cmd but again it's started from the beginning.

It can only resume if the module has already been done before and the file in the reports section was created.
Check it more in here: https://docs.osmedeus.org/workflow/other-fields/#reports


Add persistent GOPATH to go manifest.

This pull request sets the GOPATH for the go manifest to a persistent directory and adds the bin folder of that GOPATH to the PATH so that downloaded libraries (obtained with go get) are accessible after downloading.
I found myself having to add the default GOPATH (%USERPROFILE%\go after go 1.8) to the path manually so that libraries for linting and code completion were visible to Spacemacs after I obtained them with go get.
What do you think of this?

Looks good!


Enforce Google Code Style

Enforce the Google Code Style to the project.

We have developed our own code style, which is mostly based on the Google code style, but differs here and there


Universal Sentence Encoder for clustering

Hi,
I would like to use Universal Sentence encoder to perform clustering on (little) messy data. Items go from single words to full paragraphs, from meaningless words /  proper nouns to highly specific paragraphs (in a semantic way). I might as well go for semi-supervised classification if unsupervised clustering isn't efficient .
It's important that i keep overfiting really low as my goal is to cluster a growing database with new unrelated clusters in the future.
Any advice on how to do that ?
Thx a lot.

Hi,
I would start with something simple like tf.contrib.factorization.KMeansClustering. The embeddings from USE can be either pre-computed or you could apply a module directly inside the input function, depending on the format and size of the data.


[Node] Allow Array/Map store objects that are not NodeRef

@tqchen @icemelon9 Please review :-)

@junrushao1994 It looks that this will allow us to return runtime object refs like modules. @tqchen do we want to move container.h under runtime at some point?

@zhiics You are right. Array/Map/StrMap are designed to allow storing all possible objects.

do we want to move container.h under runtime at some point?

I personally think that this could happen after we have containers with POD C ABI

@tqchen @zhiics shall we merge this in? Thanks!


message clipper

Describe the bug
Hi,
This is not a bug related to mjml, but I think you might be aware of a solution, since this tool is all about emails. The issue I am having is that I am seeing my email clipped on gmail:

I sent that test with litmus.
I tried minifying the email, but the issue remains.
To Reproduce
Copy this email html and try sending to a gmail email with litmus.
Expected behavior
The full email (not clipped).
MJML environment (please complete the following information):

OS: MacOS Monterey
MJML Version: 4.14.1
MJML tool used npm package

Email sending environment(for rendering issues):

Platform used to send the email: litmus.

Affected email clients (for rendering issues):

Email Client: Gmail (the only one I tried)

Screenshots

Additional context
None

It only means your email HTML is too big. You most likely need to simplify
your MJML first
On Wed, Dec 6, 2023 at 7:01 PM brfignoni @.***> wrote:

Describe the bug
Hi,
This is not a bug related to mjml, but I think you might be aware of a
solution, since this tool is all about emails. The issue I am having is
that I am seeing my email clipped on gmail:
Screen.Shot.2023-12-06.at.18.54.28.png (view on web)
https://github.com/mjmlio/mjml/assets/133654146/61279fe8-2bbb-4a0e-805d-27acb62a7b42
I sent that test with litmus https://putsmail.com/tests/new.
I tried minifying the email, but the issue remains.
To Reproduce
Copy this email html
https://raw.githubusercontent.com/brfignoni/stan/main/mjml-mails/order/layouts/html/owner_new-order--new.html
and try sending to a gmail email with litmus
https://putsmail.com/tests/new.
Expected behavior
The full email (not clipped).
MJML environment (please complete the following information):

OS: MacOS Monterey
MJML Version: 4.14.1
MJML tool used npm package

Email sending environment(for rendering issues):

Platform used to send the email: litmus
https://putsmail.com/tests/new.

Affected email clients (for rendering issues):

Email Client: Gmail (the only one I tried)

Screenshots
Screen.Shot.2023-12-06.at.18.54.28.png (view on web)
https://github.com/mjmlio/mjml/assets/133654146/5a431dd7-322d-4430-8232-5dcacfa60d89
Additional context
None
—
Reply to this email directly, view it on GitHub
https://github.com/mjmlio/mjml/issues/2790, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAELHTNDTEAQLLAT65IPR3DYICXGTAVCNFSM6AAAAABAJZAUXCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGAZDSMJQGY3DGOA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Yeah you're using way too many section, things can be simplified with an
html table in most of your cases.
I don't have time to do a full review tho : don't rely on mj-group just to
stick two text, use a regular table instead try to stick to single
section+column as much as you can.

Message ID: @.***>

@iRyusa thank you.
I am not sure if I understand how this works.
If I try to use a mj-text directly inside a mj-wrapper, I get told that "mj-text cannot be used inside mj-wrapper, only inside: mj-attributes, mj-column, mj-hero". So I try to use a mj-column. But then, again, If I try to use a mj-column inside a mj-wrapper, I get told that "mj-column cannot be used inside mj-wrapper, only inside: mj-attributes, mj-group, mj-section".
So I end up using a mj-section, to be able to use a mj-column, to be able to use a mj-text.

You need to have a column inside your section, but just to explain visually this :

Should be a single section with 1 column and you handle everything inside a single mj-text.

@iRyusa I am sorry,  but I have to ask you: You suggested me to use only one column. How is this? As you can see, I have two columns for each "row": The text on the left (red), and the text on the right (blue). I am doing this for each "row".  If I use only one column, I lose the ability to have responsive columns (left and right).


Allow using DotGroup prop renderDots in Typescript

What:

Add Typescript typings for the renderDots method
Avoid passing the custom renderDots method back to itself

Why:
Could not use the renderDots method while using Typescript.
I removed the parameter because it was unneeded
Checklist:

[ ] Documentation added/updated (N/A)
[x] Typescript definitions updated
[x] Tests added and passing (N/A)
[x ] Ready to be merged

fixes #182

@all-contributors please add @kevynb for code

@kevynb I published version v1.23.2 with this change.

Thank you Timothy

Le 31 oct. 2019 à 14:18, Timothy Steele<EMAIL_ADDRESS>a écrit :

@kevynb I published version v1.23.2 with this change.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.


SVN dependency

I tried to find the usage of SVN in the repo, but couldn't find any. There is a verification step, and that's it.
Can you confirm SVN is really required? Otherwise, it should be removed.

https://github.com/rjust/defects4j#requirements Defects4j requires SVB apparently.

I had SVN 1.7 on the cluster I use and I had to turn off this requirement. I tested some Defects4J bugs, but not all. Feel free to ignore this issue, then. I do not have the time to figure out which bug requires SVN.


Wish detail: Edit Hometown

Proposal to add editing hometown to to the site.
Feature Name
Edit hometown
Functionality
Hometown is not required (can be skipped) in wisher intake workflow
After that, there's not a way to edit to put in a value
Notes

Q: should Hometown be required? Or should hometown be editable after the initial data input?
Seems like edit would be the most flexible resolution


doc: new doc about healthcheck of upstream node.

that is an todo item:
https://github.com/iresty/apisix/pull/249#issue-297443205

fixed by https://github.com/iresty/apisix/pull/265


Add method getWithLocale

In one of our applications, we ran into the follwoing problem:
We have a custom vaadin component, which is in the @UIScope
In the UI it is possible to change the language. We are setting the value into the VaadinSession and reload the page.
Therefore our custom component gets recreated, but the UI is null and i18n.get returns the default locale, which is different then the one in the VaadinSession.
Therefore when the user switches the language, all components which are not @UIScope are using the default locale. All other components are using the one from the UI (which is afaik the same as the VaadinSession)
Although it woul be possible to to extend the private method getLocale, to also check the VaadinServlet locale, we would prefer to add the method getWithLocale to mainain flexibility

Thanks! :-)

Thanks for merging.
Can i add myself into the list of developers into the pom.xml?
Regards
On 01.09.2015 10:10, Petter Holmström wrote:

Thanks! :-)
—
Reply to this email directly or view it on GitHub
https://github.com/peholmst/vaadin4spring/pull/249#issuecomment-136628095.

Sure. Go ahead.


If host is offline

If my host is offlne when post/get ? how to get error status ?

"statusMessage":"Not Found","statusCode":404,"headers":{"server":"nginx/1.10.1","date":"Wed, 06 Nov 2019 12:59:01 GMT","content-length":"3","connection":"close"},"data":"404"

Hey, I'm not sure what you're asking?
You'll get an error if the server you're hitting is offline. Whether that error is a 404, 400, 500, ...502 is completely up to the server. But because it almost certainly will be a >400 status code, httpie will present that information to you in the catch block of your handler.
There's nothing it does (or can do) to influence the outcome/response of a dead server.
Hope that helps – if I misunderstood something please lemme know.
Thanks!