Passing Values to Functions with Arguments

Challenge Passing Values to Functions with Arguments has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.3; MS-RTC LM 8; rv:11.0) like Gecko.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

// Example
function ourFunctionWithArgs(a, b) {
  console.log(a - b);
}
ourFunctionWithArgs(10, 5); // Outputs 5

// Only change code below this line.

function functionWithArgs(a, b) {
  console.log(1 + 2);
}
myfunctionWithArgs(1, 2); // Outputs 3

function functionWithArgs(b, c) {
  console.log(7 + 9);
}
myfunctionWithArgs(7, 9); // Outputs 16

Could someone please tell me what it is that I am missing here.

No one is helping me on the chat, that's why I posted here.

I keep getting "ReferenceError: 'myfunctionWithArgs' is undefined"

Problem solved.

@tgitari Glad to hear that :blush:
Next time, please use the chatrooms (which you did), or the forum to get help. These issues are only for reporting bugs or discussing improvements.

@Greenheart I never get help from the chatroom anymore everytime I post something.

Do you post in the main chatroom? It's pretty crowded these days so it's hard to get noticed there.
Have you tried using the "Help"-button on challenge-pages? It will redirect you to the help chat room for the section you're currently on.
Otherwise, the forum or our subreddit offer a more relaxed environment for getting help, since posts will be more visible.

Okay then that is probably why I don't get answers.
Titus M Gitari
(913) 284-8915 Cell
(913) 484-1486 Home
Strengths Finder Top 5 Themes:
Input Futuristic * Includer * Developer * Restorative *
On 26 January 2017 at 13:41, Samuel Plumppu<EMAIL_ADDRESS>wrote:

Do you post in the main chatroom? It's pretty crowded these days so it's
hard to get noticed there.
Have you tried using the "Help"-button on challenge-pages? It will
redirect you to the help chat room for the section you're currently on.
Otherwise, the forum https://forum.freecodecamp.com or our subreddit
https://www.reddit.com/r/FreeCodeCamp/ offer a more relaxed environment
for getting help, since posts will be more visible.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/freeCodeCamp/freeCodeCamp/issues/12884#issuecomment-275490795,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AWG-dsMxk9fEZsGoyUGjHzMSCcPQHw4Oks5rWPcHgaJpZM4LvAlB
.


Add thatsmrtalbot as a reviewer

This will allow @ThatsMrTalbot to lgtm PRs on this repo.

/approve


R: DataRequestor - Quotes around text

The one difference remaining is the following:
R: '"uid","name","longitude","latitude","sid1","sid1_type","sid2","sid2_type","sid3","sid3_type","state","elev",
PYTHON: 'uid,name,longitude,latitude,sid1,sid1_type,sid2,sid2_type,sid3,sid3_type,state,elev,
Note that you do not include quotes with the StationFinder function

Decision: will enclose character strings in quotes (").


Copying dlls fails with square brackets in output directory

Describe the bug
When building with cmake and the path to the build directory contains square brackets (e.g. c:/project/build/visual studio 2019 [x86]/), then the post-build action of copying dependencies to the output directory fails with the following error:
[build]   Split-Path : Cannot bind argument to parameter 'Path' because it is null.
[build]   At C:\Users\Johannes\vcpkg\scripts\buildsystems\msbuild\applocal.ps1:40 char:39
[build]   +     $baseTargetBinaryDir = Split-Path $baseBinaryPath -parent
[build]   +                                       ~~~~~~~~~~~~~~~
[build]       + CategoryInfo          : InvalidData: (:) [Split-Path], ParameterBindingValidationException
[build]       + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.SplitPathCo
[build]      mmand
[build]
[build]   Split-Path : Cannot bind argument to parameter 'Path' because it is null.
[build]   At C:\Users\Johannes\vcpkg\scripts\buildsystems\msbuild\applocal.ps1:58 char:35
[build]   +     $targetBinaryDir = Split-Path $targetBinaryPath -parent
[build]   +                                   ~~~~~~~~~~~~~~~~~
[build]       + CategoryInfo          : InvalidData: (:) [Split-Path], ParameterBindingValidationException
[build]       + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.SplitPathCo
[build]      mmand

The build doesn't fail, but the output directory does not contain the required dlls.
Environment

OS: Windows
Compiler: msvc14.2

To Reproduce
Steps to reproduce the behavior:

vcpkq install qt5
create a qt5 project in a directory with square brackets
build

Expected behavior
The output directory should contain all dependencies.

Hi @johannesstricker, sorry for late.
Does this issue still exist?

We haven't been able to repro this; if more information comes up, or this issue appears again, please reopen.


[C++][Parquet] Persist original type metadata from Arrow schemas

This will enable us to convert back to the original type in some cases (DictionaryArray, Time with seconds)
Reporter: Wes McKinney / @wesm
Assignee: Wes McKinney](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=wesm) / @wesm
Related issues:

[Python][Parquet] direct reading/writing of pandas categoricals in parquet (relates to)

Note: This issue was originally created as PARQUET-924. Please see the migration documentation for further details.

Uwe Korn / @xhochy:
We should store the original Arrow schema in the file metadata, similar behaviour should be implemented for AVRO and protobuf. This would ensure that we have a solution that also works for any additional Arrow type.

YE / @advancedxy:
How should we persist original Arrow Schema? Flat Buffer Message in the key value metadata?

Wes McKinney / @wesm:
Possibly. We could use the JSON schema used in integration tests

Wes McKinney / @wesm:
Done in https://github.com/apache/arrow/commit/2ba0566b29312e84fafc987fd8dc9664748be96a, but must be opted in to with the ArrowWriterProperties.store_schema option

Wes McKinney / @wesm:
I have done this in my patch for ARROW-3246

YE / @advancedxy:
Sounds reasonable. @wesm you can assign this to me if no one is working on this.
Will work on this tomorrow if i have some spare time.


Dollar variable empty line before

Implements #53 , but with added ignore option set and after-dollar-variable is used instead of after-declaration.

Coverage increased (+0.06%) to 94.405% when pulling 6d61569047cde54a609bc9644fc630614c7b2f69 on dollar-variable-empty-line-before into f9afae1f7c7f3a0184f1e2ac7a8bebf1b4bcb38d on master.

Coverage increased (+0.06%) to 94.405% when pulling 81ab33d0842782256d95e689d9abc5f9f9e2dd1e on dollar-variable-empty-line-before into f9afae1f7c7f3a0184f1e2ac7a8bebf1b4bcb38d on master.

Coverage increased (+0.1%) to 94.503% when pulling b636fd39199e39c287c54105fc74509f0e9f03b2 on dollar-variable-empty-line-before into efd9f15e283af548e15204e308186ff0a24e64c8 on master.

Some utils that were borrowed from stylelint (beforeBlockString, blockString) are used in their older state, without Flow definitions, to avoid the need to add es2017 preset as dependency.

Coverage increased (+0.1%) to 94.503% when pulling 65633bc203ad3227f7d1da824323ccbc1288b2ab on dollar-variable-empty-line-before into efd9f15e283af548e15204e308186ff0a24e64c8 on master.

Merging this. If anyone decides to have a look and find issues/suggest improvements, just make another PR or drop a line here and I'll make regular commit fixes.


Add sender index to join output

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

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

Project coverage is 89.98%. Comparing base (7ccb9d8) to head (d272c5d).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #182   +/-   ##
=======================================
  Coverage   89.98%   89.98%
=======================================
  Files         175      175
  Lines       31123    31127    +4
=======================================
+ Hits        28006    28010    +4
  Misses       3117     3117

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

Cool, can you bump the version to avoid another PR for that?

Cool, can you bump the version to avoid another PR for that?

Done


Replace Segoe UI and all Fabric icons with non-licensed alternative

According to the license here, and the comment here, usage of Segoe UI in projects with FabricUI, and usage of the icons in the library are prohibited unless the application being developed integrates directly with a Microsoft product.
We'll need to find a replacement for Segoe UI (which is currently default for the <Text> control), and an alternative for the fonts. We already have FontAwesome installed, but can add another icon alternative if needed.

It should be possible to override the icons instead of manually replacing them all:
https://github.com/microsoft/fluentui/issues/3312#issuecomment-398064889


add mobile-menu hamburger toggle show

Hi
While you made a great effort in this project, unfortunately, I cannot proceed to review your code.

Invalid Code Review Request
⚠ You have submitted a project, that has no visible contribution from your pair programming partner. Kindly check Work and Submission mode.

⚠ Please add a Pull Request description including changes made on this branch. You can this link to learn more.

Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.


Busy is showing blank page on replies page

Expected behavior
On replies page busy should show replied comment.
Actual behavior
When i clicked on relies, It is showing blank page instead of replies
How to reproduce

Go to busy and login with credentials.

Now click on replies from feed

It will show a blank page.

Browser version: Chrome Version 67.0.3396.87 (Official Build) (64-bit)

Operating system: Windows 8.1

Technical analysis of this issue
These two error showing on console log
bundle-vendor.01d054ffa5d182204a7b.js:95 TypeError: Cannot read property 'image' of null
    at Pa (bundle-main.357878ae5a3710ecd25e.js:1)
    at beginWork (bundle-vendor.01d054ffa5d182204a7b.js:95)
    at r (bundle-vendor.01d054ffa5d182204a7b.js:95)
    at i (bundle-vendor.01d054ffa5d182204a7b.js:95)
    at a (bundle-vendor.01d054ffa5d182204a7b.js:95)
    at x (bundle-vendor.01d054ffa5d182204a7b.js:95)
    at _ (bundle-vendor.01d054ffa5d182204a7b.js:95)
    at m (bundle-vendor.01d054ffa5d182204a7b.js:95)
    at d (bundle-vendor.01d054ffa5d182204a7b.js:95)

bundle-main.357878ae5a3710ecd25e.js:1 Uncaught (in promise) TypeError: Cannot read property 'image' of null
    at Pa (bundle-main.357878ae5a3710ecd25e.js:1)
    at beginWork (bundle-vendor.01d054ffa5d182204a7b.js:95)
    at r (bundle-vendor.01d054ffa5d182204a7b.js:95)
    at i (bundle-vendor.01d054ffa5d182204a7b.js:95)
    at a (bundle-vendor.01d054ffa5d182204a7b.js:95)
    at x (bundle-vendor.01d054ffa5d182204a7b.js:95)
    at _ (bundle-vendor.01d054ffa5d182204a7b.js:95)
    at m (bundle-vendor.01d054ffa5d182204a7b.js:95)
    at d (bundle-vendor.01d054ffa5d182204a7b.js:95)
    at Object.enqueueSetState (bundle-vendor.01d054ffa5d182204a7b.js:95)

Recording of bug

Expected behavior
On replies page busy should show replied comment.
Actual behavior
When i clicked on relies, It is showing blank page instead of replies
How to reproduce

Go to busy and login with credentials.

Now click on replies from feed

It will show a blank page.

Browser version: Chrome Version 67.0.3396.87 (Official Build) (64-bit)

Operating system: Windows 8.1

Recording of bug

Can you check if it happens on staging.busy.org as well?

Nope not on staging

Thanks for checking. We will release new version of Busy on Monday. Until now you can use staging.busy.org.

I will close this one, as it should be live soon. Thanks for reporting.

If it happens on staging you should.

I have posted the issue. check #2020 . happens with both busy and staging

Yeah it is happening on both. check #2020


Ice 3.6 all platforms

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Closes https://github.com/conda-forge/zeroc-ice-feedstock/issues/3
I'm happy to be added as a maintainer if you want some extra help.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe:

License is not an SPDX identifier (or a custom LicenseRef) nor an SPDX license expression.

Documentation on acceptable licenses can be found here.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@dpryan79 Please could you take a look at this?

Would be great to have so we can migrate other downstream libraries as well. Thanks, @manics.

Friendly nudge @dpryan79 😉

@conda-forge-admin, please re-render.

@conda-forge-admin, please rerender

The last commit restricts the patch to Linux only as that's what the original commit mentions https://github.com/dpryan79/staged-recipes/commit/d51c8be004e7e76280d02e22f2a77f717f365c5c
We (OME) have been using our own zeroc-ice 3.6 package without this patch on all platforms for quite a while now, so I'm wondering if it's needed at all? I'd need @dpryan79's input though to know why the patch was originally required.

Yeah in PR ( https://github.com/conda-forge/staged-recipes/pull/10665 ), this comment ( https://github.com/conda-forge/staged-recipes/pull/10665#issuecomment-577577949 ) seems to suggest there was some issue linking to libiconv. My guess is we can safely apply this on Unix platforms (Linux and macOS), but wouldn't need it on Windows.

@conda-forge-admin, please rerender

As you can see just adding openssl to the list of linked libraries isn't enough to get Ice 3.6.5 compiling on older OS X. It will require patching the Ice header and source files to override some #ifdef operating system checks.
This feels like quite an intrusive change for an external repacker (and we'll also have to figure out some appropriate tests), though I can give it a go if you think its appropriate @jakirkham @joshmoore

No that's ok. Was hoping this would be simply a build flag, but it sounds like that is not the case. I think we can just require a newer macOS version.

@conda-forge-admin, please rerender

@jakirkham I've removed the OS X openssl changes, they're still in the commit history in case anyone wants to retry in future.

Friendly ping @dpryan79. Would you be able to review? 🙂

Another ping @jakirkham @dpryan79 😸

Ah, sorry I missed the earlier pings. I see this is passing, so I'll review real quick.

@dpryan79 Thanks, I've added myself. A few others from the @OME organisation should be able to help too, but I'll add them later once I'm a maintainer.


Add timezone to data

Detailed Description
Need to wait until BST, and see what timezone pvoutput.org data is int
Context
Good to have Timezone properly defined, rather than guessing
Possible Implementation
somere in here,

perhaps need this https://pandas.pydata.org/docs/reference/api/pandas.DatetimeIndex.tz_localize.html

Please see issue #14

FWIW, this is where we currently convert the timezone of the PVOutput.org data: https://github.com/openclimatefix/nowcasting_dataset/blob/main/nowcasting_dataset/data_sources/pv/pv_data_source.py#L403-L404

Please see openclimatefix/pvoutput#14

good memory @JackKelly

this is now complete, we have to tell it which timezone to put ont, and pvoutput repo puts the timezone on
code


avoid // ignore: prefer_const_constructors

This is to reduce technical debt as mentioned in https://github.com/flutter/flutter/pull/8024#issuecomment-279105998

/cc @Hixie

I would maybe make the comment be more explicit, something like "we want these instances to be separate instances so that we're not just checking with a single object" or whatever.

comment changed

Thanks!


[KeyVault] Rename folders and files

src/core should be src/generated, and the .test. files should be .spec..

We're now using .spec., so I'll only do the folder change.


[6.x] Fix RouteUrlGenerator accepting empty string for required paramenter

#30659 fixed RouteUrlGenerator not failing when a required parameter is not passed but it's still not failing if a required parameter is passed empty.
Route::get('/foo/{required}/test/{optional?}')->name('test-route');

route('test-route', ['required' => null, 'optional' => null]);
// UrlGenerationException

route('test-route', ['required' => '', 'optional' => null]);
// /foo//test

I don't think this could be considered an expected behaviour since normally required means set and not empty.
My PR checks if the required parameter is set and it's not an empty string, if this check fails it will look for default Parameter and as last step checks if parameter was optional.

@MrCrayon tests are failing and you probably want to add a test specifically for this scenario.

@driesvints yes, it's quite strange that route failing on tests it's ok on my end.
Route::get('foo/bar/{baz}')->name('foobar');

route('foobar', ['baz' => 'Taylor']);
// /foo/bar/Taylor

I'll add some tests and try to understand what's happening.

Test failing was the one with optional parameter passed without key:
Route::get('foo/bar/{baz?}')->name('foobar');

route('foobar', 'taylor');
// or
route('foobar', ['taylor']);

What I needed to do is removing empty parameter from $parameters and let the other methods take care of the rest.

@MrCrayon this broke a scenario where 0 is used as a route parameter: https://github.com/laravel/framework/issues/30760

Just wanted to add that this was a breaking change for us too, not because we were using 0 as a parameter, but because we were actually relying on an empty string passing through the system.
It allowed to use an optional subdomain with the following pattern:
Route::pattern('subdomain', '(^[a-z0-9\-]+\.)*');

Kind of bummed this doesn't work anymore as I don't see another straight forward way for us to implement the same behaviour.

@Vercoutere check is intended for required parameters but you should still be able to use an optional parameter
https://laravel.com/docs/6.x/routing#parameters-optional-parameters

@MrCrayon that's right, but unfortunately optional parameters only seem to work when they are the last parameter in a given route. Using an optional parameter for a subdomain, followed by a domain parameter, followed by a URI with other parameters doesn't work.


Update License

Update license file to Apache 2.0
https://www.pivotaltracker.com/story/show/177840963

This resolves issue #10, right?  If so, @wilwade as long as you're updating the licenses, maybe you could update the commit that adds the license to mention "issue #10" in the commit message so we get the linkage.


fixes issues #3,4,6,7,8

fixes issues #3,4,6,7,8

See here for example build.gradle
https://github.com/ehenderson1698/cs56-networking-expression-evaluator/blob/master/build.gradle

The derivative() will return a PolynomialDerivative object now.
I left javadoc in repo for issue #1


Open the drop down list permanently.

Is there any way to keep displaying the drop down list permanently. Right now when click on the input box then the list is displayed. i'd like to know if there is any way we can show the list permanently there.

I use $(elem).on("select2-close", function() {         $(elem).select2("open");     })

@SherryHuangUS Have you found a way to keep the select2 open, while being able to focus other form elements on the page?

A typo in the code. no hyphens and colons

$(elem).on("select2-closing", function(e) {

$('select').on('select2:select',function (evt) {// Do something});

 var list = $("#list").select2({   closeOnSelect: false  }).on("select2:closing", function(e) {   e.preventDefault();  }).on("select2:closed", function(e) {   list.select2("open");  });  list.select2("open");

the reason behind this issue is the 'focus' event. when ever you select an item from list, it triggers the on 'focus' event which opens the list. to get rid of this issue just right the following straight forward code and it will go away!
var $selectList = $('#selectLanguage').select2({
closeOnSelect: false,
containerCssClass: 'fake-css'
});
$('.fake-css').unbind('focus');
$selectList.on("select2:select", function (e) {
$selectList("close");
});}


Weighted Moving Average indicator (WMA)

The Weighted Moving Average can be used like any other Moving Average, to obtain a smoother representation of the underlying data. It is thought that the Weighted Moving Average provides a better representation of market volatility than the Simple and Exponential Moving Averages.

This is great. Thank you


can not add views with if state of a @State boolean value

Hi,
Adding view(ex: button ) with a if statement of a @State boolean value is not working inside of Grid with forEach. What can I do about it? Any idea?

@yildirimatcioglu Could you provide an example?

@yildirimatcioglu It's been a while, so I'll close this one for now. Please feel free to reopen if you are still having the issue.


How to add a SD-Drive ?

Is it possible to simulate also a sd-drive, to load files ?

Maybe you can reference the LVGL lv_fs api with lv_fs_win32 backend.
Kenji Mouri

See the related docs here.


Unable to adjust button type/icon

Thanks for creating this module! A couple of minor issues:
Using setButtonIcon('cancel-circled') results in HTML being rendered as it’s automatically escaped:

There’s also no setButtonType() method like the cms-actions module, so I tried working around both issues by using: addExtraClass('btn-danger font-icon-cancel-circled') but that gets overwritten by hardcoded classes in the template.

@kinglozzer good catch !
fixed in https://github.com/lekoala/silverstripe-pure-modal/releases/tag/1.1.2

Thanks! ❤


Logo Proposal

Hello @bertdida  I am a graphic artist and I would like to contribute to your project by designing a logo for it. I already have an idea in mind. If you are interested I will begin my design asap. - Tobaloidee

Hi @Tobaloidee , I'm glad you're interested on contributing to this one! Would love to see your design 😀

Thank you for the quick response @bertdida . Will show you my design here as soon as i finished it! 👍

Awesome! :)

Here's what I came up with @bertdida  I hope you like it and just tell me if you have any suggestions.
-I created a Minimal but Meaningful design which I think will fit your project well as I also used a bird symbol particularly "Woodpecker" which embodies the function of "scraping" combined with the Quotation marks that can be seen incorporated into the bird's body.

Nice! I like the idea behind.
Maybe it would look much cleaner if we make its back rounder and shift the comb (hair) a little? What do you think?

Sure! Will edit it again for that suggestions..how bout the color?

I'm thinking about the plain black and the Twitters accents sky blue color. I'm not sure.

twitter blue is perfect

Couldn't agree more! This one's perfect!
I'll update the README tomorrow and will give credits to you. Thank you @Tobaloidee ! :)

BTW where I can download the file?

i can make the PR and upload the files..will finalize it now

Got it. Will check tomorrow :)

Here's the PR #3 with the logo upload and readme update and also, here is the link to my DRIVE where you can download all the versions and formats needed. Thanks so much for accepting my design @bertdida
Best regards!

PR merged.
You're welcome @Tobaloidee  :)


No matches causes crash

Steps to reproduce

Run: qd a_dir_that_doesnt_exist

Problem:
I think the issue is when we give the cli code 0 dirs it crashes the program.
Solution:
Add a check for 0 dirs inside the cli code and just display a nice error message saying something like, no directories with that name.

Fixed in commit: Fix issue if no path is found


Mocking varargs

In Mockito there is anyVararg() but mockk does not have this.
Consider the following example:
interface Foo {
   fun foo(vararg args: String, otherArg: String)
   fun foo(args: List<String>, otherArg: String)
}

@Test
fun varargTest() {
   val mock = mockk<Foo>()
   // this works as expected, matching the List<String> version
   every { mock.foo(args = any<List<String>>(), otherArg = any()) } just Runs

   // this does not work, compiles but fails at runtime with:
   // io.mockk.MockKException: Failed matching mocking signature for
   // Foo(#1).foo([529c407ddf5619f7], -4522a650db14c274)
   // left matchers: [any()]
   every { mock.foo(args = *arrayOf(any()), otherArg = any()) } just Runs
}

Is there another way to mock the vararg version of foo?

Look like issue is appearing when using interface or abstract class. When using simple class it is passing:
    class Foo {
        fun foo(vararg args: String, otherArg: String) {

        }
        fun foo(args: List<String>, otherArg: String) {

        }
    }

I've checked underlying reflection call and seems Kotlin is just not returning correct value. So it is a Kotlin reflection API bug

After additional checking, it appears that pure interface is working. So it is related to metadata propagation i.e. while using interface MockK needs to create a proxy subclass and Kotlin metadata is not copied to that subclass.

@oleksiyp I cannot verify vararg, method with vararg always faile verification

Very probable that this is related.
Fix/workaround is making MockK slow, so it was not merged.
Some caching to be applied.
Or maybe other ways to fix it.
Right now(one/two weeks) I'm quite free for doing MockK improvements/fixes but focused on Android instrumentation test which is a big feature. Will get back to such not very big things after releasing it.

Seems it was fixed, reopen if it is not


Unable to dual-stack k3s API server

Environmental Info:
K3s Version: k3s version v1.21.4+k3s1 (3e250fdb)
go version go1.16.6
Node(s) CPU architecture, OS, and Version:
5.4.0-1042-raspi #46-Ubuntu SMP PREEMPT Fri Jul 30 00:35:40 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
Cluster Configuration:
3 node, combined master/worker
Describe the bug:
Unable to start k3s API server on IPv6 or dual-stack tcp socket.  When setting the --node-ip to dual-stack, k3s-server process only bind to IPv4 tcp socket.
Added --bind-address=:: to force it to bind to all IPs and get this error:
"starting kubernetes: preparing server: init cluster datastore and https: listen tcp: address :::6443: too many colons in address"
Also tried with --bind-address=* (fails to start) and --bind-address=[::] (binds v4 only)
Steps To Reproduce:
Initialized new cluster with k3sup.
k3sup install \     --host=dnsinf1.home.example.com \     --tls-san dnsinf.home.example.com \     --cluster \     --k3s-version=v1.21.4+k3s1 \     --merge \     --local-path $HOME/.kube/dns-infra-config \     --context=dns-infra \     --user local-admin \     --k3s-extra-args="--bind-address=:: --disable-network-policy --flannel-backend=none --disable servicelb --disable traefik --cluster-cidr=<IP_ADDRESS>/16,f250::/48 --service-cidr=<IP_ADDRESS>/16,f251::/112 --cluster-dns=<IP_ADDRESS> --node-ip=<IP_ADDRESS>,2001:db8:10::201" \     --ssh-key=$HOME/.ssh/id_ed25519
Install fails. Check journalctl on new node.  Get this error.
"starting kubernetes: preparing server: init cluster datastore and https: listen tcp: address :::6443: too many colons in address"
Expected behavior:
The k3s-server process to listen on both IPv4 and IPv6
Actual behavior:
k3s-server process either binds to IPv4 only or fails to start.
Additional context / logs:

Backporting

[ ] Needs backporting to older releases

I'm also encountering this on RKE2, v1.21.5+rke2r1.


napari + dask.distributed + ipython kills kernel

🐛 Bug
I'm pulling this comment out of #467 by @stefanv for separate discussion:

running dask-distributed concurrently with %gui=qt in IPython doesn't work. In his words, "I can very reliably kill the kernel when using napari and dask together". The gui_qt() context manager does not suffer from this.

We need to look into this more to understand, but I wanted to make sure it didn't get lost

@stefanv any chance you could write a minimum example for this?

 You were probably using IPython with %gui qt, in which case we haven't changed anything...

(that I can remember)

Either way, I cannot seem to replicate; so feel free to close.

Will close, can always reopen if problem reappears! Thanks


release v1.2.1

how 'bout https://github.com/coreos/rkt/issues/2300 ?

I think we should fix the image but we probably need to discuss it a bit more.

PTAL?

lgtm

... if we can get @philips to sign!


feat: enhance datetime parsing with time zone support

This pull request makes significant updates to the parse_datetime function in the src/datetime.mbt file to handle time zones. The changes include modifying the datetime format comments, adding new variables for parsing time zones, and updating the datetime parsing logic to account for time zone offsets.
Updates to datetime parsing:

Modified datetime format comments to include time zone information.
Added new variables (hour, minute, second, millisecond, timezone) to the parse_datetime function to handle detailed datetime components and time zone.
Updated parsing logic to set the second and millisecond values correctly. [1] [2]
Added logic to parse the time zone part of the datetime string and adjust the final datetime value accordingly.
Updated test case to include a datetime string with a time zone offset.

There's a problem, I'll adjust it


Add missing global:: prefix to type inference method parameters

Fixes #7103.

The original bug had the synthetic type name being generated being a user defined type name. Whenever I see that my brain says

Are we making sure that we don't re-introduce the global::dynamic and global::(int x, int y) bugs again?

All the tests here though are around a generated IEnumerable<T>. Is there a way for the user to control the type name generated here such that it's a user defined type? The samples in the bug seem to indicate such is possible.

All the tests here though are around a generated IEnumerable<T>

Those are only the existing tests. There's one new test with user-defined type global::MyApp.MyClass<T>.

Are we making sure that we don't re-introduce the global::dynamic and global::(int x, int y) bugs again?

Good question. Added a test demonstrating that tuples still work. (Dynamic probably cannot be verified here as this code path is only for generic types.)

@chsienki @dotnet/razor-compiler for the second review

@chsienki @dotnet/razor-compiler for a second review, please


Issue logging pre-gen progress.

Hello,
So recently I installed project worlds and project borders to try and pre-gen my world, but it seems there is an issue displaying the progress of the generation in console, or even in the server logs. I was told by the dev of these plugins that I would have to ask you guys about why it wouldn't be displaying properly.

We need more information. Logs, anything. Closing until we get it.

Latest.log: http://pastebin.com/ZfrRCGiZ
Forge Log: https://www.dropbox.com/s/v72nea75y8f6nlu/fml-server-latest.log?dl=0
This is to show I ran the command: https://gyazo.com/3e4488cad91ebab6eed31c948ab65879
This is just showing it's running(I was the only player on standing still) https://gyazo.com/7cd76405c67b7786fae0d1c8dff2dbfe

I'm not sure what more info you need, It's just not sending the progress to the logs or the console.

Just ran it myself. Here is my log:
https://gist.github.com/Zidane/14afb3c761e6ab0546023f50643342ec
Try removing all but ProjectBorders and try again.

...Found out what it was. Enjins EMP plugin is blocking stuff from showing in console.


Optimize Bundle Size

Overview
I've been noticing in downstream packages that the bundle size coming out of MyDataHelpsUI was pretty large.  Using a bundle analyzer I found 2 culprits:

Recharts appears to have a known issue with typescript and tree-shaking I can't quite follow the root cause of:https://github.com/recharts/recharts/issues/2174
Font awesome's core package and <FontAwesomeIcon> component that supports a bunch of fancy stuff we are not using : https://github.com/FortAwesome/react-fontawesome/issues/232

This creates a bit of awkward code but results in a significantly smaller bundle size by:

Using require to import recharts components that are specifically used
Using 'react-fontawesome-svg-icon' package instead of the normal <FontAwesomeIcon>

Because it is so easy to accidentally bring in a huge dependency that isn't optimized, I also added the 'rollup-plugin-analyzer' to analyze the bundle size.  It will error if the total bundle size is over 1MB (currently it's something like 400kb unminified, 171 kb minified).
Previous bundle size was 592kb minified, so this is like a 70% reduction
Security
REMINDER: All file contents are public.

[X] I have ensured no secure credentials or sensitive information remain in code, metadata, comments, etc.

[X] Please verify that you double checked that .storybook/preview.js does not contain your participant access key details.
[X] There are no temporary testing changes committed such as API base URLs, access tokens, print/log statements, etc.

[X] These changes do not introduce any security risks, or any such risks have been properly mitigated.

Describe briefly what security risks you considered, why they don't apply, or how they've been mitigated.
Checklist
Testing

[X] MyDataHelps iOS app
[X] MyDataHelps Android app
[X] MyDataHelps website

Documentation

[X] I have added relevant Storybook updates to this PR as well.
[ ] If this feature requires a developer doc update, tag @CareEvolution/api-docs.

Consider "Squash and merge" as needed to keep the commit history reasonable on main.
Reviewers
Assign to the appropriate reviewer(s). Minimally, a second set of eyes is needed ensure no non-public information is published. Consider also including:

Subject-matter experts
Style/editing reviewers
Others requested by the content owner

Total bundle size it seems, not minified
When you execute "npm run rollup" via the command line it also lists all the dependencies and how big they are in order of size

The docs tag is checked but I'm not seeing anything here that's user-facing. Am I missing something?

Oh sorry, does not require documentation - unchecked.


Support for Key/Value Properties

Signed-off-by: Lukas Harzenetter<EMAIL_ADDRESS>

Can one of the admins verify this patch?


Changes to a non-C# project (F#) are not tiggering a restart

Following is the CLI that I used
Repro:

do a dotnet new -l F#
update the project.json to have the dontet watch tool
dotnet restore
dotnet watch
try modifying the Program.fs. You should see the app not restarting.

.NET Command Line Tools (1.0.0-rc2-002678)

Product Information:
 Version:     1.0.0-rc2-002678
 Commit Sha:  3b2ea9d14b

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.10586
 OS Platform: Windows
 RID:         win10-x64

@kichalla I just tried this and it seems to work. Can you please try again and either add more details or close? Thanks!
E:\temp\Foo1
> dotnet restore
log  : Restoring packages for E:\temp\Foo1\project.json...
log  : Restoring packages for tool 'Microsoft.DotNet.Watcher.Tools' in E:\temp\Foo1\project.json...
log  : Restoring packages for tool 'dotnet-compile-fsc' in E:\temp\Foo1\project.json...
log  : Writing lock file to disk. Path: E:\temp\Foo1\project.lock.json
log  : E:\temp\Foo1\project.json
log  : Restore completed in 4699ms.

E:\temp\Foo1
> dotnet watch run
[DotNetWatcher] info: Running dotnet with the following arguments: run
[DotNetWatcher] info: dotnet process id: 12448
Project Foo1 (.NETCoreApp,Version=v1.0) will be compiled because inputs were modified
Compiling Foo1 for .NETCoreApp,Version=v1.0
Compilation succeeded.
    0 Warning(s)
    0 Error(s)
Time elapsed 00:00:06.3892526

Hello World!
[||]
[DotNetWatcher] info: dotnet exit code: 0
[DotNetWatcher] info: Waiting for a file to change before restarting dotnet...
[DotNetWatcher] info: Running dotnet with the following arguments: run
[DotNetWatcher] info: dotnet process id: 19364
Project Foo1 (.NETCoreApp,Version=v1.0) will be compiled because inputs were modified
Compiling Foo1 for .NETCoreApp,Version=v1.0
Compilation succeeded.
    0 Warning(s)
    0 Error(s)
Time elapsed 00:00:06.4856223

Hello World!
[||]
[DotNetWatcher] info: dotnet exit code: 0
[DotNetWatcher] info: Waiting for a file to change before restarting dotnet...


CLLocation promise should ignore initial kCLErrorLocationUnknown error

As documented by Apple here: https://developer.apple.com/library/ios/documentation/CoreLocation/Reference/CLLocationManagerDelegate_Protocol/index.html#//apple_ref/occ/intfm/CLLocationManagerDelegate/locationManager:didFailWithError:

The location manager calls this method when it encounters an error trying to get the location or heading data. If the location service is unable to retrieve a location right away, it reports a kCLErrorLocationUnknown error and keeps trying. In such a situation, you can simply ignore the error and wait for a new event. If a heading could not be determined because of strong interference from nearby magnetic fields, this method returns kCLErrorHeadingFailure.

In the implementation of CLLocationManager's promise API (both ObjC and Swift, from what I could tell — I'm still on PromiseKit 1.6, but this also seems to still be this way in 2.0), it resolves the promise on the first call to the locationManager:didFailWithError: API, which means it hasn't waited long enough for a successful location. And because this causes the object to stop updating location, it's very possible that a client trying to handle this itself in a catch block by returning another location promise would just trigger the same situation again.
A better way to handle this would seem to be to check for a kCLErrorDomain / kCLErrorLocationUnknown error, and in that case, simply not resolve the promise and wait for a "real" result or error.

Thanks, and PR welcome, I cannot fix this. Not due to lack of desire, I assure you. Situation makes it impossible.

Will look into it, when I get out from under deadline. You want a PR only for 2.0, or also 1.6? (Also, congrats on the new "situation", if it's what it looks to be.)

2.0 only is fine by me. Thanks and thanks :)


[CSSolver] Fix a crash in diagnostics related to pattern matching

repairFailures code for sequence element type attempts to assign placeholders to pattern type directly but it didn't check whether type variables that appear in it are already bound (repairFailures is called from matchTypes that doesn't fully simplify involved types). Adjusting that fixes the crash but results in sub-par diagnostic because type of is pattern wasn't allowed to be bound to a hole which means that placeholders cannot be propagated from the sequence element type down into associated pattern in this case.
Resolves: https://github.com/apple/swift/issues/65360

@swift-ci please test

@swift-ci please test

@swift-ci please test

@swift-ci please test

@swift-ci please test

@swift-ci please test


[JENKINS-30760] added support for multijob build selector

Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests


Configure similarity index for diffs

Is it possible to configure the similarity index when comparing to a branch/tag/etc?
If I were doing this from the command line I would be using the -M/--find-renames flag
For example if I wanted to lower the threshold to 20 (from the default 50)
git diff -M20 <commit>

Unfortunately there is no way to do that today -- good feature request 😄

@creisle @x13machine Is a global setting enough for this? Would you likely change this more than once?
In addition to a global default would you like to change the threshold on a per-comparision basis, say via a command or something and you enter a new threshold and it would be applied to that comparison immediately?

A global setting should be good enough for our use case for now. I imagine once we start using it we could see better if it would be useful to have it per comparison?
Thanks for working on this!


Is there a list which shows which Microsoft services are available in which usage location?

As some Microsoft services are not available in all locations, I would like to know if there is a list which describes, which features are available in which usage location. Thanks!

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

ID: e7e4fdb9-a3d4-e97b-de30-9904868b87a5
Version Independent ID: fbade46e-55b3-3c50-9cff-6ec88ee5ee6e
Content: Group-based licensing additional scenarios - Azure AD
Content Source: articles/active-directory/users-groups-roles/licensing-group-advanced.md
Service: active-directory
Sub-service: users-groups-roles
GitHub Login: @curtand
Microsoft Alias: curtand

@9songs You can check the Microsoft Azure Services availability in this document. You can select the region you wish to check on the drop down.

@9songs Let us know if this helps out.

Thanks, but this is for Azure services only. Do you have a similar link for
Office services, which are limited due to the usage location?
Thanks!
neeleshray-msft<EMAIL_ADDRESS>schrieb am Di., 11. Feb. 2020,
17:07:

@9songs https://github.com/9songs Let us know if this helps out.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/47833?email_source=notifications&email_token=ABYKFYEYJ65QJBDVK5Y75ZTRCLELNA5CNFSM4KS4YYW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELM7YQQ#issuecomment-584711234,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABYKFYD64NYTSF7MO5QQ5PDRCLELNANCNFSM4KS4YYWQ
.

@9songs As of today, there is no published document for the same. I would suggest you open a Support Ticket with the Office 365 team for the same.

How about adding a cross reference to the following:
https://products.office.com/en/business/microsoft-office-license-restrictions
https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fproducts.office.com%2Fen%2Fbusiness%2Fmicrosoft-office-license-restrictions&data=02|01|Julia.Sons%40microsoft.com|24bc2bc195a844241b9e08d7b14cdd9a|72f988bf86f141af91ab2d7cd011db47|1|0|637172815997389997&sdata=Ao3XEy%2BQGYcCs%2B%2Bz%2BfbzHRDcYA%2FPKeT0HOxM1VxUjBI%3D&reserved=0
On Mon, Feb 17, 2020 at 5:05 AM neeleshray-msft<EMAIL_ADDRESS>wrote:

@9songs https://github.com/9songs As of today, there is no published
document for the same. I would suggest you open a Support Ticket with the
Office 365 team for the same.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/47833?email_source=notifications&email_token=ABYKFYHORVJYGJPRWHC4ZTLRDIEIPA5CNFSM4KS4YYW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL47ZRA#issuecomment-586808516,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABYKFYDF2PQF4PA35QOTXMTRDIEIPANCNFSM4KS4YYWQ
.


Checking distro...
Ubuntu detected
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   660  100   660    0     0    894      0 --:--:-- --:--:-- --:--:--   894
100 4117k  100 4117k    0     0   896k      0  0:00:04  0:00:04 --:--:-- 1600k
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'atuin' instead of '/tmp/tmp.GHAlz0Zcln.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 atuin : Depends: libc6 (>= 2.25) but 2.23-0ubuntu11.3 is to be installed
E: Unable to correct problems, you have held broken packages.

I have the same problem.

I saw this libc error the other day and managed to find a solution. I'll try retrace my steps and follow up

You'll need to update your libc
Otherwise, Ubuntu 16.04 has reached end of life and we can no longer support it
@conradludgate might be worth building a 100% static binary for situations like this?

ubuntu 18.04 install failed
Depends: libc6 (>= 2.29) but 2.27-3ubuntu1.5 is to be installed

Ubuntu 18.04 is EOL in less than 6 months, so we won't be putting in any efforts to support it. Regardless of Atuin, it'd probably be a good idea to upgrade
Otherwise, you should be able to build from source for your platform

Hello,
I got the same issue, but with Ubuntu 22.04.2 LTS (that is still alive ;-)
The following packages have unmet dependencies:
 atuin : Depends: libc6 (>= 2.29) but 2.28-10+deb10u2 is to be installed
E: Unable to correct problems, you have held broken packages.

I've tried to update my packages first, but the problem is still here !

Ok my install issue came from my docker environement (sorry to disturb). When I install it natively on Ubuntu 22.04 (even via WSL2), it works :)


Docs: Reviewer guide to avoiding architecture flaws

In an effort to improve review quality, I'm beginning to document some of the more common architectural conflicts that typically get commented about during PR reviews.
If anyone else has any thoughts here about items to add, please let me know.
NONE

/lgtm

/approve


add Adobe Clean Han font family to supported locales

Background
The corporate font, Adobe Clean, covers all European language characters. Whereas east Asian languages (CJK) are covered by it companion font family, Adobe Clean Han. Without integrating Adobe Clean Han web fonts into the site, east Asian locale pages will be rendered using system's fallback fonts, resulting in inconsistencies on different end user environments.
Integration method
Adobe Fonts (Typekit) requires east Asian language fonts to apply dynamic subsetting. That demands JavaScript-based web font integration, where a piece of asynchronous JS code snippet provided by Typekit has to be included into the pages. As part of the inline config of the JS code, a Kit ID is required to identify which set of fonts to be integrated. For CCX website, the Kit IDs are inherited from the corresponding home pages in supported locales (JP/CN/TW/KR).
Results of this change
After this change, CJK locale pages will be rendered using the Adobe Clean Han web fonts across different client environment. One example is shown in below screenshots.
Before this change:

After this change:

Exceptions
Unlike Adobe Clean, Adobe Clean Han does not come with a Serif companion font family. Hence for HTML elements styled with Serif font families, system fallback fonts will still be used for rendering.
Test URLs:

Before: https://main--express-website--adobe.hlx.page/jp/express/?lighthouse=on
After: https://adobe-clean-han--express-website--masonpinz.hlx.page/jp/express/?lighthouse=on

@rofe , I've updated the code per your comments. Could you review again?

@rofe , welcome back. Could you merge this PR if all looks good?

@vhargrave Might this be a related/duplicate of what you've done with jp fonts?

@qiyundai it is, just with a slightly different approach. It can be closed now .


node: Integration test for XFRM leaks on node churn

In the past, we had a bug where we would leak some XFRM policies when nodes were deleted. This pull request adds an integration test to ensure we don't leak XFRM policies or states when nodes are created and deleted.

/test-runtime

/test

/test

/test


Is it possible to create collections?

Is there a way to create collections using monk? I'd really like to have my app handle the setup of collections through the form of some migration system or something. Is this possible?
If not, is there a way I can retrieve the mongodb instance from Monk?
Thanks!

Kieron

https://automattic.github.io/monk/docs/manager/create.html
manager._db


ESLint/TypeScript Error Display Issues

Check for existing issues

[X] Completed

Describe the bug / provide steps to reproduce it
The display of both popup and inline errors for ESLint and TypeScript needs some fine tuning. I'll explain the steps to reproduce this, with screenshots, below. What is required is a valid TypeScript and ESLint configuration and dependencies in a Node project.
I was really psyched to see ESLint support, as it's the only thing that's been holding me back from making Zed my daily driver, but it doesn't seem to be polished just yet.
Environment
Zed: v0.85.4 (stable)
OS: macOS 13.3.1
Memory: 16 GiB
Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
We'll start with an innocuous code block:

And then add a broken/incomplete if statement:

We can see above that the type info + ESLint error info popups are disjointed, and take up a lot of visual space. This is really uncomfortable to look at and I much prefer the unified popup experience in Atom/VSCodium. That's the first area of polish I'd like to see.

Next, we'll click on the statusbar indicator for the error, which results in:

Now we've got two popups, and an inline/under-current-line error indicator. This is non-optimal.

Then we'll highlight and delete that block in question:

Which then results in:

Notice how the inline error has stayed in the editor. It's not editable nor removable, and I have to close the file and reopen to get rid of it. Sometimes that text stays red, other times it doesn't. It also appears to jump around a lot as to where its positioned, following the same procedure at the same positions as shown above.
So, there's a few issues with ESLint support yet.
If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.
If you only need the most recent lines, you can run the zed: open log command palette action to see the last 1000.
No response

Hey @shellscape, just wanted to mention that the inline errors and warnings can be dismissed by hitting escape.  We will look for a way to make dismissing these more discoverable.  As for having multiple popup windows, we'll have to wait for someone on the design team to weigh in.

Thanks for the info. I think you still may have a big with the diag message persisting after the offending code has been removed.

Yeah, the diagnostic count being out of sync with the language server has been a huge pain - it's constantly being discussed in meetings.  We have some ideas for it, but its a tough problem.

Perhaps a related issue -- eslint will recommend autofix in some cases but running the suggested autofix appears to be missing from the ctrl+. actions menu.


authenticate: Field 'user' of type 'User' must have a sub selection

Thanks for providing this great example! I'm trying to use it in my own server, but I get the following error when I run the 'authenticate' mutation:
query ($_where: UserWhereUniqueInput!) {
  user(where: $_where)
}
operationName: null
variables:
{
  "_where": {
    "auth0id": "1580459988643362"
  }
}
[GraphQL error]: Message: Field 'user' of type 'User' must have a sub selection. (line 2, column 3):
  user(where: $_where)
  ^, Location: [object Object], Path: undefined
[Network error]: Error: Field 'user' of type 'User' must have a sub selection. (line 2, column 3):
  user(where: $_where)

This is the line that errors out:
let user = await ctx.db.query.user({ where: { auth0id } }, info);
And this is my mutation:
mutation ($idToken: String!) {
  authenticate(idToken: $idToken) {
    user {
      id
    }
  }
}

Any idea what's going on here? I'm still fresh from the GCF and this is all incredibly confusing. I did notice that taking out the info param made the query work, but then you can't control what gets returned, right?

Hey @artemzakharov ,
Thanks for stopping by and the question!
authenticate returns a User node, so you can't call for the User type in the return.  It's like you're calling it twice.
Try:
mutation ($idToken: String!) {
  authenticate(idToken: $idToken) {
      id
  }
}

@LawJolla Thank you, I just realized what the problem was! I was trying to integrate your code into the Typescript starter, and I didn't notice that I arranged my schema such that the authenticate mutation was returning the AuthPayload type that came with the boilerplate instead of just a User! AuthPayload has a user and another parameter so my playground showed no errors, hence all the confusion. Wish errors like this were easier to diagnose.


Layout broken when adding expense

Also in any settings page

4.0.3 from IzzyOnDroid repository
Pixel 8a
Android 15

Thanks for reporting it, as soon as I have some time I will try to find out the cause.

Unfortunately the app is unusable as the first field can't be reached out on the phone (I have the same HW and OS version as original reporter) not even in landscape mode ☹

Seems to be working now! Thank you for the quick fix 😁


Improve README

you should improve readme with thinks like how to getting start (git clone and installation)

i will look into it , i just do this as a hobby and didnt think much of it


request_path and strip_request_path are unknown fields

Summary
request_path, request_host and strip_request_path becomes unknown in 0.10.0rc2 docker version
Also is there any document support for 0.10.0? I would like to try the websocket function. Not sure at this moment how to add ws as api protocol. Thanks
Steps To Reproduce

run curl -i -X POST --data 'name=HelloWorld' --data 'request_path=/api/helloworld' --data 'upstream_url=http://<IP_ADDRESS>:60000/' --data 'strip_request_path=false' --url http://localhost:8001/apis/ in command line

Additional Details & Logs

Kong version (0.10.0rc2)
Kong debug-level startup logs ($ kong start --vv)

2017/01/22 01:42:24 [verbose] Kong: 0.10.0rc2
2017/01/22 01:42:24 [debug] ngx_lua: 10007
2017/01/22 01:42:24 [debug] nginx: 1011002
2017/01/22 01:42:24 [debug] Lua: LuaJIT 2.1.0-beta2
2017/01/22 01:42:24 [debug] PRNG seed:<PHONE_NUMBER>51
2017/01/22 01:42:24 [verbose] no config file found at /etc/kong/kong.conf
2017/01/22 01:42:24 [verbose] no config file found at /etc/kong.conf
2017/01/22 01:42:24 [verbose] no config file, skipping loading
2017/01/22 01:42:24 [debug] KONG_CASSANDRA_CONTACT_POINTS ENV found with "kong-database"
2017/01/22 01:42:24 [debug] KONG_PG_HOST ENV found with "kong-database"
2017/01/22 01:42:24 [debug] KONG_DATABASE ENV found with "cassandra"
2017/01/22 01:42:24 [debug] admin_listen = "<IP_ADDRESS>:8001"
2017/01/22 01:42:24 [debug] admin_listen_ssl = "<IP_ADDRESS>:8444"
2017/01/22 01:42:24 [debug] admin_ssl = true
2017/01/22 01:42:24 [debug] anonymous_reports = true
2017/01/22 01:42:24 [debug] cassandra_consistency = "ONE"
2017/01/22 01:42:24 [debug] cassandra_contact_points = {"kong-database"}
2017/01/22 01:42:24 [debug] cassandra_data_centers = {"dc1:2","dc2:3"}
2017/01/22 01:42:24 [debug] cassandra_keyspace = "kong"
2017/01/22 01:42:24 [debug] cassandra_lb_policy = "RoundRobin"
2017/01/22 01:42:24 [debug] cassandra_port = 9042
2017/01/22 01:42:24 [debug] cassandra_repl_factor = 1
2017/01/22 01:42:24 [debug] cassandra_repl_strategy = "SimpleStrategy"
2017/01/22 01:42:24 [debug] cassandra_ssl = false
2017/01/22 01:42:24 [debug] cassandra_ssl_verify = false
2017/01/22 01:42:24 [debug] cassandra_timeout = 5000
2017/01/22 01:42:24 [debug] cassandra_username = "kong"
2017/01/22 01:42:24 [debug] cluster_listen = "<IP_ADDRESS>:7946"
2017/01/22 01:42:24 [debug] cluster_listen_rpc = "<IP_ADDRESS>:7373"
2017/01/22 01:42:24 [debug] cluster_profile = "wan"
2017/01/22 01:42:24 [debug] cluster_ttl_on_failure = 3600
2017/01/22 01:42:24 [debug] custom_plugins = {}
2017/01/22 01:42:24 [debug] database = "cassandra"
2017/01/22 01:42:24 [debug] dns_hostsfile = "/etc/hosts"
2017/01/22 01:42:24 [debug] dns_resolver = {}
2017/01/22 01:42:24 [debug] log_level = "notice"
2017/01/22 01:42:24 [debug] lua_code_cache = "on"
2017/01/22 01:42:24 [debug] lua_package_cpath = ""
2017/01/22 01:42:24 [debug] lua_package_path = "?/init.lua;./kong/?.lua"
2017/01/22 01:42:24 [debug] lua_ssl_verify_depth = 1
2017/01/22 01:42:24 [debug] mem_cache_size = "128m"
2017/01/22 01:42:24 [debug] nginx_daemon = "on"
2017/01/22 01:42:24 [debug] nginx_optimizations = true
2017/01/22 01:42:24 [debug] nginx_worker_processes = "auto"
2017/01/22 01:42:24 [debug] pg_database = "kong"
2017/01/22 01:42:24 [debug] pg_host = "kong-database"
2017/01/22 01:42:24 [debug] pg_port = 5432
2017/01/22 01:42:24 [debug] pg_ssl = false
2017/01/22 01:42:24 [debug] pg_ssl_verify = false
2017/01/22 01:42:24 [debug] pg_user = "kong"
2017/01/22 01:42:24 [debug] prefix = "/usr/local/kong/"
2017/01/22 01:42:24 [debug] proxy_listen = "<IP_ADDRESS>:8000"
2017/01/22 01:42:24 [debug] proxy_listen_ssl = "<IP_ADDRESS>:8443"
2017/01/22 01:42:24 [debug] serf_path = "serf"
2017/01/22 01:42:24 [debug] ssl = true
2017/01/22 01:42:24 [debug] upstream_keepalive = 60
2017/01/22 01:42:24 [verbose] prefix in use: /usr/local/kong
2017/01/22 01:42:24 [debug] sending signal to pid at: /usr/local/kong/pids/nginx.pid
2017/01/22 01:42:24 [debug] kill -0 cat /usr/local/kong/pids/nginx.pid >/dev/null 2>&1
Error:
/usr/local/share/lua/5.1/kong/cmd/start.lua:14: Kong is already running in /usr/local/kong
stack traceback:
[C]: in function 'assert'
/usr/local/share/lua/5.1/kong/cmd/start.lua:14: in function 'cmd_exec'
/usr/local/share/lua/5.1/kong/cmd/init.lua:89: in function </usr/local/share/lua/5.1/kong/cmd/init.lua:89>
[C]: in function 'xpcall'
/usr/local/share/lua/5.1/kong/cmd/init.lua:89: in function </usr/local/share/lua/5.1/kong/cmd/init.lua:45>
/usr/local/bin/kong:5: in function 'file_gen'
init_worker_by_lua:38: in function <init_worker_by_lua:36>
[C]: in function 'pcall'
init_worker_by_lua:45: in function <init_worker_by_lua:43>

Kong error logs (<KONG_PREFIX>/logs/error.log)

sh-4.2# cat /usr/local/kong/logs/error.log
2017/01/22 01:16:32 [notice] 68#0: using the "epoll" event method
2017/01/22 01:16:32 [notice] 68#0: openresty/<IP_ADDRESS>
2017/01/22 01:16:32 [notice] 68#0: built by gcc 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC)
2017/01/22 01:16:32 [notice] 68#0: OS: Linux 4.9.4-moby
2017/01/22 01:16:32 [notice] 68#0: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2017/01/22 01:16:32 [notice] 68#0: start worker processes
2017/01/22 01:16:32 [notice] 68#0: start worker process 79
2017/01/22 01:16:32 [notice] 68#0: start worker process 80
2017/01/22 01:16:37 [warn] 80#0: *7 [lua] cluster.lua:745: execute(): [lua-cassandra] Aggregation query used without partition key, context: ngx.timer
2017/01/22 01:16:38 [warn] 80#0: *17 [lua] cluster.lua:745: execute(): [lua-cassandra] Aggregation query used without partition key, context: ngx.timer
2017/01/22 01:16:41 [warn] 80#0: *25 [lua] cluster.lua:745: execute(): [lua-cassandra] Aggregation query used without partition key, context: ngx.timer
2017/01/22 01:16:44 [warn] 80#0: *33 [lua] cluster.lua:745: execute(): [lua-cassandra] Aggregation query used without partition key, context: ngx.timer
2017/01/22 01:16:47 [warn] 80#0: *42 [lua] cluster.lua:745: execute(): [lua-cassandra] Aggregation query used without partition key, context: ngx.timer
2017/01/22 01:16:50 [warn] 80#0: *50 [lua] cluster.lua:745: execute(): [lua-cassandra] Aggregation query used without partition key, context: ngx.timer
2017/01/22 01:16:54 [warn] 80#0: *58 [lua] cluster.lua:745: execute(): [lua-cassandra] Aggregation query used without partition key, context: ngx.timer
2017/01/22 01:16:56 [warn] 80#0: *69 [lua] cluster.lua:745: execute(): [lua-cassandra] Aggregation query used without partition key, context: ngx.timer
2017/01/22 01:16:57 [warn] 79#0: *65 [lua] cluster.lua:745: execute(): [lua-cassandra] Aggregation query used without partition key, client: <IP_ADDRESS>, server: kong_admin, request: "GET /apis HTTP/1.1", host: "localhost:8001", referrer: "http://localhost:32768/"
2017/01/22 01:16:59 [warn] 80#0: *77 [lua] cluster.lua:745: execute(): [lua-cassandra] Aggregation query used without partition key, context: ngx.timer
2017/01/22 01:17:02 [warn] 80#0: *87 [lua] cluster.lua:745: execute(): [lua-cassandra] Aggregation query used without partition key, context: ngx.timer
2017/01/22 01:17:05 [warn] 80#0: *96 [lua] cluster.lua:745: execute(): [lua-cassandra] Aggregation query used without partition key, context: ngx.timer
2017/01/22 01:18:01 [warn] 79#0: *65 [lua] cluster.lua:745: execute(): [lua-cassandra] Aggregation query used without partition key, client: <IP_ADDRESS>, server: kong_admin, request: "GET /apis HTTP/1.1", host: "localhost:8001", referrer: "http://localhost:32774/"
2017/01/22 01:18:04 [warn] 79#0: *65 [lua] cluster.lua:745: execute(): [lua-cassandra] Aggregation query used without partition key, client: <IP_ADDRESS>, server: kong_admin, request: "GET /apis HTTP/1.1", host: "localhost:8001", referrer: "http://localhost:32774/"

Kong configuration (registered APIs/Plugins & configuration file)

Default configuration. Run 0.10.0rc2 docker image and add api

Operating System

host: Windows 10
docker: mashape/kong:0.10.0rc2

https://github.com/Mashape/kong/pull/1970

The names changed in 0.10.0, as @pouledodue pointed out docs are in #1970 for now.

Thank you. I will read it.


Unable to get instances from Sql Server Browser on host server.ms.ds.org.com: read udp <IP_ADDRESS>:53997-><IP_ADDRESS>:1434: read: connection refused

my static config
static_configs:
            - targets:
                'server.ms.ds.org.com:1433': 'sqlserver://user:pass@server.ms.ds.org.com:1433/instance'

Error
Unable to get instances from Sql Server Browser on host server.ms.ds.org.com: read udp <IP_ADDRESS>:53997-><IP_ADDRESS>:1434: read: connection refused

I am facing the same issue. Port 1434 UDP is open and Sql Server Browser is running but the error has not been solved.

@free , I would appreciate if you help out here :)

@mnadeem I met the same issue, I want to know do you have the lucky to resolve it? Thanks.

See if this works https://github.com/mnadeem/prometheus-sql-exporter-usage


Group chat

Any future plans, to enable group chat?
At the moment only 2 people can be involved in a chat.
This will help in situations like a comment section of an App

Hi @mashegoindustries , Yes we have the plan for group chat in our bucket list. And also we are open for any code contribution. so if you would like to create a PR with the functionality than we are happy to have that.
Thanks.

Hi @vatsaltanna-simformsolutions ,
Just a question regarding group chat.
Reactions on a message.
Will we be able to show multiple reactions on a single message?
If different users react on a message. Will we be able to show the reactions stacked next to each other

Hi @mashegoindustries. Yes, we are working on it. We have added multiple reactions as sub task in group chat. We will release new version soon with both features. Thanks !!


Development setup documentation

Added a document that describes the development setup for people (including future me) who want to work on the generator app or one of its packages.

not again... wrong repo


Update base URL

The base URL was changed yesterday:

This is the test that was used:
import asyncio
import json
from pyrympro import RymPro

ACCOUNT =<EMAIL_ADDRESS>PASSWORD = "XXXXXXXXX"
METER_ID = "XXXXX"

async def main():
    rym = RymPro()
    await rym.login(ACCOUNT, PASSWORD, METER_ID)

    for method in [
        "account_info",
        "last_read",
        "consumption_forecast",
        "daily_consumption",
        "monthly_consumption",
    ]:
        if method in ["account_info", "last_read"]:
            value = await getattr(rym, method)()
        else:
            value = await getattr(rym, method)(int(METER_ID))
        print(f"{method}={json.dumps(value, indent=2, ensure_ascii=False)}")

    await rym.close()

asyncio.run(main())

And its output:
account_info={
  "firstName": "עמית",
  "lastName": "פינקלשטיין",
  "accountNumber": "XXXXX",
  "phoneNumber": {
    "countryCode": "972",
    "phoneNumber": "XXXXXXXXX",
    "AdditionalPhoneNumber": "+972XXXXXXXXX"
  },
  "municipalId": XXXX
}
last_read={
  "XXXXX": {
    "meterCount": XXXXX,
    "meterId": "XXXXXXXXXXX",
    "read": XXX.X
  }
}
consumption_forecast=36.73333333333335
daily_consumption=0.30000000000001137
monthly_consumption=25.80000000000001

The changes were also tested by patching my production home assistant instance and it's working as expected.
The patching was done by using the patch integration with the following config:
files:
  - name: const.py
    base: /share/fileserver/pyrympro/base
    destination: "{site-packages}/pyrympro"
    patch: /share/fileserver/pyrympro/patch
  - name: rympro.py
    base: /share/fileserver/pyrympro/base
    destination: "{site-packages}/pyrympro"
    patch: /share/fileserver/pyrympro/patch

It seems that Python is getting the same certificate as the browser (which is expected), so it's still not clear why it complains about it (while the browser doesn't):


Problem on redirect of the proxy

If the proxy needs a redirect the system makes a wrong redirect. Example:
target: http://xxxx/bill
source: /bill
original redirect http://xxxx/bill/v1/...
calculated redirect: //v1/...
The problem is that proxy-middleware needs options.route valued on the redirect.
A working solution is to modify index.js at the line 149
app.use(config.proxies[i].source, proxy(proxyoptions));
as follow
proxyoptions.route = config.proxies[i].source;
app.use(proxy(proxyoptions));
Ciao Angelo

proxy-middleware version is too old. https://github.com/andrewrk/node-proxy-middleware/issues/43

I tried you solution, but it didn't worked. So I replaced "proxies" section with "middleware" and used "http-proxy-middleware"


raw input: fix user_flip usage

Description
When reading a raw image, setting the user_flip to 1 meant ignoring the flip value (to avoid buffer rotation from LibRaw).
However the value 1 for the user_flip is not neutral: values lie between 0 and 7 (see https://www.libraw.org/docs/API-datastruct-eng.html#libraw_image_sizes_t), and 1 corresponds to a horizontal mirror (in my understanding of the source code).
The proposed fix is to use 0 as user_flip value for ignoring the flip value.
This modification invalidates the changes made in this PR: https://github.com/OpenImageIO/oiio/pull/3847.
Therefore, flip to orientation conversion has been adapted to match exactly LibRaw's documentation, which handles only rotations (+90, +180, -90 degrees).
Tests
The previous PR was only tested on images of landscape and human faces, hence the mirroring issue remained unnoticed.
When reading images containing text however the problem is clearly visible.
This PR fixes this mirroring issue on the following 4 orientations: 0, +90, +180 and -90 degrees rotation.
Other orientations could not be tested as they don't seem to ever appear on raw images datasets.

LGTM, and thanks for the fix. Before I merge, can you please fix the formatting as indicated by examining the output of the failed "clang-format" test in CI? Thanks.

Done 😄


Add some code only if the given lib is used

I don't think there is an issue for this, so here it is!
This is the followup of the comments from @ysbaddaden & @asterite at https://github.com/crystal-lang/crystal/pull/3572#discussion_r89370775:

@ysbaddaden: about the following lines: https://github.com/crystal-lang/crystal/blob/a4ffe5bd739ff678d1b7fde77f19788cde8b7b04/src/regex/lib_pcre.cr#L27-L28
These two lines are the ones responsible for always linking apps against PCRE into the built binary, whatever if the application uses PCRE or not. It may be interesting to have a special macro for lib that would be called whenever that lib is actually used @asterite
[...]

@asterite:
The macro idea is good, we sometimes need to run code but only if the lib is actually used. The "problem" is that the compiler finds out if a lib is used when a lib fun is invoked, and at that point the macro would need to be expanded and typed... and then the codegen should put that code right where the macro definition exists. I'll try to think how to implement this, maybe it's not that hard. I'm thinking about something like macro initialize, but another (better) name should be good too.

This issue may have already been resolved ?


image assets can live in the styleguide!

Fixes #29

Dropped less in favor of postcss. While it's a bit more complicated to get working because you're applying a series of not very well documented plugins (kinda reminds me of webpack like that, feel like I've seen this movie), it will keep us from coupling our code with the build so much and relying on less feature. Instead let's write tomorrow's CSS for today!
moved over the ImageLoaderComponent
supports component css background-image urls
supports global css background-image urls
does not include support for font icons ( opened separate ticket https://github.com/PRX/styleguide.prx.org/issues/40)

Okay, so I think I'm good on this, minus those 2 demo issues.
And for reference... looks like this increases the size of this package js by about 25%.  Most if it is probably the placeholder.png and placeholder_error.png.  Maybe we'll svg those some day.

Since you mentioned it, I decided now is the time to SVG those placeholder images. I created those with Sketch, so I exported to SVG instead of PNG. I made some small adjustments...
I feel like this never bothered anyone but me, but there's that 1 pixel difference between the placeholder image and what's supposed to be a play button when the placeholder image scales.

Not anymore

And with the error image, it's bugged me that it doesn't have enough padding around the triangle to actually show in the profile image circle.

So now it has more padding towards the bottom

Which works fine with our other image needs

But please let me know if I've overlooked anything with these adjustments!

Bad screen shot above. Plus sign is still fine and well :)


[BACKLOG-8357] Allow user to un-default a repository

@bmorrise @mdamour1976

Base build failed with return code 1


[NFC] Vendor AsyncProcess, make more tests async

We'd like to implement more changes to TSCBasic.Process without fearing of breaking clients, in addition to the fact that TSC is deprecated.
One thing in particular we need is backpressure logic (coming in a future PR) when reading from process instances in plugins communication with the host SwiftPM process. Currently without this logic, a naive rewrite of plugins communication with structured concurrency is quite bug-prone, as it loses messages ordering and can quickly fill up all memory with resource-intensive plugins.
Thus TSCBasic.Process is slightly cleaned up and is vendored as AsyncProcess in this change. We also give it more coverage in tests by utilizing async overloads, which are the overloads we should be using more in the structured concurrency conversion of the SwiftPM codebase.

@swift-ci test

@swift-ci test

@swift-ci test windows

@swift-ci test

Could we put this in its own module instead of "Basics", that module is massive and has so much conflated code that its really hard to reason about

I'm not entirely convinced there's much benefit to splitting it, the downside would be that our Package.swift is gigantic and it's impossible to get a graph of module dependencies at a glance. Also unclear on what lines it should be split in the first place, although I wouldn't mind discussing that in a separate PR that would make an attempt to do it.

I'm not entirely convinced there's much benefit to splitting it, the downside would be that our Package.swift is gigantic and it's impossible to get a graph of module dependencies at a glance. Also unclear on what lines it should be split on in the first place, although I wouldn't mind discussing that in a separate PR that would make an attempt to do it.
Here for now I'd prefer to roughly keep the status quo: it was in TSCBasic before, which more or less directly corresponds to SwiftPM's Basics.

Thats a fair point, but I think moving files over is a great opportunity for better hygiene. Mega modules are both slower to build both clean & incremental and bury the lead of the functionality they provide.

IMO a good option for splitting the module is exposing async-process to the rest of SwiftPM via the basics module, e.g.: AsyncProcess -> Basics -> the rest of SwiftPM

This won't work, as AsyncProcess depends on AbsolutePath, which belongs to Basics.

@swift-ci test

@swift-ci test windows

@swift-ci test windows

@swift-ci test windows

@swift-ci test windows

@swift-ci test windows

@swift-ci test

@swift-ci test

@swift-ci test

@swift-ci test

I skimmed through all of the renames and mostly read through AsyncProcess itself which looks good to me.

@swift-ci test

@swift-ci test windows

@swift-ci test

@swift-ci test windows

@swift-ci test windows

@swift-ci test windows

@swift-ci test windows

@swift-ci test windows

@swift-ci test


"Clap install" assumes a specific location for bash

While bash generally is found in /usr/bin/bash, on FreeBSD it is installed in /usr/local/bin/bash
This causes the installation of binaries to fail on FreeBSD.
Additionally, trying to make the python modules causes similar problem on FreeBSD as there are two make commands available: make and gmake (GNU)
If you point me in right direction, I may be able to put together a PR for these.

See https://github.com/liuchengxu/vim-clap/blob/master/autoload/clap/installer.vim

vim-clap does not invoke the bash command inside vim but executing the script directly:
https://github.com/liuchengxu/vim-clap/blob/fc0022f69509c84f7d5901051f569cec682fc456/autoload/clap/installer.vim#L105
and
https://github.com/liuchengxu/vim-clap/blob/fc0022f69509c84f7d5901051f569cec682fc456/autoload/clap/installer.vim#L90
So perhaps you can check if https://github.com/liuchengxu/vim-clap/blob/master/install.sh and https://github.com/liuchengxu/vim-clap/blob/master/Makefile have some room for improvement.


wrenEnsureSlots for more than slots than arguments in foreign allocate method causes errors

If you try to execute wrenEnsureSlots in the allocate C method of a foreign class, and try to ensure n+2 slots, where n is the number of arguments to the constructor method, Wren seems to lose track of what the original class object is, resulting in runtime errors.
Minimal example:
test.txt

Known issue, using wrenEnsureSlots inside a foreign is broken in many ways.

Do you know if it is it likely to be improved some time soon, and whether there's a workaround for the meantime?

There is no ETA, for now I'm waiting for the 0.3.0 and it's cli/vm split
before considering submitting stuff again.

So others know, if you call wrenEnsureSlots before the wrenCall function to allocate the maximum slots you'll need, it will keep the slots allocated when it calls back into C code.
Just don't call wrenEnsureSlots in your foreign class allocator afterwards and you shouldn't have any problems.


Recommendation Error for Anonymous Users

When users are not logged in, project gives error because of recommendations.

Issue is fixed.


implement placeBlock script function

not good way to do it tho...

Would it be possible for your to merge into 1.16.5? That's the main branch that I update, I then port everything from there once I've finished an update. I've also fixed a bunch of bugs there, including your patch of wrong use of interact.

Sure, I'll look onto it


How to run rs::align on GPU without CUDA

I use d435 and d455 cameras.
OS linux
Processor ARM 64
I want aligned images but i do not have a cuda GPU, i need a fast alignment function. I need to use GPU.
I have seen that i can use rs2::gl::align
https://github.com/IntelRealSense/librealsense/blob/058a172465285c1724b9f9075a63c8ac607197c3/include/librealsense2-gl/rs_processing_gl.hpp#L283
I cannot find a way to compile the library librealsense-gl.so without specifying CUDA option.
Is it possible? what is the compilation flag?
There is an example of rs2::gl::align?

Hi @feefro  I hope that you find the links below useful.  You should not require CUDA in order to use GLSL Processing Blocks, as it is vendor-neutral (unlike CUDA, it does not require an Nvidia GPU specifically).  The improvements may not be noticable on low-end hardware though.
rs-gl pros and cons and when to use it
https://github.com/IntelRealSense/librealsense/pull/3654
rs-gl example
https://github.com/IntelRealSense/librealsense/tree/master/examples/gl
rs-enabled alignment
@bmegli did some work on GL-enabled align:
https://github.com/bmegli/realsense-network-hardware-video-encoder/issues/24

With what flag is possible to compile librealsense2-gl.so? There is a building procedure to follow?

I have not personally used GL but as far as I can tell, librealsense2-gl.so gets built at the same time that librealsense is built and so it is not something that you have to build yourself manually.
If you are experiencing a conflict relating to librealsense2-gl.so then I recommend reading the link below.
https://github.com/IntelRealSense/librealsense/issues/4519

Hi @feefro   Do you require further assistance with this case, please?   Thanks!

no, thanks ;-)

Okay, thanks very much for the update   :)


Revert "Bump follow-redirects from 1.14.8 to 1.15.4"

Reverts stewie1570/leaf-validator#180

coverage: 99.673%. remained the same
when pulling 3e0230dbaf2999ef36107aee1406bc393e2f71ea on revert-180-dependabot/npm_and_yarn/follow-redirects-1.15.4
into db8236c641faa7ff9f33e7c75ccf7f9c4a2cde55 on master.


Better error reporting for MIB processing

Is your feature request related to a problem? Please describe.
When a source MIB file location is added using add_asn1_mib_source(), then pysnmp often throws a "file not found" exception, which is highly misleading in a number of cases when the MIB file actually does exist at the given location.
Also, the reported error does not contain the path given with add_asn1_mib_source(), so it looks like the call to that function has just silently failed.
The reason is that MIB compiler/builder may fail due to unsatisfied MIB dependencies or some errors in the original file or in the dependencies, but will still report as if the original MIB file was missing.
Describe the solution you'd like
Report the actual errors, such as:

Dependency MIB source Y is missing for MIB source X
MIB source X contains a syntax error (error description) at line N

Describe alternatives you've considered
Using strace to debug the problem may reveal the actual cause of the error, but that is very time-consuming and requires extra expertise.
Additional context
I stumbled at this problem when trying to run a simple program:
from pysnmp.hlapi import *
from pysnmp.smi import builder, view, compiler, rfc1902
from pysnmp import debug
debug.set_logger(debug.Debug('all'))
mibBuilder = builder.MibBuilder()
mibViewController = view.MibViewController(mibBuilder)
test = ObjectIdentity('ATEN-PE-CFG', 'outlet23Status', 0).add_asn1_mib_source('/opt/conserv-tools-venv/usr/share/snmp/mibs', '/usr/share/snmp/mibs',)
test.resolve_with_mib(mibViewController)
test.get_oid()

When executed, the program report, among the rest, this:
2024-10-31 20:10:48,355 pysnmp: loadModules: calling MIB compiler for ATEN-PE-CFG
Traceback (most recent call last):
  File "/opt/conserv-tools-venv/lib/python3.12/site-packages/pysnmp/smi/builder.py", line 398, in load_modules
    self.load_module(modName, **userCtx)
  File "/opt/conserv-tools-venv/lib/python3.12/site-packages/pysnmp/smi/builder.py", line 374, in load_module
    raise error.MibNotFoundError(
pysnmp.smi.error.MibNotFoundError: MIB file "ATEN-PE-CFG.py[co]" not found in search path (DirMibSource('/opt/conserv-tools-venv/lib/python3.12/site-packages/pysnmp/smi/mibs'), DirMibSource('/opt/conserv-tools-venv/lib/python3.12/site-packages/pysnmp/smi/mibs/instances'), DirMibSource('pysnmp_mibs'), DirMibSource('/h
ome/amelkin/.pysnmp/mibs'), DirMibSource('/home/amelkin/.pysnmp/mibs'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/amelkin/conserv-tools/./snmpv3.py", line 47, in <module>
    test.resolve_with_mib(mibViewController)
  File "/opt/conserv-tools-venv/lib/python3.12/site-packages/pysnmp/smi/rfc1902.py", line 542, in resolve_with_mib
    (mibNode,) = mibViewController.mibBuilder.import_symbols(
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conserv-tools-venv/lib/python3.12/site-packages/pysnmp/smi/builder.py", line 454, in import_symbols
    self.load_modules(modName, **userCtx)
  File "/opt/conserv-tools-venv/lib/python3.12/site-packages/pysnmp/smi/builder.py", line 416, in load_modules
    raise error.MibNotFoundError(
pysnmp.smi.error.MibNotFoundError: ATEN-PE-CFG compilation error(s): missing; missing caused by <class 'pysnmp.smi.error.MibNotFoundError'>: MIB file "ATEN-PE-CFG.py[co]" not found in search path (DirMibSource('/opt/conserv-tools-venv/lib/python3.12/site-packages/pysnmp/smi/mibs'), DirMibSource('/opt/conserv-tools-ve
nv/lib/python3.12/site-packages/pysnmp/smi/mibs/instances'), DirMibSource('pysnmp_mibs'), DirMibSource('/home/amelkin/.pysnmp/mibs'), DirMibSource('/home/amelkin/.pysnmp/mibs'))

The message "not found in search path" is highly misleading because:

The library actually DOES search for ATEN-PE-CFG file with various extensions in the requested directory, but reports as if it didn't even look in that path
The file ATEN-PE-CFG.txt actually DOES exist in the requested path, but contains unsatisfied FROM references to RFC-1212 and RFC-1215 MIBs.

Full execution log (with strace) is attached:
pysnmp-strace.log
The MIB file I'm using can be taken from this page, "Support and Download" tab, or by this direct link

The current design of MibCompiler.compile in PySMI does track for an MIB document like ATEN-PE-CFG which are the dependencies (RFC-1212 and RFC-1215 for instance). However, it doesn't track how they link to each other and is unable to report an accurate error message.
Currently have no plan to touch this issue right now, as in most cases reviewing the MIB document itself can reveal the most likely causes.
Pull requests are welcome.


Wg0 can't  start - Table does not exist (do you need to insmod?) Perhaps ip6tables or your kernel needs to be upgraded.

Describe the bug
I wanted to change an endpoint domain. I was unable to edit tge wg0, so I deleted in and created it again with the new domain on ednpoint. But now my wg0 server will not start.
To Reproduce
Steps to reproduce the behavior:
Add and remove a server and try to start it.
Platform:

OS: Docker on Ubuntu 20.04.4 LTS
Chrome with Adblock disabled
I pulled the newst image today a part of debug process

Stacktrace/error output
Log form docker container when I click the start button:
wg-manager   | b"[#] ip link add wg0 type wireguard\n[#] wg setconf wg0 /dev/fd/63\n[#] ip -4 address add <IP_ADDRESS>/24 dev wg0\n[#] ip -6 address add fd42:42:42::1/64 dev wg0\n[#] ip link set mtu 1420 up dev wg0\n[#] iptables -A FORWARD -i wg0 -j ACCEPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE;ip6tables -A FORWARD -i wg0 -j ACCEPT; ip6tables -t nat -A POSTROUTING -o eth0 -j MASQUERADE;\nmodprobe: FATAL: Module ip6_tables not found in directory /lib/modules/5.4.0-104-generic\nip6tables v1.8.4 (legacy): can't initialize ip6tables table 'filter': Table does not exist (do you need to insmod?)\nPerhaps ip6tables or your kernel needs to be upgraded.\n[#] ip link delete dev wg0\n"
Additional context
I tried disabling IPv6, asi I dont have it on the server at all.
Screenshots

just hit exactly the same error here

root@vpn:~# sudo modprobe ip6_tables
and fixed!


Removed the unused profile and resource.

Fixes Issue
Related to #2039
Changes proposed
Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[x] All new and existing tests passed.

@whitingjr are you experiencing the same in your local env?

When I tested it yesterday I did not.
I'll try again and make sure to clean the workspace beforehand.

Just tested again and the tests passed.
$ mvn  test -Dtest=UtilTest -Dsurefire.failIfNoSpecifiedTests=false
...
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running io.hyperfoil.tools.horreum.svc.UtilTest
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.808 s -- in io.hyperfoil.tools.horreum.svc.UtilTest
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0

The http server is started on an ephemeral port. Were you just unlucky getting a collision and another attempt passes ?

Were you just unlucky getting a collision and another attempt passes ?

it seems deterministic in my case, I was not able to get it working yet.. it keeps failing on every attempt :cry:

I was able to get it working but I had to change the server initialization to:
httpServer = HttpServer.create(new InetSocketAddress(0), 0);

i.e., removing the hostname

Interesting, in my local environment one test is failing after this change:
[ERROR] Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.170 s <<< FAILURE! -- in io.hyperfoil.tools.horreum.svc.UtilTest
[ERROR] io.hyperfoil.tools.horreum.svc.UtilTest.evaluateOnceAsyncAwaitFetchJson -- Time elapsed: 0.013 s <<< FAILURE!
org.opentest4j.AssertionFailedError: Cannot assign requested address
	at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:38)
	at org.junit.jupiter.api.Assertions.fail(Assertions.java:138)
	at io.hyperfoil.tools.horreum.svc.UtilTest.evaluateOnceAsyncAwaitFetchJson(UtilTest.java:248)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)

[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR]   UtilTest.evaluateOnceAsyncAwaitFetchJson:248 Cannot assign requested address
[INFO]
[ERROR] Tests run: 6, Failures: 1, Errors: 0, Skipped: 0

@whitingjr are you experiencing the same in your local env?

@willr3 is this a test for a feature we are not supporting in Horreum atm? can we disable it?

UtilTest.evaluateOnceAsyncAwaitFetchJson is a test that ensures async functions do not execute fetch

UtilTest.evaluateOnceAsyncAwaitFetchJson is a test that ensures async functions do not execute fetch

Ok, so we need to make sure it works in all environments, or at least understand why the current impl does not work in @lampajr environment

Ok, so we need to make sure it works in all environments, or at least understand why the current impl does not work in @lampajr environment

Not sure what is actually not working and why yet, but with the change I shared here https://github.com/Hyperfoil/Horreum/pull/2058#issuecomment-2393530460 I can confirm it works which is good

@lampajr can you share basic details (platform, version, jdk version) of your system ?

@lampajr can you share basic details (platform, version, jdk version) of your system ?

$ cat /etc/redhat-release
Fedora release 40 (Forty)

$ java -version
openjdk version "17.0.11" 2024-04-16
OpenJDK Runtime Environment Temurin-17.0.11+9 (build 17.0.11+9)
OpenJDK 64-Bit Server VM Temurin-17.0.11+9 (build 17.0.11+9, mixed mode, sharing)


Remove limits validations

resolves https://github.com/spotify/flink-on-k8s-operator/issues/383
Signed-off-by: Anders Bennedsgaard<EMAIL_ADDRESS>

@AndersBennedsgaard Thanks for this! I hope you can do a follow up on this.

@regadas when I openened this PR, I thought it was a simple matter of removing the validation. Unfortunately, I am not that well-versed in Go yet, and I am very busy lately so I don't think I can solve this issue.
Should this PR be closed and someone else can look at it based on the issue, or are you able to take over?


Inconsistency between caBalance and utxos

Context
Hi!
I faced an odd problem with balances and utxos on my adresses.
utxo API show that the
5.5 ADA on balance. But adress summary API returns that my balance is
"caBalance": {    "getCoin": "60567149" },
It seems like a bug. I also try to do a resync from scratch on the new bare metal server. It didn't help

Information
-

Version
Latest master image inputoutput/cardano-db-sync:master

Platform
Ubuntu LTS 18.04. Docker version 19.03.6, build 369ce74a3c

Installation
Using oficial docker-compose.yml from repo

Steps to Reproduce

Just docker-compose up -d and waiting for synchronization completed
Check information from api methods /mainnet/utxos and /address/summary for address
DdzFFzCqrhskhmqQpt6oFNCJbyN7hq7f3tT2425TZf3y2gaeMMAQk6t31pzH96GVJcoFyAiGEGW4tbD2rPKX55rhrDdbgXXzvebS8AWz

Expected behavior
API methods /mainnet/utxos and `/address/summary must return the same adress balance
Actual behavior
Described in Context

QA
API methods /mainnet/utxos and /address/summary must return the same adress balance for address DdzFFzCqrhskhmqQpt6oFNCJbyN7hq7f3tT2425TZf3y2gaeMMAQk6t31pzH96GVJcoFyAiGEGW4tbD2rPKX55rhrDdbgXXzvebS8AWz

I encountered the same problem. I observed that cardano explorer was calculated by utxo. What is your solution?

I encountered the same problem. I observed that cardano explorer was calculated by utxo. What is your solution?

Sorry for the late response.  We have moved to GraphQL API. It looks like a bug in rest api (not DB data inconsistency) because GraphQL API returns correct data.


purchased credits don't appear on users account

My problem is that after purchasing credits successfully, the user's account does not get the credits, and the train model will still not proceed.
After purchasing credits I get a confirmation screen but no option to return to the site or anything, and have to hit the back button (Should I have it redirect back to the website, and if so, to what url?)
After hitting the back button and refreshing the user still shows 0 credits. My supabase seems to be correct in that it creates the user, but it is not creating "credits" property on the users account or adding the credit.
My stripe web hook secret, endpoint url and checkout.session.completed event seem to be correct from what I can tell:

When stripe is disabled the train model works correctly.
New to all of this, but I believe I've set all the stripe env variables etc correctly and it is not working even after purchasing credits. Any suggestions would be much appreciated.
Thanks in advance.

I see this on the stripe page:

Any help would very appreciated!!

HI @Marfuen sorry to reach out, but any chance you could help me with the above? How do I get the credits column to not be null?

sounds like it's trying to update a null value in the database which shouldn't be the case. Please try to debug with the request payload and see what's being sent. The template is functional and deploying in many sites.


Add deps.yml to help update dependencies from the CLI.

The adds a deps.yml and info on running the deps cli tool to patch dependencies.
The first part of https://github.com/preshing/cairo-windows/issues/5
I've purposely put this branch one behind HEAD so you can run the tool and see it change the code to upgrade cairo etc to the current version.
The tools seems to be able to generate changes much like the PR you created to update freetype, cairo last time.
Try the tool and see what you think :)

Looks interesting! I didn't try running it yet but I believe that it does what you say it does 😄

I did put that note in for a reason - it seemed to stop working on my own branch, but carried on working on yours !
I'd been messing a lot with git on my own repo which may have confused it, but it was working up until about 5 minutes before I made the PR.

Any idea why it would work in one branch but not another?

I'm not sure at the moment, I sent a mail to Dave Gaeddert at dropseed helped get me setup and with the initial version of this.
I was messing with my git repo a lot, setting up remotes to this and my own PR, I also left a github workflow running every 15 minutes last night, so maybe I hit some kind of limit.


Capybara::Node::Element::text() does not return newline characters

I have a
 element in which lines of text are separated only by newlines, for example:

2013-02-04 10:03:20 INFO: Successful login for Employee 32 (Boyzen Berry)
2013-02-01 09:54:18 INFO: Successful login for Employee 32 (Boyzen Berry)
2013-01-31 16:26:13 INFO: Successful login for Employee 1 (Jane Staffer)
2013-01-30 18:09:35 INFO: Successful login for Employee 32 (Boyzen Berry)
2013-01-30 13:40:47 INFO: Successful login for Employee 6 (Fred Astaire)
2013-01-29 17:42:18 INFO: Successful login for Employee 1 (Jane Staffer)
2013-01-29 17:42:12 WARN: An unauthenticated user attempted to access the page /staff/applicants
2013-01-29 17:38:25 INFO: Successful login for Employee 1 (Jane Staffer)

I am using Cucumber to try to verify that the correct number of lines of text are appearing in the
 element. Using save_and_open_page and inspecting the HTML of the resulting file, I can see that there are indeed newline characters in the text of the element, however:
page.find("pre#log").text.gsub( "\r", "\n" ).split( "\n" ).count.should == 8

... fails with the following:
expected: 8
got: 1 (using ==) (RSpec::Expectations::ExpectationNotMetError)

Looking at the actual return value of page.find("pre#log").text shows me this:
[2] pry(#<Cucumber::Rails::World>)> t = page.find( "pre#log" ).text
=> "2013-02-04 10:03:20 INFO: Successful login for Employee 32 (Boyzen Berry) 2013-02-01 09:54:18 INFO: Successful login for Employee 32 (Boyzen Berry) 2013-01-31 16:26:13 INFO: Successful login for Employee 1 (Jane Staffer) 2013-01-30 18:09:35 INFO: Successful login for Employee 32 (Boyzen Berry) 2013-01-30 13:40:47 INFO: Successful login for Employee 6 (Fred Astaire) 2013-01-29 17:42:18 INFO: Successful login for Employee 1 (Jane Staffer) 2013-01-29 17:42:12 WARN: An unauthenticated user attempted to access the page /staff/applicants 2013-01-29 17:38:25 INFO: Successful login for Employee 1 (Jane Staffer)"
[3] pry(#<Cucumber::Rails::World>)> /[[:cntrl:]]+/.match( t )
=> nil

So it appears that, even though Capybara's internal representation of the page includes newlines or CRs (as seen via save_and_open_page), the text() method is filtering them out. This is preventing us from testing this functionality until/unless we find a workaround.

@michaelfagan :+1:


az policy state - Trigger policy evaluation through CLI

Is your feature request related to a problem? Please describe.
As a policy admin, I'd like to trigger policy evaluation through CLI.  This helps in troubleshooting and validating policy definitions faster.
Describe the solution you'd like
I would like another verb added to az policy state such as az policy state evaluate --scope ...
The scope will define where the policies should be validated and would allow for management group, subscription and resource groups.
Given that evaluation is an async process, we'll then need a way to monitor status.  Example: az policy state status --scope ...
Describe alternatives you've considered
The only alternative for this is through a REST client and following instructions from https://docs.microsoft.com/en-us/azure/governance/policy/how-to/getting-compliance-data
Subscription
POST https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/policyStates/latest/triggerEvaluation?api-version=2018-07-01-preview`

Resource Group
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{YourRG}/providers/Microsoft.PolicyInsights/policyStates/latest/triggerEvaluation?api-version=2018-07-01-preview

How would this differ from az policy state summarize?

How would this differ from az policy state summarize?

You are right.  The status can be checked through the summarize command.  So I think the feature that's missing is to trigger the evaluation.

add to S164.

@sandipsh any update for this issue?

Yes, we have plan to add this operation to the swagger/SDK soon. I will keep you posted. Thanks!

@sandipsh any update for this issue?

@sandipsh any update for this issue?

@yonzhan, swagger update is completed now - https://github.com/Azure/azure-rest-api-specs/pull/8312

@sandipsh We also need the method of obtaining resource evaluation results asynchronously, please add it.
Service API: https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/asyncOperationResults/{ResourceContainerGUID}?api-version=2018-07-01-preview

@sandipsh any further update?

Sorry for delayed response - I have notified Cale who made original change to respond.

Hi yonzhan, we don't have this in the upcoming plans due to other features in the pipeline. One of those is an improvement in the time for compliance evaluation to surface. With this exciting change, there will be little need to trigger an evaluation. However, I would recommend adding a feature request to our UserVoice on this request: https://feedback.azure.com/forums/915958-azure-governance. You can add this and any other feature request in that channel so it can be properly backlog. Thanks!

@calecarter Hi, Here is another customer who also has similar requirements. #12718
May I ask how is your progress?

@zhoxing-ms  changes will come in throughout the year.

It's been more than a year.
any update?

@zhoxing-ms changes will come in throughout the year.

Documentation on this can be found here: https://docs.microsoft.com/en-us/cli/azure/policy/state?view=azure-cli-latest#az_policy_state_trigger_scan

Documentation on this can be found here: https://docs.microsoft.com/en-us/cli/azure/policy/state?view=azure-cli-latest#az_policy_state_trigger_scan

Thank you. I totally missed this.