Retrieving hero selection on tick returning -1 for whole match on new replays

I've been running into an issue with several new matches I've downloaded off of the Dota 2 client. My program analyzes the replay by tick, and for one or more players, their "m_nPossibleHeroSelection" is returning "-1" for the entire match. Older replays run just fine and hero selections are correct, but the new ones I've tried have had this problem. The match IDs that I've tried so far are:<PHONE_NUMBER>,<PHONE_NUMBER>, and<PHONE_NUMBER>. I also checked using the visual analyzer and the problem is consistent there too. Any ideas why this is happening?

No idea, unfortunately.
But if it's named "possible hero selection", this sounds like the server also does not know for sure?
What do you want to know? How long the players hero has been selected?

I'm looking to find out each player's final hero selection (so even if a switch happens in-game). But I just figured out that I'm able to do that using the CDOTA_Unit_Hero_X classes' m_iPlayerID instead. The problem with that is if I pick a random tick just to grab that info, I sometimes get duplicates for something like CDOTA_Unit_Hero_PhantomLancer, which are all of it's illusions. I couldn't find any property that can tell me if one is an illusion or not though. And thanks a lot for the great support on your library!

There are CDOTAPLAYER entities for each player. They have m_iPlayerID
(0..9) to assign them to a slot.
Each of them has m_hAssignedHero which should have what you want.

Any way to tell if it's an illusion or not? I'm seeing duplicates of the heroes if they have illusions spawned. Thanks!

m_hAssignedHero should not change and always point to the non illusion hero.
That said, you can find if a hero entity is an illusion by looking at m_hReplicatingOtherHeroModel. If it is 16777215 it means it's the real one, else it's the handle of the entity it's an illusion of.

Perfect, thank you so much!


Move the save code in it's own method

Hi
I moved the code related to the saving of the search in its own method, so we can easily override it if we need it (for my need i want to NOT save searches if i change the sort order, of apply a specific filter)
I hope you'll find it usefull (it's a really simple patch)
S. Angel / Twidi

Thanks. Fixed in SHA: c6a48abeb8a2f54548c6c4782d09348aa940e661


Found memory leak in InfluxDbClientBase

This change fixed it. (HttpClient was never disposed)
private async Task RequestAsync(
IEnumerable errorHandlers,
HttpMethod method,
string path,
HttpContent content = null,
Dictionary<string, string> extraParams = null,
bool includeAuthToQuery = true,
bool headerIsBody = false,
TimeSpan? requestTimeout = null)
{
using (HttpClient client = GetHttpClient())
{
var response = await RequestInnerAsync(client, requestTimeout,
HttpCompletionOption.ResponseHeadersRead,
CancellationToken.None,
method,
path,
content,
extraParams,
includeAuthToQuery);
            string responseContent = String.Empty;

            if (!headerIsBody)
            {
                responseContent = await response.Content.ReadAsStringAsync();
            }
            else
            {
                IEnumerable<string> values;

                if (response.Headers.TryGetValues("X-Influxdb-Version", out values))
                {
                    responseContent = values.First();
                }
            }

            HandleIfErrorResponse(response.StatusCode, responseContent, errorHandlers);

            Debug.WriteLine("[Response] {0}", response.ToJson());
            Debug.WriteLine("[ResponseData] {0}", responseContent);

            return new InfluxDbApiResponse(response.StatusCode, responseContent);
        }
    }

    private async Task<HttpResponseMessage> RequestInnerAsync(
        HttpClient client,
        TimeSpan? requestTimeout,
        HttpCompletionOption completionOption,
        CancellationToken cancellationToken,
        HttpMethod method,
        string path,
        HttpContent content = null,
        Dictionary<string, string> extraParams = null,
        bool includeAuthToQuery = true)
    {
        if (requestTimeout.HasValue)
        {
            client.Timeout = requestTimeout.Value;
        }

        StringBuilder uri = BuildUri(path, extraParams, includeAuthToQuery);
        HttpRequestMessage request = PrepareRequest(method, content, uri);

        Debug.WriteLine("[Request] {0}", request.ToJson());
        if (content != null)
        {
            Debug.WriteLine("[RequestData] {0}", content.ReadAsStringAsync().Result);
        }

        return await client.SendAsync(request, completionOption, cancellationToken);
    }

The usage of HttpClient is not correct.  A new instance is created every time, and that is not the intended usage of HttpClient.  HttpClient should be initialized only one time.  Ideally it is disposed at the end too.  Creating multiple HttpClients causes the SSL handshake to occur for every request and will lead to port exhaustion with high throughput.  I'll be submitting a PR soon.


export gpx with map creation

From Erin:

In the past at sea I've adjusted the tracks following manual input of the days effort into Coastal Explorer.  It works ok using the WinCruz start and end point for the day, but is a bit more of a data entry step than maybe necessary.  I wonder if since you already have code to read the das file and map it for the website if you could add one step to write that file to GPX format. GPX can be read by Coastal so could then be imported and easily viewed relative to the other plans. Perhaps the outputs could just go into a different folder following the automated process and the CL can grab them from there?

Use:

dasbr_utils

First trial file uploaded to google drive https://drive.google.com/drive/u/0/folders/1yscmHW2cZ_uP5V79MlpWnP2-1ziLWusp and sent to Erin for testing.

Trial file worked except cruise number was incorrect (203 should be 2303).
Added to run.r to force correct this. Looking at the raw .das text files it looks like that is what is in the output but probably not worth digging too much into that or into swfscDAS since we can put an easy band-aid.  But, noting here in case we do want to revisit.
Did full run with daily and compiled .gpx outputs, so going to merge now.


Additions for 2D LDOs

@keflavich -- I tried pushing right to your branch, but must be doing something wrong.
I still need to add tests.
What's your opinion on setting the masks in Projection to BooleanArrayMask(np.isfinite(out), wcs=new_wcs)?

If we're putting these functions in Slice and Projection, why not just put them in LowerDimensionalObject?

Regarding pushing to my PR: It should just work.  You should be able to git push (local branch name) keflavich:issue392_revisited.  Does that deny you permission?

Got it! I had the URL set incorrectly for your fork.


Update the documentation for the structure generator

Since each structure can define its own arguments, the argument names have changed slightly.
Update the documents to reflect this.

Updated the documentation.


New version: Nextcloud.NextcloudDesktop version 3.6.5

Result: Installation Successful

Manifest
Add/Remove Programs

Name
Nextcloud
Nextcloud

Version
3.6.5
<IP_ADDRESS>30118

Publisher
Nextcloud GmbH
Nextcloud GmbH

ProductCode

{54557938-76E8-458E-9DC2-3A6D7FEA1679}

Auto-updated by vedantmgoyal2009/winget-pkgs-automation in workflow run 5393
Microsoft Reviewers: Open in CodeFlow

@wingetbot run

Package is missing from host.


FileNotFoundError when dwx_client_example runs

Hello when I run the dwx_client_example file I have the following error, How can I solve it?  (I made all the installation steps)
Ty !!

I already solved it, the problem was that I only compile DWX_Server_MT4 file, but  was necessary run it.


Exam mode: Enable students to participate in the test exam multiple times

Checklist
General

[ ] I tested all changes and their related features with all corresponding user types on a test server.
[ ] This is a small issue that I tested locally and was confirmed by another developer on a test server.
[ ] Language: I followed the guidelines for inclusive, diversity-sensitive, and appreciative language.
[ ] I chose a title conforming to the naming conventions for pull requests.

Server

[x] Important: I implemented the changes with a very good performance and prevented too many (unnecessary) database calls.
[x] I strictly followed the server coding and design guidelines.
[ ] I added multiple integration tests (Spring) related to the features (with a high test coverage).
[x] I added pre-authorization annotations according to the guidelines and checked the course groups for all new REST Calls (security).
[x] I documented the Java code using JavaDoc style.

Client

[x] Important: I implemented the changes with a very good performance, prevented too many (unnecessary) REST calls and made sure the UI is responsive, even with large data.
[x] I strictly followed the client coding and design guidelines.
[x] Following the theming guidelines, I specified colors only in the theming variable files and checked that the changes look consistent in both the light and the dark theme.
[ ] I added multiple integration tests (Jest) related to the features (with a high test coverage), while following the test guidelines.
[x] I added authorities to all new routes and checked the course groups for displaying navigation elements (links, buttons).
[x] I documented the TypeScript code using JSDoc style.

Changes affecting Programming Exercises

[ ] High priority: I tested all changes and their related features with all corresponding user types on a test server configured with the integrated lifecycle setup (LocalVC and LocalCI).
[ ] I tested all changes and their related features with all corresponding user types on a test server configured with Gitlab and Jenkins.

Motivation and Context

Currently, students are limited to a single attempt per test exam. This pull request introduces a feature that allows students to take the test exam multiple times.
Description

StudentExam now maintains a list of participations for exercises linked to a particular student exam, enabling students to attempt the test exam multiple times. A student can start a new test exam only if the previous one has been submitted or if its working time has expired. The database index in the participation table has been updated to account for the number of attempts. Normal and practice mode exercises have one participation each, while test exam exercises can have up to 256 participations.
Steps for Testing

Prerequisites:

1 Instructor
1 Student
1 Test Exam

Log in to Artemis
Navigate to Course Administration and create a test exam
Go to the course -> exams and try to participate in the test exam multiple times
Verify that each test exam attempt has it's own participations and results.
Important! Please make sure that it's possible to participate in a normal exercise, in a practice mode exercise, in a normal exam and in a test run.

Testserver States

[!NOTE]
These badges show the state of the test servers.
Green = Currently available, Red = Currently locked

Review Progress

Performance Review

[ ] I (as a reviewer) confirm that the client changes (in particular related to REST calls and UI responsiveness) are implemented with a very good performance
[ ] I (as a reviewer) confirm that the server changes (in particular related to database calls) are implemented with a very good performance

Code Review

[ ] Code Review 1
[ ] Code Review 2

Manual Tests

[ ] Test 1
[ ] Test 2

Exam Mode Test

[ ] Test 1
[ ] Test 2

Summary by CodeRabbit

New Features

Implemented tracking of the number of exercise attempts for students.
Enhanced methods to retrieve student exam data, including exercises, sessions, and participations.
Added a method to determine if an exam has ended based on the current date and time.

Bug Fixes

Improved error management and data retrieval for student exams.

Refactor

Replaced startExercise method with startExerciseWithInitializationDate for better handling of test exams and diverse exercise types.
Updated participation creation and initialization to accommodate new constraints and scenarios.

Performance Improvements

Optimized queries for retrieving student participation data, ensuring efficient access and management.

Tested in todays testing session on ts4, for me no issues occurred
The actual UI representation wont work for the new design of exams Exam mode: Redesign the user interface of the exam mode for students #8860 - could you double check if a solution was already implemented in that PR or otherwise make sure to discuss your new solution with @edkaya @rabeatwork ?
The formatting of the attempts could also be more consistent, but as mentioned above this needs to be touched anyways.

No, attempts are not implemented in that PR and we will have a discussion about this after the new exam UI is merged (probably today). I will let you know when we come up with a solution and I can help you integrate your new feature into the new exam UI.


Steel Diver: Sub Wars

Game Name (and version if necessary)
Steel Diver: Sub Wars
Hardware Specs (If necessary)
No response
Operating System
Windows 11 22H2
Game State
Water textures flicker a lot and the screen goes pink under water. Sound seems to not work
Screenshots

Additional information
No response

Can you try a nightly build? Mii Selector should work there.

Yep it works now. Do you know if there is a way to show the bottom screen without part of it being unseeable?

This might be a fuckup in the GUI code in the Qt frontend, I'll need to check. The messed up textures issue should be a shader bug, it sounds vaguely familiar.
The missing sound is cause sound is not implemented yet in general.


Create main react outer component

🍡
💯
:1st_place_medal:

Well done Nowreen
Thanks Nowreen
You're welcome
Nowreen


Create dataset libretexts

uid: libretexts
type: organization
description:

name: LibreTexts
description: LibreTexts is a 501(c)(3) non-profit organization committed to freeing the textbook from the limitations and costs of traditional textbooks. Our open and freely accessible LibreTexts provide a more engaging learning experience for students without the financial burden.
homepage: https://libretexts.org/
validated: True

languages:

language_names:

English
Spanish

language_comments:
language_locations:

Northern America
United States of America

validated: False

custodian:

name: LibreTexts
in_catalogue:
type: A nonprofit/NGO (other)
location: United States of America
contact_name: Delmar Larsen
contact_email<EMAIL_ADDRESS>contact_submitter: False
additional: https://en.wikipedia.org/wiki/LibreTexts
validated: False

fname: libretexts.json

Hello @albertvillanova, thank you for your help!
Is it possible to create a directory with a txt file for every issue that you posted (and that you potentially update)? Or find another solution, because it really becomes unmanageable if you open hundreds of issues

@HugoLaurencon I've moved your comment to the epic issue, as it is not related to this specific dataset issue.


Planning to support MKS_SERVOXXD ? - CAN and RS485

Hi, thank you for this nice lib.
Any plans to support the D series with CAN and RS485 communication ports?
Thanks

Hi,
Yes, sure, supporting CAN and RS485 communication ports is something I can look into.


feat(SLSA/provenance): publish provenance to central notary repository

Description

PR aims to publish provenance signatures into a single central kong/notary repository instead of image repository.
This will require users performing an additional step starting GW 3.7.x for verifying provenance
Aims to provide a similar ux flow for provenance verification similar to verifying image signatures
This change is added in a  to avoid breaking any previous UX prior to 3.7.x for provenance verification

Dependency
This PR features a change starting from GW release for 3.7.x that should include the GW PR: https://github.com/Kong/kong-ee/pull/8814

Testing instructions
Preview link:
Checklist

[ ] Review label added
[ ] Conditional version tags added, if applicable.

For example, if this change is for an upcoming 3.6 release, enclose your content in {% if_version gte:3.6.x %} <content> {% endif_version %} tags (or if_plugin_version tags for plugins).
Use any of the following keys:

gte:<version> - greater than or equal to a specific version
lte:<version> - less than or equal to a specific version
eq:<version> - exactly equal to a specific version

You can do the same for older versions.

This is an SME stamp of approval.

https://deploy-preview-7223--kongdocs.netlify.app/gateway/unreleased/kong-enterprise/provenance-verification/
https://deploy-preview-7223--kongdocs.netlify.app/gateway/latest/kong-enterprise/provenance-verification/


Ncmesh works for hooke, doesnt work for general elasticity with matrix free

When looking at the hooke app, ncmeshes solve just fine with constrained dof on the hanging nodes.  When generalizing to linear elasticity by removing newton and adding form linear system, mfem blows up in debug mode when setting up the constrained operator. Stating that vectors arent the same size during a subtraction. This is basically a matrix free blend of example2 and hooke.
Interestingly, when the code is compiled in release mfem allows the solution to continue but the displacements are erroneous.
When walking through the debugger in hooke, the constrained operator is never used.  How are the constraints of the hanging nodes set if the operator is never called?
Thanks in advance
Joe

It is on the last line where the size of b and z are not equal for the NCMesh case after calling FormLinearSystem.   From the docs, I had assumed that FormLinearSystem will handle the constraints from the NCMesh
void ConstrainedOperator::EliminateRHS(const Vector &x, Vector &b) const
{
   w = 0.0;
   const int csz = constraint_list.Size();
   auto idx = constraint_list.Read();
   auto d_x = x.Read();
   // Use read+write access - we are modifying sub-vector of w
   auto d_w = w.ReadWrite();
   MFEM_FORALL(i, csz,
   {
      const int id = idx[i];
      d_w[id] = d_x[id];
   });
   // A.AddMult(w, b, -1.0); // if available to all Operators
   A->Mult(w, z);
   b -= z;

Hi @jtristano, can you provide some short code that does the setup and reproduces the issue?

If Hooke works with NCMesh this is a happy accident. I never ran non-conforming meshes during development.

@jandrej  What is necessary to allow ncmesh with matrix free on hexes?  We see other examples where ncmesh , AMR, and matrix free are working together.   Do the elasticity operators need to be extended somehow?

@jtristano

I'd like to run the reproducer, but the much of the code is missing. Try to provide a minimal reproducer.
You said hooke+NC+PA works, does it work in debug?
Does you ex2+hooke+NA+PA combo work with full assembly?

Howdy!
I have a slightly modified hooke.cpp here that will work if you replace the original miniapp hooke.cpp with it:
hooke.zip
It lets us change between

Conformal/Nonconformal meshes
Having a force/no force
Prescribed displacement/no prescribed displacement
Newton vs CG solve
Using the meshes here:
meshes_for_hooke.zip

Using these 16 options, here are the results we get:
Hooke_Results.zip
In short, it looks we are not applying forces correctly for the nc meshes. Prescribed displacements look fine.
I couldn't figure out an easy way to have this do full assembly. To my knowledge, the hooke miniapp is matrix-free.
We'd love any advice you can give on getting the forces to work using a nonconformal mesh.
Thank you,
Justin

@tzanio , @jandrej  checking to see if the inputs we provided were sufficient?
Thanks in advance!
Joe

Hi,
I'm also trying to solve a simple elastic linear problem using the parallel hooke mini-app. I'm actually using a conforming mesh but encountering issues with applying traction (force) boundary conditions (instead of the prescribed displacement). when forming the parallel linear system I get issues with the size of B ( true DOF vector). it seems that B also includes the overlapping DOFs due to parallelism.
I would appreciate any help on how to solve this issue. what am I missing?!
Thanks,
Shani
Main modification:
VectorArrayCoefficient f(dimension);
for (int i = 0; i < dimension-1; i++)
{
f.Set(i, new ConstantCoefficient(0.0));
}
{
Vector pull_force(pmesh.bdr_attributes.Max());
pull_force = 0.0;
pull_force(1) = -1.0e-2;
f.Set(dimension-1, new PWConstCoefficient(pull_force));
}
ParLinearForm *b = new ParLinearForm(&elasticity_op.h1_fes_);
b->AddBoundaryIntegrator(new VectorBoundaryLFIntegrator(f));
b->Assemble();
ParGridFunction x(&elasticity_op.h1_fes_);
x = 0.0;
Operator *A;
Vector B, X;
elasticity_op.FormLinearSystem(ess_tdof_list, x, *b, A, X, B);
std::cout << "linear system formed" << std::endl;
std::cout << "B size: " << B.Size() << "   X size: " << X.Size() << std::endl;
std::cout << "elasticity_op Height: " << elasticity_op.Height() << std::endl;
std::cout << "A Height: " << A->Height() << std::endl;
std::cout << "x size: " << x.Size() << "   ess_tdof_list size: " <<
ess_tdof_list.Size() << std::endl;
std::cout << "b size: " << b->Size() << std::endl;

@vladotomov @jandrej  - any thing obvious jump out as to why hooke doesn't work with NCMeshes?   We're further along in our MFEM knowledge than we were when we posted this and as we look at the code, nothing jumps out at us as the restrictions and prolongations should be adequate during the constrainedoperator instantiation, correct?


[vulkan] Reset TimePointFence status when releasing back to pool

This obviously is required to make sure that when later we acquire
the same TimePointFence, it's not in signaled state to start.
This bug is revealed by a non-deterministic crash on SwiftShader
where a command buffer can be destroyed in the middle of being
executed. This is because in IREE after queue submission we wait
on the TimePointSemaphore to signal to a specific value. Under
the hood, TimePointFence is used to query the status from GPU.
But it's always signaled and it causes IREE side to progress and
delete the command buffer (given it's already submitted and
executed seen by IREE). This triggers command buffer deletion
in SwiftShader, while it's still executing it.

@benvanik @ScottTodd: friendly ping on this. This should be a clear bugfix. :)


Sign oAuth requests

I am trying to sign oAuth requests following the example. All rest-client requests signed with oAuth gem are always 401 Unauthorized. But requests sent directly with access_token object passes. I checked the headers, they seem to be consistent, I'm stuck trying to debug It. Any ideas?
require 'oauth'
require 'rest-client'

cons = OAuth::Consumer.new(
  "consumer",
  "consumer-secret",
  {
    scheme: :header,
    site: 'https://api.twitter.com'
  })

access_token = OAuth::AccessToken.from_hash(cons,
                                            {oauth_token: "token",
                                             oauth_token_secret: "token-secret"}
                                           )
# THIS WORKS
p access_token.request(:post, "https://api.twitter.com/1.1/statuses/update.json", {status: 'request from oauth'})

# THIS DOESN'T
RestClient.add_before_execution_proc do |req, params|
  access_token.sign!(req)
end
p RestClient.post('https://api.twitter.com/1.1/statuses/update.json', {status: 'rest-client/oauth'})

Doesn't really seem like this is a rest-client bug. The only difference between the two that stands out to me is that one has oauth_body_hash in the Authorization header and the other doesn't. But I'm really not very knowledgeable about oauth.
Does this work with the rest-client 1.x series?

Feel free to reopen with more info.


Programming Interface Development

Perhaps more user-friendly like hackerrank and allow people to save code to browser storage?

Resolved in e9d737786f4207857432a2c726a6332fc92b09f1.


Reissuing PR, post 429 logic add from Sergio, after undoing previous PR

The commits in the previous PR were obliterated.  So, I redid the changes after merging from main.

bump


commit-spell no longer works as of node@22

Problematic behavior
Looks like the spellchecker package from the old Atom repository has finally died as of node@22's v8 changes. I quite liked having my commit messages spellchecked up until now, even if I haven't shown this repo much love over the years. Potentially viable alternative packages include:

https://github.com/languagetool-org/languagetool (now THIS looks interesting)
https://www.npmjs.com/package/simple-spellchecker (hmm)
https://www.npmjs.com/package/spellcheckme (ripping out the headless browser component)
https://www.npmjs.com/package/hunspell-spellchecker (it's really old, but still seems functional)
https://www.npmjs.com/package/typo-js (seems like a preferable alternative to the previous link)

Reproduction steps

Expected behavior

Additional context

Hmm. Okay. Seems like whatever the problem was was fixed in<EMAIL_ADDRESS>Yay, commit-spell works again!


F.E.A.R. Can't start a new game with DXVK in Wine

F.E.A.R can't start a new game or load the existing save file. The loading starts, but before the very end the game crashes to desktop with "Out of Memory" error (or without it, it depends). Works fine without DXVK though.
Software information
F.E.A.R. original game (version 1.08); max settings (antialiasing is off)
System information

GPU: GeForce GTX 760
Driver: NVIDIA 470.103.01
Wine version: 7.0
DXVK version: 1.10.1

Apitrace file(s)

Put a link here

Log files

d3d9.log:
d3d11.log:
dxgi.log:

Sorry for the logs absence. I am a total newbie in Linux and don't know how to do it (just wanted to report a bug). Write the instruction and i'll do the log.

Hi there.
Out of memory issues is known for old 32 bit games since dxvk have a memory overhead compared to native. Especially ones that aren't large address aware by default. (They can only use 2GB ram) here's the tracker issue https://github.com/doitsujin/dxvk/issues/1318
There is some work ongoing to try and improve the situation. See K0bins PR
You can find a build of it here and see if it helps. https://github.com/doitsujin/dxvk/actions/runs/2480480782
Tho i dont think it would necessarily help in the case of crashing while first time loading of a save or new game. More with games that crash after a while of playing. But worth a try.
Custom versions of wine such as proton and the ones that lutris and bottles provide can help alleviate it by being able to enable LAA automatically so the game can use a bit more memory.
Besides using those tools or non standard versions of wine you could try using a windows LAA patcher on the exe and see if that helps. https://ntcore.com/?page_id=371

Hi there.
Out of memory issues is known for old 32 bit games since dxvk have a memory overhead compared to native. Especially ones that aren't large address aware by default. (They can only use 2GB ram) here's the tracker issue #1318 There is some work ongoing to try and improve the situation. See K0bins PR You can find a build of it here and see if it helps.
Tho i dont think it would necessarily help in the case of crashing while first time loading of a save or new game. More with games that crash after a while of playing. But worth a try.
Custom versions of wine such as proton and the ones that lutris and bottles provide can help alleviate it by being able to enable LAA automatically so the game can use a bit more memory. Besides using those tools or non standard versions of wine you could try using a windows LAA patcher on the exe and see if that helps. https://ntcore.com/?page_id=371

I see, thanks for the explanation. Is there a way to disable DXVK for this game only inside WINE? I have tried to set the overriding dx3d library for the game inside WINE config, but it didn't help...

If you install dxvk into your wine prefix you can then afterwards go into winecfg and under the applications tab add the games exe as a new application. Then select the newly added application and go to the libraries tab and add d3d9 as a override set to builtin.
Builtin means that the application will use wines own versions of the dll if it ships with one.
You can also set it to (builtin, native) with means it would fall back to the native dll (dxvk in this case) if the builtin fails.

Screenshots

When you install dxvk you'll notice in winecfg under applications when you select Default Settings and go to the libraries tab that the dxvk setup script will have added d3d9, d3d10core, d3d11 & dxgi as native overrides.
This is because even tho dxvk puts the dlls into the wine prefixes windows system folders wine won't use them by default unless we tell it to. The files already present there in a fresh prefix aren't actually the ones wine use and are mostly put there so a application doesn't complain about missing dll's.
When we tell wine to use a native version it means we tell it to use the dll's present in those folders. (Or other folders as it looks for a corresponding dll in multiple places with a priority)
You can read a bit about wine dll overrides here
Using something like bottles or other tools makes it easier to manage individual wine prefixes and usually comes with built in switches to turn on or off things such as dxvk or LAA etc. If you ever wanted to try that.

Hmm i've not been able to reproduce a out of memory error or freeze with the steam version through proton. Even if i try to disable steam forcing on LAA. My system monitor says the app is onl using 500-700MB.
Can you post the d3d9.log ? It should be located in the games folder next to the exe.

Hmm i've not been able to reproduce a out of memory error or freeze with the steam version through proton. Even if i try to disable steam forcing on LAA. My system monitor says the app is only using 500-700MB.
Can you post the d3d9.log from a time it crashed? It should be located in the games folder next to the exe.

Sorry for the delay. Here is the log of d3d9. Unfortunately, setting the native d3d9 as the override library doesn't work, the result is the same - when dxvk is installed - the game crashes (with or without overrides), when without it - the game works fine. In fact, setting it as the overriding library was the first thing I have done before reporting here. By the way, I use the DVD version of the game (if it has any importance)
FEAR_d3d9.log
.

Can you check if the newly updated version of K0bin's PR helps?
https://github.com/doitsujin/dxvk/actions/runs/2570371500

This should be fixed now. Please reopen if it's not.

This should be fixed now. Please reopen if it's not.

Sorry my newbieness, but how to install it?

https://github.com/doitsujin/dxvk/actions/runs/2760548326

The PR (now merged into master) have since i last wrote been updated to include changes that are incompatible with Kepler cards since they need at least the 510 drivers.
So you'll sadly have to either without with a large address aware build with currently released dxvk or with wined3d


<EMAIL_ADDRESS>No longer supported for js-libp2p0.28.0 or later

Hey guys,
A few minutes ago I tried to install orbit-db and npm throw this error:
npm WARN deprecated<EMAIL_ADDRESS>No longer supported for js-libp2p0.28.0 or later

Looks like a libp2p issue. Will close this due to outdated version of OrbitDB but if the problem persists with v1, feel free to re-open.


workload assessment

The workload assessment is reached from https://datamigration.microsoft.com/scenario/oracle-to-azuresqldb which talks about Oracle to SQL migration and yet this particular doc doesn't list Oracle as Source on-prem? Can we add that please or is this not relevant anymore?

@paramda, I am not sure that I understand your query.  Could you email me directly about this<EMAIL_ADDRESS>Thank you!

@HJToland3  I also found two issues. I will sent these to you directly via email.

@declare2006 - Thank you. Will respond via email as well.


Segfault while loading PCD files

Instead of using csv file I tried to load PCD files directly using
const DP ref(DP::load(argv[1]));
and then also using
const DP ref(PMIO::loadPCD(argv[1]));
Both give segfault with .pcd files passed as arguments but works with .csv and .vtk files

Could you give me a short test file to replicate the problem on my side?

This zip contains a simple pcd file in ASCII format and sample code from my project which works for csv and vtk files. Also it doesnt work on binary .pcd files.
test.zip

Dear Francois,
I have provide the short hand file on github. I need to complete my project
in next 24 hours, so please let me know the fix or any other alternative to
load pcd file(in binary format) either by converting them or any other way.
Regards,
Hirav
On Sun, Dec 6, 2015 at 10:29 AM, François Pomerleau <
<EMAIL_ADDRESS>wrote:

Could you give me a short test file to replicate the problem on my side?
—
Reply to this email directly or view it on GitHub
https://github.com/ethz-asl/libpointmatcher/issues/129#issuecomment-162334774
.

The download link doesn't work.
Also, as stated here, we only support ascii format.

Even ASCII doesn't work. I am able to access the link but let me upload the files again
test.zip

I received the file. I'll have a look at the problem tomorrow morning.

Thanks for the quick response
BTW can you tell me if my syntax is correct for the below 2 lines

There was indeed a bug. It is fix with the commit 2fabd0dea9c1294ba22fd2512d17d848de536180. I added your PCD example in our unit test to avoid this problem in the future.
Both lines are doing the same thing:

DP::load(...) looks at the extension of the file to define which specific function to call. This should be the prefered call for most of the users.
PMIO::loadPCD(...)  parses a file assuming that it is a PCD file. It is considered a low level call.

Thanks for reporting.


Why only one exchange/market restriction?

Like tradewave.net, all algorithm is implemented in the strategy, which should be written by the user. I don't understand why Gekko chose a different architecture.

And why the trip advisor only give long or short advice without amount?

Like tradewave.net, all algorithm is implemented in the strategy, which should be written by the user.

What do you mean? You can write your own algorithm, see how to write your own trading method.

And why the trip advisor only give long or short advice without amount?

If you write your own method you can specify whichever amount you see fit.


feat(hyperlink Modal): fix hyperlink modal accepts invalid urls

Signed-off-by: Nikhil<EMAIL_ADDRESS>Issue #365
This PR adds the feature to validate whether the URL contains http:// or https:// in it.
Changes

Added logic for validating URL and maintained a state variable to show an error message
Changed the placeholder from https://example.com to example.com

@irmerk @DianaLease @Michael-Grover ☝
Ref #378


WIP - Travis Webhooks

Hi!

✓ should contain a lowercase name, same as the filename
✓ should not have duplicate names
1) should have ISO-639-3 language codes
2) should have correct structure
Translations
✓ should be lowercase
4 passing (49ms)
2 failing

name files
should have ISO-639-3 language codes:
Error: a is not a valid ISO-639-3 language code in adam.json
at Context.it (test/test.js:52:27)

name files
should have correct structure:
Error: Error in name file "adam.json":
instance.translations additionalProperty "a" exists in instance when not allowed
at Context.it (test/test.js:101:23)

npm ERR! Test failed.  See above for more details.
travis_time:end:0d214d2f:start=1509380628344536504,finish=1509380628962901434,duration=618364930

The command "npm test" exited with 1.
Done. Your build exited with 1.

✓ should contain a lowercase name, same as the filename
✓ should not have duplicate names
1) should have ISO-639-3 language codes
2) should have correct structure
Translations
✓ should be lowercase
4 passing (49ms)
2 failing

name files
should have ISO-639-3 language codes:
Error: a is not a valid ISO-639-3 language code in adam.json
at Context.it (test/test.js:52:27)

name files
should have correct structure:
Error: Error in name file "adam.json":
instance.translations additionalProperty "a" exists in instance when not allowed
at Context.it (test/test.js:101:23)

npm ERR! Test failed.  See above for more details.
travis_time:end:0d214d2f:start=1509380628344536504,finish=1509380628962901434,duration=618364930

The command "npm test" exited with 1.
Done. Your build exited with 1.

✓ should contain a lowercase name, same as the filename
✓ should not have duplicate names
1) should have ISO-639-3 language codes
2) should have correct structure
Translations
✓ should be lowercase
4 passing (49ms)
2 failing

name files
should have ISO-639-3 language codes:
Error: a is not a valid ISO-639-3 language code in adam.json
at Context.it (test/test.js:52:27)

name files
should have correct structure:
Error: Error in name file "adam.json":
instance.translations additionalProperty "a" exists in instance when not allowed
at Context.it (test/test.js:101:23)

npm ERR! Test failed.  See above for more details.
travis_time:end:0d214d2f:start=1509380628344536504,finish=1509380628962901434,duration=618364930

The command "npm test" exited with 1.
Done. Your build exited with 1.

✓ should contain a lowercase name, same as the filename
✓ should not have duplicate names
1) should have ISO-639-3 language codes
2) should have correct structure
Translations
✓ should be lowercase
4 passing (49ms)
2 failing

name files
should have ISO-639-3 language codes:
Error: a is not a valid ISO-639-3 language code in adam.json
at Context.it (test/test.js:52:27)

name files
should have correct structure:
Error: Error in name file "adam.json":
instance.translations additionalProperty "a" exists in instance when not allowed
at Context.it (test/test.js:101:23)

npm ERR! Test failed.  See above for more details.
travis_time:end:0d214d2f:start=1509380628344536504,finish=1509380628962901434,duration=618364930

The command "npm test" exited with 1.
Done. Your build exited with 1.

should contain a lowercase name, same as the filename
should not have duplicate names
1) should have ISO-639-3 language codes
2) should have correct structure
Translations
should be lowercase
4 passing (49ms)
2 failing

name files
should have ISO-639-3 language codes:
Error: a is not a valid ISO-639-3 language code in adam.json
at Context.it (test/test.js:52:27)

name files
should have correct structure:
Error: Error in name file "adam.json":
instance.translations additionalProperty "a" exists in instance when not allowed
at Context.it (test/test.js:101:23)

npm ERR! Test failed.  See above for more details.
travis_time:end:0d214d2f:start=1509380628344536504,finish=1509380628962901434,duration=618364930

The command "npm test" exited with 1.
Done. Your build exited with 1.

✓ should contain a lowercase name, same as the filename
✓ should not have duplicate names
1) should have ISO-639-3 language codes
2) should have correct structure
Translations
✓ should be lowercase
4 passing (49ms)
2 failing

name files
should have ISO-639-3 language codes:
Error: a is not a valid ISO-639-3 language code in adam.json
at Context.it (test/test.js:52:27)

name files
should have correct structure:
Error: Error in name file "adam.json":
instance.translations additionalProperty "a" exists in instance when not allowed
at Context.it (test/test.js:101:23)

Travis tests has failed!
✓ should contain a lowercase name, same as the filename
✓ should not have duplicate names
1) should have ISO-639-3 language codes
2) should have correct structure
Translations
✓ should be lowercase
4 passing (49ms)
2 failing

name files
should have ISO-639-3 language codes:
Error: a is not a valid ISO-639-3 language code in adam.json
at Context.it (test/test.js:52:27)

name files
should have correct structure:
Error: Error in name file "adam.json":
instance.translations additionalProperty "a" exists in instance when not allowed
at Context.it (test/test.js:101:23)

Travis tests has failed
✓ should contain a lowercase name, same as the filename
✓ should not have duplicate names
1) should have ISO-639-3 language codes
2) should have correct structure

Translations
✓ should be lowercase
4 passing (49ms)
2 failing

name files
should have ISO-639-3 language codes:
Error: a is not a valid ISO-639-3 language code in adam.json
at Context.it (test/test.js:52:27)

name files
should have correct structure:
Error: Error in name file "adam.json":
instance.translations additionalProperty "a" exists in instance when not allowed
at Context.it (test/test.js:101:23)

**Powered by:** [Travis Buddy]

Travis tests has failed
✓ should contain a lowercase name, same as the filename
✓ should not have duplicate names
1) should have ISO-639-3 language codes
2) should have correct structure

Translations
✓ should be lowercase
4 passing (49ms)
2 failing

name files
should have ISO-639-3 language codes:
Error: a is not a valid ISO-639-3 language code in adam.json
at Context.it (test/test.js:52:27)

name files
should have correct structure:
Error: Error in name file "adam.json":
instance.translations additionalProperty "a" exists in instance when not allowed
at Context.it (test/test.js:101:23)

**Powered by:** [Travis Buddy]

Travis tests has failed
✓ should contain a lowercase name, same as the filename
✓ should not have duplicate names
1) should have ISO-639-3 language codes
2) should have correct structure
Translations
✓ should be lowercase
4 passing (49ms)
2 failing

name files
should have ISO-639-3 language codes:
Error: a is not a valid ISO-639-3 language code in adam.json
at Context.it (test/test.js:52:27)

name files
should have correct structure:
Error: Error in name file "adam.json":
instance.translations additionalProperty "a" exists in instance when not allowed
at Context.it (test/test.js:101:23)

Powered by: Travis Buddy

Travis tests has failed
Powered by: Travis Buddy

Travis tests has failed
Powered by: Travis Buddy

Travis tests has failed
✓ should contain a lowercase name, same as the filename
✓ should not have duplicate names
1) should have ISO-639-3 language codes
2) should have correct structure
Translations
✓ should be lowercase
4 passing (71ms)
2 failing

name files
should have ISO-639-3 language codes:
Error: a is not a valid ISO-639-3 language code in adam.json
at Context.it (test/test.js:52:27)

name files
should have correct structure:
Error: Error in name file "adam.json":
instance.translations additionalProperty "a" exists in instance when not allowed
at Context.it (test/test.js:101:23)

Powered by: Travis Buddy


remove "preview" from sdk name

@mimig1

@ausfeldt : Thanks for your contribution to the Azure documentation! The author, @mimig1, has been notified to review your proposed change.

#sign-off Thanks @ausfeldt!


Add SharpDX

@VPashkov Can you please shift it to the DirectX category as it provide complete DirectX APIs, not just graphics or sound.

Oh yes. Sure.


Is this pm2 normal behavior

been tryna run bot without any errors is this normal behavior ?

More info

I have same chromium & chromedriver versions

More info

Chromedriver & chromium same version

First error after  ./launch.sh is :  mkdir cannot create directory /run/user/0' Permission denied, then again error from first picture, im tryna get the workaround will post it for newbies help if i find it

Hi,

No, that's not normal for PM2.
The default installer generally installs Google Chrome, not Chromium. If you are running an AMD64 machine (not ARM), you can run the installer again to try and change back to Chrome.
If you are running ./launch.sh from inside /home/tonton/HotWalletBot, then the directories the script creates should be subdirectories of /home/tonton/HotWalletBot. Possibly Chromium-Browser is trying to create something under /run/user/0?

If you're having problems with dependencies, I'd switch to Docker where the container will have everything prebuilt from the latest image.
Thanks

Hi,
1. No, that's not normal for PM2.

2. The default installer generally installs Google Chrome, not Chromium. If you are running an AMD64 machine (not ARM), you can run the installer again to try and change back to Chrome.

3. If you are running `./launch.sh` from inside `/home/tonton/HotWalletBot`, then the directories the script creates should be subdirectories of `/home/tonton/HotWalletBot`. Possibly Chromium-Browser is trying to create something under `/run/user/0`?

If you're having problems with dependencies, I'd switch to Docker where the container will have everything prebuilt from the latest image.
Thanks

Thanks for the fast response, i switch to updated chrome still get this error :
mkdir: cannot create directory /run/user/0 : permission denied
Any workaround?

Hi,
This script doesn’t create any directories in the directory you listed, so it’s probably one of the third-party modules/software not working well with the VM.
Our supported methods are Ubuntu (VPS or native install), Ubuntu for Windows or Docker.
I’d recommend using one of those methods, the script can then be installed with two sets of copied and pasted commands.

Fixed after i uninstalled chromium , thanks for the help


Make data only containers available only in the volumes from and container list.

I use data containers and don't have to start them.
With the new version, they don't appear in Rancher unless i start the data container, which i don't want/need to.
Thanks

Is this still happening?

With first class volume support in docker and rancher, the need for data containers has waned. I don't think it is worth the effort to support this. @will-chan?


[rancher] invalid memory address or nil pointer dereference

What version of Traefik are you using (traefik version)?
v1.2.0-rc1
What is your environment & configuration (arguments, toml...)?
--etcd --etcd.endpoint=etcd:2379 --rancher --logLevel=DEBUG
On etcd I have this keys:
/traefik/web/address = ":8080"
/traefik/entryPoints/entryPoints.http/address = ":80"
/traefik/leader = "b6cb798d-e055-4b8d-8e6e-59f9374063e2"
What did you do?
I run the container with options above.
What did you expect to see?
I expected to see Rancher as one of the providers.
What did you see instead?
No Rancher provider and an invalid memory address or nil pointer dereference error on the log bellow.
2/7/2017 1:32:29 PMINFO[2017-02-07T15:32:29Z] Traefik version v1.2.0-rc1 built on 2017-02-06_08:45:49PM
2/7/2017 1:32:29 PMDEBU[2017-02-07T15:32:29Z] Global configuration loaded {"GraceTimeOut":10,"Debug":false,"CheckNewVersion":true,"AccessLogsFile":"","TraefikLogsFile":"","LogLevel":"DEBUG","EntryPoints":{"entryPoints.http":{"Network":"","Address":":80","TLS":null,"Redirect":null,"Auth":null,"Compress":false}},"Cluster":{"Node":"bc0d16de-e5bf-4b48-95f7-83c8a0b1ff3a","Store":{"Store":{},"Prefix":"/traefik"}},"Constraints":[],"ACME":null,"DefaultEntryPoints":[],"ProvidersThrottleDuration":2000000000,"MaxIdleConnsPerHost":200,"InsecureSkipVerify":false,"Retry":null,"Docker":null,"File":null,"Web":{"Address":":8080","CertFile":"","KeyFile":"","ReadOnly":false,"Statistics":null,"Metrics":null,"Auth":null},"Marathon":null,"Consul":null,"ConsulCatalog":null,"Etcd":{"Watch":true,"Filename":"","Constraints":[],"Endpoint":"etcd:2379","Prefix":"/traefik","TLS":null},"Zookeeper":null,"Boltdb":null,"Kubernetes":null,"Mesos":null,"Eureka":null,"ECS":null,"Rancher":{"Watch":true,"Filename":"","Constraints":null,"Endpoint":"","AccessKey":"","SecretKey":"","ExposedByDefault":true,"Domain":""}}
2/7/2017 1:32:29 PMINFO[2017-02-07T15:32:29Z] Preparing server entryPoints.http &{Network: Address::80 TLS:<nil> Redirect:<nil> Auth:<nil> Compress:false}
2/7/2017 1:32:29 PMINFO[2017-02-07T15:32:29Z] Starting provider *main.WebProvider {"Address":":8080","CertFile":"","KeyFile":"","ReadOnly":false,"Statistics":null,"Metrics":null,"Auth":null}
2/7/2017 1:32:29 PMINFO[2017-02-07T15:32:29Z] Starting provider *provider.Etcd {"Watch":true,"Filename":"","Constraints":[],"Endpoint":"etcd:2379","Prefix":"/traefik","TLS":null}
2/7/2017 1:32:29 PMINFO[2017-02-07T15:32:29Z] Starting provider *provider.Rancher {"Watch":true,"Filename":"","Constraints":null,"Endpoint":"","AccessKey":"","SecretKey":"","ExposedByDefault":true,"Domain":""}
2/7/2017 1:32:29 PMDEBU[2017-02-07T15:32:29Z] Node bc0d16de-e5bf-4b48-95f7-83c8a0b1ff3a running for election
2/7/2017 1:32:29 PMINFO[2017-02-07T15:32:29Z] 0s
2/7/2017 1:32:29 PMINFO[2017-02-07T15:32:29Z] Starting server on :80
2/7/2017 1:32:29 PMINFO[2017-02-07T15:32:29Z] Node bc0d16de-e5bf-4b48-95f7-83c8a0b1ff3a elected slave ♝
2/7/2017 1:32:29 PMERRO[2017-02-07T15:32:29Z] Error in Go routine: runtime error: invalid memory address or nil pointer dereference
2/7/2017 1:32:29 PMgoroutine 46 [running]:
2/7/2017 1:32:29 PMruntime/debug.Stack(0x4e808f, 0xc420016280, 0x1d9a271)
2/7/2017 1:32:29 PM	/usr/local/go/src/runtime/debug/stack.go:24 +0x79
2/7/2017 1:32:29 PMruntime/debug.PrintStack()
2/7/2017 1:32:29 PM	/usr/local/go/src/runtime/debug/stack.go:16 +0x22
2/7/2017 1:32:29 PMgithub.com/containous/traefik/safe.defaultRecoverGoroutine(0x1ada8e0, 0xc420010020)
2/7/2017 1:32:29 PM	/go/src/github.com/containous/traefik/safe/routine.go:147 +0x7d
2/7/2017 1:32:29 PMgithub.com/containous/traefik/safe.GoWithRecover.func1.1(0x1e96ec8)
2/7/2017 1:32:29 PM	/go/src/github.com/containous/traefik/safe/routine.go:138 +0x57
2/7/2017 1:32:29 PMpanic(0x1ada8e0, 0xc420010020)
2/7/2017 1:32:29 PM	/usr/local/go/src/runtime/panic.go:458 +0x243
2/7/2017 1:32:29 PMgithub.com/containous/traefik/provider.listRancherEnvironments(0x0, 0x0, 0x2a6f540, 0xc4202ada40)
2/7/2017 1:32:29 PM	/go/src/github.com/containous/traefik/provider/rancher.go:277 +0x5e
2/7/2017 1:32:29 PMgithub.com/containous/traefik/provider.(*Rancher).Provide.func1.1(0xc420777620, 0x42b198)
2/7/2017 1:32:29 PM	/go/src/github.com/containous/traefik/provider/rancher.go:211 +0x9e
2/7/2017 1:32:29 PMgithub.com/containous/traefik/vendor/github.com/cenk/backoff.RetryNotify(0xc420787a80, 0x2a73a80, 0xc4207b64b0, 0x1e96e68, 0xc42001f748, 0x65d94f)
2/7/2017 1:32:29 PM	/go/src/github.com/containous/traefik/vendor/github.com/cenk/backoff/retry.go:32 +0x3f
2/7/2017 1:32:29 PMgithub.com/containous/traefik/provider.(*Rancher).Provide.func1()
2/7/2017 1:32:29 PM	/go/src/github.com/containous/traefik/provider/rancher.go:264 +0x132
2/7/2017 1:32:29 PMgithub.com/containous/traefik/safe.GoWithRecover.func1(0x1e96ec8, 0xc420787a60)
2/7/2017 1:32:29 PM	/go/src/github.com/containous/traefik/safe/routine.go:141 +0x4d
2/7/2017 1:32:29 PMcreated by github.com/containous/traefik/safe.GoWithRecover
2/7/2017 1:32:29 PM	/go/src/github.com/containous/traefik/safe/routine.go:142 +0x49
2/7/2017 1:32:29 PMDEBU[2017-02-07T15:32:29Z] Cannot get key /traefik/alias Key not found in store, setting default /traefik
2/7/2017 1:32:29 PMDEBU[2017-02-07T15:32:29Z] Cannot get keys /traefik/frontends/ Key not found in store
2/7/2017 1:32:29 PMDEBU[2017-02-07T15:32:29Z] Cannot get key /traefik/alias Key not found in store, setting default /traefik
2/7/2017 1:32:29 PMDEBU[2017-02-07T15:32:29Z] Cannot get keys /traefik/backends/ Key not found in store
2/7/2017 1:32:29 PMDEBU[2017-02-07T15:32:29Z] Configuration received from provider etcd: {}
2/7/2017 1:32:29 PMDEBU[2017-02-07T15:32:29Z] Last etcd config received more than 2s, OK
2/7/2017 1:32:29 PMINFO[2017-02-07T15:32:29Z] Server configuration reloaded on :80
2/7/2017 1:32:29 PMDEBU[2017-02-07T15:32:29Z] Cannot get keys /traefik/frontends/ Key not found in store
2/7/2017 1:32:29 PMDEBU[2017-02-07T15:32:29Z] Cannot get keys /traefik/backends/ Key not found in store
2/7/2017 1:32:29 PMDEBU[2017-02-07T15:32:29Z] Configuration received from provider etcd: {}
2/7/2017 1:32:29 PMINFO[2017-02-07T15:32:29Z] Skipping same configuration for provider etcd

hey @rafaelgaspar ,
as long as the PR #1127 is not merged yet, you also need to provide --rancher.endpoint=XX, --rancher.accesskey=XXand --rancher.secretkey=XX.
However, having a nil adress is not very good (shame on me). I'll look into this :)

Hey @rafaelgaspar,
I fixed that issue in the PR #1127 mentioned above. After merge, this issue will be resolved. Thanks! :)


Approve reviews before they are shown in list of reviews

Hi!
How would one go about creating a manual approval barrier for ratings and reviews?
Thanks!

Hi @mishu-,
you could simply add a Boolean to mark reviews as unverified. You can send a notification to admins or whatever. There are several ways to add such a feature.
We're not actively working on this app, so you might want to send a pull request.


Add a DSL element to specify the runtime serializer

Issue description
Builds migrating to Micronaut 4 will fail because, by default, no runtime serializer is present. For example using this simple build script:
plugins {
    id "io.micronaut.application"
}

micronaut {
    version "4.0.0-SNAPSHOT"
    runtime "netty"
    testRuntime "junit5"
}

repositories {
    mavenCentral()
}
mainClassName = "example.Application"

Running the app (or tests) will fail with:

Caused by: java.lang.NoClassDefFoundError at null:-1

Which is not extremely user-friendly.
Therefore, we need to add a new DSL option to select the serialization framework:
micronaut {
    version "4.0.0-SNAPSHOT"
    runtime "netty"
    serialzation "serde-jackson" // This is new
    testRuntime "junit5"
}

With currently 2 supported options:

serde-jackson would automatically add the runtime only dependency io.micronaut.serde:micronaut-serde-jackson
jackson would automatically add the runtime only dependency io.micronaut.jackson:micronaut-jackson-databind

There should also be a default value, which should probably be serde-jackson for 4.0.0.
Note that we may face the problem of the test resources client not working with serde (see https://github.com/micronaut-projects/micronaut-test-resources/issues/103)

Another discussion point is whether this should also automatically add a dependency substitution rule (which would remove the need for having it in micronaut-starter). This would definitely require having a proper fix for the test resources client now, as there seem to have no way to figure out what is the current object mapper (/cc @graemerocher ).

You can obtain the current object mapper with JsonMapper.createDefault https://github.com/micronaut-projects/micronaut-core/blob/950ade6625291b10295be93fa72c1490378bf95f/json-core/src/main/java/io/micronaut/json/JsonMapper.java#L235
Test resources server could have a default dependency on Micronaut Serialization that implements this.
I am not sure the need for having another DSL element. Perhaps a better error message in core should be worked on instead.

I am not sure the need for having another DSL element. Perhaps a better error message in core should be worked on instead.

I think we definitely need a better error message. As for having a DSL element, I think it aligns well with the rest of the DSL, especially if we combine it with a rule to automatically do substitutions.

You can obtain the current object mapper with JsonMapper.createDefault https://github.com/micronaut-projects/micronaut-core/blob/950ade6625291b10295be93fa72c1490378bf95f/json-core/src/main/java/io/micronaut/json/JsonMapper.java#L235

Right, so we can give it a try for a 2.0.0 release of test resources which requires Micronaut 4+.

Test resources server could have a default dependency on Micronaut Serialization that implements this.

The problem is not on the server but on the client (we inject a test resources client on the user classpath)

@graemerocher this is how the client is created in test resources: https://github.com/micronaut-projects/micronaut-test-resources/blob/777315172fc31a0c28006a485e6564a97a0037f4/test-resources-client/src/main/java/io/micronaut/testresources/client/TestResourcesClientFactory.java#L53-L56
I don't think there's a way to pass in a different object mapper, is it? Or would it "simply work" in 4?

should be fine. DefaultHttpClient ultimately ends up calling:
    private static MediaTypeCodecRegistry createDefaultMediaTypeRegistry() {
        JsonMapper mapper = JsonMapper.createDefault();
        ApplicationConfiguration configuration = new ApplicationConfiguration();
        return MediaTypeCodecRegistry.of(
                new JsonMediaTypeCodec(mapper, configuration, null),
                new JsonStreamMediaTypeCodec(mapper, configuration, null)
        );
    }

Which calls JsonMapper.createDefault()

Hi @graemerocher @melix
Context: using micronaut 4.5.3 / micronaut-jackson-databind 4.5.3
Thanks for this insightful talk I was myself running in an issue with micronaut-jackson-databind dependency since in one o the subprojects required micronat-platform-bom which in turn calls serde-api as a dependency and hence the Error instantiating bean of type  [io.micronaut.jackson.databind.JacksonDatabindMapper].
So from what I summarize that the discussion to fix this issue is still on while a workaround fix would be to just use the fasterxml.jackson dependency directly rather than the micronaut one?


Helmfile for Windows doesn't work with secrets

I am running a Windows development environment. I use Windows executables for Helm and Helmfile and sops and use the WSL to execute bash scripts. I've installed the Helm Secrets plugin and hacked its plugin.yaml file so that it explicitly runs the secrets.sh bash script in WSL as you see here:
command: wsl --exec /mnt/c/Users/smeierhofer/.helm/plugins/helm-secrets/secrets.sh

But now I've run into a new issue. My Helmfile release refers to a secret as you see here:
secrets:
  - release-files/dev/config/secrets-properties.yaml

The helmfile command seems to switch the forward slashes to backslashes and then call the Helm Secrets plugin. The Helm Secrets plugin is nothing more than a bash script that calls sops and so it expects all file paths in the Linux form. The Helm Secrets plugin fails to decrypt the secret and then the Helm command fails because the decrypted secret is not found. Here's the relevant output:
Decrypting secret C:\workspace\mychart\releases\dev\config\secrets-properties.yaml
<<snip>>
C:\workspace\mychart\release-files\dev\config\secrets-properties.yaml doesn't exist.

in ./helmfile.yaml: failed processing release dev: open C:\workspace\mychart\release-files\dev\config\secrets-properties.yaml.dec: The system cannot find the file specified.

Probably the Helmfile command should always pass paths using Linux-style forward slashes. It would be nice if the Helm Secrets plugin worked equally as well on Windows as on Linux, but that's a harder thing to do than if Helmfile sticks to Linux-style paths with forward slashes.

If you are willing to use WSL as I think you are from your comment, I think you will have better success if you stay in the Linux domain (and have all your tools there). What I believe is happening is that somehow you are invoking helmfile in the Windows domain (helmfile.exe). Having all your dependencies in the same environment will save you many many issues. Using the WSL mount (by default /mnt/[drive]) will allow you to use the Windows paths easily if you wish to store your files in the Windows domain.

Thanks @davidovich . I was starting to come to the same conclusion. I will give it a try.

For Windows support, take a look at https://github.com/jkroepke/helm-secrets
It‘s a drop in replacement for zendesk/helm-secrets.


400 Bad Request

Being a nube to this I've read through the wiki in order to try and figure out what I've messed up.  I've checked my Allowed origins and Allowed return URLs and cannot seem to find my mistake.  When I tried to authenticate by going to my ipaddress:5050, I received a "400 Bad Request" error from Amazon.  Running a status check on AlexaPi i got the following return:
● AlexaPi.service - Alexa client for all your devices
Loaded: loaded (/usr/lib/systemd/system/AlexaPi.service; enabled)
Active: failed (Result: exit-code) since Sun 2017-12-24 20:18:02 EST; 1h 30min ago
Docs: https://github.com/alexa-pi/AlexaPi/wiki
Process: 525 ExecStart=/usr/bin/python /opt/AlexaPi/src/main.py --daemon (code=exited, status=1/FAILURE)
Main PID: 525 (code=exited, status=1/FAILURE)
Dec 24 20:17:34 raspberrypi python[525]: ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
Dec 24 20:17:34 raspberrypi python[525]: ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
Dec 24 20:17:34 raspberrypi python[525]: Cannot connect to server socket err = No such file or directory
Dec 24 20:17:34 raspberrypi python[525]: Cannot connect to server request channel
Dec 24 20:17:34 raspberrypi python[525]: jack server is not running or cannot be started
Dec 24 20:18:01 raspberrypi python[525]: INFO: Checking Internet Connection ...
Dec 24 20:18:01 raspberrypi python[525]: INFO: Connection OK
Dec 24 20:18:01 raspberrypi python[525]: CRITICAL: AVS refresh_token not found in the configuration file. Run the setup a...ions).
Dec 24 20:18:02 raspberrypi systemd[1]: AlexaPi.service: main process exited, code=exited, status=1/FAILURE
Dec 24 20:18:02 raspberrypi systemd[1]: Unit AlexaPi.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.
Any suggstions would be greatly appreciated.  I have greater hopes for this RPi than a retro Mario game.

This looks like the setup didn't complete correctly or your developer tokens from amazon are missing - try running the setup again?

I received the same error. I logged into my amazon dev console, updated the return url again to the http://localhost:5050/code saved and closed tab. it worked afterwards and went to auth screen

make sure you add all 4 URLs to allowed origins as per installation instructions

pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline

Your config is wrong: you have to setup your audio PCMs:
List them with aplay -L (for output) and arecord -L (for input) and change it in the config:
output: "alsa"
output_device: "plughw:YOUROUTPUTDEVICE"
input_device: "plughw:YOURINPUTDEVICE"


make executable

Please male the /opt/flyway/flyway executable by default (chmod 755)...

That sounds ok to me. Please submit the PR and make sure the rake and kitchen verify passes on travis-ci and appveyor.

I released 6.0.0 with flyway now executable. Note that major bump is because I changed the install_dir default from /opt to /opt/flywaydb.

Also, released with failing build because of:
[16:45] <dhoer> getting /opt/chefdk/embedded/lib/ruby/site_ruby/2.3.0/rubygems.rb:250:in `find_spec_for_exe': can't find gem chef-dk (>= 0.a)  using chef-current-precise
[16:45] <dhoer> did something change???
[16:45] <@coderanger> dhoer: Being fixed shortly
[16:45] <@coderanger> It's breakage from the Ruby 2.3 upgrade
[16:45] == solvip<EMAIL_ADDRESS>has joined #chef
[16:45] <@coderanger> Current will probably be broken for a day or two


Fix two parsing problems

fixed ProtobufWriter writeValue setter method not found issue when domain value type is a subclass of setter parameter type
Example:
when setting ByteString value to the protobuf from domain, if the domain use the subclass LiteralByteString, it will cause a
net.badata.protobuf.converter.exception.WriteException: Setter not found: 'net.badata.protobuf.converter.proto.ConverterProto$ConverterTest$Builder.setBytesValue()'
becase the parameter value type of setBytesValue is ByteString.

fixed DefaultmapperImpl stack overflow issue when parse recursive value
Recursive field is very useful for representing structures like trees. When the converter tries to convert a protobuf into the domain value, it attempts to create a new instance for the nested value. If the nested value has the same type as its parent, the converter will keep creating its nested values, eventually causes a StackOverflowError.

Thanks!


GDScript 2.0: Cannot override methods when extending ConfigFile built-in class

Godot version
v4.0.beta10.mono.official [d0398f62f]
System information
Windows 11 Home OS build 22621.963
Issue description
Not sure if this is a regression bug or a documentation issue since I've not tried this in 3.5.1.
Attempting to override ConfigFile built-in class methods to include features such as "is_saved" and emitting signals when config values change.
The override methods in the descendent class are not called. I'm assuming the methods are const however the docs (https://docs.godotengine.org/en/latest/classes/class_configfile.html) indicate only selected methods are const.
Steps to reproduce
Create a new class called EnhancedConfigFile extending ConfigFile. Add an override method such as set_value() in the example below. Instantiate EnhancedConfigFile and call set_value(). None of the logic in the override method is executed. Tried setting a breakpoint and it was not triggered.
class_name EnhancedConfigFile
extends ConfigFile

enum ACTION {
	VALUE_CHANGED,
	KEY_ERASED,
	SECTION_ERASED,
	PARSE_LOAD,
	LOADED,
	SAVED,
}
signal changed(action:ACTION,section:String,key:String,old_value,new_value);

## Overrides ConfigFile.set_value().
## Adds logic to set saved state and and emit changed signal.
func set_value(section:String, key:String, new_value)->void:
	# check for a value change
	print("EnhancedConfigFile.set_value(%s,%s,%s)"%[section,key,new_value]);
	var old_value;
	if has_section(section) and has_section_key(section,key):
		old_value = get_value(section,key);

	if new_value != old_value:
		super.set_value(section,key,new_value);
		changed.emit(ACTION.VALUE_CHANGED,section,key,old_value,new_value,OK);
		_is_unsaved = true;
	return;

Minimal reproduction project
See example above.

set_value isn't a virtual function so it's not possible to override it, as far as I know.

Just verified is works as expected in in 3.5.1 so it appears to be a regression.

If you check the issue I referenced you will see the debate on it

I've read the issue but it is unrelated as it addresses explicitly set() and get(), which are special cases.
The case I'm referencing is the general ability of a descendent class to override an ancestor method. It's no different than creating a custom class A then extending it with custom class B. Class B should be able to override or "shadow" methods defined in class A. There should be nothing special if class A happens to be a built-in class.
The simple question is whether the capability present in 3.5.1 and missing from 4.0 is intentional or not. If not intentional, it's a regression bug. If intentional, then it's a (poorly conceived) feature.

No, it's debated there so best take it there, not just those specific functions, it's not a regression

Duplicate of https://github.com/godotengine/godot/issues/55024.


feature: public cloud support postpaid expire

这个 PR 实现什么功能/修复什么问题:
RT
是否需要 backport 到之前的 release 分支:
release/2.13
/cc @swordqiu @ioito @tb365
/area region

Codecov Report

Merging #4390 into master will increase coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master   #4390      +/-   ##
=========================================
+ Coverage    6.85%   6.85%   +<.01%
=========================================
  Files         521     521
  Lines       88378   88362      -16
=========================================
  Hits         6059    6059
+ Misses      81814   81798      -16
  Partials      505     505

Flag
Coverage Δ

#aFlag
6.85% <0%> (ø)
:arrow_up:

Impacted Files
Coverage Δ

pkg/compute/guestdrivers/esxi.go
3.54% <ø> (+0.09%)
:arrow_up:

pkg/compute/guestdrivers/openstack.go
2.89% <ø> (+0.06%)
:arrow_up:

pkg/compute/guestdrivers/kvm.go
3.38% <ø> (+0.04%)
:arrow_up:

pkg/compute/guestdrivers/zstack.go
6.75% <ø> (+0.34%)
:arrow_up:

pkg/compute/guestdrivers/base.go
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

/lgtm

/lgtm

/lgtm

/lgtm

/lgtm

/approve


dd_cloud_vip_pool - How do you assign nodes to the pool?

I was reading the documentation so unless its not documented I have no way to add nodes that are defined with ddcloud_vip_node to the ddcloud_vip_pool resource command.  Is this missing or just not documented?

Sorry, my bad - it is documented but the page is not linked from the main documentation page.
I'll get that sorted out.

Thanks for reporting that - I've added the missing link to the documentation index.

Great - thanks!  Now I can test that part of my integration.  All the other stuff I got working.  I didn't write it out to a plan first so after I did errors magically went away...
Regards,
William Ninobla
Sr. Solutions Architect
Cloud Business Unit
Dimension Data

From: Adam Friedman<EMAIL_ADDRESS>Sent: Thursday, September 22, 2016 4:19 PM
To: DimensionDataResearch/dd-cloud-compute-terraform
Cc: William Ninobla (ITaaS); Author
Subject: Re: [DimensionDataResearch/dd-cloud-compute-terraform] dd_cloud_vip_pool - How do you assign nodes to the pool? (#18)
Thanks for reporting that - I've added the missing link to the documentation index.

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/DimensionDataResearch/dd-cloud-compute-terraform/issues/18#issuecomment-249055873, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AQe9v2WSAGFhgDNFVgs2s5KUdu8WYNCxks5qsw0QgaJpZM4KEcxR.
itevomcid


benchmarks: allow benchmarking subsampler pipelines

f.e. cut_detection -> clipping or frame_rate -> resolution
should be easy since subsamplers input and output bytes but how do you make this nice and intuitive to use.
Would be very useful for optimizing fusing or ordering subsamplers in the workers

maybe only do this on release


Use foreign opts

This PR includes two changes beyond PR #6.
The first is a leaner, more convenient definition of thunk that automatically handles converting null vtree with Nothing, or non-null to Just.
The larger and more philosophical change is adding increased type safety with new dependency purescript-foreign-options.  The library handles conversion of Maybe, Either, callback functions, etc., from PS conventions to Javascript conventions.  The configuration options for vhook, widget, and vnode must now contain prerequisite fields and types in order to compile.
The updates to thunk are largely orthogonal from the options changes, so if you only want one or the other, just let me know and I'll update either this PR or #6 as requested to make the merge easier.

I like it. I'll have a bit of a play before merging though, and see if anyone else has any comments too. (@paf31?)

I've not really been keeping up to date with this library, but I'm familiar with the options library, and the approach makes sense given the problem.
There is also the purescript-options library which takes a different approach to options objects, so maybe that's worth a look too.

@garyb, we had some discussion of these approaches recently at purescript/purescript-foreign#20.  The main change to purescript-foreign-options since then is the addition of the Opaque constructor to protect parts of the options record from conversion.

Thanks, I was sort-of paying attention to that discussion but had intended to look it up again for this. :)

I definitely appreciate the effort that went into this, and agree something like this is the right direction, but I think I'd rather keep it dumb and accepting anything in the props objects for now.
This library was intended to be a low-level thing that proper interfaces were built on top of, and since there's not a clear winner in the foreign-options department yet (I also have some ideas I'd like to try out) and it's not entirely overhead-free I think it might be worth holding off until we come up with something even better.

OK, that's reasonable.  If you try out something of your own, could you write a note in this PR about it?  I'd enjoy taking a peek at any new approaches.  Thanks.

Would you consider taking the changes to thunk only? They are unrelated to the use of the options library, and they are more consistent with how vdom actually works internally.  I can prepare a new branch including only that change to make it easier if it's something you're interested in.

That'd be great, thanks.


How to create outputcontext and intent in a single api call

i am trying to create a intent with output context and for that i was following example provided on git. but problem is that it needs session ID and context ID which i don't have because i have not created anything yet. So i gave it some hard coded value so my output context looks something like this.
 "outputContexts":[            {               "name":"projects/modroid-server/agent/sessions/modroid-server-category/contexts/modroid-server-category_follow-Up",             "lifespanCount":10,             "parameters":null          }       ]
but it does not create my output context in intent however it creates intent properly. So my question is how can i create a output context and intent together in single API call

Are you just trying to pass custom data in your payload? If so, you don't need to create an intent for that, you can create a session context.

No i am not passing any custom data

Hi,
How can i create context first and then link it to then intent which i will
be creating in second call ?.
As i know creating context needs session ID. And session ID will be
separate for every user.
I am confused can you provide me working example(code) which create both
context and intents which has output context.
thanks,
faisal,
from Pragiti Team
On Sat, Dec 15, 2018 at 4:55 AM Noah Negrey<EMAIL_ADDRESS>wrote:

You'll have to create 2 separate calls. The first to create your output
context, the 2nd to create your intent. The API currently doesn't support
creating both at once.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/googleapis/nodejs-dialogflow/issues/225#issuecomment-447508613,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AW05TUg5Yb8Mwi8YRP-6bikqk56FvgHlks5u5DNZgaJpZM4YvOdt
.

It may be easier to do this via the console, documented here https://dialogflow.com/docs/contexts/input-output-contexts
Unless you need to do it dynamically?

I know it can will be easier to create it through console. But we want to
create output context through API while creating intent. Please help me
with some sample code. I am struggling for this from weeks
On Fri, 21 Dec, 2018, 10:19 PM Noah Negrey<EMAIL_ADDRESS>wrote:

It may be easier to do this via the console, documented here
https://dialogflow.com/docs/contexts/input-output-contexts
Unless you need to do it dynamically?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/googleapis/nodejs-dialogflow/issues/225#issuecomment-449439208,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AW05TfYYcAoGCvBvy_lEgYG9DinP27s9ks5u7REIgaJpZM4YvOdt
.


[BUG] "Get AppleIntelInfo" not working with SIP enabled

Hi there,
I notice that with fully enabled SIP, AppleIntelInfo kext can't be loaded (for certificate reasons I think).
The obvious consequence of this statement is that Hackintool produces a blank output.

What can it be? Do I have to fully disable SIP (or simply allowing loading of unsigned kexts)? If yes, it might be useful checking the SIP status before injecting the kext and displaying an error message if the SIP status can't make the loading of the kext.
Please let me know
Have a nice day

Bump! @headkaze


How to  send push notification on ios device and multiple devices ??

as seen on the README file:

On iOS, set content_available when the app server needs to send a Send-to-Sync message. An inactive client app executes your logic in the background, while an app in the foreground passes the message to didReceiveRemoteNotification. As seen in FCM Docs)

Some iOS users report a delay receiving the notifications and even a 'not receive at all' scenario if the priority field is not set. This is due to a delivery policy with APN (See APNs Provider API for a more detailed info)

To send notifications for multiple devices, you must use the field registration_ids instead of to in your json message. See FCM HTTP protocol documentation for details


Working intermittently after updates a few days ago

This isn't working 100% of the time now. The credentials file is not getting generated intermittently.
Using google chrome: Version 66.0.3359.139 (Official Build) (64-bit)

Have you tried opting out of the 'SessionDuration' feature in the options panel? Set this setting to 'no' and see if this works for you.

That did it; thank you sir!


Async Cleanup

From #83

Hi, so at the moment I feel that I still want to keep the ability for functions executed in that event loop to say "I need to run again". I'm planning (and actually always have been) to use it once libcamera gives us some better tools for synchronising when control changes happen. I think I gave an example of this somewhere, but the plan is that you'd be able to do things like
id = picam2.set_controls(control_list)
request_where_it_has_happened = picam2.capture_request(sync_id=id)

and the second call here would wait for libcamera to tell us that those control changes have now happened. There will also be the ability to pass in a list of control-lists and it will work through them all as fast as it can giving you one frame with each set applied. This is all still dependent on what happens within libcamera itself - we've made some proposals to the team but of course it's their decision how they want to take things forward!

This makes sense. What are your feelings on making that an exception that is explicitly handled and requeued? It does seem to an exceptional case compared to a majority (all) of the 20 or so calls here.

That sounds like it might be an idea. What exactly did you have in mind? Maybe it would be worth making a PR with just that one change so that we could take a look and consider merging it. If you could make sure it's done on the current top of the "next" branch (I tried merging one of these PRs previously and got into a bit of a mess doing manual conflict resolutions). Thanks!

Can do. Just to clarify, you want PR's up to date base on the current state of the "next" branch generally? Is the goal here to keep the main branch consistent with the most recent release?

Yes, "main" is supposed to correspond exactly to the current release, and whenever we make a new release we copy "next" on top of "main".

That is a little unusual.... In my experience people typically use main as the current dev target then do release tags, which y'all are doing also? confused
This works, but a bunch of the structure of github will assume that main is the current target (will open PR's or help you merge against that ect.
/shrug
Moved this all to #387


Add stop and delete buttons to sample library (supersedes #3339)

Based on the work by @rdcklinux in #3339.
The play button becomes a stop button while playing (and goes back to "play" after the sample has finished playing), a delete button is added in the last column.
I removed the global buttons that thus became irrelevant, so in the end it looks like that:

Before the PR, the SampleLibrary looks like that:

A further improvement would be to find a better place for the "Load Sample" icon, which is now alone on its line.

Why the X as delete button? I know it happens in some places within Godot, but the trash can icon is much better to represent deletion.

Why the X as delete button? I know it happens in some places within Godot, but the trash can icon is much better to represent deletion.

Because that's the delete button that is used everywhere in the editor UI (get_icon("Del","EditorIcons")). I'm not against changing it, but it should be done in the editor theme directly.

Or I see that we have indeed a trash icon now, that was changed between 1.1 and 2.0 (get_icon("Remove","EditorIcons")). Don't know why both icons were kept, that's confusing IMO.
I'll change this PR to use the "Remove" icon, but we should maybe drop "Del" altogether.

I rebased to change the icon as discussed above.


fix: update sha256sum hash to current value

It seems that the LAPACK team have updated the manpages tarball:
[vagrant@uiswhwks1290033 vagrant]$ brew install lapack
==> Installing lapack from homebrew/dupes
==> Using Homebrew-provided fortran compiler.
This may be changed by setting the FC environment variable.
==> Downloading http://www.netlib.org/lapack/lapack-3.6.0.tgz
Already downloaded: /home/vagrant/.cache/Homebrew/lapack-3.6.0.tgz
==> cmake . -DBUILD_SHARED_LIBS:BOOL=ON -DLAPACKE:BOOL=ON -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=
==> make install
==> Downloading http://netlib.org/lapack/manpages.tgz
######################################################################## 100.0%
Error: SHA256 mismatch
Expected: 055da7402ea807cc16f6c50b71ac63d290f83a5f2885aa9f679b7ad11dd8903d
Actual: 96d6d37b49e01143cf27e1980534ee21e01de6e93c1455c63d1e0a799f799dcb
Archive: /home/vagrant/.cache/Homebrew/lapack--manpages-3.6.0.tgz
To retry an incomplete download, remove the file above.

I updated the formula with the current sha256sum hash.
Now it installs correctly:
[vagrant@uiswhwks1290033 ~]$ brew install lapack                                                                     ==> Installing lapack from homebrew/dupes
==> Using Homebrew-provided fortran compiler.
This may be changed by setting the FC environment variable.
==> Downloading http://www.netlib.org/lapack/lapack-3.6.0.tgz
Already downloaded: /home/vagrant/.cache/Homebrew/lapack-3.6.0.tgz
==> cmake . -DBUILD_SHARED_LIBS:BOOL=ON -DLAPACKE:BOOL=ON -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=
==> make install
==> Downloading http://netlib.org/lapack/manpages.tgz
Already downloaded: /home/vagrant/.cache/Homebrew/lapack--manpages-3.6.0.tgz
/home/vagrant/.linuxbrew/Cellar/lapack/3.6.0: 12,629 files, 27.7M, built in 6 minutes 21 seconds

Can you check with the developers to confirm this was an intentional change? Thanks!

I left a message on the lapack boards and will update this thread with the link when a moderator approves it for public view.

Thanks so much!

The plot thickens: http://icl.cs.utk.edu/lapack-forum/viewtopic.php?f=4&t=4925#p11836
We'll see if they give us a way to generate the manpages automatically. If not, I'm happy to carry on with the new sha256 hash. Let's give it until Monday.

Figured it out! No sha256 hash necessary.

Ah. Forgot that doxygen wasn't available in basic installations.
Shall I depends_on "doxygen" or change the sha256sum?

Could we make the manpages optional?
option "with-doxygen", "Build man pages with Doxygen"
depends_on "doxygen" => :optional
[...]
system "make", "man" if build.with? "doxygen"

Word.

Thanks! Merged as bca82998884dd6e4f10adca58dafe859b657c944.


How to install html-template-card?

Version of the custom_component

v1.2.2
Configuration
thermiq_mqtt:
  mqtt_node: ThermIQ/ThermIQ-mqtt-bb

(See https://github.com/ThermIQ/thermiq_mqtt-ha/issues/11 about that.)
Describe the bug
I can't figure out what to do with https://github.com/ThermIQ/thermiq_mqtt-ha#lovelace-configuration.
It says that html-template-card and fold-entity-row are required, but I can only find fold-entity-row in the HACS frontend search. I suspect that "HTML Jinja2 Template card" might be what I need given that https://github.com/PiotrMachowski/Home-Assistant-Lovelace-HTML-Jinja2-Template-card has custom:html-template-card in an example, but I'm not sure.
Debug log

2021-12-22 17:03:30 WARNING (MainThread) [homeassistant.components.automation.thermiq_input_numbers_to_mqtt] ThermIQ Input numbers to MQTT: Already running
2021-12-22 17:08:27 ERROR (MainThread) [custom_components.hacs] Could not use repository with ID 265059207 ('NoneType' object has no attribute 'get_releases')
2021-12-22 17:21:43 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 16d1f5e8cd67fbc9557e6bedab291788cca090450f1a50436b85af1ed5ae344b from <IP_ADDRESS>
2021-12-22 17:21:43 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 16d1f5e8cd67fbc9557e6bedab291788cca090450f1a50436b85af1ed5ae344b from <IP_ADDRESS>
2021-12-22 17:21:43 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 16d1f5e8cd67fbc9557e6bedab291788cca090450f1a50436b85af1ed5ae344b from <IP_ADDRESS>
2021-12-22 17:21:43 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 16d1f5e8cd67fbc9557e6bedab291788cca090450f1a50436b85af1ed5ae344b from <IP_ADDRESS>
2021-12-22 17:21:43 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from <IP_ADDRESS> (<IP_ADDRESS>). (Home Assistant/2021.11.1 (io.robbie.HomeAssistant; build:2021.266; iOS 15.1.0) Alamofire/5.4.4)
2021-12-22 17:22:03 WARNING (MainThread) [homeassistant.components.websocket_api.http.connection] [1772643520] Disconnected: Did not receive auth message within 10 seconds
2021-12-22 17:22:45 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 16d1f5e8cd67fbc9557e6bedab291788cca090450f1a50436b85af1ed5ae344b from <IP_ADDRESS>
2021-12-22 17:31:50 ERROR (MainThread) [custom_components.hacs] Could not use repository with ID 151280062 ('NoneType' object has no attribute 'get_releases')
2021-12-22 17:32:07 ERROR (MainThread) [custom_components.hacs] Could not use repository with ID 150781994 ('NoneType' object has no attribute 'get_releases')

html-template-card from HTML Jinja2 Template card is the one to use. Will also start using number-box-card from Number Box in the near future. Documentation will be updated


Suitability Analysis Notebook Edits

Changes

Remove unnecessary tqdm dependency and simplify file loading. These data files are 4MB and 315KB in size. There's no need to make things more complicated with extra dependencies to have a progress bar of the download. pd.read_csv('https://...') makes things really easy.

Simplify removing low-frequency venue categories. One of the existing cells lists dozens of venue names as literal strings, and then removes those rows from the dataset. I think this is really confusing to someone who isn't familiar with the data. It's much better in my opinion to discuss that this column has a long tail of values that only appear once in the dataset, and remove columns based on occurrences rather than solely on name. The changed code filters out all categories with frequency less than MIN_VENUES which has a default of 10.

Simplify mode calculation. Pandas has built-in support for mode which is much much cleaner. https://stackoverflow.com/a/54304691

Use H3's Numpy-int bindings. This makes the H3 operations orders of magnitude faster and also simplifies the code greatly by not needing to use string operations to parse latitude-longitude tuples.

Remove seaborn dependency. It isn't used in this notebook.

Update dependencies in requirements.txt. Allows for using this notebook in binder without any additional installation.

Questions

There's a line that says "According to the graph above, the optimal value is 7". As someone not intricately familiar with k-means clustering, I have no idea why the graph suggests the optimal value is 7. Could you explain that a little more?

Towards the end of the notebook, you set a column with a constant X_test_H3["Venue Category"] = "Pizza Place". Why do you do this? It doesn't look like we use Venue Category after that, so can we just delete this line?

Where is this data from? What's the license?

TODO:

[ ] Move data into this repository.

Just responding to 1 and 2 right now; need to think a little bit more about the other points.

Although we do not have such large files (4 MB and 315 KB). There may be a problem loading data. (depends on your server). For this reason, we decided to use the download progress bar. But it is your decision.

There may be a problem loading data.

I'm not sure what you mean here. Do you mean that the connection fails for some reason? pd.read_csv will raise an error if the request failed or if the response couldn't be parsed as a CSV file. Additionally, we expect these examples will most commonly be run from Binder, which is hosted in the cloud, and where a 4MB file will be downloaded in a fraction of a second.
I think it's important for these notebooks to be as simple as possible while achieving the stated goals of the notebook, so that as many users as possible will be able to follow the notebooks, even if they aren't experienced in Python/Pandas/etc.

So, are you sure you got rid of all unnecessary categories, by simplify removing low-frequency venue categories? Otherwise, it may be worse for our model.

My main point was: there was previously a list of 73 literal category names that you were removing from the data, and there was no explanation what was happening. If we revert to what you had, I think it would be important to explain in the notebook:

Why those categories exist in the data
Why we need to remove those categories before running the model
How you chose which categories to remove

It was my assumption that there was a strong overlap between the categories you wanted to remove and the categories that were infrequent in the dataset, but maybe that isn't true.

Landing this in the hope that it will fix the deps and make the notebook runnable in binder.
https://hub.gke2.mybinder.org/user/unfoldedinc-examples-y6tau8ll/lab/tree/notebooks/10-Suitability_Analysis.ipynb

@Evin-K Please update the notebook if you disagree with some changes.

You should be able to load this notebook on binder at this link: https://mybinder.org/v2/gh/UnfoldedInc/examples/master?urlpath=lab/tree/notebooks/10-Suitability_Analysis.ipynb


chaire-lib: Make setup work and remove create-project

The create-project command is not required anymore in this repo, one just has to provide a configuration file in the .env
Also remove comments and do proper import of knexfiles in the setup task.

@greenscientist This is the commit from #443 that is not migration-related. I'll do the migrations separately.


Doesn't properly parse variables within an @import if not at begnning of string

Though the following will import/compile correctly (since the variable is at the beginning of the string
@import<EMAIL_ADDRESS>
this will not, because it doesn't parse out the variable (@swatch is the name of the bootswatch)
@import<EMAIL_ADDRESS>

I've added test for this issue, and it passes.
Can you pls provide a failing test case?

I have a pretty complicated integration, but the only difference I can see for the failed import (no error, just doesn't pick up the swatch styles) is that I set the variable (to compile bootstrap3) via $compiler->setVariables()...it appears my other compilations event with the 1st example above are not correctly importing the 'swatch'.  A similar compilation I use in a 'wrapped' bootstrap3 with the 'swatch' variable set in the wrapper .less file (as your test does) works (see below).
.exp-skin {
	@swatch: "cerulean"; // newui uses this swatch
	@themepath: "cerulean"; // hack to prevent crash

	@import "bootstrap.less";
}

Can you please provide minimal failing test case for this? I'm not able to reproduce this.

A better test (#50) would be
$parser->setVariables(array('swatch'=>'foobar;');
$parser->parseString('@import "../../../bootstrap3/less/@{swatch}/variables.less";');

instead of
$parser->parseString('@swatch: foobar;@import "../../../bootstrap3/less/@{swatch}/variables.less";')

which fails for me, and accurately reflects what my code is doing

It looks as if the variables are only passed to the rule parser if they are a part of the string/file (ruleset) being passed and NOT any variables (customVariables?) set by method call.  Maybe around the ILess_Parser_Core->to CSS() method during the precompilation visitors call.


Error when wanting to upscale

I kept getting this:
upscale() takes 7 positional arguments but 8 were given
I think 4x upscale should just be a button. Not drag and drop and needing prompting. But I am curious how it could actually work, if it can add details while upscaling.

Now there is another error when you try to upscale:
'NoneType' object is not callable

@spl3g fixed now, thanks


ruby 2.2.0 TypeError: nil can't be coerced into Float

Tell us about your environment
Ruby Version: 2.2.0
Framework Version (RSpec, Minitest, FactoryGirl, Rails, whatever): RSpec Core 3.4.1
TestProf Version: 0.4.8
What did you do?
Ran this command:
RD_PROF=1 bundle exec rspec /path/to/spec_spec.rb

What did you expect to happen?
Tests would run, slowest let/before blocks would be displayed.
What actually happened?
Error message:
bundler: failed to load command: rspec (/Users/rolah/Code/project/vendor/bundle/ruby/2.2.0/bin/rspec)
TypeError: nil can't be coerced into Float
  /Users/rolah/Code/project/vendor/bundle/ruby/2.2.0/gems/test-prof-0.4.8/lib/test_prof/rspec_dissect/rspec.rb:39:in `+'
  /Users/rolah/Code/project/vendor/bundle/ruby/2.2.0/gems/test-prof-0.4.8/lib/test_prof/rspec_dissect/rspec.rb:39:in `example_finished'

the fix seems to be to provide a default value:
      def example_finished(notification)
        @examples_count += 1
        @examples_time += notification.example.execution_result.run_time || 0 # <-- default value
      end

It doesn't crash but at the end of it, all I see is this:
Top 5 slowest suites (by `before(:each)` time):

MyController (./spec/controllers/my_controller_spec.rb:3) – 01:20.503 of 01:33.838 (106)

Top 5 slowest suites (by `let` time):

MyController (./spec/controllers/my_controller_spec.rb:3) – 00:00.018 of 01:33.838 (106)

(There are only a few let blocks in that test suite so I'm sure the output is correct)

Thanks for the report and the PR, @rudolfolah!
It turned out that RSpec 3.4 doesn't provide run_time in example_finished callback; but actually, we can rely on other callbacks (example_passed, example_failed) instead, where this information is available.
So, I've another PR which fixes this. Also, it excludes pending/skipped specs from the stats

Is this how it's supposed to look?

Looks like you have a lot of let!-s, am I right?

in the controller spec there's a few let calls, no let! though, we also have a lot of before blocks. also we have loops of arrays to define more tests. I'm thinking that combining them into one big test would help but still investigating.
I'm wondering if there's a way to see a breakdown of specific spec causing issues; for example we have nested describe and context blocks, would be cool to see the 2nd level of the tree other than the whole test suite.

I'm wondering if there's a way to see a breakdown of specific spec causing issues; for example we have nested describe and context blocks, would be cool to see the 2nd level of the tree other than the whole test suite.

I was thinking about such kind of report, but haven't found a good way to represent this information yet.
If I understand you correctly, for each example group you want to see something like this:
top-level-group
  |
  before/let stats
  |
  level-1 group 1
  |   |
  |    before/let stats
  |   |
  |   level-2 group 1
  |        |
  |        before/let stats
  |
  level-1 group 2
      |
      before/let stats
  ...

Am I right?

yep exactly; but I guess across a large test suite and multiple files this type of granularity would be too fine-grained?

this type of granularity would be too fine-grained

yeah, that's the problem; need a better way to represent this information. Maybe, some kind of interactive chart (like FactoryFlame report)


[EmbeddingAPI] Move some cases to v6

-Move 6 cases to v6 & update related files
-Cover the XWalkActivity and XWalkInitializer two ways
Impacted tests(approved): new 0, update 6, delete 0
Unit test platform: [Android]
Unit test result summary: pass 6, fail 0, block 0

@Shao-Feng please help to review.