Cannot pair my blinds. Command not recognized.

Here's de log of a up signal from the remote:
[{"encKey": 134,
"address": 2113079,
"rcode": 551,
"command": "Unknown(15)",
"rssi": -45,
"bits": 56,
"valid": true,
"sync": 4,
"pulses": [500,607,626,585,653,584,851,640,511,681,642,464,644,864,473,2851,2604,2503,2612,4862,1316,1268,663,638,650,647,651,638,1284,650,652,1287,666,629,1309,613,672,631,659,642,641,1285,1288,648,653,1293,1292,637,666,638,645,626,656,1285,666,631,1311,1293,1281,1298,1305,612,672,623,679,615,669,1269,659,631,1304,651,656,632,652,642,655,633,638,647,670,1256,667,642,1300,1286,649,635,664,643,642,650,659,641,665,620,649,635,1316,619,674,613,665,1290,1298,644,647,645,652],
"time": "2023-05-07T10:17:26.322+0100"
}]
And here's the same signal picked-up by de RTL_433 software
time = 2023-05-07 10:18:44.537032
protocol = 167
id = 3620384
control = Up (6)
counter = 553
retransmission = 0
mic = CHECKSUM
mod = ASK
freq = 433.38912
rssi = -0.0989304
snr = 5.71867
noise = -5.8176
It seems that the command is not recognised by the ESPSomfy-RTS.
Any tips?

Which remote do you have?  The pulses do pass the checksum.  The response from the RTL_433 looks like the up+down buttons were pressed at the same time.
If you install the firmware and application files from the main repository I have added some additional filters for the pulses.

If you install v1.5.3 release there are additional checks for stray frames.

It looks like these while they use the same encoding as Somfy do not use the same command numbers.  Can I get you to press each button in the following order.  Press it only once and no need to hold the button down and it doesn't matter if the shade does anything or which channel it is on.

The program button on the back of the remote.
  The command byte is replaced by the encryption key.  Do you know who the manufacturer is?  This is definitely not RTS but it is already decoded.  Google is failing to come back with any references to Jove that is a shade motor?

Here is the log again:
[{"encKey": 140,
"address": 699434,
"rcode": 2870,
"command": "Unknown(15)",
"rssi": -55,
"bits": 56,
"valid": false,
"sync": 6,
"pulses": [649,608,1168,1382,462,1747,2249,75,1720,2025,23,246,342,1983,48,268,2829,2591,2533,2599,4874,1281,1310,620,655,640,658,1273,679,609,1330,625,659,643,648,1271,658,629,666,648,658,610,661,645,1306,1266,1323,1267,667,628,663,640,1292,1275,687,623,1295,638,657,1273,1308,646,643,633,660,654,647,648,659,615,678,617,678,1258,1317,635,661,1277,1300,1290,1297,1289,640,651,660,633,1292,648,658,1283,641,631,1313,1295,633,633,1306,650,660,1267,666,634,1315,617,675],
"time": "2023-05-12T22:29:25.376+0100"
},
{"encKey": 134,
"address": 699434,
"rcode": 2871,
"command": "Unknown(15)",
"rssi": -50,
"bits": 56,
"valid": false,
"sync": 4,
"pulses": [2562,2585,2550,2573,4872,1276,1309,646,651,640,658,643,645,1290,649,643,1305,625,668,1277,665,617,676,610,659,646,644,631,1314,643,647,638,660,1274,675,613,660,645,1294,1291,644,651,658,619,1324,1278,1308,622,654,641,656,642,652,633,658,646,669,632,661,1266,1320,639,651,1271,1311,1270,1306,1271,677,637,660,620,1320,633,648,1272,659,642,1299,1284,654,643,1299,639,649,1294,663,614,1322,632,662],
"time": "2023-05-12T22:29:27.413+0100"
},
{"encKey": 133,
"address": 699434,
"rcode": 2872,
"command": "Unknown(15)",
"rssi": -49,
"bits": 56,
"valid": false,
"sync": 4,
"pulses": [2577,2568,2562,2574,4871,1287,1300,633,663,629,671,621,683,1269,1293,1290,1300,1283,655,644,646,637,1312,620,674,1266,673,620,1307,1275,677,611,659,647,642,633,1313,642,649,638,660,648,642,1282,1305,651,659,614,677,617,676,642,655,618,669,635,661,1276,1297,653,645,1275,1309,1294,1288,1292,660,615,677,620,1325,627,668,1252,684,618,1319,1266,670,627,1311,620,669,1286,638,644,1306,625,666],
"time": "2023-05-12T22:29:28.197+0100"
},
{"encKey": 133,
"address": 699434,
"rcode": 2872,
"command": "Unknown(15)",
"rssi": -49,
"bits": 56,
"valid": false,
"sync": 14,
"pulses": [33087,2568,2576,2544,2576,2540,2593,2536,2599,2520,2591,2538,2568,2545,2579,4903,1270,1306,624,669,629,661,629,665,1275,1316,1276,1306,1270,656,640,655,642,1299,641,648,1297,662,626,1294,1290,649,643,652,639,660,618,1321,641,651,619,674,636,658,1271,1307,647,642,633,661,630,669,648,660,632,650,644,653,1265,1322,634,662,1274,1297,1291,1292,1289,666,628,659,641,1302,627,660,1268,667,632,1311,1269,657,636,1302,650,660,1268,667,629,1311,620,671],
"time": "2023-05-12T22:29:28.359+0100"
},
{"encKey": 136,
"address": 699434,
"rcode": 2873,
"command": "Unknown(15)",
"rssi": -48,
"bits": 56,
"valid": false,
"sync": 7,
"pulses": [2272,75,1731,2257,75,1743,2259,74,1743,2250,100,2039,50,1699,2019,26,1999,52,280,330,1994,52,80,2688,2581,2551,2571,4868,1273,1314,651,657,615,677,1269,1312,642,645,637,660,649,642,1281,663,619,675,640,1309,618,655,1286,1316,637,660,1272,654,639,658,619,670,636,1311,618,676,1266,1297,1284,1307,649,658,633,650,643,653,639,657,645,646,634,665,1276,1299,651,640,1276,1318,1269,1312,1272,655,658,640,646,1304,622,668,1283,656,619,1320,1291,643,637,1311,646,650,1263,672,620,1311,647,643],
"time": "2023-05-12T22:29:29.095+0100"
}]
In the meantime I've found the box and the manual of the remote.
The box advertises it as a Somfy , but apparently it's not.
Product code:  SMF-ASA 2211118

Thx

It's not chinese but Italian.  See   www.asamotor.com

Ahah so this is Somfy RTW not RTS.  All is not lost as it appears the command byte is not encoded and is also used to encode the frame.  All of the commands repeat appropriately so we will need to do this in two steps.  The first step is to translate the incoming frames then make sure we are sending them back out correctly.
So now can I get you to capture the following combined button presses where both buttons are depressed at the same time in the following order.

Up + Down
My + Up
My + Down
My + Up + Down

After you capture the commands above and post them here.  Load the firmware from the code repository by clicking on SomfyController.ino.esp32.bin and the application by clicking on SomfController.littlefs.bin.
After that go into the gears menu then select the Somfy tab.  Then click Configure Transceiver.  Change the protocol from RTS to RTW and click Save Radio.

Then for each shade created edit the shade and change the protocol  to RTW from RTS and save it.  It should then start talking RTW instead of RTS for your shades.  At that point you should be able to pair them.  But I do need the other commands or it can spin out the controller when it sees these and doesn't know what to do with them.

Up + Down
My + Up
My + Down
My + Up + Down
[{"encKey": 138,
"address": 699434,
"rcode": 2879,
"command": "Unknown(15)",
"rssi": -34,
"bits": 56,
"valid": false,
"sync": 4,
"pulses": [514,2695,2571,2548,2568,4886,1290,1295,639,654,643,648,1289,1317,1252,1310,646,654,1285,665,627,661,614,1327,1280,1309,619,658,639,654,1297,657,617,677,618,674,612,658,647,643,632,664,641,1316,1253,1312,643,655,641,654,643,647,637,659,649,640,633,662,1279,1318,641,652,1270,1311,1270,1311,1271,677,635,640,642,1299,652,665,1277,658,622,1317,1267,667,627,1311,620,670,1285,639,645,1303,640,644],
"time": "2023-05-13T07:59:40.213+0100"
},
{"encKey": 135,
"address": 699434,
"rcode": 2881,
"command": "Unknown(15)",
"rssi": -41,
"bits": 56,
"valid": false,
"sync": 4,
"pulses": [2563,2592,2547,2569,4880,1278,1308,622,659,640,677,618,673,1264,673,619,656,639,1308,1272,659,622,666,631,661,640,648,644,1304,1275,1324,1251,671,637,662,625,1295,1287,664,622,1308,647,669,632,663,1250,670,635,1310,1268,661,630,664,623,1307,646,670,1258,679,617,650,636,666,623,1320,1289,645,621,1309,647,668,1262,1303,650,659,616,676,1269,661,641,1301,1279,659,640,648,634,1311,1269,663,640],
"time": "2023-05-13T07:59:50.633+0100"
},
{"encKey": 137,
"address": 699434,
"rcode": 2882,
"command": "Unknown(15)",
"rssi": -34,
"bits": 56,
"valid": false,
"sync": 9,
"pulses": [1703,2002,50,280,354,1998,155,306,357,2005,51,130,154,282,357,1984,77,299,324,374,2026,27,128,2737,2592,2545,2559,4889,1273,1326,628,642,651,658,1283,1294,633,655,1293,1312,1268,654,635,666,616,676,636,658,620,671,633,1313,616,673,1266,664,623,671,614,1318,1268,1315,1270,1309,646,668,1262,666,617,1321,1267,668,635,663,623,1322,637,657,1271,652,640,659,617,670,635,1311,1270,659,641,1300,630,660,1267,1318,642,654,643,649,1286,650,644,1305,1274,648,638,659,623,1318,1266,669,647],
"time": "2023-05-13T07:59:52.550+0100"
},
{"encKey": 139,
"address": 699434,
"rcode": 2883,
"command": "Unknown(15)",
"rssi": -35,
"bits": 56,
"valid": false,
"sync": 4,
"pulses": [2593,2563,2553,2572,4876,1275,1333,619,657,640,653,1270,1336,1270,653,639,1306,1272,660,625,664,630,662,639,651,645,650,614,686,618,1318,1267,669,626,659,635,1297,1281,1305,649,657,615,680,616,675,1268,670,623,1305,1275,673,619,656,644,1294,639,679,1270,660,614,677,618,676,611,1311,1271,663,639,1318,627,661,1283,1293,634,664,644,652,1288,637,650,1312,1273,651,634,665,618,1327,1278,645,637],
"time": "2023-05-13T07:59:58.328+0100"
}]

Upgraded  to the beta version.
I guess it should work now.
I've not tested the blinds, but the log reports the keys presses perfectly:

[{"encKey": 140,
"address": 699434,
"rcode": 2889,
"command": "Prog",
"rssi": -28,
"bits": 56,
"valid": true,
"sync": 4,
"pulses": [42904,4582,581,30485,66749,469,4014,24189,73736,4545,530,97339,4742,65434,10106,95768,2553,2598,2542,2563,4886,1290,1295,635,666,625,667,1283,664,621,1323,611,680,616,674,1267,671,619,659,637,1294,1297,1291,1295,1311,1271,652,641,639,646,645,631,664,641,664,618,1303,652,644,651,657,1266,667,635,1315,1270,660,618,662,639,1299,639,672,1271,664,627,642,651,661,614,1319,1273,667,624,1322,612,664,1274,1328,625,667,630,659,1282,641,630,1314,1292,660,630,640,646,1305,1275,647,638],
"time": "2023-05-13T08:05:36.427+0100"
},
{"encKey": 134,
"address": 699434,
"rcode": 2890,
"command": "Up",
"rssi": -28,
"bits": 56,
"valid": true,
"sync": 4,
"pulses": [465,666,648,690,450,690,585,610,471,568,25799,465,2684,49,40244,8097,10087,95753,2567,2593,2538,2573,4897,1266,1321,632,662,626,668,627,660,1268,668,628,1314,641,645,1289,648,644,653,638,1309,1271,662,624,1319,613,684,1274,651,639,660,619,669,610,686,628,1294,1289,1298,631,660,1292,642,632,1313,1270,681,609,679,617,1326,624,669,1278,658,620,669,633,662,615,1321,1261,681,615,1299,27,653,665,1277,1288,650,658,640,652,1267,662,640,1300,1280,658,642,644,637,1311,1269,658,642],
"time": "2023-05-13T08:05:38.189+0100"
},
{"encKey": 133,
"address": 699434,
"rcode": 2891,
"command": "My",
"rssi": -30,
"bits": 56,
"valid": true,
"sync": 4,
"pulses": [458,659,1362,2600,2561,2563,2571,4871,1287,1299,631,663,652,644,651,657,1266,1318,1266,1322,1259,680,616,674,615,1309,1296,634,644,669,619,1308,1275,673,613,661,646,642,633,660,639,1300,631,661,655,643,650,659,1256,667,629,1313,1267,684,632,640,645,1303,624,667,1280,664,616,677,613,658,647,1294,1292,642,651,1311,618,671,1260,1329,627,661,640,650,1272,659,631,1321,1286,649,621,674,635,1290,1277,657,645],
"time": "2023-05-13T08:05:38.995+0100"
},
{"encKey": 136,
"address": 699434,
"rcode": 2892,
"command": "Down",
"rssi": -30,
"bits": 56,
"valid": true,
"sync": 4,
"pulses": [558,741,2413,23,38255,937,54417,4520,850,82329,10107,95746,2564,2575,2546,2573,4892,1271,1312,643,653,638,657,1270,1307,646,643,634,659,641,673,1270,663,639,645,624,1308,645,668,633,662,615,670,623,683,1267,645,649,659,616,676,617,1328,1277,644,636,1317,637,655,1259,670,623,1307,1273,675,641,658,623,1318,615,679,1268,661,639,651,619,675,614,1310,1296,660,627,1295,635,660,1275,1327,624,670,627,658,1292,642,629,1312,1269,656,634,680,617,1300,1277,670,635],
"time": "2023-05-13T08:05:39.827+0100"
}]
I will try  to pair the blinds later in the day. Thanks.

I still can't get it to pair.
But i suspect that there is something wrong with my CC1101. The emiter is not picked up by the RTL_433.
It should show up, wright?
How can i diagnose emiter of the the CC1101?

In the software switch the RX and TX setting.

Got it working!
I've been able to pair all of my 5 blinds. I've done what you said, switched the pins in the software.
I really appreciate your effort. Thanks for your work and insights.
I'll update to the latest beta  and give you the feedback.

Please let me know if all the combination commands register properly.

Reading through the manual, it seems that the ASAMotor remote controls (the RTW elegance series) do not have the same functions as the other Somfy RTS.
There is no MY button, but only a STOP button. In fact, I was unaware of the possible existence of the MY function, since it was not mentioned to me by the installer.
So the button combinations do nothing (I tested both on the remote control and in the application). It looks like these additional functions have been suppressed by ASAMotor.
Here is the link to the remote control manual, which explains the different functions:
https://www.asamotor.com/system/be/documentViewer.stub.php?xfile=652bed2f0088d74f26009425d3c5fe7dc19dd1de3b2ab10c35ef4245114cc6637f3462a3d28060e704048d950d8761ec7ab6be7f7a708acc36db15a8d309b48064f0ce3418fab0586c3f31904bf30e7659&mode=download
I don't know if there are other functions reserved for installers - the manual does not mention them - such as the setup of endstop points, but, as far as I can see, RTS combinations do not work with RTW remote controls.

I have published release v1.6.0 which contains the support your your motors.

Again, thanks for your effort.
I'll update to the new version. If I spot anything wrong, I'll post it here.
Regards.


Auto-instrumentation of profiles with Pyroscope

Is your feature request related to a problem? Please describe.
We currently use OpenTelemetry Operator to inject the OpenTelemetry java agent jar. That makes rollout to all our applications easy since we just need to add a pod annotation.
It would be great if we could also auto-inject pyroscope profiling to save teams from making code changes to manually initialize it.
Describe the solution you'd like
Add an option to auto-initialize pyroscope when using the grafana opentelemetry java agent
Describe alternatives you've considered
No response
Additional context
No response

We ended-up using alloy to auto-profile applications without code changes https://github.com/grafana/pyroscope/blob/main/examples/grafana-agent-auto-instrumentation/java/kubernetes/grafana-alloy.yaml so not sure this is still needed
Although I saw OTEL profiling is now alpha, so maybe this is worth adding if/when the java OTEL sdk supports it

Yes, I agree - let's close for now


Sharing resources between different GL contexts

Summary of feature
Implement a way to share resources between different GL contexts, which would allow for things like rendering something while loading content in the background, instead of halting the window.

Definitely a must-have for 2.0! Possible design:
  public struct WindowOptions
  {
+ public IGLContextSource SharedContext { get; set; }
  }

Notes for possible implementors:

the IGLContext provided should be checked for compatibility with the current window platform. i.e. a SdlWindow can only be created with a context that originated from the SDL backend, and a GlfwWindow can only be created with a context that originated from the GLFW backend. make sure you check for this!
on glfw, pass the WindowHandle* of the SharedContext to glfwCreateWindow
on sdl, make the SharedContext current before creating the context of the new window, and then add GLattr.GLShareWithCurrentContext to the context attributes.
please do this work against 2.0. thanks!


Add authentication to write endpoints that must be protected

[x] https://github.com/Sage-Bionetworks/rocc-schemas/pull/198
[x] https://github.com/Sage-Bionetworks/rocc-service/pull/193

Done


shopsplumbing.com

Phishing domain from e-mail. Gmail correct blocked message, ESET blocked domain too.

Thank you Tomasz!
Merging.


Feature/302 deactivate wg

Available (but incomplete) at https://lale-help-stg-pr-322.herokuapp.com

@phillipoertel Mechanics look great.

We still need to check that Only WGs with mo active tasks can be deactivated.
Use deactivate consistently as verb.


AST Service Parser returns unknown error

Hello,
when I want to use AST Service Parser it looks like this:
Jablicko:frontend jenik$ ngx-translate-extract -e -f pot -o src/assets/i18n/template.pot
INFO: Extracting strings from '....'
ERROR: TypeError: Cannot read property 'text' of undefined

Can you provide me with the file that results in the error so I can reproduce?


Publish to GitHub Packages

Added a GitHub Actions workflow to publish releases to GitHub Packages
Removed workflow that deploys the example site
Removed workflow that publishes to NPM

Oops. Created the PR against the wrong repo.


chore: bump version to 1.9.0

关联的Issues (Related Issues)

改动 (Proposed Changes)

附注 (Additional Info)

自查清单 (Checklist)
在你认为本 PR 满足被审阅的标准之前，需要确保 / Before you mark the PR ready for review, please make sure that:

[x] 符合Venus项目管理规范中关于PR的相关标准 / The PR follows the PR standards set out in the Venus project management guidelines
[x] 具有清晰明确的commit message / All commits have a clear commit message.
[x] 包含相关的的测试用例或者不需要新增测试用例 / This PR has tests for new functionality or change in behaviour or not need to add new tests.
[x] 包含相关的的指南以及文档或者不需要新增文档 / This PR has updated usage guidelines and documentation or not need
[x] 通过必要的检查项 / All checks are green

Codecov Report

Merging #135 (9a1bb10) into master (0812e7f) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

@@           Coverage Diff           @@
##           master     #135   +/-   ##
=======================================
  Coverage   45.35%   45.35%
=======================================
  Files          35       35
  Lines        3819     3819
=======================================
  Hits         1732     1732
  Misses       1874     1874
  Partials      213      213

Flag
Coverage Δ

unittests
45.35% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

core/const.go
48.64% <ø> (ø)


accepts hostnames without TLD, and i18n formats (punycode).

fixes #1300 and i18n hostnames. See https://github.com/Mashape/kong/issues/1205#issuecomment-221386825

Could we have more descriptive changes in PRs?

adds support for "X" characters
removes support for "Y" characters
update tests for both (or not)
"X" character allows for [example hostnames]

I generally try to wrap PRs in 1 commit (when possible) and follow the commit format, with a body that is written as if it was a PR description (or vice-versa)
feat(resolver) allow for X remove Y

- adds support for "X" characters
- removes support for "Y" characters
- update tests for both (or not)
- "X" character allows for [example hostnames]

Fix #1200 and #1205 (comment)

This way, GitHub grabs the commit message directly as the PR's description, and I only have to click the "Open PR" button.

Example: #1151
Simply explaining the issue and the fix in the commit messages allows for detailed explanation in both the git history for future reference and in the PR for reviewers. Too often I try to understand a PR by reading the changelog and it takes quite longer to understand.


Suppress or fix clang-tidy-9 warnings

Attempting to fix new warnings after updating from 8 to 9.

Btw, I've suppressed quite a few warnings that to me look like false positives. If you see something that actually seems like a bug please let me know and I'll try to fix it.

Related to the docker image upgrade, the python command isn't available anymore (only python3). We have a few Python scripts which explicitly use /usr/bin/env python which now fail on CircleCI. We can:

change python to python3,
symlink python to python3 in the docker image, or
generate the shebang line in those scripts like we do for scripts that get installed.

My preference is in the order they're listed. Opinions?

Since python V2 is being phased out everywhere, I think we are safe to rename the command to python3. I don't know however if this would be correct on all platforms. Option 3 might be the safest way forward.

Since python V2 is being phased out everywhere, I think we are safe to rename the command to python3. I don't know however if this would be correct on all platforms. Option 3 might be the safest way forward.

That's my thinking as well. I see that we actually install many of the Python scripts. I'll generate them with the Python that we find during configuration. Scripts that aren't installed I'll leave with python3.
This is finally passing clang-tidy now. The spell checker is complaining about some changes that I missed earlier. I'll leave those out of this PR and look at them separately (or try to ignore them if possible).

I unfortunately don't have the time to update the scripts now until Monday. If someone wants to push to this branch feel free to do so so that we can get builds working for everyone, or we just merge it like this and I change the python shebangs separately next week.


Nice work and that helper is something I need aswell

That helper function you've created for the vue-smooth-dnd library is great and something that I need too, so I hope you don't mind if I use it directly?

Go for it!

FYI @kutlugsahin


METRON-371: Changing logging level to INFO when there's not a config.

Testing Steps

Ensure squid topology is up.
Inject the following message to the kafka-producer to ingest

1461576382.642    161 <IP_ADDRESS> TCP_MISS/200 103701 GET http://www.abc.com/ - DIRECT/<IP_ADDRESS> text/html

Wait for the enrichment and index to be generated.
Review the enrichment kafkaspout log file and ensure that the error cannot be seen.

+1 by inspection


 It also makes cross compilation harder.
I spent some time trying to figure out if we can get rid of github.com/ethereum/go-ethereum/crypto/secp256k1 package but it seems that it's deeply integrated in go-ethereum package. I don't think we should develop our own geth client or use another one which isn't part of go-ethereum developers.
Proposed quick fix would be to skip cross-compilation for Bifrost (so travis will build linux version which seems fine now because very likely Bifrost will be deployed to linux servers).
To permanently fix cross-compilation we can use Docker.


upgrade python to groovy

Description

Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

groovy

Spam, as #18567

why do you keep flagging my page and prs for spam????? this is NOT spam. If i am submitting incorrectly please take that route intead


NPM Run Dev error Chunk.endpoint

Hi
I have been getting the issue below for a while. I have followed the steps in installation and reinstalled.
I have ran these:
rm -rf node_modules
npm cache clear
npm install

Node Version : 11.2.0
NPM Version: 6.4.1
OS: Mac OS 10.13.6

├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS> "private": true,
  "scripts": {
    "dev": "node node_modules/cross-env/dist/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
    "watch": "node node_modules/cross-env/dist/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
    "watch-poll": "node node_modules/cross-env/dist/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --watch-poll --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
    "hot": "node node_modules/cross-env/dist/bin/cross-env.js NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
    "production": "node node_modules/cross-env/dist/bin/cross-env.js NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
  },

Description:
78% module and chunk tree optimization unnamed compat plugin/Users/me/repos/duty/node_modules/webpack/lib/Chunk.js:846
                throw new Error(
                ^

Error: Chunk.entrypoints: Use Chunks.groupsIterable and filter by instanceof Entrypoint instead
    at Chunk.get (/Users/me/repos/duty/node_modules/webpack/lib/Chunk.js:846:9)
    at /Users/me/repos/duty/node_modules/laravel-mix/node_modules/extract-text-webpack-plugin/dist/index.js:176:48
    at Array.forEach (<anonymous>)
    at /Users/me/repos/duty/node_modules/laravel-mix/node_modules/extract-text-webpack-plugin/dist/index.js:171:18
    at AsyncSeriesHook.eval [as callAsync] (eval at create (/Users/me/repos/duty/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:32:10), <anonymous>:12:1)
    at AsyncSeriesHook.lazyCompileHook (/Users/me/repos/duty/node_modules/webpack/node_modules/tapable/lib/Hook.js:154:20)
    at Compilation.seal (/Users/me/repos/duty/node_modules/webpack/lib/Compilation.js:1242:27)
    at hooks.make.callAsync.err (/Users/me/repos/duty/node_modules/webpack/lib/Compiler.js:546:17)
    at _done (eval at create (/Users/me/repos/duty/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:32:10), <anonymous>:9:1)
    at _err0 (eval at create (/Users/me/repos/duty/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:32:10), <anonymous>:20:22)
    at _addModuleChain (/Users/me/repos/duty/node_modules/webpack/lib/Compilation.js:1093:12)
    at processModuleDependencies.err (/Users/me/repos/duty/node_modules/webpack/lib/Compilation.js:1005:9)
    at process.internalTickCallback (internal/process/next_tick.js:70:11)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>dev: `node node_modules/cross-env/dist/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js`

Steps To Reproduce:
Not sure how to recommend recreating steps, but I have reinstalled node, updated everything related to laravel and laravel-mix.
Update
Since getting the issue I completely removed node_module globally. Still got same issue.
fresh install of node_module and npn install on dev
Changed the package.json to Laravel Github version ran npn install, all worked!

Why you are using webpack v4?
Mix does not support v4.

I didn't see that anywhere on the installation info, but thank you for letting me know. I was using Webpack 4 for another project.


CON-847: Publish Dokka to artifactory

Added notes about the changes made to Dokka, update README.md
Updated the Maven group to com.r3.conclave.

LGTM. I made a suggestion but I am happy to approve it without it.


Update for Confluence 7.0.1 planned?

@AndreyVMarkelov Just out of interest: Are there any updates planned for Confluence 7.0.1?

+1

Done. Will be on market in 1 day


Remove exec_depend on catkin

This makes it easier to use with ROS 2. Otherwise you have to add a rosdep skip-key on catkin. REP-136 looks to be well before ROS 2 and ament were in the picture.

That tag was needed/recommended for releasing binaries and for the ros build farm. Could you kindly provide a bit more info why you think it is now https://www.ros.org/reps/rep-0136.html

Perhaps it isn't. I didn't realize that was required for the build farm. However, when running rosdep on this on a ROS 2 system it complains that it can't find catkin (since it isn't released). HERE is the specific motivator. I assume for releasing this on ROS 2 it would have to be changed to <exec_depend>ament</exec_depend>.
Adding it to the skip-keys isn't that big of a deal, and many people running ROS 2 may already have catkin added for other things. I'm not sure what the recommendation is. Perhaps @gavanderhoorn or @Levi-Armstrong would know.

@mpowelson Is it possible to upgrade to package format 3 and use a condition?
As in:
<exec_depend condition="$ROS_VERSION == 1">catkin</exec_depend>
<exec_depend condition="$ROS_VERSION == 2">ament</exec_depend>

That sounds reasonable to me.

@mpowelson Is it possible to upgrade to package format 3 and use a condition?
As in:
<exec_depend condition="$ROS_VERSION == 1">catkin</exec_depend>
<exec_depend condition="$ROS_VERSION == 2">ament</exec_depend>

Yes, let's do this. @mpowelson could you kindly try this on your system and update the PR with the necessarily changes. Thanks!

This works fine. Here is our ROS 2 CI build using this branch.


Remove WithKeywordsWhenNeeded

My approach to try to split args and use **kwargs for delegation is incorrect and needs to be phased out in 3.x and this module removed in 4.x. The problem is that arguments that implement to_hash are wrongly detected (with no way to know they are not) and converted. Only ruby2_keywords delegation is safe.
See https://github.com/rspec/rspec-expectations/issues/1241 as an example of this issue.

A WIP attempt to get rid of WKWN in rspec-core https://github.com/rspec/rspec-core/commit/684b58411467aa551f00f0963de4276b8105eabf
I've been running it on Ruby 3.0, and the spec fails with something like foo: keyword missing for those lines where we pass a hash:
include_examples "...", { foo: "..." }


Support @lends tag

Hi,
Thanks a lot for doclets! Finally looks like a way to make the value of documentation more tangible  :)
I had a surprise when trying to add it to Watai, though: some classes are not parsed properly, and their methods are parsed as globals.
It seems to me the issue is related to the @lends syntax.
Example: result and source.
Cheers,
Matti

Thanks for reporting! Happy you like and doclets and give it a try!
Maybe you are missing the @class before "var Runner = ". At least this is how the example shows...
Could you give this a try?

... you maybe want to do this also "/** @lends Runner.prototype */ since I guess the methods are instance methods (and not statics)

No, I'm using the @lends/@constructs couple, as documented here (paragraph “Documented with a constructor”).
I might be missing the .prototype, though. This used to work with JSdoc2, testing now with JSdoc3 it indeed seems to have broken. I'll get back to you with further testing.

sorry, was missing that. indeed this should work if the docs are right.

The .prototype is equivalent to #, which I already added.
There is, however, an issue with this @lends/@constructs parsing in JSdoc: jsdoc3/jsdoc#343.

@MattiSG thanks for keeping me updated. so this seems a jsdoc issue. may i close this for now?

Sure  :)


Add type checking for some conditions

To be more consistent, I just added some equal signs

To be more consistent, I just added some equal signs

Thanks, @ozanakman !


After upgrade the mac system to the new EI Capitan beta version, no effect

After upgrade the mac system to the new EI Capitan beta version,  sd_setImageWithURL has no effect。
Anyone who knows?
code：
var imageUrl = "http://img0.imgtn.bdimg.com/it/u=4034231403,1124015911&fm=23&gp=0.jpg"
var placehoder = UIImage(named: "avatar_default")
self.iconView.sd_setImageWithURL(NSURL(string: imageUrl), placeholderImage: placehoder);

@alwaystrong  what do you mean it has no effect? Can you try the demo project? Does it work there?

@mythodeia The demo project have errors：
clang: error: no such file or directory: '/Users/wangfq/Downloads/SDWebImage-3.7.2/Vendors/libwebp/src/dsp/upsampling_sse2.c'
clang: error: no input files
clang: error: no such file or directory: '/Users/wangfq/Downloads/SDWebImage-master/Vendors/libwebp/src/utils/utils.c'
clang: error: no input files
I use the Xcode 6.3.1 or Xcode 7

the error comes from a missing file in the libwebp library.
Please remove the target thats causing the issue and then add the libSDWebImage.a as a link binary to the demo project. then try again. i have compile successfully but i cannot test as i have not upgraded to El Capitan.

@alwaystrong any updates on this?

@mythodeia I hava find the reason today。That's because there's a "," in the URL("http://img0.imgtn.bdimg.com/it/u=4034231403,1124015911&fm=23&gp=0.jpg)。
Thanks a lot for help!

:+1:

@mythodeia It's so hard to find it。The safari is so strong to load it out。
Thank you anyway.


User does not have sufficient permissions for this profile.

I'm using version 2.14.0, Laravel 10 and PHP 8.2 but I'm getting the error:
{ "error": { "code": 403, "message": "User does not have sufficient permissions for this profile.", "errors": [ { "message": "User does not have sufficient permissions for this profile.", "domain": "global", "reason": "forbidden" } ], "status": "PERMISSION_DENIED" } }
I'm using service account authentication, I also added the service account email in the Google Analytics access properties, but I still get the permission error, here's the code:
public function index()
    {
        $client = new Google_Client();

        try {
            $jsonKey = storage_path('auth.json');
            $client->setAuthConfig($jsonKey);
        }
        catch (Google_Exception $ex) {
            abort(500, $ex);
        }

        $client->addScope(Google_Service_Analytics::ANALYTICS_READONLY);

        $analytics = new Google_Service_AnalyticsReporting($client);
        $response  = $this->getReport($analytics);
        $result    = $this->getResults($response);

        dd($result);
}

public function getReport($analytics)
    {
        // I changed it to X just to not display my property ID, but in the code the ID is correct as in Analytics
        $VIEW_ID = 'ga:XXXXXX';

        $dateRange = new Google_Service_AnalyticsReporting_DateRange();
        $dateRange->setStartDate('today');
        $dateRange->setEndDate('today');

        $pageviews = new Google_Service_AnalyticsReporting_Metric();
        $pageviews->setExpression('ga:pageviews');
        $pageviews->setAlias('pageviews');
        $hour = new Google_Service_AnalyticsReporting_Dimension();
        $hour->setName('ga:hour');

        $pages = new Google_Service_AnalyticsReporting_Dimension();
        $pages->setName('ga:pagePath');

        $request = new Google_Service_AnalyticsReporting_ReportRequest();
        $request->setViewId($VIEW_ID);
        $request->setDateRanges($dateRange);
        $request->setMetrics(array($pageviews));
        $request->setDimensions(array($hour, $pages));

        $body = new Google_Service_AnalyticsReporting_GetReportsRequest();
        $body->setReportRequests(array($request));

        return $analytics->reports->batchGet( $body );
}

public function getResults($reports) : array
    {
        $date = [];

        foreach ($reports as $report)
        {
            $header = $report->getColumnHeader();

            $dimensionHeaders = $header->getDimensions();
            $metricHeaders    = $header->getMetricHeader()->getMetricHeaderEntries();

            $rows = $report->getData()->getRows();

            foreach ($rows as $key => $row)
            {
                $dimensions = $row->getDimensions();
                $metrics    = $row->getMetrics();

                for($i = 0; $i < count($dimensionHeaders) && $i < count($dimensions); $i++)
                {
                    if ($dimensionHeaders[$i] === 'ga:pagePath')
                    {
                        $date[$key]['pagina'] = str_replace('/atlas/2017_portal_atlas', '', $dimensions[$i]);
                    }
                    else
                    {
                        $date[$key]['hora'] = $dimensions[$i];
                    }
                }

                for ($j = 0; $j < count($metricHeaders) && $j < count($metrics); $j++)
                {
                    $metricHeaders[$j];
                    $values = $metrics[$j];

                    foreach ($values->getValues() as $key2 => $value)
                    {
                        $date[$key]['acessos'] = $values->getValues()[$key2];
                    }
                }
            }
        }

        return $date;
}

Same issue.
Can anyone help pleas?
In addition, what is $VIEW_ID in GA4?
  // Replace with your view ID, for example XXXX.
  $VIEW_ID = "<REPLACE_WITH_VIEW_ID>";

property-id / STREAM ID / any other ID?

@belchiorplan it seems to be a permissions issue. Check the permissions for Account access management as well as Property access management in the UI portal. Also experiment with adding more scopes in your code, such as ANALYTICS_EDIT, ANALYTICS and ANALYTICS_READONLY, some users have seen success with that approach. defined here
@tamarz-sig pre-GA4 launch, a UA property had views, link, now after GA4 launch, it doesn't.
Views seem to be available only via Reporting APIs and Property analytics (for GA4) seems to be available via Data APIs
Hopefully it will unblock you, feel free to re-open otherwise.

import { google } from "googleapis";

export async function GET() {
  const auth = new google.auth.GoogleAuth({
    credentials: {
      client_email: process.env.GOOGLE_CLIENT_EMAIL,
      private_key: process.env.GOOGLE_PRIVATE_KEY?.replace(/\\n/g, "\n"),
    },
    scopes: ["https://www.googleapis.com/auth/analytics.readonly"],
  });

  const analytics = google.analytics("v3");
  const response = await analytics.data.ga.get({
    auth: auth,
    ids: "ga:<PROPERTY_ID>",
    "start-date": "30daysAgo",
    "end-date": "today",
    metrics: "ga:sessions,ga:pageviews,ga:users",
  });

  console.log(response.data);
  return Response.json(response.data);
}

I am facing the same issue here. I am unable to find the view ID, so instead, I am using the property ID. However, when I use this code, I get a 403 error:
errors: [
  {
    message: 'User does not have sufficient permissions for this profile.',
    domain: 'global',
    reason: 'insufficientPermissions'
  }
]

@vishwarajanand


fix: modify typescript tree-shaking tutorial code

There is a little typo in English version of typescript tree-shaking code.
And I added several lines of code of typecript tree-shaking for a clear guidance.

Thanks!


[C++][Parquet][CI] Seed corpus should also use bad data files

Describe the enhancement requested
Currently our Parquet fuzzing seed corpus consists entirely of testing data files, see here:
https://github.com/apache/arrow/blob/ab432b1362208696e60824b45a5599a4e91e6301/cpp/build-support/fuzzing/generate_corpuses.sh#L57-L58
We should also add files from the bad_data directory in the testing repository.
Component(s)
C++, Continuous Integration, Parquet

@mapleFU Would you like to take a look?

I'd like adding this tonight when I back home

Issue resolved by pull request 43708
https://github.com/apache/arrow/pull/43708


Downcast column to inferred Pandas data type

[ ] configuration option to initialise ptype to infer only valid Pandas data types
[ ] for the “normal” (typed) projection, each column should have the corresponding inferred type

[ ] ptype bool should not become Pandas bool

Notes from @GjjvdBurg:

This occurred to me just near the end of the meeting, but what if we
output a very simple "schema" with the detected types? The user can then
edit this schema where necessary and feed it back to ptype to cast the
columns to according to the schema.
For example, say we have a categorical column with incorrectly detected
'ERR' class, which the user corrects:
>>> schema = ptype.fit_schema(df)
>>> schema
{
   'col_1': ('Int64',),
   'col_2': ('Categorical', 'A', 'B', 'ERR'),
   'col_3': ('String',),
   'col_4': ('Float',),
}

 >>> schema['col_2'] = ('Categorical', 'A', 'B')
 >>> typed_df = ptype.transform_schema(df, schema)

This could easily be automated if the user prefers not to inspect and
interact with ptype. An advantage of this approach is that the “schema”
object is a simple python dictionary, which is easy to manipulate. You
could then also add a method to return the schema with the second-best
guess for a particular column, etc.
As an aside, a potentially good list of high-level data types for python
can be found in the Pydantic library:
https://pydantic-docs.helpmanual.io/usage/types/

And reply from @tahaceritli 👍

Thanks! This sounds like a sensible approach, although I do not know how frequently people use schemas in practice.
IMO, it would be fairly easy to implement your proposal to handle misclassified categorical values. However, we would still need to think about how to feed this information back to the model. I guess that one simple solution would be to fix the row type distribution of misclassified categorical values (e.g., ‘ERR’ in your example) after user feedback so that they are promoted as anomalies and discarded during type inference of that column. On the other hand, we may want to have a solution where we update some of the PFSMs.
BTW, I have spotted some python packages to manage schemas (note that the last one belongs to the Pandas library):

https://pypi.org/project/pandas-schema/,
https://pandera.readthedocs.io/en/stable/dataframe_schemas.html
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.io.json.build_table_schema.html.

These packages introduce validation functions to detect inconsistencies, where one function checks whether the data values of a column are in the allowed list or not. Perhaps we could also provide these types of functions.

See also #62 and #64 :)


Sample demo for RequestTimeout Exception because of ExpireAt from Message

Set connectionstring to azure service bus
Console show measured time and expire time (replaced exception)

So, this sample will not be merged into the MassTransit codebase. I'd suggest creating it as a separate repository to reproduce the issue.
That stated, I'm trying to understand what you're trying to demonstrate. Can you explain the issue?

Sorry. Will close this PR. Wrong Repo selected.


Fix typos

🌟 Type of Pull Request (check all that apply):

[ ] New Selenium Tip
[ ] Reporting a Bug
[ ] New Feature
[x] Documentation Changes
[ ] Other (please replace this text with details)

🚀 Description
Fix typos in documentation, mostly suggested by Intellij IDEA.
✅ Checklist
Please check off the following items as applicable:

[x] Code builds and runs locally without errors.
[x] Content has been checked for spelling and grammar errors.
[x] Follows the CODE OF CONDUCT.
[x] Follows the CONTRIBUTING guidelines.

🔎 Testing

[ ] This has been tested
[x] This has not been tested (only docs has been changed)
[ ] I need help testing this
[ ] Testing will be done via another Issue

🎉 Inclusive Content Reminder
We truly value diversity and strive to create a welcoming and inclusive community. Please review our CODE OF CONDUCT and CONTRIBUTING guidelines to make doubly sure your contribution meets and upholds our principles and values.

Thank you, @asolntsev!
Did you use a tool for this?

Sure. This tool is Intellij IDEA. :)
Cmd+Opt+Shift+I (== "run inspection") -> "Proofreading":


test changes

JIRA URL :- https://jira.rax.io/browse/CBS-547

Triggering unit tests...
{{{test:queued:932}}}

Running tests with './.unittests'...
For more details, see: http://jarvis.cbs.racklabs.com:8080/job/test-lunr-change/25/consoleFull
{{{test:started:25}}}

Test suite passed!
For more details, see: http://jarvis.cbs.racklabs.com:8080/job/test-lunr-change/25/consoleFull
{{{test:complete}}}

Triggering unit tests...
{{{test:queued:938}}}

Running tests with './.unittests'...
For more details, see: http://jarvis.cbs.racklabs.com:8080/job/test-lunr-change/27/consoleFull
{{{test:started:27}}}

Test suite passed!
For more details, see: http://jarvis.cbs.racklabs.com:8080/job/test-lunr-change/27/consoleFull
{{{test:complete}}}


Issue: #20 Remove all Occurences in LL

Created PS.md:  Contains description of problem statement
Created Solution.md: Contains C++ solution with Brute force approach and optimal approach steps and complete optimal solution with its time complexity.

@gargiisc  Try to write the algorithm and its working in the same file besides all good 👍

@Saket6198
I have done the changes you suggested so please review. I have also raised
PR for badge generator.... Please check it out...
On Wed, Oct 9, 2024, 22:32 Saket Dharmendra Singh @.***>
wrote:

@gargiisc https://github.com/gargiisc Try to write the algorithm and
its working in the same file besides all good 👍
—
Reply to this email directly, view it on GitHub
https://github.com/gdgpce/DSA-Challenges-2024/pull/21#issuecomment-2402850623,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BCYV5AQEBGMW7TWIEEXK4CLZ2VOR3AVCNFSM6AAAAABPTUJ42CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBSHA2TANRSGM
.
You are receiving this because you were mentioned.Message ID:
@.***>

good 👍


feat: Add current-version command to get the current version without bumping to the next version

This adds a the command semantic-release current-version so semantic-release can be used to determine the current tag on the branch based on semantic-release config.

I'd rather see this be a modification to the version command. Is it possible to extend the current --print option funrtion, where your command would be
semantic-release version --print-current

And also doesn't the --print option do this if you just capture the stdout? It will provide a stderr message but that doesn't stop the return of the current version as long as it hasn't changed?
Or the rationale for this, is to not consider what has changed but only what is currently released?

Or the rationale for this, is to not consider what has changed but only what is currently released?

That is the rationale for this.  I have a need to run my CI/CD pipeline periodically for security checks and I want the current version.

Do you think I should be making two version, one that returns the tag and another returning the semantic version?  I could see both being useful.
If I did make a version that printed the tag I would also add a --print-tag to be complete.

Do you think I should be making two versions, one that returns the tag and another returning the semantic version? I could see both being useful.
If I did make a version that printed the tag I would also add a --print-tag to be complete.

Adding all 4 variants was a great choice, thanks for thinking ahead.

Addressed changes and cleaned up commit log

@cfxegbert, good job thanks!
This is an optional change as it doesn't change much for your overall PR, but I wanted to recommend that the pre-commit commit should be of type chore instead. As this software is all about version detection, the fix(pre-commit) commit by itself would actually trigger a patch release of the codebase but chore would not. You would want to reserve feat and fix for specific commits that are related to the source code that is published/consumed by end users. A development environment change does not affect end user so you would not want to cause a patch release itself. This is less relevant for this specific PR as you have an independent feature commit as well so that overrides the fix level commit previously made.
All in all thanks for the effort you have put into this PR!
@relekang, PR ready for merge.

Fix commit messages not to start with a capitol letter and not end with a period


⚠ BCR Bot has degraded performance

In 3c14b22, BCR Bot (https://bcr.alternativasinteligentes.com/BCRApi/web/chatbot) experienced degraded performance:

HTTP code: 200
Response time: 858 ms

Resolved: BCR Bot performance has improved in 958bb09.


Clarify data and loading documentation

Checklist
GitHub

[x] I've given this PR a concise, self-descriptive, and meaningful title
[x] I've linked relevant issues in the PR body
[x] I've applied the relevant labels to this PR
[ ] I've assigned a reviewer

PR contents

[x] I've consulted ivadomed's internal developer documentation to ensure my contribution is in line with any relevant design decisions
[ ] I've added relevant tests for my contribution
[ ] I've updated the relevant documentation for my changes, including argparse descriptions, docstrings, and ReadTheDocs tutorial pages

Description
This PR updates the documentation after feedback from an external user in #1096:

Clarify the usage of the loader params extensions in configuration_file.rst and two_class_microscopy_seg_2d_unet
Add documentation about BIDS specification, validation and examples in Data

The PR is still incomplete. TODO:

[ ] Clarify split_method with sample_id in two_class_microscopy_seg_2d_unet
[ ] May include clarifications about the usage of participant_id in various loader parameters of configuration_file.rst

Linked issues
Related to #1096

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
4658

Relevant Lines:
5892

💛  - Coveralls


Under Setting ENV, command is different for PowerShell

When going through your article, I was using Visual Studio Code for windows. In that app, it shells out to PowerShell within the application. In order to get the environment setting to work properly, I had to run this:
$env:NODE_ENV="production"; ./node_modules/.bin/rollup -c
When I tired to use your command as outlined below within a regular command window, it did not work, it only set the NODE_ENV variable to be actually "production ./node_modules/.bin/rollup".

NOTE: On Windows, use SET NODE_ENV=production ./node_modules/.bin/rollup -c to avoid an error setting environment variables.

I found this solution via StackOverflow at this location: http://stackoverflow.com/questions/9249830/how-can-i-set-node-env-production-in-windows

@russdawginteractive Could you do me a favor and try this?
SET NODE_ENV="production" ./node_modules/.bin/rollup -c

I'm wondering if it's a lack of quotes that caused that issue.

@jlengstorf It's strange. That does not work in either Powershell or a regular command window. I created a quick link to show you what I'm seeing when I run the command you suggest.
https://www.screencast.com/t/cBHdHmE0cmHm

@russdawginteractive I don't have Flash, and it appears screencast.com requires that plugin, so I can't see the video.
However, I've added a note to the article referencing this issue for anyone on Windows who hits the same snag. Thanks for sharing!

As a follow up, I came across this same issue on another project. Upon doing some further research, I found that using the command below works in Powershell:
set NODE_ENV=production&&./node_modules/.bin/rollup -c
Alternatively, there is a plugin called cross-env that will work across systems:
https://www.npmjs.com/package/cross-env

One important thing to note is that there should be no space between NODE_ENV=production and &&. But you can have spaces after && as shown below.
"scripts": {
    "build": "rollup -c",
    "buildprod": "SET NODE_ENV=production&& rollup -c"
  },

I think an easier solution to this would be to use https://www.npmjs.com/package/cross-env
If someone wants to submit a PR, I'd be much obliged.


feature/logger-as-console-wrapper

This PR:
Add the console methods to better log tracing with log levels

supports debug, info, warn, error, off
supports having no console declared

Codecov Report

Merging #18 into feature/develop-v1.0.0 will decrease coverage by 0.25%.
The diff coverage is 97.05%.

@@                    Coverage Diff                     @@
##           feature/develop-v1.0.0      #18      +/-   ##
==========================================================
- Coverage                   95.43%   95.18%   -0.26%
==========================================================
  Files                          20       20
  Lines                         811      851      +40
  Branches                       67       77      +10
==========================================================
+ Hits                          774      810      +36
- Misses                         37       41       +4

Impacted Files
Coverage Δ

src/cmp/infrastructure/cmpInitializer.js
100% <100%> (ø)
:arrow_up:

src/cmp/infrastructure/Log.js
88.15% <96.87%> (+2.44%)
:arrow_up:

Continue to review full report at Codecov.

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


Edits to release notes

Edits:

Changed wording to not use "Vectorization Prototype"
Added disclaimer about JDBC compatibility

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/ea62c4bc00d3c30d89fafd2df6aff12999ab36de/
Edited pages:

releases/v19.2.0-beta.20190930.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/86aa3c67af8745d1c3fcc354f2d34c11d6d04318/
Edited pages:

releases/v19.2.0-beta.20190930.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/86aa3c67af8745d1c3fcc354f2d34c11d6d04318/
Edited pages:

releases/v19.2.0-beta.20190930.md


typo: Space in Markdown link to For Dummies link

@nschonni : Thanks for your contribution! The author, @HeidiSteen, has been notified to review your proposed change.

#sign-off   Thanks for the contribution!


Reference import typo

The example is missing or referencing Map with an incorrect export feature of WebMap. The correct export feature should be Map.

Thanks @capegreg! We really appreciate the PR. This issue, along with many other updates for the upcoming 4.19 release, will be fixed soon in PR https://github.com/Esri/jsapi-resources/pull/284.


Add ContinuousIntegrationBuild to DotNetCoreMSBuildSettings

Discussed in https://github.com/cake-build/cake/discussions/3437

Originally posted by RehanSaeed August 29, 2021
ContinuousIntegrationBuild is Documented in https://devblogs.microsoft.com/dotnet/producing-packages-with-source-link/#deterministic-builds and is important for creating deterministic builds on different machines and operating systems. Suggested API:
new DotNetCorePackSettings()
{
    ContinuousIntegrationBuild = true
};

This parameter is an MSBuild property that needs to be present during build (not pack) e.g. via DotNetCoreBuild unless, of course, when DotNetCorePack causes a build to be triggered first, so in both cases, it seems DotNetCoreMSBuildSettings would be a more appropriate place for adding this property.

This parameter is an MSBuild property that needs to be present during build (not pack) e.g. via DotNetCoreBuild unless, of course, when DotNetCorePack causes a build to be triggered first, so in both cases, it seems DotNetCoreMSBuildSettings would be a more appropriate place for adding this property.

Agreed 👍


Add loop

Works similarly to
https://package.elm-lang.org/packages/elm/parser/latest/Parser#loop and allows
indefinitely looping generators without blowing the stack.
This also makes it easier to implement combinators like chain and repeat as described in #20 without any risky business.
I'm not entirely happy with the example usage I came up with, especially because it's really just Random.list... I originally wrote these functions as part of a slack conversation where @ryannhg was running into issues with the stack being blown (try bumping up the depth on line 26). I think @joelq may also have some feedback on this.

Example implementations of chain and repeat:
chain : a -> List (a -> Generator a) -> Generator (List a)
chain seed generators =
    loop ( seed, [], generators ) chainHelp

chainHelp :
    ( a, List a, List (a -> Generator a) )
    -> Generator (Step ( a, List a, List (a -> Generator a) ) (List a))
chainHelp ( seed, acc, generators ) =
    case generators of
        [] ->
            constant (Done (List.reverse (seed :: acc)))

        generator :: rest ->
            map (\v -> Loop ( v, seed :: acc, rest )) (generator seed)

repeat : Int -> a -> (a -> Generator a) -> Generator (List a)
repeat depth seed toGenerator =
    loop ( depth, seed, [] ) (repeatHelp toGenerator)

repeatHelp :
    (a -> Generator a)
    -> ( Int, a, List a )
    -> Generator (Step ( Int, a, List a ) (List a))
repeatHelp toGenerator ( depth, seed, acc ) =
    if depth > 1 then
        map (\v -> Loop ( depth - 1, v, seed :: acc )) (toGenerator seed)

    else
        constant (Done (List.reverse (seed :: acc)))

(this is assuming I understand their intent based on the type signatures)
(repeat could also be chain seed (List.repeat depth toGenerator))

I'm not entirely happy with the example usage I came up with, especially because it's really just Random.list

I think a big win here is that it would allow us to implement Random.Extra.sequence and Random.Extra.traversable in a stack-safe manner. Currently they both stack overflow with a large enough list.
Maybe showing a stack-safe sequence would be a more interesting example usage?

I like using sequence as an example: it's a real life use-case of where a naive approach might end up blowing the stack for sufficiently large input.
There are some downsides, tho!

because the original example uses map2 with the recursion hidden behind foldr, it might be less clear how/why this is problematic
similarly, the "rewrite" procedure is a bit obscured.

Imagine if the original sequence were defined with explicit recursion like so:
sequence : List (Generator a) -> Generator (List a)
sequence = sequenceHelp []

sequenceHelp : List a -> List (Generator a) -> Generator (List a)
sequenceHelp acc generators =
    case generators of
        [] ->
            constant (List.reverse acc)

        generator :: rest ->
            andThen (\v -> sequenceHelp (v  :: acc) rest ) generator

Note: this is closer to what List.foldl (::) (constant []) >> map List.reverse boils down to

Then the "translation" to using loop is much clearer: It's wrapping the terminal case in Done and using map Loop for the recursive case, rather than having explicit recursion.
Interested in how to improve the docs here, and in @mgold's thoughts about (ab)using independentSeed like that...


Add local LLM support

Maybe can work out of the box.
Give a try. On extension options, you'll find there the Base Address parameter.
If you set with your local LLM address maybe works.
Tell me something later the result.

Hi @0Hate, I will close this issue, but if necessary you can reopen.

Looks like its calling /v1/v1 when requesting rather than just v1
[2024-02-03 13:15:37.244] [ERROR] Unexpected endpoint or method. (POST /v1/v1/chat/completions). Returning 200 anyway


Show info from info icons on mouseover

The info icon is a bit small and might still be difficult for users to target easily. Instead of requiring the user to target the icon and click, what if we made it display the information on mouseover?

I'd like us to generally avoid mouseover-driven activity, since these also fire when the user's intention is to do nothing more than move the mouse. I think a few pixels of padding would go a long way here.

I think designs had us removing these info boxes entirely (and not replacing it with anything)

Note to @bradtaylor: there are a few tooltips on plain text:

It seems unlikely that a user would see this information except by happenstance that they move their mouse over this part of the text. This is compared to buttons, which users often hover over.


support import/demux of fastq with barcode in the header line

References

Came up on the forum.
Another case covered by extract_barcodes in qiime1.

Nice write-up on this one here. Closing this one (even though this was opened first) since we have more details on the newer issue submission.


SiteSettings Primary Key error

Hi guys
I get an error when i run python manage.py migrate
(handmade) ➜  saleor git:(master) ✗ python3 manage.py migrate
System check identified some issues:

WARNINGS:
saleor.W001: Session caching cannot work with locmem backend
	HINT: User sessions need to be globally shared, use a cache server like Redis.
Operations to perform:
  Apply all migrations: auth, cart, contenttypes, discount, django_celery_results, django_prices_openexchangerates, impersonate, order, product, sessions, shipping, site, sites, social_django, userprofile
Running migrations:
  Applying cart.0004_auto_20171129_1004... OK
  Applying discount.0006_auto_20171129_1004... OK
  Applying django_celery_results.0001_initial... OK
  Applying impersonate.0001_initial... OK
  Applying order.0019_auto_20171109_1423... OK
  Applying order.0020_auto_20171123_0609... OK
  Applying order.0021_auto_20171129_1004... OK
  Applying order.0022_auto_20171205_0428... OK
  Applying order.0023_auto_20171206_0506... OK
  Applying order.0024_remove_order_status... OK
  Applying order.0025_auto_20171214_1015... OK
  Applying order.0026_auto_20171218_0428... OK
  Applying product.0036_auto_20171115_0608... OK
  Applying product.0037_auto_20171124_0847... OK
  Applying product.0038_auto_20171129_0616... OK
  Applying product.0037_auto_20171129_1004... OK
  Applying product.0039_merge_20171130_0727... OK
  Applying product.0040_auto_20171205_0428... OK
  Applying product.0041_auto_20171205_0546... OK
  Applying product.0042_auto_20171206_0501... OK
  Applying product.0043_auto_20171207_0839... OK
  Applying shipping.0006_auto_20171109_0908... OK
  Applying shipping.0007_auto_20171129_1004... OK
  Applying site.0006_auto_20171025_0454... OK
  Applying site.0007_auto_20171027_0856...Traceback (most recent call last):
  File "/Users/raybesiga/Projects/saleor/handmade/lib/python3.6/site-packages/django/db/models/query.py", line 464, in get_or_create
    return self.get(**lookup), False
  File "/Users/raybesiga/Projects/saleor/handmade/lib/python3.6/site-packages/django/db/models/query.py", line 380, in get
    self.model._meta.object_name
__fake__.DoesNotExist: SiteSettings matching query does not exist.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/raybesiga/Projects/saleor/handmade/lib/python3.6/site-packages/django/db/backends/utils.py", line 65, in execute
    return self.cursor.execute(sql, params)
psycopg2.IntegrityError: duplicate key value violates unique constraint "site_sitesettings_pkey"
DETAIL:  Key (id)=(1) already exists.

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

Traceback (most recent call last):
  File "manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/Users/raybesiga/Projects/saleor/handmade/lib/python3.6/site-packages/django/core/management/__init__.py", line 364, in execute_from_command_line
    utility.execute()
  File "/Users/raybesiga/Projects/saleor/handmade/lib/python3.6/site-packages/django/core/management/__init__.py", line 356, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/Users/raybesiga/Projects/saleor/handmade/lib/python3.6/site-packages/django/core/management/base.py", line 283, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/Users/raybesiga/Projects/saleor/handmade/lib/python3.6/site-packages/django/core/management/base.py", line 330, in execute
    output = self.handle(*args, **options)
  File "/Users/raybesiga/Projects/saleor/handmade/lib/python3.6/site-packages/django/core/management/commands/migrate.py", line 204, in handle
    fake_initial=fake_initial,
  File "/Users/raybesiga/Projects/saleor/handmade/lib/python3.6/site-packages/django/db/migrations/executor.py", line 115, in migrate
    state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial)
  File "/Users/raybesiga/Projects/saleor/handmade/lib/python3.6/site-packages/django/db/migrations/executor.py", line 145, in _migrate_all_forwards
    state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)
  File "/Users/raybesiga/Projects/saleor/handmade/lib/python3.6/site-packages/django/db/migrations/executor.py", line 244, in apply_migration
    state = migration.apply(state, schema_editor)
  File "/Users/raybesiga/Projects/saleor/handmade/lib/python3.6/site-packages/django/db/migrations/migration.py", line 129, in apply
    operation.database_forwards(self.app_label, schema_editor, old_state, project_state)
  File "/Users/raybesiga/Projects/saleor/handmade/lib/python3.6/site-packages/django/db/migrations/operations/special.py", line 193, in database_forwards
    self.code(from_state.apps, schema_editor)
  File "/Users/raybesiga/Projects/saleor/saleor/site/migrations/0007_auto_20171027_0856.py", line 21, in link_to_sites
    defaults={'domain': site.domain, 'name': site.name})
  File "/Users/raybesiga/Projects/saleor/handmade/lib/python3.6/site-packages/django/db/models/manager.py", line 85, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/Users/raybesiga/Projects/saleor/handmade/lib/python3.6/site-packages/django/db/models/query.py", line 466, in get_or_create
    return self._create_object_from_params(lookup, params)
  File "/Users/raybesiga/Projects/saleor/handmade/lib/python3.6/site-packages/django/db/models/query.py", line 506, in _create_object_from_params
    six.reraise(*exc_info)
  File "/Users/raybesiga/Projects/saleor/handmade/lib/python3.6/site-packages/django/utils/six.py", line 686, in reraise
    raise value
  File "/Users/raybesiga/Projects/saleor/handmade/lib/python3.6/site-packages/django/db/models/query.py", line 498, in _create_object_from_params
    obj = self.create(**params)
  File "/Users/raybesiga/Projects/saleor/handmade/lib/python3.6/site-packages/django/db/models/query.py", line 394, in create
    obj.save(force_insert=True, using=self.db)
  File "/Users/raybesiga/Projects/saleor/handmade/lib/python3.6/site-packages/django/db/models/base.py", line 807, in save
    force_update=force_update, update_fields=update_fields)
  File "/Users/raybesiga/Projects/saleor/handmade/lib/python3.6/site-packages/django/db/models/base.py", line 837, in save_base
    updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields)
  File "/Users/raybesiga/Projects/saleor/handmade/lib/python3.6/site-packages/django/db/models/base.py", line 923, in _save_table
    result = self._do_insert(cls._base_manager, using, fields, update_pk, raw)
  File "/Users/raybesiga/Projects/saleor/handmade/lib/python3.6/site-packages/django/db/models/base.py", line 962, in _do_insert
    using=using, raw=raw)
  File "/Users/raybesiga/Projects/saleor/handmade/lib/python3.6/site-packages/django/db/models/manager.py", line 85, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/Users/raybesiga/Projects/saleor/handmade/lib/python3.6/site-packages/django/db/models/query.py", line 1076, in _insert
    return query.get_compiler(using=using).execute_sql(return_id)
  File "/Users/raybesiga/Projects/saleor/handmade/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 1107, in execute_sql
    cursor.execute(sql, params)
  File "/Users/raybesiga/Projects/saleor/handmade/lib/python3.6/site-packages/django/db/backends/utils.py", line 80, in execute
    return super(CursorDebugWrapper, self).execute(sql, params)
  File "/Users/raybesiga/Projects/saleor/handmade/lib/python3.6/site-packages/django/db/backends/utils.py", line 65, in execute
    return self.cursor.execute(sql, params)
  File "/Users/raybesiga/Projects/saleor/handmade/lib/python3.6/site-packages/django/db/utils.py", line 94, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "/Users/raybesiga/Projects/saleor/handmade/lib/python3.6/site-packages/django/utils/six.py", line 685, in reraise
    raise value.with_traceback(tb)
  File "/Users/raybesiga/Projects/saleor/handmade/lib/python3.6/site-packages/django/db/backends/utils.py", line 65, in execute
    return self.cursor.execute(sql, params)
django.db.utils.IntegrityError: duplicate key value violates unique constraint "site_sitesettings_pkey"
DETAIL:  Key (id)=(1) already exists.

(handmade) ➜  saleor git:(master) ✗

Should i delete the database and recreate it? I run python manage.py migrate before and got a urllib error so there should not be an issue. Please advise.

This migration tries to create a SiteSettings object corresponding to the Site from django.contrib.sites. In this case, you should be fine with recreating the database and running migrations again, but this migration shouldn't fail in such case. We'll have to check this.

I've seen this once and it was related to the PostgreSQL sequence not being updated so it tried to insert a second row while using PK equal to 1.

@raybesiga as a temporary workaround you could try to run:
manage.py dbshell

And then:
ALTER SEQUENCE site_sitesettings_id_seq RESTART WITH 2;

Thanks @patrys I decided to follow @elwoodxblues advice and create a new database. It is a weird case though..

I think this is resolved by now


fix: add shabang for running setup-cpp.js

@abeimler Does this fix your issue?

I ran ./dist/node12/setup-cpp.js and ./dist/node16/setup-cpp.js (without node):
Failed to get the ubuntu major version.
setup-cpp was called without any arguments. Nothing to do.

seems to work, no error


Retrieve the MTU of a connected central

Description of Change
An integer property has been added to provide the MTU size of the connected peripheral within the Hosting library.
iOS leverages the CBCentral.MaximumUpdateValueLength property.
Windows leverages the GattSession.MaxPduSize property.
Android was the most complicated to solve. The solution I have gone for on Android is to simply use the Bluetooth LE default MTU size of 20. If the OnMtuChanged(BluetoothDevice peripheral, int mtu) method is called within the GattServerContext, then the default MTU value that was originally provided will be updated.
API Changes
Added Shiny.BluetoothLE.Hosting.IPeripheral.Mtu: int
Platforms Affected

All

Behavioral Changes
None
Testing Procedure
iOS is the only platform that I have the capability to test on.
To perform the test, I connected one iOS device to another and wrote out the IPeripheral.Mtu value when the client device subscribed to a notification on the server.
An example project can be found here:
https://github.com/rhinohq/ShinyBluetoothTest
PR Checklist

[x] Rebased on top of the target branch at time of PR
[x] Changes adhere to coding standard
[x] Sent to DEV branch

Thanks for the PR


Updates to the long-term policy compliance history design

See each commit for details.

/cc @gparvin @JustinKuli


Define Repository

Define a repository interface and first implementation. What should happen with the data fetched from a site? E.g. Stored in a DB, POSTed to an http endpoint, stored to a file etc.
First repository implementation: write each crawled web page to a text file.

done on branch 8; still needs unit testing.

done


[DS-3989] Always capture curation task output.

https://jira.duraspace.org/browse/DS-3989
See also https://wiki.duraspace.org/display/~terrywbrady/Curation+System+Needs
Make reporting a bit more abstract, so that different triggers can handle reports differently.
Give more flexibility in reporting than "standard output or nothing".
Capture all reports, not just the last one.
Passes manual CLI testing and integration test.

It is nice to see a start on this especially if that start could be fairly simple.
I see that the print writer is used.  Are there any limitations to the output format that could be produced (TXT, JSON, other)
Given the implementation, how could the following be accomplished

Would the UI be able to instruct the curation task that output should be preserved?  Could the UI then retrieve that ouput?
Could a CLI invocation instruct the curation task to preserve output?  Will the CLI task know the resulting output file path?
If either CLI or UI wants to defer a curation task to the queue, how would that change the serialized ouput?

The tasks can report anything that can be sent to an Appendable.  The PrintWriter Appendable accepts characters, arrays of characters, and things that can be converted to arrays of characters.  Your task can write JSON 'String's to it if you wish.  The user may not thank you, if he runs it on the console.
There is no GUI code yet, so it can do what it will with the output.  Curator receives and Appendable, which can do anything with the stuff appended to it.  That's why I chose such an abstract interface.
The CLI task runner already has an output option -- see the -r option.  At the moment, output is discarded if there is no -r; '-r -' results in console output; '-r /path/to/a/file' results in file output.  There is no such thing as a "CLI task" -- the task only knows that it is to do something to some DSpaceObject and perhaps report its activity, but not what happens to the report.
Queued tasks:  the queues are drained by the CLI tool, so you have the same options as you have with immediate runs.  If someday we have a GUI interface for "run queued tasks" then it can supply any sort of Appendable to handle the output.
If you want to see a sample of how output might be preserved when there is no CLI running, take a look at WorkflowCuratorService, which runs deep inside the submission workflow.  The patch collects task output as files in '[dspace]/logs/curation-YYYYMMDDThhmmssSSS.log'.

I would suggest that turning reports into JSON, or HTML, or ASN.1, or whatever, is the responsibility of the code which invokes the Curator.  It may be that we need to invent a kind of language for expressing structure, and then the method signatures can be amended to accept Appendable.  We could then provide some rendering methods to turn a UnitOfOurLanguage into flat text, markup, serialized structures in a database....

Again I would consider log file naming, or whether there is a file at all, to be the responsibility of the code that instantiates the Curator.  I'm treating reporting as a property of the Curator, not of the tasks that it happens to be running.  Have the caller pass an appropriate report sink, whatever that entails.
As I read the original intent, a task was meant to be unaware of its environment beyond the boundaries of DSpace.  It is given a DSO; it can manipulate that DSO or in fact any part of the DSpace data model; it is given a way to report on its work; it may be given some parameters.  That's all.  It is indirectly coupled to the environment by the invoking code, through a Curator instance which hides from the task the details of how that task is managed.

Take another look at what Curator does.  It runs a list of tasks over a tree of DSOs.  The output of all of those task invocations is one report.  Thus tasks should not be able to influence the output destination or they will step on each other.

If there is a need for a task to know what kind of output (plain text, JSON, etc.) is wanted, see #2181 and also "task properties".

I think the blank log records are fixed -- I couldn't reproduce them after adding a test to skip flushing the record buffer if it's empty.

Rebased to cure conflicts.

Rebased to fix a conflict.


Create ci_actions.yml

Implements a CI GitHub action for code quality checking.

Seems to be working properly. By the way, it needs a rebase :+1:

The flake8 tool suggests to remove the setup_orekit_curdir from orekit_orbit.py. However, if this line is removed, the pytest tests/ does not execute properly... This is weird because should be fixed by the custom setup_orekit_env function in utils.py :thinking:

Cool! The orekit/tests are now being executed by the CI action. I will try to finish this tomorrow so it is finally ready for a review :rocket:

The flake8 tool suggests to remove the setup_orekit_curdir from orekit_orbit.py. However, if this line is removed, the pytest tests/ does not execute properly... This is weird because should be fixed by the custom setup_orekit_env function in utils.py thinking

It seems that orekit-data.zip holds all the org. routines. Hence, our custom function setup_orekit_env() should be defined before all the org.orekit and org.hipparchus import statements.
Hoever, this new order makes flake8 to raise the E402 error, see:
E402 module level import not at top of file

How could we proceed, @astrojuanlu? Should we ignore this error in the ci_actions.yml under the extra-flake8-options variable?

⚠ HISTORY HAS BEEN REWRITTEN ⚠ This will need a rebase

About your comment above @jorgepiloto , I suggest we do this instead: https://flake8.pycqa.org/en/3.1.1/user/ignoring-errors.html#in-line-ignoring-errors

Sure! I did not know about ignoring inline errors :open_mouth:

Sorry for this mess with the quality checks. I am not sure why my local configuration does not match the one from the actions YAML file :sweat:

Merging this! All tests passing now :rocket:


Multi-Language Routing not working as documented

Hello,
probably there's a typo in this part of this document https://learn.getgrav.org/content/multi-language#multi-language-routing, because it says that the Freanch produced url for the given folder structure is http://yoursite.com/animaux/mammiferes/ours while the real produced url is http://yoursite.com/fr/animaux/mammiferes/ours. To me, the first url is preferable, so is there a way to remove the language prefix from other pages than the default one? My system.yaml configuration is
languages:
  translations: true
  include_default_lang: false
  http_accept_language: false
  override_locale: false
  supported:
    - it
    - en

As configured, Italian is your default language. Put French first (the default position) and things should work.

@Perlkonig in my real case Italian correspond to French in example, so it is the defaukt one and works as expected. The problem is with English language url http://mysite/en/collection/product which should be http://mysite/collection/product

Sorry for the misunderstanding. The example in the docs uses custom slugs so the language isn't needed. Your config seems fine, but I can't see your page files. If you don't override the routing, then the language portion is necessary. Read the docs you linked to again and you will see the examples. I'm surprised there's not a multi-language example skeleton.

There is a skeleton called "Multilang" that is a basic multi-language example.

I'll try to take a look at this specific question tomorrow.

How odd. Searching with a capital M didn't pull  that skeleton up, but lowercase did. Might be my phone ☺

No, it's true, it's a bug in the search on the Grav site

As for the OP issue, it's expected as per https://github.com/getgrav/grav/blob/develop/system/src/Grav/Common/Service/PageServiceProvider.php#L65-L67
So we should either state this in the docs, or find a way to disable this automated redirect to a lang safe route.

Speaking of lang routing. I experienced an issue while changing languages. With 2 langs enabled (namely EN and PL) I made a page "portfolio". Default lang is EN, folder's name is portfolio, in PL I defined slug as "oferta". When on EN version of the site link on lang switcher for PL points to /pl/portfolio. After clicking it the site changes to /pl/portfolio but the link on lang switcher for PL is now /pl/oferta (which is the correct one). So basically one page has two different URLs.

That is expected.  The slug is the route the browser users to reach the page.  If you change the slug, you change the URL.  The langswitcher actually points to the /pl/portfolio, which is the "rawroute", after it reaches that, grav will redirect to the defined slug-based route.

Redirects like in 301 redirects? Because I don't see any redirecting on mine :(

It's an optional setting in system.yaml:
pages:
    redirect_default_route: true

Closing to due to inactivity

Same issue over here.
I would like to remove language prefixes if I define slug. as I have multiple site setup and dont want to indicate languages in url.

You cannot remove language prefix entirely if the language is not the default language.  Grav only loads 1 set of pages for a particular language at a time and therefore doesn't know what custom routes/slugs are set if it doesn't know the language you are in.  This is the compromise we made for powerful and flexible language configuration without a performance impact.


When mod is installed, no Logs at all appear and server not starting

As soon as i install the mod, the Server refuses to start and ist stuck in a whered state. I set the bot token, webhook, channel id and world name correctly, but the bot still refuses to start and is shown offline in discord.
The worst thing is: i dont even get a chat log why it is not launching or what is wrong.

Can MCDC show config not found when config doesn't exist?

Can MCDC show config not found when config doesn't exist?

It definitly is not displaying any error messages about issues in cofig. it definitly exists.

What if you leave only MCDC and Fabric API?

doesnt work. the only special thing of the server is the world name being Ignacia instead of world

What if you leave only MCDC and Fabric API?

Can you post the complete log of that?

java -Xms128M -Xmx12000M -Dfml.readTimeout=60 -jar fabric-server-launch.jar
Starting net.fabricmc.loader.impl.game.minecraft.BundlerClassPathCapture
[14:37:00] [INFO] [FabricLoader/GameProvider]: Loading Minecraft 1.18.1 with Fabric Loader 0.12.12
[14:37:01] [main/INFO]: Loading Minecraft 1.18.1 with Fabric Loader 0.12.12
[14:37:01] [main/WARN]: Warnings were found!
 - Mod 'Fabric Rendering Fluids (v1)' (fabric-rendering-fluids-v1) 0.1.18+3ac43d9565 recommends any version of fabric-textures-v0, which is disabled for this environment (client/server only)!
         - You should install any version of fabric-textures-v0 for the optimal experience.
[14:37:01] [main/INFO]: Loading 51 mods:
        - com_fasterxml_jackson_core_jackson-annotations 2.13.1 via mcdiscordchat
        - com_fasterxml_jackson_core_jackson-core 2.13.1 via mcdiscordchat
        - com_fasterxml_jackson_core_jackson-databind 2.13.1 via mcdiscordchat
        - com_konghq_unirest-java_standalone 3.13.4 via mcdiscordchat
        - com_neovisionaries_nv-websocket-client 2.14 via mcdiscordchat
        - com_squareup_okhttp3_okhttp 3.14.9 via mcdiscordchat
        - com_squareup_okio_okio 1.17.5 via mcdiscordchat
        - com_vdurmont_emoji-java 5.1.1 via mcdiscordchat
        - fabric 0.46.1+1.18
        - fabric-api-base 0.4.1+b4f4f6cd65 via fabric
        - fabric-api-lookup-api-v1 1.5.0+17be577f65 via fabric
        - fabric-biome-api-v1 6.0.1+ded849a965 via fabric
        - fabric-command-api-v1 1.1.6+3ac43d9565 via fabric
        - fabric-commands-v0 0.2.5+b4f4f6cd65 via fabric
        - fabric-containers-v0 0.1.18+d154e2c665 via fabric
        - fabric-content-registries-v0 0.4.5+6f53a73d65 via fabric
        - fabric-crash-report-info-v1 0.1.8+3ac43d9565 via fabric
        - fabric-dimensions-v1 2.1.9+a1d9bbf565 via fabric
        - fabric-entity-events-v1 1.4.5+6b21378a65 via fabric
        - fabric-events-interaction-v0 0.4.16+bfa23f1765 via fabric
        - fabric-events-lifecycle-v0 0.2.6+b4f4f6cd65 via fabric
        - fabric-game-rule-api-v1 1.0.10+3ac43d9565 via fabric
        - fabric-item-api-v1 1.3.0+691a79b565 via fabric
        - fabric-item-groups-v0 0.3.3+3ac43d9565 via fabric
        - fabric-lifecycle-events-v1 1.4.10+c15ca33565 via fabric
        - fabric-loot-tables-v1 1.0.8+3ac43d9565 via fabric
        - fabric-mining-level-api-v1 1.0.3+3ac43d9565 via fabric
        - fabric-mining-levels-v0 0.1.8+b4f4f6cd65 via fabric
        - fabric-networking-api-v1 1.0.18+3ac43d9565 via fabric
        - fabric-networking-v0 0.3.5+b4f4f6cd65 via fabric
        - fabric-object-builder-api-v1 1.11.1+3b82842e65 via fabric
        - fabric-object-builders-v0 0.7.9+3ac43d9565 via fabric
        - fabric-particles-v1 0.2.9+526dc1ac65 via fabric
        - fabric-permissions-api-v0 0.1-SNAPSHOT via luckperms
        - fabric-registry-sync-v0 0.9.0+befed49e65 via fabric
        - fabric-rendering-data-attachment-v1 0.3.4+7242e9d765 via fabric
        - fabric-rendering-fluids-v1 0.1.18+3ac43d9565 via fabric
        - fabric-resource-conditions-api-v1 1.0.1+13eda06565 via fabric
        - fabric-resource-loader-v0 0.4.11+3ac43d9565 via fabric
        - fabric-screen-handler-api-v1 1.1.11+3ac43d9565 via fabric
        - fabric-structure-api-v1 2.1.0+0a73a6c265 via fabric
        - fabric-tag-extensions-v0 1.2.5+3ac43d9565 via fabric
        - fabric-tool-attribute-api-v1 1.3.5+fb3b57b465 via fabric
        - fabric-transfer-api-v1 1.5.6+b4f4f6cd65 via fabric
        - java 17
        - mcdiscordchat 1.18-1.11.4
        - minecraft 1.18.1
        - net_dv8tion_jda 5.0.0-alpha.4 via mcdiscordchat
        - net_sf_trove4j_trove4j 3.0.3 via mcdiscordchat
        - org_apache_commons_commons-collections4 4.4 via mcdiscordchat
        - org_json_json 20210307 via mcdiscordchat
[14:37:01] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.4 Source=file:/home/container/libraries/net/fabricmc/sponge-mixin/0.10.7+mixin.0.8.4/sponge-mixin-0.10.7+mixin.0.8.4.jar Service=Knot/Fabric Env=SERVER
[14:37:01] [main/INFO]: Compatibility level set to JAVA_16
[14:37:01] [main/INFO]: Compatibility level set to JAVA_17
[14:37:03] [main/WARN]: @Inject(@At("INVOKE")) Shift.BY=3 on fabric-lifecycle-events-v1.mixins.json:server.WorldChunkMixin::handler$zcj000$onLoadBlockEntity exceeds the maximum allowed value: 0. Increase the value of maxShiftBy to suppress this warning.
[14:37:04] [main/INFO]: Initializing...
[14:37:04] [main/INFO]: Initializing...

Can MCDC show config not found when config doesn't exist?

It definitly is not displaying any error messages about issues in cofig. it definitly exists.

What if you rename mcdiscordchat.json to example.json and leave only MCDC and Fabric API?
Can you post the complete log of that?
This is the first time I see the Initializing... thing...

its from Fabric API... If i dont have your mod installed its continuing, but it seems to be a hard break

        - fabric-transfer-api-v1 1.5.6+b4f4f6cd65 via fabric
        - fabricloader 0.12.12
        - java 17
        - mcdiscordchat 1.18-1.11.4
        - minecraft 1.18.1
        - net_dv8tion_jda 5.0.0-alpha.4 via mcdiscordchat
        - net_sf_trove4j_trove4j 3.0.3 via mcdiscordchat
        - org_apache_commons_commons-collections4 4.4 via mcdiscordchat
        - org_json_json 20210307 via mcdiscordchat
[22:13:09] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.4 Source=file:/C:/Users/Xujiayao/Desktop/Server%201.18.1/libraries/net/fabricmc/sponge-mixin/0.10.7+mixin.0.8.4/sponge-mixin-0.10.7+mixin.0.8.4.jar Service=Knot/Fabric Env=SERVER
[22:13:09] [main/INFO]: Compatibility level set to JAVA_16
[22:13:09] [main/INFO]: Compatibility level set to JAVA_17
[22:13:20] [main/WARN]: @Inject(@At("INVOKE")) Shift.BY=3 on fabric-lifecycle-events-v1.mixins.json:server.WorldChunkMixin::handler$zcb000$onLoadBlockEntity exceeds the maximum allowed value: 0. Increase the value of maxShiftBy to suppress this warning.
[22:13:27] [main/INFO]: Login Successful!
[22:13:28] [JDA MainWS-WriteThread/INFO]: Connected to WebSocket
[22:13:28] [JDA MainWS-ReadThread/INFO]: Finished Loading!
[22:13:31] [main/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'

Normally it should be like this.
I saw some issues related to JDA and Linux systems, do you have a macOS or Windows computer around you can try to run the server?

sure. it may take some time downloading the server to it... 2h should do it.
Even thou technically Pterodactyl shoudn't be the issue. Its running in a pure docker environment

Thanks! Looking forward to your latest news.

Any updates?

I'm closing this issue since there was no activity in this issue for one month. It is therefore assumed that the user has lost interest or resolved the problem on their own.
If this is in error, let me know with a comment and I'll be happy to reopen this issue.

Please provide more information. If you have resolved the problem on your own, please let me know too. Thx.

I fixed the server by reinstalling everything. Updating Java, The fabric jar and api and then it worked. If this issue happens again this should fix it.
And the mentioned issue from perhaps only having one thread is definitly not the case for me too. My CPU is the Ryzen 9 5950X, with all cores available to the server

Most likely it's because of updating Java that solved your problem.
In addition, when you submit an issue in any project on GitHub in the future, please tell the project author after solving the problem yourself, thank you.


Replaced binaries with nuget packages

Storing huge binaries in a project is hardly a good practice and that was my first obstacle on the way of adopting canopy to my project. The other obstacle is that the drivers in this project are not compatible with current version of chrome.
Here's small PR that replaces binaries with nuget packages. Works well with new project system (netcore sdk).

Thanks!


Request Progress

There's not an easy way to tap into download progress, a useful feature for large downloads or uploads.

hi

hi @joshuawright11


Unable to build for test

It looks like the build/contribute instructions are outdated.
npm run watch errors  with:
ERROR in ./src/index.ts
Module build failed: A file specified in tsconfig.json could not be found: /Users/ghost/tmp/wp-api-angularjs/typings/overwrite.d.ts

and the script for devserver is missing from the package.json
I tested like 15 minutes after you pushed the 3.0.x branch up. Was super happy to see angular2 support :)

cool, sorry I forgot to push a file. It is now ok on develop. let me know if it works ;)

re run cp config.dist.json config.json so you will get the latest config that works with my web service.
you can use my baseurl if you do not have yours "baseUrl": "http://dev.julienrenaux.fr/wp-json/"

if you need help I am on the chat https://gitter.im/shprink/wp-api-angularjs

Adding the missing file fixed the problem.


data.value returning undefined

data.value is returning undefined when it is the first time adding the setting field.
so, It is throwing the following error
Uncaught TypeError: Cannot use 'in' operator to search for 'undefined' in

Good catch, thanks!
Merging.


Can't install in Laravel 10 project

I just upgraded my current project to Laravel 10 successfully except this package. Apparently, the problem is in the watson/validating dependency of rinvex/laravel-support.
Currently it depends on watson/validating:7.0.0 which is not compatible with Laravel 10. The version that should be used is 8.0.0
https://github.com/dwightwatson/validating/blob/8.0.0/composer.json
Edit: I have just seen  the new PR's in laravel-support repository.

Please, it would be great if this could be merge as soon as possible. Upgraded projects to Laravel 10 do not work with this package.

Any updates?

+1

Is this abandoned?

+1

@rlidev @darkons @MirazMac @batv45 fixed in latest release https://github.com/rinvex/laravel-categories/commit/0790a7a4e05fd975f7e63558297ea5f369f6ebdc


Streamlined Repository for Experiment Reproducibility

Added Data, Experiment Code, and Model Weights
This PR modifies the repository to align it with the requirements of the experiments conducted for biomarker predictions. Below are the key changes made:

Removed unnecessary files and code
added data for ground truth
incorporate scripts for data preprocessing
incorporated experiment code for running the attMIL and XGB models
incorporated explainability code
added model weights for trained attMIL models

Done

Created by mistake, not intended for this repository.


Add Support for Creating/Signing Endorsements

There's a bunch of junk commits on this because of a lot of stuff I did on v1 that I never PR'd. The PR itself should be pretty clean and only adds functionality; doesn't modify anything else.
SignOperation does not work on endorsements because endorsements have a different watermark value (3) and also require the chainID as part of the contents to sign.

Thanks @utdrmac!
You've always been a great help. I actually have been working on this myself and have successfully completed the forging of all operations locally including michelson in transactions/originations. These features are to be included in go-tezos/v3 which is on target to release at the end of September.
Take a look at the forge package here: https://github.com/goat-systems/go-tezos/blob/v3/forge/operations_prototype.go

Sweet. I'll take a look. My custom endorser has been running solid on carthagenet since Jan'20. I've been putting off working on block creation until now. I really want a custom baker so I can do various logic improvements.

@utdrmac I actually have been wanting to do the same thing for a while now. Specifically I would like to create a failover system integrated within a custom baker, which as you know carries a lot of risk. Maybe once this grant is done, we can collaborate on our mutual goal?

Ha. Great minds think alike. I've been wanting to make a baker that uses something like Paxos or Raft for consensus. That way I could have multiple bakers running, but only 1 can be leader at any given time. Yes, extremely risky for double-bake.

Going to close this. Supported in V4 including your suggested bug fix.


Banned from Cloudflare for too many request

Hi !
On a e-commerce website using Cloudflare, Cloudfare banned me frequently, for an hour.
After discussing with the e-commerce support team, it look like my IP adress was banned from Cloudflare because of to many attempt to the human.txt file.
I disabled this extension and the problem disappear. There's maybe a cache problem ?

Oh man, thanks, sorry for the inconvenience! I'll see how it can be improved. In the meantime, I'm sorry to say that you should keep the extension disabled 😓


HUE-9549 [SQLAlchemy] API - Support explain

Ping

closing this one. New PR -> https://github.com/cloudera/hue/pull/1476


[BUG] Putting logger eventhublogger failed

Release version
v.2.1.0
Describe the bug
When I am running Publisher pipeline for Prod environmnt I am getting logger eventhub logger failed error. My Production APIM instance has event hub logger under Named valued.
I have YAML configuration for Prod where (configuration.prod.yaml) where my even hub logger id is being overritten.
Bellow is a snippet of my configuration.prod.yaml for my event hub logger:

name: eventhublogger
properties:
loggerType: azureEventHub
description: prod event hub
resourceId: "/subscriptions/************/resourceGroups/APIMDemoPRDResourceGroup-EU1/providers/Microsoft.ApiManagement/service/apim-prd-dc/loggers/eventhublogger"
credentials:
instrumentationKey: "{{Logger-Credentials--609}}"
isBuffered: true

Expected behavior
Publisher pipeline should pick the logger id from prod.yam coviguration file automatically when running pipeline.
Actual behavior
It seems like publisher pipeline took both values, lower environmnt logger id and the orne from configuration.prod.yaml and is throwing this error:
info: Publisher[0]       Putting logger eventhublogger... info: Publisher[0]       Putting logger apimdemo... crit: Publisher[0]       System.InvalidOperationException: HTTP request to URI https://management.azure.com/subscriptions/***/resourceGroups/APIMDemoPRDResourceGroup-EU1/providers/Microsoft.ApiManagement/service/apim-prd-dc/loggers/eventhublogger?api-version=2021-12-01-preview failed with status code 400. Content is '{"error":{"code":"ValidationError","message":"One or more fields contain incorrect values:","details":[{"code":"ValidationError","target":"One or more Properties ['{0}'] specified are missing.","message":"Logger-Credentials--6*****************************2b,Logger-Credentials--637c***************9"}]}}'.
Reproduction Steps

Create a Now an Event Hub for higher environmnets
Next step configure a Logger in your higher environments API Management service, so that it can log events to the Event Hub.
Add the new event hub logger information in the configuration.prod.yaml file
Run publisher pipeline

@dcucereavii-ms The issue may be related to the credentials property for a loggerType of 'azureEventHub' which uses "connectionString" and not "instrumentationKey".  The 'applicationInsights' loggerType uses "instrumentationKey".
In your configuration yaml, try changing "instrumentationKey" to "connectionString".
Example:
- name: apimeventhublogger
loggerType: azureEventHub
description: "Event Hub Logger"
resourceId: "/subscriptions/...../resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/apim-service-name/loggers/apimeventhublogger"
credentials:
connectionString: "{{Logger-Credentials--12345}}"
isBuffered: true

@dcucereavii-ms  please close the issue if you think @rob-mckenna answer was helpful.


Quotes plugin does not work (at least on Twitch)

zorael: !quote herp derp 2
kamelosobot: Quote zorael #1 saved.
zorael: !quote
kamelosobot: No quote on record for zorael.

Fixed in f33e3ffc00834ce2a2b7ea153266a0e9f57b5805.


federated repositories missing properties supported in local repositories

Describe the bug
A Federated repository should have the same set of properties supported as a local repository resource.
Requirements for and issue
terraform version
Terraform v1.1.7
on linux_amd64
+ provider registry.terraform.io/jfrog/artifactory v6.5.1

curl -s https://artifactory.com/artifactory/api/system/version | jq .version
"7.35.2"

resource "artifactory_federated_docker_repository" "my" {
  key             = "my"
  max_unique_tags = 10
  member {
    url     = "http://localhost"
    enabled = true
  }
}

Error: Unsupported argument
│
│   on federated.tf line 247, in resource "artifactory_federated_docker_repository" "my":
│  247:   max_unique_tags = 10
│
│ An argument named "max_unique_tags" is not expected here.

Expected behavior
The only difference between local and federated resources should be federation members. All other repository properties must be the same.
 We will work on this in upcoming sprint.

@alexhung I am just wondering if 6.6.1 release has been postponed intentionally or if you folks just forgot to release it?

@daftping 🤣 Totally my fault! Releasing now.

@daftping Thank you for pointing me to tfschema. That's very helpful tool!


How can I produce the test bitcoin?

I want to do a trade test between my 2 accounts. But I don't have bitcoin and money. How can I produce the test bitcoin?

@UfukAntep You need to deposit BTC through faucet to this accounts.