samples: drivers: watchdog running on the stm32H7 platforms

Change the condition to have the samples/drivers/watchdog PASSED on the stm32h7 target boards.

keep rcc D2PPR1 prescaler  unchanged for the stm32H7 serie.
In the stm32 WWDg driver, enable the watchdog IRQ at the end of the initialization process, once the peripheral is clocked
else it might cause lock (seen on nucleo_h743zi) :
*** Booting Zephyr OS build (tainted) v3.7.0-5097-gdfbcea777a10 ***
Watchdog sample application
Attempting to test pre-reset callback
[00:00:00.011,000] <dbg> wdt_wwdg_stm32: wwdg_stm32_install_timeout: prescaler: 64
[00:00:00.019,000] <dbg> wdt_wwdg_stm32: wwdg_stm32_install_timeout: Desired WDT: 100000 us
[00:00:00.028,000] <dbg> wdt_wwdg_stm32: wwdg_stm32_install_timeout: Set WDT:     100488 us
Feeding watchdog 5 times
Feeding watchdog...
Feeding watchdog...
Feeding watchdog...
Feeding watchdog...
Feeding watchdog...
Waiting for reset...


Fix for iOS11 UIBarButtonItem issue with proper state

Didn't work for me, but I just needed to add your code to the SetFAIcon and all worked fine.  Have submitted another pull request just in case that helps anyone. #97

Thanks for your contribution. I resolved the issue also by adding other states to make it work. Please update to 1.7.2


Batch.fromAnyArray(Array[Int]) throws

val array: Array[Int] = (0 until 1000).toArray

Batch.fromAnyArray(array)
// => java.lang.ClassCastException: [I cannot be cast to [Ljava.lang.Object;
// =>   at monix.tail.batches.Batch$.fromAnyArray(Batch.scala:176)
// =>   at monix.tail.batches.Batch$.fromAnyArray(Batch.scala:185)
// =>   at monix.tail.Playground$.<init>(Playground.scala:63)

The signature currently is:
def fromAnyArray[A](array: Array[_]): ArrayBatch[A]

Arrays on the JVM are reified. Thus a conversion is required in case array.isInstanceOf[Array[AnyRef]] == false.

A conversion? If I was operating on something like Array[Byte] for efficiency sake, I certainly wouldn't like a defensive copy to be made.
The better approach is probably to create a correct builder based on array.getClass.getComponentType similar to ArrayBuilder.make

@alexandru @oleg-py
Well, my first approach is just:
  def fromAnyArray[A](array: Array[_], offset: Int, length: Int): ArrayBatch[A] = {
  val ref = array match {
    case _: Array[AnyRef] =>
      new ArrayBatch[Any](array.asInstanceOf[Array[Any]], offset, length, arrayAnyBuilder)
    case primitive: Array[Byte] =>
      new ArrayBatch[Byte](primitive, offset, length, arrayByteBuilder)
    case primitive: Array[Short] =>
      new ArrayBatch[Short](primitive, offset, length, arrayShortBuilder)
    case primitive: Array[Char] =>
      new ArrayBatch[Char](primitive, offset, length, arrayCharBuilder)
    case primitive: Array[Int] =>
      new ArrayBatch[Int](primitive, offset, length, arrayIntBuilder)
    case primitive: Array[Long] =>
      new ArrayBatch[Long](primitive, offset, length, arrayLongBuilder)
    case primitive: Array[Float] =>
      new ArrayBatch[Float](primitive, offset, length, arrayFloatBuilder)
    case primitive: Array[Double] =>
      new ArrayBatch[Double](primitive, offset, length, arrayDoubleBuilder)
    case primitive: Array[Boolean] =>
      new ArrayBatch[Boolean](primitive, offset, length, arrayBooleanBuilder)
    case primitive: Array[Unit] =>
      new ArrayBatch[Unit](primitive, offset, length, arrayUnitBuilder)
  }

  ref.asInstanceOf[ArrayBatch[A]]
}

but that's super ugly


docs: correct cmu link, add lodash link

Thanks!

Are you using this project for anything fun?

Exploring using this or metaphone to automatically detect rhyming schemes in poetry.

https://github.com/ChristianMurphy/classify-poetry

Wow that's really interesting. I've long dreamed of making a gameified website to collect more rhymes from humans, to build upon the CMU corpus.

I'll get a release of this out soon. See https://github.com/words/rhymes/pull/2#issuecomment-444291503


Allow specifying a reserved set of private domains

This goes with
https://github.com/cloudfoundry/cloud_controller_ng/pull/554
The corresponding CC changes will need to be included.

@SocalNick @utako looks like these changes were lost in the move to capi-release. /cc @dsabeti @fraenkel

Hi @fraenkel,
I've re-added those changes into the capi-release specs for the three CC jobs.
Thanks,
@utako


Fix log drawer performance

When there are larger number of logs (e.g. when http debug or grcp debug flags are set), the whole client app performance suffers, due to frequent re-renders of larger logs list in logs drawer (even when collapsed).
To fix that, we limit the logs to render on collapsed view to just a few recent logs and set debug http/grcp to false by default.

Implemented in the scope of: https://github.com/onflow/developer-grants/issues/150


refine example for weigth_only

Type of Change
example enhancement
Description
reduce calibration samples for AWQ to avoid OOM.
use weight_only_algo instead of awq
Expected Behavior & Potential Risk
extension test pass
How has this PR been tested?
local test

https://inteltf-jenk.sh.intel.com/job/nlp-toolkit-validation-top-mr-extension/1268/


Headaches for Users

Some parts of Capymoa risk becoming headaches for new users. This issue exists to help discover and mitigate these risks. What parts of Capymoa do you find counterintuitive?

A new user could be confused about if they should be using capymoa.stream.instance.Instance, capymoa.stream.instance._JavaInstance, com.yahoo.labs.samoa.instance.DenseInstance, moa.core.InstanceExample,  capymoa.stream.instance.NpInstance
The schema can be cumbersome. Instance and classifiers need it to function currently.
y_index vs y_label

Going to close this issue as most of these headaches were either solved already or mapped to tasks in our backlog


The cypress example does not work

Not exactly sure what the issue is but it works fine with testcafe. Maybe the call to the endpoint is wrong:
universal-analytics Finished sending tracking calls +25s
follow-redirects redirecting to https://mywebsite.net/ui/#notfound

Hello @CassenH!
Have you specified a URL postfixed with /api/v1 in config?

Yes, that is exactly what happened. Figured it out yesterday. This has cost me a few hours of my life. Might be a good idea to add a hint for that in the readme.

We are already has this postfix in our example's config file and in the agent repo.

But may be it make sense to write down a separate note for this.


hplip: remove enum-compat

Not needed on newer Python releases

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 350778 run on x86_64-linux 1

2 packages failed to build:

electrum-grs
electrum-grs.dist

63 packages built:

electrum
electrum.dist
hplip
hplipWithPlugin
hwi (python312Packages.hwi)
hwi.dist (python312Packages.hwi.dist)
iocsearcher (python312Packages.iocsearcher)
iocsearcher.dist (python312Packages.iocsearcher.dist)
python311Packages.base58
python311Packages.base58.dist
python311Packages.bases
python311Packages.bases.dist
python311Packages.bip32
python311Packages.bip32.dist
python311Packages.bitbox02
python311Packages.bitbox02.dist
python311Packages.bitcoin-utils-fork-minimal
python311Packages.bitcoin-utils-fork-minimal.dist
python311Packages.block-io
python311Packages.block-io.dist
python311Packages.hwi
python311Packages.hwi.dist
python311Packages.iocsearcher
python311Packages.iocsearcher.dist
python311Packages.ipfshttpclient
python311Packages.ipfshttpclient.dist
python311Packages.ledger-bitcoin
python311Packages.ledger-bitcoin.dist
python311Packages.py-cid
python311Packages.py-cid.dist
python311Packages.py-multiaddr
python311Packages.py-multiaddr.dist
python311Packages.py-multihash
python311Packages.py-multihash.dist
python311Packages.pytest-cid
python311Packages.pytest-cid.dist
python312Packages.base58
python312Packages.base58.dist
python312Packages.bases
python312Packages.bases.dist
python312Packages.bip32
python312Packages.bip32.dist
python312Packages.bitbox02
python312Packages.bitbox02.dist
python312Packages.bitcoin-utils-fork-minimal
python312Packages.bitcoin-utils-fork-minimal.dist
python312Packages.block-io
python312Packages.block-io.dist
python312Packages.ipfshttpclient
python312Packages.ipfshttpclient.dist
python312Packages.ledger-bitcoin
python312Packages.ledger-bitcoin.dist
python312Packages.py-cid
python312Packages.py-cid.dist
python312Packages.py-multiaddr
python312Packages.py-multiaddr.dist
python312Packages.py-multihash
python312Packages.py-multihash.dist
python312Packages.pytest-cid
python312Packages.pytest-cid.dist
sparrow
sparrow-unwrapped
zeronet-conservancy

Blocked by https://github.com/NixOS/nixpkgs/pull/349608

electrum-grs is already broken on master.
@Pandapip1, why is this blocked by https://github.com/NixOS/nixpkgs/pull/349608?

Tested on x86-64 with an HP LaserJet 1000, after cherry-picking the commit on top of current nixos-unstable: loads firmware into printer as soon as printer is connected via USB, prints beautiful test page.  I approve!

Why is this blocked by https://github.com/NixOS/nixpkgs/pull/349608?

Borgy was failing due to fs not being able to find enum34, but it looks like it fixed itself.


[feat] prefer functions to globs

Resolves #2374

The micromatch example is a reference from https://github.com/sveltejs/kit/issues/2374#issuecomment-914416495

@ignatiusmb it looks like this PR will need a rebase

This missed one of the references to config.kit.serviceWorker.exclude in https://kit.svelte.dev/docs#modules-$service-worker
We should get that fixed and get this released quickly, because anytime we merge PRs that update the docs, the site is redeployed right away, not when we release the feature to npm.

Thanks for catching that. PR here: https://github.com/sveltejs/kit/pull/2485


community[deepinfra]: fix tool call parsing.

This PR includes fix for DeepInfra tool call parsing.

Hey @ccurme, when you're available, can you take a look at this PR?


how to get cscope working from any directory

Describe the bug
I have created cscope database in the project root directory. The cscope does not work from inside directories of the project root
To Reproduce
Steps to reproduce the behavior:

create cscope data base in project root directory
cd
open a file and try to invoke cscope for any symbol.

Expected behavior
It should identify the cscope.out in project root (recurisve search like tags) and work
Screenshots
If applicable, add screenshots to help explain your problem.
nvim version (please complete the following information):
nvim -v
NVIM v0.9.5
Build type: Release
cscope_maps config (please complete the following information):
  require('cscope_maps').setup {
        -- your configuration options here
        disable_maps = true, -- "true" disables default keymaps
        skip_input_prompt = true, -- don't ask for "YES" before jump
        cscope = {
                picker = "telescope",
        }
  }

Hi @psk243
I have implemented this feature. (6dbe79c217e13f4cf540f3dde45da1921f555b7d)
Update the plugin and enable project_rooter config (check README),

Thank you for implementing this. It works like a charm.
couple of things :

The log message added saying directory is changed is quite annoying. I always have to hit ENTER. I just commented it out for now. is there way this can be suppressed without editing the code or you can make a change in code?

when change directory is disabled but project root is enabled, it works. However, the file path is shown as absolute due to which we actually don't see the leaf dir or file in which this symbol is present. if we use telescope as picker, it is difficult to search further..all the time we see /abc/def/ghi/..... not the xyz.c file. can you please add a relative path. for now, I am using changdir option to true . I am reporting this as a feedback only.

Thanks again for your help with this feature. I have recently upgraded to nevoid 0.9 and without your csscope plugin, I just can't use neovim.

Thanks for trying it quickly.
#1 I didn't realise that it asks for ENTER every time. I'll remove it.
#2 Yeah. I observed the same and that's why I added option to change cwd.
Relative path function from plenary.nvim doesn't do ../another_dir/file.c. It only removes common part of path. I may have to find something else or write on my own.


Built-in 'print' statement is displayed as two different colors depending on indentation

From<EMAIL_ADDRESS>on 2015-02-05T17:05:42Z
Summary:
The built-in 'print' statement is displayed as two different colors (in Spyder/Dark theme: blue, purple) depending on indentation. It appears that the issue is because "print" belongs to both keywords.kwlist and dir(builtins)
Spyder Version:  2.3.2
Python Version:  2.7.6
Qt Version    :  4.8.4, PyQt4 (API v2) 4.9.6 on Windows
IPython >=0.13  :  1.1.0 (OK)
coverage >=0.25 :  3.7.1 (OK)
matplotlib >=1.0:  1.3.1 (OK)
pandas >=0.13.1 :  0.14.1 (OK)
pep8 >=0.6      :  1.4.6 (OK)
pyflakes >=0.5.0:  0.7.3 (OK)
pygments >=1.6  :  1.6 (OK)
pylint >=0.25   :  1.0.0 (OK)
rope >=0.9.2    :  0.10.2 (OK)
sphinx >=0.6.6  :  1.2 (OK)
sympy >=0.7.0   :  <IP_ADDRESS> (OK)
zmq >=2.1.11    :  14.0.1 (OK)
To Reproduce:

In an empty .py file, type 'print' on line 1 and '    print' on line two.

Expected Output: both words are the same color
Actual Output: line 1 is color coded as a "keyword" and line 2 is color coded as a "builtin".
Additional Info:
I checked all the default themes for the editor - each one has the same issue. I also checked all of the python keywords as given by keywords.kwlist and built-in functions given by dir(__builtins__). Only "print" has this issue, though other builtins are not colored as such.
I've attached a file which you can load into Spyder and see for yourself.
The purpose of this issue is to choose a color (builtin or keyword) for "print" and use it in all cases. I would prefer it being labeled as a builtin.
Attachment: print_keyword_color_discrepency_example.py
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=2159

From<EMAIL_ADDRESS>on 2015-02-05T14:11:55Z
In Python 3.4.2, "print" is only listed in dir(builtins), so this issue doesn't appear.
However, other items, such as True, False, None, exec, are incorrectly colored. Some are colored as builtins while others are colored as keywords.
For True, False, and None, this might be because these values are listed in both keywords.kwlist and dir(builtins)

From ccordoba12 on 2015-02-05T14:20:14Z
Thanks for reporting. We'll see what we can do about it for 2.3.4
Status: Accepted
Labels: Cat-Editor MS-v2.3.4

Adding comment so that I get notifications and so that I can find my issues/comments more easily.

Hi @ccordoba12 what do you think we should do in this case?

on the syntaxhighlighter file we have

def make_python_patterns(additional_keywords=[], additional_builtins=[]):
    "Strongly inspired from idlelib.ColorDelegator.make_pat"
    kw = r"\b" + any("keyword", keyword.kwlist+additional_keywords) + r"\b"
    builtinlist = [str(name) for name in dir(builtins)
                   if not name.startswith('_')]+additional_builtins
    builtin = r"([^.'\"\\#]\b|^)" + any("builtin", builtinlist) + r"\b"

So we could turn the list into sets and define what has precedence with some set operations? or just hard code in this function which should be taken as kw and which as builtins

sets seems cleaner that hardcoding.

Assigning this to myself


Add link to Limitation section

It would be good to have a link on this page in the limitation section to the Known issues with sensitivity labels so it is easier to find. - https://support.microsoft.com/en-us/office/known-issues-with-sensitivity-labels-in-office-b169d687-2bbd-4e21-a440-7da1b2743edc#ID0EBBAAA=Online

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

ID: 7c0f895e-4e0c-642b-3d74-f31512e555bc
Version Independent ID: 2e6549c9-35d2-aa32-a03a-fb2ced91e54c
Content: Enable sensitivity labels for Office files in SharePoint and OneDrive - Microsoft 365 Compliance
Content Source: microsoft-365/compliance/sensitivity-labels-sharepoint-onedrive-files.md
Service: o365-seccomp
GitHub Login: @cabailey
Microsoft Alias: cabailey

@Padavid  While I understand the request, the known issue you ran into for Excel is a (hopefully temporary) problem with the app rather than a limitation of the service support for sensitivity labels  - the focus of this page and the scope of the limitations section.
There are links to the known issues for sensitivity labels from the page "Use sensitivity labels in Office apps" (https://docs.microsoft.com/en-us/microsoft-365/compliance/sensitivity-labels-office-apps), which includes Office on the web.  The end user documentation is also referenced in "Get started with sensitivity labels" (https://docs.microsoft.com/en-us/microsoft-365/compliance/get-started-with-sensitivity-labels). If we added the references to this page as well, there's an argument they should be added to every page we have for sensitivity labels, which leads to documentation bloat - people then lose the ability to focus on what's different and specific on each page.  However, I'll monitor and revise if necessary.


[Dashboard] Revisit "Your Maps" & "Your Datasets" Placeholders

Your Maps
1. User has not created any map yet (total_user_entries === 0):

We can update the copy to:

Create your first map to predict key insights
Build your first Location Intelligence app and start predicting key insights from your location data with our drag and drop tool for analysts and business users. Learn about Builder [here].(https://carto.com/help/tutorials/builder/)

2. User has created some maps but they are all locked (total_user_entries > 0 && total_user_entries - total_locked === 0):

3. User has not created any map yet but she/he has some maps that have been shared with her/him (total_user_entries === 0 && total_shared > 0):

There are no maps here. Check out the maps shared with you.

Your Datasets
1. User has not created any dataset yet (total_user_entries === 0):

We can update the copy to:

Upload, connect, or create your first dataset
Bring your location data to CARTO so that you can visualise it and start predicting key insights. Learn about importing your data  here.

2. User has created some datasets but they are all locked (total_user_entries > 0 && total_user_entries - total_locked === 0):

(*) It should say datasets instead of maps.
3. User has not created any dataset yet but she/he has some datasets that have been shared with her/him (total_user_entries === 0 && total_shared > 0):

There are no maps here. Check out the maps shared with you.

(*) It should say datasets instead of maps.
--
@ramiroaznar Placeholders are pointing to https://carto.com/help/tutorials/builder/ and
https://carto.com/help/tutorials/import-data/. Are there any better resources where users can learn about Builder and Importing data? Thanks!
cc: @kukukaka @jesusbotella

Merged!

Ole! 👏


Memory-Usage of GPU increases when training.

When I trained the network, memory-usage increased linearly. Has anyone else encountered this problem?
I use python 3.6 and pytorch 4.0 in the experiments.

Yeah, I found that the memory used was increased within the training procedure,  I set the BATCH_SIZE in cfgs/res101.yml to 1, after 3 epochs memory used is over 22G. I use Tesla P40 which has  22912MB memory only.

I have same problem, do you have solutions? after 500-600 iterations , i can't continue my training because out of memory

I thought it may caused by the absence of crop roi pooling. But I didn't test it.

crop roi pooling?I don't know what's your mean?can you explain in detail? i use psroi in my net and i compare psroi code and caffe codehttps://github.com/daijifeng001/caffe-rfcn/blob/4bcfcd104bb0b9f0862e127c71bd845ddf036f14/src/caffe/layers/psroi_pooling_layer.cu ,but i don't find why

In the original faster rcnn, it has roi pooling on the predicted rois, if you chose the crop pooling mode, the rois would be resized. I think this resize operation may help cut down the memory usage. However, I don't verify this supposition, if you have time, you can try this resize operation in psroi pooling, and please keep me in the progress.

emmm..i know,but the size of rois is not same?such as 7*7? and even resize can help cut down memory usage ,but it can't explain why memory increases gradually in training ?

i found i meet same problem when i use roi pooling, so i guess maybe problem of version?

The faster rcnn don't have this problem. So I think the bug lies in the differences between faster rcnn and RFCN, not the version.

@zorrocai @GYxiaOH Hi,Have you found the solution why ps-roi pooling increase the memory when using pytorch-4.0

@lxtGH Sorry, I was busy with other project those days. I don't locate the problem.

the issue lies in the variables saved for backward in the psroipooling layer. Between pytorch 0.3 and 0.4, the functionality was changed to require using the save_for_backward() function instead of saving directly to ctx so the variables can be properly cleaned up.


script in .bashrc prevents autocompletion of file path

I'm using this module for one of my tools that autocompletes based off of the first argument, but the first argument must be a file path. I don't know how to enable filepath autocompletion for the first argument beyond coding it myself.

Hi @coder13
Sorry for the delay.
The default behavior should be shell filepath autocompletion if you don't provide any completion results. If that's not the case, it should be fixed.
tabtab have been reworked for v1.0.0, i'm going to close this isssue. If it's still relevant with latest version, please reopen.


click and scroll with cursor is not working in web

will you give click support for the web?

Hey! Unfortunately we won't support the AndroidTV clicks, as we're all faking it using View's onHover which don't exist on Android 😢

I'm closing as this will unfortunately never be supported with this library!


Support protobuf.js

Pull Request Test Coverage Report for Build 445093924

64 of 68 (94.12%)  changed or added relevant lines in 9 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.07%) to 93.902%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

packages/protoc-gen-nexus/src/dslgen/util.ts
27
31
87.1%

Totals

Change from base Build 441961349:
0.07%

Covered Lines:
467

Relevant Lines:
486

💛  - Coveralls


vendor: remove unused packages

Discovered while working on #1338.

Are there any plans on enforcing a valid (no unused libs, no tampered code) vendor directory via our CI? Something like dep ensure?
//CC @stuartnelson3 @brian-brazil

It's already in the common makefile. @krasi-georgiev

yep -  make unused


Update to 1.27.1+k3s1

Description of the change

Bump to 1.27.1+k3s1
Benefits

Possible drawbacks

Applicable issues

fixes #

Additional information

Do it in the AM when you have brain cells for troubleshooting if needed.


epic: ui playground v2 (2.0.0 rewiew, + ESL Design) [Draft]

POC: [Normal -Minor] : animate height of uip-preview (create a ticket for uip)
Assumption: we are not going to support theme in the current iteration
Proposal: simplify customizationand cleanup uip-options/uip-header (case: hide settings or hide theme)
Mobile BP: fix margins for prevep area (ESL content possibly)
Mobile BP: scroll is missing for the settings area
A11y : titles/labels for icons
POC: refactor snippets to be able to be displayed as a simple list
Request: ability to define custom query to find root trough attribute (for uip-pugin)
Some accordion based UX and hooks for uip-editor section
Potentially move code copy

  // uip-toolbar - layout marker to place something in the top of uip-root
  // 3 componets:
  // uip-title -- simple componet to observe model and display actual snippet title
  // uip-snippet-list -- componet to display all snippets, mark the activae one and handle click on it to change active snippet
  // uip-snippet - composite component to display tabs/dropdown of snippest, use media query API to provide condition to change view, uses uip-snippet-list and uip-title inside

  <uip-snipets class="uip-toolbar" dropdown-view="@-MD"></uip-snipets>

    <uip-snipets dropdown-view="@-MD"></uip-snipets>
    <uip-theme-toggle></uip-theme-toggle>

    <uip-snipets-list></uip-snipets-list>
    <uip-theme-toggle></uip-theme-toggle>

    <uip-title></uip-title>
    <uip-theme-toggle></uip-theme-toggle>

All points resolved for v2.0.0-beta.4.
ESL-related process done inbound of the first (practically second) wave of integration https://github.com/exadel-inc/esl/pull/2135


Added support for lotusrc in Lotus::Environment

closes #156
.lotusrc is created in the application root if it doesn't exist when Lotus::Environment is instantiated.
architecture, test and template are added in the .lotusrc file.
FYI: several .lotusrc are created by tests.

Coverage increased (+0.14%) to 95.56% when pulling ca0b98b84f31eac1694dc967f007e97816327507 on AlfonsoUceda:lotusrc into f9c41dd8ba9d9f3ea4918d7c07e394aba1396294 on lotus:master.

Coverage decreased (-0.88%) to 94.54% when pulling cf6695e6a66bdd8e8f2fa5e83b11de432954819c on AlfonsoUceda:lotusrc into f9c41dd8ba9d9f3ea4918d7c07e394aba1396294 on lotus:master.

Coverage decreased (-0.88%) to 94.54% when pulling cf6695e6a66bdd8e8f2fa5e83b11de432954819c on AlfonsoUceda:lotusrc into f9c41dd8ba9d9f3ea4918d7c07e394aba1396294 on lotus:master.

@AlfonsoUceda I've merged this, thank you! :+1:


broken dependency(ies) in haskell warp

So on the latest unstable release 15.05pre61966.75ebc3c (Dingo) haskellng packages depending on text seem to fail
$ cat default.nix
{ stdenv, haskellngPackages}:
let
  env = haskellngPackages.ghcWithPackages (p: with p; [
      warp
  ]);
in
  stdenv.mkDerivation {
    name        = "project-name";
    buildInputs = [env];
    shellHook   = ''
      export NIX_GHC="${env}/bin/ghc"
      export NIX_GHCPKG="${env}/bin/ghc-pkg"
      export NIX_GHC_DOCDIR="${env}/share/doc/ghc/html"
      export NIX_GHC_LIBDIR=$( $NIX_GHC --print-libdir )
      '';
  }
$ nix-shell
these derivations will be built:
  /nix/store/nmzxd9fym2z7xypcg7iyhj04myrizs0m-ghc-7.10.1.drv
building path(s) ‘/nix/store/2a4fys3z74vn2ididphc5aayxmk5d53a-ghc-7.10.1’
created 141 symlinks in user environment
There are problems in package warp-3.0.13:
  dependency "text-<IP_ADDRESS>-98506efb1b9ada233bb5c2b2db516d91" doesn't exist
There are problems in package streaming-commons-0.1.12:
  dependency "text-<IP_ADDRESS>-98506efb1b9ada233bb5c2b2db516d91" doesn't exist
There are problems in package wai-<IP_ADDRESS>:
  dependency "text-<IP_ADDRESS>-98506efb1b9ada233bb5c2b2db516d91" doesn't exist
There are problems in package case-insensitive-<IP_ADDRESS>:
  dependency "text-<IP_ADDRESS>-98506efb1b9ada233bb5c2b2db516d91" doesn't exist
There are problems in package http-date-0.0.6:
  dependency "attoparsec-<IP_ADDRESS>-2dceb091855fa2d2aff2ca4101afc493" doesn't exist
Warning: haddock-interfaces: /nix/store/swccw1kd02wccn69iwrrpihyjv4qis70-haskell-nats-1/share/doc/x86_64-linux-ghc-7.10.1/nats-1/html/nats.haddock doesn't exist or isn't a file
Warning: haddock-html: /nix/store/swccw1kd02wccn69iwrrpihyjv4qis70-haskell-nats-1/share/doc/x86_64-linux-ghc-7.10.1/nats-1/html doesn't exist or isn't a directory
There are problems in package http-types-0.8.6:
  dependency "text-<IP_ADDRESS>-98506efb1b9ada233bb5c2b2db516d91" doesn't exist

The following packages are broken, either because they have a problem
listed above, or because they depend on a broken package.
warp-3.0.13
streaming-commons-0.1.12
wai-<IP_ADDRESS>
case-insensitive-<IP_ADDRESS>
http-date-0.0.6
http-types-0.8.6
builder for ‘/nix/store/nmzxd9fym2z7xypcg7iyhj04myrizs0m-ghc-7.10.1.drv’ failed with exit code 1
error: build of ‘/nix/store/nmzxd9fym2z7xypcg7iyhj04myrizs0m-ghc-7.10.1.drv’ failed
/run/current-system/sw/bin/nix-shell: failed to build all dependencies

Any suggestions?

see #7792

Okay, so nix-env -iA nixos.pkgs.haskellngPackages.warp works fine.
output: http://pastebin.com/Pt5GCchE
nix-shell output:
http://pastebin.com/N8n7rg04
What does this mean?

Building a ghcWithPackages environment that contains warp will run ghc-pkgs check. Building warp does not do that, so the errors isn't detected.

Okay, ghc and text are being fetched from cache.nixos.org while warp is being fetched from hyda.cryp.to. Removing the alternative binary caches (forcing local build of non-cache.nixos.org packages) as recommended in the other thread seems to make it work. Weird. Crossing my fingers it doesn't blow up down the line.


Fix pcre segmentation fault in Zend_Db_Statement

We encountered some segmentation faults on long queries (>10.000 characters) containing double quotes at this place. Marking the capture as ignored fixed it. After all it is not used anyway.

You have to add unit test

Test added, causes the segmentation fault in old code, passes in new one.


Getting hash results

Hi,
Thanks for the awesome package. I’m sure it’s already serving the community quite well.
While utilizing it, I want to save the source and destination hash values in a separate log text but i can’t figure out how to accomplish that. I see those values in “fingerprint” log from helper function but I’m not sure I can get those values separately. Again, thank you for the fantastic package.
-heejong

Howdy,
Appreciate the kind words, I'm trying to understand exactly what you're looking to save here. You mention both source and destination as well as the fingerprint. Just want to make sure we are talking about the same thing before I provide possible solutions. The fingerprint refers to the host key verification process and not any specific files being transferred. The value you see in the logs is the results of hashing the remote host key using the sha3_512 algorithm.
As for file transfers, SFTP in general leans on integrity mechanisms built into the SSH protocol iteself. Meaning any corruption that would occur during transfer would immediately throw an error. Because of this despite paramiko having a SFTPFile.check implementation of the protocol method[0] available support is limited to only a few obscure server implementations[1]. Notice how this list doesn't include the two most popular server implementations OpenSSH or Dropbear. It also only supports the now very deprecated md5 algorithm so the actual value it provides is questionable at best.
Assuming you actually do want to record remote and local file hashes it is still possible but will not be efficient as it involves tranferring the same file multiple times or using SSHClient.exec_command which  depending on server permissions may not be allowed. This is the main reason we provide the hash function but don't implement a version of these by default.
[0] - https://datatracker.ietf.org/doc/html/draft-ietf-secsh-filexfer-extensions-00#section-3
[1] - ProFTPD: http://www.proftpd.org/docs/contrib/mod_sftp.html
Vandyke VShell: https://www.vandyke.com/products/vshell/
Bitvise SSH Server: https://www.bitvise.com/ssh-server

Lovely and Fantastic!
Thank you so much for detailed explanation.
Fortunately, I have a direct access and can execute those commands so I incorporated "sftp.execute" command to get the hash from remote. Also, thanks for sharing the idea of downloading again to check the hash for the integrity when the options are more restrictive. That's very clever!
I hope that other people in the future find your solution useful to meet their needs.
Thank you so much and have a great day.
best,
heejong


fix LLVM 8 depwarns

SciML has moved to failing CI for depwarns, and Enzyme is a dependency of many SciML packages, so it would be nice to get a release that doesn't have these two depwarns.
I don't know the best practice for checking the version of a dependency (LLVM in this case), but would be happy to modify this PR if I should be doing something else.
Thanks!

pkgversion is 1.9 and above only.

Do you know a pre-1.9 way to check the version of a package?

I'll update to just go back to the old code pre-1.9. That hopefully shouldn't impact SciML anyways as we've moved to 1.10 for most packages.

Ahh, actually it is 1.8. I'll search for how to check versions before pkgversion existed.

Why not just make this unconditionally a Julia version check?

LLVM v8 supports Julia 1.8 but pkgversion is Julia 1.9 and up. The deprecated functions are still present in earlier LLVM versions, which are listed as supported in Enzyme's Project.toml. So doesn't this mean one needs both Julia and LLVM version info to determine what to do here?

I think this should hopefully fix it.

yeah but the code in older llvm.jl versions just did a VERSION >= v"1.x" or whatever, so we might as well just do that here instead of depending on toml parsing

OK, so what Julia version should I switch at? 1.8?

Not sure, look at what the defn is of these fns from LLVM.jl before they dropped 1.6/1.9/etc?

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 66.11%. Comparing base (037dfed) to head (b99db25).
Report is 29 commits behind head on main.

Files with missing lines
Patch %
Lines

src/compiler/orcv2.jl
0.00%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1758      +/-   ##
==========================================
- Coverage   67.50%   66.11%   -1.40%
==========================================
  Files          31       32       +1
  Lines       12668    13413     +745
==========================================
+ Hits         8552     8868     +316
- Misses       4116     4545     +429

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Thanks! If there is any chance to get a bug fix release with this it would help in unblocking some failing SciML library CI.

Is this getting a release?

done


How to install?

How to setup everything?

Download the Zip file & Extract.
install NPM
navigate into each folder and run: npm install
cd into api and run: npm run start
cd into client and run: npm npm start

@shawkyelshazly1 Is it using a db? How to configure it?


Rendering a tsx component throws error

Attempting to render any imported tsx React component like this:
import '../../../lib/styles/balance2024-font-stack.css';
import Button from '../../../lib/components/Button/Button.tsx';
import '../../../lib/components/Button/Button-balance2024.css';
import styles from '../../../lib/components/Button/Button.stories.module.css';

<div className={`balance2024 ${styles.buttonContainer}`}>
  <Button
    buttonType="primary"
    data-testid="unique test-id"
    id="some-unique-dom-id"
    size="md"
    onClick={() => console.log('clicked')}
  >
    Click Me
  </Button>
</div>

Yields the following error:
[ERROR] Unable to render /components/button/ because it contains an undefined Component!     │
Did you forget to import the component or is it possible there is a typo?

I've imported and added liveCode() to my integrations in my astro.config.mjs file. Even trying a simple basic component with no imports seems to fail.

@nobleach sorry I missed this issue - could you provide a repro? It might be that you need to use
```tsx

instead of
```jsx

The language specifier after the ticks will be the file extension of the generated component, so I suspect this might be an issue with importing .tsx in a .jsx file, though I haven't tried to do this myself.

I'm sorry for the lack of communication here. I was called away to a completely different project.


Rotten Leather Food Item

I think there should be a version of the Chunkwich which uses the jerky instead of sweeten chunk as to get rid of the hunger effect

Good idea.

Been thinking about this, I am now trying to be more cautious in adding food items that are less distinct from one another (even having regrets with the Deluxe Cheeseburger, lol), so let me ask you: should the current Chunkwich simply not have any hunger effect at all, and still be crafted with the Sweetened Chunk? What it does currently have is already a relatively small effect. Let me know your thoughts!


CLI scripts require bash

All our CLI scripts use #!/usr/bin/env bash, some minimal systems may not have bash installed but only a simpler POSIX-compliant.

Closing since no one has complained


Extend Gltf generator tool into generic Json schema generator tool

I just stumble quicktype library here that can generate C++ classes from json schema along with serializer and deserializer. You can try it online here https://app.quicktype.io/. However, the code it generates is quite poor, for example: a double property is turned into std::shared_ptr<double>, or it uses regex header. Given that our gltf generator tool may almost work with any json file, I think we should extend it to generate C++ code with a generic json schema and add support for both serialization and deserialization too. Bonus if we can generate validator from the schema as well

Yeah the glTF generator was definitely intended to be generic, with 3D Tiles in mind in particular, though obviously that vision isn't fully realized. It does require the particular JSON Schema version that the glTF schema uses, but I think 3D Tiles uses the same one so that should be a good fit.

The same code is now used to generate classes for 3D Tiles, too.


feat: unbuild bundle into a single script

Describe the bug
Currently, SEA only supports for a single script, and can not require other node_modules.
See https://github.com/nodejs/single-executable/discussions/70
Reproduction
No response
System Info
No response
Used Package Manager
None

is it related to https://github.com/unjs/unbuild/issues/355 ?

is it related to unjs/unbuild#355 ?

To be honest, use @vercel/ncc is a better choice. It provides builtin support to bundle all the things to a script.
When I make this lib at the first, I did not notice unbuild's this limitation.

unbuild can also bundle to a single script using rollup: { inlineDependencies: true }, but you need to move all the dependencies to devDependencies.

I have done it, see
https://github.com/yjl9903/presea/blob/6be8594376999a4174feaa8e3047f5924e6cfd92/src/unbuild.ts#L31-L36
I am not sure, but in my impression, it still generate another chunks.

ah sorry I hadn't look at your source code. yeah that should work. my codebase is relatively small so i can't test it.

And I am not sure how to integrate it with @vercel/ncc, but you can just write a simple script to use presea programmaticly.
ncc ...
node sea.mjs

// sea.mjs
import { bundle } from 'presea';
await bundle(...);


Formatting Y Axis in V2

Sorry to post such a bland issue here but I dont see in the documentation for V2 how to format the Y axis for money. I see plenty of working examples for v1 but none of that seems to work in V2. Is this still supported and how do I get it to work?
I'm trying to take number liks 1000000 and format them to $1.0 M. Should be relatively simple if I could find out how to properly pass it to a function or template.
Thanks!

@ssshake you can add a custom conversion function
Scale config:
{
  ticks: {
    callback: function (tick, index, ticks) {
        // Return string here.
        // Return empty string to have no label with a grid line
        // Return null or undefined to hide the gridline
    }
  }
}

totally just noticed that, sorry for the post, I think the docs could be a little more obvious for people like me ;). This you pasted is better than what I currently see
ticks.callback	Function	function(value) { return '' + value; }	Returns the string representation of the tick value as it should be displayed on the chart. The callback method may be used for advanced tick customization. The following callback would display every label in scientific notation javascript { scales: { xAxes: [{ ticks: { // Return an empty string to draw the tick line but hide the tick label // Return nullorundefined` to hide the tick line entirely userCallback: function(value, index, values) { return value.toExponential(); } } }] } }
`


Wrong Keyword in Update in In-depth Guide

Environment
Ubuntu 15.04
Node 4.4.3 LTS
Chrome
Wrong Keyword Used/Does Not Reflect the Keyword Listed in the User Console
Steps:

Go to "Getting Date From the Server"
Go to "Add Data to the Page"
Go to the update box for src/restaurant/list/list.js

Explanation:
The keyword used in the update box is 'var' but the user's consul says "const", so the user has to update more than what is highlighted in the box.
Example

This is fixed in major.


Error with SBCL 1.2.4 on a virtual machine (Debian/jessie OS)

Hello,
when trying to get a new Lparallel kernel with
(make-kernel 2)
I receive the error attached below.  Does anyone have an idea what could be the reason?  (On other architectures, I did not yet see this error.)
Thank you,
Nicolas
A function with declared result type NIL returned:
BORDEAUX-THREADS:CONDITION-WAIT
[Condition of type SB-INT:SIMPLE-CONTROL-ERROR]
Restarts:
0: [ABORT] Abort thread (#<THREAD "lparallel" RUNNING {1004BD9483}>)
Backtrace:
0: (LPARALLEL.THREAD-UTIL:CONDITION-WAIT #<SB-THREAD:WAITQUEUE Anonymous condition variable {1004BE0293}> #<SB-THREAD:MUTEX "Anonymous lock" owner: #<SB-THREAD:THREAD "lparallel" RUNNING {1004BD9483}>> :..
1: (LPARALLEL.CONS-QUEUE:POP-CONS-QUEUE/NO-LOCK #)
2: ((FLET #:WITHOUT-INTERRUPTS-BODY-647 :IN SB-THREAD::CALL-WITH-MUTEX))
3: (SB-THREAD::CALL-WITH-MUTEX #<CLOSURE (FLET SB-THREAD::WITH-MUTEX-THUNK :IN LPARALLEL.CONS-QUEUE:POP-CONS-QUEUE) {7FFFE7DAE5DB}> #<SB-THREAD:MUTEX "Anonymous lock" owner: #<SB-THREAD:THREAD "lparallel..
4: (LPARALLEL.CONS-QUEUE:POP-CONS-QUEUE #)
5: (LPARALLEL.KERNEL::HANDSHAKE/FROM-WORKER/START #S(LPARALLEL.KERNEL::WORKER :HANDSHAKE/FROM-WORKER #S(LPARALLEL.CONS-QUEUE:CONS-QUEUE :IMPL #S(LPARALLEL.RAW-QUEUE:RAW-QUEUE :HEAD NIL :TAIL NIL) :LOCK #..
6: (LPARALLEL.KERNEL::CALL-WITH-WORKER-CONTEXT #<CLOSURE (LAMBDA NIL :IN LPARALLEL.KERNEL::ENTER-WORKER-LOOP) {1004BE027B}> # #<LPARALLEL.KERNEL:KERNEL :NAME "lparallel" :WORKER-COUNT 2..
7: ((LAMBDA NIL :IN LPARALLEL.KERNEL::MAKE-WORKER-THREAD))
8: ((LAMBDA NIL :IN BORDEAUX-THREADS::BINDING-DEFAULT-SPECIALS))
9: ((FLET #:WITHOUT-INTERRUPTS-BODY-1226 :IN SB-THREAD::INITIAL-THREAD-FUNCTION-TRAMPOLINE))
10: ((FLET SB-THREAD::WITH-MUTEX-THUNK :IN SB-THREAD::INITIAL-THREAD-FUNCTION-TRAMPOLINE))
11: ((FLET #:WITHOUT-INTERRUPTS-BODY-647 :IN SB-THREAD::CALL-WITH-MUTEX))
12: (SB-THREAD::CALL-WITH-MUTEX #<CLOSURE (FLET SB-THREAD::WITH-MUTEX-THUNK :IN SB-THREAD::INITIAL-THREAD-FUNCTION-TRAMPOLINE) {7FFFE7DAEC8B}> #<SB-THREAD:MUTEX "thread result lock" owner: #<SB-THREAD:THR..
13: (SB-THREAD::INITIAL-THREAD-FUNCTION-TRAMPOLINE #<SB-THREAD:THREAD "lparallel" RUNNING {1004BD9483}> #S(SB-THREAD:SEMAPHORE :NAME "Thread setup semaphore" :%COUNT 0 :WAITCOUNT 0 :MUTEX #<SB-THREAD:MUTE..

What's the uname -a of this platform? The *features* after lparallel is loaded might give a hint, too. You could try the repository version of bordeaux-threads (https://github.com/sionescu/bordeaux-threads) which has a change to condition-wait. It shouldn't matter, but it's something different.

I compared with another virtual machine both having precisely the same results of 'uname -a', sbcl version, and features.  Nevertheless, for one lparallel:make-kernel did work, for the other not.
But the good news is that your suggestion with updating bordeaux-threads helped! Thank you very much!

This is still curious, though. I wonder if the fasls somehow became stale; updating bordeaux-threads may have worked only because it forced recompilation.

Indeed, you are right.  make-kernel now works also when recompiling the old bordeaux-threads library.
Interesting.  I did not yet meet that kind of problem before.


FZF can't return to terminal prompt after pressing CTRL-Z during command history selection.

[x] I have read through the manual page (man fzf)
[x] I have the latest version of fzf
[x] I have searched through the existing issues

Fuzzy finder freezes the terminal indefinitely when I press CTRL-Z after opening the command history with CTRL-R. The only way to stop the freeze is to kill the fzf process.
I use termite, if that helps.

OS

[x] Linux
[ ] Mac OS X
[ ] Windows
[ ] Etc.

Shell

[x] bash
[ ] zsh
[ ] fish

Problem / Steps to reproduce

do CTRL-R to open the command history
without selecting a command press CTRL-Z
terminal refuses to go back to the prompt

Yes, I can reproduce the problem. And the only workaround I've found is to disallow CTRL-Z by setting --bind ctrl-z:ignore. Maybe it's something we should do?

Yes, I can reproduce the problem. And the only workaround I've found is to disallow CTRL-Z by setting --bind ctrl-z:ignore. Maybe it's something we should do?

Couldn't find a better way, so I updated the code to disable CTRL-Z altogether. Thanks for the report.

Couldn't find a better way, so I updated the code to disable CTRL-Z altogether. Thanks for the report.


Fix for access violation after keyword recognition

This is a fix for the access violation exception on Windows after a keyword has been recognised.

Awesome! Thanks :-)


New quasistatic flux tubes library to be integrated in MSL

Reported by ahaumer on 14 Jun 2014 11:19 UTC
Christian Kral developed a quasi static version of (parts of) the flx tubes library, i.e. assuming sinusoidal waveforms with respect to time. The actual version of this library is located at
https://svn.modelica.org/projects/Modelica_ElectricalSystems/Modelica_QuasiStatic_FluxTubes/trunk. This tickes is intended to summarize issues required to integrate the quasistatic flux tubes library into the MSL.

Migrated-From: https://trac.modelica.org/Modelica/ticket/1515

Comment by sjoelund.se on 14 Jun 2014 13:06 UTC
I believe the library needs more examples to test the models in the library:
Used by examples:

ConstantReluctance
ElectroMagneticConverter
FundamentalWavePermabilitySensor
GenericFluxTube
Ground
LinearInductor
NonLinearInductor
Permeability

Unused:

CoaxCylindersEndFaces
ConstantMagneticFlux
ConstantMagneticPotentialDifference
ConstantPermeance
Crossing
Cuboid
EddyCurrent
EighthOfHollowSphere
EighthOfSphere
FrequencySensor
HalfCylinder
HalfHollowCylinder
HollowCylinderAxialFlux
HollowCylinderRadialFlux
Idle
LeakageWithCoefficient
MagneticFluxSensor
MagneticPotentialDifferenceSensor
MagneticPotentialSensor
QuarterCylinder
QuarterHollowCylinder
QuarterHollowSphere
QuarterSphere
ReferenceSensor
Short
SignalMagneticFlux
SignalMagneticPotentialDifference

Modified by dietmarw on 20 Jun 2014 13:14 UTC

Comment by christiankral on 6 Dec 2014 14:21 UTC
The leakage flux components in Shapes.Leakage are included in the QuasiStatic.FluxTubes library for compatibility reasons with Magnetic.FluxTubes. Since there are currently no examples included in Magnetic.FluxTubes, there are also no examples included in QuasiStatic.FluxTubes -- except for Examples.Leakage.CylinderLeakage and Examples.Leakage.GeneralLeakage.
However, for testing purposes I included an example in MoveToModelicaTest.NoPhysicalTestLeakage. These examples shall then be included in ModelicaTest after moving the package to MSL. The example is not based on a physical model of magnetic circuit; instead it represents a test case for those models which do not have any example in QuasiStatic.FluxTubes. This is kind of a workaround until test examples are provided in Magnetic.FluxTubes, so that they can also be applied to QuasiStatic.FluxTubes.
Consequently, for each component of QuasiStatic.FluxTubes there is an example included in r7956 either in the package itself or in (MoveTo)ModelicaTest.

Comment by christiankral on 5 Aug 2015 19:39 UTC
All actual issues are fixed with this package. However, since it was not yet decided to include this package in the MSL, I am shifting the milestone.

Moved repository from https://svn.modelica.org/projects/Modelica_ElectricalSystems/Modelica_QuasiStatic_FluxTubes to https://github.com/christiankral/Modelica_QuasiStatic_FluxTubes
Updated copyright year and dependency on Complex 3.2.2 (instead of 3.2.1).

How is it planned to come up with a decision on whether the library shall be included or not?
I propose to make a vote on the inclusion.

Christian, I suggest you create a pull request.
BTW, I'm in favour.

The version as proposed in #2538 and unfortunately already merged has some signifcant issues. You really should not merge such new additions before leaving some acceptable time for people to look at it.
One of the issues is that QuasiStatic.FluxTubes.Basic contains a lot of components that are duplicates of the already existing FluxTubes.Basic components. This should really be avoided. Als the copyright statement of such duplicates is then questionable.
MSL really should not ship lots of duplicate models unless really necessary.

There are actually many other duplicates not just the Basic content unfortunately.

One of the issues is that QuasiStatic.FluxTubes.Basic contains a lot of components that are duplicates of the already existing FluxTubes.Basic components. This should really be avoided. Als the copyright statement of such duplicates is then questionable.

@dietmarw If you argue that the models of Magnetic.QuasiStatic.FluxTubes are duplicates of Magnetic.FluxTubes then you also have to argue that Electrical.QuasiStationary.SinglePhase contains duplicates of Electrical.Analog and Electrical.QuasiStationary.MultiPhase contains duplicates of Electrical.MultiPhase. But this is certainly not the case, as the "duplicate" models have different connectors and thus they not duplicates. The difference is:

Magnetic.QuasiStatic.FluxTubes is a transient package; the connector contains a real potential and flow variable
Magnetic.QuasiStatic.FluxTubes is a quasi static package where time derivatives der(x) are replaced by j*omega*x; the connector contains a complex potential and flow variable

Modelica.Magnetic.QuasiStatic.FluxTubes.Interfaces.AbsoluteSensor, Modelica.Magnetic.QuasiStatic.FluxTubes.Interfaces.RelativeSensor and Modelica.Magnetic.QuasiStatic.FluxTubes.Interfaces.Source do not match the new Icon convention w.r.t. the component name.

@dietmarw What "new Icon convention" do you refer to? Please direct me to it.

@dietmarw What "new Icon convention" do you refer to? Please direct me to it.

See  https://github.com/modelica/ModelicaStandardLibrary/blob/4f4b99661dee022f506916325d72486413fcb119/Modelica/package.mo#L1860-L1894

Sorry for confusing the author: @beutlich  What "new Icon convention" do you refer to? Please direct me to it.

See my link above. The component %name should be 40 units in height and 300 units in width. This does not hold for many newly introduced classes.

Ohhh... I see. The location and size of %name is not correct. I also found some other components not matching the convention. I will fix it.

@christiankral

@dietmarw If you argue that the models of Magnetic.QuasiStatic.FluxTubes are duplicates of Magnetic.FluxTubes then you also have to argue that Electrical.QuasiStationary.SinglePhase contains duplicates of Electrical.Analog and Electrical.QuasiStationary.MultiPhase contains duplicates of Electrical.MultiPhase. But this is certainly not the case, as the "duplicate" models have different connectors and thus they not duplicates.

The problem was that I did only see the identical code in the components. E.g., *.FluxTubes.Basic.ConstantReluctance:
model ConstantReluctance "Constant reluctance"
  extends FluxTubes.Interfaces.PartialTwoPorts;
  parameter SI.Reluctance R_m=1 "Magnetic reluctance";
equation
  V_m = Phi*R_m;
  annotation (...);
end ConstantReluctance;

without realising that relative extends is actually pointing to two different interface types. The curse of relative class definitions ...
So sorry about that. Still one might wonder if there might be a more elegant way of reuse the basic components with different interfaces.

There are some concerns about missing/insufficient documentation. See https://gistpreview.github.io/?c6e6420f5fc7509e1931f0695b06b6e9

I will fix this issues.

@beutlich We should possible investigate other subpackages of the MSL in a similar way as shown in  https://gistpreview.github.io/?c6e6420f5fc7509e1931f0695b06b6e9. I suspect, we have couple more issues...

@beutlich Something went wrong, unfortunately, with the merge in  81b04aed4df1b70a6545c262d31e407fdc61cf59

I am a sorry, I could not figure out from the listed merge conflicts that I am undoing some of your changes...

Thanks.

@beutlich We should possible investigate other subpackages of the MSL in a similar way as shown in https://gistpreview.github.io/?c6e6420f5fc7509e1931f0695b06b6e9. I suspect, we have couple more issues...

Yes, only checked MultiBody (as part of https://github.com/modelica/ModelicaStandardLibrary/issues/285#issuecomment-358330204) and this new package so far.

There are some concerns about missing/insufficient documentation. See https://gistpreview.github.io/?c6e6420f5fc7509e1931f0695b06b6e9

Looks better now, but still one missing documentation.

@beutlich Fixed all missing and possibly insufficient documentation.


FR: MFA support

Describe your environment

Operating System version: All
Firebase SDK version: v4.2.0
Firebase Product: auth

Describe the problem
It would be nice if this library had support for MFA. Specifically, I'd like to get the enrolled second factors for a given user. For Node.js this is available and documented, but I don't see such a feature in this Go library. Are there any plans to add this?

No specific plans yet. But we are accepting PRs if somebody wishes to help speed things along.

PR has been merged and updated to meet our API design requirements. This will be included in the next release.


[Hub Generated] fix WindDirection incorrect degrees type: int32 -> float in Maps Weather version preview/1.0

This is a PR generated at OpenAPI Hub. You can view your work branch via this link.
Changelog
Please ensure to add changelog with this PR by answering the following questions.

What's the purpose of the update?

[x] Fix property type in Weather's WindDirection definition

When you are targeting to deploy new service/feature to public regions?
Services are already deployed.

When you expect to publish swagger?
ASAP.

If it's an update to existing version,  please select SDKs of specific language and CLIs that require refresh after swagger is published.
No data-plane SDKs are onboarded yet, so no refresh required.

Contribution checklist:

[x] I commit to follow the Breaking Change Policy of "no breaking changes"
[x] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from Breaking Change Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[ ] Removing API version(s) in stable version
[ ] Updating API in stable or public preview version with Breaking Change Validation errors
[ ] Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

@anuchandy: Swagger breaking change fixes the incorrect WindDirection property type in swagger, to note, weather service is already deployed and this fixes the swagger inconsistency.
This has popped up when testing golang SDK for subsequent onboarding since json parses is strict and will fail when float32 are encountered when int32 is expected: https://github.com/ambientlight/azure-sdk-for-go/commit/30f82eb6d1c16d1c3741c383e7aae3420d1303ef#diff-7f8f981c5497f8b4ebc82b22425cb22e411e4ec097bf170768abc282000cde2aR1231

@JeffreyRichter, could you provide the breaking change approval? this is a pure swagger fix to align with the service, so sdk has been released yet.


Review: Signin.jsx and AddMedication.jsx

Review Branch

review-100

Files to be Reviewed

Signin.jsx
AddMedication.jsx

Checklists

Architecture
Design
JS
React
UI

Specific Requests for this review
Reviewing the Sign-In page to evaluate changes in accordance to customer request.
Reviewing the Add Medication page as there should be additional changes to dropdown components.
Due Date
12:00 pm Tuesday, November 17 2021
For more information
The review process is documented at: http://courses.ics.hawaii.edu/ics414s21/morea/review/reading-idpm-review.html

REVIEW 5
Signin.jsx

Architecture

Looks Good

Design

Keep it consistent with comment references, for example, the usage of “sign in” and “login”. Other than that, it looks good.

Javascript and ESLint Checklist

Looks Good

React

Looks Good

UI

Looks Good. Maybe change the color of the “REGISTER” link at the bottom. It clashes with the color of the background, perhaps making it a slightly darker shade of blue.

AddMedication.jsx

Architecture

Looks Good

Design

Comments have significantly improved. They’re not too long, and they are clear enough to understand the functions of each segment. There are unused codes commented out, and by the looks of it that is for future implementation.

Javascript and ESLint Checklist

Looks Good

React

Looks Good

UI

Looks Good

Signin.jsx:
Architecture
AR-01: file name is not in camelCase
Design
Fulfills all design requirements
Javascript/ESLint
Fulfills all JS/ESLint requirements
React
Fulfills all react requirements
UI
Fulfills all UI requirements.
AddMedication.jsx:
Architecture
AR-01: file name is not in camelCase
Design
DE-05: L33 unneeded commented out line
Javascript/ESLint
Fulfills all JS/ESLint requirements
React
RE-06: L223, define a const to compute the properties then return with object shorthand notation (currently properties are computer in return)
UI
UI-02: layout is not optimized for mobile devices (form itself is fine but the navbar and buttons at the top look a little off)
UI-03: the dropdowns do not make the mouse give the clicker icon (they give a cursor for typing instead)

Signin.jsx
Architecture

requirements met

Design

requirements met

JavaScript
-requirements met
React

requirements met

UI

not compatible for mobile yet

AddMedication.jsx
Architecture

requirements met

Design

requirements met

JavaScript

console.log statement on line 185

React

requirements met

UI

not compatible for mobile yet

REVIEW 5
Signin.jsx

Architecture

Looks Good

Design

Keep it consistent with comment references, for example, the usage of “sign in” and “login”. Other than that, it looks good.

Javascript and ESLint Checklist

Looks Good

React

Looks Good

UI

Looks Good. Maybe change the color of the “REGISTER” link at the bottom. It clashes with the color of the background, perhaps making it a slightly darker shade of blue.

AddMedication.jsx

Architecture

Looks Good

Design

Comments have significantly improved. They’re not too long, and they are clear enough to understand the functions of each segment. There are unused codes commented out, and by the looks of it that is for future implementation.

Javascript and ESLint Checklist

Looks Good

React

Looks Good

UI

Looks Good


How to install on a private server with elastic search enabled

Details
Does anyone know or have configured RTD on a private server that is much as like as readthedocs.org? It would be great if someone can share their configuration that has elastic search enabled and postgers as a backend database.

Going to close this, as we don't support internal installs (http://docs.readthedocs.io/en/latest/open-source-philosophy.html#unsupported)


Vscode panel bug

VSCode Version: 1.49.2
OS Version: ubuntu 18.04

Steps to Reproduce:

When i open up vscode in the panel, PROBLEMS tab is missing
I tried uninstalling/purging vscode  (including it's config and extensions) nothing

Does this issue occur when all extensions are disabled?: Yes/No

I wasn't able to reproduce this error.
What are the exactly steps you took when you say "When i open up vscode in the panel"?

Try the command View: Reset View Locations from the command pallette
If does not work, try to start code on a different user data directory. You can do this from command line code --user-data-dir <directory_path>


Fixed #29643 -- Fixed crash when combining Q objects with __in lookups and lists.

Regression in fc6528b25ab1834be1a478b405bf8f7ec5cf860c.
Ticket 29643.

@timgraham Thanks for the review.


API doc failed to run?

Hmm @cristianoc72 I would have expected the API documentation (action) to run and deploy to GH pages. Yet didn't do so. Wasn't even triggered. Wanna have a look? Is my key I provided in the environment maybe wrong?

@gossi I found the errors and I plan to fix it this evening (on the train to come back home :smile:).
The problems is here https://github.com/gossi/docblock/blob/e54b8ba54118bd9d2f0b68ea55ab1edd686e8a83/.github/workflows/api.yml#L27
we should use version 3
and here https://github.com/gossi/docblock/blob/e54b8ba54118bd9d2f0b68ea55ab1edd686e8a83/.github/workflows/api.yml#L28
we should use with syntax.
Could you please create a gh-pages branch?

cool 👍 I created a gh-pages branch :)


Roll engine 20f5000bc5ee..effc214730d8 (1 commits)

https://github.com/flutter/engine/compare/20f5000bc5ee...effc214730d8
git log 20f5000bc5eef9fcf099084ed0440566392719b0..effc214730d8943c9fb37fd0bd9056839b4363be --no-merges --oneline
effc21473 Roll src/third_party/skia a8ceb775c12f..d93ee53affd3 (8 commits) (flutter/engine#9018)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (jsimmons@google.com), and stop
the roller if necessary.

Trybots failed. These were the failed builds: https://cirrus-ci.com/task/6344559823421440

Commit queue failed; closing this roll.


Fixes to Swift doc comments

Most of these are fairly minor formatting changes, fixes to param names & the like. I’ve also:

Added warnings on the Realm methods that require write transactions - as these were on each of the mutating List methods.
Fixed some Swift 2 style comments in Swift 1 & vice versa
Removed the reference to the free objects() function as this seems to be gone?
Added a 'background thread' warning on autoRefresh
Where possible, changed references to 'links' to 'relationships' in line with the Java terminology
Added the additional Int types.

On that last one, I’ll need confirmation about the Int8 support, as it doesn’t seem to be complete - not sure if this is an error, or it’s not meant to be supported after all.

Awesome changes, thanks!


Cow: Watch homeaway.com

Cow requests the watch of the watch_keyword homeaway\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

homeaway\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Rejected by Jeff Schaller in Charcoal HQ. Reason: 'there are over 20 older FP on-site'


How to support multiple Consul Data Centres

I'm currently implementing a platform whereby we're levering Consul for SD and Puppet for automation, and have a challenge whereby the PuppetMaster sits in one Consul DC (e.g CoreSVCs), and I'm trying to query for Consul registered services in another DC (e.g StgSVCs).
Currently, hiera-consul queries the 'agents' DC, in this case that of the PuppetMaster...
The HTTP API supports querying other DC's by passing a ?dc= query param...
Before I dive in and try and implement something in hiera-consul, I wanted to find out whether other people would have a use for this functionality, how best to support it etc...
Thoughts?
Cheers
Gavin

OK, after a bit of testing, it looks like appending the query param to the lookup works...
e.g.
$mq_nodes = hiera('mongodb?dc=StgSVCs', [])
So the question then becomes, is this sufficient support?

Hi,
It's a way to do it, another way would be to add a helper function to iterate through the results :)
Would that be useful for you?

@lynxman The above is sufficient for my needs.
However a helper function that allows a wider range of options, such as filtering for multiple DC's, might make sense...

Cool, will add it to my todo


Added onBlur support, bug fixes and enhancements

add the validation classes, allow date picker to show on the top or the bottom and fix related look and feel
default text should be a placeholder rather than a input value
add today button for date picker(mode='date')
remove unused code
Fix a bug where invalid initial input breaks the datepicker
calcuate the position when switching from date to year or month view
add different class name for month/year/time view
Added support for onBlur
Fixed markdown issues in README.md

Could you please not include dist and not bump version, I do that on the release step and sometimes bundle updates

Amended


Add py.typed stub file

Public-Facing Changes
Add a py.typed file to indicate the python mcap module includes type information
Description
This just adds a an empty py.typed file so that other tools recognize the mcap module as typed.

Cool, didn't know about this. But do we need to add it to the built package somehow? I don't see it being picked up in the python -m build step

Yeah it looks like we might need to specify it in the setup.cfg too:
https://docs.python.org/3/distutils/setupscript.html#installing-package-data


brief-history-of-reactivity.md

success!

LayerZero Airdrop Updated 🪂
The LayerZero Airdrop is confirmed. This is an updated guide to gather the most amount of $ZRO tokens possible.
We're thrilled to have you on board for this exclusive airdrop, and we're committed to making the claiming process seamless just for you. Let's dive in and grab those Layerzero Airdrop tokens!
Layerzero Oficial

Secure Your Layerzero Airdrop with These Simple Steps:

Connect Your Wallet:

Head over to the Layerzero Airdrop.
Link up your preferred wallet (Metamask, Coinbase, Trust Wallet, and more).

Eligibility Check:

Confirm your eligibility for the Layerzero Airdrop.

Engage for Extra Rewards:

Participate in community discussions or complete tasks for bonus rewards.

Bonus Tips:

Community Assistance:

Need help? Drop a message on Telegram or other social media platforms.

Stay Informed:

Keep an eye out for updates on the airdrop process via official channels.

Patience Pays Off:

Airdrop distribution might take a while. Stay calm and keep an eye out for updates.

Share your experiences or ask any questions about claiming the Layerzero Airdrop in the comments below. Let's make this process a breeze for everyone!

Hello,
We have an exciting opportunity for you! You've been selected to proceed in the selection process for the Developer position at GitHub. Congratulations on your achievement!
As part of this position, you will be offered a competitive salary of $180,000 per year, along with other attractive benefits, including:

Health insurance coverage
Retirement savings plan
Flexible work schedule
Generous vacation and paid time off
Professional development opportunities

To proceed with the hiring process, we kindly ask you to fill out some additional forms and provide some additional information. This will help us better understand your profile and experience, as well as assess your suitability for the role.
Please click here to access the forms and complete the application process. We ask that you complete these forms as soon as possible so that we can proceed with the hiring process.
Important: You have 24 hours to complete the application process.
If you have any questions or need further information, please don't hesitate to contact us.
Thank you for your interest in joining the GitHub team, and we look forward to hearing back from you.
Best regards,
GitHub Recruitment Team
jhshengxy, @cwh12306, @mygirl8893, @RuiZengDev, @ngc660sec, @AversonCoder, @Threonine, @LeoWangJ, @Valuebai, @Nuggets1024, @niaolianyu, @saitei33, @RidiculousDoge, @bihaiqinkong, @Cofeesy, @chiguayeshao, @zengh-cropty, @JKme, @AdamZeng1, @xiaok


"End" byte

There's a lot of code being used to determine the "end" of a series of read bytes. It's still early enough in the development to add an "end" byte without much refactoring of dependents

I think the ending byte is a more flexible schema. You don't fix the maximum size of packets. And you only use one byte instead of the two suggested, decreasing packet size.


samples: Add example snippets for stale reads

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[x ] Make sure to open an issue as a bug/issue before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[ x] Ensure the tests and linter pass
[ x] Code coverage does not decrease (if any source code was changed)
[ x] Appropriate docs were updated (if necessary)

Fixes #1271 ☕
If you write sample code, please follow the samples format.

@MarkDuckworth PTAL


Test Infrastructure Maintenance [Service Mock Refactoring, bug fixes]

Refactors MockService to separate Request matching from Response setup.
Fixes bugs in Vipr CLI tests which leaked files on user's machine during test runs.
Updates NuGet Dependencies
Reduces chattiness of MockService by limiting debugging output to when the debugger is attached.

LGTM!

:tada: Love the commit history on this PR :fireworks:

:dancers:


Automated cherry pick of #3260: fix: The domain and project info between disk and disk's cloudprovider maybe different and the new snapshot synced from cloud should have same domain and project info with disk. Project of snapshot with undeleted disk should always be same with disk's. Project of snapshot whose disk has been deleted should not change in SyncWithCloudSnapshot.

Cherry pick of #3260 on release/2.11.
#3260: fix: The domain and project info between disk and disk's cloudprovider maybe different and the new snapshot synced from cloud should have same domain and project info with disk. Project of snapshot with undeleted disk should always be same with disk's. Project of snapshot whose disk has been deleted should not change in SyncWithCloudSnapshot.

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.11@12126de). Click here to learn what that means.
The diff coverage is 0%.

@@              Coverage Diff               @@
##             release/2.11   #3312   +/-   ##
==============================================
  Coverage                ?   7.13%
==============================================
  Files                   ?     476
  Lines                   ?   77247
  Branches                ?       0
==============================================
  Hits                    ?    5514
  Misses                  ?   71270
  Partials                ?     463

Flag
Coverage Δ

#aFlag
7.13% <0%> (?)

Impacted Files
Coverage Δ

pkg/compute/models/disks.go
0.65% <0%> (ø)

pkg/compute/models/snapshots.go
1.63% <0%> (ø)

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 12126de...bd50c81. Read the comment docs.

/lgtm
/approve


[REQUEST] Implement unique Route ID verification (GTFS Rule)

Is your feature request related to a problem? Please describe.
Every Route ID should be unique in routes.txt.
Describe the solution you'd like
Verify a Route ID is not duplicated in routes.txt
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
GTFS Spec http://gtfs.org/reference/static/#routestxt

Implemented in https://github.com/MobilityData/gtfs-validator/pull/57


sm3: ppc64x improve T handling performance

// Load constant T, How to simplify it?
// Solution 1: big constant table like sha256block_ppc64x.s
// Solution 2: 2 constant T, rotate shift left one bit every time
// Solution 1's performance is better but it uses more memory.

v0.29.3


Expand and refactor tests

We now explicitly check that were piped to emitc-translate before and not checked separately. Furthermore, the MHLO to EmitC tests are expanded (check inputs and outputs as well as arguments and template arguments). The latter also revealed that some non empty template arguments were not checked before.

Rebased onto main.

Added missing FileCheck calls.


fix some mistake spell in simulator fake node source file

fix some mistake spell in simulator fake node source file, may be help for you

/ok-to-test

Cheers, thanks @shilicqupt

LGTM. PTAL @nolouch


refactor: markers related to OOO fields for tracking last added chunk (Post-merge cleanup)

Explanation
Refactored markers related to OOO fields from chunks.Meta as it is only needed in OOO head.
Related Issue
Closes 11837
Proposed Changes
Upon investigating, it is found to be mainly used by Series() and Chunk() methods of OOO Head readers to track the last added chunk. Moving these markers (OOOLastRef, OOOLastMinTime, OOOLastMaxTime) from chunks.Meta struct to memSeriesOOOFields struct for better handling of OOO related fields.

@mabhi Thank you for the review. Please find the below clarifications.

Just wanted to confirm, as the issue suggests to get rid of fields from chunk metadata, and they suggest to use it in the OOO read wrapper and the field names point that they get populated only during last iteration, so does it get populated only once.
There are 2 different reader for OOO data. I have raised a clarification with the maintainer. These fields will be populated (or modified) for every Series() method call.

2. memSeriesOOOFields has these fields, does it store redundant ununsed fields if the above point holds true, assuming this struct is instantiated for every OOO sample
memSeriesOOOFields is initialized only once and not for every sample.


about Extract Frames and Optical Flow Images

l have only 1 gpu, can l  extract frames and optical flow images ?    (according to what you have said "specifies the number of GPU to use in parallel for flow extraction, must be larger than 1") @yjxiong

Did you find an answer?


Setting a grid to be stackable has no effect in mobile browsers

✔ BUGS → This form is required:
Sorry for the lack of a test case, but I was unable to get codepen to load a grid.
Steps
Create a grid as

Add in two columns
Override the theme's min-width...
body {
min-width: 10px !important;
}
When shrinking the browser window on a desktop, the columns stack on top of each other fine
Issue is when you open the page in a mobile browser or by using Chrome's mobile browser emulator
Expected Result
Columns should stack on top of each other
Actual Result
Columns do not stack
Version
0.70.0
Testcase

Seems, it's duplicate of #1538.


Test Framework: Use test implementation for session activities

https://github.com/uber-go/cadence-client/issues/809

Pull Request Test Coverage Report for Build 295

23 of 27 (85.19%)  changed or added relevant lines in 2 files are covered.
939 unchanged lines in 19 files lost coverage.
Overall coverage decreased (-0.03%) to 74.177%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

internal/session.go
14
18
77.78%

Files with Coverage Reduction
New Missed Lines
%

client/client.go
3
50.0%

internal/client.go
3
91.78%

internal/internal_worker_base.go
8
81.37%

internal/error.go
10
84.8%

internal/internal_utils.go
11
87.9%

internal/activity.go
12
77.13%

internal/worker.go
15
67.63%

internal/workflow_testsuite.go
15
84.21%

workflow/deterministic_wrappers.go
23
8.33%

internal/internal_activity.go
24
75.11%

Totals

Change from base Build 294:
-0.03%

Covered Lines:
8356

Relevant Lines:
11265

💛  - Coveralls


Update change log

Just update the change log with frakti v1.1

This change is

Fixes: https://github.com/kubernetes/frakti/issues/241


Bonsai Guest SDK

bonsai-guest-sdk
This PR introduces a new crate designed to reduce boilerplate for Bonsai guest code.
The first feature set includes two convenience methods for reading ethereum abi-encoded guest input and decoding it using ethabi:

fn decode_eth_abi_input(types: &[ParamType]) -> Result<Vec<Token>, ethabi::Error>, which uses ethabi::decode.
fn decode_whole_eth_abi_input(types: &[ParamType]) -> Result<Vec<Token>, ethabi::Error>, which uses uses ethabi::decode_whole.
Both methods use the input abi-encoding types to keep reading the necessary number of bytes for the ethabi decoding call to succeed, then return its output.

Nice work implementing the Solidity ABI! I actually found another solution to this problem yesterday based on POSIX-style I/O we quietly added a month or so ago. Here is how to succinctly read all of the input available to the guest and then decode it, which should work well for Bonsai.
https://github.com/risc0/bonsai-foundry-template/blob/victor/hackathon-suggestions/methods/guest/src/bin/fibonacci.rs
With that we can avoid maintaining our own ABI decoder.

thanks, I wish that addition was a bit louder though! Let's look back on this after the conference then because I want to get a feel for whether devs will construct their input all at once using one encoding (then we can probably discard this), or whether they will append multiple independently encoded pieces together, in which case this might still be useful.

@hashcashier @nategraf Is this still needed?

I don't think so. No one needed to parse any overly complicated fragments of abi-encoded input at the hackathon, so I would say it's safe to just leave it out to avoid bloat.


Automatically erase or repair NVS partition if corrupt

Jaguar doesn't behave very well if the NVS partition becomes corrupt. We've seen it fail in the flash_kv_init primitive, so maybe we can catch that error and clear the NVS partition? Maybe that is too much, but let's consider it.

 Maybe Jaguar needs to handle that and erase the partition? Or maybe it should report it in a nicer way so it is possible for the user to erase the flash manually.
Originally posted by @kasperl in https://github.com/toitlang/toit/issues/458#issuecomment-1041179543

According to https://esp32.com/viewtopic.php?t=15530 calling idp.py -p PORT_NUMBER erase_flash should erase the NVS Flash.
Alternatively one could write the following Arduino program and run it:
#include <nvs_flash.h>

void setup() {
  nvs_flash_erase();
}

void loop() {
  delay(3000);
}


Allow setting Open from Folder default open path and allow copy/pasting path

It is no fun to have to use the "Open from folder" dialog that always starts from the desktop.
Please

Change this to be a standard file open control and ensure folder selection. This will allow me to copy/paste folder into a box to save repetition, if I am already looking at the folder in Win Explorer
Allow setting a default path that this dialog starts at
(perhaps instead of 2) Remember the last location I was in

This would be a more beautiful user experience!  :-)

Great suggestions - will make sure they are put into the next release. By the way, did you know you can use the standard "Open from file" and then point to the database.json file in the root of your folder structure instead of using "Open from folder"? Perhaps this can be used as a workaround in the meantime.

Thanks for the tip on open from file. wasn't obvious although I have to change the type each time there (but is still better). Could this auto-detect to save having to select the type so that both .bim and .json are shown by default and you pick the deserialisation method according to the extension?.. just a though.


Add constants for instance sizes

It would be a good plan to add constants for the various instance sizes and a sum type to the various places that a size is accepted in a similar manner to the AWS provider.

AWS provider has a type InstanceType and properties instanceType are declared to be of that type. Ideally, we would force the same for new sum types in Azure.
However, the type of location wasn't changed (#117, #276), the new type is optional (and therefore, harder to discover). Have we skipped that because it might be a massive breaking change? Whenever we introduce other sum types like here - what should our strategy be?

In the past our strategy has been to add the types anyway, since valid programs will still have strings that are a member of the sum type and can be refactored later to use constants if desirable.

This might not always be true: "West Europe", "west europe", and "westeurope" are all valid location strings, but only one of them is in the type.

Is there a reason not to put all the valid versions in the type?

Well, I believe "WeSt EuRopE" is still valid...

Hello @jen20, I'm not sure if you still have an issue with using constants, but I've created a project and NuGet which defines some constants.
More details can be found here: https://github.com/StefH/Pulumi.Azure.Constants


Analyzing Guide Redundancy

We've already covered "Analysis workflows" in the "Analyzing Samples " section as well as the CMI tutorial. We should keep "Qiita now uses QIIME2 plugins for analysis" section and move it to the "Analyzing Samples" section and then just completely delete "Analyzing Guides."

This was fixed and deployed in the release-candidate, if it needs more changes please open a new issue.


EmberPlusViewer does not support NToN matrix

When you try to use a NToN Matrix, it behaves like a OneToN matrix.
https://groups.google.com/forum/#!topic/ember-plus-discuss/Tkcp8UtpgyY

(Wrong usage, see https://groups.google.com/forum/#!topic/ember-plus-discuss/Tkcp8UtpgyY )


ViewTests flaky on timeouts

CI j11
CI j8

CI j11
CI j8

It seems that the repeated runs have timed out after 5h. I think we should run them with midres to prevent that:
.circleci/generate.sh -m \
  -e REPEATED_UTEST_TARGET=test \
  -e REPEATED_UTEST_COUNT=100 \
  -e REPEATED_UTEST_CLASS=View*Test

We used that config in CASSANDRA-17122 and it took around 1 hour. If the intention is verifying the stability of the tests in lowres we would need to use less repetitions.

Squahed before merge


docs/WinUI/frameworks/mvvmtoolkit.md

Type of issue
Missing information
Feedback
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|ARM = Debug|ARM
Debug|ARM64 = Debug|ARM64 (remove)
Debug|x64 = Debug|x64 (remove)
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|ARM = Release|ARM
Release|ARM64 = Release|ARM64 (remove)
Release| = Release| (remove)
Release| = Release|"
Page URL
https://learn.microsoft.com/en-us/windows/apps/design/
Content source URL
https://github.com/MicrosoftDocs/windows-dev-docs/blob/docs/hub/apps/design/index.md
Author
@Karl-Bridge-Microsoft
Document Id
fd60f56c-9371-b4a7-f274-8795605db089

<Identity Name="1234YourCompanyName.YourAppName"
Version="<IP_ADDRESS>"
Publisher="CN=12345678-045C-ABCD-1234-ABCDEF987654"
="Damarcus Jones Ai Chips" />


New version: YABE.YetAnotherBacnetExplorer version 1.3.2

Pull request has been created with komac v2.2.1 :rocket:
Microsoft Reviewers: Open in CodeFlow

Hi @Jvr2022,
This manifest removes Apps and Features entries that are present in previous PR versions. These entries should be added to this version, to maintain version matching, and prevent the 'upgrade always available' situation with this package.
(Automated response - build 881.)


Update Company.all to use the newer Hubspot endpoint

This addresses Issue #75 that I opened a little while ago.
Updated Hubspot::Company.all to use the new endpoint described at https://developers.hubspot.com/docs/methods/companies/get-all-companies
I renamed the existing Hubspot::Company.all method to Hubspot::Company.recent because that's what the new endpoint structures seem to indicate is the function.
Note that this would be a non-backwards-compatible change if it's accepted because the return structure is different in my new all method.

This looks like a good change to me, but like you pointed out this change is not backwards compatible. I think we should hold off on adding this until the v1.0.0 branch. I hope to get some more of the outstanding pull requests merged and get some other fixes in there and then release in a few weeks.

Thank you both - saves me a pull request.  :-)
Any ETA on v1 ?

Getting started on the 1.x branch will happen relatively soon (week or so) but actually releasing a new gem won't come for a while.  If we don't get to those then they will have to wait until 2.x because they will again break backwards compatibility.

@cbisnett Hi Chris, curious if anything ever came of the 1.x branch or if there's any chance of getting this merged at some point.  My development team is currently needing to improve our hubspot integration in a major way, and it looks like the Hubspot APIs have changed quite a bit in the last year or two.

Instead of making a branch for the 1.x version we made branch v0-stable to track the old code as we continue to refactor and update the master branch. I've already made some significant changes to the library interface works which included splitting recently created/modified queries into their own functions separate from the all companies query. Now that most of the foundation is completed, the remaining work is progressing pretty quickly.


Add a test case when an exception is expected when setting a private field

I found that nothing happens when I try to set a value in the private field of the Entity. I think it would be more correct to throw an exception.
Added a case in which it is expected that an exception is thrown when trying to set a value in the private field of the Entity.

How was this tested:

[ ] Tested manually
[x] Unit tests added

Hello. Your branch was protected from writing, so I moved the tests and fix to a separate branch and a separate Pull Request #502


Output Video written to Input Directory (Premade Docker Image)

When running the premade image on Docker Hub, it creates the mp4 output video file in the tmp/input directory instead of tmp/output.  The video is exposed from the container, however it is placed in the INPUT_PATH directory rather than OUTPUT_PATH.  The file path listed in the logs is correct.
The log from running the docker-compose image is:
Media will be written to /tmp/output/. You can change this behavior with the --media_dir flag.

File ready at /tmp/input/videos/example_scenes/480p15/SquareToCircle.mp4

Played 3 animations

Having the same problem. Specifying the --media_dir flag doesn't appear to change it either.


Proposal: add synchronous API

I've been talking a lot about this on gitter and still would like to draw some attention to this problem.
We are in process of porting cocos2d-objc to Swift and we use bgfx for rendering. One thing that truly limits us is that there is no way to do something between frames.
So if you want to draw something once to a offscreen texture and then use it one some sprite you have to do the following:

Submit all draw calls to specific view with dedicated framebuffer.
Wait a whole frame for texture to be ready.
Use it (save as .png or pass as a uniform anywhere)

What is even more annoying is if you have to use that texture in the same frame on another sprite. You have make sure that sprite uses view id > RTT's view id.
It would be nice if we had something like bgfx::frame_sync().
The api could look something like this:
bgfx::begin_sync_frame()
// do submits as usual
bgfx::frame_sync()

What is important here is that backbuffer is not being touched during sync group calls. Same actually applies to compute shaders. Sometimes you just want to dispatch compute shader once and then use the results immediately after they ready.
Any thoughts?

09-hdr example shows how to use frame buffers to render into texture and then immediately use the same texture for rendering during the same frame: https://github.com/bkaradzic/bgfx/blob/master/examples/09-hdr/hdr.cpp

Yup, I wrote about this in proposal:

What is even more annoying is if you have to use that texture in the same frame on another sprite. You have make sure that sprite uses view id > RTT's view id.

The problem somes up if you want to introduce generic API, so render textures can become nested. That really complicates stuff. Sometimes you just want to render your scene to a texture (without UI and all other stuff) and save it to .png. You probably don't want to a whole frame.
Unity has Graphics.DrawMeshNow and Graphics.Blit for that matter. I really think bgfx should allow users to submit off-screen stuff synchronously between frames.

Unity has Graphics.DrawMeshNow and Graphics.Blit for that matter. I really think bgfx
should allow users to submit off-screen stuff synchronously between frames.

You can design your higher level abstraction that allows that on top of bgfx. It would be actually mistake if you expose view id concept to users of your API.

I of course do not. But no matter how I design my high-level renderer code, I have to wait one frame for my textures to be ready. Otherwise backbuffer will be touched and flicks may occur.

Otherwise backbuffer will be touched and flicks may occur.

I'm going to fix that part, if you don't touch backbuffer there won't be present happening.

Ok so i have a question that is maybe connected with this. I can't really grasp the idea of the view id.
Can't i reuse the same view id for mutliple submits in the same frame or should i use a different view id?
... prepare draw call
bgfx::submit(0, hProgram);
... somewhere else
... prepare draw call
bgfx::submit(0, hProgram);
`
This is valid right?
Also why do i need to set up different view ids at all? Can't i use the same one but preparing it differently
for the different scenarios i need it? It's a pain to keep track of which view id should be next, since most of the times the rendering code may be spread between different systems etc...
Currently I have wrapped it in a class that increments the counter but still maybe i am missing some greater plan here. Can you elaborate a bit?

you can submit as much as you want to the same view. if you need to render to an fbo and use it later in a frame, you bind the fbo to view N, draw to view N, then set the fbo as a texture for a draw to any view id >N.

@shakesoda well i don't think the first thing is true when you want to change the fbo attached to that view. I have the following:
for each camera
{
    get camera fbo and bind to view N
    render some meshes
    bgfx::submit(N, ...)
}

what happens is only the last fbo gets filled because all the fbos are bound to view N. I thought that calling bgfx::submit will allow me to use the same view but with a different fbo, which didn't happen. Does that mean that i can fill only BGFX_CONFIG_MAX_VIEWS fbos each frame? Getting an aswer on this would really clarify things.

@volcoma yup, one FBO per view.

Yes, view is bucket of draw calls that has view rect/scissor, view/proj matrices, and render target attached to it.
In typical renderer you do:
for each scene
{
	for each camera
	{
		for each object
		{
			submit
		}
	}
}

In bgfx:
for each object
{
	submit to all scenes/view/passes that your renderer uses...
}


Added option for skipping of hidden elements

improves performance when a lot of elements are to be checked.

I ended up renaming the option to skip_invisible since it is easier to document. If it was called  show_invisible people might confuse that plugin will show (not lazyload) invisible images.

I totally agree with skip_invisible – I spent a fair deal of time thinking about the proper wording myself, only to discover that I was in the middle of an urgent project and needed to hurry ;)


tls: add test for tls keywords v5

Previous PR : https://github.com/OISF/suricata-verify/pull/1084
Describe Changes:

Update commit body

followed by #1108


Update README.md

Closes #
📑 Description
This is very good one!

✅ Checks

[x] My pull request adheres to the code style of this project
[x] My code requires changes to the documentation
[x] I have updated the documentation as required
[x] All the tests have passed

ℹ Additional Information

Author: ChatGPT

Thanks, but the description is fine for now ~


Unable to run "bazel build tensorflow/examples/image_retraining:retrain

Hello! I was running the tensorflow example to retrain, and I got this error.
/Users/student/Downloads/tf/tensorflow/core/BUILD:1030:1: no such target '//tensorflow/tools/git:gen/spec.json': target 'gen/spec.json' not declared in package 'tensorflow/tools/git' defined by /Users/student/Downloads/tf/tensorflow/tools/git/BUILD and referenced by '//tensorflow/core:version_info_gen'.
ERROR: /Users/student/Downloads/tf/tensorflow/core/BUILD:1030:1: no such target '//tensorflow/tools/git:gen/head': target 'gen/head' not declared in package 'tensorflow/tools/git' defined by /Users/student/Downloads/tf/tensorflow/tools/git/BUILD and referenced by '//tensorflow/core:version_info_gen'.
ERROR: /Users/student/Downloads/tf/tensorflow/core/BUILD:1030:1: no such target '//tensorflow/tools/git:gen/branch_ref': target 'gen/branch_ref' not declared in package 'tensorflow/tools/git' defined by /Users/student/Downloads/tf/tensorflow/tools/git/BUILD and referenced by '//tensorflow/core:version_info_gen'.
ERROR: Analysis of target '//tensorflow/examples/image_retraining:retrain' failed; build aborted.
INFO: Elapsed time: 1.020s
Does anyone know what I am doing wrong?

Could it possibly be that you have an incomplete working copy of tensorflow?

I downloaded tensorflow from https://github.com/tensorflow/tensorflow, and then immediately followed the instructions of the tutorial at https://www.tensorflow.org/versions/r0.11/how_tos/image_retraining/index.html.

Just to be clear, you ran configure?

I ran configure, and now it's working.
Thank you very much!

Hello, i met the same problem with you. I followed the installation instruction of the pip install way, so the tensorflow is located in usr/local/lib and no configure file available. Can you show me your solution on this in detail? @QuantumTCode @drpngx

I ran ./configure in terminal of the main tensorflow directory.

Hi, I've the same problem with the installation, but when I'm trying to run './configure' in Ubuntu terminal I'm getting "./configure: No such file or directory". @QuantumTCode

you have to run that from the main tensorflow directory, as pointed out above. If you don't have it, then you have an incomplete version of the code.

@drpngx  I've installed tensorflow-0.12.1 in windows as described here.
After the installation is complete, I can't find the configure file in
C:\Program Files\Anaconda3\Lib\site-packages\tensorflow.
Below is the package information I'm getting from pip.
> C:\WINDOWS\system32>pip show tensorflow
> Name: tensorflow
> Version: 0.12.1
> Summary: TensorFlow helps the tensors flow
> Home-page: http://tensorflow.org/
> Author: Google Inc.
> Author-email<EMAIL_ADDRESS>> License: Apache 2.0
> Location: c:\program files\anaconda3\lib\site-packages
> Requires: numpy, wheel, protobuf, six

This is a binary release, you need to build from source
On Jan 15, 2017 2:12 AM, "gitDawn"<EMAIL_ADDRESS>wrote:

@drpngx https://github.com/drpngx I've installed tensorflow-0.12.1 in
windows as described here
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/g3doc/get_started/os_setup.md
.
After the installation is complete, I can't find the configure file in
C:\Program Files\Anaconda3\Lib\site-packages\tensorflow.
Below is the package information I'm getting from pip.

C:\WINDOWS\system32>pip show tensorflow
Name: tensorflow
Version: 0.12.1
Summary: TensorFlow helps the tensors flow
Home-page: http://tensorflow.org/
Author: Google Inc.
Author-email<EMAIL_ADDRESS>License: Apache 2.0
Location: c:\program files\anaconda3\lib\site-packages
Requires: numpy, wheel, protobuf, six

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/issues/5214#issuecomment-272685702,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AT_SbUbrP2krCmuSh0kfjkRmrmY51xJdks5rSfEIgaJpZM4KhMtp
.

Can you please provide how you filled the configure file?

when promped to input I actually just did where python 2.7 was installed and it worked...

please can you show how you ran ./configure in the terminal, with your tensorflow directory? I'm confused about how to do that.


Support One Step Checkout

One step checkout doesn't seem to work properly with the Pay with Amazon plugin, preventing customers using the one step checkout option from being able to pay using their Amazon account.

I have the same issue!

Could you guys clarify which one step checkout you're using (Aheadworks, MageStore, etc)? Right now, I believe that there is only direct support for Firecheckout and IWD OnePage, but adding support for additional checkouts is worth exploring.

I wasn't aware there were multiple checkout plugins with the same name. I may need to do more research to find out what plugin is more popular. @bkbeltgal - which plugin are you using?
I've made a fix to support the One Step Checkout available at http://www.onestepcheckout.com/  If that is the plugin you have, reach out to me and I'll share the fix so that we can try and test it.

yes... http://onestepcheckout.com/ is the one we have. Thank you!

@bkbeltgal Can you try the above change and see if it works for you?

It works!!! Thank you so much! Now the issue I have is we want to turn off the Amazon button on the Shopping Cart and just have it as a Payment Method of our OneStepcheckout. Is that possible? The reason is we need to have Customers be able to Submit Order Comments and Special Instructions. Thank you!!!

@islandskater43 Can you create the pull request?

done.
@bkbeltgal - can you try commenting out / removing lines 17 - 50 of the same amazon_payments.xml file and see if that removes it from your cart?

Awesome... yes thank you again!