Updates so that Demo app can build in current Android Studio.

This has been tested on OS X Android Studio 3.2.1.

Corrected committer email.

@qu1j0t3  Could you please rebase to resolve the branch conflicts. Thanks !

It has been 14 days with no activity and the awaiting response label was assigned. Is this PR still valid? Assigning the stalled label. Please comment to reassure me that this is still being worked on.

It has been 43 days that this pull-request has stalled. Please create a new pull-request with the requested changes.


Hangs with Cloud CP/M and Ishkur CP/M

Hi, not sure if this expected at the current state of development, but copying files from one logical disk to another fails under both flavors of CP/M.  Cloud CP/M wants a 'replace' API operation that's not implemented and Ishkur CP/M just hangs.  I find Cloud CP/M troublesome even on the author's adapter, but Ishkur shows no issues with, e.g. nns or the opensource internet adapter.

Hi,
nabu.run currently doesn't have any local file support, so there would be no place to copy files to. The other adapters run on your computer and can access your hard drive to store their virtual disks.
Issue #10 is the tracking bug for adding support to access your local disk from a web page. I do intend to find a solution here, but the APIs for this have limited functionality for security reasons.


What happened to the master branch and all the PRs?

@akshayrai
All the PRs contain commits that went into Dr elephant project since Jan 2015. In addition, they all have merge conflicts.
Please take a look.

@shkhrgpt , I have taken note of it. This happened after we were cleaning up the commit history.
Request you to perform the below steps.
git remote add upstream https://github.com/linkedin/dr-elephant
git pull upstream
git rebase upstream/master
git push -f

I am not an expert on git commands but it seems like that this will only rebase my personal fork, right? How would it fix the problems in the PRs in mainline dr elephant project? I was reviewing a few PRs, but I can't see the actual diff anymore?

When you update your personal fork, the PRs raised by you will automatically get updated but not other PRs.
I have already asked Swasti to update her PRs. She will do it soon if not already done.
Sorry for the trouble.


Error?

I'm having error on this:
        price_chart
            .draw_series(PointSeries::new(
                (0..self.timecache.len()).map(|x| (x, self.timecache[x].2)),
                1,
                &RED,
            )).unwrap();

What coudl it be?
error[E0282]: type annotations needed
   --> src\scenes\instances\components\chart\mod.rs:108:14
    |
108 |             .draw_series(PointSeries::new(
    |              ^^^^^^^^^^^ cannot infer type for `E`

Nop, E stands for Element. Since the point series is going to draw some pointing element on to the chart, but compiler doesn't know what types of element it should use.
Here's one of the example.
cc.draw_series(PointSeries::<_, _, Circle<_>>::new(
        (0..6).map(|x| ((x - 3) as f32 / 1.0, ((x - 3) as f32 / 1.0).sin())),
        5,
        &RED.filled(),
    ))?;

I need to polish this part a little bit, alternatively, all series is actually an iterator of elements, so a simple map also works.
cc.draw_series(
      data_iter.map(|(x,y)| Circle::new((x,y), 5 ,&RED)
)?;

And I found this is always easier and the point series makes everything confused.
I am considering removing the point series for a long time.  Sorry for the confusing API.

thx


Docker host need to have IP Forwarding enabled

If the host running docker doesn't have IP forwarding, then the container won't have access to the outside world.

Hi Team,
This might have something to do with firewalls, specifically the NAT rules docker dynamically configures for its containers on its private network.
If any of you have custom firewall scripts that are flushing/deleting your iptables then replacing them with the rules you want then this might be affecting the proper operation of your docker install.
And if this happens after docker has set up it's own NAT related rules that it needs to communicate with the local 172.17.x.x network it uses, then you'll see it listening on the correct external port but not working since the NAT iptables rule connecting it is simply missing.
One way to test if this is the case is to uninstall/purge docker from your host, a debian/ubuntu example would be:
# adjust for your version/package name
apt-get remove lxc-docker-1.2.0 --purge
apt-get autoremove --purge

Then reinstall it again and re-run your docker container.
If your app is now working and accessible externally, then your required docker firewall rules have been replaced.
To see them, try:
iptables -L -t nat

So what you now have to do is ensure your custom firewall script somehow plays nice with the rules docker needs to create/keep.
This approach worked for me anyway, your mileage may vary.

This issue is specific to the bridge network driver, right?  Other network drivers may or may not need ip_forward set in the main network namespace, depending on how they work.  Have I got this right?

vieux is right,  I add "RUN echo "nameserver <IP_ADDRESS>">/etc/resolv.conf" into my Dockerfile and its work gr8


The template doesn't work

The JSON template to create a new Resource Group does not work. I get error ""No HTTP resource was found that matches the request URI 'https://management.azure.com/subscriptions ****" when I ran the template. Any idea?
[Enter feedback here]

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

ID: a9fcea54-677c-dbcb-f61b-765aa9e81807
Version Independent ID: c0f8761e-992d-9e19-e9b3-b44b3d9b2ef4
Content: Create resource group and resources at subscription - Azure Resource Manager template
Content Source: articles/azure-resource-manager/deploy-to-subscription.md
Service: azure-resource-manager
GitHub Login: @tfitzmac
Microsoft Alias: tomfitz

The resource group creation and deployment will work according to this documentation. However, if you are to use MS Visual Studio this cannot be the deployment template, as the schema used is not recogonized as the ARM deployment template. If you are to deploy this, you will hit a block where it will say it cannot find the resource groups you are trying to deploy. So I had a different approach, check out StackOverflow.


file reorg

TODO:

[x] move tests for stuff in the util folder into the util folder
[x] add more stuff into util folder: remove parens, flatten, possibly more
[x] move rearrange coeff into simplify basics or a top level tree search
[x] break up simplifyBasics functions so each one is its own file and tested by a separate file
[x] split simplifyExpression into simplify file and stepThrough file (don’t export step at all, use the first step from stepThrough for tests that test step)

... and anything else!
NOT IN THIS PR: moving removeParens, that should be it's own PR

I'm gonna work on this some more today probably

Let's merge this :)

k one sec gonna remove a stale comment and merge


Adding click as advance action doesn't work

The problem
Adding click as advance action doesn't work
Describe the bug
When I go to the Input Map tab in the project settings and set dialogic_default_action to click, it doesn't
To Reproduce
Steps to reproduce the behavior:

Set dialogic_default_action to left mouse click
Make a timeline.
Run the timeline.
The click doesn't advance it.

Expected behavior
It works.
Screenshots

System (please complete the following information):

OS: Fedora Linux KDE Spin Wayland
Godot Version: 4.3
Dialogic Version: 2.0 Alpha 15

Solutions
Workaround
I just made a giant button that goes above everything and made it transparent.
Possible fixes
Not sure.

Looks like it's on my end


Don't accept remote blocks without mixHash fields

In https://github.com/NomicFoundation/edr/pull/516 we changed the code to accept remote blocks without mixHash fields. If the field is not present, the default (zero) value is used. We did this to accommodate EVM-compatible chains that don't have this field.
We should re-visit this after we have proper support for alternative chain types. Mainnet-like chains should still expect this field to be present, but other chain types could make it optional.

I think the title of the issue makes an implicit assumption that we'd just reject working with networks that we don't fully understand/support. This is contrary to how Hardhat Network has been working so far.

Yes, we need to discuss this more.
@Wodann suggested something I quite like: besides support for Ethereum Mainnet and Optimism, we could have a "Fallback" chain type which is more permissive. In that case, a mix hash wouldn't be accepted in "Ethereum Mainnet" mode, but it would in fallback mode.


refactor: Switch code usage to external libraries (unstructured)

In this PR I removed third_party/kubernetes code and replace with calls to unstructured

:tada: This PR is included in version 1.4.8 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Added TCK for python

TCK tests are set to run with runtests.sh
Python-drivers currently do not accept sending Path/Node/Relationship while Java-drivers do. So those tests are currently failing.

If I understand your description of this PR correctly, I would argue that the Java driver should not permit Node/Rel/Path objects as parameters. Doing so is not supported by the current remoting interface (HTTP) and the behaviour for this is AFAIK not well-defined by Cypher, despite being permitted by the embedded API.
@jakewins: we had conversations about this earlier last year - has this changed?


Using a POST to perform a read operation

Is passing a complex object in the request body of a POST to do a READ (like passing a query object to mock an advanced db search) supported in json-server?

No, JSON-Server does not support using a POST request to perform a read operation like passing a complex object in the request body to mimic an advanced database search. JSON-Server is designed to follow RESTful principles, where POST is used for creating resources, and GET is used for reading or retrieving data. Advanced querying should be done using GET requests with appropriate query parameters.

Is passing a complex object in the request body of a POST to do a READ (like passing a query object to mock an advanced db search) supported in json-server?

You can create a middleware to update req.method to GET, it will return your value in db.json


DML using Evolution

This is an evolution based approach to DML. This is a code that I used for my novel method using CMAES and kNN to evolve a Mahalanobis metric. It is based on ideas from Fukui et al. [Evolutionary distance metric learning approach to semi-supervised clustering with neighbor relations].
I think it will need some more refactoring, I am open to suggestions.

Wow, this is quite the PR! I haven't read through the whole thing yet, but my initial reaction is that including a complete implementation of CMAES seems like overkill. I'd be much happier adding an optional dependency on a CMAES library and having the code here just focus on the metric learning parts. Similarly, I'd rather use an existing neural network library than include an implementation here.

I am not including a complete implementation of CMAES nor Neural Networks. I am using DEAP library for evolution algorithms, that CMAES class is a necessary boilerplate code to run it.
For the neural networks, I only use a forward inference, which is only a simple for-cycle. I dont think a library dependency is needed just because of that.

Hello,
I have refactored the whole method, I hope it will be more understandable this way. Any feedback is appreciated, I would be very happy having this merged eventually :)
I don't know why the unittests fail in autoloader:
AttributeError: 'module' object has no attribute 'metric_learn_test'
Any ideas?

Managed to fix the Travis build. One of the libraries was not available in Python 2.

Yes, the test passes after the last refactoring.
Also exposed more parameters in the main CMAES and JDE class wrappers.

Given that this has been inactive for a long time, and that meanwhile the package has undergone massive changes, I will close this for now


random particule

On windows 7 the particule explose ererywhere in the panel. The particul does not follow the cursor.

The particul does not follow the cursor in ubuntu 15.0 as well.

are you using tabs or soft wrap?

soft wrap

already fixed, use the latest version


killer tomato flesh should be edible raw

Description
killer tomato flesh behaves like other animal flesh and you can't eat it raw, imo it should be just fine to eat as is.

It would be convenient for the new modular burgers. A big slice of tomato would look nice on them.


Handle Karate tests in a BootJar

Relevant Issues : https://github.com/intuit/karate/issues/751
Type of change : Bug fix for existing feature

Hello, so after some investigation here's half (or maybe 2/3) of the solution to launch Karate tests inside a jar packaged by Spring Boot.
Here are the important changes brought by this PR:

In the Runner, the featureExecutor will be initialized using a privilegedThreadFactory() in order to have access to the invoking thread's contextClassLoader. Spring Boot sets its own ClassLoader in the thread's context, and this ClassLoader is very useful in retrieving packaged feature files. Each ExecutionContext retrieves the contextClassLoader, which is then passed down to each ScenarioContext.
Across scenarios, this ClassLoader might be null. This is handled by passing the initial one through a CallContext. When resolving a scenario we cannot retrieve the Spring Boot's ClassLoader by using Thread.currentThread().getContextClassLoader() because we are in a Thread managed by a ForkJoinPool (the executor scenarioExecutor in Runner).
This ClassLoader retrieves the karate-http.properties
The ClassLoader is used in the FileUtils to create a Resource wrapping a URL. This URL is a good pointer to the packaged files.
The test class BootJarLoadingTest uses the newly added jar karate-bootjar-test.jar to test the new modifications.

I previously said "half of the solution" because at the moment this and relative path resolution mechanisms do not work, such as call read('this:a.feature') and call read('../a.feature'). Also, the Karate's Resource class should probably be modified in order to be more generic in the resources it can handle (see BootJarLoadingTest to see the working solution we've been using since we started using Karate with Spring Boot). I'm currently working on a solution for that.

And thank a lot for all these existing tests 😅 It makes me more confident in my changes

@celcius112 this is good stuff and I have no problem merging this. but should I wait for the "full" solution ?

@ptrthomas I don't mind waiting. This PR was done in order to have more insight (if needed) on the changes before moving on the next issues. Anyway we won't use these changes in production until Karate is released

@celcius112 okay, let's wait - as you said, since all the existing tests pass we should be good, thanks for writing tests and do add more if needed

@celcius112 just one thought - if we move the ClassLoader reference into the Resource class would that make things a little simpler ?

yeah I though about exploring this solution for simplifying the Resource

Hello @ptrthomas, this and relative path resolution mechanisms now work correctly. If you accept I think this commit is now mergeable and answer to our current need.
For your interest, I will try in the near future to modify the FileUtils#scanForFeatureFiles so that it can detect more easily the feature files in a bootjar. Right now we need to add some specific implementation in order to create our own Resource for Spring Boot resources (see BootJarLoadingTest#SpringBootResourceLoader).


Add unit tests

Add Jest unit tests.

Jest unit cases added for the rendering of all elements for both platforms, with different combinations of props.
Tests were run successfully.


Move release note to the proper path

Summary
In PR #7014 a new release note was added for the changes being made in
that PR to document the bump in the minimum version of symengine needed
for the next Qiskit release. However, the reno command was accidentally
run in the wrong directory (reno needs to be run from the repo root
directory) and the releasenote file ended up in the wrong location. This
means that we both have a file in the wrong place and that it won't show
up in the rendered release notes when we build the documentation. This
commit fixes this error and simply moves the release note to the proper
location so that it will be included in the release documentation.
Details and comments

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.008%) to 82.799%

Totals

Change from base Build<PHONE_NUMBER>:
0.008%

Covered Lines:
50023

Relevant Lines:
60415

💛  - Coveralls


Update how-to-troubleshoot-deployment.md

Incorrect param

@dciborow : Thanks for your contribution! The author, @chris-lauren, has been notified to review your proposed change.

#sign-off

@j-martens: I'm sorry - only the author of this article, @chris-lauren, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.


Update index.html

index.html changes to final version

There are some bugs within here and they are the following:
Script Tag in Head (head script disabled)
Missing list tag
Missing closing > on P tag
Missing opening footer tag
Missing closing > on closing div tag

Awesome!


Error on commands

HI,
I installed the necessary packages, and started the Mt4ServerZMQ script leaving the default 6666 port. I also installed the ridis-cli client and started the connection to the above port but when I try to run a command, for example orders I get the following error:
Error: Protocol error, got "\xff" as reply type byte
What am I doing wrong?
The operating system is Windows server 2016 on a VPS.

You may want to use Mt4ServerRaw because it uses raw tcp connection, which is the same as redis-cli. You use Mt4ServerZMQ only when you are using a zmq based client.

Hi @dingmaotu,
I confirm what you said, using Mt4ServerRaw it worked.
Do you know if it is possible to use a ridis client from python?

It is possible, but you need to use some low level methods instead of wrapped commands (the protocol is same but the commands are different)

Hi @dingmaotu,
thanks for the reply, sorry if I still ask you a question ... how do you send the commands to set the stop loss and take profit?

this project seems almost dead ... nobody contributes, nobody talks ..

It has been a while don't know if this will help you ildeb, but I just made a trade with SL and TP, by augmenting the BuyCommand class under MqlCommand.mqh.
I augmented the method to allow 3-5 parameters and then added an SL and TP that default to 0, and then parse them if they are present, hope it helps.
  if(command.size() < 3 || command.size() > 5)
         return new RespError("Invalid number of arguments for command BUY!");
      string symbol=dynamic_cast<RespBytes*>(command[1]).getValueAsString();

      double SL = 0;

      // We know if it is greater then 3 we have a S/L
      if(command.size() > 3)
        {
        SL = StringToDouble(dynamic_cast<RespBytes*>(command[3]).getValueAsString());
        }

      double TP = 0;

      // We know if it is greater then 4 we have a T/P
      if(command.size() > 4)
        {
        TP = StringToDouble(dynamic_cast<RespBytes*>(command[4]).getValueAsString());
        }
      double lots=StringToDouble(dynamic_cast<RespBytes*>(command[2]).getValueAsString());
      int id=OrderSend(symbol,OP_BUY,lots,FxSymbol::getAsk(symbol),3,SL,TP,NULL,0,0,clrNONE);

Hey @ildeb , picoredis works with Mt4ServerRaw.


PHP CS Fixer doesn't run automatically

Just noticed after my MR that PHP CS Fixer has rules included, but it's not a dev dependency, nor run via GitHub Actions.

Yes, this is definitely something that needs to be fixed. Thanks for pointing it out!
The reason why the CS Fixer is not included in dev dependencies is to support wide range of PHP versions while CS Fixer v3 handles only most recent ones. We can require it globally when running under PHP 8.0 only and do the --dry-run check just like we do with infection unless you have any better ideas.
Feel free to submit a PR if you have time. Since you already contributed, your GitHub Actions will be executed without my approval. Otherwise I'll try to look into that over the weekend.

Good point regarding the PHP versions. I use StyleCI for my PHP 5.3+ project, so it's not a project for me.
I'm better at GitLab CI rather than GitHub Actions, so it might be best for someone else to do it.

Solved by switching to StyleCI in 464ce36d830fba82993dbe2eecbf7975434e37c3


As an admin I want to be able share a link to the API for the newly created locations of a country

There is share link now


The decrypt answer is not near to the answer it should be.

This is my first time asking for the answer. This is my code below. The noise budget is enough, so the decrypt answer should be near 1.68. But the decrypt answer is 1.632389142177999. Is it a bug?
import numpy as np
from Pyfhel import Pyfhel
HE = Pyfhel()
HE.contextGen(p=13, m=4096)
HE.keyGen()
Encrypt float
message = 1.2
ctxt_message1 = HE.encryptFrac(message)
print(ctxt_message1)
message = 2.4
ctxt_message2 = HE.encryptFrac(message)
print(ctxt_message2)
message = 3.6
ctxt_message3 = HE.encryptFrac(message)
print(ctxt_message3)
multiply
ctxt_mul1 = ctxt_message1 * 0.1
print(HE.decryptFrac(ctxt_mul1))
ctxt_mul2 = ctxt_message2 * 0.2
print(HE.decryptFrac(ctxt_mul2))
ctxt_mul3 = ctxt_message3 * 0.3
print(HE.decryptFrac(ctxt_mul3))
add together
ctxt = ctxt_mul1 + ctxt_mul2 + ctxt_mul3
decrypt
decrypt_ptxt = HE.decryptFrac(ctxt)
print(decrypt_ptxt)

Wait...I clicked the wrong button so the issue is closed, I made a mistake. This problem still not solved. Can someone help?

It works when using larger p.
When p=9539832, and it works. The answer will be 1.6799999934155494.


updates based on oas

updates bulk-by-address endpoint

Closing this since all the changes are incorporated in https://github.com/neynarxyz/nodejs-sdk/pull/84


Big update to boilerplate to some newer tech

switch to node 12 by default
update to typescript 3.7
update babel version
switch from mocha to jest
simplify tsconfig
update tslint config (soon we might switch to eslint completely)
remove coverage service
move husky and lint-staged to config files
don't use babel runtime/buildins to be independent of core-js usage
move test files together with source files

Maybe we can switch from travis to actions in the end. But it's a much needed update for the BP.


Matrix boot stability

Issue
Pi matrix code has a habit of being crash prone around boot. This appears to originating from lower level libraries throwing errors. These errors seem to come in 2 types, but either one will happily happen back to back with no obvious changes to the situation:

corrupted size vs. prev_size
free(): invalid pointer

Investigation notes
Not all builds act the same. Some will never stay up for more than a split second, others never seem to error. So far, all attempts to directly identify a root cause event or trap the error within node have failed
Faulty bindings
Since there are github issues with the same thing happening for other people with rgb-led-matrix, and the issue is not super consistent here, it's probably being done here. Ex: bad arguments into a method somewhere, or order of operations in application wiring (in the domain of this repo at least)

Building a custom version using latest hzeller/rpi-rgb-led-matrix didn't meaningfully change anything.

Race conditions

It's plausible that the app is trying to do 2 simultaneous things, then exploding. All anecode

(makes worse) Logging statements occurring around LedMatrix construction
(makes better) Magic sleeps

Solutions being investigated
Create boot sequence
Theory: after the application boots, and stays stable for a few seconds, it almost never crashes.
If that time period can be controlled in a way that prevents other code from being run (ex: sync splash screen / test pattern), it may be possible to get to a more stable phase when handing off to application logic

??? -> profit?
Sounds fun - probably won't work / 10

Error trapping at lower levels

Needs research / help: N-API & C++ isn't really my thing

There hasn't been an obvious way found to trap the error from within node. It seems to bubble up through the n-api layer, and crash the app directly, not running any of the shutdown hooks.
#89 asks for the creation of more locally controlled bindings. It may be possible to trap / bubble up the error differently from there

https://stackoverflow.com/questions/20297524/c-free-invalid-pointer
https://stackoverflow.com/questions/49628615/understanding-corrupted-size-vs-prev-size-glibc-error

There is probably some throttling on render calls that can happen also. Currently widgets are repeatedly being re-rendered, with no actual changes to the displayed content. Excess screen refreshes are likely not helping here


cmake hickup on Fedora with ${SDL2MAIN_LIBRARY}

Just cloned your repo and tried to build the unstable branch. Installed all dependencies, but still SDL2MAIN_LIBRARY was set to NOTFOUND - even though all SDL2-devel packages were installed. I am new to cmake and cxx so I just tried the brute force approach: deleted the main lib reference and gave it a go.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 52354fb..be15b3e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -137,7 +137,6 @@ set(COMMON_LIBRARIES
     ${FREETYPE_LIBRARIES}
     ${FreeImage_LIBRARIES}
        ${SDL2_LIBRARY}
-    ${SDL2MAIN_LIBRARY}
     ${CURL_LIBRARIES}
     pugixml
     nanosvg

That's it. Simply removed ${SDL2MAIN_LIBRARY} and after that I could build the current unstable branch flawless and got a working executable. I don't know if even on other systems like Windoze or Ubuntu this lib ref is superfluous as well as you already include SDL2_LIBRARY - seems to be enough on Fedora 20 :)

This commit breaks windows build (tested with Visual Studio 2010) with error:
MSVCRT.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup
Adding back SDL2main.lib in libs solves the problem.


chore: 'instant' is invalid

:tada: This PR is included in version 2.2.21 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Feature Request: Support ddof argument in np.nan[std | var]

Feature request
Related to https://github.com/numba/numba/issues/6610, it would also be great if the ddof argument could be supported in np.nanstd and np.nanvar

@mroeschke thank you for submitting this. I have labelled this as feature request accordingly.

@mroeschke thank you for submitting this. I have labelled this as feature request accordingly.

Hi @esc, Can I pick up this issue? I would love to start my contribution journey with it. Thanks!

@tsabbir96 I don't see why not, anyone can pickup any issue on Numba..

@esc great, thanks! Could you give me an overview on how I can approach this thing?

take

@esc great, thanks! Could you give me an overview on how I can approach this thing?

I am so sorry, but I don't have the bandwidth to mentor this feature at present, so sorry. Perhaps you can try to find someone to mentor you at the weekly developer meeting:
https://numba.discourse.group/t/weekly-open-dev-meeting-2021/417

Sure, I totally understand. Thanks for pointing me to the meeting, I will definitely look for mentors there. But I can see there's an existing PR for this issue. Could you just give me a heads-up whether this issue has been already taken care of in the pr, or does it need some brush-up? Cheers, Thanks.

@tsabbir96 , Its' been a while since I raised that PR. But, I do remember testing it and it was working. Maybe test it and fix if I missed anything in that?

@rawwar If you are available, I think it would be best if you manage this PR as you are the original author.


Generate provenance statement during npm publish

Adds the badge in the npm registry, so consumers know where the package was built and by whom. See the resources below for more details.
Example package: https://www.npmjs.com/package/sigstore (the green checkmark next to the version, linking to the bottom of the page with more details/links).
Resources:

https://github.blog/2023-04-19-introducing-npm-package-provenance/
https://github.blog/changelog/2023-09-26-npm-provenance-general-availability/
https://docs.npmjs.com/generating-provenance-statements

@Likita can we announce this when merged?


[R] Rename watchlist -> evals

ref https://github.com/dmlc/xgboost/issues/9810
To be merged after previous PR: https://github.com/dmlc/xgboost/pull/9957
This PR renames the parameter 'watchlist' in the R interface to 'evals' , like it is named in the python interface.
The name 'watchlist' is quite unintuitive, since one tends to call this names along the lines of "evaluation set", "validation data", etc.

Hi, could you please help rebase the PR? Is there anything I can help?

Rebased. PR is ready for review.

Whike the change makes sense, it should be on the list of the very breaking changes: it is a typical workflow to use wachlist for early-stopping. In unmodified code, watchlist will now vanish into the ... arguments.

@mayer79 That's a good point. Considering that @david-cortes is working on revamping the xgboost() function and making it the future interface, we might not have the problem with this silent error once the work is completed.

@trivialfis This is true for people switching to xgboost(). But for existing code based on xgb.train(), we can raise a warning, see  https://github.com/dmlc/xgboost/pull/10110


No output at last...I trained the network but on test dataset I am not getting any mask. all file is blank

I encountered the same situation.  And I can't solve it now....

I have the same issue as well...

My data was imbalance and when I used appropriate loss function. I got correct output.

HI @SanBadhe,
What was the loss function you used to solve the problem? did you use data augmentation to solve the data imbalance problem ?
Thank you for you help :)

I used loss function as an addition of binary cross entropy and dice coefficient.
I used data augmentation because of the dearth of data. you can't balance data in image context.

@Thanks a


vComponent: Data Integrity checks

Description:
Problem/Opportunity:
Details of which are yet to be decided but as a marker ticket to pad out develop at a later milestone, this ticket may be removed until a specific requirement is needed.

data integrity? Semaphore protection on the Queuing message system
Not send any callbacks when a TX is being called, the application doesn't expect data from a callback?

Proposed Solution:
<Explain your idea for the feature and how it addresses the problem/opportunity.>
Acceptance Criteria: (Optional)

<Specific condition 1>
<Specific condition 2>
...

Additional Notes (Optional):

<Mockups, sketches, wireframes, etc.>

no further actions on this.


added type_safe

Currently it points to my fork. You can create a hunter_packages fork if you wish and I'll update the location.

You can create a hunter_packages fork if you wish and I'll update the location

Done: https://github.com/hunter-packages/type_safe

Testing:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.2703
https://travis-ci.org/ingenue/hunter/builds/295661753?utm_source=github_status&utm_medium=notification

Uploading:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.2704
https://travis-ci.org/ingenue/hunter/builds/295664605?utm_source=github_status&utm_medium=notification

Released: https://github.com/ruslo/hunter/releases/tag/v0.19.144


Rename media folder - new hardware

If this PR needs approval, or if the commits need to be pulled into the private repo, contact @alkohli. Thanks.

@alkohli

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@dansisson I have pulled the changes into a private PR which is now merged. Please go ahead and close this PR. Thanks!


Refactor Player Ship to use Stats

This PR is meant to close #24. It was longer than I expected as to make this flexible, we needed a solution to store arbitrary stats and apply upgrades to them. This is done with 9cc1bbe1e1eb23fe0206dd4d063d424849594e7e
This PR integrates Stats into the game. It:

Replaces properties in PlayerShip and Cargo
Moves UI code in the PlayerShip and Cargo to the UI nodes themselves

Left to do
Refactor and restore upgrades.

@Razoric480 could you take a look and tell me if the code makes sense to you? I recommend checking the two commits separately, the second one is dedicated to the UI code changes.
For the upgrades, I'm not sure where to put the code. I think this makes the most sense:
Connect the signal when the player picks an upgrade to PlayerShip and Cargo, and update stats from there, e.g. stats.add_modifier("max_health", 15) would upgrade the health by 15 points.
With the way the stats and ui work, the UI will auto-update.

I've not dug into it at a personal depth, but looking over the architecture in the review section and over both commits, it's looking pretty sane to me.
And yeah, keeping cargo upgrading in cargo and player upgrading in player makes sense; especially since they're the ones that have access to their stats variable to begin with.


How to uninstall

how can i uninstall netflix-proxy if i've decided i no longer wish to use it?

Destroy the server or go through the script to see what it does and undo it all manually.

yeah destroying server isn't really an option in my case
was hoping for a high level set of steps, so far i've just assumed stopping and destroying the relevant docker containers and removing the couple of startup services that are created

If you kill Docker containers and remove the iptables rules, you should be OK. Also stop netflix-proxy-admin service.


Update private-endpoint-dns.md

Fixed incorrect subresource value for Machine Learning

@groovy-sky : Thanks for your contribution! The author(s) have been notified to review your proposed change.

This change has been made in the live article. Thanks for your contribution!


Server gets stuck while preparing spawn area

I have been trying to create a server running this mod for my friends for a few hours now however it will not work. I have reinstalled and attempted to recreate the files in various ways (such as launching the server for the first time with the mods and without the mods) to resolve this issue but nothing seems to work. I have left it open for long periods of time but it will not quit via a command, the CMD prompt must be closed manually or it will just sit.
I am using
aether-1.16.5-1.0.3
fabric-api-0.34.2+1.16
trinkets-2.6.7
in the mods folder with server.jar version 1.16.5 installed by fabric-installer-0.7.3
latest.log
I've attached the log

Can you try downgrading Fabric API?

Can you try downgrading Fabric API?

I tried this several times, beginning at the latest and working down chronologically in release date and eventually fabric-api-0.33.1+1.16 worked. It launched the server, but the Aether mod appeared to be missing. However, the stop command worked so I shut down the server and relaunched it and it worked fine after that. It did however crash after that first shutdown
crash-2021-05-17_12.13.30-server.txt
However after a few launches I haven't encountered any further issues.
Attached is the log from the last time I ran the server, where it worked fine if it is of any use.
latest.log

That crash wasn't related to the Aether Reborn


Use arguments that start with -D from compile_commands.json

This change adds arguments to the returned args of
getClangFlagsCompDB that start with -D. These flags define symbols
at compile time. Merging this change will improve the precision of
autocomplete-clang.
Example: compile this program with clang -DTST and it will compile
correctly. The change allows autocomplete-clang to see that TST
was actually define, it will not emit a warning then.

void foo(int x) {}

int main(int argc, char const *argv[]) {
  foo(12);
  return 0;
}

I

Hi. Thanks for this PR - I understand the purpose of wanting defines carried over, but you're doing this inside the args-that-take-a-parameter logic, where defines should be being handled in the prior things-that-look-like-args-without-parameters logic. Does this mean you've found that the one-args logic is failing?

Hi! IMO, the argument is one that takes a parameter. -DTST is short for -D=TST
-DTST
 ^ ^
 1 2

1 -- Kind of argument
2 -- parameter

Hi - no doubt, but that should still be being caught under the logic of line 47, shouldn't it?
If line 47 isn't catching those single args, it seems that should be fixed instead? 47 and 48 and working through all the args, splitting them based on whether they're one-part args, or two-part args -DTIT should (as should -D=TST) come through as a one-part arg (because there's no space), while -D TST would come through as a two-part arg. -DTST thus shouldn't be in doubleArgs list, and the test you added should be redundant (testing for something that won't be there).
So the issue seems to be finding why you're seeing that singleArgs.push allArgs[i] if allArgs[i][0] == '-' and (not nextArg || nextArg[0] == '-') isn't matching -DTST. What's the full line in question from your compile_commands.json?


fix: loosen peer dependencies to allow usage with angular 4

First of all thanks for the this great module! I've loosened the peer dependencies to allow angular 4 and removed zone.js and rxjs as they're already peer dependencies of @angular/core

Thanks for the fast response! 👍


Input OTP from shadcn/ui

Describe the feature
I wanted to use email otp from lucia but didn't find Input OTP so had to use normal Input

It will be added once the Input OTP library's multi-framework support is added, which I believe will be happening in the near future.


Another spoken language

Hi there.
I love Eddi and I would like to contribute.
I looked quickly  the source code and i and I would like to have the opportunity to hear the TTS in French.
On visual studio I saw that we had a named party "EddiSpeechService".
I imagine that the vocal part is played in this part of the code but i'm not sure...
If anyone could help me figure out what to change it would be cool and would make EDDI even more popular for French users.

EDDI has the concept of personalities.  If you start up EDDI, go to the 'Speech responder' tab and hit the 'Copy personality' button you can create a new personality.  Here you can customise the responses, including translating them in to another language.
Others are also working on translation to different langauges, so you might want to look at the EDDI thread on the Elite forums to see who is already doing what.


Added average calculation

Added average distance functionality to calculateDistance function and updated main.c, distance-sensor.c, and distance-sensor.h with added comments.

Linked #2 since this PR adds averaging functionality


Fix static variable malformed symbol

Description of changes:
A symbol's base_name has to be a suffix of its name otherwise it is considered a malformed symbol. For static variables, Kani was using the pretty_name to generate the base_name which was generating invalid iRep as a result. This was caught while trying to run symtab2gb after the std compilation.
Resolved issues:
Fixes #1361
Call-outs:
I couldn't figure out a good way of testing this. I also cannot enable symtab2gb on the std regression because I am now facing a new problem. I created #1379 to track the entire work of getting symtab2gb command working.
Testing:

How is this change tested? The assert I added to Symbol::new() would fail without the actual fix.

Is this a refactor change? No

Checklist

[ ] Each commit message has a non-empty body, explaining why the change was made
[ ] Methods or procedures are documented
[ ] Regression or unit tests are included, or existing tests cover the modified code
[ ] My PR is restricted to a single feature or bugfix

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

It was something like:
name: _ZN3std9panicking9HOOK_LOCK17hff49b4883f12eecfE
friendly name: std::panicking::HOOK_LOCK
base name: HOOK_LOCK

TBH, I was tempted to just remove base_name from all Symbol construction method since we just basically duplicate name everywhere we call these functions.

What is the base_name used for actually? The docstring is not very helpful.

What is the base_name used for actually? The docstring is not very helpful.

Same question I had. See https://github.com/model-checking/kani/issues/1361#issuecomment-1185749783


Provide runtime.action to condition expressions

It would sometimes be useful to be able to write a rule matching a wildcard action and use the matched action in the condition expression, e.g.
- actions:
    - "*"
  effect: EFFECT_DENY
  roles:
    - user
  condition:
    match:
      expr: R.attr.foo > (runtime.action == "bar" ? 9000 : 42)

We used to expose the input actions via request.actions but that is not suitable for this use case - you want to be able to write the condition based on the action that matched the wildcard rather than the full set of actions that were provided in the request.
We could add a field action to the cerbos.engine.v1.Runtime message, which would be populated with the action currently being evaluated by the engine.

There are couple of complications with this:

Variables should be forbidden from referencing runtime.action

We currently evaluate variables at the beginning of a policy. If variables are allowed to reference runtime.action we'd have to re-evaluate them for each action
Reasoning about variables becomes quite mind bending when they change from rule to rule

CEL doesn't have a way to lazily evaluate field accesses like runtime.effectiveDerivedRoles. So, the first time runtime.action is used we'd have to compute and sort the effective derived roles as well.

Variables should be forbidden from referencing runtime.action

I think this is more confusing than having variables that change from rule to rule. My mental model of variables is that they are effectively macros; a variable in an expression can be expanded with its definition (and indeed this is how we do it in the query planner). As an optimization, variables that do not reference runtime.action can be precomputed in checks, but I think lazily evaluating ones that do reference it should be allowed.
Similarly I think it should be possible to reference runtime.action in derived role conditions. The use case I am thinking of is an API key which has a set of user-configurable permissions, so the principal attributes contains something like
permissions:
  "resource1:action1": true
  "resource2:action2": true
  # ...

Then I want to define a derived role like
name: permitted_api_key
parentRoles:
  - api_key
condition:
  match:
    expr: P.attr.permissions[R.kind + ":" + runtime.action]

so that I don't have to include the permissions check in a condition in every policy rule.

Moved to discussion.


Unverified user receives ambiguous error message when logging in

If using email verification, when attempting to login as an unverified user (with correct credentials) the standard error message is returned...'Invalid username or password.'
It would be much better if a message reminding the user that they need to verify their email was displayed.
Thanks!

Great find! I'll get this in there today.

Did this ever get fixed? @rdegges

Please re-open if this is still a problem with the new 2.x release


Potential Bug in  overlappers Function

Hi,
I detected a bug in overlappers function that it did not return all overlapping intervals with a point. When tested with few intervals, the code works fine. However, with large number of intervals, inserts and deletes, overlappers does not return all overlapping intervals. I verified that by simply printing the tree before each call to overlappers and checking the output of overlappers. In some cases, overlappers function doesn't return all overlapping intervals,
When I tested my code with another implementation of intervaltree(http://algs4.cs.princeton.edu/93intersection/IntervalST.java.html), I found no bugs.
I apologize that I am not able to provide more details due to a deadline that I have to meet. I suggest more stress testing.

Thanks. I'll write some more testing when I have time.

I think @charcuterie has been inactive since 2016. Pretty unfortunate, since I happen to be using this code as well.

Another possibly related bug: next() throws NoSuchElementException, even if hasNext() returns true:
java.util.NoSuchElementException
	at java.util.HashMap$HashIterator.nextNode(HashMap.java:1447)
	at java.util.HashMap$KeyIterator.next(HashMap.java:1469)
	at datastructures.IntervalSetTree$OverlapperIterator.next(IntervalSetTree.java:1253)
	at datastructures.IntervalSetTree$OverlapperIterator.next(IntervalSetTree.java:1)
	at flirora.arcompu.item.io.AddressMap.dereference(AddressMap.java:102)

Sorry, since 2016 I underwent a sex change and am working in the cosmetology field. Didn't realize people were actually using this code. I'll try to find some time and look at it again.


Issue with cattle-node-agent after upgrading to Rancher 2.2.8

Ever since we upgraded from Rancher 2.2.4 to Rancher 2.2.8, Rancher's system cattle-node-agent can't correctly connect to the worker nodes proxy and keeps logging:
time="2019-08-27T15:45:50Z" level=info msg="Starting plan monitor"
time="2019-08-27T15:46:00Z" level=error msg="Failed to connect to proxy" error="read tcp X.X.X.X:51812->X.X.X.X:443: i/o timeout"
time="2019-08-27T15:46:10Z" level=info msg="Connecting to wss://rancher.domain.name/v3/connect with token XXXXXXXXXXXXXXXX"
time="2019-08-27T15:46:10Z" level=info msg="Connecting to proxy" url="wss://rancher.domain.name/v3/connect"
time="2019-08-27T15:52:06Z" level=info msg="Starting plan monitor"
time="2019-08-27T15:52:16Z" level=error msg="Failed to connect to proxy" error="read tcp X.X.X.X:56462->X.X.X.X:443: i/o timeout"
time="2019-08-27T15:52:26Z" level=info msg="Connecting to wss://rancher.domain.name/v3/connect with token XXXXXXXXXXXXXXXX"
time="2019-08-27T15:52:26Z" level=info msg="Connecting to proxy" url="wss://rancher.domain.name/v3/connect"
This is only happening in worker nodes, ETCD and ControlPlane Nodes are fine. Our cluster is an on-prem, VM based cluster. Nodes are 8 core and 32 GiB RAM.
Rancher Version: 2.2.8
Single install
K8s version: 1.14.6
Thanks in advance!

Hi David, thanks for the fast reply!
This is happening on nodes running Ubuntu 16.04.6 LTS and this cluster is actually running on Azure, and not "on-prem" as I had previouly mentioned.

David,
Thank you for the ultra-fast feedback! If you could please link me that bug issue that is related to mine, I'll follow it and close this one.

@davidnuzik what are the current implications of running a cattle-node-agent in this state?


QueryDsl problem (group by, aggregation with projection)

1.  This is what i did with querydsl
JPQLQuery query = from(collectProgram, collectItem);
query.where(collectProgram.progSq.eq(collectItem.collectItemId.progSq));
query.groupBy(collectProgram.progSq);
	List<CollectProgramSearchListDto> collectProgramSearchList = query.select(Projections.constructor(CollectProgramSearchListDto.class,
	collectProgram.progName,
	collectItem.itemName,
	collectProgram.progDesc)).fetch();

3. This is what i am wondering
How i can get "string aggregation" with collectItem.itemName after groupBy.
Actually i can get count after groupby with collectItem.count();
but....is there any way get string aggregation after groupby??
4. If that is not possible
Could you give me some example of using "Group" instance after group by with mutiple result column.
I don't know how to handle this "com.querydsl.core.group.Group" data.
Map<Integer, Group> results = query.from(post, comment)
.where(comment.post.id.eq(post.id))
.transform(groupBy(post.id).as(post.name, set(comment.id)));
thanks in advance.

I'd like to know how to use STRING_AGG in querydsl as well

this is how you can use STRING_AGG:
stringTemplate("STRING_AGG({0}, ',')", mci.itemKey)

Or: SQLExpressions.groupconcat(mci.itemKey, ",").
However, either solutions only work for querydsl-sql and not querydsl-jpa because STRING_AGG or GROUP_CONCAT are not defined functions in JPQL.

Or: SQLExpressions.groupconcat(mci.itemKey, ",").
However, either solutions only work for querydsl-sql and not querydsl-jpa because STRING_AGG or GROUP_CONCAT are not defined functions in JPQL.

@jwgmeligmeyling How can it be done in QueryDSL-JPA ? I'm also trying to achieve the same. do I have to use .transform() or something similar?


Activerecord where exists relation

Q
A

Is bugfix?
no

New feature?
yes

Breaks BC?
no

Tests pass?
?

Looks interesting and useful

Won't make it into 2.0.


Investigate beta branch support

There's a new beta branch called Trade Inn Preview - would be nice to somehow add support for this and all other future branches. Maybe an image-build option via ARG?

Out of scope for now. If beta branches become more frequent and accessible it may makes sense to investigate further how to properly establish support for beta branches.

It's alive!


Issues in running GPU device on MTL iGPU in notebook 261-fast-segment-anything

Describe the bug
No results are seen when running the notebooks with iGPU on MTL platform. The Inference is done but no bounding box is seen, However, when change the device to CPU, the bounding box results are seen.
Expected behavior
Can see the result when using iGPU to perform inference.
Screenshots
Installation instructions (Please mark the checkbox)

[x] I followed the installation guide at https://github.com/openvinotoolkit/openvino_notebooks#-installation-guide to install the notebooks.

** Environment information **
Additional context

I obtained the same result as you when inferencing with iGPU.
Inferencing on CPU:

Inferencing on iGPU:

We'll investigate the issue and update you as soon as possible.

@xiangyang-95 could you please try to apply configuration changes proposed in this PR https://github.com/openvinotoolkit/openvino_notebooks/pull/1829? Fast-Segment-Anything is based on yolov8, it is known limitation that it may requires to disable some optimization for GPU to get accurate result on some platforms

@eaidova I am still having the same issue after applying the configurations in the PR.
Based on some tests, I found that when we export the model to a static shape, then it works.
Using a dynamic shape has no detections on the result when the accuracy is high, if the accuracy threshold is tuned down to very low (0.01), the results can be seen.
I also find that the tensor data between the static and dynamic shapes are different as well.

@xiangyang-95 thank you for your findings, I updated notebook to use static input shapes


Adds support for the Keen SV02 6x10 vent

The SV02 support works for both the 4x10 and the 6x10 vents. This just adds the 6x10 zigbeeModel to the SV02 spec.

Thanks!


Authentication on the homepage

Quick question: how do you properly add the authentication on the home page?
I tried the below codes but the canActivate: [AuthGuard] does not work on the homepage but in the rest of the routes works perfectly fine.
I also tried some of the suggestions I found on the internet but would not work on the homepage.
import { Routes, RouterModule } from '@angular/router';
import { AuthGuard } from './core/auth-guard/auth-guard.service';

const routes: Routes = [
    { path: '', redirectTo: 'home', pathMatch: 'full' },
    // Lazy async modules
    {
        path: 'login',
        loadChildren: './+login/login.module#LoginModule'
    },
    {
        path: 'register',
        loadChildren: './+register/register.module#RegisterModule'
    },
    {
        path: 'home',
        loadChildren: './home/home.module#HomeModule',
        canActivate: [AuthGuard]
    },
    {
        path: 'profile',
        loadChildren: './+profile/profile.module#ProfileModule',
        canActivate: [AuthGuard]
    }
];

@robertpmansion have you tried adding [AuthGuard] on home.routes.ts?

@asadsahi it does work when I add it to home.routes.ts, but do I have to set to every route like profile.routes.ts? any more efficient where I could just set them in one place?

@robertpmansion it depends on your scenario, you need to have a public page for sure, where users can land on , and you don't want to puth authguard on that landing page. if you are thinking end users to land on login page by default, then you can set login page as default landing page without auth guard and secure all other routes using authguard.
An efficient way to handle that could be  to hook into routing events rather putting authguard agains each route. Something like this:
http://stackoverflow.com/questions/33520043/how-to-detect-a-route-change-in-angular-2
Bear in mind that you still need to check that landing page ins't included in this check.

@asadsahi thank you. I will try this. :)


Add translation: French

Add French translation to the site.
Depends on #7

I know how to add translation in the site . Can i work on it


Update msgp v1.1.9

Problem: version conflict at runtime, see this comment https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/29413#issuecomment-1987241795
Goal: use this library in a fluentforward Opentelemetry exporter and merge this exporter to the opentelemetery-collector-contrib repository.
Version used in opentelemetry-collector-contrib go.sum link.
tinylib/msgp changes: https://github.com/tinylib/msgp/releases/tag/v1.1.9

@mirko-lazarevic let me know if it makes sense for the project.

Hi @r0mdau , apologise for not responding sooner. Yes, this makes sense. I'm going to test it ASAP, if everything is working as expected, I'll merge it.

Sounds good, I ran unit tests successfully but my testing scope stopped here, I am glad you test it also.

Thanks @mirko-lazarevic


Dependency Update

Hey JIm,
Would it be difficult to upgrade the elm-geometry dependency? I'm hoping it's a dependency spec update, but maybe there have been API changes.
I'm getting this dependency conflict when trying to use the latest Stat module:
-- NO VALID PACKAGE VERSION ----------------------------------------------------

Because gampleman/elm-visualization 2.3.0 depends on ianmackenzie/elm-geometry
3.6.0 <= v < 4.0.0 and jxxcarlson/elm-stat 5.0.0 depends on ianmackenzie/elm-
geometry 1.2.1 <= v < 2.0.0, gampleman/elm-visualization 2.3.0 is incompatible with
jxxcarlson/elm-stat 5.0.0.

And because gampleman/elm-visualization 2.3.0 is incompatible with
jxxcarlson/elm-stat 5.0.0 and this project depends on gampleman/elm-
visualization 2.3.0, no valid set of package versions could be found.

Thanks!

Sorry, posted in wrong repo!


How to tell when audio is done playing?

Hi,
After a while of tinkering with your great plugin, I realized there's no built in method to tell when the actual text to speech audio has stopped playing, since "synthesis complete" seemingly refers to building the file.
Is there a way to do so? If not, one would be very handy.
Thanks!

Solved - this has to do with Urneal knowledge, not specific to this plugin, and I'm posting it here in case it helps anyone else. Just use an audio component, which gives you the "On Audio Finished" callback. SImple once you know it!


[EUWE] Create spec examples for enabled/disabled button

caused by backport of https://github.com/ManageIQ/manageiq-ui-classic/pull/649
there were missing shared examples
https://github.com/ManageIQ/manageiq-ui-classic/pull/649/commits/dc3fa4e3bf38a86b95c7b1d5d92dc01ca77ac1a6#diff-4a5795a2580c6484b3f302bbb8322226R17
from @vecerek's https://github.com/ManageIQ/manageiq-ui-classic/pull/174
I pulled-out only these shared examples
cc @martinpovolny
@miq-bot add_label test
@miq-bot assign @simaishi

@lpichler Travis is passing now, thanks!
@mzazrivec please approve if this is good to go

@simaishi wait please, I found something

there was way how to display to title which is valid for master but in euwe we have different way
fixed by this commit( https://github.com/ManageIQ/manageiq/pull/14375/commits/43da27bc57458dbd8ac6ff30af1b5370f943972b
in this commit)


cloning jcf select control

I am trying to clone div with jcf controls using jquery.
jcf.refresh or jcf.replace do not work in dynamically added controls.

Yes. If you need to clone control, you can go in two ways.

Destroy jcf on orig element, clone, init jcf on both (original and cloned)
Clone just original control and init jcf on cloned element


Group-aware CV Fold Creation for Rank Task

This was important for rank typed tasks. For rank type tasks, there is an group information to group a instances into a List. In cross validation, folds should be created such that each group was splitted either into train or test.
Currently This was not handled correctly, which means cv do not work properly for rank typed tasks.
Here are something that needs to do

[ ] add a slice interface that is related to group
[ ] in python and R, do group aware split when group information presents.

Since less user use cv for rank task so far. This is not an urgent issue, but I am opening this for now. To see if anyone want to take it over. This is likely need to have things to do with the C wrapper part as well as the language bindings.

Is the rank algorithm lambda mart? In the source code it is written lambda rank. I would be interested in reading papers about the one implemented.

yes, it is lambdaMART

But this issue have nothing to do with the actual algorithm. It is about data partitioning for rank tasks.

@tqchen  Why is it called LambdaRank and not LambdaMART ?
I was a bit confused too. (I know this is not related to issue #270 :) )

In machine learning problems, there are two things, model and objective function. Model means how you make predictions, while objective means how you measure the loss function and optimize it, See also my slides on gbtree.
LambdaMART = LambdaRank(objective) applied to MART(model). MART is also name for tree ensemble, regression tree ensemble.

@tqchen yes I have read the LambdaMART paper. Thanks for the explanation though :)
My confusion was from the implementation in R/gbm package. They just call it pairwise objective in it.
Your slides are pretty good btw!

pairwise ranking objective usually refers to the case where all postive negative pairs have equal weights. While lambda rank means the weight of pairs depends on the abs(delta metric change). If you read the paper about LambdaRank you will find the difference.

@tqchen I've got the problem of performing Cross Validation in the 'rank:pairwise' setting.
After setting up the DMatrix and using the set_group() method (I've passed to this method a numpy.array data structure), I've encountered a problem while CrossValidation.
Here is my Python source code:
xgdmat = xgb.DMatrix(X_training, y_training) # Create our DMatrix to make XGBoost more efficient
xgdmat.set_group(group=groups_query_id) # Set the query_id values to DMatrix data structure
model_parameters = {'objective': 'rank:pairwise', 'seed': 0, 'booster' : ['gbtree', 'gblinear, dart'],
'eta': [0.1, 0.2, 0.3, 0.4, 0.5], 'gamma' : [0, 1],
'subsample': [0.5, 0.75, 0.9],
'max_depth': [3, 5], 'min_child_weight': 1, 'max_delta_step' : 0,
'colsample_bytree': [0.5, 0.75, 0.9], 'colsample_bylevel' : [0.5, 0.75, 0.9],
'lambda' : 1, 'alpha' : 0, 'tree_method' : ['auto', 'exact', 'approx', 'hist']}
Grid Search CV optimized settings
cv_xgb = xgb.cv(params=model_parameters, dtrain=xgdmat, num_boost_round=1000, nfold=10,
metrics=['auc, ''ndcg', 'map'], early_stopping_rounds=100)
print cv_xgb.tail(5)
final_gb = xgb.train(model_parameters, xgdmat, num_boost_round=500)
When I launch this program, I find this kind of problem:
[15:43:58] dmlc-core/include/dmlc/logging.h:235: [15:43:58] src/c_api/c_api.cc:342: Check failed: (src.info.group_ptr.size()) == (0) slice does not support group structure
Traceback (most recent call last): File "/Users/edoardo/PycharmProjects/MasterThesisProject/extra/Prova.py", line 225, in metodo3() File "/Users/edoardo/PycharmProjects/MasterThesisProject/extra/Prova.py", line 164, in metodo3 metrics=['auc, ''ndcg', 'map'], early_stopping_rounds=100) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/xgboost/training.py", line 371, in cv cvfolds = mknfold(dtrain, nfold, params, seed, metrics, fpreproc, stratified, folds) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/xgboost/training.py", line 248, in mknfold dtrain = dall.slice(np.concatenate([idset[i] for i in range(nfold) if k != i])) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/xgboost/core.py", line 531, in slice ctypes.byref(res.handle))) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/xgboost/core.py", line 127, in _check_call raise XGBoostError(_LIB.XGBGetLastError()) xgboost.core.XGBoostError: [15:43:58] src/c_api/c_api.cc:342: Check failed: (src.info.group_ptr.size()) == (0) slice does not support group structure
How can I solve this problem?
Thanks for the attention

The same thing happened to me.
According to my error message, maybe it has something to do with xgb.cv'nfold fun.
Basically with group information,a stratified nfold should take place, but how to do a stratified nfold? with labels or group_info? which one make's more sence? Maybe it's not clear.
Try to directly use sklearn's Stratified K-Folds instead. Or just use different groups. Some group for train, Some group for test.


Change display aspect ratio

Fix #834
How it looks:

Download:
Environment: QT=5.12, ARCH=32, CONFIGURATION=release, QTIFW=C:\Qt\Tools\QtInstallerFramework\3.1

Download:
Environment: QT=5.12, ARCH=32, CONFIGURATION=release, QTIFW=C:\Qt\Tools\QtInstallerFramework\3.1

Download:
Environment: QT=5.12, ARCH=32, CONFIGURATION=release, QTIFW=C:\Qt\Tools\QtInstallerFramework\3.1


Function configuration

Some configuration in FunctionDispatcher, to set functions as disabled, or set where they return to

Disable/enable certain functions in given servers/channels

No real demand?


Docs contain predicate logic example using none? that doesn't work

Describe the bug
Here:
https://github.com/dry-rb/dry-schema/blob/f5c2dbdb1374193792272f99995e0a68f63ddaf3/docsite/source/advanced/predicate-logic.html.md?plain=1#L25
Dry::Schema.Params do
  required(:age) { none? | int? }
end

However none? doesn't seem supported just by looking through the remaining docs and by looking through the code. I am guessing the name was changed to nil? - that's what the tests seem to indicate.
Further, using none? has very weird behavior. It sort of fools you it works initially because it doesn't generate any errors or warnings, but actually using it generates weird results and errors. Very weird. See example below how to reproduce.
To Reproduce
s = Dry::Schema.Params do
  required(:age) { none? | int? }
end

s.({})                     # => #<Dry::Schema::Result{} errors={:age=>["is missing"]} path=[]>
# 🟢 OK!
s.(age: 123)               # => #<Dry::Schema::Result{:age=>123} errors={} path=[]>
# 🟢 OK!
s.(age: '123')             # => #<Dry::Schema::Result:0x113c8>
# 🚨 WEIRD...
s.(age: '123').to_h        # => {:age=>"123"}
# 🚨 SEEMS WRONG! Should only allow none or int?
s.(age: 123).to_h          # => {:age=>123}
# 🟢 OK!
s.(age: '123').errors.to_h # => Dry::Schema::MissingMessageError: Message template for :age under "" was not found. Searched in: ...
# 🚨 SEEMS WRONG! Generates error
s.(age: nil)               # => #<Dry::Schema::Result{:age=>nil} errors={} path=[]>
# 🟢 OK!
s.(age: 23.5)              # => #<Dry::Schema::Result:0x113dc>
# 🚨 WEIRD AGAIN...
s.(age: 23.5).errors       # => Dry::Schema::MissingMessageError: Message template for :age under "" was not found. Searched in: ...
# 🚨 SEEMS WRONG! Same error again

Expected behavior
I would expect two or three things:

Remove none? from docs if it's not supported
When the schema is defined, maybe raise an error if the schema tries to use unsupported or invalid predicate logic?
That the schema result would not return invalid values (like floats and strings in the example above) AND return proper error messages without throwing an error.

My environment

Affects my production application: YES (although change is not deployed, found during QA and code review)
Ruby version: ruby 2.7.4p191 (2021-07-07 revision a21a3b7d23) [aarch64-linux-musl]
OS: Alpine release 3.13.6
Dry gem versions:

They are all the latest versions:
dry-configurable (0.13.0)
dry-container (0.9.0)
dry-core (0.7.1)
dry-events (0.3.0)
dry-inflector (0.2.1)
dry-initializer (3.0.4)
dry-logic (1.2.0)
dry-matcher (0.9.0)
dry-monads (1.4.0)
dry-schema (1.8.0)
dry-struct (1.4.0)
dry-transaction (0.13.3)
dry-types (1.5.1)
dry-validation (1.7.0)

Docs should be updated, that's true. However, you seem to have wrong assumptions about how dry-schema works. Dry::Schema::Result#to_h doesn't return values only if they are valid, it returns output regardless. This means you need to check if a result value is a success? or a failure? before calling to_h.
Compare:
s = Dry::Schema.Params do
  required(:age) { nil? | int? }
end
s.(age: '123').to_h
# => {:age=>"123"}
# still invalid input even when `nil?` is used
s.(age: '123')
# => false

Ah of course! I didn't stop to consider that. I agree with you then; just the docs that need updating.

Opened a pull request to update the docs @flash-gordon


[v0.1.9] Unwanted removal of leading whitespace for concatenated class

What version of prettier-plugin-tailwindcss are you using?
v0.1.9
What version of Tailwind CSS are you using?
v3.0.24
What version of Node.js are you using?
v16.13.0
What package manager are you using?
npm
What operating system are you using?
Windows
Reproduction URL
https://github.com/bennettdams/tailwind-prettier-whitespace-bug
Describe your issue
Version v0.1.9 introduced a change for frameworks like React that will introduce "bugs".
Here is a basic example. When a class consists of multiple concatenated strings, the plugin now removes the leading whitespace:
function Test() {
-      return
;
+      return
;
}

I use this format of concatenated strings for visibility when there are a lot of classes, e.g.:
className={
  'inline-flex items-center' +
  ' rounded-md p-2 shadow-sm focus:outline-none focus:ring-2 focus:ring-purple-600 focus:ring-opacity-50' +
  ' bg-dlila text-white transition duration-75 ease-in-out hover:bg-dorange' +
  ' disabled:cursor-not-allowed disabled:bg-gray-200'
}

For me it wants to replace this
function Test() {
-      :class="['button', ...(buttonClass ? [buttonClass] : [])].join(' ')"
+      :class="['button', ...(buttonClass ? [buttonClass] : [])].join('')"
}

... which is certainly not what I want :sweat_smile:

Thanks for reporting this @bennettdams! For now we have published a new release (v0.1.10) that removes the whitespace removal feature while we consider solutions to the issues you were seeing 👍

I like the feature of eliminating repeated spaces as well as the same class names. The problem of long class names can be used clsx library. I hope the removed feature will reappear in the new version.

Any new plans for this? Maybe reintroducing the removed feature as a (default-off) option for the plugin as has been suggested by the community?
We've had a number of new duplicate whitespace commits creep into our codebase, hard to manually review these mistakes.

This vscode plugin may be useful for anyone wanting to do so: https://github.com/heybourn/headwind


How to reduce output layers for lower number of joints?

I want to train with only few joints. How do I reduce the output layers to accommodate that? Currently pred(17) and gt tensors are not matching.

Ok, found the solution in the yaml file( there are two  NUM_JOINTS, one for DATASET and another for MODEL) https://github.com/HRNet/HigherHRNet-Human-Pose-Estimation/blob/master/lib/models/pose_higher_hrnet.py#L311


messages: sig message to contain derivation index and be exchanged in a specific order

This is what i implemented in miradord to allow a finer-grained control of fee-bumping reserves. See https://github.com/revault/revault_net/pull/66 for the implementation of the added field.

God mod edited your Ack as i assumed it was for the top commit..


[Bug] GL Error leads to extreme log spam and diminished performance

Here's the Prism Log that includes the stack traces: https://gist.github.com/Erdragh/1973ed14c9d528688c15c6b1c7fbe6d0
System Information:
PrismLauncher 7.2 in the flatpak version.
OS: Arch Linux
Processor: Ryzen 7 7800x3D
GPU: Radeon RX 7900XT
Allocated Memory: min: 2G, max 8G
Kernel Version: 6.4.7-zen1-2-zen
System Mesa Version: 23.1.4-2
Mesa Version specified in Debug Screen: 23.1.1 (git-fa55e3c026)
Minecraft Version: 1.18.2
Iris Version: 1.6.5
Sodium Version: 0.4.1+build.15

I've yet to find a reliable way to reproduce the issue outside the domain of initial discovery, that being the following:
Playing on a server with a lot of bases for the Create: Astral modpack. Here's a modlist: https://gist.github.com/Erdragh/7cf62edb143daa0c29d6113aa2eeca29
The modpack includes Version 2.0.3 of the Complementary Reimagined Shaderpack by default. The issue also appears with more up-to-date versions of the shaderpack and other shaders, I've tested the following:

BSL (8.2.04)
Builder's QOL (2.10.0)
RedHat (34.1)

The lag and log spam do not appear when disabling Real Time Shadows in the Complementary Reimagined Shader settings, however, that's a major part of the shaderpack and would be a major sacrifice to have to play without.
It also doesn't happen always, only when looking in certain directions, see the following demonstration:
https://github.com/leon-o/iris-flw-compat/assets/29674493/da28265a-b6b4-4744-9bdb-4589b115510b

If you need a world file to reproduce the issue, the only thing I can provide is a download of an official server, which should not yet be shared publicly, as the same world is still active currently. If this is something that would help you debug the issue, I would be happy to facilitate a private exchange.

I'm still looking for things that could help, here's something I found:
Issues with glDrawElements on AMD:
https://community.khronos.org/t/gldrawelements-gl-invalid-operation-on-amd-gpu/105079

I've heard people in the modpack I'm playing having problems with an older version of the ImmediatelyFast mod while using an AMD GPU.
You are using 1.1.10. The latest for 1.18.2 is 1.1.12 which promises the following:

Reduced OpenGL state tracking overhead
Experimental: Added option to disable OpenGL error checking (Reduce overhead)
Might be related to your issue.

Thanks for the suggestion! Sadly, neither an update to 1.1.12 of ImmediatelyFast nor disabling the error checking resolved the issue.

I think this is #59. which I understand but don't yet have a fix PR for


Update Kotlin to 1.2.71

Updating kotlin for better performance and fixes!
See this

Codecov Report

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

@@           Coverage Diff            @@
##             master    #251   +/-   ##
========================================
  Coverage      76.5%   76.5%
  Complexity      378     378
========================================
  Files            29      29
  Lines          1656    1656
  Branches        148     148
========================================
  Hits           1267    1267
  Misses          292     292
  Partials         97      97

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 18264a8...7ae3ea2. Read the comment docs.

Thanks for contributing!


Why does a Service's Future need to implement Send in 0.12 ?

Hello and thank you for your work on this library
I was trying to upgrade my application from hyper 0.11 to 0.12 and I noticed that for a Serve<I, S> to implement Stream, it now requires <S::Service as Service>::Future to be Send + 'static
Note that you can actually create a Serve using hyper::conn:Http::serve_addr without those restrictions but since it does not implement Stream, I am pretty sure that it is not really usable ?
This restriction wasn't present in 0.11 and I'm wondering why it is now because it feels like I suddenly have to design my application around parallelism issues

The reason for the change is because those bounds are both what the futures crate and Tokio were both moving towards for the Executor trait. I realize it is a bit more inconvenient, and I don't especially love needing to require them. It didn't seem like there was a good solution otherwise, but I'm always open to hearing some.

I see, that actually make sense since executors will most likely involve a thread pool of sorts.
I won't pretend that I am competent enough to suggest an alternative, I was mainly just curious :)
Anyway, thanks a lot for taking the time to answer!
Closing.


Connect an admin room to a Rocket.Chat server

Users can now connect an admin room to a Rocket.Chat server via connect https://example.com secret_token

Coverage decreased (-0.3%) to 98.148% when pulling c310e769d06eb044841b260db5d83e3988030cca on connect-server into 9b445b06ff31b41391656bf05a4e28e7c99f5882 on master.


Sort output formats - unsorted causes churn in html and istio.io PRs

This PR should prevent the churn in the docs reference like seen here:

 --output <string>
 -o
 - Output format: one of [json yaml log]  (default `log`)
 + Output format: one of [log json yaml]  (default `log`)

[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[x] User Experience
[ ] Developer Infrastructure

@ericvn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-pilot-k8s-tests_istio
0f8a07124192a8863992e7bc64a99a19ae0c3668
link
/test integ-pilot-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

/cherry-pick release-1.6

@ericvn: new pull request created: #24607

In response to this:

/cherry-pick release-1.6

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


Hide backup contingency button entirely

Context

Changes in this pull request

Guidance to review

Link to Trello card

Things to check

[ ] Environment variables have been updated

Pulling in main onto this branch now will remove all the SAR backup contingency code as there is a revert commit on main that reverted the merge of the backup contingency pull request which I shouldn't have done. I want to revert the revert before merging this in


Clarify string value declarations

As already stated string values need to be enclosed in quotes; otherwise the value might be interpreted as variable or method name (cf. [1]). However, since single- and double-quoted values are parsed as scalars in YAML the quotes are effectively removed (cf. examples in [2]). This leads to the following error:
Vagrant failed to initialize at a very early stage:

There was an error loading a Vagrantfile. The file being loaded
and the error message are shown below. This is usually caused by
an invalid or undefined variable.

Path: (eval)
Line number: 1
Message: undefined local variable or method `vagrant'

By enclosing the value with a second pair of quotes the innermost quotes are passed to Vagrant as required.

Which molecule-vagrant version did you get the issue ?
Do you have a test case ?
In latest version, the jinja template is supposed to add missing quotes around strings and more importantly the vagrant.yml is gone. Maybe something missing in the template ?

Which molecule-vagrant version did you get the issue ?

I use(d) version 0.6.1.

Do you have a test case ?

I tried to set the SSH password explicitly:
platforms:
  - name: instance
    box: generic/debian10
    config_options:
      ssh.password: 'vagrant'

In latest version, the jinja template is supposed to add missing quotes around strings and more importantly the vagrant.yml is gone. Maybe something missing in the template ?

After upgrading to version 0.6.3 the error is gone. Thanks a lot.
However, with Jinja ensuring quoted string values the README should be updated as well, shouldn't it?


Node cli command not found

Having trouble running node cli's on pop os 19, nodenv global  14.0.0
For instance in a create-react-app, npm start isn't working. I also tried building a simple helloworld-cli.
Steps to reproduce: (1) run npm init -y , (2) create index.js below, (3) added to package.json: "bin": { "helloworld": "./index.js" }, (4) run npm link
// index.js
#!/usr/bin/env node
console.log("Hello world!");

Running ~/.nodenv/versions/14.0.0/bin/helloworld works fine. But helloworld command is not found.
Is this a nodenv issue or something else? Any help understanding this issue would be much appreciated!

Just did a comparison to nvm and looks like nvm adds
~/.nvm/versions/node/v14.0.0/bin to PATH, but nodenv does not(?) put any version specific paths in PATH?

@ben-dyer https://github.com/nodenv/nodenv#how-it-works

Unsure if related, but something that seems odd to me: why is your helloworld bin being placed directly in node's bin/ directory? (ie, ~/.nodenv/versions/14.0.0/bin/helloworld) For comparison, here's (one of) my node bin directory:
$ ls $(nodenv prefix)/bin
node* npm@  npx@

Ah, sorry, I didn't catch that you were npm-linking it into your global setup.
TL;DR It looks like your npm-linked global package isn't getting a shim created. run nodenv rehash once after the npm-link step.
So brief overview from the how-it-works docs is that nodenv inserts shims into your PATH. This is done once so that PATH munging and manipulation does not need to be done as you change-directories around on your system. Thus the "resolution" step of determining the active node version is delayed until a node executable (shim) is actually invoked. This is a safety and performance improvement over "real-time PATH munging"
The tradeoff is that shims need to be created for every node executable. Out of the box, these are node, npm, and npx. Additionally, a shim would need created for each bin provided by globally-installed npm packages. If you have nodenv configured to run/eval nodenv-init, then nodenv-rehash is run once per shell startup.
So: run nodenv rehash once after installing (or linking) global packages; or alternatively, spawning a new shell would have done that for you automatically
There is also a nodenv plugin that runs nodenv-rehash after an npm package is installed globally:
https://github.com/nodenv/nodenv-package-rehash (on modern nodes, this plugin is too noisy to ship with nodenv out of the box)


Issue #717 - Fixing auth functional test

Updated Files

test/functional/auth/test_user.py

Updates include:

Changed the assertions to be acceptable to all existing versions for the partitionAccess attribute
Converted the tests from the bigip fixture to the mgmt_root fixture

@caphrim007 this one is ready for review. Passes on all my local versions, particularly on 12.1 where the original version did not.

@jasonrahm erm, lemme re-enable 12.1 tests so you can check that the error isnt in the output. i disabled in for pjbreaux's other one. i'll bounce this pr.

@jasonrahm we know this is going to fail because 12.1.0 will fail for other tests. just verify that the test you fixed no longer shows up.

sounds good.

one less failure occurring and this test no longer matches, so appears to have solved the issue.

lgtm. merging


nanoDFT fails with OOM with IPU backend

The default choice of 6-31G for the basis set results in nanoDFT failing with OOM when targeting the IPU backend.
repro:
python nanoDFT.py --backend ipu --float32 True

possible workaround:
python nanoDFT.py --backend ipu --float32 True --basis sto-3g

but it would be a better overall experience if the defaults worked out of the box for the IPU.
cc: @ajwilkinson

@AlexanderMath is there any reason to prefer using the 6-31G basis by default?  I'd like to make sto-3g the default.

The nanoDFT notebook already implements the suggested workaround
opts, _ = nanoDFT_options(backend="ipu", float32=True, basis="sto-3g")

No preference. We probably removed a few memory optimizations from nanoDFT in favor of simplicity, hence the OOM.

Fixed the default in nanoDFT in 90dc61c

Did anyone reproduce bug for density_functional_theory.py ?

Haven't tried this yet.

Ok so it now does work on a classic with sto-3g... one observation though is that it compiles every time - is that me being some sort of noob and not configuring something in the poplar environment to cache a previous compilation?

Added
os.environ['TF_POPLAR_FLAGS'] = """--executable_cache_path=/tmp/ipu-pyscf-cache/"""

To both density_functional_theory and nanodft so it caches by default.
Note: The computational graph shouldn't change between molecules with the same number of atomic orbitals, so changing from [C, O] to [N, F] should not cause a recompilation.


Allow multisession

We actually have just one session per cast-sh instance. The implementation must allow multisession and tabs (each with a child process).

I would like to work on this.
I am going to store sessions in app.config["session_fd"] = {} and app.config["session"] = {}
To open a new session, I propose that generating a random hash as the ID of the session.
New session is in form of new browser tab with different url (with the value of hash).
And then frontend socket.io would select those relevant output messages to display. But it could be problem that every session could get the others messages though they are not displayed in the terminal. Because all the sessions are subscribing to a single socket.io stream.

@oktak thanks mate. There's a branch called feature/multi-session, I think it could be helpful for you, I suggest you take a look. ;)

Oh! I overlooked a bit. Okay. Actually I wrote some code based on master branch.
I just tried the feature/mult-session branch. It looks like you has been worked on the tabs with unique ID. I think it is not hard for me to apply what I've worked to that. :)

Closed by #7


Feat/eslint flat

Closes #87

Thanks @schreibse

wow, that is amazing to see. Unfortunately there was still so much work required, I just skimmed through the changes and I realized pretty quickly why I was unable those tests / error messages

@schreibse The rest of the work revolved around the flat configuration. Mostly tests and moving to native ESLint


VPN x LFG

Hello, i noticed that i can't use lfg only when o use vpn (nptunel). This issue can be fixed?

If you are using tera-proxy - remove tera.exe from games list of your vpn, leave only node.exe there.


Allow multiple version of a package in the same dependency tree

We need to support buildTimeDependencies for that but there's a workaround suggested by @jordwalke:

So let's say I have two versions of Reason. And you're building  the two separate packages that depend on those two separate versions. I think that in their build environment they should see their own respective versions of Reason. But then if they go and try to combine two link time artifacts into an executable it could fail.
So this "punting the error until link time failure" should be a hack way to support "buildTimeDependencies"

^ That was just a suggestion. I'm sure there's more elegant solutions like actually tracking buildTimeOnlyDependencies. Alternatively - perform a detection that there are multiple versions of the same package, and then only if the final executable fails to link then provide possible explanation of why. That is not a totally perfect solution either because some libraries provide dynamically linked libraries, and the errors are deferred to link time! So really proper support of relaxing the error message for multiple versions based on buildTimeOnly dependencies is the best solution and I merely suggested a quick hack.


Cannot get categories from entry

Hi, I'm trying to loop through an Entry (post) 's Taxonomy (categories), but  {{ category }} is a Statamic\Query\OrderedQueryBuilder
my antlers
{{ eloquenty from="post" limit="1" taxonomy:tags="" sort="date:desc" slug:is="{slug}" }}
{{ title }}
{{ categories | dump }}
{{ categories }}
Category is {{ title }}
{{ /categories }}
{{ partial:post/details }}
{{ /eloquenty }}
result
Partial dump of {{ categories | dump }}
Statamic\Query\OrderedQueryBuilder {#2801 ▼
#builder: Statamic\Stache\Query\TermQueryBuilder {#2671 ▶
#columns: null
#limit: null
#offset: 0
#wheres: array:2 [▶
0 => array:4 [▶
"type" => "In"
"column" => "id"
"values" => array:3 [▶
0 => "categories::grand-maman-anne"
1 => "categories::la-femme-derriere-la-mere"
2 => "categories::mamans-blogueuses"
]
"boolean" => "and"
]
.........

Hi, I'm aware of this issue but I haven't found a proper fix yet. This happens because file entries do not exist and Statamic considers them unused and as a result they are not getting augmented.
You can use the Taxonomy Tag as a workaround.

Hi this is fixed on v2.0.0-beta.3


[AIRFLOW-782] Add DataFlowPythonOperator implementation

Dear Airflow Maintainers,
Please accept this PR that addresses the following issues:

https://issues.apache.org/jira/browse/AIRFLOW-782

Introducing a new operator DataFlowPythonOperator which allows users
to define Google Cloud Platform (GCP) dataflow task where the pipeline
job is written in Python with dataflow Python SDK.
Testing Done:
nosetests tests.contrib.hooks.gcp_dataflow_hook:DataFlowHookTest:
Ran 1 test in 0.013s
OK
nosetests
tests.contrib.operators.dataflow_operator:DataFlowPythonOperatorTest:
Ran 2 tests in 0.004s
OK

Current coverage is 66.81% (diff: 100%)

Merging #2025 into master will decrease coverage by 0.09%

@@             master      #2025   diff @@
==========================================
  Files           138        138
  Lines         10526      10526
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           7043       7033    -10
- Misses         3483       3493    +10
  Partials          0          0

Powered by Codecov. Last update 15f1abe...720d0ba

@alexvanboxel want to have a look at this?

LGTM but want @alexvanboxel to approve first, since it's messing with his code

Looks good,it's isolated enough. And if I have problems with the Java operator I'll fix it, as well as adding support for the new 2.0 SDK. Templated dataflows for sure need to come after the 1.8.

@alexvanboxel do you want this to go into 1.8.0? I'm not too happy with that (feature change at end of beta releases), but if you say it is isolated we could (and it avoids cherry picking for 1.8.0)
Please also be a bit more strict in the commit message - what and why not how.

@criccomini @alexvanboxel Thanks for the quick response, I've locally verified the JavaOperator (see attached)

but happy to make fixes if others see issues due to this change.
@bolkedebruin will be more description.

@bolkedebruin it's all up to you. You're the release master.

@alexvanboxel what is your advice?

my advice is leave this out of 1.8.0

We'll leave it for a 1.8 patch then.

@bolkedebruin why was this reverted? Are we not allowed to commit to master while 1.8.0 release is in flight?

NM, I see--you've reverted from 1.8.0 test branch.


Analytics page reporting is broken since 1.8.3

Probably linked to upgrading to the new analytics library.  Even reporting seems OK.

Might actually be an analytics UI issue...adding an App view to the analytics project seems to show the data.


Snapshot not working - V.0.1.1

Somehow I only get a green picture.
But I have not yet done any further investigation.

RTSP Stream is working just fine.

Same here. But I am happy to get that far to have a partly working hack for the new version of the cam. OTA-Update did not work. It shows an older version than the one that is installed.

Which version of the hack are you referring (r30gb or y21ga) ?

y21ga @mcanteri

@mcanteri I'm also using y21ga

https://github.com/roleoroleo/yi-hack-Allwinner-v2/commit/ae8d3932c96e9fbe5c72372d8c5f237b7461a1d1
Repository says it is still 0.1.0 , where did you get it ? :)

a zipped package with version 0.1.1 was linked somewhere in the issue comments

https://github.com/roleoroleo/yi-hack-Allwinner-v2/issues/5#issuecomment-716736627

Ok, thank you, it's still in test for that issue.

Where to get this version? @mcanteri

@LukasVFL99 it was available in the other thread but seems now is no more, so my comment was for those that is following this hack from early days.
Probably in that 0.1.1 Roleo fixed the problem with boot loop if you haven't experienced, so it's good to stay with it too 👍

Is low res snapshot working?

Is low res snapshot working?

no. but not like shown above.
For me its not even loading. showing an error message something like this:
"the picture  can not be loaded, because it contains errors."

I have somewhat similar picture with high-res snapshot on r30gb.

Please try this binary:
framefinder.gz

Please try this binary:
framefinder.gz

All snapshots are working now on y21ga.

Please try this binary:
framefinder.gz

All snapshots are working now on y21ga.

Yes I also can confirm this! 👍🏼

Ok, I will try to release a new official release.
I hope it turns out better than 0.1.0 :)

For sure it'll be better :-) 👍

Done!

Where to find @roleoroleo ?

Where to find @roleoroleo ?

In the Release-Section ;-)


Add metrics for s3 filters

It adds the prometheus metrics for the middleware, counting how many reqs hit s3 directly
Signed-off-by: tifayuki<EMAIL_ADDRESS>

Can we see the output of the prometheus endpoint?
Thanks @tifayuki

closing this PR at the moment


ci: update error reference docs

This PR is auto-generated by a nightly GitHub action to update the error reference docs from source code in withastro/astro.

Still not the right one!  :sweat_smile:


Update README.md - info about using dev-develop version

See more in https://github.com/chilloutdevelopment/ChillDevFileManagerBundle/pull/32#issuecomment-102820082

don't -> isn't fixed


Microsoft.RecoveryServices/vaults@2024-04-01: "monitoringSettings parameter is invalid" error

Bicep version
Bicep CLI version 0.28.1 (ba1e9f8c1e)
Describe the bug
When trying to deploy a Recovery Services Vault using Bicep and Microsoft.RecoveryServices/vaults@2024-04-01, the following error occurs:

monitoringSettings parameter is invalid. Please provide a valid monitoringSettings (Code: InvalidRestApiParameter)

Raw error:
{
  "code": "DeploymentFailed",
  "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.",
  "details": [
    {
      "code": "InvalidRestApiParameter",
      "message": "monitoringSettings parameter is invalid. Please provide a valid monitoringSettings"
    }
  ]

When using 'Microsoft.RecoveryServices/vaults@2024-01-01', it deploys without error. However, even if specifying monitoringSettings, the deployment still fails.
Using the following API versions all give the same error:

2024-04-30-preview
2024-04-01
2024-02-01

Versions from 2024-01-01 work fine.
To Reproduce
Steps to reproduce the behavior:
Without monitoring settings
Use the following Bicep template to deploy a Recovery Services Vault without monitoring settings specified:
param location string = resourceGroup().location

param tags object = {
  Environment: 'Test'
}

resource RecoveryServicesVault  'Microsoft.RecoveryServices/vaults@2024-04-01' = {
  name: 'rsv-bicep-tst-001'
  location: location
  tags: tags
  sku: {
    name: 'RS0'
    tier: 'standard'
  }
  properties: {
    securitySettings: {
      softDeleteSettings: {
        softDeleteRetentionPeriodInDays: 14
        softDeleteState: 'Enabled'
        enhancedSecurityState: 'Enabled'
      }
    }
    redundancySettings: {
      standardTierStorageRedundancy: 'LocallyRedundant'
      crossRegionRestore: 'Disabled'
    }
    publicNetworkAccess: 'Enabled'
    restoreSettings: {
      crossSubscriptionRestoreSettings: {
        crossSubscriptionRestoreState: 'Disabled'
      }
    }
  }
}

With monitoring settings
Use the following Bicep template to deploy a Recovery Services Vault with monitoring settings:
param location string = resourceGroup().location

param tags object = {
  Environment: 'Test'
}

resource RecoveryServicesVault  'Microsoft.RecoveryServices/vaults@2024-04-01' = {
  name: 'rsv-bicep-tst-002'
  location: location
  tags: tags
  sku: {
    name: 'RS0'
    tier: 'standard'
  }
  properties: {
    securitySettings: {
      softDeleteSettings: {
        softDeleteRetentionPeriodInDays: 14
        softDeleteState: 'Enabled'
        enhancedSecurityState: 'Enabled'
      }
    }
    monitoringSettings: {
      azureMonitorAlertSettings: {
        alertsForAllJobFailures: 'Enabled'
      }
      classicAlertSettings: {
        alertsForCriticalOperations: 'Enabled'
      }
    }
    redundancySettings: {
      standardTierStorageRedundancy: 'LocallyRedundant'
      crossRegionRestore: 'Disabled'
    }
    publicNetworkAccess: 'Enabled'
    restoreSettings: {
      crossSubscriptionRestoreSettings: {
        crossSubscriptionRestoreState: 'Disabled'
      }
    }
  }
}

The documentation Microsoft.RecoveryServices vaults | Microsoft Learn does not have the latest API versions. The latest version in de documentation is 2023-01-01.  So it's hard to see if I'm doing anything wrong, as the documentation is outdated.

Hi @MarcoJanse,
I've just been working on this exact same issue and have found a way to get my deployment to work.
When specifying the monitoringSettings section, you must specify values for all 5 of the possible settings. As long as all 5 are present, the deployment succeeds.
This was my working deployment, using your template:
`param location string = resourceGroup().location
param tags object = {
Environment: 'Test'
}
resource RecoveryServicesVault  'Microsoft.RecoveryServices/vaults@2024-04-01' = {
name: 'rsv-bicep-tst-002'
location: location
tags: tags
sku: {
name: 'RS0'
tier: 'standard'
}
properties: {
securitySettings: {
softDeleteSettings: {
softDeleteRetentionPeriodInDays: 14
softDeleteState: 'Enabled'
enhancedSecurityState: 'Enabled'
}
}
monitoringSettings: {
azureMonitorAlertSettings: {
alertsForAllReplicationIssues: 'Enabled'
alertsForAllFailoverIssues: 'Enabled'
alertsForAllJobFailures: 'Enabled'
}
classicAlertSettings: {
alertsForCriticalOperations: 'Disabled'
emailNotificationsForSiteRecovery: 'Disabled'
}
redundancySettings: {
standardTierStorageRedundancy: 'LocallyRedundant'
crossRegionRestore: 'Disabled'
}
publicNetworkAccess: 'Enabled'
restoreSettings: {
crossSubscriptionRestoreSettings: {
crossSubscriptionRestoreState: 'Disabled'
}
}
}
}`
Hope that helps, and hopefully this information can make its way into the documentation at some point, or preferably make it so that we can specify individual settings as required.

Thank you for your providing this solution. Let's hope the documentation will soon be updated to reflect these properties are mandatory in order to successfully deploy.


Networking QUESTION

Why do we need both MAC addresses and IP addresses to deliver a message from source to
destination?  It may be useful to detail the passage of a message across a simple inter network to explain your answer.

Hi @ilbeback thanks for your interest in our repo. But I don't think it's the right place to ask this question. Our repo contains Bazel targets for Google-maintained common container definitions and their dependencies, which is not related to your question and the topic.


Setup Project First milestone

I have configured linters
I have configured webpacks
I have written the HTML markup for this project with minimum styling

Hi Reviewer,
The Webhint does not have any errore locally. It is not working at all and everyone have the same problem with Webhint linters.


Skip pulling inputs if they already exist

If input files already exist in the working directory, don't re-download them (support partial downloads too).

Resolved by  81008e6


DOMException: The play() request was interrupted by a call to pause()

Problem on intro video:

Nevermind, this is LFS related after all...

Reopening as Marek stumbled on this again:

Updating electron to latest gives a more helpful error message, have implemented the fix from the url it mentions:

DOMException: The play() request was interrupted because video-only background media was paused to save power. https://goo.gl/LdLk22