Mm auth0 implementation

Description
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Change Status

[ ] Complete, tested, ready to review and merge
[ ] Complete, but not tested (may need new tests)
[ ] Incomplete/work-in-progress, PR is for discussion/feedback

How Has This Been Tested?

[ ] Test A
[ ] Test B

Checklist

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

 As a user, I would like to land on the home page.

 As a User, I would like to Sign-up and Login using Auth0


Disable emoting on log in for existing buffs

CLEU will print out previously applied buffs/the game will "reapply" buffs with the same combat log that was originally given.
store the CLEU buffs to prevent emoting on login

this also applies to changing areas/zoning, need research on PLAYER_ENTERING_WORLD calls and/or PLAYER_LOGIN calls.

turns out fixing issue #3 also fixed this issue - using subevent == "SPELL_CAST_SUCCESS" as part of the if statement params in the OnEvent() prevents spell re-applications (like logging in or zoning) to emote at no one.

checked in prod, all good!


Cannot create task with images larger than ~900kb

We faced with problem. Additional information is on screenshoot:

And i've got an issue with the amount of files >1k get and error https://monosnap.com/file/PmcmkZwTFzf53uhkt6wGiOamrIK5jg

Corresponded traceback:
2019-09-17 14:15:11,267 DEBG 'rqworker_default_1' stderr output:
[2019-09-17 14:15:11,267] INFO cvat.server: create task #7

2019-09-17 14:15:41,529 DEBG 'rqworker_default_1' stderr output:
14:15:41 OSError: image file is truncated (21 bytes not processed)
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/rq/worker.py", line 812, in perform_job
    rv = job.perform()
  File "/usr/local/lib/python3.5/dist-packages/rq/job.py", line 588, in perform
    self._result = self._execute()
  File "/usr/local/lib/python3.5/dist-packages/rq/job.py", line 594, in _execute
    return self.func(*self.args, **self.kwargs)
  File "/usr/lib/python3.5/contextlib.py", line 30, in inner
    return func(*args, **kwds)
  File "/home/django/cvat/apps/engine/task.py", line 283, in _create_thread
    width, height = extractor.save_image(frame, image_dest_path)
  File "/home/django/cvat/apps/engine/media_extractors.py", line 68, in save_image
    image = image.convert('RGB')
  File "/usr/local/lib/python3.5/dist-packages/PIL/Image.py", line 879, in convert
    self.load()
  File "/usr/local/lib/python3.5/dist-packages/PIL/ImageFile.py", line 228, in load
    "(%d bytes not processed)" % len(b))
OSError: image file is truncated (21 bytes not processed)
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/rq/worker.py", line 812, in perform_job
    rv = job.perform()
  File "/usr/local/lib/python3.5/dist-packages/rq/job.py", line 588, in perform
    self._result = self._execute()
  File "/usr/local/lib/python3.5/dist-packages/rq/job.py", line 594, in _execute
    return self.func(*self.args, **self.kwargs)
  File "/usr/lib/python3.5/contextlib.py", line 30, in inner
    return func(*args, **kwds)
  File "/home/django/cvat/apps/engine/task.py", line 283, in _create_thread
    width, height = extractor.save_image(frame, image_dest_path)
  File "/home/django/cvat/apps/engine/media_extractors.py", line 68, in save_image
    image = image.convert('RGB')
  File "/usr/local/lib/python3.5/dist-packages/PIL/Image.py", line 879, in convert
    self.load()
  File "/usr/local/lib/python3.5/dist-packages/PIL/ImageFile.py", line 228, in load
    "(%d bytes not processed)" % len(b))
OSError: image file is truncated (21 bytes not processed)

2019-09-17 14:15:41,647 DEBG 'rqworker_default_1' stderr output:
14:15:41 Cleaning registries for queue: default

@vskubriev
Could you send us this file for investigating?

@cvadim4two
I suppose your case isn't related with image size. Just the whole request body is too large.
Try to use share to create a task with this set of files.

@nmanovic
Also, I suppose it would be better to handle case of @cvadim4two. At least by showing better message.
Something like: "Too much data to upload thought a browser. Try to create this task via a shared file storage"

@cvadim4two
I suppose your case isn't related with image size. Just the whole request body is too large.
Try to use share to create a task with this set of files.

Can you suggest: where is request body size should be increased in cvat (deployed with docker-compose) ?

@vskubriev
You can try this: cvat/settings/base.py (the latest 4 lines are responsible for that)

@vskubriev , if you can share with us some files (generated or original) to reproduce the issue it will be easy for us to fix.

@nmanovic A manager do not have time now for search those images. We will do it later. Please wait.

451 files to reproduce https://drive.google.com/drive/folders/1hXbCafBqGyxBvovdmRYlkO9s0uX3BNKn?usp=sharing.
Stable got an error if I try to upload it via local


NumberBox ValueChanged fires after ContentDialog PrimaryButtonClick

Describe the bug
If a NumberBox is used within a ContentDialog and the user goes from entering a value immediately to clicking the ContentDialog's PrimaryButton, inspection of the NumberBox's Text and Value properties from within the PrimaryButtonClick method can yield "" and NaN respectively.
Steps to reproduce the bug

Create a ContentDialog with a NumberBox child control, PrimaryButtonText and a PrimaryButtonClick defined in code-behind.
Add a breakpoint within the PrimaryButtonClick method
While debugging, enter a value into the NumberBox then press the primary button without clicking on anything else prior to this.
Inspect the NumberBox's Text and Value properties

Expected behavior
Properties should reflect the value entered.
Version Info

NuGet package version:
[Microsoft.ProjectReunion 0.8.1]
[Microsoft.ProjectReunion.Foundation 0.8.1
[Microsoft.ProjectReunion.WinUI 0.8.1]

Windows app type:

UWP
Win32

No
Yes

Windows 10 version
Saw the problem?

Insider Build (xxxxx)

October 2020 Update (19042)
Yes

May 2020 Update (19041)
No

November 2019 Update (18363)

May 2019 Update (18362)

October 2018 Update (17763)

April 2018 Update (17134)

Fall Creators Update (16299)

Creators Update (15063)

Device form factor
Saw the problem?

Desktop
No

Tablet
Yes

Xbox

Surface Hub

IoT

I don't reproduce this in Winui2.
NumberBox only validates its input when ValidateInput is called, which usually happens when the control loses focus or when the user hits enter.  This is the only time that the value property is updated.  However the control should lose focus on pointer down and the dialog's primary button should activate on pointer up, so this scenario should work correctly...
@dtynewydd do you happen to have made the primary button of the content dialog unfocusable? Is this by chance an islands scenario?
You might be able to work around this issue by setting the NumberBox.ValidationMode property in the ContentDialogs primary button clicked handler. This will force a Validate input to be called.

@StephenLPeters I've currently got a workaround by using a normal TextBox with the InputScope set to Number.
I can't see any reason why the primary button would be unfocusable. No islands are used, the app is fully WinUI3. When debugging, I can see that the NumberBox has lost focus, so it sounds like ValidateInput should have been called. If it helps, this was using a touch interface (I've just seen that I hadn't formatted the tables correctly in my original post).

Interesting, does the issue still reproduce when you use mouse?

It doesn't seem to reproduce when using a mouse, even with the soft keyboard

@teaP Thoughts?

Hmm. When we get LostFocus, ValidateInput is called right away. I suppose my only guess is that it isn't happening in a timely manner with touch somehow. I'd have to set up a repro and debug.

@teaP @StephenLPeters has there been any progress on this?

Perhaps an option could be to update the value on LosingFocus instead of LostFocus to avoid the timing issue.


Implementation should aim to use core::ptr::NonNull internally

Make sure the implementation is like std::vec::Vec where the size of Option<Vec> is the same as Vec.

Unfortunately, this can't be implemented for the MiniVec because we've no way of knowing what's a default-constructed state or not. Vec can infer it has a dangling pointer by checking the capacity().

Unfortunately, this can't be implemented for the MiniVec because we've no way of knowing what's a default-constructed state or not. Vec can infer it has a dangling pointer by checking the capacity().


Fix the code sample for changing logo

Add the missing ending quote.
Improve the format.

Thankyou for fixing this !!!


Uniminuto Colombia

Requesting to include Uniminuto emails.

@sdkcarlos I am sorry, the domain uniminuto.edu.co is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Program. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).


databags not been used at node

Cookbook version
latest 5.3.1
Chef-client version
chef-client -v
Chef: 13.8.5
Platform Details
server is latest with ubuntu and node im testing with is centos
Scenario:
I bootstraped and adding current users to be manage under chef.
I did not expect any changes with current users.. but it did not modify the comment information
after this Im trying to create with chef a total new user called testuser with no success
it just creates the groups
Steps to Reproduce:
always
Expected Result:
add new users, modify current users
Actual Result:
nothing happens, runs and says nothing to change after the first time that added the groups.
run chef-client in :debug mode and no mention of errors nor reading databags or trying to create users at all.. like invisible
Extra more details.
I follow the instructions on here, on the front page.
I include the users cookbook into my made from scrach cookbook
where I include in the metadata file the users cook book
example default.rb
include_recipe "users"

users_manage 'mygroup' do
  group_id 2000
  action [:create]
  data_bag 'MYUSERSDATABAG'
end

the other 2-3 groups are setup the same way with diff databags with users for that group
like I say, I am fine with the current users not been modified but new users are not getting  even created..
Also added action create inside the item in the databags, no luck
I created t he default databag users and put the people in there, no luck
I enabled :debug searched results looking for errors... nothing.
I am starting to think is just plain ignoring the databags, like not even trying to read them.
Also I made sure the key is on /etc/chef/encrypted_data_bag_secret
I read the documentation over and over, here and on chef site... cant see what is wrong..

The issue was already opened https://github.com/chef-cookbooks/users/issues/420 and isn't a core chef issue. Closing this as a dupe/not applicable.


picard-tools: 2.18.11 -> 2.18.12

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from picard-tools.
meta.description for picard-tools is: '"Tools for high-throughput sequencing (HTS) data and formats such as SAM/BAM/CRAM and VCF."'.

Checks done (click to expand)

built on NixOS
Warning: no invocation of /nix/store/kr7f99imsnn1vzfaiq336ws0bdq9dqv5-picard-tools-2.18.12/bin/picard had a zero exit code or showed the expected version
0 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found 2.18.12 with grep in /nix/store/kr7f99imsnn1vzfaiq336ws0bdq9dqv5-picard-tools-2.18.12
directory tree listing: https://gist.github.com/c6dca42decaffae89205d976c9ebc8c5
du listing: https://gist.github.com/b173f8033a189d661803f037f371f751

Instructions to test this update (click to expand)

One-time optional setup to skip building using Cachix:

Install cachix from https://cachix.org/
Use r-ryantm's cache:cachix use r-ryantm

Test this update by entering a nix shell, seeing what is inside the
result, and if applicable, running some binaries:
nix-shell --pure -I nixpkgs=https://github.com/r-ryantm/nixpkgs/archive/f72cba212cef160eb82a9f3c7cbf0e983f7af9d0.tar.gz -p picard-tools
ls -la /nix/store/kr7f99imsnn1vzfaiq336ws0bdq9dqv5-picard-tools-2.18.12

cc @jbedo for testing.

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: picard-tools
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnfree = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnfree = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: picard-tools
Partial log (click to expand)
                                 Dload  Upload   Total   Spent    Left  Speed
100   600    0   600    0     0   3947      0 --:--:-- --:--:-- --:--:--  3947
100 14.7M  100 14.7M    0     0  21.7M      0 --:--:-- --:--:-- --:--:-- 34.8M
copying path '/nix/store/6i2l9mbszlds0p36wgips3d0p6rmnwb6-polkit-0.115' from 'https://cache.nixos.org'...
copying path '/nix/store/488aya5f34bry24dx185k595ygrxbdnb-gconf-3.2.6' from 'https://cache.nixos.org'...
copying path '/nix/store/sw6l31gjkw31kc2gqc49dn98hzdiqmci-gnome-vfs-2.24.4' from 'https://cache.nixos.org'...
copying path '/nix/store/91wwfym087fcrg2iscd5bz3qq1zgz1k8-openjdk-8u181b13-jre' from 'https://cache.nixos.org'...
building '/nix/store/1cy6lc3n42lh5v3qn48xdhnn8vfckfg8-picard-tools-2.18.12.drv'...
installing
/nix/store/kr7f99imsnn1vzfaiq336ws0bdq9dqv5-picard-tools-2.18.12

Success on x86_64-darwin (full log)
Attempted: picard-tools
Partial log (click to expand)

trying https://github.com/broadinstitute/picard/releases/download/2.18.12/picard.jar
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   600    0   600    0     0   1158      0 --:--:-- --:--:-- --:--:--  1156
100 14.7M  100 14.7M    0     0  5293k      0  0:00:02  0:00:02 --:--:-- 8945k
copying path '/nix/store/hn4b0kmqmx08i953lkgd3507y4q5sbrx-zulu1.8.0_121-<IP_ADDRESS>' from 'https://cache.nixos.org'...
building '/nix/store/big6q3ihmvvd1s4f9572ppkjmb1qzq02-picard-tools-2.18.12.drv'...
installing
/nix/store/jqk38jnwq5yakcm76xlwnw9qgkya0c9w-picard-tools-2.18.12


A simple game using Kotter

First off, I like Kotter a lot, thank you for your work!
I wanted to see how versatile it is, so I'm making a small game with a main game loop, continuous rendering and multiple screens all in Kotter. I mostly do Android development so I wrote a very simple MVVM wrapper around Kotter session and render scopes and it seems to work well.
https://github.com/LeafyLappa/kcooking/tree/dev
Although it's more of a proof-of-concept thing, the game runs and there's basic gameplay!

Hey wow -- that's great!!! Thank you so much for letting me know about your project!
Let me know if you had any feedback, things like ways the code was hard to learn or comments in the code were hard to read or the documentation could have used more detail or you wanted to do something which wasn't possible, or whatever. (The fact you're talking about session and render scopes makes it sound to me like you actually dove a bit below the surface, which is amazing)
I was planning, if the community ever started using Kotter, to create a "Projects written in Kotter" section in the README. Would you be comfortable if I shared your project there? Or do you feel it's still early?

It's a bit early but it could be mentioned for the system of screens that I made 😄
Kotter render scopes are not meant to be stateful (livevars are awesome but definitely too simple for this, which is not bad, and animations stick to the section they're used in) so I had to come up with a workaround. The entire app essentially uses a single section / main render scope which is perpetually rerendered at 60 FPS and the UI state definitions are moved to implementations of Renderable and Screen. I don't think the idea behind Kotter particularly fits this purpose, so it's just a cool hacky example
So regarding documentation, I think everything's great. When I was starting, for a while I couldn't understand the difference between session and section, but I guess it's just me. One thing that I came across is that there are RenderScope helper functions which create a style section scope, such as yellow, bold and clearColor, but there isn't a parametrized basic color function, and the rgb function does not take instances of RGB class...
You can make text yellow:
yellow {
    text("yellow text")
}

But if you have the color stored in a variable, you have to manually create the scope because there's no corresponding function:
val yellow = Color.YELLOW
scopedState {
    color(yellow)
    text("yellow text")
}
// could be
color(yellow) {
    text("yellow text")
}

Meanwhile rgb function is seemingly limited to this (destructuring does not work):
val rgb = RGB(0f, 1f, 0f)
rgb(rgb.r, rgb.g, rgb.b) {
    text("green text")
}
// could be
rgb(rgb) {
    text("green text")
}

These are tiny inconveniences though and I might be missing something 😄

Thanks for the feedback! If you ever think of more feel free to let me know anytime.
Hahaha btw check out this commit I just happened to submit last night: https://github.com/varabyte/kotter/commit/9c4d82331e31bfcdb00840de6f40f6a57e930875
I'm making a game too (well, a prototype, final pass will be on the web) and did the same as you, basically one main section that I just keep rerendering: https://twitter.com/bitspittle/status/1523024371706597376. When you have an external data model, that's indeed the way to go, using rerender manually. I do that in the doom fire example, for example.
(BTW, not sure if you have Twitter, but if you ever post about your Kotter project, I'd be happy to retweet it, not that I have a huge following or anything, but it's the least I could do!)
I don't have any animations in my game, so I just rerender on key press.
Sounds like you eventually figured out sections vs. sessions or is it still a bit unclear? I'll review the docs at some point and see if i can think of something that makes sense to say early on.

Added the missing color methods that you pointed out (that was just an oversight!)
Submitted 9c21a5aa74e9efdd20b99c444ea8220da54db1b7 which now stops an animation's timer when it is no longer rendered for a frame. (When I first created animations, they were an early piece, I didn't have all the functionality in place I do now, so I lazily just let the timers keep running. I'm happy now that this behaves better though.)

I am looking into a few more things today, after which, I'm aiming to publish 0.9.9 which will have these fixes.

And I added a bit to the README basics section around sessions and sections. Not sure if it would have cleared things up for you when you were first learning about Kotter, so feel free to let me know if there's still anything you might also want to call out.

And v0.9.9 is now published, in case it helps :)
I am going close this issue, because I think I addressed all the feedback within. But ping this bug if I missed anything or didn't address something properly, or you can always open a new issue.
You are of course welcome to reach out to me in my Discord server at any time. I'm very active there in case you ever wanted to ask me anything about Kotter (or beyond)
Thanks for trying out Kotter and I'm glad you enjoyed it :). And if you continue doing work on kcooking, good luck with the project!


Double precision

About commit [694c8df]
It seems that we had to increase a lot the tolerance to pass the test. It is not really the case.
Indeed, we were comparing with a very small tolerance numbers stored as float, which resulted before in a difference of 0.
See attached code for a simple example: a is considered equal to b because the tolerance is smaller than float accuracy.
#include <stdio.h>
#include <math.h>

int main(){
  float a = 4.5;
  a += 1e-8;
  float b = 4.5;
  if (fabs(a-b) < 1e-12)
    printf("a == b\n");
  else
    printf("a !=  b\n");

  return 0;
}

There's considerable efforts in the modelling community to explore reduced precision, because this will yield much higher performance on, e.g., GPUs.  Just defaulting to double is contrary to this tendency.
Would it make sense to consciously handle precision and formulate tolerances in terms of machine precision?

Indeed and we try to avoid using double precision where it's not necessary. Then why this change?
It solves a numerical issue. In coastal flows, the particles tend to follow the coastlines, and can be very close to the coast. Impermeable boundary condition of the input data combined with a small time step (~15 minutes) should prevent the particles of beaching, but rounding errors result in beaching particles. By converting lon, lat, depth to double precision, we reduce this un-controlled process by ~95%.
So it can have a large effect on the particle general dynamics.
How could we solve this problem differently?

Using unbeaching kernels (they have a variable effect depending on mesh resolution)
Hacking the interpolation scheme (if UV is zero, and I am just on the edge of the beach, I put back the particle on the other side of the edge)
By simply putting double precision as a flag of the particle set.

Any suggestion on the solution to adopt?


Change algorithms status from pending deprecate to deprecate

Summary
Details and comments

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.04%) to 84.643%

Files with Coverage Reduction
New Missed Lines
%

src/sabre_swap/layer.rs
2
98.95%

Totals

Change from base Build<PHONE_NUMBER>:
0.04%

Covered Lines:
64174

Relevant Lines:
75817

💛  - Coveralls

In regards of the test_optimizer(s)_xxx test cases I think these should be switched to the new Estimator based VQE since these tests will persist after the old algorithms are finally removed.
For test_pvqd it should be using the TimeEvolutionProblem from time_evolvers since its a time_evolver. I imagine it was slip that it used EvolutionProblem from the prior evolvers.


Window Walker doesn't work well with the mouse

Environment
Microsoft Windows [Version 10.0.18363.657]
PowerToys version: v0.16.0
PowerToy module for which you are reporting the bug (if applicable): Window Walker

Steps to reproduce
Press Ctrl+Win to launch Window Walker
Type the name of an application that's running
Click on the search result that appears in the dropdown.
Expected behavior
Window Walker is dismissed and the window corresponding to the selection is activated.
Actual behavior
The window is activated behind window walker, but window walker remains active. At that point, there is no clear way to exit window walker:

Pressing Escape doesn't work.
If I click on the window that is activated below window walker, window walker disappears but then the window that was originally active before launching WW is reactivated!

Also, for mouse usage, it would be nice to have an [x] to the right top corner of WW, to dismiss it.

For me clicking gives a preview and double clicking will take me to the window. I think that makes sense to me as it was the first thing I tried in this situation. Although maybe having it take you to the window on a click on a highlighted option makes more sense than simply double clicking.
It seems like pressing escape to get out of window walker currently only works when the input has focus (rather than the options).

That is by design. The idea is that you can filter down to a set of windows, click a single time with your mouse to see the window with everything else transparent, and then when you find your window, double click it to switch to that window.
I do understand though that there is no explicit guidance as to the above. Maybe something to consider for launcher @crutkas ?

I hadn't understood the single vs double click behavior. I think it might be more intuitive to give the preview on hover and confirm on single click.
Even with the current design though, there are some issues. If I select an entry with single-click, then Enter doesn't work anymore to confirm it. Also, if I click on the window that has been previewed itself, it dismisses WW and returns to the pre-WW state. I get that clicking outside of WW means Escape, but this seems rather odd.

@betsegaw, the single click doesn't seem to be working on the internal build of 0.16.1
IMO:

mouse hover == selection in list for up/down

this would give them the same behavior

click = switch to window

Single click doesn't make other windows transparent?

Single click doesn't make other windows transparent?

nope,  i get the effect but it doesn't do anything

The idea was to mirror what the keyboard enables. Quick previews of the windows as well as opening the windows. We could cut the capability to quick view the windows but not sure if the trade-off is worth it.

@betsegaw, to me, that is what hover would do.  For me, this is more of a context menu metaphor which is why i think onhover should do the previews and click does the opening.

Hover is a nice way to go. Anything that minimizes clicks is a win.

Another improvement I would suggest is that if the user clicks on a window while WW is open, that window should be activated (and WW dismissed).

since this will be migrating into Launcher, i don't know if we should really invest time here.


Pagination and search for certificate REST endpoint

Description
We would like to be able to paginate certificates and be able to search on specific certificates based on time, meteringpoint or type of certificate(production/consumption).
As our frontend is using it rigth now, we would like it to be a non-breaking change.
Basic Example
No response
Drawbacks
No response
Unresolved questions
No response

@ckr123 I have some questions for how you toughs are on pagenation.
Should pagenation be stabel while paging?
example: if you have 24 items on 3 pages, and a new one is inserted into the database while changing page.

should it be included in the results? and result in items might move on the pages?
or should it keep returning only results for the 24 items, until a new initial request is made?


Error running Robyn(outputs)

Project Robyn 3.6
Getting this error message when running Robyn(outputs)
Using robyn object location: C:/Users	todor/OneDrive - Vericast/Documents/AFW_MMM_Model
Provided 'plot_folder' doesn't exist. Using default 'plot_folder = getwd()': C:/Users/ttodor/OneDrive - Vericast/Documents/AFW_MMM_Model

Running Pareto calculations for 10000 models on 3 fronts...
Error in robyn_pareto(InputCollect, OutputModels, pareto_fronts, calibration_constraint) :
object 'dt_expoCurvePlot' not found

Provide dummy data & model configuration
Issues are often related to custom input data that is difficult to debug without. If necessary, please modify your data to mask real values and share a dataset that is able to reproduce the issue. Please also share your model configuration.
Environment & Robyn version
R version (R --version)
Please make sure you're using the latest Robyn version

Hi, have you installed/updated to the latest Robyn v3.6.0?

Yes.  I have.

I'm also getting a very similar error message when running the model with robyn_run():

Running Pareto calculations for 10000 models on 3 fronts...
Error in robyn_pareto(InputCollect, OutputModels, pareto_fronts, calibration_constraint) :
object 'dt_expoCurvePlot' not found
In addition: Warning message:
In check_legacy_input(InputCollect, cores, iterations, trials, intercept_sign,  :
Using legacy InputCollect values. Please set "iterations", "trials" within robyn_run() instead

This message began appearing yesterday, after a suggested update. I think it's possible a dependency may have been broken here, but I'm not sure how to resolve this. Thanks for your help :)

I'm also getting a very similar error message when running the model with robyn_run():

Running Pareto calculations for 10000 models on 3 fronts...
Error in robyn_pareto(InputCollect, OutputModels, pareto_fronts, calibration_constraint) :
object 'dt_expoCurvePlot' not found
In addition: Warning message:
In check_legacy_input(InputCollect, cores, iterations, trials, intercept_sign,  :
Using legacy InputCollect values. Please set "iterations", "trials" within robyn_run() instead

This message began appearing yesterday, after a suggested update. I think it's possible a dependency may have been broken here, but I'm not sure how to resolve this. Thanks for your help :)

Also receiving the same error here.  Prior to this error, am receiving a convergence plot error:
> OutputModels$convergence$moo_distrb_plot
Error in if (!(lo <- min(hi, IQR(x)/1.34))) (lo <- hi) || (lo <- abs(x[1L])) ||  :
  missing value where TRUE/FALSE needed

@F1nalFortune this seems like another issue. Reading this ticket in ggridges repo, it seems like an Inf issue. Can you please check your data for missing values, too many zeroes or NAs?

This is the new error I am getting.   Also, no plots/files were outputed.
Using robyn object location: C:/Users todor/OneDrive - Vericast/Documents/AFW_MMM_Model
Provided 'plot_folder' doesn't exist. Using default 'plot_folder = getwd()': C:/Users/ttodor/OneDrive - Vericast/Documents/AFW_MMM_Model
Error in RNGseq(n, seed, ..., version = if (checkRNGversion("1.4") >= :
NMF::createStream - invalid value for 'n' [positive value expected]
In addition: Warning message:
In min(coef) : no non-missing arguments to min; returning Inf

I re-ran robyn_run and put output = false.   Then re-ran robyn_outputs.   I am back to original error message which is this:
Using robyn object location: C:/Users	todor/OneDrive - Vericast/Documents/AFW_MMM_Model
Provided 'plot_folder' doesn't exist. Using default 'plot_folder = getwd()': C:/Users/ttodor/OneDrive - Vericast/Documents/AFW_MMM_Model

Running Pareto calculations for 10000 models on 3 fronts...
Error in robyn_pareto(InputCollect, OutputModels, pareto_fronts, calibration_constraint) :
object 'dt_expoCurvePlot' not found

The dt_expoCurvePlot not found bug should be fixed now. Please update and test the package. 9b77b998aae7897356302e5d3ae259d482c2f038

@gufengzhou .  I re-installed Robyn and re-ran the code.   I am still getting the same error message
Using robyn object location: C:/Users	todor/OneDrive - Vericast/Documents/AFW_MMM_Model
Provided 'plot_folder' doesn't exist. Using default 'plot_folder = getwd()': C:/Users/ttodor/OneDrive - Vericast/Documents/AFW_MMM_Model

Running Pareto calculations for 10000 models on 3 fronts...
Error in robyn_pareto(InputCollect, OutputModels, pareto_fronts, calibration_constraint) :
object 'dt_expoCurvePlot' not found

@tgtod002 If you please share with me (laresbernardo @gmail.com) your script and anonymized data so I can replicate it, it would def help me debug this issue. Before that, make sure you are really running on the latest version in a fresh new session to see if the error persists.

Yes. running this version packageVersion("Robyn")
[1] ‘3.6.0’ .  Will send it to you shortly.

@laresbernardo @tgtod002
在pareto.R script 中，line 269，代码块的最后，添加如下代码后，重新install Robyn，就可以跑通。没有这个error发生。

猜测原因是：InputCollect中的paid_media_vars 和 exposure_vars 是一样的，所以不会执行代码里面的内容，从而导致代码块外部没定义这个对象，引发报错。

Hi, @FDwangchao thanks for your suggestion. Can you please update to the most recent version and check that the fix Gufeng deployed also works for you? He added dt_expoCurvePlot <- NULL instead, which should be enough to fix this problem. Thanks

这是来自QQ邮箱的假期自动回复邮件。

您好，您的邮件我已收到，我稍后会给您回复的~~

HI Lares, the error occures in running robyn_outputs.    I am actually just following the demo
Here is my code
OutputModels <- robyn_run(
InputCollect = InputCollect # feed in all model specification
#, cores = NULL # default
#, add_penalty_factor = FALSE # Untested feature. Use with caution.
, iterations = 2000 # recommended for the dummy dataset
, trials = 5 # recommended for the dummy dataset
, outputs = FALSE # outputs = FALSE disables direct model output
)
OutputCollect <- robyn_outputs(
InputCollect, OutputModels
, pareto_fronts = 3
, calibration_constraint = 0.1 # range c(0.01, 0.1) & default at 0.1
, csv_out = "all" # "pareto" or "all"
, clusters = TRUE # Set to TRUE to cluster similar models by ROAS. See ?robyn_clusters
, plot_pareto = FALSE # Set to FALSE to deactivate plotting and saving model one-pagers
, plot_folder = robyn_object # path for plots export
)

Sorry @tgtod002 but I can't seem to replicate the issue with the demo.R file and your code:
> OutputModels <- robyn_run(
+   InputCollect = InputCollect # feed in all model specification
+   #, cores = NULL # default
+   #, add_penalty_factor = FALSE # Untested feature. Use with caution.
+   , iterations = 2000 # recommended for the dummy dataset
+   , trials = 5 # recommended for the dummy dataset
+   , outputs = FALSE # outputs = FALSE disables direct model output
+ )
Input data has 208 weeks in total: 2015-11-23 to 2019-11-11
Initial model is built on rolling window of 92 week: 2016-11-21 to 2018-08-20
Using geometric adstocking with 19 hyperparameters (19 to iterate + 0 fixed) on 16 cores
>>> Starting 5 trials with 2000 iterations each using TwoPointsDE nevergrad algorithm...
  Running trial 1 of 5
  |==========================================================================================================| 100%
  Finished in 1.65 mins
  Running trial 2 of 5
  |==========================================================================================================| 100%
  Finished in 1.68 mins
  Running trial 3 of 5
  |==========================================================================================================| 100%
  Finished in 1.67 mins
  Running trial 4 of 5
  |==========================================================================================================| 100%
  Finished in 1.62 mins
  Running trial 5 of 5
  |==========================================================================================================| 100%
  Finished in 1.45 mins
- DECOMP.RSSD NOT converged<EMAIL_ADDRESS>0.068 >= 0.059 &<EMAIL_ADDRESS>0.15 < 0.22<EMAIL_ADDRESS>- NRMSE converged<EMAIL_ADDRESS>0.0047 < 0.046 &<EMAIL_ADDRESS>0.059 < 0.089<EMAIL_ADDRESS>Total run time: 8.16 mins

> OutputCollect <- robyn_outputs(
+   InputCollect, OutputModels
+   , pareto_fronts = 3
+   , csv_out = "all" # "pareto" or "all"
+   , clusters = TRUE # Set to TRUE to cluster similar models by ROAS. See ?robyn_clusters
+   , plot_pareto = FALSE # Set to FALSE to deactivate plotting and saving model one-pagers
+   , plot_folder = robyn_object # path for plots export
+ )
Using robyn object location: /Users/bernardolares/Desktop
>>> Running Pareto calculations for 10000 models on 3 fronts...
>>> Collecting 154 pareto-optimum results into: /Users/bernardolares/Desktop/2022-02-28 14.04 init/
>> Exporting all results as CSVs into directory...
>> Exporting general plots into directory...
>>> Calculating clusters for model selection using Pareto fronts...
>> Auto selected k = 6 (clusters) based on minimum WSS variance of 5%

Please, update to the latest version, and DO make sure you're using the latest version in a fresh new session.

Hi Lares,
Just making sure....are you using my sample file?  I only have 105 weeks of data.

Yes. But you have to adapt the hyper parameters to be useful with your data. I’d need that to replicate.

On 28 Feb 2022, at 2:21 PM, tgtod002 @.***> wrote:

Hi Lares,
Just making sure....are you using my sample file? I only have 105 weeks of data.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were assigned.

InputCollect <- robyn_inputs(
dt_input = afw_data1
,dt_holidays = dt_prophet_holidays
set variables
,date_var = "new_date"                               # date format must be "2020-01-01"
,dep_var = "SALES.AMT"                              # there should be only one dependent variable
,dep_var_type = "revenue"                         # "revenue" or "conversion"
,prophet_vars = c("trend", "season", "holiday") #
,prophet_signs = c("default", "default", "default")       # c("default", "positive", and "negative").
,prophet_country = "US"                           # only one country allowed once. Including national s
,paid_media_vars = c("CrossDeviceDisplayimpressions",  "Cross_device_impressions", "DirectMailMediaimpressions", "DynamicMobileimpressions"	)
,paid_media_signs = c("positive", "positive", "positive", "positive")            #
,paid_media_spends = c("CrossDevideDisplay_media_cost",  "Cross_dev_video_cost", "DirectMailInsert_media_cost", "DynamicMobilemedia_cost" 	)
set model parameters
set cores for parallel computing
,cores = 6
set rolling window start
,window_start = "2020-01-04"
,window_end = "2021-12-27"
set model core features
,adstock = "geometric"
,iterations = 2000
,intercept_sign = "non_negative" # intercept_sign input must be any of: non_negative, unconstrained
,nevergrad_algo = "TwoPointsDE"
,trials = 5 # number of allowed trials. 5 is recommended without calibration,
)
3. Hyperparameter interpretation & recommendation:
hyper_names(adstock = InputCollect$adstock, all_media = InputCollect$all_media)
hyperparameters <- list(
Cross_dev_video_cost_alphas = c(0.5, 3)
,Cross_dev_video_cost_gammas = c(0.3, 1)
,Cross_dev_video_cost_thetas =  c(0, 0.3)
,CrossDevideDisplay_media_cost_alphas = c(0.5, 3)
,CrossDevideDisplay_media_cost_gammas = c(0.3, 1)
,CrossDevideDisplay_media_cost_thetas =  c(0, 0.3)
,DirectMailInsert_media_cost_alphas = c(0.5, 3)
,DirectMailInsert_media_cost_gammas = c(0.3, 1)
,DirectMailInsert_media_cost_thetas = c(0.1, 0.4)
,DynamicMobilemedia_cost_alphas = c(0.5, 3)
,DynamicMobilemedia_cost_gammas =  c(0.3, 1)
, DynamicMobilemedia_cost_thetas   = c(0, 0.3)
)
2a-3: Third, add hyperparameters into robyn_inputs()
InputCollect <- robyn_inputs(InputCollect = InputCollect, hyperparameters = hyperparameters)

Ok, thanks for sharing. A couple of here:

Your data contains a lot of continuous 0s. When checking the data you've got loads of zeroes in the first sets of weeks. Please change to a narrower window and/or clean your data. That is def a problem. Notice the warnings printed:

Recommendations are:
1. increase hyperparameter ranges for 0-coef channels to give Robyn more freedom
2. split media into sub-channels, and/or aggregate similar channels, and/or introduce other media
3. increase trials to get more samples

You are not using Measure_1__Visits_ data anywhere. Is that intentional?
Notice that 'cores', 'iterations', 'trials', 'intercept_sign', 'nevergrad_algo' should be set in robyn_run(), not robyn_inputs().
Regarding the "Michaelis-Menten fitting for X out of range. Using lm instead", check this answer.
Given your particular input dataset noticed a small bug when calculating convergence when Inf values which I've just fixed.
Lastly, I'm sorry but with your code and your inputs I wasn't able to reproduce the mentioned (or any) error. Please, DO make sure you're running on the latest version. I'm attaching how I wanted you to kindly share your script so I can replicate the error (simply pasted it all together). Try running it for me (with updated Robyn version) and see if you get any errors: tgtod002-318.R.zip.

Thanks Lares.   What I am trying to do is run the program with some data as a test.    So, my data is still WIP.  Given that,   I noticed that I get an error running robyn_outputs when I set outputs = TRUE in robyn_run
The following is the error:
_Using robyn object location: C:/Users	todor/OneDrive - Vericast/Documents/AFW_MMM_Model
Provided 'plot_folder' doesn't exist. Using default 'plot_folder = getwd()': C:/Users/ttodor/OneDrive - Vericast/Documents/AFW_MMM_Model

Running Pareto calculations for 10000 models on 3 fronts...
Error in eval(jsub, SDenv, parent.frame()) : object 'iterNG' not found_

If I set outputs = FALSE in robyn_run,  robyn_outputs works.
I want to be able to look at the the one pagers, which is created when you set outputs = TRUE.

Yeah, makes sense.

I notice you are trying to save results in C:/Users todor/... and you missed a "/" there.
Ideally, you'd run first robyn_run(..., outputs = FALSE) and then robyn_outputs(...) to export results. That way you don't have to re-run simulations to select the outputs you'd like.
Can you share your head(OutputModels$trial1$resultCollect$resultHypParam) (given OutputModels as robyn_run(..., outputs = FALSE) output)?

这是来自QQ邮箱的假期自动回复邮件。

您好，您的邮件我已收到，我稍后会给您回复的~~


Install on debian?

Hi, I'm trying to install this on a droplet running Debian 10.2, gcc 8.3.0-6. When I try to install this package, I get a timeout when running setup.py bdist_wheel for rapidfuzz. I'm not sure how to fix this, can you offer any guidance? I'm stuck with Debian for an unrelated reason unfortunately or I'd just switch to Ubuntu. Thanks!

I did never run into this myself yet. Could you share the command line output from before the error?
Btw what hardware are you using? At least for X86 and Amd64 there are wheels on pypi. So as long as your not using ARMv6 you should be able to use pip install rapidfuzz without compiling anything.

I'm not getting any error, it's just timing out on Running setup.py bdist_wheel for rapidfuzz .... I did find this other issue so maybe I'll just leave it running for a couple hours?
I'm running on a digital ocean droplet, cheapest tier they have, I'm not sure hardware specifics. Debian 10.2.

Okay so I'd started it about 30 minutes before responding above I think, so after about an hour total I got this:
Collecting rapidfuzz
  Using cached https://files.pythonhosted.org/packages/f6/fc/663e696d1f75816d244dd4a8e9f2351ddacd6c07e2c32c780f7f0c39b934/rapidfuzz-0.9.1.tar.gz
Building wheels for collected packages: rapidfuzz
  Running setup.py bdist_wheel for rapidfuzz ... error
  Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-jgv0b5zc/rapidfuzz/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-d7w0gj0e --python-tag cp37:
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.7
  creating build/lib.linux-x86_64-3.7/rapidfuzz
  copying src/rapidfuzz/__init__.py -> build/lib.linux-x86_64-3.7/rapidfuzz
  copying src/rapidfuzz/process.py -> build/lib.linux-x86_64-3.7/rapidfuzz
  running egg_info
  writing src/rapidfuzz.egg-info/PKG-INFO
  writing dependency_links to src/rapidfuzz.egg-info/dependency_links.txt
  writing top-level names to src/rapidfuzz.egg-info/top_level.txt
  reading manifest file 'src/rapidfuzz.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  warning: no previously-included files found matching 'src/rapidfuzz-cpp/src/process.hpp'
  warning: no previously-included files found matching 'src/rapidfuzz-cpp/src/process.txx'
  writing manifest file 'src/rapidfuzz.egg-info/SOURCES.txt'
  running build_ext
  building 'rapidfuzz.levenshtein' extension
  creating build/temp.linux-x86_64-3.7
  creating build/temp.linux-x86_64-3.7/src
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Isrc/rapidfuzz-cpp/src -Isrc/rapidfuzz-cpp/extern -Iextern -I/usr/include/python3.7m -c src/py_levenshtein.cpp -o build/temp.linux-x86_64-3.7/src/py_levenshtein.o -O3 -std=c++14 -DVERSION_INFO="0.9.1"
  x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.7/src/py_levenshtein.o -o build/lib.linux-x86_64-3.7/rapidfuzz/levenshtein.cpython-37m-x86_64-linux-gnu.so
  building 'rapidfuzz.fuzz' extension
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Isrc/rapidfuzz-cpp/src -Isrc/rapidfuzz-cpp/extern -Iextern -I/usr/include/python3.7m -c src/py_fuzz.cpp -o build/temp.linux-x86_64-3.7/src/py_fuzz.o -O3 -std=c++14 -DVERSION_INFO="0.9.1"
  x86_64-linux-gnu-gcc: fatal error: Killed signal terminated program cc1plus
  compilation terminated.
  error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

  ----------------------------------------
  Failed building wheel for rapidfuzz
  Running setup.py clean for rapidfuzz
Failed to build rapidfuzz
Installing collected packages: rapidfuzz
  Running setup.py install for rapidfuzz ... error
    Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-jgv0b5zc/rapidfuzz/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-5pxgsrsx/install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-3.7
    creating build/lib.linux-x86_64-3.7/rapidfuzz
    copying src/rapidfuzz/__init__.py -> build/lib.linux-x86_64-3.7/rapidfuzz
    copying src/rapidfuzz/process.py -> build/lib.linux-x86_64-3.7/rapidfuzz
    running egg_info
    writing src/rapidfuzz.egg-info/PKG-INFO
    writing dependency_links to src/rapidfuzz.egg-info/dependency_links.txt
    writing top-level names to src/rapidfuzz.egg-info/top_level.txt
    reading manifest file 'src/rapidfuzz.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no previously-included files found matching 'src/rapidfuzz-cpp/src/process.hpp'
    warning: no previously-included files found matching 'src/rapidfuzz-cpp/src/process.txx'
    writing manifest file 'src/rapidfuzz.egg-info/SOURCES.txt'
    running build_ext
    building 'rapidfuzz.levenshtein' extension
    creating build/temp.linux-x86_64-3.7
    creating build/temp.linux-x86_64-3.7/src
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Isrc/rapidfuzz-cpp/src -Isrc/rapidfuzz-cpp/extern -Iextern -I/usr/include/python3.7m -c src/py_levenshtein.cpp -o build/temp.linux-x86_64-3.7/src/py_levenshtein.o -O3 -std=c++14 -DVERSION_INFO="0.9.1"
    x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.7/src/py_levenshtein.o -o build/lib.linux-x86_64-3.7/rapidfuzz/levenshtein.cpython-37m-x86_64-linux-gnu.so
    building 'rapidfuzz.fuzz' extension
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Isrc/rapidfuzz-cpp/src -Isrc/rapidfuzz-cpp/extern -Iextern -I/usr/include/python3.7m -c src/py_fuzz.cpp -o build/temp.linux-x86_64-3.7/src/py_fuzz.o -O3 -std=c++14 -DVERSION_INFO="0.9.1"
    x86_64-linux-gnu-gcc: fatal error: Killed signal terminated program cc1plus
    compilation terminated.
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

    ----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-jgv0b5zc/rapidfuzz/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-5pxgsrsx/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-jgv0b5zc/rapidfuzz/

Hm weird I did just create a droplet of the smallest size with debian 10.3 at DO and installed it within a couple seconds
pip3 install rapidfuzz
Collecting rapidfuzz
  Downloading https://files.pythonhosted.org/packages/f6/fc/663e696d1f75816d244dd4a8e9f2351ddacd6c07e2c32c780f7f0c39b934/rapidfuzz-0.9.1.tar.gz (70kB)
    100% |████████████████████████████████| 71kB 6.7MB/s
Building wheels for collected packages: rapidfuzz
  Running setup.py bdist_wheel for rapidfuzz ... done
  Stored in directory: /root/.cache/pip/wheels/21/05/9a/c14195745fef04b01dc9c0cb83c4c2de057ab75f26f6fb8927
Successfully built rapidfuzz
Installing collected packages: rapidfuzz
Successfully installed rapidfuzz-0.9.1

Same as you, pip3 install rapidfuzz
Just now I tried installing python3.7-dev and running again based on this thread, I'm gonna eat breakfast and shower and see if it successfully installed when I get back to my computer.
A friend of mine set up this server and configured a bunch of stuff for me so I'm not sure if he did anything that could be interfering with this, but he's been unavailable for a few days. This library is a dependency of another that I need to host a flask app on my website which is currently hosted on this server; if I can't get this installed I could host it on another domain instead, at least temporarily until my friend can figure out what's going on.

I never came across x86_64-linux-gnu-gcc: fatal error: Killed signal terminated program cc1plus yet, but apparently this might happen when you run out of ram.
Let me know in case you find out whats causing this :)

Ahh ok if/when this fails, I'll try temporarily upgrading the ram and see if that fixes the issue, thanks!

wow ok, upgraded to 2GB RAM and it successfully installed within seconds - I'm unsure if it was just the server restart that was needed, maybe I should have tried turn-it-off-and-turn-it-on-again before opening this issue, either way I really appreciate the help debugging, and hopefully this thread is helpful to someone in the future!
Collecting rapidfuzz
  Using cached https://files.pythonhosted.org/packages/f6/fc/663e696d1f75816d244dd4a8e9f2351ddacd6c07e2c32c780f7f0c39b934/rapidfuzz-0.9.1.tar.gz
Building wheels for collected packages: rapidfuzz
  Running setup.py bdist_wheel for rapidfuzz ... done
  Stored in directory: /root/.cache/pip/wheels/21/05/9a/c14195745fef04b01dc9c0cb83c4c2de057ab75f26f6fb8927
Successfully built rapidfuzz
Installing collected packages: rapidfuzz
Successfully installed rapidfuzz-0.9.1

Great glad to see it working now :)


Avoid overallocating for strings

Issue #, if available: https://github.com/awslabs/aws-c-common/issues/776
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 83.12%. Comparing base (33c1bfb) to head (bfd4c1c).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1099      +/-   ##
==========================================
+ Coverage   83.10%   83.12%   +0.01%
==========================================
  Files          56       56
  Lines        5766     5765       -1
==========================================
  Hits         4792     4792
+ Misses        974      973       -1

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


Splash UI Tweaks

Story: https://app.shortcut.com/smileid/story/xxx
Summary
Splash UI Tweaks
Known Issues
Any shortcomings in your work. This may include corner cases not correctly handled or issues related
to but not within the scope of your PR. Design compromises should be discussed here if they were not
already discussed above.
Test Instructions
Concise test instructions on how to verify that your feature works as intended. This should include
changes to the development environment (if applicable) and all commands needed to run your work.
Screenshot
If applicable (e.g. UI changes), add screenshots to help explain your work.

Still running into the issues I mentioned earlier:

I'm getting a black screen instead of a splash screen when I launch the app
The manual config entry is still missing the hint text - it's just a blank text box
There's still a lot of reformatting in this PR. can you update your spacing to indent 4 spaces instead of 8?
can you resolve the merge conflict?


Docs: Increase visibility of modules

Now that we have a good visibility of the classes, I think modules should also be easier to find.
Therefore, two ideas:
As for the module-page visibility from classes: We should add two new navigation links to class pages, linking super-class and module.
E.g.
https://docs.manim.community/en/latest/reference/manim.mobject.matrix.Matrix.html
should link to
https://docs.manim.community/en/latest/reference/manim.mobject.matrix.html
As we have these nice diagrams from @AntonBallmaier
https://docs.manim.community/en/latest/reference.html#mobject-inheritance-graph
maybe it is also possible to add the modules there:

If we continue restructuring the modules, I'd eventually be in favour of removing the separate HTML pages for classes, and rendering class documentation on the same page as the module they are contained in.
(For inspiration how this could look like, here is an example for documentation of a SageMath module: https://doc.sagemath.org/html/en/reference/asymptotic/sage/rings/asymptotic/growth_group.html -- keep in mind that navigation in our documentation theme would be even easier, as we have a ToC of the page in the sidebar on the right.)


feature: can set fps and added av1/vp9 codec

feature

can set fps now
added Av1 and Vp9 codec

see https://github.com/NiiightmareXD/windows-capture/issues/62

Looks good


Building new architecture sources on Windows

On Windows there are limits on number of character in file paths and in command lines
Ref: https://android.googlesource.com/platform/ndk/+/master/docs/BuildSystemMaintainers.md#Path-Length-Limits
NDK allows circumventing command line limits using response(RSP) files as inputs using NDK_APP_SHORT_COMMANDS flag.
Windows can support long file paths if configured through registry or by prefixing all file paths with a special character sequence
The latter requires changes in NDK. And there are tools in NDK (AR) which is not able to handle long paths (>256) even after setting the registry key.
The new architecutre source tree is too deep, and the object file naming conventions in NDK makes the matters worse, by producing incredibly long file paths.
Other solutions such as symlinking source code etc. didn't work as expected, and makes the build scripts complicated and hard to manage.
This change temporarily works around the issue by placing the temporary build outputs as short a path as possible within the project path.

Summary

Changelog

[CATEGORY] [TYPE] - Message
Test Plan

Could you also point this PR to main? It's easier to merge it there and cherry-pick it into the release branch.

Could you also point this PR to main? It's easier to merge it there and cherry-pick it into the release branch.

Sorry, I've just realized this can't target main as we're on CMake there. I believe we should be fine with it so this patch should not even need to be backported to main (or maybe only the template/android changes).

Could you also point this PR to main? It's easier to merge it there and cherry-pick it into the release branch.

Sorry, I've just realized this can't target main as we're on CMake there. I believe we should be fine with it so this patch should not even need to be backported to main (or maybe only the template/android changes).

Makese sense .. Ill limit the PR to 'template/android' changes ..

Here's my full trace testing v3 of this patch from a couple hours ago (last push I think)
https://github.com/facebook/react-native/pull/33611#issuecomment-1096676299
TL;DR: it worked to a point but still may have some issues? (that is, it worked for project rooted in C:\RN068 but failed with project rooted in C:\Users\micro\work\react-random\RN068


StringFilter 'contains' doesn't work as expected with Postgresql

I have a search where I filter with contains in the where clause, but the results are not what I was expecting. Is there a way to tweak contains, for example case insensitive?
Method:
    t.list.field('searchExercise', {
      type: 'Exercise',
      args: {
        searchString: stringArg({ nullable: true }),
      },
      resolve: (parent, { searchString }, ctx) => {
        return ctx.photon.exercises.findMany({
          where: {
            title: {
              contains: searchString,
            },
          },
        });
      },
    });

Results:

I can confirm this behaviour but this is expected.
What you are trying to achieve will be provided by containsInsensitive filter which is part of the photonjs spec: https://github.com/prisma/specs/tree/master/photonjs#basic-queries

It is not implemented yet so I am marking this as a feature request.

Closing in favour of #343


Update QDK to 0.23.195904

The additional file compared to #740 is tutorials/ExploringDeutschJozsaAlgorithm/AQ/ProviderDependencies.csproj, I double-checked that the package versions in it were updated properly.

Ah, I think the final version wound up being 0.23.195983, sorry.

Our release notes say 0.23.195904?


fix warnings with latest v

Fix warnings with latest V
run v fmt -w .

Vide also needs https://github.com/pisaiah/ui/pull/12 , otherwise it compiles cleanly, but crashes at runtime shortly after it is started.


Discard changes not working properly, still appears in git status

VSCode Version: 1.13.0
OS Version: Microsoft Windows [Version 10.0.15063]

Steps to Reproduce:
I discard the changes in VS Code but it still appears when I run git status.

If you close Code and open it again those changes still don't appear?

@joaomoreno Just checked. Still doesn't appear on Code restart.

Does it happen only with that specific filter.component.js file? Or other files won't show up either?

It happens to any file. It's the Discard Changes functionality itself.

That sounds very odd. What does git status -zu return? Can you provide a movie screencast?

The file which I did Discard Changes appears in the result of git status -zu.
I will provide one ASAP.

Here is the screencast. The file in mention is index.html.
View it here

Code seems to be doing the right thing here... just the command line git seems to be doing the wrong thing... So... if you go to disk, what are the real contents of that file, if you open it in Nodepad?

Hmm. Weird. The change is not there when I opened the file in Notepad.
It's really the CLI git acting up.

You can see exactly what Code calls git with by running Git: Show Git Output.
Closing since the issue isn't related to Code.
Maybe it's related to the fscache setting: https://superuser.com/questions/974078/what-does-the-filesystem-cache-do-in-windows-7

Turning fscache on or off doesn't help. Running Coed as admin doesn't help either.
I found that Discard change in Code runs git checkout -q -- file/to/path.
I copied this command and put in the cli and it works properly.

I think the problem is with running fish in Ubuntu on Windows.
Running git status in Git bash doesn't show any file.

#13138

Issue was with the file configuration in git.
Need to have the following set as:
git config --global core.autocrlf true
git config --global core.filemode false

Read more here


Problem with bounds

Hi there.
Example:
http://artist.rhinoda.com/#/
I calculate dynamically the size of the scene.
But I can not lift the stage above the fixed line of the leaflet.
fitBounds and Bounds don't solve my problem.
What could be the reason?
Thanks!

Change L.CRS.Base to L.CRS.EPSG4326 solved my problem


Strengthen T487

Like my last PR, here's another theorem strengthened by using $R_0$ and Indiscrete rather than $T_1$ and Has multiple points.

Maybe we should rephrase slightly to give an indication that the hypothesis "not indiscrete" is used somewhere.  For example:
"The closures of the singletons are pairwise disjoint and form a partition of $X$ into at least two and at most countably infinitely many closed sets."  Or something else of your choosing.
What do you think of adding one item to the list of equivalent properties for R0?
The sets $\operatorname{cl}\{x\}$ for $x\in X$ form a partition of $X$ (that is, any two such sets are either identical or disjoint).

Yeah, I can make the dependence on not indiscrete more explicit.
I think I'd rather say something like "The closures of any two points are either identical or disjoint" on R0 and not make reference to a partition (or make that the parenthetical).

FYI about the history of single space vs. double space between sentences:
https://medium.com/@darbyw/repost-why-two-spaces-after-a-period-isnt-wrong-or-the-lies-typographers-tell-about-history-4017b699bd20
(Sorry it's kind of long, did not read the whole thing).  I have been using double space out of habit, from when I first learned typing on a computer in monospace font (don't remember exactly now).  Either way, the end result on the web page is identical.  Single space is fine too.


HTML

#HTML
##User Story
As a boot camp student,
I want a Prework notes to be structured on a webpage
so that I can easily find and read information
##Acceptance Criteria
GIVEN a Prework Study Guide website
WHEN I visit the website in my browser
THEN I see four boxes titled HTML, CSS, Git, and JavaScript with associated notes listed

code added pending but meets minimum requirement to close.


Fix some null reference exceptions when deregistering interactables.

These appear mostly harmless apart from crufting up the console messages in the editor when you press stop, but it's better to have them caught IMO since I expect the there could be cases where they result in a real bug.

Thanks. This should have been fixed in 0.9.
Closing all pull requests previous to 0.9 as the framework has significantly changed. If you feel like it's still valid please submit a new request.


Add VL53L0X I2C Component

@afp316  Thank you for this pull request. Are you going to add an I2C component for the VL530L0X to the WipperSnapper Arduino firmware? (we have guide pages for this here - https://learn.adafruit.com/how-to-add-a-new-component-to-adafruit-io-wippersnapper/adding-an-i2c-component)

Of course! I plan to add it to the wiipersnapper arduino per the guide
pages you referenced. Looking to get the compensation added as an option in
wippersnapper by y'all so that I can confirm that it actually works.
Aaron
On Mon, Jul 18, 2022, 11:49 Brent Rubell @.***> wrote:

@afp316 https://github.com/afp316 Thank you for this pull request. Are
you going to add an I2C component for the VL530L0X to the WipperSnapper
Arduino firmware? (we have guide pages for this here -
https://learn.adafruit.com/how-to-add-a-new-component-to-adafruit-io-wippersnapper/adding-an-i2c-component
)
—
Reply to this email directly, view it on GitHub
https://github.com/adafruit/Wippersnapper_Components/pull/57#issuecomment-1187666959,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXAAGVTQKJAGXFF5LCSIRITVUV4JRANCNFSM53ZARKXA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Looking to get the compensation added as an option in wippersnapper by y'all so that I can confirm that it actually works.

Not sure what you're referring to, the sensor's compensation?

My apologies, that was a typo on my part. I meant to say "component", as in
something that can be selected in the wippersnapper i2c components.   I
plan to do the VL53L4CD as well.
On Mon, Jul 18, 2022, 12:05 Brent Rubell @.***> wrote:

Looking to get the compensation added as an option in wippersnapper by
y'all so that I can confirm that it actually works.
Not sure what you're referring to, the sensor's compensation?
—
Reply to this email directly, view it on GitHub
https://github.com/adafruit/Wippersnapper_Components/pull/57#issuecomment-1187684179,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXAAGVSAHOZS2NZXQUUYQNLVUV6DFANCNFSM53ZARKXA
.
You are receiving this because you were mentioned.Message ID:
@.***>

@afp316 Great, thanks for adding that. Please tag in me in your Adafruit WipperSnapper firmware PR and I'll be happy to review! Merging this in and making it live on Adafruit IO so you can test.

I'll try to capture what I changed and submit to you as soon as I can but it might be a few days.
Great, thank you!

There's one thing I might need assistance with though regarding using multiple of the same sensor
Since there is no jumper on the VL53L0X breakout, you'd need to use an I2C multiplexer.

I apologize, Brent.  I've been slacking; work has been crazy. I'm hoping to
get the PR to you this weekend.
On Tue, Jul 19, 2022 at 3:17 PM Brent Rubell @.***>
wrote:

I'll try to capture what I changed and submit to you as soon as I can but
it might be a few days.
Great, thank you!
There's one thing I might need assistance with though regarding using
multiple of the same sensor
Since there is no jumper on the VL53L0X breakout, you'd need to use an I2C
multiplexer.
—
Reply to this email directly, view it on GitHub
https://github.com/adafruit/Wippersnapper_Components/pull/57#issuecomment-1189461096,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXAAGVVXJLIYXKDTQLE4ZZLVU35MDANCNFSM53ZARKXA
.
You are receiving this because you were mentioned.Message ID:
@.***>

@afp316  No problem!


Unable to download the TensorFlow using pip in Windows 10

Please make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template
System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):   Microsoft Windows 10 Home Single Language |  10.0.18363 N/A Build 18363 |  x64-based PC | 16GB | 4GB 1050Ti Nvidia GC
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on a mobile device: NA
TensorFlow installed from (source or binary): https://www.tensorflow.org/install/pip?lang=python3
TensorFlow version:  2.1
Python version:  3.8.2
Installed using virtualenv? pip? conda?: virtualenv and pip
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory: 1050Ti Nvidia

Describe the problem
I have tried to both Virtualenv and pip but won't able to install. What should I do?
" ERROR: Could not find a version that satisfies the requirement TensorFlow (from versions: none)
ERROR: No matching distribution found for TensorFlow"
Provide the exact sequence of commands/steps that you executed before running into the problem
python3 --version   # 3.8.2
pip3 --version           # 20.0.2
virtualenv --version  #  20.0.7
pip3 install -U pip virtualenv
virtualenv --system-site-packages -p python3 ./venv
.\venv\Scripts\activate
pip install --upgrade pip
pip list  # show packages installed within the virtual environment
pip install --upgrade tensorflow
then the error is coming
Any other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

@imoisharma,
Tensorflow is only supported till Python 3.7 as of now. For more information, please check this comment from a similar issue. Thanks!

Any updates regarding this issue? Thanks!

I understand that it is only limited to Python 3.7, however, which subversion of 3.7? Do we have a confirmed number or should it "simply be any Python 3.7"?
I'm encountering the same issues with Python 3.7.6 no matter what operating system I attempt to install on, resulting in the exact same error.
The documentation doesn't specify any specific 3.7 installation however it would be very beneficial to know if we need to be so specific in our versions. I can't imagine any breaking changes between any 3.7.x and 3.7.x+ however, clearly something has gone wrong here.

Any version of python 3.5, 3.6 or 3.7 should work, provided it is a 64 bits, your CPU is 64 bits and supports AVX and you have the latest MSVC redistributable installed. Oh, also, ensure pip is at latest version, to be able to install manylinux2010 packages
For all other cases, you will have to build from source.

Python 3.7.6
Pip 20.0.2
Windows 10
Got it working by downloading the matching (version and environment) wheel from https://pypi.org/project/tensorflow/#files and installing manually from that.
In my example, I needed Tensorflow 2.1 and downloaded the tensorflow-2.1.0-cp37-cp37m-win_amd64.whl as I have cp37 (CPython 3.7), win_amd64 (Windows 64 bit)
For those who come here in the future and may not be used to installing pip wheels manually (only having ever used pip install)
Download the necessary file. Tensorflow's naming convention seems to be tensorflow---<os & architecture>, although I'm not sure what the cp37m means here, it should not be necessary for you to find the right file.
Open a terminal and navigate to your download directory.
pip install
In my case, on windows, it looked like this:
pip install C:/Users/username/Downloads/tensorflow-2.1.0-cp37-cp37m-win_amd64.whl
This did the trick for me, however I was not able to reproduce this with pipenv install, so for now, virtual environments are out of the question, albeit right now, not even necessary for me anyways.

cp37m is cpython 3.7 manylinux tag.
Don't know exactly why you needed to download the file and then install it like this, but good to know it works.
Closing the issue as it is resolved


Seed phrase completion is a bit janky

Describe the issue
During restore of a wallet, the screen bounces because the views for autocomplete or errors are different heights, causing the screen to bounce a bit.
Can you reliably reproduce the issue?
If so, please list the steps to reproduce below:

Restore an existing wallet
Manually type seed phrase words until the screen is filled and starts to scroll
Type something incorrect or start typing to hide/show the autocomplete suggestions

Expected behavior
We should discuss with @geffenz
Actual behavior + errors
https://user-images.githubusercontent.com/699907/203544103-36c96f5b-6a06-484f-860f-eea9042cb993.mov

Closing this as improved by reworking into the new UI.


Update README regarding to kpm 0.24+ and CNR

cc @ant31

Hi,
I tested this version on stackanetes, and 3 of the running containers (glance-post, mariadb, nova post) have the same issue. I'm not sure that related to this change. The error message is:
bash: /tmp/(post,start).sh: Permission denied

Users are having issues using Stackanetes with the old README. Merging anyways.


update-report: handle homebrew/versions imports.

Imports from homebrew/versions are migrated from that tap and then renamed immediately when they hit homebrew/core. This did not trigger
our previous rename detection so address these to improve the output and handle migration correctly.

I am glad I thought to mention the weird migration issues I was having. Good work conjuring a fix so rapidly! 😄

@JCount My pleasure. An issue in future would be even better, though!

I didn't even realize the implications of what I had run across however, but if I had, I certainly would have properly opened an issue.

Cool. No worries just a general comment that your contributions have been consistently high-quality enough that an issue from you would be high-signal.


Fix off-guard status on 5.3.0+

Fixes #26

Fixed in upcoming version;  will also distinguish between the two types of off-guard.


[feature] [WIP] Mendeley

Closing this PR - all comments are either now outdated, have been address, or have been explicitly deferred.


Attributes on struct (but not relation) raises error when defining a Factory

Describe the bug
I have a custom struct for Article that holds the number of favorites attached to it (as favorites_count). This is computed via a join with the favorites relation.
When trying to create a Factory for Article that has a favorites_count specified, I get an error on ROM::Factory::DSL saying the favorites_count is not defined.
To Reproduce
require "rom"
require "rom-factory"

Types = Dry.Types()
module Structs
  class Article < ROM::Struct
    # Including `title` and `body` is optional, we are able to declare struct-only attributes
    # If you comment these two lines out, we get the same result and same error
    attribute :title, Types::String
    attribute :body, Types::String
    attribute :favorites_count, Types::Integer
  end
end

rom = ROM.container(:sql, "sqlite::memory") do |conf|
  conf.default.create_table(:users) do
    primary_key :id
    column :email, String, null: false
  end

  conf.default.create_table(:articles) do
    primary_key :id
    column :title, String, null: false
    column :body, String, null: false
  end

  conf.default.create_table(:favorites) do
    primary_key %i[user_id article_id]

    foreign_key :user_id, :users
    foreign_key :article_id, :articles
  end

  conf.relation(:users) do
    schema(infer: true)
  end

  conf.relation(:articles) do
    schema(infer: true) do
      associations do
        has_many :favorites
      end
    end

    def with_favorites_count
      left_join(favorites, {id: :article_id})
        .group(:id)
        .select_append { integer.count(:user_id).as(:favorites_count) }
    end
  end

  conf.relation(:favorites) do
    schema(infer: true) do
      associations do
        belongs_to :user
        belongs_to :article
      end
    end
  end
end

class ArticleRepo < ROM::Repository[:articles]
  struct_namespace Structs
  auto_struct true

  def with_favorites_count
    articles.with_favorites_count
  end
end

user1_id = rom.relations[:users].insert(email<EMAIL_ADDRESS>user2_id = rom.relations[:users].insert(email<EMAIL_ADDRESS>article_id = rom.relations[:articles].insert(title: "Title", body: "Body")

rom.relations[:favorites].insert(user_id: user1_id, article_id: article_id)
rom.relations[:favorites].insert(user_id: user2_id, article_id: article_id)

p ArticleRepo.new(rom).with_favorites_count.to_a
#=> [#<Article title="Title" body="Body" favorites_count=2>]

MyFactory = ROM::Factory.configure do |config|
  config.rom = rom
end

MyFactory.define(:article, struct_namespace: Structs) do |f|
  f.title "Title"
  f.favorites_count(123)
end

# Raises following error:
# ~/.asdf/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/rom-factory-0.12.0/lib/rom/factory/dsl.rb:172:in `method_missing': undefined method `favorites_count' for an instance of ROM::Factory::DSL (NoMethodError)
#	from example.rb:85:in `block in <main>'
#	from /Users/sean/.asdf/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/rom-factory-0.12.0/lib/rom/factory/dsl.rb:48:in `initialize'
#	from /Users/sean/.asdf/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/rom-factory-0.12.0/lib/rom/factory/factories.rb:143:in `new'
#	from /Users/sean/.asdf/installs/ruby/3.3.1/lib/ruby/gems/3.3.0/gems/rom-factory-0.12.0/lib/rom/factory/factories.rb:143:in `define'
#	from example.rb:83:in `<main>'

Expected behavior
I would expect that I could define the factory as above. Then be able to use it with MyFactory[:article] and MyFactory.structs[:article] where the Struct::Article would have a favorites_count of 123.
I think I would expect rom-factory to infer the attributes from the relation, but then also look at the associated struct (in the struct_namespace) to see if there are any other attributes there and allow those to be declared in the factory as well.
This may not be the proper way of doing this, so I'm open to feedback on the approach, and workarounds.
My environment

Affects my production application: No
Ruby version: 3.3
OS: MacOS Sonoma 14.4.1

This just got me again.
My workaround for this not working was defining attribute :favorites_count, Types::Integer.default(0) instead of in the factory definition.
It can properly create a struct, and it even fills in this favorites_count = 0.
Then, I use a Repo to find that record I just created, and I get it back, with favorites_count also = 0 in this case.
But then I get article_repo.find_by_id(123) == article as false, even though article_repo.find_by_id(123).to_h == article.to_h is true. This is very surprising because they both appear to have the same class but they don't (see rom-rb/rom#610), when looking at their object_id's, one can see they're different. I looked into ROM::StructCompiler and indeed, the first time it's compiled (from the factory), it's missing the favorites_count, so it's a different Struct class than the one that does have favorites_count.

Factories are defined based on relation schemas, not struct schemas. If we wanted to support projected attributes we'd need a way of telling the factory that they exist. This can be done by defining your projected schema using view DSL in relations. They are not supported by factory but we could make them work.

What if the definitions are still based on the relation, but the actual Factory object creation would allow values that exist on the Struct that's associated with the factory?
e.g. Factory[:article, favorites_count: 123]
Right now that raises this error: Unknown attributes: favorites_count (ROM::Factory::UnknownFactoryAttributes)
I'm not sure if that's simpler to implement.
Or, alternately, what if there were a syntax in defining the Factories that would let users define arbitrary attributes? After all, users can select_append arbitrary tuples that get mapped to the struct, they're already "open" structs.
e.g.
MyFactory.define(:article, struct_namespace: Structs) do |f|
  f.title "Title"

  f.open do |o|
    o.favorites_count(123) # which exists on the schema for the associated struct
    o.promoted # which doesn't need to exist on the schema for the associated struct
  end
end

We could have a DSL for defining factories for custom structs too, like MyFactory.define(Article) do ...


Adding --corruption to tools netem set command

closes #2270

lightning fast delivery
thanks @steiler!

Thanks for always taking care of the docs and also the tests!
💪


Make Pretty: Action Button Relocation and Styling

Style the unstyled buttons.
Relocate all the buttons into any configuration that is helpful and appealing.

Joseph is doing this


Bump clap to 4.0.x and adjust to best practices

Update to latest clap version.
Change Overview

arg_enum changed to value_enum, implementations of ArgEnum changed to ValueEnum
conflicts_with now needs the snake-case arguments (e.g. conflicts_with_all = ["json_input"] vs conflicts_with_all = ["json-input"])
multiple_values(true) is transformed to num_args = 0..
#[clap(possible_values = ["1", "2"])]  transformed to #[arg(value_parser = PossibleValuesParser::new(["1", "2"])]
#[clap(parse(from_os_str))] is replaced by just #[arg()] due to changed defaults
parse = ... has been replaced by value_parser = ...
attribute macro clap was replaced

with value for enums
with arg for arguments
with command for commands

polkadot companion: https://github.com/paritytech/polkadot/pull/6128
cumulus companion: https://github.com/paritytech/cumulus/pull/1745

Converting to draft as clap 4.0 is already out, will convert this PR

bot merge


imagecolorat(): x,y is out of bounds

Hi,
There's an error thrown by Gd Editor when using smart crop on portrait images when the provided width of crop is equal or larger to that of the original image.
ex:
$image; // width = 200px, height = 500px
$image->crop($image->getWidth(), $image->getHeight());
// -> throws error

When I crop with $image->getWidth() - 1, it works, but then the image is 1px less than what I need
Also, it only does this with smart crop, other crop methods work.
Is it enough info?
Cheers!

Though this package probably is not maintained anymore, to whom come here for the answer.
Always use integer values for image dimension to avoid this problem. When assign expression values to image (explicitly or over methods like crop), use intval() over expressions.


Improve layout of age squares within dogma text on .M cards (#245)

Before:

After (font sizes 4-7):

Before:

After (font sizes 4-7):

I also fixed a bug which made it so that createAdjustedContent never used the max font size (it subtracted one from the font after finding the ideal size). This means that we were always rendering the font smaller than it needed to be.

Oars was one particularly bad card.
Before:

After:

that looks a lot better.  nice work. :)

See my branch, similarly named (see discord) for potential improvements. Otherwise +1!


RefundEscrow's events renamed

Fixes #1414

looks like there is something wrong with coveralls check.

I'm not sure what's up with coveralls, but the changeset looks solid. Thanks a lot @Aniket-Engg!


Option to speed up Ethereum transactions (both ETH and ERC20 tokens)

Please offer a way to speed up ETH and ERC20 token transactions that have not yet been included in a block.
This would involve sending the transaction with the same nonce but a higher gas price (see MetaMask).
Multiple speed-up levels (e.g. three, like with the BTC transactions) would be also very much welcome.

Thanks for the request, this is on our roadmap.

In 4.4.4, the fee selector was added for ETH and ERC20 transfers in the same way as Bitcoin.


Updated Cocoapods installation

README was pointing out to 1.0

Thank you for the PR @lfarah 👍

Thanks 👍


Stop requiring uwsgi to be installed by pip

No need to have uwsgi installed by pip you just need it at runtime.

Allright, fine.

Released https://pypi.python.org/pypi/django-uwsgi-cache/1.0.1

Thanks


any plan to move this component to Angular2?

Does it help to port it from directive() to the new Angularjs 1.5 component() ?
Currently there is no plan/time schedule to rewrite it in TypeScript/Angular 2.0.

It will definitely be helpful to port to the new Angularjs 1.5 component(). It would be similar syntax compared to angular2.0.

Hey guys! I faced a similar problem a couple of days ago, so I am sharing what I came up with: https://github.com/mc-suchecki/angular-advanced-searchbox
The code was converted to Angular 1.5, TypeScript and SCSS, along with conversion from directive to component, so that could be helpful for you guys. However, please note that there are some pretty heavy changes, like: deletion of the timeout before model update (this implies usage of a search button), usage of underscore.js, font-awesome, dropped support for older versions of IE, injection of external service and more. Sorry for not making the code more generic, but considering limited amount of time, I needed to adapt the widget to my application quite fast. Forking the library was out of the question unfortunately. Anyway, my code might help you a bit. :+1:
@dnauck, if you want to use that as a base for possible future rewrite to ng2, please feel free, I would be flattered! Also, if you would like to collaborate on that, give me a hint, I might find some time to work on that. And thanks a lot for creating the library in the first place!

Any updates ?


Failed test: BytesTest.testCopyToWithUnicode

Recently fixed Jenkins builds (was pointing to old git repo, prior to move to gitbox) and saw a failed test for org.apache.fluo.api.data.BytesTest.testCopyToWithUnicode:
Error Message

expected:<15> but was:<10>
Stacktrace

java.lang.AssertionError: expected:<15> but was:<10>
	at org.apache.fluo.api.data.BytesTest.testCopyToWithUnicode(BytesTest.java:339)

Interesting. Which encoding is Jenkins using? The test called .getBytes() which is using the default system encoding. The result of 15 is assuming the encoding is UTF-8 I believe. Locally I'm getting the result of 15 and the only way I can produce a result of 10 is by using the encoding .getBytes("CP1252")

CP1252 appears to be the default for Windows. Jenkins may have some builders which run on Windows.

Test comment. Please ignore.

Our Jenkins jobs are configured to run on "Hadoop||ubuntu" nodes, which should all be Linux, so I'm really not sure why this is happening. Either way, the test could be fixed so that line 334 call to getBytes() passes in StandardCharsets.UTF_8.

Error Message

expected:<c[†𝔊]e> but was:<c[â ð]e>
Stacktrace

org.junit.ComparisonFailure: expected:<c[†𝔊]e> but was:<c[â ð]e>
	at org.apache.fluo.api.data.BytesTest.testCopyToWithUnicode(BytesTest.java:343)

Broke another test with the fix in 3302fd6


[CH] Avoid exporting unnecessary symbols

What changes were proposed in this pull request?

Addding -fvisibility=hidden -fvisibility-inlines-hidden into COMPILER_FLAGS
Adding --excldue-libs for libch.so link options

It significantly reduces libch.so size (about 15%). This patch also opening ENABLE_THINLTO by using correct linker.
How was this patch tested?
using existed UT

See  performance test result

overall improvement seems 184 vs 192. let's merging it.

Interesting，daily benchmark shows no overall improvement，but q16 slows down. but UT of CI  improve lot:


[ci] [R-package] update to new R-hub container images

Summary
This project should switch linux R-package CI jobs away from these R-hub images: https://github.com/r-hub/rhub-linux-builders
and use these instead: https://github.com/r-hub/containers
Motivation
It seems to me based on https://github.com/r-hub/rhub-linux-builders/issues/67#issuecomment-1419423935 that r-hub/rhub-linux-builders is effectively abandoned, and that efforts from R-hub are going into this new r-hub/containers project.
Given that, the r-hub/containers images should more closely match CRAN,, and therefore improve the changes of catching issues here in LightGBM's CI prior to submitting to CRAN.
Description
This should be modified to pull from the new images:
https://github.com/microsoft/LightGBM/blob/60a4a13e72f18f55a024d6912836fb9583aed67a/.github/workflows/r_package.yml#L264
And this workaround can (hopefully) be removed:
https://github.com/microsoft/LightGBM/blob/60a4a13e72f18f55a024d6912836fb9583aed67a/.github/workflows/r_package.yml#L279-L318
References
In #5661 / #5662, this project took on a workaround to update to clang-15 in the one CI job here that tries to replicate the r-devel-linux-x86_64-debian-clang CRAN check flavor, to match what CRAN was using.
That was done because the r-hub container images weren't being updated, as the maintainers of those containers said they'd soon be switching to something new: https://github.com/r-hub/rhub-linux-builders/issues/63#issuecomment-1371958649.

I've assigned this to myself as I'm actively working on it. I think it might also help with #5987 .


feat: mito wal proto

I hereby agree to the terms of the GreptimeDB CLA
What's changed and what's your intention?
Wal entry proto for mito2. It stores rows directly.
Checklist

[ ]  I have written the necessary comments.
[ ]  I have added the necessary unit tests and integration tests.

Refer to a related PR or issue link (optional)

IMO the WAL format should not be engine-specific


For review only - Initial GemFire binder

Resolves #214
Consumer group support via replicated region (cc @markfisher)
Message processing via GemFire async event queue - could potentially be moved into SI (cc @garyrussell @mbogoevici)

LGTM after a quick scan - I concur we should consider adding an AsyncEventListener - based inbound channel adapter to SI.

Closed in favor of https://github.com/spring-cloud/spring-cloud-stream-binder-gemfire/


Any update on getting this to work on other operating softwares?

any updates on getting this to be compatible with windows and iOS? maybe even other linux distros?

There are multiple forks attempting to implement support. Take a look at the pull requests