Implementing Harmenberg method to Monte Carlo Methods

Please ensure your pull request adheres to the following guidelines:

[x] Tests for new functionality/models or Tests to reproduce the bug-fix in code.
[x] Updated documentation of features that add new functionality.
[x] Update CHANGELOG.md with major/minor changes.

Codecov Report

Merging #1061 (a68a1cd) into master (7592b71) will increase coverage by 0.19%.
 Consider uploading reports for the commit e203c77 to get more accurate results

@@            Coverage Diff             @@
##           master    #1061      +/-   ##
==========================================
+ Coverage   71.71%   71.91%   +0.19%
==========================================
  Files          66       66
  Lines        9989    10063      +74
==========================================
+ Hits         7164     7237      +73
- Misses       2825     2826       +1

Impacted Files
Coverage Δ

...nsumptionSaving/tests/test_IndShockConsumerType.py
73.35% <ø> (+5.30%)
:arrow_up:

HARK/ConsumptionSaving/ConsIndShockModel.py
86.20% <96.42%> (+0.30%)
:arrow_up:

Continue to review full report at Codecov.

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

@sbenthall,
@wdu9 showed @Mv77 and me the results from this yesterday and it's pretty awesome.  Eyeballing his results, it looks to me like it will speed up simulations by a minimum of a factor of 3 and maybe as much as a factor of 10 or more.  This should apply directly to the simulations you are doing for the DARPA project.  Since you are burning a lot of cycles to get the simulation results, it might be an efficient diversion for you to figure out how to port this over to what you are doing.
Possibly there is one more element that should be added to the PR before merging, which is a more detailed intuitive explanation of what the Harmenberg method is and why it achieves such a massive speedup, in the form of a Jupyter notebook (probably thinking of it as targeted to eventually become part of the documentation).  I think at present basically we are just citing his paper, which is brief and written at a high level of abstraction.  That sounds like a project that you and Will might tackle together, with input from Mateo, since Mateo will almost certainly find it very useful to adopt the new method for his dissertation research.

@wdu9, as we discussed yesterday, could you take a look to see whether possibly it might be super easy to use the new method for the DistributionOfWealthAndTheMPC notebook?  That seems like a great starting point for incorporating it into applications of the toolkit.

I'll review this in the coming week.

I'm confused by #1065, which seems to be written as if this PR has already been merged.

It would be nice to test this for a case where the original permanent income shock has a mean that isn't 1.0.


[portmidi] Old version doesn't work on Win64

Describe the bug
Originally found when trying to use this package for https://github.com/csound/csound, any time the library API is called we get access violations/segmentation faults. A simple example using their test programs also causes the failures. The version of the code in use is from 2010. There have been numerous commits to their branch but no official release since.
Is it possible to pull down the latest SVN repo of portmidi to use as the package base instead of the zip file that is really old?
Environment

OS: Win 10 latest
Compiler: VS latest June 2020

To Reproduce
Steps to reproduce the behavior:

./vcpkg install portmidi:x64-windows
Compile sample program e.g. midiclock.c and compile using VS.
Run app

Expected behavior
Program should operate as expected, accessing midi device and doing whatever.
Failure logs
Access violation occurs when accessing portmidi API
Additional context
Add any other context about the problem here.

Thanks for posting this issue. VCPKG just support download zip file from sourceforge.net, we need wait for the new version zip file from the source.

Well that's probably never going to happen.
What if I create a mirror on github? Is it possible to use this as the base for the package?

Or another alternative, there is only maybe 10 other patches from the zip version. Should a patch work ontop of the zip?

You can create a mirror on github and commit some changes.


test: run specific tests on commit

What does this PR introduce?
This PR improves the script that runs on commit to only run the tests for the utils that have had updates or have had its tests updated. It will also run tests for the utils that have had its dependencies updated.

Decided to not implement this. Moving forward the plan is to move to jest testing environment and use jest --onlyChanged --silent


Requesting for a source almost like aniwave

Source name
Anix
Source link
https://anix.to
Source language
english
Other details
A new source just like aniwave since aniwave is down.
It can be added, since ive noticed aniwave takes their videos and sources largely from here. Its almost like aniwave, even the servers
I hope it gets added, if not, i hope aniwave gets fixed soon. Thank you guys for your hard work!
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a title with source name.
[X] I have checked that the extension does not already exist on the website extensions list or the app.
[X] I have checked that the extension does not already exist by searching the GitHub repository and verified it does not appear in the code base.
[X] I will fill out all of the requested information in this form.

It's a mirror of aniwave, which already exists as an extension.

oh okay, can i know the name of the extension so that i can install it?

As I just said, it's a mirror of aniwave


Event Update going only to core contributors, not all attendees

The organizer of this event is trying to send an update, but it's only giving her the option to send it to core contributors. She needs to send it to all attendees.

I tried to reproduce with another collective without success.
Looking at the audience query for this collective, I see:
CORE_CONTRIBUTOR	4
USER	29

@alanna Do you know when this happened? Having the exact date could help to understand if there's an issue.

I am pretty sure it was on the date that I raised this issue. But if it's not happening any more it's going to be hard to track down. Might not be worth it.


How do I draw an image?

I'm a little unclear as to how to go about drawing an image. I tried this:
import e2d, {drawImage, clearRect, globalAlpha, fillStyle, fillArc, Img} from 'e2d';

const width = 800;
const height = 600;
const r = new e2d.Renderer(width, height, document.body);

let mouse = { x: 0, y: 0, state: 'up' };
r.on('mouse', data => mouse = data);

const image = new Img();
image.src = '/images/1.png';

function frame() {
  r.render(
    clearRect(width, height),
    drawImage(image, 100, 300),
    globalAlpha(0.5, [
      fillStyle(mouse.state === 'down' ? 'blue' : 'red', [
        fillArc(mouse.x, mouse.y, 10)
      ])
    ])
  );
}

r.on('frame', frame);
r.ready();

It works if I remove the call to clearRect(). Of course, then the screen doesn't get redrawn. Am I misunderstanding something?

import e2d, {drawImage, clearRect, globalAlpha, fillStyle, fillArc, Img} from 'e2d';

const width = 800;
const height = 600;
const r = new e2d.Renderer(width, height, document.body);

let mouse = { x: 0, y: 0, state: 'up' };
r.on('mouse', data => mouse = data);

//images are cached on an index that gets cleaned up every frame because
//they need to be stored in the browser window when working with WebWorkers.
const image = new Img().cache();
//calling image.cache() simply tells the browser to hold onto the reference for more than one frame

//similarly calling image.dispose()  will clear the reference when you are done with the image
image.src = '/images/1.png';

function frame() {
  r.render(
    clearRect(width, height),
    drawImage(image, 100, 300),
    globalAlpha(0.5, [
      fillStyle(mouse.state === 'down' ? 'blue' : 'red', [
        fillArc(mouse.x, mouse.y, 10)
      ])
    ])
  );
}

r.on('frame', frame);

//Make sure the image is loaded
image.on('load', function(){
  r.ready();
});

You are correct about clearRect() because it clears the canvas region.
Also, I realize how inconvenient it is to call new Img().cache() instead of just new Img().
This is part of the problem with operating on images that reside in a browser when working in a web worker.

@clessg I'm going to close this issue, because I will address it in the next version of the docs.  I'm sorry it was hard to get up and running right away.
Thanks for your input!
-Josh

Thank you kindly, sir! I haven't had a chance to try again, as I've been really busy, but I will soon. Really like the idea so far, hoping to try it on something more complicated soon.


CSS Mirror Editing: Known Issues and Feedback

CSS mirror editing is an experimental feature that automatically applies changes made in the DevTools panel to CSS files in your workspace. See the GIF below for a small demonstration!
Enabling CSS Mirror Editing
This feature is available starting in v1.3.1. To enable CSS mirroring you will need to target Canary (Settings->Browser Flavor->Canary), then look for the "CSS Mirror Editing" section in the sidebar after opening the DevTools.
This issue is a central location where we will collect:

Known issues/bugs
Typical workflows surrounding this tool (i.e., how do you use this tool, or how would you like to be able to use it?)
Other feedback / suggestions to improve the feature

The mirroring explanation and button also shows up when Canary isn't the browser flavour and doesn't work. We should check the version number and only light it up when an Edge of the right version is used as the target.

oh my god 😱 i actually have to sleep but still briefly browse the web and see THIS. wow, i'll test it out tomorrow right away! but i want to get rid of my questions now. all questions that are answered with no are automatically feature requests:

[ ] does it work with bundler like webpack? (cause the output css is not everytime the src css/scss)
[ ] is there a plan for firefox and chrome support?

thank you so much 🙏🎉

What am I doing wrong that I don't have the option for css mirroring?
 Version: 1.60.2 Commit: 7f6ab5485bbc008386c4386d08766667e155244e Date: 2021-09-22T11:59:27.195Z (1 day ago) Electron: 13.1.8 Chrome: 91.0.4472.164 Node.js: 14.16.0 V8: 9.1.269.39-electron.0 OS: Darwin x64 21.1.0
Microsoft Edge Version 93.0.961.52 (Official build) (x86_64)
Microsoft Edge Tools for VS Code v1.3.1

Thanks in advance!

@Steve6030 Your Edge Version must be >= 94.0.988.0

What am I doing wrong that I don't have the option for css mirroring?

Microsoft Edge Version 93.0.961.52 (Official build) (x86_64)
Thanks in advance!

Hi there, currently this only works with a newer version of Edge. You need to set the target of the extension to "Canary" in the settings and get a Canary version. Once stable hits 96, this will not be needed any longer.

Hi, my css is not reflecting to the src :(
i am using:

Edge Browser: Version 96.0.1025.0 (Offizielles Build) canary (64-Bit)
Microsoft Edge Tools for VS Code v1.3.1
vscode 1.60.1

my launch.json is like:
    {
      "name": "Launch Microsoft Edge and open the Edge DevTools",
      "request": "launch",
      "type": "vscode-edge-devtools.debug",
      "url": "http://localhost:3000"
    }

and my settings.json is like:
  "vscode-edge-devtools.browserFlavor": "Canary",
  "vscode-edge-devtools.pathMapping": {
    "/": "${workspaceFolder}\\frontend"
  },
  "vscode-edge-devtools.mirrorEdits": true

the browser is launching, dev tools are running in vscode, if i click on a class in dev tools the src scss is opening in vscode but every change that i made in the devtools are not reflecting to the scss file.
what can i do more?

the browser is launching, dev tools are running in vscode, if i click on a class in dev tools the src scss is opening in vscode but every change that i made in the devtools are not reflecting to the scss file.
what can i do more?

Hey there, SCSS is currently not supported, the mirroring only works with plan CSS files. We're working on it but we're hitting some issues with going backwards on the transpilation.

VS Code Version: Version: 1.60.2 (Universal)
Version 94.0.992.31 (Official build) (x86_64)
macOS Big Sur
when i run my index.html file on localhost:8080 for example and try to edit the CSS in the dev tools, the extension properly tracks my location within the CSS file(highlights the correct area) BUT it does NOT edit anything in my CSS file as I change things within the dev tools(yes i checked that css mirroring was enabled in settings and in the sidebar). (also stable and default are the only settings that let me launch an instance without an error).

Hi Team,
This feature was so nice but its not changing style parameters for frame works like React and Angular. Will you please update it to work smoothly with frameworks like react and Angular.
Thanks.

I want to set vscode-edge-devtools.mirrorEdits to false, but when I reload VSCode, it automatically gets reset to true.

I am using styled components inside jsx files. Any hope to get that working there?

Love this feature. Unfortunately it's constantly loosing connection, I have to refresh within the browser to get it restored which also not 100% proof. But that is not the worst of the problems, the worst offender is that it corrupts CSS files when enabling/disabling an item, it randomly inserts end of a comment blah */, so I constantly have to monitor with jshint, which shows when file gets corrupted. Again, this happens randomly and from what I could tell after a long time using VSCode (an hour or so). Restarting the browser usually helps for a bit, but restarting vscode itself helps for much longer time.
My launche.json:
{
  "name": "Launch Edge",
  "request": "launch",
  "type": "pwa-msedge",
  "url": "http://storage/experiments/tcone/",
  "webRoot": "${workspaceFolder}",
  "outputCapture": "console",
  "console": "internalConsole",
  "attach": "restart",
  "restart": true,
//   "trace": true,
  "sourceMap": false,
  "runtimeArgs": [
      "--auto-open-devtools-for-tabs"
  ]
},

Visual Studio Code

Version: 1.61.2
Electron: 13.5.1
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
Edge: 95.0.1020.30 (Official build) (64-bit)
OS: Windows_NT x64 10.0.19043

Any updates on sass support?

WSL

Also having problems with projects running in WSL.
Even when project root is set to corresponding Windows filesystem path in Edge developer tools workspace settings, VSCode still tries to open files for Mirror editing through URL (e.g. http://localhost:8080/index.html), when running in WSL.
Following this guide in Microsoft Edge DevTools Extension docs. This works as expected in non-WSL environment.

Does this work with React?

Is this supposed to work w/ WSL at this point?

Chrome has had this forever, but it's been a nightmare and I have had so many projects ruined, so hopefully Microsoft can pull this off!
From my testing, it seems like whenever I try to do mirror editing another window of the file opens up even if I have one already open? It's super annoying. It seems like it is trying to open up the file right next to edge devtools, so that you can see the changes being made in your CSS file as you type in devtools, but if code mirroring works well then I would see no point to that. Hopefully this is just a bug (or only there for testing), as it would be nice to make and save changes to CSS files through code mirroring and not have it open up a new window at all...

Just started today with HTML/CSS. Not working with WSL.

Does this work with postcss?

It would be nice if this extension could disable autosave with afterDelay while editing CSS with mirror editing enabled because it seems like this combination doesn't really work, I had to disable autosave or my edits would get deleted instantly.

It would be nice if this extension could disable autosave with afterDelay while editing CSS with mirror editing enabled because it seems like this combination doesn't really work, I had to disable autosave or my edits would get deleted instantly.

Could you explain what you mean by AutoSave? CSS Mirroring as it stands does not automatically save the file, it just modifies it. Could it be that you are using live server or other extensions that do the live reload and save of the file instead?

It would be nice if this extension could disable autosave with afterDelay while editing CSS with mirror editing enabled because it seems like this combination doesn't really work, I had to disable autosave or my edits would get deleted instantly.

Could you explain what you mean by AutoSave? CSS Mirroring as it stands does not automatically save the file, it just modifies it. Could it be that you are using live server or other extensions that do the live reload and save of the file instead?

I'm using the native (I think) autosave feature in VS Code, the thing you find when searching for autosave in the settings.
If you enable it and change the type to afterDelay and the delay to 400ms VS Code will just save after 400ms which doesn't really work with CSS Mirroring because it seems like it expects you to not save the file while you're editing in Edge Devtools. For example just setting a background color in Edge Devtools and clicking the color picker and quickly selecting a few different colors will desync the mirroring (until you go back to the stylesheet itself and give it a new value and save).
I changed it to onFocusChange instead and it works better but it's still possible to break if you click around a lot. Not really sure how to explain it but I hope this helps!


Multiple instances with and without x-pack

Module version: 5.4.3
Puppet version: 4.2
OS and version: Fedora 25 x86_64

Bug description
I've setup three instances named: es-01 ,es-02,es-03 respectively.
I have enabled the x-pack plugin for instance number 3 only. However, the x-pack plugin gets loaded for the first 2 instances as well.
However I would like to have x-pack enabled on es-03 only.
The relevant section from my manifest file:
elasticsearch::instance  {  'es-01': config => $config_hash_es1 ,init_defaults=>$init_hash_es1  }
elasticsearch::instance  {  'es-02': config => $config_hash_es2 ,init_defaults=>$init_hash_es2  }
elasticsearch::instance  {  'es-03': config => $config_hash_es3 ,init_defaults=>$init_hash_es3  }
elasticsearch::plugin { 'x-pack': instances => 'es-04' }

My temporary fix outside of puppet  is to  manually set the service files in /usr/lib/systemd/system for es-01 and es-02 to another ES_HOME  that is at /usr/local/elasticsearch  in which there is no x-pack plugin sub-folder.
What would be the proper way to achieve this functionality with the puppet module?

the homedir is unique to the elasticsearch resource and not elasticsearch::instance so therefore all instances on the same node share /usr/share/elasticsearch and then would have the same plugins.
The ES_HOME I believe is the only way to override this setting as you've discovered.
So I would probably have a hiera hash like es_instances and do something like this... (forgive any typo's I don't have the ability to test this at the moment so I'm doing this all freehand... @tylerjl might be able to clean this up for you):
$es_instances.each do |String $es_instance, Hash $hash| {
  if $es_instance == 'es-03' {
    $instance_defaults = { ... hash with ES_HOME=/usr/local/elasticsearch ... }
  }else{
    $instance_defaults = { ... hash with ES_HOME=/usr/share/elasticsearch ... }
  }
  elasticsearch::instance {
    $es_instance:  * => $hash;
    default: * => $instance_defaults;
  }
}

Hi @mirkenstein, @cdenneen is right that there's a way to do this technically if you want, but because this module relies upon the repository packages and doesn't currently support installation from archives like tarballs, there's not really a supported way to do this right now (though there may be workarounds as previously mentioned).
In general, upstream Elasticsearch development has been intentionally removed some settings like path.plugin because running multiple nodes with different sets of plugins can be problematic. Since those settings aren't available, completely separate home directories is pretty much the only way to go about it.

Hi @tylerjl and @cdenneen,
Setting the ES_HOME variable only modifies the /etc/sysconfig/elasticsearch-es-0* scripts.
The systemd service files in /var/lib/systemd/system are still referring to the original es installation path. I think that this is hard coded in here
https://github.com/elastic/puppet-elasticsearch/blob/master/files/etc/init.d/elasticsearch.systemd.erb#L15
which is picking the homedir variable from the  params.pp file
https://github.com/elastic/puppet-elasticsearch/blob/master/manifests/params.pp#L76
I tried to modify per instance the  homedir resource but looks like that is not accessible.

...Elasticsearch::Instance[es-01]: has no parameter named 'homedir' ...
My config file

     elasticsearch::instance { 'es-01':
          homedir => '/usr/local/elasticsearch',
          config => $config_hash_es1,init_defaults =>$init_hash_es1
        }

My idea was to modify the homedir resource and later modify the relevant entries in systemd.erb.


Error:Could not find com.github.Raizlabs.DBFlow:dbflow-processor:3.0.0-beta2

I have set jCenter() and  apt plugin.
Error:Could not find com.github.Raizlabs.DBFlow:dbflow-processor:3.0.0-beta2. Searched in the following locations:     https://jcenter.bintray.com/com/github/Raizlabs/DBFlow/dbflow-processor/3.0.0-beta2/dbflow-processor-3.0.0-beta2.pom     https://jcenter.bintray.com/com/github/Raizlabs/DBFlow/dbflow-processor/3.0.0-beta2/dbflow-processor-3.0.0-beta2.jar     https://maven.fabric.io/public/com/github/Raizlabs/DBFlow/dbflow-processor/3.0.0-beta2/dbflow-processor-3.0.0-beta2.pom     https://maven.fabric.io/public/com/github/Raizlabs/DBFlow/dbflow-processor/3.0.0-beta2/dbflow-processor-3.0.0-beta2.jar     file:/home/dmitriy/soft/android-sdk-linux/extras/android/m2repository/com/github/Raizlabs/DBFlow/dbflow-processor/3.0.0-beta2/dbflow-processor-3.0.0-beta2.pom     file:/home/dmitriy/soft/android-sdk-linux/extras/android/m2repository/com/github/Raizlabs/DBFlow/dbflow-processor/3.0.0-beta2/dbflow-processor-3.0.0-beta2.jar     file:/home/dmitriy/soft/android-sdk-linux/extras/google/m2repository/com/github/Raizlabs/DBFlow/dbflow-processor/3.0.0-beta2/dbflow-processor-3.0.0-beta2.pom     file:/home/dmitriy/soft/android-sdk-linux/extras/google/m2repository/com/github/Raizlabs/DBFlow/dbflow-processor/3.0.0-beta2/dbflow-processor-3.0.0-beta2.jar Required by:     CardStorage:app:unspecified

you're not including jitpack https://github.com/Raizlabs/DBFlow#including-in-your-project

I have set maven { url "https://jitpack.io" } in my app.gradle

if it was set as a repository, the logs here would show it.

I am also facing same issue
below is my projectName.gradle file partly snapshot:
allprojects {
repositories {
jcenter()
maven { url "https://jitpack.io" }
}
}
still getting same eeror as mentioned by @TheLester above...
any solutions??
Please Help...

@nikhilB93  I moved
repositories {     maven {         url "https://jitpack.io"     } } from buildscript{} to root of the app.gradle.

@TheLester
thanks for reply ...
but I did not get you ...
what you mean by  "root of the app.gradle"...?
may be it is a stupid question as I am new to android development world...

@nikhilB93  Just put repositories { maven { url "https://jitpack.io" } } to app.gradle, in my case it was like this :buildscript{repositories { maven { url "https://jitpack.io" } }}

@TheLester  thanks again ...
Its working fine...!!!


Makes color picker dialog responsive and adds cpWidth parameter

This makes the need for cpHeight obsolete by making the dialog responsive. Added cpWidth parameter can be used to set the width of the dialog (to match the directive width with top/bottom placement for example).

Hi
I see a line under the top slider and the text alpha control is outside

Let me try to re-produce this, maybe browser default styles are messing it up and I am missing some reset styles. What browser did you test with?

I added the style fixes that should correct those issues you were seeing. I could not reproduce the extra white space after the preset colors though. So if that is a still issue then let me know the browser you tested with and I try to reproduce it. Also please let me know if you want me to do any changes.

Hi
Fails in Internet Explorer 11 and Safari(5.1.7)
Same problem, text inputs overfow color picker dialog when is selected rgba or hsla

I am pretty sure I tested with those and fixed that problem as well. Let me check once I get back to my computer that if I forget to commit them, it seems that I only see one commit in here so I guess I accidentally left that commit unpushed.

Internet Explorer is OK, In Safari(5.1.7) for windows and I see:

What version are you using?

The new 2 options a very nice, but could be possible having the sliders, color selected...with the same widths and positions please? I would be nice the color picker to have the same appearence in all versions.
In the template folder could be added news templates...

I tested with latest safari in OS X. Isn't the windows Safari like really old? I am not sure if that should be supported, not sure if Angular 2 even supports such old version of Safari. At least as far as I know the preferred way to do layouts in Angular 2 is flexbox and those really old browsers wont support that.
Not sure what you mean with your latest comment. The appearance should be the same as previously.

If works with Safari (7+) is OK, (now I cant access to mac a to test in Safari), could you validate that?
My last comment, sliders width, paddings...:

Yes I tested with OS X and safari 7 and it looks the same as in Chrome, Firefox and IE 11.
Ok I get it now, I try to tweak the paddings / width closer to the originals. So give me an hour and I will update the pull request.

I changed the paddings closer to your original paddings and there should now be only really small difference which I left in for more consistent padding values around the widget. I hope they are now to your liking.
I also merged changes from your master branch for this and the preset colors pull request.

<input [colorPicker]="color" (colorPickerChange)="hex8=onChangeColor($event)"/>


Update qtox to 1.15.0

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Developer confirmation.


No audio from App - Turntable with USB output

First of all, thanks you Allen for all the time you've invested in this great project!
I can't get it to work, but I feel I'm very close - maybe somebody has a hint that can help me.
I'm using a LG G4 (LineageOS 15.1, Android 8.1). OTG mode seems to work fine - I can connect and use a mouse and an USB stick. Vinyl-Cast recognizes my turntable (Teac TN300) as a USB device. I can connect to my Chromecast Audio at home and hear the chord sound through my speaker. But when I activate Vinyl-Cast, no audio arrives comes out my chromecast device.
When I select the phone's speaker as output device, I don't hear anything, so most likely Vinyl-Cast is not receiving proper audio from the USB device.  I remember seing something like 48kHz sampling rate in the settings menu, so some sort of audio stream is received by the app.
Anybody has experience in connecting a turntable with USB output?

@Sidelobe appreciate you checking out the project!
As one way to debug where issue lies, can you check if the the background of the main UI in Vinyl Cast is moving when all connected? When Vinyl Cast app is "playing", the grey bars should move up/down with the audio being recorded (like a graphic equalizer). If the grey bars are not moving a lot, then the Vinyl Cast app is not recording the audio stream as expected. Also if you select a 'Local Playback Device' then you should hear audio being recorded being played back on your LG G4.
Couple other ideas --

Try enabling or disabling the Low Latency Playback option and see if that changes behavior?
Do you have another audio device like a USB microphone or headset you can attach to your LG G4 to test with? Do you have another app on your phone to record audio? Or try attaching the Teac TN300 to a computer and seeing if you get audio as expected?
Looks like the Teac TN300 has a built-in Phono Pre-amp controlled via a toggle switch -- not sure if that should be in the "on" position?

Annoyingly, the performance of the native audio APIs on Android can vary significantly between Android devices; lots of details are left up to device manufacturer to implement and they are not all the same so problems occurring on certain devices and Android versions are the most common issue.
Post an update if you learn anything more and I can try to help a bit more.

Thank you for your tips, Allen!
I methodically went through everything on your list — it turns out the “low latency playback” does the trick!!
I’m listening to my vinyls on my balcony right now 🤗🤗
My android phone is somehow not charging, but that’s most likely due to the OTG adapter. I’ll order another one to test, but for now, it works fine
Thanks for your help - and thanks again for developing this and for sharing!


Revert "Only compile files following trace of entry.. (#1390)

This reverts commit 8061151ddd7b6b13e387b8c591d9fc11cc2c43fe.
Why
Reduce the diff between beta and stable flavor builds. The larger this diff, the higher the chances that build failures will leak in when we stabilize a feature (i.e., remove related conditional compilation directives).
A better approach for beta-only features is to define all internal types unconditionally and only restrict the exported API.

Wondering if we get any build error after reverting this? Would like to help if we see a lot

Wondering if we get any build error after reverting this? Would like to help if we see a lot

Thanks for the offer. I'm planning to really work on fixing all those errors and merge this next week.

Subsumed by https://github.com/Azure/communication-ui-library/pull/1551


Fixed height and y-overflow

Need to determine whether:

Modal should be a fixed height with overflow content therein flowed through a scrollbar
Modal should just cover the entire screen

Affects dock button, which should be dropped in that case

To open the entire menu in a new tab

Consider the possibility/likelihood of more verbose information/configs being added in the future and the need to make things feel uncramped.

Should be pretty easy to do the first two with a little bit of CSS, I'll get on it. I'm not sure if we'll need to open it in a new tab as long as we make the UI responsive

OK, I've added a sticky footer that contains a magazine link and bug report link and should be more conducive to a full-bleed modal.

Three workarounds for wanting to preview the results without the modal occluding the page, in ascending order of desirability.
First, let's assume that we are covering the page and adding a scrollbar.

Image tooltips. Hover an icon and you'll see a sample image or gif of what the feature does.
Lightbulb icon at the top to "dim" the modal contents so you can see through to the parent window. Counterpoint: seems a bit gimmicky, and dimming may cause things to look not exactly as they actually would.
Icon at the top to "roll up" the modal into a single navbar (that could still be docked up or down). Counterpoint: not much that I could think of, aside from the need to unfurl it again when done previewing.

So if you want to see the results, the modal gets out of the way and you can see the page clearly, then unroll it again. Thoughts? This is potentially better than a new tab altogether, since at that point we aren't operating on the same window context and it becomes necessarily more complex.
Alternatively, people could just close the modal entirely.

Also, (in case it wasn't obvious) the main reason I suggest full screen, fixed height is because it's disorienting to have the modalContent element jump around in size when the content is a different length.

I tried setting .megamod-settings-modal-content to height: 100% and grid-template-rows: 0.2fr and it seems to look pretty good in fullscreen and gives much more room to work with! I don't think this is responsive, though, so the main grid items might occlude the header depending on the resolution. Might be good to put the sidebar, body, and helpbox into their own div that stays below the header line. For that matter, I don't think any of the design is very responsive for mobile right now.

I think I should be able to make the UI pretty responsive with some media queries that rearrange the grid template areas. I'm thinking, in "mobile" mode, it should just go header, sidebar, body, helpbox from top to bottom. Super simple change and I think it should look pretty good. Maybe adding a button to collapse the sidebar on mobile could be nice too.
On the topic of responsive design, I think we should put the modal contents in another container with a max-width of 1360px (the same as the kbin-container class, or maybe a bit bigger since we're using a 3 column design). It feels a bit too wide even at 1080p

Alright, sounds good, let's see what you come up with. I just added keybindings (ctrl-shift-l and esc) to open and close the modal. No rhyme or reasons to the keybinding name, it was just an available key that wasn't already mapped to something.


Make Scrollspy nav into an official component

added in decfd0f
This will not be pushed live until the next release, so let me know if you have trouble using it.

added in decfd0f


drivers: nrf: Add GPIO shim using NRFX

This PR adds shim for GPIO based on NRFX drivers.
It also adds DTS support for GPIO on nRF51
Fixes #8713

Codecov Report

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

@@           Coverage Diff           @@
##           master    #8729   +/-   ##
=======================================
  Coverage   52.36%   52.36%
=======================================
  Files         195      195
  Lines       24696    24696
  Branches     5128     5128
=======================================
  Hits        12931    12931
  Misses       9695     9695
  Partials     2070     2070

Impacted Files
Coverage Δ

include/misc/util.h
50% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

One question about HAS_DTS_GPIO:

is it supposed to be added in all nRF51-based boards, or not?
if yes, could we, instead, add it in the driver Kconfig file, as we do it for nRF52?

Also, GPIO_NRF5_xxx is still used in several places; IMO it would be good idea to generate GPIO_NRFX_xxx information through DTS and FIXUP files

@ioannisg I've added HAS_DTS_GPIO to driver Kconfig file, as now all nRF boards have dts information about gpio

@anangl All requested changes should be addressed now

@anangl All done

@ioannisg @galak Could you revisit?

@galak @ioannisg @carlescufi Could we get this merged?

@Mierunski yep, I just dismissed @galak 's review since it was addressed. @ioannisg can you please revisit this so we can merge it?

recheck

Thanks! Will assign to Mieszko, it’s his code

@carlescufi Thanks, I think @Mierunski is off today. I fixed two bugs there, should push the change in few minutes.


Errors when using build_pkg/test_pkg

Whenever I try to use the build_pkg or test_pkg verbs on ament_cmake packages instead of build/test, I get the following error:
$ ament build_pkg .

Process package 'pendulum_msgs' with context:
--------------------------------------------------------------------------------
 source_space => /Users/deanna/ros2_ws/src-master/ros2/demos/pendulum_msgs
  build_space => /Users/deanna/ros2_ws/src-master/ros2/demos/pendulum_msgs/build/pendulum_msgs
install_space => /Users/deanna/ros2_ws/src-master/ros2/demos/pendulum_msgs/install
   make_flags => None
  build_tests => False
--------------------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/deanna/ros2_ws/src-master/ament/ament_tools/install/bin/ament", line 9, in <module>
    load_entry_point('ament-tools==0.0.0', 'console_scripts', 'ament')()
  File "/Users/deanna/ros2_ws/src-master/ament/ament_tools/install/lib/python3.5/site-packages/ament_tools/commands/ament.py", line 88, in main
    rc = args.main(args)
  File "/Users/deanna/ros2_ws/src-master/ament/ament_tools/install/lib/python3.5/site-packages/ament_tools/verbs/build_pkg/cli.py", line 270, in main
    context = get_context(opts)
  File "/Users/deanna/ros2_ws/src-master/ament/ament_tools/install/lib/python3.5/site-packages/ament_tools/verbs/build_pkg/cli.py", line 276, in get_context
    return create_context(opts)
  File "/Users/deanna/ros2_ws/src-master/ament/ament_tools/install/lib/python3.5/site-packages/ament_tools/verbs/build_pkg/cli.py", line 383, in create_context
    ce = build_type_impl.extend_context(opts)
  File "/Users/deanna/ros2_ws/src-master/ament/ament_tools/install/lib/python3.5/site-packages/ament_tools/build_types/ament_cmake.py", line 59, in extend_context
    ce = super(AmentCmakeBuildType, self).extend_context(options)
  File "/Users/deanna/ros2_ws/src-master/ament/ament_tools/install/lib/python3.5/site-packages/ament_tools/build_types/cmake.py", line 88, in extend_context
    force_cmake_configure = options.force_cmake_configure
AttributeError: 'Namespace' object has no attribute 'force_cmake_configure'

This happens for me regardless of the options passed, but I think the fix might depend on the following:
Is it expected that cmake options can be passed to ament_cmake packages when using build_pkg, as is possible with build?
If the answer's no, then I think it might be sufficient to provide default values for the cmake args to avoid the error here
If the answer's yes, then I think cmake args, in addition to the ament_cmake args, have to be added to the build_pkg subparser when an ament_cmake package is detected. (I made an attempt at this with https://github.com/ament/ament_tools/pull/81)

Addressed by #152.


chore: update calc to use underscore-in-first-lhs notation

Lean 4's PR 1844 modifies the calc notation (term and tactic versions). As a result, arbitrary indentation in calc relations is not allowed anymore, which is oftentimes used to (try to) align relations/proofs:
example (x y : Nat) : (x + y) * (x + y) = x * x + y * x + x * y + y * y :=
  calc
    (x + y) * (x + y) = (x + y) * x + (x + y) * y  := by rw [Nat.mul_add]
        -- improper indentation
        _ = x * x + y * x + (x + y) * y            := by rw [Nat.add_mul]
        _ = x * x + y * x + (x * y + y * y)        := by rw [Nat.add_mul]
        _ = x * x + y * x + x * y + y * y          := by rw [←Nat.add_assoc]

To compensate, PR 1844 allows an alternate syntax where _ can be use in the first relation:
example (x y : Nat) : (x + y) * (x + y) = x * x + y * x + x * y + y * y :=
  calc (x + y) * (x + y)
    _ = (x + y) * x + (x + y) * y       := by rw [Nat.mul_add]
    _ = x * x + y * x + (x + y) * y     := by rw [Nat.add_mul]
    _ = x * x + y * x + (x * y + y * y) := by rw [Nat.add_mul]
    _ = x * x + y * x + x * y + y * y   := by rw [←Nat.add_assoc]

This PR discusses this alternate notation in the "Quantifiers and Equality" section, when calc is first discussed, and fixes calc code samples that use improper indentation with this new syntax.

LGTM. I'll merge tomorrow if no-one disagrees.

Thanks!


WIP: Implement GoogleAnalyticsAndroidV4.LogTransaction

Attempting to fix #98. Some outstanding questions (see FIXMEs). Please review and I'll clean it up for merging. :)
Also noticed there's a bunch of random stuff commented out from before, like the stop/start session stuff, log level setting. Any reason for that?
(cc @baldwin628)

Ping ping.


inference fail for tflite model

I am trying to get inference for tflite model but getting the following error. Any idea?
2021-05-03 19:25:53.843226: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory
2021-05-03 19:25:53.843252: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
Traceback (most recent call last):
  File "run.py", line 36, in <module>
    kp_detector, process_kp_driving, generator, _interpreter_obj_list = load_funcs[parser.target](parser.model, prediction_only=parser.datamode=='file')
  File "/home/faraz/Desktop/Esper_Solutions/PROJECTS/deepfake/code/first-order-model-tf/utils.py", line 88, in load_models_tflite
    kp_detector_base = kp_detector_interpreter.get_signature_runner()
AttributeError: 'Interpreter' object has no attribute 'get_signature_runner'

Hello. As mentioned in the FAQ, running inference on python TF Lite interpreter requires  the signature runner functionality, which is available starting TensorFlow 2.5. You'll have to install the release candidate by specifying the version manually (pip install tensorflow==2.5.0rc2).
Alternatively, if you really need to stick to 2.4.1, you can use this tag, which points to the state of the repository at which everything was compatible with 2.4.1, including inference on TF Lite.

@lshug  Ive installed required packages and specially tensorflow==2.5rc2 but still getting tensorflow error
ValueError: SignatureDef method_name is None and model has 0 Signatures. None is only allowed when the model has 1 SignatureDef
and i tried your 2.4.1 version suggestion, but still getting the same error.
AttributeError: 'Interpreter' object has no attribute 'get_signature_runner'
I ve made python env and installed all the module specified in requirements.txt file.  I am using Python3.6

That's weird. I'm reopening the issue and will try to replicate the issue in a bit. Meanwhile, can you try with 2.5rc0?

Concerning "model has 0 Signatures" error, tf lite files generated by build.py should by default have 1 signature, named ""serving_default" (inherited from the SavedModel's default signature). Can you open the generated kp_detector tflite (e.g. tflite/vox/kp_detector.tflite) in Netron and tell me the name of the input tensor? If the signature is "serving_default" as it's supposed to be, then the input tensor name will be serving_default_img:0.
Concerning "no attribute 'get_signature_runner'", that's definitely not supposed to be happening in the linked tag, as tf lite inference method in utils.py for the 2.4.1 tag does not call get_signature_runner method. You're probably in the main branch. Please make sure to fetch the tag (git fetch --all --tags) and checkout (git checkout tags/tf2.4.1).

Closing issue due to inactivity. If you do manage to find out what was going on here though, please inform me.


feat(pixels): add my new pixel erickvch (37,24)

Checklist

[x] I ran npm test locally and it passed without errors.

[x] I only edited the _data/pixels.json file.

[x] I entered the username in the pixels.json that I'm also using to create this pull request.
[x] I acknowledge that all my contributions will be made under the project's license.

Adding my pixel


Service naming problem

I create an grails 3.2 application add cxf dependency, create a DemoService
import grails.transaction.Transactional
import org.grails.cxf.utils.GrailsCxfEndpoint
import javax.jws.WebMethod
import javax.jws.WebResult
@Transactional
@GrailsCxfEndpoint
class DemoService {
@WebMethod
@WebResult
String demoMethod() {
    return "demo"
}

}
Run the project, and service is created as DemoServiceService instead of DemoService.
Same with grails-cxf-demo project.

Does this naming standard break something or cause an issue?  I can't specifically remember if this was intentional or incidental, but it hasn't specifically caused issues with our projects other than the duplication of the work Service in on the wsdl page.

With a new project, no problem with the naming but for existing projects with lots of end user web service clients, each client had to update stubs.
I checked the wsdl, previously a service definition like:
<wsdl:service name="PersoninfoService"> <wsdl:port binding="tns:PersoninfoServiceSoapBinding" name="PersoninfoServicePort"> <soap:address location="http://localhost:8080/services/personinfo"/> </wsdl:port> </wsdl:service>
becomes
<wsdl:service name="PersoninfoServiceService"> <wsdl:port binding="tns:PersoninfoServiceServiceSoapBinding" name="PersoninfoServicePort"> <soap:address location="http://localhost:8080/services/personinfo"/> </wsdl:port> </wsdl:service>

Released 3.1.0

Thanks, just a quick note, if you don't provide a name property to a service, it still has duplicate Service string in service name (CarServiceService but documentation says CarService), but if you provide an endpoint name, it correctly creates the service with just single Service string in the name.
` @GrailsCxfEndpoint(name='CarService')
class CarService {
result:CarService
@GrailsCxfEndpoint(name='CarService')
class CarService {
result:CarServiceService `


[meta] Deis Workflow RC

This issue is currently a Work in Progress
RC Issues Search
Security target

[ ] All platform components run as non-root users (whenever possible)

Test target

[ ] load test: running for week (24/7) < 1% dropped requests
[ ] load test: 1 deploy/minute across 5 independent applications
[ ] workflow-e2e consistently green
[ ] all 2.0 functionality covered with e2e test

Scale target

[ ] TBD

Dogfooding target

[ ] production cluster provisioned
[ ] slack.deis.io deployed
[ ] WFM Backend Deployed

Documentation

[ ] all workflow/component configuration documented

Infrastructure

[ ] AWS: zero running to recovery from s3 storage (in us-east-1 and us-west-2)
[ ] GKE: zero running to recovery from GCS (compat mode)

Operations

[ ] resource requirements (cpu/mem) declared for workflow components

UX

[x] Object Storage Cleanup: deis/deis#4966

Release Checklist

Also note object storage configuration: https://github.com/deis/deis/issues/4966

Nevermind, I just saw it under ux...

@slack can this ticket move to the v2.0 milestone?

Sure.

Actually, I'll just close this.


Python Avro consumer cannot consume non-union fields

How to reproduce
Run a Pulsar standalone 2.11.
First, create a Python consumer whose schema is a class with a string field name and an integer field age:
import pulsar
from pulsar.schema import *
import fastavro

class User(Record):
    name = String()
    age = Integer()

print(fastavro.parse_schema(User.schema()))

client = pulsar.Client('pulsar://localhost:6650')
consumer = client.subscribe('my-topic',
                            subscription_name="sub",
                            schema=AvroSchema(User))

while True:
    try:
        msg = consumer.receive()
        version = int.from_bytes(msg.schema_version().encode('ascii'), byteorder='big')
        print(f"Received {len(msg.data())} bytes id='{msg.message_id()}' version='{version}'")
        value = msg.value()
        print(value)
        print(f"name: {value.name}, age: {value.age}")
        consumer.acknowledge(msg)
    except pulsar.Interrupted:
        print("Stop receiving messages")
        break

client.close()

Then, set the schema compatibility to FORWARD:
curl -L http://localhost:8080/admin/v2/namespaces/public/default/schemaCompatibilityStrategy \
   -X PUT -H 'Content-Type: application/json' -d '"FORWARD"'

NOTE: Here we have to set the schema compatibility, otherwise the Java producer cannot be created. It's another bug. I will talk about it later.

Then, run the Java producer to send a message (User{name="xyz", age=10}):
    @AllArgsConstructor
    @Getter
    public class User {
        private final String name;
        private final int age;
    }

        @Cleanup PulsarClient client = PulsarClient.builder().serviceUrl("pulsar://<IP_ADDRESS>:6650").build();
        Producer<User> producer = client.newProducer(Schema.AVRO(User.class))
                .topic("my-topic").create();
        producer.send(new User("xyz", 10));

Then, the Python consumer application will crash with the following logs:
Received 6 bytes id='(1,0,-1,-1)' version='1'
Traceback (most recent call last):
  File "consumer.py", line 42, in <module>
    value = msg.value()
  File "/home/xyz/pulsar-client-python/pulsar/__init__.py", line 130, in value
    return self._schema.decode(self._message.data())
  File "/home/xyz/pulsar-client-python/pulsar/schema/schema_avro.py", line 80, in decode
    d = fastavro.schemaless_reader(buffer, self._schema)
  File "fastavro/_read.pyx", line 1107, in fastavro._read.schemaless_reader
  File "fastavro/_read.pyx", line 1120, in fastavro._read.schemaless_reader
  File "fastavro/_read.pyx", line 749, in fastavro._read._read_data
  File "fastavro/_read.pyx", line 620, in fastavro._read.read_record
  File "fastavro/_read.pyx", line 740, in fastavro._read._read_data
  File "fastavro/_read.pyx", line 521, in fastavro._read.read_union
IndexError: list index out of range

Analysis
There are two bugs. First, the schema definition generated by the Python client is different from the Java client. Copy these two classes here:
class User(Record):
    name = String()
    age = Integer()

    @AllArgsConstructor
    @Getter
    static class User {
        private final String name;
        private final int age;
    }

Check the schema definitions (pulsar-admin schemas get my-topic -v <version>) and we can find there are two versions of the schema:
{
  "name": "my-topic",
  "schema": {
    "type": "record",
    "name": "User",
    "fields": [
      {
        "name": "name",
        "type": [
          "null",
          "string"
        ]
      },
      {
        "name": "age",
        "type": [
          "null",
          "int"
        ]
      }
    ]
  },
  "type": "AVRO",
  "timestamp":<PHONE_NUMBER>129,
  "properties": {}
}

{
  "name": "my-topic",
  "schema": {
    "type": "record",
    "name": "User",
    "namespace": "org.apache.pulsar.client.api.ConsumerIdTest",
    "fields": [
      {
        "name": "age",
        "type": "int"
      },
      {
        "name": "name",
        "type": [
          "null",
          "string"
        ]
      }
    ]
  },
  "type": "AVRO",
  "timestamp":<PHONE_NUMBER>624,
  "properties": {
    "__alwaysAllowNull": "true",
    "__jsr310ConversionEnabled": "false"
  }
}

We can see:

Python client treats all fields as nullable fields, (or say it correctly, they are Avro unions), even including the int field
Java client only treats the string as nullable fields since Primitive types cannot be null

A workaround is to change the Python User definition from
class User(Record):
    name = String()
    age = Integer()

to
class User(Record):
    _sorted_fields = True
    name = String()
    age = Integer(required=True)

To be compatible with the Java client, we have to configure the required field of all fields with True, except String. In addition, we need to set _sorted_fields with True.


Minibuffer shows <no location info>: error: not an expression: '' when cursor points empty line

Minibuffer shows <no location info>: error: not an expression: '' when cursor points empty line on haskell source.

OS X El Capitan 10.11.6
GNU Emacs 25.1.1 (x86_64-apple-darwin13.4.0, NS appkit-1265.21 Version 10.9.5 (Build 13F1911)) of 2016-09-21

Step to reproduce:
$ uname -a
Darwin saturday06-no-MacBook-Pro.local 15.6.0 Darwin Kernel Version 15.6.0: Mon Aug 29 20:21:34 PDT 2016; root:xnu-3248.60.11~1/RELEASE_X86_64 x86_64
$ cat ~/.emacs
;; If you don't have MELPA in your package archives:
(require 'package)
(add-to-list
  'package-archives
  '("melpa" . "http://melpa.org/packages/") t)
(package-initialize)
(package-refresh-contents)

;; Install Intero
(package-install 'intero)
(add-hook 'haskell-mode-hook 'intero-mode)

(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(package-selected-packages (quote (intero))))
(custom-set-faces
 ;; custom-set-faces was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 )
$ stack --version
Version 1.2.0 x86_64 hpack-0.14.0
$ stack new simple
Downloading template "new-template" to create project "simple" in simple/ ...

The following parameters were needed by the template but not provided: author-email, author-name, category, copyright, github-username
You can provide them in /Users/saturday06/.stack/config.yaml, like this:
templates:
  params:
    author-email: value
    author-name: value
    category: value
    copyright: value
    github-username: value
Or you can pass each one as parameters like this:
stack new simple new-template -p "author-email:value" -p "author-name:value" -p "category:value" -p "copyright:value" -p "github-username:value"

Looking for .cabal or package.yaml files to use to init the project.
Using cabal packages:
- simple/simple.cabal

Selecting the best among 9 snapshots...

Fetching package index ...From https://github.com/commercialhaskell/all-cabal-hashes
   b36436d..d1d64a3  hackage    -> origin/hackage
 - [tag update]      current-hackage -> current-hackage
Fetched package index.
Populated index cache.
* Matches lts-7.2

Selected resolver: lts-7.2
Initialising configuration using resolver: lts-7.2
Total number of user packages considered: 1
Writing configuration to file: simple/stack.yaml
All done.

Then open simple/app/Main.hs with Emacs.app

I think the eldoc elisp needs to ignore such output.

Workaround here:
 (defadvice eldoc-intero-maybe-print (around eldoc-intero-maybe-print-around activate)
   "https://github.com/commercialhaskell/intero/issues/277"
   (unless (string-match
            "^ <no location info>: \\(error: \\)?not an expression: \\(\u2018\u2019\\|\xE2\x80\x98\xE2\x80\x99\\|\x91\x92\\)$"
            (ad-get-arg 0))
     ad-do-it))


README: improve discoverability of tools

name: ⚙ Improvement
about: You found a bug, want to improve something or add a new feature
labels: enhancement

Description
Not every developer will be familiar with all tools.
By linking the tools listed to the relevant documentation website, the discoverability of tools new to a developer is improved.

Thanks for the merge!


Author and Benefactor rewards shows only SBD payouts in wallet

Expected behavior
I expected both the Author and Benefactor rewards should be displayed in details i.e shows the number of SP, SBD and Steem like the screenshot below.

Actual behavior
It shows only the SBD rewards.

How to reproduce

Open app
Login
Tab the Wallet bar
Check your history of the Author and Benefactor payouts.

App version: v2.0.9
Operating system: Android 8.0.1

Recording Of The Bug

@horpeyloaded it is fixed can you check with latest store version


Pivot to 1Password Secrets Automation and 1Password Connect?

Hey Chris, I saw an advert for 1Password Secrets Automation when sorting out something with my 1Password vault this morning.
I wonder, would it be worth pivoting the extension to using that (means using a JSON API and token rather than the 1P cli)
References:

Secrets Automation
Get started with a 1Password Secrets Automation workflow
1Password Connect API reference

I'm still trying to figure out the licensing on this. Secrets Automation itself is charged per token (with the first 3 being free), but I don't know if you need Teams or Business subscriptions for 1Password itself.

I've looked at the API and it would be much easier to develop against. I haven't looked into the 1Password subscription requirements. If it is restricted, that does put a damper on using Automation over the op cli.

So I have a family plan and have been able to set it up (though I had to use a link from the docs to get to the integrations page).

This... isn't going to be as widely useful as I'd hoped. I'd glossed over the "Connect Server". The API isn't direct to 1Password, it relies on you having a proxy of some description to act as the middle man.

I can see the case where this project continues as is for "normal" 1Password usage, and there's a SecretManagement.1PasswordConnect for this use case (so you can switch to it in Azure, for example.)


Visual Studio Code

Any chance of seeing a version for Visual Studio Code?
Cheers

I don't use VS Code.  I understand it outsources language handling to a sort of Language Server module.  I looked into VHDL variation on language servers but most work there seemed pretty early.
Anyway, if someone wanted to collaborate who understood the LSP framework, I'm open to it.  There are definitely some challenges in handling syntax and beautification.  However for my own part, Sublime Text does what I need and want it to, so porting to VS Code by myself is unlikely.

Thank you for your answer. I was asking that because I am afraid the ST community won't survive once it will require a license. I will try to take some time to look into the LSP framework.

Sublime Text is already a licensed product and has been doing fine for years.  I don't think there's a great deal to worry about here.  In any event, the plugin is in Python, easily readable and probably easily portable.  The only aspects that are Sublime specific is the commanding interface and I do use the lexical scoping engine in places.


linint: prefer declaration style of function definition

This was discussed in https://github.com/wmde/wikit/pull/16/ and
suggests on of the two mentioned approaches.
See https://eslint.org/docs/rules/func-style#declaration

Maintaining two independent configuration pains me. I have yet to understand what is the proper way of avoiding this. Of course, eslint is capable of traversing the tree looking for configuration files, but this requires the folders to be part of the same package with all the plugins centrally installed. This is not the case with us as we want the packages to be able to track their dependencies independently. Maybe we should make an exception for eslint et al (they are not really dependencies of these packages anyway) and hoist it and its root configuration to the wrapping lerna package... Either way a conceptually independent step.


SpatialMeshObserver refactor

Overview
Part of XR SDK implementation, to reduce duplicated code. Also a bit of an extension of #6919
Moves some duplicated code down into BaseSpatialObserver, and also creates a new BaseSpatialMeshObserver to contain some duplicated mesh observer code.
Observer lifecycle can now be automatically handled by overriding BaseSpatialObserver's CreateObserver and CleanupObserver methods.
Filled in a few missing docs along the way as well.
In-app behavior should be unchanged, other than SpatialObjectMeshObserver, where CleanupObserver no longer calls ClearObservations, to match the WMR implementation and separate the two cleanup methods.
The one outstanding thing I'll need to better address for the XR SDK implementation is TrianglesPerCubicMeter. Our native WMR implementation uses this value, but XR SDK takes in a 0.0 to 1.0 value instead. That will come in a follow-up PR, possibly at the same time as the XR SDK implementation.

/azp run

/azp run

/azp run

/azp run

Double checked the spatial awareness example scene both on-device and in-editor (testing the two mesh providers we currently have), and it looks good


Update appveyor builds to use rust 1.8.0

This should fix the failing appveyor build in #306.

Oh nice! Thanks! I'll merge once appveyor has confirmed it.

A more general way has recently been pointed out to me:
https://github.com/gkoz/release/blob/master/appveyor.yml#L11-L14

@gkoz That would be a lot more efficient.


rbac: add endpoints/endpointslices list/watch to yurt-hub clusterrole

Signed-off-by: Congrool<EMAIL_ADDRESS>
What type of PR is this?
/kind bug
What this PR does / why we need it:
Yurthub needs to list/watch endpoints and endpointslices from cloud APIServer which needs authorization of listing/watching these resources.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

Does this PR introduce a user-facing change?

other Note

/lgtm
/approve


[Windows] Routerip not found on Windows Server 2016

Rancher versions:
rancher/server: 1.6.13
rancher/agent: 0.1.0
Docker version:
Containers: 0
 Running: 0
 Paused: 0
 Stopped: 0
Images: 3
Server Version: 17.06.2-ee-6
Storage Driver: windowsfilter
 Windows:
Logging Driver: json-file
Plugins:
 Volume: local
 Network: l2bridge l2tunnel nat null overlay transparent
 Log: awslogs etwlogs fluentd json-file logentries splunk syslog
Swarm: inactive
Default Isolation: process
Kernel Version: 10.0 14393 (14393.1944.amd64fre.rs1_release.171129-2100)
Operating System: Windows Server 2016 Standard
OSType: windows
Architecture: x86_64
CPUs: 4
Total Memory: 12.22GiB
Name: ttxtc04-dockwin
ID: ESWD:EY3I:REP3:NQEZ:I5QA:MR4W:AD5X:WHZU:RWC4:PDLO:OJOQ:23XN
Docker Root Dir: C:\ProgramData\docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
 <IP_ADDRESS>/8
Live Restore Enabled: false

Operating system and kernel: (cat /etc/os-release, uname -r preferred)
Windows Server 2016
Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO)
Hyper-V
Setup details: (single node rancher vs. HA rancher, internal DB vs. external DB)

Single node

Environment Template: (Cattle/Kubernetes/Swarm/Mesos)

Windows

Steps to Reproduce:

Setup a new machine with Windows Server 2016
Install all the updates
Install Docker (following this link: https://docs.docker.com/engine/installation/windows/docker-ee/#optional-make-sure-you-have-all-required-updates)
Install Docker Compose
Create a new docker network (transparent)
Go to Rancher Server
Create a new environment
Add a new catalog (Windows)
Click to add a new host
Fill the information in the screen
Run the command generated by Rancher in your host, for ex:
New-Item -Path 'C:\Program Files\rancher' -Type Directory $obj=$(docker run --rm -v "C:\Program Files\rancher:C:\Program Files\rancher" rancher/agent-windows:v0.1.0 -RegisterUrl http://<myhost>.com/v1/scripts/0598300E1213C58B12A2:1483142400000:ZgxnJ2kxZJqzXSy3hlJgoqI8nLg) $obj |& "C:\Program Files\rancher\startup.ps1"

Results:
 not found
At C:\Program Files\rancher\startup_per-host-subnet.ps1:240 char:9
+         throw "$routerip not found"
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: ( not found:String) [], RuntimeException
    + FullyQualifiedErrorId :  not found

Can you give me the information you fill in the add-host page?
  :

Ethernet adapter vEthernet (HNSTransparent):

   Connection-specific DNS Suffix  .  :

Ethernet adapter Ethernet 3:

   Connection-specific DNS Suffix  .    : Media disconnected
   Connection-specific DNS Suffix  .  : Media disconnected
   Connection-specific DNS Suffix  .  : Media disconnected
   Connection-specific DNS Suffix  . :

Only that error.

4 - Docker networks:
NETWORK ID          NAME                DRIVER              SCOPE
cd7759475ce8        nat                 nat                 local
addf8deba06a        none                null                local
7daac634a5e8        transparent         transparent         local

Please refer to https://github.com/rancher/rancher/wiki/Creating-Windows-Environments-in--v1.6.13#adding-hosts-into-rancher and try it.
I think you will need to clean up the environment first.

Fixed.
Just had to start some services manually:

Start-Service rancher-agent
Start-Service rancher-per-host-subnet.

Even so, I think you should include more details with that exception message. Just adding the link above with the error message will save a lot of time for many people.
Anyway, thanks a lot for your help!

Please let us know in a comment if you can still reproduce the issue, and we'll reopen it


Start replacing JibLogger calls with Events

Part of #714.
This PR is progress towards replacing JibLogger with the new event system. I haven't finished purging all uses of JibLogger yet, but the PR was getting large, so I decided to submit now.
In followups I'll finish the rest, work on replacing Timers with events, and eventually remove the old Timer and JibLogger classes.

It looks like I'm getting some weird behavior with gradle now:
tcordle@tcordle33:~/IdeaProjects/hellogradle$ ./gradlew clean jib
Retrieving registry credentials for gcr.io...
Getting base image gcr.io/distroless/java...
Building classes layer...
Finalizing...

> Task :jib
warning: Base image 'gcr.io/distroless/java' does not use a specific image digest - build may not be reproducible

Containerizing application to gcr.io/tcordle-test/hello:u5ij32ro...

Container entrypoint set to [java, -cp, /app/resources:/app/classes:/app/libs/*, Hello]

Built and pushed image as gcr.io/tcordle-test/hello:u5ij32ro

It looks like a bunch of the log messages are appearing out of order.


rqt_plot loses configuration on startup

From @trainman419 on May 23, 2014 3:12
When starting up, if rqt_plot can't find a topic, it silently ignores it and removes it from the configuration. This causes two problems:

If you try to rely on the RQT framework to persist your plotting settings, they will silently be removed if the publisher isn't active when rqt_plot restarts
If you start rqt_plot with a list of topics, any topics from the command line that don't exist are silently ignored

Note that any solution to this should also be aware of the changes that were made to fix #110
It might be worth trying:

Maintaining internal configuration even if topics don't exist - possibly including topic types
Not blocking startup on missing topics
occasionally polling to see if missing topics have appeared
failing startup if topics/fields specified on the command line don't exist

Copied from original issue: ros-visualization/rqt_common_plugins#229

From @ablasdel on May 28, 2014 21:4
I think the silently removing topics was a quick fix to solve the "block until it is published" bug.
The proposed "Occasional polling" seems like a more elegant solution to the issue.

From @DorianScholz on June 3, 2014 11:55
A possible solution to this problem and #106 might be to maintain a list of recently plotted topics.
These could be offered to the user in a drop down menu of the "+" button similar to the "-" button.
This list should contain previously plotted topics, which were not available at start up, as well as topics removed via the "-" button, thus allowing for easy toggling of topics.
But there needs to be an option to remove topics from this list, either manually maybe in the settings dialog, or automatically after a certain time that a topic has not been plotted (requiring a list with "last used" timestamps).

From @trainman419 on June 6, 2014 18:33
@ablasdel I don't think I demo'd this issue for you. Perhaps you meant #236 or #239 ?

From @ablasdel on June 6, 2014 18:44
My mistake I thought this was covered by #239 as well since you handled switching between back-ends. My brain extended that to plug-in start-up which clearly isn't the case. Retracted!

From @ablasdel on June 6, 2014 18:29
@trainman419 can you detail what you did in the demo you showed me here? It was pretty solid. possibly with screen shots?


/feed/home comments

Hi, I would like to know when and which event type with the /feed/home item can contain comment items?
Thanks

I do not see any that use it.  Although it looks like 'status' was designed to return comments (as it shows the number of comments), this may be a bug, lets wait for dA to confirm.

Home feeds wont include any comments, its deviations, journals, statuses, collections updates.


Template repo not found!

Is there any guide on how to use it ?

Yes, it's there in the README. The template doesn't matter, just create your own using wrangler init.
There is also an incomplete next branch in case you want to check.


References should require index path

It appears the index files are optional in the current references implementation. We ought to explicitly pass the index path using filepath_index so that repositories can be read only directories, or so the index and fasta don't have to be in the same directory. A column would need to be added to the ReferenceSet table.

I agree this would be good @david4096. I tried to implement it while I was doing the rest of the updates, but it didn't seem to work very well with pysam. I didn't look into it too deeply, but it seemed to me like pysam wasn't passing the filepath_index down to htslib properly. It's also complicated by the fact that we seem to have two index files for bgzipped FASTAs, which I don't follow. We should investigate this and open a bug upstream if it really is a problem.

Confirmed your experience, feel free to share your thoughts :)
https://github.com/pysam-developers/pysam/issues/270

Excellent, thanks @david4096.

Should we remove the option to allow optional indexes until pysam solves this?

I don't think we have that option now, do we? There is no indexFile option to add-referenceset. We do need to do some work on input validation to see if indexes exist and if the input is bgzipped and so on, but this all gets a bit tricky with htslibs eagerness to 'fix' problems rather than throw errors back to the user.


Cannot compile Crow on Windows

I’m trying just to build sample from Wiki:
#include "crow_all.h"

int main()
{
    crow::SimpleApp app;

    CROW_ROUTE(app, "/")
        ([]{
        return "Hello, world!";
    });

    app
        .port(8080)
        .run();
}

First method – VS 2013 (VC++ version: 18.00.21005.1 for x86)
I get the following compilation error:
1>------ Build started: Project: CrowTest, Configuration: Debug Win32 ------
1>  helloworld.cpp
1>c:\temp\crow\crowtest\crowtest\crow_all.h(7924): fatal error C1001: An internal error has occurred in the compiler.
1>  (compiler file 'msc1.cpp', line 1325)

Ok may be VC++ compiler is incompatible with some C++ features used in the project. Let’s try GCC environment.
Second method MinGW-w64 (version: 6.2.0 platform: x86_64-w64-mingw32)
Compilation error:
In file included from helloworld.cpp:1:0:
crow_all.h: In static member function 'static std::__cxx11::string crow::logger::timestamp()':
crow_all.h:5458:36: **error: 'gmtime_r' was not declared in this scope**
                 gmtime_r(&t, &my_tm);
                                    ^
In file included from helloworld.cpp:1:0:
crow_all.h: In lambda function:
crow_all.h:9212:62: error: there are no arguments to 'gmtime_r' that depend on a template parameter, so a declaration of 'gmtime_r' must be available [-fpermissive]
                                 gmtime_r(&last_time_t, &my_tm);
                                                              ^
crow_all.h:9212:62: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
crow_all.h: In member function 'void crow::Server<Handler, Adaptor, Middlewares>::run()':
crow_all.h:9276:22: **error: 'std::this_thread' has not been declared**
                 std::this_thread::yield();
                      ^~~~~~~~~~~
crow_all.h:9280:13: error: 'thread' is not a member of 'std'
             std::thread([this]{
             ^~~
crow_all.h:9280:13: note: suggested alternative:
In file included from C:\Boost\include\boost-1_62/boost/asio/detail/win_iocp_io_service.hpp:29:0,
                 from C:\Boost\include\boost-1_62/boost/asio/impl/io_service.hpp:69,
                 from C:\Boost\include\boost-1_62/boost/asio/io_service.hpp:767,
                 from C:\Boost\include\boost-1_62/boost/asio/basic_io_object.hpp:19,
                 from C:\Boost\include\boost-1_62/boost/asio/basic_socket.hpp:20,
                 from C:\Boost\include\boost-1_62/boost/asio/basic_datagram_socket.hpp:20,
                 from C:\Boost\include\boost-1_62/boost/asio.hpp:21,
                 from crow_all.h:3267,
                 from helloworld.cpp:1:
C:\Boost\include\boost-1_62/boost/asio/detail/thread.hpp:46:20: note:   'boost::asio::detail::thread'
 typedef win_thread thread;
                    ^~~~~~
In file included from helloworld.cpp:1:0:
crow_all.h: In member function 'crow::Crow<Middlewares>::self_t& crow::Crow<Middlewares>::multithreaded()':
crow_all.h:9443:37: error: 'std::thread' has not been declared
             return concurrency(std::thread::hardware_concurrency());
                                     ^~~~~~
…

First error occurs because gmtime_s/gmtime_r functions are not defined in c/c++ standard headers. This problem can be solved by replacing the function with gmtime wrapper.
I don’t understand why the std::this_thread error occurred .
Has anyone managed to build the project on Windows? How?

please use vs2015 crow use multi c++11 grammars!

Yes gggin you are right. Finally, I succeeded to build crow sample only with VS2015 and Boost 1.58
Even the latest previous version of VS (2013 Update 5) won’t compile the sample code above. With VS2013 problem occurs not in crow_all.h itself, but in Boost headers. Actually, VS2013 can build crow with older versions of Boost (e.g. Boost 1.52).
PS Maybe it would be better to mention VS2015 requirement in project Wiki

JetBrains CLion 2017.1.3 + MinGW   how build the project?
Here is the compile error
`"E:\CLion 2017.1.3\bin\cmake\bin\cmake.exe" -DCMAKE_BUILD_TYPE=Debug -G "CodeBlocks - MinGW Makefiles" C:\Users\sa\Desktop\crow-master
-- Not Found Tcmalloc: Tcmalloc_LIBRARY-NOTFOUND
-- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing:  OPENSSL_INCLUDE_DIR)
CMake Warning at E:/CLion 2017.1.3/bin/cmake/share/cmake-3.7/Modules/FindBoost.cmake:761 (message):
Imported targets not available for Boost version
Call Stack (most recent call first):
E:/CLion 2017.1.3/bin/cmake/share/cmake-3.7/Modules/FindBoost.cmake:865 (_Boost_COMPONENT_DEPENDENCIES)
E:/CLion 2017.1.3/bin/cmake/share/cmake-3.7/Modules/FindBoost.cmake:1454 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:22 (find_package)
CMake Warning at E:/CLion 2017.1.3/bin/cmake/share/cmake-3.7/Modules/FindBoost.cmake:761 (message):
Imported targets not available for Boost version
Call Stack (most recent call first):
E:/CLion 2017.1.3/bin/cmake/share/cmake-3.7/Modules/FindBoost.cmake:865 (_Boost_COMPONENT_DEPENDENCIES)
E:/CLion 2017.1.3/bin/cmake/share/cmake-3.7/Modules/FindBoost.cmake:1454 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:22 (find_package)
CMake Error at E:/CLion 2017.1.3/bin/cmake/share/cmake-3.7/Modules/FindBoost.cmake:1812 (message):
Unable to find the requested Boost libraries.
Unable to find the Boost header files.  Please set BOOST_ROOT to the root
directory containing Boost or BOOST_INCLUDEDIR to the directory containing
Boost's headers.
Call Stack (most recent call first):
CMakeLists.txt:22 (find_package)
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Boost_INCLUDE_DIR (ADVANCED)
used as include directory in directory C:/Users/sa/Desktop/crow-master
used as include directory in directory C:/Users/sa/Desktop/crow-master
used as include directory in directory C:/Users/sa/Desktop/crow-master
used as include directory in directory C:/Users/sa/Desktop/crow-master
used as include directory in directory C:/Users/sa/Desktop/crow-master/examples
used as include directory in directory C:/Users/sa/Desktop/crow-master/examples
used as include directory in directory C:/Users/sa/Desktop/crow-master/examples
used as include directory in directory C:/Users/sa/Desktop/crow-master/examples
used as include directory in directory C:/Users/sa/Desktop/crow-master/examples
used as include directory in directory C:/Users/sa/Desktop/crow-master/examples
used as include directory in directory C:/Users/sa/Desktop/crow-master/examples
used as include directory in directory C:/Users/sa/Desktop/crow-master/examples
used as include directory in directory C:/Users/sa/Desktop/crow-master/examples
used as include directory in directory C:/Users/sa/Desktop/crow-master/examples
used as include directory in directory C:/Users/sa/Desktop/crow-master/tests
used as include directory in directory C:/Users/sa/Desktop/crow-master/tests
used as include directory in directory C:/Users/sa/Desktop/crow-master/tests
used as include directory in directory C:/Users/sa/Desktop/crow-master/tests
used as include directory in directory C:/Users/sa/Desktop/crow-master/tests/template
used as include directory in directory C:/Users/sa/Desktop/crow-master/tests/template
used as include directory in directory C:/Users/sa/Desktop/crow-master/tests/template
used as include directory in directory C:/Users/sa/Desktop/crow-master/tests/template
used as include directory in directory C:/Users/sa/Desktop/crow-master/tests/template
-- Configuring incomplete, errors occurred!
See also "C:/Users/sa/Desktop/crow-master/cmake-build-debug/CMakeFiles/CMakeOutput.log".
See also "C:/Users/sa/Desktop/crow-master/cmake-build-debug/CMakeFiles/CMakeError.log".
`


hyper_parse_setup_interface with parson

Signed-off-by: Yao Zengzeng<EMAIL_ADDRESS>

ready for review

close it, and wait for a better json lib.


Is this Template still active?

Hey,
is this template still active maintained? It looks like it currently creates a .Net 7 Solution, which for me at least is broken, are there any plans to support .Net 8 with this template?
Thanks in advance!

Yes, but not yet ready

Upgrade the template to 5.0.0

Thank you very much! :)


Can I delete the index of es segment?

Please answer these questions before submitting your issue.

Why do you submit this issue?
[ ] Question or discussion
[ ] Bug
[ ] Requirement
[ ] Feature or performance improvement

Question

What do you want to know?
I set the expiration time of es as two days. Is the segment data saved for two days or accumulated all the time? Can I delete it?

Bug

Which version of SkyWalking, OS and JRE?

Which company or project?

What happen?
If possible, provide a way for reproducing the error. e.g. demo application, component version.

Requirement or improvement

Please describe about your requirements or improvement suggestions.

please Querying documents
https://github.com/apache/skywalking/blob/master/docs/en/setup/backend/ttl.md
this will help you

I'm setting it up normally, and my question is whether the segment index data will be deleted

I know the monitoring data of es will be deleted, but I don't know whether the segment data will be continuously increased

the segment index data will be deleted

If I delete this index, will there be any other problems besides the data being deleted?

the collector can not work after u delete that index

ok,thanks


SCSS modules not working

I'm having problems using module.scss files.
example:
import styles from "./my-web-component.module.scss";

export const MyWebComponent: FunctionComponent = () => {
  return (

content

  )
}

after building my web component and try to load it somewhere, like that:

  <my-web-component />

i get the following error: TypeError: Cannot read properties of undefined (reading 'Wrapper')
i already tried a lot of different loaders in my webpack.config.js but the result is always the same.

i was able to solve it with a css-loader in my webpack.config.js
{
    loader: "css-loader",
    options: {
        importLoaders: 1,
        modules: {
            namedExport: false,
            exportLocalsConvention: "camelCase",
        },
        esModule: true,
    },
}


Fix patterns filtering

Notes for Reviewers
This PR fixes #
Signed commits

[ ] Yes, I signed my commits.

Do not merge because I have to test a particular criteria then i will remove

@sudhanshutech when you perform a search for a term that only matches a published entry, does it show up?

@sudhanshutech when you perform a search for a term that only matches a published entry, does it show up?


Get-EntraDomain doesn't work, but Connect-MgGraph does

Thanks for reporting the bug. Please ensure you've gone through the following checklist before opening an issue:

Make sure you can reproduce this issue using the latest released version of Microsoft.Graph.Entra or Microsoft.Graph.Entra.Beta.
Please search the existing issues to see if there has been a similar issue filed.

Describe the bug

Get-EntraDomain fails with error, where as Get-MsolDomain or Get-MgDomain works just fine using the same admin account session. It appears the Entra cmdlet isn't wrapped properly and isn't passing the details to underlying MgGraph cmdlet.

To Reproduce
Steps to reproduce the behavior:

Execute Get-EntraDomain
See error as below
PS> Get-EntraDomain
Get-MgDomain : A parameter cannot be found that matches parameter name 'Headers'.
At C:\Program Files\WindowsPowerShell\Modules\Microsoft.Graph.Entra\0.19.0\Microsoft.Graph.Entra.psm1:1334 char:42

    $response = Get-MgDomain @params -Headers $customHeaders

                                     ~~~~~~~~

CategoryInfo          : InvalidArgument: (:) [Get-MgDomain], ParameterBindingException
FullyQualifiedErrorId : NamedParameterNotFound,Get-MgDomain

Get-MgDomain -Headers although if manually checked I can find this is present

Expected behavior

Expect it to give same output as Get-MgDomain with a list of domains onboarded in the tenant
Get-MgDomain

Id                                  AuthenticationType AvailabilityStatus IsAdminManaged IsDefault IsInitial IsRoot IsV
eri
fie
d

dr.quan.contoso.com              Managed                               True           False     False     False  Tru
mail-in.contoso.com                Managed                               True           False     False     False  Tru
Debug Output

Run the problematic command with -Debug and paste the resulting debug stream below.
⚠ ATTENTION: Be sure to remove any sensitive information that may be in the logs.

PS > Get-EntraDomain -Debug
DEBUG: ============================ TRANSFORMATIONS ============================
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):
DEBUG: Debug : True
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):
DEBUG: =========================================================================
Confirm
Continue with this operation?
[Y] Yes  [A] Yes to All  [H] Halt Command  [S] Suspend  [?] Help (default is "Y"):
Get-MgDomain : A parameter cannot be found that matches parameter name 'Headers'.
At C:\Program Files\WindowsPowerShell\Modules\Microsoft.Graph.Entra\0.19.0\Microsoft.Graph.Entra.psm1:1334 char:42

    $response = Get-MgDomain @params -Headers $customHeaders

                                     ~~~~~~~~

CategoryInfo          : InvalidArgument: (:) [Get-MgDomain], ParameterBindingException
FullyQualifiedErrorId : NamedParameterNotFound,Get-MgDomain

Module Version

Please run Get-Module Microsoft.Graph.Entra* after cmdlet execution and paste the output below.
If a module cannot be installed or imported, please run Get-Module -ListAvailable and paste the output.
Get-Module Microsoft.Graph.Entra*

ModuleType Version    Name                                ExportedCommands

Script     0.19.0     Microsoft.Graph.Entra               {Add-EntraAdministrativeUnitMember, Add-EntraApplicationOw...
Environment Data

Please run $PSVersionTable and paste the output below. If running the Docker container image, indicate the tag of the image used and the version of Docker engine.

$PSVersionTable
Name                           Value

PSVersion                      5.1.22621.4391
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.22621.4391
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
Screenshots

If applicable, add screenshots to help explain your problem.
N/A

Additional context

Add any other context about the problem here.
Do we have any email support for this module, I find it easier to email rather than submitting\tracking here. PS7 not tested, don't intend to use it.

It started working today without any change to the module. Only difference being I updated the EXO module from 3.5.1 to 3.7.0 due to the other DLL conflict reported here. Restarted the PS window.
`Get-EntraDomain
Id                                  AuthenticationType AvailabilityStatus IsAdminManaged IsDefault IsInitial IsRoot IsVerified

dr.quan.contoso.com              Managed                               True           False     False     False  True`


feat: Add CFT test lint subcommand, implement blueprint connection source version lint rule for POC

This PR implemented go/blueprint-metadata-lint, implement a POC rule which is verify the version value in ConnectionSource, valid version values including:

"=1.0.0"
">=2.0.0"
">=3.0.0 <5.0.0"
"~>4.0"

a sample metadata lint output is:
-> % ~/src/cloud-foundation-toolkit/cli/bin/cft test lint
metadata, spec, or interfaces are nil
All lint checks passed!
zhengqin@yard [11:47:55 PM] [~/src/cloud-foundation-toolkit/cli/testdata/bpmetadata/content/examples/acm] [367401040-lint-ADC]
-> % ```

@bharathkkb all comments addressed, will update design doc accordingly


Change mouse wheel handling.

On Windows, mouse wheel doesn't work if child is selected even if parent can handle wheel.
I think it's better to redirect wheel into element that can actually handle it, not just nearest "focusable" element.

Sounds good to me.


Backups no longer appear to include build slugs

Is this intentional? After upgrading the flynn client to v20170514.0-a013e9a, running a backup against a cluster just dumps these files:
flynn-backup-2017-05-17_010005/flynn.json
flynn-backup-2017-05-17_010005/postgres.sql.gz
flynn-backup-2017-05-17_010005/mysql.sql.gz

Previously backup tar files used to be much larger and include slugs?

If you have an external blobstore backend configured, no blobs are included in the backup.

Ah understood. Has this changed on the client since the start of 2017?

Nope, nothing here has changed.


In multi select, the option under cursor is always selected (despite de-selected in the UI) when Enter is pressed

Hopefully the title is self explanatory.
Essentially, in regards to the code below, when I select only "dog" and then move the cursor to last position "squirrel", leaving squirrel de-selected, I press Enter, the resulting menu indices will be the ones for the first and last options.
The last item under the cursor is always returned as selected (even though its un-selected in the UI) when Enter is pressed.
I'm keen to get feedback if this is intended behavior or a bug - I would have thought that only those options that have been marked for selection should be returned as selected.
Edit: Oops. I just read the docs in regards to multi_select_select_on_accept=False so this is after all intended behavior. Sorry. Feel free to close.
from simple_term_menu import TerminalMenu

def main():

    def preview_function(option):
        return f'{option} - is going to be a great option!'

    options = ["dog", "cat", "mouse", "squirrel"]

    terminal_menu = TerminalMenu(
        options,
        multi_select=True,
        show_multi_select_hint=True,
        title="Please make a choice",
        preview_command=preview_function
    )
    menu_entry_indices = terminal_menu.show()
    print(menu_entry_indices)
    print(terminal_menu.chosen_menu_entries)

if __name__ == "__main__":
    main()

No problem. Perhaps this issue helps other users which are also confused by the default behavior.


wifi not connecting

I provisioned my RPI Zero W SD card via the web and set the WiFi parameters for my home access point.
It does not connect nor does it get an IP.
Via the console I can see the wlan0 interface is active but no IP.
I am also using the Adafruit speaker bonnet (same as hifiberry-dac miniamp)
any help??

stand alone with rpi os lite wifi works fine.

I got it to connect by using the nmcli and found out I needed quotes around my AP password.
I regenerated flash via cloud and added quotes around SSID password and reflashed.
It connected ok now.


Release schedule and finchx-*

The release log for 0.32.1 states that finchx-* releases were over (may them rest in peace), yet 0.33 was not published on finch-*. What is the plan going forward? Is the port to CE3 required to proceed? Happy to have a look around to help
Cheers

The migration to CE3 was already done in #1472. I need to get around to reviewing #1481 before the next release and I think we are good to go. It looks like we forgot about the artifact name before releasing 0.33 - that was fixed in #1470

Thanks for the update!


Error running with Rails 4.2.0beta4

I receive the following error when trying to use cequel with Rails 4.2.0beta4:
/usr/local/lib/ruby/2.1.0/forwardable.rb:132:in instance_delegate': wrong number of arguments (2 for 1) (ArgumentError) 	from /usr/local/bundle/gems/activemodel-4.2.0.beta4/lib/active_model/naming.rb:219:in extended'
from /usr/local/bundle/gems/activemodel-4.2.0.beta4/lib/active_model/validations.rb:42:in extend' 	from /usr/local/bundle/gems/activemodel-4.2.0.beta4/lib/active_model/validations.rb:42:in block in module:Validations'
from /usr/local/bundle/gems/activesupport-4.2.0.beta4/lib/active_support/concern.rb:120:in class_eval' 	from /usr/local/bundle/gems/activesupport-4.2.0.beta4/lib/active_support/concern.rb:120:in append_features'
from /usr/local/bundle/gems/cequel-1.4.5/lib/cequel/record/validations.rb:27:in include' 	from /usr/local/bundle/gems/cequel-1.4.5/lib/cequel/record/validations.rb:27:in block in module:Validations'
from /usr/local/bundle/gems/activesupport-4.2.0.beta4/lib/active_support/concern.rb:120:in class_eval' 	from /usr/local/bundle/gems/activesupport-4.2.0.beta4/lib/active_support/concern.rb:120:in append_features'
from /usr/local/bundle/gems/cequel-1.4.5/lib/cequel/record.rb:92:in include' 	from /usr/local/bundle/gems/cequel-1.4.5/lib/cequel/record.rb:92:in block in module:Record'
from /usr/local/bundle/gems/activesupport-4.2.0.beta4/lib/active_support/concern.rb:120:in class_eval' 	from /usr/local/bundle/gems/activesupport-4.2.0.beta4/lib/active_support/concern.rb:120:in append_features'
from /usr/src/app/app/models/asset.rb:3:in include' 	from /usr/src/app/app/models/asset.rb:3:in class:Asset'
from /usr/src/app/app/models/asset.rb:1:in <top (required)>' 	from /usr/local/bundle/gems/activesupport-4.2.0.beta4/lib/active_support/dependencies.rb:452:in load'
from /usr/local/bundle/gems/activesupport-4.2.0.beta4/lib/active_support/dependencies.rb:452:in block in load_file' 	from /usr/local/bundle/gems/activesupport-4.2.0.beta4/lib/active_support/dependencies.rb:642:in new_constants_in'
from /usr/local/bundle/gems/activesupport-4.2.0.beta4/lib/active_support/dependencies.rb:451:in load_file' 	from /usr/local/bundle/gems/activesupport-4.2.0.beta4/lib/active_support/dependencies.rb:349:in require_or_load'
from /usr/local/bundle/gems/activesupport-4.2.0.beta4/lib/active_support/dependencies.rb:489:in load_missing_constant' 	from /usr/local/bundle/gems/activesupport-4.2.0.beta4/lib/active_support/dependencies.rb:184:in const_missing'
from /usr/src/app/spec/factories.rb:10:in block in <top (required)>' 	from /usr/local/bundle/gems/factory_girl-4.5.0/lib/factory_girl/syntax/default.rb:49:in instance_eval'
from /usr/local/bundle/gems/factory_girl-4.5.0/lib/factory_girl/syntax/default.rb:49:in run' 	from /usr/local/bundle/gems/factory_girl-4.5.0/lib/factory_girl/syntax/default.rb:7:in define'
from /usr/src/app/spec/factories.rb:1:in <top (required)>' 	from /usr/local/bundle/gems/activesupport-4.2.0.beta4/lib/active_support/dependencies.rb:246:in load'
from /usr/local/bundle/gems/activesupport-4.2.0.beta4/lib/active_support/dependencies.rb:246:in block in load' 	from /usr/local/bundle/gems/activesupport-4.2.0.beta4/lib/active_support/dependencies.rb:237:in load_dependency'
from /usr/local/bundle/gems/activesupport-4.2.0.beta4/lib/active_support/dependencies.rb:246:in load' 	from /usr/local/bundle/gems/factory_girl-4.5.0/lib/factory_girl/find_definitions.rb:16:in block in find_definitions'
from /usr/local/bundle/gems/factory_girl-4.5.0/lib/factory_girl/find_definitions.rb:15:in each' 	from /usr/local/bundle/gems/factory_girl-4.5.0/lib/factory_girl/find_definitions.rb:15:in find_definitions'
from /usr/local/bundle/gems/factory_girl_rails-4.5.0/lib/factory_girl_rails/railtie.rb:21:in block in <class:Railtie>' 	from /usr/local/bundle/gems/activesupport-4.2.0.beta4/lib/active_support/lazy_load_hooks.rb:36:in call'
from /usr/local/bundle/gems/activesupport-4.2.0.beta4/lib/active_support/lazy_load_hooks.rb:36:in execute_hook' 	from /usr/local/bundle/gems/activesupport-4.2.0.beta4/lib/active_support/lazy_load_hooks.rb:45:in block in run_load_hooks'
from /usr/local/bundle/gems/activesupport-4.2.0.beta4/lib/active_support/lazy_load_hooks.rb:44:in each' 	from /usr/local/bundle/gems/activesupport-4.2.0.beta4/lib/active_support/lazy_load_hooks.rb:44:in run_load_hooks'
from /usr/local/bundle/gems/railties-4.2.0.beta4/lib/rails/application/finisher.rb:62:in block in <module:Finisher>' 	from /usr/local/bundle/gems/railties-4.2.0.beta4/lib/rails/initializable.rb:30:in instance_exec'
from /usr/local/bundle/gems/railties-4.2.0.beta4/lib/rails/initializable.rb:30:in run' 	from /usr/local/bundle/gems/railties-4.2.0.beta4/lib/rails/initializable.rb:55:in block in run_initializers'
from /usr/local/lib/ruby/2.1.0/tsort.rb:226:in block in tsort_each' 	from /usr/local/lib/ruby/2.1.0/tsort.rb:348:in block (2 levels) in each_strongly_connected_component'
from /usr/local/lib/ruby/2.1.0/tsort.rb:427:in each_strongly_connected_component_from' 	from /usr/local/lib/ruby/2.1.0/tsort.rb:347:in block in each_strongly_connected_component'
from /usr/local/lib/ruby/2.1.0/tsort.rb:345:in each' 	from /usr/local/lib/ruby/2.1.0/tsort.rb:345:in call'
from /usr/local/lib/ruby/2.1.0/tsort.rb:345:in each_strongly_connected_component' 	from /usr/local/lib/ruby/2.1.0/tsort.rb:224:in tsort_each'
from /usr/local/lib/ruby/2.1.0/tsort.rb:205:in tsort_each' 	from /usr/local/bundle/gems/railties-4.2.0.beta4/lib/rails/initializable.rb:54:in run_initializers'
from /usr/local/bundle/gems/railties-4.2.0.beta4/lib/rails/application.rb:349:in initialize!' 	from /usr/src/app/config/environment.rb:5:in <top (required)>'
from /usr/local/bundle/gems/activesupport-4.2.0.beta4/lib/active_support/dependencies.rb:252:in require' 	from /usr/local/bundle/gems/activesupport-4.2.0.beta4/lib/active_support/dependencies.rb:252:in block in require'
from /usr/local/bundle/gems/activesupport-4.2.0.beta4/lib/active_support/dependencies.rb:237:in load_dependency' 	from /usr/local/bundle/gems/activesupport-4.2.0.beta4/lib/active_support/dependencies.rb:252:in require'
from /usr/local/bundle/gems/spring-1.1.3/lib/spring/application.rb:92:in preload' 	from /usr/local/bundle/gems/spring-1.1.3/lib/spring/application.rb:140:in serve'
from /usr/local/bundle/gems/spring-1.1.3/lib/spring/application.rb:128:in block in run' 	from /usr/local/bundle/gems/spring-1.1.3/lib/spring/application.rb:122:in loop'
from /usr/local/bundle/gems/spring-1.1.3/lib/spring/application.rb:122:in run' 	from /usr/local/bundle/gems/spring-1.1.3/lib/spring/application/boot.rb:18:in <top (required)>'
from /usr/local/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in require' 	from /usr/local/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in require'
from -e:1:in `'

:+1: just ran into this on 4.2 final

I think this issue is insert into Rails at this commit:  https://github.com/rails/rails/commit/10adc2ee90c34003edb5850b63c6cae321c09008
Try following patch as first-aid:
module Forwardable
  remove_method :delegate
end

Yes, that seems to fixed things for now. Thanks

So, any plan to fix the issue on cequel side?

+1

@Sixeight where would you put that patch? I tried in an initializer as suggested in #211 but without success :/

@olance I recommend to put patch in config/initializer/forwardable.rb. but you weren't success...
umm... try to put patch before Bundler.require(*Rails.groups) at config/application.rb .
I'm sorry, I'm not good at English X(

It's quite good enough, thanks! :+1:
It does "work" now but just because Cequel doesn't use the delegate method itself. My project uses Prawn which makes use of delegate and it's now trying to call the ActiveSupport one. Nightmare!

@olance wow, sounds like a lot of bother :scream_cat:
I created PR with tiny hack around delegate. Try this hack for your project.

Just ran into this error. @Sixeight's patch fixed it.
I created an initializer monkey_patch.rb for it.
# See : https://github.com/cequel/cequel/issues/193
# wrong number of arguments (2 for 1)
# /Users/mickael/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/forwardable.rb:132:in `instance_delegate'
module Forwardable
  remove_method :delegate
end

This error occurs when launching Sidekiq.
cequel (1.5.0)
sidekiq (3.3.1)
rails (4.2.0)
activejob (= 4.2.0)
activemodel (= 4.2.0)
activerecord (= 4.2.0)
activesupport (= 4.2.0)

Is this patch good enough for production ?
Is it good enough for a PR ?
Hope to see it fixed soon.

@olance I'm talking about the PR, see: https://github.com/Sixeight/cequel/commit/d063ef15b6bae07253205e927c2d52682cd8a8d5
@Sixeight fix the error by creating/requiring a custom cequel/forwardable.

oh, so sorry, I read a bit too quickly and hadn't seen the PR :/
It indeed looks like a much better fix!
I'll see if I can test it here.


Otvdm: extract_dir

This is improvement of otvdm manifest to use extract_dir instead of bin: "directory/executable".

[x] I have read the Contributing Guide.

@filip2cz What is the purpose of this change?
extract_dir is already used in the manifest, layout is the same, both binaries (otvdm.exe, otvdmw.exe) present is the release distribution.

My bad, someone fixed it before me and i did not noticed it. I am sorry


root/.cargo/env is a directory no such file

i installed rust and cargo and all added it to path and it first says that then says building project and never finished

Hi,
Please follow the bug template: https://github.com/Drew-Alleman/DataSurgeon/blob/main/.github%2FISSUE_TEMPLATE%2Fbug_report.md
Best,
Drew