[5.1] Distinction between real @parent and echoed content

This PR fixes security issue: @parent from view data was treated as real @parent.
This is an idea for non-breaking approach without restructuring everything. Needs review and tests.

Closes #10068.

Broken build.

Could you add tests that failed before and now pass please?

Yes, but not until tomorrow (UTC+2).

@GrahamCampbell ?

@taylorotwell I wonder if this change should be made on 5.2 and not 5.1, since it's a massive BC break, and the security implications are only minor.

What is the massive BC break?

People might be relying on the fact that the parent processing is done at the factory level, and not at the compiler level. That's quite a big change to make.

Can you give an example of how it would break an application?

{{ '@parent' }} - that used to work, now doesn't

Thanks <3

Thanks you very much @dmgawel. :)

Thanks very much :+1:

Great job! :clap:

Not sure if this is intentional and will stay like this but before if you had:
a layout file with
@yield('scripts')
a child file which extends layout with
@section('scripts')
@parent
<script>
    $(document).ready(function() {
     //foo
    });
</script>
@stop

and then the child above also had multiple @include at some point which had their own:
@section('scripts')
@parent
<script>
    $(document).ready(function() {
      //bar
    });
</script>
@stop

All the @sections were passed along correctly but now the @section inside the @include is ignored.
I found this really helpful in scenarios where for example I had a media manager page. This media manager had multiple sections (tabs). One to upload, another to attach markup, another to embed etc. To help keep things manageable each tabs code and its related scripts section were in a separate @include file.
I think with this merge now all the scripts have to be bunched up in to the childs @section which isn't a big problem, but it previously sectioned off nicely :(

Can you give us the full views to try out?
On Friday, September 4, 2015, atmediauk<EMAIL_ADDRESS>wrote:

Not sure if this is intentional and will stay like this but before if you
had:
a layout file with
@yield('scripts')
a child file which extends layout with
@section('scripts')
@parent

@stop
and then the child above also had multiple @include
https://github.com/include at some point which had their own:
@section('scripts')
@parent

@stop
All the @sections https://github.com/sections were passed along
correctly but now the @section https://github.com/section inside the
@include https://github.com/include is ignored.
I found this really helpful in scenarios where for example I had a media
manager page. This media manager had multiple sections (tabs). One to
upload, another to attach markup, another to embed etc. To help keep things
manageable each tabs code and its related scripts section were in a
separate @include https://github.com/include file.
I think with this merge now all the scripts have to be bunched up in to
the childs @section https://github.com/section which isn't a big
problem, but it previously sectioned off nicely :(
—
Reply to this email directly or view it on GitHub
https://github.com/laravel/framework/pull/10122#issuecomment-137703402.

This PR has been reverted. It can be attempted on 5.2. We also need to stop referring to it as a security issue since we have no known security exploit related to this bug.

Thanks for that Taylor, will put together a more complete example of what I meant.


Timetable

Add timetable scene for booking and viewing bookings

[ ] Display new day by navigating with arrows (maybe not later than today)
[ ] Scroll to current time
[ ] Show current time
[ ] Grey out unbookable slots (i.e. too late to book)
[ ] Able to book slots
[ ] Able to delete booking slots
[ ] Rules for time
[ ] Grey out slots for broken machines

Created new issue #21 for unsolved point in checklist.

Created new issue #22 for unsolved point in checklist.


Setting a particular initial color and I dont get the full range of colors from the slider

I have set the initial color as #1f5257
<ReactColorPicker
      color="#1f5257"
      onChange={onColorChange}
/>

Then when I look at the color slider it doesnt feel like its pointing at the right color. Then when I move it around the colors are quite dull.

If i select a yellow its not really a yellow and more a gold.
https://codesandbox.io/s/goofy-flower-8gr14?file=/src/App.js
I am guessing maybe because my initial color is not in the color pickers spectrum so to speak? Is there anything I can do?

Hey @philmetzger - apologies for the delay in getting back to you on this. It appears that you only have the hue slider visible and not the saturation/value picker. By default, the picker fills its container - the hue slider and bottom controls take a fixed amount of the height and then the saturation/value picker fills the remaining space. In your case the container does not have a fixed height so the saturation/value picker is 0px tall.
To fix this you can either wrap the picker in an element with a defined height, or specify the height style on the picker itself. I have modified your example here demonstrating both approaches here:
https://codesandbox.io/s/vigorous-vaughan-orgsc?file=/src/App.js

Hey @philmetzger - apologies for the delay in getting back to you on this. It appears that you only have the hue slider visible and not the saturation/value picker. By default, the picker fills its container - the hue slider and bottom controls take a fixed amount of the height and then the saturation/value picker fills the remaining space. In your case the container does not have a fixed height so the saturation/value picker is 0px tall.
To fix this you can either wrap the picker in an element with a defined height, or specify the height style on the picker itself. I have modified your example here demonstrating both approaches here:
https://codesandbox.io/s/vigorous-vaughan-orgsc?file=/src/App.js

Closing this for now - let me know if you have any further issues.


Trying to load the mermaid code in embed mode. Like load csv descriptor

Since the mermaid to drawio non minified version is not available for general public. as per the issue - https://github.com/jgraph/drawio/issues/3782
Any other approach to auto create the drawio diagrams from mermaid code in the drawio embed mode ?? through any existing actions using the integration ?

Any possibility that I can pass the mermaid code from outside and generate a diagram in drawio on embed mode message pass through api ? or otherwise ?

I have the same question

This is currently not supported.

Oh no☹Is it easy to support? I really need that feature😥


Add schema file in YAML to PyPI package

This would allow us to generate JSON-LD contexts from the Python Data Classes, which would be nice.
This might eventually be fixed in LinkML: https://github.com/linkml/linkml/issues/475

@gaurav Thanks for opening this up! Yes, this would be nice to have.


Swagger support

I've done some refactoring to allow for a Swagger export from the API diagram.
It's just a place holder at the moment but better to make sure you'd like to support this in the add-in before I continue.

All good.
On 19/04/17 13:33, Paul wrote:

I've done some refactoring to allow for a Swagger export from the API
diagram.
It's just a place holder at the moment but better to make sure you'd
like to support this in the add-in before I continue.

    You can view, comment on, or merge this pull request online at:

https://github.com/bayeslife/api-add-in/pull/5
    Commit Summary

Started to add new swagger generation

Merge remote-tracking branch 'upstream/master'
File Changes

M APIAddIn/APIAddIn/APIAddinClass.cs
https://github.com/bayeslife/api-add-in/pull/5/files#diff-0 (16)

M APIAddIn/APIAddIn/APIManager.cs
https://github.com/bayeslife/api-add-in/pull/5/files#diff-1 (385)

M APIAddIn/APIAddIn/SampleManager.cs
https://github.com/bayeslife/api-add-in/pull/5/files#diff-2 (2)

M APIAddIn/UnitTestProject1/APIModels/APIModels.cs
https://github.com/bayeslife/api-add-in/pull/5/files#diff-3 (12)

M APIAddIn/UnitTestProject1/APITest.cs
https://github.com/bayeslife/api-add-in/pull/5/files#diff-4 (10)
Patch Links:

https://github.com/bayeslife/api-add-in/pull/5.patch

https://github.com/bayeslife/api-add-in/pull/5.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/bayeslife/api-add-in/pull/5, or mute the thread
https://github.com/notifications/unsubscribe-auth/ASW3gVL_8jp8JPyvOYWlayjy1L7DvZSNks5rxWRNgaJpZM4NBFwi.


This package or vue-i18n? Can't use both?

I was using the vue-i18n package primarily to format number strings.
https://vue-i18n.intlify.dev/
It seems I can't use both this package and vue-i18n since the APIs overlap somewhat (both use $t() helper for example).
Should I ditch vue-i18n and use something else for number formatting? Or is there some solution to be able to use both these packages? What are the advantages of laravel-vue-i18n over vue-i18n, apart from the php language files compilation?
Maybe you could add some clarification in the readme, since the names of these packages are so similar and someone might try to use both (like me :))
This is not a bug report, but I didn't know where I could ask these questions. I hope it's ok.

I don't think you should mix both plugins together.
if you can, just use the larave-vue-i18n for both things.

But laravel-vue-i18n doesn't do number formatting, right?
https://vue-i18n.intlify.dev/guide/essentials/number.html
It's not using vue-i18n under the hood or something?

nope, but that could be a feature to be added.
Thanks for the input @eminos 💪


perf(es/parser): Reduce memory operations

Description:
We don't need to store Atom in the Token for most cases. Because of the Atoms, the Token type is currently 48 bytes, but it's simply a waste. I drastically reduced the size of the Token type.

I'll post the performance difference after matching the current behavior.

cc @dsherret as this PR will change Token or lexer API a lot.

Closing because I found that I can't support some token-related APIs


Adding support for GenericRelation.

Codecov Report

Merging #7 into master will increase coverage by 0.1%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master       #7     +/-   ##
=========================================
+ Coverage   98.03%   98.14%   +0.1%
=========================================
  Files           3        3
  Lines         153      162      +9
=========================================
+ Hits          150      159      +9
  Misses          3        3

Impacted Files
Coverage Δ

drf_writable_nested/mixins.py
98% <100%> (+0.12%)
: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 926edc9...85e0830. Read the comment docs.

@tjwalch Thanks for your contribution. I'll review it in few days.

@tjwalch I've published the new version with your changes into PyPI.


Entity subclass without Attributes causes error

Hi, thanks for the nice library. I'm having some trouble with Entity inheritance as per https://github.com/typedorm/typedorm/blob/main/docs/entity-inheritance.md.
My use case is to have an abstract base class that defines most of the attributes I need, then create subclasses that inherit those attributes, and in some cases add their own, but often only use the inherited ones, and simply change the Entity PK/SK mappings to differentiate them in DDB. But this doesn't work, for example:
abstract class BaseEntity {
    @Attribute()
    foo: string;
}

@Entity({
    name: "SubEntity"
    primaryKey: {
        partitionKey: "whatever"
    },
})
class SubEntity extends BaseEntity {
   // no attributes
}

Causes this error:
Error: No entity with name "SubEntity" could be resolved,
      make sure they have been declared at the connection creation time.

Adding a single @Attribute() to SubEntity does work, but I don't want to do that. The alternative is to declare some of the shared attributes in each subclass, which isn't very DRY.
Can this be fixed, or is there another way to do this?

@seantalbot-jisc  Glad that you liked it. I will get that fixed soon.
Thank you for reporting the issue.


analyze static binary with library signatures.

Auto matching function name from libc signatures
like ida pro feature.

might be a duplicate of https://github.com/Vector35/binaryninja-api/issues/431

@lucasduffey thx. since I searched Signaturs with "s" issue didn't come out.


Heroku login error U5F18 to  Windows 1252

Environment : Win8.1
Git version : 2.6.2
Python 3.5
I would try to make a project on Django Environment with Heroku, but when I instruct "Heroku Login" and it shows the screen above.
I was stuck for a long time. Is there somebody can do me a favor? please!!!!!

Could you please paste in the characters from your username in a comment here?  It will help me more accurately reproduce your issue in my Windows environment.  In the meantime, if you have a user account with a username that can be converted to window-1252, you could work with that account in the meantime, while I work on fixing your bug.  (Here is the code that is actively failing - File.join(ENV['LOCALAPPDATA'], 'heroku').encode('windows-1252'))

@H-CLo I just shipped a fix for various character encoding issues, could you please download the toolbelt and install again?


Research using light sensor for theme

Limitations:

Must set theme on open
Theme can't be changed once set, until TS is closed and reopened (without disrupting the user)

Not going to implement this.
Reasons:

Not technically feasible / will be inaccurate
Frequency of use (ex. edge case) vs effort to implement


[TACHYON-489] coding style: add a space between type cast and the variable

https://tachyon.atlassian.net/browse/TACHYON-489
this is a cosmetic change: add a space between the type cast and the variable so as to conform with the coding style

Can one of the admins verify this patch?

Jenkins, add to whitelist.

Jenkins, test this please.

Jenkins, test this please.

+1 LGTM.

+1 LGTM


Fabo/2044 uatoms

Closes #2044
Description:

Thank you! 🚀

For contributor:

[ ] Added entries in CHANGELOG.md with issue # and GitHub username
[ ] Reviewed Files changed in the github PR explorer
[ ] Attach screenshots of the UI components on the PR description (if applicable)
[ ] Scope of work approved for big PRs

For reviewer:

[ ] Manually tested the changes on the UI

Let's also use short() from scripts/num.js  for the balance header to display K, M, B

we should allow for decimals on the Action Modal if we're displaying atoms there

nice catch :)

tests failing


Is load factor 16 or greater possible?

is load factor 16 or greater possible?
What's the maximum load factor possible? what does load factor mean?
Possible to have mem usage lower than the actual size of the data?

Yes
No hard-coded limit but raising it higher than 4 is probably not a good idea. The load factor is size()/bucket_count().
Yes if there're a lot of common prefix in your data.


Update SVMModel.cs

        //fix memory leak
        SVMParameter.Free(ptr_param);

Thanks you seatrix !
I merged your contribution.


BLERemoteService *pRemoteService = pClient->getService(ServiceUUID); returns null

Hello, i'm working on an ESP32 in the arduino IDE environement. This is my code, i'm trying to connect an nRF5340 to my ESP32.
#include <BLEDevice.h>
#include <BLEUtils.h>
#include <BLEScan.h>
#include <BLEAdvertisedDevice.h>
/*********
Rui Santos
Complete instructions at https://RandomNerdTutorials.com/esp32-ble-server-client/
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files.
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
*********/
//BLE Server name (the other ESP32 name running the server sketch)
#define bleServerName "AoA1"
/* UUID's of the service, characteristic that we want to read*/
// BLE Service
static BLEUUID bmeServiceUUID("e9ea0001-e19b-482d-9293-c7907585fc48");
// BLE Characteristics
static BLEUUID angleCharacteristicUUID("e9ea0002-e19b-482d-9293-c7907585fc48");
static BLEAdvertisedDevice* myDevice;
//Flags stating if should begin connecting and if the connection is up
static boolean doConnect = false;
static boolean connected = false;
//Address of the peripheral device. Address will be found during scanning...
static BLEAddress *pServerAddress;
//Characteristics that we want to read
static BLERemoteCharacteristic* angleCharacteristic;
BLERemoteService* pRemoteService = nullptr;
//Activate notify
const uint8_t notificationOn[] = {0x1, 0x0};
const uint8_t notificationOff[] = {0x0, 0x0};
//Variables to store temperature and humidity
char* angleChar;
//Flags to check whether new temperature and humidity readings are available
boolean newAngle = false;
//Connect to the BLE Server that has the name, Service, and Characteristics
bool connectToServer(BLEAddress pAddress) {
Serial.print("Forming a connection to ");
Serial.println(myDevice->getAddress().toString().c_str());
BLEClient* pClient = BLEDevice::createClient();
if (pClient == nullptr) {
Serial.println("- Failed to create client");
return false;
}
else {
Serial.println(" - Created client");
}
// Connect to the remote BLE Server.
pClient->connect(myDevice);
delay(100);  // wait for it to connect
long startTime = millis();
while (!pClient->isConnected()) {
yield();
if (millis() - startTime > 5000) {
Serial.println("Timeout");
return false;
}
}
if (!pClient->isConnected()) {
// Check again !?
Serial.println("Not connected");
return false;
}
Serial.println(" - Connected to server");
// Obtain a reference to the service we are after in the remote BLE server. --------------> not possible
BLERemoteService *pRemoteService = pClient->getService(bmeServiceUUID);
if (pRemoteService == nullptr) {
Serial.println("Failed to find our service UUID: ");
Serial.println(bmeServiceUUID.toString().c_str());
return false;
}
if (pRemoteService == nullptr) {
Serial.print("Failed to find our service UUID: ");
Serial.println(bmeServiceUUID.toString().c_str());
return (false);
}
// Obtain a reference to the characteristics in the service of the remote BLE server.
angleCharacteristic = pRemoteService->getCharacteristic(angleCharacteristicUUID);
if (angleCharacteristic == nullptr) {
Serial.print("Failed to find our characteristic UUID");
return false;
}
Serial.println(" - Found our characteristics");
//Assign callback functions for the Characteristics
angleCharacteristic->registerForNotify(angleNotifyCallback);
return true;
}
//Callback function that gets called, when another device's advertisement has been received
class MyAdvertisedDeviceCallbacks: public BLEAdvertisedDeviceCallbacks {
void onResult(BLEAdvertisedDevice advertisedDevice) {
if (advertisedDevice.getName() == bleServerName && advertisedDevice.haveServiceUUID()&& advertisedDevice.isAdvertisingService(bmeServiceUUID)) { //Check if the name and UUID of the advertiser matches
advertisedDevice.getScan()->stop(); //Scan can be stopped, we found what we are looking for
//pServerAddress = new BLEAddress(advertisedDevice.getAddress()); //Address of advertiser is the one we need
myDevice = new BLEAdvertisedDevice(advertisedDevice);
doConnect = true; //Set indicator, stating that we are ready to connect
Serial.println("Device found. Connecting!");
Serial.print("haveServiceUUID: "); Serial.println(advertisedDevice.haveServiceUUID());
Serial.print("device's UUID: "); Serial.println(advertisedDevice.getServiceUUID().toString().c_str());
}
}
};
//When the BLE Server sends a new angle reading with the notify property
static void angleNotifyCallback(BLERemoteCharacteristic* pBLERemoteCharacteristic,
uint8_t* pData, size_t length, bool isNotify) {
//store temperature value
angleChar = (char*)pData;
newAngle = true;
}
//function that prints the latest sensor readings in the OLED display
void printReadings(){
Serial.print("Temperature:");
Serial.print(angleChar);
Serial.print("°");
}
void setup() {
//Start serial communication
Serial.begin(115200);
Serial.println("Starting Arduino BLE Client application...");
//Init BLE device
BLEDevice::init("");
// Retrieve a Scanner and set the callback we want to use to be informed when we
// have detected a new device.  Specify that we want active scanning and start the
// scan to run for 30 seconds.
BLEScan* pBLEScan = BLEDevice::getScan();
pBLEScan->setAdvertisedDeviceCallbacks(new MyAdvertisedDeviceCallbacks());
pBLEScan->setActiveScan(true);//active scan uses more power, but get results faster
pBLEScan->start(30);
}
void loop() {
// If the flag "doConnect" is true then we have scanned for and found the desired
// BLE Server with which we wish to connect.  Now we connect to it.  Once we are
// connected we set the connected flag to be true.
if (doConnect == true) {
if (connectToServer(myDevice->getAddress())) {
Serial.println("We are now connected to the BLE Server.");
//Activate the Notify property of each Characteristic
angleCharacteristic->getDescriptor(BLEUUID((uint16_t)0x2902))->writeValue((uint8_t*)notificationOn, 2, true);
connected = true;
} else {
Serial.println("We have failed to connect to the server; Restart your device to scan for nearby BLE server again.");
}
doConnect = false;
}
//if new temperature readings are available, print in the OLED
if (newAngle){
newAngle = false;
printReadings();
}
delay(1000); // Delay a second between loops.
}
This is my debug

as soon as I reach pClient->getService(bmeServiceUUID), the program crashes.

Looks like you are doing some memory intensive operation in some callbacks.
Its hard to say, because code is not formatted, so its hard to read  it.


Avoid polling Scala futures

Futures contained a futureValueImpl which would poll the future, unnecessarily
increasing the running time of the test in the (common) case that the future
completes successfully.
Futures is implemented by ScalaFutures and JavaFutures, where JavaFutures had
an override for this method to avoid the polling.
This PR moves the futureValueImpl implementation to ScalaFutures (since it was
only used there anyway), and removes the need to poll.
This also removes (the need for) FuturesSpec, since that mainly tested the polling
mechanism that is now neither used in the Java implementation nor in the Scala one.
The actual logic is tested in JavaFuturesSpec and ScalaFuturesSpec respectively.

@cla-bot[bot] check

@raboof Looks good to me!
Do you mind to sign our CLA?
https://www.artima.com/cla/choose-type
Thanks!

@cla-bot[bot] check

@raboof Looks good to me!

Thanks!

Do you mind to sign our CLA?

Done!
@cla-bot[bot] check


Add license summary to output

It would be great to get a summary of all licenses matched by each profile, lexicographically sorted, as the first item of the scan output. Here's what I have in mind:
main: license summary:
profile prof_1:
    * AGPL-3.0
    * GPL-3.0
profile prof_2:
    * Apache-2.0
    * MIT

I forgot to mention this earlier. This has been implemented and is in git main now. It will be available in the next released version. Thank you!


smart rebuild end-point on zafira level needed

To be able to rebuild some milestones, jobs etc the best tool is Zafira.
Please create end-point only which allow to rebuild list of jobs based on custom rules:

By repo
By owner
By error hashcode
by parent job/build
by percent of the fail test inside job

As extra boolean step I want to provide:
rerun_failures as true/false

implemented https://github.com/qaprosoft/zafira/pull/789


Added link to License text for easy access

There might be people who are looking for the exact license text.  Added a link to the license text (Raw form at https://raw.githubusercontent.com/mochajs/mocha/master/LICENSE) for easy access.

Thank you!


Quick question about functionality

Hi,
I am reading through your paper and looking at your code and I have a quick question. Would I be able to input my own set of images for an outfit for it to tell me if it matches? For example I could take pictures of my actual clothes and then input them to your program for a response. Is this feasible?
Thanks

You can extract the image features of your images and feed them into the network to check the compatibility score (see the extract_feature.sh and predict_compatibility.sh for details). However, since my model is trained on product images from Polyvore, I am not sure how it will work on real-life images. I think there is a very high probability that the domain shift is so large that the network cannot give satisfactory results.


chore: adds homepage field to pkg.json

Minor but enhances the experience within tools like vscode for quick linking to the project from within pkg.json

Thank you!!


Controller error no device layer inet system shutdown

Problem
Errors into inet/system does not propagate into CHIPDeviceController::Shutdown if no device layer is used.
Change overview

Propage the error

Testing

No testing was added since this change affects mostly Android and I expect the tests into src/app/tests/suites/ to generate some tests for it at some point.

Added "Tested manually" label with the assumption of 'compilation test only'.
"No tests at all but hoping we will have tests later" statement is a bit scary though

Added "Tested manually" label with the assumption of 'compilation test only'.
"No tests at all but hoping we will have tests later" statement is a bit scary though

Agreed. So far the controllers that have tests calling Shutdown are chip-tool and Objc. Those 2 have have CHIP_DEVICE_LAYER defined.
I would expect the Java tests to call Shutdown too once we will have them.


How to use a custom dataset?

Modify code under /dataset and the specific argparsing sections. Unless you have a more specific questions, unfortunately I can't help you with this more.


enhancement: select multiple from stash, create pack

Would like the ability from the scenes view, select multiple scenes and toggle an option via Plug-in to Create Pack.
Pack would then generate a folder in a specified directory with the files hardlinked into it.

This is definitely something I plan to implement. I think it will involve applying a special tag (which can be customized in the user's config) to each scene in the pack before clicking a button. It's going to take some reorganizing of the code before this feature can be added, but it shouldn't be too ambitious


Add expand function

An expand function that can expand all record properties, that are not expanded by expand, but only return an odata.nextLink attribute, would come in handy.
It should work on single records and record arrays.

Implemented in v2.2.0


Multi tenancy with Azure Service Bus Topics

I have a use case where we are using Azure Service Bus topics in a multi tenant setup and each tenant gets its own topic ({sharedNamespace}.servicebus.windows.net/{tenant}) . However what I've found is that when you configure Mass Transit to use Azure Service Bus as the transport you need to supply the Root Shared Access Key, you can't connect to a specific topic like you can with Subscription/Topic client in Microsoft.Azure.ServiceBus.

Is it possible to configure Mass Transit host to subscribe to a specific topic/queue and not dynamically create these?
Any suggestions of best way to use Mass Transit in a multi tenancy environment using Azure Service Bus will be much appreciated thanks

Not sure MT fits your use case based on what you need to do, you could connect subscription endpoints to the topics, or create a bus per endpoint with various credentials to receive messages from a topic, it would work there. But your tenant-based topology isn't supported easily.


Prevent body width changing on mobile menu open

closes #1056

I'm not sure is it just me but I can't see or use mobile menu This is what I see on both Brave and Chrome browsers
If I remove bg-white of the mobile dropdown menu element that's overlaying the top-bar the buttons are still not clickable, I can't click on any item in top bar.
I see this on both PC, Ubuntu OS and macbook, so think it's not specific to my environment. Can this be fixed with this PR?

I'll open separate issue for this since it seems to happen in some rare cases


GDB server improvements

Added 'p' and 'M' commands to GDB server. This enables using the server with IAR's GDB server debug plugin.
Fixed a bug in the 'm' (getMemory) command handler in cases where the length was a single hex digit.
Includes a performance increase when using HID API as the USB backend, by enabling multiple packets.
Also includes some minor refactoring and gdb server logging enhancements.

Thanks for the patch.  I somehow overlooked this pull request so sorry for the late comments.


Cargo run silently passes arguments to target binary if user accidentally messes up +version order

Problem
I recently was (for a short while) tricked into believing my program was stuck in an infinite loop. I had ran the command
cargo run +nightly --release

It took me a while to realize that what I had written resulted in target/debug/foo.exe +nightly --release being ran, instead of running in release mode with the nightly compiler. I feel this is quite error prone, and that it's undesirable this happens entirely silently.
Proposed Solution
I propose that we display a warning when the first argument that cargo run interprets as an argument for the binary to run starts with a +. The warning can be silenced by prefixing the start of your binary argument list with -- (which you probably already should be doing anyway). So cargo run -- +nightly --release would not result in a warning, as it indicates the user really intended this behavior.
It could also simply be an error rather than a warning to start the first argument with a +, which would've probably been the better behavior from the start, but this could break existing scripts.
Notes
No response

Ah! Seems like a common pitfall people often bump into (a similar one: https://github.com/rust-lang/cargo/issues/10362). We'd love to provide a way to avoid that.
Unfortunately, +toolchain is provided by a cargo proxy, which is controlled by rustup. Cargo itself knows nothing about toolchains.  Emitting warnings when detecting + in arguments of the binary seems a little risky to me, because existing scripts might not expect to receive any output, though it should be rare I guess. At this time, I cannot think of a better way without breaking stuff 😞
Anyway, thanks for your report and proposal!

To be maximally conservative about breaking scripts you could only output the warning if stderr is a tty.

This was accidentally closed by a typo.

This was accidentally closed by a typo.

And here I got excited when I saw the "fixed by commit" email... 😢


Memory sync issue under multithreaded concurrency

It seems that something along the notify.rs and util/mpmc_bounded_queue.rs codepath having memory coherence issues under heavy multithreaded loads that utilize notify().
Running the following program in --release mode will quickly demonstrate the issue (< 30s on my linux laptop): https://gist.github.com/jamwt/b9df06a87411ea2846aa
Typical Output:
$ time cargo run --release
     Running `target/release/mio`
@0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
@100000
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
thread '<main>' panicked at '[BUG] at this point there should always be a message', ../src/libcore/option.rs:330
An unknown error occurred

To learn more, run the command again with --verbose.

real	0m3.473s
user	0m0.320s
sys	0m5.940s

Apologies for code quality on the reproduction; had to play around a bit with making threads busy in various ways, and not everything got cleaned up.  It works, though.

Environmental information:
$ cat /etc/issue
Debian GNU/Linux jessie/sid \n \l

$ uname -a
Linux tango 3.10-3-amd64 #1 SMP Debian 3.10.11-1 (2013-09-10) x86_64 GNU/Linux

$ rustc --version
rustc 1.3.0-nightly (2671e8cee 2015-06-28)

$ git show | head
commit 27830b901d14682ff77d5a4c487720bb7dbc28e6
Author: Carl Lerche<EMAIL_ADDRESS>Date:   Mon Jul 20 12:22:53 2015 -0700

    Add a link to an MIO blog post

diff --git a/README.md b/README.md
index 5c160af..474615c 100644
--- a/README.md
+++ b/README.md

Another note: this was a VM with 4 cores.  Also reproduced on bare metal with 32 cores.  You will most likely need to be on a multicore machine to reproduce.

Confirmed on my Arch hardware:
hoverbear  ~  git  mio-bug  time cargo run --release
   Compiling libc v0.1.8
   Compiling bytes v0.2.10
   Compiling winapi v0.2.1
   Compiling bitflags v0.1.1
   Compiling winapi-build v0.1.0
   Compiling slab v0.1.1
   Compiling log v0.3.1
   Compiling clock_ticks v0.0.5
   Compiling nix v0.3.9
   Compiling winapi v0.1.23
   Compiling kernel32-sys v0.1.3
   Compiling time v0.1.31
   Compiling syncbox v0.2.3
   Compiling mio v0.4.0 (https://github.com/carllerche/mio#27830b90)
   Compiling eventual v0.1.3
   Compiling mio-bug v0.1.0 (file:///home/hoverbear/git/mio-bug)
     Running `target/release/mio-bug`
@0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
@100000
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
@200000
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
@300000
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
@400000
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
the sum is 0
thread '<main>' panicked at '[BUG] at this point there should always be a message', ../src/libcore/option.rs:330
An unknown error occurred

To learn more, run the command again with --verbose.
cargo run --release  50.66s user 3.76s system 177% cpu 30.579 total

Yeah, it's overflowing the integer, so on a non-release built, the bounds checks will fire.

The thread loop + sum print are there as a lazy attempt to generate some work that will not optimize away.

Okay, I think I figured it out.  Short answer: this is not a safe expectation.
PR incoming.

@jamwt Wow, awesome!


allow pyclesperanto_prototype images as parameter values

Hi @StRigaud ,
this enables passing pyclesperanto_prototype arrays/images as values. The analogous change on the prototype side is here:

https://github.com/clEsperanto/pyclesperanto_prototype/pull/341

At the end it must be possible to pass both image types to functions of both libraries to optimize interoperability. At the end this notebook must work:
https://github.com/clEsperanto/pyclesperanto_prototype/blob/fbbad2696d95a752a5df9e5772057b27be357be2/demo/interoperability/non-prototype.ipynb
Best,
Robert

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 88.09%. Comparing base (83af46d) to head (250c4c1).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #244   +/-   ##
=======================================
  Coverage   88.09%   88.09%
=======================================
  Files          19       19
  Lines        1638     1638
=======================================
  Hits         1443     1443
  Misses        195      195

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

Will test and merge this for the 0.13.2


[Feature Request]: Extend VM module with Trusted Launch VM options

Description
Enable the VM module with Trusted Launch VMs configuration

Allow Generation-2 based Trusted Launch VMs or verify if all the related options are already configurable in the module
Verify if the same can be done for the VMSS module
Verify if in addition to extend the functionality, it makes sense to enable it by default.
Make sure the common tests deploy the functionality
Update the API version if required by the feature

Additional details that may come useful

Feature Name
Description

Secure Boot
Protects OS against the installation of malware-based rootkits and boot kits.

vTPM
It serves as a dedicated secure vault for keys and measurements, enabling attestation by measuring the entire boot chain of your VM

Guest VM Attestation
Guest attestation extension enables proactive attestation and monitoring the boot integrity of your VMs.

Trusted Launch VM security features allows customer to enable Secured Core settings of Azure Compute Security Baseline
Reference ARM template / Bicep file: azure-quickstart-templates/quickstarts/microsoft.compute/vm-trustedlaunch-windows at master · Azure/azure-quickstart-templates (github.com)

Modules already allow for deployment of Trusted Launch VM & VMSS. Just need to change this to the default deployment method. @AlexanderSehr - Any reason the current tests may not like this?

@ChrisSidebotham @AlexanderSehr @rahalan are we good to close this or should we port it to BRM? Are all the points listed Verified (including being tested by max/ being enabled by default)?

@ChrisSidebotham I know 😄
Hence the question: did we verify that all the points listed in the issue description are completed before closing?


Documented administration keyboard shortcut "GSP" leads to empty page

PHP Version: 8.3.12   | Shopware Version: <IP_ADDRESS>  | Affected area / extension: Platform(Default)

Expected behaviour:
As per the documentation (https://docs.shopware.com/de/shopware-6-de/tutorials-und-faq/tippszurbedienungdesadmin), hitting the keys GSP in quick succession should lead to the payment settings page (i.e. /admin#/sw/settings/payment/overview).
Actual behaviour:
Instead, it leads to the nonexistent URL /admin#/sw/settings/payment/index and therefore an empty page.
How to reproduce:
Try out the keys as documented. This bug has existed at least since SW6.5.

[public] Shopware automated response: This issue is linked to the internal issue: NEXT-39346
[created from NEXT-39346, comment 508193]


Integrated terminal should be able to bring up right click menu anywhere

VSCode Version: 1.2.0-alpha
OS Version: Windows 10

Steps to Reproduce:

Open integrated terminal
Right click in the terminal

The only place to bring up the paste option is on the text cursor. I think either right clicking inside terminal should paste (the same as Command Prompt) or be able to bring up that context menu anywhere inside the terminal.

Basically we defer to whatever xterm does here, there are a few issues in the repo related to this. Closing as designed.


Add Tcollector/Scollector support

Hi Team,
would you be willing to add http://opentsdb.net/docs/build/html/user_guide/utilities/tcollector.html
and/or scollector https://godoc.org/bosun.org/cmd/scollector support?  like the nagios support you have?
we where thinking to add tests with testinfra and push metric data to opentsdb/bosun, we are using it with nagios now and works pretty nice
Cheers

Hi,
You're using nagios perfdata API ? https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/3/en/pluginapi.html

Hi,
i'm talking about this: http://testinfra.readthedocs.io/en/latest/examples.html#integration-with-nagios
we are using it from nagios, not using the performance data, only the up/down status, but would like to use it with tcollector/scollector in someway
Cheers


Check post-rm scripts for management.deb

check post-rm scripts:

on remove (apt-get remove management) - db should remain
on purge (apt-get purge management) - db should be deleted

Yes that is right

done in 2d6b8aeed5e90433ef3b2731b0ecd25d3dd6048a


'python' is not recognized as an internal or external command, operable program or batch file.

error message
'python' is not recognized as an internal or external command,
operable program or batch file.
[Finished in 0.484s]

did you get how to solve it?

Is it in your path?
Also, try running which python in the terminal and changing the command in the grammars.coffee to it's output.
(To do it, open your settings -> "Open config folder" -> packages -> script -> lib -> grammars.coffee)

Install Python from https://www.python.org/downloads/
1.Set the Path Variable in SETTINGS
2.open cmd type python or py you will get the python version installed
3.Restart or close and open Atom editor then run your code it will execute


debugging tools

hi @oblomov-dev
once getting an error in the view, is it possible to get the sent XML formatted correctly ?
i.e:
the view xml shows the error xml rather then the sent xml

the view xml appear in the response like here unformatted

its not a bug, just an extra feature rather...

yes i think this is no problem, a check and replace at this position is needed:
https://github.com/abap2UI5/abap2UI5/blob/b747a388c75fbb5bc1b75b9d68fba32e74e42864/src/01/04/z2ui5_cl_fw_cc_debugging_tools.clas.abap#L73
Feel free to give it a try, otherwise i can also try to fix it next time i touch the debugging tools.

ill give it a try

im sure you would do that better, but it works :)
#949


Debugging into function goes to a different place

Recording 2022-04-01 at 10.19.11.gif.zip

Steps:

debug test encoding updates with language based configuration
add breakpoint into this line
debug test
try to step into await this.forceResolveFromFile();

This is a bug in Chrome, which is surprisingly easy to reproduce. It's probably already opened, but I could not find an issue on their tracker, so I made a new one: https://bugs.chromium.org/p/chromium/issues/detail?id=1319019


wrap the sonic pi eval in a begin rescue to avoid sonic pi crashing with bad input

Since we just do string interpolation for what we pass as pitch and duration to sonic pi, we should put the eval statement in the speedy eval loop in a begin rescue so that it just fails fast and doesn't break the listener.

I apparently already do this, so I am closing this, but I don't know yet why when we put a weird symbol in the string field of the play synth block it broke for Catherine.


[Business Approvals Kit - BUG] Workshop Instructor Guide - Validate Custom Connector

Describe the issue
Error shown in custom connector when after making connection for the first time if the custom connector is not configured correctly. Displays error relaed to Start business approval process  "Could not retrieve values. Tye dynamic invocation failed with ..."

Expected Behavior
Expect that the instructor guide would include check to validate that the custom connector in a learner environment configured correctly
What solution version are you using?
1.0.20231107.1
What app or flow are you having the issue with?
No response
Steps To Reproduce
No response
Anything else?
No response
AB#735

We're seeing this error too and would appreciate some steps on how to resolve


Update Compose Version

Hello, I'm interested in your open source!
I have some questions!
The current version of compose is 1.1.0, can you version up?
Or can I contribute to the update of the compose version?

Hey @ansehoon1999 I'm glad that you are interested in Composable Graphs library. I'm planning to move to bom in the next version Thanks!


Inconsistent 7 to 10 day's quarantine duration advised in #voluntary_self_quarantine

Where to find the issue

https://www.coronawarn.app/en/faq/results/#voluntary_self_quarantine "Why is voluntary self-quarantine recommended?"

Describe the issue
The FAQ #voluntary_self_quarantine says:
"A minimum of 7 days, preferably 10 days, is recommended for the period of self-quarantine from the date of the last increased risk encounter. Refer to the red tile for the date of the last increased risk encounter."
This is inconsistent with the advice from FAQ #quarantine_measures:
"5 days quarantine from last high-risk encounter without final testing."
(which was changed through PR https://github.com/corona-warn-app/cwa-website/pull/3015, see also comment https://github.com/corona-warn-app/cwa-website/pull/3015#issuecomment-1178994611).
Suggested change
Change FAQ #voluntary_self_quarantine to say:
"5 days is recommended for the period of self-quarantine from the date of the last increased risk encounter. Refer to the red tile for the date of the last increased risk encounter."
Reference information
RKI Empfehlungen zu Isolierung und Quarantäne bei SARS-CoV-2-Infektion und -Exposition, Stand 2.5.2022 recommends:

This is addressed by PR #3022


Collapsible UI Gui not showing.

After some update Collapsible UI just stopped working + settings failing to open.

Problem fixed by deleting config file.

Uh, I am also getting this error on a fresh install of the latest version. :V

I can't debug it atm because I have no electricity after the storm that went through the other day, but if you're getting that same exact error, it's caused by a corrupted settings file.

Oh dang! I had something similar about 2 weeks back, hope you get your power back soon.
Upon further inspection, my error is slightly different from the one above. I'll make a new issue.


ocamlPackages.merlin: 3.4.0 → 3.4.2

Motivation for this change
Fixes: https://github.com/ocaml/merlin/blob/v3.4.2/CHANGES.md
Use dune 2.
cc maintainer @hongchangwu
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build ocamlPackages.merlin


cmd/compile: reduce generated algs for compiler created array types

There are alot of types algs that seem to be generated due to slicelit initializations:
example from go binary:
TEXT type..hash.[11]debug/elf.intName(SB)
TEXT type..hash.[12]debug/elf.intName(SB)
TEXT type..hash.[186]debug/elf.intName(SB)
TEXT type..hash.[20]debug/elf.intName(SB)
TEXT type..hash.[28]debug/elf.intName(SB)
TEXT type..hash.[2]debug/elf.intName(SB)
TEXT type..hash.[3]debug/elf.intName(SB)
TEXT type..hash.[41]debug/elf.intName(SB)
TEXT type..hash.[5]debug/elf.intName(SB)
TEXT type..hash.[6]debug/elf.intName(SB)
TEXT type..hash.[9]debug/elf.intName(SB)
There are a few other places were the compiler constructs an array type (e.g. non escaping small slice) where algs are likely not needed.
We should vet the compiler for compiler created types (sinit.go, walk.go) that dont need algs and do a SetNoalg where algs are not needed.
Some overzealous application of SetNoalg on new array types in gc seems to remove the above examples and saves ~45kbyte from the go binary. This might be an upper bound because maybe for some cases we will need them.
I have some other ideas/cls to improve algs (or remove them) for go1.13 so happy to work on this.
@josharian @randall77

Great. IIRC, the alg generation code could be significantly cleaned up. See also #17029 and #17031 and #9930.

@josharian thanks I had not had #9930 on my list to look into yet. The alg generation code itself could likely also benefit from a bit of restructuring to e.g. use mkcall1 and other helpers instead of constructing the funcs directly.

Also related: #23929


Why Router removed?

Why in the latest version 9.x, you removed the Router?
Please tell us the reason...
But actualy I agree with this, cause it will make the size reduced and router feature actualy is not related with reactivity.
So it will better if you create a new plugin for router to separated repository.
Thanks

Hi there, great question! A few reasons:

It had some bugs that I didn't feel like addressing
I think JS-based routing is bad for the web, and would prefer to encourage folks away from it
It distracted from the core value of Reef as a progressively enhanced state-based UI tool

I may in the future look into a standalone option that can be paired with Reef, but for now, there are a handful of other third-party options one can choose from if needed.

I think JS-based routing is bad for the web, and would prefer to encourage folks away from it

So how should it done instead of JS based routing? Would be good to know because I don't used js based routing before and don't know the good ways to build routing for an client side app

This is my recommended approach for most folks, @pwFoo: https://gomakethings.com/an-alternative-to-single-page-apps-multi-page-apps-with-service-workers/

But how handle parts like header, footer or sidebar? JS fetch to get the html file once and from cache each other time? Or do you really repeat hardcoded html parts like logo and basic images?

My personal approach is to use a static site generator (in my case, Hugo) to render the repetitive bits across pages.
A PWA can be a multi-page app. There's nothing about service workers that require them to be a SPA, and if anything, using them with an MPA actually eliminates a lot of complexity while providing the same performance benefits.

Thanks!
I take a closer look, but think I won't use a static site generator. I'll need a small app (~5 views and some JS parts) with offline / mobile first. Maybe I remove the js router part and create a html page for each view and "include" repeating page parts with fetch requests and JS.
Should be the easiest way and also flexible, without the need of a js router and benefits from service worker (caching, offline first).

Hi Chris,
I understand you want to keep Reef lightweight and centered on the UI rendering. However, I think ReefRouter is a great addition and I would really encourage you to keep it, even if it is just as a plugin. It would be a shame to lose it altogether. On a personal note, this puts me in trouble as I use it heavily in my project.
Side note: Reef is provided "as is" and I fully acknowledge this fact. However, maybe giving a little heads-up or even engaging the conversation with the Reef community ahead of major changes would be great as they may have consequences. I guess it may be overwhelming for you to have all these requests and expectations from us but this is a sign that we care about Reef and some among us may have time or skill to help it grow prosper. Just sayin' ;-)

My personal approach is to use a static site generator (in my case, Hugo) to render the repetitive bits across pages.
A PWA can be a multi-page app. There's nothing about service workers that require them to be a SPA, and if anything, using them with an MPA actually eliminates a lot of complexity while providing the same performance benefits.

Hi Chris,
I was wrong... Not PWA... I meant SPA :) And one more question...
With multi page apps I have a normal page navigation, but so each page visit JS code need to be initialized?
I think about a simple fetch based router (trigger sw fetch event) with ajax / js result insertion instead of a "classic" page reload...
Any opinion about performance / ui refresh with a classic page navigation without ajax / SPA?

Yes, I think service workers negate the performance concerns.
Here’s a talk I gave on that very topic: https://gomakethings.com/jsnation/#the-slides-video

I'll do some tests. Maybe I mix it up... Some parts (edit forms, some additional and maybe overlay views...) may be better loaded by fetch / ajax call and JS, but the basic page navigation could be "classic"...
Awesome project reef and good talk!!! Thanks! 🥇


issue when using with html-loader

hi,
I am trying to use the this plugin with html-loader, but i found the generated html page title become to ''<%= htmlWebpackPlugin.options.title %>" after I using the html-loader.
is there any solution for this?
plz advise, thx!

rename your template file to .ejs or exclude it from the loader

hi @jantimon,
i have rename to ejs, but i can't use with the syntax:  any more.
only " worked.
plz help, thx.

I believe you could use https://github.com/emaphp/underscore-template-loader
or just hardcode the page title and use the html loader


The price is not changed on a subscription when the subscription plan is changed

When i update subscription plan on a subscription, the price of the subscription and the addons are not updated to the price of the new plan and new plan addons. I can see that the plan is changed on recurly but not the prices..
This happens using the .NET library.

@dragankae Thanks for reporting this. We're looking into it internally.

Hello, can you update me about the progress of this issue.
Thanks

Let me explain the problem again:

I have 2 Plans
PlanA 10$
PlanB 20$

My subscription has PlanA 10$

if i change the plan of the subscription to PlanB through the API the price is still 10$ and the addon prices are not updated according the new plan
if i change the plan of the subscription to PlanB through user interface the price is correctly updated to 20$ and to all of the addons

This is in recurly API documentation https://docs.recurly.com/api/subscriptions/upgrade-downgrade
Plan Code, Quantity, and Unit Amount

Values not specified will be not be changed.
If the subscription plan changes, the unit amount will default to the new plan's unit amount. Of course, you are welcome to override the plan's unit amount by specifying it in the change request.

Hi @dragankae, can you provide us with sample code to reproduce the issue?

Hi @dragankae, can you please provide some code to reproduce the behavior you're seeing? Thanks.

This is what i do:
var activeRecurlySubscription = Recurly.Subscriptions.Get(SubscriptionID);
subscription.Plan =  Recurly.Plans.Get(newPlanCode);; // Set the new plan
subscription.ChangeSubscription(Recurly.Subscription.ChangeTimeframe.Now);

The subscription update api call is somehow including a custom unit_amount_in_cents, so the process doesn't default to the plan's value. Because the custom value is the amount of the previous subscription, the amount appears to have never changed.

I'm very confused on what you're trying to explain.
A plan is a template. A subscription is created from that template. Before you save the subscription you can override the defaults that were specified in the template (unit price being one).
If you then change the template it would not change any of the subscriptions that were created previously.
If template price is $5.00
You then create a subscription using the template defaults.
You then change template price to $6.00
You then get previously created subscription and observe the price is $5.00
You then update subscription without changing anything and observe price is $5.00
I'm not sure where the confusion lies in that logic.

On Jun 11, 2015, at 6:28 PM, Drew Kitch<EMAIL_ADDRESS>wrote:
The subscription update api call is somehow including a custom unit_amount_in_cents, so the process doesn't default to the plan's value. Because the custom value is the amount of the previous subscription, the amount appears to have never changed.
—
Reply to this email directly or view it on GitHub.

It looks like this issue is being caused because assigning a new Plan to a Subscription does not propagate the UnitAmountInCents from the Plan to the Subscription, and ChangeSubscription() submits the Subscription price, not the Plan price.  It can be worked around like so:
var activeRecurlySubscription = Recurly.Subscriptions.Get(SubscriptionID);
subscription.Plan = Recurly.Plans.Get(newPlanCode);; // Set the new plan
subscription.UnitAmountInCents = subscription.Plan.UnitAmountInCents(subscription.Currency);
subscription.ChangeSubscription(Recurly.Subscription.ChangeTimeframe.Now);

Can we close this? It appears that there was confusion in how the system worked and not an actual bug. If you see my comment above I detail why this is not a concern of the client library.

@MuffinMan10110 yes, good point.
@dragankae feel free to re-open discussion

Maybe I should've reported a different bug, but in my test scenarios, no "template" prices are ever changed.  Here's my test scenario:
Assume PlanA @ 149$, PlanB @ 1000$

Create new account
Create subscription using the new account & PlanA
Change subscription to PlanB
If I do this via the web interface, I would see that the customer is charged the correct, 1000$ rate, but when I go through the same steps with the API, the customer is only charged 149$.
My workaround, above, feels much more like a kludge than an intended pattern.  If you'd like a complete, in-code illustration of the issue, I've got one of those from my original exploration.
As I did find that workaround, it's no longer a critical issue for us.  I'm just putting in my two cents.

@BrainTrainDev I think the confusion lies in the fact that the Recurly Admin UI is doing one step automatically for you that you might not realize. When you choose a new plan from the drop down when editing your subscription the UI is automatically populating the price field with the new plans price and you can choose to continue with it or override it. This action is equivalent to you setting your subscription objects price to the new plans price when settings the new plan.

Thanks, I think I understand the design now.


Fix warning in flutter created project ("package attribute is deprecated" in AndroidManifest)

This PR resolves #123302
Learn more:

Android Developers | Configure the app module

Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

@reidbaker Can someone with Android expertise take a look at this, please?

Does this also fix https://github.com/flutter/flutter/issues/123636 (which I filed before seeing this PR)

Does this also fix #123636 (which I filed before seeing this PR)

No — this PR doesn't affect what AGP version (or Gradle version) is used. It just migrates off of using a deprecated bit of the API of AGP, to a new API that was introduced in a recent AGP.


Index information not propagated to schema information on other node in java client

Reproduction:

Start a 2 (or 3) node cluster
Connect to node 1 and 2 with separate jvm's using the Java API
Using node 1 client connection, create an index on a class property
Using node 2 call code db.getMetadata().getSchema().getClass("classname").getClassIndex("theindexname").
The result will return null.
Restarting the node 2 client and running it again will fix the problem, the index is found in the class meta data.

We are currently employing the following workaround to get around this issue (pretty ugly):
                try {
                    getDb().command(new OCommandSQL("select count(*) from `index:" + indexName + "`")).execute();
                    exists = true;
                } catch (OCommandExecutionException oee){
                    exists = false;
                }

This is a duplicated of this enhancement https://github.com/orientechnologies/orientdb/issues/3496.

This is not supported right now. I suggest to create the schema at startup. Is it possible for your use case?

No it isn't. We update schema's on the fly. And this works fine except in this particular case.

There is one vital piece information I forgot to mention:
We have a mechanism in place that records that schema update has taken place (a simple counter). Whenever a connection is taken from the pool, it checks the db schema version versus the number in memory. If it is behind, the schema information is reloaded like this:
db.getMetadata().getSchema().reload()

So this way we make sure class and property info is always up to date, but the reload apparently doesn't include the index info when running distributed.

With "Restarting the node 2 client and running it again will fix the problem, the index is found in the class meta data" do you mean a client that is connected to node2 with remote, right?

Yes. So the index creation is initiated on a client that connects to node1 and when the client connected to node 2 reloads the schema, the index info isn't there (but the select hack works, so the index is available).

So even after reload of schema the index is not there? How do you reload the schema? You should reload metadata:
db.getMetadata().reload()

Thanks! That was it, I didn't know index stuff was kept seperately from the schema


Resurrect docker hub images

Thanks to @drjeannewilson for pointing this out. It seems that docker hub is not correctly building and holding new images, the last one being from 2 years ago.
@brichards64 I think you’re the only one with admin access to docker hub for WCSim - can you please take a look? I’m not sure if it’s something on the docker hub end that’s gone wrong, or whether a new GitHub actions script needs to be written?

HI @brichards64 I know you are super busy but it would be really great if this can be fixed as we would like to use the latest WCsim version with the OD through docker and can't do that easily at the moment.

A solution for those on HK is to use the hk-software image
I'll leave this issue open to remind us to resurrect the WCSim dockerhub (or alternatively move to GHCR)


(QENG-4176 & QENG-4180) Add OSX 10.12 and Windows 2016

Added OSX 10.12 (Sierra) and Windows Server 2016 to supported beaker-hostgenerator platforms

@nwolfe

👍
For these ridiculous test files, we've recently settled on regenerating them all (like 300 changes) but then only committing the files that include the new platform(s).  Looks like you've done that here.

@geoffnichols Just so you can see what "adding a platform to BHG" looks like.
Also so you can 👍 the platform strings.
Geoff, please merge if it looks good to you!

👍


PI10 - QA Regression Testing

Complete regression testing for Add, Edit, View and Remove for the following Test Types:
Linearity Summary
Appendix E Correlation
Calibration Injection
Fuel Flow to Load
Flow to Load Check
Fuel Flow to Load Baseline
Online Offline Calibration

Regression testing is completed. Bugs have been reported to @vishnunavuluri


How to make network intro? this can help a lot of people. Please help+ jpg example inside

Hello,
I have got an idea to use your perfect script for intro.
I want to have overview page 5 icons and when you click on icon you get zoom and reconnected to another site.
So basically,after first click on web-site you see "overview" with a lot of icons "logos" you can choose. And then you click and Have zoom. CLick out around picture-zoom out.
Like here on the picture
Example :
http://us.123rf.com/400wm/400/400/pashka/pashka0811/pashka081100036/3885091-set-of-vector-symbols-for-design-see-a-lot-of-high-quality-vector-logo-in-my-portfolio.jpg
What is the simplest way to do that? I have been trying also in code, but it is something I can not find out.
I have been trying to make it with some programs (Strut etc.) here but it can not make that thing I want. I need no sliders but overview as first appearance on web-site and then you can choose from images.
Been trying to make it myself with CSS but it was problem.
Dzienkuje bardzo za pomoc! Najlepszi script.Thank you for your help

Hi @xxx2201135 , in an effort to clear up older issues/PRs we are pinging back to know if you are still tracking this request.
To give a little bit of context, recently a decision was made in the project to make the development more active and the first task is to clear up older issues like this one to see if the OP is still interested in keep it going.

Closing due to the lack of feedback from the OP. If you want to work in the PR again, feel free to comment here to open up the discussion again


Hotfix - Client crashes when not having a buddy pokemon selected in task BuddyPokemon

Fixes:

https://github.com/PokemonGoF/PokemonGo-Bot/issues/5787
https://github.com/PokemonGoF/PokemonGo-Bot/issues/5778

👍


Evaluate use? Like VSCode

What about changing this POC to this? https://github.com/coder/code-server

Done!! :D


Robot links seperated with UrdfImporter

When I try to import my own robot URDF file into Unity, all the links are separated. This may be due to the wrong transformation between links. However, the model works well after MoveIt! setup and interacting in RViz...any reasons that may cause that issue?

Hello Gongkaka,
thank you for working with ROS#! What do you mean with "all the links are separated"? Please send us a clear description and
if helpful screenshot(s).
Best regards,
Martin

Hi Martin,
Thanks for your reply! Below is the screenshot of my robot model imported from ROS to Unity.

Those links are not in the correct position among each other...but the transformations are already defined in URDF file and works well in RViz..

Thmks for the screenshot. Please do the following:

Please make sure that your robot model is strictly according to the URDF format as specified here: http://wiki.ros.org/urdf/XML. See the link section in particular.

Please make sure that you included the complete RosSharp.unitypackage in your Asset folder https://github.com/siemens/ros-sharp/blob/master/Release/RosSharp.unitypackage.
If not, please delete your robot model data from the Unity Assets Folder, import RosSharp.unitypackage (select all files for import) and re-import the robot.

If this does not help, could you please send me your URDF+resource files, so that I can reproduce this error?

Did I undertand you right that the model looks correct in Unity3d after moveit setup and rviz interaction?
Which mesh file type are you using? Are you using any unconventional mesh orientation?
Have you tried importing some other ROS robot?

Hi,
Following your solution tips:

URDF format is correct as it works well in rviz interaction.
I tried again including the complete RosSharp.unitypackage in my Asset folder but the issue still exists.
Attached is my URDF resouce files I'm using. I am really appreciate if you can help inspect the error..
abb_irb140.zip

Hi Gongkaka,
thanks for providing the urdf and the meshes.
I can confirm the error on my side and that this is a valid issue as it is a bug in the URDF importer.
Though I have no solution yet, I can explain the problem:
In ColladaAssetPostProcessor.cs we specify how the Collada meshes will be oriented in Unity3D.
Unity3D is using a left-handed coordinate system with Y up
Collada meshes, by contrast, are based on right-handed coordinate systems. The upward-axis is specified in the .dae file itself in the xml tag <up_axis>. In your files we have  Z_UP , i.e. Z-axis pointing upwards.
Thus, for your files a rotation in line 63 is applied, which is obviously wrong.
We need some coordinate transformation similar to that specified in method UnityCoordTrafo
in file StlImporter.cs.
Some of your meshes additionally have an initial offset, which must also be transformed into Unity3d coordiante system but currently is taken as is.
Additionally gripper opened2 has multiple child meshes. We must ensure that the transformation is not only applied to the parent object of the mesh, but also all child gameobjects.
Though I have not tired it myself I presume that one workaround for this version is to export the meshes as stl files in blender and use those in the urdf.
I am looking forward to personally resolve this bug.
As I will probably not find time in the next two weeks, I ask the community for support.

Hi Gongkaka,
commit https://github.com/siemens/ros-sharp/commit/4919380e6d1491dc42c5f8d49729d243d5c6d2a0 provides a new RosSharp.unitypackage with fixes for your robot.
The prroblem was that the Collada files linked in the URDF have rather complex mesh structures, some  with child sub-meshes, some with offsets and/or rotations.
I ended up using this urdf
abb_irb140_mb.zip
which corresponds to your URDF file abb_irb140_mb with the difference that I included the origins of the colliders as given in your urdf abb_irb140_collision.urdf.
Here is a screenshot of the result:

Note that you have to re-import all meshes in your asset folder for the orientation fixes to take effect.
As discussed in issue #19 you also have not defined any inertial in your URDF. Accordingly now Rigidbody and Joint Components will be created in Unity3D.
I hope these fixes work on your side as they do on mine.
Please let me know if you have any additional problems.
I'd be glad if  you can share your complete urdf model with us.


Determine what operating systems we need to support.

Do we need to support other operating systems other than Windows?

How much trouble is it to also include Mac? I would suspect that the majority of users are Windows.

Mac and Linux will likely run fine with no extra work. It's just that ensuring we can run it on older computers that may have old Windows in developing countries is harder.
Do you have a feel for what kinds of computers this will need to run on?

Yeah, I would say definitely we can expect some users to have older versions of Windows running on older computers.

@msimmond @lmpincus Has any information on this been obtained? I think the last thing was that one of you would ask Mark what operating systems to support. I need to know operating system, operating versions, and whether 32/64 bit.

@msimmond I still need to know this info. Thanks.

Mark:

Is there anyway of saying what the most common operating systems are in Pakistan? OS and whether 32 or 64 Bit is more common?

Farjeel:

The answer to you question is that Windows OS is the most common platform in Pakistan and mostly its 32 bit.

All Windows version have 32 bit options. We still need to know what version of Windows, especially if Windows XP is expected to work. There may be issues getting a modern browser installed on Windows XP.

cross platform. Works everywhere.


CarouselView with different ContentPages

Hello,
I have 4 contentPages, each different.
How to integrate them in your Carrouselview without MVVM.
Thank you,

Easy, convert the ContentPages to ContentViews. They can have their own code behind logic. Use TemplateSelector to return the page you want depending in the position.

Hi, sorry for reopening. I´m trying to do what you told, but IOS throws an exception about reassigning a view that has been previously assigned when sliding back and forth. I have 4 slides:
error:
Objective-C exception thrown.  Name: UIViewControllerHierarchyInconsistency Reason: A view can only be associated with at most one view controller at a time! View <Xamarin_Forms_Platform_iOS_Platform_DefaultRenderer: 0x13bddb5e0; frame = (0 0; 375 573); autoresize = LM+W+RM+TM+H+BM; layer = <CALayer: 0x171a381e0>> is associated with <CarouselView_FormsPlugin_iOS_ViewContainer: 0x13d9035c0>. Clear this association before associating this view with <CarouselView_FormsPlugin_iOS_ViewContainer: 0x13d904470>. Native stack trace: 	0   CoreFoundation                      0x0000000189e651d0 <redacted> + 148 	1   libobjc.A.dylib                     0x000000018889c55c objc_exception_throw + 56 	2   CoreFoundation                      0x0000000189e65100 <redacted> + 0 	3   UIKit                               0x000000018fd95788 <redacted> + 248 	4   UIKit                               0x000000018fd95680 <redacted> + 48 	5   UIKit                               0x000000018fd95308 <redacted> + 424 	6   libXamarin.iOS.dll.dylib            0x000000010069dc10 wrapper_managed_to_native_ObjCRuntime_Messaging_void_objc_msgSendSuper_IntPtr_intptr_intptr_intptr + 112 	7   libXamarin.iOS.dll.dylib            0x00000001005fa418 UIKit_UIViewController_set_View_UIKit_UIView + 216 	8   libCarouselView.FormsPlugin.iOS.dll.dylib 0x0000000103077558 CarouselView_FormsPlugin_iOS_CarouselViewRenderer_CreateViewController_int + 2488 	9   libCarouselView.FormsPlugin.iOS.dll.dylib 0x00000001030780f4 CarouselView_FormsPlugin_iOS_CarouselViewRenderer__ConfigurePageControllerm__2_UIKit_UIPageViewController_UIKit_UIViewController + 468 	10  libXamarin.iOS.dll.dylib            0x000000010064807c UIKit_UIPageViewController__UIPageViewControllerDataSource_GetNextViewController_UIKit_UIPageViewController_UIKit_UIViewController + 60 	11  libmscorlib.dll.dylib               0x0000000100b45c44 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 244 	12  libmonosgen-2.0.dylib               0x00000001002bfab4 mono_jit_runtime_invoke + 1776 	13  libmonosgen-2.0.dylib               0x0000000100339b2c do_runtime_invoke + 112 	14  libmonosgen-2.0.dylib               0x0000000100339a88 mono_runtime_invoke + 208 	15  NaizMobile.iOS                      0x00000001000d68a0 _Z31native_to_managed_trampoline_66P11objc_objectP13objc_selectorPP11_MonoMethodP20UIPageViewControllerP16UIViewControllerPKcSB_SB_SB_ + 692 	16  NaizMobile.iOS                      0x00000001000d65e0 -[UIKit_UIPageViewController__UIPageViewControllerDataSource pageViewController:viewControllerAfterViewController:] + 96 	17  UIKit                               0x0000000190523400 <redacted> + 164 	18  UIKit                               0x00000001905290e0 <redacted> + 268 	19  UIKit                               0x000000019052922c <redacted> + 64 	20  UIKit                               0x00000001905f82e8 <redacted> + 164 	21  UIKit                               0x00000001905f89ec <redacted> + 268 	22  UIKit                               0x00000001905f8d8c <redacted> + 364 	23  UIKit                               0x00000001905fb230 <redacted> + 316 	24  UIKit                               0x00000001905f889c <redacted> + 824 	25  UIKit                               0x00000001905fbe7c <redacted> + 1096 	26  UIKit                               0x00000001905f7998 <redacted> + 200 	27  UIKit                               0x000000018fd17a80 <redacted> + 1196 	28  QuartzCore                          0x000000018d1c59d8 <redacted> + 148 	29  QuartzCore                          0x000000018d1ba4cc <redacted> + 292 	30  QuartzCore                          0x000000018d1ba38c <redacted> + 32 	31  QuartzCore                          0x000000018d1373e0 <redacted> + 252 	32  QuartzCore                          0x000000018d15ea68 <redacted> + 512 	33  QuartzCore                          0x000000018d0bae7c <redacted> + 616 	34  IOKit                               0x000000018a0d2094 IODispatchCalloutFromCFMessage + 372 	35  CoreFoundation                      0x0000000189dfae50 <redacted> + 180 	36  CoreFoundation                      0x0000000189e13218 <redacted> + 56 	37  CoreFoundation                      0x0000000189e129cc <redacted> + 436 	38  CoreFoundation                      0x0000000189e104b0 <redacted> + 1840 	39  CoreFoundation                      0x0000000189d3e2b8 CFRunLoopRunSpecific + 444 	40  GraphicsServices                    0x000000018b7f2198 GSEventRunModal + 180 	41  UIKit                               0x000000018fd857fc <redacted> + 684 	42  UIKit                               0x000000018fd80534 UIApplicationMain + 208 	43  libXamarin.iOS.dll.dylib            0x0000000100698004 wrapper_managed_to_native_UIKit_UIApplication_UIApplicationMain_int_string___intptr_intptr + 340 	44  libXamarin.iOS.dll.dylib            0x000000010063fa7c UIKit_UIApplication_Main_string___intptr_intptr + 44 	45  libXamarin.iOS.dll.dylib            0x000000010063fa3c UIKit_UIApplication_Main_string___string_string + 172 	46  libNaizMobile.iOS.exe.dylib         0x000000010017f5f0 NaizMobile_iOS_Application_Main_string__ + 160 	47  libmscorlib.dll.dylib               0x0000000100b45c44 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 244 	48  libmonosgen-2.0.dylib               0x00000001002bfab4 mono_jit_runtime_invoke + 1776 	49  libmonosgen-2.0.dylib               0x0000000100339b2c do_runtime_invoke + 112 	50  libmonosgen-2.0.dylib               0x000000010033cec4 do_exec_main_checked + 152 	51  libmonosgen-2.0.dylib               0x00000001002a3770 mono_jit_exec + 260 	52  libxamarin-debug.dylib              0x00000001005a5dec xamarin_main + 2136 	53  NaizMobile.iOS                      0x00000001000ef400 main + 96 	54  libdyld.dylib                       0x0000000188d215b8 <redacted> + 4
this is my code:
using System; using System.Collections.Generic; using Xamarin.Forms; using CarouselView.FormsPlugin.Abstractions; using NaizMobile.Slides; namespace NaizMobile {   public class CarouselViewMultiPage : CarouselViewControl     {       List<View> _children = new List<View> { };       public List<View> Children {         get { return _children; }         set {           _children = value;           OnPropertyChanged ();         }       }       public CarouselViewMultiPage ()       {         this.ItemTemplate = new CarouselTemplateSelector ();         this.ItemsSource = Children;         this.SetBinding (ItemsSourceProperty, "Children");         BindingContext = this;       }     }     public class CarouselTemplateSelector : DataTemplateSelector     {       protected override DataTemplate OnSelectTemplate (object item, BindableObject container)       {         View civ = (View)item;         return new DataTemplate (() => {           return civ;         });       }     } }

Please, use the demo as example on how to implement the carousel. Thanks

If my work is helping you, please help me back: https://xamarinhq.wufoo.com/forms/nominate-a-xamarin-mvp/
This is what i have done that is community visible:

Alex has been pretty active sharing his knowledge and answering questions in StackOverflow, GitHub and Xamarin Forums.
Alex has been open sourcing Xamarin components and plugin with the community, with more of 10 repositories being maintained on GitHub.
One of Alex's Xamarin.Forms plugin, the CarouselView, is currently being pulled into the Xamarin.Forms core (https://github.com/xamarin/Xamarin.Forms/pull/853). As an stable widget, this control has become the standard for Xamarin.Forms carousel screens with more that 16K downloads in NuGet and more than 100 solved and not open issues.
Another Alex's plugin, the SegmentedControl (https://github.com/alexrainman/SegmentedControl), is a big candidate to be also pulled into Xamarin.Forms core.
Plus Xamarin.Forms UI related plugins, Alex shares plugins to set app icon Badge, Google Analytics and KeyChain access.
Alex shares his knowledge about cutting edge technologies like Couchbase NoSQL and MobileIron integration with Xamarin Apps.

Hi I'm a novice when it comes to Xamarin Forms so would it be possible to provide more details how to use the control with several ContentPages instead of simple images views. Thank you.


Properly convert boolean values for definition attributes

If currently ignoreExtraFields or ignoreExtraGroups is set the building of definitions fails, because booleans get converted to uppercase (from python conversion). This fixes it for this particular fields (but there may be problems somewhere else with boolean values, too).

LGTM.
There's another issue with booleans. Namely, if you call a field "Yes" or "No" in nyaml, it is translated as a boolean and not as a string. This is related to how YAML defines booleans. I have this problem in the element field in NXelectron_level because Nobelium has the short notation "No". When converting back from nxdl to nyaml, it never puts the strings around No and then the other direction does not work anymore. Maybe we could hardcode this.

It would be nice to not interpret Yes and No as booleans at all. But I don't know whether we can tweak pyyaml to do this... it seems that the yaml specification v1.2 dropped this behaviour, but pyyaml supports only v1.1.

LGTM.
There's another issue with booleans. Namely, if you call a field "Yes" or "No" in nyaml, it is translated as a boolean and not as a string. This is related to how YAML defines booleans. I have this problem in the element field in NXelectron_level because Nobelium has the short notation "No". When converting back from nxdl to nyaml, it never puts the strings around No and then the other direction does not work anymore. Maybe we could hardcode this.

It would be nice to not interpret Yes and No as booleans at all. But I don't know whether we can tweak pyyaml to do this... it seems that the yaml specification v1.2 dropped this behaviour, but pyyaml supports only v1.1.

Yeah, it's not ideal. From your link, there is the option to use ruamel.yaml and use its round_trip_loader function that defaults to YAML 1.2 behaviour, but is probably not ideal to mix yaml v1.1 and v1.2. I am also not sure if that package has the full capacity needed (and how well it is maintained).

Go ahead with merging this PR since we have the new issue anyway

LGTM.
There's another issue with booleans. Namely, if you call a field "Yes" or "No" in nyaml, it is translated as a boolean and not as a string. This is related to how YAML defines booleans. I have this problem in the element field in NXelectron_level because Nobelium has the short notation "No". When converting back from nxdl to nyaml, it never puts the strings around No and then the other direction does not work anymore. Maybe we could hardcode this.

It would be nice to not interpret Yes and No as booleans at all. But I don't know whether we can tweak pyyaml to do this... it seems that the yaml specification v1.2 dropped this behaviour, but pyyaml supports only v1.1.

Yeah, it's not ideal. From your link, there is the option to use ruamel.yaml and use its round_trip_loader function that defaults to YAML 1.2 behaviour, but is probably not ideal to mix yaml v1.1 and v1.2. I am also not sure if that package has the full capacity needed (and how well it is maintained).

Yes, I'm looking into it a bit and also created #15 for this. I will go ahead and merge this but we should look into the issue again, but I think it needs some testing and debugging time.


Version request : Fabric 1.21.1

**New Minecraft version :Fabric 1.21.1

No changes needed, 1.21 jar works just fine - but nonetheless I'll be pushing a small update shortly and the new version will mark 1.21.1 as supported on curseforge / modrinth.


Create new custom  option on enter.

Hi,
Now a new option is created only on click on the link "Add ...".
Prease, add the ability to create new custom  option on enter
Thanks.

Hi @shtimn, I am able to set a value by hitting ENTER.
Actually I see a different issue: it does not highlight the Add ... label using down arrow when no other items are listed in the dropdown. But, if I hit the upwards arrow the item is highlighted and selectable with the ENTER button.


⚠ Bofrost.at has degraded performance

In ff9fca4, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1775 ms

Resolved: Bofrost.at performance has improved in f45989e after 32 minutes.


What about putting this into a distutils module whcih could be use in all other modules, pyFAI, pymca, fisx etc..
The first comming to my mind is the BuildMan target.
Cheers

Thanks to ask. I proposed it few days ago.
I think it would be painless to manage something like that.
We can move mostly everything from our setup.py, run_tests.py, plus tools used in CI.

Oups bad button

Well, in fact i am not for a module, but for another project:

Easy to package -> No binary code -> A single python package
Fast to release -> outside of silx -> released everytime it is needed
Dependency on build only

In fact if there is one more package this is more work for the packaging...

Anyway it is only used to build resulting package?

Since you need everything inorder to build your package. It means one more package :)

On our last silx meeting we talk a little about that. Using a specific project + a git subtree per projects can do the trick. A prototype can be easily done, but the task is not assigned.

Decide to take no action.


local variable 'i' referenced before assignment

While running make.py, after logging in manually, I get this error:
File "make.py", line 402, in
index_friends()
File "make.py", line 136, in index_friends
print('Indexed %s friends to %s' % (i,db_index))
UnboundLocalError: local variable 'i' referenced before assignment
Hope you can help me.

Hi @danielp3011, that's an old version of the script. That line of code was replaced in the version from 10 days ago to fix that bug. Can you delete & re-download the script from Github?
If you already have profiles downloaded and don't want to lose them, you can just replace make.py in your directy.

This should be fixed, let me know if you run into it again


Reflection 70B model request

would be nice to add it

https://huggingface.co/mattshumer/Reflection-70B

senseable/Reflection-Llama-3.1-70B-gguf

https://ollama.com/library/reflection
Thanks @gileneusz!

So how to request to REMOVE this model from ollama? It might be fine to keep it around for a week or something for people to gather their own data on it, but maybe can a warning be put on the model page (warning: the authors of this model or other publications are making invalid performance claims about [name of model])?


Images/Videos, Photo Carousel, Form Attribute

(Sorry for the large PR)
Tracking Info
Resolves #79
Resolves #86
Changes
Integrated Firebase Storage to allow for uploading images and videos. Added thumbnails to the unit cards, added a photo carousel in UnitDetails, and added a section to the landlord form to allow for photo/video uploading.
Testing
Thoroughly tested connection with Firebase, made sure that everything uploaded in correct partitions, made sure that deleting a unit would delete its bucket in Firebase. Ensured photo carousel functionality was correct and all photos/videos appeared where they shoud.
Confirmation of Change

Nice! Unit creation with image uploads works perfectly.
Although, I was able to upload a pdf. Adding the accept prop to the file inputs to constrain allowed file types to just videos/photos should do the job.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#unique_file_type_specifiers


Follow RFC 2231 in order to properly encode the Content-Disposition header

Pushing this in order to start getting people to test it.
Some points and ideas about this:

We should decide what to name the crate which is going to handle all encodings (RFC 2047, RFC 2231, body encoding which is currently implemented within lettre itself ecc.). Part of the decision should also consider whether we need/want to also implement decoding in the future. Also see comment https://github.com/lettre/lettre/issues/626#issuecomment-939245886
What should we do with the headers API: this PR uses an hacky way to change the encoding without having to change the public header API. Considering that lettre wants to provide safe defaults and tries to be misuse resistant String might not work to represent an header's value. Also how do we deal with issues like #661
If we make an header API which doesn't implement decoding how can we then also provide a raw header API?
Any more points I'm forgetting now?

Fixes #626

If you'd like to test this you can fork this branch to your GitHub repo or whatever platform you use and import it from there by doing lettre = { git = "link to your repo", branch = "headers-hack-v2", features = [ ... ] }.
I'll try not to rebase this branch so it should be easy to keep yours up in sync. I've only tested this on a few email clients so don't consider this production ready, as I might have made a mistakes in the RFC 2231 implementation. Please leave a comment or even a reaction using the emoji button to let me know if you're testing this and what your discoveries are.

RFC 2231: https://datatracker.ietf.org/doc/html/rfc2231

The latest commit also fixes the issue of lines ending with a spurious space by having ^1 and ^2.

Thanks for implementing this!
I played around with the encoder and also kept looking up various aspects of the output in RFC 2231. There's a new, extensive unit test for rfc2231 in https://github.com/lettre/email-encoding/pull/1

I've opened #693 to list options on how we can further fix the header API


"Add Function Breakpoint" is not available in Breakpoint window

VSCode Version: 1.28.1
OS Version: Ubuntu 16.04

Steps to Reproduce:

Install cpptools extension
Create a C++ app
Open this app in VSCode
Check "Add Function Breakpoint" in Breakpoints window, it is not available as following:

This issue can not repro on Windows 10.

Does this issue occur when all extensions are disabled?: Yes/No
Yes

Can you reproduce this issue with vscode insiders?
https://code.visualstudio.com/insiders/
Asking since I can not


UI of testimonials can be improved

In the Ipad the Ui looks quite ugly

please assign me i will fix this

@STXRSHIVA You can proceed with it. Please remember to -

Send a photo here of of the new design before raising a PR
Follow the proper file structure
Star the repo :)

All the best!


Spark connector injecting query in dataframe schema as new field.

What kind an issue is this?

[x] Bug report. If you’ve found a bug, please provide a code snippet or test to reproduce it below.
The easier it is to track down the bug, the faster it is solved.

Issue description
When trying to use the elasticsearch-hadoop spark connector, the performed query is injected in the dataframe schema as mapping field.
Description
Steps to reproduce
Sample code
Code:
df = spark.read.format('org.elasticsearch.spark.sql').load('index/type')
df.printSchema()
df.count()

 |-- path: string (nullable = true) # this exists
 |-- query: struct (nullable = true) # this shouldn't be here
 |    |-- match_all: struct (nullable = true)

Strack trace:
17/10/16 13:47:13 WARN TaskSetManager: Lost task 100.0 in stage 0.0 (TID 100, <IP_ADDRESS>, executor 1): org.elasticsearch.hadoop.EsHadoopIllegalStateException: Field 'query.match_all' not found; typically this occurs with arrays which are not mapped as single value
	at org.elasticsearch.spark.sql.RowValueReader$class.rowColumns(RowValueReader.scala:51)
	at org.elasticsearch.spark.sql.ScalaRowValueReader.rowColumns(ScalaEsRowValueReader.scala:32)
	at org.elasticsearch.spark.sql.ScalaRowValueReader.createMap(ScalaEsRowValueReader.scala:69)
	at org.elasticsearch.hadoop.serialization.ScrollReader.map(ScrollReader.java:776)
	at org.elasticsearch.hadoop.serialization.ScrollReader.read(ScrollReader.java:702)
	at org.elasticsearch.hadoop.serialization.ScrollReader.map(ScrollReader.java:812)
	at org.elasticsearch.hadoop.serialization.ScrollReader.read(ScrollReader.java:702)
	at org.elasticsearch.hadoop.serialization.ScrollReader.map(ScrollReader.java:812)
	at org.elasticsearch.hadoop.serialization.ScrollReader.read(ScrollReader.java:702)
	at org.elasticsearch.hadoop.serialization.ScrollReader.readHitAsMap(ScrollReader.java:468)
	at org.elasticsearch.hadoop.serialization.ScrollReader.readHit(ScrollReader.java:393)
	at org.elasticsearch.hadoop.serialization.ScrollReader.read(ScrollReader.java:288)
	at org.elasticsearch.hadoop.serialization.ScrollReader.read(ScrollReader.java:261)
	at org.elasticsearch.hadoop.rest.RestRepository.scroll(RestRepository.java:379)
	at org.elasticsearch.hadoop.rest.ScrollQuery.hasNext(ScrollQuery.java:112)
	at org.elasticsearch.spark.rdd.AbstractEsRDDIterator.hasNext(AbstractEsRDDIterator.scala:61)
	at scala.collection.Iterator$$anon$11.hasNext(Iterator.scala:408)
	at org.apache.spark.sql.catalyst.expressions.GeneratedClass$GeneratedIterator.agg_doAggregateWithoutKey$(Unknown Source)
	at org.apache.spark.sql.catalyst.expressions.GeneratedClass$GeneratedIterator.processNext(Unknown Source)
	at org.apache.spark.sql.execution.BufferedRowIterator.hasNext(BufferedRowIterator.java:43)
	at org.apache.spark.sql.execution.WholeStageCodegenExec$$anonfun$8$$anon$1.hasNext(WholeStageCodegenExec.scala:395)
	at scala.collection.Iterator$$anon$11.hasNext(Iterator.scala:408)
	at org.apache.spark.shuffle.sort.BypassMergeSortShuffleWriter.write(BypassMergeSortShuffleWriter.java:125)
	at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:96)
	at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:53)
	at org.apache.spark.scheduler.Task.run(Task.scala:108)
	at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:335)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

Version Info
OS:         :  Ubuntu 16.04
JVM         :  1.8.0_131 (Oracle Corporation)
Hadoop/Spark:  spark 2.2
ES-Hadoop   :  elasticsearch-spark-20_2.11-5.6.2.jar
ES          :  "5.6.3"

@avlahop Can you increase the logging level to TRACE and post the logs here from the run?

Hello @jbaiera
Attached you can find the logs from mesos  containing the sterr and stdout for the run.
stderr2.txt
stdout2.txt

2 comments on my initial issue: I can see that the mapping of the index has changed and added the "query" field, that's why it is included in the printSchema() expression. But I found out that in another index (same setup) the following was added after I used spark connector:
|-- query: struct (nullable = true)
 |    |-- bool: struct (nullable = true)
 |    |    |-- filter: struct (nullable = true)
 |    |    |    |-- exists: struct (nullable = true)
 |    |    |    |    |-- field: string (nullable = true)
 |    |    |    |-- term: struct (nullable = true)
 |    |    |    |    |-- http_user: string (nullable = true)
 |    |    |-- must: struct (nullable = true)
 |    |    |    |-- match_all: struct (nullable = true)
 |    |-- match_all: struct (nullable = true)

This happened after I tried filtering with "pushdown": true on the loaded dataframe.
Unfortunatelly I am not able to reproduce it yet.

@avlahop - The most probable reason for this occurring is that something is running a query against the index using the PUT action instead of GET or POST. You can disable the dynamic mapping feature in Elasticsearch using the dynamic setting on your mapping.
This should highlight the location that is performing these requests and make it easier to track down.

@jbaiera Thank you for takint time to answer my question.  Could you please elaborate more on what do you mean by something? Something else than spark? Only spark jobs were using the indexes. Also  please could you explain more about this:

Regardless of the value of this setting, types can still be added explicitly when creating an index or with the PUT mapping API.

This is on the bottom of this link here
So I could have the same issue even if dynamic is disabled?

Could you please elaborate more on what do you mean by something? Something else than spark? Only spark jobs were using the indexes.

There is a call somewhere inserting those mappings. If those mappings don't exist on the index beforehand, then disabling dynamic mappings should either highlight where they are being inserted (as part of an indexing request) or confirm that it's going through the mapping API if there are no breaks in the job.

Also please could you explain more about this:

Regardless of the value of this setting, types can still be added explicitly when creating an index or with the PUT mapping API.

You can set the mapping one of two ways: 1) by setting the mapping explicitly using the _mapping end points, or 2) indexing a document that contains new fields that are added dynamically to the mapping. My point above simply says that by setting dynamic to false, we can either confirm that it's one of these cases or the other based on if the job breaks or not.

Closing this for now as there has not been any new information on this in the past month. If more information comes up we can look into re-opening the issue.


Modified script Mar 31

Fixes issue: 2468
TC-DD-2.1
Fixes issue: 2508
TC-WNCV-2.1
Fixes issue: 752
TC-WAKEONLAN-4.1
Added auto generated files
Tested
Execution logs:
exe_log.txt

In th test case  TC-DD-2.1, i encountered the problem, running the instruction "avahi-browse _services._dns-sd. _udp-r" failed, what is the specific solution?


Updating estimates for pbkdf2 streaching

Is there a way to update the estimates to account for stretching?
The offline attack vector is my concern.  So, I would like to stretch the passphrase adding N bits of entropy. For example, to add 12 bits of strength I might do this:
const secret = pbkdf2.pbkdf2Sync(passphrase, '', 4096, 64, 'sha512')

I imagine this might work but it would add 16 bits instead of 12 bits I'm using:
const entropy = new Buffer('037d', 'hex').toString('binary') // 2 char string
const report = zxcvbn(passphrase + entropy)

Is there a cleaner way so I could provide the number of bits I'm adding?  Otherwise I should probably mine for a good hex string to use.

Hi @jcalfee,
Recent versions of zxcvbn return an estimate in guesses (vs entropy). If you want to convert that to a "time to crack" type estimate, to account for stretching, I would simply choose a higher time-per-guess ratio based on the specifics of your hashing scheme.
The library includes a few example scenarios just in case it's helpful:
const result = zxcvbn('helloworld');
console.log(result.crack_times_seconds);
console.log(result.crack_times_display);

I'm adding 2048 guesses (Math.pow(2, 11) === 2048).  Implementations need to provide a checksum (probably a sha256) or it does not know if the decryption worked or not.  So, all of the following should be about the same:

re-hash the password
check the password to see if it can decrypt
move to the next password and check it

So it would be nice to update all the result values (score, N centuries, etc..) accordingly.  I believe it is as simple as extending the estimated number of guesses by 2048..
The time per guess is something I want to avoid hard-coding outside of the library because that is something that would be updated as technology advances (and we upgrade the library with an adjusted crack time estimate algorithm).
So my first though is to tell the library I'm using a longer password..
What do you think?  Is it easy to add a fixed value to estimate_guesses?

correction: 2048 * estimate_guesses