The unique name for the sub-grid cannot be edited

When the user updates the unique name for the sub-grid and saves the form, the changes do not reflect in the system.

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

ID: a9cb9e79-5d53-a1b0-3b9b-9c726cc94227
Version Independent ID: 932868d3-c5b6-5b38-0cf6-77d0bf4750b2
Content: Add and configure a sub-grid component on a form - PowerApps
Content Source: powerapps-docs/maker/model-driven-apps/form-designer-add-configure-subgrid.md
Service: powerapps
GitHub Login: @aneesmsft
Microsoft Alias: matp

@LinnZawWin Did you receive a response to your report, or is the issue otherwise resolved?

Thanks for contacting us. As we haven’t heard back from you, I am closing this issue. If you need further help, please reopen the issue or open a new issue.
@Mattp123 - Closes #691

@iangpgh  Apologies for the late reply. I've just tested and the issue has been resolved in the new form designer.


pageserver: faster and simpler inmem layer vec read

Problem
The in-memory layer vectored read was very slow in some conditions (walingest::test_large_rel) test. Upon profiling, I realised that 80% of the time was spent building up the binary heap of reads. This stage isn't actually needed.
Summary of changes
Remove the planning stage as we never took advantage of it in order to merge reads. There should be no functional change from this patch.
Checklist before requesting a review

[ ] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough tests.
[ ] Do we need to implement analytics? if so did you add the relevant metrics to the dashboard?
[ ] If this PR requires public announcement, mark it with /release-notes label and add several sentences in this section.

Checklist before merging

[ ] Do not forget to reformat commit message to not include the above checklist

linking this pull request to related epic https://github.com/neondatabase/neon/issues/8452

Does this allow unskipping the test_bulk_insert?

Does this allow unskipping the test_bulk_insert?

We can try. I don't remember what made bulk insert slow in the first place.

Actually I'm wondering why in-memory layer does not really reside in the memory (only the index is in memory) and we need read_blob to read from WAL....

The name is misleading I agree. Keeping the entire layer in memory is not tractable because we'd use up 256MiB * number of tenants. Of course we could flush early in response to memory pressure, but then we get small layers, etc.


forever list script naming is generic

I title all of my apps app.js and identify them by the name of the folder they're in.
Shouldn't forever list give you the script name and the directory they're inside?
myspecialapp/app.js

Fixed in #471.


No default encoding (2.0.0a1)

I kept getting the error AttributeError: 'DatabaseWrapper' object has no attribute 'encoding' and it turns out that encoding is only set by default in this block of base.py if there is an OPTIONS key who's value is a dictionary with least one key.
Workaround: add an OPTIONS key to your config that has a populated dictionary
Possible solutions:

Check and set base.py after line 202 with something like

        self.encoding = 'utf-8'

and also update the README.rst to reflect that encoding isn't only set to 'utf-8' by default when OPTIONS is specified

Change line 394 in base.py from 'return CursorWrapper(cursor, self.driver_supports_utf8, self.encoding, self)' to 'return CursorWrapper(cursor, self.driver_supports_utf8, getattr(self, 'encoding'), self)

CursorWrapper's init function is ready to handle None/empty string values, so I'm not sure which solution works better behind the goals of the project.

@rcucui,
I don't see what line you're talking about for this error:
AttributeError: 'DatabaseWrapper' object has no attribute 'encoding'

Your link in this block of base.py points to this line:
self.MARS_Connection = options.get('MARS_Connection', False)

I guess we can change like:
diff --git a/django_pyodbc/base.py b/django_pyodbc/base.py
index dab5399..07357de 100644
--- a/django_pyodbc/base.py
+++ b/django_pyodbc/base.py
@@ -392,7 +392,7 @@ class DatabaseWrapper(BaseDatabaseWrapper):
                 self.driver_supports_utf8 = (self.drv_name == 'SQLSRV32.DLL'
                                              or ms_sqlncli.match(self.drv_name))

-        return CursorWrapper(cursor, self.driver_supports_utf8, self.encoding, self)
+        return CursorWrapper(cursor, self.driver_supports_utf8, getattr(self, 'encoding', 'utf-8'), self)

     def _execute_foreach(self, sql, table_names=None):
         cursor = self.cursor()

Anyways, I'm not sure how functional the library is without the database configuration.


refactored

Addressing comment https://github.com/mui-org/material-ui/pull/23370#pullrequestreview-524156204

The section would still require an overhaul since it contains outdated/misleading information from the classes API.

These classes are still used in the theme overrides as keys, it is not misleading information. We just don't support the classes prop

These classes are still used in the theme overrides as keys, it is not misleading information. We just don't support the classes prop

How is it not misleading to mention the classes prop if it's not implemented?

How is it not misleading to mention the classes prop if it's not implemented?

The classes keys are still used as keys in the styleOverrides inside the theme. Where am I mentioning the classes prop?


Add logging and tests on new features

Some are missing from the v1.3 PRs.

-TODO: Add more tests in FypManagerParserTest for new SortCommands

This will be decomposed into separate issues.


Bug in helper function that is emitted by the compiler for module re-exports

TypeScript Version:  1.8.10
Code
An AMD module with re-exports:
export * from "a/b";
export * from "a/c";

Generates the following code:
define(["require", "exports", "a/b", "a/c"], function (require, exports, b_1, c_1) {
   "use strict";
   function __export(m) {
      for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
   }
   __export(b_1);
   __export(c_1);
});

Problem:
The emitted helper '__export' function will fail if the exports object has an empty prototype (due to custom module loading system) and thus does not inherit the 'hasOwnProperty' method. It will also not handle correctly exported readonly properties (created by custom decorators).
Workaround:
As a workaround, i currently override the emitted function in my TypeScript code like so:
function __export(m: any) {
   Object.getOwnPropertyNames(m).forEach(p => Object.defineProperty(exports, p, Object.getOwnPropertyDescriptor(m, p)));
}
export * from "a/b";
export * from "a/c";

Please fix the emitted '__exports' function to code similar to the above workaround (at least for ES5/ES6 targets).

forEach is not supported for ES3, so it will have to be a regular loop
 var p= Object.getOwnPropertyNames(m);
 for (var i =0, n = p.lenght; i<n; i++){
    exports[p[i]] = m[p[i]];
 }

Ok., but this is not the bug i opened. The problem is that you're copying the exported property values instead of copying the property definitions. As i mentioned, when targeting ES5 and above you should use Object.defineProperty instead of simple assignment of the exported properties.

Referencing PR #9097.

correct related issue is https://github.com/Microsoft/TypeScript/issues/10905

We now use Object.prototype.hasOwnProperty.call(exports, p)


Syntax highlighting with trailing non-alphanumeric character

I think there might be a bug in the syntax highlighting. Whenever I append any kind of non-alphanumeric character to a word, syntax highlighting colors it red and underlines the word (using the xoria256 theme). This is true for !"§$%&/()=? characters and probably othes (haven't tested them all).
Additionally, seemingly random words are highlighted in the same way, e.g. in the spec/features/inline_links.md file "unescaped", "ok", "inline" and others. Is this intentional?

I think it's the spell checker. You could either:

Correctly set your spell language (:help spelllang) in your .vimrc (mine has set spelllang=en,it)
Disable the spell checking for markdown files in your .vimrc with something like au FileType markdown setlocal no spell

Let me know if this works for you

Bingo, it was the spell checker. Didn't even know vim one. I just turned it off by putting your second tip in my .vimrc (for future reference: it's "nospell" without the blank).
Thanks!


Access Denied (not available from your location)

Hi,

I made a new DigitalOcean vps instance with Ubuntu 14.04.
Installed Go build dependencies.
Run the gvm bash install script

After that when I try to install Go, I keep getting an error:
$ gvm install go1.5
Downloading Go source...
ERROR: Couldn't download Go source. Check the logs /home/ubuntu/.gvm/logs/go-download.log

$ cat /home/ubuntu/.gvm/logs/go-download.log
Cloning into '/home/ubuntu/.gvm/archive/go'...
fatal: remote error: Access Denied (not available from your location)
Cloning into '/home/ubuntu/.gvm/archive/go'...
fatal: remote error: Access Denied (not available from your location)
Cloning into '/home/ubuntu/.gvm/archive/go'...
fatal: remote error: Access Denied (not available from your location)
Cloning into '/home/ubuntu/.gvm/archive/go'...
fatal: remote error: Access Denied (not available from your location)
Cloning into '/home/ubuntu/.gvm/archive/go'...
fatal: remote error: Access Denied (not available from your location)
Cloning into '/home/ubuntu/.gvm/archive/go'...
fatal: remote error: Access Denied (not available from your location)
Cloning into '/home/ubuntu/.gvm/archive/go'...
fatal: remote error: Access Denied (not available from your location)

Ok, seems like Google is blocking DigitalOcean's frankfurt instances, https://gist.github.com/jrasanen/abfdf1c864897baa8717

Solved by adding this to /etc/gai.conf
precedence ::ffff:0:0/96  100


Fixed the problem with Pocket Edition Levels with testing271 of MCEdit

I've added a terrainPopulated getter to PocketChunk, which seems to make MCEdit load Pocket Edition levels again.

Thanks for the patch.  I've already got it fixed locally by refactoring the chunk classes, but I'm going to leave this open so other people can find it until I update MCEdit again.

Should be fixed in MCEdit 288.


Exported gcode doesn’t print

using this on my ipad
importing a stl (tried with two different files, both do the same)
slice it
export to gcode, the file has size, 1.4mb, other file 8.7mb
using SD card bring to my Ender 3 V3 SE
Files are listed to print, but opening shows 0 lines, time, etc.
print it anyway it appears to go through the motion but no filament is used, nothing prints

I think I misspoke, it doesn’t go through the motions, it moves some and then stops.


Tapo C110 SSC333 variant with AltoBeam 6012B WIFI chip

I bought two Tapo C110 cameras this week to try out OpenIPC. Both use the SSC333 with boards labelled "Tapo C110(EU)/2.20" but they differ in Wifi chip. The first uses the SSW101B, which I believe is baked into the current builder config for the C110 but the second camera has the AltoBeam 6012B WIFI chip (used in other boards supported by OpenIPC). Could someone familiar with the project please add support for this Tapo C110 variant so that the appropriate firmware will be built and added to releases? Thanks!

I discovered that my wifi chipset is actually a 6012B-X (https://www.altobeam.com/en/contents/72/135.html). That's not yet supported by the atbm60xx driver in openipc!
So, I added it as a package, patched the compilation errors, and my ssc333 + 6012b-x is now working great. I'll work on cleaning it up and issuing a PR, but my biggest question is where I should be pulling the 6012BX driver from.
I found it at https://github.com/gtxaspec/atbm-wifi, but I have no idea if that is a reliable source for the tree. If anyone has any thoughts please do share.
@BRFud, do you have any idea whether you have a 6012B or 6012B-X? What is your USB VID:PID for the device?

@geedubess, thank you for progressing this. I've not been successful in building any patched firmware as yet (getting compile errors running ./builder.sh even before patching the config - probably due to my inexperience) so I'm grateful you've made some headway.
Looking at my ttl logs I see idVendor=007a, idProduct=888b (same as yours), so does that mean I have a 6012B-X? How did you determine that your chip is actually 6012B-X and not 6012B?
As you can see from my photo the chip says 6012B on the case, not 6012B-X, but I may have incorrectly assumed the wrong model as I have only gone by the chip markings. Is yours the same in appearance?

I tried to use the atbm60xx driver integrated with openipc, but noted during compilation that the driver default VID:PID was 7a:8888 and the driver wasn't doing anything when I loaded it or toggled the chip enable line (which causes 7a:888b to disappear and reappear on the usb bus). I modified the build system to allow me to pass a custom PID of 888b, but then when the driver probed the hardware (log above) it clearly did not work.
After that, I was lucky enough to find a reference to atbm 888b on git in the form of the atbm-wifi repo (above). That then led me to the atbm website which describes the 6012b-x - it sounds like more of a re-design than a re-issue (including BT+80211 vs 80211 only). The atbm-wifi repo (above) is literally the only place I have been able to find source code for the driver and the firmware to load to the chip. Comparing it against the atbm60xx firmware shows many differences. Grab a copy while you can. :)
It's annoying to me that the chip says 6012B as well. I doubt it's malicious, but probably an oversight, possibly a marketing cover-up if they had no choice but to discontinue the original 6012B. If I had to guess, it's probably pin-compatible but I didn't look that deeply. Hey, on the plus side, our hardware might support bluetooth! (if we loaded the right firmware and had the right driver...)
My SSC333+6012B-X has been working great on wifi for the few hours I've been playing with it, and I've now reworked 4 PCBs, flashed my build, and seen the wifi work, so I'm happy.

Very glad to say my Tapo C110 cameras with the WiFi chip marked AltoBeam 6012B all appear to have Wifi working well now. Thank you @geedubess!


put aniso_magic into ipmag

should function without a sites table

still doesn't  - at least not in _PmagPy_nb.ipynb

sorry, that was just a note for what I need to do :)  It doesn't work yet.

The offending file was data_files/aniso_magic/sed_specimens.txt
and here is the command and error (from within the _PmagPy_nb  notebook:
ipmag.aniso_magic(infile='sed_specimens.txt',ivec=1,dir_path='../aniso_magic',crd='g')
-W- Couldn't read in samples data
-I- Make sure you've provided the correct file name
-W- Couldn't read in samples data
-I- Make sure you've provided the correct file name
it shouldn't be looking for a sample file if we are just using all the data, not just one site.

Great, I should be able  to fix it with that information.

The plotting by site issue was caused by having the wrong default for isite.  However, once I fixed that I got into the real mess, which is different than I was expecting.
What we want for ipmag.aniso_magic is to take in some arguments, quietly create few plots, and then return them.  However, pmagplotlib is very much written to produce plots interactively with matplotlib.  The code is full of calls to plt.show, etc., and pmagplotlib never actually returns Figure objects, it just shows or saves them.  This is a huge mess for the notebooks (or the GUIs, for that matter).  matplotlib has an object-oriented API that for creating plots without all the interactive display logic, but pmagplotlib would need to be re-written.
ipmag.ani_depthplot and ipmag.core_depthplot work in a more object-oriented way, but that's because I re-wrote them to go in the GUIs, and they don't really use pmagplotlib.  We're going to run into problems with most of the rest of the plotting programs, though.
We could consider rewriting pmagplotlib anyway, so that it would be useable for web PmagPy.  On the other hand, if we're rewriting we might want to consider other tools that could provide more interactivity online, like plotly.
@ltauxe, what do you think?

right. instead of re-writing pmagplotlib, i was just thinking of doing stuff in ipmag along the lines of what Nick S-H started.  i’m working through them in _PmagPy_nb and I’ll just do what i can without you until i get stuck.
lisa

On Jun 15, 2018, at 4:30 PM, Lori J<EMAIL_ADDRESS>wrote:
The plotting by site issue was caused by having the wrong default for isite. However, once I fixed that I got into the real mess, which is different than I was expecting.
What we want for ipmag.aniso_magic is to take in some arguments, quietly create few plots, and then return them. However, pmagplotlib is very much written to produce plots interactively with matplotlib. The code is full of calls to plt.show, etc., and pmagplotlib never actually returns Figure objects, it just shows or saves them. This is a huge mess for the notebooks (or the GUIs, for that matter). matplotlib has an object-oriented API that for creating plots without all the interactive display logic, but pmagplotlib would need to be re-written.
ipmag.ani_depthplot and ipmag.core_depthplot work in a more object-oriented way, but that's because I re-wrote them to go in the GUIs, and they don't really use pmagplotlib. We're going to run into problems with most of the rest of the plotting programs, though.
We could consider rewriting pmagplotlib anyway, so that it would be useable for web PmagPy. On the other hand, if we're rewriting we might want to consider other tools that could provide more interactivity online, like plotly.
@ltauxe https://github.com/ltauxe, what do you think?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/PmagPy/PmagPy/issues/363#issuecomment-397766552, or mute the thread https://github.com/notifications/unsubscribe-auth/AAKrDZ5Pbs5H_26o8DDIp5KK6iXmgxoLks5t9EODgaJpZM4Ug1B_.

Yeah, I suspect that the plotting programs will pretty much all be problematic, and everything else should be relatively easy.  I'm going to finish getting the plotting programs working for Windows, for now.

i put it in ipmag as ipmag.aniso_magic_nb.  it seems to work well


object-based knowledge representation

Hi,
is it possible to get from the physics engine additional object-based information? For example:

objects' (x,y) positions for all time steps (trajectories of all dynamic objects)
objects' angles for all time steps
a list of interaction events between objects. For example a touch event between object 1 and object 2 at time step 150, at point x, y = 100, 200.

If it is not possible to get this information from the physics engine, could you consider to provide this information in a python variable? For example, the initial x y positions of all objects are already available in variables
simulator.initial_featurized_objects[0].xs and
simulator.initial_featurized_objects[0].ys
I may assume that this additional information is not in the primary focus of the benchmark, but it would benefit a broader community that takes into account object-based knowledge representation.
Thanks!

Hi there!
Both positions and angles of all the objects are exposed when need_objects=True is passed to simulate_action. See:
https://phyre.ai/docs/simulator.html#phyre.ActionSimulator.simulate_action
and https://phyre.ai/docs/simulator.html#phyre.FeaturizedObjects
It also exposes sizes and types of the objects so the full state is known.
cc @lauragustafson

Thank you @akhti, very helpful!
In addition to this, to decide whether the task is SOLVED or NOT_SOLVED you are, probably, listening for interaction (touch) events between goal object and goal subject, or? Is it possible to get a list of all such interaction events (e.g., touch) between all objects (sprites) in an episode? That would be great to have it in a python variable e.g., simulation.featurized_objects.
Thanks!

Closing as stale. Please re-open if still a problem


What is the esp-idf stable version for esp32s3? "i2c slave devices are not working in esp32s3 but working esp32" (IDFGH-9605)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
I have a eeprom cat24m1 & rtc ds1388 which is fairly working with esp32. But when i try to run same code on esp32s3 it does not work properly. I feel like it is esp-idf version problem. Can someone help me out to find the correct version esp-idf for esp32s3
My current esp-idf version is ESP-IDF v4.4.2
ESP32 code which is working
unsigned char readRegister(unsigned char reg)
{
// printf("Entered the readvalue loop\n");
i2c_cmd_handle_t cmd = i2c_cmd_link_create();
ESP_ERROR_CHECK(i2c_master_start(cmd));
ESP_ERROR_CHECK(i2c_master_write_byte(cmd, (RTC_ADDRESS << 1) | I2C_MASTER_WRITE, true));//RTC_ADDRESS
ESP_ERROR_CHECK(i2c_master_write_byte(cmd, reg, 1)); // start address
ESP_ERROR_CHECK(i2c_master_start(cmd));
ESP_ERROR_CHECK(i2c_master_write_byte(cmd, (RTC_ADDRESS << 1) | I2C_MASTER_READ, true));//RTC_ADDRESS
uint8_t data = 0;
ESP_ERROR_CHECK(i2c_master_read_byte(cmd, &data, false));
ESP_ERROR_CHECK(i2c_master_stop(cmd));
//i2c_master_cmd_begin(I2C_NUM_0, cmd, 1000 / portTICK_PERIOD_MS);
esp_err_t ret = i2c_master_cmd_begin(I2C_NUM_0, cmd, 1000 / portTICK_RATE_MS);
i2c_cmd_link_delete(cmd);
if (ret == ESP_OK) {
    //printf("1   Read OK\n");
} else if (ret == ESP_ERR_TIMEOUT) {
    printf("1    Bus is busy\n");
} else {
    printf("     Read Failed\n");
}

//i2c_cmd_link_delete(cmd);
return data;

}
For ESP32S3 i have commented out ESP_ERROR_CHECK(i2c_master_stop(cmd)); which works for rtc
and i have no luck with eeprom

have you check timer configuration? or you can try below example
https://github.com/espressif/esp-idf/tree/v5.0.1/examples/peripherals/i2c/i2c_simple

In ESP32 support HIGH SPEED MODE and ESP32S3 didn't support those mode it may generate issue you need to check once

4.4 is EOL, I will close this issue.


Remove n_outcomes restriction

Just want to put this here, not necessarily because it is urgent, but because it has come up as a problem for a few people.
Models have a method called n_outcomes which specifies the number outcomes in an array of expparams. Sometimes models do not have a finite number of outcomes. For example, measurement of NV centers involves drawing Poisson random variates, which has an infinite but discrete number of outcomes. Or, measurements in NMR are continuous valued.
Correct me if I am wrong, searching all source files as of 2c86c947b3 for the string n_outcomes, the only file in which it is being used rather than being defined is in the updater code of smc.py.

I guess it also comes up in risk and information gain, but every use still appears to be in smc.py.

Agreed, this is a major concern moving forward, and one that we should definitely address. At the moment, I think the only place that n_outcomes is explicitly used is as you say, in calculating the Bayes risk and information gain for online experiment design. I think it should be fairly straightforward to come up with a better design for defining how utility functions should take expectation values; the primary difficulty is in making that kind of a design appropriately use existing models which define n_outcomes and is_n_outcomes_constant.

Talking to Thomas today, it seems that he has basically already solved this issue in his branch continuous-outcomes. His solution is to subclass Model into ContinuousModel (should probably be renamed). This new model has properties that specify how many samples should be taken whenever an expectation value over data needs to be estimated. Whenever such an expectation is being calculated, whether or not the model has a finite number of outcomes is tested, and different things are done in each case.
The alternative is to always have expectation values calculated in this way, even if there are a small number of outcomes.

I'll take a more detailed look at @whitewhim2718's branch soon, then.  In the meantime, tagging @jarthurgross into this Issue, as the n_outcomes problem is relevant to his continuous-measurement filtering work as well.

For concreteness, I can think of two main usecases that should be addressed by a new design:

Continuous-valued outcomes
Multinomial (vector-valued but discrete)

And don't forget discrete valued but with infinitely many outcomes, such as Poisson! This is mainly what I am interested in at the moment.

Very good point, I've added that to the list as well, then.

I'd like to say that while I think I have a solution. My branch Continuous-Outcomes is very experimental right now. One glaring issue is that I added a callback feature in SMC update to reselect the sampled outcomes at every update. Somehow I neglected to actually add this to the abstract continuous model, but added it to my implementation. I will clean this all up, but I may not have the time until next week. I also want to say that I am very much open minded on how to implement these enhancements, and am open to changes.
Additionally I have done some other development on the ExperimentDesigner class (among other things) in that branch, that is most likely not relevant to this issue and probably should be split out.

Somewhat tangential, but what do people think on which version we should target with this? Personally, I think it makes sense to target a new QInfer version 1.1, so that we can get a stable version out there to build off of while working on ensuring that the new design suits all of our needs and is extensible enough to not cause another problem down the road. Pushing to 1.1 would also fit will with some ongoing work on offline experiment design, as v1.1 could then focus on generalized outcomes and experiment design as the two big new features. Thoughts?

I agree that the release of v1.0 should be prioritized over this feature. I think it is going to take some discussion and consensus to implement, and realistically that will take at least a month. These changes should be able to be implemented without breaking anything, or at least very little (the current implementation I have is backwards compatible, but maybe not the best way to go if we think long term). I know I haven't been participating in the recent flurry of work (I haven't gotten to code at all in the last month) but I am looking forward to v1.0 to build off of.

Here's what I'd do, depending on what course of action you want for the implementation:

Implemented without breaking anything else: minor version bump, prioritise 1.0
Implemented with breaking other stuff, one of:

Release version <1.0, such as 0.9, do all your breaking changes, release 1.0
Release 1.0, do your breaking changes, release 2.0 (but that's relatively quick turn around on 1->2, depending on how you feel about those kind of things).
Release nothing, do your breaking changes, release 1.0

There is one other place that the assumption of integer outcomes gets used, and that's in the perf_testing module. While not strictly related, much of the generalization discussed here would also need to take that into account.

Given a discussion with @cgranade yesterday, these are the proposed structure changes to abstract_class (which contain some breaking changes) for version 1, to make future integration with feature-generalized-outcomes less invasive:
(I am writing this here so that any criticisms can be made before someone puts the much greater effort into a PR)

Simulatable gets a new property domain which is of a class inheriting from a new abstract class Domain. In particular, a Domain will have a np.dtype which will allow for fancy output types, like lists, and will be able to enumerate all possible outcomes for systems with finite numbers of outcomes. Note that dtype will not be allowed to depend on expparam in this scheme, unless modified -- this should perhaps be discussed.
The property n_outcomes will not depend on the domain, but will rather specify how many outcomes will result when a to-be-implemented-method marginalized_outcomes is called.
Model will inherit from Simulatable, as it currently does, and introduce the notion of the likelihood function
FiniteOutcomeModel will inherit from Model and will differ from it in that it will implement the marginalized_outcomes method partly by enumerating over all possible outcomes.
DifferentiableModel will inherit from abc.ABCMeta and Model and a concrete subclass can optionally inherit from FiniteOutcomeModel

The idea is that functions like the bayes risk in smc.py can now depend only on marginalized_outcomes, thereby removing the necessity of being able to enumerate all possible outcomes and call the likelyhood on them. Indeed, a system only needs to be simulatable to estimate the bayes risk with a Monte Carlo scheme.
Prototypical scenarios to consider (add more if you have them):

Gaussian model, where an outcome can be any real number
Multinomial model, where an outcome is a tuple of non-negative integers with a constrained sum (np.dtype([('k', np.int, self.n_elements)]); as an aside, this type seems to require an excessive number of brackets and parens.)
Poisson model, where an outcome is a non-negative integer, but there are infinitely many possibilities

I agree with everything said here. With regards to my branch which contains my current work on this issue, not many changes will have to be made to come in line with the above.

#71 resolves the preparation step.


Ignore case in branch name comparator

Minor fix to ignore the case in the branch comparator.

Makes sense, thanks!


Export style breaks when using Export only in Django import-export

Whenever we use export only option in Django import-export the export button overlaps with add button
from import_export.admin import ImportExportModelAdmin, ExportActionModelAdmin

@admin.register(User)
class CustomUserAdmin(UserAdmin, ModelAdmin, ExportActionModelAdmin):

    form = CustomUserChangeForm
    add_form = CustomUserCreationForm

    import_form_class = ImportForm
    export_form_class = ExportForm
    export_form_class = SelectableFieldsExportForm

I am using V-0.27.0

^ the export is overlapping the plus icon
It works fine when having both import and export.
@admin.register(User)
class CustomUserAdmin(UserAdmin, ModelAdmin, ImportExportModelAdmin):

    form = CustomUserChangeForm
    add_form = CustomUserCreationForm

    import_form_class = ImportForm
    export_form_class = ExportForm
    export_form_class = SelectableFieldsExportForm

Fixed #464


Selection jumps to end of element when typing in LinkNode

https://user-images.githubusercontent.com/14864325/155906417-549f0d90-da72-4f5c-bdff-2f81b16c1c44.mov

Validated that this appears to be fixed.


Metadata export and citations

Closes https://github.com/jhu-idc/iDC-general/issues/118
Closes https://github.com/jhu-idc/iDC-general/issues/119
Closes https://github.com/jhu-idc/iDC-general/issues/109
This adds metadata export and citation features.
To test metadata export go to all collections, collection detail, search, advanced search or item detail to export collections and items. Use the links in the search component and in the item detail cluster of buttons. Note the links operate on the type of resource they indicate. So using the export items link will only export items and vice-a-versa for the collections link.
To test citations go to item detail and click the citations button to open the citations modal. Note, the item will likely need creator / contributor field, Date Accessible, Digital Publisher to be populated for a valid citation to appear.

Test Plan:

[ ] all collections,

[ ] collections' metadata
[ ] items' metadata

[ ] collection detail,

[ ]  collection itself (?)
[ ] items' metadata

[ ] search,

[ ] collections' metadata
[ ] items' metadata

[ ] advanced search or

[ ] collections' metadata
[ ] items' metadata

[ ] item detail

[ ] metadata
[ ] citations

For the collection landing page:
the link for "Export Collection Metadata"  is a little odd in that it includes "islandora_objects" in the ss_type search:  https://islandora-idc.traefik.me/export_collections?query=itm_field_member_of:47%20AND%20(ss_type:collection_object%20OR%20ss_type:islandora_object)&nodeId=47. It's innocuous, but maybe should be cleaned up.

Actually, the link doesn't seem to work at all. If there are no sub collections, I only get an empty file.  How do I download the collection landing page's metadata itself?

For collection details page, that seems like a bug / oversight. Since a collection can include other collections, we still need the itm_field_member_of, but we'll also need to append the query to include the collection itself

Just confirming that if there are sub-collections in a collection - the link works just fine and probably as intended.

Note: if there are no results for a certain type in the results list (ie, not repository items), doing and export on that type will result in an empty csv file.  Innocuous, overall.

This looks good overall and is functioning as expected.  I think it would be useful to include the collection as you describe here, @jabrah:

For collection details page, that seems like a bug / oversight. Since a collection can include other collections, we still need the itm_field_member_of, but we'll also need to append the query to include the collection itself

For testing https://github.com/jhu-idc/idc-isle-dc/issues/143:
I ran a search for something, added a few facets which trimmed the results, and clicked on the link to download items.   I was returned to the search and it still displayed the same results, with the proper facets enabled.


4099 ES6 Refactor lib/HotModuleReplacementPlugin

What kind of change does this PR introduce?
ES6 Refactor of HotModuleReplacementPlugin
Did you add tests for your changes?
Tests were already written.
Summary
Issue:
https://github.com/webpack/webpack/issues/4099
Other Information
Still working on this PR but I'm a bit stuck and looking for any advice. I managed to fix a lot of the broken tests as a result of the refactor, except for the last few that all seem to stem from the same problem.
All of the broken tests say something along the lines of "TestCases all-combined chunks .... should compile", along with red text underneath:
Unexpected token: keyword (const) [bundle.js:218,16]
I tried changing everything from const to let just to see how it would go, but then it had issues in the same test file with 'chunkId'.
Does anyone know how to run this specific test (TestCases.test.js all-combined) instead of having to run the whole test suite, so I can better debug it?
I tried $(npm bin)/mocha --grep TestCases, but it takes longer to run that single command than it does running the whole test suite because it keeps pausing and giving me weird messages like this:
HEAD 2881ms ± 306ms [2742ms; 3020ms]
․        v3.0.0-rc.2 2973ms ± 338ms [2820ms; 3127ms]
․․        HEAD 1462ms ± 90ms [1431ms; 1493ms]
․

  2) TestCases all-combined chunks context should compile:
     Error: Errors while compiling:

bundle.js from UglifyJs
Unexpected token: punc ()) [bundle.js:726,35]

It looks like there is more generated code in ES6 format.
This is how to find it:

run the test locally: mocha -g "all-combined chunks context"
open the file test/js/all-combined/chunks/context/bundle.js
check the line from the error bundle.js:726,35 -> line 726, column 35
find the origin of the generated code in the HotModuleReplacementPlugin (or paste it here)
change back to ES3 code.

TestCases all-combined chunks context should compile:
Error: Errors while compiling:

bundle.js from UglifyJs
Unexpected token: punc ()) [bundle.js:726,35]
It looks like there is more generated code in ES6 format.
This is how to find it:
run the test locally: mocha -g "all-combined chunks context"
open the file test/js/all-combined/chunks/context/bundle.js
check the line from the error bundle.js:726,35 -> line 726, column 35
find the origin of the generated code in the HotModuleReplacementPlugin (or paste it here)
change back to ES3 code.

Sorry, I was wrong. It's all fine now.

Thanks


Sometimes sosf encounters a weird fetch error : incorrect header check

FetchError: Invalid response body while trying to fetch https://microsoftgraph.chinacloudapi.cn/v1.0/sites/odbeet.sharepoint.cn,b4df3221-b95e-4697-9f57-3572e2de6c5d,d5f9f050-54e0-44e2-8370-5437d0637fe6/drive/root:/postimg/23/showMeTheCode.jpg: incorrect header check
    at Gunzip.<anonymous> (/var/user/node_modules/node-fetch/lib/index.js:399:12)

My problem ? ( or maybe microsoft is to blame ? ) 🦁

https://github.com/node-fetch/node-fetch/issues/93

df0a0a8 sacrifices performance, will find an alternative.


New package: Tencent.Effidit version 0.3.0

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Verify:

The bubble remains when the application is minimized.

https://github.com/microsoft/winget-pkgs/issues/142854


Some parser errors

These three lines are legal syntax but show an error:
[V,~] = eig(S);   % at the bracket after the `~`: "'...' or <expression> expected, got ']'"
t = V{:,ii};      % "':' unexpected"
pxsz(end+1:length(v)) = pxsz(end); % at the `+`: "',' or '...' expected, got '+'"

Similarly, in a function definition,
function res = istensor(~)

gives an error for unexpected ~ (it indicates that one input argument is accepted but not used).

In classdef files,
properties (Access=private)

is parsed correctly, but
properties (Dependent)

shows an error at the closing bracket saying "'=' expected".
The setter function
function img = set.Array(img,data)

shows an error at the dot: "'.' unexpected". The same is true for getter methods, which start with get..
When overloading the end function, the parser also throws a fit:
function ii = end(a,k,n)

It seems that end is marked as a reserved keyword. It is true that it is not legal to use it as a variable name, but it is OK as a function name because it can be overloaded for custom classes.

Yes, MATLAB syntax is terrible... :)

Wow! Thanks for so many cases!

I fixed some of them

tilda in function parameters b24cf9189dabc999fe8fcbbfa5ca257f28a694df
tilda in groped return values 2f29aedcd1270dcfded440f8987a93489fe9a20e
cell arrays d7910870c7bf4d9cf6c87742e335e69264e64e04
meta classes, getters/setters, property attributes without values 34bc00b4816cea050baef8f73949fcc0aaad1963

I appreciate this immensely. It is fantastic being able to work on both the C++ and MATLAB portions of my project in the same editor!

And the last one:
Allow end as function name 8daf8c505bbc72a627d84cd69401efc5856ae480


Support marker file paths with thread ID

Adds support for marker files of the format marker-pid-tid.txt so that markers can be assigned the correct thread, if provided. Non-tid files still work fine and go to the main thread as before.

On Linux we use the thread that mmaps the file. On macOS I was planning to just get the tid in the hooked open / fopen function and put the markers there. Would that work for your use case?

On Linux we use the thread that mmaps the file. On macOS I was planning to just get the tid in the hooked open / fopen function and put the markers there. Would that work for your use case?

Hmm, yeah, that would work. But threads would each still need to open a different filename anyway, and this approach seems more generic (i.e. it works on any platform, even if you have no way of obtaining the thread id of the open call). No strong opinion though, on Windows I expect to emit markers via ETW anyway, though I may implement marker file support anyway because it's the easiest cross-platform thing for someone to integrate into their own app.
Also wow is the marker format verbose. We spit out gigabytes of data (we have a lot of markers, many with very long names!) in 10 seconds. I was thinking of either extending it or defining a new format that lets marker names/info be defined and then referenced by ID (plus support for categories and other things). Did you have any plans in that direction?

Oh absolutely, the format is the dumbest format that was solving my problem at the time. I want to remove support for it as soon as we have something better.
The super handwavy plan for markers / traces is as follows:

Only use marker files for use cases where the number of markers is very limited.
On Windows, use ETW trace events.
For Android, somehow integrate perfetto / atrace support.
For macOS, come up with something that either goes through the mach channel (by providing a library that people can integrate into their own programs), or make use of log / OSLogStore in some way, or both.
For Linux, find or make a better solution. See if any of the Android atrace infrastructure is reusable.
Once we have "real" trace support, kill marker files with fire.

But threads would each still need to open a different filename anyway

That's true. Until now I've only had a single thread per process that wanted markers.

though I may implement marker file support anyway because it's the easiest cross-platform thing for someone to integrate into their own app.

Also true. But on Windows I'm not sure how to get the path to the marker file. I was passing a --marker-file argument manually to etw-gecko for way too long until we finally switched to using ETW trace events.
Anyway, I'm happy with the "put-thread-id-in-filename" approach. We can still do what I suggested later for cases where the tid isn't part of the filename - your approach is nicely composable with what I suggested.
So I'm happy to merge this PR once the failures are resolved.

Also true. But on Windows I'm not sure how to get the path to the marker file

My super dumb approach to this was going to be to just look for them in $TEMP during processing of the etl file. In theory pid reuse could cause problems, but the chances of pid+tid pair reuse seem really low.

... also, is there a Discord/Matrix/something channel for samply? :)

... also, is there a Discord/Matrix/something channel for samply? :)

https://chat.mozilla.org/#/room/#profiler:mozilla.org is currently the closest equivalent to a samply channel.


Update syntax definition

This fixes the outstanding issues with the syntax that I could find.
It also updates the list of available ices and differentiates which ones can take a parameter. I'm unsure if this is really all of the ices, or if some shouldn't be available? The handling of ices is most likely sub-optimal, my vim-syntax-fu is lacking.

This is how it looks with the default neovim color scheme:

And this is with the gruvbox-flat scheme:

I can update the README and replace the current images with those two, if you want?

Please do. Looks great :)

Perfect, thank you for merging this! :)


feat: update vendor

这个 PR 实现什么功能/修复什么问题:
Update vendor in case of updating about yunion.io/x/pkg and yunion.io/x/jsonutils
是否需要 backport 到之前的 release 分支:
NONE

Codecov Report

Merging #4250 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #4250      +/-   ##
=========================================
+ Coverage    6.84%   6.85%   +<.01%
=========================================
  Files         519     519
  Lines       87949   87949
=========================================
+ Hits         6023    6026       +3
+ Misses      81427   81425       -2
+ Partials      499     498       -1

Flag
Coverage Δ

#aFlag
6.85% <ø> (ø)
:arrow_up:

Impacted Files
Coverage Δ

pkg/cloudcommon/cronman/cronman.go
54.85% <0%> (+1.45%)
: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 98dbc76...7cf13bc. Read the comment docs.

/cc @swordqiu

/area region

/lgtm

/lgtm

/lgtm

/lgtm

/approve


Err: POD document had syntax errors at /usr/bin/pod2man line 71 run patch

When i run install:
./licode/scripts/installUbuntuDeps.sh
i have error:
POD document had syntax errors at /usr/bin/pod2man line 71 run patch

Hey.. We are using Ubuntu version 14.04, and have faced the same issue. Will this only work for version 12.04 or is it some other issue?

Year.. I have the same issue.How to resolve?


Replace iree-e2e-matmul-test reliance on YAML with IR.

We'll be deprecating the YAML trace replay tooling soon (https://groups.google.com/g/iree-discuss/c/XDNNIRq3mAU) and the e2e matmul test tool is the only user of it.
What was being done can now be accomplished via normal IREE modules that reference other modules:
https://github.com/openxla/iree/tree/main/samples/multiple_modules
Where today we generate the YAML files and then use the trace replay tooling to perform the replays we should instead generate MLIR files accomplishing the same thing, compile them to VMFBs, and then can run them.
There's no real spec for what the tool is doing but it looks like it does some basic per-call reflection to see if a call should be made and then the call is made. This can be done by having the MLIR export multiple functions and then using the iree.reflection attr:
func.func @some_fn() attributes {
  iree.reflection = { whatever.you.want = "hello!" }
} {
  ...
}

iree_string_view_t attr_value = iree_vm_function_lookup_attr_by_name(some_fn, IREE_SV("whatever.you.want"));
// attr_value == "hello!"

So concretely:

generate .mlir files instead of .yaml files for the tests in generate_e2e_matmul_tests.py using iree.reflection for target_features
update cmake rules to issue the extra module compilation
replace replay initialization/playback with an impl like run_module.c (iree_tooling_create_run_context etc):

iree_tooling_load_modules_from_flags to load modules
iree_tooling_module_list_back to get the "main" module
iree_vm_module_signature + iree_vm_module_lookup_function_by_ordinal to loop over functions to call
iree_vm_function_lookup_attr_by_name to filter functions based on support
iree_tooling_run_function-like basic input/output handling and do custom checks/whatever (no need for async)

Looking a bit more we may not need the wrapper module at all - if we just stashed the requirements on each function in the base module we could just run that. For example, if arg0 of the function needs to be some pseudorandom number then it can add an iree.reflection entry saying so, generate it, and pass it in.

I went ahead and did this so now we can kill libyaml! An example of what the calls MLIR file looks like: https://gist.github.com/benvanik/8e637b2e10241d54ef5d4a6e567e41fa


use Get-DbaCmObject

Type of Change

[ ] Bug fix (non-breaking change, fixes #1865)
[x] New feature (non-breaking change, adds functionality)
[ ] Breaking change (effects multiple commands or functionality)
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Pester test is included

Purpose
Reuse Cim functionality from Get-DbaCmObject
avoid repeating WinRM -> DCom fall back
improve speed
Approach

replace Get-Ciminstance
Commands to test

Screenshots

Learning

Original output from current development:

PR's output, and verbose output matches up and clean:

you guys are aweeeeeeeeeeeesome!


Dropdown button not clickable when dropping down over the webview

Hi.
Thanks for your hard work with this control.
I have a drop down button sitting about the web view. When clicked it expands over the webview and the items showing above it are not clickable.
I have wrapped it in the WebViewAware widget but it still doesn't seem to do the trick.
Do you know of a way to fix this problem?
Kind regards,
Cris

I found the problem to be related to an expanded dropdown.


TODO

lib/bitcoin.py ADDRESS STUFF
lib/commands.py
lib/network.py PORTS
lib/util.py
lib/wallet.py
lib/wizard.py
plugins/exchange_rate/exchange_rate.py later
setup-release.py
setup.py

Remove segwit too

XPUB XPRIV

wallet.py segwit


Can't find variable __scanCodes

Hello,
I keep getting a can't find variable scan __scanCodes error having implemented the babel.config.js as in the README.md and having imported the vision-camera code scanner library according to the documentation. The errors log as "TypeError: undefined is not an object (evaluating '_$$_REQUIRE(_dependencyMap[8], "vision-camera-code-scanner").useScanBarcodes')". and "Error: Requiring module "node_modules/vision-camera-code-scanner/src/index.ts", which threw an exception: ReferenceError: Can't find variable: __scanCodes ".
Thank you.

i got same problem

i got same problem.
but finaly edit babel.config to
module.exports = {
presets: ["module:metro-react-native-babel-preset"],
plugins: [
[
"react-native-reanimated/plugin",
{
globals: ["__scanCodes"],
},
],
],
};
at first in plugins i used one [] but the corected one needs two and after that you have to  rebuild project

I have the same problem yet I did edit babel.config.js ?

I had the same problem I forgot to run Pods install

My issue was on Android. Cleaning the cache and restarting my computer seems to have resolved it.

Since I'm here, here's the highlighted code for babel.config.js:
module.exports = {
  presets: [
    'module:metro-react-native-babel-preset',
  ],
  plugins: [
    [
      'react-native-reanimated/plugin',
      {
        globals: ['__scanCodes'],
      },
    ],
  ],
};

(Functionally the same code as @mhdsoft posted)

Same problem on Android.
yarn cache clean is invalid.
babel.config.js is set correctly.
Android project has been rebuilt.
Can anyone help?
"react-native": "0.68.2"

Same problem on Android.
yarn cache clean is invalid.
babel.config.js is set correctly.
Android project has been rebuilt.
Can anyone help?
"react-native": "0.68.2"

Have you also tried to restart your computer? I did all the steps you listed and the error was resolved after a restart.

I tried it, but it is not continuous execution, I will try continuous execution again, and then restart directly

I tried it, still doesn't work

I solved with yarn start --reset-cache

i did everything suggest but not working, android work but ios failed


Support 32bit unicode escape sequence

This PR adds 32bit unicode escape sequence and its test.

16bit unicode escape sequence \uxxxx: small u and 4 hexadecimal digits.
32bit unicode escape sequence \Uxxxxxxxx: capital U and 8 hexadecimal digits.

See
https://docs.python.org/3.9/reference/lexical_analysis.html#string-and-bytes-literals

Thanks!


[Bug] After saving measurement report for a multiframe study, the added measurements move to the first frame

Describe the Bug
After saving the measurement report for a multiframe study and then answering Yes to continue tracking measurements, the measurements added/saved are moved to the first frame.
However, reloading the study and hydrating the saved report has the correct behaviour whereby the measurements appear on the correct frames.
Steps to Reproduce

View a multiframe study in OHIF.
Add measurements to various frames other than the first frame.
From the measurements panel, create a report.
Enter a name for the report and click Save..
When prompted to continue tracking measurements, answer Yes.

The current behavior
The measurements added to the various frames now appear only on the first frame.
The expected behavior
The measurements remain on the frames they were placed on.
OS
Windows 11
Node version
18.16.1
Browser
Chrome 118.0.5993.118

retest with some more use cases to make sure this doesn't happen. Should not be an issue

is this still happening?
Can you check the latest OHIF viewer, which now includes Cornerstone 3D 2.0?
Here are the migration guides:
Try OHIF locally: https://viewer-dev.ohif.org/localbasicTry Cornerstone3D 2.0 locally: https://www.cornerstonejs.org/live-examples/local.html
https://docs.ohif.org/migration-guide/3p8-to-3p9/


Add option for IRA contributions

As a common retirement account, we should add the ability to contribute to either a Roth or Traditional IRA. The selection for Roth or Traditional should be separate from the pretax/aftertax selection for 401k contributions.

Don't forget about IRA contribution limits. Also, keep in mind that there is no deduction limit if your employer does not offer a retirement plan.


Detect if . or , is used as decimal separator

Hello,
I've a fun case where the same company issued two invoices with different decimal separators.
Does anyone have an idea how to parse both of them them correctly?
Rechnung-GVR443872.pdf and Rechnung-GVR416030.pdf
Best wishes
Nena

Ask them to fix their locale settings. 😜

Yes, I agree, that would be the best :grin:
We could run the text from the PDF file through some kind of pre-processing and fix the numbers…

You can use the library functions directly. The input step is already separate. You can make adjustments before passing it to the extraction step.

I'm currently trying to find out how python works :blush:


changes in export from other packages in project are not recognized by ghc-mod

i have a multi-package project, build with stack.
if i change the interface of a project (for example, adding a function to export) the export is not seen in other packages that import the first one and use of the new function is flagged when compiling (not when building).
when i remove the .stack-work from the relevant package, i get warnings from ghc-mod but after a build project, the new functions are seen and no further warning.
exist a simple multi-package directory somewhere that i could see in what sense my project is different.
thank you!

I think this is a ghc-mod bug? Running stack build --only-configure in pretty much any of the packages should fix that (or just stack build), but ghc-mod should do that automatically on environment change. Not sure exactly why it doesn't.

i tried your suggestin stack build --only configure, i also did stack build in atom and outside - no change, open and closed atom - no change.

Here you go: https://github.com/lierdakil/test-stack-multiproject
For reference,
$ stack --version
Version 1.3.2, Git revision 3f675146590da4f3edf768b89355f798229da2a5 (4395 commits) x86_64 hpack-0.15.0

i have cloned the project and understand the structure. i did a stack build in a terminal in the super dir (where the stack.yaml is) and get an compilation error (missing function - you commented it out). so far, it seems ok.
now i open atom and get ghc-mod not the same version of ghc (8.0.1, should be 8.0.2). when i run stack build ghc-mod i get:
Warning: File listed in a/a.cabal file does not exist: README.md
Warning: File listed in b/b.cabal file does not exist: README.md
ansi-terminal-<IP_ADDRESS>: using precompiled package
clock-0.7.2: using precompiled package
cmdargs-0.10.14: using precompiled package
... and many more

i have so far never seen 'using precompile package` - what caused this (it seems to be good). is this the change form lts 8.1 to lts 8.2?
surprisingly (for me) it works and builds when i change the commented out functions.
now i will go and investigate what the differences to my project is (except that it is bigger).
thank you - this was very helpful and perhaps you could put the example project into the instructions!
my stack version : Version 1.3.2 x86_64 hpack-0.15.0 -

it seems to work for my project as well. there were two changes:
stack.yaml in the superproject folder
lts 8.2
removed '.' from stack.yaml
all information i got from your example!

I believe using precompiled package happens when you've switched resolver, but there is already a version in another resolver that uses the same compiler (and dependencies are consistent).

it seems to work for my project as well. there were two changes:
stack.yaml in the superproject folder
lts 8.2
removed '.' from stack.yaml
all information i got from your example!


Does not build with latest rust

commit a845ff3300489af3acd90c0b77adf5d7addeb6d5 (HEAD -> master, origin/master, origin/HEAD)
Author: Rakan Alhneiti<EMAIL_ADDRESS>Date:   Thu Oct 8 22:56:35 2020 +0200

*** Initializing WASM build environment
info: syncing channel updates for 'nightly-x86_64-unknown-linux-gnu'

  nightly-x86_64-unknown-linux-gnu unchanged - rustc 1.49.0-nightly (3525087ad 2020-10-08)

info: checking for self-updates
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'

  stable-x86_64-unknown-linux-gnu unchanged - rustc 1.47.0 (18bf6b4f0 2020-10-07)

info: checking for self-updates
info: component 'rust-std' for target 'wasm32-unknown-unknown' is up to date
/home/jbrown/.cargo/bin/wasm-gc

  error[E0282]: type annotations needed
      --> /home/jbrown/substrate/primitives/arithmetic/src/fixed_point.rs:541:9
       |
  541  |                   let accuracy = P::ACCURACY.saturated_into();
       |                       ^^^^^^^^ consider giving `accuracy` a type
  ...
  1595 | / implement_fixed!(
  1596 | |     FixedI64,
  1597 | |     test_fixed_i64,
  1598 | |     i64,
  ...    |
  1601 | |     "_Fixed Point 64 bits signed, range = [-9223372036.854775808,<PHONE_NUMBER>.854775807]_",
  1602 | | );
       | |__- in this macro invocation
       |
       = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

  error[E0282]: type annotations needed
      --> /home/jbrown/substrate/primitives/arithmetic/src/fixed_point.rs:541:9
       |
  541  |                   let accuracy = P::ACCURACY.saturated_into();
       |                       ^^^^^^^^ consider giving `accuracy` a type
  ...
  1604 | / implement_fixed!(
  1605 | |     FixedI128,
  1606 | |     test_fixed_i128,
  1607 | |     i128,
  ...    |
  1611 | |         [-170141183460469231731.687303715884105728,<PHONE_NUMBER>60469231731.687303715884105727]_",
  1612 | | );
       | |__- in this macro invocation
       |
       = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

  error[E0282]: type annotations needed
      --> /home/jbrown/substrate/primitives/arithmetic/src/fixed_point.rs:541:9
       |
  541  |                   let accuracy = P::ACCURACY.saturated_into();
       |                       ^^^^^^^^ consider giving `accuracy` a type
  ...
  1614 | / implement_fixed!(
  1615 | |     FixedU128,
  1616 | |     test_fixed_u128,
  1617 | |     u128,
  ...    |
  1621 | |         [0.000000000000000000,<PHONE_NUMBER>20938463463.374607431768211455]_",
  1622 | | );
       | |__- in this macro invocation
       |
       = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

  error: aborting due to 3 previous errors

  For more information about this error, try `rustc --explain E0282`.
  error: could not compile `sp-arithmetic`

Rustc issue: https://github.com/rust-lang/rust/issues/77653

You need to downgrade your nightly compiler.

@bkchr Downgrade to what version? Thanks

@HaoyangLiu use some version around the first of october.

I did what you said but still throws error when trying to build

@kafcioo did you run cargo +nightly-2020-10-01 build?
Or you can follow the instruction here to remove the bad nightly version from your toolchain: https://substrate.dev/docs/en/knowledgebase/getting-started/index#downgrading-rust-nightly

I had to set it to use the version I just installed with like so rustup default nightly-2020-10-01 but now I run into another problem

I spend 2 days now trying to compile the code, why is it so difficult, why can't we have simple docker container to run this ...
btw I tried using docker run --rm -it chevdor/polkadot polkadot --dev but its not connecting to frond end

@kafcioo please follow the instructions i linked to.
it seems you have forgot this step:
rustup target add wasm32-unknown-unknown --toolchain nightly-2020-10-01

yeah sorry, @shawntabrizi I didn't saw your comment before posting the next issue. I can confirm that the link you send fixed it

that issue should be fixed in today nightly 👍🏼

Still not fixed as of today

@soulshoes what is not fixed?

always appear this porblem/
rustup target add wasm32-unknown-unknown --toolchain nightly-2020-10-01/

always appear this porblem/
rustup target add wasm32-unknown-unknown --toolchain nightly-2020-10-01/

I have this problem as well. Copy-pasting directly the commands from the tutorial. Hard to check out Polkadot/substrate due to this error.

I have this problem as well. Copy-pasting directly the commands from the tutorial. Hard to check out Polkadot/substrate due to this error.

I have this problem as well. Copy-pasting directly the commands from the tutorial. Hard to check out Polkadot/substrate due to this error.

Try running this with this
cargo run --release -- --dev --tmp


Update functions-create-serverless-api.md

fix typo

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@yongkangliu : Thanks for your contribution to the Azure documentation! The author, @mattchenderson, has been notified to review your proposed change.

#sign-off
Sorry about the trouble with the other PR! Really appreciate the contribution.


Extend the 'spo page clientsidewebpart add' command to allow reading web part properties from a file

We need to extend the 'spo page clientsidewebpart add' command to allow reading web part properties from a file. If the web part properties JSON string is too long, it cannot be read in bash.

The initially noticed behavior was caused by incorrectly escaped quotes. Passing long strings works just fine and this is not necessary.


nodejs mounted action runner should set the right current working directory

In case actions are mounted locally in the container, the source directory is /code not /nodejsAction. The current working directory is normally /nodejsAction and some code might rely on it to find other files, so it should be adjusted accordingly if it's /code.

The fix is probably to simply change the dir to /code in both mount scripts at the start of their main() functions:

here for mount-require.js: https://github.com/apache/openwhisk-wskdebug/blob/master/src/kinds/nodejs/mount-require.js#L39
here for mount-plain.js: https://github.com/apache/openwhisk-wskdebug/blob/master/src/kinds/nodejs/mount-plain.js#L46

It would probably have to take the parent dir of the sourcePath, i.e. set the cwd to the dir of the source file being required:
process.chdir(path.dirname(path));

Not sure if this will fully address https://github.com/adobe/aio-cli-plugin-app/issues/282 because it depends how the action.zip is packaged and how that might be different from the raw source structure that is mounted 1:1 in the wskdebug mounting case.
cc @shazron

PR https://github.com/apache/openwhisk-wskdebug/pull/85


Bottlerocket pod-infra-container-image not supporter - required for workaround of sandbox GC issue

Description
What problem are you trying to solve?
We are trying to get the workaround https://github.com/bottlerocket-os/bottlerocket/issues/3745#issuecomment-1922140015 working, but are not able to set pod-infra-container-image.
It is not listed in the allowed configurations here: https://github.com/aws/karpenter-provider-aws/blob/main/pkg/providers/amifamily/bootstrap/bottlerocketsettings.go#L45-L77
How important is this feature to you?
Our clusters are already on eks 1.29, with the latest ami's, and this results in pods not starting (due to the pause image being paused).

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

This will require adding support to Karpenter. In the meantime, can you try the DaemonSet based work around to avoid kubelet garbage collecting the sandbox image that I provided at https://github.com/awslabs/amazon-eks-ami/issues/1597#issuecomment-1922595469 . I think this will prevent the issue in the interim.


Is it possible to skip the original instruction in midhook?

Thanks for the great library. Now I am trying to implement a midhook that need to replace the original instruction. The original instruction is something like
rcpps xmm0, xmm1

and I need to replace it with exact computation so that the result will be consistent on both Intel and AMD.
Is it possible? Maybe related to #37?

Thanks for the response.
The problem I am trying to solve is that for example,
rcpps xmm0, xmm0

would compute 1/x for the 4 packed floats. However, this instruction would result in different results on Intel and AMD, so I need to replace it with for example divps which would produce the same result.
The problem is after the instruction, the original values (in XMM0) is already replaced with the results, so they are no longer available. So the most robust way is to replace the original instruction (without executing it).
The plan is to use things like asmjit to generate the required instructions as the hook function.

I've created a PR #39 that allows you to change the instruction pointer, effectively letting you bypass the trampoline that would execute the original instruction. I think a lot of care will need to be taken to use this safely, but the option is there now.
I will also be adding XMM register capture to this PR before merging it into main.

I've added XMM capture as well to that PR. Let me know if those changes are enough for you to do what you want.

Thank you, I think it is working in my test


Getting some freezes with SSH connection

Hi everyone !
I'm using this extension since a few hours (And I love it) but Brackets is sometimes freezing, for a long time or not, more or less frequently, it depends of the memory used by the Brackets renderer process (Which is increasing in function of time)
One time it reached the 900 MB
http://gaetan-legac.fr/Upload/brackets-freeze.png
I restarted Brackets with one editor part instead of two, and now the memory consumption seems to be better managed, although I'm getting some little freezes sometime:
http://gaetan-legac.fr/Upload/brackets-freeze2.png
Events that I suspect to be causing freezes:

Saving a file (short freeze)
Minimize and then show the Brackets window (not always freezing, but when it's the case the freezing time is proportionnal to memory amount used by renderer process)
Finally, is it caused by a timer/thread ? (Considering freezes are random)

I'm using Brackets 1.6.0-16680 x64 on Debian 8
Thanks alot !
And if you need some additionnal informations about my workspace, don't hesitate to ask me ;)
Sorry for my english

hi! thanks for the review.
ok please make sure your screen shot at bottom of  right,
can you see yellow triangle icon?
if there is not issue in your editing code,
displayed error or something notify in developer tools
and please resend the message to me.
but, Idk that about this issue whether or not.
I could not maintenance for this extension many long time.
but I will soon release the synapse new version.
From: GanjaPowered
Sent: Thursday, February 11, 2016 11:56 PM
To: kooohei/brackets-synapse
Subject: [brackets-synapse] Getting some freezes with SSH connection (#78)
Hi everyone !
I'm using your extension since few hours (And I love it) but Brackets is sometimes freezing, for a long time or not, it depends of the memory used by the Brackets renderer process
One time it reached the 900 MB
http://gaetan-legac.fr/Upload/brackets-freeze.png
I restarted Brackets with one editor part instead of two, and now the memory consumption seems to be better managed, although I'm getting some little freezes sometime:
http://gaetan-legac.fr/Upload/brackets-freeze2.png
I don't know by which event(s) freezes are caused, I notice them when I show the Brackets window ...
(Maybe when I minimize the window ?)
I'm using Brackets 1.6.0-16680 x64 on Debian 8
Thanks alot !
And if you need some additionnal informations about my workspace, don't hesitate to ask me ;)
—
Reply to this email directly or view it on GitHub.

I also have the short freezes after saving, and sometimes whole Brackets freezes for minutes (it only happens to me after saving a file). I using Brackets:
Release 1.12 build 1.12.0-17621 (release d3b783b99)
build timestamp: Fri Feb 02 2018 13:53:03 GMT+0000
on Windows 10 Pro x64


Wait for existing workspace start

If you have two VS Code windows open, for example, and they both try to start the workspace, one will fail with a 409.  If we get this we should wait for the in-progress build instead of erroring.
I imagine you could get a similar issue if you started the workspace from the dashboard or the cli and then launched VS Code immediately after or simultaneously, although this might not reproduce as naturally.
Currently blocked because we might implement this in the API.
https://github.com/coder/coder/issues/13032

Related: https://github.com/coder/vscode-coder/issues/243
The decision here will also affect the JetBrains plugin: https://github.com/coder/jetbrains-coder/issues/401


(node wrapper) signin errors treated differently than others

Signin errors only include the contents of the errors property, while others include the full JSON response.

I am using the catalyze.io's node library.
I was wondering if this issue has been fixed or not.

@cherukumilli it appears that this has been fixed by the recent update we (Catalyze) performed on our backend - I am no longer able to reproduce it. Are you currently encountering this?

@forana
I am not encountering it but routes.js in catalyze-backend-node-example on github is still referencing the issue. Please check line# 34 in routes.js.
https://github.com/catalyzeio/catalyze-backend-node-example/blob/master/src/routes.js

Actually, managed to reproduce this though that - the actual issue is in the sessionFromToken functionality. Fix coming up shortly.


Add the documentation for the Asynchronous API usages

Added the documentation for the asynchronous API usage.

Windows test PASSed.

Linux test PASSed.

Windows test PASSed.

Linux test PASSed.

Linux test PASSed.

Windows test PASSed.


Allow parameters in content type header

For the partner API we sometimes get the charset parameter in the content type header (application/json; charset=UTF-8). This change allows the JSON deserialisation of such requests.

If we only want to support UTF-8 we could then simply change private val json = MediaType.parse("application/json")     private val jsonStructuredSuffixWildcard = MediaType.parse("application/*+json")

If we only want to support UTF-8 we could just change
    private val json = MediaType.parse("application/json")     private val jsonStructuredSuffixWildcard = MediaType.parse("application/*+json")
to
private val json = MediaType.parse("application/json; charset=UTF-8")     private val jsonStructuredSuffixWildcard = MediaType.parse("application/*+json; charset=UTF-8")
since "application/json; charset=UTF-8".isCompatibleWith("application/json") would return true.
For me the question would be what should happen if we get a request like application/json; charset=UTF-16. Should we still serve the request?

I would just change it for now and cross that bridge when we get to it. I don't think we should expect any such requests for now.

@nihalgonsalves could you also please merge this? 🙏  I don't have the permissions.

I can't either .. though I'm a code owner. Perhaps @mduesterhoeft @blockvote ?


SCS Harbor failing to push images

We've identified instances of failures when pushing to the Harbor registry. This problem occurs consistently when pushing large images (>1GB), but can also occur randomly with smaller images (~100MB)
Docker push is retrying, e.g.:
$ docker push registry.scs.community/test-matej/imagetest1g:latest
The push refers to repository [registry.scs.community/test-matej/imagetest1g]
b557b243c90e: Retrying in 8 seconds
d101c9453715: Layer already exists

and then failed with  write: connection reset by peer
K8s Ingres nginx controller logs HTTP400:
 <IP_ADDRESS> - - [04/Mar/2024:07:42:28 +0000] "PATCH /v2/test-matej/imagetest1g/blobs/uploads/717a9b86-e83d-4457-9f4e-cf890ae60bd2?_state=t0uBz4GwYHVE_Q0q-uE51RjGLpc9HTD0w5709LOgg2h7Ik5hbWUiOiJ0ZXN0LW1hdGVq │
│ L2ltYWdldGVzdDFnIiwiVVVJRCI6IjcxN2E5Yjg2LWU4M2QtNDQ1Ny05ZjRlLWNmODkwYWU2MGJkMiIsIk9mZnNldCI6MCwiU3RhcnRlZEF0IjoiMjAyNC0wMy0wNFQwNzozNTo0MS4zODg0NTgzMloifQ%3D%3D HTTP/1.1" 400 0 "-" "docker/25.0.3 go/go1.21. │
│ 6 git-commit/f417435 kernel/6.5.0-21-generic os/linux arch/amd64 UpstreamClient(Docker-Client/25.0.3 \x5C(linux\x5C))" 987595584 406.505 [default-harbor-harbor-core-80] [] <IP_ADDRESS>:8080 0 406.505 - 0b │
│ d8ccfedb6048149912b0c81990f651

Harbor Core logs the proxy error:
2024/03/04 07:36:15 http: proxy error: context canceled
2024/03/04 07:42:58 http: proxy error: context canceled

Harbor version: v2.9.2 (deployed in the K8s cluster, via Helm)
K8s version:  v1.27.5
Ingress controller version: v1.8.1

Note: Harbor Upgrade failed, we have to wait until the Harbor Helm chart is fixed. https://github.com/SovereignCloudStack/k8s-harbor/issues/63

Ingress controller version upgraded to v1.9.6

After upgrades #64, #65 and proxy-request-buffering: off in #67,  I was able to successfully push images ~ 5GB.
@matofeder @jschoone can you confirm that it works for you?

I've tested the case: push a large (>6GB) image to the SCS harbor as follows:
# Dockerfile that just creates 6G file
$ cat LargeDockerfile
FROM ubuntu:latest
RUN dd if=/dev/urandom of=sample.txt bs=1G count=6 iflag=fullblock

# Build image
$ docker build -f LargeDockerfile -t registry.scs.community/test-matej/6G:test .

# Check size
$ docker image ls registry.scs.community/test-matej/6g
REPOSITORY                             TAG       IMAGE ID       CREATED          SIZE
registry.scs.community/test-matej/6g   test      e2e38690d559   15 minutes ago   6.52GB

# Push image to the SCS Harbor registry
$ docker push registry.scs.community/test-matej/6g:test
The push refers to repository [registry.scs.community/test-matej/6g]
f19e5b3ec73a: Pushing [==================================================>]  6.442GB
e0a9f5911802: Pushed
f19e5b3ec73a: Pushed
test: digest: sha256:e1179059c5d34e7b9058be1ebb63e9e484ad54e7f44a7566ffc1014ea9217bfb size: 743

So based on the above I can confirm that I was able to push the 6GB+ container image to the SCS Harbor registry.


Can we also use moto server to mock calls for catalogue operations?

Thanks for a really useful resource. I have tried it and it works well.  I have used the ThreadedMotoServer to good effect:
MOTO_IPADDR = "<IP_ADDRESS>"
MOTO_PORT = 5000
MOTO_ENDPOINT = f"http://{MOTO_IPADDR}:{MOTO_PORT}"

@pytest.fixture(scope="session", name="moto_server")
def moto_fixture():
    from moto.server import ThreadedMotoServer
    server = ThreadedMotoServer(MOTO_IPADDR, MOTO_PORT, True)
    server.start()
    yield server
    server.stop()

Are you able to add further examples where AWS Glue Catalogue calls from Spark APIs are handled by moto server?  It would be good if we can unit test PySpark code such as:
DataFrameWriter
  .write
  .format("parquet")
  .mode("append" or "overwrite")
  .partitionBy(<partition_fields>)
  .saveAsTable(name=f"{db_name}.{table_name}", path=tbl_s3_path)

SparkSession.sql(f'CREATE DATABASE {db_name} LOCATION {s3_uri}')
I have tried testing code similiar to the above examples by setting core-site.xml spark config property:
<property>
    <name>aws.glue.endpoint</name>
    <value>http://<IP_ADDRESS>:5000</value>
</property>

but am getting errors of the form:
pyspark.sql.utils.AnalysisException: org.apache.hadoop.hive.ql.metadata.HiveException:
MetaException(message:Got exception: org.apache.hadoop.fs.s3a.UnknownStoreException `s3://test-prep-bucket/spark_parquet_unit_test/unit_test':
getFileStatus on s3://test-prep-bucket/spark_parquet_unit_test/unit_test:
com.amazonaws.services.s3.model.AmazonS3Exception:  (Service: Amazon S3; Status Code: 404; Error Code:
NoSuchBucket; Request ID: null; S3 Extended Request ID: null; Proxy: null), S3 Extended Request ID: null:
NoSuchBucket:  (Service: Amazon S3; Status Code: 404; Error Code: NoSuchBucket; Request ID: null; S3 Extended Request ID: null; Proxy: null))

Perhaps there are other related spark/hadoop/hive config settings which also need to be updated so that we can point catalogue related calls to moto.  Do you know if it is possible to intercept calls from Spark API calls using moto server for glue?

I haven't tried that before. Will let you know if I can successfully test it.


I.click and I.see throw errors for element that should be visible, or is becoming visible in an Angular site.

What are you trying to achieve? I'm automating this website, trying to click menu items in full screen view - https://www.pizzahut.com/
Using something like this:
I.click({"xpath":".//[@class='no-border']"});
I.waitForElement({"xpath":".//[text()='pizza']"});
I.wait(4); // allow menu to pop out and become visible.
I.click({"xpath":".//*[text()='pizza']"});
Also trying to use I.see() instead, to "see" the element become visible before clicking. Looks like this:
I.see({"xpath":".//*[text()='sides']"})
What do you get instead?
I.see sometimes shows "expected web application to include "[object Object]" and fails.
I.click sometimes shows "element not interactable"
Details

CodeceptJS version: latest
NodeJS Version: latest
Operating System: windows
Protractor || WebDriverIO || Nightmare version (if related): 5.0^
Configuration file:

exports.config = {
tests: './automation/features/*Test.js',
timeout: '10000',
output: './output',
helpers: {
"Protractor": {
"url": "www.pizzahut.com",
"browser": "chrome",
"angular": false,
"restart": true,
"waitForTimeout":60000,
"scriptTimeout":60000,
"uniqueScreenshotNames": true,
"fullPageScreenshots": true,
"windowSize": "maximize",
"coloredLogs": true,
"capabilities": {
"browserName": "chrome",
"acceptSslCerts": true,
"chromeOptions": {
"prefs": {
"profile.default_content_settings.popups": "0",
"download.prompt_for_download": false,
"download.directory_upgrade": true,
"download.default_directory": "./output",
"plugins.always_open_pdf_externally": true,
"pdfjs.disabled": true
},
"args": [
"--disable-extensions",
"--start-maximized",
"--disable-gpu",
"--disable-gpu-program-cache"
]
}
}
},
UIHelper: {
require: './uihelper_helper.js',
},
},
include: {},
bootstrap: null,
mocha: {},
name: 'pizzahut'
}
I took a look around the docs for anything like "wait for visible", but the click method says in the docs it should do that natively and I can't find any other waits that aren't hard, and even with an excessively hard 4 second wait it still shows the errors sometimes. Any ideas?

maybe your locator is not unique, it means, some locators are having the same xpath, and you are trying to interact with the hidden one.

I think you guys can mark this as not an issue, looking into it more, it has to do with two unique effects of the menu, the slow fade in mechanic, means there must be a wait for that to finish before the element is fully "visible", and the second is behavior which causes the menu to close depending on what else is being done on the machine.


Out-of-proc attestation of SGX workloads does not work

I created an AKS cluster with DCsv2 nodes, then added the confcom plugin (the AKS add-on for SGX). In Pods the SGX devices (/dev/sgx/*) are present and the examples with in-proc attestation mode work. But the example with out-of-proc attestation mode that requires an AESM service do not work, because /var/run/aesmd is empty.

https://docs.microsoft.com/en-us/azure/confidential-computing/confidential-nodes-aks-addon#out-of-proc-attestation-for-confidential-workloads

I followed the YAML example and set the SGX_AESM_ADDR env variable and kubernetes.azure.com/sgx_epc_mem_in_MiB request (also tried with sgx.intel.com/epc). I tried running the Fortanix sgx-detect tool and also tried following your instructions based on ubuntu:18.04. The issue is that the UNIX socket for the AESM service in /var/run/aesmd is missing! I then attempted to manually set up an instance of AESM service and mount into /var/run/aesmd and then it started working.
So, my hypothesis is that the AESM service is either not running on the hosts or the instructions are missing a step to deploy a DaemonSet for the AESM service. Can you please check if the out-of-proc attestation mode works and update the instructions if something is missing?

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

ID: 995113fc-cded-da15-d906-fcd21eac576a
Version Independent ID: ddfbd829-6e66-20e0-2422-f2eac99d228b
Content: Azure Kubernetes Service plugin for confidential VMs
Content Source: articles/confidential-computing/confidential-nodes-aks-addon.md
Service: virtual-machines
Sub-service: workloads
GitHub Login: @agowdamsft
Microsoft Alias: amgowda

@gw0,
Thank you for your feedback. We will investigate and update the thread further.

Thanks for raising this. We are investigating and will get back soon.

@gw0, thanks for reporting this issue.  Have already enabled the sgxquotehelper in your AKS cluster? The gsxquotehelper is optional, you can enable it by this command:
az aks enable-addons --addons confcom --name “YourAKSClusterName” --resource-group “YourResourceGroup” --enable-sgxquotehelper

No, I enabled only confcom. Will try it next time I plan to set up an AKS clusters. I guess it would be best if this command is in the docs? Or a list of all possible SGX options?

@gw0, thanks for your confirmation. Currently for SGX VM in AKS, we only have addon confcom and an option --enable-sgxquotehelper.  We have already started to work with Docs team to make the tutorial better. Thanks!


node v0.5.9 error

The "sys" module is now called "util". It should have a similar interface.
Error: require.paths is removed. Use node_modules folders, or the NODE_PATH environment variable instead.
at Function. (module.js:376:11)
at Object. (/src/node_modules/less/lib/less/index.js:5:8)
at Module._compile (module.js:432:26)
at Object..js (module.js:450:10)
at Module.load (module.js:351:31)
at Function._load (module.js:310:12)
at Module.require (module.js:357:17)
at require (module.js:368:17)
Any plan with this one?
Thanks

Looking at node v0.6.0 support myself. maybe i'll fix it!

bump @cloudhead ... per the topic in #node.js, which I paste unto you...
* Topic for #Node.js is: All users should be using v0.5.10 now. Report all problems to module authors.


Feature/ble/create manager

What have been done:
Architecture
The main idea is to create template view controller which can be overridden for other profiles.
This template controller is based on UITableViewController.

If you want to create your own profile you need to override few components:
Peripheral
Peripheral is a description about scanned peripheral, its services and characteristics.
In fact these are tree of UUIDs
Section
Since template view controller is based on UIViewController you have to implement list of Sections.
Section is a protocol which is describe tableView's sections.
Sections should contain all necessary data and have an ability to update it.
All sections provide required information for tableView like number of items, section title and method for dequeuing cells.
Each section should provide uniq identifier which is used for searching sections among the list.
Identifier
Identifier is a generic structure which is used as general ID however it's more type safe.
example:
extension Identifier where Value == Section {
    static let battery: Identifier<Section> = "battery"
    static let disconnect: Identifier<Section> = "Disconnect"
    static let bgmReadings: Identifier<Section> = "BGMReadings"
    static let selectionResult: Identifier<Section> = "SelectionResultSection"
    static let optionSelection: Identifier<Section> = "OptionSelection"
    static let details: Identifier<Section> = "DetailsSection"
    static let cycling: Identifier<Section> = "Cycling"
}

struct CyclingTableViewSection: Section {
    var id: Identifier<Section> = .cycling
}

View Controller
If you implement your own controller you have to override minimal number of methods.

internalSections: these are sections with data you want to display. You don't need to handle battery level and disconnect sections since they are handled in parent view controller.
peripheralDescription: peripheral which should be scanned
didUpdateValue: you can handle all characteristics you wish or pass it to parent handler.

UI / UX
New scanner controller

States
There is new state view which are displayed automatically.

UPD
Created new Running profile

Updated Cycling profile code:

Created special model for parsing data and comparing with previous result
Rid of UnsafeMemoryPointers
Fixed few minor UI bugs


Aarch64: fix narrow integer-register extension with Baldrdash ABI.

In the Baldrdash (SpiderMonkey) embedding, we must take care to
zero-extend all function arguments to callees in integer registers when
the types are narrower than 64 bits. This is because, unlike the native
SysV ABI, the Baldrdash ABI expects high bits to be cleared. Not doing
so leads to difficult-to-trace errors where high bits falsely tag an
int32 as e.g. an object pointer, leading to potential security issues.

AbiParam has the extension field for this. It seems that it is not implemented AArch64 though. Maybe implement it and if extension is None and call conv extends baldrdash then use Uext instead.

I had forgotten about the ArgumentExtension value; we even used it for return values. Thanks for the reminder -- this is much better. Updated (and cleaned up the return-value side as well, now that we carry the extension type in the new-backend ABI signature).


Enable fused_lamb_cuda_kernel on ROCm

This PR is to enable fused_lamb_cuda_kernel on ROCm
The below HIP cooperative groups are available on ROCm

coalesced_group
coalesced_threads

cc: @jithunnair-amd


The screen "Order Confirmed" don't show left panel.

Describe the bug
In the "Order Confirmed" screen there is a minor error when trying to open the left panel due to props handling, showing "variable props not found".
To Reproduce
Steps to reproduce the behavior:

Run the project in the examples branch
Open the screen "Order Confirmed"
Try to open the left panel.
See error

Screenshots

Expected behavior
The left panel should be opened as in the other screens.
Additional context
I already fixed the error and I'm going to make a pull request.

Hi @antelbra ,
Thanks for finding out about this bug! I've merged your PR to the examples branch!
🤙🏽


Unknown CMake command "find_package_handle_standard_args"

This problem with fresh autocmake:
milias@login.grid.umb.sk:~/Work/qch/software/autocmake_devel/sec_quant_F90_autocmake/.python setup.py --fc=ifort   --type=debug build_ifort_dbg
CC=gcc CXX=g++ FC=ifort cmake -DEXTRA_CFLAGS="''" -DENABLE_CODE_COVERAGE=False -DEXTRA_CXXFLAGS="''" -DEXTRA_FCFLAGS="''" -DENABLE_64BIT_INTEGERS=False -DENABLE_BLAS=auto -DENABLE_LAPACK=auto -DMKL_FLAG=off -DMATH_LIB_SEARCH_ORDER="MKL;ESSL;ATLAS;ACML;SYSTEM_NATIVE" -DBLAS_LANG=Fortran -DLAPACK_LANG=Fortran -DENABLE_STATIC_LINKING=False -DCMAKE_BUILD_TYPE=debug /home/milias/Work/qch/software/autocmake_devel/sec_quant_F90_autocmake

-- BLAS will be searched for based on MKLROOT=/mnt/apps/intel/composer_xe_2013_sp1.1.106/mkl
CMake Error at cmake/modules/autocmake_math_libs.cmake:284 (find_package_handle_standard_args):
  Unknown CMake command "find_package_handle_standard_args".
Call Stack (most recent call first):
  cmake/modules/autocmake_math_libs.cmake:427 (cache_math_result)
  cmake/modules/autocmake_math_libs.cmake:369 (find_service)
  cmake/modules/autocmake_math_libs.cmake:463 (config_math_service)
  CMakeLists.txt:26 (include)

-- The C compiler identification is GNU 4.4.7
-- The CXX compiler identification is GNU 4.4.7
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- The Fortran compiler identification is Intel
-- Check for working Fortran compiler: /mnt/apps/intel/composer_xe_2013_sp1.1.106/bin/intel64/ifort
-- Check for working Fortran compiler: /mnt/apps/intel/composer_xe_2013_sp1.1.106/bin/intel64/ifort  -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /mnt/apps/intel/composer_xe_2013_sp1.1.106/bin/intel64/ifort supports Fortran 90
-- Checking whether /mnt/apps/intel/composer_xe_2013_sp1.1.106/bin/intel64/ifort supports Fortran 90 -- yes
-- Math lib search order is MKL;ESSL;ATLAS;ACML;SYSTEM_NATIVE
-- Configuring incomplete, errors occurred!
See also "/home/milias/Work/qch/software/autocmake_devel/sec_quant_F90_autocmake/build_ifort_dbg/CMakeFiles/CMakeOutput.log".

I have seen this before. The math module seems to require
the python module included before it is included.
At this moment I don't know why - need to investigate it.

Fine, works; thanks.
milias@login.grid.umb.sk:~/Work/qch/software/autocmake_devel/sec_quant_F90_autocmake/cmake/.python update.py --self; python update.py ..
- fetching lib/config.py
- fetching lib/docopt.py
- fetching update.py
- parsing autocmake.cfg
- fetching modules: [##############################] (10/10)
- generating CMakeLists.txt
- generating setup.py
milias@login.grid.umb.sk:~/Work/qch/software/autocmake_devel/sec_quant_F90_autocmake/cmake/.cd ..
milias@login.grid.umb.sk:~/Work/qch/software/autocmake_devel/sec_quant_F90_autocmake/.python setup.py --fc=ifort   --type=debug build_ifort_dbg
CC=gcc CXX=g++ FC=ifort cmake -DEXTRA_CFLAGS="''" -DENABLE_CODE_COVERAGE=False -DEXTRA_CXXFLAGS="''" -DEXTRA_FCFLAGS="''" -DENABLE_64BIT_INTEGERS=False -DENABLE_BLAS=auto -DENABLE_LAPACK=auto -DMKL_FLAG=off -DMATH_LIB_SEARCH_ORDER="MKL;ESSL;ATLAS;ACML;SYSTEM_NATIVE" -DBLAS_LANG=Fortran -DLAPACK_LANG=Fortran -DENABLE_STATIC_LINKING=False -DCMAKE_BUILD_TYPE=debug /home/milias/Work/qch/software/autocmake_devel/sec_quant_F90_autocmake

-- BLAS will be searched for based on MKLROOT=/mnt/apps/intel/composer_xe_2013_sp1.1.106/mkl
-- LAPACK will be searched for based on MKLROOT=/mnt/apps/intel/composer_xe_2013_sp1.1.106/mkl
-- The C compiler identification is GNU 4.4.7
-- The CXX compiler identification is GNU 4.4.7
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- The Fortran compiler identification is Intel
-- Check for working Fortran compiler: /mnt/apps/intel/composer_xe_2013_sp1.1.106/bin/intel64/ifort
-- Check for working Fortran compiler: /mnt/apps/intel/composer_xe_2013_sp1.1.106/bin/intel64/ifort  -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /mnt/apps/intel/composer_xe_2013_sp1.1.106/bin/intel64/ifort supports Fortran 90
-- Checking whether /mnt/apps/intel/composer_xe_2013_sp1.1.106/bin/intel64/ifort supports Fortran 90 -- yes
-- Math lib search order is MKL;ESSL;ATLAS;ACML;SYSTEM_NATIVE
-- Found BLAS: MKL (-Wl,--start-group;/mnt/apps/intel/composer_xe_2013_sp1.1.106/mkl/lib/intel64/libmkl_intel_lp64.so;/mnt/apps/intel/composer_xe_2013_sp1.1.106/mkl/lib/intel64/libmkl_intel_thread.so;/mnt/apps/intel/composer_xe_2013_sp1.1.106/mkl/lib/intel64/libmkl_core.so;/usr/lib64/libpthread.so;/usr/lib64/libm.so;-openmp;-Wl,--end-group)
-- Found LAPACK: MKL (-Wl,--start-group;/mnt/apps/intel/composer_xe_2013_sp1.1.106/mkl/lib/intel64/libmkl_lapack95_lp64.a;/mnt/apps/intel/composer_xe_2013_sp1.1.106/mkl/lib/intel64/libmkl_intel_lp64.so;-openmp;-Wl,--end-group)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/milias/Work/qch/software/autocmake_devel/sec_quant_F90_autocmake/build_ifort_dbg

   configure step is done
   now you need to compile the sources:
   $ cd build_ifort_dbg
   $ make
milias@login.grid.umb.sk:~/Work/qch/software/autocmake_devel/sec_quant_F90_autocmake/.cd build_ifort_dbg
milias@login.grid.umb.sk:~/Work/qch/software/autocmake_devel/sec_quant_F90_autocmake/build_ifort_dbg/.make
make: Warning: File `Makefile' has modification time 11 s in the future
make[1]: Warning: File `CMakeFiles/Makefile2' has modification time 12 s in the future
make[2]: Warning: File `src/CMakeFiles/secquant.dir/flags.make' has modification time 11 s in the future
Scanning dependencies of target secquant
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make[2]: Warning: File `src/CMakeFiles/secquant.dir/flags.make' has modification time 11 s in the future
make[3]: Warning: File `src/CMakeFiles/secquant.dir/flags.make' has modification time 11 s in the future
[ 11%] Building Fortran object src/CMakeFiles/secquant.dir/control_print.F90.o
make[3]: warning:  Clock skew detected.  Your build may be incomplete.
make[3]: Warning: File `src/CMakeFiles/secquant.dir/flags.make' has modification time 11 s in the future
[ 22%] Building Fortran object src/CMakeFiles/secquant.dir/dynamic_string.F90.o
make[3]: warning:  Clock skew detected.  Your build may be incomplete.
make[3]: Warning: File `src/CMakeFiles/secquant.dir/flags.make' has modification time 11 s in the future
[ 33%] Building Fortran object src/CMakeFiles/secquant.dir/indexed_quantities.F90.o
make[3]: warning:  Clock skew detected.  Your build may be incomplete.
make[3]: Warning: File `src/CMakeFiles/secquant.dir/flags.make' has modification time 11 s in the future
[ 44%] Building Fortran object src/CMakeFiles/secquant.dir/kron_delta.F90.o
make[3]: warning:  Clock skew detected.  Your build may be incomplete.
make[3]: Warning: File `src/CMakeFiles/secquant.dir/flags.make' has modification time 11 s in the future
[ 55%] Building Fortran object src/CMakeFiles/secquant.dir/sec_quant_oper.F90.o
make[3]: warning:  Clock skew detected.  Your build may be incomplete.
make[3]: Warning: File `src/CMakeFiles/secquant.dir/flags.make' has modification time 10 s in the future
[ 66%] Building Fortran object src/CMakeFiles/secquant.dir/operators_string.F90.o
make[3]: warning:  Clock skew detected.  Your build may be incomplete.
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make[2]: Warning: File `src/CMakeFiles/secquant.dir/flags.make' has modification time 10 s in the future
[ 77%] Building Fortran object src/CMakeFiles/secquant.dir/evaluare_strings.F90.o
[ 88%] Building Fortran object src/CMakeFiles/secquant.dir/utils.F90.o
Linking Fortran static library ../lib/libsecquant.a
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
[ 88%] Built target secquant
make[2]: Warning: File `src/CMakeFiles/secquant.x.dir/flags.make' has modification time 9.5 s in the future
Scanning dependencies of target secquant.x
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make[2]: Warning: File `src/CMakeFiles/secquant.x.dir/flags.make' has modification time 9.4 s in the future
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make[2]: Warning: File `src/CMakeFiles/secquant.x.dir/flags.make' has modification time 9.4 s in the future
[100%] Building Fortran object src/CMakeFiles/secquant.x.dir/main.F90.o
Linking Fortran executable ../bin/secquant.x
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
[100%] Built target secquant.x
make[1]: warning:  Clock skew detected.  Your build may be incomplete.
make: warning:  Clock skew detected.  Your build may be incomplete.
milias@login.grid.umb.sk:~/Work/qch/software/autocmake_devel/sec_quant_F90_autocmake/build_ifort_dbg/.


background image position

I am attempting to use a background image to fill an entire slide.  This seems to be commonly done in presentations, so I would expect the following to default to, or have the option for full fill.
  Seems to crop by 50% and left justify by default.

We're making a clean sweep of piled up issues. Filling entire slide in center is already a default behavior of background image ![bg]().
Certainly the inline image ![]() might see like to be cropped and justified to left, but it have to contain "bg" keyword in alt to use as background.

Good to know, thanks for the tip.

It appears when I use ![bg]() just after the --- slide separator, the background uses the image but it has a low opacity. I assume you have some CSS in your themes that is doing that. I would prefer this to be controlled by the markdown author instead. Any way to control this in the current version?

Use ![bg original](). You can disable the opacity filter for background image.
Originally this keyword had added to work as same as Deckset. However, it has caused confusing as you pointed out. In the future version, Marp Next, opacity filter would become to be optional: ![bg opacity]()

How to set background image   for all the slides rather than the current slide.  Currently, I need to add this sentence for each slide. Thanks

@yubaoliu Use custom styling.
<style>
.slide {
  background: url(bg-image.jpg) no-repeat center center;
  background-size: cover;
}
</style>

# Slide contents

Marp Next (Marpit) has already supported setting CSS background by backgroundImage directive. Use it in front matter to set background for all slides:
---
backgroundImage: url(bg-image.jpg)
---

# Slide contents

The custom styling still can use in Marp Next.
<style>
section {
  background: #fff url(bg-image.jpg) no-repeat center center;
  background-size: cover;
}
</style>

# Slide contents