[WIP] Lerna 🐉

[x] Add lerna
[x] Separate adapter-utils to own package
[x] Move in adapter-flat-file-db (keep git history to keep contributions)
[x] Move in adapter-memory
[x] Run tests and lint from main package.json
[x] Make all packages follow same .babelrc
[x] Create a new top level readme
[x] Make tests work
[x] Add note in main readme about community adapters

@mxstbr This is starting to take shape 🎉
I am thinking that we should switch the database mocking with the memory adapter. I think the new setup broke the jest mocking of flat-file-db.

Codecov Report

Merging #69 into master will decrease coverage by 1.92%.
The diff coverage is 88.88%.

@@            Coverage Diff             @@
##           master      #69      +/-   ##
==========================================
- Coverage   77.21%   75.28%   -1.93%
==========================================
  Files           8       10       +2
  Lines         158      259     +101
  Branches       38       44       +6
==========================================
+ Hits          122      195      +73
- Misses         34       59      +25
- Partials        2        5       +3

Impacted Files
Coverage Δ

packages/micro-analytics-cli/src/sse.js
83.33% <ø> (ø)

packages/micro-analytics-cli/src/index.js
0% <ø> (ø)

packages/micro-analytics-cli/src/utils.js
76.47% <ø> (ø)

packages/adapter-utils/src/filtering.js
100% <ø> (ø)

packages/adapter-utils/src/index.js
0% <0%> (ø)

packages/adapter-utils/src/unit-tests.js
74.75% <100%> (ø)

packages/micro-analytics-cli/src/handler.js
71.42% <100%> (ø)

packages/micro-analytics-cli/src/healthcheck.js
100% <100%> (ø)

packages/micro-analytics-cli/src/parseArgs.js
95.83% <100%> (ø)

packages/micro-analytics-cli/src/db.js
94.44% <100%> (ø)

... and 3 more

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 0428c85...6fa83c4. Read the comment docs.

Let's publish a canary version once tests are passing to make sure everything is working as expected?

This is ready for a review now :v:
There is one little problem were it uses the wrong file in adapter-utils in node 6. Not sure why it does not work. (https://github.com/micro-analytics/micro-analytics-cli/pull/69/files#diff-3c7d545fdc1d88cf431afbe629f0f29cR3)

Also, the canary releases works
~/dev/test-ma » yarn add<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>yarn add v0.24.5
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
warning<EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>[4/4] 📃  Building fresh packages...
success Saved 0 new dependencies.
✨  Done in 0.68s.
------------------------------------------------------------
~/dev/test-ma » micro-analytics
micro-analytics listening on <IP_ADDRESS>:3000
  with adapter flat-file-db
  with server side events

------------------------------------------------------------
~/dev/test-ma » micro-analytics --adapter memory
micro-analytics listening on <IP_ADDRESS>:3000
  with adapter memory
  with server side events

------------------------------------------------------------
~/dev/test-ma » micro-analytics --adapter memory &
[1] 89003
------------------------------------------------------------
~/dev/test-ma » micro-analytics listening on <IP_ADDRESS>:3000
  with adapter memory
  with server side events

------------------------------------------------------------
~/dev/test-ma » curl localhost:3000/test
{"views":1}

Finally got the build green 🎉 Do you think we can ship this @mxstbr?

Let's shipit!

Nice work, thanks for fighting through that!

This is a breaking change for micro-analytics-cli, since we moved adapter-utils to another package. Thus, we need to bump major for that package. I will release:
micro-analytics-cli 3.0.0
micro-analytics-adapter-utils 1.0.0
micro-analytics-adapter-memory 1.0.1
micro-analytics-adapter-flat-file-db 1.3.1
and then for next release we can make lerna do all the work I think.


Bundles are not placed to Rome folder

I tried Rome with ZendeskSDK that is precompiled and comes with bundles. Rome correctly puts the precompiled frameworks in Rome folder, but it ignores the bundles.

Sounds like a real bug, would you like to try fix this?

I see it could be done in:
umbrella.specs.each do |spec|
  consumer = spec.consumer(umbrella.platform_name)
  file_accessor = Pod::Sandbox::FileAccessor.new(sandbox.pod_dir(spec.root.name), consumer)
  frameworks += file_accessor.vendored_libraries
  frameworks += file_accessor.vendored_frameworks
end

Right? How would I get resources field from Podspec there?

I’d expect spec to have a .resources


Logging related model changes

Hi. I have 2 questions:

Can you please tell me if it is possible to log changes in the related model? Right now my code looks like this and changing value in field field_1 in the model A not displayed in the database records. Am I missing something?
How can I pass additional_data for changes?

class A(models.Model):
    fk_on_other_model = models.ForeignKey('B', related_name='some_related_name', on_delete=models.CASCADE)
    field_1 = models.CharField()

class B(models.Model):
    ...

auditlog.register(B)

Hi,

Can you please tell me if it is possible to log changes in the related model? Right now my code looks like this and changing value in field field_1 in the model A not displayed in the database records. Am I missing something?

You need to register your model

How can I pass additional_data for changes?

Unfortunately, It's not documented. you can do it by adding a get_additional_data to your model. The method has to return a dict.
Take a look at this example: https://github.com/jazzband/django-auditlog/blob/2b0bc9efa2db94af2c5e130cce4e662cf3b2ad0e/auditlog_tests/models.py#L168-L178

@hramezani thank you!


SPN ObjectID and ObjectName is incorrect in instructions

The similar issue(#80169) has already been raised, but in this page there is the mistakes.

Grant Azure Front Door access to your key vault
In Select principal, search for ad0e1c7e-6d38-4ba4-9efd-0bc77ba9f037, and choose Microsoft.Azure.Frontdoor. Click Select.

Please update "ad0e1c7e-6d38-4ba4-9efd-0bc77ba9f037"
with
"205478c0-bd83-4e1b-a9d6-db63a3e1e1c8", and
"Microsoft.Azure.Frontdoor"
with
"Microsoft.Azure.Frontdoor-Cdn"

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

ID: 105783bc-d51e-c199-7c51-1475bc9fbaa0
Version Independent ID: 114c01b8-8b95-ff91-98c5-fd44b12ac6fc
Content: Tutorial - Configure HTTPS on a custom domain for Azure Front Door
Content Source: articles/frontdoor/front-door-custom-domain-https.md
Service: frontdoor
GitHub Login: @duongau
Microsoft Alias: duau

@tetsuyasodo, Thanks for reaching out. We will investigate and update this thread.

@tetsuyasodo , SPN ObjectID for Azure Front Door (Classic) is "ad0e1c7e-6d38-4ba4-9efd-0bc77ba9f037".
You can validate the same in PowerShell as below:
ServicePrincipalNames : {ad0e1c7e-6d38-4ba4-9efd-0bc77ba9f037,
ApplicationId : ad0e1c7e-6d38-4ba4-9efd-0bc77ba9f037
ObjectType : ServicePrincipal
DisplayName : Microsoft.Azure.Frontdoor <----------- this is for Azure Front Door (Classic)
ServicePrincipalNames : {205478c0-bd83-4e1b-a9d6-db63a3e1e1c8,
ApplicationId : 205478c0-bd83-4e1b-a9d6-db63a3e1e1c8
ObjectType : ServicePrincipal
DisplayName : Microsoft.AzureFrontDoor-Cdn <---------- this is for Azure Front Door Standard/Premium SKU
We are closing this issue for now. If there are further questions regarding this matter, please reply and we will gladly continue the discussion.


Add support for 1.20.5/6

I got this far as well, but for me (just like with my local changes) I can only join the world after 30 seconds again

I tried looking at the client source code, but due to a lack of time I wasn't really able to figure out what is needed to get the client through that loading screen phase.


[BACKLOG-25791] Fixed an issue with meta inject selection dialog

Build Completed
:white_check_mark: This pull request has passed all validations.
Build Commands
mvn -B -f 'pom.xml' -pl 'plugins/meta-inject' -P '!assemblies' -Dsurefire.runOrder=alphabetical -Daudit -amd clean install

Cleanup Commands
mvn -B -f 'pom.xml' -pl 'plugins/meta-inject' -P '!assemblies' -amd build-helper:remove-project-artifact

Changed files
  plugins/meta-inject/src/main/java/org/pentaho/di/ui/trans/steps/metainject/MetaInjectDialog.java


EPIC: Expand and Consolidate documentation

[] ensure that documentation fully covers all PyFluent-* features
[] maintain cheatsheet properly so that it always gives a full, broad and up-to-date summary over PyFluent functionality
[] link to the cheatsheet from the main doc OR rather just start from scratch!
[] optionally create a PyFluent-visualization cheatsheet
Good example: https://matplotlib.org/cheatsheets/_images/cheatsheets-1.png
Specific, additional issues:
[] add a user-guide section, fully detailing what all the session types are #2956
[] Consider moving much doc from API Ref to user guide #2957
[] reconsider each launch_fluent() snippet where the mode could be left at the default
[] API reference simply exposes the public interfaces based on the package hierarchy #3109

The following dcumentation aspects of Python sources should be looked into:

Missing or incomplete docstrings
Missing typehints
Missing exception specification (serach for disable=missing-raises-doc in code)
A lot of these can be captured by enbaling linter options (e.g. enabling missing-param-doc in the docparams pylint extension shows all missing parameter declaration).

@hpohekar to look into 1 and 3 above

Related: https://github.com/ansys-internal/pyansys-quarto-cheatsheet

The cheatsheet part is still outstanding. Also note the points made by @mkundu1  above.

@seanpearsonuk I'm looking into cheat sheet part. https://github.com/ansys/pyfluent/issues/3461


Add "Replace Remote" to Settings Sync Turn On options

When Turning on Settings Sync for the first time from your main development machine you will most likely want to take your local settings and replace the remote settings.  The current experience forces you to perform a Manual Merge and select local on all of the many settings files, which is a cumbersome process.
In my case here was the order I took with enabling Settings Sync:

Turn on Settings Sync on my secondary machine
Realize that I had not Synced my settings already from my primary machine and nothing was working as I expected.
Turn on Settings Sync on my primary machine
Surprised I could not just take the local settings.

Current Options
Merge
Replace Local
Merge Manually
Requested Options
Merge
Merge Manually
Replace Local
Replace Remote

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!


Allow dependency name overriding or elimination

While uv now has overrides, and issue #2686 is suggesting being able to declare certain overrides as pertaining to a specific dependency, I have an additional suggestion/request.
I would like to be able to override a package dependency with a package that has a different name.
As a concrete case, the FuelSDK package depends on suds-jurko, but has been tested to work with it's fork/successor project suds-community, a.k.a. just suds these days.
(Yes, the project has come full circle, with the fork of the fork officially taking over the original name).
A possibility that comes to mind would be a special syntax for the -o overrides.txt file like:
suds-jurko=>suds>=1.1,<2.0

Or perhaps:
suds-jurko:suds>=1.1,<2.0

Considering the long history of python packages that fork and continue the work of orphaned packages (e.g. PIL/Pillow), this could be a nice complement to the overrides functionality of uv.
Perhaps it could even be used to remove a dependency completely, e.g.:

suds-jurko=>!
suds-jurko=>
suds-jurko:!
suds-jurko:

Thinking about this some more, just the functionality of blocking a dependency from being installed already offers a way to do this kind of override.
That is, I could add to my requirements.in:
Fuel-SDK
suds>=1.1,<2.0

Then to my overrides one of the options for deleting a removing a dependency I mentioned previously, or perhaps just a special version. e.g one of:

suds-jurko==skip
suds-jurko==none
suds-jurko==

Interesting idea! Makes some sense, though I'm also not quite sure how it should be expressed and if it's feasible.

Another option to express dependency elision is to use the URI version specifier to mean: install this package from nowhere.

suds-jurko@skip:
suds-jurko@about:blank

The last one was suggested to me by github copilot:

To explicitly reference nothing or create a URI that signifies an absence of a resource, you can use the about:blank URI. This URI leads to an empty document in web browsers and is often used to represent a null or non-existent resource in contexts where a URI is required but there is no actual resource to point to.

And since URIs effectively allow namespacing on schemes, and the definition of the interpretation of schemes is up to whoever introduces them, we could perhaps use schemes to implement the package replacement, e.g:

suds-jurko@replacement:suds>=1.1,<2.0

Or, if we want to follow examples of other tools which use prefixed schemes, like git+, we could namespace the scheme with uv+, like:

suds-jurko@uv+replacement:suds>=1.1,<2.0

Note that --no-emit-package/--unsafe-package suds-jurko doesn't help here, because suds-jurko is broken at package building, so resolution still fails.

An alternative that would help me would be to just ignore the sub-dependencies of a package on a per-package basis.
That is, instead of having an elision or renaming on my overrides file, I would like to add something like this in my requirements.in:
# FuelSDK has broken sub-dependencies:
--no-deps-for FuelSDK
FuelSDK
# Corrected FuelSDK dependencies manually added here:
pyjwt >= 1.5.3
requests >= 2.18.4
suds >= 1.1.2

For reference, such an option has been under discussion for a while in pypa/pip#9948

This seems like a reasonable use-case to me.

I think this would be very useful! At work, we have systems like this for first party packages, but not third party packages. It would make some things less painful if this were the case and unblock some other future use cases.
A related feature request would be the ability to override edges, not just nodes. E.g., if I know one package is overpinning a dependency in a way that I know is safe to override, I might still want to resolve older or error if something else pins it.
I don't have strong opinions on syntax. => is a good suggestion, but could be typo-ed. Maybe using @@ as a separator? lhs is the thing to be overriden, rhs is empty or PEP 508
node>=2
node @@ node>=2  # same as above
node @@ node_nextgen>=2  # replace node with node_nextgen
node @@  # eliminate node (and don't resolve its deps)
node -> dep @@ dep>=2  # override node's dependency on dep

If syntax is controversial, another option is to switch to TOML or something, especially if uv has plans to use such a format somewhere else.

I realized that this actually is possible today... You can use a never-truthy marker. For example, to remove typing-extensions, use an overrides.txt like:
typing-extensions ; sys_platform == 'never'

(This works because with overrides, we just replace all requirements of typing-extensions with whatever is in the overrides file.)

(This works because with overrides, we just replace all requirements of typing-extensions with whatever is in the overrides file.)

I'm surprised this work, because I'd expect it would result in the resolution being unsolvable...
And I'm slightly suspicious of relying on it and it being just accidental behaviour that might be "fixed" in the future...

@leorochael -- Can you say more about why you would expect that to be unsolvable? I would actually consider it a bug if the resolver failed there, rather than the other way around.

I might be reading it wrong, but for me an overrides file containing:

typing-extensions ; sys_platform == 'never'

Mean:

Only consider this typing-extensions version: the one that cannot be installed on your platform, because your platform is not never.

And if there are packages depending on typing-extensions, in my mind that would mean their dependencies would be unsolvable because of that.
To me, declaring a constraints override on an uninstallable package is different that pretending a package is already installed.

Ah, but I see where my logic is failing.
The constraints override doesn't say: "depend on this uninstallable package", it's saying, when depending on typing-extensions, only do that if the platform is never, which never happens.
So, yeah, as long as we add a test for that and document it, then yes, that would already be supported.

Oh, neat trick!


filter-points-webgl example cross-browser issues

[x] WebGL: INVALID_OPERATION: drawElements: attempt to access out of bounds arrays (Safari 12.1.1)
[x] Error: WebGL warning: drawElements: Drawing to a destination rect smaller than the viewport rect. (This warning will only be given once) (Firefox 67.0.4)
[x] Error: WebGL warning: drawElements: Indexed vertex fetch requires 153604 vertices, but attribs only supply 0. (Firefox 67.0.4)

Double-checked on both browsers, the warnings are gone.


Allow implementing interfaces after type declaration

Proposed syntax:

Fooable: interface <T> {
    foo: func -> T
}

// Perhaps 'extend Cell<T> implements Fooable<T>'
extend Cell<T> as Fooable<T> {
    foo: func -> T {
        val
    }
}

@fasterthanlime
Thoughts?

Potential issues:
What happens if the type already implements the interface but hasn't been declared that way?
For example:

Printable: interface {
    toString: func -> String

    print: func {
        toString() println()
    }
}

extend Int as Printable {
    // 'toString: func -> String' already exists in the original Int declaration
    // Should it be automatically detected?
    // Obviously, you cannot re-declare it.
}


Unable to Catch V8 OOM Exceptions

Good day! First off, thank you very much to the authors of this awesome project!
I am hoping that you can assist me, as we are encountering an issue that we aren't quite sure how to get around - and it's an issue that proving to be a showstopper for our desired design which leverages ClearScript+V8.
Essentially, we're seeking a way to 'secure' our V8 engine in a way that gracefully handles all potential crashes or excessive resource consumption when executing unsecure/unvalidated scripts.
As part of this effort, I've read nearly every discussion in the issues here, as well as the various documentation resources. These two discussions have proven particularly useful:
https://github.com/microsoft/ClearScript/issues/101
https://github.com/Microsoft/ClearScript/issues/84
Currently, my main problem is not being able to catch exceptions bubbling up from the unmanaged V8 DLLs. I am also struggling to figure out the why with one particular bit of code works as expected (allowing us to interrupt execution) and another does not...
From one of your other examples, I found generally the following code as a demonstration for how to gracefully handle excessive memory consumption issues:
try
{
    var runtime = new V8Runtime(new V8RuntimeConstraints() { MaxOldSpaceSize = 2048 });
    runtime.MaxHeapSize = (UIntPtr)(1024UL * 1024 * 1024);
    var engine = runtime.CreateScriptEngine();
    engine.Evaluate("var leak = [];");
    for (; ;)
    {
        engine.Execute("(function() {const x = []; for (let i = 0; i < 10000; i++) x[i] = Math.random(); leak.push(x);})();");
    }
}
catch (Exception ex)
{
    Console.WriteLine(ex.Message);
}

The above example works perfectly - we are able to halt script execution when we exceed ~1GB and handle that situation gracefully.
Now consider the following, where our looping has been moved out of the CLR and into the V8 engine:
try
{
    var runtime = new V8Runtime(new V8RuntimeConstraints() { MaxOldSpaceSize = 2048 });
    runtime.MaxHeapSize = (UIntPtr)(1024UL * 1024 * 1024);
    var engine = runtime.CreateScriptEngine();
    engine.Evaluate("var leak = [];");
    engine.Evaluate("while(true){leak.push('MORE DATA!')}");
    Console.WriteLine("Hello World!");
}
catch (Exception ex)
{
    //Never hit...
    Console.WriteLine(ex.Message);
}
catch
{
    //Never hit...
    Console.Write("NON-CLR Exception!");
}

As commented, thus far I've found it impossible to trap the V8 exception - neither as a CLR exception nor as a NON-CLR... Instead, the following message is displayed in the parent console a second before the parent application itself terminates with a -2147483645 (0x80000003) code and the following message:
<--- Last few GCs --->

[55916:0000023543A12010]     3735 ms: Mark-sweep (reduce) 1434.8 (1436.5) -> 861.0 (862.6) MB, 891.4 / 0.0 ms  (average mu = 0.354, current mu = 0.345) low memory notification GC in old space requested
[55916:0000023543A12010]     4289 ms: Mark-sweep (reduce) 861.0 (862.6) -> 861.0 (862.6) MB, 554.0 / 0.0 ms  (average mu = 0.227, current mu = 0.000) low memory notification GC in old space requested

<--- JS stacktrace --->

#
# Fatal javascript OOM in invalid array length
#

C:\me\w\JSEngine\JSEngine\bin\Debug\netcoreapp3.1\JSEngine.exe (process 55916) exited with code -2147483645.
To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the console when debugging stops.
Press any key to close this window . . .

I'm assuming that the 2nd code sample, where the loop has been moved into JavaScript, is preventing the V8 Garbage Collector from doing its job, which is why the graceful MaxOldSpaceSize+MaxHeapSize approach isn't working... Is this a correct assumption?
Do you know of a way that this can be worked around - so that an internal V8 exception may be caught and handled by the caller?
Any assistance is appreciated greatly!
Again, thank you very much for an awesome project!
-Matt

Hi Matt,
Thank you very much for your kind words!
Unfortunately, a V8 OOM condition is fatal to the host process. Sorry if we didn't make that clear in earlier discussions. V8 itself, by design, can't recover from an OOM condition. Recovery requires checks and tracking code that would degrade V8's performance, however slightly, so the V8 team decided years ago to drop support for OOM recovery.
Instead, when V8 detects an OOM condition or exceeds one of its internal limits, it kills the host process immediately. No exception is thrown; the process is simply aborted as if memory corruption or a security breach had been detected.
So if you must run untrusted JavaScript code in V8 with perfect safety, running it in a dedicated process is the only way. That's why Chromium has a multi-process architecture. Early V8 versions aimed to provide support for in-process sandboxing, but the quest for performance supremacy pushed that goal out of scope long ago.
Because there can be no recovery from V8 OOM conditions, the best the host can do is try to avoid them. ClearScript offers heap and stack monitoring that can interrupt script execution before V8 decides to kill the process (see MaxHeapSize, MaxStackUsage). These facilities operate by sampling the heap and stack periodically. They work reasonably well when resource consumption grows steadily, but they can't always catch sudden spikes.
V8 also has numerous internal limits that also crash the process when exceeded. Your array leak test is an example. It turns out that arrays in V8 are limited to a relatively low maximum length (roughly 268 million elements on a 64-bit system), and because V8 expands arrays by reallocating them to geometrically increasing internal lengths, it can exceed that limit long before it hits an actual OOM condition. That's why heap size monitoring is ineffective here, and why the error message mentions an "invalid array length".
Please send any additional questions or thoughts our way.
Thanks!

Thank you very much for your quick response, @ClearScriptLib!
I have had success accomplishing most of what I'd set out to accomplish using the built-in heap/stack monitoring in combination with Interrupt(), largely thanks to your guidance provided in other threads on related topics - so, again, thank you for going above and beyond to help users out (as I understand this isn't a support forum / Stackoverflow)!
To the point of "other internal limits"... Thank you for clarifying that this OOM error is somewhat different than others - this exposes some of my ignorance with regards to other potential pitfalls when leveraging this V8 build...
Would you happen to know of a resource that calls some of these V8 limitations out, or perhaps otherwise have some guidance that you can share on this topic?
Do you know if these V8 limitations unique to this build/release of V8, or are these limitations universal to most/all V8 releases (as I suddenly find myself concerned about other unknowns, while struggling to nail down what I should be searching for)?
I've found the official V8 Blog (https://v8.dev/blog) to be a treasure trove of useful internal information, though I'm struggling to extract what feels to be even a semi-comprehensive list of potential gotchas such as this 'max array length' one that I encountered by pure chance.
Any help is greatly appreciated!
Again, thank you so much for this project and your support!
-Matt

Hi Matt,

thank you for going above and beyond to help users out (as I understand this isn't a support forum / Stackoverflow)!

No problem at all. Being able to engage directly with users is one of the nice things about maintaining a small project.

Would you happen to know of a resource that calls some of these V8 limitations out, or perhaps otherwise have some guidance that you can share on this topic?

V8's top-notch performance and rapid evolution is a double-edged sword. There's a new stable release approximately every six weeks, the codebase typically having changed massively during that time.
In our V8 experience of several years, there have been huge changes in V8's API, build procedure, and implementation. Some of these have been announced in the official blog and/or the v8-users group, but details such as nonstandard internal limits aren't often mentioned. And even when a host is aware of a hidden limit, it usually has no way to work around it.
Recently the V8 team has been taking steps to make V8 a bit less draconian when it comes to limits. Specific string and array operations now throw exceptions instead of killing the process. There are new callbacks that allow hosts to relax heap constraints at the last possible moment in order to avoid a crash.
Unfortunately these measures don't provide full protection. Performance is still V8's top priority, and Chromium is still V8's primary consumer. And since Chromium is designed to withstand tab crashes, the V8 team isn't likely to sacrifice performance in favor of crash prevention.
Sorry we don't have a bulletproof solution for you. If you have additional questions about V8, consider posting them on v8-users or v8-dev. Another useful resource is V8's bug database.
Good luck!

I completely understand! Thanks again for your assistance! Have a great weekend!
-Matt


Windows WSL Tutorial, API Server - Nothing to Operational

Using WSL 1.x, Ubuntu 22.04.3 LTS
This tutorial assumes you've already installed WSL and have a basic understanding of how it works
apt-get update && apt-get install -y curl - Install curl
curl -o miniconda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh - download miniconda
./miniconda.sh - install miniconda, (you will need to accept terms)
Restart terminal (may or may not be needed, but the conda command didn't attach to the PATH until I restarted)
conda create -y --name openchat - create conda environment
conda activate openchat - enter environment
conda install -y python=3.11 - install python
conda install -y cudatoolkit-dev -c conda-forge - install conda forge
pip install torch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 --index-url https://download.pytorch.org/whl/cu118 - install pytorch
sudo apt update - update everything (not entirely sure this is needed but it didn't work for me without it)
sudo apt install build-essential - same as ^
pip3 install ochat - install ochat (alternatively you can just pull the repo and build from source)
Only one of the following is required to boot:
python -m ochat.serving.openai_api_server --model openchat/openchat_3.5 - single GPU boot
python -m ochat.serving.openai_api_server --model openchat/openchat_3.5 --tensor-parallel-size 1 - single GPU boot if the above command doesn't work
Add --api-keys YOUR_KEY to the above launch command if it tells you too
If all goes well and it doesn't explode, you should have a web server listening on http://localhost:18888

Thank you for your contribution! Would you mind testing the following commands on your WSL? (it seems pytorch can be installed automatically) I'll update the instructions.
sudo apt update
sudo apt install build-essential

conda create -y --name openchat python=3.11
conda activate openchat

pip3 install ochat

Hi, I've tested the above commands on a fresh WSL distro and was able to get it to run with substantially less commands. Thank you for pointing this out! I've updated my original post to reflect the changes.
Would you like me to create a pull request adding a WSL tutorial to the readme?

Hi, I've tested the above commands on a fresh WSL distro and was able to get it to run with substantially less commands. Thank you for pointing this out! I've updated my original post to reflect the changes.
Would you like me to create a pull request adding a WSL tutorial to the readme?

Yeah, welcome!


Added the option of fetching the server output on the client side. A …

Added the option of fetching the server output on the client side. A boolean variable (get_server_output) was added to the Client class that enables the --get-server-output argument on the original iperf3 tool when set to True. The class TestResult has also a new parameter (server_output) that is set to None when the information is not available. In addition, some tests where performed on the implemented features.

Coverage increased (+0.07%) to 97.772% when pulling a8b8bcc590bc70c6a3767e29b09ea83cb4fb7a21 on franciscolfraga:get-server-output into 094a6e043f44fb154988348603661b1473c23a50 on thiezn:master.

Coverage increased (+0.07%) to 97.772% when pulling a8b8bcc590bc70c6a3767e29b09ea83cb4fb7a21 on franciscolfraga:get-server-output into 094a6e043f44fb154988348603661b1473c23a50 on thiezn:master.

Coverage increased (+0.07%) to 97.772% when pulling a8b8bcc590bc70c6a3767e29b09ea83cb4fb7a21 on franciscolfraga:get-server-output into 094a6e043f44fb154988348603661b1473c23a50 on thiezn:master.

Coverage increased (+0.07%) to 97.772% when pulling a8b8bcc590bc70c6a3767e29b09ea83cb4fb7a21 on franciscolfraga:get-server-output into 094a6e043f44fb154988348603661b1473c23a50 on thiezn:master.

Coverage increased (+0.07%) to 97.772% when pulling a8b8bcc590bc70c6a3767e29b09ea83cb4fb7a21 on franciscolfraga:get-server-output into 094a6e043f44fb154988348603661b1473c23a50 on thiezn:master.

Coverage increased (+0.07%) to 97.772% when pulling a8b8bcc590bc70c6a3767e29b09ea83cb4fb7a21 on franciscolfraga:get-server-output into 094a6e043f44fb154988348603661b1473c23a50 on thiezn:master.

Only for complementing purposes, the --get-server-output feature is available since the iperf release 3.0.5., which suits the tool versions that iperf3-python was tested against.


Many issues when I try to install<EMAIL_ADDRESS>

I use<EMAIL_ADDRESS><EMAIL_ADDRESS>windows@10 And when I try to install react-helmet from npm many issues happen, And when I run (npm audit fix --force)
It doesnot work with my meta component and cause syntax error in the home screen.
Anyone can help?*

Please use Stack Overflow or another website for requests for help, and provide more detail when you do about what issues you encounter. It's very inefficient to assist in troubleshooting a problem without being able to see the pertinent error output. Issue trackers are for perceived bugs with the tool itself and not the correct forum for general questions.

Do a simple thing uninstall node and then reinstall node as well as yarn and install react-helmet with yarn add react-helmet.
I fixed those problems with this.
also, you can do by npm audit fix --force


Physical Web Service Link Follows

This is more of a higher-level "what-if" discussion regarding the uses of the Physical Web Service:
https://github.com/google/physical-web/tree/master/web-service
Using the PWS as a trusted intermediary through which content requests from passers by can be made for gathering site metadata is a great idea, and it makes perfect sense. At that point, the user hasn't necessarily engaged the item so we don't want to provide any way of tracking them.
However, in the current implementation of the mobile scanners, the PWS also acts as a "go" proxy for following the beacon's link. I'm not so certain this is as helpful. Once a user chooses to engage with the beacon, the proxy is not providing as much help to them.
On the positive side, the PWS could be used to blacklist URLs and protect users from following known malicious links (even if they try). However, the problem that is introduced (at least on mobile) is that the proxy interrupts the deep linking experience because it forces the browser (typically Chrome) to launch in order to redirect to the actual advertised URI.
If that advertised URI is intended to be captured as a deep link into a native application, the intermediate launching of the browser is unnecessary. This experience is visually jarring on both platforms due to the multiple app switching animations. It is a slightly more so on Android due to the potential for Intent resolution dialogs at each turn asking the user which application should handle the link.
I realize the PWS is not a necessary part of the overall project, but as an example I wonder if it shouldn't showcase how to get the best experience across all platforms. On mobile, that means best practices around deep links.

We were actually just discussing what we wanted to do about the redirecter.  The native application link is a really good point.  It might be a while before we take any action on this, but it's something on our minds at the moment and this gives some extra perspective.

Great question.  We are actually also deliberating the pros and cons of this usage.
I will point out that most Physical Web urls today point to a commodity url shortener, and so the experience will still be subpar even if we remove the go link.  Since most shorteners request that they are always used (must-revalidate), I think it not a solution to just link to the final url.
However, if you roll your own shortener on your own domain, and you handle deep links within your app, this would work fine.
Great additional data point!

One thing I'm curious to dig into more is how the updates to the goo.gl shortener with app indexing work:
http://googlewebmastercentral.blogspot.com/2015/05/app-deep-linking-with-googl.html
Some simple testing with a UriBeacon that has a shared Google Maps URL shortened in this way doesn't seem to jump to the browser interstitial, it just goes straight to the Maps application. Is the PWS doing anything smart with goo.gl URLs, or is this solved a different way on the back end?

Sorry, just running through and cleaning up issues. Is there a specific request/bug here we can queue up? @devunwired ?

It was already addressed in the noted PR and merged. I'll go ahead an close.

Just being cautious... Thanks.


Add support for basic OpenShift to hack/demo-env

This PR:

Adds support to hack/demo-env for running on a basic OpenShift cluster (must have LoadBalancer support)

The existing non-OpenShift case should still work as before, hopefully @jannfis can confirm I've not broken it.

Update scripts to work on MacOS (pwgen/pwmake, sleep, and sed)
After setup is complete, a simple sanity test runs that verifies that the Pods are running on all 3 contexts.

Confirmed that scripts are still working with vcluster on microk8s after removing --switch-context=false parameter


Make Project List  Ordered

Project name
Correction to project lsit
Project link
README.md of this repo.
Improvements suggested
Change the order of Projects  to appear lexicographically for ease of finding.

/assign


Unify min/max zoom on tiled and non-tiled layers

Tiled layers automatically manages min/maxZoom while non-tiled layers require to use panes for this. As a consequence the layer style editor does not work for non-tiled layers.
It would be great to make non-tiled layers work by simply adding a min/maxZoom like tiled layers, the underlying pane should be automatically created if required.

Managed using panes in https://github.com/kalisio/kdk/issues/529.


Updated 'align' rule to handle arguments in constructor calls.

I didn't notice initially that that constructor invocation is folded into a 'new expression'.

lgtm - will merge since this is straight forward once TravisCI is happy.


proptest

This replaces most tests with proptest, and makes it easier to define tests generically over lane count.  This should provide much broader API coverage and give us more confidence in our implementation.
Unfortunately building with cross/wasm-pack seems to be relatively slow for some reason, but a regular native test takes just under a minute on my machine.

Some of them could potentially be attribute macros in the future.  I'm not sure if that would be better or worse...

@workingjubilee should be fixed, needed to update some trait bounds though so might be worth letting the CI run to completion to make sure everything's set

Travis PPC64LE builds hung without starting.

Repeatedly kicking over Travis eventually got me a pair of PPC builds which actually started and passed normally. Mildly concerning, but moreso about the CI config than this.

Weird. They passed before so I'm pretty confident they're good anyway.  Good to merge?

Yep, I just had to take a looong moment to make sure the float code was correct because my gnawing sense of paranoia required it. Thank you!


Properly handle timestamps from "hourly" resolution data set

Data from the hourly time resolution has a timestamp format of e.g.<PHONE_NUMBER>. So, let's parse it using the custom timestamp pattern %Y%m%d%H.

Dear Benjamin,
this has been rebased on top of current master and should be ready to merge if you don't have any objections.
With kind regards,
Andreas.

Actually I never really realized that. Do you think we need more special cases like that?
If so we could also pass a partial in the create_stationdata_dtype_mapping function like:
`
def create_stationdata_dtype_mapping(columns, time_resolution):
for column in columns:
if column == DWDColumns.STATION_ID.value:
stationdata_dtype_mapping[column] = partial(pd.to_datetime(format=TIME_RESOLUTION_TO_DATETIME_STRING_MAPPING[time_resolution])
elif column == DWDColumns.DATE.value:
stationdata_dtype_mapping[column] = "datetime64"
elif column == DWDColumns.EOR.value:
stationdata_dtype_mapping[column] = str
else:
stationdata_dtype_mapping[column] = float
return stationdata_dtype_mapping

`

Dear Benjamin and Daniel,
thanks for your suggestions.

Do you think we need more special cases like that?

Currently, I don't believe we need to address more than what we have.

I wanted to also add another special case for subdaily values, which also need another format. I guess it would be better to include this in the dtype mapping creation with an additional mapping from time resolution to datetime format.
So, we could also pass a partial in the create_stationdata_dtype_mapping function [like outlined above].

I see. However, right now, I believe it would be okay and just wanted to a) give you a heads up on matters like these and b) just make things work™ for hourly values.
Feel free to improve this within another iteration as soon as the requirement will come up, e.g. for properly parsing subdaily values.
I hope you are both fine with my reasoning in order not to over-engineer things immediately but instead evolve things gradually while extending it as soon as necessary. Please let me know if you have strong objections and really vote for extending it right now.
Cheers,
Andreas.


Improvement idea: ability to change the default for only games not played

I think it would be nice if there was a setting to set the default for only games not played, or it would remember it from the previous time. I always want it unchecked but every time it reverts to on each time the HLTB view is opened.

Like this #190?

Like this #190?

yes


Arrays in inline tables break strangely

The following inline table...
parity-scale-codec = { default-features = false, features = ["derive", "max-encoded-len"], version = "3.0.0" }

...breaks into:
parity-scale-codec = { default-features = false, features = [
  "derive",
  "max-encoded-len",
], version = "3.0.0" }

I'm not sure if this is expected behavior. I find this to be very difficult and confusing to read. Other auto-formatters (from other languages) that I'm familiar tend to do something like the following:
parity-scale-codec = {
    default-features = false,
    features = ["device", "max-encoded-len"],
    version = "3.0.0",
}

But I would be ok with just not breaking the array and keeping the line longer that it is normally allowed to be. So, depending on whether the current behavior is correct, I would very much appreciate either a fix or an option for preventing arrays in inline tables from being expanded.

Unfortunately the TOML spec explicitly prohibits newlines in inline tables, so what you suggest is not valid TOML.
The formatter will still attempt to shorten the line if it is over the target, and the only way to shorten it is by breaking up arrays. I agree that probably there should be an option to ignore inline tables that are too long.

One possibility is to convert the long inline tables to standard tables. Or maybe a new LSP code-action cloud covert between the two formats.
BTW, are the lsp-extensions documented somewhere?  Thanks.

One possibility is to convert the long inline tables to standard tables. Or maybe a new LSP code-action cloud covert between the two formats.

There used to be an implementation of this in one direction (#92) but it was rather limited and buggy, I'd like to move this functionality into taplo itself in the future and expose it via the LSP.

BTW, are the lsp-extensions documented somewhere? Thanks.

Right now all there is just type definitions here or here.

I added an option for disabling the expansion of arrays inside inline tables, setting inline_table_expand (inlineTableExpand in vscode) to false should enable the behaviour you're looking for.
I'll do a release this week.

Yo, sorry I didn't keep up with this conversation, been very busy. But many thanks for getting this done so quickly. Very cool! :+1:

Unfortunately the TOML spec explicitly prohibits newlines in inline tables, so what you suggest is not valid TOML.

@tamasfe Actually, it would appear that the inline tables are permitted, per https://github.com/toml-lang/toml/pull/904 (merged at the end of July this year), but that is indeed not part of the current 1.0.0 spec. In fact, I was quite surprised that the extension complains about example code taken from the current toml.md file.
While it would appear that there is no timeframe for the 1.1.0 spec version that was said to include that change, I believe that in the meantime there should be at least an option for this in the extension.

This is a welcome update! I would not get ahead of the specification though as it might break compatibility with other TOML tools, even supporting it conditionally might open up a can of worms I don't want to deal with right now.
Supporting this feature by itself should not be hard:

there is no difference in parsing, currently new lines and trailing commas are explicitly denied for the sake of the specification
the formatter might require some work to properly format arbitrarily nested code


fix: fixed Config definition for node

Re export Config definition for node module.

Just thinking out loud here, can't you just export from directly instead of importing and then exporting?

@XhmikosR
import { Config, optimize } from './svgo';

export { Config, optimize };

are equal to
export { Config, optimize } from './svgo';

Directly export is just a syntax sugar for reexport variables that are not used in the current code.

Hey, thanks for submitting the PR! I've amended the commit to export everything instead, which matches the exports in previous versions.


endpoint.txt not read?

Hi, http://grlc.io/api/clariah/wp4-queries-hisco defaults to the endpoint of dbpedia, but in the repo an endpoint is definitely provided. (I just added a new endpoint, but this issue also occurred with the old endpoint). Is grlc not able to read the text file with the endpoint?

Hi @rlzijdeman -- I think this is a bug which was already fixed but not yet merged.
Could you have a look at the dev branch: http://dev.grlc.io/api/clariah/wp4-queries-hisco -- see if it works correctly there?

I think we can merge it this week still. I'll send a PR to merge to stable and wait for @albertmeronyo to merge it. Otherwise, I think we can close this issue?

PR sent #134

I just merged, the updated image should be in production in a couple of minutes.
Can I ask everybody to keep their eyes open for issues after this?


Change hard_coded_references to array

Describe the feature
in #265 , we had to add a Redshift shim to ensure we could fit the hard coded references into our stg models unpacking the graph. In a desire to avoid having to override type_string in the future for redshift users, one possible solution is to change this field to an array type.
checkout the branch called array-hard-coded-references for the latest attempt!
Describe alternatives you've considered
Leaving this alone!
Who will this benefit?
Redshift users who use type_string()

Note: VALUES does not support ARRAY_CONSTRUCT expression for snowflake


Documentation on hub naming restrictions is wrong (or out-of-date)

According to the swagger documentation (https://github.com/Azure/azure-signalr/blob/dev/docs/swagger/v1.json) hub names "should start with alphabetic characters and only contain alpha-numeric characters or underscore."
But in fact it's only mandatory to start with an alphabetic character.
Also SDKs aren't consistent about this. I can generate credentials for any hub name using serviceManager.GenerateClientAccessToken() but i can only connect to hubs using the Client SDKs following the above criteria.
Expected Behavior:

Remove (or relax) restrictions on hub names
Provide consistent behavior across SDKs
Return meaning full errors (exceptions with explainations) in case of violations
Update documentation

But in fact it's only mandatory to start with an alphabetic character.

Which hub name you tried that against the rule but passed the check?

@vicancy I was using Guids as hub names and removed the hyphens. Generating the credentials went fine in any case but connecting to this hub from the client application only worked when the hub name was starting with an alpha-numeric character (which occasionally is the case with Guids).


Edge case when user has bought food orders outside of India

When a user has used his account outside India, totalCost is denoted in corresponding currency shown as attached.

In this scenario, cost is shown as NaN. You need to include currency check for this edgecase.

Thanks for pointing out this edge case
On Thu, Oct 13, 2022 at 1:52 AM Rohith Mohan @.***>
wrote:

When a user has used his account outside India, totalCost is denoted in
corresponding currency shown as attached.
[image: Screenshot 2022-10-13 at 12 13 20 AM]
https://user-images.githubusercontent.com/310622/195439955-bebdb286-40a3-4819-8868-1ed9d5db0371.png
In this scenario, cost is shown as NaN. You need to include currency
check for this edgecase.
—
Reply to this email directly, view it on GitHub
https://github.com/harshnitk17/zomato-spending-calculator/issues/4, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AHXIQ7Q6BFIMM2D4MVOU5H3WC4MYZANCNFSM6AAAAAARDUCFJA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Hi @mohanrohith ,  I have tried to include a fix for this issue in v1.1.5 , can you check if the issue has been fixed or not.

Yes. That fixes the issue.
But the total shows a different amount that I derive from my scripts. Will crosscheck. Anyways lets close this issue.


[FEAT] Implement Notification Data Model

Description
Develop and implement backend data model for storing and managing notifications. This involves designing database schema, fields and necessary database migrations
Acceptance Criteria
Define database schema for user_notifications.

Define a table called user_notifications

user_id (integer, foreign key to the users table, primary key)
content (varchar(100) not null)
type (varchar(30))
status (varchar(20) enum [read, unread])
timestamp (date)

Purpose
Define and implement the data structure to efficiently manage notifications which include relationships between notification sender and receiver
Requirements

Define database schema for notifications.
Include fields for notification content, type, status (read/unread), timestamp.
Implement necessary database migrations.

Expected Outcome
A robust data model that stores and manage notifications information accurately based on the content, type, status and timestamp (which it was created) with the existing backend architecture and prepared for future feature implementations.
Checklist

Define notification database schema using SQL and include validations for necessary fields
Create database migrations test database migrations scripts to apply the new schema.
Implement model classes for notifications ensuring they follow best practices for performance and maintainability
Write comprehensive unit and integration tests to ensure the reliability and accuracy of the new models and migrations
Review and update relevant documentation to reflect the new data models and their integration points.

Data models are not tickets


Helmfile silently ignores CRDs (and removes them on apply) if strategicMergePatches are used

Trying to deploy ArgoCD using Helmfile:
(./argocd contains the argocd install.yaml)
releases:
  - name: argocd
    namespace: argocd
    chart: ./argocd

— works
releases:
  - name: argocd
    namespace: argocd
    chart: ./argocd
    strategicMergePatches:
      - apiVersion: apps/v1
        kind: Deployment
        metadata:
          namespace: argocd
          name: argocd-server
        spec:
          template:
            spec:
              containers:
              - name: argocd-server
                command:
                - argocd-server
                - --staticassets
                - /shared/app
                - --insecure

— doesn't work, deletes all existing CRDs on apply

I am seeing the same thing when using transformers

Did some investigation into this:

If jsonPatches, strategicMergePatches or transformers are specified for a Helm release, then the release is preprocessed by chartify: https://github.com/helmfile/helmfile/blob/5837672bfaaa9b48d6132c2f534586652725ae64/pkg/state/helmx.go#L265-L305
Chartify puts all CRDs into a crdsdirectory: https://github.com/helmfile/chartify/blob/6fbcd045d33e638ed6453b62bb2f044af5604e52/patch.go#L326-L342
Helm template does not include the crds directory by default so CRDs are ignored even if they are in the templates directory of your original chart: https://github.com/helm/helm/issues/6930#issuecomment-2331125996

So to fix this you can add the following to your helmfile:
helmDefaults:
  # Ensure that helm template renderes CRDs:
  # https://github.com/helm/helm/issues/6930#issuecomment-2331125996
  args:
  - --include-crds


Add option for deploying OCP etcd on ramdisk

This task is to deploy etcd DB on the ramdisk, this is option is required only for the testing/developement purpose only where disks are slow.

This can be achieved using https://www.terraform.io/docs/providers/ignition/d/systemd_unit.html and a flag for enabling on purpose for master nodes.


Add additional playbooks to .travis.yml

I noticed whilst looking at #783 and #782 that the new playbooks written by @Haroon-Khel and I weren't added to the .travis.yml file.

Causes travis failures that need fixing.

No real surprise given what's been implemented here ;-)

Passed 👍


[BUG] v11 Cant SAVE a New Sequence Produced LUA Error when Clicking SAVE

🔵 Describe the bug:
Made a NEW Sequence - Clicked Save - Got Listed LUA Error
Saving WORKS on Already Imported Sequences
-OR-
Saving WORKS  also  when Importing a Sequence and Changing the name and Altering the Sequence
🔵 To reproduce: (Steps to reproduce the behavior)

Create New Sequence
Click SAVE

🔵 The error:
2x GSE/API/Translator.lua:13: bad argument #1 to 'ipairs' (table expected, got nil)
[string "=[C]"]: in function `ipairs'
[string "@GSE/API/Translator.lua"]:13: in function `TranslateSequence'
[string "@GSE_GUI/GUIFunctions.lua"]:114: in function `GUIUpdateSequenceDefinition'
[string "@GSE_GUI/Editor.lua"]:578: in function <GSE_GUI/Editor.lua:569>
[string "=[C]"]: ?
[string "@GSE/Lib/AceGUI-3.0-41/AceGUI-3.0.lua"]:66: in function <GSE/Lib/AceGUI-3.0/AceGUI-3.0.lua:64>
[string "@GSE/Lib/AceGUI-3.0-41/AceGUI-3.0.lua"]:300: in function `Fire'
[string "@GSE/Lib/AceGUI-3.0-41/widgets/AceGUIWidget-Button.lua"]:22: in function <...s/GSE/Lib/AceGUI-3.0/widgets/AceGUIWidget-Button.lua:19>

Locals:
(*temporary) = nil
(*temporary) = "table expected, got nil"

🔵 Expected behavior:
Too save the Newly Created Sequence
🔵 GSE Version:

Version: 11
Downloaded From: GSE Discord Link to GitHub

Hey @LarryThiessen
I updated your language as there is a lot of difference between a Sequence and a Macro now.


Add beam class

Class that can read and manipulate fits file beams. Start with stubs from Kaja's repo.

This is already largely done in LBeam so closing this ticket


User Management Properties menu item should be at bottom of menus

Current state :

Generally the Properties menu items show up at the bottom of the menu. For consistency we should do the same here.
Example in SSMS :

@alanrenmsft @aasimkhan30 @erinstellato-ms


feat(core): CW-21046 fix wallet import issue

Checklist:

README.md includes:

[ ] The details of signing data and transaction data, this includes parameters.
[ ] Official docs or white paper.
[ ] Website or api can query assets and broadcast transaction.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

Task linked: CW-21046 改 core 移除顯示的程式碼


Unable to draw the sticker in a specific position

I have saved bitmap and StickerPropertyModel  and now i am trying to draw the sticker in a specific position

Hey Ram8948,
You can set Sticker at a specific position using the below method.
public void setBitmap(Bitmap bitmap, float x, float y) {
       matrix.reset();
       mBitmap = bitmap;
       setDiagonalLength();
       initBitmaps();
       int w = mBitmap.getWidth();
       int h = mBitmap.getHeight();
       oringinWidth = w;
       float initScale = (MIN_SCALE + MAX_SCALE) / 2;
       matrix.postScale(initScale, initScale, w / 2, h / 2);
       positionX = x;
       positionY = y;
       matrix.postTranslate(x - w / 2, y - h / 2);
       invalidate();
   }

Add this method to StickerView class.
Now you can set your bitmap with the specified position.


Actual behaviour
Nothing happens when I call player.toggleControls(true).
Environment

Browser: Chrome
Version: 65
Operating System: macOS
Version: 10.12.6

Assuming you mean "controls are not showing". If this is the case I've submitted another issue and PR that relates to this.

Sorry. I should have been more clear. The other issue relates to this, but I never actually tested toggleControls() with my commit. I had a look at it now, and it didn't fix things. The logic in toggleControls needs to be rewritten to be used externally. Many conditions and things don't add up.

Yeah, it's pretty crazy. I think I've re-written it a few times but will take a look.

This should works in the meanwhile:
player.elements.container.classList.toggle('plyr--hide-controls');

Hi @friday !
I'm trying your tip, but player.elements.container seems to be null.
Do you know what it can be?
Thanks!

It does work (try it on plyr.io). If not, try make sure player is the plyr instance and perhaps try some alternative options.
player.elements.container is the plyr container element which you can get in other ways though.
Ex:
document.querySelector('.plyr').classList.toggle('plyr--hide-controls');

Fixed in v3.3.8


Support dependencies of local plugins

#65
Fix a bug that zplug cannot manage dependencies in case of local plugins

Oops..


Defender Portal OAuth apps tab moved?

[Enter feedback here]
I am no longer seeing -> "In the Microsoft Defender Portal, under Cloud Apps select OAuth apps."
OAuth apps has disappeared at least from my tenant. Does docs need updating?

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

ID: 3543307c-9c07-720c-e4fe-3aa6cb43f680
Version Independent ID: df363f37-c41a-7493-6573-c7a8f4ff1aaf
Content: Manage OAuth apps - Microsoft Defender for Cloud Apps
Content Source: CloudAppSecurityDocs/manage-app-permissions.md
Service: defender-for-cloud-apps
GitHub Login: @batamig
Microsoft Alias: bagol

Hi @ucgeek, thanks for writing into docs. If you don't see the OAuth apps page, please check for your apps on the App Governance page. For more information, see View your app details with app governance.
We'll check into the documentation to see what needs to be updated. We appreciate your feedback!

This is all I see - no OAuth apps or App Governance:

Hi @ucgeek, in this case, it might be a permissions issue. You can see the roles required for app governance here:
Turn on app governance for Microsoft Defender for Cloud Apps.
If you don't have app governance turned on, I suggest that you open a support ticket so that the support team can help understand your specific scenario.

hi @ucgeek, we've updated this page to clarify issues for when users have preview features and App governance turned on.
However, this may not be relevant if your issue is related to permissions.
I'm closing this issue for now, but feel free to continue commenting if you have more feedback on the docs.
We appreciate your contribution!
#please-close


Qiskit SDK: revisit inheritance, including autoclass missing inheritance

We are doing two unexpected things with how we show inheritance in Qiskit SDK docs:

When using autosummary, we have a template called class_no_inherited_members.rst. It successfully leaves off inherited methods, but it shows inherited attributes! I think this is an oversight. To fix, we can update the template to use these lines:

https://github.com/Qiskit/qiskit-addon-mpf/blob/191dc8162510719ca3b50e5a25e9a1453419629a/docs/_templates/autosummary/class_without_inherited_members.rst?plain=1#L16-L24
However, that means that some of the classes in the circuit library will end up nearly empty. Is this what we want? One approach we could take is adding a warning like this:
https://github.com/Qiskit/qiskit-addon-mpf/blob/191dc8162510719ca3b50e5a25e9a1453419629a/qiskit_addon_mpf/backends/quimb_tebd/evolver.py#L34-L37

Show inherited members by default in .. autoclass:: for inline classes? By default, we show inherited members for classes with .. autosummary::, but we don't do that for .. autoclass::. I think the default of inherited members is a sensible default because users don't care about where a method/attribute comes from, which is an implementation detail. It's a gotcha that you have to remember in .. autoclass:: to include inherited members. We can fix this by setting in conf.py:

autodoc_default_options = {
    "inherited-members": None,
}

To fix this, we need sign off from Qiskit devs then to get the implementation green. I had a lot of issues with cross-references breaking when turning it on.

about point 2: lol, and also, I'm fine with whatever you prefer the default to be, since I can override it when I'm writing very custom documentation where it's (imo) better one way or the other.

about point 2: lol

Hahah no one wanted to make a decision without your input

I'm fine with whatever you prefer the default to be, since I can override it when I'm writing very custom documentation where it's (imo) better one way or the other.

Cool. I recommend setting it to show inherited by default. We all agreed in the meeting that usually that's the better approach: users don't care whether something is inherited or not, which is often an implementation detail. Do the safe thing by default.
--
I've opened https://github.com/Qiskit/documentation/issues/2397 and https://github.com/Qiskit/documentation/issues/2400 to track these follow ups.


Update Micrometer and OpenTelemetry dependencies

I put up a PR for a blog post based on these changes. https://github.com/apache/accumulo-website/pull/325


BUG: Enhance the responsiveness of the about section

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
The above section of this website is not responsive.

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Please assign me this issue

You image is not visible to me

Hello @Suchitra-Sahoo , I have addressed the issue. Please review the pull request. If any changes, I'm happy to address them


Fix: Parse api body to be shown as an object in debugger

Description
Parse api body to be shown as an object in debugger else show it as it is.
Fixes #5466
Type of change

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

How Has This Been Tested?
Manually
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

Test coverage results :test_tube:
:green_circle: Total coverage has increased
// Code coverage diff between base branch:release and head branch: fix/api-body-debugger

Status
File
% Stmts
% Branch
% Funcs
% Lines

:green_circle:
total
53.39 (0)
35.02 (0.03)
31.52 (0)
53.94 (0)

:red_circle:
app/client/src/sagas/DebuggerSagas.ts
19.86 (-0.43)
3.87 (0.21)
33.33 (0)
21.26 (-0.51)

:green_circle:
app/client/src/utils/autocomplete/TernServer.ts
50.71 (0.24)
38.6 (0.88)
36.21 (0)
55.35 (0.27)

QQ do we skip the response for errors?

There won't be any result to show right when there are errors. The response would have the request object sent by the client so that is shown in case of an error to see if any mistakes are there.

QQ do we skip the response for errors?

There won't be any result to show right when there are errors. The response would have the request object sent by the client so that is shown in case of an error to see if any mistakes are there.

Got it. Yeah I was wondering there could be error responses from the API as well, like 4XX, 5XX statuses. These could have a response body as well


Getting Started with Python: A Beginner's Guide

#Title Of Blog Post : Getting Started with Python: A Beginner's Guide
###Short Description of what is expected : This blog can serve as an introduction to Python, covering its basic syntax, installation, and running your first Python program. It's a great starting point for absolute beginners.
###Category :Beginner's Guide
###Tags : Python,Basics,python syntax.

!assign

Please follow the Contribution guidelines and of course it would be counted.

i would like to work on this issue it seems doable
i will try my best to implement it


Use environment to fetch execution id and version set id for the flow execution.

Use environment to fetch execution id and version set id for the flow execution.
Some cosmetic changes around member variables.

Pull Request Test Coverage Report for Build 5775

0 of 22 (0.0%)  changed or added relevant lines in 1 file are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.008%) to 43.22%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

azkaban-exec-server/src/main/java/azkaban/container/FlowContainer.java
0
22
0.0%

Files with Coverage Reduction
New Missed Lines
%

azkaban-exec-server/src/main/java/azkaban/container/FlowContainer.java
2
17.96%

Totals

Change from base Build 5774:
-0.008%

Covered Lines:
15806

Relevant Lines:
36571

💛  - Coveralls


Python2 to Python3?

Hi,
Thanks for xlnet. Is there any plan to convert this code into python3? Thanks

Same question.


The data required for this operation is not yet available

Hello,
When I try to retrieve data via a URL I receive a message: The data required for this operation is not yet available (error -2147483638 (8000000a).
This only happens when I run the macro for the first time.
When I click debug and run the macro again, it does get data from the URL cleanly.
It seems that the data is not yet available so he cannot retrieve it. I've already tried making the code wait for 10 seconds or 1 minute, but that doesn't solve the problem.
Any idea?
 With http
        .Open "GET", "https://api.rentman.net/projectequipment?limit=5&offset=0&sort=-modified, false"
        .setRequestHeader "Content-type", "application/json"
        .setRequestHeader "Accept", "application/json"
        .setRequestHeader "Authorization", "Bearer " & authKey
        .send
    End With

Application.Wait (Now + TimeValue("0:00:01"))

Set JSON = ParseJson(http.responseText)
i = 2
For Each Item In JSON("data")
sht.Cells(i, 1).Value = Item("id")
sht.Cells(i, 2).Value = Item("modified")
sht.Cells(i, 5).Value = Item("equipment_group")
i = i + 1
Next

(text translated via Google translate)

Your issue is not a VBA-JSON issue, it has to do with the fact you are calling the Http open method asynchronously. The wait time probably is not long enough however, you should be calling ParseJson in the callback routine rather than the way it is coded. Alternately, your code is basically synchronous, so just add false after the url in the Http open call and the call will be synchronous.
But wait you are saying, I have False after the Url!? Well no, that comma false is inside the quotes for the Url, thus the async parameter is True by default.
See Microsoft's documentation
https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ms757849(v=vs.85)

Hi Andrew,
Wow, thanks for your quick response. It works and I'm very happy with that, thnxs!
There is just another problem now. When I run the macro for the 2nd time, it doesn't refresh the data.
I probably need to build somewhere that it has to wait for the responsetext?
Can you help me with that? What should I do?
Sincerely,
Rick Leliveld
(text translated by Google)


Pick file with specific file extension android

@vividos  @jfversluis
Expected Behavior
I want to open files with specific file extension filter.
Actual Behavior
Lets suppose I have file named "abc.ext", So I want to filter all files with that specific extension i.e .ext.
Currently I seen android is supporting only MIME types not extension. Is that so ?
This not working.
var fileTypes = new string[] { "ext/*" };
FileData fileData = await CrossFilePicker.Current.PickFile(fileTypes);

Specifications

NuGet package version:Latest until now
Platform(s):Android

Unfortunately Android lets you only specify MIME types to filter the selectable files (the others are grayed out and unselectable). If you know the MIME type, that's good, but in other cases you should check the FileName property and its file extension if it's an acceptable one.

Yes I want that other files with filters other than ".ext" should be garyed out.
So is there any work around for that ?
If not I am fine to see file extension after selection.

You could check the Android docs if there is a way, but I doubt it. In my app I let the user pick any file and notify the user when parsing fails.


Installing libmbus library on windows

Hi,
I tried to install and compile this library using MinGW and msys, only to realise that they do not support automake 1.12 and thus the libray cannot be compiled. I would like to remind other people like me intended to run the library on windows that it is not possible to use msys to compile the library.
I just want to know the error-free way to compile the library, is ubuntu-version stable? I notice that there is a difference in the source code for libmbus-0.8.0 and libmbus-master, I think libmbus-master is more up-to-date, thanks to all the active developers. I really appreciate the work you guys have put into this open-source library. Can you let me know how to properly use autotools to build the library?
regards,
-Chen

Hi Chen,
without providing any useful information it's harder than necessary to help you.
Regarding to MinGW & msys:
What output did you get (libmbus should work with other versions of automake)?
Regarding to build on Ubuntu:
Please do not use libmbus-0.8.0 this release is nearly 5 years old.
Did you tried the build.sh?
What output did you get?

Hi siimonc,
I use libmbus with debian-jessie (raspberry pi), this is my setup:
apt-get -y install libtool automake
cd /usr/src
git clone https://github.com/rscada/libmbus.git 2>&1
cd libmbus ./clean.sh 2>&1
./build.sh 2>&1 make install  2>&1
ln -s /usr/local/lib/libmbus.so.0 /usr/lib/libmbus.so.0
chmod +s /usr/local/bin/mbus*

Hi Stefan,
I had installed MinGW and msys, added the directories "C:..\MinGW\bin" and "C:..\MinGW\msys\1.0\bin" to both local and system path in environment variables, as I was using a university computer which added some difficulties in having the admin rights. I followed the tutorial from mingw.org closely link here: Getting_Started, there was some confusion and that is to install msys separately in the wiki page which is outdated Link here. It took me some time to read through the comments to find out about this.
I downloaded libmbus-master and extracted it manually and put them in the ..msys\1.0\home folder. I then ran the bat-file in msys, and navigated to the home folder where my extracted libmbus file is located. However, when I typed ./configure, it said something like the file could not be found. (Sorry I do not have the computer with msys with me now, so I could not rerun the code and provide the exact error lines). I realised there are difference in the source code in GitHub master branch and in the 0.8.0 version. As I investigate further, the master-branch is up-to-date, where changes were made from correcting the issues (I really appreaciate the work this community puts in), but how come I am not able to run ./configure in msys bat-file (like the problem I said before where the some files are missing)?
I then downloaded the 0.8.0-version and extracted it in the msys home folder again, but this time using "tar -xf libmbus-0.8.0.tar.gz" and I was able to run ./configure after that. I could see that Makefile.in is produced, but there were errors after that when I ran make and make install, the error was like some library is not defined so there are a whole bunch of variables which are not recognized. If I am not mistaken, it is the one in mbus/mbus-protocol.h. I thought the problem was that I was using automake 1.11 installed from the default MinGW graphical installer. I tried to install 1.12 but to no avail, as the whole msys is rooted to use automake 1.11. I tried to merge the latest version of configure.ac to the configure.ac in 0.8.0 version, which I was able to run ./configure, but it says libltnl.config could not be found. I was really fed up of using msys, and that is when I saw #117 that it MIGHT be better to compile using cygwin. I am quite exhausted to try it in windows again and I thought it will be better to just use ubuntu directly with a VirtualBox. I have read your comments in the issues #42 and #117 and it makes me think that using msys is not the long-term solution.
I am not from programming background but I have some understanding about programming. I just want to use this library to read and analyse the data from Hydrometer Sharky 773, which we bought in the university.
I would really appreciate your help and sorry if it is too long to read. They are my personal encounters with msys and libmbus.
Cheers.
-Chen

Hi kamaxeon,
thank you, I will try it out if the ubuntu version does not work.
Regards,
-siimonc

Hi simmonc,
What version of ubuntu are you testing?

it depends on the IT department of my univeristy, I cant tell you right now. Do you have some advice about Ubuntu?
Regards.

Hi siimonc,
I've just tried on a ubuntu 16.04 (last LTS) with successfully result, very similar setup (only install make package):
apt-get -y install libtool automake make
cd /usr/src
git clone https://github.com/rscada/libmbus.git
cd libmbus
./clean.sh
./build.sh
make install
ln -s /usr/local/lib/libmbus.so.0 /usr/lib/libmbus.so.0
chmod +s /usr/local/bin/mbus*
Best regards,

hi kamaxeon,
thanks for your inputs! I will update the thread again once I have got back my working laptop.
Regards

Hi siimonc,
If you use ansible, here you have an ansible-role (https://galaxy.ansible.com/kamaxeon/libmbus/) for debian and ubuntu :-)
Best regards,

Hi kamaxeon,
I can now run Ubuntu 16.04.2 and followed your instructions above to compile the library. I could not execute the step ./build.sh and I got the following error message:
...:/usr/src/libmbus$ ./build.sh
Running autotools...
autom4te: cannot create autom4te.cache: No such file or directory
autoheader: '/usr/bin/autom4te' failed with exit status: 1
make: *** No targets specified and no makefile found.  Stop.
Would appreciate any inputs. Thanks!

@siimonc
Could you please verify that you have also have autoconf and autotools-dev installed?
I've Ubuntu 16.04 and the build.sh script works.

@lategoodbye
yes I have had them installed previously. Ran
..:~$ sudo apt-get install autotools-dev
[sudo] password for siimonc:
Reading package lists... Done
Building dependency tree
Reading state information... Done
autotools-dev is already the newest version (20150820.1).
autotools-dev set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

..:~$ sudo apt-get install autoconf
Reading package lists... Done
Building dependency tree
Reading state information... Done
autoconf is already the newest version (2.69-9).
autoconf set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

the error message for autom4te.cache is still the same,
..:/usr/src/libmbus$ ./build.sh
Running autotools...
**autom4te: cannot create autom4te.cache: No such file or directory**
autoheader: '/usr/bin/autom4te' failed with exit status: 1
make: *** No targets specified and no makefile found.  Stop.

any help would be great, thanks!
-siimonc

@lategoodbye
I have solved the problem, I didnt have the permission to that directory and adding a sudo infront of ./build.sh solved the problem.
Thanks!
-siimonc

Hi,
I was able to build libmbus on windows without problems. Cygwin is right tool for this task. Some extra packages needed to be installed. I'm sending what "cygcheck -c" returns. Not all of these packages are necessary to build library, but better to put everything here so you can see full working setup.
$ cygcheck -c
Cygwin Package Information
Package                    Version             Status
_autorebase                001006-1            OK
alternatives               1.3.30c-10          OK
autoconf                   13-1                OK
autoconf-archive           2017.09.28-1        OK
autoconf2.1                2.13-12             OK
autoconf2.5                2.69-3              OK
automake                   10-1                OK
automake1.10               1.10.3-3            OK
automake1.11               1.11.6-3            OK
automake1.12               1.12.6-3            OK
automake1.13               1.13.4-2            OK
automake1.14               1.14.1-3            OK
automake1.15               1.15.1-1            OK
automake1.4                1.4p6-11            OK
automake1.5                1.5-11              OK
automake1.6                1.6.3-12            OK
automake1.7                1.7.9-11            OK
automake1.8                1.8.5-11            OK
automake1.9                1.9.6-11            OK
base-cygwin                3.8-1               OK
base-files                 4.2-4               OK
bash                       4.4.12-3            OK
binutils                   2.29-1              OK
bzip2                      1.0.6-3             OK
ca-certificates            2.16-1              OK
coreutils                  8.26-2              OK
csih                       0.9.9-1             OK
cygrunsrv                  1.62-1              OK
cygutils                   1.4.16-2            OK
cygwin                     2.9.0-3             OK
cygwin-debuginfo           2.9.0-3             OK
cygwin-devel               2.9.0-3             OK
cygwin32-libtool           2.4.6-3             OK
dash                       <IP_ADDRESS>-1           OK
diffutils                  3.5-2               OK
editrights                 1.03-1              OK
file                       5.30-1              OK
findutils                  4.6.0-1             OK
gawk                       4.2.0-1             OK
gcc-core                   6.4.0-4             OK
gcc-g++                    6.4.0-4             OK
gcc-tools-epoch1-autoconf  2.59-2              OK
gcc-tools-epoch1-automake  1.9.6-2             OK
gcc-tools-epoch2-autoconf  2.64-2              OK
gcc-tools-epoch2-automake  1.11.6-1            OK
getent                     2.18.90-4           OK
git                        2.15.1-1            OK
grep                       3.0-2               OK
groff                      1.22.3-1            OK
gzip                       1.8-1               OK
hostname                   3.13-1              OK
info                       6.5-2               OK
ipc-utils                  1.0-2               OK
less                       487-1               OK
libargp                    20110921-3          OK
libatomic1                 6.4.0-4             OK
libattr1                   2.4.46-1            OK
libblkid1                  2.25.2-2            OK
libbz2_1                   1.0.6-3             OK
libcom_err2                1.42.12-2           OK
libcrypt0                  2.1-1               OK
libcurl4                   7.56.1-1            OK
libdb5.3                   5.3.28-2            OK
libedit0                   20130712-1          OK
libexpat1                  2.2.3-1             OK
libffi6                    3.2.1-2             OK
libgc1                     7.6.0-1             OK
libgcc1                    6.4.0-4             OK
libgdbm4                   1.12-1              OK
libgmp10                   6.1.2-1             OK
libgomp1                   6.4.0-4             OK
libgssapi_krb5_2           1.15.2-1            OK
libguile17                 1.8.8-3             OK
libguile2.0_22             2.0.14-1            OK
libiconv                   1.14-3              OK
libiconv2                  1.14-3              OK
libidn2_0                  2.0.4-1             OK
libintl8                   <IP_ADDRESS>-2          OK
libisl13                   0.14.1-1            OK
libisl15                   0.16.1-1            OK
libk5crypto3               1.15.2-1            OK
libkrb5_3                  1.15.2-1            OK
libkrb5support0            1.15.2-1            OK
libltdl7                   2.4.6-5             OK
liblzma5                   5.2.3-1             OK
libmpc3                    1.0.3-1             OK
libmpfr4                   3.1.6-1p1           OK
libncursesw10              6.0-12.20171125     OK
libnghttp2_14              1.23.1-1            OK
libopenldap2_4_2           2.4.42-1            OK
libopenssl100              1.0.2m-1            OK
libp11-kit0                0.23.5-1            OK
libpcre1                   8.40-3              OK
libpipeline1               1.4.0-1             OK
libpopt-common             1.16-2              OK
libpopt0                   1.16-2              OK
libpsl5                    0.18.0-1            OK
libquadmath0               6.4.0-4             OK
libreadline7               7.0.3-3             OK
libsasl2_3                 2.1.26-11           OK
libsigsegv2                2.10-2              OK
libsmartcols1              2.25.2-2            OK
libssh2_1                  1.7.0-1             OK
libssp0                    6.4.0-4             OK
libstdc++6                 6.4.0-4             OK
libtasn1_6                 4.12-1              OK
libtool                    2.4.6-5             OK
libtool-debuginfo          2.4.6-5             OK
libunistring2              0.9.6-1             OK
libuuid1                   2.25.2-2            OK
login                      1.11-1              OK
m4                         1.4.18-1            OK
make                       4.2.1-2             OK
man-db                     2.7.5-2             OK
mintty                     2.8.1-0             OK
ncurses                    6.0-12.20171125     OK
openssh                    7.6p1-1             OK
openssl                    1.0.2m-1            OK
p11-kit                    0.23.5-1            OK
p11-kit-trust              0.23.5-1            OK
perl                       5.26.1-1            OK
perl-Capture-Tiny          0.46-2              OK
perl-Carp                  1.38-2              OK
perl-Config-AutoConf       0.315-2             OK
perl-Error                 0.17025-2           OK
perl-ExtUtils-Config       0.008-3             OK
perl-ExtUtils-Helpers      0.026-2             OK
perl-ExtUtils-InstallPaths 0.011-3             OK
perl-inc-latest            0.500-2             OK
perl-Module-Build          0.4224-2            OK
perl-Module-Build-Tiny     0.039-3             OK
perl-Module-Implementation 0.09-2              OK
perl-Module-Metadata       1.000033-2          OK
perl-Module-Pluggable      5.2-2               OK
perl-Module-Runtime        0.016-1             OK
perl-Module-ScanDeps       1.24-2              OK
perl-Module-Signature      0.81-2              OK
perl-PAR-Dist              0.49-4              OK
perl-Pod-Simple            3.35-2              OK
perl-Sub-Identify          0.14-2              OK
perl-SUPER                 1.20141117-2        OK
perl-TermReadKey           2.37-2              OK
perl-Test-Harness          3.39-2              OK
perl-Test-MockModule       0.13-1              OK
perl-Try-Tiny              0.28-2              OK
perl-Unicode-Normalize     1.25-2              OK
perl_autorebase            5.26.1-1            OK
perl_base                  5.26.1-1            OK
publicsuffix-list-dafsa    20171028-1          OK
rebase                     4.4.2-1             OK
rsync                      3.1.2-1             OK
run                        1.3.4-2             OK
sed                        4.4-1               OK
tar                        1.29-1              OK
terminfo                   6.0-12.20171125     OK
texinfo                    6.5-2               OK
tzcode                     2017c-1             OK
tzdata                     2017c-1             OK
util-linux                 2.25.2-2            OK
vim-minimal                8.0.1376-1          OK
w32api-headers             5.0.3-1             OK
w32api-runtime             5.0.3-1             OK
which                      2.20-2              OK
windows-default-manifest   6.4-1               OK
xz                         5.2.3-1             OK
zlib0                      1.2.11-1            OK

To build library just type
./clean.sh
./build.sh
make install

I currently try to build a nodejs native module with libmbus and therefor also I also try to get it compile and working on Windows ... TCP is already working ... Serial is next.
And I focussed on the lib itself for now ... so binaries are still "untouched".
But I could need support to create the needed msvc makefiles and such ... So if someone wants to join with msvc or at all "compiler know how" (because I'm not really the C/C++ guy) ... contact me (ingo@fischer-ka.de).
Current (more experimental) WIP status: https://github.com/Apollon77/libmbus/tree/build-windows

Got serial and tcp working on windows and also release a first version of the nodejs native library to npm based on
https://github.com/Apollon77/libmbus/tree/build-windows
Still a lot of work to do in order to create a PR :-) na yhelp would be great!

سلام siimonc ،
من از libmbus با debian-jessie (تمشک پی) استفاده می کنم ، این تنظیمات من است:
apt-get -y نصب libtool automake
cd / usr / src
git clone https://github.com/rscada/libmbus.git
cd libmbus
./clean.sh
./build.sh
نصب
ln -s / usr / local / lib / libmbus.so.0 /usr/lib/libmbus.so.0
chmod + s / usr / local / bin / mbus *

lategoodbye
من این مشکل را برطرف کردم ، من مجوز آن فهرست را نداشتم و با اضافه کردن یک sudo در مقابل ./build.sh مشکل را حل کردم.
با تشکر!
-siimonc

hi

Cygwin Package Information

Hello, can you simply explain what I should do in Windows or Ubuntu?

سریال و tcp روی ویندوز کار می کند و همچنین اولین نسخه از کتابخانه بومی nodejs را بر اساس https://github.com/Apollon77/libmbus/tree/build-windows به npm منتشر می
کنید
هنوز کارهای زیادی برای ایجاد یک روابط عمومی انجام می شود :-) na yhelp بسیار عالی خواهد بود!

Hello, should this be done inside Visual Studio?


[direnv] drop shell.nix, rely solely on devbox shell --print-env

Summary
I don't think we need this shell.nix anymore.
The devbox shell --print-env should be providing the same information.
How was it tested?
the devbox project devbox.json has:
"env": {
  "PATH": "$PATH:$PWD/dist",
}

and after cd-ing into the directory for devbox repo, I see:
❯ echo $PATH | sed 's/:/\n/g' | grep dist
/Users/savil/code/jetpack/devbox/dist

we really need to add automated tests for these.

Current dependencies on/for this PR:

main

PR #902   👈

This comment was auto-generated by Graphite.


Android support

From the name of the repository, it sounds like Android support is a secondary concern. Is that true?
I have been using the privatdoktor branch for a few months now with no issues, apart from lack of support for ios 15. I think that branch may have some improvements over the latest dotintent branch. You may want to do a compare to see what changed. I noticed that there is one Android compile warning when using your branch vs privatdoktor.
flutter_ble_lib:
git:
url: git://github.com/privatdoktor/FlutterBleLib.git
ref: privatdoktor
Thanks!

Hi @ozzy1873 ...
I probably should have named this fork better lol.
At the time, flutter_ble_lib was broken for iOS 15, while fine for Android, hence the need for the fork for my project, hence the name.
Since then I've actually updated to support Android issues, such as #3 to support Android V2 embedding.
Were there other issues that need addressing?  Seems to work fine on Android for me.
Thanks for the reference to privatdoktor.
 I commented it out and my project still builds, but the warning is gone.

@ozzy1873 thanks much ... I'll take a look

No, thank you!
You may want to do a compare between the privatdoktor project and your own to see if there are differences.

@ozzy1873 Thanks, will do ...
I tried removing import io.flutter.plugin.common.PluginRegistry.Registrar; (in .../android/src/main/java/com/polidea/flutter_ble_lib/FlutterBleLibPlugin.java), but I get the below error as a result:
cannot find symbol
    public static void registerWith(Registrar registrar) {
                                    ^
  symbol:   class Registrar
  location: class FlutterBleLibPlugin
1 error

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':flutter_ble_lib_ios_15:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

Were you referring to a different file?

Hmmm...I'm looking at C:\Users\john\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\flutter_ble_lib_ios_15-2.5.0\android\src\main\java\com\polidea\flutter_ble_lib\FlutterBleLibPlugin.java
I don't see the registerWIth method.

@ozzy1873
It's on line 97 in: https://github.com/davejlin/flutter_ble_lib_ios_15/blob/master/android/src/main/java/com/polidea/flutter_ble_lib/FlutterBleLibPlugin.java
It needs to be there, because I'm supporting both V1 and V2 now, per instructions here: https://flutter.dev/docs/development/packages-and-plugins/plugin-api-migration
Also, note that the plugin should still contain the static registerWith() method to remain compatible with apps that don’t use the v2 Android embedding. (See Upgrading pre 1.12 Android projects for details.) The easiest thing to do (if possible) is move the logic from registerWith() into a private method that both registerWith() and onAttachedToEngine() can call. Either registerWith() or onAttachedToEngine() will be called, not both.

Odd, my file is different from what is in the repo and I am definitely pulling in 2.5.0. I'll remove the plugin and redownload.

Hi @ozzy1873 ...
No worries at all - yeah that is weird!  Glad you could figured it out.
Btw, what is the exact warning you get?  I don't seem to get any warnings when I build, but maybe my warnings logging level is different from yours.

Note: C:\Users\john\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\flutter_ble_lib_ios_15-2.5.0\android\src\main\java\com\polidea\flutter_ble_lib\FlutterBleLibPlugin.java uses or overr
ides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

Ah, ok, thanks ... yeah, makes sense.