Problems trying to extend Page entity

I am trying to extend the CMS for a custom site and am trying to follow along with https://docs.sylius.com/en/latest/customization/model.html in order to create a custom extended Page.php (rather than editing the code in the bundle itself).
Unfortunately when I get to the end of step 2 I get errors with every console command as follows:
Class "App\Entity\CMS\Page" sub class of "BitBag\SyliusCmsPlugin\Entity\Page" is not a valid entity or mapped super class.
For reference, here is my preliminary version of the extended page (just one field for now as I am testing the process):
<?php

declare(strict_types=1);

/**
 * @ORM\Entity()
 * @ORM\Table(name="bitbag_cms_page")
 */
namespace App\Entity\CMS;

use Doctrine\ORM\Mapping as ORM;

use BitBag\SyliusCmsPlugin\Entity\Page as BasePage;
use BitBag\SyliusCmsPlugin\Entity\PageInterface;

class Page extends BasePage implements PageInterface
{

    /** @ORM\Column(type="boolean", nullable=true) */
    private $showContactForm;

    public function getShowContactForm(): ?bool
    {
        return $this->showContactForm;
    }

    public function setShowContactForm(bool $showContactForm): void
    {
        $this->showContactForm = $showContactForm;
    }
}

I assume I am doing something stupid but is there some info that can help me do this the correct way?
Thanks!

Hi there, and thanks for getting intouch!
First of all, check your mapping, it's location to be more precise :)
Second, you need to tweak resource configuration for bitbag_sylius_cms_plugin.page - check this location
Based on how it's designed, you should (propably) create new file under your config/packages/ with something similar to this:
sylius_resource:
    resources:
        bitbag_sylius_cms_plugin.page:
            classes:
                model: App\Entity\CMS\Page

Thanks for the quick response! I forgot to mention I have already done that sorry. Doing php bin/console debug:container --parameter=bitbag_sylius_cms_plugin.model.page.class gives the correct reference, so I know the config is being loaded correctly, however I still get the error on every command (including this one).
Not sure if it helps, but the error appears twice each time:
porl@porl-legion ~/w/s/sylius-standard (master)> php bin/console debug:container --parameter=bitbag_sylius_cms_plugin.model.page.class

 [WARNING] Some commands could not be registered:

In MappingException.php line 340:

  Class "App\Entity\CMS\Page" sub class of "BitBag\SyliusCmsPlugin\Entity\Page" is not a valid entity or mapped super class.

In MappingException.php line 340:

  Class "App\Entity\CMS\Page" sub class of "BitBag\SyliusCmsPlugin\Entity\Page" is not a valid entity or mapped super class.

 [WARNING] Some commands could not be registered:

In MappingException.php line 340:

  Class "App\Entity\CMS\Page" sub class of "BitBag\SyliusCmsPlugin\Entity\Page" is not a valid entity or mapped super class.

In MappingException.php line 340:

  Class "App\Entity\CMS\Page" sub class of "BitBag\SyliusCmsPlugin\Entity\Page" is not a valid entity or mapped super class.

 ------------------------------------------- ---------------------
  Parameter                                   Value
 ------------------------------------------- ---------------------
  bitbag_sylius_cms_plugin.model.page.class   App\Entity\CMS\Page
 ------------------------------------------- ---------------------

porl@porl-legion ~/w/s/sylius-standard (master)>

By "check your mapping" i've meant:
/**
 * @ORM\Entity()
 * @ORM\Table(name="bitbag_cms_page")
 */
namespace App\Entity\CMS;

:)

Sorry I mixed the two points together. What should that be changed to? I am not quite sure how to apply the info from the link I pasted to this class.
Everything should work like charm after that change.

Thank you!  I found the form being built here vendor/bitbag/cms-plugin/src/Form/Type/Translation/PageTranslationType.php so would I just override this class in the same manner as the other? What would I need to put in the yaml file to point to this class?
Thank you

Actually the field that I want to override now is not in the translatable section so I'm assuming I'd do the above override to vendor/bitbag/cms-plugin/src/Form/Type/PageType.php. I found the format for the yaml file and it now reads as follows:
sylius_resource:
    resources:
        bitbag_sylius_cms_plugin.page:
            classes:
                model: App\Entity\CMS\Page
                form: App\Form\Type\CMS\PageType

Unfortunately this class is a "final" type, and so I can't extend it like I did the Page entity one. So I have tried to copy it as-is (changing the namespace of course) but now get an error
Too few arguments to function Sylius\Bundle\ResourceBundle\Form\Type\AbstractResourceType::__construct(), 0 passed in /home/porl/workspace/symfony/sylius-standard/var/cache/dev/ContainerFWGEfEJ/getPageTypeService.php on line 14 and at least 1 expected

I assume this is some sort of dependency injection issue or similar. Is there any way I can do this without modifying your core code to allow extending the PageType class?

@porl Check this + eventually an template override.

Thank you!

Thank you! All working now.


Access internal map

I am looking to access an internal map from the MathML tree that represents the input math to the HTML objects as well as the MathML tree itself. I haven't found it in the KaTeX source code yet and I was wondering if it exists (which I suppose?) and how to best extend the KaTeX source (via custom build) to access and use it.

Others have asked for something similar to your request. Issues #376 and #1837 are still open. This looks to me to be a duplicate issue.

Thanks @ronkok, it's sometimes realy hard to find these open issues when you lack the keywords to describe what you are looking for and you think that no one probably ever asked this. Sorry and thanks a lot!


some thumbnails show broken on initial channel load

When loading a channel the speech instance has not loaded before, thumbnails are hit and miss, and show up broken.

I have some concern whether it's wise to implement the "get all image claims on this page" solution before connection management is in the sdk. We may just ensure a default thumbnail (rather than a broken one) is displayed, for now. Comments?


Error loading Latex_env

I followed the installation instructions at https://github.com/ipython-contrib/IPython-notebook-extensions/blob/master/README.md, downloaded https://github.com/ipython-contrib/IPython-notebook-extensions/blob/master/nbextensions/usability/latex_envs/doc/html/latex_env_doc.ipynb, and ran it in this Anaconda environment:
jupyter                   1.0.0                    py35_3
jupyter_client            4.2.2                    py35_0
jupyter_console           4.1.1                    py35_0
jupyter_core              4.1.0                    py35_0

Here's the error log when I run %%javascript  IPython.utils.load_extensions('calico-document-tools');:
main.min.js:12156 Failed to load extension: ["nbextensions/calico-document-tools"] Error: Script error for "nbextensions/calico-document-tools"
http://requirejs.org/docs/errors.html#scripterror
    at makeError (http://localhost:8888/static/components/requirejs/require.js?v=6da8be361b9ee26c5e721e76c6d4afce:165:17)
    at HTMLScriptElement.onScriptError (http://localhost:8888/static/components/requirejs/require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1732:36)(anonymous function) @ main.min.js:12156

LaTeX is not rendered in subsequent cells. Am I supposed to need calico-document-tools? If so, that's not clear from the documentation.

The icalico extension is something else that was used for convenience in the docs. You do not need it and it has nothing to do with the latex_envs extension.
The installation instructions in latex_envs doc file are a bit outdated (regarding paths in particular). You are welcome to update it. The best is to use the global installation procedure for all extensions, see readme, and then enable latex_envs in the nbextension tab.

Okay, good to know. However, LaTeX isn't rendered, and nothing displays in the console.

The best is to use the global installation procedure for all extensions, see readme, and then enable latex_envs in the nbextension tab.

That's what I did:
pip install https://github.com/ipython-contrib/IPython-notebook-extensions/archive/master.zip --user
And then enabled latex_envs in the nbextension tab.

I can confirm this from a fresh install.
@jcb91

The problem comes from commit https://github.com/ipython-contrib/IPython-notebook-extensions/commit/30334d2c54a7aadbc076357dc511a066ca00e376#diff-cc4054765e888c4b375cd13fed136291 where we wanted to use relative paths. This does not work  and fails silently (since the js files are required but not found, actually the system waits for them forever). I was confident and unfortunately did not test. [And I am always late in refreshiong my install where I have some "devs" I want to preserve]
I think that we should also remove https://github.com/ipython-contrib/IPython-notebook-extensions/commit/37c3865a1ef93ce29a8687f6533629726159cad0#diff-cc4054765e888c4b375cd13fed136291 which introduces a simplified require wrapper. Indeed, I am afraid that because js loading is asynchronous, initialization eg in  var maps = initmap(); car be called before var initN = require('./initNb'); is actually loaded.

If possible, the most simple would be to revert these two commits. And/or find why the relative paths do not work. Otherwise we should make a corrective commit to revert both.

Oh dear :( apologies!
I'm away for the weekend so can't test till I get back. My understanding of
the simplified require is that it ensures that a require('blah') call
inside the simplified wrapper will execute synchronously (since require
parses the wrapper for such calls and resolves them before executing the
wrapper). I guess I got the relative URL wrong?
On 25 Jun 2016 11:22 a.m., "jfbercher"<EMAIL_ADDRESS>wrote:

I can confirm this from a fresh install.
@jcb91 https://github.com/jcb91

The problem comes from commit 30334d2
#diff-cc4054765e888c4b375cd13fed136291
https://github.com/ipython-contrib/IPython-notebook-extensions/commit/30334d2c54a7aadbc076357dc511a066ca00e376#diff-cc4054765e888c4b375cd13fed136291
where we wanted to use relative paths. This does not work and fails
silently (since the js files are required but not found, actually the
system waits for them forever). I was confident and unfortunately did not
test. [And I am always late in refreshiong my install where I have some
"devs" I want to preserve]
I think that we should also remove 37c3865
#diff-cc4054765e888c4b375cd13fed136291
https://github.com/ipython-contrib/IPython-notebook-extensions/commit/37c3865a1ef93ce29a8687f6533629726159cad0#diff-cc4054765e888c4b375cd13fed136291
which introduces a simplified require wrapper. Indeed, I am afraid that
because js loading is asynchronous, initialization eg in var maps =
initmap(); car be called before var initN = require('./initNb'); is
actually loaded.

If possible, the most simple would be to revert these two commits. And/or
find why the relative paths do not work. Otherwise we should make a
corrective commit to revert both.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ipython-contrib/IPython-notebook-extensions/issues/643#issuecomment-228529671,
or mute the thread
https://github.com/notifications/unsubscribe/AFXq9oElilQPPdw2XColgkdUqJkAbJFwks5qPQFWgaJpZM4I9XtN
.

@jcb91 yes the wrapper was right but unfortunately not the relative paths. Also I removed a function wrapper which turned functions in that file into local functions.

I tried to address the issue in #645

@dmyersturnbull just edit latex_envs.js and initNb.js as in https://github.com/ipython-contrib/IPython-notebook-extensions/pull/645/files#diff-cc4054765e888c4b375cd13fed136291  and it should work.
There is still lot of to do and improve on the latex_envs project. Perhaps in august.

(#645 now merged)

closing as fixed, please reopen if I'm wrong!


Minor changes

Add a screenshot
Update the URL to the MagicMirror repository
Add package-lock.json to .gitignore (this will prevent problems that sometimes occur when users update modules)

Regardless of the changes: Can you please activate the issues here in the repo? With forks, this tab must be activated manually in the settings.
Here you can see that the issue tab is missing:

@brucetony Did you noticed this PR?

Thanks! With this, the module looks perfect on the new module list :rocket:


Icon adjustment

New pull request to rewrite call type configuration

Well I used the magic to rename all the threat level colors


fix(helm): Use metacontroller.fullname for container name

Small fix to keep name consistent in helm chart.
For example, if you override helm chart name, before this fix it would remain : "metacontroller-helm".
Now, it will mirror the same override helm chart value.

that moment you change your mind and secretly close a PR 😂


Got 'Object possibly undefined' when calling base class's optional method

When 'stickNullChecks' is turned on and calling base class's optional method with following code, got 'Object possibly undefined' error

TypeScript Version:  2.2.1
Code
Sub-class:
super.methodOptional && super.methodOptional(someAgs);

Base-class:
protected methodOptional?(someAgs): void;

Expected behavior:
No error
Actual behavior:
Got 'Object possibly undefined' error on super.methodOptional

Hmm, yes, we should probably track property access expressions of the form super.xxx in control flow analysis. We currently don't.

Fix is up at #14956


Notifications to Write Company Review 💼

Issue Reserved for Bloomberg Mentorship Program
Description
We want to encourage members to write company reviews after their work experiences have ended. To do this, we can implement and schedule a weekly job that will find all the work experiences that have ended in the last week, and then have the ColorStack bot send a private message to each of these members encouraging them to add a company review.
Acceptance Criteria

Have a function that fetches the slackId of all students that have had a work experience end in the last week, as well as the company name of that work experience.
Have the ColorStack bot send a DM to all of these students with a message including a link to the companies page, congratulating them on completing the work experience, and suggesting they add a review of their experience for that company.

Additional Context
The two relevant database tables will be students and workExperiences.
We can add the function to a new file within ‘packages/core/src/modules/employment/use-cases’.
See here for an example of how to have the ColorStack bot send many slack DMs at once.
See an example of a weekly job here. Note that these jobs are scheduled with the memberWorker.

I'll take this

Hey @rafa1510, good questions!

I'm going to double check with Rami on this one and get back to you later. You're right, the timeline for repeatable jobs might be done on the admin side.
This is a good point. Let's do experiences that ended in the last month instead of the last week.
No worries! We'll take care of this aspect of the testing.

@rafa1510 Yep, just checked with Rami. All we have to do is have this job implemented as a repeatable job, and then the rest of the scheduling is taken care of within the admin dashboard.

Ok perfect, just updated the PR


[RELAY][RUNTIME] Refactor interpreter and graph_runtime into consistent interface.

Refactor the interpreter and graph runtime into a single consistent interface. Will follow up with more information, looking for initial feedback.
Our goal is to have a single interpreter interface, for both using the Relay interpreter (for debugging) and the graph runtime (for execution until we have a new runtime).
from tvm.relay.interpreter import Interpreter
intrp = Interpreter(mode='debug', env=env)
graph = Interpreter(mode='graph', env=env)

# When f is a function returns a function which can be
# called with the appropriate number of arguments.
intrp.evaluate(f)

# If the first argument is an open term we can provide bindings for all the variables.
intrp.evaluate(x + x, { 'x' : relay.const(1) })

See comments, I see that there is a need of creating two kinds of interpreter here, how about we change the API to a factory function?
intrp = relay.create_interpreter(mode='debug', env=env)

# alternative name
graph = relay.create_executor(mode='graph', env=env)

@zhiics @junrushao1994

Thanks @jroesch this is merged

@jroesch Sorry for not being able to review it a little earlier. I just realize that it is merged when I was walking though. But I do have some comments/questions. Feel like to ignore them if you think they don't make sense.

@zhiics sorry I merged it because this influences the interface and this change is clearly towards a good direction, feel free to follow up with discussions

@zhiics I will follow up with your comments tomorrow in another small PR.


Feature: Store popular queries and display them in suggestions

We could track the queries that come in through the chat API and fetch the most popular ones, displaying them as suggestions instead of the static cards.

Sounds good! I have seen perplexity do it, will be a good feature to add.


Customizable Indentation in OptionParser Help Messages

Hi!
I am using Crystal to create a command line tool for myself and I've been working with OptionParser. It would be great to have more flexibility in customizing the help messages.
Here's an example:
require "option_parser"

struct Point
  property x : Float64 = 0
  property y : Float64 = 0
end

point = Point.new

OptionParser.parse do |parser|
  parser.on("-x FLOAT", "x-coordinate") { |x| point.x = x.to_f64 }
  parser.on("-y FLOAT", "y-coordinate") { |y| point.y = y.to_f64 }
  parser.on("-h", "--help", "Prints this help") { puts parser; exit }
end

p point

When I use --help, it displays as follows:
    -x FLOAT                         x-coordinate
    -y FLOAT                         y-coordinate
    -h, --help                       Prints this help
              |||||| too wide |||||||

The space between the flag and its description is excessively long.
https://github.com/crystal-lang/crystal/blob/866d51d42bdd25839b0c0010fb96948fd795c2d9/src/option_parser.cr#L319-L327
As per my understanding, the indentation is hardcoded to 33 spaces. An alternative could be reducing it to 14, for instance.
class OptionParser
  private def append_flag(flag, description)
    indent = " " * 37
    description = description.gsub("\n", "\n#{indent}")
    if flag.size >= 14
      @flags << "    #{flag}\n#{indent}#{description}"
    else
      @flags << "    #{flag}#{" " * (14 - flag.size)}#{description}"
    end
  end
end

With this change, --help would display as:
    -x FLOAT      x-coordinate
    -y FLOAT      y-coordinate
    -h, --help    Prints this help

Crystal supports open classes, but having a more configurable option would be even better.

The magic indent: 37
We could increase this to more magic 42!

I'm not sure what exactly lead to this number. But it might be some sort of convention. Or just grown out of experience. And it typically works pretty well. I don't see much point in changing it. But I suppose it would be acceptable to offer the possibility for changing it via a class property.

Hi, Thanks for taking a look at this issue.
Ruby provides two options: width and indent.
These options can be specified as keyword arguments when initializing.
OptionParser#new(banner = nil, width = 32, indent = ' ' * 4)

You can also change it later by calling methods such as summary_width
require "optparse"

opts = OptionParser.new do |opts|
  opts.on_head("-i", "--init")
  opts.on("-u", "--update")
  opts.on_tail("-h", "--help")
end

opts.summary_width     # => 32
opts.summarize
# => ["    -i, --init\n", "    -u, --update\n", "    -h, --help\n"]
opts.summary_width = 8
opts.summary_width     # =>8
opts.summarize
# => ["    -i\n", "        --init\n", "    -u\n", "        --update\n", "    -h\n", "        --help\n"]

or summary_indent.

require "optparse"

opts = OptionParser.new do |opts|
  opts.on_head("-i", "--init")
  opts.on("-u", "--update")
  opts.on_tail("-h", "--help")
end

opts.summary_indent         # => "    "
opts.summarize
# => ["    -i, --init\n", "    -u, --update\n", "    -h, --help\n"]
opts.summary_indent = "  "
opts.summary_indent         # => "  "
opts.summarize
# => ["  -i, --init\n", "  -u, --update\n", "  -h, --help\n"]

I created a ruby command line tool called YouPlot, where I used summary_width. Crystal does not need to behave the same as the Ruby language, but I am sure that some option is needed.
Other language option parsers should have similar settings, but I am not familiar with their APIs. I feel it is important to look at other languages before rushing to make them the same as Ruby. I would appreciate it if someone could look into this.

Simple extension to allow summary_width
require "optparse"

class OptionParser
  # Adds a property for summary_width
  property summary_width : Int32 = 33

  private def append_flag(flag, description)
    indent = " " * (summary_width + 4) # Adjust the indent based on summary_width
    description = description.gsub("\n", "\n#{indent}")

    if flag.size >= summary_width
      @flags << "    #{flag}\n#{indent}#{description}"
    else
      @flags << "    #{flag}#{" " * (summary_width - flag.size)}#{description}"
    end
  end
end

opt = OptionParser.new
opt.summary_width = 23


typo in benchmark script

I believe that the two occurrences of ascci in benchmarks/hexdump.rb should read ascii.
[For my own education:  what should happen in cases like this - should Hexdump.dump or Dumper.initialize check for unrecognised keys in the options hash and issue a warning, raise an exception, or what?]

Derp, fixed. Thanks!


fix(feature-card-block-large): changed hover background color

Related Ticket(s)
#3965
Description
Background color was not changing upon hover, changed to match the medium/regular feature card blocks.
Changelog
Changed

Changed background color to $background-ui on hover

@IgnacioBecerra one comment, I believe the background color should change not only when you hover over the text portion of the card, but if you hover anywhere in the feature card (even the image) the background should change color


this._capacity is never defined causing buffer growing too large when exporting to binary format

At line: https://github.com/go-macaroon/js-macaroon/blob/15a163659ef213d2eee69f4605904ca52ff15426/macaroon.js#L125
minCap <= this._capacity is always false because this_capacity is undefined
Recommendation: Change the constructor
  constructor(capacity) {
    this._buf = new Uint8Array(capacity);
    this._length = 0;
    this._capacity = capacity
  }

seems resolved in https://github.com/go-macaroon/js-macaroon/pull/40
Could you merge the pull request ?

This issue has now been resolved with #40 being merged.


examples: fix typo

Fix incorrect example causing following error in runtime:
I0628 12:23:46.112073       1 toomanyrestarts.go:36] PodsHavingTooManyRestarts thresholds not set

/ok-to-test


Update eth-bytecode-db proto definition

Fix typo in source_files field (renames sources_files to source_files).
Remove verification via metadata, as it is not implemented for now, and is not going to be implemented in its existing form in the nearest future
Update VerifyResponse status to be enum

Closed due to #263


How to make it work with Chromecast

Hi,
I am trying to cast youtube live streams in chromecast, i am still getting cors error using crossorigin.me proxy.
Do any know how to make it work with chromecast?
Example live stream
https://www.youtube.com/watch?v=XOacA3RYrXk
Thanks

I'm not sure what you mean by 'cors error', can you be more specific about the types of errors you're experiencing?

you can test that link, its a cross origin issue.
https://stackoverflow.com/questions/22207867/how-to-enable-cors-for-streaming-on-chromecast-using-media-player-library


Test against arm64 on Travis

Follow-up to #2647, but instead of using a new CI service we use Travis new support for multiple CPU architectures

Can you please branch off of next-major rather than master

Done

@xzyfer Not sure if you have the required permissions, but feel free to edit the files if you can :)

@OskarPersson I don't appear to have access. Can you please double check you've given me access?
https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/allowing-changes-to-a-pull-request-branch-created-from-a-fork

Yes, it is enabled. Are you pushing to https://github.com/OskarPersson/node-sass/tree/travis-arm ?

Committed the changes. Lets see how CI feels.

Thanks @OskarPersson. This is close enough to merge!

Do you know when this will be publicaly available?,  this is the last blocker to me having a full mongodb, node, react dev environment running in my samsung galaxy tab s6 android tablet under termux.

Having arm64 support isn't just a blocker for SBCs or phones or whatever. If you want to build arm64 docker images for use with stuff like AWS Graviton, not only would it be nice to no have to compile loads of stuff on npm install, which takes for ever, especially with buildx, I have so far seen a lot of failures there too.

Having arm64 support isn't just a blocker for SBCs or phones or whatever. If you want to build arm64 docker images for use with stuff like AWS Graviton, not only would it be nice to no have to compile loads of stuff on npm install, which takes for ever, especially with buildx, I have so far seen a lot of failures there too.

Thanks @OskarPersson. This is close enough to merge!

@xzyfer, May i know the reason for not adding these changes in further releases and in master? Is there anything I can help with?

Thanks @OskarPersson. This is close enough to merge!

@xzyfer , May i know the reason for not adding these changes in further releases and in master? Is there anything I can help with?


get_delta_time() with fixed timestep returns wrong value when frame dropped.

Apologies if this is not a bug / unsupported use case; I'm not entirely sure what is going on under the hood here.
I'm currently trying to update a game duration value on each update() with a fixed timestep. This works fine until a function runs that take more that 1/60th of a second. In my case creating a level and populating it with entities. When that happens and the update() takes longer than the timestep the new frames get_delta_time() seems to return a larger duration than has actually elapsed.
Summary:
When a game uses a fixed timestep and a update() call takes longer than the length of the timestep due to lots of processing (e.g. creating many entities in specs) the next call of get_delta_time() will start jumping up more rapidly than time has actually elapsed.
The output from printing the game's duration each frame is below to try and illustrate this:
0.0
0.03232253
0.049486894
0.05124064
0.11756442
0.1838882
0.25021195
0.31653574
0.33230978
0.34900445
0.36629856
0.38270423
0.3991322
0.41582197
0.43250266
0.44944182
0.46587446
0.4827281
0.49930665
0.5160201
0.53267336
0.54938954
0.56670475
0.5826711
0.599365
0.6160409
0.63271266
0.64940494
0.666086
0.6827516
0.6994531
0.7160952
0.73330975
0.74999875
0.7661038
0.782744
0.79980165
0.8164872
0.83327925
0.8499245
0.866704
0.8832318
0.9000451
0.9165895
0.93332815
0.9499393
0.96656543
0.9833864
1.0000993
1.0165976
1.0334032
1.0499406
1.0666397
1.0833269
1.1000748
1.1168267
1.1333493
1.1500493
1.1667385
1.1833947
1.2002943
1.2168031
1.2334704
1.8562778
2.4790852
3.1018927
3.7247
4.3475075
4.970315
5.5931225
6.2159295
6.838737
7.4615445
8.084352
8.707159
9.329967
9.952774
10.575582
11.198389
11.821197
12.444004
13.066812
13.689618
14.312426
14.935233
15.558041
16.180847
16.803656
17.426462
18.04927
18.672077
19.294886
19.917692
20.5405
21.163307
21.786116
22.408922
23.031729
23.654537
24.277344
24.282253
24.298931
24.31565
24.332294
24.348974
24.365728
24.382397
24.399015
24.415743
24.432467
24.449175
24.46578
24.482477
24.499117
24.516008
24.532532
24.549173
24.56584
24.5826

In reality, the game only ran for a total of 5 -6 seconds. The long update function started somewhere round about the 1.8 second mark, and finished according to get_delta_time() at about 24.2.
Steps to reproduce:

Setup a game using the default fixed timestep.
Create a Duration resource and add the result of get_delta_time() to it every update().
Run a intensive calculation during the update function once.

Expected behavior:
update()should be called less frequently than the timestep while the intensive function is running and get_delta_time() should report the actual time that has elapsed.
Actual behaviour
update()is called less frequently than the timestep while the intensive function is running, but get_delta_time() returns a greater duration than has actually elapsed.
Additional info:
I don't really understand how get_delta_time() should work under these circumstances, so could be trying to do something that is totally unsupported. I'm happy to rewrite how I'm doing this if there is a better way.

Ah, I think I see where the confusion is coming from! Will try to break it down a bit.
Background
When running in 'fixed' timestep mode, the speed at which update and draw run is decoupled, as described in this chapter from Game Programming Patterns:

update runs at a fixed tick rate (defaulting to 60 times per second), which is the value you pass in when you create an instance of Timestep::Fixed. This is why it's called 'fixed' mode.
draw runs as fast as your graphics card/vsync settings will allow. This may be completely different from your tick rate (e.g. I have a 144hz monitor, so my draw method runs 144 times per second with vsync on).

This means that your update should run deterministically on every machine (i.e. calling update five times should always yield the same end result), but rendering can dynamically become more or less smooth depending on the device's performance.
If your tick rate is slower than the frame rate, you get multiple frames drawn between updates (which you can optionally interpolate to make things look smoother). If your tick rate is faster than the frame rate, or a tick takes too long to process, multiple updates can be run in a single frame.
The Issue
The reason I'm giving all this context is to hopefully illuminate what the docs mean on get_delta_time:

Returns the amount of time that has passed since the last frame was rendered.

get_delta_time is the time since the last draw, not the last update, and in fixed timestep mode these are not necessarily the same!
In the case where your update is taking a long time, frames are being skipped to allow the updates to 'catch up', and the value returned by get_delta_time continues to increase to reflect the fact that there hasn't been a frame drawn for a little while.
Fixes
If you want to keep using fixed timestep mode, the solution is pretty simple - you don't need to use get_delta_time in your update function! You can be sure that update will always be called at the same consistent rate, so you can either use a constant value in your calculations (1.0 / your tick rate) or, if you're lazy like me, just write all your calculations in 'per tick' amounts instead of 'per second' amounts :p
Alternatively, you could switch to using variable timestep mode, in which case using get_delta_time in your update is perfectly valid and expected (because update and draw will always happen in lockstep and can vary in rate).
Please let me know if there's any way I can improve the docs to make this stuff a bit clearer, I know it's not the most straightforward system! I'm thinking of renaming some of these functions/methods in 0.6 to make them a bit more obvious.

Ahhhh! Thank you so much for the explanation, that does clarify things!
I totally missed the since the last frame was rendered part of the docs, and was thinking it was since the last update() call. That makes perfect sense now. I was assuming that if spawning entities took forever it would slow down the update loop so get_delta_time would be necessary to account for that, but if rendering is slowed down to compensate I'll just use the constant value as suggested.
I'll have a proper re-read of the docs, but I suspect the confusion stems purely from me being used to variable update frequencies and not having quite got my head round having them decoupled.
Thanks again for the really quick clarification and apologies for adding a non-bug to the issue tracker.

Absolutely no problem at all, it's good to have an issue on the tracker to point people to if they have the same issues 😄
The docs for Timestep have some info on how to use the two different modes - that's probably a good starting point for getting your head around how they're intended to be used. I should probably move that info into the top level module rather than having it hidden away in the enum's docs...


HCI-BCM drug dosing data is missing

In the previous release we had drug dosing for these models but not in the current one.

Datasource abbreviation was not set in the data file.

File name was wrong, fixed.


Can't start a container in Cypress project

Expected Behaviour
Starting container with custom image
Actual Behaviour
Error while trying to start test:
Cannot read properties of undefined (reading 'DEFLATE')

Testcontainer Logs
No logs, because I can't even start them :)
Steps to Reproduce
Here is my Cypress config:
package,json
{   "name": "cypress-typescript-example",   "version": "1.0.0",   "description": "",   "main": "index.js",   "scripts": {     "open": "cypress open"   },   "keywords": [],   "author": "",   "license": "ISC",   "devDependencies": {     "cypress": "^10.0.1",     "testcontainers": "^8.10.1",     "typescript": "^4.7.2"   } }
tsconfig.json
{     "compilerOptions": {         "target": "es5",         "lib": ["es5", "dom"],         "types": [ "cypress", "node" ],         "baseUrl": ".."     },     "include": [         "**/*.ts"     ] }
and some test example
`
describe("example test", () => {
let container;
before(async () => {
    container = await new GenericContainer("custom-image:latest")
        .withWaitStrategy(Wait.forLogMessage('nothing to update'))
        .start();
})

after(async () => {
    await container.stop()
})

it('checks', async () => {
    cy.visit('https://some.site');
    cy.get('.input').type('some search{enter}');
    cy.debug();
})

})
`
Environment Information

Operating System: Linux
Docker Version: 20.10.14
Node version: 16.15.0
Testcontainers version: 8.10.1

@alimMax testcontainers cannot run in a browser, perhaps run it in a separate process to cypress?

@cristianrgreco it works! Thanks a lot!
But now have another issue with starting containers in an interactive mode. I have put some executable files into the container. In order to properly run the container, I need to mark command as interactive. Otherwise, a container is just shut down. So, is there any way to do something like this?
docker run -it DOCKER_IMAGE

@alimMax there isn't an interactive mode. You could do like in the README and start the container with:
.withCmd(["sleep", "infinity"])

And execute the commands needed manually:
const { output, exitCode } = await container.exec(["echo", "hello", "world"]);

@cristianrgreco thank you for your help!


WIP python monolith, untested

@askmeegs here is my WIP for the python monolith, didn't get to test it yet unfortunately.
I merged contacts and userservice into accountsservice, adopted the Dockerfile to build the new container and added a kubernetes manifest for the new service.
There are probably a bunch of things I missed but wanted to share state and you are certainly quicker than me at tying up loose ends.

Thanks for this, Robert! I have branched off of your changes here, and completed the python monolith work.
(Combined the userservice and contacts service into 1 python service - and kept the DB in a separate container, running in the same pod.)
Going to close this in favor of the more recent PR.


Bugfix: Added check to ensure backup exists when restoring

⚠⚠⚠ Since we do not accept all types of pull requests and do not want to waste your time. Please be sure that you have read pull request rules:
https://github.com/louislam/uptime-kuma/blob/master/CONTRIBUTING.md#can-i-create-a-pull-request-for-uptime-kuma
Tick the checkbox if you understand [x]:

[x] I have read and understand the pull request rules.

Description
A check to ensure that the backup database exists before deleting the current database. This prevents the current database being deleted when attempting to restore from a backup if said backup doesn't actually exist. This fail state can occur when operating on systems with low disk space as seen in #2778 .
Fixes #2778
Type of change
Please delete any options that are not relevant.

Bug fix (non-breaking change which fixes an issue)

Checklist

[x] My code follows the style guidelines of this project
[x] I ran ESLint and other linters for modified files
[x] I have performed a self-review of my own code and tested it
[x] I have commented my code, particularly in hard-to-understand areas
(including JSDoc for methods)
[x] My changes generate no new warnings
[x] My code needed automated testing. I have added them (this is optional task)

I am trying to understand why #2778 will happen.

Error: ENOSPC: no space left on device, copyfile './data/kuma.db' -> './data/kuma.db.bak20230214000105'

I thought if the backup failed, it should go into catch part and exit with 1. In reality, it didn't.
https://github.com/louislam/uptime-kuma/blob/c19dcdba44002f74c0aa1451f511df18fec24cfd/server/database.js#L197-L203

@louislam Could it be this line? https://github.com/louislam/uptime-kuma/blob/c19dcdba44002f74c0aa1451f511df18fec24cfd/server/database.js#L366
This is called by patch2Recursive with the following catch statement, appearing to support the logs in #2778 .
https://github.com/louislam/uptime-kuma/blob/c19dcdba44002f74c0aa1451f511df18fec24cfd/server/database.js#L256-L266
We might want to correct the catch statements issue here but I think we should definitely check that the backups exist before deleting the DB as an extra layer of protection.


Add pyproject.toml for Custom Node Registry

We are building a global registry for custom nodes (similar to PyPI). The registry makes using custom nodes more reliable by reserving globally unique names for each custom node, and supporting semantic versioning.
Here’s some more information on the registry.
Action Required:

[ ] Go to the registry. Login and create a publisher id. Comment it here and we will update the PR (or just merge it and change it yourself).
[ ] Write a short the description.
[ ] Merge the separate Github Actions PR and run the workflow.
If you want to publish the node manually, install the cli and run comfy node publish

Please message me on Discord if you have any questions!

hey @TeaCrab, wanted to send a small nudge and ask if you had any questions!

I'll check it out sometimes.  No guarantee.


Tracking: Upstream etcd v3.5 issues

Describe the bug
Upstream etcd posted that there are issues with v3.5 and that everyone should stay on 3.4.x and only upgrade once 3.5.3 is released.
https://groups.google.com/a/kubernetes.io/g/dev/c/B7gJs88XtQc/m/rSgNOzV2BwAJ

The upstream issue has been closed and a new release of etcd, v3.5.3, is being tracked here
There is a fix in upstream etcd merged in main and a backport to the release-3.5 branch.
We should prepare for an etcd bump once this release is out (currently unknown ETA). However, the issue with data inconsistency will not necessarily be fixed in it's entirety in the 3.5.3 release per this comment

It would be great to have automatic way to prevent data inconsistencies in the future, however this is not required immediate release.

cc: @deniseschannon @Jono-SUSE-Rancher @kinarashah @sirredbeard
It looks like the upcoming v3.5.3 release of etcd will not have a full fix for the data inconsistency issue. We should discuss what our plan looks like for 2.6.5

Sorry for confusion in wording of the message you quoted, v3.5.3 will fully the data inconsistency issue. What we are not planning is automatic testing/reproduction as this will be done manually.

Thank you for the clarification @serathius! That's great to hear.

etcd bump to v3.5.3 is getting updated as a part of https://github.com/rancher/rancher/issues/37388 for RKE1 clusters.


[BUG] Cam Test Fails on OAK-FFP-3P with 2x AR0234 and IMX378

Check if issue already exists
I have found no reference by searching online or the forums
Describe the bug
I have an OAK-FFP-3P with the following configuration:
Left: AR0234
Centre: IMX378
Right: AR0234
When I try to run cam_test.py using the develop branch of depthai-python (which includes depthai-core) it fails. The AR0234 are also not detected. Note, if I switch to the ar0234_x3 branch, all the cameras are detected.
Image showing only the IMX378 detected when using the develop branch:

Image showing the same script reporting all three cameras, running from the ar0234_x3 branch:

Minimal Reproducible Example
python cam_test.py -cams rgb,c left,c right,c

Enabled cameras:
    rgb : color
   left : color
  right : color
DepthAI version: <IP_ADDRESS>
DepthAI path: C:\Users\keegan\Documents\GitHub\depthai-python\venv\lib\site-packages\depthai.cp39-win_amd64.pyd
Traceback (most recent call last):
  File "C:\Users\keegan\Documents\GitHub\depthai-python\utilities\cam_test.py", line 181, in <module>
    cam[c].setIsp3aFps(args.isp3afps)
AttributeError: 'depthai.node.ColorCamera' object has no attribute 'setIsp3aFps'

Expected behavior
I would expect cam_test.py to succeed and be able to stream all cameras.
Additional context
I have attached the simple preview script I've been using to test the cameras on each branch.
preview.zip

When you switch to a branch, you also need to run examples/install_requirements.py to install the library specific to that branch.
You are using latest release, which is older than what's available on develop.

I ran examples\install_requirements.py before running the above test, I just deleted and grabbed a fresh copy from git and the same holds true:

If you download as .zip it won't work, since it relies on git versioning to retrieve firmware version.
You need to clone it, together with all its submodules.

For reference:

What's the output of python3 install_requirements.py ?

Great minds, I was just grabbing that for you!
This is from examples\install_requirements.py

Some of these commands fail:
https://github.com/luxonis/depthai-python/blob/develop/examples/install_requirements.py#L114
It's something related to your environment on windows.
Would you mind adding some debug prints and check?
E.g.
    except (OSError, subprocess.CalledProcessError) as e:
        print(e)
        git_context = False

You're right, I'm on a new laptop and it turns out git isn't accessible in PyCharm for some reason as it was on my old one. I ran install_requirements.py from the PyCharm git-bash and it updated correctly though.
The isp error has gone, the AR0234 are still not detected however.


Multi Select as Widget Initial Value not working

Hi,
First of all thank you for this plugin, it really is what I need for my project and it is saving me a lot of time.
I am having one problem, I have implement Multi Select as widget, and choosing an option is working as it should.
Problem is with initial value, I have tried multiple ways to implement it, but without success.
I have checked your code, line 100-102:
       if(widget.initialValue[0]['id']==widget.items[i][widget.initialValue[0]['param']]){
         onSelectLabel=widget.dropDownMenuItems[i].toString();
       }

It looks like you are checking only first index of initialValue and not others.
Thank you,
Darko

Ok i will fix it i made it only for the single select but i will surely fix
it as soon as possible and get back to you thankyou fir the suggestion i
will surely make the changes.
And do keeping on making suggestion like that so that i can improve the
dependency
On Mon, 20 Dec, 2021, 2:55 am sucurovicd, @.***> wrote:

Hi,
First of all thank you for this plugin, it really is what I need for my
project and it is saving me a lot of time.
I am having one problem, I have implement Multi Select as widget, and
choosing an option is working as it should.
Problem is with initial value, I have tried multiple ways to implement it,
but without success.
I have checked your code, line 100-102:
   if(widget.initialValue[0]['id']==widget.items[i][widget.initialValue[0]['param']]){
     onSelectLabel=widget.dropDownMenuItems[i].toString();
   }

It looks like you are checking only first index of initialValue and not
others.
Thank you,
Darko
—
Reply to this email directly, view it on GitHub
https://github.com/amirr-dotcom/custom_searchable_dropdown/issues/7, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AQ664NUFY252VWVKTXEBTSLURZEV7ANCNFSM5KMKACGQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Fixed the issue
please use custom_searchable_dropdown: ^2.1.1
it contains new updated code now you can give multiple values in Initial
Value.
Please refer to the example some parameter names are also changed so please
refer to documents and example
On Mon, 20 Dec 2021 at 09:02, syed amir raza @.***>
wrote:

Ok i will fix it i made it only for the single select but i will surely
fix it as soon as possible and get back to you thankyou fir the suggestion
i will surely make the changes.
And do keeping on making suggestion like that so that i can improve the
dependency
On Mon, 20 Dec, 2021, 2:55 am sucurovicd, @.***>
wrote:

Hi,
First of all thank you for this plugin, it really is what I need for my
project and it is saving me a lot of time.
I am having one problem, I have implement Multi Select as widget, and
choosing an option is working as it should.
Problem is with initial value, I have tried multiple ways to implement
it, but without success.
I have checked your code, line 100-102:
   if(widget.initialValue[0]['id']==widget.items[i][widget.initialValue[0]['param']]){
     onSelectLabel=widget.dropDownMenuItems[i].toString();
   }

It looks like you are checking only first index of initialValue and not
others.
Thank you,
Darko
—
Reply to this email directly, view it on GitHub
https://github.com/amirr-dotcom/custom_searchable_dropdown/issues/7,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQ664NUFY252VWVKTXEBTSLURZEV7ANCNFSM5KMKACGQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thank you very much for this fast response and update.
I haven't dreamed that you will fix this so soon :)

No problem and thank you for the suggestion
And keep suggesting imorovement so that i can make it better than it is
now.
Thankyou
On Mon, 20 Dec, 2021, 3:49 pm sucurovicd, @.***> wrote:

Closed #7
https://github.com/amirr-dotcom/custom_searchable_dropdown/issues/7.
—
Reply to this email directly, view it on GitHub
https://github.com/amirr-dotcom/custom_searchable_dropdown/issues/7#event-5791790317,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQ664NSC3A4TJPFD2TAPKMDUR37JVANCNFSM5KMKACGQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
<amirr-dotcom/custom_searchable_dropdown/issue/7/issue_event/5791790317@
github.com>


Fixing type value

Type must be "Microsoft.Compute/virtualMachines/extensions", not "extensions"

#please-close


Surface.BaseComponent.before_compile "module Surface.Components.Dynamic.LiveComponent.X is not loaded and could not be found"

Describe the bug
After upgrading to Surface 0.7 and LV 0.17.6 (from Surface 0.5 and LV 0.16), I cannot compile my project anymore with errors in every file that uses a Surface LiveComponent that look like this:
== Compilation error in file lib/myapp_web/live/my_live.ex ==
** (CompileError) lib/myapp_web/live/my_live.ex:209: module Surface.Components.Dynamic.LiveComponent.MyModule is not loaded and could not be found. This may be happening because the module you are trying to load directly or indirectly depends on the current module
    (surface 0.7.0) expanding macro: Surface.BaseComponent.__before_compile__/1
    lib/myapp_web/live/my_live.ex:1: MyappWeb.SomeOtherLive (module)

I am also getting warnings for all of my LiveComponents with the same kind of issue:
warning: cannot render <SomeSurfaceLiveComponent> (module Surface.Components.Dynamic.LiveComponent.MyModule could not be loaded)
  lib/myapp_web/my_file.ex:282: LiveComponent.MyModule.render/1

Starting a brand new project with the surface demo files and the same versions of Elixir, Surface and LV work fine however, so it looks like I need to do something to migrate from Surface 0.5 to 0.7 but I cannot figure out what it is.
I did not test with multiple deeply nested LiveComponents though, whereas my buggy project has lots of them. This might also be the issue here?
How can I go about debugging this?
Your Environment
Surface: v0.7
LiveView: v0.17.6
Elixir: v1.13

Alright, this is a fun one!
The issue was that my modules are defined like this demodule LiveComponent.MyModule do. If I rename to demodule SomethingElse.MyModule do, it compiles fine!

In case anyone faces the same issue, the reason is that Surface has a built-in Surface.Dynamic.LiveComponent module witch is already aliased as LiveComponent so you can't have a module/namespace with that same name in components.


Create order placement test

The test should simulate filling the checkout form and proceeding to "place order". It should also check if the request was correctly sent to vue-storefront-api without any errors like wrong schema format etc.

This should be E2E test - and the first step is: https://github.com/DivanteLtd/vue-storefront/issues/892
It's funny - we discussed it Today with @bobbyshaw  :)

This is done!


Palette eye dropper tool

Preview here: https://pr-395.lba2remake.net

Just notice some small changes on the Resources files. It won't have any merging issues with what I am doing, but I will push the latest changes so we can merge to master while I am parsing the rest of the entries

Ok, that reminds me that we can probably merge your PR now that the release is over. I'll take another look at it tonight.

I will push today the latest changes I have and mention you and scott when that's done.


SWARM-1891: OpenApiHttpHandler - support graceful startup.

Motivation
OpenApiHttpHandler currently attempts to load the OpenApi model in
static init block. This results in ExceptionInInitializerError if
Undertow instantiates the handler before the app is deployed completely.
Modifications

Skip execution until the model is available.
Cache serialized OpenApi models lazily.

Result
Graceful startup is supported, no ExceptionInInitializerError is thrown.

retest this please

retest this please

Windows machine fails again with:

java.lang.AssertionError: <''> should be equal to :<'Management Interface'> ignoring case
at org.wildfly.swarm.management.console.ManagementConsoleTest.testHomePageShouldHaveCorrectTitle(ManagementConsoleTest.java:47)


Revert "fix response close for getRowsUpdated(#1538)"

Reverts ClickHouse/clickhouse-java#1539
Fails the  com.clickhouse.r2dbc.spi.test.R2DBCTestKitImplTest.segmentSelectWithEmitsRow what is part of a 3rd party test kit

I have improved the submission and passed the unit test. And I hope you can review # 1667 again

I have improved the submission and passed the unit test. And I hope you can review #1667 again


failed to build against visual studio 2015

Environment: Win8.1 64bit, Visual Studio 2015 Enterprise
Try to build with the latest code in main branch. Got a lot of errors:
1>------ Build started: Project: ZERO_CHECK, Configuration: Debug x64 ------
1>  Checking Build System
1>  CMake does not need to re-run because E:/GitHub/bandit/CMakeFiles/generate.stamp is up-to-date.
1>  CMake does not need to re-run because E:/GitHub/bandit/bandit/assertion_frameworks/snowhouse/CMakeFiles/generate.stamp is up-to-date.
2>------ Build started: Project: bandit-specs, Configuration: Debug x64 ------
3>------ Skipped Build: Project: bandit-specs_unity, Configuration: Debug x64 ------
3>Project not selected to build for this solution configuration
4>------ Build started: Project: snowhouse-tests, Configuration: Debug x64 ------
5>------ Skipped Build: Project: clean_cotire, Configuration: Debug x64 ------
5>Project not selected to build for this solution configuration
6>------ Skipped Build: Project: all_unity, Configuration: Debug x64 ------
6>Project not selected to build for this solution configuration
2>  Building Custom Rule E:/GitHub/bandit/CMakeLists.txt
2>  CMake does not need to re-run because E:\GitHub\bandit\CMakeFiles\generate.stamp is up-to-date.
2>  Generating Debug/cotire/bandit-specs_CXX_prefix.hxx
4>  Building Custom Rule E:/GitHub/bandit/bandit/assertion_frameworks/snowhouse/CMakeLists.txt
4>  CMake does not need to re-run because E:\GitHub\bandit\bandit\assertion_frameworks\snowhouse\CMakeFiles\generate.stamp is up-to-date.
2>  before_each_after_each.spec.cpp
4>cl : Command line error D8021: invalid numeric argument '/Wfatal-errors'
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\utility(21): error C2206: 'swap': typedef cannot be used for function definition
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\utility(35): error C2065: '_Left': undeclared identifier
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\utility(35): error C2065: '_Right': undeclared identifier
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\utility(35): error C2206: 'swap': typedef cannot be used for function definition
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\utility(49): error C2206: 'swap': typedef cannot be used for function definition
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\utility(60): error C2065: '_Left': undeclared identifier
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\utility(60): error C2065: '_Right': undeclared identifier
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\utility(60): error C2206: '_Swap_adl': typedef cannot be used for function definition
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\utility(140): error C2988: unrecognizable template declaration/definition
2>  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\utility(199): note: see reference to class template instantiation 'std::pair<_Ty1,_Ty2>' being compiled
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\utility(140): error C2059: syntax error: '('
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\utility(140): error C2091: function returns function
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\utility(140): error C2059: syntax error: ')'
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\utility(150): error C2332: 'class': missing tag name
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\utility(150): error C3306: 'std::': unnamed class template is not allowed
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\utility(150): error C2065: '_Other1': undeclared identifier
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\utility(150): error C2923: 'std::is_convertible': '_Other1' is not a valid template type argument for parameter '_From'
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\utility(151): error C2065: '_Other2': undeclared identifier
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\utility(151): error C2923: 'std::is_convertible': '_Other2' is not a valid template type argument for parameter '_From'
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\utility(153): error C2065: '_Other1': undeclared identifier
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\utility(153): error C2065: '_Other2': undeclared identifier
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\utility(153): error C2923: 'std::pair': '_Other1' is not a valid template type argument for parameter '_Ty1'
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\utility(153): error C2923: 'std::pair': '_Other2' is not a valid template type argument for parameter '_Ty2'
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\utility(154): error C2065: '_Other1': undeclared identifier
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\utility(154): warning C4346: 'std::integral_constant<_Ty,_Val>::value': dependent name is not a type
2>  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\utility(154): note: prefix with 'typename' to indicate a type
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\utility(154): error C2059: syntax error: '>'
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\utility(154): error C2065: '_Other2': undeclared identifier
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\utility(156): error C2334: unexpected token(s) preceding ':'; skipping apparent function body
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\utility(17): fatal error C1075: the left brace '{' was unmatched at the end of the file
7>------ Skipped Build: Project: ALL_BUILD, Configuration: Debug x64 ------
7>Project not selected to build for this solution configuration
========== Build: 1 succeeded, 2 failed, 0 up-to-date, 4 skipped ==========

Built with v1.1.4 with no problem.
Only one warning: E:\GitHub\bandit\specs\describe.spec.cpp(33): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data

Could this have something to do with how cmake is set up? I don't see any build errors in bandit specific source files.
I don't have a VS2015, so I cannot reproduce.

cmake -G "Visual Studio 14 2015 Win64"
BTW, The visual studio 2015 RTM was just release, and you can download the community version for free. https://www.visualstudio.com/

I was thinking more along the line that we've introduced something in CMakeLists.txt since 1.1.4.
I'm currently not on a windows machine, so any more info you could give find would be most helpful.

Visual Studio 2015 supports noexcept. I was able to get version 2.0 working by only disabling noexcept for versions prior to VS2015. (_MSC_VER < 1900) inside bandit.h

@kirkpatrickc thanks for the info! Do you think you can issue a PR with the necessary changes?

Was your problem fixed by this, @iron9light?
What kind of build times do you get with VS2015, @kirkpatrickc? I know VS2013 had (still have?) mayor problems with nested lambdas, which led to long build times and memory bloat.
Wondering if that is fixed by now...

I'm probably no the best person to ask; the projects I'm involved in that already have long compile times. I haven't noticed any significant increase however.


Fix Log Directory On Non-WIndows OS

Fixes Logs directory path on non-windows OS

Hi @akema-trebla  Could you please retest this? Logging breaks because of this. I have reverted the changes.
The logs / console only shows the first log, after which logs are empty. Please retest this and raise another PR.
Thanks

That's strange. I only split the serology section of the app settings.json into appsettings.Windows.json and appsettings.Others.json and copied what you had already unto the Windows json and the fix for Linux and MacOS (What I use) in the Others json.
Alright, I'll check it out. I see you've made some changes to use Minimal API.

Yes, there are quite a lot of changes in logging and application startup code.


feat: support dev entry

Codecov Report

Merging #46 (7aaea59) into master (1f47307) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master      #46   +/-   ##
=======================================
  Coverage   89.74%   89.74%
=======================================
  Files          42       42
  Lines        2749     2749
  Branches      681      681
=======================================
  Hits         2467     2467
  Misses        258      258
  Partials       24       24

Impacted Files
Coverage Δ

packages/cli-plugin-dev/src/index.ts
94.87% <100.00%> (ø)

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 1f47307...7aaea59. Read the comment docs.

Codecov Report

Merging #46 (7aaea59) into master (1f47307) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master      #46   +/-   ##
=======================================
  Coverage   89.74%   89.74%
=======================================
  Files          42       42
  Lines        2749     2749
  Branches      681      681
=======================================
  Hits         2467     2467
  Misses        258      258
  Partials       24       24

Impacted Files
Coverage Δ

packages/cli-plugin-dev/src/index.ts
94.87% <100.00%> (ø)

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 1f47307...7aaea59. Read the comment docs.


ISTIOD/Pilot proxy support

Istiod pilot does not read HTTP,HTTP,and NO_PROXY environment variables. This blocks GKE clusters that rely on HTTP Proxies to get out to the internet from using MESH CA
https://github.com/istio/istio/blob/da6178604559bdf2c707a57f452d16bee0de90c8/pkg/spiffe/spiffe.go#L193

cc @shankgan @myidpt @howardjohn

Should be fixed by https://github.com/istio/istio/pull/34685.


repec abstract - link to repo is incorrect

https://ideas.repec.org/c/boc/bocode/s459150.html
"For more info about this linter, see https://github.com/worldbank/stata_linter"
should be
"For more info about this linter, see https://github.com/worldbank/stata-linter"

@rpguiteras thanks for flagging this. We'll update the description in the next version of the command by next week

corrected in v1.02


Status not showing up in choices for DCIM/Cables

Environment

Python version: 3.7
Nautobot version: 1.0.1

Steps to Reproduce (Using pynautobot)
>>> from pynautobot import api
>>> nb = api("http://localhost:8000", "0123456789abcdef0123456789abcdef01234567")
>>> nb.dcim.cables.choices().keys()
dict_keys(['termination_a_type', 'termination_b_type', 'type', 'length_unit'])

These are fetched when using the OPTIONS HTTP verb against the list view.
I swear I've submitted an issue or two on this previously, but cannot seem to find them.

Expected Behavior
To list the three choices that come default for dcim |  cables

Observed Behavior
See above. Status is not available as choices and fails playbooks in nautobot-ansible due to not finding the status when attempting to create a cable.

Possibly related to #382?

Not quite. These don't show up at all rather than having the incorrect key (display vs. display_name).
I'm wondering if the issue was tracked prior to public release. The endpoint provides no choices for status. I'll dig in deeper once I figure out which content types provide the status (programmatically) to make sure there aren't others.

Ok I found the commit - https://github.com/networktocode-llc/grimlock/pull/59/files?file-filters[]=.html&file-filters[]=.py
I'm attempting to figure out a way to have a dynamic test for any model that has status as an attribute for it test that choices are properly rendered, but not entirely sure how to accomplish the test or if a test should exist in multiple spots? Part of the provided API tests class and maybe the viewset as it looks like that is really where it's implemented as well.

Rather than any dynamic magic for 'status' field, probably simpler (better?) to add another test case mixin class that can be explicitly included in any API tests that should cover it.


Add Plots for numeric ValueHistories

Did you review whether these can be implemented as PlotRecipes?  You really shouldn't have to ever implement a plot or plot! method, as then you bypass lots of built-in functionality.  Worst case, you may want to implement a Plots.createKWargsList method (I should really change that ugly name).  I can help with either implementation, check out this recipe for an example of how you might attempt this.

Wouldn't that require everything I pass to plot to be a subtype of PlotRecipe (which kinda defies the purpose)? Or is is duck-typing in the sense that I only really have to implement getRecipeXY(mycustomobject) and `getRecipeArgs(mycustomobject)''
The goal I have is to be able to use plot(mycustomobject) with the typical kw-args or specialized further positional args. Do PlotRecipes allow me to do that?

Let me think through this a little more, and I'll come back with what I would do.

try it on the loss plots, which are a little more complicated as I would like to support something along the line of plot(loss) (which uses a default range) and plot(loss, -2, 2)

Ok I'll put together an IJulia notebook, and I might make some code changes
in Plots to support it better.
On Tue, Nov 24, 2015 at 10:06 AM, Christof Stocker<EMAIL_ADDRESS>
wrote:

try it on the loss plots, which are a little more complicated as I would
like to support something along the line of plot(loss) (which uses a
default range) and plot(loss, -2, 2)
—
Reply to this email directly or view it on GitHub
https://github.com/tbreloff/MLPlots.jl/pull/5#issuecomment-159295125.

Here's a possibility (you'll need to checkout dev to try it out):

Also you could make a small adjustment for the subplot case, which sets the titles instead of the labels if you have 1 loss per plot:
function Plots._apply_recipe{L<:Loss}(d::Dict, losses::AbstractVector{L}; kw...)
    ...
    if get(d, :n, 0) == length(losses)
        d[:legend] = false
        d[:title] = d[:label]
    end
    ...
end

That seems cool! One question. How would I implement the functionality that allows plot(myloss, -3, 3) ?
I would guess:
Plots._apply_recipe{L<:Loss}(d::Dict, losses::AbstractVector{L}, x1::Real, x2::Real; kw...) ?

Sure that would work.  And any variation of it, as long as the types aren't too generic.  Just keep in mind... if you did something like:
Plots._apply_recipe(d::Dict, x::Vector{Float64}; kw...) = ...

then it would seriously break things since all float vectors would now pass through your recipe code.  For custom types this shouldn't be an issue.

Ok nice. I'll give it a shot. One concern though. Will d[:legend] = false just overwrite the defaults, or will it force the values to be this way no matter what the user specifies using the KWs. Because what we really want is to specify custom default values for title etc which the user can overwrite using the usual KWs

That's up to you... the kw... is what the user put there, and d should be the same as kw, but after some preprocessing.  You could do something like d[:legend] = get(d, :legend, false), which I think will do what you want.  This should use the existing value, or add your default value if the user didn't set it.

new problem. Let's take an SVM classification plot for example where I want to do plot(trained_svm). I would need to plot some contours, then some points, then the support vectors, and then maybe a line. How would I approach that without overloading plot?

Can you post the code (or a gist) with a full example?  Then I can help create the matching function.
But generally, you can set arg/d with the same tricks you would normally.  Notice that in the 2nd _apply_recipe above, I'm creating multiple series all at once by:

returning a tuple: (Vector{Function}, Real, Real)
setting xlabel/label/title to be a 1-row matrix of values, where columns map to each series

So you can get creative...  d[:linetype] = [:contour :scatter :path], etc

so I am trying to change to this approach and I am getting a weird error
function Plots._apply_recipe{I,V<:Real}(d::Dict, h::VectorUnivalueHistory{I,V}; kw...)
    d[:marker] = get(d, :marker, (:ellipse, 1.5))
    d[:legend] = get(d, :legend, false)
    get(h) # Tuple{Array{Int64,1},Array{Float64,1}}
end

ERROR: Unknown key: marker
 in default at /home/csto/.julia/v0.4/Plots/src/args.jl:324
 in warnOnUnsupportedArgs at /home/csto/.julia/v0.4/Plots/src/args.jl:579
 in plot! at /home/csto/.julia/v0.4/Plots/src/plot.jl:87
 in plot at /home/csto/.julia/v0.4/Plots/src/plot.jl:56

Are you sure you want to go this direction of having this custom way to define new plots? It feels really strange. overloading plot feels much more intuitive and flexible for complicated plots which one could then build up incrementally

ERROR: Unknown key: marker

The _apply_recipe method is called after argument preprocessing, which is where the "magic args" like :marker are handled.  So you would need to be explicit in setting the individual args:
d[:markershape] = :ellipse
d[:markersize] = 1.5
...

Are you sure you want to go this direction of having this custom way to define new plots?

I'm pretty sure that it's a bad idea to overload plot, plot!, and all the variations of subplot/subplot! (probably 5-6 methods per recipe) just so you can make a familiar call to plot in the function.  I think the _apply_recipe method is very straightforward once you understand the rules.
Also remember that your average user won't be creating recipes (or at least, not right away) so it can be slightly less intuitive while saving tons of repeated (and error prone) code.

So I gave it a shot. Let me know what you think.
Any ideas how I could infer n for the subplots based on my history? So that the user doesn't need to know how many subplots are needed.
subplot(history)

ERROR: You must specify either layout or n when creating a subplot: Dict{Any,Any}()
 in subplot at /home/csto/.julia/v0.4/Plots/src/subplot.jl:166

Pull the latest dev branch, and you'll be able to do something like this:
function Plots._apply_recipe{L<:Loss}(d::Dict, losses::AbstractVector{L}; issubplot=false, kw...)
    d[:xlabel] = map(_loss_xlabel, losses)'
    d[:ylabel] = "L(y, h(x))"
    d[:label] = map(string, losses)'
    if issubplot
        n = get!(d, :n, length(losses))
        if n == length(losses)
            d[:legend] = false
            d[:title] = d[:label]
        end
    end
    map(value_fun, losses), -2, 2
end

Note: the issubplot arg in the signature is optional... only include it if you need to.
If the user sets n, it uses that.  Otherwise I'm setting it to the length of losses.

I'm happy to merge what you have so far, and we can fix/fine-tune what we need to later.
Also with regards to testing... I'm working on releasing a new package https://github.com/tbreloff/VisualRegressionTests.jl which will contain a generalized version of the regression testing that I'm doing in Plots currently.  When that's ready to go we should build some examples which incorporate the plots we're building here, and run them as part of the travis testing.  I'll get the framework setup... then you can add the tests for recipes that you add.

A quick side note... thanks to this PR, I changed the default _apply_recipe and now we don't have to specify n all the time.  This works now:
subplot(rand(10,4))

Before it would error because of the missing n=4.  Thanks!

Nice. Don't merge just yet. I would like to add the proposed changes and also do a little monkey testing.

get!(d, :markershape, :ellipse)
get!(d, :markersize, 1.5)

this works for plot but not for subplot

Can you open an issue? Sounds like a bug, but I'm not at my computer.

On Nov 24, 2015, at 5:59 PM, Christof Stocker<EMAIL_ADDRESS>wrote:
get!(d, :markershape, :ellipse)
get!(d, :markersize, 1.5)
this works for plot but not for subplot
—
Reply to this email directly or view it on GitHub.

I moved the files into sub-folders and implemented your suggestions. I will adapt the loss function plots in a separate PR. I'm ok with merging this if you are.
concerning issue: yes sure, will do


Initial release TODO

https://software.llnl.gov/about/faq/#my-project-is-approved-for-release-now-what

[x] Add license and release number
[x] Add README file
[x] Add NOTICE file
[x] Add CODE OF CONDUCT file
[x] Add CONTRIBUTING file
[ ] Add some user documentation (RtD later?)
[ ] Tag initial version with release notes
[ ] Submit repo to DOE CODE
[ ] Add DOI

DOI: 10.11578/dc.20220822.2


[master] Automated Bump DC/OS UI v2.73.0

High-level description
What features does this change enable? What bugs does this change fix?
Corresponding DC/OS tickets (obligatory)
These DC/OS JIRA ticket(s) must be updated (ideally closed) in the moment this PR lands:
DCOS-50310 DCOS-46403
Related tickets (optional)
Other tickets related to this change:
DCOS-50310 DCOS-46403
Checklist for all PRs

[ ] Added a comprehensible changelog entry to CHANGES.md or explain why this is not a user-facing change:
[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain here:
[ ] Read the DC/OS contributing guidelines
[ ] Followed relevant code rules Rules for Packages and Systemd

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[ ] Change log from the last version integrated (this should be a link to commits for easy verification and review): example
[ ] Test Results: [link to CI job test results for component]
[ ] Code Coverage (if available): [link to code coverage report]

PLEASE FILL IN THE TEMPLATE ABOVE / DO NOT REMOVE ANY SECTIONS ABOVE THIS LINE
Instructions and review process
What is the review process and when will my changes land?
All PRs require 2 approvals using GitHub's pull request reviews.
Reviewers should be:

Developers who understand the code being modified.
Developers responsible for code that interacts with or depends on the code being modified.

It is best to proactively ask for 2 reviews by @mentioning the candidate reviewers in the PR comments area. The responsibility is on the developer submitting the PR to follow-up with reviewers and make sure a PR is reviewed in a timely manner. Once a PR has 2 ship-it's, no red reviews, and all tests are green it will be included in the next train.

@mesosphere-mergebot bump-ee

@mesosphere-mergebot label [Ready for Review]


Creating a response object in case of exception

Apologies for duplicate post, I posted the same question on your reddit before
https://www.reddit.com/r/FubarDev/comments/3cagk7/creating_a_response_object_to_handle_exceptions/
When using the full restSarp library we use the following code snippet to create a response object in case of an exception occurs.
try
            {
 response = await client.ExecuteTaskAsync<T>(request, new CancellationTokenSource(30000).Token);
            }
catch (Exception exception)
         {
            response = new RestResponse<T>
                {
                    ResponseStatus = exception is TaskCanceledException ? ResponseStatus.TimedOut     :ResponseStatus.Error,
                ErrorException = exception
            };
        }

Since ResponseStatus & ErrorException are not available in this version of port, what are my options to create a response object in case of an exception?
Thanks

You may use the following functionality when you don't want exceptions and want to handle the status code yourself:
try {
  client.IgnoreResponseStatusCode = true;
  var response = await client.Execute<T>(request, new CancellationTokenSource(30000).Token);
  if (!response.IsSuccess) {
    // You may query the status code using response.StatusCode
  }
} catch (TaskCancelledException) {
  // Cancellation token
}

Be aware, that the IRestClient itself has a Timeout property that you may set to 30 seconds without using the cancellation token.
Please write a comment when you have further questions.

Fantastic :) Thank you
P.S. I love this library :)


Auto complete not working for 3 level databases like databricks deltalake

Description
Auto complete for 3 hierarchy level databases is working in dbeaver-ce-24.0.5-win32.win32.x86_64 but not working in dbeaver-ce-24.1.4-win32.win32.x86_64 & dbeaver-ce-24.1.5-win32.win32.x86_64.
Even the queries that get executed are showing in red (unknown column names/tables); however it used to work in old versions of dbeaver.
Example: select * from schema.db1.tablename
Auto complete is sometimes taking the db1 as default and giving column names; but showing entire code in red as wrong - table does not exists.  Also the 2nd level db1 db2 etc are not being populated.
DBeaver Version
Community edition 24.05 to 24.1.5
Operating System
Windows 10
Database and driver
Tested on DatabricksJDBC42-<IP_ADDRESS>0 and DatabricksJDBC42-<IP_ADDRESS>2
Issue is not with drivers as old version of dbeaver working on both drivers fine.
Steps to reproduce
No response
Additional context
No response

Thank you for the issue. Currently we don't support it.
If it bothers you, it's possible to turn off highlighting in Preferences Editors->SQL Editor->Code Editor->Enable semantic analysis.

@E1izabeth - It is not a feature request.  It is working till version dbeaver-ce-24.0.5-win32.win32.x86_64 ; but stopped working later on.  When I say stopped, it is fetching the table names in auto complete, but just not correctly; and format for 3 levels is bugged.

I am having the same issue on PrestoDB, is there a fix for this?

Im having similar problem using dbeaver for SQL server. Just began on last dbeaver upgrade. Autocorrect in SQL editor shows error (unknow column) for SELECT COL1, COL2 FROM TABLE but no errors for SELECT COL1, COL2 FROM dbo.TABLE. Both select statements retrieve data fine, but I am now forced to use "dbo" schema if I want the autocomplete to work. NOTE: autocomplete works fine without the "dbo" schema if I disable Filters "Connection Settings>General>Database/Catalogs". But is a pain looking for my databases within dozens of them in the navigation pane.

@aespejou the behavior you describe is not connected with this issue. Please create a new one.

We were unable to reproduce the issue. Is it still actual? If yes, could you tell, if this setting checked for you

I downloaded the latest version and ran it .  Issue still exists.

More over the new version is freezing when a lot when using this database with background parsing job showing as cancel requested continuously


Add Contract Addresses in readme

What is this PR doing?
Added the contract addresses from the JSON to the readme.
How can these changes be manually tested?
I pasted them all into gorli etherscan arbitrum
Does this PR resolve or contribute to any issues?
It was hard to find these contract addresses in the docs to see what they were doing on chain.
Checklist

[X] I have manually tested these changes
[ ] Post a link to the PR in the group chat (i don't know the group chat, sorry!)

Guidelines

If your PR is not ready, mark it as a draft
The resolve conversation button is for reviewers, not authors

(But add a 'done' comment or similar)

@outsider-analytics Thanks for the contribution! Because these contracts are currently updated semi-frequently, I think we may want to pull this information in a more dynamic way. Do you think you would have been able to discover the addresses if we just linked to the JSON file from the main page?

That makes a ton of sense! Yes, I think linking the JSON would work just fine :) Much better than the contracts not being updates as they change

Closing in favor of https://github.com/web3well/bls-wallet/pull/358


Remove fakePubSub

It's not needed now that we run workers on Cloud Tasks

We still need this, as long as DLX messages are sent over pubsub.


Make an extension with toolbar button to toggle it on and off

Add a toolbar button. So eg a .yaml file of form:
Type: IPython Notebook Extension
Compatibility: 4.x, 5.x
Name: nb_cell_shell
Main: index.js
Description: adds button to toggle cell shell behaviour
Parameters:
- name: cell_shell_status
  description: Declare whether cell status is enabled or not
  input_type: checkbox

When in cell shell mode, all code cells should be colour distinguished - eg grey background. Code freeze extension maybe has code to help with that?
Maybe also add some styling features so that code cells when notebook loaded and when run that contain %%python magic are also colour coded?


Snowpack dev not routing files converted to html by build plugins correctly

@marlonmarcello was working on a plugin to convert .pug files to .html and realized that his files were not accessible on the dev server without the .html extension. I was working to update the plugin guide #1891 and found the same. For example a simple Markdown parser:
// my-snowpack-plugin.js
const { parse } = require('markdown-wasm/dist/markdown.node.js');
const fs = require('fs');

module.exports = function plugin(snowpackConfig, pluginOptions = {}) {
  return {
    name: 'my-markdown-parser',
    resolve: {
      input: ['.md', '.markdown'],
      output: ['.html'],
    },
    load: ({ filePath }) => {
      const markdown = fs.readFileSync(filePath, 'utf-8');
      const code = parse(markdown, pluginOptions);
      return {
        '.html': code,
      };
    },
  };
};

index.md is accessible from localhost/index.html but not localhost/ the index.html 404s in the console if you load localhost/
test.md is accessible from localhost/test.html but not localhost/test

same thing happens with the @marlonmarcello .pug plugin https://github.com/marlonmarcello/snowpack-plugin-pug
Original Discussion: #1807
/cc @marlonmarcello

I have the same proplem. Trying to write a plugin for twigjs.