TypeScript problem accessing BitmapFont Data

Hi!
I tryed to access BitmapFont data through 'game.cache.getBitmapFont()' but seems that typeScript file 'phaser.d.ts' does not define any class 'BitmapFont' and indicates that the function 'game.cache.getBitmapFont()' returns 'RetroFont' that is not correct because the function returns other thing.
I added this to 'phaser.d.ts':
class BMChar {
    x: number;
    y: number;
    width: number;
    height: number;
    xOffset: number;
    yOffset: number;
    xAdvance: number;
    kerning: any[];
    texture: PIXI.Texture;
}
class BMFontData {
    chars: any[];
    font: string;
    lineHeight: number;
    size: number;
}
class BMFont {
    base: PIXI.BaseTexture;
    data: HTMLImageElement;
    font: BMFontData;
    url: string;
}

and changed 'game.cache.getBitmapFont()' to return a BMFont.
Could you please add something like this to 'phaser.d.ts' file.
Thanks!

Thanks for this!
Do you want to make a PR on the dev branch? To be honest, what confuses me is that I cannot find the "BitmapFont" class.  Does anyone where it lives?

Could you do it?
I'm not a regular user of GIT and is a bit uncomfortable for me, and I do not need the authorship of this change, hehe
Furthermore, I put provisional names to the classes (BM*) precisely because I was surprised that no BitmapData class exists already.
if finally you update TypeScript defs for phaser, remember to put right names to the classes.
PD: I didn't know what info is on kerning data.

No problem :dancer:  I went over to the phaser examples (awesome work on live editing sandbox @photonstorm !) and console logged out the return object. You were pretty much spot on.  I do not know what kerning is either but it seems to be an array of numbers.
Hopefully it should fix the problem.

Kerning is the space between each pair of letters. ^_^

I always thought it was some kind of Skewing..... Old Flash misunderstanding.  You learn something new everyday!


[Import as member] First draft of renaming CG APIs

What's in this pull request?

[Import as member] First draft of renaming CG APIs

This includes several large manual renaming of CG APIs where we want
different results than what the inference system produces.

Several CG APIs are meant to be imported as nonswift, so mark them so
in our API notes.

Resolved bug number: (SR-)

Before merging this pull request to apple/swift repository:

[ ] Test pull request on Swift continuous integration.

Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please smoke test
    OS X platform               | @swift-ci Please smoke test OS X platform
    Linux platform              | @swift-ci Please smoke test Linux platform

Validation Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please test
    OS X platform               | @swift-ci Please test OS X platform
    Linux platform              | @swift-ci Please test Linux platform

Note: Only members of the Apple organization can trigger swift-ci.

@swift-ci please test

@swift-ci please test

@swift-ci please test

Reverted in #2110 because this broke the build.

That build failure might be another "delete the module cache" problem like this one earlier today:
https://github.com/apple/swift/commit/65ae6896d664fd17fcdc9a28a266510740b8e4d4#commitcomment-17034192


fix(api): move not null contraint AFTER pre apply fullfill

Type of modification

[ ] Breaking change
[ ] New Feature
[x] Bug Fix
[ ] Chore (refactor, documentation, tests... all the changes with no impact on ARA functionalities.)

Changes description
Fix apply not null contraint
Technical description
move sql pre apply not BEFORE not null contraint
PR CheckList
Please make sure your PullRequest respect all those items :

[x] Your PR's title has the prefix : feat:, fix: or chore:
[x] You have asked a review from one of the ARA maintainer in your PR.
[x] If your PR is related to an issue, add the issue's number in it.
[x] All the code you added is documented.
[x] All the code you added is tested and the  tests are in success.
[x] You already signed the Contributor License Agreement and give us the document

:tada: This PR is included in version ara-api-v12.1.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


setup.py: Add classifiers and python_requires

Description of new feature, or changes
I have added a list of classifiers to the setup.py. This is mostly metadata but will make it easier to see what versions are supported. Also added python_requires which blocks older versions. I have assumed that Halo does not support versions older than 3.4. If this is incorrect it should be fairly easily adjustable.
Checklist

[x] Your branch is up-to-date with the base branch
[x] You've included at least one test if this is a new feature
[x] All tests are passing

Related Issues and Discussions
Currently, Halo shows up as "not python 3 compatible" on sites like pyup.io. I am aiming to solve this problem.
People to notify
N/A

Any news regarding this?

Pull Request Test Coverage Report for Build 443

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 83.036%

Totals

Change from base Build 440:
0.0%

Covered Lines:
302

Relevant Lines:
356

💛  - Coveralls

Pull Request Test Coverage Report for Build 443

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 83.036%

Totals

Change from base Build 440:
0.0%

Covered Lines:
302

Relevant Lines:
356

💛  - Coveralls

Thanks @vilhelmprytz !

@manrajgrover Have you pushed to PyPI yet? You should use GitHub releases so that you can via your CI automatically build and push to PyPI upon release :+1:

I've made a release on PyPI.
https://pypi.org/project/halo/0.0.31/
I haven't explored CI for releases. I'll have a look for future releases.
Thanks again!


Plugin Configuration Error: Flow aborted due to 'already_configured' status

Describe the issue
I reinstalled the plugin to the latest version (0.2.1) but found an error when attempting to configure the connection to OPNsense in HA. Here is the error message:
2024-09-11 08:56:42.238 ERROR (MainThread) [custom_components.opnsense.config_flow] Unexpected err=AbortFlow('Flow aborted: already_configured'), type(err)=<class 'homeassistant.data_entry_flow.AbortFlow'>

What I did

Completely remove the plugin.
Reinstall the plugin to version 0.2.1.
Attempt to configure the plugin with a new name

I have tried removing and reinstalling the plugin multiple times and consistently encounter the same issue. I am also using the admin user for these operations.
Do you have any suggestions where can be the issue?

The log is clear "Already configured", so you didn't completely remove things.
Remove everything from the integrations page. Then remove component from HACS. Make sure there are no leftovers in custom_components folder under config directory. Then restart HA, and check custom_components folder again, and also integrations page, just to make sure.
Once you're sure there are no leftovers, reinstall component from HACS, restart HA, add the integration and configure it.

@maauso if the problem is solved please close the issue, thanks.

Hi @alexdelprete
Sorry for the delay, you were right it was not been completely removed


The difference between the scores in the paper and in Github

Hello!
Thank you for your excellent work. I would like to ask a question.
For the S3DIS dataset, I noticed that Table II in the paper shows the scores on Area5 and 6-fold CV.
However, in the code, "s3dis_from_scratch.sh" is used to train and predict each Area individually by setting the value of the parameter CURR_AREA, and the results are as shown in Github. This makes me wonder if this means that "s3dis_from_scratch.sh" can only train and predict for a specific Area, but not reproduce the scores of Area5 and 6-fold CV in the paper.
Best.

Hi!
In order to reproduce the scores for Area5 you need to set CURR_AREA to 5.
6-fold CV is the average over all individually held-out areas, i.e., you need to train 6 models (leave out 1 of the 6 areas for each of the individual trainings) and average their results.
Best,
Jonas

Hi!
No problem! :)
For example: If you want to reproduce the scores for Area5, you need to set CURR_AREA=5 (here). Everything is then done by the codebase (preparing the training set and validation set, ...)
Let me know if you need further details! :)
Best,
Jonas

Hello!
Thank you for your patient answer. Is the way you mentioned above for calculating Area5 and 6-fold CV scores a bit biased from the common way of calculating them? In my humble understanding, does your calculation completely cut off the 6 areas? In the end, I still don't quite understand why the paper chose to train, validate and test each area separately.
In some related papers I've read: for the Area5 score, they use Area5 as the test set and the remaining 5 areas as the training and validation sets. Then the Area5 score is obtained by testing Area5 using the training result. For the 6-fold CV score, they perform 6 cross-validation by using all 6 areas of S3DIS as input. Each time, one area is set as the validation set and the remaining areas as the training set. Finally, the scores obtained from the 6 validations are averaged to obtain the 6-fold CV scores.
This approach is very different from this paper. If my understanding is wrong, i would appreciate your correcting my behavior. Thank you!
Best.

Hi!
Thanks for your question! :)
I think we mean exactly the same thing.
You wrote:

Each time, one area is set as the validation set and the remaining areas as the training set. Finally, the scores obtained from the 6 validations are averaged to obtain the 6-fold CV scores.

This is exactly how it is also done in our codebase.
Best,
Jonas

Hello!
Thank you for your answer! I seem to understand that in "s3dis_from_scratch.sh", the value of the parameter CURR_AREA means that the Area with that serial number will be used as the validation set, and the other Areas will be used as the training set. Instead of saying that both the training and validation phases will be performed on the Area with that serial number (which was my original misunderstanding). In that case, I think this setup allows more flexibility to change the Area that is used as the training and validation set (of course, only 1 of the 6 Areas can be selected as the validation set at a time). This really dawned on me!
So it seems that if I want to try to train and validate the custom dataset in the S3DIS way, I should divide it into at least two Areas following the S3DIS organization structure, in order to select one Area as the validation set and the others as the training set. Is this a correct understanding?
Also, if the custom dataset is for a larger scene (e.g. point cloud for a large outdoor scene), is it possible to make it work smoothly by increasing the value of the parameter crop_length? (This is what I learned from checking the previous issue) Do you have any other suggestions?
Best.

@JonasSchult I look forward to your answers in your busy schedule. Thank you!

Hi!

So it seems that if I want to try to train and validate the custom dataset in the S3DIS way, I should divide it into at least two Areas following the S3DIS organization structure, in order to select one Area as the validation set and the others as the training set. Is this a correct understanding?

yes, that's correct! :)

Also, if the custom dataset is for a larger scene (e.g. point cloud for a large outdoor scene), is it possible to make it work smoothly by increasing the value of the parameter crop_length? (This is what I learned from checking the previous issue) Do you have any other suggestions?

For your custom dataset, you can play with the crop parameters, e.g. setting the crop_length parameter to a higher value here. Don't forget to enable cropping here.
Your hydra overwrites could look like this:
data.cropping=true data.crop_length=11.0
Let me know if you need more details :)
Best,
Jonas


Rectifying qtc timestamps if no_collapse and not validate is given

Closes #88
Passes my test so it still works but @yianni please have a look if it works for you now as I don't really know what the problems was to begin with ;)

Issue was that the output World_QSR_Trace timestamps do not match the input World_Trace; something kind of expected for validate and/or not no_collapse but not when not validate and no_collapse. Just put timestamps of 3, 4, 5 in qtcb for example and run old, they will be 1, 2 while with rectifying are 4, 5.
Anyway, works.


Clarify where to ask questions

Please merge when you think this is ready Andreas. Thanks for lot for your edits.


Add section with TLS/SSL detail

Add a section under "Using the MQTT protocol directly" describing how to configure a client for TLS/SSL, including links to where to get the necessary certificates, as well as example (python) code for establishing MQTT connections.

@brnkrygs,
Thanks for your contribution.
To ensure that the project team has proper rights to use your work, please complete the Contribution License Agreement at https://cla.microsoft.com.
It will cover your contributions to all Microsoft-managed open source projects.
Thanks,
Microsoft Pull Request Bot

@brnkrygs, thanks for signing the contribution license agreement. We will now validate the agreement and then the pull request.
Thanks, Microsoft Pull Request Bot

@kdotchkoff Please review these proposed changes. Thanks.

@brnkrygs - many thanks for your contribution. @zolvarga has suggested a couple of minor changes. If you can make these updates we'll get your PR incorporated. Thanks again.

@dominicbetts Absolutely, I'll get moving on that. Appreciate the review!

@brnkrygs - thanks again!
#sign-off


Edit readme to reflect to the removal of NS prefixes from some files

https://github.com/goktugyil/EZSwiftExtensions/issues/285

Closing this because it was solved...


Features/win32 allow cancel app shutdown

What does the pull request do?

Adds support for WM_QUERYENDSESSIOn on win32 so that avalonia apps can prevent system shutdown.
What is the current behavior?

Only supported on OSX,.
What is the updated/expected behavior with this PR?

How was the solution implemented (if it's not obvious)?

Checklist

[ ] Added unit tests (if possible)?
[ ] Added XML documentation to any related classes?
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/Documentation with user documentation

Breaking changes

Obsoletions / Deprecations

Fixed issues

WM_QUERYENDSESSION is only sent when the user tries to shutdown the OS itself, which is different to the signal we're handling on OSX, which is for an application shutdown.

The OSX one gets called for both, and is supposed to be used for preventing shutdown also.
You can even resume shutting down by returning NSTerminateLater from that function and calling another api later...

@grokys iv updated the documentation for the event, to clarify its role on OSX and Win32..
I beleive this should be good now.

So there are multiple ways to signal an application / window to terminate gracefully: https://devblogs.microsoft.com/oldnewthing/20190411-00/?p=102411

discussed with @grokys offline:

At this stage a reason for shutdown isnt required and difficult to abstract on multiple platforms.
Added a special CancelEventArgs class that we can add to later without breaking api compat.


chore: improve logging

This changeset is meant to improve the logging. Basically committing whatever
logging changes that I did for debugging issues with the demo.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

Current dependencies on/for this PR:

main

PR #186

PR #187

PR #188

PR #189   👈

This stack of pull requests is managed by Graphite.

Merge activity

Jan 12, 5:25 PM: @rphmeier started a stack merge that includes this pull request via Graphite.


[Request] Page 232 "Apply Customer Entries" - Move variables

Move the variables var:
- ApplnRounding: Decimal
- VATAmount: Decimal;
- VATAmountText: Text[30];
- ProfitLCY: Decimal;
- ProfitPct: Decimal;
- ApplnDate: Date;
- ApplnType: Option " ","Applies-to Doc. No.","Applies-to ID";
- CalcType: Option Direct,GenJnlLine,SalesHeader,ServHeader;

To "protected var" to allow to retrieve them in an extension page.

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


Installer POM Misconfiguration

In the following configuration snippet /home/travis/build does not exist on my machine:
  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <java.version>1.8</java.version>
    <maven.compiler.source>1.8</maven.compiler.source>
    <maven.compiler.target>1.8</maven.compiler.target>
    <mainClass>com.kodcu.boot.AppStarter</mainClass>
    <install4j.home>/home/travis/build/asciidocfx/AsciidocFX/install4j6</install4j.home>
    <install4j.licenseKey>${env.CI_LICENSE_KEY}</install4j.licenseKey>
  </properties>

The value for install4j.home should be a relative path to the project's home directory.

Hello @DaveJarvis,
This configuration is for our continuous integration server Travis CI. So, you don't need to use install4j plugin in maven.

Is it clear for you ?

Makes sense, thanks.


Add the actual parameter inference part to the tutorial

Codecov Report

Merging #20 (bf4d080) into main (55a57cc) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##             main      #20   +/-   ##
=======================================
  Coverage   63.80%   63.80%
=======================================
  Files           1        1
  Lines         105      105
=======================================
  Hits           67       67
  Misses         38       38

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Question: how do I get dispatch on the model?

render, onUpdate and other lifecycle hooks receive a model:
render ({ props, dispatch, path }) { ... }
onCreate ({ props, dispatch, path }) { ... }

But it seems the actual arguments of the model are:
{ props, children, path, context }

This is probably a duplicate of #323. That's fixed, but it would have prevented the dispatch function being passed down correctly.

Haha cute, my code made it to the tests :P
On Wednesday, December 30, 2015, Anthony Short<EMAIL_ADDRESS>wrote:

This is probably a duplicate of #323
https://github.com/dekujs/deku/issues/323. That's fixed, but it would
have prevented the dispatch function being passed down correctly.
—
Reply to this email directly or view it on GitHub
https://github.com/dekujs/deku/issues/322#issuecomment-167852599.


Jira option not showing in account creation

I thought at one point Jira was an option in the account creation but I don't see it anymore. I see GitHub and gitlab. Did it get removed or am I misremembering that feature?

Hey there, sorry to say we no longer support JIRA

That makes sense. Thanks for the response. If my short usage of JIRA and Bitbucket say anything, it's that I can't blame you.


build for osx_arm64 and bump build number

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

This builds the larch packages on conda-forge for osx_arm64 (Apple Silicon)

@conda-forge-admin, please rerender

I've been having trouble getting this to work too, but instead of fixing it I'm just moving to a new non-cython platform for a new version 6 for larch.  It's almost ready for prime time, find it here

Source: https://github.com/driftlesslabs/larch
Docs: https://larch.driftless.xyz
Install: python -m pip install larch6

Thanks!


Fix bug that arises when 'last_json' is None

Codecov Report

Merging #530 into master will increase coverage by 0.02%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #530      +/-   ##
==========================================
+ Coverage   38.62%   38.65%   +0.02%
==========================================
  Files          25       25
  Lines        2058     2059       +1
==========================================
+ Hits          795      796       +1
  Misses       1263     1263

Impacted Files
Coverage Δ

instabot/bot/bot_get.py
63.52% <100%> (+0.21%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3ef0481...b148c54. Read the comment docs.


other: update simpleclient, simpleclient_hotspot, ... from 0.11.0 to 0.12.0

Updates

io.prometheus:simpleclient
io.prometheus:simpleclient_hotspot
io.prometheus:simpleclient_httpserver

from 0.11.0 to 0.12.0.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.prometheus" } ]

labels: library-update, semver-minor

Codecov Report

Merging #6 (53fba54) into master (ae20b62) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master       #6   +/-   ##
=======================================
  Coverage   98.64%   98.64%
=======================================
  Files          10       10
  Lines          74       74
  Branches        5        5
=======================================
  Hits           73       73
  Misses          1        1

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 ae20b62...53fba54. Read the comment docs.


How to use gpu when lightgbm installed through pip?

I installed lightgbm through pip (It was so easy! Thanks for doing that.)
Now I'm trying to train using a GPU, as per this tutorial and I think it's missing a section on how to do this after a pip installation.
I tried just setting 'device=gpu' and got the following error: 'GPU Tree Learner was not enabled in this build. Recompile with CMake option -DUSE_GPU=1'. This makes sense if I had compiled it myself, but I'm stuck here -- is it possible to recompile a package installed through pip, if so how to do it, and whether it's the right solution here.
There's a related issue for someone using R, but I can't find anything about this specifically.

as mentioned in our document, the gpu version only can be installed from github now: https://github.com/Microsoft/LightGBM/tree/master/python-package .
@wxchan , can we pass the parameter --use_gpu to setup.py when installing from pip ?

@guolinke there is an option --install-option https://pip.pypa.io/en/stable/reference/pip_install/#cmdoption-install-option, no sure if it works

I made a test, the --install-option='--gpu' option only can be used for python setup.py --gpu install instead of python setup.py install --gpu, so we need another way to register new argument. This thread might help: https://stackoverflow.com/questions/18725137/how-to-obtain-arguments-passed-to-setup-py-from-pip-with-install-option.
Another option is we release another package like lightgbm-gpu.

refer to the new document: https://github.com/Microsoft/LightGBM/tree/master/python-package


3D Gizmo Too Bright in Low Auto Exposure

Godot version
4.0 Stable
System information
Windows 11, Nvidia RTX4070ti, AMD Ryzen7700x
Issue description
The 3D gizmo becomes too bright when Auto Exposure is used via a Camera Attributes Practical/Physical resource and the brightness of the scene is low (interior lighting or moonlight). This washes out the colours of the gizmo's axis into white and interferes with scene legibility when Glow is enabled.
This doesn't occur when the ISO exposure slider is used to bring the scene up to a similar exposure as it would be when Auto Exposure is enabled.

Steps to reproduce

Set lights to dim physical values (1000 lux for example)
Add a Camera Attribute Practical/Physical to the World Environment node
Turn on Auto Exposure

Scene with all appropriate values already provided in the MPR.
Minimal reproduction project
Overexposed_Gizmo.zip

Just wanted to note the opposite is true too: In a bright setting (High EV100 values) all gizmos turn to black.

I've also seen 3D labels (And regular gizmos I believe) influence auto exposure when set to unlit and when dealing with low exposure values, making the auto exposure fluctuate.

I'm not sure how this issue should be handled without https://github.com/godotengine/godot-proposals/issues/2138 (which is pretty difficult to implement).


Only build Doxygen docs on codeplay's repo

Use the Travis CI's env vars to disable doxygen builds on anything except Codeplay's master branch.
Issue #4.

looks great! thanks!


add pretty print to object mod

Resolves: #682
What's Changed:
Added pretty print function into the Object module.
Type of Change:

[ ] Bug fix
[x] New feature
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Housekeeping:

[x] Tests have been updated to reflect the changes done within this PR (if applicable).
[x] Documentation has been updated to reflect the changes done within this PR (if applicable).

Screenshots (If Applicable):

A question for you, would you expect a method called prettyPrint to actually output to stdout rather than return a string? I think a method that returns the pretty output as a string would be useful but potentially under a different name, what do you think?

Yeah, that's a good point. I'll update this to print to stdout. What would you want the method name to be that would returned the "pretty" string?

Actually we probably don't need the non-print version as you can just use JSON.stringify - at least for the minute until we extend it so we can pretty print more objects that aren't JSON serialisable

Good point.

Thanks so much for this!


HMR causes modules to be re-evaluated due to circular imports

⚠ IMPORTANT ⚠ Please do not ignore this template. If you do, your issue will be closed immediately.

[x] Read the docs.
[x] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/vue-next instead.

Describe the bug
In Vite 1, when a module is updated only that module is re-evaluated in the browser.
In Vite 2, when a module is updated all modules that depend on the updated module are invalidated and have their import path updated, causing the browser to re-evaluate the modules if they're in the dependency tree of the updated module (due to circular dependencies). Marking modules with import.meta.hot.decline() doesn't appear to make any difference.
Specifically the issue is at https://github.com/vitejs/vite/blob/4396057abd69bf55dfc8976f6feaddf6042031a5/packages/vite/src/node/server/hmr.ts#L237
It would be nice if this behaviour was configurable.
Reproduction
https://github.com/nowylie/vite-2-repro
npm ci
npm run vite

Open the repro page in the browser
Open the JS console in the dev tools
Save src/dep.js to trigger a HMR update
Note that main.js is re-evaluated

System Info

vite version: 2.0.4
Operating System: macOS 11.2
Node version: 14.16.0
Package manager (npm/yarn/pnpm) and version: npm 6.14.11

This is expected behavior. If there are circular imports, the only way to ensure correctness is to invalidate all modules in the chain.

@nowylie
Do you have a solution？
The same problem, circular dependencies are easy to appear after the project is complicated. And there is no way to investigate, because the dependence may be very deep.

@anncwb no solution yet.
As I mentioned, our circular dependencies are by design.
For accidental/unnecessary circular dependencies, I've had success in the past using madge to track them down.

@anncwb no solution yet.
As I mentioned, our circular dependencies are by design.
For accidental/unnecessary circular dependencies, I've had success in the past using madge to track them down.

I reopened an issue, wait to see the author's reply


Added languages variable

I don't understand why my IDE removed the spaces in front, but I tested it and it works :D


Naively mask secret-ish substring within helm repo add logs

For security reason as noted in the last sentence of #36, probably after #78 is merged.
How about enable masking when and only when {{ env ... }} template referenced env vars with secret-ish name, for example *_TOKEN, *_SECRET and/or *_KEY?

Or we define a function called env_secret that will not output the contents?

@cmeury Good point! But I can't exactly say which is the best one here - both seems nice in its own way.
Anyone has a preference, and why is that? 🤔

I dislike introducing a variable naming convention for this, because it's quite restrictive for the user (potential frustration by having to conform to a "foreign" naming scheme) and it could lead to unexpected behavior such as accidentally naming the variable as a "secret" and then wondering why it's not printed for hours.

In case it's useful here's my temporary workaround https://github.com/manics/helmfile/commit/9f8e5817b4dff6caab811b2b372ee71bca8c330f

@manics Thanks for sharing your work!
I'd rather like helmfile to be declarative as much as possible so I'm inclined to the secretenv approach noted above, for the purpose of resolving this issue.
However, your work could be useful for operational purpose, like in cases that you want to logger the logging level for fewer outputs from a helmfile run.
So, would it make sense to discuss in another issue about logging level(trace, debug, info, warn, and so on) and probably suppress exec: helm $args outputs in the info/warn levels but not in trace/debug?

I believe this isn't needed anymore because we now have configurable log level thanks to #93 #185.
As long the log level is greater than debug, executed helm command and therefore those secrets are not logged.
Also note that we basically should not log secrets #202 #206


Solver structural metadata

Add scientific metadata specific to structural solvers

From requirements spreadsheet, structural solver metadata added by Wendi, add:

[ ] Stress-strain relationship
[ ] Type of element
[ ] Damping type

to schema and admin page. Each have a dropdown list of options as detailed in the requirements spreadsheet
Frontend work in separate issue (#100 )


"pub serve" running out of memory

This issue was originally filed by @Fox32

What steps will reproduce the problem?

Run "pub serve"
Work some time while "pub serve" runs in background (~20min?)

What is the expected output? What do you see instead?
dart.exe crashes with the following output:
vm\thread_pool.css:233: error: Could not start worker thread: result = 12.
What version of the product are you using? On what operating system?
Windows 8 64 bit
Dart Editor version 0.7.6_r28108
Dart SDK version <IP_ADDRESS>_r28108
Please provide any additional information below.
I'm not really doing anything, sometimes it crash while I'm not even on my computer.
The project contains many files, does it spawn a worker per file? I also noticed that it has high CPU usage, but that could be the file watcher using polling atm, if I see it right.

This issue has been moved to dart-lang/pub#647.


[WIP] Introduce js-bundle rails

Fixes #
Describe the changes you have made in this PR -
Screenshots of the changes (If any) -
Note: Please check Allow edits from maintainers. if you would like us to assist in the PR.

Coverage decreased (-0.3%) to 81.563% when pulling c87ae1f52bfded40399bba626604f834d0e05e06 on feat/drop_webpacker into be236e16f45e49140b284ea90ba663c241d6ece6 on master.


Changed types from number to string

Closes #17
Once this is released we need to update the dependencies in this safe-react PR:
https://github.com/gnosis/safe-react/pull/2710

If you want this to be reflected in the safe-react project, we need to also bump the version of this package and publish it on npm.


"npm install -g mapnik" fails

This worked perfectly a few days ago. Here is the npm-debug.log file: http://pastebin.com/di8YPKbe
Looks like it's the same issue as https://github.com/mapnik/node-mapnik/issues/519

Yes, your logs show you are using node v4.x. This is not yet supported. We are tracking at https://github.com/mapnik/node-mapnik/pull/509.


fix(ui): forms footer buttons alignment

Fix #2518
Changes proposed in this pull request:

Added class mr-3 to all button groups
Removed class mr-2 from Resolve button in ViewIncidentDetails component for better alignment
Added class mt-3 in buttons group container of EditPatient component.

Total files changed : 11

Thank you @Adarsh710, looking good on the new forms as well as some edit forms.
May you also fix these edit forms:

Patient Edit

Appointment Edit

Nice catch, fixing these too

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: Adarsh710:x: tehKapaYou have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: Adarsh710:x: tehKapaYou have signed the CLA already but the status is still pending? Let us recheck it.


Fixed warnings reported by GoReportCard

Also removed support for go < 1.7. Note that this is a standalone program, so one can compile it against go 1.7 and run it. Also note that the only reason why go <1.7 support was removed is because of the change to Duration.String which adds the "s" for second when parsing a zero time duration.

Coverage decreased (-0.8%) to 97.861% when pulling 734f4e90940013b64e68dadbf335e75904e089c7 on issue-19 into c7fb06b6265ecd150822e94bb0c71920031d260a on master.

Coverage decreased (-0.8%) to 97.861% when pulling 47607388b487edcfc6414901aacbc9e1a1849baa on issue-19 into c7fb06b6265ecd150822e94bb0c71920031d260a on master.

Coverage decreased (-0.8%) to 97.861% when pulling cbb0f97e64cf7cdbe12e7da0f99eb96b75aadd91 on issue-19 into c7fb06b6265ecd150822e94bb0c71920031d260a on master.


setuptools and pip

enviroment:
python 3.7.1
windows 7 sp1
i download the zip file for windows (Windows x86-64 embeddable zip file), unzip the file and configure the enviroment. it works.
but,when i add pip, get the error message:
D:\xx\work\pip-18.1>python setup.py install
Traceback (most recent call last):
  File "setup.py", line 6, in <module>
    from setuptools import find_packages, setup
ModuleNotFoundError: No module named 'setuptools'
continue add setuptools, get the error message:
D:\xx\work\pip-18.1>python setup.py install
Traceback (most recent call last):
  File "setup.py", line 6, in <module>
    from setuptools import find_packages, setup
ModuleNotFoundError: No module named 'setuptools'
some people say that, can use ez_setup.py, but (ez_setup.py ) get the error message:
D:\xx\work\python-3.7.1-embed-amd64>python ez_setup.py
ez_setup.py is deprecated and when using it setuptools will be pinned to 40.6.2
since it's the last version that supports setuptools self upgrade/installation,
check https://github.com/pypa/setuptools/issues/581 for more info; use pip to i stall setuptools
Extracting in C:\Users\ADMINI~1\AppData\Local\Temp\tmpy67lsr32
Now working in C:\Users\ADMINI~1\AppData\Local\Temp\tmpy67lsr32\setuptools-40.6 2
Installing Setuptools
Traceback (most recent call last):
  File "setup.py", line 11, in <module>
    import setuptools
ModuleNotFoundError: No module named 'setuptools'
Something went wrong during the installation.
See the error message above.
also try the get-pip.py, (get-pip.py)
D:\xx\work\python-3.7.1-embed-amd64>python get-pip.py
Collecting pip
  Using cached https://files.pythonhosted.org/packages/c2/d7/90f34cb0d83a6c5631c f71dfe64cc1054598c843a92b400e55675cc2ac37/pip-18.1-py2.py3-none-any.whl
Collecting setuptools
  Using cached https://files.pythonhosted.org/packages/e7/16/da8cb8046149d50940c<PHONE_NUMBER>abb359bbb8cbc3539e6bef95c29428a/setuptools-40.6.2-py2.py3-none-any.whl
Collecting wheel
  Using cached https://files.pythonhosted.org/packages/ff/47/1dfa4795e24fd6f93d5 d58602dd716c3f101cfd5a77cd9acbe519b44a0a9/wheel-0.32.3-py2.py3-none-any.whl
Installing collected packages: pip, setuptools, wheel
Successfully installed pip-18.1 setuptools-40.6.2 wheel-0.32.3
looks like success, but get the error message below:
D:\xx\work\python-3.7.1-embed-amd64>pip --version
Traceback (most recent call last):
  File "runpy.py", line 193, in _run_module_as_main
  File "runpy.py", line 85, in _run_code
  File "D:\xx\work\python-3.7.1-embed-amd64\Scripts\pip.exe\__main__.py", li ne 5, in <module>
ModuleNotFoundError: No module named 'pip'
how can add pip on windows with python 3.7.1?

First off, I'd suggest as a user seeking to install packages, you should never need setuptools - or at the very least, you should be able to rely on pip to install setuptools. Also, you should avoid setup.py install if possible. Your instinct to use get-pip is the right one.
What's strange is how it seems that even after running that, pip isn't successfully installed. Probably there is an issue with pip on embeddable Python.


[fix] typos and improve grammar in README.md

Hi @royweiss1,
I was going through the paper/code today, thought it might be helpful to provide edits in the README, to improve its readability for English audiences :)
thank you for sharing this code with an MIT license!

Thank you very much


Create a SIP that empowers protocol/dapp devs to provide end-users with ideal gas params / txn fee controls on a per-network basis

Context

Responsibility for network support / network UX on MM side currently split between Confirmations team and Assets team.

"Our gas logic should be more easily extendable so we can hopefully no longer be gatekeepers to networks having an optimal UX"

"Until then, we have to manually add networks/custom logic"

"We’re trying to get away from being a gatekeeper as soon as possible"

internal link to ad-hoc slack convo
Overview / Ideal Outcomes
Networks should be able to better handle gas / txn fee logic on behalf on their users via a Snap.
This will result in better experience for:

end-users who currently face unideal experience on EVM networks if their transaction fee parameters / structure differs from Ethereum

network/protocol/core developers who have to chase MetaMask to update fee handling every time they update something

dapp developers who are reliant on MetaMask to support and update various networks

MM developers who are currently inadvertently gatekeeping ideal network support/experience and thus have to keep track of all the networks and their various fee structures and logic

adjacent / enablement teams who currently have to play biz dev games with protocol/dapp devs who are trying to get get permission from MetaMask so their users txn's dont fail / suck.

tl;dr

:meow_grumpy: –rekmarks

Supporting this!
Related issues
https://github.com/MetaMask/metamask-extension/pull/20501
https://github.com/MetaMask/metamask-extension/pull/22651

An idea is having a new rpc method (e.g. optimism_l1fee, better if more universal) for networks to report these informations and respective support

another one
https://github.com/MetaMask/metamask-extension/pull/22800

👍

any update on this @tayvano ?

@emilianobonassi MetaMask internal teams are building an architecture for supporting gas fee calculations across various L2s. We are not yet ready to build a Snap interface to that, but we are open to exploring it in the future.


Record Audio Evaluation: Second Prompt

How do you approach collaboration within your project team?
Record Your Response
Please tell more of a story vs. just a brief response, narratives are what make the data work! This audio will be reviewed by the Evaluation Consultants and only the anonymized overall analysis will be give to me.

@tuckers15  Just a reminder to complete this.


Spelling mistake in compilation chain

In the Introduction, under 'Functional Compilers', the pipeline graphic says 'Compliation', which should be 'Compilation'.
I intended to send a simple PR for this, but the sources seems to be missing from this repository?

Indeed there is a spelling error there. I'll regenerate the graphviz.


Distribute a portable phrase cli for Windows

Hey there,
It could help us to adopt Phrase if a portable Phrase cli was distrubuted for Windows OS.
Maybe you can consider supporting it in the future?

After investagion, adding the .exe file in the path is enough. so the setup is not required
Maybe you could complete installation documentation
Regards

Hey @vincent-petit, could you maybe elaborate a bit on how this would work best for you, or do you have an example? As you've already suggested adding the exe to the path works or alternatively, there is also an installer, which automates this step https://github.com/phrase/phrase-cli/releases/download/2.4.4/phrase_windows_setup.exe

Closing because of inactivity


Bad conversion to camelCase

.
.

origin
testFLEXIBLE_QUERY

expected
testFlexibleQuery

actual
testflexibleQuery

.
.

origin
testFlexibleQuery_PRODUCTS_FOR_WORKFLOW_ATTACHMENT

expected
testFlexibleQueryProductsForWorkflowAttachment

actual
testflexiblequeryProductsForWorkflowAttachment

expected and actual seems pretty equal to me :)

@krasa updated Issue. And yes, they are different - at the beginning of a string of characters different registers

I could fix that, but then this would stop to work:

.
.

origin
WhOAh_a_TeSt

expected
whoahATest

actual
whOAhATeSt

fixed. your example seems more reasonable.

thx


MSSQL Server . Converting character string to smalldatetime type error

Hi . I am connecting this with an MSSQL Server but getting this error while fetching :-
2016-04-05 16:15:49,014:ERROR:root:(pyodbc.DataError) ('22007', '[22007] [FreeTDS][SQL Server]Conversion failed when converting character string to smalldatetime data type. (295) (SQLExecDirectW)') [SQL: "SELECT TOP 50000 COUNT(*) AS count \nFROM [TRAVELER] \nWHERE BirthDate >= '2016-03-29 16:15:43.000000' AND BirthDate <= '2016-04-05 16:15:43.000000'"]
Traceback (most recent call last):
  File "/Users/rguleria/Documents/Stuff/Caravel/venv/lib/python2.7/site-packages/caravel/views.py", line 446, in explore
    payload = obj.get_json()
  File "/Users/rguleria/Documents/Stuff/Caravel/venv/lib/python2.7/site-packages/caravel/viz.py", line 240, in get_json
    'data': self.get_data(),
  File "/Users/rguleria/Documents/Stuff/Caravel/venv/lib/python2.7/site-packages/caravel/viz.py", line 342, in get_data
    df = self.get_df()
  File "/Users/rguleria/Documents/Stuff/Caravel/venv/lib/python2.7/site-packages/caravel/viz.py", line 334, in get_df
    df = super(TableViz, self).get_df(query_obj)
  File "/Users/rguleria/Documents/Stuff/Caravel/venv/lib/python2.7/site-packages/caravel/viz.py", line 132, in get_df
    self.results = self.datasource.query(**query_obj)
  File "/Users/rguleria/Documents/Stuff/Caravel/venv/lib/python2.7/site-packages/caravel/models.py", line 600, in query
    con=engine
  File "/Users/rguleria/Documents/Stuff/Caravel/venv/lib/python2.7/site-packages/pandas/io/sql.py", line 431, in read_sql_query
    parse_dates=parse_dates, chunksize=chunksize)
  File "/Users/rguleria/Documents/Stuff/Caravel/venv/lib/python2.7/site-packages/pandas/io/sql.py", line 1190, in read_query
    result = self.execute(*args)
  File "/Users/rguleria/Documents/Stuff/Caravel/venv/lib/python2.7/site-packages/pandas/io/sql.py", line 1081, in execute
    return self.connectable.execute(*args, **kwargs)
  File "/Users/rguleria/Documents/Stuff/Caravel/venv/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1991, in execute
    return connection.execute(statement, *multiparams, **params)
  File "/Users/rguleria/Documents/Stuff/Caravel/venv/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 906, in execute
    return self._execute_text(object, multiparams, params)
  File "/Users/rguleria/Documents/Stuff/Caravel/venv/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1054, in _execute_text
    statement, parameters
  File "/Users/rguleria/Documents/Stuff/Caravel/venv/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1146, in _execute_context
    context)
  File "/Users/rguleria/Documents/Stuff/Caravel/venv/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1341, in _handle_dbapi_exception
    exc_info
  File "/Users/rguleria/Documents/Stuff/Caravel/venv/lib/python2.7/site-packages/sqlalchemy/util/compat.py", line 200, in raise_from_cause
    reraise(type(exception), exception, tb=exc_tb, cause=cause)
  File "/Users/rguleria/Documents/Stuff/Caravel/venv/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1139, in _execute_context
    context)
  File "/Users/rguleria/Documents/Stuff/Caravel/venv/lib/python2.7/site-packages/sqlalchemy/engine/default.py", line 450, in do_execute
    cursor.execute(statement, parameters)
DataError: (pyodbc.DataError) ('22007', '[22007] [FreeTDS][SQL Server]Conversion failed when converting character string to smalldatetime data type. (295) (SQLExecDirectW)') [SQL: "SELECT TOP 50000 COUNT(*) AS count \nFROM [TRAVELER] \nWHERE BirthDate >= '2016-03-29 16:15:43.000000' AND BirthDate <= '2016-04-05 16:15:43.000000'"]

Hi,
Same check https://github.com/airbnb/caravel/issues/185

Looks like a dup of #283, closing.


Updates docs on testing custom builds in ARO

tbh this is still confusing. The initial use-case was with production payload, where we don't need pull secret to get the images.
One we tested were from CI and guarded with pull-secret. This means the second part will not work the same as first did without pull secret.
Mashed them to the one doc will confuse even more :/
We have a few possible cases here:

I have prod payload and I want to check something like change yaml files or drop new files, or change config. This was documented
(what we did yesterday). I have Ci payload, and I want to swap one or more images from my install/running cluster. For this, we either need to prove pull-secret way (the one you tried last on Thursday ) works. Or first case + image extraction and publishing somewhere without auth.

Considering this operation will always be unique to the case, maybe it is worth just making this doc a generic howto bullet points as there will need to be some thinking and planning for each case?
I just don't see that when the next big thing to test comes, somebody else would be able to pick this doc and run with it without you or me helping to understand. And this is not the goal to have details point to point doc as we need just a pointers what people need to know to draft their own testing plan.

One we tested were from CI and guarded with pull-secret. This means the second part will not work the same as first did without pull secret.

@mjudeikis that's right: the second part is about testing a custom image, not a custom image guarded with pull-secret. I'll clarify that the image should be public.

(what we did yesterday). I have Ci payload, and I want to swap one or more images from my install/running cluster. For this, we either need to prove pull-secret way (the one you tried last on Thursday ) works. Or first case + image extraction and publishing somewhere without auth.

I tried to take the CI payload and use it with the pull-secret from the CI cluster without any modifications (without having to extract specific image from CI and publishing custom payload). But I didn't manage to pass pull secret properly to the bootstrap node and abandoned this idea.
I would still like to get this doc to the point where we can just copy-paste payload reference and pull secret from CI and test it without other manipulations.

@mjudeikis I summarised issues with pulling payload & images from CI registry in https://github.com/Azure/ARO-RP/issues/830.
I would like to pick this up at some point, but wanted to log it as an issue in case someone will have capacity to do this sooner than me.


Add logo

Current dependencies on/for this PR:

main

PR #2   👈

This stack of pull requests is managed by Graphite.


Update to current STXXL version

I don't thinky any of the changes affect us but it's still nice to have the latest version

This fixes #221


Dashboard for missing Goldsky data

What is it?
Including:

a dbt model that joins the existing tables into an easy-to-read place to see everything missing
a dashboard to view that easily (either a Hex notebook or a Plasmic page or something)

This should no longer be the superchain data but is still relevant.


replace amqp with lapin

amqp havn't updated for a long time.
lapin looks good.

failed because dependencies conflict


Posix time functions break compilation.

I'm attempting to update the micropython project to build against the latest micropython.
This fails with
/home/durr/esp/esp-idf/components/newlib/time.c: In function 'clock_gettime':
/home/durr/esp/esp-idf/components/newlib/time.c:425:14: error: 'CLOCK_MONOTONIC' undeclared (first use in this function)
         case CLOCK_MONOTONIC:
              ^
/home/durr/esp/esp-idf/components/newlib/time.c:425:14: note: each undeclared identifier is reported only once for each function it appears in

Following this through, it appears that these functions were added in https://github.com/espressif/esp-idf/commit/e274940a46fb01a9421df1ceebe37293d61b6a2f. CLOCK_MONOTONIC is only defined if _POSIX_MONOTONIC_CLOCK is defined. If _POSIX_MONOTONIC_CLOCK is not defined,
_POSIX_MONOTONIC_CLOCK seems to only be defined ever if either __rtems__ is defined, or if __CYGWIN__ is defined.
Neither of these are true in my case, and as a result, the file is functionally impossible to compile.
I'm not sure how this should be fixed, but it certainly seems like an issue. @KonstantinKondrashov?

@fake-name please post the full gcc command line used to compile time.c.

Note that reverting e274940a46fb01a9421df1ceebe37293d61b6a2f appears to fix the issue,

Full command line:
xtensa-esp32-elf-gcc -std=gnu99 -Os -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -mlongcalls -nostdlib -Wall -Werror -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -DESP_PLATFORM -DMBEDTLS_CONFIG_FILE='"mbedtls/esp_config.h"' -DHAVE_CONFIG_H -I../../lib/berkeley-db-1.xx/PORT/include -I. -I../.. -I../../lib/mp-readline -I../../lib/netutils -I../../lib/timeutils -Ibuild -I/home/durr/esp/esp-idf/components/bootloader_support/include -I/home/durr/esp/esp-idf/components/bootloader_support/include_bootloader -I/home/durr/esp/esp-idf/components/driver/include -I/home/durr/esp/esp-idf/components/driver/include/driver -I/home/durr/esp/esp-idf/components/nghttp/port/include -I/home/durr/esp/esp-idf/components/nghttp/nghttp2/lib/includes -I/home/durr/esp/esp-idf/components/esp32/include -I/home/durr/esp/esp-idf/components/soc/include -I/home/durr/esp/esp-idf/components/soc/esp32/include -I/home/durr/esp/esp-idf/components/ethernet/include -I/home/durr/esp/esp-idf/components/expat/include/expat -I/home/durr/esp/esp-idf/components/expat/port/include -I/home/durr/esp/esp-idf/components/heap/include -I/home/durr/esp/esp-idf/components/json/include -I/home/durr/esp/esp-idf/components/json/port/include -I/home/durr/esp/esp-idf/components/log/include -I/home/durr/esp/esp-idf/components/newlib/include -I/home/durr/esp/esp-idf/components/nvs_flash/include -I/home/durr/esp/esp-idf/components/freertos/include -I/home/durr/esp/esp-idf/components/tcpip_adapter/include -I/home/durr/esp/esp-idf/components/lwip/include/lwip -I/home/durr/esp/esp-idf/components/lwip/include/lwip/port -I/home/durr/esp/esp-idf/components/lwip/include/lwip/posix -I/home/durr/esp/esp-idf/components/mbedtls/mbedtls/include -I/home/durr/esp/esp-idf/components/mbedtls/port/include -I/home/durr/esp/esp-idf/components/spi_flash/include -I/home/durr/esp/esp-idf/components/ulp/include -I/home/durr/esp/esp-idf/components/vfs/include -I/home/durr/esp/esp-idf/components/newlib/platform_include -I/home/durr/esp/esp-idf/components/xtensa-debug-module/include -I/home/durr/esp/esp-idf/components/wpa_supplicant/include -I/home/durr/esp/esp-idf/components/wpa_supplicant/port/include -I/home/durr/esp/esp-idf/components/ethernet/include -I/home/durr/esp/esp-idf/components/app_trace/include -I/home/durr/esp/esp-idf/components/app_update/include -I/home/durr/esp/esp-idf/components/pthread/include -I/home/durr/esp/esp-idf/components/smartconfig_ack/include -DIDF_VER=\"v3.2-dev-362-g1c7a8b3b\" -DFFCONF_H=\"lib/oofatfs/ffconf.h\" -DMICROPY_PY_BTREE=1 -c -MD -o build//home/durr/esp/esp-idf/components/newlib/select.o /home/durr/esp/esp-idf/components/newlib/select.c
/home/durr/esp/esp-idf/components/newlib/time.c: In function 'clock_gettime':
/home/durr/esp/esp-idf/components/newlib/time.c:425:14: error: 'CLOCK_MONOTONIC' undeclared (first use in this function)
         case CLOCK_MONOTONIC:
              ^
/home/durr/esp/esp-idf/components/newlib/time.c:425:14: note: each undeclared identifier is reported only once for each function it appears in
../../py/mkrules.mk:47: recipe for target 'build//home/durr/esp/esp-idf/components/newlib/time.o' failed
make: *** [build//home/durr/esp/esp-idf/components/newlib/time.o] Error 1
make: *** Waiting for unfinished jobs....

Yes, it's missing platform_include and several other directories. Please build any example project with IDF (make V=1) and compare the command lines for time.c.

In IDF, platform_include directory should precede newlib include directory on the compiler command line. Please make sure this is the case in micropython build system as well.

Ah, yep, that's the problem.

Yes, it's missing platform_include and several other directories. Please build any example project with IDF (make V=1) and compare the command lines for time.c.

-I/home/durr/esp/esp-idf/components/newlib/platform_include

Huh?

Ok, yeah, it was an include issue.
Sorry about that.


[k3s-upgrade] [Question] What's k3s-upgrade license?

Hi there,
k3s-upgrade repo doesn't include a license info. What license is k3s-upgrade repo under?

The rancher/k3s-upgrade repo has the same license as rancher/k3s. We will fix the license in rancher/k3s-upgrade.

This has been fixed in rancher/k3s-upgrade. Thanks for reporting!


upgrade to monaco-editor 0.7

https://github.com/superRaytin/react-monaco-editor/commit/819a09451e274f54cdbf51c683df807b09715e3c

❤


Integration generator deprecation

Closes #2374
With these changes executing rails generate rspec:integration produces the following message
DEPRECATION:
  The integration generator is deprecated and will be deleted in RSpec-Rails 5. Please use the request generator instead.
 Called from ...../rspec-rails/lib/generators/rspec/integration/integration_generator.rb:18:in `generate_request_spec'

Test Plan
rake generate:app
cd tmp/example_app/
rails generate rspec:integration Bottles
# DEPRECATION:
#  IntegrationGenerator is deprecated and will be deleted in RSpec 5. Please use `rspec:generator` instead. It should behave in the same way.
# Called from .../rspec-rails/lib/generators/rspec/integration/integration_generator.rb:18:in `generate_request_spec'.
#      create  spec/requests/bottles_spec.rb
rails generate rspec:request Bottles
#    identical  spec/requests/bottles_spec.rb

TODO: test out the scaffolds generation

Thank you!
My apologies that it took us longer to process this. So long that I had to change "will be deleted in RSpec-Rails 5" to "RSpec-Rails 7" 😄

@pirj No Problemo. I don't even remember doing this 😂


turn comments into json

The comments field in the events table looks highly structure. Please turn into a json object.

@fgregg Not all rows in the events table are in key: value form. For example, some rows have comments with values like Alias, Proof of service, or Citation To Discover Assets To POE.
For each row, we could create a JSON object and stuff any unstructured data into its own field, e.g. Proof of Service becomes {text: Proof of Service}. Would that work?
Also, should we make this transformation in the Python scrapers or as part of the SQL import process?

let's hold off on this for now.


How does this compare to react-styleguidist

https://github.com/sapegin/react-styleguidist seems to also do quite the same, with live edit capabilities even. How do the 2 projects compare?

I don't see unit tests in styleguidist

Yes, you can run your tests against your components and even reuse them to run as regular cli tests later on. We'll add a section to the documentation, describing how to use your tests with React Cards as well as mocha f.e.


[typescript-urql-graphcache] useTypeImports is not respected

Describe the bug
GraphQL Code Generator supports a useTypeImports config option for plugins, which ensures that generated code is compatible with TypeScript's "importsNotUsedAsValues": "error" option.
However, the typescript-urql-graphcache plugin does not respect this option, resulting in the generation of unbuildable TypeScript code in some circumstances.
To Reproduce
Steps to reproduce the behavior:
See https://codesandbox.io/s/quirky-fog-86g3f?file=/types.ts

My GraphQL schema:

Not applicable.

My GraphQL operations:

Not applicable.

My codegen.yml config file:

schema: schema.graphql
documents: document.graphql
config:
  useTypeImports: true
generates:
  types.ts:
    plugins:
      - typescript
      - typescript-operations
      - typescript-urql
      - typescript-urql-graphcache

My tsconfig.json config file:

{
  "compilerOptions": {
    "importsNotUsedAsValues": "error"
  }
}

Expected behavior
types.ts should use import type to import the types from @urql/exchange-graphcache. Instead it uses import, which causes tsc to report an error.

Environment:

OS: N/A
@graphql-codegen/typescript-urql-graphcache: 2.1.6
NodeJS: N/A

Additional context
I plan to submit a PR to fix this.

https://github.com/dotansimha/graphql-code-generator/releases/tag/%40graphql-codegen%2Ftypescript-urql-graphcache%402.2.1


[release/v2.9] Drop agent fallback path definition

Issue:
https://github.com/rancher/rancher/issues/46775
https://github.com/rancher/rancher/issues/46621
Original Issue:
https://github.com/rancher/rancher/issues/46963
Problem
A solution to allow CAPR/provisioningv2 to work on SLE Micro was implemented which force-added a fallback path definition to a v3 cluster environment variable set.
Solution
Stop defining the forced environment variable, and define a sane default in the system-agent installer.
Testing
Engineering Testing
Manual Testing

Provisioned a cluster using SLE Micro with v2.9.1, then upgraded to main and observed changes to environment variable file on system (/etc/systemd/system/rancher-system-agent.env)
Provisioned a new node on SLE micro with main
Provisioned a new node on Ubuntu with main

Automated Testing

Test types added/modified:

None

If "None" - Reason: Difficult to test

Summary: N/A
QA Testing Considerations
Regressions Considerations
Existing / newly added automated tests that provide evidence there are no regressions:

https://github.com/rancher/rancher/issues/46621 the system-agent bump also moves the images to bci-micro


Show sprites on timeline

While using your code, I had to show sprites on thumbnails.
As you can see, the sprites was shown.
But when I perform zooming, I realized that the width of timeline item didn't changed exactly.
I want you will let me know the reason.
Many Thanks.

@pegasus1982  Hi! Can I ask how you implement the video preview and the track? I don't know why on my safari, it looks like this. Many thanks

I added feature to generate sprites in backend myself.
Original codebase doesn't show sprite.

I added feature to generate sprites in backend myself.
Original codebase doesn't show sprite.

Oh, great work! Could you give me some basic instructions? I also really need this function.

So cool,

I added feature to generate sprites in backend myself.
Original codebase doesn't show sprite.

So cool, it looks amazing, can i have the basic instructions as well? pleaseee

While using your code, I had to show sprites on thumbnails.
As you can see, the sprites was shown.
But when I perform zooming, I realized that the width of timeline item didn't changed exactly.
I want you will let me know the reason.
Many Thanks.

Can you help me with sprites? I can help you with the preview

While using your code, I had to show sprites on thumbnails. As you can see, the sprites was shown. But when I perform zooming, I realized that the width of timeline item didn't changed exactly. I want you will let me know the reason. Many Thanks.

Hii @pegasus1982 I was stuck with visualizing the sprite. Can you please share the fork or give instructions? It will be so helpful!


Add VertialPodAutoscaler

This PR adds VerticalPodAutoscaler
https://github.com/giantswarm/giantswarm/issues/30134
Checklist

[x] Automated test are working (for chart changes)
[x] Changelog entry has been added
[x] I checked installing using the default values

Work done in giantswarm/kong-charts-upstream needs to be merged into main branch over there.


[Enhancement] Implement the function of File Source Connector

Search before asking

[X] I had searched in the issues and found no similar issues.

Enhancement Request
At present, the File Source Connector is basically an empty implementation.
Describe the solution you'd like
Implement the function of File Source Connector.
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct *

Hi @pandaapo I would like to work on this issue.Can I get some information on how to implement (start(),commit(),stop())this methods?

Thanks @pandaapo for your suggestion.I have started the implementation already.I am stuck at this poll() method.Any suggestions for implementing it would be of great help?

Thanks for the tips! I'll check out other Source Connectors and the File Sink Connector for reference. I appreciate your input and will keep you posted on the progress.

Hello @pandaapo , I have submitted a pull request. Could you please review it and provide any suggestions for changes if needed?

@pandaapo @HarshSawarkar I have a theoretical question regarding the File Source connector. Hope I get some suggestions or any resources to study related to my question.  This seems to be inefficient for now but maybe we can ignore that for now.
But let's say if we want to implement the commit() method how are we going to manage the offset? For each file, we need to store that offset persistently somewhere. From what I have read about offset in the context of file source, it can be the location of the byte last read or maybe the line number. What if the file is edited from the line existing previosuly than offset? For eg:- (offset present at line 91 but the user changed at line 22). I am not sure if my understanding is proper about file source connector but I am trying to refine it. Hope my question is clear enough. Thanks in Advance!!
@pandaapo @HarshSawarkar 我有一个关于文件源连接器的理论问题。 希望我能得到一些建议或任何与我的问题相关的研究资源。 因为我们没有实现 commit() 方法，所以每次文件中发生更改时，我们的连接器都会读取整个文件，然后将其推送到事件代理。 目前这似乎效率低下，但也许我们现在可以忽略它。
但是假设如果我们想实现 commit() 方法，我们将如何管理偏移量？ 对于每个文件，我们需要将该偏移量永久存储在某处。 根据我在文件源上下文中读到的偏移量，它可以是上次读取的字节的位置，也可以是行号。 如果文件是从先前存在的行而不是偏移量编辑的，该怎么办？ 例如：-（偏移量出现在第 91 行，但用户在第 22 行更改）。 我不确定我对文件源连接器的理解是否正确，但我正在尝试完善它。 希望我的问题足够清楚。 提前致谢！！

Hi @pandaapo,I have created a new PR as per the changes mentioned in earlier PR.Can you please review it again?And suggest changes,if any?Here's the link to new PR https://github.com/apache/eventmesh/pull/4650

Hello @pandaapo and @Pil0tXia , I appreciate your help and support! I'm eagerly looking forward to making more contributions. By the way, do you happen to know if EventMesh will be part of GSOC 2024? Additionally, could you share some of the ideas for this year? Thanks a bunch!

@HarshSawarkar
EventMesh will participate in at least one of GSoC/OSPP/GLCC each year. You don't need to worry too much because the registration period for these three events hasn't started yet. You can subscribe to our issues mailing list, where the subjects will be announced as issues.

@Pil0tXia Thanks for the update! Exciting to hear that EventMesh is participating in GSoC/OSPP/GLCC annually. I'll stay tuned for the registration period and subscribe to the issues mailing list. Appreciate your guidance!


mysql storage link for 0.12.3 broken

Going to http://static.druid.io/artifacts/releases/mysql-metadata-storage-0.12.3.tar.gz results in 500 error

i am infact constantly getting 500 errors trying to download anything from static.druid.io

For (hopefully) ephemeral problems like this, can the mailing list be used instead? it will be confusing to future issue archeologists if searching for mysql yields this issue in the search results.

$ curl -vsL http://static.druid.io/artifacts/releases/mysql-metadata-storage-0.12.3.tar.gz -o /dev/null
*   Trying <IP_ADDRESS>...
* TCP_NODELAY set
* Connected to static.druid.io (<IP_ADDRESS>) port 80 (#0)
> GET /artifacts/releases/mysql-metadata-storage-0.12.3.tar.gz HTTP/1.1
> Host: static.druid.io
> User-Agent: curl/7.54.0
> Accept: */*
>
< HTTP/1.1 200 OK
< x-amz-id-2: REDACTED=
< x-amz-request-id: REDACTED
< Date: Thu, 18 Oct 2018 16:36:50 GMT
< Last-Modified: Tue, 18 Sep 2018 20:30:40 GMT
< ETag: "REDACTED"
< Content-Type: application/x-tar
< Content-Length: 945143
< Server: AmazonS3
<
{ [16039 bytes data]
* Connection #0 to host static.druid.io left intact

There was some issue with S3 that day - the link is ok now and we didn't do anything to fix it.


Links are not working in the current pages and posts

Links are not working in the current pages and posts.  The URL has been included, but there's no anchor behind it.  This is most likely standard behaviour of Markdown.
Solution:

Modify the texts in each of the pages to include an anchor.

Updated.  Indeed a MD problem.  You must add


Version 3.5.6 does not specify the right Flutter SDK constraint

I am getting this error when trying to build for web, tried edge and chrome with same result I have searched all over for any solutions but cannot find any. Hoping someone here may know what to do. Thanks!

You should upgrade your Flutter version, the dart:ui_web library is a new addition to Flutter.

Thank you very much, I was unaware of that but suspicious that could also be the cause. Thank you for the confirmation.

We should have specified the minimum Flutter version in the pubspec of mobile_scanner, this would make this kind of issue disappear (You'll instead get a version conflict with pub, which is more helpful in this case)
@banderson0827 If you want to submit a patch for this, go ahead. Just updating the flutter: x.y.z constraint in the pubspec of this package + a version bump to 3.5.7 and a changelog entry is sufficient.
If you don't have the time, I'll see if I can do this later today.

I've fixed this in v4.0.0.

Thanks for fixing that one :)


Create add

Project-Guidance! 🎊🎈
Welcome! 🎉
Thank you for visiting our repository! We're excited to have you here. If you find this project useful, please consider giving it a star! ⭐
🎉 Have you reviewed the Contributing Guidelines? 🤔 (Required)

[ ] YES
[ ] NO

📝 Description

🔧 Fixes #issue_no (Required)

🏷 Initiative Participation (Required)
This pull request is associated with the following initiative. Please choose the one you are contributing to:

[ ] 🌸 GSSoC (Girl Script Summer of Code)
[ ] 🌼 GSSoC 2024 Extd.
[ ] 🍂 Hacktoberfest 2024
[ ] ❄ Script Winter of Code (SWoC)
[ ] ⛄ Winter of Blockchain (WoB)
[ ] 🙋♂ Personal
[ ] 📌 Other (please specify): _______________

thank u


consolidate ampli under main sdk; move some to legacy folder

Dev Docs PR
Description
Describe your changes.
Deadline
When do these changes need to be live on the site?
Change type

[ ] Doc bug fix. Fixes #[insert issue number]. Amplitude contributors include Jira issue number.
[ ] Doc update.
[ ] New documentation.
[ ] Non-documentation related fix or update.

PR checklist:

[ ] My documentation follows the style guidelines of this project.
[ ] I previewed my documentation on a local server using mkdocs serve.
[ ] Running mkdocs serve didn't generate any failures.
[ ] I have performed a self-review of my own documentation.

@amplitude-dev-docs
@caseyamp

👍 huge improvement


json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 2 (char 1)

Describe the bug
Hi,
Trying to run joebiden.py from tutorial directory and getting above mentioned error.
To Reproduce
Steps to reproduce the behavior:
For macos, changed
headers = {
"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36",
"cookie": f"sessionid={SESSIONID};"
}
and run
python tutorial/examples/JoeBiden/joebiden.py

Expected behavior
should run without any error
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: macOS
Browser chrom
Version 109.0.5414.87

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Having the same exact issue. Is this project dead?

I'm also having this issue, any feedback?

Seems like this repo is no longer maintained by the original creator. Found a good substitute using Apify


Mouse-over variable values are still shown after debugging session finished

Godot 3.0 master
Windows 10 64 bits
I started a debugging session and once on an error or breakpoint I was able to see the values in variables by moving my mouse over them in the script editor, which is expected.
However, when I stopped the debugger and moved my mouse over variables, these tooltips are still shown, which isn't expected.

Can confirm since before 2.1 😃

Could not reproduce in master

Closing as fixed.


ENH: Bump SWIG to 2024-03-26-master

Supports more modern C++
More Pythonic interfaces, e.g. Python Iterator Protocol
Python Limited ABI

There were duplicate definition errors due to double inclusion of
%template(vectoritkImageXX, std::vector< itkImageXX >)
via itkImage_ext.i in PCAShapeSignedDistanceFunction. Remove
itkImage_ext.i from the latter but still provide the required typemaps
by adding DECL_PYTHON_STD_VEC_RAW_TO_SMARTPTR_TYPEMAP in
itkPCAShapeSignedDistanceFunction.wrap.
Remove -py3 because it is no longer supported (the default).
Remove "ios_base*" config templates because they are no longer emitted.
Bump PCRE. SWIG and PCRE are now built via CMake instead of autotools.

@dzenanz note how to support std::vector< ImageType > on class APIs.

Closes #4536

Wow, that's a big step forward! Thanks Matt!
Still wondering, is there a specific reason to take the revision of 2024-03-26-master, rather than the last official release, https://github.com/swig/swig/releases/tag/v4.2.1  ?

Still wondering, is there a specific reason to take the revision of 2024-03-26-master, rather than the last official release, https://github.com/swig/swig/releases/tag/v4.2.1 ?

Yes, we want this patch: https://github.com/swig/swig/commit/21aa6e8f9e4c7d1b0249c46140b7ce5397d7dc52

Does this touch #3955?

MacOS Python build error:
CMake Error at /usr/local/Cellar/cmake/3.28.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find BISON: Found unsuitable version "2.3", but required is at
  least "3.5" (found /usr/bin/bison)
Call Stack (most recent call first):
  /usr/local/Cellar/cmake/3.28.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:598 (_FPHSA_FAILURE_MESSAGE)
  /usr/local/Cellar/cmake/3.28.1/share/cmake/Modules/FindBISON.cmake:306 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:91 (find_package)

I assume we need to bump the version here:
https://github.com/InsightSoftwareConsortium/ITK/blob/fad58494684c15c71525e127ba5fc6318dd33831/Testing/ContinuousIntegration/AzurePipelinesMacOS.yml#L34

Does this touch https://github.com/InsightSoftwareConsortium/ITK/issues/3955?

I will add macOS binaries.

I assume we need to bump the version here:

No, we want to keep testing against the older version, and bumping would not help with the build.

/azp run ITK.Windows


ATTACH Partition after ZK data lost

hi,
Days ago, our zookeeper crash, and we lost all the metadata, including the ClickHouse replication data.
We use ReplicatedMergeTree engine, each table has two replicas, in different nodes.
The recovery progress is as below:

stop the server
mv metadata/table.sql to metadata/table.sql.bak
mv data/table to data/table_bak
start the server
recreate the table with the same schema
mv data/table_bak to data/table/detach
alter table attach partition 'name'
the old data recovery and other nodes will fetch data by zookeeper

My Question is the attach partition act can only be performed on one node if both nodes run 'attach partition xxx', the xxx data will be duplicated.
My ClickHouse Version:
SELECT version()

┌─version()─┐
│ 1.1.54289 │
└───────────┘

server log
2018.01.16 12:47:03.727840 [ 4 ] <Debug> aaa.xyz (StorageReplicatedMergeTree): Looking for parts for partition 201801 in detached/
2018.01.16 12:47:03.727939 [ 4 ] <Debug> aaa.xyz (StorageReplicatedMergeTree): Found part 20180102_20180102_1_1_0
2018.01.16 12:47:03.727960 [ 4 ] <Debug> aaa.xyz (StorageReplicatedMergeTree): Found part 20180103_20180103_2_2_0
2018.01.16 12:47:03.727993 [ 4 ] <Debug> aaa.xyz (StorageReplicatedMergeTree): Found part 20180101_20180101_0_0_0
2018.01.16 12:47:03.728012 [ 4 ] <Debug> aaa.xyz (StorageReplicatedMergeTree): 3 of them are active
2018.01.16 12:47:03.728031 [ 4 ] <Debug> aaa.xyz (StorageReplicatedMergeTree): Checking parts
2018.01.16 12:47:03.728040 [ 4 ] <Debug> aaa.xyz (StorageReplicatedMergeTree): Checking part 20180101_20180101_0_0_0
2018.01.16 12:47:03.728420 [ 4 ] <Debug> aaa.xyz (StorageReplicatedMergeTree): Checking part 20180102_20180102_1_1_0
2018.01.16 12:47:03.728701 [ 4 ] <Debug> aaa.xyz (StorageReplicatedMergeTree): Checking part 20180103_20180103_2_2_0
2018.01.16 12:47:03.731037 [ 4 ] <Trace> aaa.xyz (Data): Renaming temporary part detached/20180101_20180101_0_0_0 to 20180101_20180101_3_3_0.
2018.01.16 12:47:03.733422 [ 10 ] <Debug> aaa.xyz (ReplicatedMergeTreeQueue): Pulling 1 entries to queue: log-0000000003 - log-0000000003
2018.01.16 12:47:03.734243 [ 4 ] <Debug> aaa.xyz (StorageReplicatedMergeTree): Attached part 20180101_20180101_0_0_0 as 20180101_20180101_3_3_0
2018.01.16 12:47:03.735853 [ 10 ] <Debug> aaa.xyz (ReplicatedMergeTreeQueue): Pulled 1 entries to queue.
2018.01.16 12:47:03.736782 [ 4 ] <Trace> aaa.xyz (Data): Renaming temporary part detached/20180102_20180102_1_1_0 to 20180102_20180102_4_4_0.
2018.01.16 12:47:03.738258 [ 10 ] <Debug> aaa.xyz (ReplicatedMergeTreeQueue): Pulling 1 entries to queue: log-0000000004 - log-0000000004
2018.01.16 12:47:03.740226 [ 4 ] <Debug> aaa.xyz (StorageReplicatedMergeTree): Attached part 20180102_20180102_1_1_0 as 20180102_20180102_4_4_0
2018.01.16 12:47:03.740762 [ 14 ] <Trace> InterserverIOHTTPHandler-factory: HTTP Request for InterserverIOHTTPHandler-factory. Method: POST, Address: xxxxxxxx:50950, User-Agent: none
2018.01.16 12:47:03.740826 [ 14 ] <Trace> InterserverIOHTTPHandler: Request URI: ?endpoint=DataPartsExchange:%2Fclickhouse%2Faaa%2Fxyz%2F1%2Freplicas%2Fck21&part=20180101_20180101_3_3_0&shard=&compress=false
2018.01.16 12:47:03.740849 [ 14 ] <Trace> aaa.xyz (Replicated PartsService): Sending part 20180101_20180101_3_3_0
2018.01.16 12:47:03.740924 [ 10 ] <Debug> aaa.xyz (ReplicatedMergeTreeQueue): Pulled 1 entries to queue.
2018.01.16 12:47:03.741225 [ 14 ] <Information> InterserverIOHTTPHandler: Done processing query
2018.01.16 12:47:03.743517 [ 14 ] <Trace> InterserverIOHTTPHandler-factory: HTTP Request for InterserverIOHTTPHandler-factory. Method: POST, Address: xxxxxxxx:50952, User-Agent: none
2018.01.16 12:47:03.743565 [ 14 ] <Trace> InterserverIOHTTPHandler: Request URI: ?endpoint=DataPartsExchange:%2Fclickhouse%2Faaa%2Fxyz%2F1%2Freplicas%2Fck21&part=20180102_20180102_4_4_0&shard=&compress=false
2018.01.16 12:47:03.743582 [ 14 ] <Trace> aaa.xyz (Replicated PartsService): Sending part 20180102_20180102_4_4_0
2018.01.16 12:47:03.743916 [ 14 ] <Information> InterserverIOHTTPHandler: Done processing query
2018.01.16 12:47:03.744522 [ 4 ] <Trace> aaa.xyz (Data): Renaming temporary part detached/20180103_20180103_2_2_0 to 20180103_20180103_5_5_0.
2018.01.16 12:47:03.749132 [ 7 ] <Debug> aaa.xyz (Merger): Selected 5 parts from 20180101_20180101_0_0_0 to 20180102_20180102_4_4_0
2018.01.16 12:47:03.749166 [ 4 ] <Debug> aaa.xyz (StorageReplicatedMergeTree): Attached part 20180103_20180103_2_2_0 as 20180103_20180103_5_5_0
2018.01.16 12:47:03.749206 [ 10 ] <Debug> aaa.xyz (ReplicatedMergeTreeQueue): Pulling 1 entries to queue: log-0000000005 - log-0000000005
2018.01.16 12:47:03.749265 [ 4 ] <Debug> MemoryTracker: Peak memory usage (for query): 64.69 KiB.
2018.01.16 12:47:03.749285 [ 4 ] <Debug> MemoryTracker: Peak memory usage (for user): 64.69 KiB.
2018.01.16 12:47:03.749295 [ 4 ] <Debug> MemoryTracker: Peak memory usage (total): 64.69 KiB.
2018.01.16 12:47:03.749318 [ 4 ] <Information> TCPHandler: Processed in 0.022 sec.
2018.01.16 12:47:03.756072 [ 10 ] <Debug> aaa.xyz (ReplicatedMergeTreeQueue): Pulled 1 entries to queue.

My Question is the attach partition act can only be performed on one node if both nodes run 'attach partition xxx', the xxx data will be duplicated.

Hopefully you've already found the relevant of documentation by now:

ALTER TABLE [db.]table ATTACH PARTITION|PART 'name'
Adds data to the table from the 'detached' directory.
It is possible to add data for an entire partition or a separate part. For a part, specify the full name of the part in single quotes.
The query is replicated. Each replica checks whether there is data in the 'detached' directory. If there is data, it checks the integrity, verifies that it matches the data on the server that initiated the query, and then adds it if everything is correct. If not, it downloads data from the query requestor replica, or from another replica where the data has already been added.
So you can put data in the 'detached' directory on one replica, and use the ALTER ... ATTACH query to add it to the table on all replicas.


Build frame for the home page

As a user, I need a start page to be able to select my created robots to edit or launch in the future.
:thought_balloon:   Hints & Thoughts
I think that with this issue the issue #39 becomes outdated.
Below you will find a design proposal for the new start page:

:white_check_mark:   Conditions of satisfaction

[ ] Should include a tabular frame for the home page in our CI design.
(maybe 4 robots in rectangular boxes next to each other and 3 below each other).
[ ] For such a frame (a cell of the table), there should already be a dummy component with hard-coded values, which contains the basic interaction features.
[ ] Such a frame (a cell of the table) should be highlighted in a different color and used to create a new robot.
Again, hard-coding the frontend is sufficient. The creation of a new bot will be implemented later.

@lukashueller Maybe only render those boxes for actual bots created? Dynamically rendering the page length would be a great usability feature instead of having the rows hardcoded?
How about a search option to search for robots by name?

Also, I seem to not quite understand the CoS, could you please explain them to me and/or elaborate on them?

@kej-jay I hope it is now more understandable? Thank you for the feedback!

After a vote in the team, it became clear that this would not outdate the issue #39 . We still want to build a small frontend to inform potential users what our product can do.


Implement shell API server with /push, /validators and /validators/{address} endpoints

Abstract
API to implement:
POST /push
GET /validators[?height=42]
GET /validator/{address}[?height=42]

Push
The /push endpoint accepts and stores a block in a relational database. The schema of the database has to be documented (#7 ). No validation is required on the incoming data.
A tool to test this is implemented in bpfkora/agora#972
Validators
The height parameter is optional. If present, it must accepts a positive integer. If absent, the most up to date state is expected.
{address} is the public key string of a node.
The return of GET /validators is an array of ValidatorInfo items, JSON serialized.
[
    {
        "address": "GCEEEEEEE424242",
        "enrolled_at": 4242,
        "stake": "0xabcdefdeadbeef",
        "preimage": {
            "distance": 69,
            "hash": "0xdeadbeefbadf00d"
        }
    }
]

I think the stake value here is the UTXO amount of the validator.

It's the UTXO key, not amount.


Removed typo

component: removed typo
Change-type: patch
Signed-off-by: Laura Alison<EMAIL_ADDRESS>

My diff is showing the only thing changed was a space added at the end of the paragraph.

duplicate of https://github.com/balena-io/docs/pull/1694 ?

@balena-ci rebase


How do I write my own code in src/data/make_dataset.py?

I am new to building packages / data pipelines. I have mostly been writing my analysis in notebooks. I have myself asked the questions that you pose in your introductions to your template.

Are we supposed to go in and join the column X to the data before we get started or did that come from one of the notebooks?
Come to think of it, which notebook do we have to run first before running the plotting code: was it "process data" or "clean data"?
Where did the shapefiles get downloaded from for the geographic plots?

But how do I write my functions?
Say if I have a simple function:
def read_in_data():
  df = pd.read_csv(data_dir+"example.csv")
  return df

Where do I put this? Is it inside the make_dataset.py file?

How do I run this? Where is the 'controller' that runs all of my functions in the correct order? Where is my interface to interact with the code? I'm assuming it's meant for the command line?

So do I enter each file manually from the command line?
python src/data/make_dataset.py
Sorry if these are all very basic questions but I have been searching and can't find the help I need. I'm guessing this is more a problem with not knowing the correct question to ask.

Hi Tommy, it's good to raise questions like this because they suggest ways in which the documentation can be sharpened.
To answer your question in a sort of brief way, there's a way of orchestrating data flows that treats a script like make_dataset.py as a building block that does one thing well (see also: the Unix philosophy).
But you need a way to tie together all these building blocks into a DAG, which is where Make (or other another tool like it) comes in. We write a little about that here in the docs but I like how Mike Bostock (of D3 fame) puts it: https://bost.ocks.org/mike/make/
This is a deep topic so not sure a Github issue is the best place to discuss further, but feel free to email me, my contact info is easy to find.

Hi isms this has been incredibly helpful thank you! I have managed to get the project up and running and I have been really impressed with the template. The best thing is that I am working with collaborators, none of us have a software engineering background. This means that I have been somewhat responsible for structuring the code but I can point people to your page to explain why I have chosen to do things in a particular way.
I do think for absolute beginners to Software Engineering (which many PhD students are) it would be great to have some more information about where the code is written and executed. Maybe that's not fair because I understood it eventually but it might be worth thinking about.
I read the Mike Bostock page about the Makefile and the other references in the docs that explain the R projects that are looking to do something similar.
Yesterday I also came across this article:. It looks at how to use Docker containers to recreate your environment. I had an issue with your script because it wasn't playing nicely with my conda environment, and I wanted to use the conda export function to write a environment.ymlfile to share the packages required for my project.
These are all minor issues! Thank you for introducing me to structuring my projects! As I move forwards I hope that I can keep using your template and maybe even contribute once I have something useful to add!
Tommy

@tommylees112 Great! Closing the ticket for now but will plan to include this clarification when working on the docs.


Adding Tag Cloud Page.

I have added the tag cloud from my website to the theme. I'm just not sure where we should put the link for this. Let me know if you have any thoughts. Also, I have not added the hash svg icon here, so if you have a source for them, we can use that too.
Issue: https://github.com/nielsenramon/chalk/issues/128
Example: https://rahulja.in/tags

@xRahul Nice! Once it's ready for merging I will merge it and style it a bit + add a link to the page.

As the commits increased a lot, I'll raise another one.


Adding a test to check the openssl version we are using.

LGTM.

        _________   _________   _________   __________
       /         \ /         \ /         \ /          \
       |A        | |A        | |A        | |A         |
       |    ,    | |   _ _   | |    _    | |          |
       |   / \   | |  / ^ \  | |   (_)   | |    /\    |
       |  (_ _)  | |  \   /  | |  (_)_)  | |   <  >   |
       |   /_\   | |   \ /   | |   /_\   | |    \/    |
       |         | |    `    | |         | |          |
       |        A| |        A| |        A| |         A|
       \_________/ \_________/ \_________/ \__________/

:spades::hearts::clubs::diamonds:


Add documentation

Added: basic documentation built on Travis CI.

Reminders:

[x] Run invoke format to make sure the code follows the style guide,
[x] Add tests for new features or tests that would have caught the bug that you're fixing,
[x] Write detailed docstrings for all functions, classes and/or methods,
[x] If adding new functionality, unit test it and add it to the documentation.

Codecov Report

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

@@           Coverage Diff           @@
##           master       #6   +/-   ##
=======================================
  Coverage   89.80%   89.80%
=======================================
  Files          29       29
  Lines         942      942
=======================================
  Hits          846      846
  Misses         96       96

Impacted Files
Coverage Δ

stochopy/optimize/_helpers.py
100.00% <ø> (ø)

stochopy/optimize/cmaes/_cmaes.py
90.15% <ø> (ø)

stochopy/optimize/cpso/_cpso.py
89.81% <ø> (ø)

stochopy/optimize/de/_de.py
90.42% <ø> (ø)

stochopy/optimize/pso/_pso.py
100.00% <ø> (ø)

stochopy/optimize/vdcma/_vdcma.py
87.57% <ø> (ø)

stochopy/sample/_helpers.py
100.00% <ø> (ø)

stochopy/sample/hmc/_hmc.py
87.95% <ø> (ø)

stochopy/sample/mcmc/_mcmc.py
90.74% <ø> (ø)

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 de516b6...bb27265. Read the comment docs.


Notification to Teams app from S/4HANA

Hi Alex,
If we remember correctly, the user can trigger a notification from S/4HANA with Event-Mesh in the scenario. In the new version, we cannot see it mentioned.
Could you please advise how we can achieve that?
Thank you,
Thien

Hi Thien,
This is correct.
You would need to configure this json file. If you have more question on configuration, please let us know!
Best,
Alex

Hi Alex,
We can push the event from S/4HANA OP to Teams. Thanks a lot for your strong support.
There is a behavior I would like to share when we tested the app. we experienced some crashes during send the event to BTP via abap code. The scenario we run is:

PO approval has multiple approvers (4 approvers as current config).
Push event to BTP is correct
But the app crash when the notification router runs. the consequence is notifications cannot trigger Teams.
But if we run 1, or 2 approvers. It is running fine.
There also an error code ERR_HTTP_HEADERS_SENT
I attached the log of the backend app if it would help.
teams-backend-2023-06-21 08_57_57.887+0000.txt

Once again, thank you so much.
BR
Thien

Hi Thien,
Thanks for reporting the crash! We'll go ahead and look into this behavior.
Best,
Alex

Hi Thien,
We have created a fix for this issue. It will be pushed with the new version of the framework. However, until then, please update your /backend/router/NotificationRouter.js file with the code below:
const Router = require("express");

const { MsGraphClient } = require("../services/MsGraphClient");
const AuthManager = require("../services/authManager");
const { MessageFactory, CardFactory } = require("botbuilder");

const adaptivecard = require("../bots/adaptiveCardsHelper.js");
const botActivityHandler = require("../bots/botActivityHandler");
const botAdapter = require("../bots/botAdapter");
const ConfigInterface = require("../helpers/configInterface");

const notificationRouter = Router();

// Push notification endpoint
notificationRouter.post("/notifyUser", async (req, res) => {
  console.log("\nData received for notification:\n", req.body);

  let eventData = { ...req.body };

  // If the Receiver emails are sent as a comma-separated string
  if (typeof eventData["USER_EMAIL"] === "string") {
    eventData["USER_EMAIL"] = eventData["USER_EMAIL"]
      .split(",")
      .map((substring) => substring.trim());
  }

  try {
    // Obtaining notification config from the config server
    const notificationConfig = await ConfigInterface.getInterfaceMappingConfig(
      "/notification/notificationConfig.json",
      req.logger
    );

    // Obtaining ObjectScreenConfig/detail screen config

    const frontendPageConfig = await ConfigInterface.getInterfaceMappingConfig(
      notificationConfig.DetailScreenConfig,
      req.logger
    );

    try {
      // Obtaining app level token to fetch user details
      const token = await AuthManager.getAccessTokenForApplication();
      const client = new MsGraphClient(token);

      // Delivering notification to all recepients in the notification config

      for (email of eventData[notificationConfig.fields.ReceiverEmailList]) {
        const receiver = await client.getUserProfile(email);

        if (!receiver) {
          console.error(`Email ${email} not found in Azure AD!`);
          continue;
        }

        // Get conversation reference for the user
        const conversationReference =
          await botActivityHandler.getConversationReference(receiver.teamsId);

        if (conversationReference) {
          let cardData = { Others: {} };
          cardData["BusinessObjectName"] =
            notificationConfig.BusinessObjectName;

          for (let key in notificationConfig.fields) {
            if (key === "Others") {
              for (let oth in notificationConfig.fields["Others"]) {
                if (
                  req.body.hasOwnProperty(
                    notificationConfig.fields["Others"][oth]
                  )
                ) {
                  cardData.Others[oth] =
                    req.body[notificationConfig.fields["Others"][oth]];
                }
              }
            } else {
              cardData[key] = req.body[notificationConfig.fields[key]];
            }
          }

          cardData["Forward"] = req.body.FORWARD;
          cardData["origSysManagementAppURL"] =
            notificationConfig.origSysManagementAppURL;

          const detailPageUrl =
            process.env.frontendUrl +
            `/${frontendPageConfig.system}/${frontendPageConfig.interface}/${frontendPageConfig.businessObject}Object?${frontendPageConfig.businessObject}=${cardData.ObjectId}`;

          await botAdapter.continueConversation(
            conversationReference,
            async (turnContext) => {
              const notificationCard = CardFactory.adaptiveCard(
                adaptivecard.NotificationCard(cardData, detailPageUrl, "0000")
              );
              try {
                await turnContext.sendActivity(
                  MessageFactory.attachment(notificationCard)
                );
              } catch (error) {
                console.log("\nTurn context error: ", error);
              }
            }
          );
        } else {
          console.log(
            "\nNo ConversationReference found for user " + receiver.fullName
          );
          continue;
        }
      }
      res.status(200).send("Notification sent!");
    } catch (e) {
      console.log("Error while sending notification\n", e);
      res
        .status(500)
        .send(
          "Internal server error: Error while sending notification to the user(s)."
        );
    }
  } catch (e) {
    console.log("Error while retrieving Bridge Config files\n", e);
    res
      .status(500)
      .send("Internal server error: Could not retrieve Bridge Config files");
  }
});

module.exports = notificationRouter;

Don't forget to push your backend code after pasting this in to replace the existing code!
Best,
Alex


fix(versions): update Activiti/activiti-cloud-full-chart-security versions

UpdateBot pushed helm dependency: activiti-cloud-full-example to: 7.1.136

UpdateBot commands:
updatebot push-version --kind helm activiti-cloud-full-example 7.1.136


Fix DOS in new AckHandler

See this profile: https://dl.dropboxusercontent.com/u/1428776/dtrace_236.svg
Will push the test shortly.

See the branch benchmark-test.

@lucas-clemente: I don't get any transfer rate values from the benchmark-test. I hope that #239 fixed this. Can you please check?

Don't think so. I've rebased and pushed to the branch. The test still hangs and consumes a lot of CPU.

The test hangs (probably due to the ACK cascade), but doesn't consume any CPU.
@lucas-clemente: Please confirm and close this issue.

The DOS is indeed gone, but we now hang on #248.


locales, config Not Being Uploaded

Whether I run a straight 'theme replace' or explicitly try to 'theme upload locales/de.json' (for example), the CLI exits without any feedback and without uploading anything.
My setup isn't ignoring these directories and I can't see any config to whitelist them.
I'm running theme kit on macOS Sierra, Ruby 2.3.0

Hi tanema,
I ran the install script yesterday so I'm guessing it's the latest stable version.
I've also discovered that assets aren't being uploaded so it's just templates and snippets that are working for me!

I can provide some insight…
My config.yml ignore_files contained 'js' as I wanted to exclude an uncompiled src js directory — what I didn't realises was that this was matching against any files containing 'js' in the filename or extension, including json.
Changing my ignore to 'js/' solved the problem, though I'm not sure if the aggressive matching is the expected behaviour?

hey thanks, that is helpful feedback. I will talk to the other maintainers about what should be expected. The agressive matching really helps powerful filtering but situations like this happen. Maybe in the future I will output a warning that a file is ignored due to a pattern.

Okay, I figured instead of neutering the file globbing I will document this better. I have added it to the planning for this year (https://github.com/Shopify/themekit/issues/128)


Add Recipient helpers and URL status

Those commits were cherry-picked to the https://github.com/aeternity/superhero-wallet/pull/1534.


compiling on rpi

does the ofxBox2d master run on the rPi together with of 0.10.1?
i'm getting errors concerning the triangle lib complaining about multiple definitions.. i tried the default examples which are running/compiling fine on osx not having ofxTriangle or ofxDelaunay or some other addon using triangle libs..
anyway.. thanks for the great addon..

my mistake.. examples are compiling now..
but one thing which is not working on the rPi is enabling the grabbing of objects..


Cache: Simple http cache update headers impl

Commit Message: Cache - Added a basic update_headers implementation for simple_http_cache
Risk Level: Low
Testing: Unit, Integration
Fixes: #15830, a to-do item instead of a bug
Signed-off-by<EMAIL_ADDRESS>

Looks good. Ty!

looks like a build failure has crept in. can you take a look?

maybe a 'main' merge is needed.

/wait

@jmarantz The build should be good now. It still requires an approval to run the remaining checks.


Documenting the Python with syntax for persistent storage

The documentation on persistent storage instructs Python users to open a connection and then call .close() as an additional step. This is the type of pattern that works well with context managers. After guessing that DuckDB had this intuitive use case implemented, I discovered that DuckDB does indeed support a context manager for database connections:
with duckdb.connect('path/to/database.db') as con:

But this functionality is not indicated in the section of the documentation (that I linked above). This warrants a simple addition of something like, "You can accomplish the same using a context manager as so..." and then providing the same example code but using the with statement instead of con.close().

Thanks, I implemented this


add license of require-css,cc# 9500

https://github.com/x112358/require-css/blob/master/LICENSE
@nolsherry

@x112358 , please sent the PR to CDNJS, thanks!