Gifts and FF invite screens

Need to modify UI, Colour Codes, Fonts & Icon According to Below XD link

https://xd.adobe.com/view/81a8ea3a-75a9-4eb8-9da7-b5a41d617d7a-d4fb/screen/dd808262-80cf-40db-940b-4e65df1c23fa

https://xd.adobe.com/view/81a8ea3a-75a9-4eb8-9da7-b5a41d617d7a-d4fb/screen/acc0fb5a-0498-40b5-bd36-a3c9eeaa9f95

https://xd.adobe.com/view/81a8ea3a-75a9-4eb8-9da7-b5a41d617d7a-d4fb/screen/9aa1f09b-16cd-4f0b-8145-cc0423c2fb00

https://xd.adobe.com/view/81a8ea3a-75a9-4eb8-9da7-b5a41d617d7a-d4fb/screen/aad2e8d1-8302-40ef-be41-a7b79c2845c5

https://xd.adobe.com/view/81a8ea3a-75a9-4eb8-9da7-b5a41d617d7a-d4fb/screen/340783e3-b6f6-4243-90d4-9883caca0c28

https://xd.adobe.com/view/81a8ea3a-75a9-4eb8-9da7-b5a41d617d7a-d4fb/screen/f8f8f4ec-1c11-4e03-b9ac-2e4f956e6245

https://xd.adobe.com/view/81a8ea3a-75a9-4eb8-9da7-b5a41d617d7a-d4fb/screen/3c62a3be-4a85-4acf-a181-169a45ebf0e6

@bhumireddy99 can i work on this issue?

the old design of hexa is not required


Added more defensive error forwarding

Closes #366
Changes:

More defensive error forwarding

Could you figure out what the unknown status codes were?

I will open up a thread in the service slack channel for this


bug - the no clicking zone

Ionic version:  (check one with "x")
[ ] 1.x
[x] 2.x
[x] 3.x
I'm submitting a ...  (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
In many components having (click) set for them, or  just regular activity, a click on the padding of those elements triggers the click animation (iOS grey something, android ripple effect), but does not trigger the event set.
This is frustrating as it is a horrible UX, for the click effect to show, but the click to not register.
*No, tappable does not fix it.
Short video:
https://i.gyazo.com/429deceeb5ad3ade66c8c92ef1149d4c.mp4
Expected behavior:
When clicking on an element, even on padding, the click effect should take place.
There can not be a situation in which a click animation is shown, but action is not happening.
Steps to reproduce:
Create some tabs, then click where the cursor is just above the border-bottom, but not on the text.
Additional Info:
This is not just a problem with tabs. It happens in other places too
Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
    Cordova CLI: 6.5.0
    Ionic Framework Version: 3.0.0-beta.3
    Ionic CLI Version: 3.0.0-beta.5
    ios-deploy version: Not installed
    ios-sim version: Not installed
    OS: Windows 10
    Node Version: v6.9.1
    Xcode version: Not installed

Thanks for opening an issue with us, we will look into this.

Does this happen only on child pages and when you are clicking near the middle of the element/screen?

@jasonfairhead No, can be on root pages, and in the top or bottom as well

This issue still exist 3.3.0，when can fix this?

I did some testing, and it seems like the angular (click) event. It will only fire if the entire cursor is inside the element. Not sure why is that, but at least I now think it is not a problem with ionic and is a problem with angular itself.
The animation (ripple-effect) happens unrelated to the click, but on pointerDown and pointerUp events on the element.


JupyterLab: Failed to load model class 'AnyModel' from module 'anywidget'

Describe the bug
installed anywidget using
pip install "anywidget[dev]"
Then went ahead and tried to counter example:
import anywidget
import traitlets

class CounterWidget(anywidget.AnyWidget):
    # Widget front-end JavaScript code
    _esm = """
    function render({ model, el }) {
      let button = document.createElement("button");
      button.innerHTML = `count is ${model.get("value")}`;
      button.addEventListener("click", () => {
        model.set("value", model.get("value") + 1);
        model.save_changes();
      });
      model.on("change:value", () => {
        button.innerHTML = `count is ${model.get("value")}`;
      });
      el.appendChild(button);
    }
    export default { render };
    """
    # Stateful property that can be accessed by JavaScript & Python
    value = traitlets.Int(0).tag(sync=True)

Reproduction
Since in the documentation it wasn't shared how to use it I assumed it was like this
counter=CounterWidget()
counter

Logs
[Open Browser Console for more detailed log - Double click to close this message]
Failed to load model class 'AnyModel' from module 'anywidget'
loadClass@http://<IP_ADDRESS>:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/134.a63a8d293fb35a52dc25.js?v=a63a8d293fb35a52dc25:1:74936
loadModelClass@http://<IP_ADDRESS>:8888/lab/extensions/@jupyter-widgets/jupyterlab-ma

In dev tools:
Error: No version of module anywidget is registered

System Info
$ npx envinfo --system --browsers
(node:19624) ExperimentalWarning: CommonJS module C:\Users\kreij\scoop\apps\msys2\2022-01-28\mingw64\lib\node_modules\npm\node_modules\debug\src\node.js is loading ES Module C:\Users\kreij\scoop\apps\msys2\2022-01-28\mingw64\lib\node_modules\npm\node_modules\supports-color\index.js using require().
Support for loading ES Module in require() is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
Need to install the following packages:
<EMAIL_ADDRESS>Ok to proceed? (y) y

  System:
    OS: Windows 10 10.0.19045
    CPU: (8) x64 Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz
    Memory: 3.42 GB / 15.79 GB
  Browsers:
    Edge: Chromium (127.0.2651.74), ChromiumDev (127.0.2610.3)
    Internet Explorer: 11.0.19041.4355

npx envinfo totally ignored the fact that I only use firefox, hilarious.
$ pip freeze | grep -E "anywidget|jupyter|notebook"
anywidget==0.9.13
jupyter-cache==1.0.0
jupyter-events==0.10.0
jupyter-lsp==2.2.5
jupyter_client==8.6.3
jupyter_core==5.7.2
jupyter_server==2.14.2
jupyter_server_terminals==0.5.3
jupyterlab==4.2.5
jupyterlab_pygments==0.3.0
jupyterlab_server==2.27.3
notebook_shim==0.2.4

Severity
blocking all usage of anywidget

Solved it, not sure if it's by restarting the system or because I patched cpython
https://github.com/msys2-contrib/cpython-mingw/pull/183


fixes #203 adds functionality to navbar links

Could link your PR with the issue like this --> closes #203


Version release history page is not up to date

Hi team,
the "version release history" () page is showing as latest version the "<IP_ADDRESS> - Preview" instead in production there is the <IP_ADDRESS> GA (https://www.powershellgallery.com/packages/AzureAD/<IP_ADDRESS>).
Can you please update it with release notes?
Thanks

Hi @cpunella
Thank you for your issue submission.  I have recently taken over the documentation for this and noticed that this was an issue.
I need to get with engineering and see if they can pull together a list of the updates that were added with each version.  I have created a work item to track this issue and will be sending it to engineering.  At this point, I am going to go ahead and close this issue.  I will post an update as soon as I have any additional information.
Thank you!
Bill


Add support to remap saved node embeddings into original node iD space.

Support remap saved node embedding into original node ID space. There are two cases: 1) part of node embeddings are saved and 2) all the node embeddings are saved. Both cases are handled in this PR.
#508
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

end2end test failed.


No results for query with only optional characters

fuzz  = require("fuzzaldrin-plus");
fuzz.filter(["bla", "_test", "test"], "_");

I expected to see "_test" in results, but got nothing instead. It works in fuzzaldrin.
Anything I'm missing about how to configure optional characters?
sadovnychyi/autocomplete-python#130

I beleive your use is correct, maybe a bug if 100% of query is optional
Underscore is not optional in classic fuzzaldrin only space is
On Sat, Dec 5, 2015, 04:04 Dmitry Sadovnychyi<EMAIL_ADDRESS>wrote:

fuzz  = require("fuzzaldrin-plus");fuzz.filter(["bla", "test", "test"], "");
I expected to see "_test" in results, but got nothing instead. It works in
fuzzaldrin.
Anything I'm missing about how to configure optional characters?
—
Reply to this email directly or view it on GitHub
https://github.com/jeancroy/fuzzaldrin-plus/issues/13.

fuzz  = require("fuzzaldrin-plus");
fuzz.filter(["bla", "_test", "test"], "_t");

This will return the two last result (thus _ can be there or no)
There is a spec that say if no input return no result with a short circuit.
Would you want that a string made only of optional characters return all results ?

I would like to return all results with that optional character/s presented. In this case only "_test".

Or, at least there's should be a way to change regex for optional characters. Can I monkey patch it from outside somehow? Since in python "_" is pretty important part of names.

Optional character regex is applied once at the construction of query so I can definitively make it part of the option hash

Version 0.3.1 now have the behavior you want.
Other candidates are not explicitly filtered out, but since nothing match, they still have score of 0.
Version 0.4 will have the ability to set optional character regex.
I'll also add a flag that set whether the filtering should be done assuming result are path.
(Right now it's always making that assumption and surprisingly it works)

Thanks, it's fixed issue for me!


Table Designer Error

Type: Bug
Any edit of a table in table designer generates the following error:
Table schema validation failed with error: One or more errors occured during validation.1. The element dfa_data_3 is not supported in Microsoft Azure SQL Database v12.
Azure Data Studio version: azuredatastudio 1.45.1 (88c21b1725a3e79440027bdb7b5a55fb036be0e2, 2023-08-03T00:42:37.945Z)
OS version: Windows_NT x64 10.0.22621
Restricted Mode: No
Preview Features: Enabled
Modes:

System Info

Item
Value

CPUs
11th Gen Intel(R) Core(TM) i9-11900K @ 3.50GHz (16 x 3504)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
63.61GB (31.23GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions: none

Can you provide your table schema for analysis to reproduce error?
Also please let us know what is the database version SELECT @@VERSION where this table belongs to?

I'm a complete newbie. Is this what you want?
CREATE TABLE [AMI_DATA].[AMI_Test] (
[meterNo]           NUMERIC (18)    NULL,
[accountNumber]     NUMERIC (18)    NULL,
[servLoc]           NUMERIC (18)    NULL,
[intervalStartDTTM] DATETIME        NULL,
[UOM]               VARCHAR (100)   NULL,
[intervalvalue]     NUMERIC (19, 4) NULL
);
Microsoft SQL Azure (RTM) - 12.0.2000.8  	Jul 17 2023 18:40:52  	Copyright (C) 2022 Microsoft Corporation

dfa_data_3 means nothing to me, I assume Azure generated it as an interim step.
All I did was uncheck the allow nulls checkbox and hit publish changes.

@maur1ce-m @mfwatson does generate script work? Or does the error show even before the "Preview Database Updates" shows? I was also not able to repro this when trying to add a new table (same one as in #24494) to a general purpose serverless db.

Another thing to try to help narrow down the problem - can you try creating a sql project and creating a project from the database, add the new table to the project, then publish/generate script and see if that works?

I've got the same error. Fresh created database server, database and table. Comp Level 160. Just want to add a column. But it doesn't matter what you try: Change column name, add index.


Recurring task with due date not calculating next due date properly

Please check that this issue hasn't been reported before.

[X] I searched previous Bug Reports didn't find any similar reports.

Expected Behavior
I have a task that repeats yearly in January. I have a start date of the first of January. I have a due date of March. When the task is marked complete the next due date should be set to March 1 of the next year, The next start date should be set to January 1 of the next year.
I read the documentation about recurrance and some of the edge cases but nothing like what I am trying to do is shown in the examples.
I tried to figure out the precedence of due vs start dates  vs recurring times and got confused in what the behaviors are.
Current behaviour
What happens is the set up intially looks like this

Once I click the task done and look at the next one the due date is now the first of January next year which should be it's start date.

Steps to reproduce
Create  task that repeats on a yearly basis. Set a due date a month or more in the future. Set a start date. Click the task done. Look at the new instance. The due date is now what should be the next year start date.
I expect I will see similar problems with other repeating task timeframes (weekly or monthly) but I have not yet tested those. I do have tasks that I want to start every Monday and be due every Friday. I also have tasks that I want to start on the first of a month and be due say on the 15th of the month so I need to figure out how to create this type of task.
Which Operating Systems are you using?

[ ] Android
[X] iPhone/iPad
[ ] Linux
[X] macOS
[ ] Windows

Obsidian Version
1.1.14
Tasks Plugin Version
1.25.0
Checks

[X] I have tried it with all other plugins disabled and the error still occurs

Possible solution
If the issue is how I set up the due, repeat and start dates then perhaps the documentation can be made more clear to cover this type of repeating item.

I always create tasks by using the option command t  which brings up the screen I sent originally. I fill in the recurs as "every January" fill in the due date of "March"  fill in the start date of "January"
When I select apply this is what I see

[ ] #task Test Yearly Filing Project #Context/Obsidian 🔁 every January 🛫 2023-01-01 📅 2023-03-01

In reading mode click the checkbox to mark the task done.
The next task that is created above the done one looks like this:

[ ] #task Test Yearly Filing Project #Context/Obsidian 🔁 every January 🛫 2023-11-03 📅 2024-01-01

For that version everything is wrong, it's not starting on the right time and the due date is incorrect.
So I tried leaving off the start date but had a due date with the same instructiosn setting the due date of March in the pop-up window. That results in this task

[ ] #task Test Yearly Filing Project #Context/Obsidian 🔁 every January 📅 2023-03-01

Then check that one as done and the next task that gets create is like this. With a due date that is the same as what I wanted the start date to be.

[ ] #task Test Yearly Filing Project #Context/Obsidian 🔁 every January 📅 2024-01-01

What I expect on the first case is to get something like this

[ ] #task Test Yearly Filing Project #Context/Obsidian 🔁 every January 🛫 2024-01-01 📅 2024-03-01

And in the second case I'd expect this

[ ] Test Yearly Filing Project #Context/Obsidian 🔁 every January 📅 2024-03-01

Thank you for the extra info.
I believe that what you are seeing is consistent with the documented behaviour in this section:
https://obsidian-tasks-group.github.io/obsidian-tasks/getting-started/recurring-tasks/#priority-of-dates

If you want the due date to land in March, setting the recurrence to ‘every March’ should do the trick.

I’ll close this as, from the info provided, the software is behaving as designed.
Do let me know if you need any more info.

I’ll close this as, from the info provided, the software is behaving as designed.
OK then I'd like to convert this to a request for enhancement.

To me it seems very logical that many tasks happen regularly but you don't want to see them until some point. So start date is what I would think to use for that. Similarly some things start and then have some period of time after they start when they must be done. I think of that as a due date. And these types of task often repeat on some schedule.
Think of taxes. A logical thing to have as a task is to set a start collecting Tax information task that starts on every January 15. and has a due date of May 15 and then repeats every year.  That's the thing I'm trying to do and it seems that between the start, due and repeats it ought to be possible. Sicne it isn't then I'd like it to be considered as a future enhancement.

But it is possible. Did you have a chance to read the link above?

If it still doesn’t make sense to, I will paste in examples tomorrow when I have a keyboard.

But it is possible. Did you have a chance to read the link above?

Yes I did tead that section. No it doesn’t make any sense to me. The itsks alsways show up. I want tohide them until I can start them and that's what is confusing. As I said originally, perhaps the issue is that the documentaiton needs cleaerer examples.
I'm using this code to limit things I can see so that I'm not seeing all sorts of stuff I can't start yet.
not done
(starts before tomorrow OR no start date)
tag includes Phone
short mode

So maybe the issue can be solved by a differnet way to pull tasks out for my working view.

Hi @OogieM, There's quite a lot going on here - I'll divide it up...
But in summary, there is no need for a feature request, you can achieve what you want already.

Recurrence
Using every January rule:
You said:

I always create tasks by using the option command t which brings up the screen I sent originally. I fill in the recurs as "every January" fill in the due date of "March" fill in the start date of "January" When I select apply this is what I see

[ ]  #task Test Yearly Filing Project #Context/Obsidian 🔁 every January 🛫 2023-01-01 📅 2023-03-01

As explained in Priority of Dates, the new date in a recurring task is calculated by applying the recurrence rule to the highest priority date type on the task: your task has Due and Start, and Due is higher priority than Start.
Then, once the new Due date is calculated, the lower priority dates are updated by the same amount, to retain the number of days between them.
So the every January rule is applied to Due, and completing a few times gives this:
- [ ] #task Test Yearly Filing Project #Context/Obsidian 🔁 every January 🛫 2024-11-03 📅 2025-01-01
- [x] #task Test Yearly Filing Project #Context/Obsidian 🔁 every January 🛫 2023-11-03 📅 2024-01-01 ✅ 2023-02-23
- [x] #task Test Yearly Filing Project #Context/Obsidian 🔁 every January 🛫 2023-01-01 📅 2023-03-01 ✅ 2023-02-23

In other words, Tasks is behaving as designed and documented, and there is no bug.

Fixing it with every March
So your recurrence should specify the desired pattern for Due, and then Tasks updates the Start date by the same amount.
You've probably worked it out by now, but please use every March, because that is when you have said you wish the due date to update to:
- [ ]  #task Test Yearly Filing Project #Context/Obsidian 🔁 every March 🛫 2023-01-01 📅 2023-03-01

Completing that puts the March on the new Due date, which is what you are wanting to achieve:
- [ ] #task Test Yearly Filing Project #Context/Obsidian 🔁 every March 🛫 2025-01-01 📅 2025-03-01
- [x] #task Test Yearly Filing Project #Context/Obsidian 🔁 every March 🛫 2024-01-02 📅 2024-03-01 ✅ 2023-02-23
- [x] #task Test Yearly Filing Project #Context/Obsidian 🔁 every March 🛫 2023-01-01 📅 2023-03-01 ✅ 2023-02-23

Note that the  🛫 2024-01-02 date in the 2nd line above is because 2024 is a leap year, and the extra day in February affects the difference calculation'.

Your Query
If you ever have any problems with filters, you can add a line to them, explain, to get a detailed explanation of how the filter will work.
You said:

I'm using this code to limit things I can see so that I'm not seeing all sorts of stuff I can't start yet. Here is an example of how I view tasks.
not done
(starts before tomorrow OR no start date)
tag includes Phone
short mode

So maybe the issue can be solved by a differnet way to pull tasks out for my working view.

Oddly, (starts before tomorrow OR no start date) is doing what you expect, but not for the reason that you expect...
The docs for OR show that the form is:
(path includes inbox) OR (description includes #inbox)

(starts before tomorrow OR no start date)
is interpreted as:
(starts before tomorrow)
But the start before/after/on filter also matches tasks with no start date, so your filter really is also matching tasks with no start date.


stray print in AKCoreSampler.cpp: 560

Seeing lots of these in my log: (AudiokIt 4.9.4)
setting pitch sustain level to xxx
void  AKCoreSampler::setPitchSustainFraction(float value)
559 | {
560 | printf("setting pitch sustain level to %f\n", value);  ****
561 | data->pitchEnvelopeParameters.sustainFraction = value;

Thanks.


Development

Coverage remained the same at 97.959% when pulling 75b44293ea983b82396a09d049f212aecaca1da3 on development into 7fedb11f7378df3db408c96f6e128003ac9ac7cf on master.


Performance Dashboard not found

We are on version 8.x, but the dashboard is not here
"Go to any dashboard, click Select  next to the dashboard title, and then click Server-Side Synchronization Performance."

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

ID: 56a15d8b-995e-8a55-1bcb-1db3d01a757d
Version Independent ID: a9a7ba68-f95a-3c4a-8c08-7ba0a1c17532
Content: Troubleshooting and monitoring server-side synchronization for Dynamics 365 Customer Engagement
Content Source: ce/admin/troubleshooting-monitoring-server-side-synchronization.md
Service: crm-online
GitHub Login: @jimholtz
Microsoft Alias: jimholtz

Greetings. Not all security roles have access to the dashboard. Go to Settings > Customizations > Customize the System. Under Components, select Dashboards > Server-Side Synchronization Monitoring > Enable Security Roles.


Sorry, home directories outside of /home are not currently supported.

Steps to reproduce
Tell us about your environment:

Puppeteer version: 5.4.1 (latest)
Platform / OS version: Ubuntu 20.04 TLS
URLs (if applicable):
Node.js version: v14.13.1

What steps will reproduce the problem?
Please include code that reproduces the issue.

Start an AWS t4g (ARM) instance with Ubuntu 20.04 (preconfigured with apache)
Create directory in home folder, e.g. test (as user "ubuntu)"
Create test file: test.js

const puppeteer = require('puppeteer');

(async () => {
  const browser = await puppeteer.launch();
  const page = await browser.newPage();
  await page.goto('https://news.ycombinator.com', {waitUntil: 'networkidle2'});
  await page.pdf({path: 'test.pdf', format: 'A4'});

  await browser.close();
})();

install nvm

curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
source ~/.profile
nvm install node

Install puppeteer npm install puppeteer (in the test folder)

Note: you get an error that the chromium binary does not exist, and the suggestion to install it yourself

Install chromium browser apt-get install chromium-browser

Install missing thing apt install xdg-utils

run the script: node test.js

A file is created test.pdf

All works fine!

Run the same script as www-data: sudo -u www-data sh -c "/home/ubuntu/.nvm/versions/node/v14.13.1/bin/node /home/ubuntu/test/test.js"

Error...

What is the expected result?
When i preform the exact same steps on a AWS t3 instance, the PDF is generated, even for the www-data account. I expected this to happen on the ARM instance as well.
What happens instead?
(node:13920) UnhandledPromiseRejectionWarning: Error: Failed to launch the browser process!
Sorry, home directories outside of /home are not currently supported.
See https://forum.snapcraft.io/t/11209 for details.

TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md

    at onClose (/home/ubuntu/test/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:193:20)
    at Interface.<anonymous> (/home/ubuntu/test/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:183:68)
    at Interface.emit (events.js:326:22)
    at Interface.close (readline.js:424:8)
    at Socket.onend (readline.js:202:10)
    at Socket.emit (events.js:326:22)
    at endReadableNT (_stream_readable.js:1252:12)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:13920) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:13920) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Based on https://forum.snapcraft.io/t/11209, the suggested solution would be to put the home directory of www-data in the /home folder. However, my assumption is that this will break quite a few other things, and on the t3 instance I didn't have to change anything (www-data home folder still is /var/www).
The t3 instance has content in the .local-chromium folder, namely linux-782078/chrome-linux, whereas this folder is empty on the ARM instance. My assumption is that this is key to solving the problem???
Any suggestion is welcome!

hello， when I run docker in gitlab-runner，it also appear this sign. It works well in my PC. please help me

Facing same problem with t4g instance ubuntu-focal-20.04-arm64-server instance


'Class App\Role not found' on registration

Laravel Version: 5.3.30
Voyager Version: 0.11.12
PHP Version: 5.6
Database Driver & Version: MySQL

Description:
When a new user tries to register it does add him to the database but it gives error:
FatalErrorException in compiled.php line 10689:
Class 'App\Role' not found

Steps To Reproduce:
I have added custom fields to users table (http://prntscr.com/gik59h)
and this is my RegisterController when creating a new user:
        return User::create([             'name' => $data['name'],             'surname' => $data['surname'],             'address' => $data['address'],             'email' => $data['email'],             'password' => bcrypt($data['password']),         ]);
The error doesn't give me much to go on, I don't know where to look at, I don't know exactly if this is voyager issue but please help me out.

Your User model needs to extend TCG\Voyager\Models\User


Use ORM library instead of writing queries separately ?

@kiootic would you consider to use library like https://gorm.io/docs/index.html to write db query ?

Personally I would prefer not to not use full ORM, but just lightweight query builder/object mapper like squirrel.


Updating container contracts for optional semantic versioning matching

Change-type: patch
Signed-off-by: Gareth Davies<EMAIL_ADDRESS>

Oops, didn't see my review :P

I was just waiting to merge this until this supervisor version is in an OS release.

Added another commit to add hw.device-type support as per internal discussion here

@CameronDiver do you want me to split this into two PRs as the first part of this is now in production with 2.49?

Yeah that might make sense @garethtdavies

Closed as split into #1433 and #1434


Enhance orientation handling in InteractivePreview and Preview classes

Summary
Improved the handling of orientation changes in the InteractivePreview and Preview classes to ensure proper resizing and layout adjustments of the AVCaptureVideoPreviewLayer during device rotation. These changes address issues where the preview layer would not correctly adapt to new geometry sizes, leading to misalignment.
Details

InteractivePreview:

Added an onChange modifier to observe changes in the geometry size.
Updated the layer frame on the main dispatch queue to ensure proper resizing.

Preview:

Removed the direct assignment of previewLayer.frame in updateUIViewController.
Ensured the previewLayer is added to the view controller’s layer only if it hasn’t been added already.
Updated the previewLayer.frame on the main dispatch queue to ensure it resizes correctly when the view bounds change.

Note
This will not affect the orientation of the session. To do that, application code must wrap the preview layer with handlers that call aespaSession.common(.orientation(orientation: ...)). I have some code that demonstrates this, but it's very specific to my app, so I couldn't cleanly extract a good example for the README. I can try to tackle that in a future commit.

Hi @subelsky. Awesome code! I’ve reviewed the code and tested it on the device and it looks good to me 👍. I'll be merge this into the latest version for release.
The issue you mentioned in your note is something I've been thinking about for a while too, but I haven't been able to crack it yet 😅. If you have some time later, I’d love for you to share some of your works. Maybe we can brainstorm and work through it together!
Thanks again for your contribution!


Complete Backend Code

[ ] Implement all SRS Requirements
[ ] Implement AT LEAST 3 out of 4 requirements from the Product Topic Document

I completed the database design mostly to the previous sprint's diagrams. I changed it a little bit as the diagrams were impossible to implement as written in Python with SQLite3. I also completed the entire Database class, including the Database types.
I'm currently working on the backend API and have basic user login/logout working along with proper error management and API key management (in house, the existing implementations are too complex).

I committed the back end code to the repository with commit 90b5371288d07304242112789fb8f11f27723e3b.
After the previous comment, I completed user management entirely and got about 75% done with implementing order management.
All that's left to do is to implement product management and payment methods, then cleanup the code a little.
User privilege separation (Buyer, seller, and admin) all work as expected, and is kept track of via the API key given after login.

After a long night of coding, I got most of the back end completed. All that's left to do is finish implementing item management, item approval, approval revocation, and to clean up the code even more than I already have.


Implement BPM support in AudioStream files.

Based on #62896, only implements the BPM support part.

Implements BPM support in the AudioStreamOGG/MP3 importers.
Can select BPM/Bar Size and total beats in a song file, as well as edit looping points.
Looping is now BPM aware
Added a special importer UI for configuring this.
Added a special preview showing the audio waveform as well as the playback position in the resource picker.
Renamed AudioStream::instance to instantiate for correctness.

Obligatory Screenshot:

What happened to audio preview? When I double-click an MP3 file, I see this

I can't play it. Also when I open the dialog, Godot eats 20% of my CPU and it increases when I open it again.
The small audio player in the inspector was quite handy.

@KoBeWi Maybe MP3 broke on the process of extracting this. @akien-mga give me a bit and I will try to figure this out before merging.

@KoBeWi Okay, MP3s now work again and no more unnecessary redraws.

WAV files don't open the new dialog.

@KoBeWi For WAV files, I wanted to modify the same dialog I made for OGG and MP3 but add a few other options more relevant for those types of files, such as frame based loop point editing.(given they wont use BPM), but I prefer this is done in a separate PR.

@KoBeWi thanks for the review! Should hopefully be ready now. I plan on making a separate one to customize the import settings dialog for WAV.

Thanks!


crash when screen rotate

EXPECTED BEHAVIOR
when users change the position of their phone screen users should still be able to use this app well
ACTUAL BEHAVIOR
when the user changes the position of their phone screen then the user refresh the list of applications that will make the status, this application will crash.
HOW TO REPRODUCE

download app status from playstore
Once installed launch the application.
Scroll to the apps section
then change the position of your smartphone screen from portrait mode to landscape mode
slide again sideways to the icons section after that slide again to the apps section and see if this app will crash

BUG RECORDING
https://youtu.be/Qq0BlYYk4sE
logcat file
Process: com.james.status, PID: 15853
java.lang.NullPointerException: Attempt to invoke interface method 'java.util.Iterator java.util.List.iterator()' on a null object reference
	at com.james.status.fragments.AppPreferenceFragment.isNotifications(AppPreferenceFragment.java:120)
	at com.james.status.activities.MainActivity.onPageSelected(MainActivity.java:371)
	at android.support.v4.view.ViewPager.dispatchOnPageSelected(ViewPager.java:1967)
	at android.support.v4.view.ViewPager.scrollToItem(ViewPager.java:685)
	at android.support.v4.view.ViewPager.setCurrentItemInternal(ViewPager.java:669)
	at android.support.v4.view.ViewPager.onTouchEvent(ViewPager.java:2284)
	at android.view.View.dispatchTouchEvent(View.java:8484)
	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2432)
	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2103)
	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2438)
	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2132)
	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2438)
	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2132)
	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2438)
	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2132)
	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2438)
	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2132)
	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2438)
	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2132)
	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2438)
	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2132)
	at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2424)
	at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1768)
	at android.app.Activity.dispatchTo```

Oh my god what on earth is happening here.
I originally couldn't reproduce the issue on my device, then after watching the recording (which was quite useful, thank you for including this much information with the report), I realized that for some reason your phone is completely ignoring the activity/fragment lifecycle. In other words, when you rotate your phone, the activity state is preserved (it shouldn't be, but that isn't really the issue here), and the fragment is recreated without calling onCreate, which initializes the list. The MainActivity then detects the swipe event and asks the fragment for information to update its overflow menu, causing it to iterate through a list that hasn't been initialized yet, and causing the crash. What the heck.
It's easy enough to add a null check for this, but this should never occur in the first place. Of course it would never happen if I hadn't implemented such a hacky method of adding stuff to an overflow menu in the first place (the fragment should get its info from the activity, not the other way around), but agh [insert rant about Android fragmentation here] [insert rant about crappy OEM skins here] I hate Android sometimes.


Can't move window from space right after the last menu item

Issue Type: Bug
When window not fully maximized, I can't click and drag the space right after the last menu item to move the window.
This space right here:

In between Selection and the file name.  I can't move the window using that space.
 You can still drag with the title I believe, but thanks for pointing this out.

sorry @jongio I fixed this issue under a duplicate :( #64741
we know in our hearts you pointed it out first ❤

All good! Glad it is fixed


New Endpoints Released

Y you not support new endpts?

Looks like I've got some work to do :grin: ! I'll skip events until it stops being listed as experimental, but I'll get on the rest!


Show debugging or logging information if requested

Could we add an option to log or display information about the wait time if requested. I'm using ratelimit on a script that can be run interactively on the console, and it would be great to display a notice when we are waiting because we hit a rate limit.

If we are voting then +1.


integration: Enable *-collector tests in GitHub CI.

Hi.
This PR enables *-collector tests in GitHub CI.
It is made possible thanks to btfgen.
Best regards.

Do you  know what's the kernel version used in the runners?, I can't find it out, from https://wiki.ubuntu.com/FocalFossa/ReleaseNotes/ChangeSummary/20.04.3 I see it's 5.11 but not sure if github is using the same.

It is made possible thanks to btfgen.

I'm not sure btfgen is used there. New releases of kernels for Ubuntu Focal have CONFIG_DEBUG_INFO_BTF enabled, so it's possible that github is already using those versions. Anyway, happy to see that we can enabled more tests in the CI!

Do you know what's the kernel version used in the runners?

Sadly I do not know, this is pain to not find this information easily.

I'm not sure btfgen is used there. New releases of kernels for Ubuntu Focal have CONFIG_DEBUG_INFO_BTF enabled, so it's possible that github is already using those versions. Anyway, happy to see that we can enabled more tests in the CI!

I will try to get the information about the version.
If we are able to run it thanks to btfgen I would like to keep it mentioned in the commit message.

GitHub runner now uses a 5.11 kernel which has CONFIG_DEBUG_INFO_BTF enabled.

Thanks for checking this out.


Allow autobuild infrastructure to perform multiple test runs per build

The current autobuild infrastructure can perform only one test run (with a set of TESTOPTS) per build. We would want to conduct multiple test runs after a build with different set of TESTOPTS. This is especially useful for smp builds where we could have multiple runs with different ppn values. (e.g. TESTOPTS1 = " ++ppn 1", TESTOPTS2 = " ++ppn 2", TESTOPTS3 = "++ppn 4" etc). To support this, the input system_list file should contain a list of TESTOPTS separated with a delimiter and the relevant scripts (build_on_system, instead_test.sh etc) should conduct multiple test runs with each of the TESTOPTS options.

Would it make sense to maintain the autobuild script in git as well (either in charm or as a separate project)?

Yes, absolutely.
The autobuild infrastructure (the local scripts, remote scripts and system_list) were earlier a part of Gerrit (charmgit:autobuild). I think that should be migrated to GitHub if it hasn't already been done.

Oh, I see. Let me migrate it then.

Autobuild is now here: https://github.com/UIUC-PPL/autobuild


Updated Russian version of SVN description stub

-Title fixed
-Minor text fixes

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Closed and Reopened this PR to attempt to resolve a specific Travis build failure.

Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 🎉


[FEAT] Import multiple notes at once (with review)

Overview
As a user I want to import multiple notes at one go, instead of one at a time from my file explorer.

For importing accounts, we should consider more complex behaviour which currently isn't supported.

If I import notes, because notes have private keys on them, they are spendable. These notes might be from different note accounts and maybe be different from the active note account. This shouldn't stop the user from spending them because that would be kind of annoying and pointless if you're switching devices.
We should consider supporting a multi-account system in the app, so that if people import notes from different note accounts they can still spend them. There would still be a default note account which new notes generate with. We would need to think through if this should change the UI at all (as @monaiuu is considering with MASP integration) or if not. Generally speaking, since the private key is on the note, having it in my wallet (even if notes have different keys) is still spendable by that user.

Did you mean this feature, @shekohex? It is already supported on the dApp, and it will be migrated to the note account soon.
https://github.com/webb-tools/webb-dapp/assets/60747384/42fc252c-a44d-44a0-b872-f96d94ddec79

Yes I think we did, we can revisit this once the account page is finished since ideally it'll be improved by then. Thanks for sharing the video @AtelyPham. Also I think what led Shady here was a lack of redundancy in the original account pop-down. Redundancy is good when we see ourselves (or our users) expect functionality where it seems to make sense. If this seems apparent as we build out the account page we should add it redundantly.


feat: SLOAD (0x54) opcode

Index 1 is top of the stack. See PUSH.Stack inputkey: 32-byte key in storage.Stack outputvalue: 32-byte value corresponding to that key. 0 if that key was never written before.ExamplesStorage keyStorage value046InputOutputInputOutput1046110Reproduce in playground.Error casesThe state changes done by the current context are reverted in those cases:Not enough gas.Not enough values on the stack.GasThe static cost is 0. If the accessed address is warm, the dynamic cost is 100. Otherwise the dynamic cost is 2100. See section access sets.
For implementation specificities, see the related design doc

Closed by #396


allow 'emacs --batch' for build

seems to require org-html-htmlize-generate-css, etc.  (see help string for variable org-html-htmlize-output-type.)

0c41b4077da6ecd3eb4067bea68899a3e94d2535


Add link to playwright-dompath in utils

Playwright strongly discourages using XPATH or CSS selectors, so I don't feel comfortable to merge this since this is against the Playwright best practices / principles.


WIFI Repeater

I read the documentation and also the issues but I must admit I didn't find or understood a simple answer to my question.
Is it possible to use esp_wifi_repeater as a simple repeater, i.e. no NAT but a simple extender if current wifi network with no different ip subnet.
thanks

Sorry, no you cannot. Ir's actually a Router only.
Am 22. Mai 2018 12:50:01 vorm. schrieb sorriso93<EMAIL_ADDRESS>
I read the documentation and also the issues but I must admit I didn't find
or understood a simple answer to my question.
Is it possible to use esp_wifi_repeater as a simple repeater, i.e. no NAT
but a simple extender if current wifi network with no different ip subnet.
thanks—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Installer not working

It's simple: Ir an the installer, answered yes / I agree to everything, and... well...

It looks like you have to install setuptools for Python 2.x.
Thus, MCEdit is allready unpacked on your machine. According to your screenshot, a mcedit folder should be in your Downloads. If all the dependencies are satisfied, you can run it using the script mcedit.sh.

Alright, I'll see if this works...
On 4/27/15, LaChal<EMAIL_ADDRESS>wrote:

It looks like you have to install
setuptools for Python 2.x.
Thus, MCEdit is allready unpacked on your machine. According to your
screenshot, a mcedit folder should be in your Downloads. If all the
dependencies are satisfied, you can run it using the script mcedit.sh.

Reply to this email directly or view it on GitHub:
https://github.com/Khroki/MCEdit-Unified/issues/379#issuecomment-96514823

--
Sincerely,
Caleb

Nope. Hmm... could someone refine the install instruction for Debian/Ubuntu? (I assume you use apt-get to get the libraries, and pip install to actually install them, but does pip need to be sudo? Which order? minor irritant really.)

Success! Muchas Gracias! I'm going to make that script now, cause why not?

No specific distro stuff used in the installer.
Almost each distro uses its own method to get packages. Writing code for everyone is not very productive...
The method used to install python dependencies is setuptools, which is the most convinient Python library to check and install Python stuff.
Two exceptions: pygame and Xlib.
The first one is downloaded directly from pygame.org (version 1.9.1release).
The second one is embeded in the installer as an achive and is untared in the user's Python libraries folder (usualy ~/lib/python2.7/site-packages).
The cheks for pygame binary dependencies is made by pygame installer itself. These binary dependencies have to be installed 'system wide' (with administrator rights using sudo). No workaround for now...
You can use pip to install the Python libraries, except the binaries dependencies of pygame. You'll need to compile them on your system.
This Linux installer is in beta phase, and need more work.
Other ways will be explored ;)

Ok, nvm then. Carry on.

I'm done with this... I have a Windows machine anyway, guess I'll just use it.


Volumes api

Implementation for volume management API and functionality.
Volumes themselves are always grid scoped but can be fully defined also within a stack. If stack refers to externally created volume it has to be still defined in stack using the external attribute.
stack: foo
services:
  web:
    image: nginx
    volumes:
      - my-vol:/web

volumes:
  my-vol:
    external: someOtherVolume

CLI has command to create grid scoped volumes and is able to list and show both types of volumes.
Master parses together the scope of the volume thus agent just ensures the named volume is present when creating containers.

Missing Stacks::Update logic to add/remove volumes on kontena stack upgrade.

I also find the design model of "external" vs "scope" a bit lacking... this is apparent in how the scope is completely ignored for external volumes. I'll try and give it a bit more thought, and post any design that I can come up with to #1803...

Needs merge after #1873

Commented stuff has been fixed and polished, PTAL @jakolehm @SpComb

@jnummelin please mark status/merge unless you still want to fix some of the minor things.


Improve test coverage for finalize.

After this is merged and #3 is merged, test coverage will be at 100% for statements, branches, functions, and lines.

Coverage increased (+0.8%) to 100.0% when pulling 75347eb2a4588cb9211867f900a2f8f88829f86f on austinkelleher:finalize-null-test into b94d27f7437d408a1a50563619040dcf2dae329e on patrick-steele-idem:master.


7 numbers matchers

@yegor256 I've finished to implement numbers matchers, please have a look

thanks!


Spawning in of more then one bot kicks both.

Whenever you spawn in more then one bot per party mode, it disconnects both of them. I have tried to console.log to track the issue, but it literally just says "disconnected." I can try to provide more information if necessary. Also, YES i am providing the party key.  Try to add pause between connections.

I have tried that, it still disconnects both. i could have one script running, then when i open another connecting to the same server, maybe 10 minuets later, it kicks both.

I can't reproduce.
After disconnect, are you able to connect back to that party? I mean, maybe that is server restarting?
Or your clients stable getting disconnected after 10 minutes every time?

Yes, i can reconnect. i have tried with many party modes, and all of them give the same issue. Only once does it work, then it kicks me every time after. Try doing it many times, maybe then you can reproduce the issue? I have the latest version, just updated 5 minuets ago and tried my API again, still no luck.

Okay, tomorrow i will write example that uses 4-5 connections and we will test. Now i need sleep.
If somebody have same issue, please report it here.

Ok, i have really tried to get it to work, no matter what i do, it just won't. I bet others do have the same problem, we'll see. Thanks for helping, and see ya tomorrow.

So i did it now.
Do npm update and run node ./node_modules/agario-client/examples/multiple.js
Will it disconnect after 5-10 mins too?
Now i'm definitely go to sleep.

Ooookkkkkk... now it works... must be the way I was doing it... Thanks lemme implement this into my api.

If so, looks like you found some major bug.
Please provide code to reproduce this error.

I looked at lib and found one way to cause this crash.
var AgarioClient = require('agario-client');
var client = new AgarioClient('worker');
client.moveTo(1,1);

Added this case to packet drop.
Do npm update and if this fixes your problem, then your code trying to send data to agar before even calling connect()

Ok yes that must be the probelem, now it says the spawn() and moveto() were called before connection, BUT their WAS CONNECTION made! it said right before that: Connecting to (ip) with key (key)...
then:
Connected to Server
then it emited the event: connected
but after that is said the moveto() was called before connection, so THAT CAN'T BE RIGHT
ps: yes that was in the lib.

ps: i have moveTo() inside the on connect event in the api, so it should do that AFTER it connects..... Its also in the respawn one, again, way after it connects.....

oh, lol, something else, now i get a new error saying:
return client.balls[ball_id].name || 'unnamed';
TypeError: Cannot read property 'name' of undefined

Can you show me code that causes warning about "before connection"?

Ok, i have fixed most of it, and it works now, i forgot to do bot.client.spawn, and bot.client.moveTo, i still had the old client.spawn(), etc, but now when i add Facebook key in it disconnects them all again :C And even i remove Facebook key from the old it does not make it work, so that was not the problem before.

Do node ./node_modules/agario-client/examples/multiple.js have same issue?
I testing it with facebook key for about 30mins and i can't reproduce issue.
Find there line
this.client.debug = 1;

and add
this.client.facebook_key = '...';

to set key

I have done this, it still won't work

It kicks the bots still

function spawnBot(bot_id) {
this.bot_id = bot_id;
this.nickname = botNick;
this.verbose = true;
this.interval_id = 0;
this.server = server_ip;
this.server_key = party_key;

this.client = new RSBotz(this.bot_id);
this.client.facebook_key = "g2gDYQFtAAAAECb2+A7m+Nm4lazSdIs1YcBtAAAAUm8nkKW1ndFo65t9UdglcPOsyw8cZaCGIgJlnUJTt+9kHguZeTxoCUuLsXNQPHHOmwqdDoXGuXlexDgUX/9EL3iWHpfdoMdoT7n2U87PJ3EeBfc=";
this.client.debug = 1;

}

But without facebook key it is works fine?
I must say that this is something agar server related and if it is, i can't do anything.

yes, it works fine without FBkey.

I don't know what the problem is, i have tried everything i can think of...

Also, i have another probelem. Lets say under the attachEvents i created a function called split, and in it i said bot.client.split like so
function split() {
    bot.client.split;
}

Lets say i wanted to execute this above the entire script, not in the prototype, or any of that, above it. How would i do that? i have tried things like split(); ExampleBot.split(); ExampleBot.attachEvents.split(); and none of that works. Am i being stupid?

Oh wait, i used wrong key when i was testing.
With valid fb key i can not connect more than 1 bot.
So looks like you just can't play more than 1 bot with one key.
But you said you was able to play for 5-10 mins. Not sure how this works. When i try connect second bot, they both got disconnects.

Yes, that's what i always get. It kicks both when using a Facebook Key. And when did i say i got to play for 5-10 mins with the FB Key?

PS: I am attempting now to create a second Facebook account, and see if i try it with 2 separate FBKeys if it will let me. As of now, it looks as if it will still kick them :C

Also, i have another problem.

I'm not sure what you mean but you use bot.client.split; but you need bot.client.split(); to work.
If that not solves your problem, explain little more what you mean.
when did i say i got to play for 5-10 mins with the FB Key

That was initial issue. Was that without keys? Is it solved now?

The issue was that i was able to play as long as i wanted or needed without keys. The second i use the fb key is kicks bots. I never got to play 5-10 mins, let alone at all, with the fb-keys. And that was a typo, i do have the bot.client.split(); my question i show do i execute that function, being inside the prototype, outside of it.

Oh, and no, its not solved yet... it still kicks the bots, even with 2 seperate FB-keys.

Ok, my test succeded, then failed. I know what the probelem is now.  I think i may be close to closing the issue... Let me run a few more tests. PS it is with agario, not with your script.

my question i show do i execute that function, being inside the prototype, outside of it.

If i correctly understand, i will show based on multiple.js
You can see bots[bot_id] = new ExampleBot(bot_id); there, so if you want to command "Charlie" to call moveTo() somewhere outside of prototype you can do bots['Charlie'].client.moveTo(1,1) from any place.
I will close this issue since "issue" is inside agar server related to fb keys.
If i wrongly answered your question, feel free to write.

Ok thanks for all of your help, the issue is closed, i fixed it!

WE* fixed it :D


Add macros in macros faq.

Description & motivation
closes #166. Totally agree this should be documented in some way.

I am closing this PR and putting it in the backlog. Labeled with "icebox" so we can revisit at a later date.


[NDTensors] Fix some UniformDiagBlockSparse bugs

Fix some bugs in conj, norm, and contract for UniformDiagBlockSparse. Some of these are working around quirks of the current system, and will be improved/superseded by improvement @kmp5VT is making to supporting a more generic BlockSparse type which incorporates the DiagBlockSparse type, as well as using FillArrays as a data type to replace the current UniformDiag design.

Codecov Report

Merging #1167 (a39b00c) into main (73bc07e) will decrease coverage by 5.81%.
Report is 1 commits behind head on main.
The diff coverage is 100.00%.

:exclamation: Current head a39b00c differs from pull request most recent head ed1eafd. Consider uploading reports for the commit ed1eafd to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main    #1167      +/-   ##
==========================================
- Coverage   59.52%   53.71%   -5.81%
==========================================
  Files          87       86       -1
  Lines        8361     7828     -533
==========================================
- Hits         4977     4205     -772
- Misses       3384     3623     +239

Files Changed
Coverage Δ

src/ITensors.jl
100.00% <ø> (ø)

src/mps/abstractprojmpo.jl
0.00% <ø> (-86.33%)
:arrow_down:

src/oneitensor.jl
100.00% <100.00%> (ø)

... and 76 files with indirect coverage changes


Improve the documentation about preprocessing the files has "Ddoc" file header

jiki reported this on 2014-04-07T00:55:12Z
Transferred from https://issues.dlang.org/show_bug.cgi?id=12536
CC List

Andrej Mitrovic (@AndrejMitrovic)
berni44 (@WalterBright)

Description
When I was scanning many d module files, some are in strange format -- of the whole ddoc.
Though I have never known that, a "Ddoc" file header makes the compiler preprocess and the generated file is not an object but an HTML document.

I wonder if it is in use and is well known...

Anyways, the descriptions about such preprocesses should be _gathered_ in one place.
I have filed Issue 12535 for the same purpose.

It might get better Editor/IDE supports, too. ;)

jiki commented on 2014-04-21T15:55:42Z
(In reply to Andrej Mitrovic from comment #2)
> Can we close this issue then? I'm not sure what is being asked for here.

No. I suggest the Introduction page made activated(see Issue 12535) and the above description moved into there.

At first, I'll make a pull for #12535.

bugzilla (@WalterBright) commented on 2019-12-17T18:02:26Z
Actually I too do not understand what this is about...

jiki commented on 2014-04-07T03:59:28Z
Sorry, I should have mentioned that the above _is_ descrived in the document page about DDOC(see the URL of this issue), nearly at the bottom of the page.

I am afraid that we could scarsly remind it even if it matters.

andrej.mitrovich (@AndrejMitrovic) commented on 2014-04-21T15:29:45Z
(In reply to jiki from comment #1)
> Sorry, I should have mentioned that the above _is_ descrived in the document
> page about DDOC(see the URL of this issue), nearly at the bottom of the page.
>
> I am afraid that we could scarsly remind it even if it matters.

Can we close this issue then? I'm not sure what is being asked for here.


add IVIS transformer

https://bering-ivis.readthedocs.io/en/latest/python_package.html

Hi @koaning ,
I can work on adding Ivis transformer


rework timestamp fetching

create & export two fetchTimestamp functions meant to be assigned to custom fetchTimestamp.fetcher methods (alwaysCurrent and neverCurrent)
make timestamp-managing helper functions friendlier, better documented
write new helper function, urlFetcher, to wrap up some of the dummy fetcher creation that was being done in hurricane-irma, -maria

It seems the travis test is complaining about the sciencebase timestamp, is this something to worry about?

the test passes locally...it's probably test design rather than a package problem...but i can spend a few mins trying to fix it after this sprint check-in

will debug after this


fix: multiplying calls to token endpoint in code flow

As of now, when stopping the automatic refresh in code flow and starting it again, calls to the token endpoint will start multiplying. Depending on the timing some will get rejected based on already used refresh token.
Managed to track it down to the subscription from events in setupAutomaticSilentRefresh not being unsubscribed together with the other timers.

Would also be great if this could be carried over to the 9.x version of the library, as that is the one the project I'm working on is currently using, and because of some other libraries we cannot upgrade to 10 just yet.

At first glance this looks pretty okay to me, nice!
Heads up though, the maintainer typically only merges PRs a couple of times each year to create a new release. I've not seen things like this get backported to old versions, so if you need that your best bet is probably to fork the library.


Configure error using make distclean

I was trying to make a debug build as per https://github.com/tesseract-ocr/tesseract/issues/529#issuecomment-301166173
Configure gave the following error
bash ./debug.sh
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
Using git revision: 4.00.00alpha-512-g6bebe71
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
configure: error: source directory already configured; run "make distclean" there first
make: *** No targets specified and no makefile found.  Stop.

So I ran make distclean which ended with the following error
 make distclean
Making distclean in arch
make[1]: Entering directory `/mnt/c/Users/User/shree/tesseract-head/arch'
make[2]: Entering directory `/mnt/c/Users/User/shree/tesseract-head/arch'
test -z "" || rm -f
rm -rf .libs _libs
test -z "libtesseract_avx.la libtesseract_sse.la libtesseract_arch.la" || rm -f libtesseract_avx.la libtesseract_sse.la libtesseract_arch.la

...

make[1]: Leaving directory `/mnt/c/Users/User/shree/tesseract-head/api'
Making distclean in .
make[1]: Entering directory `/mnt/c/Users/User/shree/tesseract-head'
rm -rf .libs _libs
make[2]: Entering directory `/mnt/c/Users/User/shree/tesseract-head/training'
Makefile:960: ../vs2010/port/.deps/strcasestr.Plo: No such file or directory
make[2]: *** No rule to make target `../vs2010/port/.deps/strcasestr.Plo'.  Stop.
make[2]: Leaving directory `/mnt/c/Users/User/shree/tesseract-head/training'
make[1]: *** [clean-local] Error 2
make[1]: Leaving directory `/mnt/c/Users/User/shree/tesseract-head'
make: *** [distclean-recursive] Error 1

./configure  --enable-debug --disable-shared --disable-static CXXFLAGS="-g"

works fine.
The error comes when trying to build in a subdir with
../../configure  --enable-debug --disable-shared --disable-static CXXFLAGS="-g"

Was it solved?

No, this is still an issue. ./configure && make distclean fails in the source root directory.

@Shreeshrii, now you can close this issue. It was fixed with PR #968.

Thanks!


update for new nvim_get_mode api

It's now a dict { "mode": String, "blocking": Boolean }

Fixed by 7344157


Add capability to display all types of warnings handled and their definitions (security for dummies)

Initially suggested by @RomainLanz
We are introducing a way to configure specifically warnings  through a .nodesecurerc file (#3).
However, those warnings meanings and consequences are not easy to understand though.
@fraxken already initiated the work and added a Warnings Legends in the README.md of the @nodesecure/js-x-ray package.
How to retrieve these legends ?
At the beginning, we could imagine a static data structure to include these Warnings Legends in the library. However this does not scale well, as it could introduce differences when adding more warnings to  js-x-ray.
How to display these legends ?
The goal would be to access those legends directly from @nodesecure/ci using either:

the CLI, by using a custom command printing the legends. table dependency could be used (waiting for #3)
via a static web page referencing these legends and in-depth ressources. The web page could be hosted via a local server.

On our last meeting we discussed the choice to probably manage this within the i18n project to include all translations and informations in tools.
Maybe a good way of solving the problem is to:

Complete JS-X-Ray to return the list of warnings with an i18n code in each warnings.
Match the code in i18n to get the right translation.

What do you think?

On our last meeting we discussed the choice to probably manage this within the i18n project to include all translations and informations in tools.
Maybe a good way of solving the problem is to:

Complete JS-X-Ray to return the list of warnings with an i18n code in each warnings.
Match the code in i18n to get the right translation.

What do you think?

Yes you're absolutely right. We could probably open those issues in JS-X-Ray and i18n and then the current issue here would be the final integration of both (by probably printing these translated warnings in the CLI via a command).

Also agree with @fraxken POV ^^

I take the issue

v1.3.0 of i18n and v4.4.0 of js-x-ray implement required API
Example taken from JS-X-Ray documentation:
import * as jsxray from "@nodesecure/js-x-ray";
import * as i18n from "@nodesecure/i18n";

console.log(i18n.getToken(jsxray.warnings.parsingError.i18n));

Fetching warnings i18n description with JS-X-Ray 6.x and i18n 3.2.0
import * as jsxray from "@nodesecure/js-x-ray";
import * as i18n from "@nodesecure/i18n";

console.log(i18n.getTokenSync(jsxray.warnings["obfuscated-code"].i18n));

Done by @halcin in #92, will be released in v1.7.0
@all-contributors please add @halcin  for code


Minor reference error/typo

In the Add a view - Visual Studio section
in the In the Add New Item - MvcMovie dot point
Sub item 2 'Select Razor V
View' should read 'Select Razor View - Empty'
and the corresponding graphic should be updated (but don't use mine, I changed the project name)

@mcalexster ... Best to close this and re-open using the This page feedback button and form at the bottom of the topic. It will add the topic metadata and ping the author of the topic.


Build failure not communicated to GitHub pull request

Before opening, please confirm:

[X] I have checked to see if my question is addressed in the FAQ.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

App Id
arn:aws:amplify:us-east-2:025179128306:apps/dqjx68ea5d3rv
Region
us-east-2
Amplify Console feature
Notifications
Describe the bug
AWS Amplify integration with GitHub pull requests (AWS Amplify Console Web Preview)
I am evaluating AWS Amplify as a host for my company's static docs site, which uses Hugo. I deployed a static Hugo website called docsy-example, linked to my GitHub repo aimeeu/docsy-example.
I created a new branch and created a PR. The PR built successfully; web preview generated successfully.
I then deliberately created a commit that I know will not build and pushed to an existing PR to see how the Amplify-GitHub integration (AWS Amplify Console Web Preview) displays a build failure. The build failed in Amplify in under 2 minutes, but Amplify doesn't appear to have notified GitHub. The PR doesn't reflect the build failure. The  GitHub PR Conversation tab says "In progress - This check has started" and the Checks tab shows a process clock that keeps accruing time. The AWS Amplify Console Web Preview doesn't even time out (20+ hours and still "running").
Monday 14 February 2022

Expected behavior
I expect the GitHub PR Conversation UI to reflect the AWS Amplify Console Web Preview build failure.
Reproduction steps

Deploy a static Hugo website
Create a new branch (ie git checkout -b new-branch)
Create a pull request that builds (ie, add a new page)
Push a commit that you know does not build (ie, add a new shortcode, use the shortcode on a page,  commit the page but don't commit the new shortcode file)

Build Settings
version: 1
frontend:
  phases:
    preBuild:
      commands:
        - npm install
    build:
      commands:
        - wget https://github.com/gohugoio/hugo/releases/download/v${VERSION_HUGO}/hugo_extended_${VERSION_HUGO}_Linux-64bit.tar.gz
        - tar --overwrite -xf hugo_extended_${VERSION_HUGO}_Linux-64bit.tar.gz hugo
        - mv hugo /usr/bin/hugo
        - rm -rf hugo_extended_${VERSION_HUGO}_Linux-64bit.tar.gz
        - hugo version
        - cd themes/docsy && git submodule update -f --init && cd ../.. && hugo
  artifacts:
    baseDirectory: public
    files:
      - '**/*'
  cache:
    paths:
      - node_modules/**/*

Additional information
Possibly related to https://github.com/aws-amplify/amplify-console/issues/367

I'm also facing this issue. If the related Amplify build fails - PR build will stuck in progress state without any feedback

I'm getting the same issue with any build failures in Amplify:

.

same issue here

We are also experiencing this issue

Is there any update about this? We’ve got this issue as well and it has significant impact on our workflow.

Same issue here. For my team, the checks are not consistent either, as some will pass/fail, while others will stall indefinitely. Build/deployment succeeds but we can't use the check right now to verify PR's

Same issue here, failures are not being communicated back to GitHub, developers unfamiliar with this quirk can waste a lot of time waiting for a build that will never finish

We recently addressed and fixed this issue.  Please give it another try and let us know if you are still experiencing issues.

We recently addressed and fixed this issue. Please give it another try and let us know if you are still experiencing issues.

The build failed in under a minute in Amplify. The GitHub UI did return a build failure about 3 minutes after the commit.

Great!  Thanks for double checking I’ll close this issue for now.  Feel free to reopen or open a new issue if you find something else that needs fixing!


Split CI into different workflows

For scalability and readability I feel it would be easier to break our CI pipeline into distinct workflows. This is not always straightforward on Github as anything that needs to share artefacts does need to be together in a workflow however I think im getting close to something more useable.
Description
Split the pipeline into multiple workflows, also make the cache work and pass artefacts to different steps to harden its use for scalability.
Status
Ready
Types of changes

[x] Non-breaking change (fix or new feature that would not break existing functionality).

Had to force push to add sign off for the DCO bot


Adding SQLITE_ENABLE_DBSTAT_VTAB

This enables the virtual stats table in SQLite https://www.sqlite.org/dbstat.html

Not that I have witnessed, and a bit of digging through the forums turned up this:
"SQLITE_ENABLE_DBSTAT_VTAB enables the dbstat virtual table. This will make the executable bigger, but should not impact performance if it is not used."

It is usually activated in other builds I know of.

✅ the precompiled binaries have it
✅ the Homebrew version have it
✅ the other node package node-sqlite have it

I am needing that option.
I would love better-sqlite3 to have it🙏

**adding an example use-case to motivate the merge: **
Many apps will allow people to store custom json or binary blobs in their DB => many users may by mistake blow up their DB size by doing something wrong => many devs will want a quick way to see if table size  (count and size) make sense.

@JoshuaWise could you check this out please?

Thanks 🔥


[11.x] Builds routing callback in a more consistent way when web is e…

…ither a string or array
Knowing right away that a route file passed as a parameter in the bootstrap/app.php file doesn't exist could speed up debugging.
If this is acceptable, we could do the same to the api parameter achieving the same benefit to end users.

Not sure what this is fixing or improving at the moment.

passing a non existing route file inside an array doesn't trigger an error like it does when you just pass a single file in bootstrap/app.php. I tried describing it here: https://github.com/laravel/framework/issues/51887


Disabling matrix fields broken?

It seems that disabling of Matrix fields does not work with Matrix fields pimped by PimpMyMatrix.
I can disable fields in the control panel (via the top-right cog drop-down) but this does not affect the the front-end. The disabled field’s content does still show up.
Could you reproduce this behaviour?

Anyone looked into it? At least it would be good to know, if this is a known issue or if it just happens in my installation. Thanks! :wink:
(No reaction is totally ok too. I mean, it’s free software and I am using it without paying you. Thanks for that! :smiley:)

Ha, yes sorry I haven’t looked into it actually at all ... does uninstall PMM solve it?

Hey @dennisfrank did you resolve this at all?

So sorry. I've forgot to look into it. I'll let you know when I know more


Blur edge of an image

As an input I have an image and I would like to blur the edges of the image.
The image could be a PNG like this:

And I need to blur the edges of the can -> I was thinking of:

Creating a mask where the image (the can in this case) would be black and the transparent part would be white.
After apply the CIAffineClamp and CIGaussianBlur to it
Apply this mask to the image blending it.

I still didn't try this since I am looking for the best way to fill the image of black color.
Any ideas?
(I know this is at the moment has not much to do with the library, but I'm using the MetalPetal library for other processing on the images so I would like to continue with it)

I don't understand what you mean by "fill the image of black color".
If you'd like to do something similar to image segmentation. You may want to consider using a machine learning model.

If you just want to create a mask based on the alpha value of the image. You can use a custom shader that extract the alpha value to RGB components.
...
return float4(float3(colorTexture.sample(colorSampler, vertexIn.textureCoordinate).a), 1);

For APIs that accept a MTIMask you can simply use MTIMask(content: image, component: .alpha, mode: .normal)

Thank you for the reply.
I don't need to apply image segmentation here since I need to have black pixels where the image is not transparent and white pixels where the image is transparent.

Ok. Using the second solution I have a MTIMask.
How can I apply a filter to a MTIMask? I need to convert it to an MTIImage?

Thank you that worked perfectly!


Swift 2.0

Makes the project compile and run properly using Swift 2.0
Using RealmSwift swift-2.0 branch
Using Swifty-JSON swift-2.0 branch
Updates README.md to reflect beta-ness of the release
Cleans up code a bit according to Xcode 7 nagging
Makes Transform able to return optionals, because relations in RealmSwift must now be marked as optional

I'll make an official release once @Realm swift 2.0 support comes out of beta.
Thanks to @andersklenke  for starting this train. :bullettrain_side:

Going at it alone.


Feature : Automatic token refresh

Feature : Implement automatic session token refresh if the token expires while running a long job. This will enhance the user experience.
Details :
SDK internally now check for HTTP code > 400 and error message "SM_http_unauthorized" while executing CRUD operations . The CRUD operations are executed after refreshing the session token.
Added a new function to delete the session token as it was missing with SDK.
Unit Test:
I've written a custom test code to validate this since session tokens expire in 1801 seconds.
Signed-off-by: vidhut-kumar-singh<EMAIL_ADDRESS>

Thanks @suneeth51

https://github.com/hpe-storage/common-host-libs/blob/master/storageprovider/csp/container_storage_provider.go

We shouldn't compare this with CSP implementation as here we are using resty package and each CRUD operations GET, PUT etc are implemented as different function unlike in CSP where you build the path and just invoke "provider.Client.DoJSON()"
Here is code for reference "
response, err := client.Client.R(). 		SetHeader("X-Auth-Token", client.SessionToken). 		SetBody(&DataWrapper{ 			Data: payload, 		}). 		Post(url)
I will still see how much refactoring is possible although sure we can remove GOTO and use recursion call instead.

I feel the RetryCondition is a better option.  You can perform a login, update the header token, and return true.  This will force the resty client to retry.

I feel the RetryCondition is a better option. You can perform a login, update the header token, and return true. This will force the resty client to retry.

Yes @rgcostea , resty RetryCondition is a superior option although it took me a while to understand how does it work, it is totally worth it.
thanks . 👍

I feel the RetryCondition is a better option. You can perform a login, update the header token, and return true. This will force the resty client to retry.

Yes @rgcostea , resty RetryCondition is a superior option although it took me a while to understand how does it work, it is totally worth it.
thanks . 👍

While doing unit testing discover an issue, the RetryCondition is not working in our case where Auth Token is refreshed. It always pic the expired token. Although workflow retry does happen possibly a bug or by design with rest since
the request doesn't take a pointer to SessionToken it takes string value.
response, err := client.Client.R().
		SetHeader("X-Auth-Token", client.SessionToken).
		SetBody(&DataWrapper{
			Data: payload,
		}).

What does your code look like in the RetryCondition?

Here is the code with only changes
`// NewClient instantiates a new client to communicate with the Nimble group
func NewClient(ipAddress, username, password, apiVersion string, waitOnJobs bool) (*GroupMgmtClient, error) {
// Create GroupMgmt Client
client := resty.New()
client.SetTLSClientConfig(&tls.Config{
InsecureSkipVerify: true,
})
groupMgmtClient := &GroupMgmtClient{
URL:       fmt.Sprintf("https://%s:5392/%s", ipAddress, apiVersion),
Client:    client,
WaitOnJob: waitOnJobs,
Username:  username,
Password:  password,
}
// Get session token
sessionToken, err := groupMgmtClient.login(username, password)
if err != nil {
	return nil, err
}
groupMgmtClient.SessionToken = sessionToken

// Add retryCondition
groupMgmtClient.Client.
	SetRetryCount(maxOpsRetries).
	AddRetryCondition(
		func(resp *resty.Response, err error) bool {
			if err == nil && resp.StatusCode() == 401 {

				err := groupMgmtClient.refreshSessionToken()
				if err != nil {
					return false
				}
				fmt.Println("RETRY WORKFLOW with new token", groupMgmtClient.SessionToken)
				return true
			}
			return false
		},
	)
return groupMgmtClient, nil

}
// EnableDebug : enables debug logging of client request/response
func (client *GroupMgmtClient) EnableDebug() {
client.Client.SetDebug(true)
}
// refreshSessionToken : refresh session token
func (client *GroupMgmtClient) refreshSessionToken() error {
nClient := *client
newClient := &nClient
rclient := resty.New()
rclient.SetTLSClientConfig(&tls.Config{
InsecureSkipVerify: true,
})
newClient.Client = rclient
newSessionToken, err := newClient.login(client.Username, client.Password)
if err != nil {
return err
}
// set new auth token
fmt.Println("new session", newSessionToken)
client.SessionToken = newSessionToken
return nil
}`

It looks like you are setting the retrycondition on the Client and not on the request:
groupMgmtClient.Client vs client.Client.R()
client.Client.R() is where the auth-token is set.

As per the below example code it has to be set on client
retryCount := 5
	retryIntervals := make([]uint64, retryCount+1)

	// Set retry wait times that do not intersect with default ones
	retryWaitTime := time.Duration(3) * time.Second
	retryMaxWaitTime := time.Duration(9) * time.Second

	c := dc().
		SetRetryCount(retryCount).
		SetRetryWaitTime(retryWaitTime).
		SetRetryMaxWaitTime(retryMaxWaitTime).
		AddRetryCondition(
			func(r *Response, _ error) bool {
				timeSlept, _ := strconv.ParseUint(string(r.Body()), 10, 64)
				retryIntervals[attempt] = timeSlept
				attempt++
				return true
			},
		)
	_, _ = c.R().Get(ts.URL + "/set-retrywaittime-test")

Reference : https://github.com/go-resty/resty/blob/master/resty_test.go

Ok.  But the Response in the RetryCondition has a reference to the request.  Can't you call
response.request.SetHeader("X-Auth-Token", newSession)

It worked.  thanks.
How did you find out that response can also be used to set request header? that was really nice, seems quirky a bit :)
Please check the latest code

I just read the docs: https://godoc.org/github.com/go-resty/resty#Response

Thanks @rgcostea . I just realised that we are also storing the rest client pointer in the groupMgtClient, we could have used it to set the header as well. Either way is fine.

I think all the major changes have been accommodated with the last commit.

@rkumpf, the merge is still not approved.

@rgcostea , there is one approver but still, the merge is not allowed. is there any setting change?

The merge is blocked because Suneeth has an outstanding request for changes.  His comment seems to be addressed acceptably in the updated patch, but I don't perceive sufficient urgency to warrant the bold step of dismissing his review.

The merge is blocked because Suneeth has an outstanding request for changes. His comment seems to be addressed acceptably in the updated patch, but I don't perceive sufficient urgency to warrant the bold step of dismissing his review.

Nobody suggested that . It just that I wasn't aware of what is blocking the merge. now it's clear. ;)

I know you didn't suggest it, but I was considering it nonetheless....

@suneeth51 , the merge is blocked because of your review change request. If you don't have any further comments, please approve.
Very poor feature of GitHub as any reviewer can block the merge. Bummer!

I am blocked due to this .

@rkumpf , thank you!

@rkumpf Thanks for taking care of this to unblock @vidhutsingh. The changes looks good.


Adding Props To Fields through Traversing

Hi! I'm currently working with a form that has a lot of fields.
I'm not sure if this is a redux-forms question but would there be a way to traverse through an array and append props to the fields:{} shown below instead of typing each?
  const {
      fields: { firstName, lastName, email, sex, favoriteColor, employed, notes },
      handleSubmit,
      resetForm,
      submitting
      } = this.props

Love Redux forms, thanks for making this!

Figured it out using lodash!


Plugin works via the command line but not the keybinding

I'm using Alacritty / Fish / Tmux 3.3a / Nvim 0.7 on macOS 10.15.7
I can't manage to make this plugin work. If I insert :lua require'nvim-tmux-navigation'.NvimTmuxNavigateLeft() in the Nvim command it works fine but the keybinding is not responding. I made a gist of my relevant config files below :
Here is my plugin file : https://gist.github.com/AxZxP/660f21651674599432a7e4b1e2976a30
keymap : https://gist.github.com/AxZxP/2b90e9dcb67bacc53fdaebbcd75ffbab
tmux conf : https://gist.github.com/AxZxP/cadd70ea99a9de01140d1152c2f76f14

Hey, thanks for submitting a bug report!
I will take a look at it the following days.
Off the top of my mind, some issues might arise in different environments like tmux3.3a, fish, alacritty etc. Some of these programs might capture the keybinds before they reach the neovim plugin. I believe the issue is not with the code itself, as I myself and many others seem to use it without problems, however I don't exclude that possibility.
Are you able to test an older version of tmux, bash/zsh, an older version of neovim until I can take a look?

Hey Alex, the plugin works now. It's very strange, I made sure to source every config multiple times. You can close the issue if you want, the plugin is SMOOTH with no lag between a vim or tmux pan.

All good! Let me know if something else happens in the meantime and we can reopen this!


#938 Replaced assertRegExp() with assertMatchesRegularExpression

Closes: #938

@mfn I fixed that whitespace problem. Currently build failing for PhpUnit version

Yeah, so, as long as this package doesn't drop older Laravel versions we also have to support older PHPUnit versions not knowing about the methods ;-)
Either you come up with a fix for that or we need a decision in general here first: until which version shall we support L5?
https://laravel.com/docs/master/releases
Basically it's L5.5 until August this year, everything else below L6 has not even security fixes so I personally also wouldn't bother supporting them.
[I don't know what happens to phpunit; years ago upgrades were smooth sailing but in "recent times" every release has so many breaking changes it's no fun anynore]

It's more about PHP versions, not Laravel versions.


Prevent time generator to generate time with minutes equals to 60

This PR fix in an issue that could happen with FFaker::Time generator.
Sometimes this line:
minutes = params[:minutes] || (rand * 60).ceil

Would allow the generation of minutes equals to 60 and that would end up throwing an ArgumentError: argument out of rangewhen generating dates at this line here:
series = [date = ::Time.local(year, month, day, hours, minutes)]

PS: issue with the failing build is addressed on this other PR: #266

good fix 🚀


update Mithril.js definition from 0.1.x to 0.2.0

:+1:

@borisyankov For this update, are you OK?

@shibukawa sorry for late. please resolve conflict first.

Finally, I update to 0.2.4.

mithril/mithril.d.ts
to authors (@lhorie @cbowdon). Could you review this PR?
:+1: or :-1:?
Checklist

[ ] pass the Travis CI test?

I just copy from https://github.com/lhorie/mithril/blob/master/mithril.d.ts and add header lines. And rewrite this repository's test code that uses deprecated method (m.module).


[Extensions/Documentation] Terminologies in Security/Extension Project

Description
This issue has been created to enhance the comprehension of the Security-Extension Project. It serves as a reference for explaining technical terminologies and for guiding future documentation efforts related to the project. The content organization will adhere to the structure outlined in the meta issue of security for extensions (https://github.com/opensearch-project/security/issues/2524).
[WIP]

[Triage] This is part of the ongoing work on the Extensions project.

@RyanL1997 what is the status of this one and/or next steps?


Randomize assignees

Address #15

Hi @nguyengiabk, thanks for the contribution.
I would like to avoid introducing breaking changes in the action so can you do the following:

make numOfAssignee optional
if numOfAssignee is not provided, keep the original action behavior (use all assignees)

@pozil
Thanks for review. Will do.

Hi @pozil
I made it optional.
Please take a look 🙇

Looking great, thanks @nguyengiabk. I'll release a new version with your contribution.


[backport] Fix DLPack lanes

Backport of #5045

[automatic post] Jenkins, test this please.

Jenkins CI test (for commit 3fc58202fcfad6f42f7118e4854a701e98fe8f50, target branch v9) succeeded!


Add public access endpoint CIDRs option (terraform-aws-eks#647)

PR o'clock
Description
This adds support for setting the public endpoint CIDRs.
Checklist

[x] Change added to CHANGELOG.md. All changes must be added and breaking changes and highlighted
[ ] CI tests are passing
[x] README.md has been updated after any changes to variables and outputs. See https://github.com/terraform-aws-modules/terraform-aws-eks/#doc-generation

Thanks @sidprak for your contribution.
Resolves https://github.com/terraform-aws-modules/terraform-aws-eks/issues/647


Cannot apply 1052.patch for lighthouse client

error information:
error: patch failed: beacon_node/genesis/src/eth1_genesis_service.rs:10
error: beacon_node/genesis/src/eth1_genesis_service.rs: patch does not apply
error: patch failed: eth2/state_processing/src/genesis.rs:1
error: eth2/state_processing/src/genesis.rs: patch does not apply
error: patch failed: eth2/state_processing/src/lib.rs:10
error: eth2/state_processing/src/lib.rs: patch does not apply

further update:
My os is Windows 10. I just run cargo build --release without applying 1052.patch.
It results in three error:

error[E0433]: failed to resolve: could not find unix in os
error[E0599]: no method named mode found for struct std::fs::Permissions in the current scope
the same as last one

1052 has been merged, so you can skip this step. I'm unsure about the Windows error though. Let me dig.

updated the docs. can you try again?
if it fails, can you provide more logs?


Hive Engine integration

Hello.
I started working on an Hive Engine integration for ecency.
For now it just displays tokens but I plan to add some actions in the future.
The code still needs some work at this point but if possible a little code review would be nice.
There is no translations, I don't really know what's the process is for that, should I just create the translation strings and english version?
I also have some failing snapshot tests but it doesn't seems to be related to my code changes.
There is only two API requests for now so I used simple axios requests but I've found a library sscjs that can be nice, is it something I can add or are you precautious when it comes to dependencies?
And finally, the UX/UI is maybe not that great, especially the mobile version. It works but can be improved.
I used a table to display the token infos, this is maybe not the best choice when it comes to mobile.
CSS and UX is clearly outside of my area of expertise, so a little help would ne nice.

Looks good to me, I would suggest showing only token abbreviation and combine balances or just show one balance and rest information about token full name, description, staked balance could be shown inside i icon. Icon can be front of balance, because after balance, operations dropdown icon could be placed.
For operations (transfer, stake, unstake, etc.) have dropdown similar to how current Hive and Points wallet sections work. When we redesign later, we will improve it with addition like last market price and customization on user part. So we don't show all tokens right away but allow selective ones. All accessible/viewable in Add token modal.

A quick update on this pull request.
I modified the UI and it now looks like the unified wallet you mentioned earlier.
Here are some screenshots for day and night mode:

I really like it this way, especially on mobile mode.
I also added rewards and reward claiming:

I don't know what is you politic when it comes to new features, do you want to have everything before shipping?
IMO it already brings some value and can be part of an upcoming release to collect feedbacks/bugs.
Next step for me will be to add stake/unstake actions.
As always, comments are welcome, so don't hesitate.
Thanks

@tipyy looking much better
Could we try removing/hiding ticker name after balances?
Balance could be aligned to right close to i icon and i icon could be moved front of balance.
What happens if you have more than 5 tokens pending reward, will it overcrowd the screen, how on mobile screens will it look?!
I think, we can merge and iterate these changes in steps for sure. We are planning to do release sometime next week, we will include this for sure, until then after we merge to development, we usually do some tests on alpha.ecency.com.

I implemented your suggestions and yeah it looks good :

About rewards claiming you're right. I don't have that much tokens to claim but when I look at some other people account, it looks overwhelming, especially for mobile:

What do you suggest (I like your UI suggestions :)), should Iwedisplay only a limited amount and add a claim all button or should we think of another design?

@tipyy There is function/api to claim all tokens at once right?
We can try maybe like this:
X tokens, Claim all - this means multiple tokens (X number of tokens) has pending reward and you can claim them all in one click.
0.22 POB - if there is only 1 token has pending reward then we can show amount and token ticker.

Yes there is an option to claim multiple tokens at once.
I'll try to implement that during the week end.

@tipyy Just wanted to follow up and see if there is anything we can help with?! We are planning on a release end of next week.

Sorry, I've been a little bit busy lately and didn't had a lot of time to work on it.
I added a method to claim multiple rewards at once, but I'm less confortable with the frontend part, if you want to help.
Also, it takes some time between the request being properly send and hive engine really taking into account the reward claim.
I'm trying to see if there is a way for the user to be aware of it.


Theme Page Overwrites (Custom Maintenance and Error Pages)

Problem
Cannot overwrite system theme views. i.e. maintenance.php and error.php
/packages/my-themes/my-theme/views/system/theme/maintenance.php
This is not recognized and the default one renders instead
/app/system/modules/theme/views/maintenance.php
Other system views CAN be overwritten. i.e. page.php, user/login.php
/packages/my-themes/my-theme/views/system/site/page.php
/packages/my-themes/my-theme/views/system/user/login.php
Technical Details

Pagekit version: 1.0.8
Webserver: maMP
Database: SQLite
PHP Version: 7.0

The maintenance page is currently rendered too early to be overwritten.

I solved my issue by making my own custom maintenance page workflow.
template.php now checks the value of the maintenance checkbox
<?= $view->render((!$params['maintenance.enabled'] || $app->user()->isAuthenticated()) ? 'theme/layout.php' : 'theme/maintenance.php', ['params' => $params]) ?>

The template.php page then redirects accordingly.
My custom maintenance page also packs more options.
I need more control for my clients.

@MalteScharenberg I was able to overwrite the maintenance page the same way you can overwrite the error page after I changed this line to $response = App::view('system/maintenance.php', compact('message', 'logo'));: https://github.com/pagekit/pagekit/blob/c76ae5741bafc8b66bc07d102338c7ffe2484638/app/system/modules/site/src/Event/MaintenanceListener.php#L25
So it does not seem to be too early. Or is there anything I miss why this should not be changed? If you don't see any objections I will create a PR if I find the time.

@tobbexiv If you just remove the prefix, Pagekit wont find the maintenance view because it is located in the admin backend theme.

@MalteScharenberg For me it worked in my dev environment. I removed the prefix and was able to use the default maintenance page as well as to overwrite it. The system shortcut which allows for this is defined here if I see it correctly.


Fixed invalid user command error when producing fake breadcrumbs

The logs do not produce the annoying error, Invalid User Command anymore.
The transactions are actually getting applied to the transition_frontier.
Need this to appropriately produce fake external transitions for mocking frontend data.
Checklist:

[ ] Tests were added for the new behavior
[ ] All tests pass (CI will check this if you didn't)
[ ] Serialized types are in stable-versioned modules
[X] Does this close issues? List them:

#2346

:+1:

@wu-s-john what's up with this PR? Do we just need review?

This fix I made was simple, but it's causing some of the test to be much
slower. I'm taking a look at it
On Fri, Jul 19, 2019, 11:42 PM Corey Richardson<EMAIL_ADDRESS>wrote:

@cmr approved this pull request.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/CodaProtocol/coda/pull/2587?email_source=notifications&email_token=ACPV44U4ULONXF5W2ZJC4S3QAKXUPA5CNFSM4HSPG2O2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB7B34FQ#pullrequestreview-264486422,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACPV44WGQHK6VOSMZVYJB4LQAKXUPANCNFSM4HSPG2OQ
.


waifu2x running on a paid server with gpu?

Hello
I am currently using waifu2x caffe in windows on a laptop with no gpu. Since it is running only on a dual core 2.7 ghz cpu the 288% resize is going quite slow and I have multiple images I would like to process. Is anyone aware of an implementation of waifu2x that runs on a remote server that DOES NOT have size limitations? I plan on bumping up multiple images from 5000x5000px to 14000x14000px and would be willing to use a paid service/rent server time if there were an easy way to do so.
Any suggestions infinitely appreciated thanks so much!

リモートサーバーにwaifu2x環境を構築したいのであれば、知識が必要ですが本家の説明にあるPublic AMIが一番簡単な構築方法だと思います。（実際に触ったことはありませんが）

Thanks so much for the quick reply. I am not very good with coding and thus don't think I could set this up very well myself however I would be willing to pay for access/time on someone else's implementation- are you aware of anyone setting up an implementation without size limitations on a remote server that might be willing to sell me access?

サイズ制限なしでwaifu2xを使って画像を拡大するサービスは、僕も聞いたことがありません（有料でも）。


add select_any impl

@alexcrichton this is the select_any as discussed.
I got rid of the index from the result, b/c it didn't seem worth it to track for the last error. It was an issue due to the skipping of errors, which result in those being removed from the inner Vec.
I added the loop { ... } so this should be good. Otherwise, still pretty close to the select_all interface.

Ok, my only remaining qualm here is the name. I feel like select_any is a little too similar to select_all to move forward with this naming unfortunately. That is, it's kind of unclear why any might wait for all futures (currently) where all will only ever wait for at most one future.
Maybe something like select_ok, though, to emphasize that it explicitly tries to select an Ok variant?

Yeah, i've been thinking about the naming for a little bit. The reasoning behind the any was derived from any in Iterator. It's basically meant to say, select any ok result, otherwise it is err. This is the same definition of any in Iterator, that is it is true if anything in the iterator is true.
Now the complicated thing is that in this context select_all, means select across all futures in a vector and return the first that completes, which matches the definition of select. all, though, does not necessarily fit this context, at least not as defined on Iterator, which requires that all elements must be successful. For that in futures-rs, there is collect, but collect does not function like select, and also is implemented as requiring each Future to complete in sequence, not in parallel like select. This leads me to think that select_all is possibly misnamed as well :). It also makes me think that join_all is possibly missing as well, though the location I would possibly use it is actually better implemented with a select_all with a loop since I need to process all results, doing something with errors and successes...
Anyway, long story short, I'm happy to change the name, perhaps dropping select is the correct option, because given current semantics, that's the one that select_any matches least. What do you think of just a bare any? or any_ok

select_ok maybe?

How about first_ok? I tried to keep the name "select" with select_all to be similar to Future::select, but it's true that collect should actually be join_all if that's the case. I don't mind keeping the "breakaway" though from the standard names on Future to get a more invocative name.

I'm leaning towards first_ok but select_ok is good too.
It's your library, you decide ;)

Ok, let's go with select_ok as I'd probably like to rename collect to join_all to keep a similar pattern there.

Thanks!