Unable to change maintenance for an app

When I type "heroku maintenance:on -a myapp", I got
Installing Heroku Toolbelt v4... done
▸    rename /home/jcl/.heroku/tmp/node071638888/iojs-v2.3.2-linux-ia32 /home/jcl/.heroku/iojs-v2.3.2-linux-ia32: no such file or directory
▸    rename /home/jcl/.heroku/tmp/node064785859/iojs-v2.3.2-linux-ia32 /home/jcl/.heroku/iojs-v2.3.2-linux-ia32: no such file or directory
▸    rename /home/jcl/.heroku/tmp/node055304210/iojs-v2.3.2-linux-ia32 /home/jcl/.heroku/iojs-v2.3.2-linux-ia32: no such file or directory
and then get the prompt. The status of the app is unchanged.
Looking for similar difficulties, I tried "heroku update" but then got
▸    rename /home/jcl/.heroku/tmp/node104973427/iojs-v2.3.2-linux-ia32 /home/jcl/.heroku/iojs-v2.3.2-linux-ia32: no such file or directory
error loading plugin commands
!    To update this version of the Heroku client please use
!    apt-get install heroku-toolbelt
apt-get install heroku-toolbelt told me I already have the last version.
I run heroku on a Ubuntu 12-04-5 LTS release. And updates are done.

This happens for all command, not just maintenance.
looking into the nodeXXXXXX folders, there are -x86 files but the command is looking to copy -ia32 files.

apologies for this, it was an issue with 32-bit linux installs. We need to get integration testing up for 32-bit variants.

@azreda there isn't a way to disable the autoupdater


Uncaught TypeError: Cannot convert a BigInt value to a number

Using create-react-app, on making a production build of a very basic client app I'm suddenly seeing this error below, which is in the stacks code somewhere. This only happens with a production build.

Uncaught TypeError: Cannot convert a BigInt value to a number
, o = Math.pow(BigInt(2), BigInt(128)) - BigInt(1)`

I assume this is Hiro wallet as that's the only code I have in the client that would refer to clarity

this is in the minimized production build so a bit hard to track down. But this should never happen really.
, function(e, t, n) {
    "use strict";
    n.d(t, "a", (function() {
        return c
    }
    )),
    n.d(t, "b", (function() {
        return l
    }
    ));
    var r = n(10)
      , i = n(16)
      , o = Math.pow(BigInt(2), BigInt(128)) - BigInt(1)
      , a = BigInt(0)
      , s = Math.pow(BigInt(2), BigInt(127)) - BigInt(1)
      , u = Math.pow(BigInt(-2), BigInt(127))
      , c = function(e) {
        var t = Object(r.d)(e, !0);
        if (t > s)
            throw new RangeError("Cannot construct clarity integer from value greater than ".concat(s.toString()));
        if (t < u)
            throw new RangeError("Cannot construct clarity integer form value less than ".concat(u.toString()));
        return {
            type: i.a.Int,
            value: t
        }
    }
      , l = function(e) {
        var t = Object(r.d)(e, !1);
        if (t < a)
            throw new RangeError("Cannot construct unsigned clarity integer from negative value");
        if (t > o)
            throw new RangeError("Cannot construct unsigned clarity integer greater than ".concat(o.toString()));
        return {
            type: i.a.UInt,
            value: t
        }
    }

I've moved this to the extension wallet's repository, since I presume that's the one you're interacting with here (not the desktop wallet).
Do you expect https://github.com/blockstack/stacks.js/issues/1096 to resolve this for you?

https://github.com/blockstack/stacks.js/issues/1096#issuecomment-946350299
I used this as a fix


Well written library.  Question on ability to separate functionality.

This is a great library and I appreciate the author's ability to write clean, decent and efficient code.
Is it possible for me somehow separate out the query building aspect of this library?  For example, I have an Odata resource that I am calling using $http and would like to easily format out the the part of the URI for querying Odata.  However, I don't need the $resource aspect of the library as I already have multiple angular services using the $http directly.  I'd like to be able to pass in to my service something like an ODataQuery object that just appends the necessary URI structure for the query (i.e. '?$expand=Owner').
Thank you.

Hi McShauno,
It's pretty simple, use $odataProvider and then execute() it to get the query.
function($odataProvider){
    var odata = new $odataProvider();
    var query = odata.filter("name","bob").execute();
}

I didn't test that code so you might need to change it.

Perfect, thank you!


[FEAT] Selectable Proxy for each Frame.

Is your feature request related to a problem? Please describe.
It's not possible to use Bard from Europe.
Describe the solution you'd like
A proxy option for each of the different frames, or like enable for some and disable for others (to get better speed).
In my case I would like to redirect only the requests to Bard chat using an anonymous proxy.

Duplicate of #11

Thanks for clarifying this, but I wasn't able to find it in the search, probably because the request was done in Chinese previously.

Thanks for clarifying this, but I wasn't able to find it in the search, probably because the request was done in Chinese previously.

@Mayorc1978 That's all right. Marking as duplication is for reference only.


Update: Render demo site with options

What is the purpose of this pull request? (put an "X" next to item)
[] Documentation update
[] Bug fix
[] New functionality
[] Changes an existing functionality
[x] Other, please explain:
What changes did you make? (Give an overview)
Moved the inline arguments to an object to render the demo site. Updated the version of carbon-site-helpers to 1.1.0
Add any screenshots

:tada: This PR is included in version 1.7.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Implemented --filter-platform

Just like in cargo metadata, this option will allow to choose a specific target triple like x86_64-unknown-linux-gnu or i686-unknown-linux-gnu and filter crate dependencies accordingly.

I've been experimenting with this patch, but noticed that cargo is still trying to fetch packages not specific for the target triple. Do you know what could be causing this?

Unfortunately, this is expected behavior from cargo to prevent the lockfile from changing, as mentioned here. Therefore I am closing the request.


Local_position_ned values always 0 for x and y coordinates.

I have a pixhawk (px4 mini) connected to a rasp pi using the serial interface running firmware 1.5.4.
When I try this example code that is meant to receive local_position_ned I get z values, velocity values, and attitude values, but the x and y local position values are always 0. Also the pixhawk seems to accept offboard mode (the log says so) but I cannot set the local_position_target_ned as it is always 0 as well.
https://github.com/mavlink/c_uart_interface_example
We are operating indoors so is this caused by the lack of GPS signal? If so, is there a way to get local position estimates without GPS?

is this caused by the lack of GPS signal?

Yes.

If so, is there a way to get local position estimates without GPS?

There any many ways, like optical flow and visual odometry. You need to read up. Please open a discussion at http://discuss.px4.io/ for questions like this.


Serializing binary data using msgpack seralizer.

In reference to this topic :
https://github.com/tavendo/WAMP/issues/4
It seems that it should be possible to serialize binary data using the msgpack serializer.
The data will actually pack just fine from the data producer side, but on the consumer side the binary data is assumed to be a utf8 string, and I'll get this error :
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte

If this is really the case, it's a blocker for us. We're working on software for machine control, and quite soon I'll be building a component for controlling an image detector in the machine. I will need to be able to deliver binary data. Hopefully without encoding it as base64 or something else crazy :)

@mtourne can you post more details of the case that's failing? I wrote a small unit-test encoding a Yield message with one arg that is a bytes with everything from 0->255 and it seems to work and de-serialize fine (Python 2.7 or 3.4.2, msgpack 0.4.6, autobahn master)

I also come across the same issue.
Here's the failure code.
import asyncio
from autobahn.asyncio.wamp import ApplicationSession, ApplicationRunner
import msgpack

print(autobahn.__version__)

class Component(ApplicationSession):
    @asyncio.coroutine
    def onJoin(self, details):
        def compute():
            t = {'a': 'b'}
            msg = msgpack.packb(t)
            print('msg', msg)
            return msg

        self.register(compute, 'com.test')
        yield from asyncio.sleep(1)
        result = yield from self.call('com.test')
        print('result', result)

    def onDisconnect(self):
        asyncio.get_event_loop().stop()

runner = ApplicationRunner(
    "ws://xxx.xxx.xxx.xxx:8080/ws",
    "crossbardemo"
    # debug_wamp=True,  # optional; log many WAMP details
    # debug=True,  # optional; log even more details
)
runner.run(Component)

And I get the following error
C:\Anaconda3\python.exe D:/Dropbox/code/quantlib/learn/wowautobahn.py
0.10.9
msg b'\x81\xa1a\xa1b'
While firing onJoin
Traceback (most recent call last):
  File "C:\Anaconda3\lib\site-packages\txaio\aio.py", line 338, in done
    res = f.result()
  File "C:\Anaconda3\lib\asyncio\futures.py", line 275, in result
    raise self._exception
  File "C:\Anaconda3\lib\asyncio\tasks.py", line 234, in _step
    result = coro.throw(exc)
  File "D:/Dropbox/code/quantlib/learn/wowautobahn.py", line 18, in onJoin
    result = yield from self.call('com.test')
  File "C:\Anaconda3\lib\asyncio\futures.py", line 386, in __iter__
    yield self  # This tells Task to wait for completion.
  File "C:\Anaconda3\lib\asyncio\tasks.py", line 287, in _wakeup
    value = future.result()
  File "C:\Anaconda3\lib\asyncio\futures.py", line 275, in result
    raise self._exception
autobahn.wamp.exception.SerializationError: success return value from invoked procedure "com.test" could not be serialized: WAMP serialization error ('utf-8' codec can't decode byte 0x81 in position 16: invalid start byte)

Process finished with exit code -1

So far I've tried the following, with twisted and asyncio components.
crossbar master + autobahn master + python2 or 3: works
crossbar master + autobahn 0.10.9 + python2 or 3: works
crossbar 0.11.1 + autobahn 0.10.9 + python2 or 3: works
Here, "works" means I get something like this in the logs (using @tangyouze's code):
2015-11-18T16:39:18-0700 [Controller  21114] Guest 'worker3': started
2015-11-18T16:39:18-0700 [Container   21122] join!
2015-11-18T16:39:18-0700 [Container   21122] msg b'\x81\xa1a\xa1b'
2015-11-18T16:39:18-0700 [Container   21122] result b'\x81\xa1a\xa1b'

I also tried having only JSON serializer, in which case it does fail but with an error-message:
2015-11-18T16:43:23-0700 [Container   24725] Fatal error in component: While firing onJoin - success return value from invoked procedure "com.test" could not be serialized: WAMP serialization error (b'\x81\xa1a\xa1b' is not JSON serializable)

Is it possible this is a windows-only problem? @mtourne were you running on windows as well?

no response from OP


Fix: HandleEnergyScanResult should use SPINEL_PROP_MAC_ENERGY_SCAN_RE…

Without this energy scan would falsely return SPINEL_PROP_MAC_SCAN_BEACON

I signed the CLA, hopefully will update soon.


Any plans to support offline mobile mode?

Hi Florian,
Just in case, do you have any plans to cover a "seamless" supporting offline mode as well?
Thanks

Hi @khorozhansky,
I do not have any actual plans, but this sounds like an interesting feature.
After taking a look at the offline query options I think that this might work well.
I'll take a look at it.
If you want to work on this as well in the meantime, feel free to open a PullRequest.
Thanks for your hint.
Kind Regards,
Florian

Probably easier to use Xrm.WebApi.offline by now for that scenario as it seems to be a seldom used feature.
Closing this for now, feel free to discuss if you have a different opinion on this.
Kind regards,
Florian


Can we have the examples as completed pdfs please?

Hi
It would be helpful if all of the examples were already available as pdfs so that someone could see the 'finished' product first to gauge what is possible.
Thanks

I now have pictures in the readme file of the complete report.   I debated actually including the completed pdf's but I think the images server the purpose better as you can see them when viewing the documentation.


Unable to access filesystems after event

Reported through twitter:

I think I found a bug in HasEvents trait. It it throwing the event pushing the object with array_unshift. This leads to situation in MountManger when I cannot access array of filesystems anymore as it is being converted to object. The only way to solve it is to comment out array_unshift line.

Thanks. Just the details - I cannot access filesystems array in plugin :)


feature: Add a way to export data to a machine readable format

As far as I am aware, there is currently no convenient way to export historical data from this (or for that matter any other wallet).  It would be extremely useful if it was possible to export things like the transaction history and staking rewards received per account in a format that is easy to import into other tools (CSV comes to mind).
This does not neccecarily have to be something that is part of the web wallet (a different service that I can go to and be like "give me a dump of this account" would also be acceptable).
How to deal with this potentially being moderately expensive may be an open question.

transaction history sounds doable. oasismonitor has an endpoint for that https://oasismonitor.com/docs#operation/getTransactionsList
I don't see anything from that API for staking rewards though.

transaction history sounds doable. oasismonitor has an endpoint for that https://oasismonitor.com/docs#operation/getTransactionsList
I don't see anything from that API for staking rewards though.

https://oasismonitor.com/docs#operation/getAccountRewards
https://oasismonitor.com/docs#operation/getAccountsRewardsStat

This feature is a must have and I'll make sure it's prioritized accordingly.
It definitely belongs to the wallet side if you ask me...
We can do a very simple dump of the whole wallet history as an MVP but I would like to see a more elaborate "export history" feature which would allow users to apply different filters (e.g. date/amount/address/etc) and then export the resulting subset of transactions.
CSV export fields I can see as relevant for the export:
Hash, Type, Status, Block, UTC Timestamp, From address(es), To address(es), Fee, Gas Price, Token amounts
@Yawning @pro-wh looking forward to your input!

Since our own indexer is in the works, using that for staking rewards is probably better than the calls I mentioned earlier in this ticket as well.

Agreed. The API for this feature is to be implemented as a part of a Unified Wallet Backend which will use Oasis Indexer as a dependency.

if we bring that data into the wallet, it would be very nice of us to allow users to export it.
@nikolaglumac can you confirm whether we currently bring that data into the wallet?
if we don't bring that data into the wallet, this would be better implemented outside the wallet
I prefer that we not build filtering functionality into our in-wallet export tool

if we don't bring that data into the wallet, this would be better implemented outside the wallet

Kind of disagree.  People expect the wallet to provide such things (I guess the block explorer can do it too, though some think it's better here).

I believe this feature definitely belongs to the Wallet and not the Explorer.
We use wallet applications to get "a personalized view" of your wallet and transactions.
Partial export or if you prefer "filtered" export is definitely helpful for many cases. The simplest one would be an annual tax report for which you obviously need only transactions for a given year. This of course doesn't not prevent you in any way from bulk exporting everything.
I would prefer this feature to be built in the following way:

Data fetching API would be a Unified Wallet Backend module which we can also use in other Backends (such as Unified Blockchain Explorer Backend)
the filtering of the data would be a frontend concern same as the CSV file generation.

Kind of disagree. People expect the wallet to provide such things

I believe this feature definitely belongs to the Wallet and not the Explorer.

not here to dispute what other people expect or your beliefs. it's just that someone asked :point_down:

@pro-wh looking forward to your input!

I have a very different philosophy of what a wallet is, but I want to assure you it's okay for us not to follow that

I guess the block explorer can do it too

that would be a good place for it. saves a lot of trouble if you're on a device that doesn't have your wallet set up. or if you want the report for an account not set up in your wallet
will have limitations with the upcoming confidential paratimes though

A partial export is crap and kind of worthless, and there should be at least one first party place where ALL token changes (staking, transfers, transactions, paratime bridging, etc etc etc) can be downloaded in exactly one document.

agreed too. just pointing out that this is separate from the above discussion about where this (complete) export should be. right? or is there something intrinsically incomplete about one of the options?

Partial export or if you prefer "filtered" export is definitely helpful for many cases. The simplest one would be an annual tax report for which you obviously need only transactions for a given year.

filtering by year is a good idea, so that exports won't uncontrollably get more expensive over time. and after all, the next best option to having no filtering functionality is to have very limited filtering.

Data fetching API would be a Unified Wallet Backend module

can't get any information from this other than it saying "there ought to be a place where we can get this data."

the filtering of the data would be a frontend concern same as the CSV file generation.

certain filters we should do in the backend so that we can save some work if a lot of data will be filtered out

not here to dispute what other people expect or your beliefs. it's just that someone asked point_down

Yeah.  I am ultimately ok with wherever this lives, as long as there is a one full featured place for it.  I do have a slight perception of "wallet = where people go to look at their account" (since a wallet by it's nature has to have block-explorer-esque fuctionality).

that would be a good place for it. saves a lot of trouble if you're on a device that doesn't have your wallet set up. or if you want the report for an account not set up in your wallet

The web wallet lets you view all accounts already...

Thank you both for your feedback!
It is good to have different views and ideas - I like that! :-)
I don't expect us to come up with the exact feature requirements now.
We'll do that in a proper Double Diamond process as it is crucial to get not only our internal but also stakeholders and end-user feedback too. Thanks once again!

Any updates on this? Looks like this is still missing as an accessible feature for users.

not lately. we've been focusing on paratime support for emerald and sapphire


uharfbuzz.Face.create_for_tables(...) broken?

Traceback (most recent call last):
  File "test.py", line 29, in <module>
    face = hb.Face.create_for_tables(_get_layout_table, tables)
  File "_harfbuzz.pyx", line 271, in uharfbuzz._harfbuzz.Face.create_for_tables
  File "_harfbuzz.pyx", line 248, in uharfbuzz._harfbuzz.Face.__cinit__
TypeError: __cinit__() takes at least 1 positional argument (0 given)

I noticed as much (
https://github.com/trufont/uharfbuzz/pull/12#issuecomment-459361204), but for my life can't get to compile uharfbuzz to test the fix ...

Yeah, I hope @anthrotype will have an opportunity to look at some point.

Sorry guys, I'll be busy with internal training for another couple of weeks at least. Can you at least pin to the previous version for now?

It's not urgent for me at all, thanks!

I tried using a previous version, but that gives me the segfault in TruFont that Just reported here previously (#10). It’s not urgent for me either, just checking out TruFont.

This should work. Could you see if it works and send a PR?
I can't finish this right now.
diff --git a/src/uharfbuzz/_harfbuzz.pyx b/src/uharfbuzz/_harfbuzz.pyx
index 23a9fc3..9992b7f 100644
--- a/src/uharfbuzz/_harfbuzz.pyx
+++ b/src/uharfbuzz/_harfbuzz.pyx
@@ -246,9 +246,13 @@ cdef class Face:
     cdef object _reference_table_func

     def __cinit__(self, bytes blob, int index=0):
-        cdef hb_blob_t* hb_blob = hb_blob_create(
-            blob, len(blob), HB_MEMORY_MODE_READONLY, NULL, NULL)
-        self._hb_face = hb_face_create(hb_blob, index)
+        cdef hb_blob_t* hb_blob
+        if blob is not None:
+            hb_blob = hb_blob_create(
+                blob, len(blob), HB_MEMORY_MODE_READONLY, NULL, NULL)
+            self._hb_face = hb_face_create(hb_blob, index)
+        else:
+            self._hb_face = NULL

     def __dealloc__(self):
         if self._hb_face is not NULL:
@@ -268,7 +272,7 @@ cdef class Face:
                               object  # user_data
                           ], bytes],
                           user_data: object):
-        cdef Face inst = cls()
+        cdef Face inst = cls(None)
         inst._hb_face = hb_face_create_for_tables(
             _reference_table_func, <void*>user_data, NULL)
         hb_face_set_user_data(inst._hb_face, &k, <void*>inst, NULL, 0)

I can't, as setting up the requirements to build uharfbuzz is too cumbersome. Also: this issue isn't blocking anything I'm working on — I just noticed the breakage. Anyone else maybe?

No problem, I can take a look next week.
Btw, to build from source you only need the C/C++ compiler toolchain for your platform. Then install the requirements-dev.txt inside a virtual environment, and run python setup.py bdist_wheel to build the wheel.

I confirm the patch above no longer crashes trufont.
@justvanrossum about building from source, I just remembered that it's actually easier than what I wrote earlier. I had already set up a pyproject.toml file (PEP 517/518), so basically as long as you have a recent pip version (the latest, the better), you can simply do pip install . or (pip install -e .) and all the build requirements (well, everything except the C++ compiler which your platform needs to provude!) are automatically installed in a temporary build environment.

Thank you, I will try that!


Make QA strings less ambiguous

And update ID accordingly

Summary of the Pull Request

PR Checklist

[x] Closes: #20750
[ ] Communication: I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected
[ ] Tests: Added/updated and all pass
[ ] Localization: All end user facing strings can be localized
[ ] Dev docs: Added/updated
[ ] New binaries: Added on the required places

[ ] JSON for signing for new binaries
[ ] WXS for installer for new binaries and localization folder
[ ] YML for CI pipeline for new test projects
[ ] YML for signed pipeline

[ ] Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

I'm thinking the words "..to activate" are redundant because of the title. Should I remove?


az acs create fails on provisioning microsoft.network

attempting to create an acs instance through the az acs create cli does not properly register microsoft.network.
.ms/arm-debug for usage details. {
  "status": "Failed",
  "error": {
    "code": "ResourceDeploymentFailure",
    "message": "The resource operation completed with terminal provisioning state 'Failed'.",
    "details": [
      {
        "code": "ProvisioningFailed",
        "message": "Provisioning of resource(s) for container service 'bikesharing360East' in resource group 'bikesharin
g-acs' failed with errors: Resource type: Microsoft.Network/networkSecurityGroups, name: dcos-master-nsg-B3FF3E21, id: /
subscriptions/c4ee2e2f-5fb8-4f65-9177-c383b79cad3d/resourceGroups/bikesharing-acs/providers/Microsoft.Network/networkSec
urityGroups/dcos-master-nsg-B3FF3E21, StatusCode: Conflict, StatusMessage: \\n {\r\n  \"error\": {\r\n    \"code\": \"Mi
ssingSubscriptionRegistration\",\r\n    \"message\": \"The subscription is not registered to use namespace 'Microsoft.Ne
twork'. See https://aka.ms/rps-not-found for how to register subscriptions.\"\r\n  }\r\n}\r\nResource type: Microsoft.Ne
twork/networkSecurityGroups, name: dcos-agent-private-nsg-B3FF3E21, id: /subscriptions/c4ee2e2f-5fb8-4f65-9177-c383b79ca
d3d/resourceGroups/bikesharing-acs/providers/Microsoft.Network/networkSecurityGroups/dcos-agent-private-nsg-B3FF3E21, St
atusCode: Conflict, StatusMessage: \\n {\r\n  \"error\": {\r\n    \"code\": \"MissingSubscriptionRegistration\",\r\n
\"message\": \"The subscription is not registered to use namespace 'Microsoft.Network'. See https://aka.ms/rps-not-found
 for how to register subscriptions.\"\r\n  }\r\n}\r\nResource type: Microsoft.Network/publicIPAddresses, name: dcos-agen
t-ip-bikesharing360eastagents-B3FF3E21, id: /subscriptions/c4ee2e2f-5fb8-4f65-9177-c383b79cad3d/resourceGroups/bikeshari
ng-acs/providers/Microsoft.Network/publicIPAddresses/dcos-agent-ip-bikesharing360eastagents-B3FF3E21, StatusCode: Confli
ct, StatusMessage: \\n {\r\n  \"error\": {\r\n    \"code\": \"MissingSubscriptionRegistration\",\r\n    \"message\": \"T
he subscription is not registered to use namespace 'Microsoft.Network'. See https://aka.ms/rps-not-found for how to regi
ster subscriptions.\"\r\n  }\r\n}\r\nResource type: Microsoft.Network/publicIPAddresses, name: dcos-master-ip-bikesharin
g360eastmgmt-B3FF3E21, id: /subscriptions/c4ee2e2f-5fb8-4f65-9177-c383b79cad3d/resourceGroups/bikesharing-acs/providers/
Microsoft.Network/publicIPAddresses/dcos-master-ip-bikesharing360eastmgmt-B3FF3E21, StatusCode: Conflict, StatusMessage:
 \\n {\r\n  \"error\": {\r\n    \"code\": \"MissingSubscriptionRegistration\",\r\n    \"message\": \"The subscription is
 not registered to use namespace 'Microsoft.Network'. See https://aka.ms/rps-not-found for how to register subscriptions
.\"\r\n  }\r\n}\r\nResource type: Microsoft.Network/networkSecurityGroups, name: dcos-agent-public-nsg-B3FF3E21, id: /su
bscriptions/c4ee2e2f-5fb8-4f65-9177-c383b79cad3d/resourceGroups/bikesharing-acs/providers/Microsoft.Network/networkSecur
ityGroups/dcos-agent-public-nsg-B3FF3E21, StatusCode: Conflict, StatusMessage: \\n {\r\n  \"error\": {\r\n    \"code\":
\"MissingSubscriptionRegistration\",\r\n    \"message\": \"The subscription is not registered to use namespace 'Microsof
t.Network'. See https://aka.ms/rps-not-found for how to register subscriptions.\"\r\n  }\r\n}\r\nResource type: Microsof
t.Compute/availabilitySets, name: dcos-master-availabilitySet-B3FF3E21, id: /subscriptions/c4ee2e2f-5fb8-4f65-9177-c383b
79cad3d/resourceGroups/bikesharing-acs/providers/Microsoft.Compute/availabilitySets/dcos-master-availabilitySet-B3FF3E21
, StatusCode: Conflict, StatusMessage: \\n {\r\n  \"error\": {\r\n    \"code\": \"MissingSubscriptionRegistration\",\r\n
    \"message\": \"The subscription is not registered to use namespace 'Microsoft.Compute'. See https://aka.ms/rps-not-f
ound for how to register subscriptions.\"\r\n  }\r\n}\r\n"
      }
    ]

However, using the portal to provision acs does the proper registrations.
Expected:
az acs create does the same steps as the portal arm template for registering Microsoft.Networking and any other resources required.

For clarity, this only occurs with a subscription that had not used ARM before.

You need to register services in order to use them.  This should get you there:
az provider register --namespace Microsoft.Network
az provider register Microsoft.Compute
az provider register Microsoft.Storage

We should probably automatically do this in the CLI.  I'll take that on.

Agreed @brendanburns. Do we really want developers having to enable/disable resources?  When provisioning with an arm template, these are handled automatically. I'm sure there's some reason why this prinitive exists, but I don't believe there's value in making it that much more complicated for them to use our services.

@SteveLasker agreed, I think the CLI should auto-register for users for ACS.  For the general case, we can talk about why it is this way in person sometime.

Hello
I entered these commands per instructions above
az provider register --namespace Microsoft.Network
az provider register --namespace Microsoft.Compute
az provider register --namespace Microsoft.Storage

and then tried again creating the cluster (hiding private info):
az acs create --name myacscluster --resource-group myresgroup --generate-ssh-keys --orchestrator-type kubernetes

Deployment failed. Correlation ID: 2096add4-bc89-4857-842e-40b2b1898dc4. {
"status": "Failed",
"error": {
"code": "ResourceDeploymentFailure",
"message": "The resource operation completed with terminal provisioning state 'Failed'.",
"details": [
{
"code": "InvalidResourceReference",
"message": "Provisioning of resource(s) for container service 'myacscluster' in resource group 'myresgroup' failed with errors: Resource type: Microsoft.Network/virtualNetworks, name: k8s-vnet-A7456B9, id: /subscriptions/mysubguid/resourceGroups/myresgroup/providers/Microsoft.Network/virtualNetworks/k8s-vnet-A7456B9, StatusCode: BadRequest, StatusMessage: \n {\r\n  "error": {\r\n    "code": "InvalidResourceReference",\r\n    "message": "Resource /subscriptions/mysubguid/resourceGroups/myresgroup/providers/Microsoft.Network/networkSecurityGroups/K8S-MASTER-A7456B9-NSG referenced by resource /subscriptions/mysubguid/resourceGroups/myresgroup/providers/Microsoft.Network/virtualNetworks/k8s-vnet-A7456B9 was not found. Please make sure that the referenced resource exists, and that both resources are in the same region.",\r\n    "details": [\r\n      {\r\n        "code": "NotFound",\r\n        "message": "Resource /subscriptions/mysubguid/resourceGroups/myresgroup/providers/Microsoft.Network/networkSecurityGroups/K8S-MASTER-A7456B9-NSG not found."\r\n      }\r\n    ]\r\n  }\r\n}\r\n"
}
]
}
}

Could you please advise on how to solve this?
I'm using azure cli  version 2.0.32-1~artful  on  Ubuntu.


API endpoint to edit client versions

I'm taking a stab at on automating ok-client releases (https://github.com/Cal-CS-61A-Staff/ok-client/issues/264) and realized we'd need this

I've made some major changes, mind taking another look?


Question!

Hi there, what is the most efficient way if I have a list of around ~50 genes to output a data frame in r that contains only the controls-state-of interaction type but for all the ~50 genes? When I query using this code it just takes such a long time and is outputting way more than I need.
t1 <- graphPc(source = 50_genes, kind = "NEIGHBORHOOD", format = "SIF", verbose = TRUE, limit = 1)

Github project issues are not for how-to or research questions.


[BugFix] Fix parsing max rowgroup size of parquet outfile

What type of PR is this:

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes:

Fixes #
Problem Summary(Required):

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto backported to target branch

[x] 3.0
[ ] 2.5
[ ] 2.4
[ ] 2.3

please add some descriptions about this bug fix

please add some descriptions about this bug fix

updated, PTAL

[FE PR Coverage Check]
:disappointed: fail : 0 / 1 (00.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/analysis/OutFileClause.java
0
1
00.00%
[204]

@Mergifyio backport branch-3.0


added missing testcase for no-ununsed-prop rule

resolves #3336

@himanshu007-creator it'd be great to reopen this, otherwise the PR isn't going to be recoverable.


Fancy up the console.log shim?

This is awfully nice:
console.log(moment().format(), 'something happened');

Could bake it in if we don't mind the overhead

We don't have this anymore.


[Tests] [Refactor] refactor node-modules-paths and add tests.

Add path-parse since node <= 0.10 doesn’t have path.parse

This PR adds tests for node-modules-paths, and also makes them pass in Windows. In order to retain compatibility with node 0.10 and earlier, which lacks path.parse, I'm adding the path-parse dependency.
If we ever wish to drop 0.6, 0.8, and 0.10 compat, then we can drop the runtime dependency as well.
This should fix #106, may make #107 unnecessary, closes #52, and affects #88.
The node-modules-paths tests are a bit loose out of necessity - I didn't want to simply duplicate the implementation to test them, and since $PWD will differ across machines, I didn't want to couple the tests to a individual machine's paths.

I've also added appveyor which will run tests on windows, as soon as the hook is enabled in the repo admin.

k, i'm going to merge this - @substack, it'd be awesome if you could enable appveyor for this repo, and make it a required hook for PRs.


Cleanup and refactor

Just a few small code changes

remove uncalled method
move javascript to end of document
turn off rails plugin that was on in dev by default that made dev unusable

Coverage remained the same when pulling 4ecd4171cf520ce3e2ce29519ca352bfd8bfcd47 on feature-cleanup-and-refactor into aad2a7c5dff4f54ffff7cbe1856debe253fb2d35 on master.

Coverage remained the same when pulling ceb78619ccf058481d494c888a3822d79295bb76 on feature-cleanup-and-refactor into aad2a7c5dff4f54ffff7cbe1856debe253fb2d35 on master.

Coverage remained the same when pulling ceb78619ccf058481d494c888a3822d79295bb76 on feature-cleanup-and-refactor into aad2a7c5dff4f54ffff7cbe1856debe253fb2d35 on master.

Coverage decreased (-0.02%) to 80.75% when pulling 153ad54257c7e6414beffd50b3e1fd3c9f1293da on feature-cleanup-and-refactor into aad2a7c5dff4f54ffff7cbe1856debe253fb2d35 on master.


It would be great for Amplify CLI functions to support shared secrets

Is this feature request related to a new or existing Amplify category?
function
Is this related to another service?
No response
Describe the feature you'd like to request
Currently amplify functions allows you to create secrets and environment variables which is very useful. However there are certain values that need to be reused between functions (ex: External Client Ids, External Secrets, etc.). Currently these need to be configured for each function.
Describe the solution you'd like
I would love to have the ability to import an existing secret from an existing function to a new function I am creating.
Describe alternatives you've considered
Currently the only option is to create copies of the same secret for every function, im looking into a custom cdk alternative as well at the moment.
Additional context
No response
Is this something that you'd be interested in working on?

[ ] 👋 I may be able to implement this feature request

Would this feature include a breaking change?

[ ] ⚠ This feature might incur a breaking change

Hey @patrickcze :wave: thanks for raising this! I've marked this as a feature request for the team to evaluate further 🙂
As a workaround, we can grant access to SSM by leveraging the function's custom-policies.json https://github.com/josefaidt/amplify-discord-bots/blob/next/amplify/backend/function/discordcommands/custom-policies.json

As a workaround, we can grant access to SSM by leveraging the function's custom-policies.json https://github.com/josefaidt/amplify-discord-bots/blob/next/amplify/backend/function/discordcommands/custom-policies.json

Hey @josefaidt sorry to bother, do you have another example you could share of custom-policies.json? That link seems to be dead

I second this request

Hey @wvidana @jtweeks @renschler ,
following is the functions custom-policies.json example to grant access to SSM.
[
  {
    "Action": ["ssm:GetParameters"],
    "Resource": [
      "arn:aws:ssm:us-east-1:*:parameter/amplify/amplifydiscordbot/${env}/*"
    ]
  }
]

Ref: https://github.com/aws-amplify/discord-bot/blob/10549c302a9588c911743180e21ed50f2c025fea/amplify/backend/function/discordcommands/custom-policies.json

@ykethan the shared snippet authorizes ssm:GetParameters which is good. But the lambda function still doesn't have access to the env var that contains the name of the ssm parameter that has to be retrieved.
When a secret value is added to a function with the CLI, the lambda function is run with a variable with the configured name, so I can get in my code /amplify/app_id/dev/AMPLIFY_MyFunction_MySecret. This is not being handled by that custom-policies.json snippet

there is a rate limit for accessing SSM parameters. For example: there are 100 functions that are called at the same time and they all require external db access.


Show aggregation metrics once filters are applied on list transaction page

As a user, I am using the filtering feature to list transactions that match a criterion. In addition to seeing the individual transactions, I am also interested in some aggregation metrics such as sum, average ticket size, count, tag wise distribution of transactions (count, sum, average ticket size), sub category wise distribution of transactions (count, sum, average ticket size)

If there are multiple currencies involved, how would we handle this?


Can I export it as a video？

Sorry, but no.
You can use OBS Studio (freeware and multi-platform: Windows / Linux / MacOS ) to grab the video in an easy way and to save in your preferred format/coding.
In Linux, in many distros, there is SimpleScreenRecorder: really simple.


ERROR Could not execute template

I'm trying to execute a project called "General" that doesn't have any link with any other projects (./monaco -d -v -p="General" -e="./projects/tenants.yaml" projects) and when doing the "dry run", it seems to be doing a validation of another project called "Application", getting the following error message:
_```
" 2020-11-19 18:03:10 INFO  Dynatrace Monitoring as Code v1.0.0
2020-11-19 18:03:10 ERROR Could not execute template: template: projects\Application\app-detection-rule\rules.yaml:8:21: executing "projects\Application\app-detection-rule\rules.yaml" at <.Env.URLPATTERN>: map has no entry for key "URLPATTERN"
2020-11-19 18:03:10 ERROR Error while converting file projects\Application\app-detection-rule\rules.yaml: template: projects\Application\app-detection-rule\rules.yaml:8:21: executing "projects\Application\app-detection-rule\rules.yaml" at <.Env.URLPATTERN>:
map has no entry for key "URLPATTERN"

A few things I notice here.
I'm assuming your folder structure is:
projects
> General
> > {Configuration Type Folders Are Here}

First I see that your Application folder is at the wrong level. It's underneath projects but should actually live one level down under General.
Second, the error is complaining that you haven't set an environment varialbe called URLPATTERN.
set URLPATTERN=***  // Windows
// OR
export URLPATTERN=*** // Linux / Mac

Finally, be aware of https://github.com/dynatrace-oss/dynatrace-monitoring-as-code/issues/58 when naming your configuration type folders. I believe you need to rename the Application folder to application.

The current structure I have is:
projects

General

{Configuration Type Folders Are Here}
Application
app-detection-rule
{Configuration Type Folders Are Here}

I'm trying to execute the "General" project, but it is getting also validated the Application project, when there isn't any reference/link to that one in any of the General project .yaml files

@JACONDE Sadly, we currently don't allow mixing of project folders with configuration folders. There is an explicit check in the tool to prevent this:
https://github.com/dynatrace-oss/dynatrace-monitoring-as-code/blob/main/pkg/project/project_loader.go#L176

If you just want to execute the General project, consider a structure like that:
projects
> General
> > application
> > app-detection-rule
> Application
> > alerting-profile
> > notification

thanks for the clarification !!

@JACONDE can you post your projects\Application\app-detection-rule\rules.yaml file please? It looks like you have a variable set like this:
config:
  - my_config: "some.json"

my_config:
  - someProperty: "{{ .Env.URLPATTERN }}"

In which case, the tool is expecting to have URLPATTERN set as an environment variable (see my previous post on how to set it).

Here is the info requested:
Sandbox_APP-0000:

name: "projects/Application/application/Sandbox_APP-0000.name"
applicationId: "projects/Application/application/Sandbox_APP-0000.id"
pattern: "{{ .Env.URLPATTERN }}"

Yes you are right. There is a variable called Env.URLPATTERN, However on the General project there isn't any reference to projects\Application\app-detection-rule, so not sure why it goes there to perform any validation.

It's due to your folder structure. At present (due to the capitalisation) monaco thinks you have two projects: General and Application. Application being nested inside General.
monaco doesn't allow nested projects so to fix just move the Application folder up one level so that it sits alongside (not underneath) General.

My project structure is:
projects

General

application
others
Application
alerting-profile
others

Not sure why when calling General project, it should validate also Application. Is this a bug?

Just rename Application to application and set the environment variable and this error will go away. It's not a bug. You've misnamed the folder. Configuration type folders should all be lowercase.

I just added the variables and it works. However not sure why I do need to have all environment variables for the entire project folder, in a pipeline for only one project

Sorry for chiming in late here, but maybe I can clear things up a bit.

why I do need to have all environment variables for the entire project folder, in a pipeline for only one project

If I followed the thread correctly, this is an environment variable you had used in the Application project?
In general the tool reads in all configs - at which point the env var resolution currently happens - in order to be able to handle dependencies between projects.
That is admittedly an imperfect solution for having several projects, or in-progress projects, because as you noticed they all are validated...
As I take it your original problem for this is resolved though @JACONDE ?
Could you close this and possible create a feature request for not doing basic validation on unrelated projects?

Sure, I can do this.
In the meantime, I think we should improve the documentation to make clear "tool reads in all configs - at which point the env var resolution currently happens - in order to be able to handle dependencies between projects"
Does it makes sense?

As this will be solved in #71 closing this issue.


Passing static constructors of Eigen-types to pinocchio methods

Hi all,
this is not an urgent issue, but for the sake of documentation, let me note it here:
For newer Eigen versions (tested with 3.3.5 and 3.3.3), there is a compilation error when passing statically constructed arguments to pinocchio methods.
For example, if you try to compile
pinocchio::forwardKinematics(model_, data_, JointPosition_t::Zero());
you will obtain the compiler-error
/usr/local/include/pinocchio/multibody/joint/joint-free-flyer.hpp:244:95: error: ‘Options’ is not a member of ‘Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, 7, 1, 0, 7, 1> >’        typedef typename Eigen::Quaternion<typename ConfigVector::Scalar,ConfigVector::Options> Quaternion;                                                                                ^ /usr/local/include/pinocchio/multibody/joint/joint-free-flyer.hpp:245:44: error: ‘Options’ is not a member of ‘Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, Eigen::Matrix<double, 7, 1, 0, 7, 1> >’        typedef Eigen::Map<const Quaternion> ConstQuaternionMap;
If you instead use the argument
const JointPosition_t zeroPos = JointPosition_t::Zero(); pinocchio::forwardKinematics(model_, data_, zeroPos);
compilation works fine.

Ok. I won't have time to fix today, but I will do it in the next few days.
@markusgft Thanks a lot for raising this important issue.

solved by #689.


fix(releases): Enable filtering & sorting on Releases list view

Fixes
https://issues.redhat.com/browse/RHTAPBUGS-742

Description

Create generic filter & sort utils
Add creation date column to releases list view
Update releases list page to allow sorting & filtering

Type of change

[ ] Feature
[x] Bugfix
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

Screen shots / Gifs for design review
https://github.com/openshift/hac-dev/assets/20013884/5bf57f86-2ec8-4feb-b62d-758289f8dd7c
cc @misjohns

How to test or reproduce?
Go to releases list page and use filter/sort.

Browser conformance:

[ ] Chrome
[x] Firefox
[ ] Safari
[ ] Edge

@rottencandy If it isn't already, could we set the default sort as the new timestamp column, so that the most recent release attempts are displayed first?

Tested it, works nicely 🎉
/approve
/lgtm

/retest


layout-simple problem

When I do everything the way I am supposed to do it pops up even when I am not in the draftee and when I am in the draftee nothing happens.

Try to use these files instead in the layout-simple:

folder.

Still nothing happens.

Hello, to further troubleshoot your issue:

Can you please provide logs of the backend component?

use this url instead: http://localhost:5000/layouts/layout-simple/?backend=ws://localhost:8999
Also, you need to run the serve command in the top level folder of the project. Running it in the layout-simple folder will cause nothing to show up.

closing this for inactivity. If the issue is still happening, please open a new issue. Thank you!


Show warning for reaching article comment limit

closes #740LiveURL: https://smartfaq-article-feedback-error.surge.sh

:tada: This PR is included in version 1.14.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Rename import coronavirus

This replaces coronavirus to oscovida in all other meaningful places. This is the point number three of #41.

Codecov Report

Merging #58 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #58   +/-   ##
=======================================
  Coverage   91.26%   91.26%
=======================================
  Files           3        3
  Lines         630      630
=======================================
  Hits          575      575
  Misses         55       55

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 f0a5fe2...0686142. Read the comment docs.

Thanks - looks good to me.

Thanks for the review!


Create 1.20.1 v0.5.1.j Patch 2 support for fabric

pls :)

Hi! Create: Vibrant Vaults 0.2.1 is compatible with newer versions of Create. Let me know if you run into any issues. Thanks for your support!


Lightning talk or talk

@katyhuff @staeiou blah! i was thinking about doing this and I guess i made it halfway through... i want to finish a metaclass example this week. maybe just a lightning talk...

oh ! A Python 2 Notebook ! Where are my parentheses around print :-P

Tips us functools.wraps  for better inspection of decorated functions signatures.
And you can use https://gist.github.com/takluyver/c8839593c615bb2f6e80 to run 2to3 on a notebook :-D

Excellent, @rtpavlovsk21 ! It looks good. Since you asked for critique, I will say that, given that decorators are a pretty abstract notion, it is probably helpful to motivate them with a compelling example. If there's a more "real world" example that could be worked into this where there are currently sums, then perhaps that would be easier for folks to grok. It's not necessary though, if you explain the need for decorators clearly enough.
Also, I have an idea! !

Next week, on March 2, we need a topic.
@rtpavlovsk21 , you could start March 2 by giving this talk, which I think will only take about 20 minutes and I think will be interesting to folks!
and @Carreau , you could follow it up by give a 10-20 minute talk on various ways to convert python scripts and notebooks and packages and everything else to python 3. You know... give everyone the rundown about import future, import six, the 2to3 script, etc.... You could have room to opine all you want!

What do you two (and @staeiou ) think about that?

You could have room to opine all you want!

Ok, i'll try to do that, and show some nbconvert stuff.

Sounds good to me, see you.
On Tue, Feb 23, 2016 at 5:50 PM, Matthias Bussonnier <
<EMAIL_ADDRESS>wrote:

You could have room to opine all you want!
Ok, i'll try to do that, and show some nbconvert stuff.
—
Reply to this email directly or view it on GitHub
https://github.com/thehackerwithin/berkeley/pull/53#issuecomment-188006041
.

--
Ryan Pavlovsky
Nuclear Engineering Graduate Student
<EMAIL_ADDRESS><EMAIL_ADDRESS>

Great! I'm going to put you both on the schedule for March 2, then. Ryan,
feel free free to merge your own private when it's ready. Both of you are
welcome to push anything you like up to the repository as needed.
On Tue, Feb 23, 2016, 6:04 PM Ryan Pavlovsky<EMAIL_ADDRESS>wrote:

Sounds good to me, see you.
On Tue, Feb 23, 2016 at 5:50 PM, Matthias Bussonnier <
<EMAIL_ADDRESS>wrote:

You could have room to opine all you want!
Ok, i'll try to do that, and show some nbconvert stuff.
—
Reply to this email directly or view it on GitHub
<
https://github.com/thehackerwithin/berkeley/pull/53#issuecomment-188006041
.

--
Ryan Pavlovsky
Nuclear Engineering Graduate Student
<EMAIL_ADDRESS><EMAIL_ADDRESS>—
Reply to this email directly or view it on GitHub
https://github.com/thehackerwithin/berkeley/pull/53#issuecomment-188012016
.

@katyhuff I think you may have forgotten to merge this?

Thanks!
On Wed, Mar 9, 2016 at 9:40 AM, Ryan Pavlovsky<EMAIL_ADDRESS>wrote:

Merged #53 https://github.com/thehackerwithin/berkeley/pull/53.
—
Reply to this email directly or view it on GitHub
https://github.com/thehackerwithin/berkeley/pull/53#event-583653135.

--
http://katyhuff.github.com


Darts: arithmetic power operator ** leads to wrong results

While doing the Darts exercise I tried using the ** operator like this:
distance = sqrt( x ** 2 + y ** 2 ).
This led to test failures unless forcing operator precedence using
distance = sqrt( ( x ** 2 ) + ( y ** 2 ) ).
It seems the abapLint transpiler handles operator precedence different from the ABAP runtime, just evaluating the expression from left to right.
Minimal example
data n type i.
n = 3 ** 2 + 2 ** 2.
write / n.

AS ABAP: 3 ** 2 + 2 ** 2 = 9 + 4 = 13.
Transpiler: 3 ** 2 + 2 ** 2 --> power(add(power(3,2),2),2) --> (9 + 2) ** 2 = 121.

https://github.com/abaplint/transpiler/pull/687/commits/e8476dac1d79613181deb37003c0aadf5dfbdaf6

@agoeb try again, exercism runner updated

Works as expected. Unbelievably fast!
I guess I'm supposed to close the issue now.
Thanks a lot!


Fix readme

so many PR's....

Thanks! Do you think that's most everything? If it is I'll go ahead and push a new release up to the forge, but no rush if there's more.

I think that's it for now.
Thanks


Time zone setting for Thain

Add time zone settings on the page

@SingleMeen

The backend interface returns the timestamp, and the result of the frontend formatting is browser controlled.


Tags are sometimes associated with incorrect event.

In the picture below, the tag pathCost is incorrectly associated with an event that is already out of scope.

It took several attempts to make it happen, so I guess it is some sort of a race condition?

In order to minimise performance overhead and memory footprint - Optick stores only timestamp and thread ID for each tag. Then in the GUI it searches for the most "bottom" function for this timestamp. Sometimes due to the OS timer resolution step timestamp for a tag from the parent function ("pathfinding") could match the start timestamp of the next function ("AStar") in your case - in this case Optick doesn't know which exactly function produced this tag. Nothing to worry here, it's not a race condition. But I'll see what I could do to get more consistent and less confusing tag distribution.

"ThreadID" is acquired automatically as Optick accumulates events and tags into per-thread TLS storage to avoid any synchronization primitives, so we get ThreadID pretty much for free. There is also no dedicated "stack" of events. In order to get the maximum throughput Optick accumulates all the events directly into a linear buffer. Then on the GUI side all the events are sorted in a special way and organized into a tree based on start/stop timestamps. So currently there is no cheap way to get "current event" for the tag.
To answer your question: which one is faster?

TLS access is super-fast nowadays. I'd estimate the cost as one-two potential L1/L2 cache misses. Should be safe to assume that the cost will be around ~38 cycles taking in account usage pattern.
Acquiring timestmap is super-fast as well. Modern CPUs use a special TSC hardware blocks, so getting a timestamp will cost you "order of 10s or 100s of machine cycles, depending on the processor type" (see link below).

As you can see these two options are very close in terms of performance. Both are pretty fast.
Here is a couple of links if you want a bit more details about QPC (https://docs.microsoft.com/en-us/windows/win32/sysinfo/acquiring-high-resolution-time-stamps) and TLS (http://david-grs.github.io/tls_performance_overhead_cost_linux/).
Memory savings here are more improtant than performance savings though. With just a timestamp we could store a linear array of tags of the fixed size witohut keeping any pointers to the event buffer. This separation is also a necessary step for the upcoming "live mode" where Optick will use available memory as a ring-buffer for events overriding old data with new. The less depepdencies between tags and events - the better.
In any case, I feel like I should be able to find a solution based on the timestamps for this problem.


MudColorPicker: Distingish between internal color view and external

Description
The color picker has a different view mode. If the toolbar is enabled, a user can switch between these views. At the same time, the developer can set the value too. This leads to a situation that is described in #4899, where as soon as there is a value selected in spectrum mode, which closes the picker, starts a new render cycle, and ends up displaying the picker in the initial view.
I saw two options to resolve it.
First is to think about the ColorPickerView as a bindable property since the user can change it. However, there are only a few situations where saving this state in the own code makes sense.
So, I choose to implement the approach of creating a new field, internal to the color picker, that remembers the active (or current) state. So, if a user changes the mode, not the property, but the field changes. This resolves the described issue, and that also means that if a user has selected a color and reopened the same picker again, it will display the latest view.
How Has This Been Tested?
Added a unit tests (and modify existing ones) based on the trymud provided in #4899
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[x] The PR is submitted to the correct branch (dev).
[x] My code follows the code style of this project.
[x] I've added relevant tests.

@henon Ready for your review

I agree Benno, this is the best way to fix it. Thanks!


Add supports for zoltan and metis to build agglomerates

This adds the possibility to use zoltan or metis to create the agglomerate. Since zoltan and metis are called locally on each processor, agglomerates cannot cross processor boundary. This PR adds a new function build_agglomerates_partitioner and move build_agglomerates to build_agglomerates_block.

Codecov Report

Merging #77 into master will decrease coverage by 1.16%.
The diff coverage is 77.14%.

@@            Coverage Diff             @@
##           master      #77      +/-   ##
==========================================
- Coverage   87.58%   86.42%   -1.17%
==========================================
  Files          27       27
  Lines        1514     1598      +84
==========================================
+ Hits         1326     1381      +55
- Misses        188      217      +29

Impacted Files
Coverage Δ

include/mfmg/amge_host.hpp
100% <ø> (ø)
:arrow_up:

include/mfmg/amge_host.templates.hpp
100% <100%> (ø)
:arrow_up:

tests/test_restriction_matrix.cc
97.14% <100%> (-0.03%)
:arrow_down:

include/mfmg/dealii_adapters.hpp
100% <100%> (ø)
:arrow_up:

tests/test_agglomerate.cc
81.57% <55.31%> (-18.43%)
:arrow_down:

include/mfmg/amge.templates.hpp
80.9% <87.5%> (+0.51%)
:arrow_up:

tests/laplace.hpp
95.95% <0%> (+0.08%)
: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 9ed5a09...727d050. Read the comment docs.

How cruel of you to let a PR alone and afraid! Will someone have pity and merge it?

Thanks!


ImportError: No module named Tkinter

If you encounter this problem, please install it via yum, just like
sudo yum -y install tkinter
Thanks a lot

tks


misc/wasm: non-backwards compatible change in wasm_exec.js file

Commit 862ddb3 made the misc/wasm/wasm_exec.js file incompatible with Wasm files compiled with version 1.16 or earlier. Executing a Wasm file compiled with Go 1.16 or earlier, using the latest wasm_exec.js file, causes the following browser error:
Uncaught (in promise) LinkError: import object field 'runtime.walltime1' is not a Function

There is no backwards compatibility guarantee for Wasm and even if there was, I think this change would not fall under this guarantee.
However, in order to run a Go program, compiled to WebAssembly, in the browser you should use one version or the other depending on the version of the compiler.
This also means that anyone distributing the program source code should provide both versions of the misc/wasm/wasm_exec.js file and document which version to use.
Also, those starting to experiment with WebAssembly may get the latest version of the misc/wasm/wasm_exec.js file from the Go repository but compiling with an older version of the compiler would result in error.

WASM support IIRC is still not stable, see https://github.com/golang/go/wiki/WebAssembly

Also, those starting to experiment with WebAssembly may get the latest version of the misc/wasm/wasm_exec.js file from the Go repository but compiling with an older version of the compiler would result in error.

https://github.com/golang/go/wiki/WebAssembly advices to use
$ cp "$(go env GOROOT)/misc/wasm/wasm_exec.js"

to obtain the file.

FWIW, I don't think we generally provide the expectation that internals between releases be compatible.  In this case wasm_exec.js is just another toolchain artifact, albeit one that's always the same for the same Go version.
In this case, I think it's a failing of packaging the output. Perhaps go build should also copy in the correct wasm_exec.js file to the output directory, or package the output differently?

CC @neelance @cherrymui via https://dev.golang.org/owners

I agree that this is working as intended. Having go build copy wasm_exec.js may be reasonable behavior, but I'm not sure if the special case behavior it'd need would be justified at this point. If there's documentation we can improve to make it more clear that "WebAssembly modules produced by Go 1.x should be used with wasm_exec.js from Go 1.x", we should certainly do that.
I primarily want to add a data point that this isn't new to Go 1.17: WebAssembly support was added in Go 1.11, and the wasm_exec.js file has already changed in ways that are incompatible for some of the major releases since then.

+1 to @dmitshur that this is working as intended.
Maybe we could print some information about possible version mismatch when link error occurs.
Maybe we could add some version check to wasm_exec.js? Something like exporting a version symbol from the module and check it in the JS? This could be particularly helpful for cases that version mismatch does not result in a link error but a run-time error.


Chrome v15 - Cufon dies!

I recently upgraded my browser to Chrome v15 and since then, the fonts on my website have stopped working. I upgraded again to the beta of v16 to see if that would fix the problem, but nope. They're still not showing.
I'm using a WordPress blog, with a theme I purchased from Elegant Themes [DelicateNews].
Around the time that it stopped working, my hosting upgraded to PHP 5.3
To ensure it wasn't my coding, I created a subdomain on my site, installed a fresh installation of WP, and the theme, but it still didn't work.
I don't know why this isn't working, and it's driving me insane! Any ideas would be very helpful.
The URL is www.gatewayfm.com/www2
Thanks,
Ryan

Hi,
I think it'll start working once you remove the empty stylesheet:
<link rel="stylesheet" href="" type="text/css" media="screen" />

Simo
On Nov 17, 2011, at 9:07 PM, fattpacman wrote:

I recently upgraded my browser to Chrome v15 and since then, the fonts on my website have stopped working. I upgraded again to the beta of v16 to see if that would fix the problem, but nope. They're still not showing.
I'm using a WordPress blog, with a theme I purchased from Elegant Themes [DelicateNews].
Around the time that it stopped working, my hosting upgraded to PHP 5.3
To ensure it wasn't my coding, I created a subdomain on my site, installed a fresh installation of WP, and the theme, but it still didn't work.
I don't know why this isn't working, and it's driving me insane! Any ideas would be very helpful.
The URL is www.gatewayfm.com/www2
Thanks,
Ryan

Reply to this email directly or view it on GitHub:
https://github.com/sorccu/cufon/issues/219

Thanks for the quick response!
 I'm not sure quite where it is you're referring to!
Thanks again!

Hi,
Just view the source of the page you linked and search for what I pasted earlier. It should be there. It may look different in your WP templates though, the href attribute is probably not empty but instead looks something like href="". Can't really help you with that, you'll just have to find it yourself :( I recommend just removing stylesheets one by one until you find the culprit. But it should be just about the first one in the templates.
Simo
On Nov 17, 2011, at 9:20 PM, fattpacman wrote:

Thanks for the quick response!
 I'm not sure quite where it is you're referring to!
Thanks again!

Reply to this email directly or view it on GitHub:
https://github.com/sorccu/cufon/issues/219#issuecomment-2775344

Thanks again, that helped loads!
It turns out that the default setting for the theme has been changed to
having child themes enabled, which obviously if you don't have one would
link to a non-existent stylesheet!
Thanks again :)
On 17 November 2011 12:34, Simo Kinnunen <
<EMAIL_ADDRESS>
wrote:

Hi,
Just view the source of the page you linked and search for what I pasted
earlier. It should be there. It may look different in your WP templates
though, the href attribute is probably not empty but instead looks
something like href="". Can't really help you with
that, you'll just have to find it yourself :( I recommend just removing
stylesheets one by one until you find the culprit. But it should be just
about the first one in the templates.
Simo
On Nov 17, 2011, at 9:20 PM, fattpacman wrote:

Thanks for the quick response!
 I'm not
sure quite where it is you're referring to!
Thanks again!

Reply to this email directly or view it on GitHub:
https://github.com/sorccu/cufon/issues/219#issuecomment-2775344

Reply to this email directly or view it on GitHub:
https://github.com/sorccu/cufon/issues/219#issuecomment-2775474

let's close it then :)


fix: Correct syntax in jupyter lite command list

Amends PR #150

Add missing comma between commands.
Removes dangling '--' that does not connect additional extra commands.

These changes unbreak https://github.com/scikit-hep/pyhf/pull/2458, and so should be minimally sufficient, though additional tests should be applied.
Tagging @steppi and @Carreau for review.

Sorry it seems one cannot actually pass doit options to jupyterlite build like this and have them take affect. The output was only being suppressed because the command was failing. 0.13.0 will need to be yanked and further work will be needed to suppress the output.

Closing in favor of PR #153. Thanks @steppi!


AFlowerForYou-SidakSingh

My artwork is a piece of code that generates a special flower for you. A unique one out of 80028000; the one that is made just for you. I started this idea out with the plan of it being a Mother's Day gift, but after checking the date It is a bit early. But that does matter. Let's talk about something that does matter. My experience building it. I would say I had a mostly great experience building it, except for the part where I just didn't think to consider that there could a docs for blot and made my way through mostly using trial and error and my beloved console log. Furthermore, even after discovering the docs, I didn't find anything about making a circle which was kind of weird; but I got a refresh my trigonometry skills. Except that, I would say I had a fun time coding after a long while. As I didn't get to code for the past 2 months because I had been extremely busy with school and my exams. The last time I codded was at a hackathon, I don't even remember the last time I even worked on a passion project.

Could you use cut/cover so there aren't so many lines overlapping. I'm going to close this for housekeeping but please resubmit when you are ready.

Hi I resubmitted it with less overlapping lines. https://github.com/hackclub/blot/pull/596


[🐛 BUG]: Message response did not decode properly

No duplicates 🥲.

[X] I have searched for a similar issue in our bug tracker and didn't find any solutions.

What happened?
When I request to the /ping, it did not decode the message properly return empty object.
GRPC\Ping\PingResponse Object
(
)

Version (rr --version)
rr version 2024.1.2 (build time: 2024-05-16T19:38:52Z, go1.22.3), OS: darwin, arch: arm64
How to reproduce the issue?
Clone the following repo.
https://github.com/aungmyatmoethegreat/laravel-grpc-client-and-server
Then serve the laravel
php artisan serve

Go to the localhost:8000/ping and it will return like this.
It's invoked on the roadrunner server. However the response did not give me back proper response.

There is no issue with the postman.

This is how I decode the response. Then I inject the client to the container.
Doc: https://spiral.dev/docs/grpc-client/current/en#2.-create-a-client-class
<?php

namespace App\Clients;

use GRPC\Ping\PingRequest;
use GRPC\Ping\PingResponse;
use GRPC\Ping\PingServiceInterface;
use Spiral\RoadRunner\GRPC;

final class PingClient extends \Grpc\BaseStub implements PingServiceInterface
{
    public function PingUrl(GRPC\ContextInterface $ctx, PingRequest $in): PingResponse
    {
        [$response, $status] = $this->_simpleRequest(
            '/' . self::NAME . '/PingUrl',
            $in,
            [PingResponse::class, 'decode'],
            (array)$ctx->getValue('metadata'),
            (array)$ctx->getValue('options')
        )->wait();

        return $response;
    }
}

Relevant log output
➜  proto git:(main)
➜  proto git:(main)
➜  proto git:(main) rr serve
2024-05-27T09:49:03+0000        DEBUG   rpc             plugin was started      {"address": "tcp://<IP_ADDRESS>:6001", "list of the plugins with RPC methods:": ["app", "lock", "informer", "resetter"]}
2024-05-27T09:49:03+0000        DEBUG   server          worker is allocated     {"pid": 14564, "max_execs": 0, "internal_event_name": "EventWorkerConstruct"}
2024-05-27T09:49:03+0000        DEBUG   server          worker is allocated     {"pid": 14562, "max_execs": 0, "internal_event_name": "EventWorkerConstruct"}
2024-05-27T09:49:03+0000        DEBUG   server          worker is allocated     {"pid": 14566, "max_execs": 0, "internal_event_name": "EventWorkerConstruct"}
2024-05-27T09:49:03+0000        DEBUG   server          worker is allocated     {"pid": 14569, "max_execs": 0, "internal_event_name": "EventWorkerConstruct"}
2024-05-27T09:49:03+0000        DEBUG   server          worker is allocated     {"pid": 14567, "max_execs": 0, "internal_event_name": "EventWorkerConstruct"}
2024-05-27T09:49:03+0000        DEBUG   server          worker is allocated     {"pid": 14568, "max_execs": 0, "internal_event_name": "EventWorkerConstruct"}
2024-05-27T09:49:03+0000        DEBUG   server          worker is allocated     {"pid": 14563, "max_execs": 0, "internal_event_name": "EventWorkerConstruct"}
2024-05-27T09:49:03+0000        DEBUG   server          worker is allocated     {"pid": 14565, "max_execs": 0, "internal_event_name": "EventWorkerConstruct"}
2024-05-27T09:49:03+0000        INFO    grpc            grpc server was started {"address": "tcp://<IP_ADDRESS>:9001"}
[INFO] RoadRunner server started; version: 2024.1.2, buildtime: 2024-05-16T19:38:52Z
[INFO] sdnotify: not notified
2024-05-27T09:49:09+0000        DEBUG   server          req-resp mode   {"pid": 14565}
2024-05-27T09:49:09+0000        DEBUG   grpc            method was called successfully  {"method": "/ping.dto.PingService/PingUrl", "start": "2024-05-27T09:49:09+0000", "elapsed": 2}

Hello again, @aungmyatmoethegreat 👋
RR is not responsible for decoding the payload. RR sits in the middle of the request-response chain. Moreover, if you sent a status: https://grpc.github.io/grpc/core/md_doc_statuscodes.html and encoded your message as a status, you won't receive any payloads, since this is a gRPC specific status message.

You can read more about gRPC errors (statuses) handling here: https://cloud.google.com/apis/design/errors.

Thank you. But I am a bit confuse with encoding and decoding in roadrunner. My understanding in GRPC is binary based req and res. So that I think the returned binary can be decoded properly. I found sprial framework is doing like above. So it's sprial thing over road runner? Because I have to open issue at their repo for more info.

gRPC is a binary protocol, you're right. But, browsers are aware about the gRPC statuses protocol. It is like you would send a GET with a body. Browser skips that body. Same with the gRPC. However, Postman reads everything you've sent.
Just try to use a regular payload between the two gRPC endpoints. Or even between gRPC and Postman.

Thank for explanation, I'll try for it.


Adding a Happy Number Checker

Project title
Happy Number Checker
Project Description
A happy number is a natural number in a given number base that eventually reaches 1 when iterated over the perfect digital invariant function. Those numbers that do not end in 1 are -unhappy numbers.
Stack:

[x] Html
[x] CSS
[x] JavaScript

/assign


Play videos in order

Description of issue / Feature request
I'd like an extra option on the Time Adaptation menu where it says 'Do not adapt, just play at random' to instead force it to be in order. This is because I am using Aerial to play two demonstration videos (stored locally) on a macbook for a conference and ideally would like them to always go in order, rather than randomly as that can lead to one video repeating itself 3 times (I'm using Aerial because I don't want people at the conference to be able to logon to the device, as they would be able to if I used quicktime).
This would be really helpful, even if the order wasn't customizable at all.

@danbasszeti I'm not sure this warrants a permanent option for me to support indefinitely, but I can do a build with the shuffling off just for you if you want. Still interested ?


OSX Build Support

Build and distribute OSX binaries for the extension.

Support for amd64 architecture is being added in #36. Note this doesn't add support for arm64 architecture (aka M1 chips).  Github Actions currently only supports amd64 runners so this is easiest to add first. It is possible to setup cross compiling for amd64. This will be coming in a future PR.


EditorConfig file added and documented

Description
Added documentation about the .editorconfig file. Another pull request will be made for the nanoff repository.
As PoC this is being applied to SNTP class library. Upon succesfull testing we'll move to the other repos as well.
Adding the PR here for reference nanoframework/nanoFramework.Networking.Sntp#134
Motivation and Context
Apparently the nanoFramework uses an appalling coding style as it is different from mine :-) The documentation describes that there is a vssettings file that contains the coding style. As a potential contributor I'm not prepared to modify the Visual Studio settings and to turn off automatic formatting. Fortunately there is a much better way to share these settings, at least for C# - Visual Studio supports adding the settings to an EditorConfig file.
It is possible to generate an EditorConfig file from the Visual Studio settings. As I don't have the correct settings, I've just added some of the formatting and naming rules. If I start contributing to the nanoFramework code, an EditorConfig file will also be added if it is not already present.
Perhaps one of the team members could generate a more complete version and add it to the repositories and documentation?
Types of changes

[x] Improvement (correction, content improvement, typo fix, formatting)
[ ] New Article (new document for docs website)
[ ] Config and build (change in the configuration and build system, has no impact on code or features)

Checklist:

[x] My doc follows the code style of this project.
[x] I have read the CONTRIBUTING document.

see https://github.com/nanoframework/nanoFirmwareFlasher/pull/283#issuecomment-2241593497

I've updated the documentation page. I've also added a .editorconfig with only spell checker configuration, so the spell checker can be used for the markdown pages.

That is not a repository that's on my list to look closely at. But be assured, there are many ways to get it to work. Two hints:

having a modified .editorconfig in a subdirectory, in case the main one would make a mess out of the projects. That .editorconfig can be a complete version or one with only overrides

it is possible to suppress errors/warnings/messages from an .editorconfig, in addition to globalsuppressions.cs and #pragma disable


Why is it named "AgeUSD?"

I've been looking around for an explanation of the choice of name, but haven't found anything. Would someone please explain it to me?

I noticed Amitabh referring to it as "Agenor USD" in one of his presentations at the Ergo Summit '21 (but haven't heard this used anywhere else), so seems to be greek connection like ergo.


electron-browser/openerService.ts isn't needed

Commit ba69d8dcccaebbfaa94906503728eb7c3e45b9c1 adds another opener service so that it can take a dependency onto the IWindowService. That's not needed as the base opener service allows to register handler, see: https://github.com/microsoft/vscode/blob/c8d44e24dd250d416475a10efe64e35c9e2c65b3/src/vs/platform/opener/common/opener.ts#L23
Yet another opener service adds unnecessary code/bloat

Oh, open vs openExternal not nice but understood. I think it should still use the opener-logic tho

@jrieken to be clear: instead of having a separate service, we allow to register an opener that takes care of the openExternal thingy for electron?

Yeah, well actually two issues

Generally, I think one opener service is better than two, esp since the former allows contributions.
Tho I think it's weird that IOpenerService has open and openExternal esp. since the implementation of open calls openExternal. As a consumer, how would I know what to call? Should consumers look at schemes first? Should openExternal maybe be internal and be used as fallback in case we cannot open something with the registered openers?

@jrieken yeah I can see to get the count to 2.
We can think about merging open and openExternal but for now I would prefer to preserve our existing behaviour as much as possible. After all, open is doing things different from openExternal, so we cannot just merge them both into one unless we would introduce an option (which is similar to having 2 methods).


Feasibility: PPT Play

Hi Realm Team,
I have successfully testing the drawing demo in multiple devices and its working fine vice versa case. I want to know that when I play the PPT file in one device and its reflect/play into other device or multiple device.
Please suggest me this feature. Is it feasible with realm mobile platform or not?
Best Regards,
Nikunj

Hi there @Nik20112! Thanks for the issue!
What do you mean by a 'PPT file' exactly? Are you referring to a Microsoft PowerPoint file?
Thanks a lot!

Thanks.
I want to play Microsoft power presentation file in one device and its play or reflect into other device.
Hope you got my point.

Ahh okay. I see.
It definitely depends on your implementation, but yes, you could use the Realm Mobile Platform to synchronize the progression of a PowerPoint presentation across multiple devices.
You could use the Developer Edition to write a small app that keeps track of a single object that tracks the slide number and slide animation count. Other copies of that same app can be running on your client devices, and when they detect those values have updated, they can forward those changes along to PowerPoint.
I wrote a similar integration a while ago into a book reader app I was writing. As the user was reading the book on one device, the other devices would update to show the same page automatically. :)
The hardest challenge here would be interoperating Realm with PowerPoint. As far as I can gather, it's probably not possible on iOS unless you rolled a completely custom app that could also open and display the contents of PPT files itself. You could possibly do it on macOS if your app could remotely control a copy of PowerPoint running on it.
I hope that helped!

Thanks for the help.
How can I start to implement this feature? If you have any demo link, plz give me so I can move ahead on it.

Not at all!
I recommend you read the Realm documentation to get an idea on how to set up the Realm Object Server.
As for demos, we're maintaining a separate repo full of demo apps in order to demonstrate how to write apps using the Realm Mobile Platform.
If you get stuck on any of the code, I'd recommend asking it as a new question over on Stack Overflow. We monitor that one just as closely as GitHub issues and it's more conducive for community support. :)
Happy hunting!


Fix a bug ( can't enter <cr> if have popmenu )

That's not a bug though! You should unmap <cr> in your .vimrc. See:
https://github.com/girishji/vimcomplete/issues/41

Do something like this:
:inoremap    pumvisible() ? "<c-y><cr>" : "<your-outopair-keymap><cr>"


[Snyk] Security upgrade eslint from 8.57.0 to 9.0.0

Snyk has created this PR to fix 1 vulnerabilities in the npm dependencies of this project.
Snyk changed the following file(s):

package.json

Vulnerabilities that will be fixed with an upgrade:

Issue

Missing Release of Resource after Effective Lifetime SNYK-JS-INFLIGHT-6095116

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

not ready to update to eslint v9 yet


Meaning of Generation Start 0

Hi Mr Vasili, first of all the repository is wonderful and very helpful. I am using this for my master thesis in which I need to generate a porous material.
My question is, in the Sample Usage section when you went over FBA->LS->LSGD, did you change the generation start to 0? Would it possible for you to explain what exactly does the generation start 0 option do?
When I used one algorithm after another (changed the Generation start to 0 in 2nd step), it just showed me that the program opened the packing.nfo file. However, when I extracted the (re-scaled) diameters, they were same as the one generated in FBA step. I was expecting a different diameters and hence, different volume distribution.
To explain a bit further, I wanted to first use FBA (by supplying a diamters.txt file) to get an inital packing.xyzd and all the other files. The output is as follows:
PackingGeneration.exe -fba | tee log_fba4.txt
LittleEndian
The current working directory is PotatoPC/packing-generation-master/_Release.

N is 3599
dimensions are 450.000000 450.000000 450.000000
generation mode: start
seed 304
steps to write intermediate state 1000
boundaries mode is 1

Reading particle diameters from a file 'diameters'...
done.
Contraction rate is 0.000132891
Total volume of particles is 6.8699e+07
Theoretical porosity is 0.246101
Global minimum is 0.0356581
Step 0. Inner diameter ratio is 0.085763173720225. Outer diameter ratio is 1.062587960302652. Writing int. packing state...Contraction rate: 1.328910e-04
done.
Step 1000. Inner diameter ratio is 0.781017125363508. Outer diameter ratio is 0.991979080343976. Writing int. packing state...Contraction rate: 1.328910e-04
done.
Checking...
Calc. porosity is 0.325781
Theoretical porosity is 0.246101
Checking min particle distance in a naive way...
Finish:
Calc. porosity is 0.325781246018898
Theoretical porosity is 0.246101
Inner diameter ratio is 0.963450244506895
Time: 4.75 s, iterations are 1407
Calculating contraction energies
PotatoPC\Packages\packing-generation-master\_Release>

I then wanted to use this data to refine my packing using LS algorithm.
PackingGeneration.exe -ls | tee log_ls4.txt
LittleEndian
The current working directory is PotatoPC/Packages/packing-generation-master/_Release.

N is 3599
dimensions are 450.000000 450.000000 450.000000
generation mode: continue
seed 304
steps to write intermediate state 1000
boundaries mode is 1

file 'PotatoPC/Packages/packing-generation-master/_Release/packing.xyzd' was opened
PotatoPC\Packages\packing-generation-master\_Release>

Please excuse my naivety, I have very little coding experience and even less knowledge about sphere packing.

Hi @mikroice ,
sorry for the long delay (it was the vacation time..).
I think there is a gap in my documentation and in the logging from the program: what one also has to do to make the second step (-ls) run is to delete or rename the packing.nfo file after the first -fba step. The packing.nfo file serves as a marker of whether the generation has been completed. So the -ls step sees it and doesn't proceed forward. Unfortunately, i didn't implement proper logging. So you need to delete/rename packing.nfo generated after the -fba run.
The meaning of the "generation start" parameter is the one that you presumed: "generation start: 1" means that generation has to be started from scratch, "generation start: 0" means that the program shall start generation with particle positions from the existing packing.xyzd (but it also requires that packing.nfo shall be absent).
Then you will see the output similar to what you see after the first -fba run.
Please note that you might need to fine-tune the compression rate for the LS algorithm (please see the last paragraph in this section: https://github.com/VasiliBaranov/packing-generation#14-note-on-final-diameters ).
In principle, if you just need any packing (not necessarily mechanically stable), you can just use the -fba algorithm, possibly with a lower compression rate. If the compression rate is very low, the packings will be almost mechanically stable (jammed). But you can of course fine-tune it with the LS algorithm as well (maybe in your field everyone uses the LS algorithm and no one knows the FBA one).
If you need real mechanical stability (jamming) of frictionless spheres, then you for sure need the final LSGD step. You can run it also directly after the -fba algorithm as well.
Hope this helps! I will update the documentation in the meantime..
Best Regards,
Vasili


x1222—As TS (Katy) I want the "Released from box location" information in the release file to match the slot location in the storage box, e.g. 1, 2, 3, 4, not A1, B1 for tracking purposes and matching up

@KatyTudor This should already work. If it doesn't, please give me a specific example where it doesn't.

I thought so but on friday when Jasmine release the boxes there was a mixture or release formats which didn't make sense so thought I best check. #805712

@KatyTudor  In that RT, the file didn't include storage addresses at all, because the labware being released were not in the same storage location. The story x1223 is addressing that change. This story says that addresses are in release files but in the wrong format.

@khelwood it was in one of the releases associated with that ticket, that had very mixed formatting. but can check if it happens again, once x1223 gets done, then we might need  to alter the format, if not we can delete/deprecate this story

@KatyTudor  OK I found a scenario in the code where the numerical address would not be saved. I've updated it.

@khelwood thanks for sorting it

@khelwood its still appearing as A1 B1 etc. can it be slot 1, 2, 3 instead?
releases (12).xlsx

@KatyTudor Those locations don't have a direction set in Storelight, which is what specifies whether numbering goes top to bottom, or left to right etc. Do you want the release logic to assume that, unless otherwise specified, the numbering starts in the top left and goes down each column, left to right?

NB Katy has agreed to provide a specification of which locations' directions should be updated.

@khelwood so sorry got distracted with students yesterday:
Storage areas:
STO-1315
STO-1B2C
STO-14C7
STO-1B1D
STO-0677
STO-1500
STO-08EA - slide boxes 1-7
STO-0FB8
STO-0079
STO-1807

@KatyTudor
I've set the directions on UAT for the following boxes (omitting those that already have a direction):

STO-1B68
STO-1B77
STO-1B86
STO-1B3B
STO-1B4A
STO-1B59
STO-1B95
STO-1BA4
STO-1BB3
STO-1BC2
STO-1BD1
STO-1BE0
STO-1685
STO-1694
STO-16A3
STO-16C1
STO-16D0
STO-16EF
STO-170A
STO-1719
STO-1728
STO-1746
STO-1755
STO-1764
STO-1782
STO-1791
STO-17A0
STO-1861
STO-1870
STO-188F
STO-18BC
STO-18CB
STO-18DA
STO-18F8
STO-1904
STO-1913
STO-1931
STO-1940
STO-195F
STO-197D
STO-198C
STO-199B
STO-19B9
STO-19C8
STO-19D7
STO-19F5
STO-1A01
STO-1A10
STO-1A98
STO-1AA7
STO-1AB6
STO-1AC5


10.5 changes

check whether the change to ../FileTransport is correct

Good catch this is not correct for Github. I will raise a small bug for this internally so we can get this consistent.


Add deprecation notifier type logic

Add some logic to annoy users to upgrade their operating system, after enrolling into MDM

I spun up another project for this. https://github.com/AnotherToolAppleShouldHaveProvided/nudge


Fix for GatherND verifier

The function is trying to verify range of indices when the indices are constant at compile time. That is why it has if (DenseElementsAttr valueAttribute = getDenseElementAttributeFromONNXValue(indices)) check is moved to the outer level, since if the value is not known at compile time the rest of the checks are meaningless.
Also there is a fundamental mistake in the way it checks. dataShape[i] for  0 <= i < indicesRank can be out of range. Since it does not add the check for compile time constant at the beginning and it has this out of range issue, even for non-constant indices (we technically should not check anything) we might reach a seg-fault.
The code also completely reorganizes the way the check is supposed to happen and removed one layer of nested loop.
datashape that should be checked is dataShape[i+b]. However, i is not in range of indicesRank. i should be in range of indices[indicesRank - 1], since the last dimension of indices is the one actually indicates number of gather axes.
Co-authored-by: Hadi Jooybar<EMAIL_ADDRESS>Signed-off-by: Philip Lassen<EMAIL_ADDRESS>

@tungld I let you complete the review once you believe this PR is ready to land

Jenkins Linux ppc64le Build #7043 [push] Fix for GatherND verifie... started at 20:54

Jenkins Linux s390x Build #7996 [push] Fix for GatherND verifie... started at 20:52

Jenkins Linux amd64 Build #7980 [push] Fix for GatherND verifie... started at 19:52

Jenkins Linux amd64 Build #7980 [push] Fix for GatherND verifie... passed after 1 hr 2 min

Jenkins Linux ppc64le Build #7043 [push] Fix for GatherND verifie... passed after 1 hr 31 min

Jenkins Linux s390x Build #7996 [push] Fix for GatherND verifie... passed after 1 hr 50 min


Support Appium's additional WebDriverJS commands

How to select date which is in date picker using protractor

Can't wait for this to be ready!

Is this solution ready for usage?

May we know the release date of protractor support for hybrid apps.

See https://github.com/angular/protractor/pull/3326/files

@juliemr  i was facing the same issue when trying to test an hybrid ionic app on a webview on android.
It seems to me an  autoWebView : true  error using it  inside protractor. First i cant even start the tests cause the request were  been made using asycn methods of the webdriver api and on webviews should use implicitlyWait.
I change the runner.js file on the createBrowser method to be able to load the tests and execute them  but of course inside the tests any call that is made by asycn methods has the same error from server.
In the appium forum  there was other situations like this one. I will try to fix the issue to use protractor for the e2e test, so any help on docs is welcome.

@yfebles and @juliemr  , could you share a configuration for testing a hybrid app with Protractor and Appium?
The one article in the Protractor repository about the matter is for mobile browsers, not hybrid app.
I do manage to get to the step up to the point I'm getting:

[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"579045442705f7f0e10147786203060d","status":13,"value":{"message":"unknown error: unable to discover open pages\n  (Driver info: chromedriver=2.25.426935 (820a95b0b81d33e42712f9198c215f703412e1a1),platform=Mac OS X 10.11.6 x86_64)"}}

I've been going at it for days now and ready to back out of testing my Angular Hybrid app with Protractor which is a pretty big disadvantage considering Protractor semantic knowledge of an NG app.

We don't have a setup for hybrid apps yet, just mobile browsers.  Hybrid apps will probably require quite a bit of work on top of that.  I wouldn't hold your breath unless someone already has a clean solution

Is it possible to use Protractor + Appium for native android/IOS apps?

@juliemr - Please let me know if it is possible to test Hybrid mobile app (not a web app) using Protractor + Appium.

Is it possible to use Protractor + Appium for native Android apps particularly messaging ?
Does protractor support native apps? Kindly confirm at the earliest.


Optional arguments in method definition

I'm trying to write the phpdocumentor block for the following:
/**
 * daysBetween
 *
 * Returns the number of whole working days between start_date and end_date. Working
 * days exclude weekends and any dates identified in holidays.
 * Use NETWORKDAYS to calculate employee benefits that accrue based on the number of
 * days worked during a specific term.
 *
 * @param   DateTime    $startDate     Start date
 * @param   DateTime    $endDate       End date
 * @param   DateTime    $holidays,...  Optional series of dates that will be excluded
 * @return  integer    Interval between the dates
 */
public function daysBetween($startDate,$endDate) {
    //  Shift the mandatory start and end date that are referenced
    //  in the function definition, to get any optional days
    $holidays = func_get_args();
    array_shift($holidays);
    array_shift($holidays);

$startDate and $endDate are mandatory arguments, while all instances of $holidays are optional... there might be none, one or many $holiday dates defined. The PHPDocumentor definition above gives me
Parameter $holidays,... could not be found in daysBetween()

I believe I can probably get round this by modifying the method definition to
public function daysBetween($startDate,$endDate,$holidays=NULL) {

but this feels very kludgy, and I don't believe that I should have to change my function definition in order to document it.

Closing since this is implemented in php using variadic arguments. Think this is not applicable any more.
Feel free to reopen this issue when needed.


SlideNavigationControllerDidClose observer calls several times

I've added the observer for SlideNavigationControllerDidClose following way:
[[NSNotificationCenter defaultCenter] addObserverForName:SlideNavigationControllerDidClose object:nil queue:nil usingBlock:^(NSNotification *note) {
    NSString *menu = note.userInfo[@"menu"];
    NSLog(@"Closed %@", menu);
}];

But noticed that this block has been called several times. Whenever I called - (void)popAllAndSwitchToViewController:(UIViewController *)viewController withCompletion:(void (^)())completion; it adds another observer.
I've added following function to remove the observer but still it does the same and observer didn't remove:

(void)viewDidDisappear:(BOOL)animated{
[super viewDidDisappear:YES];
[[NSNotificationCenter defaultCenter] removeObserver:self name:SlideNavigationControllerDidClose object:nil];
}

Please, suggest a solution for this issue. Thanks...

Issue solved after removing block based observer.


allow WatchStream to handle streams of data that are not JSON

Will allow client to watch streams of data that aren't JSON (such as the pod logs).
This PR depends on PR #131 to open test files that aren't JSON.

@jonmoter thanks again for all your work, you can rebase this PR on master, I merged #131.
@simon3z this is waiting for your review as you were the one who implemented the watches area.

@jonmoter is there anything that we should document? Maybe a couple of words about the new :format argument in the README? Rest LGTM.

Okay, I've rebased the branch on master.
@simon3z, currently there's no documentation of the WatchStream class in the Readme. I assumed it was an implementation detail of the gem, rather than an exposed interface.  Once I re-open the PR for getting and watching logs, I'll add a section to the Readme about that.
Would you like me to add a section to the Readme documenting how the WatchStream class works?

Would you like me to add a section to the Readme documenting how the WatchStream class works?

That would be great actually but let's not stop this PR on that (send a separate PR when you can). LGTM :+1: cc @abonas ready for merge imo.

merging based on @simon3z OK-ing this change


Update custom.css

Adapted CSS to show menu entries within mobile view of the web interface

Thank you for your contribution.


Fixed examples URL

Examples URL was pointing to 404. Pointed it correclty

Thanks for this. I am not sure how I feel about hardcoding absolute urls. The "bug" is with the terraform registry. The links work fine on GitHub. We literally have hundreds of repos that use the relative links. The relative links ensure that they work regardless of the branch we're operating in.

@osterman Agree with you. Didn't realize that the relative links was the single source of truth. Will close this and hope Terraform registry fixes this going forward.

@vegasbrianc thanks for taking the time nonetheless to submit this PR. I will try to nag them some more about fixing relative URLs.


US 03.01.01

As an owner, I want to a place where I define tags for items and see my existing tags
Requirements/Prerequisites:

There must be an activity related to tag management which is accessible either from the bottom right of the nav bar or eve
This activity must display a scrollable list of all tags
There must be an add button for adding new tags (does not need to be working for this story)

Done except for testing

Completed


feat(react-ui): expose the API for embedding Atlasmap

AtlasmapProvider can be fed an external document and a callback to get back the serialized mappings. This is needed by Syndesis to embed Atlasmap.
It's also now possible to quickly debug the json payload coming from Syndesis (or other sources) using Storybook, like this:

This is part of ENTESB-12080
@igarashitm I'll need a release on npmjs of this to finalise the PR on Syndesis. We need packages/atlasmap-core and packages/atlasmap published, both with a minimum versiom of 2.0.0 so not to clash with the previously published modules.

@riccardo-forina next milestone release will be 1.44.0-M3 and coming GA will be 1.44.0, does it work for you?


[Feature Spec] Potentially remove mentioning of dependencies between features

From Mark Raynsford on OSGi users mailing list:
Reading the R8 Feature spec, we see this sentence:
https://docs.osgi.org/specification/osgi.cmpn/8.0.0/service.feature.html#d0e156425
"Features may have dependencies on other Features."
There doesn't appear to be anywhere in the spec where a Feature can
declare a dependency on another Feature. I wondered if the implication
was that a Feature can specify (via the "bundles" array) a dependency
on an artifact with an osgifeature type, but I'm not certain.

I assume this is a left-over for when we had the idea about prototypes?

I assume this is a left-over for when we had the idea about prototypes?

I assume this is a left-over for when we had the idea about prototypes?

Could be a left-over. But there is nothing wrong with sentence.
It must not be "feature-complete" like (Subsystem-Type: osgi.subsystem.application).
The word Feature means the concept not the Feature-File.