71 add re creation test for onboarding

Added test function stage_restoration() to test correct state of onboarding after activity recreation.
Fix typo.

Closes https://github.com/zcash/secant-android-wallet/issues/71.
This code review checklist is intended to serve as a starting point for the author and reviewer, although it may not be appropriate for all types of changes (e.g. fixing a spelling typo in documentation).  For more in-depth discussion of how we think about code review, please see Code Review Guidelines.
Author

[x] Self-review: Did you review your own code in GitHub's web interface? Code often looks different when reviewing the diff in a browser, making it easier to spot potential bugs.
[x] Automated tests: Did you add appropriate automated tests for any code changes?
[ ] Manual tests: Did you update the manual tests as appropriate? While we aim for automated testing of the application, some aspects require manual testing. If you had to manually test something during development of this pull request, write those steps down.
[ ] Code coverage: Did you check the code coverage report for the automated tests?  While we are not looking for perfect coverage, the tool can point out potential cases that have been missed. Code Coverage can be run with: ./gradlew connectedCheck -PIS_COVERAGE_ENABLED=true
[ ] Documentation: Did you update documentation as appropriate? (e.g README.md, etc.)
[x] Run the app: Did you run the app and try the changes?
[ ] Screenshots: Did you provide before and after UI screenshots in the description of this pull request?  This is only applicable for changes that modify the UI.
[x] Rebase and squash: Did you pull in the latest changes from the main branch and squash your commits before assigning a reviewer? Having your code up to date and squashed will make it easier for others to review. Use best judgement when squashing commits, as some changes (such as refactoring) might be easier to review as a separate commit.

Reviewer

[ ] Checklist review: Did you go through the code with the Code Review Guidelines checklist?
[ ] Ad hoc review: Did you perform an ad hoc review?  In addition to a first pass using the code review guidelines, do a second pass using your best judgement and experience which may identify additional questions or comments. Research shows that code review is most effective when done in multiple passes, where reviewers look for different things through each pass.
[ ] Automated tests: Did you review the automated tests?
[ ] Manual tests: Did you review the manual tests?
[ ] How is Code Coverage affected by this PR? We encourage you to compare coverage before and after changes and when possible, leave it in a better place.
[ ] Documentation: Did you review Docs, README.md, and Architecture.md as appropriate?
[ ] Run the app: Did you run the app and try the changes? While the CI server runs the app to look for build failures or crashes, humans running the app are more likely to notice unexpected log messages, UI inconsistencies, or bad output data. Perform this step last, after verifying the code changes are safe to run locally.

Thank you for pointing it out. Seems that we have a lot of work here. I'll go through it and come up with some updates soon.


[BUG] Conflict With Puffish Skills

Minecraft: 1.18.2
Forge: 40.2.21
Soulslike-Weaponry: 1.1.5
Breaks the resistance attribute of puffish skills if using both mods together. Causes the attribute to do nothing.
My edited config with the first resistance node set to 90% for testing:
puffish config.zip
Just extract into config folder.

Bugs with pufferfish skills mod has been fixed already for the next update. Changes will be live when the update is released.

oh sweet, me and my bro were really bummed about having to take your mod out of the pack. look forward to it.


[WIP] Switched FileSink to the new LogSink interface (with usecs).

High-level description
Switching the logsink module to use the updated LogSink interface in glog. This fixes the problem with "000000" instead of microseconds in the mesos-master logs written by the logsink module.
Corresponding DC/OS tickets (obligatory)
These DC/OS JIRA ticket(s) must be updated (ideally closed) in the moment this PR lands:

DCOS_OSS- Foo the Bar so it stops Bazzing.

Related tickets (optional)
Other tickets related to this change:

DCOS_OSS- Foo the Bar so it stops Bazzing.

Checklist for all PRs

[ ] Added a comprehensible changelog entry to CHANGES.md or explain why this is not a user-facing change:
[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain here:
[ ] Read the DC/OS contributing guidelines
[ ] Followed relevant code rules Rules for Packages and Systemd

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[ ] Change log from the last version integrated (this should be a link to commits for easy verification and review): example
[ ] Test Results: [link to CI job test results for component]
[ ] Code Coverage (if available): [link to code coverage report]

PLEASE FILL IN THE TEMPLATE ABOVE / DO NOT REMOVE ANY SECTIONS ABOVE THIS LINE
Instructions and review process
What is the review process and when will my changes land?
All PRs require 2 approvals using GitHub's pull request reviews.
Reviewers should be:

Developers who understand the code being modified.
Developers responsible for code that interacts with or depends on the code being modified.

It is best to proactively ask for 2 reviews by @mentioning the candidate reviewers in the PR comments area. The responsibility is on the developer submitting the PR to follow-up with reviewers and make sure a PR is reviewed in a timely manner. Once a PR has 2 ship-it's, no red reviews, and all tests are green it will be included in the next train.

Needed only to create a custom build, closing it.


Radius property not working

I'm trying to use the radius property on a latLng point that does not have a valid Street View on that specific point but has a valid one on a 100m search radius, according to the API.
What I did:
<StreetView
          allGesturesEnabled={true}
          coordinate={{'latitude': -23.376721, 'longitude': -51.908538}}
          radius={100}
        />

What I got
It renders a Black Screen as if there is not Street View for that region, even with a 100m search radius.
When I check this issue using the following API endpoint:
https://maps.googleapis.com/maps/api/streetview/metadata?key=MY_API_KEY&location=-23.376721,-51.908538&radius=100
I get a return value stating that there is a valid Street View for that latLng using a 100m search radius.
Am I missing something or is this a problem with the Library?
Thanks!

Haven't tested this, but I think you need to add the radius inside your coordinates.. That is how it is read on the iOS native side.
          allGesturesEnabled={true}
          coordinate={{'latitude': -23.376721, 'longitude': -51.908538, radius: 100}}
        />```


chore: prepare for release 3.8.0-beta2

Summary

Prepare for release 3.8.0-beta2

Pull Request Test Coverage Report for Build 1647

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 89.958%

Totals

Change from base Build 1646:
0.0%

Covered Lines:
4452

Relevant Lines:
4949

💛  - Coveralls

Pull Request Test Coverage Report for Build 1647

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 89.958%

Totals

Change from base Build 1646:
0.0%

Covered Lines:
4452

Relevant Lines:
4949

💛  - Coveralls

Pull Request Test Coverage Report for Build 1647

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 89.958%

Totals

Change from base Build 1646:
0.0%

Covered Lines:
4452

Relevant Lines:
4949

💛  - Coveralls

Pull Request Test Coverage Report for Build 1647

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 89.958%

Totals

Change from base Build 1646:
0.0%

Covered Lines:
4452

Relevant Lines:
4949

💛  - Coveralls


provide an example folder

please provide an example folder with example pdb files and example code

I have created some examples on a new branch, let me know what you think.


Window always appears below or next to current line, never above it

Hello, I have been trying to set this plugin up but have been unsuccesful in getting the window to appear above the current line. At the moment it is right below it, obstructing cmp.

Setting floating_window_above_cur_line to true does absolutely nothing
Setting floating_window_off_y to an offset works but only as long as the docstring is short enough, otherwise it obstructs the current line

Is there a way to set it to be above the line? Any logs I can provide?

same issue


Custom RAG configuration not respected for retrievers

Hello!
Thanks for RAGbuilder, it's a very nice project.
I am using the custom RAG configuration, but even if I explicitly mention that I only want to use "Vector DB - Similarity Search" as a retriever, in most of the runs it uses "Vector DB - MMR search" and/or "BM25 Search".

I don't have access to MMR search or BM25 with my vector DB (Azure CosmosDB for NoSQL), that's why I only want to use Similarity Search.
I'm using Bayesian optimization, but it also happened with "Run all combinations". Am I doing something wrong or is there a bug? I pulled the latest 0.20.0 image and same issue.
Thank you!

Hi @loiccordone, thanks for reporting this - this is a bug. We will ship a patch today itself.

Hi @aravind10x, any news on this issue? Thank you!

Hi @loiccordone , yes, shipping the fix with this PR. Will publish as a new release shortly.
One thing to note: currently the BM25 retriever implementation is not vector database dependent. (See BM25 retriever in langchain). So perhaps, you don't need to unselect it even if your vector DB (Azure CosmosDB for NoSQL) doesn't support it.
Once again, thanks for flagging this issue! Truly appreciate it! Please reach out if you run into any other issues or challenges with your RAG optimization.

Hi @aravind10x, I am still encountering issues with 0.0.22. It now seems that it's not iterating through the selected retrievers? Even selecting the same retriever twice:

In this run, I've selected "Vector DB - Similarity Search", "Multi Query Retriever" and "Parent Doc Retriever - Full doc", but only "Vector DB - Similarity Search" (often doubled) appeared in the 50 runs (with Bayesian optimization)
Thank you

@loiccordone So sorry that this is still an issue - let me try to reproduce and fix this right away. Will confirm back once done.

Hi @loiccordone - did you get a chance to test this? Please let us know if you run into any other issues.


🚀 Feature Request: Reporting incidents through API/CLI

Describe the solution
✓ I've read the roadmap
It would be nice to be able to report incidents using the API/CLI. This would be useful, for example, when having scheduled maintenance because then it would be possible to easily run a script to post an incident without needing to open a browser (eg. running the script server-side).
So, essentially, here's my wishlist

[ ] Add a new endpoint, for example, /incidents (and the corresponding scope to API tokens to allow requests to be made)
[ ] Documentation for /incidents
[ ] (Maybe) CLI implementation of /incidents

FYI, I'm willing to contribute to the CLI. I'll submit a draft PR with what the new commands could look like.

Good point, I'll update the API to have an OpenAPI spec for the existing public endpoints, then add new endpoints for status pages.

OpenAPI spec is now generating docs: https://developers.onlineornot.com/
Still need to:

[] make a repo to publish the openapi spec itself
[] make new endpoints


MAINT: differential_evolution improve init_population_lhs comments closes #5101.

This PR modifies:

The init_population_lhs method to clarify what the code does.
It adds population_size and parameter_count attributes to the DifferentialEvolutionSolver class.
Adds extra comment lines in the optimizing loop in the solve method to clarify what's occurring.

This is to address some comments made in #5101
@Hvass-Labs, @dlax

@Hvass-Labs, @dlax: a review of this would be nice. It looks like a clean improvement to me, so I'm inclined to merge it.


always collect node local metrics when node resource controller is enabled.

What type of PR is this?
Feature
What this PR does / why we need it:
Currently, node resource controller is enabled by default, but node local agent metrics collector is not, which cause a repeated error in crane agent.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

/lgtm


Request for Examples in Micropython

Can you provide some examples in Micropython that show using the wifi, and the LCD display?

I am trying to get the LCD working with Micropython and machine.SoftSPI. But would love some examples as well, as I still have a blank screen.

I am not using the default machine.SoftSPI and am instead using this https://github.com/russhughes/st7789_mpy custom build of micro python. However you could try setting phase to 1 in machine.SoftSPI, as that seemed to work for me.

You can refer to this project, the LCD pins are the same for both of them https://github.com/Xinyuan-LilyGO/LILYGO-T-display-RP2040/tree/main/example/MicroPython/TFT Do you need me to integrate the project?

A simple link to the firmware and hello world script would help very much. Especially with the pins and steps to get everything displayed.

I'd like to re-open the issue.
Please provide some examples in this repo that demonstrate the use of:

The Wifi
LCD Display

Some super simple example that at least gives us the module, and pins used..
For example I updated the Adafruit Circuit Python ESP_AT examples for another board:
https://github.com/mperino/Adafruit_CircuitPython_ESP_ATcontrol/blob/main/examples/esp_atcontrol_aio_post.py
The request is a simple example in MicroPython for the two main features of this board.
Thank you.

Screen stays blank:
I used this firmware T-DISPLAY-RP2040
And this tft-config.py tft-config.py
trying to display the hello.py example.

I will update the LCD with WIFI connection example shortly, the update is done with MicroPython and I will reply the link here

With the firmware from:
https://github.com/russhughes/st7789_mpy/tree/b4aa060b74e2d2490770fa92310571f7602059f9/firmware/RP2
And the diagram on the main page, I'm not sure which is the SPI pin.
Here's the code:
import machine import st7789 spi = machine.SPI(4, baudrate=40000000, polarity=1, sck=machine.Pin(2), mosi=machine.Pin(3)) display = st7789.ST7789(spi, 135, 240, reset=machine.Pin(0, machine.Pin.OUT), dc=machine.Pin(1, machine.Pin.OUT)) display.init()
and it gives the error:

%Run -c $EDITOR_CONTENT
Traceback (most recent call last):
File "", line 3, in
ValueError: SPI(5) doesn't exist

I've tried pin's 4 and 5 for the SPI but neither seems to work.

Sucess!
The tft_config_py needs to have phase = 1!:

def config(rotation=0, buffer_size=0, options=0):
Pin(22, Pin.OUT, value=1)

spi = SPI(0,
    baudrate=62500000,
    polarity=1,
    **phase=1,**
    sck=Pin(2, Pin.OUT),
    mosi=Pin(3, Pin.OUT),
    miso=None)

Then do a reset of the board.
I'll do a quick youtube of how to get a board displaying the example text and make some smaller simpler demos as well.
Still at zero progress on the Wifi.  Any hints, tips, or clues appreciated.

I have integrated the ST7789 driver in this warehouse and will update it later
https://github.com/Xinyuan-LilyGO/lilygo-micropython

Using WIFI, you can try to communicate with ESP32-C3. The pin definitions are described in detail in the schematic diagram on the home page. The esp-at directive is used by default. You can refer to this documentation on how to drive it https://docs.espressif.com/projects/esp-at/en/latest/esp32/index.html

Is there a recommended micropython library on the Pico side like the ones for circuitpython?
Under CircuitPython there are helper libraries adafruit_espatcontrol, and adafruit_espatcontrol_wifimanager that allow the Pico to talk to the ESP-32 as a wifi co processor..

Sucess!
The tft_config_py needs to have phase = 1!:

def config(rotation=0, buffer_size=0, options=0):
Pin(22, Pin.OUT, value=1)

spi = SPI(0,
    baudrate=62500000,
    polarity=1,
    phase=1,
    sck=Pin(2, Pin.OUT),
    mosi=Pin(3, Pin.OUT),
    miso=None)

Then do a reset of the board using the on-board reset switch. I'll do a quick youtube of how to get a board displaying the example text and make some smaller simpler demos as well. Still at zero progress on the Wifi. Any hints, tips, or clues appreciated.

That worked, Great work

Thanks mperino - that gets it working.
I found it hard to identify the repo directories within the video, so have written out the instructions for reference.
There was one 'error' - it is not necessary to copy the font across - the device already contains all the fonts used in the example programs. Several of the other examples also work without additional tweaks and show off the display nicely

Boot the LilyGo-TpicoC3 whilst pressing BOOTSEL button. From ‘firmware\T-DISPLAY-RP2040’ drag firmware.uf2 to the RPI-RP2 drive using File Explorer.
NOTE that this IS NOT THE SAME as the standard firmware that would be loaded by Thonny.
From ‘examples/configs/tdisplay_rp2040’ , copy tft_config.py to the RP2040.
Open this file in Thonny. Edit the line ‘phase = 0’ to be ‘phase = 1’. Save.
From ‘examples’, copy any or all of the following to the RP2040 and run:
feathers.py, hershey.py, noto_fonts.py, scroll.py, hello.py

Adding my experience with the display to this thread.
It took me a while to get the display working on the T-PicoC3 because the suggested russhughes library linked from this project has different versions. Specifically, this file from this project:
https://github.com/Xinyuan-LilyGO/T-PicoC3/blob/main/example/Micropython/lcd_config/tft_config.py
...doesn't work with the russhughes library also linked from this project:
https://github.com/russhughes/st7789_mpy/tree/b2e790191a4833b5ef15ab0a851c0337967c8840
Here is what worked for me in 5 steps:
1. Install Raspberry Pico firmware in Thonny
2. Get the library file from https://github.com/russhughes/st7789py_mpy/blob/master/lib/st7789py.py
3. For the font I used a bitmap from a different russhughes project: https://github.com/russhughes/st7789_mpy/blob/b2e790191a4833b5ef15ab0a851c0337967c8840/fonts/bitmap/vga1_8x16.py
4. Save the following code as tft_config.py and include it in your main.py:
from machine import Pin, SoftSPI
from time import sleep
import st7789py as st7789

def config():

    Pin(22, Pin.OUT, value=1)

    spi = SoftSPI(
        baudrate=20000000,
        polarity=1,
        phase=0,
        sck=Pin(2),
        mosi=Pin(3),
        miso=Pin(13))

    return st7789.ST7789(
        spi,
        135,
        240,
        reset=Pin(0, Pin.OUT),
        cs=Pin(5, Pin.OUT),
        dc=Pin(1, Pin.OUT),
        backlight=Pin(4, Pin.OUT),
        rotation=1)

5. Finally, here is my main.py program to display text on 4 lines in 4 different colors:
import st7789py as st7789
import tft_config
import vga1_8x16 as font

tft = tft_config.config()
tft.fill(0) #clears after previous display

def displayTxt(L1,L2,L3,L4):
    x = chr(32)
    #uses end space to clear the end of the line each time
    endSpace = str(x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x+x)
    if L1:
        tft.text(font,L1+endSpace,15,15,st7789.GREEN,st7789.BLACK)
    if L2:
        tft.text(font,L2+endSpace,15,40,st7789.BLUE,st7789.BLACK)
    if L3:
        tft.text(font,L3+endSpace,15,65,st7789.GREEN,st7789.BLACK)
    if L4:
        tft.text(font,L4+endSpace,15,90,st7789.RED,st7789.BLACK)

if __name__=='__main__':
        displayTxt("Hello Line 1","Hello Line 2","Hello Line 3","Hello Line 4")

@mperino here is a solution for connecting to wifi with example code:
1. ESP library, I tried loads and settled on this one, it has some bugs but it does mostly what I need:
https://github.com/heggiedavid/PIco-ESP01-MP/blob/main/esp.py
2. My program main.py file:
`import time
from esp import ESP
uart_id=1
tx_pin=8
rx_pin=9
baud_rate=115200
tx_buffer=2048
rx_buffer=2048
esp = ESP(uart_id,tx_pin,rx_pin,baud_rate,tx_buffer,rx_buffer,debug=True)
secrets = {"ssid":"MY-SSID","password":"MY-PASSWORD"}
#wifi for esp co-processor devices
def wifiConnect():
print('SSID: '+secrets['ssid'])
print('Password: '+secrets['password'])
try:
esp.soft_reset()
esp.send_at_cmd("AT+CWMODE=3\r\n", timeout=3)
time.sleep(2)
except:
return False
if not esp.is_connected:
try:
AP = esp.remote_AP
if AP[0] != secrets["ssid"]:
for i in range(3):
reply = esp.send_at_cmd('AT+CWJAP="' + secrets['ssid'] + '","' + secrets['password'] + '"', timeout=10, retries=3)
if (b"WIFI CONNECTED" in reply) or (b"WIFI GOT IP" in reply):
print("ESP wifi connected.")
return True
else:
print("ESP wifi retry "+str(i))
continue
print("ESP wifi fail after retries.")
return False
except:
return False
if name=='main':
while(1):
if wifiConnect():
print('Wifi connected.\r\n')
break
else:
print('Wifi retry...\r\n')
continue
`

I'm a beginner and I'm having difficulties because I don't have the examples with Display and with Wi-fi too, can someone help me please

@jimemo
Hi,
which software has to be installed on the esp32 part?

@jimemo:
I installed factory_Mini-1.bin on the esp32.
Changed in  esp.py the following values (similar to the main.py):
def init(self,
uart_id=1,  #0
tx_pin=8,    #0
rx_pin=9,   #1
baud_rate=115200,
tx_buffer=2048,  #1024
rx_buffer=2048,
debug=False
an now it works.
Now I'm looking for a solution to transmit some sensor-values via WLAN to a MQTT-server on a RaspberryPi.

I'm a beginner and I'm having difficulties because I don't have the examples with Display and with Wi-fi too, can someone help me please
I tried to use the examples given above but there seems to be a lack of code in the lib esp

I suggest you read the factory example, there will be the simplest way to use tft and wifi. You should create an issue.

@jimemo Hi, which software has to be installed on the esp32 part?

I didn't change it, I used the factory esp32. You should be able to find it in the repository.

Thank you,  I forgot to edit my Post. I used it also in the descripton of my solution.


About result

Hi, I have run
fgd_faster_rcnn_r101_fpn_2x_distill_faster_rcnn_r50_fpn_2x_coco.py
for 24 epochs, using batch size == 4*8, I get mAP 0.405 for faster_rcnn_r50_fpn_2x_coco.
In your benchmark I found faster_rcnn_r50_fpn_2x_coco upto 0.420, I want to know your training config, teacher resnet 101 and student resnet 50?

You can read the paper to know the details.


[FR] Add variety to media player sentences

After initial testing of the new intents on the new beta, I found two missed sentences that I added here

Mettre en pause la TV
Regle le volume de la TV sur 50%

Tests added, added a few comments on the sentence to guide contributors on what the sentence can potentially match.

@slegars56 if you want to have a look too ;)

@slegars56 if you want to have a look too ;)

@jlpouffier Sure, I take a look at this one in a few days


Licensing

I really hate bothering an issue request with this, but I can't find the licensing details for BLIP2. The Huggingface version uses an Apache license but I was really hoping there's an MIT licensed version. Can anyone fill me in, please and thank you :)

nevermind, I found it with a repo search. Thanks anyways.


Discussion: default version optional services

Template 10, internally, uses several services and, as a result, registers those in the default dependency container which can then be used by the consumer/developer if they like. These:
container.Register<ISessionState, SessionState>();
container.Register<ILoggingService, LoggingService>();
container.Register<ISerializationService, JsonSerializationService>();
container.Register<IBackButtonService, BackButtonService>();
container.Register<IKeyboardService, KeyboardService>();
container.Register<IGestureService, GestureService>();
container.Register<IResourceService, ResourceService>();
container.Register<INetworkAvailableService, NetworkAvailableService>();
container.Register<IDialogService, DialogService>();

However, there are some services which are not used internally in Template10, but are still relatively fundamental. At this time, this is the only example I can pull together:
container.Register<IMarketplaceService, MarketplaceService>();

The question really is, should Template 10 auto-register all of its services (adding them as we add services) or only the ones it uses internally? And, if your answer is only the ones we register internally, how do you recommend we inform the developer we have registered these services for him?
Make sense?

Make a call to in the tempalete's App.xaml.cs like container.RegisterT10OptionalServices() which is register these. Developers can easily delete this line is they don't want to register these.

As a developer i would like to have something like BootStrapper.RegisterDefault[ServiceName]() and maybe BootStrapper.RegisterFor[ServiceName](serviceImpl) for custom implementation


Run IRChecker after optimizer if RuntimeLongs aren't in use

CI only for now.

Diff caused by typing ArraySelect trees correctly:
https://gist.github.com/gzm0/86b12a39875d53afdfe82674b504eee0
Seems we can eliminate some unnecessary casts like this.

Record IR check WIP: https://github.com/gzm0/scala-js/tree/ir-check-records
IR Check w/ RT longs WIP: https://github.com/gzm0/scala-js/tree/ir-checking

Seems like this will need the full #5051 after all.

I've split out the fixes into separate PRs to ease iteration / review and rebased this on a temporary merge commit for testing.
Moving back into draft to prevent accidental merging.

Only the last commit is part of this PR now.

After writing some post optimizer IRCheckerTests, it turned out that there was no need to verify the parent class chain of the field again in the IRChecker.
I have added a commit to add the tests and simplify the check (to be squashed if accepted).

Partest run/Course-2002-05.scala seems to be failing (I recall this from last time, but usually my iteration cycles are too long to still have the CI logs).

I can reproduce the failure locally:
partestSuite2_12/testOnly -- --wasm --fastOpt run/Course-2002-05.scala

So far, I could limit to this:
object M1 {
  def partition[a](xs: List[a], pred: a => Boolean): Tuple2[List[a], List[a]] = {
    xs.foldRight[Tuple2[List[a], List[a]]]((List(), List())) {
      (x, p) => if (pred (x)) (x :: p._1, p._2) else (p._1, x :: p._2)
    }
  }

  def quicksort[a] (less : (a,a) => Boolean) (xs : List[a]) : List[a] = {
    val pivot = xs.head;
    val sub = partition(xs.tail, (elem : a) => less(elem, pivot));
    quicksort(less)(sub._1) ::: List(pivot) ::: quicksort(less)(sub._2)
  }

  def main(args: Array[String]) {
    Console.println(quicksort[Int]((x,y) => x < y)(List(7,2,1,5,4,3,8,6)));
  }
}

Smaller (any expected but (x: int) found):
  @inline // w/o inline the issue vanishes.
  case class X(x: Int)

  def main(args: Array[String]) {
    val xs = List(7) // w/ Seq or `List()` the issue vanishes
    xs.foldRight[X](X(1)) { (_, _) => X(1) }
  }

Without stdlib:
  @inline
  case class X(x: Int)

  // @noinline makes the issue vanish
  def foldLeft(op: () => X): Unit = {
    var acc = X(1) // val without re-assign makes the issue vanish
    acc = op() // issue is on this line
  }

  def main(args: Array[String]) {
    foldLeft { () => X(1) }
  }

With a copy-pasted version of LinearSeqOptimized.foldRight to get all the moving parts in one file:

@inline // w/o inline the issue vanishes.
case class X(x: Int)

object M1 {
  def listFoldRight[A, B](xs: List[A], z: B)(op: (A, B) => B): B = {
    var acc = z
    var these = xs.reverse
    while (!these.isEmpty) {
      acc = op(these.head, acc)
      these = these.tail
    }
    acc
  }

  def main(args: Array[String]): Unit = {
    val xs = List(7) // w/ Seq or `List()` the issue vanishes
    listFoldRight(xs, X(1)) { (_, _) => X(1) }
  }
}

the error is
[error] file:/localhome/doeraene/projects/scalajs/examples/helloworld/src/main/scala/helloworld/HelloWorld.scala(16:11:Assign): any expected but (x: int) found for tree of type org.scalajs.ir.Trees$VarRef

and the IR of main after optimization is as follows:
{
  mod:scala.collection.immutable.List$;
  val array: any! = [7];
  var i: int = ((-1) +[int] array["length"].asInstanceOf[int]);
  var result: scala.collection.immutable.List = mod:scala.collection.immutable.Nil$.as![scala.collection.immutable.Nil$!];
  while ((i >=[int] 0)) {
    result = {
      val this$4{this}: scala.collection.immutable.List! = result.notNull;
      val x: any = {
        val index: int = i;
        array[index]
      };
      new scala.collection.immutable.$colon$colon().<init>;Ljava.lang.Object;Lscala.collection.immutable.List;V(x, this$4)
    };
    i = ((-1) +[int] i)
  };
  // Relevant stuff STARTS HERE
  val xs: scala.collection.immutable.List = result;
  var acc: (x: int) = (x = 1);
  var these: scala.collection.immutable.List = xs.reverse;Lscala.collection.immutable.List();
  while ((!these.isEmpty;Z())) {
    acc = {
      val arg1: any = these.head;Ljava.lang.Object();
      arg1.asInstanceOf[int];
      (x = 1)
    };
    these = these.tail;Lscala.collection.immutable.List()
  }
}

I suspect that the `if

Without stdlib:

Oh that's even better and only leaves the following IR after optimizations:
{
  var acc: (x: int) = (x = 1);
  acc = (x = 1)
}

and somehow there's an error in there :scream:

Yep, I just wanted to write that :)

In https://github.com/scala-js/scala-js/pull/5003/files#diff-52f4c013d717c5c2ec26b736825a5605f6ff1d92dbefb8e83e453c96649f41ff I had already done some refactoring to distinguish typecheckExpr from typecheckExpectAny. The former should accept anything non-void I guess. typecheckExpectAny is useful for all the places with JS interop.

I have extracted the changes from that commit into a commit in this PR.

I believe I have addressed all pending comments. I have also replaced typecheckExpect(..., AnyType) with typecheckAny(..) in the first commit.


fix(structured): only enable hover tooltip for content string/number

Summary

summary_here

Change List (commits, features, bugs, etc)

items_here

Related Issues

Closes IBM/carbon-addons-iot-react#NUMBER

Acceptance Test (how to verify the PR)

tests here

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.53.1 :tada:
The release is available on npm package (@release-1.x dist-tag)
Your semantic-release bot :package::rocket:


continue server not shutdown when closing vscode

continue server not shutdown when closing vscode. Instead, the continue server is still running (under windows)
To Reproduce
Steps to reproduce the behavior:

Start vscode
wait for continue server to start
close vscode
find continue server still running in task manager

Expected behavior
continue server should be closed when vscode is closed
Environment

Operating System: Windows 11
Python Version: 3.11.4
Continue Version: 0.0.218

I can see why this would be considered incorrect behavior, but do you mind sharing a bit about why this is an issue for you? I'll check into what this would require.

Well:
If you change some config in config.py (if this file would be read by the server), then the server needs to be restarted. But if you clse vscode, the server is not restarted. So apart from killing the continue server by task manager (or something similar), there is no way to start the server with the new config.
This is not consistent with the documentation and seems a bit strange.
Additionally, it seems a bit odd to me to leave a process running in the background if it is not needed anymore.

@TKlerx It might seem slightly odd, but background processes are very common, and in this case it helps with speeding up loading time when reloading VS Code. This is also a very non-intensive process.
The server does not need to be restarted in order for the config file to be reloaded: this will be done automatically each time that the VS Code window is reloaded.
The last point is interesting and maybe cause for a new issue. We attempt to kill the server if it is running the old version, and if this is failing that would be a bug. Can you share what made you aware that the server version was old?

Thanks for the clarification.
Regarding the last point:
It was my impression that the server was using the old config. Maybe, I was mistaken or it was still some old version of the extension.
You have an incredible speed of implementing fixes, so I would close this issue and would open a new issue if I can confirm this behavior with the latest version and some logs.


Fix #495: tdd incremental pdr_predictions

Fix #495.
@KatunaNorbert @kdetry as you have come to help build out the gql_data_factory + pdr_tables, I have a provided an initial set of tests, data, and functionality that implements the basic steps that we're looking for.
(1) fetch/update tables
(2) post_process of tables, in order to keep pdr_predictions table, up-to-date, incrementally
I wanted to get the basic implementation out of the way such that you can see different data, and test coverage requirements from pdr_tables, so we can do this effectively.
[Integrating into your work]
This pr/draft provides the basic implementation and scenario for how it works so you guys can integrate your work into this as a target. As you are still building this, I do not have the final objects or test data. This implementation then sets the basic requirements and outline for how to take your work/test-data to completion, such that we can verify this functionality and tables are working.

As you work towards integrating the gql tables and data-pipeline, please continue working towards providing good test coverage and different scenarios.
There are ways to make this faster. Saving twice to parquet as an example, isn't the right way.

In the end, the parquet_file/table [pdr_predictions] should be getting updated, with the minimum number of records requiring to be changed.

@idiom-bytes @trentmc We can close it, I replaced this PR with the following PR:
https://github.com/oceanprotocol/pdr-backend/pull/560

Closing. Work has migrated over to https://github.com/oceanprotocol/pdr-backend/pull/560.


Passing Objects from a already running .Net Core application to the script.

Hello,
I am very excited to see something like this coming to .Net Core. Especially with the automatic NuGet dependency Parsing. That said I however have a Usecase/Question that I do not see covered by the current Project infrastructure.
My Usecase:
I am working on porting a GoLang implementation of a text parsing and processing System to .Net Core (so it can run in Windows Containers easily and be more platform Independent on .Net Core). Part of this problem is that the user can define a "Text-Template", which is basically a fancy script with functions to generate a configuration file based on a given context (provided by the runtime application which executes the template at runtime). You can compare it to T4-Template processing (which does not exist for .Net Core) at runtime with object injection.
I figured out how to run .csx files from My runtime application, but could not figure out how to pass data from my running application to the script (except for some very elaborate techniques, like writing the context (which is potentially big) to a file and having the script parse it). Is this even possible with the current state of dotnet-script?
Examples of real world Systems

Golan text/template package (as well as html/template, which is a fancy version of the first one)
T4 by Microsoft

Did I miss something somewhere? Or is this just not possible?
Greets,
Orion.

T4-Template processing (which does not exist for .Net Core)

Have a look at T5.


[🐞] Drop node@16 support

Which component is affected?
Admin
Describe the bug

Reproduction

Steps to reproduce
No response
System Info
-

Additional Information
No response

Hi @BorysShulyak I would like to contribute with this issue.

@Dulajdeshan Hi! Sure, it would be so great!

@Dulajdeshan Also, feel free to create an issues or PRs with any ideas on how to improve this plugin!


ImportError: No module named theano_util

I installed Nematus and run your code according to your README but got errors as follows: constrained_decoding/constrained_decoding/translation_model/nematus_tm.py
, line 15, in
from nematus.theano_util import (load_params, init_theano_params)
ImportError: No module named theano_util
I read the source code of Nematus("https://github.com/EdinburghNLP/nematus/tree/master/nematus")  and found there are no module named theano_util.
What's more constrained_decoding/constrained_decoding/translation_model/nematus_tm.py , line 16, in
from nematus.nmt import (build_sampler, gen_sample, init_params)
ImportError: cannot import name build_sampler
I cannot solve the problem above, please correct me if I misunderstood something. Thank you for your patience.

Hi thanks for the bug report, apparently that file was removed from nematus
Can you try doing:
cd <nematus_install_dir>
git checkout d8f4384151c4ee4a0bcd4e773981fe97b0f0f1f0
pip install -e .

If that works, I'll add to docs.

btw you can see the Nematus code at that commit here: https://github.com/EdinburghNLP/nematus/tree/d8f4384151c4ee4a0bcd4e773981fe97b0f0f1f0/nematus

Thank you for your help. It solved the problem I met before, however there is a new bug:
File "/nematus/nmt.py", line 609, in build_sampler
if options['deep_fusion_lm']:
KeyError: 'deep_fusion_lm'
I checked nmt.py and find nothing wrong. Do you know how to fix this bug?
thank you:)
Best Wishes
在2018-07-12<EMAIL_ADDRESS>Hi thanks for the bug report, apparently that file was removed from nematus
Can you try doing:
cd <nematus_install_dir>
git checkout d8f4384151c4ee4a0bcd4e773981fe97b0f0f1f0
pip install -e .
If that works, I'll add to docs.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I checked nmt.py and find nothing wrong. Do you know how to fix this bug?
This error means that the the key deep_fusion_lm does not exist in the model options, so the commit we checked out is still broken for constrained decoding. Apparently that was a bug that was fixed in the following commit.

So try:
cd <nematus_install_dir>
git checkout 0ea2cd1870f9f12a2f53837da3bc3f01f1ea8a5f

I also saw your issue in the Nematus repo, but I suggest you close it, since you're asking about an outdated version of their codebase. I don't plan to update this repo for the current version of their codebase, but if this hack works, I'll add it to the README.

Thank you very much.But I am outside for a trip now I will delete that issue as soon as possible.
best wishes~
在 2018-07-13 18:00:46，"Chris Hokamp"<EMAIL_ADDRESS>写道：

I checked nmt.py and find nothing wrong. Do you know how to fix this bug?
This error means that the the key deep_fusion_lm does not exist in the model options, so the commit we checked out is still broken for constrained decoding. Apparently that was a bug that was fixed in the following commit.
So try:
cd <nematus_install_dir>
git checkout 0ea2cd1870f9f12a2f53837da3bc3f01f1ea8a5f
I also saw your issue in the Nematus repo, but I suggest you close it, since you're asking about an outdated version of their codebase. I don't plan to update this repo for the current version of their codebase, but if this hack works, I'll add it to the README.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I suggest you point people to the theano branch of Nematus in your README: https://github.com/EdinburghNLP/nematus/tree/theano

@rsennrich cheers, that's much easier :smile:, should be fixed now.


ReadOnlyCollection Requires one Argument

The below piece of code was Originally posted by @timotiusmargo in https://github.com/Microsoft/WinAppDriver/issues/193#issuecomment-323240683_
Session.FindElementByAccessibilityId("control").cick(); // To open the dropdown list
WindowsElement comboListObj = SKTF_Session.FindElementByAccessibilityId("listobject"); // listobject is created
ReadOnlyCollection comboListCollection = comboListObj.FindElementsByTagName("ListItem");

When i tried to use the code for a similar situation (trying to select a ListItem), I get the error 'ReadOnlyCollection Requires one Argument'.
Can somebody pls help...

Hi @sjagdish2007,
Can you paste the exact call you're making + any app where we can repro this?
Thanks


[busyboy] multipart upload text part is considered as file.

only happens for busyboy (nodejs) mulipart parser.
works perfectly fine with httpbin.org
POST "http://<IP_ADDRESS>:3000/api/v1/attachments/upload"

files(
    ('org_id', 'testsesrere'),
    ('parent_id', 'test'),
    ('author', 'test'),
    ('file', "D:\projects\cedric05-data-storage-api-java\apis\put.http")
)

fixed via 228587e3bf579bd455ee0ab1d8df48c0f1ecfb8f


[BUG] : The request schema needs validation over card details

Bug Description
Currently the card details are being passed as string, and it is failing at connector call.
There is no check what values are being passed in card_expiry_month, card_expiry_year or card_cvc.
Anybody can pass random string, without conveying the liability of the wrong input
Expected Behavior
While parsing the request, there should be a validation check over the fields to include what values are expected out of them so that it need not be applied at individual connectors.
Actual Behavior
Currently all strings are accepted.
Steps To Reproduce

Create a Payments Request Call
Put any string in card_month like "card": {           "card_number": "4035 5010 0000 0008",           "card_exp_month": "av",           "card_exp_year": "cadge",           "card_holder_name": "john Doe",           "card_cvc": "bug"       }

Context For The Bug
No response
Environment
Are you using hyperswitch hosted version? Yes/No
If yes, please provide the value of the x-request-id response header for helping us debug your issue.
If not (or if building/running locally), please provide the following details:

Operating System or Linux distribution:
Rust version (output of rustc --version): ``
App version (output of cargo r -- --version): ``

Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

Have you read the Contributing Guidelines?

[X] I have read the Contributing Guidelines

Are you willing to submit a PR?
No, but I'm happy to collaborate on a PR with someone else

Related issues: #606, #607


Minor: Improve doc comments in FileStream

Which issue does this PR close?
Closes https://github.com/apache/arrow-datafusion/issues/5788.
Closes https://github.com/apache/arrow-datafusion/pull/5790
Rationale for this change
It is clear that the metrics are confusing but they are still useful as described by @thinkharderdev  in https://github.com/apache/arrow-datafusion/pull/5790#pullrequestreview-1368680282
What changes are included in this PR?

Add doc comments to try and explain in more detail what the metrics mean.

Are these changes tested?
N/A
Are there any user-facing changes?
No

@thinkharderdev  and @nenorbot since you recently looked at this code I wonder if you have some time to review this PR (it adds comments, no code changes)


NETBEANS-87 - incorrect warning displayed

Fixes NETBEANS-87

@matthiasblaesing
Thanks for reviewing. You are absolutely right. Changes implemented as requested.


[Ionic v4.0.0-beta.8] popover lost arrows

The arrow is no longer displaying even in IOS.
As a temporary fix i have to set
.popover-arrow{
    display: block !important;
}

it should be fixed in next version! thanks for the report


[a11y] Audit all components for accessibility

Description
All components should be accessible. This issue is to review each component for accessibility.
Success criteria

Accessibility passes all tests through the WAVE extension and/or Lighthouse.
Provide screenshots of passing accessibility results in PR

TODO
Verify that all components are accessible. Document here.
If accessible, check the box. If not accessible, create a new issue that calls out that component and any details you think might be helpful, link it here, and check the box.

[ ] - alert
[ ] - assistant
[ ] - avatar
[ ] - banner
[ ] - billboard
[ ] - breadcrumbs
[ ] - button
[ ] - card highlight
[ ] - chart legend
[ ] - chart summary
[ ] - checkbox
[ ] - choice
[ ] - container
[ ] - copy text
[ ] - description
[ ] - dynamic select
[ ] - form input
[ ] - form select
[ ] - form textarea
[ ] - hint
[ ] - icon
[ ] - icon card
[ ] - indicator
[ ] - label
[ ] - link
[ ] - lists
[ ] - loader
[ ] - media tile
[ ] - meter
[ ] - nav link
[ ] - progress bar
[ ] - property
[ ] - radio
[ ] - search
[ ] - stat box
[ ] - status icon
[ ] - switch
[ ] - tab
[ ] - table
[ ] - toast
[ ] - tooltip
[ ] - card
[ ] - catalog item
[ ] - data card
[ ] - dropdown
[ ] - empty state
[ ] - expandable card
[ ] - feature toggle
[ ] - form section
[ ] - hero
[ ] - icon list
[ ] - input group
[ ] - input helper
[ ] - modal
[ ] - nav
[ ] - page heading
[ ] - pagination
[ ] - panel
[ ] - panel figure
[ ] - panel controls
[ ] - popover
[ ] - sidebar
[ ] - sortable
[ ] - tabs
[ ] - transaction card
[ ] - typeahead
[ ] - upload card

@monicawheeler marking this with the EPIC tag as it may benefit from a dedicated milestone and place for tracking follow up tasks.

@monicawheeler created SAGE-124

While working with @dhstewart today, trying to write feature specs with capybara, we discovered a couple of accessibility issues with the searchable Dropdown component.
First, the button you click on to open it initially has no text or label. This makes it impossible to target with the (a11y-friendly) API of capybara (eg, click_on, which tries to find buttons & links by their text). The text is in an adjacent span.

Second (extremely minor), the search field had a label (can't find it in the docs sites) that had text but wasn't properly hooked up to the input with for/id. It did have targetable placeholder however, so that was good 😊


Add Chapter 5.D rules to "all the rules we know"

This builds on top of https://github.com/alan-turing-institute/hut23-linear-algebra/pull/49, so this'll look a lot simpler once that's been merged in.
The usual preview: https://github.com/llewelld/hut23-linear-algebra/blob/gh-action-result/pdf-files/reference/all-the-rules-we-know.pdf

Rebased.

@rwood-97, I really appreciate all of your reviews, you keep on picking things up that need fixing. But if you're getting bored of this, please say.

Thank you, as always, for your very careful review @rwood-97.


CustomCaptureActivity - Intents.Scan.QR_CODE_MODE

Hi,
I know it should be possible, but how can i set embedded scanner recognize only QR codes? I understand i should use custom decoder thread with decodeFormats, but do you have any tips?

You do this by creating a DecoderFactory. DefaultDecoderFactory is a simple implementation, which accept formats and other hints, which are passed to a MultiFormatReader.
    Collection<BarcodeFormat> decodeFormats = Arrays.asList(BarcodeFormat.QR_CODE);
    DecoderFactory factory = new DefaultDecoderFactory(decodeFormats, null, null);
    barcodeView.setDecoderFactory(factory);

Thanks, i thought i need to pass decodeHints and characterSet too. Works like a charm.


testings

#133 + modified

Ok, then it needs to be lyrics page, it cant be socials page. I think @aliraza944 const something to make it work when lyrics page is there, but I can't ask for his help for now as he's taking the week of, so will work on this in a bit. For now, I think I can merge #133 though.


Add link to System Documentation Folder in Gdrive (from Systems Documentation page in Refinery)

E0 U6 S7 C8 : P21

In test 3 - needs review.

REady for you to check, on test3 @AlOneill

Link is in TEST3 refinery (systems doc page).

@PatReynolds  to check and put link back in (and link here for testing).

Systems page now has links to sub-pages and the Systems documenation folder on G.drive.
The roadmap looks very out of date.
Are the other documents fine to publish?

@richpomfret to check and ensure current roadmap is linked.

Removed link to roadmap and "This link provides further information for FreeCEN volunteers." as these links are now from the top level of 'actions'.
Placed 'reasons for the change below the link to systems folder, as seems of lesser priority.
For review on test3 refinery: DRAFT Systems Documentation.


on personal chat closed

Is there a possibility to get informed when a user closes a personal chat or removes the bot from a group?
I searched for it in the function list, but I found nothing. I would like to use it like onBanned (in a group) or onChatClosed (in personal chats).

The API does not provide such an update. See TelegramBotAPI.Update for more information!

When the bot is removed from the group, it does receive a left_chat_member event.


send_transaction insufficient funds for rent

I work on Ubuntu 20.04 and use Python 3.8.10. I'm using Solana version 0.32.0 and Solder version 0.20.
When I run the send_transaction command, it shows an error of insufficient balance, even though I've checked before the transaction that my balance is sufficient. Please assist me.
>>> from solders.keypair import Keypair
>>> from solders.pubkey import Pubkey
>>> from solana.rpc.api import Client
>>> from solders.system_program import TransferParams, transfer
>>> from solana.transaction import Transaction
>>> sol_provider = 'https://api.mainnet-beta.solana.com'
>>> solana_client = Client(sol_provider)
>>> sol_key = "my key"
>>> sender = Keypair.from_seed(bytes(sol_key[:32]))
>>> txn = Transaction(fee_payer = sender.pubkey()).add(transfer(TransferParams(from_pubkey=sender.pubkey(), to_pubkey=Pubkey.from_string('to address'), lamports=10000)))
>>> txn.sign_partial(sender)
>>> txn.verify_signatures()
True
>>> solana_client.get_balance(sender.pubkey())
GetBalanceResp {
    context: RpcResponseContext {
        slot: 254485364,
        api_version: Some(
            "1.17.21",
        ),
    },
    value: 343539498,
}
>>> k = solana_client.send_transaction(txn, sender)
solana.rpc.core.RPCException: SendTransactionPreflightFailureMessage { message: "Transaction simulation failed: Transaction results in an account (1) with insufficient funds for rent", data: RpcSimulateTransactionResult(RpcSimulateTransactionResult { err: Some(InsufficientFundsForRent { account_index: 1 }), logs: Some(["Program<PHONE_NUMBER>1111111111111111111111 invoke [1]", "Program<PHONE_NUMBER>1111111111111111111111 success"]), accounts: None, units_consumed: Some(150), return_data: None, inner_instructions: None }) }

I have successfully resolved the issue on my own.
It turns out that the amount of lamports sent must be sufficiently large, perhaps a minimum of 0.002 SOL or in lamports (2000000), and the data type for lamports must be an integer (int).
For those facing similar issues like mine, try the tips above. Good luck.


ENH: recognize range object as a type

I'd like to be able to do a cdef readonly range rng = range(0, 1)
Looks like it is defined in rangeobject.c https://github.com/python/cpython/blob/master/Objects/rangeobject.c#L22

It doesn't look like range has a lot of public interface beyond a type-check (https://github.com/python/cpython/blob/master/Include/rangeobject.h).
This would probably be fairly easy to add to Builtin.py but there wouldn't be a lot that you could do with it except confirm the type

if it were defined in one of the Include/cpython/foo.pxd files, could we monkey-patch on e.g. __getitem__ and index?

Maybe, although I don't know how much more efficient it'd actually make them (i.e. __getitem__ is already a type slot so there shouldn't be much overhead to get it).
The precedent for digging into really internal implementation details is obviously array.pxd, but that was added before Cython worried about things like PyPy compatibility (https://github.com/cython/cython/issues/3448).
I think we definitely wouldn't shortcut to these functions just based on a cdef range (because that would break anything that isn't the right version of CPython), but a pxd file with appropriate warnings would probably be OK.


DoctrineResource listener attached via config fix

The library has functionality to attach listener in the configuration for a specific resource. These listeners weren't dispatched at all.
Added tests to check if both types of listeners are dispatched:

attached via config
attached via shared event manager

Fixes #287
/cc @rradutzu @zfcampus/doctrine

Coverage increased (+0.3%) to 51.491% when pulling f34456a25cd8d87685516dffbb3612399069497c on webimpress:hotfix/287 into 689a9aacafe9a691229231a2cfd3fcdbdcfea0c0 on zfcampus:master.


Get a fee rate

Closing as we decided to postpone it as it is not clear how it should be implemented and what should be the return type there.
cc @MeerKatDev


Plugin/curl is not downloading the dotnet install script due to a 302 redirect not being handled

The plugin seems to not be downloading the dotnet install script due to a redirect
https://github.com/emersonsoares/asdf-dotnet-core/blob/master/bin/install#L5
Uses curl -s which ends up at a redirect at Microsoft
>
{ [5 bytes data]
* Connection state changed (MAX_CONCURRENT_STREAMS == 100)!
} [5 bytes data]
< HTTP/2 302
< cache-control: no-store
< location: /download/dotnet/scripts/v1/dotnet-install.sh
< x-cache: TCP_MISS
< server: Kestrel
< request-context: appId=cid-v1:109cec76-ff6c-4be0-97b5-4f02dbac2451
< x-powered-by: ASP.NET
< x-content-type-options: nosniff
< x-azure-ref: 0VIUvYAAAAAC5fC83hO+LQoZB5vEay5PcTE9OMjFFREdFMDIxNQBlMWRmMDcwYS1hZTQ0LTRjMGItYTU0Yi1jNDkzODA0ZTRkOWY=
< date: Fri, 19 Feb 2021 09:30:59 GMT
< content-length: 0
<
{ [0 bytes data]
* Connection #0 to host dotnet.microsoft.com left intact

Curl reports success code, result is en empty string piped to the file.
We then try to run that file, which as it is empty, results in nothing happening.
Proposed fix
Add -L to the curl command
# curl -v -s -L https://dotnet.microsoft.com/download/dotnet-core/scripts/v1/dotnet-install.sh > dotnet-curled.sh
...
{ [16160 bytes data]
* Connection #0 to host dotnet.microsoft.com left intact

Pull request https://github.com/emersonsoares/asdf-dotnet-core/pull/27

Closing this as you merged the later unrelated PR.


Moved and revised expressions reference

This revision is the full rewrite, please review carefully.
The follow up of #17456
Possible continuation of this is #19743

@tdykstra and @BillWagner thank you for the feedback. I've made considerable reworking: made the text more focused and added examples. Please review again.

This is great @pkulikov / @tdykstra
I'll :shipit: now.


Error submitting transaction.

Summary
I encountered an error while submitting the transaction.
Steps to reproduce the bug

Actual Result
error: {"data":{"error":"Bad Request","message":"{"contents":{"contents":{"contents":{"era":"ShelleyBasedEraConway","error":["ConwayUtxowFailure (PPViewHashesDontMatch (SJust (SafeHash \"5db5584695fc312bf28a5318db7742066905ce25d306fe5e0b32e9c7f95e717c\")) (SJust (SafeHash \"46e1d77f8f5ecd25394d3574261b226e05ae00843d36c2f37fabb322ef198f82\")))"],"kind":"ShelleyTxValidationError"},"tag":"TxValidationErrorInCardanoMode"},"tag":"TxCmdTxSubmitValidationError"},"tag":"TxSubmitFail"}","status_code":400},"headers":{"date":"Mon, 18 Nov 2024 05:55:21 GMT","content-type":"application/json; charset=utf-8","content-length":"524","connection":"keep-alive","vary":"Origin","access-control-allow-origin":"*","report-to":"{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=FgjnnKYDgQ8I9Y8jceWyqxefYO0%2FGmvopBJ3VG3fYOTyTKIyJHyyLcY3gDrEG7YRUVMwJF%2BYZWOQA8KvzG3II1%2F18Jr0ESGrV9DORR8vu99f1WNNuDibJQ3MBQvCgiy1c4hN6nBSuuK9xeziYI14"}],"group":"cf-nel","max_age":604800}","server-timing":"cfL4;desc="?proto=TCP&rtt=48651&sent=8&recv=9&lost=0&retrans=0&sent_bytes=4270&recv_bytes=3459&delivery_rate=90490&cwnd=122&unsent_bytes=0&cid=7b2b9df8e9415e0f&ts=1189&x=0"","bf-submit-server":"e1f4ccc29ee5a9bb1f2d55e35e58119727c3f3f0e0da9c0cf0a9582299058083","cf-cache-status":"DYNAMIC","nel":"{"success_fraction":0,"report_to":"cf-nel","max_age":604800}","server":"cloudflare","cf-ray":"8e45b6041d7e1065-HKG"},"status":400}
Expected Result
txHash
SDK version
1.7.13
Environment type

[X] Node.js
[ ] Browser
[ ] Browser Extension
[ ] Other

Environment details
No response

update to latest version
setNetwork('preprod') https://meshjs.dev/apis/txbuilder/basics#setNetwork


Generate inspector preview for Image resources

Fixes #22494

Easy one ;)

Thanks!

Cherry-picked for 3.2.3.


Implement rollback stage for kubernetes plugin

What this PR does:

Implement executeK8sRollbackStage
refactor duplicates of executeK8sSyncStage and executeK8sRollbackStage

There are some duplicates remaining, but these parts has unimplemented TODOs. so I didn't refactor all of them.

Why we need it:
We have to support rollback of k8s stages
Which issue(s) this PR fixes:
Part of #4980
Does this PR introduce a user-facing change?: No

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

I realized that the plugin should return the StageStatus and should not return an error even if the error has occurred. Because the plugin can return StageStatus_FAILURE if the error occurs. I'll change my codes.
👉🏻 DONE

@Warashi I think we should also return the error, and in the piped side, we will show that error on piped log as well.


A single ISO3 code could have more than one FAOSTAT codes (like Sudan)

[ ] Add support in the country reconcilier spreadsheet + parser
[ ] Add support in the country reconcilier itself

Countries with this issue:

Sudan (276) and Sudan (former) (206)
China (41, 351)

Waiting for FAOSTAT response


organization of header files

it looks like there's currently
fast5.hpp
hdf5_tools.hpp
fast5_version.hpp
logger.hpp
Huffman_Packer.hpp
Bit_Packer.hpp

In the Debian package, we have it as:
fast5.hpp
fast5/hdf5_tools.hpp
fast5/fast5_version.hpp
fast5/logger.hpp
fast5/Huffman_Packer.hpp
fast5/Bit_Packer.hpp

Would you accept a PR to make that change here? It would also help to separate the fast5 header files from those just needed by the examples.

Sure, I'll merge that.


Handle XIOS contexts

Handle XIOS contexts
Fixes #731.
This PR does several things:

Provide an enableXios utility that is used to configure across all tests.
Allow a context ID to be specified when creating an Xios instance, which allows several such instances to be created in the same run.
Separate the reading and writing tests by spatial dimension but combine them into one file.
Arbitrarily set an hour-long timestep for XIOS on initialisation, otherwise strange bugs can crop up.
Improve clarity of Xios::finalize docstring.

I haven't even tried to understand the finer points of the XIOS read/write test, but assuming that tests what needs to be tested, this all looks good.

The same test code is all still there, just in a different format. Thanks @timspainNERSC!


AWS

Wasn't sure where else to ask this, but do you actually host all of this in AWS, or was that more of a project to learn terraform? If the former, how much does that run a month? That's gotta be pricey.
Thanks for the great playbooks.

Hi!
I actually run all this on a free Oracle VPS that has a 4 core ARM CPU and 24 gigs of RAM.
The Terraform script is just there as I used to deploy and take down instances to make sure the playbooks were working on AWS as well, I also tried the playbooks with Linode servers and that works too but I only tested the dual core servers in both platforms as I didn't want to spend too much testing.
From my experience on dual core servers you cannot run all of the containers included as the deployment slows down a lot and freezes up indicating the server cant handle more containers so you will most likely need to deploy only essentials or pay for a better VPS.


nwg-dock-hyprland literally dies the moment dolphin gets started

Describe the bug
As the title says, the moment I open Dolphin/if I start the dock with Dolphin already started, the dock segfaults
To Reproduce
Steps to reproduce the behavior:

Start dock
Start Dolphin
Dock dies

OR

Start Dolphin
Start dock
Dock dies the second it starts

Expected behavior
Dock doesn't die the moment it touches Dolphin, it shows it on the dock and everything goes as expected
Desktop (please complete the following information):

Linux distribution: Arch Linux
go version: go version go1.21.0 linux/amd64
gtk-layer-shell version: 0.8.1-1

Additional context
My suspicion is that it really hates the icon Dolphin has and it fails to create a button? It's the default Dolphin icon because I have no idea how to make nwg-dock use a custom icon pack, but that's another issue. Here's what the dock spits out in stdout:

when the dock is already started and Dolphin gets started after some time:

INFO[0000] Starting in autohiDe mode
INFO[0000] Using style: /home/andy3153h/.config/nwg-dock-hyprland/style.css
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x5cee77]

goroutine 1 [running]:
github.com/gotk3/gotk3/gtk.(*Image).toWidget(0xc000422aad?)
	<autogenerated>:1 +0x17
main.taskButton.(*Button).SetImage.func4(0xc000334ae0?, {0x7102c0, 0x0})
	/home/piotr/go/pkg/mod/github.com/gotk3/gotk3@v0.6.2/gtk/gtk.go:1853 +0x3a
github.com/gotk3/gotk3/gtk.(*Button).SetImage(...)
	/home/piotr/go/pkg/mod/github.com/gotk3/gotk3@v0.6.2/gtk/gtk.go:1853
main.taskButton({{0xc000334a90, 0xe}, 0x1, 0x0, {0xc000334ab0, 0x2, 0x2}, {0xc000334ad0, 0x2, 0x2}, ...}, ...)
	/home/piotr/GolandProjects/nwg-dock-hyprland/tools.go:119 +0x18b
main.buildMainBox(0x1?)
	/home/piotr/GolandProjects/nwg-dock-hyprland/main.go:163 +0xa38
main.main.func5.1()
	/home/piotr/GolandProjects/nwg-dock-hyprland/main.go:546 +0x17
reflect.Value.call({0x625f20?, 0xc000327490?, 0xc000257948?}, {0x6d3063, 0x4}, {0x0, 0x0, 0xc0000061a0?})
	/usr/lib/go/src/reflect/value.go:596 +0xce7
reflect.Value.Call({0x625f20?, 0xc000327490?, 0xc0002579e0?}, {0x0?, 0x4c3dfc?, 0x3d?})
	/usr/lib/go/src/reflect/value.go:380 +0xb9
github.com/gotk3/gotk3/glib.sourceFunc(0xc0000061a0?)
	/home/piotr/go/pkg/mod/github.com/gotk3/gotk3@v0.6.2/glib/glib.go:324 +0xa5
github.com/gotk3/gotk3/gtk._Cfunc_gtk_main()
	_cgo_gotypes.go:17491 +0x3f
github.com/gotk3/gotk3/gtk.Main(...)
	/home/piotr/go/pkg/mod/github.com/gotk3/gotk3@v0.6.2/gtk/gtk.go:1242
main.main()
	/home/piotr/GolandProjects/nwg-dock-hyprland/main.go:647 +0x14ab

when the dock gets started while Dolphin is already started (somehow it's different)

INFO[0000] Starting in autohiDe mode
INFO[0000] Using style: /home/andy3153h/.config/nwg-dock-hyprland/style.css
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x5cee77]

goroutine 1 [running]:
github.com/gotk3/gotk3/gtk.(*Image).toWidget(0xc0002deaad?)
	<autogenerated>:1 +0x17
main.taskButton.(*Button).SetImage.func4(0xc000014ec0?, {0x7102c0, 0x0})
	/home/piotr/go/pkg/mod/github.com/gotk3/gotk3@v0.6.2/gtk/gtk.go:1853 +0x3a
github.com/gotk3/gotk3/gtk.(*Button).SetImage(...)
	/home/piotr/go/pkg/mod/github.com/gotk3/gotk3@v0.6.2/gtk/gtk.go:1853
main.taskButton({{0xc000014e70, 0xe}, 0x1, 0x0, {0xc000014e90, 0x2, 0x2}, {0xc000014eb0, 0x2, 0x2}, ...}, ...)
	/home/piotr/GolandProjects/nwg-dock-hyprland/tools.go:119 +0x18b
main.buildMainBox(0x849900?)
	/home/piotr/GolandProjects/nwg-dock-hyprland/main.go:163 +0xa38
main.main()
	/home/piotr/GolandProjects/nwg-dock-hyprland/main.go:557 +0x121e

I'll take a look at this when I'm home, but FYI it doesn't happen on my side.

Oh wow, didn't expect you to answer so quickly.
Did you try unsetting the icon theme? Maybe the icon Dolphin ships with is causing problems

Yes. It starts to crash when I set Adwaita instead of Papirus. I'm lookin for possible reason now.
BTW: installing a QT file manager, together with its 46 dependencies, in my all-GTK environment makes little sense.

Did you try unsetting the icon theme? Maybe the icon Dolphin ships with is causing problems

That's true. Fix on the way. BTW: you will need an icon theme that provides an icon for Dolphin, as org.kde.dolphin.desktop does not specify any. Or you may edit the desktop file. Or just give up on Dolphin.

Resolved in https://github.com/nwg-piotr/nwg-dock-hyprland/releases/tag/v0.1.6

That's still happening with me on 0.1.6, more specifically with Whatsapp Nativefier (while using Papirus Dark icon theme), the dock just crashes with the same errors.


Problem with @types/requirejs dependency

Hi, I'm currently trying to compile a typescript file with Select2, and I'm getting the following error:
ERROR in C:/xampp/htdocs/webpack_test-1/node_modules/@types/node/module.d.ts(2,5):
TS2300: Duplicate identifier 'mod'.
ERROR in C:/xampp/htdocs/webpack_test-1/node_modules/@types/requirejs/index.d.ts(38,11):
TS2300: Duplicate identifier 'mod'.
ERROR in C:/xampp/htdocs/webpack_test-1/node_modules/@types/requirejs/index.d.ts(422,13):
TS2403: Subsequent variable declarations must have the same type.  Variable 'require' must be of type 'NodeRequire', but here has type 'Require'.
Which is being caused by select2 requiring the @types/requirejs

Sounds like you are depending on a different package than the Select2 one on NPM. We don't require any TypeScript types and also do not currently export any, so I'm not sure how you're seeing that import as being from us.


New XML structure

Is your feature request related to a problem? Please describe.
Jarvis generates a XML file with "funcarch" as a root node.
This does not allow to add the elements describing the physical architecture of the system.
Describe the solution you'd like

Restructure the XML file in according with 3SE datamodel to add new concepts such as physical architecture of the system
Allow Jarvis to automatically update on old XML structure ("funcarch" as a root node") into the new one ("systemAnalysis" as a root node)

Describe alternatives you've considered
None

Regarding this : "Allow Jarvis to automatically update on old XML structure ("funcarch" as a root node") into the new one ("systemAnalysis" as a root node)"
Since there is not so much user (at the moment ;) ), the easiest and more convenient way (from dev side) would be to delete old xml file an (re)run the whole notebook. Otherwise, a specific module/script has to be developped. If there is a "real" need for this feature please let me know.

Ok, as long as Jarvis takes no action and displays an error message in case of old xml structure found


ValueError: negative dimensions are not allowed

run test_demo.py error in feature.py：
def sliding_window(x, window_size, window_shift):
shape = x.shape[:-1] + (x.shape[-1] - window_size + 1, window_size)
strides = x.strides + (x.strides[-1],)
return np.lib.stride_tricks.as_strided(x, shape=shape, strides=strides)[::window_shift]
if  x.shape[-1] - window_size + 1 < 0:
ValueError: negative dimensions are not allowed
what is the mean x.shape[-1] - window_size + 1 ?

It would be better if you could provide the code to reproduce the problem.

-- encoding: utf-8 --
@Author: SWHL
@Contact<EMAIL_ADDRESS>from wenet import WenetInfer
config_path = "pretrain_model/20211025_conformer_exp/test.yaml"
dict_path = "pretrain_model/20211025_conformer_exp/words.txt"
encoder_onnx_path = "RapidASR/encoder.onnx"
decoder_onnx_path = "RapidASR/decoder.onnx"
mode = 'attention_rescoring'
wenet_infer = WenetInfer(config_path,
dict_path, -1,
encoder_onnx_path,
decoder_onnx_path,
mode)
wav_path = r'/home/user/Program/wav2lip_few_data/val/id2_000191.wav'
key, content, elapse = wenet_infer(wav_path)
print(f'{key}\t{content}\t{elapse}s')
File "/home/caopu/workspace/RapidASR/python/base_wenet/test_demo.py", line 19, in
key, content, elapse = wenet_infer(wav_path)
File "/home/caopu/workspace/RapidASR/python/base_wenet/wenet/wenet_infer.py", line 108, in call
data = self.preprocess_data(wav_path)
File "/home/caopu/workspace/RapidASR/python/base_wenet/wenet/wenet_infer.py", line 101, in preprocess_data
data = compute_fbank(data, **fbank_conf)
File "/home/caopu/workspace/RapidASR/python/base_wenet/wenet/utils.py", line 153, in compute_fbank
mat = compute_fbank_feats(waveform,
File "/home/caopu/workspace/RapidASR/python/base_wenet/wenet/kaldifeat/feature.py", line 316, in compute_fbank_feats
frames, log_energy = extract_window(
File "/home/caopu/workspace/RapidASR/python/base_wenet/wenet/kaldifeat/feature.py", line 117, in extract_window
frames = sliding_window(waveform, window_size=window_size, window_shift=window_shift)
File "/home/caopu/workspace/RapidASR/python/base_wenet/wenet/kaldifeat/feature.py", line 10, in sliding_window
return np.lib.stride_tricks.as_strided(x, shape=shape, strides=strides)[::window_shift]
File "/home/caopu/miniconda3/envs/audio2head/lib/python3.8/site-packages/numpy/lib/stride_tricks.py", line 104, in as_strided
array = np.asarray(DummyArray(interface, base=x))
File "/home/caopu/miniconda3/envs/audio2head/lib/python3.8/site-packages/numpy/core/_asarray.py", line 102, in asarray
return array(a, dtype, copy=False, order=order)
ValueError: negative dimensions are not allowed
I found the error in  the function sliding_window ,  if x.shape[-1] - window_size + 1 < 0 It will report an error, why is this, thank you 。

I'm sorry to reply you so late.
Can you provide the raw wav(/home/user/Program/wav2lip_few_data/val/id2_000191.wav) for me to reproduce the error?
At the same time, can the demo given in the repository be reproduced?


Edge case: tabs inside tab

When putting vaadin-tabs inside vaadin-tab it is working, but produces errors from the mixin that should be fixed.

Don’t spend too much time fixing this, as the use case is totally ridiculous.

Tabception!


Added colors to config

I have attempted to fix #12276, it's my first time contributing and I do not have a way to test it as all my CLI's show in color.
Summary
Added a boolean for color in the config files following a similar pattern used for collectCoverage.
Test plan
All tests seem to pass except for the one that compares the config files. If this is the correct solution I would be happy to create test and modify old ones to include this addition.

CI is unhappy, may you have a look.

Attempted a fix by adding putting the addition of colors config in the snapshots used for testing.

Glad to hear this PR is en route. As for the integration test, shouldn't there already be one for the --colors CLI option? Why not reuse that one?

Glad to hear this PR is en route. As for the integration test, shouldn't there already be one for the --colors CLI option? Why not reuse that one?

I haven't had the time to check/make the tests. Could you possibly download the repo and see if it works on your end? I do not have a way to check on my end if it works. Thanks!


cwd option not used on second call

This works:
GLOB(path1 + "/**", {
  cwd: path1
}, function (err, files)
{
});

GLOB(path2 + "/**", {
  cwd: path2
}, function (err, files)
{
});

This does NOT work but should:
GLOB("**", {
  cwd: path1
}, function (err, files)
{
});

GLOB("**", {
  cwd: path2
}, function (err, files)
{
});

Yeah, that's a bug.

Can you please try with the latest push to master?  Also published as<EMAIL_ADDRESS>

Cannot tell because glob is not working for me at all now. Seems to be a regression. Locked to 3.0.x for now. No time to look further ATM.

Could you explain a little bit what "not working for me at all now" means?
Is it throwing an error?  Hanging?  Doesn't install?

No error. Exact same input, now no output.
Code: https://github.com/sourcemint/bundler-js/blob/fa9e5a02e25e189b1d6efe6f53d6f399552798b7/lib/bundler.js#L176-196
Broad test case: https://github.com/sourcemint/platform-nodejs (npm test)
Things should fail.
I'll try and narrow things down when I have time if you don't beat me to it.

Aha.  It's getting confused when the cwd isn't process.cwd.

Ah, that would explain it. What is the exat difference between the cwd and root options?

v3.1.3 should have what you need.  Thanks!

root is used when you want patterns starting with / to be interpreted as being in some specific directory.
Seems like that's broken atm too, though.

I thought that is what cwd is for. Can you explain the difference?

Say you have this structure:
a
+-- b
|    `-- c
+-- c

Then glob('/c', {root: 'a', cwd: 'a/b'}) would match a/c but not a/b/c.  If you drop the slash, then you see that glob('c', {root:'a',cwd:'a/b'}) would match the a/b/c file, but not the a/c file.
What's not immediately clear is how best to express this in the results.  I'm thinking that any and all patterns that start with / should show up in the results as a full absolute path, with the root config pre-pended.
Another option would be to resolve everything against the cwd, but that breaks the symmetry with how it works by default, when cwd is process.cwd(), and root is /.  The "evil owl" pattern {*,/*} returns /etc, /usr, /home, etc... for the "absolute" part, but foo, bar, baz, ... for the "relative" part.
Setting a root is important for handling situations like ignore files.  /foo.txt in a .gitignore will prevent ./foo.txt from being included, but not ./bar/foo.txt.
When building a tarball or something, though, you probably don't want to get the full path, since that'll result in adding a bunch of noise into your tarball, so this will have to be configurable, with the default perhaps being to prepend the root, and an option to disable, akin to rsync's '--no-implied-dirs' option.

Why not default root to cwd which defaults to process.cwd() and always return relative path from root in result.
Prefixing root to result paths requires me to strip it again in most cases (I need relative paths from a given root). Also, if you pass in root it is trivial for you to map the result array after and prefix root if you need to.
So result paths always start with / so you can do PATH.existsSync(root + result[x]) where root may be /etc and result[x] = /hosts.

Because the default root is /, not the cwd.  The evil owl {/*,*} needs to return everything in / as well as everything in ..  So, by default, yes it is prefixed.
If you want to disable this, set { nomount: true } in the options object.

v3.1.4 works now. Thanks.


Username link in main nav does not work upon sign up

If someone signs up and immediately logs in using the "log in now" checkbox, then the username link in the main nav does not work.

I fixed this, just had to return public_id from the create user query:
https://github.com/ferg1e/comment-castles/commit/365533ec7e7f069349ddb41e2f9aafe196ec334e


[ko] Translate the glossary term Developer into Korean

Signed-off-by: yuzin9712<EMAIL_ADDRESS>fix #35438

This PR is WIP. :)
I am sure the contributor will update the PR and review can be initiated once the contributor update WIP contests.

@yuzin9712
Please update this PR with a complete localization :)

/assign @seokho-son

해당 이슈에대해  PR을 새로 만들어 올리게 되어 Close 하였습니다!!
https://github.com/kubernetes/website/pull/35874


Google custom search in user manual is broken

Google custom search in the manual is not working. For manual search it should be searching within site:cruise.eecs.uottawa.ca
For wiki and issue search it should be searching wishing github (it searches in Google Code)

Correction. The manual search should use
site:cruise.eecs.uottawa.ca/umple filter -umple-compiler-javadoc target
where target is the topic the user has typed
A separate search of the javadoc might also be useful


Align FixupRuntimeTypeHandle definition with RuntimeTypeHandle

We use CLR_RUNTIMETYPEHANDLE to turn on the "RTTH is RuntimeType"
behavior.

LGTM


figure formatters not in this package

This package doesn't contain the figure formatters it uses, which are still all defined in IPython.core.pylabtools.

Good catch, I agree they should definitely be moved here.

Should we try to do this before cutting a release? I can give it a try next week, though if someone has time to beat me to it, I'd appreciate it...
This package is very stable, so cutting a release that fixes these little nags would be nice (with that rcParams fix being a not-so little one that is really motivating me to get it done).

I made a release today (0.1.5) b/c I didn't want to linger on it as I might not have time later. But I'm happy to revisit this to do a bit of cleanup and push a 0.1.6 later... @minrk do you have any cycles to do this? If not I can give it a try.


Build exe patch 1

ok there seems to be some issue with the visual Tests and the spellcheck -> the spellcheck might just need some exception in the cspell.json in the Connect-A-PIC project


Added cardano-cli-<IP_ADDRESS>

From https://github.com/IntersectMBO/cardano-cli at 396bb22c20ec662f9d7d9861751ddb050c0e0857

Release PR: https://github.com/IntersectMBO/cardano-cli/pull/793


Quit fix and update quit handler

I don't know if the app path stuff will work in the production bundle since the paths are slightly different

Yeah I am testing that path in production. (The app path returns the dir all the way in the Resources dir of the app bundle.)
This will only work in darwin too since it uses an app bundle. I'll add a comment block here explaining.
I think this is ok for now (since it works) but I'll investigate a better more cross-platform way of getting the location of the app that is running.


Add RemoteCode

Add remote code model to fetch the remote code when order is used with instant-url as delivery format

I don't really see a reason to not use the functions this client provides. Any reason for that?

The endpoint called is a public one and I wouldn't send credentials there.

I don't really see a reason to not use the functions this client provides. Any reason for that?

The endpoint called is a public one and I wouldn't send credentials there.

Making it optional is less effort.


whenNew mock declared as field variable not used. Same mock as local variable used.

From<EMAIL_ADDRESS>on December 13, 2010 12:56:03
What steps will reproduce the problem? 1. Run the two tests in the attached zip What is the expected output? What do you see instead? PowerMockBugPartATest fails with an NPE, PowerMockBugPartBTest passes.
The only difference between the two tests is that in PartA, the mock is declared as a field, but in PartB, the mock is a local variable. What version of the product are you using? On what operating system? Ubuntu 10.10
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)
powermock-mockito-1.4.6-full.jar
objenesis-1.2.jar
mockito-all-1.8.5.jar
junit-4.8.1.jar
javassist-3.13.0-GA.jar
cglib-nodep-2.2.jar Please provide any additional information below. Running the tests in Eclipse Helios Service Release 1
Also run from the bash prompt:
java org.junit.runner.JUnitCore powermockbug.PowerMockBugPartBTest
with the approporiate CLASSPATH
Same result in both cases
Attachment: demo.jar
Original issue: http://code.google.com/p/powermock/issues/detail?id=298

From<EMAIL_ADDRESS>on December 13, 2010 04:03:21
I also noticed that PartA test will pass if SomeDependency#complete() is made public (rather than default). Weird.

From<EMAIL_ADDRESS>on December 26, 2010 00:30:02
Hi,
Yes this is indeed weird. Not sure what's causing this but the way I suppose you should create mocks in JUnit is in the @Before method. E.g:
{{{
private SomeDependency somethingUsedByMethodUnderTest;
@Before
public void setup() throws Exception {
    somethingUsedByMethodUnderTest = mock(SomeDependency.class);
}

}}}
which works. But it's probably a bug but it'll take time to track it down..
Status: Accepted
Labels: -Priority-Medium Priority-Low Milestone-Release2.0


Introduce status/failing-ci label

This has proved quite useful in the past days to distinguish between CI infrastructure quirks and legitimate failures.

Not sure what that means.  Does it mean we're ok with it failing so we can merge it anyway?
If not, then why isn't just looking at the test results sufficient?

No no we shouldn't merge anything that doesn't pass CI, but at least we can easily test if that one fails for a good reason (i.e., compilation or go fmt error, not just random CI infrastructure quirks).

LGTM

Given that this label is already in use and I'm finding it helpful, LGTM.


docker-machine-driver-opennebula does not properly work with Rancher

Description
I'm using opennebula and the docker-machine-driver-opennebula to provision hosts for kubernetes/Rancher. I already reported this issue in https://github.com/OpenNebula/docker-machine-opennebula/issues/15 but recently figured out, that the docker-machine-driver-opennebula is maintained here.
If you delete a host in rancher, it deletes the host through opennebula and creates a new one. Unfortunately the new host is already created before the old one is finally removed. That's why rancher is failing with "Error creating machine: Error in driver during machine creation: Multiple resources with that name."
To Reproduce
Provision a kubernetes cluster with Rancher with the help of opennebula. Delete one of the hosts and get the error: "Error creating machine: Error in driver during machine creation: Multiple resources with that name." during the provision of the new rancher node. Pls also check the issue in https://github.com/OpenNebula/docker-machine-opennebula/issues/15.
Expected behavior
The driver should make sure that no name clashes happen.
Details

Affected Component: docker-machine-driver-opennebula
Hypervisor: KVM
Version: 5.10.1

Progress Status

[ ] Branch created
[ ] Code committed to development branch
[ ] Testing - QA
[ ] Documentation
[ ] Release notes - resolved issues, compatibility, known issues
[ ] Code committed to upstream release/hotfix branches
[ ] Documentation committed to upstream release/hotfix branches

I can confirm that I having the same problem.
It is working fine for newly created clusters but throws the same error when you recreate the nodes.

@meier-rene , can you tell us the step by step to reproduce it? We try to recreate this If you delete a host in rancher, delete it via opennebula and create a new one and the host is deleted in rancher and opennebula without any error.
Tell us please the exact steps to recreate this provision of a cluster of kubernetes with rancher. Maybe we are doing other way.
@kvaps, can you provide the exact steps to recreate the nodes and reproduce the problem?

We working with rancher 2.3.5 and docker-machine-opennebula-5.10.1-1 on ubuntu 18.04. We use a template based on ubuntu-18.04 from the appstore. I can provision a new cluster like this:

and in sunstone it looks like this:

Its working as expected.
If I delete one of the worker with Delete from the menu like this:

In sunstone I can see the currently running testworker2 enters EPILOGand the new
testworker2 is allready there PENDING

In this Moment I get an error in Rancher:

I can recover from this error by deleting all VMs named testworker2 in opennebula, wait until they are finally gone and then delete testworker2 again in rancher. Now everything works fine.

[ONE]

https://github.com/OpenNebula/one/pull/4385

[DOC]

https://github.com/OpenNebula/docs/pull/1060


add comprehensive test for germline_filter

want to add a CliRunner test in the vein of test_basic_functionality.py, for the full run.
just for my own sanity

done, with 5885c067bbcc59bde1ccda73b6021a33d1fba6fb


Unable to add more than 1 filter on the same level

Steps to reproduce
I needed to add in 2 conditions on the same level:

players whose career is more than 10 years
players whose HR is greater than 200

However, I'm unable to add the second condition using the editor. The same applies to the web application.

Environment

atoti: 0.5.1
Operating System: win32

Tracking this issue in this ticket

Tracking this issue in this ticket


[Bug]: Error at Pagination when using (ephermeral)

What happened?
So im trying to make queue pagination and i set the pagnation to ephermeral: true then i set the time for 10s. And im using onPaginationTimeout after the time run out  error happened
Code and Error Logs is below
Reproduction
https://sourceb.in/DoW5mxm6Ap
Relevant log output
/home/kezia/Documents/MeeS/Development/Mees Slash/node_modules/discord.js/src/rest/RequestHandler.js:349
      throw new DiscordAPIError(data, res.status, request);
            ^
DiscordAPIError: Unknown Message
    at RequestHandler.execute (/home/kezia/Documents/MeeS/Development/Mees Slash/node_modules/discord.js/src/rest/RequestHandler.js:349:13)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async RequestHandler.push (/home/kezia/Documents/MeeS/Development/Mees Slash/node_modules/discord.js/src/rest/RequestHandler.js:50:14)
    at async MessageManager.edit (/home/kezia/Documents/MeeS/Development/Mees Slash/node_modules/discord.js/src/managers/MessageManager.js:131:15)
    at async InteractionCollector.<anonymous> (/home/kezia/Documents/MeeS/Development/Mees Slash/node_modules/@discordx/utilities/src/pagination/index.ts:219:9) {
  method: 'patch',
  path: '/channels/904207422770536459/messages/907110017151406090',
  code: 10008,
  httpStatus: 404,
  requestData: {
    json: {
      content: '> Playing **遊戲人生主題曲OP No Game No Life Opening Full** out of 25\n' +
        '\n' +
        '1. No Game No Life: Zero OP - THERE IS A REASON (Full) / NO SONG NO LIFE - [04:53]\n' +
        '\n' +
        '2. LiSA - Crossing Field - [04:08]\n' +
        '\n' +
        '3. 一首好聽的日語歌《 絆》miu-clips【中日歌詞Lyrics】 - [05:07]\n' +
        '\n' +
        '4. DAOKO × Kenshi Yonezu “Fireworks” MUSIC VIDEO - [04:53]\n' +
        '\n' +
        '5. 一首好聽的日語歌《天之弱》Akie秋绘【中日歌詞Lyrics】 - [04:47]\n' +
        '\n' +
        '6. Demon Slayer: Kimetsu no Yaiba - OP Full "Gurenge" - [04:31]\n' +
        '\n' +
        '7. 【戴上耳機♪一秒沉淪】那天遇上了你，從此改變了我！ - [04:11]\n' +
        '\n' +
        '8. Eir Aoi - Ignite - [04:08]\n' +
        '\n' +
        '9. 麻枝 准×やなぎなぎ 「終わりの世界から」 - [06:06]\n' +
        '\n' +
        '10. "Waiting for Rain" - 美波 (Minami) MV - [05:14]',
      tts: false,
      nonce: undefined,
      embeds: [],
      components: [],
      username: undefined,
      avatar_url: undefined,
      allowed_mentions: undefined,
      flags: 64,
      message_reference: undefined,
      attachments: [],
      sticker_ids: undefined
    },
    files: []
  }
}

Code of Conduct

[x] I agree to follow this project's Code of Conduct

I have tested below code, and issue could not confirmed.
    const pagination = new Pagination(interaction, embedx, {
      enableExit: true,
      onTimeout: (page, message) => {
        message.delete();
      },
      time: 5 * 1000,
      type: "BUTTON",
    });

are you sure, the mentioned issue with lib?

@oceanroleplay can you test using epheremal set to true?

@oceanroleplay can you test using epheremal set to true?

yes, I think issue is confirmed, will now see, this is the lib or discord. will update you soon.

@oceanroleplay alright, thank you for your reply

@ameliakiara could you update the reason of close?

I am gonna reopen this, since this is a verified issue.

@oceanroleplay Sorry, wrong click

Ephemeral message can not be deleted.
Can not edit or alter message received with ephemeral response. (not sure if that is djs or discord but it's it that way)

some features will not work exactly in ephemeral mode. so be aware about that.

I see, thank you for your help


Have the DjangoOptimizerExtension also handle the Nested Filtering and Ordering edge cases.

Queries with Nested Filters and Orders in them are not optimized. Which can cause a lot of unneeded extra query calls.
Here @bellini666 asked @vitosamson to put up an issue for this. But I saw none here so here's mine.
I'm a bit short on time but I'll post an example tomorrow.

Upvote & Fund

We're using Polar.sh so you can upvote and help fund this issue.
We receive the funding once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog.

This was resolved by https://github.com/strawberry-graphql/strawberry-django/releases/tag/v0.44.0


Save score dataframes

In order to compare results between topologies and between ML and DL we need to save our results scores dataframes

[x] save k-fold scores DF (Machine Learning)
[x] save k-fold scores DF (Deep Learning)
[x]  train over full train corpust and save score over dev Corpus (Machine Learning)
[x] train over full train corpus and save score over dev Corpus (Deep Learning)

Executing and saving results for Deep Learning

Waiting for #2 to train with machine learning

#2  already in develop, we are able to continue saving scores from ML

All scores are saved in results folder


Can't Log In to Rippex Desktop but can see XRP balance at Rippex address

Started Rippex desktop wallet yesterday.  Carefully wrote and double checked password, secret key, and payment address.  Sent about 180 XRP today and then after shutting down machine and reopening, the only thing I can do is see a balance with the address.
Neither my password, nor going into the 'create new wallet' button with secret key works.  Password simply says 'Login failed:  Wallet file or password is wrong.'  When I go to 'create new account with secret key' and input the secret key, the 'Create New Account' button never activates.  Help please?  Thank you.

Same thing happen to me! If you find a solution please comment. This is frustrating, and I would like access to my account!

SOLVED
Your password may be to long. This is what I had to do
Get your saved password make a copy. Open wallet enter password and enter and fail. Now back space one password character per fail
I keep deleting till i get to this length<PHONE_NUMBER>1111111 my original password length is
11111111111111111111111111
Keep trying. Remember special characters might cause problem to

Same thing happens to me. I make new accounts with a different password to test and they don't work either

I think I solved this hahaha   It works for me
If you are locked out of your rippex wallet this might help
11111111111111111 If your password is longer than this you may have
problems with password.All I did was delete one character per login fail
and it worked.
This is my xrp address if anyone wants to thank me
r3opxWwDJpz5VhRAp4m7LSk5KPkwQEASRZ
On Fri, Dec 22, 2017 at 9:58 AM, Shuguley<EMAIL_ADDRESS>wrote:

Same thing happens to me. I make new accounts with a different password to
test and they don't work either
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/rippex/ripple-client-desktop/issues/73#issuecomment-353483413,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AhIv7zMQzF5d64lbWCBvkZVZGD3Qc_Vjks5tCumLgaJpZM4RHf-P
.


Python: Fix readme header lines to be the size of the title.

Codecov Report

Merging #1493 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master    #1493      +/-   ##
============================================
+ Coverage     87.01%   87.02%   +<.01%
- Complexity     4107     4108       +1
============================================
  Files           405      405
  Lines         16479    16480       +1
  Branches       1756     1756
============================================
+ Hits          14340    14341       +1
  Misses         1666     1666
  Partials        473      473

Impacted Files
Coverage Δ
Complexity Δ

...codegen/viewmodel/metadata/ReadmeMetadataView.java
100% <100%> (ø)
4 <1> (+1)
:arrow_up:

Continue to review full report at Codecov.

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