feat: add ParentOrElseSampler

Which problem is this PR solving?

Fixes https://github.com/open-telemetry/opentelemetry-js/issues/1075

Short description of the changes

Added ParentOrElseSampler.
Renamed ALWAYS_SAMPLER and NEVER_SAMPLER to AlwaysOnSampler and
AlwaysOffSampler respectively.

@obecny The sampler's description is depends on the parameters they were constructed, e.g. for ProbabilitySamplers their description can be ProbabilitySampler{1.0} or ProbabilitySampler{0.5}, and for ParentOrElseSamplers their description can be ParentOrElseSampler{ProbabilitySampler{1.0}} or ParentOrElseSampler{AlwaysOffSampler}. So separating their description assertion from their parameterized tests may cause verbosity.

@obecny The sampler's description is depends on the parameters they were constructed, e.g. for ProbabilitySamplers their description can be ProbabilitySampler{1.0} or ProbabilitySampler{0.5}, and for ParentOrElseSamplers their description can be ParentOrElseSampler{ProbabilitySampler{1.0}} or ParentOrElseSampler{AlwaysOffSampler}. So separating their description assertion from their parameterized tests may cause verbosity.

It really doesn't matter. The unit tests are meant to test one thing so if some test fails you know exactly what happens. Knowing that if you create a unit test
it('should have correct description', ()=> {
....
})

whenever it fails you know exactly that there is a problem with description and you know where to look.
But you created a unit test
it('should return api.SamplingDecision.RECORD_AND_SAMPLED for AlwaysOnSampler'

so if it fails you have no idea why it failed whether it was sampling decision or something different in this case the description.
Also checking something more in certain unit test when the title says 'should return api.SamplingDecision.RECORD_AND_SAMPLED for AlwaysOnSampler is imho wrong, you should simply create a new unit test for that with a proper title.

should return api.SamplingDecision.NOT_RECORD for not sampled parent while composited with AlwaysOnSampler
imho it should looks like this
describe('when composited with AlwaysOnSampler',()=>{
  it('should return api.SamplingDecision.NOT_RECORD', ()=> {
  });
  it('should have correct description', ()=> {
  });
})

etc.

@obecny 👋  , tests updated, PTAL :)


Add remove-course subcommand to ngshare-course-management

Untested, but seems useful to have this around for clean up puproses.

The last version is actually tested and works :-)

Think you could add a test here: https://github.com/LibreTexts/ngshare_exchange/blob/master/ngshare_exchange/tests/test_course_management.py


"Failed to extract archive" prints a lot of garbage

When I try to install a plugin that has an error (for example with sheerun/vim-polyglot) I get Error: failed to extact archive while installing plugin form URL https://codeload.github.com/sheerun/vim-polyglot/tar.gz/master -- got from server:  followed by a lot of garbage. Can this print be removed so my console isn't filled with the bytes of a binary application?

Can this print be removed

Sure, I’ll add it now.

Sorry, I can’t seem to reproduce this. Are you on the latest version? Because the error message you are talking about was introduced in this commit. Since this commit, however, plugin error messages have been displayed in each plugin’s spinner text area.

Oh sorry that seems to be the problem yeah, I thought I updated it but apparently I had it installed twice.


Resolve search URL correctly

Search URL is not resolved correctly when BaseURL contains organisation.
Given BaseURL: https://chef.company.tld/organizations/myorg/, the search URL becomes https://chef.company.tld/search, when it should be https://chef.company.tld/organizations/myorg/search.
This should fix it.

@martinp this is awesome can you add a test to validate this as well. It has been on my radar to make sure orgs worked correctly. A test that asserts the org path is being constructed correctly would be awesome here.

org testing BaseURL might be the better place. I fear this issue is in the other objects. Will merge this for now, and make some progress on testing the other things against orgs.


LPSPI Rework Open Discussion Points

[ ] Architectural questions

[ ] Split into low-level and high-level driver? If so, naming?
[ ] Reuse existing driver as low-level driver? If so, how to deal with the fact that e-h 1.0 doesn't use the CS pin?
[ ] Build high-level driver from a read and a write backend, which can be Polling/DMA/Interrupt based? If so, then:

[ ] Should the DMA backend be an extension of the Interrupt backend, or should DMA work without interrupts? (Personally leaning towards DMA+Interrupts)
[ ] Which data types should be allowed for DMA? u32 works always, u16 works never, and u8 works sometimes, depending on alignment (even if we align with slice::align_to. The read and write buffer could be misaligned to each other, making it impossible to DMA.)

[ ] How should interrupts be handled? If interrupts are enabled, then interrupts get fired continuously until the interrupting flags are cleared. Should:

we clear the flags and store their state elsewhere, then wake the waker?
we disable interrupts inside the interrupt handler, and enable it dynamically whenever we go to sleep? Then all the interrupt handler does is to wake the waker`? (Kind of leaning to towards this one)

[ ] How should embedded-hal and embedded-hal-async be implemented? Should embedded-hal simply be a cassette poll wrapper around the async version or be its own thing? (problem: implementation complexity, which reduces confidence in correctness)

Leaning towards yes, use cassette. Reason: Even in the blocking version, async makes it trivially easy to listen to the write & read side simultaneously, because it will simply poll both sides of the operation alternatingly. Without async, the read and write operations whould have to be interleaved somehow. That is, if we manage to get rid of the critical section in the poll function; this one is kind of a problem for the sync version.

[ ] Should critical sections be allowed inside of the interrupt handler? Should critical sections be held as short as possible?

[ ] How to combine u8/u16/u32 without having to provide a separate implementation for each?

Current approach: convert them all to * u8 and store alignment information separately. Then split them into 6 parts:

1 to 3 bytes single word read&write transfer
u32-aligned longer read&write transfer
1 to 3 bytes single word read&write transfer
1 to 3 bytes single word read or write transfer (depending on whether read or write data was longer
u32-aligned longer read or write transfer
1 to 3 bytes single word read or write transfer

This allows us to implement all other functions independent of the actual data type, and also automatically allows efficient u32 based u8/u16 transfer.

[ ] Should the implementation be reference or raw pointer based?

Advantage of reference based: no unsafe required, and hence increased confidence in correctness
Drawback of reference based: in-place transfer (required by eh1) becomes infinitely harder to implement.

@mciantyre In case you have some time, I'd appreciate your though on this, or if you have additional open questions I missed. I'm sure I missed plenty that will pop up later.

Split into low-level and high-level driver? If so, naming?

I have some ideas for naming the async components here. These names depends on the design, so if that design doesn't work, we'll think of something different.
Other ways to re-use the Lpspi name for different things include

putting them in different modules within imxrt-hal.
putting them in different crates.

Regarding 2: it would be OK with me to consider an imxrt-hal-async package. That package could depend on imxrt-hal for its drivers and configuration modules. This would be symmetric to the interface packages: we have embedded-hal and embedded-hal-async, and embedded-hal-async depends on embedded-hal.

Reuse existing driver as low-level driver? If so, how to deal with the fact that e-h 1.0 doesn't use the CS pin?

After removing the CS pin from the interface, I believe today's LPSPI driver can be a foundation for an async driver. It needs tweaks and extensions, but its lower-level API tries to support this use case. If the existing driver doesn't work, then reach for the RAL.
We'll need to remove the chip select pin from the driver, turning it into something supporting SpiBus. Users who want software-managed chip selects can reach for embedded-hal-bus. Users who want hardware-managed chip selects will need to wait for an LPSPI-capable SpiDevice solution.

Build high-level driver from a read and a write backend, which can be Polling/DMA/Interrupt based?

DMA + interrupts should work. Only supporting u32 is also fine; that's all we support today.

How should interrupts be handled?

Some status flags, like RDF and TDR, are read-only and cannot be cleared. Disabling the interrupt enable bits should work for these bits, and should also work for all other events. This allows a custom future to check and maintain the status register in its poll() implementation.

How should embedded-hal and embedded-hal-async be implemented? Should embedded-hal simply be a cassette poll wrapper around the async version or be its own thing?

I'm not a fan of "use cassette to go from async to blocking" for two reasons:

We have a blocking implementation that isn't based on async, and it can be tweaked to meet 1.0 embedded-hal requirements. Taking this approach excludes maintainers / contributors who only care about blocking I/O and aren't prepared for async Rust. I'm willing to maintain a blocking I/O implementation that's distinct from its async implementation.
It's a general design pattern baked into a specific HAL. If folks think this is a useful design pattern, how about doing something like embedded-spinny, which might solve the same problem for other HALs?

Should the implementation be reference or raw pointer based?

Raw pointers are OK. We can build our own / seek out existing safe abstractions.

Any considerations for introducing an intermediary (ring) buffer within an async LPSPI driver?  We use it as another FIFO for the interrupt case, and as the source / destination of DMA transfers. We incur extra copying and buffering in the driver, and the user pays in extra program memory.
The extra buffer might change where / how we interact with the hardware FIFO, interrupt flags, status registers; not sure if that change is helpful. And if we require that the user supply us with a u32 buffer, we can then implement u8-based DMA without worrying about alignment.

Any considerations for introducing an intermediary (ring) buffer within an async LPSPI driver?

What would be the advantage of this, opposed to streaming into the hardware fifos directly?

For DMA use-case: If we require that the user supply us with a u32 buffer, we can then implement u8-based DMA without worrying about buffer alignment.
For interrupts, we can reduce the number of executor wake-ups (different than the number of activating interrupts). We achieve this by moving hardware FIFO management into the interrupt handler. The user yields at await points when they need space in their flexibly-sized ring buffer; they're not awaiting space in a fixed-sized hardware FIFO. Thread-safe, lock-free queues / buffers from heapless / bbqueue might help us out.
Reducing the number of executor wake-ups might avoid cooperative multitasking issues. If we're managing the hardware FIFOs through code paths in the executor, we could over- or under-run a FIFO while another task isn't yielding. This might be less of a concern; I think executors like RTIC and embassy have ways to express task priorities. It's also not a perfect solution, since avoiding the problem still depends on the ring buffer's size (but at least the user controls that size).
And for both cases, we have a consistent way to realize interrupt and DMA I/O. In the transmit path, we're filling a ring buffer, then triggering some state machine to empty that buffer. In the receive path, we're triggering some state machine to fill a ring buffer, then emptying that buffer. The distinction of interrupt and DMA is the answer to "what's that state machine on the other side of this buffer?" Once we establish the design, it naturally translates into an async LPUART driver implementation, supporting a peripheral that only has a four byte hardware FIFO.

Uff, that's a lot to think about :D
I might have to take a step back for a couple of weeks, if someone wants to try himself on this, please go ahead :)


Annoying .DS_Store Issue

bryantran@Bryans-MacBook-Pro-5 prework-study-guide % git checkout -b feature/add-html
Switched to a new branch 'feature/add-html'
bryantran@Bryans-MacBook-Pro-5 prework-study-guide % git status
On branch feature/add-html
Untracked files:
(use "git add ..." to include in what will be committed)
.DS_Store
nothing added to commit but untracked files present (use "git add" to track)
I guess MacOS adds this annoying .DS_Store file.  According to Wikipedia it can cause issues with commits.
Plan:

Add .DS_Store to .gitignore locally.
"git checkout main" to get to main
"git checkout -b fix/ignore_ds_store" to create a new branch
"git add .gitignore" to stage .gitignore
"git commit -m "add .DS_Store to .gitignore"
"git push origin fix/ignore_ds_store"
Go to GitHub and merge
Back to CML and check

Hopefully this works.

Think I did something wrong.  It still showing up when I use "git status".  Anyways, I got a little confused and just "git stash" for now so I can work on my course.

I figured it out.  When I used "git status" it still showed the .DS_Store error because branch feature/add-html was not up to date.  I used "git branch -D feature/add-html" to delete the branch and remade the branch to cloned a fresh copy.


Add note to length method

Various fixes to SQL filtering (Section 8.1)
Add note to SQL length method (Section 8.4)
Add var num arguments to append method (Section 8.4)
Add @this and @size to reserved identifiers (Section 11.5)

👏

Thanks!


how to fix the  OAuth problem?

Prerequisites

[yes ] Did you read FAQ section?
[ yes] Did you test with the latest releases or commit ?

im trying to download some posts from the fanbox and using any method but the program keeps saying 103:pixiv ID、またはメールアドレス、パスワードが正しいかチェックしてください。
Error processing FANBOX post: 1339421 ==> Failed to login using OAuth
Versions the version from 26.08.2020

sorry if i writed anything wrong but im new again im very sorry for that

using google translate, it said you need to use the correct email address or password to login.
Update you config.ini username/password?

yes

are you using id or e-mail address as username? if one of them doesn't work try the other one.

thanks it works now you just need to set your email as your username


bundler should print warnings to STDERR instead of STDOUT

Encountered an issue today where running a command like bundle show rubocop-junit-formatter prints a warning to STDOUT, screwing up a script. I think warnings should be printed to STDERR so that they won't pollute the expected output of bundle commands.
Version:
bundler-1.16.6
Steps to reproduce:
Platform: Linux or Mac OS
Gemfile:
gem 'rubocop-junit-formatter'
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]

Run:
bundle
bundle show rubocop-junit-formatter
Expected results:
This should be printed to STDERR:
The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`.

This should be printed to STDOUT:
<EMAIL_ADDRESS>
Actual results:
All the above is printed to STDOUT.

This will be the default behavior in bundler 2 and you can opt in on bundler 1 via bundle config error_on_stderr true or the BUNDLER_ERROR_ON_STDERR environment variable.
Although I would honestly ship this as a non-configurable bug fix, not sure how other @bundler/maintainers feel about it.

I’m 👍 on shipping as a bug fix unless there’s history to this one I’m not aware of

I think this might also make Rails maintainers happy because I think currently they keep a list of warnings they need to filter out from the output of their generator tests. Maybe doing this will make all that go away? /cc @y-yagi

Printing errors to STDERR is a breaking change, so it's slated to come out in Bundler 2

Any bug fix can be considered a breaking change, and viceversa, if worded properly :smiley:.
I'm good with shipping this on bundler 2.x too, I just wanted to state that I consider this a bug fix, not a breaking change.

:+1: If Bundler 's warning is output to STDERR, we can remove filter processing from Rails' test.


Changing API for Field summing from [] to + operator

PR #393 introduced FieldLists as a way to specify that a Field interpolation needed to be done as the sum of a set of Fields (e.g. flow = currents+wind+stokes)
However, it might be more intuitive to use the + operator for this feature, just like kernels can be concatenated with the + operator.
In the future, this will then also allow us to re-use the list operator [] to specify a hierarchy or nested domains

Fixed in #435


Fix security task instructions.

Fix more places in security tasks, including invalid code references and cleanup instructions.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: myidpt
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: linsun
Assign the PR to them by writing /assign @linsun in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Do we want to proceed with this PR or should it be closed?

Please reopen if needed.


best practices for syntaxes

Based on user feedback -
The user would like examples of how to build containers to upload to different cloud registries. There is an understanding that the user needs to alter the syntax, but documentation on the best practice will be a good starting point.

covered by #2608


fix target frequency on PWM of it8xxx2

Is your enhancement proposal related to a problem? Please describe.
path : drivers/pwm/pwm_ite_it8xxx2.c
target frequency is less than or equal to 324Hz, the first time invokes function < pwm_it8xxx2_set_cycles > will operating in correct output frequency, after the second times will not operating in correct output frequency.
The Root cause is when selected target frequency less than or equal to 324Hz will 'AND' condition with check PCFSR register for EC frequency. Since the first time default will being EC frequency and instead of 32KHz after selected target frequency less than or equal to 324Hz, so on, PCFSR will changed to 32KHz from EC frequency. The Second times being invoked, as PCFSR is selected as 32KHz, so target frequency (<= 32KHz) 'AND' condition with check PCFSR is not being true, and the 'pwm_clk_src' variable value is not 32768 instead of EC frequency.
Describe the solution you'd like
An if statement only for checking target frequency less than or equal to 324Hz after, only this condition is true then checking PCFSR register for EC frequency and set 'pwm_clk_src'  variable as 32768.
Describe alternatives you've considered
if statement only checking target frequency less than or equal to 324Hz rather than 'AND' condition with checking PCFSR register for EC frequency.
Additional context

@yimjiajun
I think you should summit these two commit in one (include title, context, sign and code changes), then you may pass the checks.
ex.
ITE drivers/pwm: fix target frequency below 324Hz on it8xxx2
Target frequency is less than or equal to 324Hz, the first time invokes function < pwm_it8xxx2_set_cycles > will operating in correct output frequency, after the second times will not operating in correct output frequency.
The Root cause is when selected target frequency less than or equal to 324Hz will 'AND' condition with check PCFSR register for EC frequency. Since the first time default will being EC frequency and instead of 32KHz after selected target frequency less than or equal to 324Hz, so on, PCFSR will changed to 32KHz from EC frequency. The Second times being invoked, as PCFSR is selected as 32KHz, so target frequency (<= 32KHz) 'AND' condition with check PCFSR is not being true, and the 'pwm_clk_src' variable value is not 32768 instead of EC frequency.
Signed-off-by: yimjiajun<EMAIL_ADDRESS>

@yimjiajun I think you should summit these two commit in one (include title, context, sign and code changes), then you may pass the checks. ex. ITE drivers/pwm: fix target frequency below 324Hz on it8xxx2
Target frequency is less than or equal to 324Hz, the first time invokes function < pwm_it8xxx2_set_cycles > will operating in correct output frequency, after the second times will not operating in correct output frequency. The Root cause is when selected target frequency less than or equal to 324Hz will 'AND' condition with check PCFSR register for EC frequency. Since the first time default will being EC frequency and instead of 32KHz after selected target frequency less than or equal to 324Hz, so on, PCFSR will changed to 32KHz from EC frequency. The Second times being invoked, as PCFSR is selected as 32KHz, so target frequency (<= 32KHz) 'AND' condition with check PCFSR is not being true, and the 'pwm_clk_src' variable value is not 32768 instead of EC frequency.
Signed-off-by: yimjiajun<EMAIL_ADDRESS>
Thanks you !


docs: Windows rewrite

Refactor the Windows documentation to keep it all in the same place
and not make the user go back and fourth between multiple docs.

Go to staging first via https://github.com/rancher/docs/pull/1465


Read blank values from xls, xlsx, csv

Hi friends,
I am facing an issue in read data from xls,xlsx and csv.
Issue: Is it possible to read blank column values from xls,xlsx and csv? If yes How?
if No why? please help me ASAP.

You can use this notation for column names [0],[1],[2] like
    SELECT [0],[2] FROM XLS('filename.xls') WHERE [3] > 100


Allow /results to be stored to different local path

Currently all of the Flank test results seem to be stored to /results
It would be nice if we had and optional parameter to set a different local folder to write the results to.

I think something like flank-result-dir: $BITRISE_DEPLOY_DIR would replace the need for
cp -r ./apps/student/results/*/* $BITRISE_DEPLOY_DIR

https://github.com/TestArmada/flank/pull/523 will fix this :)


iterable_sections: move to specific header

Until now iterable sections APIs have been part of the toolchain (common) headers. They are not strictly related to a toolchain, they just rely on linker providing support for sections. Most files relied on indirect includes to access the API, now, it is included as needed.
In a follow-up I'll improve docs, tests and potentially extend CMake generation part.

Note: compliance checks are false positives (linker script snippets in header files), this PR just moves existing code, so they were already present
SPACING: spaces required around that '?' (ctx:VxO)
File:include/zephyr/linker/iterable_sections.h
Line:23
 SPACING: spaces required around that '?' (ctx:OxV)
File:include/zephyr/linker/iterable_sections.h
Line:23
 SPACING: space required after that ',' (ctx:VxO)
File:include/zephyr/linker/iterable_sections.h
Line:50
 SPACING: space required after that ',' (ctx:OxV)
File:include/zephyr/linker/iterable_sections.h
Line:50
 SPACING: space required after that ',' (ctx:VxO)
File:include/zephyr/linker/iterable_sections.h
Line:83
 SPACING: space required after that ',' (ctx:OxV)
File:include/zephyr/linker/iterable_sections.h
Line:83
 SPACING: space required after that ',' (ctx:VxO)
File:include/zephyr/linker/iterable_sections.h
Line:103
 SPACING: space required after that ',' (ctx:OxV)
File:include/zephyr/linker/iterable_sections.h
Line:103
 SPACING: space required after that ',' (ctx:VxO)
File:include/zephyr/linker/iterable_sections.h
Line:1[36](https://github.com/zephyrproject-rtos/zephyr/actions/runs/5012754577/jobs/8985074502?pr=57895#step:9:37)
 SPACING: space required after that ',' (ctx:OxV)
File:include/zephyr/linker/iterable_sections.h


Undesired column menu animation change

When switching from 3.0.0-rc.20 to 3.0.0-rc.21, I noticed a change in the column menu animation. It used to be nice and subtle, but it now comes down from the top of the page.
Hopefully this is just a bug and not an intentional change.
You can see it on the main demo page (using Chrome if that matters).
http://ui-grid.info/

Yeah, it's a bug.  I think it was an attempt to fix column menu positioning on IE9 that broke it, although I haven't bisected yet to prove that.  @c0bra

Hmm.  Or maybe it's not that at all.  I seem to recall doing a change where I moved where in the directives the menu lived.  Perhaps that did it.

Hmm.  I bisected all the way back into Dec.  It seems to have always done it.  Interesting.

Ran into this weird issue too...but the animation seems to not be present in http://ui-grid.info/customizer/?

I think I found it. It's related to the UI Grid CSS (in the case of ui-grid-unstable.css, line 146):
.ui-grid-column-menu .ui-grid-menu .ui-grid-menu-mid.ng-hide-add,
.ui-grid-column-menu .ui-grid-menu .ui-grid-menu-mid.ng-hide-remove {
  -webkit-transition: all 0.05s linear;
  -moz-transition: all 0.05s linear;
  -o-transition: all 0.05s linear;
  transition: all 0.05s linear;
  display: block !important;
}

Comment out the above lines in the CSS and the animation goes away.


Issues with a11y combined with centered slides and slidetoClicked

We use the swiper in a cordova application which we are trying to optimize for accessibility.
We enabled the a11y flag in the swiper parameters but have issues after selecting a tab on iOS.
The issue looks as follows:
Swiper with centered slides, showing 3 slides, total of 5 slides in swiper.
When we step through them using voiceover it works fine, the swiper scrolls through the slides but when I select e.g. the last slide, it shifts all the slides too much to the left and no slide is visible anymore. I can then also no longer scroll through them correctly and can't select them anymore.

Issue is closed because of outdated/irrelevant/not actual/needed more information/inactivity.
If this issue is still actual and reproducible for latest version of Swiper, please create new issue and fill the issue template correctly:

Clearly describe the issue including steps to reproduce when it is a bug.
Make sure you fill in the earliest version that you know has the issue.
Provide live link or JSFiddle/Codepen or website with issue


scikit-image not installed through pip + tensorflow version for GPU support

Hi,
Just as a heads up, if someone ever encounters those issues during installation :

I noticed that installing deeptrack through pip in a fresh conda environment does not seem to install scikit-image by default, despite it being in requirements.txt. Installing it independently through pip works just fine.
Whenever setting up an environment for GPU support, installing CUDA separately seems to break tensorflow, if it was installed as a dependecy of deeptrack beforehand. The solution that worked for me is to install tensorflow-gpu on a clean environment, and then install deeptrack.

Hi! Great heads up. scikit-image seems to have inadvertently been removed from the dependencies. This should be remedied in the next release! For the second point, I have not personally encountered this problem, but I also don't personally use conda.  However, gpu-accelerated tensorflow is often a hassle to set up correctly, so it does not surprise me that there are cases where conda fails. I will try to reproduce!


TES3Merge error

Here's my TES3Merge.log file; I have no idea what the error message means. "Object reference not set to an instance of an object." for the NPC 'fara'?  Let me know what you can make of it. I'd previously used all three mods referenced (more barter gold, BCOM, and hold it) in my previous install without issues, so let me know what you find.
TES3Merge.log
.

Never mind. Looked through each of the last few error messages, and found the instructions provided by sulez745:

Open this plugin in TESAME, click Mods>Autoclean>check NPCs only>Start. There should be 13 "illegal items". Click "remove all". Save plugin and then you should run TES3Merge without errors.
I followed the instructions and TES3Merge was able to run without a problem. No idea why RandomPal's creatures expansion would cause this issue.

I posted a comment with the error report to RandomPal's Vanilla-Friendly Creature Expansion page, asking him to take a look. Here's his response:

This is more an issue with tes3merge going crazy sometimes when merging certain types of records rather than an issue with the mod.
I never used the autoclean function of tesame but I tried it to see what it would do. As I suspected, it simply removed some edits.
When it says "potentially illegal", it's because the software is simply checking if the ID of the NPC is the same as a vanilla NPC. It's not a new ID and so it's marking it as possible dirty edit.
Tes3cmd is smarter in that as it checks if there's something being changed about that particular item (an NPC, in this case).
Cleaning the records of course works as tes3merge just doesn't have to merge the problematic records now, but you're removing intended edits.
In this case, the records being removed are those relative to the various dreamers. I gave them obisidian weapons (https://www.nexusmods.com/morrowind/mods/47200) but if you clean/cut the records then you're cutting this feature out of the mod, essentially.

Having 'merged objects.esp' working is more important than having an extra feature from this mod, so I'll continue using the edited version without obsidian weapons, but can you take a look at TES3Merge to see if there's a way to get it to work with RandomPal's changes? Thanks!

Give this build a try, let me know if you have any further issues.


Improve userGuide to improve readability

Changes

Add images to pair, unpair and stats command
Add hyperlinks to redirect back to contents page
Add short overview of features in introduction

I have made some changes, lets quickly read through to see if they make sense


Apply shellcheck suggestions via TravisCI across a number of scripts

On the back of complains from Shellcheck via TravisCI - https://travis-ci.org/AdoptOpenJDK/openjdk-build/builds/252972791?utm_source=email&utm_medium=notification, tried to address many of the warnings but not all of them

Anyone with shellcheck-foo I have missed to add to the reviewers list?

Kicking off a build via PR pipeline - https://ci.adoptopenjdk.net/view/OpenJDK PR/job/openjdk_pr_pipeline/32/console


update to air sdk 17.0

Hi,
fyi interest, this request duplicates mine: https://github.com/Homebrew/homebrew-binary/pull/197
but two is better than none : )

yeah, i olny saw that after i had it on. both fail to auto merge though. on yours it throws a 'depends on' error, while i cant see why it failed on mine. any ideas?

it seems the error is unrelated to the formula itself.. oh well, i'm clueless. maybe that doesnt even have anything to do with it.
http://bot.brew.sh/job/Homebrew Binary Pull Requests/version=mountain_lion/76/console


Dark rectangles when connecting to a big monitor!

When I connect the Raspberry Pi board to a very big TV, I see dark rectangles inside MapView.

I have no idea what you're talking about :(
What are the "big" rectangle? No picture/screenshot?
Dark rectangle = black? Is it the background?
You may also just have not enough memory to run it therefor you're seeing black texture?
Please reopen if you have actual code/more information/screenshot about the behavior.


Support ruby 3.1 :args_forward shape change

Description
Currently yard errors when tries to parse method with args forwarding using Ruby 3.1:
[error]: NoMethodError: undefined method `source' for "&":String

params << ['&' + args.block_param.source, nil] if args.block_param
  | [error]: Stack trace:
  | /tmp/bundle/ruby/3.1.0/gems/yard-0.9.27/lib/yard/handlers/ruby/method_handler.rb:100:in `format_args'

This is happening because Ruby 3.1 changes params statement for a method with args forwarding from:
Reference:
https://kddnewton.com/2022/01/08/ripper-changelog-3.1.0.html#argument-forwarding
[:params, nil, nil, [:args_forward], nil, nil, nil, nil]

to:
 [:params, nil, nil, nil, nil, nil, [:args_forward], :&]

So the block_param wrongly assumes that :& is an explicit block argument.
I don't think there is an issue with block_param method, the "shape" of the statement stays the same and the last value in the array is references block param, it's just in this particular case the block param is "anonymous" or "implicit" if I may call it like that.
So I'm adding additional args_forward  check to avoid processing :& block.
args_forward method works for both Ruby 3.1 and older versions even though we don't necessarily need it for Ruby lower than 3.1
Also added test for the anonymous block forwarding. It's not related to the issue but I thought it can't hurt having it just in case
Completed Tasks

[x] I have read the Contributing Guide.
[x] The pull request is complete (implemented / written).
[x] Git commits have been cleaned up (squash WIP / revert commits).
[x] I wrote tests and ran bundle exec rake locally (if code is attached to PR).

Thanks for the implementation! Sorry for the delay on this, it looks good!


Using TorMySQL in a Tornado web app

My task
I have an old, large project based in Python 2.7 with Tornado framework. To work with MySQL, it initially used Tornado-MySQL with raw SQL queries, and it worked well, but now I have to deal with MySQL 8, and that library is obsolete, unmaintained.
So, now I use TorMySQL library – it connects easily to MySQL Server 8 and mainly works well. However, I don't fully understand how to use it, and this leads some bugs: different clients of the web application see different versions of data, like if they had different connections with own uncommitted data. The data eventually becomes updated, but too late.
Current code
All the work with database is handled by file database.py which is used in lots of other files. Here is it's simplified code:
from tornado import gen
from tornado.gen import Return
import tormysql
import settings

POOL = tormysql.ConnectionPool(
    max_connections = 20,
    idle_seconds = 7200, #timeout time, 0 is not timeout
    wait_connection_timeout = 3,
    host='<IP_ADDRESS>',
    port=3306,
    user=settings.MYSQL_USER,
    passwd=settings.MYSQL_PASSWORD,
    db='aivanf',
    use_unicode=True,
    charset='utf8mb4')

@gen.coroutine
def executeSQL(query, params):
    with (yield POOL.Connection()) as conn:
        with conn.cursor() as cursor:
            try:
                yield cursor.execute(query, params)
            except Exception, ex:
                print('Exception!\n{}'.format(ex))
                yield conn.rollback()
                raise Return(None)
            else:
                first = query[:10].lower()
                if 'update' in first or 'insert' in first:
                    yield conn.commit()
                if 'select' in first:
                    raise Return(cursor.fetchall())
                else:
                    raise Return(None)

I use multiple if because this single function is called with different types of queries. I know, it's ugly, but works fine. Similar, but even simpler code for Tornado-MySQL worked completely perfect, but with MySQL 5.7 only.

The question
How to solve the problem?
I suppose it is related to the pool – maybe I have to close / recreate it? The example on main page of TorMySQL also has this line: yield pool.close() but I found no option to use it in my code.

You probably have to conn.commit() even after a SELECT query - otherwise a run of SELECT queries are done within the same transaction as the first.

(I think most users are accustomed to "autocommit" by default, but that does not seem to be the default mode for TorMySQL)

You probably have to conn.commit() even after a SELECT query - otherwise a run of SELECT queries are done within the same transaction as the first.

Thank you very much, Pierce! Now the code works excellent. My perfectionism (desire to reduce commits) was wrong at this time 😅 If you want, you can also write an answer to the same question on StackOverflow, I'll plus it.

sure, thanks :)

oo, verygood


[Enhancement] Switch to one-page layout for Profile pages

Sage Design feedback
Current profile pages:

The initial thought was that the sidebar was a table of contents rather than an actual navigation system.  It could be worth to switch to a one-page layout then re-purpose the sidenav as a table of contents?  Especially considering that each of the sub-pages are not going to be long (with the exception of "Stargazers").

I agree with the idea to show all the content on one page as scrolling is easier than clicking on the different items of the TOC.
That said, I like the TOC and so we could still keep it and instead use it to jump to specific sections of the page. Here the TOC should always be visible and not disappear as the user scroll.

I was thinking that if we switch to a one-page layout, we could remove "Stargazers" from the table of contents, and instead, link out to the list of users from the metrics div:

I think that the existing "tab" sections should still be kept for potentially long content such as stargazers. On that tab we could have pagination to make it easier to navigate. Future tabs could include detailed analytics such as plot that show data over time, similar challenges / other challenges seen by viewers, etc.

It could be worth to switch to a one-page layout then re-purpose the sidenav as a table of contents

I agreeeee~

Especially considering that each of the sub-pages are not going to be long (with the exception of "Stargazers").

For stargazers, we could create a new page for stargazers list. Then we could set max # of stargazers to display. Next to title of "Stargazers", there is a "see more" or "see all" hyperlink which will redirect to stargazers list page.

For stargazers, we could create a new page for stargazers list.

Yeah, that's along the same lines I'm thinking.  I like the idea of doing a "See More" button - it follows the same design we're doing on other pages.

8/29/2023 update:
I believe this is blocked or on hold, correct, @tschaffter ?

Let's review this ticket tomorrow in our 1:1 and then decide whether whether we complete/shelve/postpone this ticket.


dev: add kakarot alpha testnet

Hello, I am Harsh, and I am a core developer at kakarot.
This PR adds Kakarot zkEVMs upcoming alpha testnet to chain lists. Kakarot is type 2.5 zkEVM build on top of the cairo-vm using cairo language.
We will follow up later on with PRs to add RPCs, and Block explorers links, this PR is to get the initial steps going.

I think you need to incorporate the information that the chain is an L2:
{
  ...
  "parent": {
   "type" : "L2",
   "chain": "eip155-1",
   "bridges": [ {"url":"https://bridge.arbitrum.io"} ]
  }
}

here I think it should be eip155-<CHAIN_ID_OF_SEPOLIA_OR_GOERLI> (let me check with Liron which testnet we'd use) and bridges can be omitted weirdly enough, zksync puts as parent of their L2 Eth mainnet every time: https://github.com/ethereum-lists/chains/pull/3921/files
https://github.com/ethereum-lists/chains?tab=readme-ov-file#evm-based-chains

Yeah, I am aware of this, I omitted it because, I am not sure whether on the first alpha testnet wether we will be pusing state updates to Eth testnet or not.
I looked at scroll's pre-alpha one, and hence omitted, but if we will be posting state updates, then I will add this field as well, lemme know what u think.

I think you need to incorporate the information that the chain is an L2:
{
  ...
  "parent": {
   "type" : "L2",
   "chain": "eip155-1",
   "bridges": [ {"url":"https://bridge.arbitrum.io"} ]
  }
}

here I think it should be eip155-<CHAIN_ID_OF_SEPOLIA_OR_GOERLI> (let me check with Liron which testnet we'd use) and bridges can be omitted weirdly enough, zksync puts as parent of their L2 Eth mainnet every time: https://github.com/ethereum-lists/chains/pull/3921/files
https://github.com/ethereum-lists/chains?tab=readme-ov-file#evm-based-chains

Yeah, I am aware of this, I omitted it because, I am not sure whether on the first alpha testnet wether we will be pushing state updates to Eth testnet or not.
I looked at scroll's pre-alpha one, and hence omitted, but if we will be posting state updates, then I will add this field as well, lemme know what u think.

Afaik we'd be posting state diffs but not proofs, will confirm by tomorrow

@Eikix , I have added Sepolia as the Parent chain!
Also, the chain id we are using is ASCII of: KKRT0

Celestia Airdrop - Claim Your Free TIA Tokens Now!

Don't Miss Out on Your Share of 60 Million $TIA Tokens!
Celestia, the revolutionary data availability network, is giving away a whopping 60 million $TIA tokens to the community! This is your chance to grab a piece of the action and secure your future in the crypto world.
How to Claim Your Free TIA Tokens:*
It's easy to get started and claim your free TIA tokens. Follow these simple steps:

Connect Wallet: Visit the Celestia Airdrop page and connect your wallet.
Claim: Click the Claim button to receive your tokens.
Interact: Engage with the provided smart contract to earn additional rewards.

Why Wait? Start Earning Today!
With Celestia, the sky's the limit. Don't let this opportunity slip through your fingers. Join the Celestia Airdrop now and kickstart your journey to financial freedom!dogelayer, @jettang2019, @maheeh, @Sparking42, @haoyeshenyong, @panda161830, @Behia99, @boogh46, @viknsagit, @Fazlu196, @zzf03680147, @vien86, @peacechinaza, @simone1999, @jwdyerl, @IIDDRRII, @siliasi, @phantomk, @jadad032, @Sergey000777

Hello,
We have an exciting opportunity for you! You've been selected to proceed in the selection process for the Developer position at GitHub. Congratulations on your achievement!
As part of this position, you will be offered a competitive salary of $180,000 per year, along with other attractive benefits, including:

Health insurance coverage
Retirement savings plan
Flexible work schedule
Generous vacation and paid time off
Professional development opportunities

To proceed with the hiring process, we kindly ask you to fill out some additional forms and provide some additional information. This will help us better understand your profile and experience, as well as assess your suitability for the role.
Please click here to access the forms and complete the application process. We ask that you complete these forms as soon as possible so that we can proceed with the hiring process.
Important: You have 24 hours to complete the application process.
If you have any questions or need further information, please don't hesitate to contact us.
Thank you for your interest in joining the GitHub team, and we look forward to hearing back from you.
Best regards,
GitHub Recruitment Team
mdugue, @getspooky, @coyoteLJY, @pcieslinski, @denistsoi, @tanyeun, @osxgirl, @zommuter, @candiepih, @HappyFeet07, @ennnnzo, @MaksFirzen, @valstu, @maintao, @rishankk, @mrthiti, @kengoldfarb, @ediskandarov, @pokhrelanmol, @Moudicat

Hey there,
We've got some thrilling news for you! GitHub is currently looking for skilled Developers to join our team. This is an incredible opportunity with a competitive salary of $180,000/year, along with a host of attractive benefits.
Interested in taking your career to the next level? Don't miss out! Click here to apply and secure your spot.
Looking forward to potentially welcoming you aboard!
Best regards,
GitHub Recruitment Team
DaviVilarinho, @richard-massless, @whitehead421, @theodesp, @nicholasDxy, @solomon0x, @bengtfrost, @yenilikci, @wolfofalgstreet, @Deveshb15, @mhchia, @BroccoliFin, @Kamar-Meddah, @xiyou1223, @plantingrootzinc, @loopyluffy, @0xdewy, @shaohongwu, @annhienktuit, @Chuuch


[FLINK-6075] - Support Limit/Top(Sort) for Stream SQL

Thanks for contributing to Apache Flink. Before you open your pull request, please take the following check list into consideration.
If your changes take all of the items into account, feel free to open your pull request. For more information and/or questions please refer to the How To Contribute guide.
In addition to going through the list, please provide a meaningful description of your changes.

[x ] General

The pull request references the related JIRA issue ("[FLINK-XXX] Jira title text")
The pull request addresses only one issue
Each commit in the PR has a meaningful commit message (including the JIRA id)

[x ] Documentation

Documentation has been added for new functionality
Old documentation affected by the pull request has been updated
JavaDoc for public methods has been added

[x ] Tests & Build

Functionality added by the pull request is covered by tests
mvn clean verify has been executed successfully locally or a Travis build has passed

@fhueske
I have implemented the support for offset and fetch for both rowtime and proctime.
This PR will close the JIRA issue. Please have a look

Thank your for the work , I will also look into this in the next days. BTW, can you please close #3714 @rtudoran ?

@wuchong @fhueske
I closed that old PR (i forgot about it).
Thanks for looking into this.

Hi @rtudoran, I had a look at the PR and left a comment on FLINK-6075.
I think we do not need retraction for OFFSET and FETCH on ORDER BY *time ASC and can implement this by extending the existing ProcessFunction for sorting. We only need to buffer and retract rows if we support OFFSET and FETCH for arbitrary sort orders.
Let me know what you think,
Fabian

@fhueske You were the one  that argue that retraction support is needed for offset and fetch. When we were discussing this i was not into having the retraction. I think finally it depends on what behavior we want to give for the function. If we have a SELECT x FROM stream ORDER BY *time FETCH 2 when we emit the new latest data - do we still want to invalidate what we have emitted previously (in this case we would emit the retraction), otherwise if we consider that that was the valid input at that point in time - we do not need the retraction. I am fine either way. Let me know.

@rtudoran  "SELECT x FROM stream ORDER BY *time FETCH 2" do not need retraction. Because it is order by ascending time. The query will only emit the first 2 rows and after that drop all rows. We need retraction if the query is order by time desc.

Hi @rtudoran, you are right, I said we will need retraction for OFFSET and FETCH. However, it is only required for the general case and the special case of ORDER BY *time ASC without updates should be implemented without.
IMO, the semantics of a query are fixed and not really up for discussion. Just imagine a regular database would execute the same query on a table that holds the same data as the stream. This defines the result of the streaming query that our operators must produce.
Moving forward, I would modify this PR to support ORDER BY with OFFSET and FETCH for append-only input by extending the existing operators with counters and open JIRAs for the other two cases (ORDER BY *time DESC and ORDER BY *).
Best, Fabian

@fhueske @wuchong
Thanks for the feedback. Fine for me to eliminate the retraction for the *time ASC cases. I will modify the PR (to support *time ASC cases) over the next days and re-submit it. I am not sure if you prefer it to be a new commit here or if i should open a new PR?
@fhueske
Regarding the other cases you mentioned - to support time DESC ... do you want to modify the JIRA as well? can you modify it or do you want me to add the sub-jiras for the cases you mentioned?

Thanks @rtudoran.
Regarding PR it is up to you whether you'd like to update the current or open a new one. I think the new version will have less changes (LOCs and files) because we only need to add a few counters and conditions to ProcTimeSortProcessFunction and RowTimeSortProcessFunction.
Regarding the JIRA, I would change the title and description of FLINK-6075 describe the ORDER BY *time ASC case (i.e., what is already implemented and merged) and open new JIRAs for

ORDER BY *time ASC OFFSET FETCH
ORDER BY *time DESC OFFSET FETCH
ORDER BY * OFFSET FETCH

Hi @fhueske ,  I left this comment under the JIRA. To make sure you know our situation, I post it here:

I think the most useful feature is PR3 "ORDER BY  OFFSET FETCH" (i.e. TopN). It is an important requirement. And there is something more complex such as TopN for each group (e.g. https://stackoverflow.com/questions/176964/select-top-10-records-for-each-category). We have an idea (prototype) to support it, and planning to make a whole design for the TopN (any-attribute), and hope that to meet soon.

@fhueske ,@wuchong  thanks for the feedback. I will modify all these today - tomorrow and ping you when they are pushed.
@wuchong - TopN for each group should not be hard to implement. In fact if you look at the logic of how things are implemented we are in a similar setup as for OVER windows. We have the input stream and we apply a keyBy and the processfunction (for order by / fetch/offset). Thus we would only need the Calcite syntax to make sure the partition fields are pushed in the LogicalSort object. Did you try to see if you have directly a group by if this is pushed in the sort object?
Otherwise we can make a rule to combine a Group object with the sort object

@rtudoran I have exactly the same idea with you. Calcite doesn't push partition fields to LogicalSort. Actually, LogicalSort doesn't have a partition field. So I make a custom rule to transform LogicalWindow into a LogicalRank (I customize it) when the query pattern matched.

@wuchong sounds good to me. Please ping me when you have the PR if you want me to take a look

@fhueske ,@wuchong I am closing this PR as i opened a new one for offset/fetch without retraction
Check #4380


Inline autofill with new JS communication mechanism

Task/Issue URL: https://app.asana.com/0/0/1202370114120269/f
Description
Switching away from using window.postMessage to injecting in configuration and available input types directly.
Not included (to be done in future PRs)

Handling the "update saved login" flow"
Pretty UI
Improvements to credential management screen
More tests

Steps to test this PR
FOR FIRST TESTS, ENSURE DEVICE AUTH IS ENABLED
Test no Autofill where you have not saved credentials

[x]  Visit site with a login (e.g., https://trello.com/login)
[x]  Click on email field; verify no autofill prompts

Test Autofill offers to save when logging in

[x]  Visit site with a login (e.g., https://trello.com/login) (tip: don't have to use valid login details on trello to save dialog)
[x]  Enter login details and press "log in" button
[x] Verify dialog shown asking if you want to save login details
[x] Choose to save, then logout/refresh the page
[x] Click on email field; verify that you do see the autofill prompt

Test Autofill offers to save when logging in

[x]  Visit trello login page https://trello.com/login
[x]  Enter login details and press "log in" button
[x] Verify dialog shown asking if you want to save login details
[x] Choose not to save, refresh and verify credentials not offered to autofill
[x] Repeat the above steps, but this time choose to save, then logout/refresh the page
[x] Click on email field; verify that you do see the autofill prompt

Test login credentials autofilled when chosen

[x] Carrying on from last test where you'll have saved login credentials for trello...
[x] Enter login details and press "log in" button
[x] Verify you see dialog with saved login shown
[x] Choose to use the saved login
[x] Verify you see the auth prompt.
[x] Let it fail
[x] Verify autofill doesn't happen
[x] Repeat the above (you'll have to refresh the page), this time let auth succeed
[x] Verify autofill does happen

FOR THESE TESTS, ENSURE DEVICE AUTH IS DISABLED
Test login credentials autofilled when chosen

[x] Repeat tests above, verifying that autofill prompts are never shown

I noticed this before too, and started an internal conversation about it
For now, I've removed a guard that re-enables the correct functionality. This might not be the best fix, but it unblocks us for now. Can discuss the better options, if any, in this task: https://app.asana.com/0/0/1202480731974698/f


feat: removed external-dns azure secret from being dependent on ingress.externalDNS. We now create a secret if any DNS config keys are specified in azure section of requirements

Hi @chrismellard. Thanks for your PR.
I'm waiting for a jenkins-x or todo member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign rajdavies
You can assign the PR to them by writing /assign @rajdavies in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/ok-to-test
/lgtm

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jstrachan
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [jstrachan]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@chrismellard: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

gsm
ab2a7cd0781593cc0dd6d27c4342248f22f3b8a1
link
/test gsm

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

/retest


Initial support to Python3

This commit starts the support of a Py2/Py3 compatible version of the
L2tester, initial tests verify that the shark application is able to
start and minimally run on a Dockerized Python3.8-based container.
Further tests will be required in order to verify full feature support.
Signed-off-by: Filipe Utzig<EMAIL_ADDRESS>

@gringolito
Here is what my terminal said to me:
suyash@suyash:~$ cd l2tester/
suyash@suyash:~/l2tester$ ls
examples  include  LICENSE  Makefile  README.md  release  src  swig
suyash@suyash:~/l2tester$ make python
readlink: missing operand
Try 'readlink --help' for more information.
make: python-config: Command not found
readlink: missing operand
Try 'readlink --help' for more information.
mkdir -p /home/suyash/l2tester/build;
g++ -Wall -Wno-deprecated -Werror -I/home/suyash/l2tester/include -fPIC -D__LINUX_ -std=c++11 -c -o src/l2t_bandwidth.o src/l2t_bandwidth.cpp
g++ -Wall -Wno-deprecated -Werror -I/home/suyash/l2tester/include -fPIC -D__LINUX_ -std=c++11 -c -o src/l2t_error.o src/l2t_error.cpp
g++ -Wall -Wno-deprecated -Werror -I/home/suyash/l2tester/include -fPIC -D__LINUX_ -std=c++11 -c -o src/l2t_exception.o src/l2t_exception.cpp
g++ -Wall -Wno-deprecated -Werror -I/home/suyash/l2tester/include -fPIC -D__LINUX_ -std=c++11 -c -o src/l2t_interface.o src/l2t_interface.cpp
g++ -Wall -Wno-deprecated -Werror -I/home/suyash/l2tester/include -fPIC -D__LINUX_ -std=c++11 -c -o src/l2t_logger.o src/l2t_logger.cpp
g++ -Wall -Wno-deprecated -Werror -I/home/suyash/l2tester/include -fPIC -D__LINUX_ -std=c++11 -c -o src/l2t_send_and_check.o src/l2t_send_and_check.cpp
g++ -Wall -Wno-deprecated -Werror -I/home/suyash/l2tester/include -fPIC -D__LINUX_ -std=c++11 -c -o src/l2t_sender.o src/l2t_sender.cpp
g++ -Wall -Wno-deprecated -Werror -I/home/suyash/l2tester/include -fPIC -D__LINUX_ -std=c++11 -c -o src/l2t_sniffer.o src/l2t_sniffer.cpp
g++ -Wall -Wno-deprecated -Werror -I/home/suyash/l2tester/include -fPIC -D__LINUX_ -std=c++11 -c -o src/l2t_timer.o src/l2t_timer.cpp
g++ -Wall -Wno-deprecated -Werror -I/home/suyash/l2tester/include -fPIC -D__LINUX_ -std=c++11 -c -o src/l2t_traffic_flow.o src/l2t_traffic_flow.cpp
g++ -Wall -Wno-deprecated -Werror -I/home/suyash/l2tester/include -fPIC -D__LINUX_ -std=c++11 -c -o src/l2t_tunnel.o src/l2t_tunnel.cpp
swig -python -threads -c++ swig/l2tester.i
swig/../include/l2t_logger.h:69: Warning 314: 'self' is a python keyword, renaming to 'self'
swig/../include/l2t_logger.h:34: Warning 401: Nothing known about base class 'std::stringstream'. Ignored.
g++ -c -std=c++11 swig/l2tester_wrap.cxx -I/home/suyash/l2tester/include -fPIC -D__LINUX -o swig/l2tester_wrap.o
swig/l2tester_wrap.cxx:180:11: fatal error: Python.h: No such file or directory
180 | # include <Python.h>
|           ^~~~~~~~~~
compilation terminated.
make: *** [Makefile:83: python_wrapper] Error 1

@gringolito I was able to make the code Python3 compatible but the thing is, in updated version of python there is no PyString_* and should be updated with PyBytes_* which will be converted in string(without resolving) and will be sent across.
Example:
Packet = b'\x30'
In python2 it was being converted into string and then sent i.e "0" was send by resolving bytes.
Using PyBytes will send just "b'\x30'".

I modified the Makefile and used python 3. Here is what i got, the packets are directly converted into string without resolving bytes.


Modal does not display correctly, cuts off top part

Summary:
When I create a modal with too much text or images, the modal does not give the correct scroll features and will cut the top part of the modal
Steps to reproduce:

create a modal
a too many lines of text
3.modal cannot display all text correctly and cuts off top part

I am using bootstrap grid on the app and I am experiencing the same problem.
My current styles:


LLMEval doesn’t work offline

After the first start, it would be logical for the app not to make new requests, since all data has been downloaded. However, if you try to run the models on a device that is not connected to internet, you get an error.

It is probably checking for updates of the model files -- I will track it down, I agree it should be happy to run.

It is probably checking for updates of the model files -- I will track it down, I agree it should be happy to run.

Was there any progress with this please? I don't know how to fix it but looks like there should be a fall back option if the model already exists on the device but there is no connectivity when it looks for filenames in the getFilenames() method.

No, I haven't had a chance to look at it yet.

But thanks for the reminder! -- check out #133

But thanks for the reminder! -- check out #133

Thanks, great work


Prepare website environment

Description
Prepare environment of sanomalearning.design so we can start with the development of the documentation website.
TODO

[x] Web server (azure devops or GitHub Pages)
[x] Deployment process (GitHub action)
[x] HTTPS certificate (https://letsencrypt.org)
[x] Hookup with the sanomalearning.design domain name (IT ops)
[x] Add a "Coming soon" plain text message

It can take up to 24 hours for the DNS changes to propagate.


feat: upload provenance to release via a tag-name

See https://github.com/slsa-framework/slsa-github-generator/issues/710

@ianlewis yamlling seems to be failing. Does
Successfully installed pathspec-0.10.1 yamllint-1.26.3
Error: [trailing-spaces] trailing spaces

means it found a problem with a yaml file? Or is it failing itself?

@ianlewis yamlling seems to be failing. Does
Successfully installed pathspec-0.10.1 yamllint-1.26.3
Error: [trailing-spaces] trailing spaces

means it found a problem with a yaml file? Or is it failing itself?

The error shows up in the PR diff view. I don't think the output shows up in the log very well for some reason. It seems to omit the file name and line number.
https://github.com/slsa-framework/slsa-github-generator/pull/713/files#diff-a526f8e747aef206fec2ce8469bbc904ee1a8d047bbb486743cca4e2dd5e5037R175

ping -- does this need another review after a merge?

Let me get back to this PR when I'm back. It's been a while so I need to look into it. Thanks for pinging!


Feature Request: enabling and disabling series

I am developing an application which shows a lot of series in an XYChart. To simplify reading the diagrams, it is possible to enable and disable series. A disabled series is invisible.
Currently I have to remove / add the series from the chart. In case all series are removed, I add a dummy series to keep the x-axis data type Date.
A flag at the series objects, which just skips the series from being painted and being visible in the legend would help me a lot.
Would it be possible to implement this?

I found a way to enable and disables series:
 XYSeries xySeries = logChart.getSeriesMap().get(seriesName);
xySeries.setLineStyle(SeriesLines.NONE);

Do it remove it from the legend as well?

The name of the series is still visible in the legend. The line in front of the name disappears as well.

I added this feature. Please check it out if you are interested. Just call series.setEnabled().

Thank you for adding this features! I tested it with version 3.3.0, but it seems there is a small problem: When all series are disabled, the thread performing the paint method gets stuck in an endless loop.
the following example produces this isse as well (In my application this happens when the user disabled all series.):
    public static void main(String[] args) throws Exception {

        double[] xData = new double[] { 0.0, 1.0, 2.0 };
        double[] yData = new double[] { 2.0, 1.0, 0.0 };

        XYChart chart = new XYChart(500, 200);
        XYSeries xySeries = chart.addSeries("Sample Chart", xData, yData);
        xySeries.setEnabled(false);

        new SwingWrapper(chart).displayChart();
    }

The loop is located in AxisTickCalculator_Number line 107:
        while (significand >= 10 || significand == Double.NEGATIVE_INFINITY) {
          significand /= 10.0;
          exponent++;
        }

The variable 'significand' has the value 'Infinity'.

please test

Works great!
Thank you very much!


OnePlus 5 "_pointers.containsKey(datum.device)" assertion

Hey, my app (complete example from Write your first app tutorial with some minor changes) is throwing an error when taking a screenshot on OnePlus 5 (using gesture).
Here is a gist with my main.dart file code.
VS Code shows this message:
Exception has occurred.
'package:flutter/src/gestures/converter.dart': Failed assertion: line 239 pos 18: '_pointers.containsKey(datum.device)': is not true.

VS Code stops on a breakpoint when exception is thrown, after i click to continue the app is working normally.
Also, if I press the heart IconButon while taking the screenshot it leaves the IconButton looking pressed.

Steps to Reproduce

Run app from VS Code
Take a screenshot using 3 finger swipe gesture

Logs

Logs from running app flutter run --verbose and taking a screenshot.
[+12091 ms] D/ViewRootImpl( 7302): Gesture Screenshot Enabled = true
[   +4 ms] E/flutter ( 7302): [ERROR:topaz/lib/tonic/logging/dart_error.cc(16)] Unhandled exception:
[        ] E/flutter ( 7302): 'package:flutter/src/gestures/converter.dart': Failed assertion: line 239 pos 18: '_pointers.containsKey(datum.device)': is not true.
[        ] E/flutter ( 7302): #0      _AssertionError._doThrowNew (dart:core/runtime/liberrors_patch.dart:37:39)
[        ] E/flutter ( 7302): #1      _AssertionError._throwNew (dart:core/runtime/liberrors_patch.dart:33:5)
[        ] E/flutter ( 7302): #2      PointerEventConverter.expand (package:flutter/src/gestures/converter.dart)
[        ] E/flutter ( 7302): #3      _SyncIterator.moveNext (dart:core/runtime/libcore_patch.dart:153:12)
[        ] E/flutter ( 7302): #4      ListQueue.addAll (dart:collection/queue.dart:744:25)
[        ] E/flutter ( 7302): #5      _WidgetsFlutterBinding&BindingBase&GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:46:27)
[        ] E/flutter ( 7302): #6      _invoke1 (dart:ui/hooks.dart:134:13)
[        ] E/flutter ( 7302): #7      _dispatchPointerDataPacket (dart:ui/hooks.dart:91:5)

Running flutter analyze -> No issues found!

Flutter doctor:
[√] Flutter (Channel beta, v0.3.2, on Microsoft Windows [Version 10.0.17134.48], locale en-US)
    • Flutter version 0.3.2 at C:\flutter
    • Framework revision 44b7e7d3f4 (4 weeks ago), 2018-04-20 01:02:44 -0700
    • Engine revision 09d05a3891
    • Dart version 2.0.0-dev.48.0.flutter-fe606f890b

[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at C:\Users\272461\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-P, build-tools 27.0.3
    • ANDROID_HOME = C:\Users\272461\AppData\Local\Android\sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)
    • All Android licenses accepted.

[√] Android Studio (version 3.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 24.2.1
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)

[!] IntelliJ IDEA Community Edition (version 2018.1)
    • IntelliJ at C:\Users\272461\AppData\Local\JetBrains\Toolbox\apps\IDEA-C\ch-0\181.4892.42
    X Flutter plugin not installed; this adds Flutter specific functionality.
    X Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.io/intellij-setup/#installing-the-plugins

[√] VS Code, 64-bit edition (version 1.23.1)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Dart Code extension version 2.12.1

[√] Connected devices (1 available)
    • ONEPLUS A5000 • 307461e • android-arm64 • Android 8.1.0 (API 27)

! Doctor found issues in 1 category.

Sorry, for the late response. Is this still an issue in recent Flutter versions?

It does the same thing on my OnePlus 5t

@rgeurgas can you please add the output of flutter doctor?

Weird, I wonder if the OnePlus 5s are sending us bogus pointer events or something.

Logs:
[   +3 ms] E/flutter (17560): [ERROR:topaz/lib/tonic/logging/dart_error.cc(16)] Unhandled exception:
[        ] E/flutter (17560): 'package:flutter/src/gestures/converter.dart': Failed assertion: line 239 pos 18: '_pointers.containsKey(datum.device)': is not true.
[        ] E/flutter (17560): #0      _AssertionError._doThrowNew (dart:core/runtime/liberrors_patch.dart:37:39)
[        ] E/flutter (17560): #1      _AssertionError._throwNew (dart:core/runtime/liberrors_patch.dart:33:5)
[        ] E/flutter (17560): #2      PointerEventConverter.expand (package:flutter/src/gestures/converter.dart)
[        ] E/flutter (17560): #3      _SyncIterator.moveNext (dart:core/runtime/libcore_patch.dart:153:12)
[        ] E/flutter (17560): #4      ListQueue.addAll (dart:collection/queue.dart:727:25)
[        ] E/flutter (17560): #5      _WidgetsFlutterBinding&BindingBase&GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:46:27)
[        ] E/flutter (17560): #6      _invoke1 (dart:ui/hooks.dart:134:13)
[        ] E/flutter (17560): #7      _dispatchPointerDataPacket (dart:ui/hooks.dart:91:5)

Flutter analyze:
Analyzing flutter_fog...
No issues found! (ran in 22.4s)

Flutter doctor:
[✓] Flutter (Channel beta, v0.5.1, on Linux, locale en_US.UTF-8)
    • Flutter version 0.5.1 at /home/rodrigo/flutter
    • Framework revision c7ea3ca377 (6 weeks ago), 2018-05-29 21:07:33 +0200
    • Engine revision 1ed25ca7b7
    • Dart version 2.0.0-dev.58.0.flutter-f981f09760

[!] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at /home/rodrigo/Android/Sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-27, build-tools 27.0.3
    • Java binary at: /opt/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
    ✗ Android license status unknown.

[✓] Android Studio (version 3.1)
    • Android Studio at /opt/android-studio
    • Flutter plugin version 26.0.1
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[!] Android Studio
    • Android Studio at /home/rodrigo/android-studio
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] Connected devices (1 available)
    • ONEPLUS A5010 • 693495c0 • android-arm64 • Android 8.1.0 (API 27)

! Doctor found issues in 2 categories.

I am closing this tentatively as a dup of https://github.com/flutter/flutter/issues/20517.

i face the same issue in oneplus 6T. any solutions ?

there is same issue in simulator.

I have the same issue on iphone. it started just a couple of days ago all across my app.


*.mp4 files is compressed by tool in version 2.3.3 which has fixed issue with *.mp3 files.

Sorry，it works correctly，it is my fault with wrong code.


Fix clinker some more

Thanks for your contribution! Please replace this text with a description of what this PR is changing or adding and why, list any relevant issues, and review the contribution guidelines below.

[ ] I’ve reviewed the contributor guide and applied the relevant portions to this PR.

Contribution guidelines:

See our contributor guide for general expectations for PRs.
Larger or significant changes should be discussed in an issue before creating a PR.
Contributions to our repos should follow the Dart style guide and use dart format.
Most changes should add an entry to the changelog and may need to rev the pubspec package version.
Changes to packages require corresponding tests.

Note that many Dart repos have a weekly cadence for reviewing PRs - please allow for some latency before initial review feedback.

Closing out old stale PRs. Feel free to reopen if still relevant.


feat (multi-agent): creation of the insight agent for the insight extraction for long texts

Description
All the details are noted in the [Feature Request] Improvement in Insight Extraction for Long Texts
Checklist
Go over all the following points, and put an x in all the boxes that apply.
If you are unsure about any of these, don't hesitate to ask. We are here to help!

[x] I have read the CONTRIBUTION guide. (required)
[ ] My change requires a change to the documentation.
[x] I have updated the tests accordingly. (required for a bug fix or a new feature)
[ ] I have updated the documentation accordingly.

@camel-ai/camel-maintainers Hi, maintainers, this pr still need at least one more code reviewing. Thanks for your code reviews in advance.


laz-perf can't open the files it creates for compressed point-format > 5

When writing point-format > 5, laz-perf sets the compressor field of laz_vlr to 3 (see code). When reading however, there is an explicit requirement that compressor == 2 (see code). Commenting out the check causes a crash. This means that any laz file generated by laz-perf with point-format > 5 requires laszip to decompress it.

As you have found, the code that exists that wasn't part of the compression processing itself is weak. It really only existed for testing the compression code.  I've made more changes that I'll push when it's done and I'll try to make sure this issue is part of the PR.

Fixed by #101


Validate-jwt policy example for Microsoft Entra ID Customer Tenants

Microsoft Entra ID Customer Tenants (https://learn.microsoft.com/en-us/entra/external-id/customers/concept-supported-features-customers) are now available and the token endpoints and issuers used by these tenants differ from the Microsoft Entra ID workforce tanants (https://learn.microsoft.com/en-us/entra/identity-platform/security-tokens#token-endpoints-and-issuers).
Current validate-jwt documentation for APIM policies does not reflect the differences between these two tenants which causes confusion (https://learn.microsoft.com/en-us/azure/api-management/validate-jwt-policy#microsoft-entra-token-validation).
Can we please include a Microsoft Entra ID Customer Tenant example?
Here is a possible XML:
<validate-jwt header-name="Authorization" failed-validation-httpcode="401" failed-validation-error-message="Unauthorized. Access token is missing or invalid.">
	<openid-config url="https://{tenantname}.ciamlogin.com/{tenantid}/v2.0/.well-known/openid-configuration" />
	<required-claims>
		<claim name="azp" match="all">
			<value>insert claim here</value>
		</claim>
	</required-claims>
</validate-jwt>

Thank you

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 87a2ff6d-8727-1ac5-6cae-020d3138ac43
Version Independent ID: e1d4cc9f-2b84-6e99-0824-d270977b3e7d
Content: Azure API Management policy reference - validate-jwt
Content Source: articles/api-management/validate-jwt-policy.md
Service: api-management
GitHub Login: @dlepow
Microsoft Alias: danlep

@hugodamiaodias
Thanks for your feedback! We will investigate and update as appropriate.

@dlepow this is a valid scenario and would need to document this. Let me know if I can help


V1.0.7 not working with HA.2024.10.3

Checklist

[X] I am using the latest version of Alarmo (latest version can be found here)
[X] I checked for similar existing requests (both open and closed) before posting.

Alarmo Version
1.0.6
HA Version
2024.10.3
Bug description
V1.0.7 not works with 2024.10.4.
Again nothing about this is stated in the release notes and also not got prevented that the update shows up on HA versions below 2024.11. This is now 3rd time it is happening like this
Steps to reproduce
Try to update to V1.0.7 with HA version below 2024.11
Relevant log output
Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/commands.py:245
integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 08:09:41 (1 occurrences)
Last logged: 08:09:41

[281471611787088] Unexpected exception
Traceback (most recent call last):
  File "/config/custom_components/hacs/repositories/base.py", line 1436, in async_download_repository
    await self.async_install(version=ref)
  File "/config/custom_components/hacs/repositories/base.py", line 884, in async_install
    await self.async_install_repository(version=version)
  File "/config/custom_components/hacs/repositories/base.py", line 931, in async_install_repository
    raise HacsException("The version of Home Assistant is not compatible with this version")
custom_components.hacs.exceptions.HacsException: The version of Home Assistant is not compatible with this version

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/config/custom_components/hacs/update.py", line 88, in async_install
    await self.repository.async_download_repository(ref=version or self.latest_version)
  File "/config/custom_components/hacs/repositories/base.py", line 1438, in async_download_repository
    raise HacsException(
custom_components.hacs.exceptions.HacsException: Downloading nielsfaber/alarmo with version v1.10.7 failed with (The version of Home Assistant is not compatible with this version)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 245, in handle_call_service
    response = await hass.services.async_call(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2761, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2804, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 996, in entity_service_call
    single_response = await _handle_entity_call(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1068, in _handle_entity_call
    result = await task
             ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/update/__init__.py", line 154, in async_install
    await entity.async_install_with_progress(version, backup)
  File "/usr/src/homeassistant/homeassistant/components/update/__init__.py", line 463, in async_install_with_progress
    await self.async_install(version, backup)
  File "/config/custom_components/hacs/update.py", line 90, in async_install
    raise HomeAssistantError(exception) from exception
homeassistant.exceptions.HomeAssistantError: Downloading nielsfaber/alarmo with version v1.10.7 failed with (The version of Home Assistant is not compatible with this version)

The minimum required HA version for this release is mentioned in the hacs.json file: https://github.com/nielsfaber/alarmo/blob/64368ff62b8e7452f45e0fda414a5652a1403be4/hacs.json#L7
If you use HACS, it should not show the 1.10.7 release as update candidate.
If you install manually, you will need to do the compatibility check manually as well.
Note that the release notes does contain a mentioning of HA 2024.11, but I agree that it does not explicitly mention this requirement.

@nielsfaber I am using HACS but still get notified about the update, so somehow seems it not works to not offer this update to people who are using a version of HA below 2024.11.x

I don’t know how the HACS.json file works then.
I admit that in the past I sometimes forgot to update this file prior to making a release, but now I give it extra attention.
If this mechanism doesn’t work fine, we need to report it to the maintainer of HACS.
I don’t think mentioning in the compatible version in the releae notes is enough, I believe 9/10 people blindly update to the latest greatest (and I don’t blame them).

@nielsfaber I am proud then that I am that 1 out of 10 actually reading the release notes :) .... unfortunately my knowledge not is that great to know why HACS still offers this update then if you are doing the correct steps to prevent this from happening??? Anyway as said for me personal this being mentioned in release notes would stop my from trying to update and potentially braking my system.


Syntax Update for SoftCircuits.CsvParser

In SoftCircuits.CsvParser 4.0.0, the ReadRow() method is now a wrapper for the preferred Read() method.
On your next update, could you update SoftCircuits_CsvParser.cs to use the following while loop?
while (reader.Read())
{
    var record = activate();
    record.Read(i => reader.Columns[i]);
    allRecords.Add(record);
}

Thanks.

In addition, I had a comment.
Using my benchmarks, my parser showed a performance boost of better than 100%. However, using your benchmarks, the improvements are much more modest.
Examining your test data, I have an idea why this might be. Your test data contains no special characters (quotes, commas, newlines), which require special handling in CSV files. My test data included many random punctuation characters and multi-line field values. And I guess I had really optimized for them.
Which makes me think your results might be drastically different with different data.
It may be that you aren't interested in working with such data and so you're less concerned about benchmarking with that data. But it would be interesting and I'd be happy to supply a 1,000,000 record CSV file with multiline fields and other characters that must be escaped.


Upgrade dependencies

Hi folks, I came across this project right now. I just release Nutch 2.3.1 a few weeks back and also Gora 0.7 is about to be released so you will be able to take advantage of some good updates and big fixes. What in particular have you been doing with Nutch? This looks like a cool search stack you have going on.

Hi Lewis, thanks for your message.
We have used Nutch and Gora in the context of a research project named LEADS, with the goal of building a proof-of-concept shared search/processing stack for public web data. Our work is described on our website http://www.leads-project.eu ; the project ended a few months ago actually.
One of our main goals was to support our stack on a collection of small data centers rather than on a single larger one; one of our partners is a German company that builds exactly this kind of so-called 'micro-clouds' (https://www.cloudandheat.com/en/index.html). One of our key layers is called Infinispan Ensemble. It unifies multiple instances of the Infinispan KVS in different sites as a single store with possibilities for explicit data placement, replication across sites, etc. Unicrawl uses Nutch to crawl from multiple sites simultaneously rather than from a single one, and leverages Ensemble for this--this is one of the reasons we built support for Gora in Infinispan (https://github.com/leads-project/gora-infinispan). If you are interested in the details, we published a paper in the IEEE Cloud conference last year (http://members.unine.ch/etienne.riviere/publications/LeFeScSuRiFe-CLOUD-15.pdf).
We will definitely check the new versions of Nutch and Gora and see if we can update easily; but since we do not have funding at the moment on this I cannot guarantee when this will happen but we will make sure to keep you and the Nutch community in the loop.
Etienne -- lead of LEADS.

This is great. I asked over on the infinite span gora module if you guys
would be interested in bringing the code over and into Gora master.
It would have a better chance of being maintained k would think.
Thanks for te link to your paper I'll read it at my lunch.
On Thursday, February 11, 2016, Etienne Riviere<EMAIL_ADDRESS>wrote:

Hi Lewis, thanks for your message.
We have used Nutch and Gora in the context of a research project named
LEADS, with the goal of building a proof-of-concept shared
search/processing stack for public web data. Our work is described on our
website http://www.leads-project.eu ; the project ended a few months ago
actually.
One of our main goals was to support our stack on a collection of small
data centers rather than on a single larger one; one of our partners is a
German company that builds exactly this kind of so-called 'micro-clouds' (
https://www.cloudandheat.com/en/index.html). One of our key layers is
called Infinispan Ensemble. It unifies multiple instances of the Infinispan
KVS in different sites as a single store with possibilities for explicit
data placement, replication across sites, etc. Unicrawl uses Nutch to crawl
from multiple sites simultaneously rather than from a single one, and
leverages Ensemble for this--this is one of the reasons we built support
for Gora in Infinispan (https://github.com/leads-project/gora-infinispan).
If you are interested in the details, we published a paper in the IEEE
Cloud conference last year (
http://members.unine.ch/etienne.riviere/publications/LeFeScSuRiFe-CLOUD-15.pdf
http://members.unine.ch/etien ne.rivie re/publications/LeFeScSuRiFe-CLOUD-15.pdf
).
We will definitely check the new versions of Nutch and Gora and see if we
can update easily; but since we do not have funding at the moment on this I
cannot guarantee when this will happen but we will make sure to keep you
and the Nutch community in the loop.
Etienne -- lead of LEADS.
—
Reply to this email directly or view it on GitHub
https://github.com/leads-project/Unicrawl/issues/2#issuecomment-182879542
.

--
Lewis


Nether portal breaks upon entry

Describe the bug
The created nether portal is immediately destroyed after entering the nether
To Reproduce
Steps to reproduce the behavior:

Go to nether for the first time
See error

Expected behavior
It shouldn't break
Server (please complete the following information):

OS: Windows
Type: Spigot
Version: 1.15.1
SS-Version: 0.3.0

I can't actually think why it randomly breaks. Maybe a bug with spigot???

Appears to be a bug with Spigot, will reopen if I see it again.

Appears to be an issue with spigot 1.15 and certain island locations. I don't really know what to say or do.


Missing .eslintrc

After running cf-package in an empty directory, I don't see an .eslintrc file created.

@ericelliott I am seeing a .eslintrc file created.  However, the file is empty.

Yeah, just tested. Not working for me, but I don't even see the file created.

@nkbt Why aren't all the files in the template dir created automatically?

I'm back at last, so will check on these issues asap!

Yay!

#27 is here

Looks good!


6.0 Feedback:  App displays a pipette offset missing when no pipette is in that mount

Overview
if a user only has 1 pipette attached, the empty mount displays a banner saying the pipette offset calibration is missing. if the mount is empty, nothing is missing. we should remove this banner from empty mounts

Current Behavior
No response
Expected Behavior
No response
Steps To Reproduce
No response
Operating system
No response
Robot setup or anything else?
No response

I can still reproduce this in Alpha1


Prevent initial state to get applied when a controller is attached

Is there a way to prevent the initial state of any effect to get applied before it's triggered using the controller? In the following example, I don't want to show the container as faded to 0.5 initially:
Animate(
  controller: controller,
  adapter: adapter,
  effects: [
    FadeEffect(
      delay: 10.ms,
      duration: 1000.ms,
      begin: 0.5,
      end: 1.0,
    )
  ],
  child: Container(
    height: 100,
    width: 100,
    decoration: BoxDecoration(
      color: Colors.blueGrey,
      borderRadius: BorderRadius.circular(16),
    ),
  ),
)

The above example might not be a good use case, but I need to do it with some other animation effects.

I can't think of an easy way to do that (other than not actually applying the Animate initially) — in fact, a bunch of work went into making sure that the initial state was applied properly to avoid flickering at the start of animations. :)
If you're able to provide me a real-world example, it would help me understand the use-case better.

So, I basically wanted an effect where the Fade goes from 0.5 to 1.0 and then again goes back to 0.5:
Animate(
  controller: controller,
  adapter: adapter,
  effects: [
    FadeEffect(
      curve: Curves.easeInOut,
      delay: 0.ms,
      duration: 1.seconds,
      begin: 0.5,
      end: 1,
    ),
    const ThenEffect(),
    FadeEffect(
      curve: Curves.easeInOut,
      delay: 1.seconds,
      duration: 1280.ms,
      begin: 1,
      end: 0.5,
    ),
  ],
  ...
)

But using this library I wasn't able to recreate this animation. I believe this is a very common usecase. Is it possible in a different way that I'm not aware of?

Just to make sure I'm understanding... you want it to start at an opacity of 1.0, jump directly to an opacity of 0.5 when the animation is started, animate 0.5 -> 1.0 -> 0.5, then jump back to 1.0 when the animation ends?

Let's go one-by-one, first just take the case that I want to start from 0.5 initially, and just animate 0.5 -> 1.0 -> 0.5, but this doesn't take me back to the initial 0.5 opacity state that I had. So, is it possible to go back to the initial opacity state?

That actually should work. What won't work (and what you are probably running into) is the opposite — going 1.0 -> 0.5 -> 1.0.
The reason for this is because (as you know from this issue) the effects are persistent, so the first FadeEffect will continue to apply a 0.5 opacity when it ends, which then just gets nested with the second one.
You can work around this with .swap, which lets you basically rewrite the whole animation, but has its own limitations (ex. the new animation has its own controller). Here's a rough sketch (not tested):
foo.animate()
  .fade(begin: 1, end: 0.5)
  .then()
  .swap(builder: (_, o) => o.animate().fade(begin: 0.5, end: 1.0)

Docs for swap here:
https://pub.dev/documentation/flutter_animate/latest/effects_swap_effect/SwapEffect-class.html
The next version will make these kind of out-and-back animations easier with the addition of a loop extension for AnimationController, so you can just tell the controller to play forward and back once.
https://github.com/gskinner/flutter_animate/commit/42824b2e5601e1395d093d771f09657e60c39da4

@sbis04 did you get a chance to look at Issue #11 ? We have discussed some ways of delaying the triggering and resetting the animation. Hope of the method works out for you.


Bump fixed chrono 0.4.20

Chrono now - 0.4.20 - has localtime_r RIR that has addressed the past security issue around it :partying_face:
We've updated here:
https://rustsec.org/advisories/RUSTSEC-2020-0159.html

Thanks for the PR. Updating the minimum version is good.
bors r+


Consider adding sealedsecret creation functionality

Feature request
As long as we usually have references to secret resources which are in turn created with kubeseal and take credentials from gopass we might want to extend a tool functionality with such a possibility.
So as a result we have complete set of resource definitions which comprise the application in one go.
Pre-requisites:

gopass binary
gopass store mounted
gopass entries defined
plain k8s secret template defined
path to the SealedSecret certificate is provided.

We decided to track this in a different place...


Site request: areena.yle.fi

Hi,
Would you like to add site support for areena.yle.fi into next new version?
youtube-dl.exe -v http://areena.yle.fi/1-3170374
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://areena.yle.fi/1-3170374']
[debug] Encodings: locale cp950, fs mbcs, out cp950, pref cp950
[debug] youtube-dl version 2015.11.24
[debug] Python version 2.7.10 - Windows-XP-5.1.2600-SP3
[debug] exe versions: none
[debug] Proxy map: {}
[generic] 1-3170374: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 1-3170374: Downloading webpage
[generic] 1-3170374: Extracting information
ERROR: Unsupported URL: http://areena.yle.fi/1-3170374
Traceback (most recent call last):
  File "youtube_dl\extractor\generic.pyo", line 1282, in _real_extract
  File "youtube_dl\compat.pyo", line 248, in compat_etree_fromstring
  File "youtube_dl\compat.pyo", line 237, in _XML
  File "xml\etree\ElementTree.pyo", line 1642, in feed
  File "xml\etree\ElementTree.pyo", line 1506, in _raiseerror
ParseError: mismatched tag: line 221, column 6
Traceback (most recent call last):
  File "youtube_dl\YoutubeDL.pyo", line 663, in extract_info
  File "youtube_dl\extractor\common.pyo", line 290, in extract
  File "youtube_dl\extractor\generic.pyo", line 1887, in _real_extract
UnsupportedError: Unsupported URL: http://areena.yle.fi/1-3170374

Duplicate of #1574.


Can not train domain-adapter with unstructured knowledge

Thank you for opening the source of implementation.
I am trying to train new domain adapters with different unstructured knowledge.
However, I cannot run Stage 1 in your source of implementation following your instructions.
I am running on pytorch_lightning=1.9.0 and python=3.10.
The bug is: "encodings = self._tokenizer.encode_batch(
TypeError: TextEncodeInput must be Union[TextInputSequence, Tuple[InputSequence, InputSequence]]"

Can you please provide the libraries's version?

Hi @nguyentuc ,
Thanks for pointing out this. For some unknown reasons it looks like the current tokenizers version is preventing the program from running. We have added a new requirements.txt, and you can try using the versions inside which should resolve the issue.

Hi @Amano-Aki,
Thank you for your response.  I have tried multiple times but it still not working.
It leads me to a new problem.
Can you export the environments?
Thank you

Hi @Amano-Aki ,
When I do stage 2 training, it shows "cannot import name 'HoulsbyConfig' from 'transformers'".
Can you check it again?
Thank you


Prediction time scale

I trained a model with these parameters:
conv1_kernel = 10
conv2_kernel = 10
min_rt = 0
max_rt = 61
time_scale = 60
max_length = 51
Is this model now restricted to input in the scale of the parameters also when predicting? e.g. RT in 0-61min, time_scale in sec and max length of the peptides = 51?
When predicting (python prediction_emb.py 100 model.pt 10 input_file.txt), what does the RT_scale mean?
The observed values in the prediction_file are different from the RTs in the input_file, because they are multiplied with the RT_scale parameter?
obse,pred1=pred_from_model(conv1,conv1,round1model,RTtest,15)
pred_ensemble = pred1*scale
obse = obse*scale

I would like the output RTs to be between 0-100, independent of the input time.

Hi, yes, the min_rt, max_rt, and max_length need to be the same in training and prediction.
The parameter RT_scale means the max_rt (e.g. 61 in your training data). Because before training we use min_rt and max_rt to normalize all RT values to (0,1), when predicting we multiply max_rt to change them back to their original range (min_rt is normally 0).
So just use max_rt here. And all predicted RT values will be within (0,1) before multiplying this parameter.


fix tablet prune wrong when decimal value scale is nagtive (#37889)

pick from master #37889

run buildall


Node positions too far away on different sizes

Hi
Seems that when having children with different width, the calculated x positions are too far away. Or i don't get what i'm making wrong.
Here is a simple example. You can just copy&paste it in the npm runkit (https://npm.runkit.com/d3-flextree):
var d3Flextree = require("d3-flextree")
const flextree = d3Flextree.flextree;

const data = {
    "id": "26d536a3-879f-493c-af2e-3785a3e7bd5c",
    "size": [
        360,
        409
    ],
    "children": [
        {
            "id": "e7e369db-ffd7-4b1a-a7d4-42a6d157c35c",
            "size": [
                460,
                609
            ],
            "children": []
        },
        {
            "id": "6a91d13d-dc13-45b9-8697-d105a443ac03",
            "size": [
                1103,
                1298
            ],
            "children": []
        }
    ]
};

const layout = flextree();
const tree = layout.hierarchy(data);
layout(tree);
tree.each(node => console.log(`(${node.x}, ${node.y})`));

These are the computed x/y positions of each node (printed from the console.log):
"(0, 0)"
"(-551.5, 409)"
"(230, 409)"

The calculated distance between the 2 children is 321.5 ((-551.5 + 460 - 230) * -1), but should be almost 0 because i don't have defined any spacings.
Or am I wrong?
Thanks for your help

Ok, i get it. I think it's because the x position is the center of the element not the left position.


config yaml for the pusht_real experiment?

Tried to train on the pusht_real w. images training data but I can't seem to find the config.yaml for this experiment. Is it me or is there only a sim pusht config file?

There is a file called train_diffusion_unet_real_image_workspace.yaml. It is used for training the pusht_real dataset.


feat : dependabot workflow automation for updating dependency

Summary
Dependabot workflow automation for updating dependency
Ticket Link

Hello @Rajpratik71,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

Codecov Report
Base: 31.27% // Head: 31.27% // No change to project coverage :thumbsup:

Coverage data is based on head (95340d6) compared to base (84fb170).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #882   +/-   ##
=======================================
  Coverage   31.27%   31.27%
=======================================
  Files          49       49
  Lines        6017     6017
=======================================
  Hits         1882     1882
  Misses       3946     3946
  Partials      189      189

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Manual control of dependency is fine but with a growing no. of distributed upstream dependencies, it becomes hard to manage. So, for that automation should be there to update dependencies. Further, CI Pipeline is there to test those changes.
Further, this will not update the dependencies automatically, instead, a PR will be opened with changes that can be reviewed and tested with CI.

Further, CI Pipeline is there to test those changes.

That is the part at worries me. CI does test something, but manually testing is still required. And doing that on every version bump PR seems like a lot of work.

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!


Declare support for Python 3.12

Currently in alpha 4, beta due in May, RC in July, final in October.
https://peps.python.org/pep-0693/

:clap:


Inconsistent color of boxes on StudyNotion

Description
On the StudyNotion website, there are 3 boxes.  2 of the boxes are currently black, while one box is white and designed. This inconsistency creates a visual clutter and might be confusing to users.
Screenshots

Additional information
No response
What browser are you seeing this bug on?
No response
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I have read the Code Of Conduct
[X] The changes don't break the code

Can you assign me with this issue.

Cc @Muskansahuincredible

@Muskansahuincredible

Can you assign me with this issue.

@Muskansahuincredible

i want to work on this issue can you please assign it to me?


⚠ ClamAV has degraded performance

In 3e1ad1e, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 49 ms

Resolved: ClamAV performance has improved in e3a6f0b.