Updated to work on Windows Native Python

I haven't confirmed it still works natively on not windows, but this fix is pulled from here:
https://github.com/vulnersCom/getsploit/commit/8531ff5989a1d2c2ab65546e32b6f8a31a20a48d
Which was the error I was getting trying to use the WayBackMachine Scraper (cmd line tool)
I ended up having to pull down both in order to get it working, and this was the eventual fix that got it working.
You may be able to remove the reference above the new import for urllib, that imports the pathname2url, I didn't try it because the point of the whole thing was to scrape a wayback machine page, more than to create a tool for such.
Thank you for the tool though XD.  It's much appreciated, even with having to debug it to get it working on windows! XD XD

Hi, thanks for the PR and letting me know about the issue. The two encoding mechanisms have several significant differences, so I would need to check how a number of edge cases are handled before switching. Could you please post the error that you're getting when you run the original code? I believe that pathname2url should be supported on Windows and I'm suspecting that this might be an encoding error similar to this WeasyPrint issue.

I replaced all instance of the site used with www.example.com, but suffice to say it's a valid site, and a valid snapshot, I can share those specifics with you directly if needed, but would prefer to not put them in a publicly accessible place.
`
Microsoft Windows [Version 10.0.15063]
(c) 2017 Microsoft Corporation. All rights reserved.
C:\Sites\temp\WaybackScrapeyTest>wayback-machine-scraper -f 20170724 -t 20170724 www.example.com
2017-09-01 14:22:29 [scrapy.utils.log] INFO: Scrapy 1.4.0 started (bot: scrapybot)
2017-09-01 14:22:29 [scrapy.utils.log] INFO: Overridden settings: {'AUTOTHROTTLE_ENABLED': True, 'AUTOTHROTTLE_START_DELAY': 1, 'AUTOTHROTTLE_TARGET_CONCURRENCY': 10.0, 'LOG_LEVEL': 'INFO', 'USER_AGENT': 'Wayback Machine Scraper/1.0.7 (+https://github.com/sangaline/scrapy-wayback-machine)'}
2017-09-01 14:22:29 [scrapy.middleware] INFO: Enabled extensions:
['scrapy.extensions.corestats.CoreStats',
'scrapy.extensions.telnet.TelnetConsole',
'scrapy.extensions.logstats.LogStats',
'scrapy.extensions.throttle.AutoThrottle']
2017-09-01 14:22:29 [scrapy.middleware] INFO: Enabled downloader middlewares:
['scrapy_wayback_machine.WaybackMachineMiddleware',
'scrapy.downloadermiddlewares.httpauth.HttpAuthMiddleware',
'scrapy.downloadermiddlewares.downloadtimeout.DownloadTimeoutMiddleware',
'scrapy.downloadermiddlewares.defaultheaders.DefaultHeadersMiddleware',
'scrapy.downloadermiddlewares.useragent.UserAgentMiddleware',
'scrapy.downloadermiddlewares.retry.RetryMiddleware',
'scrapy.downloadermiddlewares.redirect.MetaRefreshMiddleware',
'scrapy.downloadermiddlewares.httpcompression.HttpCompressionMiddleware',
'scrapy.downloadermiddlewares.redirect.RedirectMiddleware',
'scrapy.downloadermiddlewares.cookies.CookiesMiddleware',
'scrapy.downloadermiddlewares.httpproxy.HttpProxyMiddleware',
'scrapy.downloadermiddlewares.stats.DownloaderStats']
2017-09-01 14:22:29 [scrapy.middleware] INFO: Enabled spider middlewares:
['scrapy.spidermiddlewares.httperror.HttpErrorMiddleware',
'scrapy.spidermiddlewares.offsite.OffsiteMiddleware',
'scrapy.spidermiddlewares.referer.RefererMiddleware',
'scrapy.spidermiddlewares.urllength.UrlLengthMiddleware',
'scrapy.spidermiddlewares.depth.DepthMiddleware']
2017-09-01 14:22:29 [scrapy.middleware] INFO: Enabled item pipelines:
[]
2017-09-01 14:22:29 [scrapy.core.engine] INFO: Spider opened
2017-09-01 14:22:29 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2017-09-01 14:22:29 [scrapy.core.scraper] ERROR: Error downloading <GET http://www.example.com>
Traceback (most recent call last):
File "c:\users\aj\appdata\local\programs\python\python36\lib\site-packages\twisted\internet\defer.py", line 1386, in inlineCallbacks
result = g.send(result)
File "c:\users\aj\appdata\local\programs\python\python36\lib\site-packages\scrapy\core\downloader\middleware.py", line 37, in process_request
response = yield method(request=request, spider=spider)
File "c:\users\aj\appdata\local\programs\python\python36\lib\site-packages\scrapy_wayback_machine_init.py", line 64, in process_request
return self.build_cdx_request(request)
File "c:\users\aj\appdata\local\programs\python\python36\lib\site-packages\scrapy_wayback_machine_init_.py", line 91, in build_cdx_request
cdx_url = self.cdx_url_template.format(url=pathname2url(request.url))
File "c:\users\aj\appdata\local\programs\python\python36\lib\nturl2path.py", line 60, in pathname2url
raise OSError(error)
OSError: Bad path: http://www.example.com
2017-09-01 14:22:30 [scrapy.core.engine] INFO: Closing spider (finished)
2017-09-01 14:22:30 [scrapy.statscollectors] INFO: Dumping Scrapy stats:
{'downloader/exception_count': 3,
'downloader/exception_type_count/builtins.OSError': 3,
'finish_reason': 'finished',
'finish_time': datetime.datetime(2017, 9, 1, 18, 22, 30, 27579),
'log_count/ERROR': 1,
'log_count/INFO': 7,
'retry/count': 2,
'retry/max_reached': 1,
'retry/reason_count/builtins.OSError': 2,
'scheduler/dequeued': 3,
'scheduler/dequeued/memory': 3,
'scheduler/enqueued': 3,
'scheduler/enqueued/memory': 3,
'start_time': datetime.datetime(2017, 9, 1, 18, 22, 29, 706017)}
2017-09-01 14:22:30 [scrapy.core.engine] INFO: Spider closed (finished)`
Let me know if this was what you were looking for.

Thanks! I'll check out a few of the edge cases this week and determine whether some characters need to be included in the safe argument to quote_plus().

Same problem here. Any updates on this?

still  got error on window os:
Traceback (most recent call last):
  File "E:\WARTER\python\python.v3_portable\App\lib\site-packages\twisted-19.10.0-py3.7-win-amd64.egg\twisted\internet\defer.py", line 1418, in _inlineCallbacks
    result = g.send(result)
  File "E:\WARTER\python\python.v3_portable\App\lib\site-packages\scrapy\core\downloader\middleware.py", line 38, in process_request
    response = yield method(request=request, spider=spider)
  File "E:\WARTER\python\python.v3_portable\App\lib\site-packages\scrapy_wayback_machine-1.0.0-py3.7.egg\scrapy_wayback_machine\__init__.py", line 64, in process_request
  File "E:\WARTER\python\python.v3_portable\App\lib\site-packages\scrapy_wayback_machine-1.0.0-py3.7.egg\scrapy_wayback_machine\__init__.py", line 91, in build_cdx_request
  File "E:\WARTER\python\python.v3_portable\App\lib\nturl2path.py", line 65, in pathname2url
    raise OSError(error)
OSError: Bad path: http://www.example.com
2019-12-30 15:46:09 [scrapy.core.engine] INFO: Closing spider (finished)
2019-12-30 15:46:09 [scrapy.statscollectors] INFO: Dumping Scrapy stats:
{'downloader/exception_count': 3,
 'downloader/exception_type_count/builtins.OSError': 3,
 'elapsed_time_seconds': 0.226003,
 'finish_reason': 'finished',
 'finish_time': datetime.datetime(2019, 12, 30, 8, 46, 9, 142774),
 'log_count/ERROR': 1,
 'log_count/INFO': 10,
 'retry/count': 2,
 'retry/max_reached': 1,
 'retry/reason_count/builtins.OSError': 2,
 'scheduler/dequeued': 3,
 'scheduler/dequeued/memory': 3,
 'scheduler/enqueued': 3,
 'scheduler/enqueued/memory': 3,
 'start_time': datetime.datetime(2019, 12, 30, 8, 46, 8, 916771)}
2019-12-30 15:46:09 [scrapy.core.engine] INFO: Spider closed (finished)

Same problem. Just deleted pathname2url

I think that #2 resolved this, please let me know if you're still running into issues.


[DOCS]: language support

Documentation Link
No response
Describe the problem
Does gpt cache support multi languages? Like Persian for example,
Or Can I find models that are multilingual ?
Describe the improvement
No response
Anything else?
No response

@eyousefifar you can find some embedding models in the huggingface


Allow setting of custom HTTP headers for replications

After some investigation I believe that we should be able to follow a similar paradigm as is done in CDTDatastore and detailed in Task 36445 to implement the setting of custom headers for replications in sync-android.
Specifically:

Update the abstract class Replication.java by adding an optionalHeaders map as a property and adding a method that gets/checks the contents of the map similar to dictionaryForReplicatorDocument: in CDTAbstractReplication.
Update HttpRequests.java by adding a requestHeaders map property and all necessary code to manage requestHeaders and set the the new headers on each request accordingly.
Minor updates to BasicPullStrategy.java, BasicPushStrategy.java, CouchClientWrapper.java, and CouchClient.java to accommodate the new change and make the optionalHeaders map available to HttpRequests.
These proposed changes should have no impact on any other set of functionality outside of replication.

@mikerhodes, @tomblench, @gadamc let me know if this makes sense.  I can add greater detail as well if necessary.

Fixed PR #78


Switch to use tamper-proof hash algorithm (>= SHA256)

This script uses SHA-1 to verify checksums. SHA-1 isn't considered tamper-proff any more, see: https://shattered.io/. We should switch to use a safer hash algorithm, at least SHA-256 (SHA-2).
I'd make a PR if you're interested.

Yes please @BendingBender


feat: use new top level wash commands

Feature or Problem

Add top level wash commands to the documentation, replacing relevant existing uses of wash ctl <x>
See also: https://github.com/wasmCloud/wash/issues/538

Related Issues

https://github.com/wasmCloud/wash/issues/538
Release Information

Consumer Impact

Testing

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin
[ ] x86_64-windows

Tested on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin
[ ] x86_64-windows

Unit Test(s)

Acceptance or Integration

Manual Verification

Oh sorry @brooksmtownsend re-requested review from you when we're still waiting on wash 0.18.

(Still waiting to merge until after v0.18 is released)


Add exception to the error message printed from DynamicMap

RIght now, if an error is raised in a DynamicMap, we get a warning, but it doesn't indicate anything about what the problem was:
import holoviews as hv, datashader as ds, pandas as pd, dask.dataframe as dd
from holoviews.operation.datashader import datashade, rasterize, dynspread
hv.extension('bokeh')
df = dd.read_parquet('../data/nyc_taxi_wide.parq').persist()
points = hv.Points(df, ['dropoff_x', 'dropoff_y'], 'dropoff_hour')
rasterize(points, aggregator=ds.last('dropoff_hour'))

WARNING:root:dynamic_operation: Exception raised in callable 'dynamic_operation' of type 'function'.
Invoked as dynamic_operation(height=400, scale=1.0, width=400, x_range=None, y_range=None)

It's quite unclear what a user is meant to do in this case.  With this change, the type and text of the exception will be shown, letting the user know what to do:
WARNING:root:dynamic_operation: Exception "NotImplementedError('last is currently implemented only for rasters',)" raised in callable 'dynamic_operation' of type 'function'.
Invoked as dynamic_operation(height=400, scale=1.0, width=400, x_range=None, y_range=None)

I don't think we want to show a full backtrace in this case, because there may be many such errors raised dynamically at different points of a DynamicMap's lifetime, but at least knowing the error is vastly better than just guessing...

Seems a bit redundant could we change the formatting to:
WARNING:root:dynamic_operation: NotImplementedError('last is currently implemented only for rasters') raised in callable 'dynamic_operation' of type 'function'.

What about just:
WARNING:root:dynamic_operation: NotImplementedError('last is currently implemented only for rasters').

(I'm not sure what knowing the type function does for us, and dynamic_operation seems to be printed already anyway.)

Fine with me.

I changed it to:

WARNING:root:dynamic_operation: Callable raised "NotImplementedError('first is currently implemented only for rasters',)".
Invoked as dynamic_operation(height=400, scale=1.0, width=400, x_range=None, y_range=None)

I personally find it helpful if error messages can be found in the codebase, and here "Callable raised" is searchable to find where the error is raised (in the "Callable" class), while "first is currently" is searchable to find where it originated.  I would have liked to mention DynamicMap in the message, but it looks like Callable is called from many locations, so it isn't just for DynamicMap.

This PR seems fine once the merge conflict is resolved.


Remove the deprecated functions from the public API

The PDI_transaction_begin and PDI_transaction_end functions have been deprecated for a long time.
They should now be hidden behind a macro in the header.
export.h provides PDI_NO_DEPRECATED, the purpose of this macro should be investigated.

mentioned in commit cf27f0a25f835acad0fd75fe2622940760894f9c

mentioned in commit<PHONE_NUMBER>29c30195e3083ad18ce44768a2d5b1

mentioned in commit 805e3ded7a4913037a1d1a0ef6d0cc45862b9313


[DEV] create opaal endpoint for retrieval of smd-read scoped jwt and update bss to use it

Completed with PR #35.


Flexbug4 - flex shorthand declarations with unitless flex-basis values are ignored

https://github.com/philipwalton/flexbugs/blob/master/README.md#4-flex-shorthand-declarations-with-unitless-flex-basis-values-are-ignored

I'm in!

There's a nasty thing.
The bug could be fixed by adding '0%' to every flex declaration, I've wrote code to o this and stumbled upon broken tests. This fix apparently breaks everyone not expecting extra parts to be added on flex property shorthand.
As I can see, we have two options: 1) Change expectations for other tests; and 2) change flex shorthand to full-blown three-property thing on each build.
All no good, I'm looking for your advice.

https://github.com/luisrudge/postcss-flexbugs-fixes/pull/15
Added code for you to see.

I think the right thing to do is to add 0% only if the declaration is flex: [0-9] [0-9] 0.  If the declaration is flex: 1, we should leave as it is, since the bug won't apply. What do you think

Now only flex: x y 0; and flex: x y 0px; are changed to flex: x y 0%;
It looks like in IE we have problem without declaration like flex: 1 1 auto; — flexbox container don't grow as it should. Maybe it's another bug, but originally I've looked for solution in this one.
Another thing is, there's a bug on changed default values for flex in IE (6-th), and we're fixing them by no extra code.
So, is it ok to leave solution or it's better to implement another?

are you sure it's the 6th bug? https://github.com/philipwalton/flexbugs#6-the-default-flex-value-has-changed

Yes, it's about default flex-shrink: 0 in IE 10 and workaround with explicitly specifying it in properties. I've added spec for test, but it's covered with bug4.js code.

Speaking on flex declarations without flex-basis part, it looks like IE fails to understand them and the container doesn't grow. It was my initial problem then I've started looking for any postcss-solution.

Ok. I'll clone your fork later tonight and give it a go. Can you please add the readme modifications?

Done. )

Damn. Sorry! I forgot about this!

I'm reviewing it now

fixed by #16

Thanks @kadmil!

Glad it's working! ))


Pjax with mutiple submit buttion

I am using multiple submit button. I want name of submitted button name. I am have this code in controller
if (Yii::$app->request->getIsAjax() || Yii::$app->request->getIsPjax()) {
if ($model->load(Yii::$app->request->post())) {
echo $_POST['saveList'];}
else{
echo 'other';
}
}
This is my button
echo Html::submitButton($model->isNewRecord ? 'Save and Show List' : 'Update and Show List', ['name' => 'saveList', 'value' => '1', 'class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']);
echo  Html::submitButton($model->isNewRecord ? 'Save and Create New' : 'Update and View', ['name' => 'saveList', 'value' => '2', 'class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']);

I think this should be moved to the yii2-pjax repository since it looks like a javascript issue.
can @yii-bot do it?

https://github.com/yiisoft/jquery-pjax/blob/master/jquery.pjax.js#L151 and
https://github.com/yiisoft/jquery-pjax/blob/master/jquery.pjax.js#L161
It seems this is an html5 and jquery issue. We might fix it with this http://stackoverflow.com/questions/15398355/jquery-ajax-does-not-get-submit-button-name i

@Faryshta the @yii-bot currently only works for extensions. also pjax issues may affect core and/or pjax repo so generally adding the label may not qualify for a move. Just open an issue there referring to this one.

https://jsfiddle.net/q0f5x6rh/ i built this fiddle. Looks like the FormData javascript object works fine meanwhile jQuery.serializeArray() ignores the clicked button.
I was searching for solutions on how to know which submit button triggered the event and all of them imply rewritting the way the click event is handled for the <button> element. http://stackoverflow.com/questions/3577469/form-onsubmit-determine-which-submit-button-was-pressed
and finally i searched for which browsers support the FormData javascript class https://developer.mozilla.org/en-US/docs/Web/API/FormData it seems this is an issue for internet explorer 9 at the moment.
we should tag this as "wont fix" and add on the docs how to work around this using click events in my opinion.
the other solution implies a rewrite for jquery-pjax events and even create new ones.

I didn't test it, but why does the execution come to that serializeArray() in case of POST form? I think it should not.
Or there s something magical with window.FormData !== undefined?

@SilverFire I provided a jsfiddle so you just need to run it.
Basically FormData is a class introduced in HTML5 which simplifies ajax handling with forms. It allows file uploads and knowing which button value triggered the submit.
So if the class FormData is undefined, then the best way to pass data to the ajax is with serializeArray() which lacks functionalities.

Now I get it, thank you for detailed explanation. I'm OK with tagging this issue as wont.
Could you update your PR https://github.com/yiisoft/yii2/pull/11316 and add a comment about this, please?

https://github.com/jquery/jquery/issues/2321 jquery won't fix it either. Looks like the only 'solution' is to drop support for IE 9 and alike.

My workaround adds hidden inputs if a button with "name" and "value" is clicked.
Feel free to paste it into the main layout file (main.php)
The form only needs to have class "enableButtonValues".
document.querySelectorAll('form.enableButtonValues button[type="submit"][name][value]').forEach(button => {
    button.addEventListener('click', function (e) {
        const form = button.closest('form');
        const buttonName = button.getAttribute('name');
        const buttonValue = button.getAttribute('value');

        let hiddenInput = form.querySelector(`input[type="hidden"][name="` + buttonName + `"]`);

        if (hiddenInput) {
            hiddenInput.remove();
        }

        hiddenInput = document.createElement('input');
        hiddenInput.type = 'hidden';
        hiddenInput.name = buttonName;
        hiddenInput.value = buttonValue;

        form.appendChild(hiddenInput);
    });
});


fix script error when importing man pages of version 1.5.4 of git

58f4e68 introduced a regression where the file command-list.txt
started to exist but did not yet contain the header ### command list, resulting in a void match.
This references #639

Yuck. :)
I think this should be OK. The newer versions of the file cause us to pick up the extra # command line in the array, but reject it with the later filter. So either way we should end up with a clean list.
Thanks for fixing.


Integrate versionbot

Change-type: patch
Signed-off-by: Joseph Roberts<EMAIL_ADDRESS>Connects with #53

@majorz this PR will enable versionbot on the repo - please read https://github.com/resin-io/process/blob/master/process/Commit_and_PR_Guidelines.md for more info.
The most important things are that you start using git commit --signoff, add a change type to the commit (see the commit on this PR for an example) and use the procbots/versionbot/ready-to-merge label to merge

Didn't we decide that rather than including a versionbot conf file inside each repo, we'd just let versionbot default to its own internal config?

@lurch This isn't an NPM packaged repo, and versionist still isn't able to work (or preferably fail with warning) on repos that don't have one.

Turns out there is some outstanding issues with getting VB running on repos under the resin-io-modules org so I am going to leave this open for now.


[C++] Primitive concrete arrays could expose a span converter

Describe the enhancement requested
Just like we have PrimitiveArray::raw_values, we could also have something that returns a arrow::util::span for easier consumption:
  const util::span<value_type> values_span() const {
    return util::span(raw_values(), static_cast<size_t>(length_));
  }

Component(s)
C++

@bkietz @felipecrv

@jsjtxietian would you like to add this?

Will do.

@jsjtxietian  - Was this done / is this task still open?

@chrisjordansquire Hi this task is still open. I went to one month vacation rightly after I took the task. I will do this likely before October.

What about null values?

They would not be exposed here. The semantics would be similar to raw_values(). Perhaps there's a use case, perhaps not...


bazel build the http filter with envoy v1.16.0 failed by "execv: Argument list too long"

I am trying to build the http filter with envoy v1.16.0 with following commands:
bazel build //http-filter-example:envoy
the result of building is following with gnu7 or gnu9:
gnu7
with bazel "fatal error: cannot execute '/usr/lib/gcc/x86_64-linux-gnu/7/cc1plus': execv: Argument list too long"
gnu9
with bazel "fatal error: cannot execute '/usr/lib/gcc/x86_64-linux-gnu/9/cc1plus': execv: Argument list too long"
Then I try to build the http filter with envoy v1.16.0 with following commands:
(bazel build //http-filter-example:envoy -c dbg) or (bazel build //http-filter-example:envoy -c opt)
It will build successfully, however the binary file size of envoy is too big.
the default value of my environment by "ulimit -s " is 8192. Then I set “ulimit -s 65536” or  “ulimit -s 655360” , can't solve this problem yet. How can I solve this problem?

I'm pretty sure this has been fixed somehow in newer releases but I'm not completely sure. cc @yanavlasov @wrowe

Fixed in PR #16711


Refactor and simplify the SQL unparser

Which issue does this PR close?
No specific issue but mentioned in https://github.com/apache/datafusion/pull/10803#issuecomment-2150586926
It's a follow-up PR of #10803

Rationale for this change

What changes are included in this PR?

Are these changes tested?
No, just simplify the code.

Are there any user-facing changes?
No

Thanks @alamb :)


igv 2.3.68 (new formula)

Integrative Genomics Viewer (IGV)

Looks like Java 7+ is needed

Note: IGV 2.3.x requires Java 7.  Users with Java 6 (JRE 1.6) should first try to upgrade Java to the latest version.  If this is not possible you will need to run a 2.2.x version available in the archive.

Mind adding:
caveats do
    depends_on_java('7+')
end

Thank you for the contribution. It needed some fixes, so they were made in 51c2679644548dbae36b8a9223fd777b52326b86. Your contribution is still included (and still credited to you), with the appropriate modifications. Please feel free to ask about any of the changes.


More prominent install action on item pages

Our primary goal is to convert web browsers into performing a positive action on an item page (eg. install, donate, contribution). We have a lot of space in the header with quite small action areas. Even for long app titles like "PulseAudio Volume Control" there's plenty of space.
We should move the donate and install buttons to side by side rather than on top of each other and double the size.

This will break the mobile view. Which could be worked around. Still, I'm not sure that will look nice at all. Especially with gigantic buttons, alignment might also be a problem. We need these to balance out the app icon on the left. (which already might be a problem with pages without donate buttons)

I'll have a closer look at the mobile specific views. In some very rough testing it 'seemed like it would be fine on my device', which is obviously famous last words. Primary usage for installs is desktop of course, by a long, long way. Fine to hold until some more detailed design occurs.

If you say fine to hold, we should probably use github labels to track something like this. Otherwise I won't be able to keep track.
I think I tested with the lowest available resolution in firefox responsive design mode which is 320x480, but yeah, really depends on what we want and how relevant linux mobile devices will be in the next years.

Agreed on the labels. I'm actually thinking about using the milestones as well, that's going to be next 'weekend work'.


Z combinator benchmarks

This adds benchmarks for the Z combinator, but not their results, because I always get a small (sometimes big) level of variance introduced by outliers on my machine (despite all efforts to reduce it by rebooting the machine, checking that no hungry processes run on the background and such). Nevertheless these inaccurate results suggest that there is no substantial difference between explicit and implicit recursion. It would be very good if someone else added accurate benchmarking results to the docs.
Please say if you have more examples that would be nice to check.
There is one pitfall, though. GHC is unable to compile this code using default options. See the paragraph that starts by "GHC’s inliner can be persuaded into non-termination" in Known bugs and infelicities for details. Hence the -fmax-simplifier-iterations=0 option. In case we end up using implicit recursion, we'll likely have this problem too: how to decide where to simplify and where not no simplify? (I think, simplifier is a must-have for a functional language, especially in the "more reductions => more gas => more money" setting).
In any case we still need to check the theory and count reductions or something.

Great start! And I would guess roll and unroll give us adequate hints about
where to stop unrolling. P
On Wed, 11 Jul 2018 at 15:13, effectfully<EMAIL_ADDRESS>wrote:

This adds benchmarks for the Z combinator, but not their results, because
I always get a small (sometimes big) level of variance introduced by
outliers on my machine (despite all efforts to reduce it by rebooting the
machine, checking that no hungry processes run on the background and such).
Nevertheless these inaccurate results
https://lpaste.net/3417188448711213056 suggest that there is no
substantial difference between explicit and implicit recursion. It would be
very good if someone else added accurate benchmarking results to the docs.
Please say if you have more examples that would be nice to check.
There is one pitfall, though. GHC is unable to compile this code using
default options. See the paragraph that starts by "GHC’s inliner can be
persuaded into non-termination" in Known bugs and infelicities
http://downloads.haskell.org/~ghc/latest/docs/html/users_guide/bugs.html
for details. Hence the -fmax-simplifier-iterations=0 option. In case we
end up using implicit recursion, we'll likely have this problem too: how to
decide where to simplify and where not no simplify? (I think, simplifier is
a must-have for a functional language, especially in the "more reductions
=> more gas => more money" setting).
In any case we still need to check the theory and count reductions or
something.
You can view, comment on, or merge this pull request online at:
https://github.com/input-output-hk/plutus-prototype/pull/21
Commit Summary

Add 'z-combinator-benchmarks'
Add 'bench-results.md'

File Changes

M docs/fomega/fomega.cabal
https://github.com/input-output-hk/plutus-prototype/pull/21/files#diff-0
(27)
M docs/fomega/package.yaml
https://github.com/input-output-hk/plutus-prototype/pull/21/files#diff-1
(8)
A docs/fomega/z-combinator-benchmarks/Benchmarks.hs
https://github.com/input-output-hk/plutus-prototype/pull/21/files#diff-2
(57)
A docs/fomega/z-combinator-benchmarks/bench-results.md
https://github.com/input-output-hk/plutus-prototype/pull/21/files#diff-3
(17)

Patch Links:

https://github.com/input-output-hk/plutus-prototype/pull/21.patch
https://github.com/input-output-hk/plutus-prototype/pull/21.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/input-output-hk/plutus-prototype/pull/21, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AEqfstEBFt9RZA51LGILAlfTjVOcBdc2ks5uFfnygaJpZM4VLHQR
.

--
.   \ Philip Wadler, Professor of Theoretical Computer Science,
.   /\ School of Informatics, University of Edinburgh
.  /  \ and Senior Research Fellow, IOHK
. http://homepages.inf.ed.ac.uk/wadler/
Too brief? Here's why: http://www.emailcharter.org/
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

@effectfully Is this ready to be merged?

@mchakravarty I think we need to benchmark this version as well:
newtype Fix f = Fix (f (Fix f))

newtype SelfF a r = SelfF
  { unSelfF :: r -> a
  }

type Self a = Fix (SelfF a)

pattern Self f = Fix (SelfF f)

unfold :: Self a -> Self a -> a
unfold (Self f) = f

as it is essentially the one we will use. I asked about this somewhere on slack, but I think didn't get an answer, so continued to do other tasks.

Yes, we should definitely benchmark the version that we end up using. (Sorry, if I overlook something in Slack.)

Yes, we should definitely benchmark the version that we end up using.

Done, results are the same. The pull request is ready to be merged.

Done, results are the same. The pull request is ready to be merged.

Excellent. Thank you.


Typo "Azure Pipeline"→"Azure Pipelines"

https://docs.microsoft.com/en-us/azure/machine-learning/v1/how-to-cicd-data-ingestion
https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/machine-learning/v1/how-to-cicd-data-ingestion.md
#PingMSFTDocs

hi @hyoshioka0128  - thanks for the edits.


Healthcare NLP Colab Example

Fixes #27475
Tested:

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @damondouglas
R: @damccorm

@damondouglas @damccorm friendly ping here


"Sâmburești", "Cerbeni", "Ionicești", "Lăunele", "Mănulești", "Stănuleasa", "Tonești" are listed in the drop-down menu

Description:
When user writes "Sâmburești", "Cerbeni", "Ionicești", "Lăunele", "Mănulești", "Stănuleasa" and "Tonești" the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Sâmburești"

Expected results
The location appears in the drop-down menu as "Sat Sâmburești, OLT (Sâmburești)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Write in the search bar "Ionicești "

Expected results
The location appears in the drop-down menu as "Sat Ionicești, OLT (Sâmburești)".

Step 6
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 7
Write in the search bar "Lăunele"

Expected results
The location appears in the drop-down menu as "Sat Lăunele, OLT (Sâmburești)".

Step 8
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 9
Write in the search bar "Mănulești "

Expected results
The location appears in the drop-down menu as "Sat Mănulești, OLT (Sâmburești)".

Step 10
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 9
Write in the search bar "Stănuleasa "

Expected results
The location appears in the drop-down menu as "Sat Stănuleasa, OLT (Sâmburești)".

Step 12
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 13
Write in the search bar "Tonești "

Expected results
The location appears in the drop-down menu as "Sat Tonești, OLT (Sâmburești)".


Out of gas: Test networks require a different HD-Wallet-Path against to Mainnet

Long story short:
I sent some Test-Ether on Ropsten into the first address, that was derived with MyCrypto out of my Mnmonics, but the deployment using truffle or zos-Tool was constantly running out of gas, no matter which funds was sent. And here is why this happened and how to solve:
Long Story:
When we import a Mnemonic into MyCrypto or MyEtherWallet (or other Tools) for Ropsten-Network, it derives the address with the following path: m/44'/1'/0'/0, while truffle-hdwallet-provider constantly is using m/44'/60'/0'/0/ no matter wich network will be used.
m/44'/60'/0'/0/ is the derivation path for Ethereum Mainnet, while all other Testnets across all coins share m/44'/1'/0'/0 for path derivation.
Therefor, I get a different address on MyCrypto as the first address than it will be used by truffle-hdwallet-provider.
This means, when I transfer Test-Ether on Ropsten Network to the first address out of my Mnemonic, it will be a different address as the HDWalletProvider will generate with our default settings.
Example:
Mnemonic: "tooth spike smile swarm adapt history motion salt outdoor document observe cloth"
MyCrypto Ropsten (using m/44'/1'/0'/0): 0x9dbFAFB5Edd1D69aCaC1C104C526C4ACDc20F3Ae
truffle-HDWallet-provider with default settings (using m/44'/60'/0'/0): 0xC0306fe5c3E90025AD56832A4399670be51b3Eec
Thus, a deployment of contracts, that are based on truffle-config.js as it is used in this repository, will raise "Out of gas"-exception because different addresses will be used. I would send Test-Ether to the address, that was generated by MyCrypto. And truffle-hdwallet-provider expects the second address, which probably has no funds nor could sign any transaction due to missing private key.
Fortunately the constructor of truffle-hdwallet-provider offers an argument for the wallet_hdpath that should be used for address derivation. So for using Ropster addresses (and even all other Testnetworks) properly with MyCrypto / MyEtherWallet, the following constructor is required to make transactions work as expected.
ropsten: {
  provider: () => new HDWalletProvider(
    process.env.DEV_MNEMONIC, "https://ropsten.infura.io/v3/" + infuraProjectId,
        0, 1, true, "m/44'/1'/0'/0/"
    ),
  networkId: 3,       // Ropsten's id
},

Explanation of the parameters:
0 = start with first address
1 = derive only 1 addresses
true = sharedNonce (default)

“m/44’/1’/0’/0/” = BIP44 derivation path that is used for test networks (across all coins)

We should reflect this in truffle-config.js as well.

Hey @itinance. Thanks again for contribution. One thing I've spotted that metamask is also using  m/44'/60'/0'/0/ derivation path. And a lot of user do use metamask for testnet. I think we should give users options here. What do you think?

Whew... that's really a pitty from Metamask. Seems to be more helpful if we leave the code as is and just add a note about it describing the right derivation path for MyCrypto users as a comment.
Or add more records network-config for "ropsten_mycrypto", "kovan_mycrypto"? What would you prefer? I will add these changes then into this PR

I think we should provide utility function with defaults and other option as a comment:

const configTestNetwok = (network, path = "m/44'/60'/0'/0/", gas = 445, gasPrice =<PHONE_NUMBER>0) => ({
  provider: () => new HDWalletProvider(
    process.env.DEV_MNEMONIC, `https://${network}.infura.io/v3/` + infuraProjectId,
        0, 1, true, path
    ),
  networkId: 3,
  gas: gas,
  gasPrice: gasPrice,
});

ropsten: configTestNetwok('ropsten'),
    // support MyEtherWallet
    ropsten: configTestNetwok('ropsten', "m/44'/1'/0'/0/"),

Something like this.

Sounds good. We still need to take into account the networkId as well as parameter because it has an own value for each network (as you certainly know). I will give it a try tomorrow (CET)

I've refactored truffle-config so it is easy to config it.


Provide component by name for a custom modal

Let's say I have something like this to open a custom modal:
this.modal.open(MyComponent, overlayConfigFactory(new MyContext(7), BSModalContext));
In my real application which component should be displayed in the modal is decided at runtime and I need the ability to open a modal with a component name (which means I have the name of the component as a string).
I tried things like these but none of these work:
this.modal.open(this["MyComponent"], overlayConfigFactory(new MyContext(7), BSModalContext));
this.modal.open(eval("MyComponent"), overlayConfigFactory(new MyContext(7), BSModalContext));
How can this be done?

This is not related to angular2-modal.
Never do eval("MyComponent"), aside from it having no logic, eval is not a smart move.
You need to get a component, you can use a string.
If you need to get a component dynamically use a function and return it.
There is no registry mechanizem in angular that can retrieve a component by name.
The name is not how a component is identified.


chore: remove lagon

🔗 Linked issue

❓ Type of change

[x] 📖 Documentation (updates to the documentation, readme or JSdoc annotations)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

📝 Checklist

[ ] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

@maximepvrt Also needs an update in Nitro, to e.g. update docs in https://nitro.unjs.io/deploy/providers/lagon and remove the preset.
But maybe deprecation is easier for now?  🤔


remove zone change repo getpendings functions

ZoneChangeStatus.Pending and ZoneChangeStatus.Complete are deprecated
This pr removes ZoneChangeRepository.getPending and ZoneChangeRepository.getAllPendingZoneIds
This does not remove ZoneChangeStatus.Pending and ZoneChangeStatus.Complete in case there is legacy data in an installations repos that need to be converted back to zoneChanges, e.g. during listing zone changes

Codecov Report

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

@@          Coverage Diff           @@
##           master    #188   +/-   ##
======================================
  Coverage    93.6%   93.6%
======================================
  Files         113     113
  Lines        3880    3880
  Branches       83      83
======================================
  Hits         3632    3632
  Misses        248     248

Impacted Files
Coverage Δ

...modb/repository/DynamoDBZoneChangeRepository.scala
0% <ø> (ø)
:arrow_up:

...n/scala/vinyldns/core/domain/zone/ZoneChange.scala
100% <ø> (ø)
: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 79f2c96...cceb547. Read the comment docs.

@pauljamescleary updated

Note: When you remove the indexes from the create table section, please update the docs as well, the operator guide has AWS dynamodb bits that list out the indexes


Allow custom Stmts

I'm trying to make a macro that adds a few new kinds of statement but otherwise accepts arbitrary Rust code. It currently works as long as everything is in the same scope--I check for my special cases and let syn!(Stmt) handle the ones I don't care about. But if there are statements inside other statements, as in the following example, my current code doesn't even check the inside statements.
if x > 0 {
    custom_statement_that_my_code_never_sees;
}

The result is a complete failure to parse, since Stmt::parse doesn't know anything about my new statement types.
As a workaround, I can duplicate parts of syn's AST with my own structs that do nothing different except possibly contain my custom statements, but my crate shouldn't have to know about most of Rust's grammar just to add a new statement. And what if Rust's grammar changes and syn is updated but my crate isn't?
So, I propose adding (possibly behind a feature gate) a new variant to the Stmt enum, called Custom(Box<std::any::Any>), that represents anything the parser wants to call a statement, and adding this parser to Stmt's impl:
named!(pub parse_custom(custom_parser: fn(Cursor) -> PResult<Synom>), alt!(
      call!(custom_parser) => { |stmt| Stmt::Custom(Box::new(stmt)) }
    | syn!(Stmt)
))

This idea could be extended to custom expressions, items, etc. For my use case, though, statements are the only important ones. I'm willing to do it myself if no one has any objections.

I would be interested in seeing what this would look like in a PR. Thanks!

Closing because I don't intend to work on this myself, but feel free to send a PR if you get this working and we can evaluate whether it makes sense to expose in Syn.


MGLAnnotation.Title and Subtitle are readonly

It isn't possible to set the title or subtitle of an annotation.

Hi @charlenni , sorry for the late response.
In MGLAnnotation, these two properties are readonly: Documentation
Please check their example to see how to add annotations: Add a marker


Add ansible-lint for cookiecutter in CI jobs

Related to #119
Currently, the cookiecutter directory is excluded in ansible-lint configuration.
It may need to run 'molecule init -d xxx' to generate the playbook from cookiecutter.
The lint issue in Azure plugin has been fix in #105

sounds a good idea but are you sure that it'll work ? iirc ansible-lint was not really happy with cookiecutter templates

oh, right... Got confused with previous line, I thought you wanted to remove the corresponding exclude_path line in ansible-lint configuration


Minor fixes for new Agent framework

Also partially solves https://github.com/OpenDevin/OpenDevin/issues/162


Zip codes and country codes do not work for latin american cities

Tested with at least 30 latin american cities and not are reconoced for the plugin
Tested:
Peru= 3 cities
Chile= every main capital city
Argentina, Bolivia, Brazil, etc.
All send the message "invalid city"

The plan is to allow users to search for locations via name rather than zip/post codes in a future update.

Moved to #79 with some improvements made in #71 and<PHONE_NUMBER>f9c67b2c12e6f12cf243a6beddad24


#10: Assume role for boto resource, boto client, and AwsLimitChecker

@hltbra This PR refactors all functions that make calls to boto or AwsLimitChecker to assume a role based on an env var. Please let me know what you think!

LGTM 🚢


Setting the env variable through script cause error on setting manually error

I have checked the following:

[X] I use the newest version of bruno.
[X] I've searched existing issues and found nothing related to my issue.

Describe the bug
Reproduce process

Running a request and there is pre script to setup some env variables.
Edit the env variable (same or different) manually
Click save
Show error "An error occurred while saving the changes"

Resolution for now

Need to restart the bruno everytime to edit the env variable after every request.

.bru file to reproduce the bug
No response

+1
I experienced this, too and was just about to create an issue.
In my case it is a post script and the error occurs on every change to the environment.

Hi, @developer-sunnywu , I was able to reproduce this issue and we're working on this. Thanks for reporting!

Hi @developer-sunnywu , @JoergJans, this issue no longer happens to me in 1.35. Can you check it out? Thanks!

@sreelakshmi-bruno I am using v.1.36.1, the problem still persist, can you help to check? Thanks


Cannot load 4.1.6

Hi @nicollasricas 👋🏼
When I use version 4.1.6 it of the extension it doesn't load at all, I cannot activate either reconnect the stream deck to my VS code instance. Downgrading to 4.1.5 helped getting the Deck | Connected | Active visible in the status bar again.
Is there any way I can help you getting a stable version?

Hi,
If the extension doesn't load them, toggle the extension developer tools (Help ⇾ Toggle Developer Tools) and look at the console, It should have an error activating the extension.
If not, then let me know, so we could investigate it further.
Best,
Nicollas

Please share the logs from the following locations as well:
View → Open View → Log (Shared)
View → Open View → Log (Window)
View → Open View → Log (Extension Host)
View → Command Palette → Toggle Shared Process → Console


Fix isloc() not coping with null args

It's kinda weird that TryGetValueAsDreamObject doesn't return false when the object value is just null.


fix: refactor creating formats

COMM-1067
Description
Format creation for RichTextEditor needed a refactor to make it more efficient
How to test

Access the temploy/preview.
RichTextEditor should work as expected
CI should be 💚

Development checks

[x] Add changeset according to guidelines (if needed)
[x] Read CONTRIBUTING.md and Component API principles
[x] Annotate all props in component with documentation
[x] Create examples for component
[x] Ensure that deployed demo has expected results and good examples
[x] Ensure the changed/created components have not caused accessibility issues. How to use accessibility plugin in storybook.
[x] Self reviewed
[x] Covered with tests

Breaking change

[x] codemod is created and showcased in the changeset
[x] test alpha package of Picasso in StaffPortal

PR commands

List of available commands:

@toptal-bot run all - Run whole pipeline
@toptal-bot run build - Check build
@toptal-bot run deploy:documentation - Deploy documentation
@toptal-bot run package:alpha-release - Release alpha version

PR Review Guidelines

When to approve? ✅
You are OK with merging this PR and

You have no extra requests.
You have optional requests.

Add nit: to your comment. (ex. nit: I'd rename this variable from makeCircle to getCircle)

When to request changes? ❌
You are not OK with merging this PR because

Something is broken after the changes.
Acceptance criteria is not reached.
Code is dirty.

When to comment (neither ✅ nor ❌)
You want your comments to be addressed before merging this PR in cases like:

There are leftovers like unnecessary logs, comments, etc.
You have an opinionated comment regarding the code that requires a discussion.
You have questions.

How to handle the comments?

An owner of a comment is the only one who can resolve it.
An owner of a comment must resolve it when it's addressed.


Autolink based on patterns in comments to external URLs

It'd be nice to configure and autolink patterns in comments (such as JIRA issue IDs, PR/MR numbers etc) via a settings.json config. This'd be similar to how GitHub handles autolinking for external resources:

Would behave like the following (change click to Cmd/Ctrl + Click 😅 ):

An extension can do it:
https://code.visualstudio.com/api/references/vscode-api#DocumentLinkProvider

Made a sample extension: https://marketplace.visualstudio.com/items?itemName=usernamehw.autolink
"autolink.queries": [
	{
		"linkPattern": "JIRA-(\\d{1,6})",
		"linkText": "https://jira.github.com/issue?query=${0}",
	},
],

@usernamehw that's neat, great work!
I still think it'd be nice to have this built-in to vscode 😄

I think this is a great use-case for using extensions and I suggest using https://marketplace.visualstudio.com/items?itemName=usernamehw.autolink.


Flogo service go

Flogo services convert to go

All code reviewed by @fm-tibco and @vijaynalawade


Add a global config for col capitalization

Description
What is the current behavior?
Users expressed confusion on why the column names for output tables are lowercased. It's due to this default setting.
closes: #917
What is the new behavior?
The default behavior should be to not change casing and it should be configureable with a global variable.
That way we can avoid hardcoding this setting into the Astro Build dagfile generator script.
Does this introduce a breaking change?
Nope
Checklist

[ ] Created tests which fail without the change (if possible)
[ ] Extended the README / documentation, if necessary

We no longer need this PR, since we have added a fix in a separate PR.


big issue on build version 0.12.0

The xhrType is undefined. So doing this will never work new _this.XHRType();
It's not a function nor a constructor.
var RequestMessageProcessor = (function () {
function RequestMessageProcessor(xhrType, xhrTransformers) {
_classCallCheck(this, RequestMessageProcessor);
  this.XHRType = xhrType;
  this.xhrTransformers = xhrTransformers;
  this.isAborted = false;
}

....
RequestMessageProcessor.prototype.process = function process(client, requestMessage) {
var _this = this;
  var promise = new Promise(function (resolve, reject) {
    var xhr = _this.xhr = new _this.XHRType();

I confirm 0.12.0 throws a TypeError: _this.XHRType is not a function.

i confirm two

Are you hitting this error in an aurelia application or in unit tests?
If the issue occurs in unit tests, do the following to "initialize" the platform abstraction layer in your unit tests:
jspm install aurelia-pal
jspm install aurelia-pal-browser --dev

in any of the unit test files, add:
import {initialize} from 'aurelia-pal-browser';
initialize();

If you're encountering this error in an Aurelia app, confirm you've jspm installed all of the aurelia dependencies listed in your package.json.  jspm update isn't enough.  Each needs to be re-installed.
Please report back if this helps-  I'm on the new build in both a plugin (aurelia-breeze) and in an Aurelia application.  Both use the HttpClient, neither are hitting this issue.  That said, I may not be using all the HttpClient functionality you guys are so I could be wrong on the above ^^^.

I'm hitting this error in an Aurelia application, with a clean jspm install -y. I'd be happy to help debug; this is the complete console error:
Unhandled promise rejection TypeError: _this.XHRType is not a function
    at http://localhost:9000/jspm/github/aurelia/http-client@0.12.0/aurelia-http-client.js:233:31
    at new Promise (http://localhost:9000/jspm/npm/core-js@0.9.18/modules/es6.promise.js:193:9)
    at RequestMessageProcessor.process (http://localhost:9000/jspm/github/aurelia/http-client@0.12.0/aurelia-http-client.js:232:21)
    at http://localhost:9000/jspm/github/aurelia/http-client@0.12.0/aurelia-http-client.js:723:26
    at run (http://localhost:9000/jspm/npm/core-js@0.9.18/modules/es6.promise.js:91:43)
    at http://localhost:9000/jspm/npm/core-js@0.9.18/modules/es6.promise.js:105:11
    at module.exports (http://localhost:9000/jspm/npm/core-js@0.9.18/modules/$.invoke.js:6:25)
    at queue.(anonymous function) (http://localhost:9000/jspm/npm/core-js@0.9.18/modules/$.task.js:40:9)
    at Number.run (http://localhost:9000/jspm/npm/core-js@0.9.18/modules/$.task.js:27:7)
    at listner (http://localhost:9000/jspm/npm/core-js@0.9.18/modules/$.task.js:31:9)

please jspm install aurelia-_________ for each of the aurelia-_____ items in your package.json

Thank you @jdanyow! Something changes, now the error is:
Unhandled promise rejection TypeError: this.metadata.initialize is not a function
    at ResourceDescription.initialize (http://localhost:9000/jspm/github/aurelia/templating@0.16.0/aurelia-templating.js:2314:21)
    at ResourceModule.initialize (http://localhost:9000/jspm/github/aurelia/templating@0.16.0/aurelia-templating.js:2233:17)
    at http://localhost:9000/jspm/github/aurelia/templating@0.16.0/aurelia-templating.js:2605:20
    at run (http://localhost:9000/jspm/npm/core-js@0.9.18/modules/es6.promise.js:91:43)
    at http://localhost:9000/jspm/npm/core-js@0.9.18/modules/es6.promise.js:105:11
    at module.exports (http://localhost:9000/jspm/npm/core-js@0.9.18/modules/$.invoke.js:6:25)
    at queue.(anonymous function) (http://localhost:9000/jspm/npm/core-js@0.9.18/modules/$.task.js:40:9)
    at Number.run (http://localhost:9000/jspm/npm/core-js@0.9.18/modules/$.task.js:27:7)
    at listner (http://localhost:9000/jspm/npm/core-js@0.9.18/modules/$.task.js:31:9)

Maybe some dependency is missing from the dependency hierarchy?

I also confirm 0.12.0 throws a TypeError: _this.XHRType is not a function. This is not thrown in a Aurelia app not in unit tests.

see @EisenbergEffect's comment here.  It really sounds like your projects aren't fully updated- maybe you're using an aurelia plugin that hasn't been updated yet?  Execute jspm clean and then take a look at your jspm_packages\github\aurelia folder... any duplicate items would mean you have version forks that need cleaning up.

Then it's forks. I have these:
                     github:aurelia/binding 0.9.1 0.10.0
        github:aurelia/dependency-injection 0.10.1 0.11.0
            github:aurelia/event-aggregator 0.8.0 0.9.0
                   github:aurelia/framework 0.16.0 0.17.0
                      github:aurelia/loader 0.9.0 0.10.0
              github:aurelia/loader-default 0.10.0 0.11.0
                     github:aurelia/logging 0.7.0 0.8.0
                    github:aurelia/metadata 0.8.0 0.9.0
                        github:aurelia/path 0.9.0 0.10.0
                  github:aurelia/task-queue 0.7.0 0.8.0
                  github:aurelia/templating 0.15.3 0.16.0
                                npm:core-js 0.9.18 1.2.1

I'm trying to find out which plugin sticks to old versions, since I'm not able to clean the forks…

Found the plugins:  aurelia-dialog and aurelia-i18n.

I would like add that Aurelia-Validation too.

@heruan I've updated aurelia-i18n, can you give it a try?

@zewa666, I updated it to the aurelia-i18n 0.2.5 and now I am getting this error:
Unhandled promise rejection TypeError: this.subscription is not a function     at TCustomAttribute.unbind (http://localhost:9000/jspm_packages/github/aurelia/i18n@0.2.5/t.js:118:14)     at Controller.unbind (http://localhost:9000/jspm_packages/github/aurelia/templating@0.16.0/aurelia-templating.js:2724:20)     at View.unbind (http://localhost:9000/jspm_packages/github/aurelia/templating@0.16.0/aurelia-templating.js:841:26)     at ViewFactory.returnViewToCache (http://localhost:9000/jspm_packages/github/aurelia/templating@0.16.0/aurelia-templating.js:1731:14)     at View.returnToCache (http://localhost:9000/jspm_packages/github/aurelia/templating@0.16.0/aurelia-templating.js:753:24)     at removeAction (http://localhost:9000/jspm_packages/github/aurelia/templating@0.16.0/aurelia-templating.js:1246:25)     at ViewSlot.removeAll (http://localhost:9000/jspm_packages/github/aurelia/templating@0.16.0/aurelia-templating.js:1259:7)     at CompositionEngine.createControllerAndSwap (http://localhost:9000/jspm_packages/github/aurelia/templating@0.16.0/aurelia-templating.js:3541:49)     at http://localhost:9000/jspm_packages/github/aurelia/templating@0.16.0/aurelia-templating.js:3642:28     at f (http://localhost:9000/jspm_packages/npm/core-js@0.9.18/client/shim.min.js:1415:56)

@zewa666 The signature of the object that the event aggregator's subscribe returns has changed. It now returns an object with a dispose method.

@EisenbergEffect There is a chance that in futur libraries under "Aurelia" can be updated together when big "break changes" are applied.
I'm telling you that because we use so much aurelia and really can't afford that some part of libraries like i18n & validation can't be updated accordly to the latest build.
As I'm writing now, we are stuck to apply the latest build because some of libraries are not up to date.
Thank you for your support,
Léon

@leon-andria its mostly my fault as I'm currently on vacation and not available most of the time, and my teams co-contributor currently is not available. Besides that such big breaking changes should only happen in before BETA and are likely to stop then.
So apologies and will get that done better next time :+1:

@zewa666 Thank you very much. I don't want to blame anyone, and i fully understand how you guys working hard, and get my respect. We are just a big FAN of Aurelia so that it's hard for us to explain to someone why it doesn't work, because this new release is just a "Killer". Can you think that you plan to roll-out over more than 400 web sites....

thanks for the kind words. We will certainly talk internally more about a stable update process in the future so things like this one don't happen.

We definitely here your concern on this. Please note that the libraries to which you are referring are plugins and can't actually be updated until after the core is released. There's a dependency order issue there that is unavoidable. However, we hope to have this process streamlined so that the lag is much shorter in the future (minutes or hours only, rather than days). This issue will also be less common after beta because we won't have breaking changes to core APIs, so a plugin won't need to update when the core changes, unless it depends on a new feature or API that wasn't there before. This will work itself out even better once we hit 1.0.0 because of the way that jspm works with semver; it can autoupdate anything that isn't a breaking change. Finally, we are working with the jspm team to have the concept of "peerDependencies" to jspm/system.js. Once that is in place, we will declare all Aurelia libraries and plugins to have peerDependencies rather than dependencies. This will also improve the update process.

Thank you Rob for your comment. The peerDependencies feature is just awesome.
We are really concerned for each updates as i said earlier, we have so many web sites (it's not just 10 or 20, it's more than 100..) with aurelia and some of them are already "Live".
As usual, great job.

Sorry, maybe someone can help me, I didn't understand how to fixed, in this moment I have the version<EMAIL_ADDRESS>is the last one? How I fixed it? Thanks!

I'm currently stuck on this one too and would really appreciate some help:

I installed version 0.13.0 of the http-client using jspm install github:aurelia/http-client
I executed jspm install npm:aurelia___ for every aurelia___ dependency in package.json as requested by jdanyow
I don't see any duplicate entries in jspm_packages/github/aurelia
Calling http.put('the-path') results in 3 errors in the console:
Unhandled promise rejection TypeError: _this.XHRType is not a function followed by 2 subsequent Unhandled promise rejection TypeError: _aureliaPal.DOM.createCustomEvent is not a function

Please let me know what I can do to fix this issue!
Thanks & best regards

I just found the solution myself:
Instead of installing the http-client with jspm install github:aurelia/http-client, simply using jspm install aurelia-http-client did the trick and everything works fine now!

Guys any update on this issue, still getting same error as mentioned by suamikim above.
I did Jspm clean, install etc. Any update will be helpful.
Thanks

Make sure you are actually using a beta version, not a pre-beta.

"aurelia-fetch-client"<EMAIL_ADDRESS>
"aurelia-http-client"<EMAIL_ADDRESS>"aurelia-i18n"<EMAIL_ADDRESS>
This is in my config.js

Are you trying to use fetch-client or http-client? Those are two different libraries.

I am using http-client

You should remove the fetch client for sure then. Try running jspm update as well.

Make sure you don't have any forks.

Ok. Let me do it, as well I have seen some duplicate entries in my config.js after jspm install, so let me verify it and I will remove fetch client.

hello,
  "aurelia-animator-css"<EMAIL_ADDRESS>  "aurelia-binding"<EMAIL_ADDRESS>  "aurelia-bootstrapper"<EMAIL_ADDRESS>  "aurelia-breeze"<EMAIL_ADDRESS>  "aurelia-dependency-injection"<EMAIL_ADDRESS>  "aurelia-dialog"<EMAIL_ADDRESS>  "aurelia-event-aggregator"<EMAIL_ADDRESS>
I was individually doing jspm install for all aurelia.* modules above as mentioned by @jdanyow .......when I reached upto the that library its started working :). I don't know though which one had issue.

Hi all what worked form me:

remove completely jspm_packages and node_modules
rimraf jspm_packages
rimraf nopde_modules

uninstall jspm globally and locally (npm unsinstall -g jspm, npm uninstall jspm)

remove a cache folder for jspm: /c/Users//AppData/Local/jspm

then I'v installed Python 2.x (some NPM install parts needed it)

then I've started again installing jspm locally and globally

It didn't work, but I didn't have any problems with NPM install , jspm install

then I've run:  jspm upgrade

And it solves problems with:
Unhandled promise rejection TypeError: _aureliaPal.DOM.injectStyles is not a function(…)
After all steps I've got working app again.

Ran into this issue after installing an Aurelia plugin via JSPM. Nothing worked until I ran jspm upgrade - did the trick for me. I was running older versions of just about everything in Aurelia.

New to Aurelia and going through the video and documentation examples. Wanted to use both 'fetch' and 'http' on the same example page. Had to run jspm update and the aurelia-http-client fired right up.
Note: I'm on windows and noticed that I ran 'update' as 'upgrade' was not available.


Chat Prototype works, but the connection between me and the neighborhood is slow

The Chat Prototype works, but the neighborhood that I'm responding takes them forever to respond back to my response. A way they can reproduce this issue is to get the neighborhood I'm having a conversation with in a quicker and faster connection so we can have ongoing conversations.

Of course the response speed depend of the connection speed.
It's why for school with a slow internet connection (or no internet connection), it's possible to deploy a Sugarizer Server on the local network.


Adding @koudaiii (Kodai) and @horihiro (Hirofumi) as CODEOWNERS

Kodai Sakabe (@koudaiii) played a big role in organizing the design of this action and getting it stable and publicly available.
Hirofumi Horikawa (@horihiro) has done a huge job in maintaining the development environment for this github action and ensuring that the activation/deactivation of revisions is carried out.
I would also like to thank Ryosuke Hyakuta (@ry0y4n), who was not added to CODEOWNER at this time, but participated in the development as an intern. He took the lead in the early development and did extensive development including instructions and test environment.
Considering the widespread use of this Action in the future, and to ensure its ongoing management, I am adding both of them as CODEOWNERS :tada:

💪 💪


In HTML files: no javascript syntax highlighting for module scripts

Describe the bug
In HTML files, syntax highlighting for javascript is gone when adding type="module" to the script tag.
To Reproduce
Steps to reproduce the behavior:

Create a new html file in any hyperdrive.
Add <script>if (true) {console.log('hi')}('hi')</script> somewhere in the file.
You'll see there's syntax highlighting for the javascript.
Add type="module". I.e., edit the code to be <script type="module">if (true) {console.log('hi')}</script>.
Syntax highlighting for the javascript is gone.

Expected behavior
For the javascript syntax highlighting to work for module scripts.
Screenshots
Javascript syntax highlighting working in non-module scripts: (no problem here)

Javascript syntax highlighting not working in module scripts:

Desktop:

OS: Windows 10
Browser: Beaker Browser
Version: v1.0.0-prerelease.1

Additional context
None.

May be fixable by updating our version of Monaco. I'll check into it.

It took some fancy maneuvering (aka literally anything with Monaco) but I got this one!


Include depots in BKS format

When we implement multiple depots, there will be ambiguity in the starting and end depots of a route in a given BKS file. We could remedy that by explicitly including the starting and ending depots in the BKSs for instances that have more than one depot.
I am not sure how hard this would be to implement.

@leonlan this somewhat ties into whether you know of any existing BKS files, because my default would be to copy whatever they do (assuming those files somewhat follow the CVRPLIB solution convention).

This was in the README for the MDVRPTW instances of Vidal et al. (2013):
B) SOLUTION FILES

The first line contains the cost of the solution (total duration excluding
service time).

The next lines contain, for each route, the following information:

	l k d q list

where

	l = number of the day (or depot or vehicle type)

	k = number of the vehicle

	d = duration of the route

	q = load of the vehicle

	list = ordered sequence of customers (with start-of-service times, if
               applicable)

But I haven't seen those solution files.

The heterogeneous fleet solution format is also applicable here (see #252).
Rather than being explicit about the depots, we can be explicit about the vehicle types
Route #1: 1 2 3
Route #2: 4 5 6
Route #3: 7 8 9
Route #4: 10
Vehicle types: 0 1 1 0
Cost: 1

Which implicitly define the start/end depots for each route.

That also works. Not sure how to specify this nicely, because "vehicle type" is a bit of our own thing. We might want to just use vehicle numbers here instead (we can always translate between the two internally) - and then only when not all vehicles are the same.

@leonlan I think we can close this issue by also printing empty routes (like we do for MDVRPTW) when we have heterogeneous fleets. That aligns route and vehicle numbers, and should be backwards compatible to settings with homogeneous fleet. Do you agree?

Agree!


Updating to latest version from datadog

The current versions of the datadog schemas are outdated, possibly plain wrong - causing issues for validation tools.
Updated versions are straight from the latest datadog-operator

Current version from DD is https://github.com/DataDog/datadog-operator/blob/v1.0/bundle/manifests/datadoghq.com_datadogagents.yaml - which contains a lot of changes comparing against the versions in the CRDs-catalog


phpmd: PHP Notice:  Use of undefined constant T_CHARACTER

16:06:12 PHP Mess Detector
phpmd: PHP Notice:  Use of undefined constant T_CHARACTER - assumed 'T_CHARACTER' in C:\xampp\php\pear\PHP\Depend.php on line 538
PHP Stack trace:
PHP   1. {main}() C:\xampp\php\phpmd:0
PHP   2. PHP_PMD_TextUI_Command::main() C:\xampp\php\phpmd:48
PHP   3. PHP_PMD_TextUI_Command->run() C:\xampp\php\pear\PHP\PMD\TextUI\Command.php:154
PHP   4. PHP_PMD->processFiles() C:\xampp\php\pear\PHP\PMD\TextUI\Command.php:128
PHP   5. PHP_PMD_Parser->parse() C:\xampp\php\pear\PHP\PMD.php:203
PHP   6. PHP_Depend->analyze() C:\xampp\php\pear\PHP\PMD\Parser.php:128
Exclude UpdatePackage.php from PHP Mess Detector analysis.

@aliceinwire could you provide more information about the environment and the phpmd version used?

PEAR Version: 1.10.1
PHP Version: 7.0.1
Zend Engine Version: 3.0.0
Running on: Windows NT 6.3 build 9600 (Windows 8.1 Professional Edition) i586
C:\xampp\php\phpmd.bat C:/Users/ITCOLL~1/AppData/Local/Temp/___0.tmp/DbAction.php xml codesize,controversial,design,naming,unusedcode
phpmd.bat
if "%PHPBIN%" == "" set PHPBIN=C:\xampp\php.\php.exe
if not exist "%PHPBIN%" if "%PHP_PEAR_PHP_BIN%" neq "" goto USE_PEAR_PATH
GOTO RUN
:USE_PEAR_PATH
set PHPBIN=%PHP_PEAR_PHP_BIN%
:RUN
"%PHPBIN%" "C:\xampp\php\phpmd" %*

Could be related to PHP 7, though our tests run through in Travis:
https://travis-ci.org/phpmd/phpmd/jobs/100560175
Could you re-verify your problem on PHP 5.x, please?

sorry I cannot test with php 5.x as now

@aliceinwire which version of pdepend did you use, because in the latest version there is already a fallback for this missing constant implemented.

This is fixed since<EMAIL_ADDRESS>


"Error: engine error: Missing or invalid license activation"

Hello,
I am getting this error ("Error: engine error: Missing or invalid license activation") while trying to read lines:
mjModel * m = (mjModel *) malloc(sizeof(mjModel));
m = mj_loadXML("/home/marko/ZR/src/humanoid.xml", NULL, errstr, 128);

I assume it is not recgnising mjkey.txt file but i have linked that directory in CMakeLists.txt.
Here it is:
cmake_minimum_required(VERSION 3.10)
set the project name and version
project(ZR VERSION 1.0)
project(ZR)
specify the C++ standard
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED True)
set(CMAKE_CXX_FLAGS -pthread)
set(MUJOCO_PATH /home/marko/mujoco/mujoco200_linux)
link_directories(${MUJOCO_PATH}/bin)
add_executable(start start.cpp)
find_package(GLEW REQUIRED)
find_package(Threads REQUIRED)
target_include_directories(start PUBLIC ${MUJOCO_PATH}/include)
target_link_libraries(start PUBLIC libglew.so libglewegl.so libglewosmesa.so libglfw.so.3 libmujoco200nogl.so)
I'd be glad if you could help me.

Out of curiosity, why are you using the license key still?

There is no, is your advice to install a newest version?

Unless you have a very specific reason for using version 2.0.0, I'd recommend using the latest one (currently 2.1.5) instead.


Cv

Fixes issue #57.  Updated predict functions to work with new sklearn cross-validation api.  Removed all cross-validation classes that were redundant with sklearn.  Updated KFoldStratified for new cross-validation style.

Coverage increased (+0.6%) to 51.366% when pulling 3b0cbe00a834b1beea82d76aaa937de737c86bca on cv into 2f4bfee792cb33471417f43af990f2a2d7a1c2a6 on master.


fix(FloatingList): properly update index even when there is only one item

This PR aims to fix a bug where useListItem returns index set to -1 when there is only one list item, and add a test to verify that.
It 1. creates an entry when register is called with node as key and null as value initially, and 2. useLayoutEffect updates each index respecting the node's position. However, when there is only one item there it skips 2.
Although I agree running sort etc in this case might be redundant, I though doing the same flow regardless of the size is simpler and efficient enough.

Wow that was quick! Thank you!


Fix/remove warnings in project

There are 2 types of warnings:

Accessing property ivar directly
Different  int comparisons.

CardStackController.m:75:5: Instance variable '_currentCardIndex' is being directly accessed
CardStackController.m:177:18: Comparison of integers of different signs: 'NSInteger' (aka 'long') and 'NSUInteger' (aka 'unsigned long')

closing issue because of lack of activity, reopen if needed


Authors import - valid orcid raising errors

Not all orcid are getting imported, mostly because of the like of affiliation.

For testing: 0000-0001-7881-8345

Improve error reporting when we get empty response for any particular request.


allow a user to choose his/her state of life

Certain indications in the examination of conscience depend on the state of life: whether one is married, or enaged, or single, or a professed religious, or even a priest / deacon.
Perhaps in the app settings, one could set his / her state of life, and this would filter certain points of examination accordingly.

also whether the user has children or not... certain points of examination apply or don't apply accordingly

Just noticed this was already present in issue #4


Update documentation for new config in langchecker + nits

Use "you" or "passive" form, not "we".
Use apostrophe instead of straight single quote.
This is currently blocked by https://github.com/mozilla-l10n/langchecker/pull/597 but it might help with reviews.

Thanks, fixed and updated max priority to 5.

And looks I don’t have commit rights here :/

And looks I don’t have commit rights here :/

Fixed that ;-)
Thanks for all the reviews.


add neural network perceptron example

translated 10.1 Perceptron example to p5
http://natureofcode.com/book/chapter-10-neural-networks/

wow, thanks for this!


Implement JSON serialization protocol for common channels

Done.

woo

Automerge cancelled: A status check is failing.

Windows build failed with no output.

That's the threading flake that @c-poole is working on. Just re-start it.

Automerge cancelled: There are merge conflicts.


Test error: Error during attestation validation: Error: Invalid signature v value

When executing npm run test:js, I see this error scroll by:
Error during attestation validation: Error: Invalid signature v value
    at exports.ecrecover (/home/travis/build/OriginProtocol/origin-js/node_modules/ethereumjs-util/dist/index.js:403:11)
    at V00_UsersAdapter._callee8$ (/home/travis/build/OriginProtocol/origin-js/src/contractInterface/users/v00_adapter.js:206:25)
    at tryCatch (/home/travis/build/OriginProtocol/origin-js/node_modules/regenerator-runtime/runtime.js:65:40)
    at Generator.invoke [as _invoke] (/home/travis/build/OriginProtocol/origin-js/node_modules/regenerator-runtime/runtime.js:303:22)
    at Generator.prototype.(anonymous function) [as next] (/home/travis/build/OriginProtocol/origin-js/node_modules/regenerator-runtime/runtime.js:117:21)
    at step (/home/travis/build/OriginProtocol/origin-js/src/contractInterface/users/v00_adapter.js:21:191)
    at /home/travis/build/OriginProtocol/origin-js/src/contractInterface/users/v00_adapter.js:21:361
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:189:7)

Tests seem to pass though. I suspect we're not awaiting an async function somewhere in the user resource tests, so mocha is not detecting the error. This happens in CI too. For example:
https://travis-ci.org/OriginProtocol/origin-js/jobs/437663625#L1617

Assigning to @tyleryasaka, because he's already looking at the identity contracts


WIP master <- develop

Merge the develop branch into the master branch and deploy

Build log
Preview build with this PR (commit): https://output.circle-artifacts.com/output/job/101b9eaf-2ef7-4f71-91c8-1ca52131962d/artifacts/0/index.html

Build log
Preview build with this PR (commit): https://output.circle-artifacts.com/output/job/bde12196-4236-44c5-b2c5-304342aa42bc/artifacts/0/index.html


Can't find or install new gems after communizing

After installing an communizing gems (which errored a few times per Ruby version due to gems installed with sudo) I'm seeing this issue on multiple Ruby versions I have installed:
/Users/olivierlacan/.rbenv/versions/2.2.0/lib/ruby/site_ruby/2.2.0/rubygems/dependency.rb:315:in `to_specs': Could not find 'thor' (>= 0) among 0 total gem(s) (Gem::LoadError)
Checked in 'GEM_PATH=/Users/olivierlacan/.gem/ruby/2.2.0:/Users/olivierlacan/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0', execute `gem env` for more information
  from /Users/olivierlacan/.rbenv/versions/2.2.0/lib/ruby/site_ruby/2.2.0/rubygems/dependency.rb:324:in `to_spec'
  from /Users/olivierlacan/.rbenv/versions/2.2.0/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_gem.rb:64:in `gem'
  from /Users/olivierlacan/.rbenv/versions/2.2.0/bin/thor:22:in `<main>'

$ gem env
RubyGems Environment:
  - RUBYGEMS VERSION: 2.4.6
  - RUBY VERSION: 2.2.0 (2014-12-25 patchlevel 0) [x86_64-darwin14]
  - INSTALLATION DIRECTORY:
  - RUBY EXECUTABLE: /Users/olivierlacan/.rbenv/versions/2.2.0/bin/ruby
  - EXECUTABLE DIRECTORY: /bin
  - SPEC CACHE DIRECTORY: /Users/olivierlacan/.gem/specs
  - SYSTEM CONFIGURATION DIRECTORY: /Users/olivierlacan/.rbenv/versions/2.2.0/etc
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86_64-darwin-14
  - GEM PATHS:
     -
     - /Users/olivierlacan/.gem/ruby/2.2.0
     - /Users/olivierlacan/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :backtrace => false
     - :bulk_threshold => 1000
     - "install" => "--env-shebang"
     - "gemhome" => ""
     - :benchmark => false
     - :sources => ["https://rubygems.org/"]
     - "gem" => "--no-document"
  - REMOTE SOURCES:
     - https://rubygems.org/
  - SHELL PATH:
     - /Users/olivierlacan/.rbenv/versions/2.2.0/bin
     - /Users/olivierlacan/.rbenv/libexec
     - /Users/olivierlacan/.rbenv/plugins/ruby-build/bin
     - /Users/olivierlacan/.rbenv/plugins/rbenv-sudo/bin
     - /Users/olivierlacan/.rbenv/plugins/rbenv-communal-gems/bin
     - /Users/olivierlacan/.rbenv/shims
     - /Users/olivierlacan/.rbenv/bin
     - /usr/local/bin
     - /usr/local/sbin
     - /usr/local/heroku/bin
     - /usr/local/bin
     - /usr/bin
     - /bin
     - /usr/sbin
     - /sbin
     - /opt/X11/bin
     - /usr/local/MacGPG2/bin

As you can see the INSTALLATION DIRECTORY is blank. In /Users/olivierlacan/.gem/ruby/2.2.0 I find only a cache directory with bundler-1.8.2.gem inside. You can also see that the first GEM PATHS is blank. This is most likely what causes:
$ gem install bundler
ERROR:  While executing gem ... (Errno::ENOENT)
    No such file or directory @ dir_s_mkdir -

Upon checking ~/.rbenv/gems/ I can only find a 2.0.0 directory there despite having the following Rubies installed:
$ rbenv versions
  system
  1.9.2-p330
  1.9.3-p392
  1.9.3-p448
  1.9.3-p484
  1.9.3-p545
  1.9.3-p550
  1.9.3-p551
  2.0.0-p247
  2.0.0-p353
  2.0.0-p481
  2.0.0-p594
  2.0.0-p598
  2.1.0
  2.1.1
  2.1.2
  2.1.4
  2.1.5
* 2.2.0 (set by /Users/olivierlacan/.rbenv/version)
  2.2.0-dev
  jruby-1.7.18
  jruby-1.7.6

So it looks like rbenv-communal-gems removed all my installation directories except for the one of the Ruby version I ran it from.

Alright. The solution for everyone in a similar situation until someone else chimes in is to recreate the directory structure expected in ~/.rbenv/gems/<ruby_version>, which is:

bin
cache
extensions
specifications
build_info
doc
gems

And then go fix the gemrc file in ~/.rbenv/versions/<ruby_version>/etc.
In my case it contained:
# added by rbenv communize
install: "--env-shebang"
gemhome: ""

Which I changed to:
# added by rbenv communize
install: "--env-shebang"
gemhome: "/Users/olivierlacan/.rbenv/gems/2.2.0"

Since this was for Ruby 2.2.0.
Not sure what went wrong during communize. :disappointed:

FYI in ~/.rbenv/versions/1.9.2-p330/etc/gemrc was:
gemhome: "/Users/olivierlacan/.rbenv/gems/"

So that's a different way communize didn't work as expected.

Thanks for the post, when I switched ruby version I had the same error because my INSTALLATION DIRECTORY was blank. I had to export GEM_HOME=$HOME/.gem


Update of hilbert/kiosk image

cleanup
new Kiosk Browser
add hb_preload.sh (+recent heartbeat-library.js)

TODO: switch to ADD for content from external repos

this PR is covered by https://github.com/hilbert/hilbert-docker-images/pull/58
which has an updated hb_preload and uses the released Kiosk-Browser package


Notify new users that they're following the host

Issue Type: Bug
When initially joining a collaboration session, the scrolling of users is linked. In otherwords, when a user scrolls it scrolls my client as well. This is fixed by closing the file and reopening.
Extension version: 1.0.91
VS Code version: Code 1.32.3 (a3db5be9b5c6ba46bb7555ec5d60178ecc2eaae4, 2019-03-14T23:43:35.476Z)
OS version: Windows_NT x64 10.0.17134

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz (4 x 2592)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: enabledsurface_synchronization: enabled_onvideo_decode: enabledwebgl: enabledwebgl2: enabled

Memory (System)
7.86GB (1.49GB free)

Process Argv

Screen Reader
no

VM
0%

This behavior is actually by design. When a guest first joins the session, they are following the host, which includes scrolling. You can simply un-Follow the host to turn this behavior off. When you close the file, it’s automatically unfollowing the host for you, which is why you’re seeing this behavior.

Potentially adding a pop-up to let users know they are following would help?

Thanks for the feedback! We’ve actually discussed doing this exact thing. Does it seem reasonable to repurpose this issue to track this change? When a guest joins a session, we can display a toast notifying you that you’re following the host, and provide a button to turn this off. Does that seem sufficient?
We’ve also discussed providing an option to turn off the auto-follow behavior. So when you join sessions, you wouldn’t be following the host unless you explicitly choose to. Would that be of interest to you as well?

The first option is exactly what I had in mind!

OK cool. I really appreciate you reaching out, and sharing the potential confusion with our current experience. We’ll use this issue to track your suggestion 👍

Thanks for the feedback! We’ve actually discussed doing this exact thing. Does it seem reasonable to repurpose this issue to track this change? When a guest joins a session, we can display a toast notifying you that you’re following the host, and provide a button to turn this off. Does that seem sufficient?
We’ve also discussed providing an option to turn off the auto-follow behavior. So when you join sessions, you wouldn’t be following the host unless you explicitly choose to. Would that be of interest to you as well?

option to turn off the auto-follow behavior would be nice.

Thanks for the feedback! We’ve actually discussed doing this exact thing. Does it seem reasonable to repurpose this issue to track this change? When a guest joins a session, we can display a toast notifying you that you’re following the host, and provide a button to turn this off. Does that seem sufficient?
We’ve also discussed providing an option to turn off the auto-follow behavior. So when you join sessions, you wouldn’t be following the host unless you explicitly choose to. Would that be of interest to you as well?

option to turn off the auto-follow behavior would be nice.

This is now resolved, since we display a "follow indicator" in the editor. We have another issue to track disabling auto-follow, and so I'll close this issue for now. Thanks!


Make it possible to have a different API for cls / className / classNames

As described in https://github.com/raquo/Laminar/issues/22, consuming libraries might want to provide a special way to deal with CSS classes which is different from how they deal with other  attributes.
It would benefit the consuming libraries if they could choose whether to keep the default cls / className / classNames API, but currently it's not possible.
I guess the most obvious solution to this problem would be to extract css / className / classNames (and perhaps also styleAttr?) into a separate OpinionatedAttrs trait that the consuming library may choose to not use.

In outwatch, we also handle class attributes differently, because we make them accumulate multiple assigned values. Currently, we just override the className member in RefectedAttrs (https://github.com/OutWatch/outwatch/blob/master/src/main/scala/outwatch/dom/DomTypes.scala#L110).
Style is maybe another "special kind" of attribute where a different handling might be needed. How do we decide, which of the values needs a special handling and which one does not? Why do you not like overriding the value?

Problem is, I want to be able to do pass both Observable[String] and Observable[Map[String, Boolean]] to the <-- method, but without allowing a custom type for cls in SDT that's not possible because with a String codec Laminar's ReactiveClassAttr expects the <-- method to accept Observable[String], whereas I need it to accept Observable[String | Map[String, Boolean]] as I can't create another <-- method that would accept Observable[Map[String, Boolean]] because of type erasure.
I guess I could work around this in Laminar with e.g. implicit value classes, but I'm not a fan of using implicits for such a popular use case. Besides, it's merely coincidental that I want to retain a string-based API in this case, and if I didn't want that I wouldn't have been able to accomplish what I want at all.
I'm working on this now on Laminar side, we'll see how it goes...

I see, that is indeed a good use case! In your dsl, you cannot diverge from the type signature of SDT and you are forced to expose it. Only changing semantics is possible.
Totally agree with your initial approach of using an OpinionatedAttr trait then. At least, we can then circumvent the problem for some of the likely candidates.

Alright, coming soon as v0.9. Existing consuming libraries will just need to mix in two more traits (HTML and SVG) to retain current functionality.


Create custom widget

Hi there!
How is it possible to add an own custom widget to the map and render it?
I followed the sample of the zoom widget and created a custom widget that inherits from Widget class. It seems like there is a need of a custom widget renderer but as far as I have understood
the custom renderer will never be called.
Related to: https://github.com/Mapsui/Mapsui/blob/c60b7551bc0b6b4ade24669eda2c352237b7e171/Mapsui.Rendering.Xaml/WidgetRenderer.cs#L26
Is that right? Are custom widgets not possible at the moment?
Or do I have just to call the draw method from my custom renderer by myself anyhow?

You have to create WidgetRenderers for the different renderers (Xaml, Skia), that implement the static function Draw and than add a line to each WidgetRenderer, so that this draw function is called.
In the moment this only works by changing the code. @pauldendulk works on a interface, so that it is possible to create widgets without changing the code.
What type of widget do you want to create?

I made a start with a widget renderer plugins in skia (not yet wpf). It was the first thing that came to mind. The interface will probably change. You can register a renderer for a widget by adding it to the MapControl.WidgetRenderer list.
Rendering now goes like this:
https://github.com/Mapsui/Mapsui/blob/master/Mapsui.Rendering.Skia/WidgetRenderer.cs#L18
Registering goes like this:
https://github.com/Mapsui/Mapsui/blob/master/Mapsui.Rendering.Skia/MapRenderer.cs#L40
The skia renderer instance is not accessible right now. In the WPF MapControl you could case the Renderer to the skia MapRenderer to register you own controls.

I wanted to create a button that checks the geolocation of the current device (gps) and navigates the map to this point.
I'm working in Xamarin Forms so WPF is not an option for me.

You don't need a Widget to do this. Create a Button and place this over the MapView with a AbsolutLayout or a Grid. Than set the event of this Button to a function, which change the center of the map with NavigateTo() to your center.
If you want a MyLocationLayer, which could display a image for your location than you could find an example at the Xamarin.Forms MapControl. If I look into the code, than I think it needs some update, because Mapsui has now some of the functions implemented (SVG images) ;)

@pauldendulk Looks very nice and easy to use. But shouldn't there be an insanity check like
renders[widget.GetType()]?.Draw(canvas, screenWidth, screenHeight, widget, layerOpacity);

Definately.

You have even to do
if (widget != null)
 {
    renders[widget.GetType()]?.Draw(canvas, screenWidth, screenHeight, widget, layerOpacity);
}

because widgets could hold null widgets. They are created, when a layer hasn't an attribution.

Btw. perhaps you shouldn't create a widget for layers with empty attribution.

I added this check yesterday? https://github.com/Mapsui/Mapsui/commit/d641492a5d55dedf238bce972c0dfae7ca285c12
Is this what you mean?

Yes, that is what I mean. You updated this 12 hours ago and I updated my local repository in the mornig when I start to work. This was 14 hours ago ;)


Remove Fluxus, ksapi, and Oxygen U bypass and change krnl.gg to krnl.ca

Fluxus, ksapi, and Oxygen U bypass is no longer needed
 NOTICE
I dedicate any and all copyright interest in this software to the
public domain. I make this dedication for the benefit of the public at
large and to the detriment of my heirs and successors. I intend this
dedication to be an overt act of relinquishment in perpetuity of all
present and future rights to this software under copyright law.

Fixes: Link to issue

[x] I made sure there are no unnecessary changes in the code*
[x] Tested on Chromium- Browser OS
[ ] Tested on Firefox

* indicates required

Thanks!


WIP: computeLight: rewriting diffuse alpha channel looks suspicious

Light accumulation was done on all color components including alpha channel, that can't be good.

This change is

Does this fix anything?

No, I haven't seen something being broken because of that (or I was not aware of this), but that bug may be uncovered later when adding features or reorganizing code.

This is just debugging code, right?

Hmmm, I feel stupid, the alpha channel is not rewritten with light computation but with 1.0, which does not seems legit by the way, since 1.0 alpha channel is fully transparent.
And yes, it's debug code, I don't know how I managed to miss that. But anyway, setting a texture to be fully transparent to show the rgb channels seems wrong. For some reason, I'm not able to see the bug I expect.
This is the code before, this is not what I expect the code to render (and the glass displaying light color on borders if alpha channel is fully transparent?):

This is the code after, which is what the code claims to do when there is no alpha channel rewrite:

We may want to not blend the debug light color by setting it fully opaque (0 alpha channel)
This is the code when there is alpha channel rewrite to 0.0 (fully opaque), so at least we know the alpha channel is read:

So, what to do, keep the legacy behavior (set alpha channel to 1), keep the alpha channel unmodified?, set the alpha channel to 0 (fully opaque)?
Note that in later case, the light color is not displayed the same, maybe it's not what we want.
In all case I plan to merge the very first commit that reword stuff to make it more readable.

Alpha value 1.0 is opaque, not transparent. We would also get incorrect results on semi-transparent surfaces otherwise, because we don't want that affecting how light tiles are shown.


[BUG] Can't find cluster-management-url setting

Describe the bug

The cluster management URL
To Reproduce
Steps to reproduce the behavior:

Deploy Harvester
Navigate to advanced settings
Check for setting
Expected behavior

You should be able to set the cluster-management-URL setting
Support bundle

supportbundle_4c245d97-75ae-4c4c-bed4-ecd953b2b4ec_2023-07-17T17-44-59Z.zip
Environment

Harvester ISO version: v1.2.0-rc3
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630): baremetal DL160

Additional context
Add any other context about the problem here.
This seems like it might be fallout from #2679 . The settings page has changed on v1.2.0-rc3. I tried this with bundled, external, and auto ui-source.

I tried enabling the rancher-manager-support to see if it would allow me to set the management-url again and it didn't and it looks like that setting is not working either.

The setting showed up in a ipxe-examples libvirt deploy of v1.2.0-rc3. My other deploy might just be having issues.

We will remove the rancher-manager-support setting, and users only need to enable the container view via the upstream Rancher new feature flag harvester-baremetal-container-workload. cc @ibrokethecloud @WuJun2016

The reason for this issue is that the value inside the label has changed to 'rke2' instead of our expected value, which is harvester.


fastp vs AfterQC results

I have run AfterQC (0.9.6) and fastp (0.17.0) on the same sample (illumina PE reads) :
after.py -1 reads_R1.fastq.gz -2 reads_R2.fastq.gz

fastp \
-w 8 \
-i reads_R1.fastq.gz \
-I reads_R2.fastq.gz \
-o reads_out_L004_R1.fastq.gz \
-O reads_out_L004_R2.fastq.gz \
--json reads_out_L004_R2.fastq.json \
--html reads_out_L004_R2.fastq.html

I observed somme difference between the results : numbers of reads ...etc
And thereis a strange value in the fastp results  :
mean length before filtering: | -8bp, -8bp
mean length after filtering: | -15bp, -15bp

Screnscaps here attached
Thanks for watching this

Sorry, the negative mean length was introduced by an overflow issue.
Please try the latest v0.17.1 from latest code.

The data for fastp and AfterQC are different, right?

The difference of fastp and AfterQC was caused by:

fastp counts a pair of reads as 2 reads, while AfterQC counts a pair of reads as 1 read.
fastp use 1000 as 1K, while AfterQC use 1024 as 1K.

I will update AfterQC to keep them consistent.
BTW, AfterQC will not be continued for development since fastp is far far better. So please use fastp other than AfterQC, for any applications.

The input data are the same for AfterQC and fastp.
I'll try fastp 0.17.1
Thanks for your work, fastp in very fast ! (I use 8 threads)

0.17.1 works perfectly and is very fast !
Thanks for your work :)


cirrus: minor cleanup and refactoring

...with the goal of (very soon) reusing this code, in #2947,
to run system tests in CI. This is the cleanest way I can
think of to do so without duplication or a large maintenance
burden.
Changes are:

replace references to 'ginkgo' with 'integration'. That
target is already in Makefile, and is not only more
readable, it's also more abstract. There is no reason
for this level of code to know about ginkgo.
replace a 'noxxx' option with the more usable 'xxx'

and fix a logic bug: the '-n' (no-remote) option
should not be treated as an actual test-defining
argument option.

allow rootless_test.sh to accept an argument,
that being the name of the test suite to run
(default: integration). #2947 will enable 'system'.
allow integration_test.sh to serve multiple purposes,
by checking its filename. #2947 will add a symlink,
system_test.sh, which will then cascade down to
invoke system tests.

Signed-off-by: Ed Santiago<EMAIL_ADDRESS>

@cevich PTAL; this is intended as a prerequisite for the review feedback you gave on #2947.

LGTM
@baude @mheon wanna peek?

This unfortunately hard-conflicts with @baude's #3236

This unfortunately hard-conflicts

Yeah, we've been needing some change in this area for a while.  It's okay, code-conflicts just mean we should clunk our heads together until a more holistic solution presents.
The current design has most flows running through intergration_test.sh, all with slight permutations on the meaning of "Integration test" (and how it's run).  There's a lot of duplication in Brent's old container_test.sh too (which was originally used to handle multiple different testing styles and setups).
As you noticed before from my comments, I'm a bit torn between the different approaches, I like both separate/simple scripts and grand-poo-bah --with --options.
Perhaps if we all "tat and sinkt bout it" together, with a drawring of our matrix, that would help?

Rebased

/lgtm

/approve

/retest


Useage of oxigraph_server dump

I am able to load ttl files into a store that have a base prefix of
@prefix base:  <http://example.org/> .

When I try to dump the store using
oxigraph_server dump --format 'ttl' --location results/store/ --graph http://example.org/

I don't get any output and no error messages are printed. Am I doing something wrong?

Hey! I would tend to think you are confusing mutliple things here:
Turtle @prefix is a syntaxic sugar. If you have
@prefix base:  <http://example.org/> .
then base:foo will be parsed as <http://example.org/foo>.
The --graph option of oxigraph_server dump is to return only a specific "named graph". If you run this command you should get the full store content:
oxigraph_server dump --format 'trig' --location results/store/

Thank you @Tpt , I managed to get a dump of the database in trig format. Just for further learning, what if I want the --format nt instead. Then according to the documentation, I must provide a --graph argument. However from the documentation and this discussion it is not fully clear what I should write there. Do you know?

Sorry, the documentation is a bit measleading. You can set --graph default to dump the default graph and generate a N-Triples file. I am going to improve the doc

Thank you! Besides this small issue, I found oxigraph to be more user friendly than other databases.

Thank you! Besides this small issue, I found oxigraph to be more user friendly than other databases.

Thank you! This very kind of you!


Autoupdate: Fixed crash after update is downloaded on windows

After an update is downloaded the following TypeError occurs:
TypeError: Assignment to constant variable.
  at atom.asar\\browser\\api\\lib\\auto-updater\\auto-updater-win.js:48:15
  at ChildProcess.<anonymous> (atom.asar\\browser\\api\\lib\\auto-updater\\squirrel-update-win.js:56:12)
  at emitTwo (events.js:87:13)
  at ChildProcess.emit (events.js:172:7)
  at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

This PR prevents this by passing the referenced variable rather than attempt to change a const

Thank you for this! Spent the last hour debugging this issue and then stumbled onto your pull request.
Hope this can merge soon!

Thanks!


Implement position tracking

To provide actionable debug information and errors, we should implement Position tracking, as defined in uninst.
Refs: https://github.com/conventional-commits/parser/pull/1

If we want linters like commitlint to work with this, we need to have a CST with positions. Without that, we can't give clear direction on what's going wrong.


Variable plotting

Coverage decreased (-8.0%) to 80.602% when pulling 15003bd9080055779c723f7a41aa959e22011ac1 on cash:variable_plotting into 66c64125a010f63c7997edc56d00cf5a26af1236 on ACI-ESP:master.