added dynamic sleep features [did something wrong in github desktop at first]

addedpublic features:
'void idle()'
called in a infinite loop for task switching, sleeping and yield
'void sleep(int ms)'
sets value for thread to sleep, suspend it until that time (gets reactivated using idle loop (see above))
you need a
'extern void enter_sleep(int ms)'
in your ino file and add custom sleeping features to it, see examples/deepsleep for an example.

Ramon, your pull request looks very sensible. There is only one issue I'm not sure about. After the call to enter_sleep(...), you assume that the Teensy actually slept for the entire time. But it could have been woken up by anything. I could be reading it wrong. In any case, it's a minor problem.

this can be solved using the teensy's RTC, by comparing and storing start and end times (can be done in enter_sleep function), i'll leave that to the user on how he implements it (i want to keep as much flexibility as possible)

added basic documentation to the code on how this can be done easily for simplicity, also including a return param in enter_sleep for actual time in ms spent asleep

@ramonschepers - just gave your fork a shot ahead of official release (needed a sleep function :) ).  Anyway ran your example deepsleep.ino and received the following error:
C:\Users\CyberPalin\Documents\Arduino\libraries\TeensyThreads-master\TeensyThreads.cpp: In member function 'void Threads::idle()':

C:\Users\CyberPalin\Documents\Arduino\libraries\TeensyThreads-master\TeensyThreads.cpp:494:59: error: 'enter_sleep' was not declared in this scope
   volatile int time_spent_asleep = enter_sleep(substractor);

Running a T3.5 with TD1.4 and IDE 1.85 for reference.
thanks mike

ah, that's a small placement issue of the exern void and reference to the function in the library, thanks for noticing am pushing a working (and tested) commit now :)

Can confirm it works, just gave it a try.  Is there a way for me to tell what thread to sleep, i.e., sleep(id, ms)?  Don't think so from what I saw but that was real quick.  Looks like it executes the sleep for the thread that it is in, I believe.

Upontge sleep call, a thread it's sleep time is set before it is suspended, the actual sleeping happens from the idle call, which calculates how long to sleep. Note that I didn't test the code with the "legacy" delay code, so I'll advise to only use either the legacy delay, OR sleep/idle, but not a combination.

Just as a FYI.  One of things that I have been doing with teensythreads is combining it with eventresponder.  I just ran a simple test with using your example sketch and my eventresponder sketch that uses timed events.  The sketch crashes at some point, i.e., continually loses the serial port and reconnects (keep hearing the beep on my windows machine).  The sketch keeps running, how do I know this, the lights keep blinking but there is a problem with eventresponder piece I think.  Here is the sketch if you want to give it a try:
#include <EventResponder.h>
#include <Arduino.h>
#include "TeensyThreads.h"
#include <Snooze.h>
#include <SnoozeBlock.h>

SnoozeTimer timer;
SnoozeBlock config(timer);

#define EVENT2_TIME 6000
#define EVENT3_TIME 1050
#define EVENT4_TIME 250
#define EVENT0_TIME 750

uint32_t event0_expected_time;
uint32_t event2_expected_time;
uint32_t event3_expected_time;
uint32_t event4_expected_time;

//EventResponder myevent;
EventResponder mytimerevent;
EventResponder mytimerevent2;
EventResponder mytimerevent3;
EventResponder mytimerevent4;

MillisTimer mytimer;
MillisTimer mytimer3;
MillisTimer mytimer2;
MillisTimer mytimer4;

const int LED = 13;
const int UserLED = 2;
bool test;
int tOn, tOff;

volatile int blinkcode = 0;

EventResponder led_switch;

//your sleeping funcion
int enter_sleep(int ms) {
  timer.setTimer(ms);//set sleep time in milliseconds
  Snooze.hibernate( config ); //go to actual sleep
  //additional, one can use the RTC or a low power timer
  //to calculate actual time spent asleep and return the
  //value to the scheduler to calculate better times.
  return ms;
}

void heartbeat() {
  while (1) {
    threads.sleep(3000);
    digitalWriteFast(LED, !digitalRead(LED));
  }
}

void fastbeat() {
  while (1) {
    threads.sleep(1555);
    digitalWriteFast(UserLED, !digitalRead(UserLED));
  }
}

void setup() {
  while (!Serial && millis() < 4000) ;

  Serial.println("EventResponder test");

  //myevent.attach(dosomething);
  mytimerevent.attach(dotimer);
  mytimerevent2.attach(dotimer2);
  mytimerevent3.attach(dotimer3);
  mytimerevent4.attach(dotimer4);

  event0_expected_time = millis() +  EVENT0_TIME;
  mytimer2.beginRepeating( EVENT2_TIME, mytimerevent2);
  event2_expected_time = millis() +  EVENT2_TIME;
  mytimer3.beginRepeating(EVENT3_TIME, mytimerevent3);
  event3_expected_time = millis() +  EVENT3_TIME;
  mytimer4.beginRepeating(EVENT4_TIME, mytimerevent4);
  event4_expected_time = millis() +  EVENT4_TIME;

  pinMode(2, OUTPUT);
  digitalWriteFast(2, LOW);
  pinMode(LED, OUTPUT);
  digitalWriteFast(LED, LOW);
  delay(2000);
  threads.addThread(heartbeat);
  threads.addThread(fastbeat);
}

void loop() {

  threads.idle();

  Serial.println("loop trigger dosomething");
  //myevent.triggerEvent();
  //delay(249);

}

void dosomething(EventResponderRef event)
{
  Serial.println("dosomething event");
  mytimer.begin(EVENT0_TIME, mytimerevent);
  event0_expected_time = millis() +  EVENT0_TIME;
}

void dotimer(EventResponderRef event)
{
  uint32_t t = millis();
  Serial.printf("%u - T0(%d)\n", t, (t >= event0_expected_time)? t - event0_expected_time : event0_expected_time - t);
  event0_expected_time  += EVENT0_TIME;}

void dotimer3(EventResponderRef event)
{
  blinkcode = 3;
  uint32_t t = millis();
  Serial.printf("%u - T3(%d)\n", t, (t >= event3_expected_time)? t - event3_expected_time : event3_expected_time - t);
  event3_expected_time  += EVENT3_TIME;
  //mytimerevent3.detach();
}

void dotimer4(EventResponderRef event)
{
  uint32_t t = millis();
  Serial.printf("%u - T4(%d)\n", t, (t >= event4_expected_time)? t - event4_expected_time : event4_expected_time - t);
  event4_expected_time  += EVENT4_TIME;
}

void dotimer2(EventResponderRef event)
{
  blinkcode = 0;
  uint32_t t = millis();
  Serial.printf("%u - T2(%d)\n", t, (t >= event2_expected_time)? t - event2_expected_time : event2_expected_time - t);
  event2_expected_time  += EVENT2_TIME;
}

You might want to check this post out as well because I was trying to convert it to using threads.sleep but couldn't get it to work, https://forum.pjrc.com/threads/44723-Arduino-Events?p=158615&viewfull=1#post158615.  I think bottom line is right now you won't be able to use thread.sleep with eventresponder.
thanks
Mike

Thanks.  I gave it a shot but have to do some more reading.  But snoozeblock seems to put it into lowpower 2mhz loop.  The other option was to use snoozeblock with usbserial driver class which I seem to having some problem getting to work.

i had the same issues without teensythreads as well when i was developing with Snooze, so it must be some programming mistake in there.. ^^;

I apologize for being over 2 years late in merging this but I didn't realize do it right the first time.


[Codeflare Action] Update notebook's pipfile to sync with Codeflare-SDK release 0.15.1

:rocket: This is an automated Pull Request.
This PR updates the Pipfile to sync with latest Codeflare-SDK release.

This Automation is somehow missing TensorFlow and runtimes,
seems like if the locking of pipfile is failing then this fails as well.


Fetching list of channels in a private chat

Is there a way to get the list of channels the user belongs to when the bot is initially installed in a private chat ?
The scenario is that - the user installs the bot to the private chat and then after performing some steps wants the bot to send a message to one of the teams channels, but there doesn't seem to be a way to fetch the team Id when the bot is in the private chat, maybe I missed something ?

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

ID: ca47e045-6669-e130-c75a-df31ab2fa3e8
Version Independent ID: de5e719f-c97a-0fee-c83d-f6ca176191b2
Content: Get Team's specific context for your bot - Teams
Content Source: msteams-platform/bots/how-to/get-teams-context.md
Product: msteams
GitHub Login: @clearab
Microsoft Alias: anclear

Duplicate of #1593


Improve documentation of --ignore-file

Email from @delvarworld to the ack-users mailing list.
This page is a mess in terms of --ignore-file:
http://beyondgrep.com/documentation/
I was lucky enough to find an example ackrc through google that showed
--ignore-file=match:file.txt
--ignore-file=match:/regexp/
but beyond that I have no idea what my options are for --ignore-file. I am also trying to construct a regex with forward slashes in it but it doesn't seem to be working. The documentation is very lacking in terms of how to do this.

These notes have been added to the --ignore-file ticket in ack 3 https://github.com/petdance/ack3/issues/7


New merge conflict experience is the most confusing "feature" I've seen

Type: Bug
I want to revert back to the old merge conflict experience, or at least a way to opt out of this new experience.
VS Code version: Code 1.70.0 (Universal) (da76f93349a72022ca4670c1b84860304616aaa2, 2022-08-04T04:38:55.829Z)
OS version: Darwin arm64 21.4.0
Modes:

System Info

Item
Value

CPUs
Apple M1 Pro (10 x 24)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
5, 4, 4

Memory (System)
16.00GB (0.13GB free)

Process Argv
--crash-reporter-id 099b4167-ac2e-488a-ad37-ad513941c3ba

Screen Reader
no

VM
0%

Extensions (14)

Extension
Author (truncated)
Version

npm-intellisense
chr
1.4.2

path-intellisense
chr
2.8.1

gitlens
eam
12.1.2

prettier-vscode
esb
9.5.0

auto-rename-tag
for
0.1.10

copilot
Git
1.40.6471

vscode-pull-request-github
Git
0.48.1

vscode-graphql
Gra
0.7.3

vscode-graphql-syntax
Gra
1.0.4

vscode-dbml
mat
0.3.5

git-graph
mhu
1.30.0

vscode-docker
ms-
1.22.1

prisma
Pri
4.2.0

vscode-styled-components
sty
1.7.4

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
wslgetstarted:30449410
cppdebug:30492333
pylanb8912:30529769
vsclangdf:30486550
c4g48928:30535728
d7fjc500:30543455
dsvsc012cf:30540253

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.70.1. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

The setting was mentioned in the 1.69 release notes when the feature first appeared and was opt-in. There was also some information about how to use it. Unfortunately the setting was not mentioned in the 1.70 notes when the feature was enabled by default.
It is called git.mergeEditor and you can view many of the duplicate issues by searching for that string.
/duplicate

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!

Your dev tool changing unexpectedly is worst UX possible. Where is a button to turn back to the old merge view?
This is so annoying as it turns off ability to just view a file with conflict, as a text file, by a text editor.


vLLM ITL fix

In vLLM outputs can be empty in the middle of the stream.

@IzzyPutterman was this breaking the ITL calculation (e.g. empty output --> zero token --> divide by zero)? Just trying to understand the context.

@IzzyPutterman was this breaking the ITL calculation (e.g. empty output --> zero token --> divide by zero)? Just trying to understand the context.

(github not letting me reply), but empty-output -> zero token -> replaced by a 1 token instead in llm_metrics-> total number of tokens used for ITL calculation is > that total expected, but thats not reported. So ITL is smaller than expected.

@IzzyPutterman was this breaking the ITL calculation (e.g. empty output --> zero token --> divide by zero)? Just trying to understand the context.

(github not letting me reply), but empty-output -> zero token -> replaced by a 1 token instead in llm_metrics-> total number of tokens used for ITL calculation is > that total expected, but thats not reported. So ITL is smaller than expected.

Ah I see. Yeah that makes sense. I think these will be irrelevant once we update to a new ITL formula, but the change looks good to me.


Docs - Update Docs to Show Permission Requirements for Different media Types

Why:
Closes: This is in response with an issue that I was facing and managed to resolve by finding this discussion.

What's being changed (if available, include any code snippets, screenshots, or gifs):
Updated the media type section of the documentation to outline that different media types may require different permissions.

Check off the following:

[x] I have reviewed my changes in staging, available via the View deployment link in this PR's timeline (this link will be available after opening the PR).

For content changes, you will also see an automatically generated comment with links directly to pages you've modified. The comment won't appear if your PR only edits files in the data directory.

[x] For content changes, I have completed the self-review checklist.

@zachdotai Thanks so much for opening a PR! I'll get this triaged for review ✨

Thanks for this PR! This is something that we should fix internally. I'll raise this discrepancy with the team that owns the data from which the permission docs are generated.

Thanks for this PR! This is something that we should fix internally. I'll raise this discrepancy with the team that owns the data from which the permission docs are generated.

@skedwards88 Thank you for your response. As far as I understand from the author of the earlier discussion, the issue could not be resolved back then in 2022 due to Github not having the capacity to do it.
I think this small comment in the docs will go a long way in saving some precious time for the engineers who can be stuck on the issue while it is resolved by Github. We can caveat the comment with this note as well. What do you think?


Float parse fix

Fixes #331
Turns out the bins and counts were actually accurate; the human-readable labels were incorrectly formatted. This PR fixes these format issues, and polishes them a little (using D3.format to get nicer number labels, and fixing a couple date label oddities).

LGTM.


secretmanager: add initial samples

@tbpg 🎁

This is missing IAM samples, but that's blocked on https://code-review.googlesource.com/c/gocloud/+/49650. I'll add those in a followup PR once that's merged.

Hey @tbpg - I think @jadekler was working on a proto update? Not sure if that landed yet.

Thanks. Marking do not merge until then.

@tbpg updated

Hmm...
    secretmanager_test.go:369: testCleanupSecret: failed to delete secret: rpc error: code = ResourceExhausted desc = Quota exceeded for quota metric 'Write requests' and limit 'Write requests per minute' of service 'secretmanager.googleapis.com' for consumer 'project_number:263638463498'.

Quota errors are tricky since they are hard to reproduce. Any ideas for reducing the number of calls, like combining some tests so they share a secret? Alternatively, we can request an increased quota for the 10 test projects.


merge master to beta

:tada: This PR is included in version 1.0.0-beta.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Multiple URL creation fails for same component

[kind/bug]

What versions of software are you using?

Operating System: Linux :heart:
Output of odo version:

odo v0.0.16 (HEAD)
How did you run odo exactly?
$ odo create httpd
Component 'httpd-ex-httpd-ohbd' was created and ports 8080/TCP,8443/TCP were opened
To push source code to the component run 'odo push'

Component 'httpd-ex-httpd-ohbd' is now set as active component.

$ odo url create
Adding URL to component: httpd-ex-httpd-ohbd
'port' is required as the component httpd-ex-httpd-ohbd exposes 2 ports: 8080,8443

$ odo url create --port 8080
Adding URL to component: httpd-ex-httpd-ohbd
URL created for component: httpd-ex-httpd-ohbd

httpd-ex-httpd-ohbd - http://httpd-ex-httpd-ohbd-httpd-ex-pqgc-myproject.<IP_ADDRESS>.nip.io

Actual behavior
$ odo url create --port 8443
The url httpd-ex-httpd-ohbd already exists in the application: httpd-ex-pqgc

$ odo url list
Found the following URLs for component httpd-ex-httpd-ohbd in application httpd-ex-pqgc:
NAME                    URL                                                                         PORT
httpd-ex-httpd-ohbd     http://httpd-ex-httpd-ohbd-httpd-ex-pqgc-myproject.<IP_ADDRESS>.nip.io     8080

Expected behavior
$ odo url create --port 8443
Adding URL to component: httpd-ex-httpd-abcd
URL created for component: httpd-ex-httpd-abcd

httpd-ex-httpd-abcd - http://httpd-ex-httpd-abcd-httpd-ex-pqgc-myproject.<IP_ADDRESS>.nip.io

$ odo url list
Found the following URLs for component httpd-ex-httpd-ohbd in application httpd-ex-pqgc:
NAME                    URL                                                                         PORT
httpd-ex-httpd-ohbd     http://httpd-ex-httpd-ohbd-httpd-ex-pqgc-myproject.<IP_ADDRESS>.nip.io     8080
httpd-ex-httpd-abcd     http://httpd-ex-httpd-ohbd-httpd-ex-pqgc-myproject.<IP_ADDRESS>.nip.io     8443

Any logs, error output, etc?

you can create two URLs for the same component, you  just have to specify names for the url
The following should work:
odo url create myurl1 --port 8443
odo url create myurl2 --port 8080

We should make sure that port number is part of the url name when creating url with the automatically generated name (url name is not specified by the user).
odo url create --port 8443
# url name will be `<component name>-8443`
odo url create --port 8080
# url name will be `<component name>-8080`

We actually do something similar with secrets: https://github.com/redhat-developer/odo/blob/79925b638963bf072515ea6ad533b48c7efdc1b0/pkg/occlient/occlient.go#L766
When we link components, we add the port number to the secret name and also add an annotation which can be used when searching for the secrets

We should make sure that port number is part of the url name when creating url with the automatically generated name (url name is not specified by the user).

But what if all the ports have been used by the urls and the user is trying to create a new url without name?

FWIW, for the secrets we also always add it (but of course secrets don't normally show up in odo, they are an implementation details)

@kadel @surajnarwade In case of a single port component, should I add the port number to the component or leave it?

I would always add it to make it consistent.


Add css for bold text

Markdown notation in for **bold** works i.e. developers tools show bold but it's not bold so there must be some css which needs adding.

It looks like it  works - haven't got time to look at the sccs to see why but just using this instead will do for now


Stop forwarding if a process closed its streams

This fixes an issue where the --fail-fast option would
print error messages about unreadable streams to the
console.
Supersedes https://github.com/gradle/gradle/pull/4393

We could also specifically catch the "Interrupted system call" exception, which is only thrown on IBM JDK. All other JDKs return -1 if the remote process was terminated.

I changed the logic to only target the specific case we were having trouble with (the interrupted system call). That way we won't miss other issues.


tiny yolo v3 networks folder update for r3

Also updated tiny yolo v1's expected color scheme from BGR to RGB.
Renamed tiny yolo v3 folder, renamed tiny yolo v3 in networks/README.
Changed APP_NAME to NETWORK_NAME for consistency.
For tiny_yolo_v3.py, changed the number of classes to the number of classes read in by the labels file. This will improve the re-usability of the code for other networks with a different amount of classes.

Like #304 need to recommit because of #306

Resolved the Readme conflicts.


Operation generation mode from first tag and path segments

Adds new IOperationNameGenerator class (MultipleClientsFromFirstTagAndPathSegmentsOperationNameGenerator.cs) for generating {controller} using the first tag in each operation and generating the operation name based on the path
Related issues: #1823, #1805

Thanks for the PR. Looks good to me!

👍 Happy to help

I've added two comments but when these are resolved we can merge...

I don't see any comments or reviews on this PR. Any ideas?

Sorry, now you should see them

@mikesingleton Are you currently working on resolving these issues?

@spfaeffli I got pulled onto something else, but I should be able to resolve this within a week or two. Hope the delay isn't too much of an inconvenience

@mikesingleton Ok, thank you. If you need any help, let me know.

@spfaeffli - made those changes for my coworker, he's been pulled onto a different project. Let me know if there's anything else I can do

Looks good to me, thank you very much. Ideally we would add unit tests and i’m wondering what happens if there is no tag? But it’s fine for me to merge now.

@RicoSuter - I'm about to push up a unit test for the new name generator, just fyi so you don't merge it


POST timeseries data

https://docs.helium.com/api/v1/endpoints.html#post-sensor-id-timeseries
https://docs.helium.com/api/v1/endpoints.html#post-element-id-timeseries

@PharkMillups I have a stubbed out issue for this already in case you were looking to add an issue

Glorious. I'll hold off. Thanks. Let me know what else I can do to help this along.

this is complete, will issue a new release of the gem


Update version

The package looks pretty stable, how about updating it to v1.0.0 .. ?
I've put together a browserify transform (https://github.com/dazld/frontmatterify) that uses both this and a yaml front matter parser, and would be great to be able to reference a 'stable' release instead of the 0.x versions on npm!
Side question - what extensions do people normally use for front matter files? Is there a standardised way of referring to them..? I'm using .json.fm and .yaml.fm- for an example.
What do you think..?

You're right -- this has been stable long enough. Updated to 1.0.0 and published to npm, thanks for the ping :)
Regarding file extension naming, I'm not sure on that, as personally I've been using them within markdown files (so just .md), guess it depends on what the body of the file is!

great, I'll update my packages too. the body content is important, you're right - maybe the jekyll people have some convention, but guess they only use yaml. Anyway, not a biggie - maybe I'll just update the transform to let people choose what they want, instead of trying to magically infer it from extension. thanks!


RFP - weasel

Homepage: http://rime.im/ (Chinese)
Download link: https://dl.bintray.com/rime/weasel/weasel-<IP_ADDRESS>-installer.exe
Keywords: rime, weasel
(“Weasel” is a kind of ink brush.)
Note: the installer and uninstaller is made from NSIS, but uninstaller.exe /S is not silent, for unknown reason.

Status: Review
https://chocolatey.org/packages/weasel

@chtof What’s AHK here for?

@FranklinYu weasel is automatically launched at end of installation. So, the AHK script closes weasel.

Status: Published

https://chocolatey.org/packages/weasel

Can be closed.


Caps on contract

Codecov Report

Merging #3 into master will increase coverage by 3.97%.
The diff coverage is 74.73%.

@@             Coverage Diff              @@
##             master       #3      +/-   ##
============================================
+ Coverage      59.9%   63.87%   +3.97%
- Complexity      271      371     +100
============================================
  Files            66       73       +7
  Lines          1404     1647     +243
  Branches         75       84       +9
============================================
+ Hits            841     1052     +211
- Misses          536      568      +32
  Partials         27       27

Impacted Files
Coverage Δ
Complexity Δ

...com/thebuyback/eve/service/JsonRequestService.java
61.4% <ø> (ø)
10 <0> (ø)
:arrow_down:

...in/java/com/thebuyback/eve/domain/CapitalShip.java
0% <0%> (ø)
0 <0> (?)

...a/com/thebuyback/eve/domain/CapitalShipStatus.java
100% <100%> (ø)
1 <1> (?)

.../main/java/com/thebuyback/eve/domain/CapOrder.java
100% <100%> (ø)
35 <35> (?)

.../com/thebuyback/eve/web/rest/CapOrderResource.java
100% <100%> (ø)
8 <8> (?)

...buyback/eve/domain/enumeration/CapOrderStatus.java
100% <100%> (ø)
1 <1> (?)

...com/thebuyback/eve/web/rest/CapConfigResource.java
100% <100%> (ø)
8 <8> (?)

...m/thebuyback/eve/config/SecurityConfiguration.java
96.29% <100%> (+0.06%)
8 <0> (ø)
:arrow_down:

...main/java/com/thebuyback/eve/domain/CapConfig.java
100% <100%> (ø)
44 <44> (?)

...ava/com/thebuyback/eve/service/ContractParser.java
8% <3.84%> (-0.24%)
1 <0> (ø)

... and 9 more

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 70b40e2...1bf189d. Read the comment docs.


Account Creation

Milestone - Profiles and Accounts
As a user, I want to have an account in my wallet, so I can have a deposit box for XYM and Mosaics in my wallet.

Screen flow - CLI Account Creation Flow


Make the @yamada-ui/fontawesome component headless

script: make-component-headless
package: @yamada-ui/fontawesome
Description
Currently, the @yamada-ui/fontawesome component has minimal styles set within the component's source code.
We want to make this style transferable to the theme and make the component headless, enabling more flexible UI customization.
Problem Statement/Justification
By making the @yamada-ui/fontawesome component headless, we can achieve more flexible styling tailored to the project.
Proposed Solution or API
The styles within the component are mostly defined by css: CSSUIObject and set to a prop named __css. We will transfer these styles to the packages/theme/src/components.
The code below is just an example and not the actual code.
packages/components/input/src/input-group.tsx
const css: CSSUIObject = {
- width: "100%",
- display: "flex",
- position: "relative",
  ...styles.container,
}

packages/theme/src/components/input.ts
baseStyle: {
  container: {
+   width: "100%",
+   display: "flex",
+   position: "relative",
  },
  field: {
    width: "100%",
    minWidth: 0,
    outline: 0,
    position: "relative",
    appearance: "none",
    transitionProperty: "common",
    transitionDuration: "normal",
    _disabled: {
      opacity: 0.4,
      cursor: "not-allowed",
    },
  },
  element: {
    color: ["blackAlpha.600", "whiteAlpha.700"],
  },
},

[!TIP]
In cases where the styles within the component are dynamically changed, there may be instances where it is not possible to transfer the styles to the theme.
In such cases, it needs to be discussed in this issue. Please feel free to send comments to this issue.

Additional Information
The @yamada-ui/fontawesome component exists in packages/components/fontawesome/src. You need to check all the components in this folder and if they contain styles internally, you need to modify them.
This change could have a significant impact on projects using Yamada UI, so we will work on it within the scope of v2.0.
Please create the branch for working on this issue from the remote branch v2.0, and direct your pull requests to the v2.0 branch as well.
Please select major for the changeset and create a pull request.

@yamada-ui/fontawesome has no style internally.


[Bug]: ModuleNotFoundError: No module named 'bitsandbytes'

Your current environment
Using Docker!
🐛 Describe the bug
Running v0.5.0 docker image with bitsandbytes quantization gives me the follwoing error:
[rank0]: Traceback (most recent call last):
[rank0]:   File "/usr/local/lib/python3.10/dist-packages/vllm/model_executor/layers/quantization/bitsandbytes.py", line 83, in __init__
[rank0]:     import bitsandbytes
[rank0]: ModuleNotFoundError: No module named 'bitsandbytes'

[rank0]: The above exception was the direct cause of the following exception:

[rank0]: Traceback (most recent call last):
[rank0]:   File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
[rank0]:     return _run_code(code, main_globals, None,
[rank0]:   File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
[rank0]:     exec(code, run_globals)
[rank0]:   File "/usr/local/lib/python3.10/dist-packages/vllm/entrypoints/openai/api_server.py", line 196, in <module>
[rank0]:     engine = AsyncLLMEngine.from_engine_args(
[rank0]:   File "/usr/local/lib/python3.10/dist-packages/vllm/engine/async_llm_engine.py", line 395, in from_engine_args
[rank0]:     engine = cls(
[rank0]:   File "/usr/local/lib/python3.10/dist-packages/vllm/engine/async_llm_engine.py", line 349, in __init__
[rank0]:     self.engine = self._init_engine(*args, **kwargs)
[rank0]:   File "/usr/local/lib/python3.10/dist-packages/vllm/engine/async_llm_engine.py", line 470, in _init_engine
[rank0]:     return engine_class(*args, **kwargs)
[rank0]:   File "/usr/local/lib/python3.10/dist-packages/vllm/engine/llm_engine.py", line 223, in __init__
[rank0]:     self.model_executor = executor_class(
[rank0]:   File "/usr/local/lib/python3.10/dist-packages/vllm/executor/executor_base.py", line 41, in __init__
[rank0]:     self._init_executor()
[rank0]:   File "/usr/local/lib/python3.10/dist-packages/vllm/executor/gpu_executor.py", line 24, in _init_executor
[rank0]:     self.driver_worker.load_model()
[rank0]:   File "/usr/local/lib/python3.10/dist-packages/vllm/worker/worker.py", line 121, in load_model
[rank0]:     self.model_runner.load_model()
[rank0]:   File "/usr/local/lib/python3.10/dist-packages/vllm/worker/model_runner.py", line 147, in load_model
[rank0]:     self.model = get_model(
[rank0]:   File "/usr/local/lib/python3.10/dist-packages/vllm/model_executor/model_loader/__init__.py", line 21, in get_model
[rank0]:     return loader.load_model(model_config=model_config,
[rank0]:   File "/usr/local/lib/python3.10/dist-packages/vllm/model_executor/model_loader/loader.py", line 775, in load_model
[rank0]:     model = _initialize_model(model_config, self.load_config,
[rank0]:   File "/usr/local/lib/python3.10/dist-packages/vllm/model_executor/model_loader/loader.py", line 97, in _initialize_model
[rank0]:     return model_class(config=model_config.hf_config,
[rank0]:   File "/usr/local/lib/python3.10/dist-packages/vllm/model_executor/models/llama.py", line 340, in __init__
[rank0]:     self.model = LlamaModel(config,
[rank0]:   File "/usr/local/lib/python3.10/dist-packages/vllm/model_executor/models/llama.py", line 262, in __init__
[rank0]:     self.layers = nn.ModuleList([
[rank0]:   File "/usr/local/lib/python3.10/dist-packages/vllm/model_executor/models/llama.py", line 263, in <listcomp>
[rank0]:     LlamaDecoderLayer(config=config,
[rank0]:   File "/usr/local/lib/python3.10/dist-packages/vllm/model_executor/models/llama.py", line 188, in __init__
[rank0]:     self.self_attn = LlamaAttention(
[rank0]:   File "/usr/local/lib/python3.10/dist-packages/vllm/model_executor/models/llama.py", line 122, in __init__
[rank0]:     self.qkv_proj = QKVParallelLinear(
[rank0]:   File "/usr/local/lib/python3.10/dist-packages/vllm/model_executor/layers/linear.py", line 540, in __init__
[rank0]:     super().__init__(input_size=input_size,
[rank0]:   File "/usr/local/lib/python3.10/dist-packages/vllm/model_executor/layers/linear.py", line 233, in __init__
[rank0]:     super().__init__(input_size, output_size, skip_bias_add, params_dtype,
[rank0]:   File "/usr/local/lib/python3.10/dist-packages/vllm/model_executor/layers/linear.py", line 147, in __init__
[rank0]:     self.quant_method = quant_config.get_quant_method(self)
[rank0]:   File "/usr/local/lib/python3.10/dist-packages/vllm/model_executor/layers/quantization/bitsandbytes.py", line 67, in get_quant_method
[rank0]:     return BitsAndBytesLinearMethod(self)
[rank0]:   File "/usr/local/lib/python3.10/dist-packages/vllm/model_executor/layers/quantization/bitsandbytes.py", line 88, in __init__
[rank0]:     raise ImportError("Please install bitsandbytes>=0.42.0 via "
[rank0]: ImportError: Please install bitsandbytes>=0.42.0 via `pip install bitsandbytes>=0.42.0` to use bitsandbytes quantizer.

Okay, thanks for the clarification. Any preferred way of adding feature dependencies to the vLLM image during run?

If i undestand correctly, perhaps  you can try:
docker exec -ti container_id /bin/bash

After entering the container, run:
pip install bitsandbytes>=0.42.0

BTY, If you build image using dockerfile ,you can add this dependency  in dockerfile

Please send a PR to include it in the Dockerfile so it can work out of the box.

This is a feature, if you want to use bitsandbytes in VLLM, you must install bitsandbytes yourself firstly

If I want to spawn a container with a given bitsandbytes model, the container will crash because of this missing dependency. +1 for having this right in the image.

I am facing the same issue as well:

annoying, lol

I had to write a dockerfile like this and it worked
FROM vllm/vllm-openai:latest

RUN pip install bitsandbytes>=0.42.0

ENTRYPOINT ["python3", "-m", "vllm.entrypoints.openai.api_server"]


Fix PDBCache Merge From DiagSession to Local SymCache

@pharring pointed out that there was already code in PerfView to merge the DiagSession's PDBCache into the local SymCache, such that the SymbolPath shouldn't need to point at the extracted PDBCache.  In looking at this further, the merge was failing because Directory.Move cannot move across volumes.  I have updated this code to enumerate the files and move them individually.
This PR also reverts #1846.

Thanks @pharring!


chore: use full colors in variables

resolves https://github.com/shadcn/ui/issues/215#issue-1675763166
better developer experience for color viewing

@j33n Thanks for the PR but there's a reason we do this. See my comment here: https://github.com/shadcn/ui/issues/215#issuecomment-1516123543


Fallback to current scope search in sdmxml.Reader.parse_memberselection

The code handles the entire response for:
python -c "import pandasdmx; pandasdmx.Request('IMF').datastructure('ECOFIN_DSD')

However, to avoid adding this 33 MiB response to the test suite, the existing specimen is expanded.

Codecov Report

Merging #167 into master will decrease coverage by 0.13%.
The diff coverage is 76.92%.

@@            Coverage Diff             @@
##           master     #167      +/-   ##
==========================================
- Coverage   92.99%   92.86%   -0.14%
==========================================
  Files          40       40
  Lines        3455     3460       +5
==========================================
  Hits         3213     3213
- Misses        242      247       +5

Impacted Files
Coverage Δ

pandasdmx/reader/sdmxml.py
93.36% <76.92%> (-0.42%)
:arrow_down:

pandasdmx/util.py
90.59% <0.00%> (-3.42%)
:arrow_down:

pandasdmx/source/estat.py
43.58% <0.00%> (+1.08%)
:arrow_up:

pandasdmx/source/abs.py
31.57% <0.00%> (+1.57%)
: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 e8a583e...4d9f93b. Read the comment docs.


Wrong signmessage format in tutorial

The tutorial says the prefix should be: 0x1AAvalanche Signed Message:\n
https://github.com/ava-labs/avalanche-docs/blob/master/docs/community/tutorials-contest/2021/red-dev-sig-verify-tutorial/README.md
The documentation says that the prefix should be a single byte 0x1a (which you can write as"\x1a" in a string) and not 4 bytes ("0x1a").
https://docs.avax.network/specs/cryptographic-primitives

Also, why four bytes for the message length, instead of the VarInt or CompactSize that bitcoin uses? Is this meant to be some sort of explicit deviation from what other coins are doing?


Detect heatpump options/modules (Cooling, Solar...)

Option
Flag
Example Description / File

Active Cooling
??? = 1
-

Passive Cooling
?
-

Extra circulation pumps
?
-

solar collector
?
-

solar buffer
?
-

To help in this ticket, add a comment to describe your heatpump manufacturer, model and options (solar, cooling, ...).
Run the bouni dump script and add the output as attached file in the comment.

calculations.ID_WEB_FreigabKuehl is not usable for detecting the cooling option. It is a control signal, which can also be 0 even if the cooling option is enabled.

(I also posted this on a PR, but it also belongs here).
FYI, possible values for parameters.ID_Einst_MKxTyp_akt (where x is 1 or 2) are:
0 -> No (not present / not used)
1 -> Discharge
2 -> Charge
3 -> Cool
4 -> Heat + Cool
Possible values for parameters.ID_Einst_MK3Typ_akt are:
0 -> No (not present / not used)
1 -> Discharge
4 -> Heat + Cool
So I think you should check each of these to see whether one (or more?) of them is set to Cool or Heat + Cool.


Enhance get_slice with functionality from slicer

Slicer part of issue #926

on acquisition geometry, slicer should use this.


Glasstron debian10 issue

I have the error when i trying start terminus.
please help me resolve that.
Here i need do "npm install glasstron" ?
Glasstron.init() is deprecated! Please use the Glasstron.BrowserWindow export
Directly injecting into Electron.BrowserWindow is not recommended! Please use the Glasstron.BrowserWindow export instead.
Delaying the 'ready' event via the Glasstron Hacks class is not recommended! Please take care of it yourself!

I encountered the same problem with the following environment.
Version: 1.0.125(I have confirmed that version 1.0.124 also has this bug. And And it doesn't happen in version 1.0.123 )
Platform: Ubuntu 18.04(4.15.0-128-generic)
Plugins: none

I encountered the same problem with the following environment.
Version: 1.0.125(I have confirmed that version 1.0.124 also has this bug. And And it doesn't happen in version 1.0.123 )
Platform: Ubuntu 18.04(4.15.0-128-generic)
Plugins: none

This should now be fixed in Alpha 127. Let me know if you still experience problems and I'll reopen.

This should now be fixed in Alpha 127. Let me know if you still experience problems and I'll reopen.


Compile time evaluation not handling member lookups properly

examples/checker_tests/good/constsigned.p4
examples/checker_tests/good/struct.p4
examples/checker_tests/good/struct1.p4

The first test failure was actually a bug in bitslice evaluation where it was expecting bitslices only on bit<> values.


Threejs loaders example request

I am trying to call three.js in the browser using Kotlin.
In my first attempt, I used the original three.js wrapper from Lars Ivar Hatledal, which this project also includes. I started from the examples in https://laptrinhx.com/kotlin-wrappers-for-three-js-2366010328/, but I quickly found out the newest version of Kotlin (1.4.32) does not work out of the box with it (problems with kotlin.browser.* vs kotlinx.browser.*) so I used the version distributed by visionforge instead.
I managed to render a simple cube successfully (based on the first example in the linked page).
However, I cannot get the Loaders to work, I failed to load an .stl model and an Object3D model. The code compiles correctly but I get the following errors in the browser:
For Object3D loader:

For JSON loader (Object3D):

This seems to be related to the fact that JSONLoader was removed in the r99 release of three.js (https://discourse.threejs.org/t/objectloader-not-loading-json-file/5213)
For the STL something similar happens.
To me it looks like there are some problems with the three.js wrapper, please correct me if I am wrong. I would appreciate an example on how to correctly call this methods. Also I couldn't get the dat.gui or stats to work following the example.
Here you can find an example project which reproduces this issues.
Thank you.
Luis.

Three-JS has several modules and they need to be loaded into the webpack bundle in order to be accessible. I will research this option.


Create consistent logo and fix stylesheets

The stylesheets for Cheatsheets was broken after #478 was merged in. This PR addresses that fix, and also closes https://github.com/github/services-web/issues/697 and closes https://github.com/github/training-kit/issues/497.
Need a few 👀 please @jordanmccullough @github/services-training

@hectorsector 🤔 Something isn't adding up quite right for me locally.  I did run script/bootstrap and script/build, could I be missing another step?

@brianamarie interesting, only think I can imagine is that it's caching an old style? Can you try a different browser, or a hard refresh? Is that what you're seeing after script/server?
This is what I see:

😢

Hm... @brianamarie, I'm not sure what's going on. @hollenberry checked and he's able to see it. I'm still wondering whether it's a style cache -- can you try it on a different browser or in incognito?
@jordanmccullough @github/services-training has anyone else had trouble with this?

Looks good locally for me....

It looks like the footer might not be styled though:

Thanks @jordanmccullough -- it wasn't styled before either. Since it's pretty important that we 🚢 a fix to the style, and it's been confirmed by you, @hollenberry, and myself, I'll go ahead and merge this as-is. I'll open a new issue for the styled footer, as well.


avoid npm install for each example to make build faster

This goes as addition to #1469
Now you are doing npm install twice for each example. I guess that single npm install at the start of a build is enough. All necessary modules for examples can be resolved from the single node_modules directory at project root. It allows to not duplicate some huge packages like webpack and babel with lots of dependencies.
UPD Build took 6 minutes. Doesn't work on Node 4 because of npm dedupe must be called before build that starts automatically after npm install

Properly enumerated all dependencies, I made it work with npm v2 as well.
Both builds on npm 2 & 3 are faster than current.

I'm not sure what the reasoning was behind each example having it's own package.json, but I'm sure there was one. @gaearon?

The reasoning is so that people can copy paste examples independently as standalone projects to tweak, and get a better sense of how a single project is organised.
Also making something like react-router a dev dependency of Redux just seems wrong. I see where you're coming from but we used to have examples without their own package.json in the beginning, and this confused people. ("I copied the project and now it doesn't run!")
So I'm closing. Thanks for taking time to look into this.


footer placement

The footer on the License page is not being pushed to the bottom of the page. This needs to be fixed. Probably something to do with relative, absolute or fixed in the stylesheet.css file. This must also adapt for smaller screen sizes.

Resolved but the footer is placed below the screen's end even if the screen is not as large as the page. the padding.js accounts for different sizes of the footer.


routing/balancer: fallbackTag not working on leastping balancer

What problems have you encountered?
fallbackTag is specified in balancer configuration, but it didn't work as expected.
{
   // ...
  "routing": {
    "domainStrategy": "IPIfNonMatch",
    "domainMatcher": "mph",
    "balancers": [
      {
        "tag": "hk-balancer",
        "selector": ["proxy-hk"],
        "strategy": {
          "type": "leastping", // <- required for reproduction
          "settings": {
            "observerTag": "internet-hk-observatory"
          }
        },
        "fallbackTag": "xray-iij-jp" // <- required for reproduction
      }
    ]
  }
}

Log output shows that balancer returns empty outbound tag.
Aug 03 16:39:24 router v2test[17665]: 2024/08/03 16:39:24 [Warning] app/dnscircuit: err pick route for domain: clients4.google.com ip: [<IP_ADDRESS>] > app/router: balancing strategy returns empty tag
Aug 03 16:37:28 router v2test[17665]: 2024/08/03 16:37:28 [Warning] app/dnscircuit: err pick route for domain: download.jetbrains.com ip: [<IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS>] > app/router: balancing strategy returns empty tag
Aug 03 16:37:28 router v2test[17665]: 2024/08/03 16:37:28 [Warning] app/dnscircuit: err pick route for domain: download.jetbrains.com ip: [<IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS>] > app/router: balancing strategy returns empty tag
Aug 03 16:37:13 router v2test[17665]: 2024/08/03 16:37:13 [Warning] app/dnscircuit: err pick route for domain: array520.prod.do.dsp.mp.microsoft.com ip: [<IP_ADDRESS>] > app/router: balancing strategy returns empty tag
Aug 03 16:37:13 router v2test[17665]: 2024/08/03 16:37:13 [Warning] app/dnscircuit: err pick route for domain: array520.prod.do.dsp.mp.microsoft.com ip: [<IP_ADDRESS>] > app/router: balancing strategy returns empty tag
Aug 03 16:35:44 router v2test[17665]: 2024/08/03 16:35:44 [Warning] app/dnscircuit: err pick route for domain: v10.events.data.microsoft.com ip: [<IP_ADDRESS>] > app/router: balancing strategy returns empty tag
Aug 03 16:35:44 router v2test[17665]: 2024/08/03 16:35:44 [Warning] app/dnscircuit: err pick route for domain: v10.events.data.microsoft.com ip: [<IP_ADDRESS>] > app/router: balancing strategy returns empty tag
Aug 03 16:35:16 router v2test[17665]: 2024/08/03 16:35:16 [Warning] app/dnscircuit: err pick route for domain: array517.prod.do.dsp.mp.microsoft.com ip: [<IP_ADDRESS>] > app/router: balancing strategy returns empty tag
Aug 03 16:35:16 router v2test[17665]: 2024/08/03 16:35:16 [Warning] app/dnscircuit: err pick route for domain: array517.prod.do.dsp.mp.microsoft.com ip: [<IP_ADDRESS>] > app/router: balancing strategy returns empty tag
Aug 03 16:34:34 router v2test[17665]: 2024/08/03 16:34:34 [Warning] app/dnscircuit: err pick route for domain: doh.dns.sb ip: [<IP_ADDRESS>] > app/router: balancing strategy returns empty tag
Aug 03 16:34:34 router v2test[17665]: 2024/08/03 16:34:34 [Warning] app/dnscircuit: err pick route for domain: dns.cloudflare.com ip: [<IP_ADDRESS> <IP_ADDRESS>] > app/router: balancing strategy returns empty tag
Aug 03 16:34:34 router v2test[17665]: 2024/08/03 16:34:34 [Warning] app/dnscircuit: err pick route for domain: dns.cloudflare.com ip: [<IP_ADDRESS> <IP_ADDRESS>] > app/router: balancing strategy returns empty tag
Aug 03 16:34:34 router v2test[17665]: 2024/08/03 16:34:34 [Warning] app/dnscircuit: err pick route for domain: doh.dns.sb ip: [<IP_ADDRESS>] > app/router: balancing strategy returns empty tag
Aug 03 16:33:34 router v2test[17665]: 2024/08/03 16:33:34 [Warning] app/dnscircuit: err pick route for domain: v10.events.data.microsoft.com ip: [<IP_ADDRESS>] > app/router: balancing strategy returns empty tag
Aug 03 16:33:34 router v2test[17665]: 2024/08/03 16:33:34 [Warning] app/dnscircuit: err pick route for domain: v10.events.data.microsoft.com ip: [<IP_ADDRESS>] > app/router: balancing strategy returns empty tag
Aug 03 16:31:46 router v2test[17665]: 2024/08/03 16:31:46 [Warning] app/dnscircuit: err pick route for domain: ecs.office.com ip: [<IP_ADDRESS>] > app/router: balancing strategy returns empty tag
Aug 03 16:31:46 router v2test[17665]: 2024/08/03 16:31:46 [Warning] app/dnscircuit: err pick route for domain: ecs.office.com ip: [<IP_ADDRESS>] > app/router: balancing strategy returns empty tag
Aug 03 16:31:44 router v2test[17665]: 2024/08/03 16:31:44 [Warning] app/dnscircuit: err pick route for domain: officeclient.microsoft.com ip: [<IP_ADDRESS>] > app/router: balancing strategy returns empty tag
Aug 03 16:31:44 router v2test[17665]: 2024/08/03 16:31:44 [Warning] app/dnscircuit: err pick route for domain: officeclient.microsoft.com ip: [<IP_ADDRESS>] > app/router: balancing strategy returns empty tag
Aug 03 16:31:26 router v2test[17665]: 2024/08/03 16:31:26 [Warning] app/dnscircuit: err pick route for domain: x1.c.lencr.org ip: [<IP_ADDRESS>] > app/router: balancing strategy returns empty tag
Aug 03 16:31:26 router v2test[17665]: 2024/08/03 16:31:26 [Warning] app/dnscircuit: err pick route for domain: x1.c.lencr.org ip: [<IP_ADDRESS>] > app/router: balancing strategy returns empty tag
Aug 03 16:31:26 router v2test[17665]: 2024/08/03 16:31:26 [Warning] app/dnscircuit: err pick route for domain: crl.certum.pl ip: [<IP_ADDRESS> <IP_ADDRESS>] > app/router: balancing strategy returns empty tag
Aug 03 16:31:26 router v2test[17665]: 2024/08/03 16:31:26 [Warning] app/dnscircuit: err pick route for domain: crl.certum.pl ip: [<IP_ADDRESS> <IP_ADDRESS>] > app/router: balancing strategy returns empty tag
Aug 03 16:31:26 router v2test[17665]: 2024/08/03 16:31:26 [Warning] app/dnscircuit: err pick route for domain: crl.certum.pl ip: [<IP_ADDRESS> <IP_ADDRESS>] > app/router: balancing strategy returns empty tag
Aug 03 16:31:24 router v2test[17665]: 2024/08/03 16:31:24 [Warning] app/dnscircuit: err pick route for domain: crl3.digicert.com ip: [<IP_ADDRESS>] > app/router: balancing strategy returns empty tag
Aug 03 16:31:24 router v2test[17665]: 2024/08/03 16:31:24 [Warning] app/dnscircuit: err pick route for domain: crl3.digicert.com ip: [<IP_ADDRESS>] > app/router: balancing strategy returns empty tag
Aug 03 16:30:34 router v2test[17665]: 2024/08/03 16:30:34 [Warning] app/dnscircuit: err pick route for domain: crl.verisign.com ip: [<IP_ADDRESS>] > app/router: balancing strategy returns empty tag
Aug 03 16:30:34 router v2test[17665]: 2024/08/03 16:30:34 [Warning] app/dnscircuit: err pick route for domain: crl.verisign.com ip: [<IP_ADDRESS>] > app/router: balancing strategy returns empty tag

What's your expectation?
balancer should return fallbackTag when all eligible outbounds are dead.
This seems like a long-live bug introduced on initial implementation of load balancing.
I will file a Pull Request to fix this issue.

v4
https://www.v2fly.org/config/overview.html
https://www.v2fly.org/config/routing.html
"routing": {
"domainStrategy": "AsIs",
"domainMatcher": "mph",
"rules": [],
"balancers": []
}
v5
https://www.v2fly.org/v5/config/overview.html
https://www.v2fly.org/v5/config/router.html
"rounter": {
"domainStrategy":"AsIs",
"rule":[],
"balancingRule":[]
}
may i know what v2 version are you using?
because
v4 is router + balancers without fallbacktag
v5 is routing + balancingRule with falbacktag

may i know what v2 version are you using?

I am using a "mod" version written by myself. This is a upstream bug, so I submit it here.
https://github.com/povsister/v2ray-core

because v4 is routing + balancers without fallbacktag v5 is router + balancingRule with falbacktag

fallbackTag is not listed in v4 docs, but it actually works if specified in configuration except strategy leastping.
Similarly, multiObservatory is not listed in docs too, but you still  can use it if you know what configuration should be provided.
You can refer the example's multiObservatory section.

@kingwilliam
By the way, v5 cfg is now incompleted and experimental.
From the code I've seen, v5 did not have any benefits on features compared to v4. It just aims to improve configuration consistency and eliminate the layer of "config transformation".


Forked from #1242

Thank you @Baalmart
Yes, a workshop does sound good indeed.
In regard to review comments, I had added some for all the new resource types added.


Feature: List all cams connected rather than guessing a number

This is more convoluted than it sounds, but pretty necessary for the general user experience. I'll figure this out eventually...

bdd1da6d05bca964bc690e46b7a34e6652dc8451


Tests fail for latest beta/canary

The tests are failing for the latest beta and canary versions of Ember. As far as I can tell, it's related to a change in the registry in which registry.resolver became registry.resolver.resolve.
I will work on creating a PR since we need the latest canary for performance enhancements that have recently landed.

Seems like a fix is needed in Ember perhaps...


PHYLIP reader can only read one character matrix per file

It would be useful if the PHYLIP reader could read a bunch of character matrices from a single PHYLIP file. For example a PHYLIP file might look like
200 345
...200 lines with 345 characters each...
200 221
...200 lines with 221 characters each...
etc.

What is the use case for this? What systems generate files like this? Is this documented anywhere?

I have some simulated datasets I'm trying to analyze that are like this - from http://www.cs.utexas.edu/~phylo/datasets/astral2/
I'm working on a patch that resolves this, I think I should have it ready relatively soon.

At this point, I would rather not add support for this. The phylogenetic dataspace is already polluted with too many idiosyncratic, poorly/inconsistently/incorrectly/non-documented data formats as well as many standards-violating variants of existing data formats for us to introduce yet another one, which we will have to maintain in perpetuity.
Ideally, the upstream programs should be fixed to generate standards-compliant files, as your patch does. If they cannot, then a pre-processing step where the file is split based on the appropriate regular expression would be the solution.


Refactoring, Tests, and More

This PR contains changes from the other two PRs, merged into one along with tests for everything that I thought needed tests.  This is a major change, but contains tests to ensure confidence in the changes.  I suggest that this be made into a major release version.
@psi-4ward Please help review this as it has your changes in it; pulled directly from your refactor-psi branch (used in #46)

Whoops, looks like I forgot to write tests against the interceptors that were added.  I'll do that a little bit later, but this PR is good to go.

Chai updated to v2 a few days and packages that use chai cannot agree on a version when doing a fresh npm install....

Its a little funny when the tests work on my master and not this one.  The only thing I can think of is the way its tests the 'source' files.  It may actually load them in the wrong order?  So this now test the generated build file (which is what would be distributed).

It would be nice to have a way to manually connect/disconnect: https://github.com/JetFault/angular-sails/blob/master/src/service/angular-sails.js#L114

@JetFault $sails.disconnect() is already a function exposed through sails.io.js, it will disconnect the socket that is used by angular-sails.  But currently there is no way to start a new socket connection.  I'll look into adding a clean way, probably similar to what you did.


Stopping and starting a service without admin rights

Hello Peter,
I've succesfully used your windows service library in a number of applications running under net core.  So thanks a lot for the nice integratable solution.
I just have one issue.
I have a service, installed as an admin user (necessary for the application).
The current logged in user is a normal user, with no option to elevate rights.
For updates, new files are downloaded, the service is stopped, files are renamed, and the service is started.
What I'm noticing is that for starting and stopping a service, installed/running under an admin account, elevated rights are necessary.
Is there a way we can call the install command, so that start and stop rights are granted to all users?
I've found a similar question/response on stack overflow, where there is an instructionset on how to do it using windows, but it would be perfect if those rights could be set using the install command.

I am afraid I don't have a clear answer for this for you though. I think it might be possible somehow but as it is not useful for me, you will either have to create a PR for this yourself or wait for somebody to work on this.
This lib was initially created to power microservices, as such it was expected to always have admin access. I am happy to support any other use cases though by merging in PRs


Support OSC 10-17 ? parameter

According to https://www.xfree86.org/4.8.0/ctlseqs.html, in OSC 10-17, if the ? parameter is given instead of an RGB color, the terminal should return the appropriate control sequence to set the given color to whatever its current value is (so we'd return something OSC<command>;rgb:<r>/<g>/<b>BEL).
My copy of vim seems to attempt to use this on startup.

Fixed in https://github.com/jwilm/alacritty/commit/f79007035ccc8d52f5f491d35d3d4132aa29898d.


Mark broken snapshots

There might be an error when making a backup. For example drive may run out of space. In this situation index is made but files are not copied. Snapshot like this is not reliable, it's broken and should be marked as broken.
One idea is to change the snapshot name to something like 2021-07-14_16.24_broken.
Maybe later there will be some functionality for recovering broken snapshots and synchronizing index with files.
It would be nice if the program was capable of marking snapshot as invalid when after it panics.

With feature #28 added in commit 378c4fffcdae5b145fad32bbeb5d1f70613142f6 it's not possible to desync index.txt from files because they are made synchronously at the same time. The idea of marking broken snapshot is good but for now this issue is resolved.


Refreshing tokens does not seem to refresh refresh_token

Hi,
Thanks so much for this great library, makes working with Cognito auth so much easier.
However, I seem to be unable to refresh the refresh_token.
      aws_srp = Aws::CognitoSrp.new(
        username: '',
        password: '',
        pool_id: COGNITO_USER_POOL_ID,
        client_id: COGNITO_CLIENT_ID,
        client_secret: COGNITO_CLIENT_SECRET,
        aws_client: Aws::CognitoIdentityProvider::Client.new(region: COGNITO_USER_POOL_REGION)
      )
      auth_response = aws_srp.refresh_tokens(refresh_token, user_id_for_srp:)

The above snippet does successfully get me a new access_token, but the refresh_token stays the same - I believe it's actually nil from the auth_response.
I believe this gem is following what the docs say about getting a new refresh token but I was wondering if someone else has similar issues (or doesn't) - https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-using-the-refresh-token.html
Thanks so much!

Hi @AxelTheGerman

The above snippet does successfully get me a new access_token, but the refresh_token stays the same - I believe it's actually nil from the auth_response.
I believe this gem is following what the docs say about getting a new refresh token but I was wondering if someone else has similar issues (or doesn't) - https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-using-the-refresh-token.html

If I'm not mistaken when you request new tokens using the refresh tokens API you only get new ID and access tokens, but no new refresh token. The previous refresh token should still be valid after use and will expire naturally after 30 days.
Please let me know if I misunderstood the issue, otherwise I will close this.

You might be right!

The previous refresh token should still be valid after use and will expire naturally after 30 days.

This is quite unfortunate however as it means users have to log in every <30 days.
Luckily I no longer need to use this integration and the one I'm using instead has different auth flows that do keep users logged in.


Prefix errors with "hystrix: "

When looking at logs it would be nice to note what package created the error.

fixed by #19


Add snap interaction

Codecov Report
Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (87191ef) 98.43% compared to head (7318137) 97.80%.

Files
Patch %
Lines

src/interaction/RSnap.tsx
60.00%
4 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #204      +/-   ##
==========================================
- Coverage   98.43%   97.80%   -0.64%
==========================================
  Files          74       75       +1
  Lines        1535     1546      +11
  Branches      254      251       -3
==========================================
+ Hits         1511     1512       +1
- Misses         24       34      +10

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


ANLI model

Hi,
I would like to reuse/reevaluate your ANLI and Q2-relaxed metric, have you shared code and model? I did not see it in this repo.
kind regards

Hi, the NLI model we open-sourced is available here: https://huggingface.co/google/t5_xxl_true_nli_mixture
Re Q^2, the open-sourced version is available here: https://github.com/orhonovich/q-squared (it is of lower quality than the one used in the paper).


update links from data61 to gradient in README

I think there is a missing push hook or deploy key for circle CI?
https://circleci.com/docs/2.0/gh-bb-integration/
I don't have permission to do this.


[dashing backport] Check allocation of requester and replier (#60)

Signed-off-by: Stephen Brawner<EMAIL_ADDRESS>

Linux
Linux-aarch64
macOS
Windows

These builds are marked unstable due to cppcheck warnings in rmw_connext_cpp, as well as a failure with test_two_timers in rcl that's unrelated to this PR. Linux has the same flake8 issue that #62 showed, and it is unrelated to this PR.


Adding section components: FAQ, Sponsors, Inspire, Team

Adding the following sections in this PR

FAQ
What makes us so good?
Sponsors
Team

Perhaps you can make it easier to review by adding a few screenshots or screen recordings.

@AnuragThePathak, Kaiwalya is working on something to make reviews easier

Oh, that's awesome, ig it's going to be the preview of the site resulting from the commits in the PR.

@yashsehgal there are conflicts please resolve if still valid

@yashsehgal there are conflicts please resolve if still valid. Else close the PR

Hey @kaiwalyakoparkar
Sorry for the delay, I will pull the changes and resolved the merge conflicts, but this PR had implementation of the v2 UI thus I believe I should create a new PR for the new sections from v3


Disable coalesce batch spilling to avoid cudf contiguous_split bug

This is a workaround in 0.4 for the problem described in #1861.  It disables coalesce batch spilling to avoid the contiguous_split bug described in https://github.com/rapidsai/cudf/issues/7514

Create as a draft PR for now, as it is being debated whether this is required for the 0.4.0 release.

build


build using windows-gnu on windows failed

I tried to build starship.rs using their cargo install command but got the following error
error: failed to run custom build command for `libz-ng-sys v1.1.9`

Caused by:
  process didn't exit successfully: `C:\Users\...\AppData\Local\Temp\cargo-installWWt6vf\release\build\libz-ng-sys-b8b5ed917a8091c5\build-script-build_zng` (exit code: 101)
  --- stdout
  CMAKE_TOOLCHAIN_FILE_x86_64-pc-windows-gnu = None
  CMAKE_TOOLCHAIN_FILE_x86_64_pc_windows_gnu = None
  HOST_CMAKE_TOOLCHAIN_FILE = None
  CMAKE_TOOLCHAIN_FILE = None
  CMAKE_GENERATOR_x86_64-pc-windows-gnu = None
  CMAKE_GENERATOR_x86_64_pc_windows_gnu = None
  HOST_CMAKE_GENERATOR = None
  CMAKE_GENERATOR = None
  CMAKE_PREFIX_PATH_x86_64-pc-windows-gnu = None
  CMAKE_PREFIX_PATH_x86_64_pc_windows_gnu = None
  HOST_CMAKE_PREFIX_PATH = None
  CMAKE_PREFIX_PATH = None
  CMAKE_x86_64-pc-windows-gnu = None
  CMAKE_x86_64_pc_windows_gnu = None
  HOST_CMAKE = None
  CMAKE = None

  --- stderr
  thread 'main' panicked at '
  no valid generator found for GNU toolchain; MSYS or MinGW must be installed

  build script failed, must exit now', C:\Users\okooijman\.cargo\registry\src\index.crates.io-6f17d22bba15001f\cmake-0.1.50\src\lib.rs:1098:5
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Would I really have to get another toolchain for this?
Or is there any other possible fix?

Thanks for sharing!
I don't think that this is necessarily an issue to resolve here as libz-ng-sys comes with a cmake based system, and that seems to want more tools to build. If anyone could do something about it, it should be the folks making zlib-ng.
For completeness, starship pulls in gitoxide, which has been configured for maximum performance by default,  It can, however, also be built with a stock zlib which might be working for you.
Could you try the following?
cargo install --locked --no-default-features --features=battery,notify,gix-faster

If that doesn't work, I think it's better to open an issue over at starship as it's possible to add a starship feature to build for maximum compatibility (and pure Rust, for that matter). I would happily contribute such a fix as well.

Thanks for the help!
It worked now.
I'll ask if it at least can be noted in their wiki or something.


Implement RTObjCInterop to be consumed via built packages

Fixing various issues with packaging
Open sourcing the code
This removed the old way of copying binaries around, from now one we will generate it directly from the source code.

Fixes #2737, #2746

This change is

Will force push the diffs to make it easier to review.


[LastPass Credentials Search] Don't sync every time the extension gets used

Extension
https://www.raycast.com/alex-popov-tech/lastpass
Description
As it's configured right now, it looks like everytime you use the LP extenstion, it does a "lpass sync".
It would be nice that you can add a manual sync and you remove the automatically sync. You can make it a optional function or set it to sync once a day.
Who will benefit from this feature?
At our company we have a lot of password in LP, and it takes a long time every time it syncs. It takes about 10 seconds.
It's way faster to use LP's own app as for now.
Anything else?
It's a very good plugin and I would like to use it, if the automatically sync gets removed or only set to sync once a day.

Hey @neticmfr , thanks for bringing this.
I will look into this, and see if i can help with your problem.

Hi @alex-popov-tech, very nice. Thank you.

@neticmfr seems that pr is merged, please take a look if that fixes your issue

@alex-popov-tech apparently it didn't fix the issue with slow load time.
I really don't know what it could be :-(

@alex-popov-tech It's the lpass export command that takes a long time.

@neticmfr is calling lpass export --sync=no takes lot of time too? is there much difference between --sync=yes and --sync=no ?

@alex-popov-tech, nope it pretty much takes the same amount of time.
It has to load everything before you can search in the LP extension. And when you have a lot of passwords, then it takes a long time to export everything, every time you use the extension.

@neticmfr im curious how many passwords do you have so see such?
Im sorry to hear that it is not working well for you, but i don't think there is any pagination mechanism built in lpass export :(
Maybe we could cache id's of entities ourselves, and use only lpass show, but im not sure that is okay from security point of view, and it sounds rather complicated...do you think its okay to store such things locally?

@alex-popov-tech We have 5000+ passwords.
I thought about creating a list/or-something-else from the "lpass ls" command and then afterwards use the "lpass show" command to grab details like passwords, username etc.
But a search function in Raycast I have now idea on how to create.

lpass ls --format="%ai %au %ap %al %am %aU %as %ag" --sync=now  0.58s user 0.04s system 52% cpu 1.165 total
time lpass ls --format="%ai %au %ap %al %am %aU %as %ag" --sync=no:
lpass ls --format="%ai %au %ap %al %am %aU %as %ag" --sync=no  0.56s user 0.03s system 94% cpu 0.618 total
time echo '$password' | LPASS_DISABLE_PINENTRY=1 lpass export --sync=no --fields=id,name,username,password,url
LPASS_DISABLE_PINENTRY=1 lpass export --sync=no   4.85s user 15.06s system 93% cpu 21.399 total
Apparently the time command bugs a little bit out when a one-liner includes a pipe, but I did include the fields "id,name,username,password,url" to the lpass export command.
The lpass login with sync takes a bit longer that 0.58 seconds, I think about 2 seconds more. So total with sync will be about 2.58 seconds.

@neticmfr ok i see
So roughly speaking its 0.5s vs 5s, right?

@alex-popov-tech
There's different times for both user time and system time. They need to be counted together.
lpass ls with sync = 2.62 sec.
lpass ls without sync = 0.58 sec.
lpass export without sync = 19.91 sec.
There's a massive 19.33 sec difference, between "lpass ls" without sync and "lpass export" without sync.

@alex-popov-tech
I'll wait. Just write, if there's any more information you'll need.

@neticmfr i've tested it locally, and even for my ~180 entities it few times faster ( 0.2s vs 0.6s-1.2s ), so here is new PR https://github.com/raycast/extensions/issues/5069
Hope this one will help more than previous :)

@alex-popov-tech
Nice, I can't wait to try it out :-)

@alex-popov-tech
You did it. It's very fast now. I'll be using this and I'll recommend this extension to my colleagues.
Very good job and thank you so much :-)

@alex-popov-tech
There's actually one more thing, that would be nice to add.
When you search for an entry you can see the ID of the entry, but you can't copy the ID nor can you search for entries using the ID.
Being able to search for entries using the ID, would make this extension even better :-)

@neticmfr copy for ID could be added, mind sharing use case for this? :)
about search by ID - i just went through the docs and found this page, i will give it a try

@alex-popov-tech
When entries sometimes have similar names it's better to identify them by ID.

@alex-popov-tech
I would like to be able to filter by ID (Which is in your picture) or by name.

The "lpass ls" command also shows both name (filtered out by red boxes) and ID.

@neticmfr added PR for this https://github.com/raycast/extensions/pull/5359

@alex-popov-tech
It works. Thank you a lot.

@neticmfr glad that I could help, please don't forget to close the ticket :)


Transmission: Adds additional metadata from file

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.04%) to 50.075%

Totals

Change from base Build<PHONE_NUMBER>:
0.04%

Covered Lines:
5345

Relevant Lines:
10674

💛  - Coveralls


unregister?

Where is the command to unregister items from a container?  The equivalent of     Unregister-AzureRmRecoveryServicesBackupContainer -Container $container

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

ID: 09210de3-5f1e-a72e-286b-998275969c13
Version Independent ID: c5f2c022-f67d-b53f-9e63-ebb9acbb22de
Content: az backup container
Content Source: src/command_modules/azure-cli-backup/azure/cli/command_modules/backup/_help.py
Service: backup
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

or rather unregister the container. is this whole feature set incomplete in az backup? what am i missing?

@christiankuhtz : Currently Azure CLI for backup is only supported for Azure VM backups. Unregister is not used for Azure VM backups. It will be added with future releases. May I know what is the scenario for unregister which you are testing with Azure backup CLI?

@christiankuhtz: any update on this please?

@christiankuhtz : Any update on this please?

Closing this issue since un-register is not required for VM backups. It has been added for AFS backups and HANA backups.


Implement the aliyun oss file storage.

I have finished implementation and testing, please review

I have finished the changes, please review again.

I have removed the redundant exception handling. Please review again.

Please review again

Looks good do you want me to merge this now?

Yes, please merge it. And could you please release a package on nuget, so that I can request another pr for exceptionless to support aliyun storage.

The build is failing

Maybe the unit tests will be failed, since we have removed the account of aliyun in appsettings.json to avoid sensitive information explosure.

At the same time, I have noticed that the build status in readme.md is for Foundatio.AzureStorage but not for Foundatio.Aliyun


minimum file changes to add a policy to pay every teacher 10 pounds

This is a test branch designed to see how quickly it is to reuse existing components to create a very minimal policy to give every teacher £10.00
I have successfully made a claim checked the answers and approved it on my local machine. Have I missed anything?

@mattonfoot yep looks like you got the general idea to fit a new policy, let me know if there is anything further you want to discuss, you did mention school selector I think.


Add function resume download or skip download error

please add the function if the download fails, then skip it and continue downloading, i was almost finished downloading, but got an error and had to download again from the beginning, thanks a lot

Hello @HungNth01 Sure, I'll try to add it.


Save Keys on Open File or Application state on exit

Every time I open the app I have to go through the steps to break all boxes. Keys should save on "Open File" (?), or the state of the whole app should be saved and reopened.
Have to open KeySAVe, click Open File-> Empty, and Full saves, then click scan folder a couple of times before dumping works correctly without ghosts.

The keys are definitely be supposed to saved. What is your OS and how are you quitting KeySAVe? Please share the log file at ~/.config/keysave.log if you're on Linux, %APPDATA%/keysave.log on Windows or ~/Library/Application Support/keysave.log on OS X.

Windows, but I think I was having the same problem earlier on Mac as well.
{"level":"debug","message":"IPC Handler for dump-save-or-bv registered","timestamp":"2016-07-10T11:43:07.026Z"}
{"level":"debug","message":"IPC Handler for break-key registered","timestamp":"2016-07-10T11:43:07.028Z"}
{"level":"debug","message":"IPC Handler for break-folder registered","timestamp":"2016-07-10T11:43:07.029Z"}
{"level":"debug","message":"IPC Handler for merge-key-folder registered","timestamp":"2016-07-10T11:43:07.029Z"}
{"level":"debug","message":"IPC Handler for import-keysav2-folder registered","timestamp":"2016-07-10T11:43:08.284Z"}
{"level":"debug","message":"IPC Handler for search-keysav2 registered","timestamp":"2016-07-10T11:43:08.284Z"}
{"level":"info","message":"KeySAVe - Version 1.2.1 started","timestamp":"2016-07-10T11:43:08.332Z"}
{"level":"info","message":"OS: win32-ia32","timestamp":"2016-07-10T11:43:08.333Z"}
{"level":"debug","message":"IPC Handler for file-dialog-open registered","timestamp":"2016-07-10T11:43:08.339Z"}
{"level":"debug","message":"IPC Handler for file-dialog-save registered","timestamp":"2016-07-10T11:43:08.339Z"}
{"level":"debug","message":"IPC Handler for update-query registered","timestamp":"2016-07-10T11:43:08.340Z"}
{"level":"debug","message":"IPC Handler for update-do registered","timestamp":"2016-07-10T11:43:08.340Z"}
{"level":"info","message":"Dumper process started","timestamp":"2016-07-10T11:43:08.358Z"}
{"level":"verbose","message":"Loading keys from C:\Users\olehermanse\AppData\Roaming\KeySAVe/keys","timestamp":"2016-07-10T11:43:08.363Z"}
{"level":"info","message":"Loading config from C:\Users\olehermanse\AppData\Roaming\KeySAVe/config.json","timestamp":"2016-07-10T11:43:09.875Z"}
{"level":"info","message":"No update available","timestamp":"2016-07-10T11:43:10.280Z"}
{"level":"verbose","message":"Loading folder C:\Users\olehermanse\Dropbox\pm\saves to scan for saves","timestamp":"2016-07-10T11:43:17.645Z"}
{"level":"verbose","message":"Loading folder C:\Users\olehermanse\Dropbox\pm\saves to scan for saves","timestamp":"2016-07-10T11:43:23.426Z"}
{"level":"verbose","message":"Loading file C:\Users\olehermanse\Dropbox\pm\saves\2016-07-09_21-46-14.84.sav","timestamp":"2016-07-10T11:43:37.661Z"}
{"level":"verbose","message":"File C:\Users\olehermanse\Dropbox\pm\saves\2016-07-09_21-46-14.84.sav is a save file","timestamp":"2016-07-10T11:43:37.665Z"}
{"level":"info","message":"Saving config","timestamp":"2016-07-10T11:43:54.346Z"}
{"level":"debug","message":"IPC Handler for dump-save-or-bv registered","timestamp":"2016-07-10T11:43:59.584Z"}
{"level":"debug","message":"IPC Handler for break-key registered","timestamp":"2016-07-10T11:43:59.586Z"}
{"level":"debug","message":"IPC Handler for break-folder registered","timestamp":"2016-07-10T11:43:59.586Z"}
{"level":"debug","message":"IPC Handler for merge-key-folder registered","timestamp":"2016-07-10T11:43:59.586Z"}
{"level":"debug","message":"IPC Handler for import-keysav2-folder registered","timestamp":"2016-07-10T11:44:00.810Z"}
{"level":"debug","message":"IPC Handler for search-keysav2 registered","timestamp":"2016-07-10T11:44:00.810Z"}
{"level":"info","message":"KeySAVe - Version 1.2.1 started","timestamp":"2016-07-10T11:44:00.855Z"}
{"level":"info","message":"OS: win32-ia32","timestamp":"2016-07-10T11:44:00.856Z"}
{"level":"debug","message":"IPC Handler for file-dialog-open registered","timestamp":"2016-07-10T11:44:00.863Z"}
{"level":"debug","message":"IPC Handler for file-dialog-save registered","timestamp":"2016-07-10T11:44:00.863Z"}
{"level":"debug","message":"IPC Handler for update-query registered","timestamp":"2016-07-10T11:44:00.863Z"}
{"level":"debug","message":"IPC Handler for update-do registered","timestamp":"2016-07-10T11:44:00.863Z"}
{"level":"info","message":"Dumper process started","timestamp":"2016-07-10T11:44:00.878Z"}
{"level":"verbose","message":"Loading keys from C:\Users\olehermanse\AppData\Roaming\KeySAVe/keys","timestamp":"2016-07-10T11:44:00.882Z"}
{"level":"info","message":"Loading config from C:\Users\olehermanse\AppData\Roaming\KeySAVe/config.json","timestamp":"2016-07-10T11:44:02.318Z"}
{"level":"info","message":"No update available","timestamp":"2016-07-10T11:44:02.642Z"}
{"level":"verbose","message":"Loading file C:\Users\olehermanse\Dropbox\pm\saves\2016-07-09_21-46-14.84.sav","timestamp":"2016-07-10T11:44:17.722Z"}
{"level":"verbose","message":"File C:\Users\olehermanse\Dropbox\pm\saves\2016-07-09_21-46-14.84.sav is a save file","timestamp":"2016-07-10T11:44:17.754Z"}
{"level":"info","message":"Saving config","timestamp":"2016-07-10T11:44:25.286Z"}
{"level":"info","message":"Shutting down dumper process","timestamp":"2016-07-10T11:44:25.304Z"}

Quitting with top right X or alt+f4, makes no difference. Tried running as admin, makes no difference.

The log file looks good. I just checked on OS X and Windows and don't have an issue on either. Can you check if the key files are modified when you quit KeySAVe, please? They are stored in %APPDATA%/keysave/keys.

They are definitely not updated. Date Modified and Created is the same. (Initial breaking)

Could you please double check if you are experiencing the same issues on OS X? I can't seem to reproduce this issue right now.

Yes, I checked now and my mac installation seems to work flawlessly on the same save files.

Yay. Platform specific behavior on cross-platform libraries. For the record, which version of Windows are you running?


Remove Perm and Offset from the protocol

Perm is a field in pfs.FileInfo and OffsetBytes is a field in pfs.PutFileRequest.  As far as I can tell neither of them is actually being used in any meaningful way.  Specifically OffsetBytes doesn't make sense because our files are append-only.
Creating a technical-debt label for issues like this.

Scheduling this for v1.0, it should be pretty easy and will be nice to get in for API consistency.


Env is not inherited properly by integrationtest plugin

While fixing #272 I found that integration tests can actually run in the environment that would not inherit VENV from PyBuilder spawning it. This creates a whole host of problems where integration tests would be run in Python environment different from that in which PyB runs unit tests.
[ERROR] Integration test failed: /Users/arcivanov/Documents/src/arcivanov/pybuilder/src/integrationtest/python/should_build_pyfix_project_tests.py
File /Users/arcivanov/Documents/src/arcivanov/pybuilder/target/reports/integrationtests/should_build_pyfix_project_tests:
    environ({'__CF_USER_TEXT_ENCODING': '0x1F5:0x0:0x0', 'PYTHONPATH': '/Users/arcivanov/Documents/src/arcivanov/pybuilder/target/dist/PyBuilder-0.11.3.dev:/Users/arcivanov/Documents/src/arcivanov/pybuilder/src/integrationtest/python'})
    [DEBUG] Loading project module from /tmp/IntegrationTestSupportewljhdfw/build.py
    [DEBUG] Loading plugin 'python.pyfix_unittest'
    [DEBUG] Trying to load builtin plugin 'python.pyfix_unittest'
    [DEBUG] Loading plugin 'python.core'
    [DEBUG] Trying to load builtin plugin 'python.core'
    [DEBUG] Loading plugin 'core'
    [DEBUG] Trying to load builtin plugin 'core'
    [DEBUG] Found builtin plugin 'pybuilder.plugins.core_plugin'
    [DEBUG] Found task 'clean' with dependencies []
    [DEBUG] Registering task 'clean'
    [DEBUG] Found task 'compile_sources' with dependencies [prepare]
    [DEBUG] Registering task 'compile_sources'
    [DEBUG] Registering initializer 'init'
    [DEBUG] Found task 'install' with dependencies [package, publish(optional)]
    [DEBUG] Registering task 'install'
    [DEBUG] Found task 'package' with dependencies [compile_sources, run_unit_tests(optional)]
    [DEBUG] Registering task 'package'
    [DEBUG] Found task 'prepare' with dependencies []
    [DEBUG] Registering task 'prepare'
    [DEBUG] Found task 'print_module_path' with dependencies []
    [DEBUG] Registering task 'print_module_path'
    [DEBUG] Found task 'print_scripts_path' with dependencies []
    [DEBUG] Registering task 'print_scripts_path'
    [DEBUG] Found task 'publish' with dependencies [package, verify(optional)]
    [DEBUG] Registering task 'publish'
    [DEBUG] Found task 'run_integration_tests' with dependencies [package]
    [DEBUG] Registering task 'run_integration_tests'
    [DEBUG] Found task 'run_unit_tests' with dependencies [compile_sources]
    [DEBUG] Registering task 'run_unit_tests'
    [DEBUG] Found task 'verify' with dependencies [run_integration_tests]
    [DEBUG] Registering task 'verify'
    [DEBUG] Found builtin plugin 'pybuilder.plugins.python.core_plugin'
    [DEBUG] Registering initializer 'init_python_directories'
    [DEBUG] Found task 'package' with dependencies []
    [DEBUG] Registering task 'package'
    [DEBUG] Found builtin plugin 'pybuilder.plugins.python.pyfix_unittest_plugin'
    [DEBUG] Registering initializer 'init_test_source_directory'
    [DEBUG] Found task 'run_unit_tests' with dependencies []
    [DEBUG] Registering task 'run_unit_tests'
    [DEBUG] Have loaded plugins python.pyfix_unittest, python.core, core
    [DEBUG] Adding 'prepare' as a dependency of task 'compile_sources'
    [DEBUG] Adding 'package' as a dependency of task 'install'
    [DEBUG] Adding 'publish(optional)' as a dependency of task 'install'
    [DEBUG] Adding 'compile_sources' as a dependency of task 'package'
    [DEBUG] Adding 'run_unit_tests(optional)' as a dependency of task 'package'
    [DEBUG] Adding 'package' as a dependency of task 'publish'
    [DEBUG] Adding 'verify(optional)' as a dependency of task 'publish'
    [DEBUG] Adding 'package' as a dependency of task 'run_integration_tests'
    [DEBUG] Adding 'compile_sources' as a dependency of task 'run_unit_tests'
    [DEBUG] Adding 'run_integration_tests' as a dependency of task 'verify'
    [DEBUG] Executing initializer 'init' from 'pybuilder.plugins.core_plugin'
    [DEBUG] Executing initializer 'init_python_directories' from 'pybuilder.plugins.python.core_plugin'
    [DEBUG] Executing initializer 'init_test_source_directory' from 'pybuilder.plugins.python.pyfix_unittest_plugin'
    [DEBUG] Project properties:
                                     basedir : /tmp/IntegrationTestSupportewljhdfw
                                    dir_dist : $dir_target/dist/integration-test-1.0.dev0
                            dir_dist_scripts : scripts
                                    dir_logs : $dir_target/logs
                                 dir_reports : $dir_target/reports
                      dir_source_main_python : src/main/python
                     dir_source_main_scripts : src/main/scripts
                  dir_source_unittest_python : src/unittest/python
                                  dir_target : target
                  pyfix_unittest_file_suffix : None
                  pyfix_unittest_module_glob : *_pyfix_tests
                                     verbose : False
    [DEBUG] Execution plan is prepare, compile_sources, run_unit_tests
    [INFO]  Building integration-test version 1.0.dev0
    [INFO]  Executing build in /tmp/IntegrationTestSupportewljhdfw
    [INFO]  Going to execute task run_unit_tests
    [DEBUG] Executing task 'prepare'
    [DEBUG] Executing subtask from pybuilder.plugins.core_plugin
    [DEBUG] Creating target directory /tmp/IntegrationTestSupportewljhdfw/target
    [DEBUG] Creating reports directory /tmp/IntegrationTestSupportewljhdfw/target/reports
    [DEBUG] Processing plugin dependency pyfix
    [DEBUG] Invoking pip: ['pip3.5', 'show', 'pyfix']

File /Users/arcivanov/Documents/src/arcivanov/pybuilder/target/reports/integrationtests/should_build_pyfix_project_tests.err:
    /Users/arcivanov/Documents/src/arcivanov/pybuilder/target/dist/PyBuilder-0.11.3.dev/pybuilder/execution.py:82: DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() instead
      self.parameters = inspect.getargspec(self.callable).args
    E
    ======================================================================
    ERROR: test (__main__.Test)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/Users/arcivanov/Documents/src/arcivanov/pybuilder/src/integrationtest/python/should_build_pyfix_project_tests.py", line 56, in test
        reactor.build()
      File "/Users/arcivanov/Documents/src/arcivanov/pybuilder/target/dist/PyBuilder-0.11.3.dev/pybuilder/reactor.py", line 129, in build
        self.build_execution_plan(tasks, execution_plan)
      File "/Users/arcivanov/Documents/src/arcivanov/pybuilder/target/dist/PyBuilder-0.11.3.dev/pybuilder/reactor.py", line 171, in build_execution_plan
        reactor=self)
      File "/Users/arcivanov/Documents/src/arcivanov/pybuilder/target/dist/PyBuilder-0.11.3.dev/pybuilder/execution.py", line 334, in execute_execution_plan
        summaries.append(self.execute_task(task, **keyword_arguments))
      File "/Users/arcivanov/Documents/src/arcivanov/pybuilder/target/dist/PyBuilder-0.11.3.dev/pybuilder/execution.py", line 281, in execute_task
        task.execute(self.logger, keyword_arguments)
      File "/Users/arcivanov/Documents/src/arcivanov/pybuilder/target/dist/PyBuilder-0.11.3.dev/pybuilder/execution.py", line 166, in execute
        executable.execute(argument_dict)
      File "/Users/arcivanov/Documents/src/arcivanov/pybuilder/target/dist/PyBuilder-0.11.3.dev/pybuilder/execution.py", line 97, in execute
        self.callable(*arguments)
      File "/Users/arcivanov/Documents/src/arcivanov/pybuilder/target/dist/PyBuilder-0.11.3.dev/pybuilder/plugins/core_plugin.py", line 63, in prepare
        plugin_version = get_package_version(plugin_dependency, logger)
      File "/Users/arcivanov/Documents/src/arcivanov/pybuilder/target/dist/PyBuilder-0.11.3.dev/pybuilder/pip_utils.py", line 146, in get_package_version
        error_file_name=error_log_file.name, shell=False)
      File "/Users/arcivanov/Documents/src/arcivanov/pybuilder/target/dist/PyBuilder-0.11.3.dev/pybuilder/utils.py", line 175, in execute_command
        shell=shell)
      File "/Users/arcivanov/.pyenv/versions/3.5.0/lib/python3.5/subprocess.py", line 950, in __init__
        restore_signals, start_new_session)
      File "/Users/arcivanov/.pyenv/versions/3.5.0/lib/python3.5/subprocess.py", line 1540, in _execute_child
        raise child_exception_type(errno_num, err_msg)
    FileNotFoundError: [Errno 2] No such file or directory: 'pip3.5'

    ----------------------------------------------------------------------
    Ran 1 test in 0.014s

    FAILED (errors=1)

Notice that while PyB runs in a VENV with Python 3.5, the integration tests do not inherit it at all and thus fail to even find pip3.5.
    environ({'__CF_USER_TEXT_ENCODING': '0x1F5:0x0:0x0', 'PYTHONPATH': '/Users/arcivanov/Documents/src/arcivanov/pybuilder/target/dist/PyBuilder-0.11.3.dev:/Users/arcivanov/Documents/src/arcivanov/pybuilder/src/integrationtest/python'})

This is solved with project.set_property("integrationtest_inherit_environment", True) for PyBuilder.


SQL changeSet doesn't  honor "--precondition-change-log-property-defined"

Environment
java -version
openjdk version "11.0.13" 2021-10-19
OpenJDK Runtime Environment GraalVM CE 21.3.0 (build 11.0.13+7-jvmci-21.3-b05)
OpenJDK 64-Bit Server VM GraalVM CE 21.3.0 (build 11.0.13+7-jvmci-21.3-b05, mixed mode, sharing)
Liquibase Version:
4.7.1
Liquibase Integration & Version: <Pick one: CLI, maven, gradle, spring boot, servlet, etc.>
Quarkus
Liquibase Extension(s) & Version:
N.A.
Database Vendor & Version:
H2 but doesn't matter
Operating System Type & Version:
OSX
Description
I expect the SQL not to be executed unless the env property is set to "test" (test environment) with this at the top of it:
--precondition-change-log-property-defined property:env value:test
Steps To Reproduce
changeLog.xml:
<databaseChangeLog
        xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
          https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.5.xsd">

    <property name="env" value="${quarkus.profile}" />

    <include file="db/001-test-config.sql"/>
</databaseChangeLog>

001-test-config.sql looks like this at the top:
-- noinspection SqlNoDataSourceInspectionForFile

--liquibase formatted sql
--changeset testconfig:1
--precondition-change-log-property-defined property:env value:test

Actual Behavior
SQL is executed for this changeset
Expected/Desired Behavior
Changeset should not be executed if the execution environment is "test"

I've verified that this is an issue in version 4.7.1 and in the latest 4.25.0. However, the documentation doesn't provide a SQL example for changeLogPropertyDefined, so I don't believe it's supported. Using the precondition in the xml file works as expected.
I'll be closing this issue as it's expected behaviour, but feel free to let me know if you have any questions.
Thanks,
Tatiana


Updates to fix odd dash "concat" error

Update within app.py fixes the Cannot read properties of undefined (reading 'concat') dash error. Updates within scripts/ directory address new event time string format (removed minutes and UTC from time strings).

Added back disabling of Start Simulation Playback and Radar Confirmation buttons.


Add test suite

Test suite uses pytest.
Includes a Spack environment that can be activated with direnv to build the required python environment for benchpark
Future work:

Run test suite in CI
Use codecov in CI
Add more tests

I do not think we should hold up this PR for any of those future work items.

I don't understand why the workspace directory doesn't get created

If you are referring to the failed dry run: the workspace is created, but this PR changes the hashing of specs, which means that the dynamically generated system dir changes (because it is based on the system spec hash).
For example, you can update the dry run to replace Tioga-d34a754 withTioga-975af3c to get it to pass (the other dry run using a dynamically generated system will also fail, and the same type of fix will work for that).


Hey guys, currently running into ECONNREFUSED with an add command

Hey guys, trying this out and I can't seem to get this to work, was hoping I could get some answers, currently this is the error I am getting:
{ [Error: Client request error: connect ECONNREFUSED <IP_ADDRESS>:5001]
  code: 'ECONNREFUSED',
  errno: 'ECONNREFUSED',
  syscall: 'connect',
  address: '<IP_ADDRESS>',
  port: 5001,
  trace:
   [ { method: 'POST',
       url: 'http://localhost:5001/api/v0/add?stream-channels=true' } ],
  isBoom: true,
  isServer: true,
  data: null,
  output:
   { statusCode: 502,
     payload:
      { statusCode: 502,
        error: 'Bad Gateway',
        message: 'connect ECONNREFUSED <IP_ADDRESS>:5001' },
     headers: {} },
  reformat: [Function]

after creating this module setup:
"use strict";
var fs = require('fs');
var ipfsAPI = require('ipfs-api');
var deasync = require('deasync');

// connect to ipfs daemon API server
var ipfs = ipfsAPI('localhost', '5001', {protocol: 'http'}); // leaving out the arguments will default to these values

module.exports = class IPFS {

    addFile(file) {
        var hash = ipfs.add(file, function(err, res) {
            if(err || !res) return console.error(err)

            res.forEach(function(file) {
                console.log(file.Hash)
                console.log(file.Name)
            });

            return res;
        });
        while(hash === undefined) {
            deasync.runLoopOnce();
        }
    }

    addDir(directory) {
        var files = fs.readdirSync(directory);
        var hashes = ipfs.add(files, function(err, res) {
            if(err || !res) return console.error(err)

            return res;
        });
        while(hashes === undefined) {
            deasync.runLoopOnce();
        }
    }

    getSync(hash, destination_path, recursive) {
        var file;
        if( recursive !== undefined ) {

        }

        file = ipfs.cat(hash, function(err, res) {
            if(err || !res) return console.error(err)

            return fs.writeFile(destination_path, res)
        });

        while(file === undefined) {
            deasync.runLoopOnce();
        }
    }

    addSync(hash, source_path, recursive) {
    }
}

and testing it like this:
var IPFS = require('./ipfs.js'); //the module containing the stuff
var file = './workspace.js';

var ipfs = new IPFS();
console.log('This is IPFS currently: ', ipfs);
ipfs.addFile(file);
console.log('This is after adding a file', ipfs.addFile('./workspace.js'));

is your is your ipfs daemon running with the correct api port?

do I have to do that for node.js? I was under the assumption that I only need do that for the browser...my mistake if so.

well...that worked.

thanks for the help @Dignifiedquire ...and changes to the README oughtta be made...

@VoR0220 yes the readme is not very clear about that, sorry. Yes this repo is only an http base client to interact with an already running ipfs daemon. For the undertaking of doing this all in JavaScript take a look at https://github.com/ipfs/js-ipfs


Regex match group result not working in remapping

Hello, @nikitawootten-nist and I were testing lychee to remap URLs with regex groups like documented in the current version of your documentation.
# Remap URI matching pattern to different URI.
# This also supports (named) capturing groups.
remap = [
    "https://example.com http://example.invalid",
    "https://example.com/(.*) http://example.org/$1",
    "https://github.com/(?P<org>.*)/(?P<repo>.*) https://gitlab.com/$org/$repo",
]

With regards to the last remap, according to output when testing this feature, the groups in the pattern do (?P<org>.*)/(?P<repo>.*) do work, but the string replacement literally writes "https://gitlab.com/$org/$repo", not the matched name it could be (so not "https://gitlab.com/aj-stein-nist/cool-new-relocated repo", literally "https://gitlab.com/$org/$repo"). We tried all nature of things and it appears this is a bug. It always returns the literal string version.
I would be willing to help look into this and fix it.

Sorry for the inconvenience. This is actually a bug that is resolved in master. I haven't released a new version with the fix yet, but you can use a nightly build in the meantime or build from source.
https://github.com/lycheeverse/lychee/releases/tag/nightly

I was trying to figure out where exactly, it looks like from a quick skim we are talking about https://github.com/lycheeverse/lychee/commit/97573123ef023ad533b380811abdc4cfd89a60d1? Feel free to correct, but I shall close this bug in either case. Thanks again.

Yes, that's the commit.

Hi @mre, when you are going to release a new version featuring this fix? It is great that the fix is in-place and available, thank you for awesome work!

+1 for a docker release! ☺

IMO it's worth reopening this issue until this fix gets released. You can work around this by building from source but most people will be using the releases.

@mre Would it be possible to cut a release soon, please? We use it to map Cloudflare-protected public URLs to the Wayback machine.

Version 0.14.0 just got release. Finally 😅

Oh, and there's also a Docker release. See https://hub.docker.com/r/lycheeverse/lychee/tags and search for 0.14.0


Bluetooth: Audio: Shell: Add automatic receiver ready for server

When a stream for a sink ASE goes into the enabled state we automatically execute the receiver start ready operation as the unicast server.
This makes the shell easier to use as the server.

Rebased to solve merge conflicts


Multiple arguments in custom event with a modifier are not passed to handler

Version
2.6.10
Reproduction link
https://jsfiddle.net/50wL7mdz/30115/
Steps to reproduce
Add a modifier to one of the event listeners. e.g. @emission.once
What is expected?
That all arguments will be passed to the function
What is actually happening?
Only the first argument is passed

My guess is that it lies in the template compiler which creates a function($event){...}  and calling the handler with $event instead of ...arguments?

As a workaround you can use this version
  <component @emission.once="hearEmission('extra', ...arguments)">with extras, incomplete data</component>

The generated js code should be different: https://template-explorer.vuejs.org/#<div id%3D"app">
  <component %40emission.once%3D"hearEmission">complete data%2C without extras<%2Fcomponent>
  <component %40emission.once%3D"hearEmission('extra'%2C ...arguments)">with extras%2C incomplete data<%2Fcomponent>
  <component %40emission.once%3D"function (a%2C b%2C c) { hearEmission('extra'%2C a%2C b%2C c) }">expected%2C overly explicit<%2Fcomponent>

<%2Fdiv>
The first one should be:
on: {
        "~emission": hearEmission
        }

The second one shouldn't change and the last one might be a bit more complicated as there should be quite a few edge cases but if we use an apply we should be able to keep a very similar version

Thanks for the quick response and for the link