text:
How to correctly interpret MusOOEvaluator results?

Hello.
I'm trying to understand how to interpret the output file from a run of MusOOEvaluator. The reference file is ground_truth.txt, the test file is predictions.txt and the output file is output.txt. I ran the following code to produce the output: MusOOEvaluator.exe --reffile "ground_truth.txt" --testfile "predictions.txt" --chords MirexSeventhsBass --output "output.txt".

My first issue is that I don't fully understand how the value of 100.532 s has been calculated for the 'Duration of evaluated chords' (line 6 of output.txt). After studying output.txt briefly, I thought that this value was calculated by summing the durations of the unique no-chords in the reference and test files. But when I calculated this sum myself, the value was far lower than 100.532. How exactly has 'Duration of evaluated chords' been calculated?
Secondly, I was initially surprised that the average score was 100% (line 7), but then looked at line 15 and gather that this means that only no-chords were evaluated. Comparing the reference and text files, I see that every no-chord in the test file is also in the reference file; however, some no-chords in the reference file (lines 59, 143, 261, 332, 364, 575, 598) don't appear in the test file. Assuming my interpretation of the 100% value is correct (if not, please correct me!), why are only no-chords evaluated?
Finally, to further explore what was happening, I created a dummy test file, dummy_predictions.txt, which is an exact duplicate of the reference file. Evaluating the reference file against this dummy predictions file (using a similar line of code as above) gave me exactly the same output as in output.txt! Why is this? Is there something I am perhaps doing incorrectly or perhaps not understanding about how MusOOEvaluator evaluates files? I would have thought that, in this latter evaluation, the 'Correct chords' value (line 11 of output.txt), for example, should have been 100%. But it was still 0%.
Fourthly, the MIREX 2017 ACE web page states that WCSR is used when computing the average for a given corpus. However, in the evaluations mentioned above, the samples were randomly chosen from a data set of songs. So am I right in assuming that 'length of track' has no meaning in this case, since consecutive samples might be from completely different songs and since all the samples in a given song may not have ended up in the test file? If I am correct, then is the evaluator calculating WCSR or CSR in the evaluations I mentioned above?

I'm working to a tight university deadline, but also appreciate that you may be busy. A response as soon as you are able would be much appreciated.
Thank you.
Caleb

First of all, running MusOOEvaluator.exe --reffile "ground_truth.txt" --testfile "predictions.txt" --chords MirexSeventhsBass --output "output.txt" --verbose will produce a file predictions.csv that explains where the 100.532s comes from and gives you a step-by-step breakdown of the calculation.
The issue is that your start and end times are not monotonously increasing. Even when I order the chord segments both in ground_truth.txt and predictions.txt manually before running the program, the chord segments are overlapping, so the input is nonsensical, which results in nonsense output ;-)

Thank you for the clarification! I'll run the command with --verbose. But I still don't fully understand if I can use MusOOEvaluator as I initially intended. This is what I'm trying to do:
I have a data set of pairs D = {(x, y)}, where x is a vector corresponding to a chord segment in some song and y is the corresponding ground truth chord label for x. I then did the following:

Randomly split D into a training set T (80%) and a validation set V (20%).
Implemented and trained a neural network using T.
Used the trained neural net to predict the chord labels for the data items in V.

You state that the start and end times should be monotonously increasing, but this isn't possible when I construct V by taking a random 20% of D! (Note: I only want to evaluate how well my neural net classifies chord labels and so I'm currently assuming that the start and end times for each x_i in V are exactly equal to the ground truth start and end times for that x_i.)
So the questions I have now are:

Is there any way at all that I can use the MusOOEvaluator to evaluate how well my neural network has classified the chord labels for a randomly selected validation set?
Or, is it the case that, to be able to use MusOOEvaluator to obtain sensible results, the chords in the validation set absolutely must have monotonously increasing start and end times?
And, if 2 is the case, then am I right in assuming that the validation set V needs to consist of x_i which represent contiguous chord segments in some song (or corpus of songs)?

I really do appreciate your help with this and look forward to hearing from you soon!

I have cleared up the misunderstanding. I discussed my issue with Junqi Deng, whose work I'm trying to build on, and I'm going to re-run my experiments using a validation set V that contains a contiguous set of chord segments.
Thank you again for your help, @jpauwels.

Although the evaluator is originally made for transcriptions of music pieces, it could be used for your use-case as well, if you take some considerations in account.
Currently you cut up some chord segments from different files (different timelines) and group them into one file, mixing their time stamps. This causes overlapping segments, and only one chord can be annotated (or played) at the same time. You should either use multiple reference/test files, mirroring the sources before the cut-up such that the timelines don't get mixed up, or keep using a single file but rewrite the time stamps such that they become monotonous (even better contiguous, but not absolutely necessary, see below). The absolute value of the time stamps are not really important anyway, just the chord duration, so you can simply add the duration to the end time of the previous chord. Ideally, you'd do both, so multiple reference/test files with rewritten time stamps.
Contiguity is not strictly necessary, but in case there are "gaps" (unlabelled segments), the evaluator will assume they are "silence/no-chords" (both in ground truth and prediction) and since no-chord detection also gets evaluated in the MirexSeventhsBass preset (other presets exist where this is not the case), it will influence the overall score. You can always ignore the overall score and only look at the breakdown per chord type, but using non-contiguous segments requires a bit more understanding of what's happening, so I suggest you keep things simple and rewrite your time scale(s) to make segments contiguous (see above).
The above procedure will make a random training/validation split technically possible, but from a experiment-design point of view, I would not split entirely random, but make chords from the same song (or even album, depending on your data) fall fully into either the training or validation set. This is know as grouped sampling (read http://scikit-learn.org/stable/modules/cross_validation.html#cross-validation-iterators-for-grouped-data even if you don't use that library, couldn't immediately find a better reference). Otherwise you might get too optimistic generalisation results because if you train on a chord in a particular song, the same chord coming from the same song (played at a different time, e.g. a repetition of the chorus)  in the validation set will likely be more similar than the same chord coming from a different song. I hope this brief explanation makes sense :-)
I'll make sure to add a test for overlapping time-segments in the future, such that an error message gets returned instead of quasi-random output. This will help make the program more robust. It's always interesting to see other people come up with scenarios I didn't think of initially, so thanks for reporting!

And here's a mention @CKKOY, cause I'm not sure if you get an alert for closed issues too :-)

Thank you very much for the thorough reply! I'm going to first try your latter suggestions of grouped sampling, evaluate and analyse the results using the evaluator, and then go from there!
And you're welcome! I'm really enjoying working on this project and am grateful that your tool exists, @jpauwels. :)

authors: CKKOY jpauwels

repo: jpauwels/MusOOEvaluator


text:
58 プロフィール編集

close #58
やったこと

UI要変更

これどうしよお、、ぎりぎりに本番環境に反映させるの怖いな

今日終わった後でもおｋ

source: gharchive/pull-request

license: MIT

license_type: permissive

license_source: github-api


text:
L10N - Localization for Error Messages

Add ability to localize error messages.
First L10n language will be Russian.

done.

source: gharchive/issue

repo: jphp-group/jphp


text:
🛑 Tandoori Bites is down

In 26ca922, Tandoori Bites (https://tandooribites.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Tandoori Bites is back up in 3ccdb65 after 8 hours, 50 minutes.


text:
🛑 Nukkad USA is down

In b001279, Nukkad USA (https://nukkadusa.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nukkad USA is back up in 14402c0 after 9 minutes.


text:
🛑 TripleR is down

In 9c8247e, TripleR (https://tripler.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: TripleR is back up in 2d39044 after 15 minutes.


text:
🛑 Tekrek is down

In c4a6afd, Tekrek (https://tekrek.com) was down:

HTTP code: 502
Response time: 205 ms

Resolved: Tekrek is back up in 0e65631 after 5 minutes.


text:
🛑 March to The Polls is down

In ebbcbee, March to The Polls (https://marchtothepolls.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: March to The Polls is back up in ba56925.


text:
Library seems to fail when sending > 11 bytes of data

I can't seem to get anything over 11 bytes of data to send.
When I write: myLora.txBytes(txBuffer, sizeof(txBuffer)); if txBuffer is > 11 bytes, it will return 0 and take almost
no time to process. I have also made sure to have callend the end() function on my software serial device.
Any ideas as to why this happens? Btw, I am using an esp32 and the rn2903 is running from hardware serial.

Kevin192291, I have been struggling with ESP32 DEV module and RN2903 LoRa P2P Radio’s on HardwareSerial, could we communicate about your success?
Paul Wilkie
wipaulmar3@aol.com

When sending fails after a specific number of bytes, then it seems like there is a timing issue.
Are you sure the baud rate is set correct?
The default baud rate for this chip is 57600 bps.
The autobaud is a bit tricky, as you must pull a pin low and then immediately send a specific bit pattern with the desired baud rate.
For example set the serial to 600 bps and write 0x00 then switch to the desired baud rate and write 0x55.
But to avoid issues with the baud rate, first try the default baud rate and make sure the start and stop bits are set correct.
For example there is also a mode with "1.5" stop bit, which takes 1.5 times the normal length of a bit period.

I see, I have removed the auto baud from my initialization code. I was already setting the serial port to 57600, here is what I have:
uint8_t txBuffer[17];

void setup()
{
  // Open serial communications and wait for port to open:
  Serial.begin(115200); //serial port to computer
  Serial2.begin(57600); //serial port to radio

  Serial.println("Startup");
  initialize_radio();
  Serial.println("Radio Initialized Complete");
}

void initialize_radio()
{
  //reset rn2483
  pinMode(LORA_RESET, OUTPUT);
  digitalWrite(LORA_RESET, LOW);
  delay(100);
  digitalWrite(LORA_RESET, HIGH);
  delay(100); //wait for the RN2xx3's startup message
  Serial2.flush();

  //check communication with radio
  String hweui = myLora.hweui();
  while(hweui.length() != 16)
  {
    Serial.println("Communication with RN2xx3 unsuccessful. Power cycle the board.");
    Serial.println(hweui);
    delay(1500);
    hweui = myLora.hweui();
  }

  //print out the HWEUI so that we can register it via ttnctl
  Serial.println("When using OTAA, register this DevEUI: ");
  Serial.println(myLora.hweui());
  Serial.println("RN2xx3 firmware version:");
  Serial.println(myLora.sysver());

  //configure your keys and join the network
  Serial.println("Trying to join TTN");
  bool join_result = false;

  /*
   * OTAA: initOTAA(String AppEUI, String AppKey);
   * If you are using OTAA, paste the example code from the TTN console here:
   */
  const char *appEui = "omitted!";
  const char *appKey = "even more omitted!!!";
  join_result = myLora.initOTAA(appEui, appKey);

  while(!join_result)
  {
    connectAttempts++;
    if(connectAttempts > 4) {
      ESP.restart();
    }
    Serial.println("Unable to join. Are your keys correct, and do you have TTN coverage?");
    delay(1000); //delay a minute before retry
    join_result = myLora.init();
  }
  Serial.println("Successfully joined TTN");

}

and later on in the loop I have:
int result = myLora.txBytes(txBuffer, sizeof(txBuffer));
however, by changing the txBuffer array to 7 elements instead of 17 it will work, like so
int result = myLora.txBytes(txBuffer, 7);
It will also work if i change the actual size of the array up top too.

See this part of the library:
https://github.com/jpmeijers/RN2483-Arduino-Library/blob/9a66cf836482294e371aaae7712f44c7bd0b0990/src/rn2xx3.cpp#L332-L344
Can you change the buffer allocation to something like this:
char msgBuffer[size*2 + 1] = {0};

Just to make sure the buffer is allocated with zeroes (and thus automatically zero-terminated) before it is converted to a String object.

Just made the update the update to both the library with the same results, it seems to be exactly the same.
then after that I tried adding the zero to the end of my array and no luck with that as well (uint8_t txBuffer[17] = {0};)
Then just to double check, I added a txBytes call right after the ttn connection like so:
uint8_t txStartupBuffer[11] = {1,2,3,4,5,6,7,8,9,10,11}; //(at the top)
...
delay(1000); //delay a minute before retry
join_result = myLora.init();
}
Serial.println("Successfully joined TTN");
myLora.txBytes(txStartupBuffer, sizeof(txStartupBuffer)); //Works perfectly!!!
delay(1000);
myLora.txBytes(txBuffer, sizeof(txBuffer)); //nothing
I am not sure if this will be useful, but here is the json from the successful 11 bytes sent:
{
  "@type": "type.googleapis.com/ttn.lorawan.v3.ApplicationUp",
  "end_device_ids": {
    "device_id": "esp32device",
    "application_ids": {
      "application_id": "cropwatch-ec-soil"
    },
    "dev_eui": "0004A30B00EB24FF",
    "join_eui": "70B3D57ED0030779",
    "dev_addr": "01CC43D4"
  },
  "correlation_ids": [
    "as:up:01ECT6RQFGZCGM6G8406PDM9MK",
    "gs:conn:01ECSXYWE82DWGES72FSKMRZ8W",
    "gs:uplink:01ECT6RQ925Y7XC3CM98MFKAJA",
    "ns:uplink:01ECT6RQ93GN32KFHRTQ05SQH9",
    "rpc:/ttn.lorawan.v3.GsNs/HandleUplink:01ECT6RQ93PDN5YRZHGQANJWB1"
  ],
  "received_at": "2020-07-09T16:33:03.984948336Z",
  "uplink_message": {
    "session_key_id": "AXM0bENROmfCTicMG1OXWg==",
    "f_port": 1,
    "frm_payload": "AQIDBAUGBwgJCgs=",
    "decoded_payload": {
      "f_port": 1,
      "raw": [
        1,
        2,
        3,
        4,
        5,
        6,
        7,
        8,
        9,
        10,
        11
      ]
    },
    "rx_metadata": [
      {
        "gateway_ids": {
          "gateway_id": "kevinsgateway"
        },
        "time": "2020-07-09T16:33:04Z",
        "timestamp": 1104820108,
        "rssi": -109,
        "snr": -14.5,
        "uplink_token": "ChEKDwoNa2V2aW5zZ2F0ZXdheRCM7+iOBA=="
      }
    ],
    "settings": {
      "data_rate": {
        "lora": {
          "bandwidth": 125000,
          "spreading_factor": 10
        }
      },
      "coding_rate": "4/5",
      "frequency": "905300000",
      "timestamp": 1104820108
    },
    "received_at": "2020-07-09T16:33:03.779542903Z"
  }
}

I just realized, I tested a working device, and on messages that do sent, I get the value:
data_rate_index just above, "coding_rate" here is an example of a working version using thethingnetwork.h library:
{
  "@type": "type.googleapis.com/ttn.lorawan.v3.ApplicationUp",
  "end_device_ids": {
    "device_id": "the-things-uno",
    "application_ids": {
      "application_id": "name"
    },
    "dev_eui": "omitted",
    "join_eui": "omitted",
    "dev_addr": "omitted"
  },
  "correlation_ids": [
    "as:up:01ECVHWGMRXRQ21N3WRVWC86T9",
    "gs:conn:01ECVA4459S8CFAZ7ZXKR9TZCF",
    "gs:uplink:01ECVHWGEB5XARN05BN2F36P8J",
    "ns:uplink:01ECVHWGEB9A9WBQ1KA1MD2ARS",
    "rpc:/ttn.lorawan.v3.GsNs/HandleUplink:01ECVHWGEB9TWA26CKRSS51QCG"
  ],
  "received_at": "2020-07-10T05:06:36.824709377Z",
  "uplink_message": {
    "session_key_id": "AXM3HaWvCjLNPERuod8eWw==",
    "f_port": 1,
    "f_cnt": 2,
    "frm_payload": "AGQI3wwHAVUAAAAAGK0I/QYY",
    "decoded_payload": {
      "f_port": 1,
      "raw": [
        0,
        100,
        8,
        223,
        12,
        7,
        1,
        85,
        0,
        0,
        0,
        0,
        24,
        173,
        8,
        253,
        6,
        24
      ]
    },
    "rx_metadata": [
      {
        "gateway_ids": {
          "gateway_id": "kevinsgateway"
        },
        "time": "2020-07-10T05:06:36Z",
        "timestamp": 376066731,
        "rssi": -54,
        "snr": 11,
        "uplink_token": "ChEKDwoNa2V2aW5zZ2F0ZXdheRCrpamzAQ=="
      }
    ],
    "settings": {
      "data_rate": {
        "lora": {
          "bandwidth": 125000,
          "spreading_factor": 7
        }
      },
      "data_rate_index": 3,     <----------------------------That is not there when using RN2xx3 library!!!
      "coding_rate": "4/5",
      "frequency": "904100000",
      "timestamp": 376066731
    },
    "received_at": "2020-07-10T05:06:36.619778535Z"
  }
}

I added this to the bottom of the txBytes method:
String dataToTx = String(msgBuffer);
  _debug.print("string: ");
  _debug.println(dataToTx);
  _debug.print("string length");
  _debug.println(dataToTx.length());
  _debug.print("string Data Sizeof");
  _debug.println(sizeof(dataToTx));
  return txCommand("mac tx uncnf 1 ", dataToTx, false);

Here is my output:
string: 000000000000000000000000000000000000000D
string length40
string Data Sizeof12
Library Pre from txCommand says:
12

it appears to me that after String dataToTx(msgBuffer);
the output size is always 12... Not sure why yet.

This looks correct. sizeof is returning the size of the type (a string
object) which would be done at compile time. It is not returning the
length of your string within your string object because sizeof does not
know how to inspect your object to extract the string.
Regards
Mark
On Wed, 15 Jul 2020, 05:42 Kevin, notifications@github.com wrote:

I added this to the bottom of the txBytes method:
String dataToTx = String(msgBuffer);
_debug.print("string: ");
_debug.println(dataToTx);
_debug.print("string length");
_debug.println(dataToTx.length());
_debug.print("string Data Sizeof");
_debug.println(sizeof(dataToTx));
return txCommand("mac tx uncnf 1 ", dataToTx, false);
Here is my output:
string: 000000000000000000000000000000000000000D
string length40
string Data Sizeof12
Library Pre from txCommand says:
12
it appears to me that after String dataToTx(msgBuffer);
the output size is always 12... Not sure why yet.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jpmeijers/RN2483-Arduino-Library/issues/78#issuecomment-658541865,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFAGDCUBWMKRVECZ27RLUCTR3UXS7ANCNFSM4OU4RZKQ
.

Is there a way for me to lower the spread factor with this library?

Is there a way for me to lower the spread factor with this library?

The data rate (DR, see setdr) reflects the spreading factor.
For EU settings:
dr = 12 - sf  for sf>= 7 && sf <=12.
For US settings:
dr = 10 - sf
Make sure to only set the data rate for dr >= 0 && dr <= 5.

license_source: bigquery


text:
Dropdown does not announce options in Safari / VoiceOver

https://storybook.saltdesignsystem.com/iframe?args=&id=core-dropdown--with-form-field&viewMode=story

When moving between options, nothing is announced
"Completion" selected, not sure where does it come from

Maybe related to https://github.com/select2/select2/issues/4349

This is a Safari bug, given VoiceOver + Chrome worked

Definitely a webkit bug https://bugs.webkit.org/show_bug.cgi?id=231724
@jake-costa this is what I mentioned the other day

@origami-z @joshwooding Great call out. As Josh mentioned, this is a known issue for VoiceOver+Safari. Thoughts on adding to the a11y section on the site for awareness?
Resources:
https://discussions.apple.com/thread/255614236?sortBy=rank
https://github.com/w3c/aria-practices/issues/2060

@jake-costa we should definitely add it, could you draft something?

Tested again today, with MacOS 14.7 (23H124) and Safari 18.0.1, no change to the bug. Navigation between items doesn't trigger announcement, also "completion selected" is still there

Can we check it this is an issue with Safari 18? I've read reports that it has been fixed.

Can we check it this is an issue with Safari 18? I've read reports that it has been fixed.

I was testing Safari 18.0.1

Can we check it this is an issue with Safari 18? I've read reports that it has been fixed.

I was testing Safari 18.0.1

Weird... maybe it was 18.1

+1 SO 92916

@jake-costa I can confirm this is no longer a problem in the latest version of Safari + MacOS but we should still document it as it will affect lots of users.

@joshwooding I have Safari 18.1 but am unable to update my Mac to 15.1 (Currently on 14.7.1) to validate. That said, since you are confirming it is no longer an issue on 15.1, we can modify the documentation to say
Issue Details:
OS: MacOS 14.X.X or Below MacOS 15.
Thoughts?

authors: jake-costa joshwooding origami-z

repo: jpmorganchase/salt-ds


text:
Include full apache 2.0 license so that it is recognised by github

The abbreviated license is not recognised by GitHub so Tessera's licensing does not show in searches etc.

Codecov Report

Merging #1080 into master will increase coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #1080      +/-   ##
============================================
+ Coverage     99.39%   99.41%   +0.01%
- Complexity     2257     2258       +1
============================================
  Files           342      349       +7
  Lines          6155     6278     +123
  Branches        358      358
============================================
+ Hits           6118     6241     +123
  Misses            5        5
  Partials         32       32

Flag
Coverage Δ
Complexity Δ

#unittests
99.41% <ø> (+0.01%)
2258.00 <ø> (+1.00)

Impacted Files
Coverage Δ
Complexity Δ

...com/quorum/tessera/config/cli/PicoCliDelegate.java
97.87% <0.00%> (-0.19%)
19.00% <0.00%> (ø%)

...om/quorum/tessera/partyinfo/ResendManagerImpl.java
97.50% <0.00%> (-0.07%)
8.00% <0.00%> (ø%)

...um/tessera/transaction/TransactionManagerImpl.java
100.00% <0.00%> (ø)
34.00% <0.00%> (-7.00%)

...va/com/quorum/tessera/p2p/TransactionResource.java
100.00% <0.00%> (ø)
5.00% <0.00%> (ø%)

...va/com/quorum/tessera/q2t/TransactionResource.java
100.00% <0.00%> (ø)
22.00% <0.00%> (+3.00%)

...rum/tessera/api/common/RawTransactionResource.java
100.00% <0.00%> (ø)
4.00% <0.00%> (ø%)

...a/com/quorum/tessera/api/model/ReceiveRequest.java

...java/com/quorum/tessera/api/model/SendRequest.java

...ava/com/quorum/tessera/api/model/SendResponse.java

...om/quorum/tessera/api/model/SendSignedRequest.java

... and 19 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 946ec55...bd7b4f4. Read the comment docs.

authors: chris-j-h codecov-commenter

repo: jpmorganchase/tessera


text:
Another Project Idea - Mint-Venmo-Tagger

Hi Jeff,
Love the tool!  Extremely helpful and easy to follow even for a beginner.  I wonder if you'd look into doing something similar for a venmo-mint integration.
Thanks!
--Tom

Thanks Tom, I'm going to broaden this up into a FR for all merchants that are not Amazon (Venmo, Paypal, Target, BestBuy, etc).

repo: jprouty/mint-amazon-tagger


text:
About Clip embeddings

https://github.com/jpthu17/GraphMotion/blob/d56feba6f6d39867b933ca752244fcbbb703a4b8/GraphMotion/data/humanml/dataset.py#L196

Hi, thanks for this wonderful work, and may I ask whether this code use glove embeddings or clip embeddings? It seems like it still use the pos embeddings which is the same as HumanML3D.

https://github.com/jpthu17/GraphMotion/blob/d56feba6f6d39867b933ca752244fcbbb703a4b8/GraphMotion/models/modeltype/GraphMotion.py#L277
We utilize the clip embeddings as the input for the diffusion model. The glove embeddings are only used to calculate the R-Precision index.


text:
pre-release feedback: tier 2 archers bugged

tier 2 archers are bugged -> check all prefabs

fixed

license: Unlicense


text:
HTML

HTML
User Story
As a bootcamp student
I want the prework notes to be structured on a webpage
so that I can easily find and read information
Acceptance criteria
GIVEN a Prework Study Guide website
WHEN I visit the website in my browser
THEN I see four boxes titled HTML, CSS, Git, and JavaScript with associated notes listed

CSS
User Story
As a boot camp student
I want the prework notes to be structured on a webpage
So that I can easily find and read the information
Acceptance Criteria
GIVEN a Prework Study Guide website
WHEN I view the study guide
THEN I see a dark blue header and footer, and four boxes with a shadow

JavaScript
User Story
As a boot camp student
I want the prework notes to be structured on a webpage
So that I can easily find and read the information
Acceptance Criteria
GIVEN a Prework Study Guide website
WHEN I view the study guide
THEN I can see the four topics I learned listed along with a suggestion on what I should study first

README
User Story
As a boot camp student,
I want the prework notes to be structured on a webpage,
So that I can easily find and read the information
Acceptance Criteria
GIVEN the prework project repository,
WHEN I view the README for the repository,
THEN I can see a professional README that provides information on the project and how to use it

Deployment
User Story
As a boot camp student,
I want the prework notes to be structured on a webpage,
So that I can easily find and read the information
Acceptance Criteria
GIVEN a Prework Study Guide website,
WHEN I visit the website using the URL,
THEN I can access my website from any browser


text:
Revision of Lesson 6 'Abstractions'

Apologies for the 45 minute tardiness. I consulted #ckule for double checks, and I have learned so much about abstractions from revising the lesson. Hopefully this allows for less confusion and more comprehension of this very interesting language. I believe this pull request closes issue #102 . I have not been able to test the aesthetics of the lesson on the actual website, so expect more pull requests if the formatting is off. ki'e

Thank you very much! Your proposed changes are excellent, the lesson is now much clearer :-)
ki'ecai!

authors: emorchy jqueiroz


text:
[assemble] Allow platform specific Java options to be set in javaArchive assembler

Is your feature request related to a problem? Please describe.
Defining options that are platform specific such as -DAPP_HOME=${KEY}/app (linux/mac) or -DAPP_HOME=%KEY%/app (windows) requires custom formatting of key names
Describe the solution you'd like
An option to define platform specific Java options.
Describe alternatives you've considered
Custom templates must be used instead.
cc: @bmarwell

Thanks! 👍🏻 Will try tomorrow

🎉 This issue has been resolved in v1.13.0 (Release Notes)

authors: aalmiray bmarwell

repo: jreleaser/jreleaser


text:
fix failing tests

WHY WOULD I PUSH TO MASTER WITH FAILING TESTS?? WHY?

yep, they're gone.

repo: jruberg/Pyty

license: mit


text:
Consider supporting a promise-based API

This package is great, thanks for it!
I'm wondering if you'd accept a PR which changes the async version of this package to return a Promise (rather than requiring a callback). Please let me know, as I'd be happy to make the change for you =]

Agreed! I'm a big fan of promises!

I'm wondering if you'd accept a PR

That would be fantastic!
Just thinking out loud, but the API surface is so small here that perhaps we can do it in a backward-compatible way? Something like:
const promise = new Promise((resolve, reject) => {
  // do stuff
});

if (typeof callback === 'function') {
  promise.then(() => callback(), callback);
  return;
}

return promise;

Feel free to say if you don't like this pattern or something similar. On one hand it's fun to rip off the bandaid sometimes, but on the other, it seems that any API change is probably stirring the pot for new issues to be created.  I will happily follow your lead since you are offering to do the work 😄
thoughts @stephenmathieson @tkellen?

Yep, that'd be fine! I'm onboard with a backwards compatible change. I just saw this assertion which made be think you'd want to break the API.
I'll see if I can make the change in the next day or so :)

Good point! that would indeed be a breaking change.

authors: jonschlinkert stephenmathieson

repo: js-cli/js-empty-dir


text:
Instagram Feed: Unable to fetch the given user/tag. Instagram responded with the status code: 0 5

now i have faced this issue how can solve it

Can confirm this happens, sometimes the answer it's the same, others are the XMLHttpRequest on the google side.

This library is working fine, but it's not working right now, so I checked my console and found some bugs related to the Instagram feed, changed Library 3 to 3.0.2, but I can not fix it . I shared my Instagram feed code and website URL.
URL : https://mifonemobilesalathur.mydomainbook.com/

--
  |

What's the solution? Same here

There is no solution at the time. Just wait a while.
For me, the script internal caching mitigates this problem most of the time.

authors: mahotilo mub009 skullwritter swigrid


text:
Fix the usage of mktemp on Mac OS

The version of mktemp on Mac OS is not compatible with versions on
linux distributions. It requires either a template or a template prefix.
This change will supply a template prefix if running the plain mktemp fails
while executing the subdir tests.
http://unix.stackexchange.com/questions/30091/fix-or-alternative-for-mktemp-in-os-x

Please rebase to current master and force-push.

@jsarenik, I agree that it would be redundant to have both if using a template is acceptable on linux. I wasn't sure if there was a certain situation where linux and mac should have different behavior when running mktemp.

Changes Unknown when pulling 07920ca48ddb5df94dce92b8484f29b1dde408bc on AlexCline:mktemp-mac into ** on jsarenik:master**.

authors: AlexCline coveralls jsarenik

repo: jsarenik/spf-tools


text:
Added support for AES128 in envelope encryption algorithm

Why: Many SCEP servers might have capabilities to use AES-128 for symmetric encyption.
What: Added support and the relevant test(s).
Fixes #61

@sbose78 AES isn't part of the SCEP internet draft.  Which servers support AES?

Thanks.
AES is a part of this draft @seize-the-dave
https://tools.ietf.org/html/draft-gutmann-scep-03 Page 24
"The client SHOULD use SHA-256 or SHA-512 in preference to SHA-1
hashing, and AES in preference to triple DES if they are supported by
the CA."

repo: jscep/jscep


text:
Handle bogus operation

to address https://github.com/jscep/jscep/issues/88

Thanks for the PR.
Failure was due to Travis CI communication with SonarQube.  Can you rebase to pick up the updated Travis configuration and rebuild please?

Done.

Whoops.  Sorry for the massive delay.  Tests passing now.

Can you add 5270d4888b6d1001d25b367033b155bd368dfc86 to the PR?

I think it's already in, no?  See https://github.com/jscep/jscep/pull/89/files#diff-600376dffeb79835ede4a0b285078036R331.

Thanks for merging!

Took me long enough!
On Wed, 19 Sep 2018 at 20:43, David Byron notifications@github.com wrote:

Thanks for merging!
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/jscep/jscep/pull/89#issuecomment-422933341, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAnaOxYcY3FG6gGxUmiK-sgY5LRlLpyJks5ucp4_gaJpZM4Usj0s
.


text:
simple golang server setup

user story:
We want our IPFS gateway to be easy to clone. A user should be able clone this repo, and run a single command to have a little server up and running.
Description:
An easy to run http server running go.  With the outline ready for handling simple requests.
Acceptance criteria: Create the outline of a simple server using go. Should be able to handle basic GET request and serve an empty html file.
Ideally localhost will be hosted at something like gateway.storj.io  later
Basically a simple GET api which handles requests like
localhost:443/ipfs/abcd1234efgh5678
First step of this is just receiving request, acknowledging with a 200, and console.log(key)

just print out abcd1234efgh5678 for requests

repo: jschiarizzi/storj-ipfs-gateway


text:
Choose the device (e.g. Luxafor Bluetooth Pro)

I currently own a Luxafor Bluetooth Pro.
The Bluetooth dongle connects well and changes color, but the external "Indicator" device does not change.
Do you think improvement is possible?

either choose the device
either activate both at the same time

Thanks in advance

I just proposed a tested PR

I have just done several tests on the Luxafor Bluetooth Pro.
Here are the results:

Wave
Wave Type
LuxaforSharp Constant
Luxafor Bluetooth Pro Test

4
1
WaveType.Short
✅

4
2
WaveType.Long
❌

4
3
WaveType.OverlappingShort
✅

4
4
WaveType.OverlappingLong
✅

4
5
?
✅

I also notice that the device.Wave method, if the repeatCount parameter is zero, the Wave does not work.
For the Blink function, it works directly but not from the LuxaforOnAir application, and I make almost the same observation, if changes the repeatCount parameter to 2 instead of 1 on the device.Blink method, then it works
I made the change on the PR

repo: jschlackman/LuxaforOnAir


text:
🛑 Linus-Wordpress is down

In c1b56cc, Linus-Wordpress ($SERVER_BASE/wordpress/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Linus-Wordpress is back up in 16f2ca3.

repo: jscmidt/upptime


text:
🛑 API is down

In 30905e9, API ($SERVER_BASE/api/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: API is back up in 1a8fedc after 1 hour, 20 minutes.


text:
Add "fix" field in rule declaration

Addresses https://github.com/jscs-dev/node-jscs/issues/1201 https://github.com/jscs-dev/node-jscs/pull/1202 https://github.com/jscs-dev/node-jscs/pull/1265, but most importantly #1113.
Example with validateQuoteMarks is just that, example.
This pull represents two different ideas for autofix infrastructure - "fix" field and assertion interface.
Which is bad, we need to make them complimentary to each other or unite approaches, but we need to keep ball rolling need to release 2.0 soon, we can improve/refactor later.

Coverage increased (+0.03%) to 99.32% when pulling b158f856fafcdff418a657dac06de4e6fb1f8835 on markelog:fix into 4a0322b2acee08bc17ada687d33bb2b25ed181bb on jscs-dev:2.0.

Why the new PR? Just curious.

Looks good at all ;-)

I believe we should not introduce second way of fixing. And allowing to modify AST directly is too dangerous for the compatibility.

And allowing to modify AST directly is too dangerous for the compatibility.

See the

This pull represents two different ideas for autofix infrastructure - "fix" field and assertion interface.

Which is bad, we need to make them complimentary to each other or unite approaches, but we need to keep ball rolling need to release 2.0 soon, we can improve/refactor later.

--

And allowing to modify AST directly is too dangerous for the compatibility.

That will happen, one way or another, we has examples of it, there is tons of modules already doing that,  if we don't provide the way to do that, ppl will use other means.
As of use of token-assert module, i believe we already had discussion about that - https://github.com/jscs-dev/node-jscs/pull/1265#issuecomment-96653961. So without going in circles, we have two options, either "fix" function or doing the autofixing in check function.

Thank you for your explanation. I will try to explain the main problem with this approach.
Right almost all the fixes are made in assertion module. And those fixes are hidden, they are just part of assertion module implementation. Today we are operating on token list and assertion module modifies token list. But token list does not allow us to do a low of other required changes. For instance, you cannot replace var x = 1, y = 2; with var x = 1; var y = 2;. To apply these changes you need tree. At some point I believe we will start operating on the tree and assertion module will just smoothly switch from token list to tree (because we have good connection between tokens and tree nodes). And during that switch we will not have to touch rules. Both our rules and custom rules will keep working. But if we go and introduce modifying token list directly from the rules, we will bind ourselves into token list and we will not be able to use tree for source modification.
I would suggest:

Remove fixing logic from check method in validateQuoteMarks and move it to assertion module.
Add more methods to assertion module. May even split it to several modules.
Start actively thinking about new tree, which would allow us to apply modifications. Or start our own tree if https://github.com/estree/estree project is not going to finish in the next several months (For me it looks like they are stuck).

Thank you.

But token list does not allow us to do a lot of other required changes. For instance, you cannot replace var x = 1, y = 2; with var x = 1; var y = 2;. To apply these changes you need tree. At some point I believe we will start operating on the tree and assertion module will just smoothly switch from token list to tree (because we have good connection between tokens and tree nodes). And during that switch we will not have to touch rules. But if we go and introduce modifying token list directly from the rules, we will tie ourselves into token list and we will not be able to use tree for source modification.

Right now this looks as speculation, need proof of concept. As of tree modification we can provide means for that.
If you have specific rule fix method which would lay in the assert-module you still need to change it to work with tree, so there is no difference where fix method would be specified - in the other module or in the fix field.
Basically, this is why i insist on trying it out, to see how will people will work with it.

Remove fixing logic from check method in validateQuoteMarks and move it to assertion module.
Add more methods to assertion module. We may even split it to several modules.

I thought we already past that, we had a discussion about that, and decide not to do that, see link above, we going in circles, which is not a good thing.
token-assert would hide those methods, but fix function wouldn't go anywhere it just would be in the different module, if you hide those functions it just would be harder for ppl to contribute to jscs, while assert module would grow, instead modifying the fix method, they would just add more and more stuff to token-assert, which by itself is not good. And yes, plugin writers couldn't easily create their own fixes. Except in the check method.
Otherwise i don't see any difference with those approaches.
I suggest going through the route that already works, if there would be something better, we would do it. Now, i think, we just holding up the progress with such discussions that become resurrected for some reason.
@mrjoelkemp @zxqfox @mikesherov @hzoo thoughts?

Okay, so after long discussion, we came to the compromise, we wouldn't introduce the "fix" field, but a private "fix" field, all support and possible relocation of its logic to the assert module would be on me.

mrjoelkemp added this to the 1.14.0 milestone 25 minutes ago

@mrjoelkemp ?

This is 2.0? Thought this was in a good place to land and include in a new release.

Do you want to release 1.14? There is only couple things to do for 2.0, i think i could deal with most of them during this week and release on the next one.

We have plenty to fill a 1.14 release; it's been over a month.
To be clear, this particular PR will go into the 2.0 milestone, correct? Feel free to tag any other issues/PRs that should be 2.0 so that I hold off on merging them.

This PR seems to be the last one holding up the 1.14 milestone. Are we still aiming to get this in?

This was merged in 2.0, removed the 1.14 tag, also i would like to propose couple new prs for the new version before releasing

authors: coveralls markelog mdevils mrjoelkemp zxqfox

repo: jscs-dev/node-jscs


text:
Translate to Korean 2022-04-06

こんにちは、2022-04-06 ポストの韓国語翻訳本です。

すごい！ありがとうございます。
ただ、私は”해라체"を使って翻訳をしていますが、Serzhulさんは”하십시요체"ですね！
一つの方法で統一すれば良いと思います。ご意見ください！

@uyeong ご意見ありがとうございます。ポストの性格上読みやすい'해라체'に統一した方が良いと思います。改めて修正したのでご確認お願いします。

LGTM!

authors: Serzhul uyeong


text:
Winter '22 Updates to Login Credentials

Will jsforce connections be affected at all by the upcoming update to org logins forbidding use of login credentials as URL query string parameters? Based on Salesforce's description of the change, I doubt it would affect jsforce, but I figured I would ask anyway just in case.

AFAIK this lib does not rely on the feature of login url with credential in query parameters.

authors: JosephBernay stomita

repo: jsforce/jsforce


text:
[[FIX]] Allow __proto__ when using ES6

In EcmaScript 6 __proto__ is no longer deprecated (but non-browser environments may not
support it).

If proto option is on, JSHint behaves as before.
If esnext option is off , JSHint warns: '__proto__' is available in ES6 (use esnext option).. (W119)
If esnext is is on but browser, node, and rhino options are off, JSHint warns: The '__proto__ property may not be supported by non-browser environments. (New W135 warning).

Fixes #2371

Coverage increased (+0.03%) to 96.59% when pulling a295321dca63634cefb14177a26dc8f816fb5457 on nicolo-ribaudo:issue-2371 into a093f784ee5298973c6233e9113842cbe8d16c74 on jshint:master.

committed - https://github.com/jshint/jshint/commit/06b57649414e44a9df6a46907f3ac93513e44221
thanks.

authors: coveralls lukeapage nicolo-ribaudo

repo: jshint/jshint


text:
Reduce package size

We've received a couple reports (gh-3316 and gh-3318) that the installation size of JSHint increased drastically in the recently-released version 2.9.6.  This is easily verified using npm's --production flag:
mkdir nodemods
git checkout 2.9.5
npm install --production
mv node_modules nodemods/2.9.5
git checkout -- package.json
git checkout 2.9.6
npm install --production
mv node_modules nodemods/2.9.6
du -h -d 0 nodemods/*

Output:
9.9M    nodemods/2.9.5
277M    nodemods/2.9.6

Two independent commits contributed to this 20-fold increase in side. This patch addresses each of them in turn. You can verify using the same technique:
git checkout shrink-deps~
npm install --production
mv node_modules nodemods/2.9.6-phantom
git checkout -- package.json
git checkout shrink-deps
npm install --production
mv node_modules nodemods/2.9.6-phantom-unicode
du -h -d 0 nodemods/*

Output:
9.9M    nodemods/2.9.5
277M    nodemods/2.9.6
149M    nodemods/2.9.6-phantom
18M     nodemods/2.9.6-phantom-unicode

The final size is still twice that of the prior release, but that is due to the upgrade to Lodash 4 (gh-3260 and gh-3283).
9.9M    nodemods/2.9.6-phantom-unicode-lodash

Since that was motivated by security concerns, I'm more willing to accept the size increase. If this continues to be a concern for our consumers, we can consider instead relying on Lodash's sub-components.
Also of interest: the remove-dev-dependencies.js introduced here is not technically necessary on TravisCI because JSHint can now be successfully be installed in TravisCI on Node 0.8 and 0.10. That's surprising because this was all motivated by failures in TravisCI back in November. At first, I thought that maybe the maintainers of requests had changed their tune, but no such luck. TravisCI now pre-installs PhantomJS, so the offending ES2015 code (used to fetch the binary) is no longer evaluated on any GNU/Linux build. However, we're not so lucky in the AppVeyor-provided Windows environment (and even if we were, we probably shouldn't rely on implicit aspects of the build environments). That's why I've written a script to manually remove the offending packages prior to installation in CI.
I'd like to release a new version (i.e. 2.9.7) for this changeset so that we can help our consumers avoid the inefficiency as soon as possible.

Coverage remained the same at 98.755% when pulling d24487e86ec52c497ea0f85315373c2331b45fb7 on jugglinmike:shrink-deps into d5c1a007f7f4a83fc27f61b27732781d1c589335 on jshint:master.

Wow, nice work to solve this!

authors: coveralls jugglinmike rwaldron


text:
🛑 UMSI.club is down

In dae7913, UMSI.club (https://umsi.club/) was down:

HTTP code: 500
Response time: 3133 ms

Resolved: UMSI.club is back up in fff8442.

repo: jshwlkr/upptime


text:
npm ERR! 404 Not Found: react-native-audio

Has not published in npm ?

Oops, sorry about that. Just pushed it!

authors: booxood jsierles

repo: jsierles/react-native-audio


text:
Build a caching service

Generators will suffer if they have to pull from origin sources all the time.
Investigate if setting up a http cache for the purpose of builds works.

blog serve should have an option to cache locally

repo: jsonblog/jsonblog-cli


text:
autoscroll stops at final element

Hi,
I love the Jcarousel. It works like a charm. I have a small issue. When autoscrolling is enabled, it auto scroll elements just fine. but when it reach to the last element, it stops there. Its not replaying again. is re-playing is not available in the plugin? Thanks for the support.

Set wrap: 'circular', see http://sorgalla.com/jcarousel/docs/reference/configuration.html#wrap

Thanks for the reply Jsor! i tried it like this:
.jcarouselAutoscroll({
interval: 3000,
target: '+=1',
autostart: true,
wrap: 'circular'
});
But no luck still. Am i doing it in a wrong way? Let me know.

This is an option for the carousel:
.jcarousel({
    wrap: 'circular'
})
.jcarouselAutoscroll({
    interval: 3000,
    target: '+=1',
    autostart: true
});

Wow, amazing dude! it worked like a charm. Thanks for the big help. Jcarousel rocks!

I've configured exactly this way and it still doesn't work. It stops in last item. wrap parameter is set to 'circular' obviously.

If I set wrap to 'last' it works. The carousel rewinds to first item and it starts again, but circular is not working... :cry:

Could you please setup a reproducible testcase somewhere?

I can't sorry. But after some testing, no it works, I'm not sure why... But it's not circular, it works the same way than 'last', when autoscroll reach the last item, it rewinds all the way to the beginning 😁

authors: buddikastay fidoboy jsor

repo: jsor/jcarousel


text:
Samples google prototype changes to work with main-eisop

Goes together with https://github.com/jspecify/jspecify-reference-checker/pull/155

DereferenceIntersection now has errors were they were desired but previously missing. I'll see if I see any other opportunities to remove jspecify_but....

If my calculations are correct, we can remove jspecify_but... from all the following:
CaptureAsInferredTypeArgument.java:41
CaptureAsInferredTypeArgument.java:43
CaptureAsInferredTypeArgument.java:45
CaptureConvertedToObject.java:52
CaptureConvertedToObject.java:57
CaptureConvertedToObject.java:66
CaptureConvertedToObjectUnspec.java:52
CaptureConvertedToObjectUnspec.java:57
CaptureConvertedToObjectUnspec.java:66
CaptureConvertedToOther.java:52
CaptureConvertedToOther.java:57
CaptureConvertedToOther.java:66
CaptureConvertedToOtherUnspec.java:52
CaptureConvertedToOtherUnspec.java:57
CaptureConvertedToOtherUnspec.java:66
CaptureConvertedTypeVariableBounded.java:77
ContainmentExtends.java:26
ContainmentExtends.java:34
DereferenceIntersection.java:59
DereferenceIntersection.java:65
DereferenceIntersection.java:76
NotNullMarkedContainmentExtends.java:22
NotNullMarkedContainmentExtends.java:25
NotNullMarkedContainmentExtends.java:31
NotNullMarkedContainmentExtends.java:34
NotNullMarkedTypeVariableBound.java:53
NotNullMarkedTypeVariableBound.java:58
NotNullMarkedTypeVariableBound.java:63
NotNullMarkedUseOfWildcardAsTypeArgument.java:32
NotNullMarkedUseOfWildcardAsTypeArgument.java:37
UseOfTypeVariableAsTypeArgument.java:69

(https://github.com/jspecify/jspecify/pull/584 for those lines)

I had the thought that maybe the wildcard errors are related to undoing the capture conversion "wonkyness." I haven't followed up, but I'll try to do so eventually.

Oh, but also I had some other memory of hacking up the fork to disable some check on the grounds that it should be unnecessary. I think it may have been related to capture conversion, too? I'll dig that up, maybe tomorrow.

I'm taking the specific issues I've mentioned above to separate issues:

https://github.com/jspecify/jspecify-reference-checker/issues/198
https://github.com/jspecify/jspecify-reference-checker/issues/199
https://github.com/jspecify/jspecify-reference-checker/issues/200

I'm not expecting to fix them all before merging main-eisop into main, but:

I want to at least look at https://github.com/jspecify/jspecify-reference-checker/issues/200 while this is all fresh in my mind.
I want to be able to reference those issues when we suppress any remaining errors.

authors: cpovirk wmdietl

repo: jspecify/jspecify


text:
Error installing @mui/material

Sandbox:
https://jspm.org/sandbox#[encoded data, 5336 characters]

Error seems to be originating at https://ga.jspm.io/npm:@mui/material@5.15.12/styles/styled.js, which imports https://ga.jspm.io/npm:@mui/system@5.15.12/dev.createStyled.js.

Hi @guybedford, sorry for the ping. I would like to contribute the overrides for material package. Do you have any documentation on how these are done? If not, could you briefly describe it, and I can contribute both the documentation, and overrides.

@MilanKovacic overrides are documented at https://jspm.org/cdn/jspm-io#overrides. Yes this can be solved with an override. They are just package.json field replacements to get the right package configuration for JSPM. I'll gladly review any PR to resolve this interop issue.

authors: MilanKovacic guybedford

repo: jspm/generator


text:
plugin ts template: Problem with parameter properties

When using the jsPsych builder (4.3.0) and jsPsych (7.2), the template in TypeScript to make its own plugin needs this replacement to work :
    // constructor(private jsPsych: JsPsych) { } // comment this line

    // replace by this
    private jsPsych: JsPsych;

    constructor(jsPsych: JsPsych) {
        this.jsPsych = jsPsych;
    }

I'm relatively new to TS so can't understand why, but it is the case. To made a few tests I installed typescript -D and run tsc on those two versions of the file and, as I learned it, it was strictly equivalent. So I suppose this issue come from one parameter used in the tsconfig or wepback.config file of the builder. I could read them here to check but unforntunately my level doesn't allow me to find what can cause this problem.

Thanks @Franck-El for bringing this up. Unfortunately, I can't think of any typescript config option that would disable parameter properties. The builder uses Babel and its TypeScript preset to handle ts files, so maybe it's an oddity with that setup. I'll update you after looking into this.

It was a Babel configuration issue indeed. I just released the fix in v4.3.1. Thanks!

authors: Franck-El bjoluc

repo: jspsych/jsPsych


text:
Tidio & jssor slider

There is problem with some variables being to global.
Before Tidio is inserted then everything work fine.
After Tidio add its js then slider crash.
After some investigation if breakpoint is added in 2208 in jssor.slider.js:
            navigator.$Show(navigator.$Options.$ChanceToShow <= _NotOnHover);
navigator change its value from:
window.$JssorArrowNavigator$
to:
navigator = function each(iterator, context)
Can somebody say how to fix this issue? Does there is remove some variable going on or some property aren't define in proper scope?

It's on Tidio site. :) They mess with JS.

repo: jssor/slider


text:
Goto Definition also triggers Peek Definition

I am not entirely sure whether this behavior is caused by this extension or its actually a bug in VSCode.
When I press F12 on a symbol, the cursor not only jumps to the definition obtained from the tags file, but also shows the Peek Definition window. When I press Alt + F12 I only get the Peek Definition window -- as expected.
Here I placed the cursor on a call to getChildren and pressed F12. The result is the following:

I tested this quickly with 3 C++ files, where no tags file was used. There this does not happen.

With 1.0.6, ctagsx now provides definitions directly to VSCode via the definition provider integration. This is what gets shown here. From what I can see here, the window that gets shown on F12 is providing you the option to distinguish which  definition you're after.
Prior to this, do you recall F12/Alt+F12 working? If it was, that suggests that something else (another plugin?) is already providing definitions to VSCode.
In any case, if you want to prevent ctagsx from doing this, set the preference ctagsx.disableDefinitionProvider to true.

This is definitely a new feature introduced by this extension. Although the more I think about it, and having looked at the code, it seems like this behavior originates from VSCode.
I haven't really thought about that the Peek Window is shown to distinguish different points of definition. Now that you mentioned it, this makes sense. I'll try to remove one of the entries so there is no ambiguity when I get back to work tomorrow. If the Peek Window does not appear, this explains the behavior.

Yes, ambiguity seems to be the reason for this. I'll therefore close this now.

repo: jtanx/ctagsx


text:
Implement the SIREN Hypermedia Format

This PR adds support for SIREN, it is stacked on top of HAL's PR. Merge #48 before reviewing this.
Why Siren?
So far the repo supports URLFor and HAL. URLFor provides simple URI hyperlinks whereas HAL supports more complex relationships. Even though the current implementation of HALFor auto-detects methods, that it is not part of the HAL Standard, and having method information without information about the parameters is not useful. Siren provides links (same principle as HAL's) but it also adds actions which model the different operations that can be run on a given resource, detailing not only the URI but also de method and the fields needed.
Features added:

SIREN Hypermedia format is now supported using new project structure
Add SIREN Example using the same data as the URLFor's and HAL's
Add official jsonchema validation to SIREN responses
Fix small bug in LinkSet
Remove HALFor's method and description support as it is not part of the standard and that feature could be now used by leveraging SIREN

@jtc42 Please feel free to review after merging #48

Could you please rebase so it's clearer what's actually changed between this and the recently merged HAL branch?
More generally, I think once this is merged I'll do a new major release. While there's likely no breaking changes, there's enough changed "under the hood" that I'd prefer to clearly delineate it with a major release.
Given my time constraints and move away from using (and so developing) this library, I do wonder if it would make more sense to either transfer ownership, or at least give you full access, to you. I'd like to know your thoughts on this though. If I'm honest, this library was originally cobbled together to serve a really specific purpose for my work, but hasn't been used in that project for a while now. I still think it's useful, and I'm really glad others are continuing to use it, but if I'm being honest I can't see myself keeping up with it enough to do it justice.
An extra aside, after merging the HAL branch tests on main are now failing (probably should have put a branch protection rule in place to block merges that aren't up to date with main, but whatever). If you rebase this branch anyway though we can hopefully get that sorted here.

@jtc42 I updated the branch and now the results can be seen independently of the previously merged PR.
I'd happily take ownership of the library if you consider that as an option. I am planning on heavily using it and can maintain it at least for the foreseeable future.
I am currently working on the last PR of this series, focusing on avoid repeating code, make sure the code is easier to extend, documentation and overall structure. That is reflected in PR #51. I believe that will be ready sometime today and after that it will deefinitely justify a major release update.

@jtc42 This should be good to merge now
Merging this will close #42


text:
Criar link pra LT do Humberto no Caipyra 2016

Fazer um esquema semelhante ao import antigravity que leva à um link externo

@daneoshiga faz ai vai!

pra qm quiser o link ta aqui: https://www.youtube.com/watch?v=BNmNSHu9bMU&t=1s

repo: jtemporal/caipyra


text:
🛑 File Terminal is down

In 3e9bb19, File Terminal ($FTP_SERVER) was down:

HTTP code: 0
Response time: 0 ms

Resolved: File Terminal is back up in 147e04c.

repo: juanretamales/Sunai-Upptime


text:
Adds a JSON file in ember montevideo's repository with the ID's of meetups

When we get the markdown file from github we can display the meetup notes but we don't know the ID of the meetup so we can not get more information from meetup.com like photos or comments.
An idea:
{
  '2017-03': 'meetupId',
  '2017-04': 'meetupId'
}

Added a PR in ember-montevideo/meetups projects with a json file with all the ids. Please verify.
https://github.com/ember-montevideo/meetups/pull/23

authors: hidnasio jubar

repo: jubar/ember-montevideo-app


text:
MessageListener No Longer Works With Latest Python-Can Listener

Looks like Python-Can had a recent update to add a new abstract method stop

I can take a look, but I can't say I've noticed anything unusual where I've used it.
Is there anywhere you're calling stop from?  It only stops notifying if stop() was called on the message listener.

This works good
import can

bus = can.Bus(interface="canalystii", channel="0", bitrate=250000)
while True:
    try:
        msg = bus.recv(1)
        print(msg)
    except KeyboardInterrupt:
        break
bus.shutdown()

Timestamp:     6305.823600    ID: 182756f4    X Rx                DL:  2    36 10                       Channel: 0
Timestamp:     6306.077300    ID: 182756f4    X Rx                DL:  2    36 10                       Channel: 0

But this doesn't output anything
from time import sleep
import j1939

def on_message(priority, pgn, sa, timestamp, data):
    print(f"PGN {pgn} length {len(data)}")

ecu = j1939.ElectronicControlUnit()
ecu.connect(interface="canalystii", channel="0", bitrate=250000)
ecu.subscribe(on_message)

while True:
    try:
        sleep(1)
    except KeyboardInterrupt:
        break

print("Deinitializing")
ecu.disconnect()

I'm not quire sure the issues you are having.
I did your example and am seeing traffic from the bus:
import j1939
import time

def on_message(priority, pgn, sa, timestamp, data):
    print(f"PGN {pgn} length {len(data)}")

def main():
    ecu = j1939.ElectronicControlUnit()
    ecu.connect(interface="vector", channel="0", bitrate=250000)
    ecu.subscribe(on_message)

    while True:
        try:
            time.sleep(0.5)
        except KeyboardInterrupt:
            break

    print("Deinitializing")
    ecu.disconnect()

if __name__ == "__main__":
    main()

PGN 65391 length 8
PGN 65393 length 8
PGN 65394 length 8
PGN 65392 length 8
PGN 65396 length 8
PGN 65400 length 8
PGN 65406 length 8
PGN 65408 length 8
PGN 65440 length 8
PGN 65405 length 8
PGN 65393 length 8
PGN 65394 length 8
PGN 65392 length 8
``

I needed to add the address to my subscription to get the same result.
ecu.subscribe(on_message, 0x56)

Looks like my fault, sorry for misunderstanding

No worries :)

By the way, should this work without the address being declared? I have a problem where I only need to read CAN traffic without interfering, but subscribing with an address causes my CAN analyzer to interfere with the bus.
Perhaps this does not related to this issue, then I will create a new one.


text:
Failed to launch workers while sync data from a S3Compatible storage to another

What happened:
(1) exe. command:
juicesync --worker 192.168.12.14 --threads 50 --no-https s3:/ABCD:EFGH@juice./test/ s3:/ABCD:EFGH@juice./test1/
(2) results:
2022/12/13 22:33:59.297285 juicefs[3272093] : Syncing from s3://juice/test/ to s3://juice/test3/ [sync.go:619]
2022/12/13 22:33:59.900130 juicefs[3272093] : Listen at 192.168.12.10:46817 [cluster.go:195]
2022/12/13 22:34:00.103541 juicefs[3272093] : launch a worker on 192.168.12.14 [cluster.go:270]
Scanned objects count: 0 / 2000 [--------------------------------------------------------------]   0 %    0s
Copied objects count: 0                  0.00/s                                   ⠧
Scanned objects count: 8547 / 8547 [==============================================================]  done
Copied objects count: 8547                              26.54/s
Copied objects bytes: 375.96 GiB (403679646720 Bytes)   1.17 GiB/s
Checked objects bytes: 0.00 b     (0 Bytes)              0.00 b/s
Deleted objects count: 0                                 0.00/s
Skipped objects count: 0                                 0.00/s
Failed objects count: 0                                 0.00/s
2022/12/13 22:39:21.331453 juicefs[3272093] : Found: 8547, copied: 8547 (375.96 GiB), checked: 0 B, deleted: 0, skipped: 0, failed: 0 [sync.go:892]
There are some 'juicesync' threads on 192.168.12.10, but  no  'juicesync' threads on 192.168.12.14。
The worker does not work。
What you expected to happen:
distributed sync
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?
Environment:

JuiceFS version (use juicefs --version) or Hadoop Java SDK version: v1.0.2
Cloud provider or hardware configuration running JuiceFS: S3Compatible storage
OS (e.g cat /etc/os-release): centos7.9
Kernel (e.g. uname -a):  4.18.0-348.7.1.el8
Object storage (cloud provider and region, or self maintained):S3Compatible storage
Metadata engine info (version, cloud provider managed or self maintained):no
Network connectivity (JuiceFS to metadata engine, JuiceFS to object storage):no
Others:no

If parameter --verbose is added in command, 'juicesync' threads can run on these nodes (workers)。

It seems that you are using the juicesync repo. We recommend juicefs sync for now.
Can you try juicefs sync to see if this problem also exists?

It seems that you are using the juicesync repo. We recommend juicefs sync for now. Can you try juicefs sync to see if this problem also exists? juicefs sync doc: https://juicefs.com/docs/community/guide/sync/

yeah, juicefs  sync is ok, no problem.
The bug should be only in juicesync.

authors: youngerliucn zhijian-pro

repo: juicedata/juicefs


text:
hook failure if gpu worker labels itself before master is up

I pre-deployed workers because i wanted them on GPU hardware.  Then I deployed the can-kub bundle.  The workers got stuck in a cni hook loop as described below:
$ juju deploy kubernetes-worker --constraints instance-type=<gpu>
## wait for giggles
$ juju deploy canonical-kubernets

The bundle will re-use the workers.  Before the master is ready, the workers run cni-relation-changed:
unit-kubernetes-worker-0: 16:41:45 INFO unit.kubernetes-worker/0.cni-relation-changed Fri Jun  9 16:41:45 2017
unit-kubernetes-worker-0: 16:41:45 INFO unit.kubernetes-worker/0.cni-relation-changed +-----------------------------------------------------------------------------+
unit-kubernetes-worker-0: 16:41:45 INFO unit.kubernetes-worker/0.cni-relation-changed | NVIDIA-SMI 375.66                 Driver Version: 375.66                    |
unit-kubernetes-worker-0: 16:41:45 INFO unit.kubernetes-worker/0.cni-relation-changed |-------------------------------+----------------------+----------------------+
unit-kubernetes-worker-0: 16:41:45 INFO unit.kubernetes-worker/0.cni-relation-changed | GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
unit-kubernetes-worker-0: 16:41:45 INFO unit.kubernetes-worker/0.cni-relation-changed | Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
unit-kubernetes-worker-0: 16:41:45 INFO unit.kubernetes-worker/0.cni-relation-changed |===============================+======================+======================|
unit-kubernetes-worker-0: 16:41:46 INFO unit.kubernetes-worker/0.cni-relation-changed |   0  Tesla K80           Off  | 98D0:00:00.0     Off |                    0 |
unit-kubernetes-worker-0: 16:41:46 INFO unit.kubernetes-worker/0.cni-relation-changed | N/A   35C    P0    73W / 149W |      0MiB / 11439MiB |     85%      Default |
unit-kubernetes-worker-0: 16:41:46 INFO unit.kubernetes-worker/0.cni-relation-changed +-------------------------------+----------------------+----------------------+
unit-kubernetes-worker-0: 16:41:46 INFO unit.kubernetes-worker/0.cni-relation-changed
unit-kubernetes-worker-0: 16:41:46 INFO unit.kubernetes-worker/0.cni-relation-changed +-----------------------------------------------------------------------------+
unit-kubernetes-worker-0: 16:41:46 INFO unit.kubernetes-worker/0.cni-relation-changed | Processes:                                                       GPU Memory |
unit-kubernetes-worker-0: 16:41:46 INFO unit.kubernetes-worker/0.cni-relation-changed |  GPU       PID  Type  Process name                               Usage      |
unit-kubernetes-worker-0: 16:41:46 INFO unit.kubernetes-worker/0.cni-relation-changed |=============================================================================|
unit-kubernetes-worker-0: 16:41:46 INFO unit.kubernetes-worker/0.cni-relation-changed |  No running processes found                                                 |
unit-kubernetes-worker-0: 16:41:46 INFO unit.kubernetes-worker/0.cni-relation-changed +-----------------------------------------------------------------------------+
unit-kubernetes-worker-0: 16:41:47 INFO unit.kubernetes-worker/0.juju-log cni:12: Adding --feature-gates=Accelerators=true to kubelet
unit-kubernetes-worker-0: 16:41:47 INFO unit.kubernetes-worker/0.cni-relation-changed The connection to the server 192.168.0.11:443 was refused - did you specify the right host or port?
unit-kubernetes-worker-0: 16:41:47 INFO unit.kubernetes-worker/0.cni-relation-changed Traceback (most recent call last):
unit-kubernetes-worker-0: 16:41:47 INFO unit.kubernetes-worker/0.cni-relation-changed   File "/var/lib/juju/agents/unit-kubernetes-worker-0/charm/hooks/cni-relation-changed", line 19, in <module>
unit-kubernetes-worker-0: 16:41:47 INFO unit.kubernetes-worker/0.cni-relation-changed     main()
unit-kubernetes-worker-0: 16:41:47 INFO unit.kubernetes-worker/0.cni-relation-changed   File "/usr/local/lib/python3.5/dist-packages/charms/reactive/__init__.py", line 78, in main
unit-kubernetes-worker-0: 16:41:47 INFO unit.kubernetes-worker/0.cni-relation-changed     bus.dispatch()
unit-kubernetes-worker-0: 16:41:47 INFO unit.kubernetes-worker/0.cni-relation-changed   File "/usr/local/lib/python3.5/dist-packages/charms/reactive/bus.py", line 423, in dispatch
unit-kubernetes-worker-0: 16:41:47 INFO unit.kubernetes-worker/0.cni-relation-changed     _invoke(other_handlers)
unit-kubernetes-worker-0: 16:41:47 INFO unit.kubernetes-worker/0.cni-relation-changed   File "/usr/local/lib/python3.5/dist-packages/charms/reactive/bus.py", line 406, in _invoke
unit-kubernetes-worker-0: 16:41:47 INFO unit.kubernetes-worker/0.cni-relation-changed     handler.invoke()
unit-kubernetes-worker-0: 16:41:47 INFO unit.kubernetes-worker/0.cni-relation-changed   File "/usr/local/lib/python3.5/dist-packages/charms/reactive/bus.py", line 280, in invoke
unit-kubernetes-worker-0: 16:41:47 INFO unit.kubernetes-worker/0.cni-relation-changed     self._action(*args)
unit-kubernetes-worker-0: 16:41:47 INFO unit.kubernetes-worker/0.cni-relation-changed   File "/var/lib/juju/agents/unit-kubernetes-worker-0/charm/reactive/kubernetes_worker.py", line 712, in enable_gpu
unit-kubernetes-worker-0: 16:41:47 INFO unit.kubernetes-worker/0.cni-relation-changed     _apply_node_label('gpu=true', overwrite=True)
unit-kubernetes-worker-0: 16:41:47 INFO unit.kubernetes-worker/0.cni-relation-changed   File "/var/lib/juju/agents/unit-kubernetes-worker-0/charm/reactive/kubernetes_worker.py", line 804, in _apply_node_label
unit-kubernetes-worker-0: 16:41:47 INFO unit.kubernetes-worker/0.cni-relation-changed     check_call(split(cmd))
unit-kubernetes-worker-0: 16:41:47 INFO unit.kubernetes-worker/0.cni-relation-changed   File "/usr/lib/python3.5/subprocess.py", line 581, in check_call
unit-kubernetes-worker-0: 16:41:47 INFO unit.kubernetes-worker/0.cni-relation-changed     raise CalledProcessError(retcode, cmd)
unit-kubernetes-worker-0: 16:41:47 INFO unit.kubernetes-worker/0.cni-relation-changed subprocess.CalledProcessError: Command '['kubectl', '--kubeconfig=/root/cdk/kubeconfig', 'label', 'node', 'machine-0', 'gpu=true', '--overwrite']' returned non-zero exit status 1
unit-kubernetes-worker-0: 16:41:47 ERROR juju.worker.uniter.operation hook "cni-relation-changed" failed: exit status 1

I'm presuming this is because the master isn't up yet.  Once the master eventually gets to Kubernetes master running, the next worker hook retry resolves itself and everything settles to active.
The hook failure in status is spooky.  Is there some state that you can react to so the cni hook doesn't try to label the node until the master is ready?

Great catch, this could easily be prevented by adding the kube-api-endpoint state guard. It won't be 100% effective but would reduce the chances of this greatly, and we should also generalize the kubernetes operations to be retry friendly.
Once RBAC lands, we're going to encounter scenarios where the master services are restarting more often than they have in the past.

authors: chuckbutler kwmonroe


text:
Question - scrollbound animations

ScrollMagic Velocity.js Plugin

With the current version of Velocity scrollbound animations (scenes with duration) are not supported.
This feature will be added as soon as Velocity provides the appropriate API.

Is there a possibility that it will be implemented in the near future?

That made absolute no sense to me until I had a look at it - so translating:
Timeline control to allow manual positioning and changing direction etc.
It's planned, but not sure when it's going to get done, I don't think I'm going to get much time for coding on Velocity over the next month at least...

This is now available within V2 - documentation explaining how to do it is a little behind though. Have a look at anim=Velocity(...); anim.velocity("option", "percentComplete"[, 0.5])

Hi,
Could you give me an example? I don't quite understand that.
I've tried this, but I think it's not correct (isn't second parameter a duration?):
var anim = $('#el').velocity({
  backgroundColor: '#eee'
});

anim.velocity({
    backgroundColor: '#111'
}, 'percentComplete', 30);

The second call sets the current "position" within the animation to 50% of the way through it (it moves the start time accordingly).
var anim = $('#el').velocity({
  backgroundColor: '#eee'
});

anim.velocity("option", "percentComplete", 0.5);

Hmm, can you look at this? I thought I would see something between #eee and #333.
https://codepen.io/makshh/pen/ddWNGP

It's still a running animation - use "pause" and "resume" commands if you're wanting to pause it...
Velocity is an animation library, if you're just wanting to get the values it would supply then there's also the "tween" action called identically to a normal animation, but with "tween" as the first argument, and a percentage for the second argument - then it'll return the values that would be animated to at that specific point in time if the animation was live (it returns different types depending on the number of properties, see the wiki) -
var backgroundColor = $('#el').velocity("tween", 0.5, {
  backgroundColor: '#eee'
});

Ok, I think I finally understood what you are trying to explain to me :)
https://codepen.io/makshh/pen/oEWeGG?editors=1010
Do you think it's ok? Is it maybe possible in Velocity 1.x?

Not going to be possible in V1 at all, that's only going to get important fixes as a compatibility support for old browsers.
MotorCortexJS is using this extensively so give complete control over an entire multi-element animation, they're currently testing their next version and using V2 to drive it.

authors: Rycochet makshh

repo: julianshapiro/velocity


text:
Use md5sum files if available

This greatly speeds up the queries if many images pile up. Also, copying the original md5sum file after the build ensures that no data corruption happens on the disk of the server before the file is requested.

Thank you :) I'll try to pack a release later.

authors: jplitza julianxhokaxhiu

repo: julianxhokaxhiu/LineageOTA


text:
Add ActionProps runtime value of 'node18-actions'.

Auth0 has a runtime for Actions/Triggers that doesn't seem to be published in their documentation.  I found this why troubleshooting creating a 'credentials-exchange' action and trying to determine the correct version and runtime to set for this trigger type.  I ended up having to make an API call to the Management API endpoint GET /actions/triggers which returned the following response:
  "triggers": [
    {
      "id": "post-login",
      "version": "v1",
      "status": "DEPRECATED",
      "runtimes": [
        "node12"
      ],
      "default_runtime": "node12",
      "compatible_triggers": []
    },
    {
      "id": "post-login",
      "version": "v2",
      "status": "DEPRECATED",
      "runtimes": [
        "node12",
        "node16"
      ],
      "default_runtime": "node16",
      "compatible_triggers": []
    },
    {
      "id": "post-login",
      "version": "v3",
      "status": "CURRENT",
      "runtimes": [
        "node12",
        "node16",
        "node18-actions"
      ],
      "default_runtime": "node18-actions",
      "compatible_triggers": [
        {
          "id": "post-login",
          "version": "v2"
        }
      ]
    },
    {
      "id": "credentials-exchange",
      "version": "v2",
      "status": "CURRENT",
      "runtimes": [
        "node12",
        "node16",
        "node18-actions"
      ],
      "default_runtime": "node18-actions",
      "compatible_triggers": []
    },
    {
      "id": "credentials-exchange",
      "version": "v1",
      "status": "DEPRECATED",
      "runtimes": [
        "node12"
      ],
      "default_runtime": "node12",
      "compatible_triggers": []
    },
    {
      "id": "pre-user-registration",
      "version": "v1",
      "status": "DEPRECATED",
      "runtimes": [
        "node12"
      ],
      "default_runtime": "node12",
      "compatible_triggers": []
    },
    {
      "id": "pre-user-registration",
      "version": "v2",
      "status": "CURRENT",
      "runtimes": [
        "node12",
        "node16",
        "node18-actions"
      ],
      "default_runtime": "node18-actions",
      "compatible_triggers": []
    },
    {
      "id": "post-user-registration",
      "version": "v2",
      "status": "CURRENT",
      "runtimes": [
        "node12",
        "node16",
        "node18-actions"
      ],
      "default_runtime": "node18-actions",
      "compatible_triggers": []
    },
    {
      "id": "post-user-registration",
      "version": "v1",
      "status": "DEPRECATED",
      "runtimes": [
        "node12"
      ],
      "default_runtime": "node12",
      "compatible_triggers": []
    },
    {
      "id": "post-change-password",
      "version": "v1",
      "status": "DEPRECATED",
      "runtimes": [
        "node12"
      ],
      "default_runtime": "node12",
      "compatible_triggers": []
    },
    {
      "id": "post-change-password",
      "version": "v2",
      "status": "CURRENT",
      "runtimes": [
        "node12",
        "node16",
        "node18-actions"
      ],
      "default_runtime": "node18-actions",
      "compatible_triggers": []
    },
    {
      "id": "send-phone-message",
      "version": "v2",
      "status": "CURRENT",
      "runtimes": [
        "node12",
        "node16",
        "node18-actions"
      ],
      "default_runtime": "node18-actions",
      "compatible_triggers": []
    },
    {
      "id": "send-phone-message",
      "version": "v1",
      "status": "DEPRECATED",
      "runtimes": [
        "node12"
      ],
      "compatible_triggers": []
    },
    {
      "id": "password-reset-post-challenge",
      "version": "v1",
      "status": "CURRENT",
      "runtimes": [
        "node16",
        "node18-actions"
      ],
      "default_runtime": "node18-actions",
      "compatible_triggers": []
    },
    {
      "id": "login-post-identifier",
      "version": "v1",
      "status": "CURRENT",
      "default_runtime": "node18",
      "runtimes": [],
      "compatible_triggers": []
    },
    {
      "id": "notifications-custom-provider-phone",
      "version": "v1",
      "status": "CURRENT",
      "default_runtime": "node18",
      "runtimes": [],
      "compatible_triggers": []
    },
    {
      "id": "notifications-custom-provider-email",
      "version": "v1",
      "status": "CURRENT",
      "default_runtime": "node18",
      "runtimes": [],
      "compatible_triggers": []
    }
  ]
}

After setting the 'node18' runtime to this credentials-exchange trigger, when viewing in the Auth0 UI, the description shows the runtime as Runtime: Node 18 BETA (Not Recommended).

After setting the runtime to 'node18-actions', again viewing in the Auth0 UI, the description now states Runtime: Node 18 Recommended.

That's very interesting, I never noticed that, but you are right! It shows up as Not Recommended on the website. Thank you for the investigation!


text:
Migrating to GitHub Actions

I am considering to migrate the CI to GitHub Actions from Travis CI, due to the Travis CI's announcement.
https://blog.travis-ci.com/2020-11-02-travis-ci-new-billing

Note: this example is helpful. I actually contributed this for the mysql2 project.
https://github.com/brianmario/mysql2/blob/master/.github/workflows/container.yml

Anyone, could you send PR for this issue? I want to check the CI before new release. But right now I don't have much time.

repo: junaruga/rpm-py-installer


text:
Fix broken link in readme TOC

The Respecting .gitignore link pointed to a section of the readme which no longer exists.

Thanks!

authors: junegunn jutonz

repo: junegunn/fzf


text:
yaml.load() is unsafe

Running jupyter-book build triggers the following warnings:
.../jupyter_book/build.py:130: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  site_yaml = yaml.load(ff.read())
.../jupyter_book/build.py:139: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  toc = yaml.load(ff.read())

Perhaps those yaml.load() calls could be using yaml.safe_load()?

Thanks for reporting, @davidwagner ! This should be fixed when #235 is merged.

authors: davidwagner emdupre

repo: jupyter/jupyter-book


text:
Decouple Notebook and Console from CodeMirror

I've introduced:

ICellEditorWidget interface that is an abstraction over a concrete editor;
console/codemirror/plugin to create a CodeMirror aware render for the console;
notebook/codemirror/plugin to create a CodeMirror aware render for the notebook.

I'm going to test this change set with our editor implementation next week.

related issue: https://github.com/jupyter/jupyterlab/issues/608

Should also be related to this #135.

Hi @akosyakov, many of us have been out on holiday this past week.  Thank you for stepping up to implement the feature.  #591 is a sweeping change to the repo that is our top priority at the moment.  I apologize for the disruption this will cause, as it will most likely cause significant merge conflicts with this PR.  I would suggest not making any further changes until we finish it.

This is great, thanks for working on it! Once the port to the new phosphor libraries is complete, we'll be in a good place to help with resolving the conflicts with you.

It's alright, i do understand that the project is in the early stage and there can be disrupted changes. What is estimated time of implementation for #591?
I'm going to play around with integration of our editor in the notebook and console anyway and probably contribute some improvements of the editor interface to the PR.

Hi @akosyakov, there are two of us working on #591 now, and we hope to be done within the next day or so.  It was a lot bigger job than we originally anticipated.

I was able to integrate our editor in the notebook and console today with this PR.
I had to extract ICellEditorWidgetExtension from ICellEditorWidget. Since we don't want to use inspections and the completion dialog form jupyterlab, so it is not necessary to provide signals for completion requests and text changes.

Glad to hear it is working for you.  We are just about done with #591.

@akosyakov, we just merged #591.

@blink1073 cool, will have a look at conflicts today

conflicts should be resolved now, please review

Great work overall @akosyakov.  Please make the following style changes to conform with the rest of the code base Style Guide.

Use 2 spaces for indentation throughout
export should be on its own line

Also, we have a goal to make sure everything gets a docstring, no matter how mundane.

@afshin, can you comment on the approach of designating an editor as not requiring inspection or completion?

@blink1073 @akosyakov Couldn't an alternative editor adhere to the interface and have the textChanged and completionRequested signals but simply never emit them? That way it would simply seem like it's a "silent" editor and the completion and inspection widgets will ignore it.

@afshin ok, i will do like you suggested for now. But generally i think an editor implementation should decide whether it wants communicate with the inspector and trigger completions, maybe we should move signals on the inspector and completion widget parts.

@blink1073 i've addressed to your comments, please review again

Sorry @akosyakov, it looks like #622 caused another conflict.

@blink1073 resolved

@akosyakov, I sent you this PR with some cleanup and reorg to better mesh with the rest of the repo: https://github.com/TypeFox/jupyterlab/pull/1.  Once that is in, I am 👍 to merge, once @afshin agrees.

Oh, right, I'll send another PR to update the failing build as well.

(Now part of the original PR).

@akosyakov, I'm updating the tests now.

@blink1073 ups, i've already merged the PR, you can open another one for tests

https://github.com/TypeFox/jupyterlab/pull/2 sent.

merged

@blink1073 i wonder when are you going to release jupyterlab 0.1.3?

The next release will be 0.2, and will be today or tomorrow.

hope this PR will be a part of the release

@akosyakov As you've painfully seen, we've got API changes that aren't backward compatible, which is why the next version will be 0.2.0. Thank you so much for your patience.

Thank you so much for this, and for bearing with us @akosyakov.  This will indeed be in the next release.

authors: afshin akosyakov blink1073 vidartf

repo: jupyter/jupyterlab


text:
Make dev install work for everyone.

There are many places in the code that assume it's running on my machine, or might make assumptions that folders/files already exist.
It would be nice to have the basic workflow work for everyone.
install papyri
$ pip install flit
$ git clone https://github.com/Carreau/papyri

$ cd papyri
$ flit install --symlink
$ git clone https://github.com/stsewd/tree-sitter-rst   # yes, inside papyri source tree
$ papyri build-parser

Create own docs:
$ papyri gen examples/papyri.toml
$ papyri ingest ~/.papyri/data/papyri_0.0.8/

View own docs
$ papyri serve
Running on http://127.0.0.1:5000 (CTRL + C to quit)

@jasongrout I've reworked the readme, and rechecked the it should work from a clean environment.
The above instruction should be the strict minimal to make sure papyri works. Do you want to give it a shot ?

Trying to build the parser, I get:
% papyri build-parser
Traceback (most recent call last):
  File "/[snip]/bin/papyri", line 8, in <module>
    sys.exit(main())
  File "/[snip]/lib/python3.9/site-packages/papyri/__init__.py", line 169, in main
    app()
  File "/[snip]/lib/python3.9/site-packages/typer/main.py", line 214, in __call__
    return get_command(self)(*args, **kwargs)
  File "/[snip]/lib/python3.9/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/[snip]/lib/python3.9/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/[snip]/lib/python3.9/site-packages/click/core.py", line 1668, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/[snip]/lib/python3.9/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/[snip]/lib/python3.9/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/[snip]/lib/python3.9/site-packages/typer/main.py", line 500, in wrapper
    return callback(**use_params)  # type: ignore
  File "/[snip]/lib/python3.9/site-packages/papyri/__init__.py", line 359, in build_parser
    from tree_sitter import Language, Parser
ModuleNotFoundError: No module named 'tree_sitter'

DId you install the tree_sitter package too, not just clone it?

Looks like it works if I do pip install tree_sitter

Great ! Added to requirement.txt and pyproject_toml, not sure why it does work in an env for me without installing it. I liekly screwed something up.

$ papyri gen examples/papyri.toml

For this, I also had to install matplotlib

It looks like the instructions now are more general - I was able to set up a dev install following the instructions. Should this be closed?

authors: Carreau jasongrout melissawm

repo: jupyter/papyri


text:
JupyterLab related questions

Hi all, we are starting to look at using binder to encapsulate our JupyterLab demos and other JupyterLab related stuff. I have a few questions related to that:

As we give talks about JupyterLab, this has the potential to drive non-trivial traffic to beta.mybinder.org. How ready are you for that?
Is it possible to specify the initial URL for a repo, so that JupyterLab could open rather than the classic notebook (at the repo's choice)? It is simply /lab rather than /tree.
How willing are the binder folks to coordinate with us on releases so we can have a relatively short time between releasing JupyterLab and it being live on binder?

Thanks for all the awesome work here!

Adding @jasongrout and @jzf2101 as this will enable us to move forward with getting the jupyterlab-demo to use binder.

(2) should be easily doable, can you open another issue for that?
(3) is 'very' :)
(1) is 'we will find out depending on your timeline'. I'm spending this week on doing operational work on binder, and will have a better understadning of its 'readiness' when I'm done.

(2) Done #128
(3) many thanks - we will be in touch as new releases approach.
(1) we will likely first use this later in October. I am giving a talk at UCSD and would love to try showing JupyterLab running in binder at that point. I don't think that traffic will be too much (maybe dozens of folks). The bigger concern is that someone Tweets about a binder and all of Twitter visits binder. Maybe we could do some deliberate tests when you are ready - have a nice binder ready, Tweet about it and then watch in real time how everything holds up.

Agree with Yuvi on all points above.
Re: people slamming the servers, it'll probably be OK depending on how
large the crowd, but it is good to keep in mind that the public binder is
not a "one size fits all" kinda setup. Its resources are (intentionally)
limited and is sort of "use at your own risk".
That said perhaps we could make a special case for our jupyter lab
teammates and up the resources that day or something :-)
On Wed, Sep 27, 2017, 7:55 PM Brian E. Granger notifications@github.com
wrote:

(2) Done #128 https://github.com/jupyterhub/binderhub/issues/128
(3) many thanks - we will be in touch as new releases approach.
(1) we will likely first use this later in October. I am giving a talk at
UCSD and would love to try showing JupyterLab running in binder at that
point. I don't think that traffic will be too much (maybe dozens of folks).
The bigger concern is that someone Tweets about a binder and all of Twitter
visits binder. Maybe we could do some deliberate tests when you are ready -
have a nice binder ready, Tweet about it and then watch in real time how
everything holds up.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jupyterhub/binderhub/issues/127#issuecomment-332621228,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABwSHZQ2IydDmoy5h6bXXu5rDOTM0IlGks5smpohgaJpZM4PmNhS
.

Going to close this as sorted out now :)
and yes, we're happy to pump up resources for specific time periods. Just give us advance notice!

authors: choldgraf ellisonbg yuvipanda

repo: jupyterhub/binderhub


text:
npm install fails

I tried to set up a dev version of the extension, but npm install fails when compiling src/widget.ts:
src/widget.ts(22,26): error TS2497: Module '"/home/david/src/jupyterlab_geojson/node_modules/@types/lodash/isEqual/index"' resolves to a non-module entity and cannot be imported using this construct.

Here's npm-debug.log.
I know little about TypeScript, but this issue helped me devise a workaround which seems to do the job (in the sense that npm install completes without errors):
diff --git a/src/widget.ts b/src/widget.ts
index 221bcc2..59ad321 100644
--- a/src/widget.ts
+++ b/src/widget.ts
@@ -19,7 +19,8 @@ import {

 import * as leaflet from 'leaflet';

-import * as isEqual from 'lodash/isEqual';
+// import * as isEqual from 'lodash/isEqual';
+var isEqual = require('lodash/isEqual');

 /**

But since I suppose the current code worked for you, the fix should rather be that there's a difference in my environment which has to be accounted for?

The current version doesn't use Typescript so this should be resolved 👍

Indeed, thanks a lot! I'm hoping to glean some inspiration from jupyterlab_geojson as to how to go about building a JupyterLab extension, so this is much appreciated :)

@dlukes Check out https://github.com/jupyterlab/mimerender-cookiecutter. It now support both jupyterlab and notebook extensions and if you're familiar/open to use React, then creating a mimerender extension is as easy as creating a single React component.

Thanks, will do!

authors: dlukes gnestor


text:
fix(connector): convert PII data into connector request without peeking the info

Currently we are sending the PII information to each connector request by peeking the information and pass it as plain text, instead of doing it in the compile time Serde should handle this process while serialising the data so we can assure PII info not being leaked if someone mistakenly add logs for request data

Include Connector payload and encrypt the secret data in the request

repo: juspay/hyperswitch


text:
feat(router): [OpenNode] response reference id

Type of Change

[ ] Bugfix
[x] New feature
[ ] Enhancement
[ ] Refactoring
[ ] Dependency updates
[ ] Documentation
[ ] CI/CD

Description

Additional Changes

[ ] This PR modifies the API contract
[ ] This PR modifies the database schema
[ ] This PR modifies application configuration/environment variables

Motivation and Context

Closes #2342.
How did you test it?

Checklist

[ ] I formatted the code cargo +nightly fmt --all
[ ] I addressed lints thrown by cargo clippy
[ ] I reviewed the submitted code
[ ] I added unit tests for my changes where possible
[ ] I added a CHANGELOG entry if applicable

Closes #2342

Have pulled the latest commits. Thank you.

Hey @eigengravy  :wave:,
Thanks a bunch for all your contributions! We've got a little something for you to show our appreciation.
Just take a moment to fill out this form, and get ready for some awesome swag coming your way.
Thanks!

authors: VedantKhairnar eigengravy


text:
feat(router): add generic merchant static routing config

Type of Change

[ ] Bugfix
[x] New feature
[ ] Enhancement
[x] Refactoring
[ ] Dependency updates

Description

This PR removes the legacy CustomRoutingRules type for describing static routing and makes the static routing configuration in the merchant account generic.
It also adds a simple Single static routing algorithm which will allow the merchant to route all payments to a single connector and its implementation in payments core.
Additional Changes

[x] This PR modifies the database schema
[ ] This PR modifies application configuration/environment variables

DB up.sql
DB down.sql

Motivation and Context

This serves as scaffolding to integrate other forms of static routing into hyperswitch.
How did you test it?

Compiler-guided, stripe payments.
Checklist

[x] I formatted the code cargo +nightly fmt --all
[x] I addressed lints thrown by cargo clippy
[x] I reviewed submitted code
[ ] I added unit tests for my changes where possible
[ ] I added a CHANGELOG entry if applicable

We need to have a discussion on the implementation for the intersection of the following aspects of payments core and make necessary changes before merging the PR :-

Static Routing
Registering tasks in process-tracker
Automatic retries


text:
fix: added skeleton loader

Problem
Previously, when data was loading, we were displaying a simple text "Loading (Suspense Fallback)". This plain text didn't provide a visually appealing or engaging user experience, especially for longer loading times.
Solution
Added a Skeleton component, this component renders a placeholder layout with animated placeholders.
UI Screenshot
https://github.com/juspay/superposition/assets/20094367/3f3c5045-6975-4979-bf11-3c1862fc576c

@ShubhranshuSanjeev screenshots please. Also shouldn't semver be feat not fix?

Replace all loading texts with the loader

@Datron , multiple skeleton on a single page is not required, looks ugly

@ShubhranshuSanjeev can the skeleton structure for pages be more consistent with the page? Something like this:

@ShubhranshuSanjeev can the skeleton structure for pages be more consistent with the page? Something like this:

Sure, will do this

authors: Datron ShubhranshuSanjeev

repo: juspay/superposition


text:
Storing face data in Mongodb and querying it

I'm looking to work with a large dataset of images. I would like to process faces in one periodic script and load the descriptors/distances into a Mongo collection for querying at a later time since I can imagine there will be a massive performance hit for storing 100,000s of instances of facial data in memory.
Any advice on how to achieve this?

You would simply fetch batches of your stored descriptors, compare your query data against the batch, keep only the matches and then proceed I would guess.

You would simply fetch batches of your stored descriptors, compare your query data against the batch, keep only the matches and then proceed I would guess.

That's what I was thinking. Wasn't sure if there was a way to create a query to reduce the results returned.
Thanks

I'm thinking about that too cause I'm wondering why there are no projects/examples of smth like a photo gallery which labels images with recognized peoples names.

If you have an input vector and  want to query the most similar vector  form lots of vectors in DB, then you need to calculate the similarity between input and each vector in DB every time. This is basically a map-reduce task,  so Mongodb Map-Reducewill help you do this

Você simplesmente buscava lotes de seus descritores armazenados, comparava os dados da consulta com o lote, mantinha apenas as correspondências e prosseguia, imagino.

Você simplesmente buscava lotes de seus descritores armazenados, comparava os dados da consulta com o lote, mantinha apenas as correspondências e prosseguia, imagino.

I tried to store LabeledFaceDescriptors in mongodb and it didn't work. I read somewhere that mongodb returns arraybuffer instead of float32array.
Some extra work is needed that I'm not getting.

@FrancinaldoCabral have you finished your project? How many images are you storing? How precise recognition algorithm works?
I also working on something similar - going to store over 100k images as LabeledFaceDescriptors -> convert them to plain array and store in firebase database. Then on client side convert face to LabeledFaceDescriptor then search in database for similar images.
@justadudewhohacks @RocMax any pitfalls in my idea?

authors: 6pm FrancinaldoCabral RocMax justadudewhohacks nickvorie psi-4ward


text:
Making the script run for my own model

Hey, thank you for making a brilliant demo but I have a few doubts.
I built a mask detector model that I am trying to host as a web app and I don't know how to give it as an input. I'm fairly new to this so I'm hoping you'd help. I've attached the screenshots here, please let me know what changes do I make in the code (my 'models' folder has 3 shard files and 1  JSON file)

Did you solve this problem yet? I'm working with a mask detect system now,  get in trouble with this problem.

@Reaper622 did you solved it yet?
I am running facial recognition, but it fails with the images which has masks on.

@amiralam0  Try this one. https://github.com/vladmandic/face-api


text:
🛑 Misskey is down

In 0b77173, Misskey (https://mkacg.social) was down:

HTTP code: 530
Response time: 153 ms

Resolved: Misskey is back up in 8eec0dd after 11 minutes.


text:
🛑 NextCloud is down

In 76428f4, NextCloud (https://pan.mkacg.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: NextCloud is back up in a500951 after 12 hours, 23 minutes.


text:
Sample hypothesis testing.

Summary by CodeRabbit

Tests

Introduced new tests for the aggregate_temporal_window function to ensure reliability and accuracy in handling temporal windows and predicates within dataframes.

Chores

Added "hypothesis" as an optional development dependency to facilitate advanced property-based testing.

Partly addresses #62