Update documentation for MeteorObservable

Update introduction, better flow and improved English.
Add links to relevant Meteor API docs.
Update type names.

Awesome!! Thanks @ijager .
Our API documentation is generated from the actual code, which means that the source code is in https://github.com/Urigo/meteor-rxjs/blob/master/src/MeteorObservable.ts , any chance you can add your changes there over the actual code, and then I will generate the .md file.

Oh right, I'll add the changes to the code then later today.

updated

Awesome! I generated the markdown docs (using the command npm run build).
Thanks @ijager !


it cut my uri after # in webview for windows

Bug description:

I use react-native-webview in react-native-windows. At first it ran normally. However, it showed a 404 white page with the uri including # recently. When I print the "e.nativeEvent", it told me that the uri "http://<IP_ADDRESS>:8080/abc/#/test" has become to "http://<IP_ADDRESS>:8080/abc", so it showed me 404 page.
To Reproduce:

Expected behavior:

Screenshots/Videos:

Environment:

OS:Windows 10
OS version:21H2
react-native version:0.67.4
react-native-webview version:11.21.1

anyone can help me?


[Event Request] codeunit 56 "Sales - Calc Discount By Type" for procedure ShouldRedistributeInvoiceDiscountAmount

Describe the request
We could use an new Event Publisher for procedure ShouldRedistributeInvoiceDiscountAmount.
Existing Code ist following:
    procedure ShouldRedistributeInvoiceDiscountAmount(var SalesHeader: Record "Sales Header"): Boolean
    var
        ApplicationAreaMgmtFacade: Codeunit "Application Area Mgmt. Facade";
        IsHandled: Boolean;
    begin
        IsHandled := false;
        OnBeforeShouldRedistributeInvoiceDiscountAmount(SalesHeader, IsHandled);
        if IsHandled then
            exit(true);

        SalesHeader.CalcFields("Recalculate Invoice Disc.");
        if not SalesHeader."Recalculate Invoice Disc." then
            exit(false);

        case SalesHeader."Invoice Discount Calculation" of
            SalesHeader."Invoice Discount Calculation"::Amount:
                exit(SalesHeader."Invoice Discount Value" <> 0);
            SalesHeader."Invoice Discount Calculation"::"%":
                exit(true);
            SalesHeader."Invoice Discount Calculation"::None:
                begin
                    if ApplicationAreaMgmtFacade.IsFoundationEnabled() then
                        exit(true);

                    exit(not InvoiceDiscIsAllowed(SalesHeader."Invoice Disc. Code"));
                end;
            else
                exit(true);
        end;
    end;

Our suggestion:
    procedure ShouldRedistributeInvoiceDiscountAmount(var SalesHeader: Record "Sales Header"): Boolean
    var
        ApplicationAreaMgmtFacade: Codeunit "Application Area Mgmt. Facade";
        IsHandled: Boolean;
        ExitValue: Boolean;
    begin
        IsHandled := false;
        OnBeforeShouldRedistributeInvoiceDiscountAmount(SalesHeader, IsHandled);
        if IsHandled then
            exit(true);

        SalesHeader.CalcFields("Recalculate Invoice Disc.");
        if not SalesHeader."Recalculate Invoice Disc." then
            exit(false);

        case SalesHeader."Invoice Discount Calculation" of
            SalesHeader."Invoice Discount Calculation"::Amount:
                exit(SalesHeader."Invoice Discount Value" <> 0);
            SalesHeader."Invoice Discount Calculation"::"%":
                exit(true);
            SalesHeader."Invoice Discount Calculation"::None:
                begin
                    if ApplicationAreaMgmtFacade.IsFoundationEnabled() then
                        exit(true);

                    ExitValue := not InvoiceDiscIsAllowed(SalesHeader."Invoice Disc. Code");
                    OnShouldRedistributeInvoiceDiscountAmountCaseInvDiscCalcNone(SalesHeader, ExitValue);
                    exit(ExitValue);
                end;
            else
                exit(true);
        end;
    end;

    [IntegrationEvent(false, false)]
    local procedure OnShouldRedistributeInvoiceDiscountAmountCaseInvDiscCalcNone(SalesHeader: Record "Sales Header"; var ExitValue: Boolean)
    begin
    end;

Additional context
In some cases we need to bee able to edit the exit value by our own.
Internal work item: AB#538730

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 21140.


fix broken link

This link (http://caporasolab.us/califf-et-al-final.pdf) has been referenced in many places but now gives 404. It should point to this paper, which should probably be included in the repo so the link doesn't get lost again (or maybe we can add a "pdfs" directory where we can store public PDFs in the future)?

Closing, I found the file here.


py-eigentrust for use in Jupyter notebooks

What is it?
Wrap rs-eigentrust in a python wrapper for our Colab / Jupyter notebooks for a future data challenge

It'd also be interesting if we can wrap this in a dbt model

FWIW, for larger graphs Karma3 suggests running eigentrust across a Spark cluster.
One option is to submit it as a GCP dataproc job (pyspark)
https://docs.getdbt.com/docs/build/python-models

Yay!
https://pypi.org/project/py-eigentrust/


Fix total error definition in KellyErrorEstimator

Small bug fix. Total error should be defined as the sum of the squares of the local errors.

Accidentally began this branch inside another branch I was working on. Most of these commits  are not necessary.


Price range v2 #2370

Thank you for your contribution to the KodaDot NFT gallery.
👇 _ Let's make a quick check before the contribution.
PR type

[x] Bugfix
[x] Feature
[ ] Refactoring

What's new?

[x] PR closes #2370
[x] "Buy now" toggle is working properly again and searchQuery doesn't have any price params unless user sets them so. Finished #2110

Before submitting Pull Request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[x] I've didn't break any original functionality
[x] I've posted a screenshot of demonstrated change in this PR

Optional

[x] I've tested it at </rmrk/collection/26902bc2f7c20c546a-1FVG7>
[x] I've tested PR on mobile and everything seems works
[ ] I found edge cases
[ ] I've written some unit tests 🧪

Had issue bounty label?

[x] Fill up your KSM address: Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot

[x] My fix has changed something on UI; a screenshot is best to understand changes for others.

pay 100 usd

😍 Perfect, I’ve sent the payout
💵 $100 @ 133.22 USD/KSM ~ 0.751 $KSM
🧗 FNyt7T1xdbhN7dagf7yGYCRJuE3R45VmTCE3tjzy1rKxa7y
🔗 0x13262c4cc6e8fb4f6bac6adcb14bfd20a6e0dca0b7e79ec3fe06db2cfca9ec1c
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


Support extra long utterances

Description:

Suport extra long utterances
Refactor duplicated styles

Checklist:
You should check all boxes before the PR is ready. If a box does not apply, check it to acknowledge it.

[x] ISSUE NUMBER. You linked the issue number (Ex: Resolve #XXX).
[x] PRE-COMMIT. You ran pre-commit on all commits, or else, you
ran pre-commit run --all-files at the end.
[ ] USER CHANGES. The changes are added to CHANGELOG.md and the documentation, if they impact
our users.
[x] DEV CHANGES.

Update the documentation if this PR changes how to develop/launch on the app.
Update the README files and our wiki for any big design decisions, if relevant.
Add unit tests, docstrings, typing and comments for complex sections.

The main bug was covered in #381, and the rest would have to be reworked. Closing for now.


Identify tooltipcontent

Hi,
is there a possibility to identify if the tooltip has html as content or only a textnode?
I want another styling if the tooltip has only a textnode as content.
Cheers

Hi, Tooltipster does not provide this information, you'll have to manage your content yourself.

Actually I use a second tooltipster call with a secondary theme.
But it would be nice if the Plugin could use a plugin wide class if the content comes from a title attribut and not from HTML.

Won't do that but you should be able to test the type of the content after you get it with the content method.


Unable to generate Bool test and assignment to reset

Hi,
I'm using Chisel to create a design but I am experiencing an error. Until yesterday I was able to generate the Verilog but today I get this error :

 [info] Updating {file:/home/dave/Documents/myfolder/}myfolder...
 [warn] Choosing sonatype-snapshots for edu.berkeley.cs#chisel3_2.11;3.0-SNAPSHOT
 [warn] Choosing sonatype-snapshots for edu.berkeley.cs#firrtl_2.11;1.0-SNAPSHOT
 [warn] Choosing sonatype-snapshots for edu.berkeley.cs#chisel-iotesters_2.11;1.1-SNAPSHOT
 [warn] Choosing sonatype-snapshots for edu.berkeley.cs#firrtl-interpreter_2.11;1.0-SNAPSHOT
 [info] Done updating.
 [warn] Found version conflict(s) in library dependencies; some are suspected to be binary incompatible:
 [warn] 	* org.scalatest:scalatest_2.11:3.0.1 is selected over 2.2.5
 [warn] 	    +- edu.berkeley.cs:firrtl-interpreter_2.11:1.0-SNAPSHOT (depends on 3.0.1)
 [warn] 	    +- edu.berkeley.cs:chisel-iotesters_2.11:1.1-SNAPSHOT (depends on 3.0.1)
 [warn] 	    +- default:sdaccel_chisel_integration_2.11:1.0        (depends on 2.2.5)
 [warn] 	* org.scalacheck:scalacheck_2.11:1.13.4 is selected over 1.12.4
 [warn] 	    +- edu.berkeley.cs:firrtl-interpreter_2.11:1.0-SNAPSHOT (depends on 1.13.4)
 [warn] 	    +- edu.berkeley.cs:chisel-iotesters_2.11:1.1-SNAPSHOT (depends on 1.13.4)
 [warn] 	    +- default:sdaccel_chisel_integration_2.11:1.0        (depends on 1.12.4)
 [warn] Run 'evicted' to see detailed eviction warnings
 [info] Compiling 5 Scala sources to /home/dave/Documents/myfolder/target/scala-2.11/classes ...
 [error] /home/dave/Documents/myfolder/src/main/scala/package/MyClass.scala:39:22: value unary_! is not a member of chisel3.core.Reset
 [error]   slave_fsm.reset := !reset
 [error]                      ^
 [error] /home/dave/Documents/myfolder/src/main/scala/package/MyClass.scala:40:22: value unary_! is not a member of chisel3.core.Reset
 [error]   RTLKernel.reset := !reset
 [error]                      ^
 [error] two errors found
 [error] (compile:compileIncremental) Compilation failed
 [error] Total time: 15 s, completed Oct 19, 2017 12:39:29 PM

My build.sbt file is:
name := "chisel-module-template"
version := "1.0"
scalaVersion := "2.11.7"
parallelExecution := true
resolvers ++= Seq(
  Resolver.sonatypeRepo("snapshots"),
  Resolver.sonatypeRepo("releases")
)
// Provide a managed dependency on X if -DXVersion="" is supplied on the command line.
val defaultVersions = Map(
  "chisel3" -> "3.0-SNAPSHOT",
  "chisel-iotesters" -> "1.1-SNAPSHOT"
  )
libraryDependencies ++= (Seq("chisel3","chisel-iotesters").map {
  dep: String => "edu.berkeley.cs" %% dep % sys.props.getOrElse(dep + "Version", defaultVersions(dep)) })
libraryDependencies ++= Seq(
  "org.scalatest" %% "scalatest" % "2.2.5",
  "org.scalacheck" %% "scalacheck" % "1.12.4")

Any suggestion? Does anyone knows how to solve it?
Thanks

As of release v3.0-SNAPSHOT_2017-09-14, Module reset is no longer a Bool. Although we do support a toBool cast, connections of Bools to resets require a little more work. I would suggest the following:
   slave_fsm.reset := (!reset.toBool).asTypeOf(reset)
   ...
   RTLKernel.reset := (!reset.toBool).asTypeOf(reset)

or, revert to release v3.0-SNAPSHOT_2017-08-16 by editing your build.sbt file:
// Provide a managed dependency on X if -DXVersion="" is supplied on the command line.
val defaultVersions = Map(
  "chisel3" -> "3.0-SNAPSHOT_2017-08-16",
  "chisel-iotesters" -> "1.1-SNAPSHOT_2017-08-16"
  )

Thanks, in this way it works

I'm going to change the title of this issue to more accurately reflect the problem.

Is the asTypeOf cast necessary? I had no problem with a small example doing:
  mySubModule.reset := !reset.toBool

I recognize that by casting it back to it's type, it should ensure this connection works for non-Bool resets, but I'm not sure this should/will even be allowed for asynchronous reset at least.
Just to provide some context, we changed reset from type Bool to a new type Reset in anticipation of expanding Chisel to support asynchronous reset in the future. While connecting to the submodule's reset as you're doing is totally fine, the suggested way is to change the implicit reset at time of instantiating the submodule like so:
  val slave_fsm = withReset(!reset.toBool)(Module(new SlaveFSM))

The main reason why this is suggested has to do with the fact that the type of the reset for a given module is the same as the type of the implicit reset in the scope in which it is instantiated. In synchronous reset code like it seems you are using, this is irrelevant. In cases where synchronous and asynchronous reset are mixed in the future, this distinction matters because the connection would fail while using withReset will work.

It looks like this has been resolved, I'm going to close it.


observed consumer crash

It appears there was either a network glitch or the kafka instance was unavailable during the poll. That being said, our code should handle this situation more gracefully.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/KafkaFeedProvider/consumer.py", line 89, in run
    partition = self.consumer.poll(1000)
  File "/usr/local/lib/python2.7/site-packages/kafka/consumer/group.py", line 514, in poll
    records = self._poll_once(remaining)
  File "/usr/local/lib/python2.7/site-packages/kafka/consumer/group.py", line 541, in _poll_once
    self._coordinator.ensure_coordinator_known()
  File "/usr/local/lib/python2.7/site-packages/kafka/coordinator/base.py", line 221, in ensure_coordinator_known
    self._client.poll(future=metadata_update)
  File "/usr/local/lib/python2.7/site-packages/kafka/client_async.py", line 483, in poll
    self._maybe_connect(node_id)
  File "/usr/local/lib/python2.7/site-packages/kafka/client_async.py", line 322, in _maybe_connect
    conn.connect()
  File "/usr/local/lib/python2.7/site-packages/kafka/conn.py", line 304, in connect
    if self._try_handshake():
  File "/usr/local/lib/python2.7/site-packages/kafka/conn.py", line 366, in _try_handshake
    self._sock.do_handshake()
  File "/usr/local/lib/python2.7/ssl.py", line 830, in do_handshake
    self._sslobj.do_handshake()
error: [Errno 110] Operation timed out

On the plus side, this crash was detected using the code in #27 👍

Resolved by #54


Set bucket size on charging heatmap. Fixes #1354

Sets bucket size to 10.00001 to make buckets more intuitive (subjective opinion).

Before:

After:


Week start on Monday

Hi,
how can I set (and where) week start on monday?
how can I highlight Weekend days (Saturday, Sunday) in different color?
thank you very much!
(https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/screen-templates/calendar-screen-overview)

Dettagli del documento
⚠ Non modificare questa sezione. È necessaria per i collegamenti relativi ai problemi tra docs.microsoft.com ➟ GitHub.

ID: 9451acad-432a-1f11-8204-238de8655846
Version Independent ID: 16134a5a-2880-4221-32b9-256f0573620b
Content: Modello di schermata del calendario - Power Apps
Content Source: powerapps-docs/maker/canvas-apps/screen-templates/calendar-screen-overview.md
Service: powerapps
GitHub Login: @emcoope-msft
Microsoft Alias: emcoope

Thank you for creating GitHub issue for documentation updates. Please reach out using support ticket for help with how to customize your app.


Bug: possible to render outside of NeoVim

It's possible to render an image at the bottom of the screen that escapes into the rest of the terminal (that grey bar is the tmux bar).

It would be nice for image.nvim to be able to automatically crop images that are going to display outside of NeoVim. It would also be amazing if there was an option to autocrop images that would display over the status bar.

Was the image supposed to be bound to the window&buffer behind? I think that's the only standard "mainstream" we want to support for automatically handling things, and for other cases it should be the responsibility of the integration to do any handling it needs. I'd like to avoid checking for things like cmdheight inside the core.
I'm working on a sample plugin that renders things and is not bound to a window/buffer (on the status bar, https://github.com/3rd/image.nvim/issues/17#issuecomment-1706664350) and I'll get it out soon, been struggling with an animation.
After  I started to work on that I realized the API is not that friendly, so I have a new version coming up, that lets users call image.crop(w, h, left, top) and image.resize(w, h), and other fixes like clearing the confusion of when a size is in term cells or pixels, etc.

That image I believe was bound to a buffer but not a window. I can give a more thorough reproduction later today.

Did I say later today? I meant later this week.
That issue was only when there was no window binding, so it's behaving as expected. When I bind the image to a window the image is cropped so it doesn't draw outside neovim.
It will still draw on top of the status line, but not on top of the cmd line, regardless of cmdheight


Empty initialization server side table

In the server side table we want be able to not run the query if bind-init is false.
Issue related to https://github.com/Zizzamia/ng-tasty/issues/88 by @vhmolinar

Start working on this task, here first commits:

https://github.com/Zizzamia/ng-tasty/commit/c48fee768199161e357ad6c49f0804c9e874fb90
https://github.com/Zizzamia/ng-tasty/commit/db9c65af5ac176ba95c5dc80427ee6fb3a4dc302

We will have a new demo page for showing this special case.

In the end I create bind-reload, a easy way to set an empty callback in charge to manually reload the table.


Tests for different configuration

Currently we have only 1 configuration for 1 case. We should have many configuration (with namespace, auto property, default) for 1 test.
What do you think?

Agreed. I am never going to say less tests are better! :)  We definitely need to flesh out the tests, for sure.  Tests have always been a point of constant improvement for me, so they are not the best (or most comprehensive), unfortunately.
I was basically offline for 3 days... just got back online now. 😮  I refreshed my entire environment, machine and all.  Turns out overclocked non-qualified memory is what was causing all my problems with https://github.com/dotnet/BenchmarkDotNet/issues/433.  I am hoping to get everything back online and together again by this weekend and then I can start back on where I left off here with EXS. 😎

I've tried below class, but it is not the best solution. Do you have a better idea?
public class ExtendeXmlSerializerTests
    {
        const string HelloWorld = "Hello World!";
        public static IExtendedXmlSerializer ClassicModeSerializer = new ConfigurationContainer().EnableClassicMode().Create();
        public static IExtendedXmlSerializer AutoFormattingSerializer = new ConfigurationContainer().UseAutoFormatting().Create();

        [Theory]
        [MemberData(nameof(SplitCountData))]
        public void MultiTest(object obj, IExtendedXmlSerializer serializer, string xml)
        {
            var data = serializer.Serialize(obj);
            Assert.Equal(
                xml,
                data);
            var actual = serializer.Deserialize(data);
            obj.ShouldBeEquivalentTo(actual);
     }

        public static IEnumerable<object[]> SplitCountData
        {
            get
            {
                return new[]
                {
                new object[] { 6776, ClassicModeSerializer, @"<?xml version=""1.0"" encoding=""utf-8""?><int xmlns=""https://extendedxmlserializer.github.io/system"">6776</int>" },
                new object[] { 6776, AutoFormattingSerializer, @"<?xml version=""1.0"" encoding=""utf-8""?><int xmlns=""https://extendedxmlserializer.github.io/system"">6776</int>" },
                new object[] { new ExtendedXmlSerializerTests.SimpleNestedClass {PropertyName = HelloWorld}, ClassicModeSerializer, @"<?xml version=""1.0"" encoding=""utf-8""?><ExtendedXmlSerializerTests-SimpleNestedClass xmlns=""clr-namespace:ExtendedXmlSerializer.Tests.ExtensionModel.Xml;assembly=ExtendedXmlSerializer.Tests""><PropertyName>Hello World!</PropertyName></ExtendedXmlSerializerTests-SimpleNestedClass>", },
                new object[] { new ExtendedXmlSerializerTests.SimpleNestedClass {PropertyName = HelloWorld}, AutoFormattingSerializer, @"<?xml version=""1.0"" encoding=""utf-8""?><ExtendedXmlSerializerTests-SimpleNestedClass PropertyName=""Hello World!"" xmlns=""clr-namespace:ExtendedXmlSerializer.Tests.ExtensionModel.Xml;assembly=ExtendedXmlSerializer.Tests"" />", },
                };
            }
        }
    }

Oh man, yeah that's a good one... I haven't had much experience with this, but doesn't xUnit support its own data-provider infrastructure?  We could possibly make our own attributes to help out, just a thought.
I was also thinking AutoFixture might be a good answer, but it still doesn't support .NET Core (or doesn't look like it does), and it appears that the owner just moved onto better things. :(

Just got bit with this w/ #146.  The extensibility framework is a pretty decent first stab, but there are indeed chances that all extensions will not align properly.  It's not too difficult to fix these (missed) alignments, but it would be nice to have improvements in the framework (maybe at a later date/rewrite/version) that do account for this in an elegant way.  More of a pipeline-type orchestration in compiling all the elements from configuration.

Going to close this issue as it will be handled better by v3.  Or should be. 😄


All Teams - June FDA meeting slides

https://docs.google.com/presentation/d/1cvTGNieYeXhmsj3pc7XsZzujsaIT_lPVWu5Ud7sZFlo/edit?usp=sharing
Items for June FDA meeting June 14th:

[x] 1 slide - general data team updates @steph-sing
[x] 1 slide - data.argosdb.org updates (connected to ticket #208) @steph-sing
[x] 1 slide - present updates to the V1.4 Data Dictionary; Annotation dictionary @steph-sing
[x] 2-4 slides - DRM pipeline on influenza and/or Candida sp. (with figure); new DRM tables released to the DB @penningtonea @JingyueWu
[x] 1-2 slides - Galaxy annotation workflows (connected to ticket #287) @stephenshank
[x] 1-2 slides - BETSY deployment update (containerization complete? Betsy Demo and not local) @kee007ney @pmcneely
[x] 1 slide - Galaxy containerization status @HadleyKing
[x] 1 slide - June/July planning @steph-sing

This task is completed, closing this ticket.

@JingyueWu I don't see where this was completed? There are not any slides in the draft slides. Can you please put all draft materials in the correct space and reassign me when that is done?
We will still complete this draft content even though the July meeting will be absorbed into the August 2023 meeting.

complete


Casually suggesting non-generic scripts

Your README now casually suggests people run this update_data.sh -script. Script which has things like:
rm -rf ../../backup
mkdir ../../backup
cp -Ra ../../koroonakaart ../../backup
ln -srfn ../../backup/koroonakaart/koroonakaart/dist ../../current

You DO understand that these are NOT things you should randomly be running on other peoples' computers, right? You should not go about randomly deleting and creating folders from outside the checkout directory. If you have such scripts in the repo, you should specifically flag them as potentially dangerous for people who do not know what to do with them, NOT promote them in your README.

Thanks, that is a fair point. I've removed the script from the repo and it is no longer referenced in the README, so I am closing this issue.


addTimestamps() has column names inverted

Hello,
I've notice that when i use addTimestamps() in my tables, it creates two columns correctly, but the functionality about update time is inverted.
Expected:
created_at: get the date when row is created
updated_at: get the date each time row is updated
Current:
created_at: get the date each time row is updated
updated_at: get the date when row is created
The only thing needed to reproduce is create a table and set addTimestamps, check the database scheme and you can see the update statement enabled in created_at column.
Cheers!

Would you be able to submit a pull request to fix this?

I don't understand, i should expect that updated_at will be the date when the row was created and created_at will change with each row update?

No. But if you look at the method, you will see that the definition of the created_at column only contains the default option, that is, only when a row is created is added the CURRENT_TIMESTAMP.

Has this been tweaked at all? I'm getting a correct column names, and created_at is working as expected, however update_at get's a null default and nothing ever changes when altering the record.

Has this been tweaked at all? I'm getting a correct column names, and created_at is working as expected, however update_at get's a null default and nothing ever changes when altering the record.

This is expected. You are responsible for updating the column yourself. I'll close this issue since the method is working as expected


wrong return value for web3.eth.getAccounts

Here is my code:
var web3 = new Web3();
web3.setProvider(TestRPC.provider());

web3.eth.getAccounts((err, acc) => {
    console.log(acc);
});

Here is what I get:
[ '0x871f46e97b6419ce887073a9ccb99b964d438bdd',
  '0x728ef897367608fd7ce8b9dbc66eb840d9cbc63c',
  '0x4f7aef45c0a6c311e15a16a766ac95673978886f',
  '0x92dce6468f51c35266c70b176c6771ac648eb305',
  '0xaf4381f1861c78d399dcdc3c0f36d6fff22086af',
  '0x11d9e50c259ffe93e9fd6f95967599387c4c1ee1',
  '0x55ef102990a7c9fe26d9756da1de372e91e3aaf8',
  '0xe06e79a7c975d1d94ad32ada38855ca701d9dd8a',
  '0x99a17f3c5e4ce7a684d1aa4a805b720ccde276b9',
  '0x513fd961555c0687c81a8465a9ea0a855a408457' ]

Here is what I have in the testrpc logs:
EthereumJS TestRPC v2.0.0

Available Accounts
==================
(0) 0x4e4134b36b3e7f8fca80a2fbfe6d54549e5f0f93

Private Keys
==================
(0) 81aa38abb2b5d5aa3bbc0c852423cca1118dc90ef1a83c18fc8010fb276ec378

But if I use the classic HTTP Provider, the account list is correct:
var web3 = new Web3();
web3.setProvider(new web3.providers.HttpProvider("http://<IP_ADDRESS>:8545"));

web3.eth.getAccounts((err, acc) => {
    console.log(acc);
});

[ '0x4e4134b36b3e7f8fca80a2fbfe6d54549e5f0f93' ]

But then nothing gets mined...
Any idea what's wrong?
Thanks,

You're not passing the same options to TestRPC.provider() as you are to the
command line. Check out the readme.
On Apr 3, 2016 11:32 AM, "Jean-Marc Le Roux"<EMAIL_ADDRESS>wrote:

Here is my code:
var web3 = new Web3();web3.setProvider(TestRPC.provider());
web3.eth.getAccounts((err, acc) => {
console.log(acc);
});
Here is what I get:
[ '0x871f46e97b6419ce887073a9ccb99b964d438bdd',
'0x728ef897367608fd7ce8b9dbc66eb840d9cbc63c',
'0x4f7aef45c0a6c311e15a16a766ac95673978886f',
'0x92dce6468f51c35266c70b176c6771ac648eb305',
'0xaf4381f1861c78d399dcdc3c0f36d6fff22086af',
'0x11d9e50c259ffe93e9fd6f95967599387c4c1ee1',
'0x55ef102990a7c9fe26d9756da1de372e91e3aaf8',
'0xe06e79a7c975d1d94ad32ada38855ca701d9dd8a',
'0x99a17f3c5e4ce7a684d1aa4a805b720ccde276b9',
'0x513fd961555c0687c81a8465a9ea0a855a408457' ]
Here is what I have in the testrpc logs:
EthereumJS TestRPC v2.0.0
Available Accounts
(0) 0x4e4134b36b3e7f8fca80a2fbfe6d54549e5f0f93
Private Keys
(0) 81aa38abb2b5d5aa3bbc0c852423cca1118dc90ef1a83c18fc8010fb276ec378
But if I use the classic HTTP Provider, the account list is correct:
var web3 = new Web3();web3.setProvider(new web3.providers.HttpProvider("http://<IP_ADDRESS>:8545"));
web3.eth.getAccounts((err, acc) => {
console.log(acc);
});
[ '0x4e4134b36b3e7f8fca80a2fbfe6d54549e5f0f93' ]
Any idea what's wrong?
Thanks,
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/ethereumjs/testrpc/issues/54

I don't understand. You mean that I shoud either use the TestRPC.provider OR run the testrpc binary, but not both ?

Yes. When you use TestRPC.provider(), you're using the TestRPC as a library
and creating a whole new instance of the TestRPC in memory.
So the correct usage is to use the HttpProvider + the TestRPC server
together, or only use the TestRPC as a provider on its own.
On Apr 3, 2016 11:36 AM, "Jean-Marc Le Roux"<EMAIL_ADDRESS>wrote:

I don't understand. You mean that I shoud either use the TestRPC.provider
OR run the testrpc binary, but not both ?
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/ethereumjs/testrpc/issues/54#issuecomment-205026391

Im also having trouble understanding. I don't understand the difference between new web3.providers.HttpProvider("http://<IP_ADDRESS>:8545") and passing TestRPC.provider()

I think i am facing similar problem, I have used a infura address instead if localhost"const web3 = new Web3(new Web3.providers.HttpProvider("https://kovan.infura.io/TOKEN_ID")); and when i am executing the web3.eth.getAccounts((err, acc) => {     console.log(acc); }); it is returning an empty array, but my metamask window have 2 accounts

@IntenseRave to understand what's going on there, see the JSONRPC wiki page for eth_accounts.
When you run web3.eth.getAccounts with an HTTP provider pointed at infura, you're sending the eth_accounts RPC request over to Infura. Infura is then responding with the (empty) list of accounts it owns. "Owns" in this context means "holds the private key." Since Infura is a public client, it doesn't hold anybody's private keys, meaning it can't sign any transactions for you.
Instead, your choices are to write your Dapp so that it holds the private key, signs transactions, and sends them via eth_sendRawTransaction (don't do this), or to rely on wallet providers like MetaMask to hold your keys and sign transactions for you/your users (do this). For more info on that, see this FAQ.

Also just a tip for the future - you're far more likely to get a quick/informative response to questions like this on our gitter channel than you are here. There are ≥3000 people there to answer things. Here there's just me, and sometimes I can take over a week to respond.

@benjamincburns  thank you for clearing the confusion.


Hangs when loading 1000+ nodes

the tree hangs when the total nodes sent to it are 1000+.

I've updated the example website to add extra nodes and test what you are reporting. I am pretty sure there is a lot to say about performance here, but I don't experience this issue in my browser:

Could you please @joshjohn1984 provide a bit more info and confirm it still happens?

@joshjohn1984: did you have any chance to check with the new example?
Don't hesitate to report any issue as new thoughts. Thanks.

Dear @fer
I have a similar problem over loading 1000+ nodes. While it didn't hang on my test but it took a long time (~7 seconds) to load the tree and my requirements didn't allow this. So, I took the liberty to fork your project and re-write to load the nodes only when the nodes is clicked open by a user. The result is a faster rendering for the interactive user. However, since my requirements are different and the method of loading is different, I decided to call it ion-dynamic-tree-list and share it on github. You can go here to take a look. While I took a lot from your code, I added an "Acknowledgment" section for your work. Thanks.

Hi @ltung I've taken a look to your code and looks good. I'd have loved it if you had contributed to this same repo instead.
Since your approach is a bit different when loading/displaying items, I'll try to comment on your repo as much as possible always considering our mutual contributions in the future.

Hi @fer, Thanks for your comment. "Issue" section has been fixed.


Don't allow excess claims to create extra CDs

Previously, due to a math error, if the number of pending claims exceeded the pool size, we would create the surplus number of CDs, assign them, and then delete them. This commit fixes the math error: any excess claim will remain Pending until capacity becomes available to create a CD for it.
NOTE:
The above also applies to the edge case where the pool size is zero. A claim against such a pool will remain Pending until the pool is edited to have a nonzero size.
This differs from other scenarios when we're at capacity:

If we've reached MaxSize, capacity becomes available when a CD is deleted (which may be prompted by its claim being deleted).
If we've reached MaxConcurrent, capacity becomes available when a CD finishes provisioning or deprovisioning.

Due to this discrepancy, the argument could be made to treat a zero-size pool specially and simply fail any claim against it. We can debate that separately; this commit doesn't address it.
HIVE-1593

/assign @dgoodwin
/cc @jnpacker

https://github.com/openshift/hive/blob/667abfc4ca5094c2efcf62d1cefc720544284a76/apis/hive/v1/clusterpool_types.go#L19-L22
https://github.com/openshift/hive/blame/master/docs/clusterpools.md#L5-L8

those things make it sound like the pool is supposed to keep some warm clusters for immediate claim, but technically allow as many claims are requested.. (unless limited my other configuration)
so "Don't allow excess claims to create extra CDs" kind of seems to go against the purpose?

we would create the surplus number of CDs, assign them, and then delete them

the delete part seem like the incorrect behavior based on the current expectations.. 🤔

To me, the documentation as written makes no indication one way or the other as to what the behavior of excess claims should be. One could make a case for either interpretation of "pool size". It's just an architectural decision we need to make. @dgoodwin care to make the call here?

We decided in scrum today (20210721) that we do want to allow claims to generate CDs in excess of the pool size. The capacity is controlled by MaxSize. Closing this in favor of whatever comes out of HIVE-1599.


panlint: unwanted space minus operator after function

"RealMemory" = to_long(total_ram() * 0.98) - 2;

gives
Unwanted space after minus sign (not operator)

But
cfg/services/common/slurm/config.pan:116: Missing space after operator
    to_long(total_ram(WORKER_NODES[0]) * 0.95) -2048

more
cfg/standard/metaconfig/cumulus/schema.pan:134: Missing space after operator
    'number' : long(-1..) = -1
                            ^^

and
cfg/standard/quattor/functions/network.pan:247: Unwanted space after minus sign (not operator)
    for (idx = 31; idx >= 0; idx = idx - 1) {
                                       ^^^


Improve types for modal metadata

Describe what feature you'd like. Pseudo-code, mockups, or screenshots of similar solutions are encouraged!
I've had an interesting idea (may well just be an idea) around the typing of modalStore[number]['meta']. Similar to what Sveltekit does with the App namespace, Skeleton could declare a namespace, and reference types from that namespace. This lets the user override types where applicable. This seems useful as you would now get type errors like with props for passing data to your modal components.
If the user creates a discriminated union type with some key like _type to distinguish between types, then TS can ensure not just that it fits the general type of metadata, but the specific type said component needs:
// file: skeleton.d.ts in user's repo
type ChangeUsernameModalMeta = {
    currentUsername: string;
    _type: 'change-username';
};
type VerifyEmailModalMeta = {
    email: string;
    _type: 'verify-email';
};
declare namespace Skeleton {
    type ModalMeta = ChangeUsernameModalMeta | VerifyEmailModalMeta;
}

and in utilities/Modal/types.ts:
export interface ModalSettings {
  ...
    meta?: Skeleton.ModalMeta;
}

to clarify, this is fully backward compatible since Skeleton.ModalMeta will resolve to any when not overridden
What type of pull request would this be?
Enhancement
Any links to similar examples or other references we should review?
No response

I just noted the paired PR didn't properly link back to this issue, so I'm closing this. See my comments in the PR related to why this was closed.


Improved ionic proportion estimates

The calculation of ionic proportions for grouped molecules can be corrected by changing the mechanism of massing groups from the perspective of a singular unit to individually counting all of the elements in a molecule and then, at the end of the counting, multiplying the total quantity of atoms with its respective molecular weight. This atomic counting will permit the precise calculation of ionic proportion irrespective of sub-molecular groups.

The atomic counting may be achieved by tracking two dictionaries as the formula is read:

A dictionary of dictionaries that tracks the quantity of each atom in each grouping level

elements = {
    "O": {
        1: 0,
        2: 0
    }
}

A dictionary of the group stoichiometry for each grouping level

group_stoich = {
    1: 0,
    2: 0
}

These two dictionaries would be populated as the code reads a formula, where each open parentheses increases the level by one and each close parentheses decreases the level by one. The final formula mass would be determined through the sum product of the two dictionaries along the respective grouping levels.


vSphere Cloud Provider code refactoring - Virtual Machine

This PR tracks the work for vSphere Cloud Provider code refactoring for Virtual Machine object. Virtual Machine object includes all the functions required for the management of virtual machine like attachDisk, getDiskID etc.
It also includes functional testing for this virtual machine object.

This PR is a part of main PR - #134

Have a PR out for reveiw - https://github.com/vmware/kubernetes/pull/164


truffle init in /var/www/html (apache, Ubuntu 14.04)

I am trying to init truffle within the html folder on my server, so I can see the /app/index.html live for testing purposes. However, when I run truffle init it does nothing, and then throws the message: Aborted (core dumped).
When I tried it somewhere else:
cd ~
mkdir truffle-test
cd truffle-test
truffle init

It does work and creates the folders and files as it should. What could be the issue?

A few minutes later I tried it again and it worked. However, when I run truffle serve it does kinda the same, first it starts, then aborts:
root@ubuntu-testvps:/var/www/html# truffle serve
Serving app on port 8080...
Aborted (core dumped)

Unfortunately this isn't something we can solve on our end. Whenever there's a core dump, in means something within node seriously went wrong; this is one of those things that "it's never supposed to do that". I'd look into your node installation and update or reinstall the latest nodejs.


Licence

Hi, Can you specify if this code is available under a licence such as MIT?
Thank you.

Sure, mit was already specified in the package.json, let me create a license file for you :)


don't track latency for messages that are not gossipped futher

this is mainly to prevent duplicates from skewing results.
hare1 is not fixed in this change
latency metering is dropped for atx protocol, as we don't have good reference for it
closes: https://github.com/spacemeshos/go-spacemesh/issues/4623

bors merge

bors merge

bors cancel

bors merge


Week 5 dependency updates

@Br4nd0R I think I've fixed the errors here. Could you add the updates for week 6 as well?


[CLI] hugging-face init command to help bootstrap new dataset, model, spaces

Is your feature request related to a problem? Please describe.
When I'm starting a project want to upload a dataset to hugging face, I would like to have help from the command line.
Describe the solution you'd like
huggingface-cli init
You could have a wizard that ask the same questions that exists on the hugging face web interface.
Offering to create the git repository if it does not exist yet.
once the model card is created locally, printing on the screen the information to upload it to hugging face servers
Describe alternatives you've considered
creating the new data model from the web interface

Thanks for the suggestion @remyleone. For now I'll push back a bit on adding new commands to the CLI too quickly. We already have a command to create an empty repo:
✗ huggingface-cli repo create --help
usage: huggingface-cli <command> [<args>] repo create [-h] [--type TYPE] [--organization ORGANIZATION] [--space_sdk {gradio,streamlit,docker,static}] [-y] name

positional arguments:
  name                  Name for your repo. Will be namespaced under your username to build the repo id.

options:
  -h, --help            show this help message and exit
  --type TYPE           Optional: repo_type: set to "dataset" or "space" if creating a dataset or space, default is model.
  --organization ORGANIZATION
                        Optional: organization namespace.
  --space_sdk {gradio,streamlit,docker,static}
                        Optional: Hugging Face Spaces SDK type. Required when --type is set to "space".
  -y, --yes             Optional: answer Yes to the prompt

Though this is not exactly the same as the one you suggest (no wizard and no way to set a license), I think it's still enough for most user cases. I'll keep this issue open for now and reassess if we have more demand.


Add local support for audio models (PR #7329)

Description: run the poetry dependencies
Issue: #7329
Dependencies: any dependencies required for this change,
Tag maintainer: @rlancemartin

I believe you'll need a Jupyter Notebook added for this to get merged. If you don't want to do it, send me a working code example and I'll make it for you.

Odd, I need to get better at Github handling. Even if I do a
git add .
git commit -m "notebook"
git fetch upstream

git merge upstream/main
git push origin comen

It doesn't update with the notebook.
Please find attached the notebook. It should replace the
youtube_audio.ipynb within
langchain/docs/extras/modules/data_connection/document_loaders/integrations
I added the support to run it either local or through the API, unless you
prefer a separated notebook
Thanks for your understanding, I am new collaborating on open source
projects using git
B.
El mié, 12 jul 2023 a las 16:21, Kenny @.***>)
escribió:

I believe you'll need a Jupyter Notebook added for this to get merged. If
you don't want to do it, send me a working code example and I'll make it
for you.
—
Reply to this email directly, view it on GitHub
https://github.com/hwchase17/langchain/pull/7591#issuecomment-1632742948,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABYI5OIBPV62476V2TA3CMDXP26ILANCNFSM6AAAAAA2HHAXEA
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Borja L. Comendeiro
+44 0746 2740 908
+34 639 558 551
This message is directed solely to his addressee or addressees. All
information contained in it, as well as attachments or embedded files are
confidential and its dissemination is strictly baned. If you have received
this email by mistake please do contact me by this route and delete it as
soon as possible.
Este mensaje está dirigido única y exclusivamente a su destinatari@ o
@.** Toda la información contenida en él, así como archivos
adjuntos o incrustados son de carácter confidencial y su difusión queda
terminantemente prohibida. Si ha recibido este mensaje por error le ruego
que me lo comunique lo antes posible por esta vía y lo borre lo antes
posible.*


Litecoin utxo

Description

Add Litecoin utxo address support

Black Duck Security Report
Merging #34 into develop will not change security risk.
Click here to see full report


Manual approval required for workflow run<PHONE_NUMBER>

Workflow is pending manual review.
URL: https://github.com/NubesAcademy/mastering-terraform-modern-and-secure-infrastructure-in-5-minutes/actions/runs/6504871269
Required approvers: [oleksiy-pototskyy]
Respond "approved", "approve", "lgtm", "yes" to continue workflow or "denied", "deny", "no" to cancel.

yes

All approvers have approved, continuing workflow and closing this issue.


Recommended way to do font loading?

I'm using the <Head> component to import a Google Fonts stylesheet:
<Head>
  <title>Foo</title>
  <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,700,800" rel="stylesheet" />
</Head>

And it works fine on renders after the initial render. Unfortunately on the first render I don't get access to Open Sans.
Is there a better way to handle font loading like this? Maybe download the fonts and put them in /statics?

Sorry, I just realised this would be better suited to the zeit/next.js repo.


Osher/subsystem fix

@oshercc i see that in gomega there is something called Eventually maybe you can use it
https://onsi.github.io/gomega/


Show errors when not finding merlin

Could you show the errors returned by merlin? Also errors when merlin is not found.

Hi @maun, can you give me a bit more detail on what you are asking for?
In general, the errors from merlin for the current file should already be showing up in the problems panel. Is that what you are referring to or something else?
Regarding merlin not being found, can you tell me how you have your project setup and what your Reason development environment looks like?
The extension does try to check for the ocamlmerlin binary when it loads and report an error if it cannot be found but it may be that this is not working for some reason here.

Hi @freebroccolo, sorry I thought this behavior is known/intentional:
I use the newest extension on an ArchLinux VM with vscode 1.9. I am using this code and ran npm install.
When I start vscode without ocamlmerlin in my node_modules/path, or ocamlmerlin ends with an error I see no error in vscode, but at the bottom right the text "[loading]". There is also no error in the developer console.
With the posted source code I have a working installation with working autocomplete, I can reproduce the described behavior as follows.
No error for ocamlmerlin errors:

Rename _build to 2build
Start vscode either with npm run env -- code . or normally with the project folder open
Open a reason file from the project

For the missing ocamlmerlin binary I did the following:

Rename ocamlmerlin in node_modules to ocamlmerlin2
Start vscode either with npm run env -- code . or normally with the project folder open
Open a reason file from the project

Someone on discord also mentioned that this extension shows no errors for ocamlmerlin.
I can remember having seen an error dialog some time ago that ocamlmerlin cannot be found.
By the way, this extension is great, thanks 👍

@maun thanks for the details. I know there used to be some issues with the server not always reporting the failure properly if the call to execute ocamlmerlin under node_modules failed.
I thought I fixed that but maybe not. I'll take a look and see if I can figure out what's going on.

Hello, I am also having the same problem. I am trying to use merlin with reason-react-example. I tried the following:

Installing merlin as a local dev dependency
Installing merlin globally via npm
Manually adding the location of the globally installed binary to my system PATH

I am running MacOS 10.12.4, VS Code 1.10.2, Reason plugin 0.0.99.


npm vulnerabilities

`  Moderate        Prototype Pollution
Package         mquery
Patched in      >=3.2.3
Dependency of   mongoose-history-trace
Path            mongoose-history-trace > mongoose > mquery
More info       https://npmjs.com/advisories/1649
High            Command Injection
Package         lodash
Patched in      >=4.17.21
Dependency of   mongoose-history-trace
Path            mongoose-history-trace > lodash
More info       https://npmjs.com/advisories/1673      `

bumped


Are the dimensions entered in the model.py file and the deployment files different?

The data dimension of each frame input during training is 40, and the dimension of each frame in the implementation process of the embedded end is 10, are the two really different? Or am I getting it wrong?

yes, you are righ. :-)
and you can follow the cmd in train_commands.txt adds some parameters when you run train.py
example : ds_cnn model
--dct_coefficient_count 10 --window_size_ms 40 --window_stride_ms 20


Allow local PoW to be cancelled by the user if it takes too long

CPU pow should be possible by using worker.terminate() on the worker list
GPU pow: Use the progressCallback to abort https://github.com/numtel/nano-webgl-pow

could display a notification in the sidebar, warning style (orange)
Proof of Work is taking a while...
Adjust PoW settings and/or cancel

could display a notification in the sidebar, warning style (orange)
Proof of Work is taking a while...
Adjust PoW settings and/or cancel


How to update downloaded image in android automotive

In the UAMP app, the AlbumArtContentProvider is used to load images. In Android Automotive, when displaying the item list, images are shown as the default icon in the shape of a music note, and the cached images downloaded through Glide are only displayed after exiting and re-entering that page or scrolling back to redraw the items. Is there a way to refresh the images when the image cache is completed?

Has this issue not been reviewed yet? Is there a way to update the mediaItem's image after the image cache is complete? I tried calling notifyChildrenChanged, but the image isn't updated, possibly because the URI remains the same. I'd really appreciate it if I could get an answer to this.

We are not the Automotive team but I'd guess that the media center is caching images as you say. And similarly as you I would also think that changing the content://-URI would solve the issue. When the same content-URI is used then AAOS doesn't have a way to know that this has changed. There isn't an expiry or other cache mechanism like for HTTP with content providers.
I can't give you a better answer I'm afraid.

images are shown as the default icon in the shape of a music note, and the cached images
downloaded through Glide are only displayed after exiting and re-entering that page

I'm not an AAOS expert but if I understand correctly you want AAOS update the default icon as soon as the actual image is downloaded by your app. Looks like the expectation is that the image changes on the screen that is currently presented. I'm not sure if this is possible. At least AAOS would need a nudge from the app side I think.
What I would try is dowloading the image and construct a new content://-URI that you then save (or update in the MediaItem). The call onChildrenChanged(parentId, ...). That should make AAOS download your media items again and  it gets the new content://-URI.


fix(integration): test_allow_volume_creation_with_degraded_availability_restore

Which issue(s) this PR fixes:

Issue longhorn/longhorn#8893
What this PR does / why we need it:
Adjust the test case following the changes in https://github.com/longhorn/longhorn-manager/pull/2918.
Special notes for your reviewer:
None
Additional documentation or context
None

Build image is currently failing.

Test result (local):
./run.sh -xs -k test_allow_volume_creation_with_degraded_availability_restore
================================================ test session starts =================================================
platform linux -- Python 3.11.9, pytest-6.2.4, py-1.11.0, pluggy-0.13.1 -- /usr/bin/python3.11
cachedir: .pytest_cache
rootdir: /integration, configfile: pytest.ini
plugins: order-1.0.1, repeat-0.9.1
collected 381 items / 380 deselected / 1 selected

test_basic.py::test_allow_volume_creation_with_degraded_availability_restore[nfs] PASSED

============================= 1 passed, 380 deselected, 7 warnings in 230.15s (0:03:50) ==============================