Support stop timer at metrics class

Describe the feature request
Stop timer for metrics class
Background
We are developing an application that includes a login logout function, every time a user logs in we will
call updateContext function of UnleashClient class, with poller every time updateContext the timer will be released but with metrics not released, this has gradually caused the request api metrics to be generated corresponding to the number of calls to the updateContext func, this doesn't seem dangerous but really for network it will be bad if updateContext function is called too much
Solution suggestions
I think add code stop timer like timer of Poller class

@zankyn123 This should fix the issue: https://github.com/Unleash/unleash-proxy-client-swift/pull/45


making this usable outside pulumi org

this repo is wonderful, thanks for the hard work!
would you considering accepting a PR that adds a flag for non-pulumians? :)
this would exclude all the pulumi org specific steps and configurations (like publishing blobs to your azure/s3 in go releaser, aws auth to your account, etc.)

Thanks for the suggestion @omercnet! We definitely want to publish more resources to make it easy for anyone to maintain Pulumi providers. I'm not 100% sure we'll long-term choose the route of publishing a version of this repo that's designed for broad consumption, but in the meantime, we'd be happy to consider PRs to make some of the Pulumi specific things configurable (like thisone: https://github.com/pulumi/ci-mgmt/pull/1056) to make this usable by others!

That was gonna be my first PR :)
I'll add more as you seem open to it
Thanks!

@omercnet I'm making progress on this one. See also my comment here: https://github.com/pulumiverse/infra/issues/40#issuecomment-2399564404


chore: added instance creation popover

WIP

This is really exciting to see!
One minor thing I noticed is that service account has a capital "S" ("Service account") but should be all lower-case in this context.
And seeing the results of the suggestion to include the Ready status as a node in the progress stepper highlights that it doesn't really fit there. This would be good to get some input on from other team members (we can start with sharing it with designers). But here are my thoughts on this:

"Ready" isn't really a step in the creation process, it's the final result of the creation process. In other words, there are 3 steps during creation, and when step 3 of 3 is completed, it's ready. Something that really highlights this is the inconsistency in microcopy—all of the true steps end with "ing" because something is happening. There is no "ing" version of "Ready", it's just done at this point.
I still agree with the idea behind showing Ready. I also like including the text "x of 4 steps completed". But if we are honest with how many steps there are (3) and show that, then there's a confusing disconnect between what "x of y steps" is communicating vs what the progress stepper is communicating.
I think a possible solution to support both ideas (showing the final result and showing "x of y steps") is for the progress stepper to provide an optional "completed" node that displays last, which is visually presented in a way that it clearly is not a step and instead just a summary of what the end result of all the steps are. That could be a possible enhancement to this component, but would require either support from PF or custom CSS, as well as a round of design work. Without discussing this with others, I don't know how critical or necessary this enhancement would be. It might be best to wait until we know there is a usability issue with not providing this information.
Given the amount of work required with the previous bullet, these are some alternative options that are possible now:

Remove the text "x of 4 steps completed" and rely on the progress stepper to communicate completion progress
Remove the "Ready" node, since it isn't a step in creation.

Related to @lboehling's 3rd point above, the extra spacing is coming from the PF progress stepper. I created an issue in PF to address this: https://github.com/patternfly/patternfly/issues/4633
I would suggest we not try to address this spacing issue now, and wait for a fix to land in PF.

Your latest version of this component looks really good! Thanks so much for working through all the open design questions in this PR.
Since we decided to keep the number of steps completed to keep alignment with a similar example in OpenShift (pasted below), I posted a comment inline about adding spacing for that. If we can match the spacing they have, that would be good, too.

The only other question I have is if we should move the KafkaStatusPopover story out of the POCS section and under the COMPONENTS section. I think the POCS was created while you were finalizing some of the design details, but I assume before we merge the PR, we want this in the expected location in the nav.

:tada: This PR is included in version 1.13.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[BUG] Narrowing string type to a constant makes compiler fail

Describe the bug
Declaring a constant like the following one makes tspc fail:
const PRISMA_ORDERBY = {
  orderBy: { index: 'asc' as 'asc' }
}

The as 'asc' begin the culprit but is required to make the type compatible with what my Prisma code expects in that particular case.
Error:
evalmachine.<anonymous>:118053
              throw e;
              ^

Error: Debug Failure.
    at visitEachChildOfPropertyAssignment (/workspace/coucou/server/node_modules/typescript/lib/typescript.js:87171:19)
    at Object.visitEachChild (/workspace/coucou/server/node_modules/typescript/lib/typescript.js:86171:35)
    at Transformer.visitor (/workspace/coucou/server/node_modules/ts-runtime-checks/dist/transformer.js:197:37)
    at /workspace/coucou/server/node_modules/ts-runtime-checks/dist/transformer.js:197:73
    at visitArrayWorker (/workspace/coucou/server/node_modules/typescript/lib/typescript.js:85983:51)
    at visitNodes2 (/workspace/coucou/server/node_modules/typescript/lib/typescript.js:85954:21)
    at visitEachChildOfObjectLiteralExpression (/workspace/coucou/server/node_modules/typescript/lib/typescript.js:86532:13)
    at Object.visitEachChild (/workspace/coucou/server/node_modules/typescript/lib/typescript.js:86171:35)
    at Transformer.visitor (/workspace/coucou/server/node_modules/ts-runtime-checks/dist/transformer.js:197:37)
    at /workspace/coucou/server/node_modules/ts-runtime-checks/dist/transformer.js:197:73

Node.js v18.12.1

Playground link
https://googlefeud.github.io/ts-runtime-checks?code=FAYw9gdgzgLgBABQEoEkDKBZAggfQPJIAiAokgEICacAvHAN7BxxgBOAJgKYtkCeAXPTgBLCJwAeAgOQBDKCElxZcGXIUBfYGqA
Expected behavior
Compiler should not break
Additional context
Using 0.3.0
There is no 'ts-runtime-checks' code in the code that breaks.
Could not find a workaround, reverting to forked 0.1.3...

Will be fixed tomorrow!

Thanks!
Please also check https://googlefeud.github.io/ts-runtime-checks/?code=MYewdgzgLgBNBOMC8MDkBDVN0TleAlmAOZA
Code is similar but outcome is different (compiler does not crash but variable value does not get exported)


Improve TaskManager code

This code should be cleaned up to better reflect the loading workflow.

Done with 061c7321bace486673624b9626f84905cd62c006.


Frontend Project "Password Validator" Styling

Describe the Feature you want to end
Changing few styling properties to improve the design.
Expected behavior
Improved design of the project.
Screenshots (optional)
Current Design

Expected Updated Design

Additional context (optional )
N/A

@MohitGupta121 Kindly assign me this issue.


This document says nothing about publishing to WebPubSub

Once again Microsoft, you're wasting our time. Everything in this documentation except using WebPubSub as a middle man I've done already in visual studio code, Node.js and JavaScript without Express or Ngronk which I don't want to bog down my programming with or purchase... again, Microsoft on the big sell without telling us. I started this 11:00am this morning and have been told I needed to buy premium data store, and WebPubSub, Ngronk & Use Express an am no closer to publishing my websocket server onto WebPubSub. This is the 2nd weekend in a row blown chasing Microsoft pipe dreams. I just want to publish my very simple node.js app to webPubSub as I was told I could when I first investigated this
az webpubsub hub create -n "" -g "myResourceGroup" --hub-name "Sample_ChatApp" --event-handler url-template="https://.ngrok.io/eventHandler" user-event-pattern="*" system-event="connected"

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

ID: 6fc0961a-70a2-32c4-0feb-934aa5356b25
Version Independent ID: eff95be1-41e1-353c-9b88-e151d8c598ed
Content: Tutorial - Create a chat app with Azure Web PubSub service
Content Source: articles/azure-web-pubsub/tutorial-build-chat.md
Service: azure-web-pubsub
GitHub Login: @vicancy
Microsoft Alias: lianwei

@crtjr64 Apologize for the inconvenience caused on this. Thanks for the feedback! I have assigned the issue to the content author to evaluate and update this doc as appropriate.

WebPubSub service is to handle your WebSocket connections instead of hosting your WebSocket server.

Here contains the workflow in detail: https://docs.microsoft.com/en-us/azure/azure-web-pubsub/concept-service-internals#workflow

Thanks for providing feedback that helps improve our documentation. Based on the previous response, we are considering this resolved and we are closing the issue. #please-close


Is "1.0.30000967" is no more a valid version?

Hey, Right now I am building a angular application and when I build my application using "@angular-devkit/build-angular": "0.803.21"  It is using  "@babel/preset-env": "7.7.6" which use  "browserslist": "^4.6.0" which uses "caniuse-lite": "1.0.30000967". So it throws an error that says:
"ERROR: Error: Browserslist: caniuse-lite is outdated. Please run next command npm update"
but I think there is no latest version for angular devkit other than I mentioned above.

Maybe you have different caniuse-lite versions in your node_modiles.
Call npm ls | grep browserslist.

Idk I am hoping this is a fix for angular devkit. I have raised a ticket there https://github.com/angular/angular-cli/issues/16560


Submit of report with CustomInfo fails

Hi!
When creating a bug report with CustomInfo object set, NBug throws an exception when trying to submit this report. This problem was mentioned earlier here on StackOverflow.
In Report.cs the report class gets serialized in the ToString Methodwith this code:
var serializer = this.CustomInfo != null
? new XmlSerializer(typeof(Report), new[] { this.CustomInfo.GetType() })
: new XmlSerializer(typeof(Report));
so if setting CustomInfo != null the XmlSerializer constructor with the "extraTypes" parameter gets called. See MSDN.
After restarting the application, NBug tries to submit the bug report, this leads to Dispatcher.cs method GetDataFromZip(Stream stream) the deserialization of the report file happens always with the following call:  var deserializer = new XmlSerializer(typeof(Report));
Unfortunately this leads to a wrongly deserialized Xml so the CustomInfo member of the Report class gets deserialized to a XmlNode[] which in turn cannot be correctly serialized later when submitting the bugreport.
Kind regards,
Andy

Actually this:
var serializer = this.CustomInfo != null
? new XmlSerializer(typeof(Report), new[] { this.CustomInfo.GetType() })
: new XmlSerializer(typeof(Report));

can just be this everywhere:
var serializer = new XmlSerializer(typeof(Report), new[] { this.CustomInfo.GetType() });

since specifying extra type does not break the serialization/deserialization when that type does not appear in the data.
I don't have a Windows env. to test this idea but if you can, make a PR and I'll merge it.
Thanks for the report also.

Yes, you are right but the problem here is:
CustomInfo is of type object and I add an instance of type "MyCustomInfo". So when deserializing I need to specify typeof(MyCustomInfo) to deserialize correctly. Up to now I don't have a good idea how to "pass in" a custom type to the library. I will think about it during the weekend... thanks for the quick reply!

Yeah, specifying only the base type CustomInfo as the extra type for deserializer might not be enough. Never needed the custom info myself so never looked for a solution.
Anyway, good luck. Stackoverflow might have some ideas on this.

@soygul - I get this error with your change:
NBugTrace: 12:24:49  : Submitting bug report via Mantis.
NBugError: 12:24:49  : An exception occurred while submitting bug report with Mantis. Check the inner exception for details.
Exception: System.NullReferenceException: Object reference not set to an instance of an object.
   at NBug.Core.Reporting.Info.Report.ToString() in D:\Code\Other\NBug-master\NBug\Core\Reporting\Info\Report.cs:line 52
   at NBug.Core.Submission.Tracker.Mantis.Mantis.Send(String fileName, Stream file, Report report, SerializableException exception) in D:\Code\Other\NBug-master\NBug\Core\Submission\Tracker\Mantis\Mantis.cs:line 177
   at NBug.Core.Submission.Dispatcher.EnumerateDestinations(Stream reportFile, ExceptionData exceptionData) in D:\Code\Other\NBug-master\NBug\Core\Submission\Dispatcher.cs:line 133

Report.cs:line 52 is:
var serializer = new XmlSerializer(typeof(Report), new[] { CustomInfo.GetType() });

Known issue. Don't use custom info until someone fixes it. I don't use Windows any more so can't work on it.


how to alarm if a tomcat is down?

the alarm rules doesn't have option like "shutdown",if a tomcat or a jvm instance is down,how can i get the alarm message?
thanks for developing pinpoint,it's cool!

@minwoo-jung
ok...hope to be supported in future，thank you


opam update should be retried if connection times out

It'd be nice to retry opam update a couple of times of it times out (perhaps based on a max retries parameter for the action), so I don't have to restart all jobs when one fails on a transient error.  See https://github.com/mit-plv/fiat-crypto/runs/2570073992?check_suite_focus=true#step:2:496

Possibly - I used to be a fan of automatically retrying things, however having fixed a few things in the past which were masked by automatic retries, I’ve become a little more reticent (an error in Cygwin where fork systematically worked every other call was one and a very obscure test bug in OCaml which happened to surface more regularly on Windows being the the other!)
For things like opam update, it might be worth replicating something closer to what we do in ocurrent/docker-base-images - having a clone of opam-repository earlier in your workflow and using actions cache to share this. It would have the benefit of ensuring that all the macOS and Linux jobs definitely use the same opam-repository, for example.
(I can’t remember, commenting from my phone, if the required support is in setup-ocaml for doing opam init from a different repository - my point is I think features to support the caching workflow above would be better than automatic retries)

For things like opam update, it might be worth replicating something closer to what we do in ocurrent/docker-base-images - having a clone of opam-repository earlier in your workflow and using actions cache to share this. It would have the benefit of ensuring that all the macOS and Linux jobs definitely use the same opam-repository, for example.

At the very least, macOS and Ubuntu runners are now forced to use the latest and exact same repository by #109, and Windows runners are forced to use the latest Windows repository.

I don't think this should be done on the action side at this point, so I will just close for now. If there are any updates in the comments, I will reopen.


Detection probabilities

Add function to estimate detection probabilities of a site/node based on some downloaded file of complete capture history downloaded from PTAGIS. Might use the Interrogation Summary or Interrogation Detail query from PTAGIS.

After discussions with Ryan and Rick, we're consolidating it under estNodeEff


Text in card message

Is your feature request related to a problem? Please describe.
Maybe it is not neccessary to include color text in "messages" as background already has the information on severity so icon+phenomena name are sufficent.
Describe the solution you'd like
Maybe add (optional) event start+end time to entry?
Maybe add an option for message format: only event or event with severity color?
Additional context
How is card display related to start and end time- entry is cleared on new RSS message cancelling event?
Best, JR

I agree with this. I now have a yellow card on my phone saying warning yellow and the actual warning falls off the screen.

Maybe it is not neccessary to include color text in "messages" as background already has the information on severity so icon+phenomena name are sufficient.
Maybe add an option for message format: only event or event with severity color?

I will work on making a card scale so it would automatically shorten or remove message overall on smaller devices without impacting desktops.

Maybe add (optional) event start+end time to entry?

Adding any more stuff to the card will make it more cluttered

How is card display related to start and end time- entry is cleared on new RSS message cancelling event?

The card doesn't do any processing by itself, it displays data directly from the provided entity


Premint

Current dependencies on/for this PR:

main

PR #161   👈

This comment was auto-generated by Graphite.


Revert jboss-logmanager version

A version bump from 2.0.0.Final to 2.0.1.Final-SNAPSHOT accidentally
updated the version of jboss-logmanager dependency.

Linux Build 2590 outcome was FAILURE using a merge of 883bb59e7570ba40b69d10b776553fd57dbf5c0f
Summary: Tests passed: 3000, ignored: 612; exit code 1 Build time: 00:21:56


fix the select model bar

Pull Request Checklist

[ ] Description: Fix the model selection area and separate it from the dialogue area
[ ] Changelog: Adjusted the layout of chat page

Description
Fix the model selection area and separate it from the chat area, so that the model selection area will always be displayed without the need for manual sliding on top
Issue can be found in: https://github.com/open-webui/open-webui/issues/1350

Changelog Entry
Added

None

Fixed

None

Changed

Adjusted the layout of chat page (/src/routes/(app)/c/[id]/+page.svelte)

Removed

None

The location of model selector was intentionally added at the top of the chat page but I see your point. I'll close this for now but I'll come up with a more streamlined UI to switch between the models soon and add you as a contributor, Thanks!


Take a close looks at categories and place actions in the correct section

I have reorganized the sections previously and added several sections including the Static Analysis section but I think there needs to be a closer look into appropriately placing the some of the actions in "Testing" to make sure they are correctly placed there. There are several other areas like "Third Party" that have actions in them that would more appropriately be placed elsewhere. I will be happy to look into this tonight. If you have any other suggestions, please feel free to discuss here :)

Good idea. Also, I think we need to create "Setup actions" category as well (like we have for Official Actions - https://github.com/sdras/awesome-actions#setup-actions). So, we can move there "Setup Xamarin", "Setup Mint", "Setup Brainfuck", "Setup NativeScript". In a future we can create a subcategory there if needed.

I'm open to a PR for this, as long as there are more than 3 items in a new subcategory.


Fix unknown identifier error in for loop

Fix https://github.com/godotengine/godot/issues/57691

Thanks!


Add more advanced demosaicing algorithms

It would be awesome if we could use different/more advanced algorithms for demosaicing the data from camera's Bayer sensor.
Possible additions (in Python) are included in the Colour library:
https://github.com/colour-science/colour-demosaicing/blob/develop/BIBLIOGRAPHY.rst
https://github.com/colour-science/colour-demosaicing/tree/develop/colour_demosaicing/bayer/demosaicing

I can't say it's something I'm terribly motivated to add (the PiBayerArray stuff is largely there as a nice base for people to build upon), but if someone wants to post a PR which, for example, adds an algorithm parameter to PiBayerArray.demosaic I'll happily merge it if it doesn't add any onerous dependencies.
For example, the scipy dependency in the linked repo might be a little much: that's a very long compile for venv users - unless it was made optional by only importing it in the demosaic method, or the convolve stuff (which looks fairly simple: just pure Python plus some numpy stuff) was duplicated.


Slow module loading

Hi.
I'm experiencing really slow loading times on the dbamodule. Looks like it's the same pattern on different machines. From what I can see it's the dot sourcing of all the function files that's taking time.
Read about the same issue here: http://superuser.com/questions/1170619/is-dot-sourcing-slower-than-just-reading-file-content
So I replaced all function loading with Invoke-Expression and that made a significant performance boost.
Before:

After:

It's not a module bug I guess, but more a Powershell runtime problem. Does anybody experience the same problems?
System Details

Operating system name and version:
Windows Server 2012 R2 Standard

Output from $PSVersionTable:
PSVersion                      5.0.10586.117
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.10586.117
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

Output of dbatools version:
0.8.900

SQL Server version for source/target
SQL Server 2016 SP1

Hey @burnbay - we had the same issues and fixed it in 8.0.902 -- please update and let me know if you continue to have issues.

Hi.
On version 8.0.902 I'm just getting "Install-Package : Illegal characters in path" Version 8.0.900 works fine on installation.

Dang, can you try
Uninstall-Module dbatools -AllVersions
Install-Module dbatools -Force
See if you continue to get encoding issues? And if so, try this (temporarily)
Invoke-Expression (Invoke-WebRequest -UseBasicParsing https://dbatools.io/in)
Let me know if any of those work. I can install dbatools no problem on both Win10 and Server2016 so I'm trying to find the culprit. If you continue to have issues,c an you please paste the whole error?
Thanks!

Removed all verssions and then ran Install-Module dbatools -Force:

Invoke-Expression (Invoke-WebRequest -UseBasicParsing https://dbatools.io/in) worked!

Here's the verbose output:

WTF agghh. k, thanks. Will try to figure out what is up and fix that. My apologies.
How's the new loading time?

Looks good! :)

Breaks my heart to see 10 seconds -- on a regular machine, that should be subsecond (v 0.8.900 was 3 secs).

@PowerDBAKlaas looked into this too and found it's a GPO setting. Klaas, did you ever find which specific setting increased the time?

Well ... compared to 12 minutes it's blazing fast :)

LOL!! Oh man, I thought that was 12 seconds to 10 seconds! Torturous!
FWIW, the offending line was in an older copy of Invoke-Sqlcmd2, so your system really doesn't like Get-Command -ListImported

Would be really interesting to know what GPO setting that was @PowerDBAKlaas? Our IT department love GPO's a bit too much IMO

Can you show what:
Get-ExecutionPolicy -List
returns, please?

No restrictinos on this dev server:

I used to have slow loading. But the latest release is super fast for me.

@burnbay that's different from what I had, but it can still be a problem:
the Policies should be "Undefined".
When it's set through a GPO, additional checking is done.
Instead of the executionpolicy, a registry key should be set in the GPO.
Tobias wrote this blog post after our conversation on my module loading times (63 sec):
http://www.powertheshell.com/understanding-execution-policy/

Thanks so much for the link @PowerDBAKlaas! Tweeted it.

@gbargsley - yeah, seems I introduced the slowness in middle of December 👎

@burnbay - please try to install the latest version (0.8.903) from the gallery, I updated a bunch of encoding.

Sorry to say ....

dangit. what language is your windows? it's win10 right?

Heya, we're having some trouble reproducing the issue.
Would you mind providing:

Operating System, Edition and build type (e.g.: Windows 10 Professional x64)
An export of your $host variable: $host | Export-Clixml host.xml
An export of the error record that is thrown: $error[0] | Export-clixml error.xml

Also can you Save-Module -Name dbatools -Path C:\temp
then
Import-Module C:\temp\dbatools\0.8.903\dbatools.psd1
See what happens?

@ctrlbold Works like a charm with Save-Module, then Import-Module.
@FriedrichWeinmann System:
Windows 2012 Server R2 Standard SP1 x64
info.zip

Hi, thanks for the data. I went through it, was a bit at a loss and set up an identical machine:
Windows Server 2012 R2 SP1 x64

Language & Locale: Norwegian (Bokmål)
Management Framework 5 RTM (5.0.10586.117)
It installed the module flawlessly on import.

This - combined with your own example of saving and importing the module - strongly implies that something on your machine is broken, either PowerShellGet, PackageManagement, PowerShell or .NET in general.
Recommended steps to solve this:

Install WMF 5.1. It replaces WMF 5.0 components and it is plain better all around, making this a good update. (Meaning you should do it, issue or no issue)
Reinstall the package management module from a healthy system of as close to equal patchlevel as you can manage
Reinstall PowerShellGet
Try a .NET repair

The first is generally safe. For 2 & 3, copying the existing module directory as backup is sufficient but recommended. Before doing the .NET repair I highly recommend making sure you've got a backup of the server. It's usually safe to use, but 'usually' and 50 cent will get you a coke.

Wow! What an effort. Thank's so much. I suspect something is broken too. Never had any problems before on this particular machine, but I don't control software installation/patching. Could be that something's been done. Anyway, will look into it tomorrow.

Hey, no worries :)
I still have a W2K12R2 template on my test ESX and had my test environment shutdown due to maintenance today, so I had the capacity available to do a quick clone and language-pack transform.

Still, installing version 0.8.900 works great on the same machine. Tried on a different server now and the same error. W2KR2 with CurrentCulture nb-NO and CurrentUICulture en-US, same as the first server. Installing version 0.8.900 works on both.

Tried on a W7EntSp1 with no luck:

$host:

Will try upgrading to WMF 5.1 on the W7 machine. To be continued ....

Success:

I'll test the same on the first W2K12R2 server, but cannot restart immediately. Will update as soon as possible.

Interesting! The thing that drives me crazy is that it used to work. Can
you do one more thing the next time you come across that error? Paste the
results of
$error[0] | select *
On Tue, Feb 21, 2017 at 9:36 AM, burnbay<EMAIL_ADDRESS>wrote:

Tried on a W7EntSp1 with no luck:
[image: image]
https://cloud.githubusercontent.com/assets/2721929/23156863/f06df1ca-f818-11e6-9401-2248d09c90b8.png
$host:
[image: image]
https://cloud.githubusercontent.com/assets/2721929/23156875/fded792e-f818-11e6-8716-cb9b92a74e9b.png
Will try upgrading to WMF 5.1 on the W7 machine. To be continued ....
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sqlcollaborative/dbatools/issues/779#issuecomment-281278140,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH5QES2m5Pvi2E913X5I9qlj-mtYYhLrks5reqIegaJpZM4MGJIv
.

Nevermind, @sanderstad ran it with that and it didn't provide adequate info :/

Well @FriedrichWeinmann  and @ctrlbold ..... worked out just fine with WMF 5.1 on W2K12R2 too:

A bit bugged by the error on WMF 5.0. I guess a lot of people run that version.
Thanks for all your help!

Damn, and I figured out what buggered my test: One of our trainees had patched my templates and forgotten to mention it to me * grml *
I'll see whether I can troubleshoot the issue - after all, as you said, many people still using that.
Thanks for reporting this and helping is pinpoint it.

Also, for anyone who is having an issue with the Illegal characters in path please post the output of nuget help and report their nuget version?
I am seeing reinstalling fixing issues and a few other projects on gh reporting specific nuget version issues, so this would be very helpful to isolate the issue.
Thanks!

I got another report via email D: I'll ask him to run nuget help, thanks @ConstantineK

Talked to @sanderstad, looks like the location of the nuget executable might be local to the issue, going to find the exact location and report back which nuget version you want to get :)

Yessssss!

hey @burnbay, can you run this
Get-HotFix | ? installedon -gt 2/15/2013
Let us know and we'll compare with @sanderstad's

Here is my "little" list
installedupdates_sstad.txt

Here's my list
installedupdates.txt

Thank you both!

agggh, it doesnt look like a recent update caused the problem 👎

I am so pleased to say that both the speed and the illegal characters issue has been resolved by @ConstantineK and @FriedrichWeinmann in v0.8.938
ck found out after recompiling some DLL's that loading the module faster with the . caused illegal chars.
This commit shows our ultimate solution by @FriedrichWeinmann
https://github.com/sqlcollaborative/dbatools/commit/f6dcc2d9828e3112105c8625b0f8916fddaa26ac
Module now loads on my machine at 1.5 secs avg.

Great news!
👍🏻👍🏻


Build System -- fails to link POSIX basename() from <libgen.h>

Although basename is defined in <libgen.h> and code is present in newlib, the build system fails to properly link, even with a trivial example.
[jeff@miniup /Volumes/esp-build/esp-open-rtos/local/basename-link-failure-libgen]$ make V=1
xtensa-lx106-elf-gcc -nostdlib -Wl,--no-check-sections -L./build/sdklib -L../../lib -u call_user_start -Wl,-static -Wl,-Map=./build/basename_libgen.map  -Wl,-gc-sections -g -O2 -T../../ld/program.ld -T../../ld/rom.ld -L../../libc/xtensa-lx106-elf/lib -u _printf_float -u _scanf_float -Wl,--whole-archive  ./build/open_esplibs_libmain.a ./build/open_esplibs_libnet80211.a ./build/open_esplibs_libphy.a ./build/open_esplibs_libpp.a ./build/open_esplibs_libwpa.a -Wl,--no-whole-archive -Wl,--start-group  ./build/program.a ./build/freertos.a ./build/lwip.a ./build/core.a ./build/open_esplibs.a ./build/libgcc.a ./build/libc.a -lhal -lmain -lnet80211 -lphy -lpp -lwpa -Wl,--end-group -o build/basename_libgen.out
./build/program.a(basename-libgen.o):(.text.testTask+0x10): undefined reference to `basename'
./build/program.a(basename-libgen.o): In function `testTask':
/Volumes/esp-build/esp-open-rtos/local/basename-link-failure-libgen/basename-libgen.c:50: undefined reference to `basename'
collect2: error: ld returned 1 exit status
make: *** [build/basename_libgen.out] Error 1

This is a recent pull and build of esp-open-sdk and a recent pull of esp-open-rtos.
esp-open-sdk was built using the instructions found at https://github.com/SuperHouse/esp-open-rtos on a case-sensitive volume.
To replicate:
/*
 * Tests of ability to link to basename() using <libgen.h>
 *
 */

/* There are two common basename variants.  If you do NOT #include <libgen.h>
   and you do

     #define _GNU_SOURCE
     #include <string.h>

   you get the GNU version.  Otherwise you get the POSIX versionfor which you
   should #include <libgen.h>i for the function prototype.  POSIX requires that
   #undef basename will still let you invoke the underlying function.  However,
   this also implies that the POSIX version is used in this case.  That's made
   sure here. */

#include <libgen.h>

#include <stdlib.h>
#include <stdio.h>

#include <FreeRTOS.h>
#include <task.h>

#include <espressif/esp_common.h>
#include <espressif/esp_wifi.h>

#include <esp8266.h>
#include <esp/uart.h>

#define BLUE_LED 2
#define LED_ON 0
#define LED_OFF 1

#define WAIT_FOR_UART_SECS 5  // 2 might be OK

// For sdk_system_restart_in_nmi()
#include <esplibs/libmain.h>

// Not defined in espressif/esp_wifi.h
extern bool
sdk_wifi_set_opmode_current(uint8_t opmode);

void
testTask(void *pvParameters)
{
    gpio_enable(BLUE_LED, GPIO_OUTPUT);
    gpio_write(BLUE_LED, LED_OFF);

    vTaskDelay(WAIT_FOR_UART_SECS * 1000 / portTICK_PERIOD_MS);

    gpio_write(BLUE_LED, LED_ON);

    printf("basename() test; expect somefile.name\n");
    printf("basename(\"path/to/somefile.name\") returned '%s'\n",
           basename("path/to/somefile.name"));

    printf("\n");
    printf("All done\n");

    gpio_write(BLUE_LED, LED_OFF);

    sdk_system_restart_in_nmi();
}

void user_init(void)
{
    uart_set_baud(0, 115200);
    sdk_wifi_set_opmode_current(NULL_MODE);  // Temporarily disable
    xTaskCreate(testTask, "testTask", 512, NULL, 2, NULL);
}

PROGRAM=basename_libgen

include ../../common.mk

The same program and Makefile link with the GNU version as described using
#define _GNU_SOURCE
#include <string.h>

Unfortunately, GNU licensing requirements do not make this a viable alternative.
Looking at what is built with nm
lib_a-gnu_basename.o:
00000000 T __gnu_basename
         U strrchr

It appears that the POSIX version is not included in libc
[jeff@miniup /Volumes/esp-build/esp-open-rtos/local/basename-link-failure-libgen]$ nm build/libc.a | fgrep basename
lib_a-gnu_basename.o:
00000000 T __gnu_basename

For anyone looking to resolve this prior to any possible patch or recompilation of newlib, the newlib source code for basename() may be found at
https://github.com/projectgus/newlib-xtensa/
at newlib/libc/unix/basename.c

See https://github.com/SuperHouse/esp-open-rtos/pull/571 for a newlib update that includes some of the code from libc/unix such as basename.

Confirmed resolved and both cases now compile and link
Thanks @ourairquality


Refs #32380 -- Added test for distance lookups with F() expression.

ticket-32380
Fixed in 5935a9aeade517aebdceea989467d2b46c44d96f.

Thanks for checking :+1:

Thanks for checking :+1:


why doesnt it show the game im playing in my status?

dude i asked you to send the log file in the discord server

Still waiting...

this also happens to me for some reason, game details are not present, it just shows that im playing Roblox and thats it

Alright, glad you've let me know about this. Can you send Bloxstrap's latest log file from %localappdata%\Bloxstrap\Logs here please?


live reload server doesn't watch the css entry point for changes (it does watch the dependencies -> @import "dependency")

Test case:

download boilerplate-node-module-angular
npm install
npm start

Check out the build script inside package.json and see that I'm passing the lib/index.css as entry point to atomify-css.
Trying to update and save lib/index.css does nothing.
In order to solve it, it is necessary to pass the file path as patterns to the live reload -> replace the build script line inside package.json with this line:
"build": "npm run index:build -s && atomify -j [ -e lib/index.js --alias /assets/bundle.js --debug --watch --assets [ --dest build/assets --prefix /assets/ --retainName ] ] -c [ -e lib/index.css --alias /assets/bundle.css -o build/assets/bundle.css --assets [ --dest build/assets --prefix /assets/ --retainName ] ] -s [ --open --path / --lr [ --patterns lib/index.css --patterns lib/index.css --port 9999 ] --st [ --path build/ --index index.html --no-cache ] ]",
You can see that now --patterns is being passed to --lr (the duplication is because the code expects it to be array if exists -> BTW, why there is a need to watch args.js.output and args.css.output if the source files are being watched ?).
Isn't the watch of the css entry point suppose to be out of the box ? Am I missing something ?
Thanks

For me, the css watch did not work, so i added it.
I'm normally, just if you are interested, i made some slides to present how to do components with atomify and theme them (I figured, the atomify-css variables are unnecessary).
I'm using strict BEM css conventions in order to strictly namespace EVERYTHING in css, so that under no circumstances in any kind of environment, there is a chance of NOT breaking the cascade.
I do that, to simulate "local scope" in css. It's already best practice in javascript to do that.
If you'd like to give some feedback on whether it makes sense or how to improve it, that would be welcome, otherwise, dont bother :-)
See: https://github.com/atomify/atomify-examples/pull/5
or better: http://serapath.github.io/atomify/#/

@serapath I see what you added but without turning the css watch on (your addition), the watch does work but only for the imports (without the entry file) -> gaze adds the imports to be watched.
As a result, if turning the css watch mode, any change in the imports will be notified twice (not a big deal but it seems that the watch is already implemented (if I'm not missing something) and needs a small addition of the css entry point (see solutions)).
Solutions:

Changing args.css.output to be args.css.entry (or adding in order not to conflict with the css watch mode you added) so gaze will trigger the live reload + concat the css path as well if patterns exist.
Making the prefilter (inside atomify-css) to be called on the css entry point as well (not sure how this is work) and then gaze will be notified.
Passing --patterns lib/index.css --patterns lib/index.css parameters to live reload - manual solution similar to the out of the box solution in 1 - Currently thats what I'm doing.

Now I understand why you moved the server to be under if css output provided (because this is part of the explicit css watch mode), but it isn't necessary to provide a css output in development mode (its also possible to use a default path like in the js case but then imports will be notified twice). With one of the described solutions the css watch will work without turning on the explicit watch mode and the css will be generated on the fly :)
Later I'll watch the links :)


Install Error

In Kali Linux 2016.2:
./setup.sh
[] Installing Dependencies
Obj:1 http:[...]
[...]
[] Grabbing Wine Modules
wine: cannot find '/root/.wine/drive_c/Python27/Scripts/pip.exe'
[*] Done
if now run:
./setup.sh -r
[...]
[] Installing Python Requirements
Requirement already satisfied (use --upgrade to upgrade): blessings in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied (use --upgrade to upgrade): pyasn1 in /usr/lib/python2.7/dist-packages
[] Installing Pyinstaller
[*] Remove /opt/pyinstaller? [Y/n]
\033[1;31m[*] Reinstall Cancelled \033[0m

Hi,
This is because pyinstaller needs to be removed to fully reinstall winpayloads.
If you say no the setup with exit

Sorry, but there is an error in the wine installation:
[] Grabbing Wine Modules
wine: cannot find '/root/.wine/drive_c/Python27/Scripts/pip.exe'
and when he asks:
[] Remove /opt/pyinstaller? [Y/n]
pulse the 'Y' key (default) and you get the error:
\033[1;31m[] Reinstall Cancelled \033[0m
the error out pressing 'Y' or pressing 'N'.

Try a lowercase 'y'


ROMP support?

hi, does any pretrained model able to applied to ROMP?

Hi @jinfagang, since SmoothNet can generalize well across backbones, we suggest you can simply use the pre-trained models to test the output poses from ROMP. Looking forward to your further feedback!

Hi, I saw there are VIBE PARE pretrained models, which one could use?

Actually, any pre-trained models can be used. Their differences are from the training dataset and backbones. For example, if you need to smooth on 3DPW, it will be better to use 3DPW-SPIN. 3D pre-trained models can be used for 6D rotations (avoid to use it on 3D angle or 4D quaterion).
If you wonder the generalization ability of different checkpoints, please refer to Section 2.5 of the Appendix
(https://arxiv.org/pdf/2112.13715.pdf page 26-27). Thanks!

I get it. I am trying use it on HybrIK, but it's output is quanternion, should I first convert quaternion back to rot mat, then apply to smoothnet, after that, back to quternion which I use?

Yes, make sure the input of SmoothNet is a continuous representation (e.g., 6d rotation matrix). The transformation function can be found here: https://github.com/cure-lab/SmoothNet/blob/main/lib/utils/geometry_utils.py#L35.

@ailingzengzzz thanks! I saw this function input is quat: size = [B, 4], is that ok I send it a frame pose (it's [24,4] in smpl), and then for all my frames? So that final output rotate mat could be [B, 24, 3, 3] ? B is frames num

First use quat_to_rotmat (size = [B*24, 4]->[B*24, 3, 3), then use rotmat_to_6d  (output size = [B*24, 6]). Finally, you can reshape 6d rotation matrix to [B, 24, 6] via .reshape(-1, 24, 6).

@ailingzengzzz thanks for your adivce, am trying to load the model I got some weired error:
Unexpected key(s) in state_dict: "res_blocks.1.linear1.weight", "res_blocks.1.linear1.bias", "res_blocks.1.linear2.weight", "res_blocks.1.linear2.bias", "res_blocks.2.linear1.weight", "res_blocks.2.linear1.bias", "res_blocks.2.linear2.weight", "res_blocks.2.linear2.bias", "res_blocks.3.linear1.weight", "res_blocks.3.linear1.bias", "res_blocks.3.linear2.weight", "res_blocks.3.linear2.bias", "res_blocks.4.linear1.weight", "res_blocks.4.linear1.bias", "res_blocks.4.linear2.weight", "res_blocks.4.linear2.bias".
	size mismatch for encoder.0.weight: copying a param with shape torch.Size([512, 32]) from checkpoint, the shape in current model is torch.Size([512, 100]).

What's difference between 3dpose pretrain model and SMPL pretrain model?
I downloaded SMPL PARE pretrained model, and define model wlikethis:
model = SmoothNet(
        window_size=100,
        output_size=100,
        hidden_size=512,
        res_hidden_size=16,
        num_blocks=1,
        dropout=0.5,
    ).to(device)

    checkpoint = torch.load("checkpoint_32_smpl.pth.tar")

    model.load_state_dict(checkpoint["state_dict"])

result not right. what's going wrong.

AssertionError: ('Input sequence length must be equal to the window size. ', 'Got x.shape[2]==6 and window_size==32')

torch.Size([1920, 24, 6])
can not send into model

Hi @jinfagang,
As shown in our paper, SmoothNet is a temporal-only model that shares weight across spatial dimensions (either 3d or 6d). We suggest simply using the 3d pre-trained models to smooth 6d rotation matrices (we comprehensively conduct these experiments across modalities, backbones, and datasets in Appendix).
SmoothNet needs to ensure the input and output length (window size), and hidden size are equal to the given configurations, which can be found in configs/ (https://github.com/cure-lab/SmoothNet/tree/main/configs).

The input of SmoothNet should be [N, T, C], where N can be any number, T is the sliding window size, and C is spatial dimensions (C is usually the Keypoints number * the keypoint dimension)

@ailingzengzzz Hi, your config provided, can not fit pretrain model you supply.

Please refer to our Evaluation part to set the corresponding window size.
python eval_smoothnet.py --cfg [config file] --checkpoint [pretrained checkpoint] --dataset_name [dataset name] --estimator [backbone estimator you use] --body_representation [smpl/3D/2D] --slide_window_size [slide window size]


Feature #3398: Redefine global mirror interval

This pull request add new key on app.ini to configure the mirror global interval (#3398).
By example, to set mirror global interval to 6 hours rather than 24 :
[mirror]
GLOBAL_INTERVAL = 6

Commented on #3398.

The variableis now renamed to DEFAULT_INTERVAL

I think the Mirror should put after this line, and load with another else if before api section. This also requires you add a [mirror] section after [git] in conf/app.ini file.

Thanks!


[EAGLE-60] HBase sensitivity UI

Create an HBase sensitivity UI page in Classification for use operation.
Separate the origin hive & hdfs page to table & folder. Use the common template to render the classification UI.

LGTM, Merge directly


Increase ARN size for RDS to max allowed

See #471

The limit on ARN size is coming from the AWS model files. The code you are editing is generated from these files. The next time we re-generate code your changes will be lost. The CodeGenerator has a method for patching the JSON models before they are used to generate the swift files.
You need to edit [patch.swift](https://github.com/soto-project/soto/blob/main/CodeGenerator/Sources/CodeGenerator/patch.swift) in the CodeGenerator for your changes to persist. It's a little awkward to get right as you have to look through the model file to find out what you need to edit and then the patch uses an array of KeyPaths to get a WriteableKeyPath for the part of the JSON model to edit. I've added a separate PR to do this #473
Interestingly the 100 characters limit is in the documentation as well https://docs.aws.amazon.com/rdsdataservice/latest/APIReference/API_ExecuteStatement.html

Hey @adam-fowler, thank you for your feedback and follow up. I've also provided this feedback to Amazon on the mentioned page. If I hear anything back, I'll drop a comment somewhere :-)


Display update number

Is there a way to show update number in the warn message, for example  : the  server will restart to update Ark to 245 version.

Do you know how to extract the version from the updated files?

I think lately it have been more up-to-date with the ARK version than months ago but that still needs to be confirmed.

I've been monitoring it every 15 minutes:
2016-06-26T08:13:21Z: Server BuildID=1199320 -> 243.8
2016-06-26T08:18:12Z: Server BuildID=1199324
2016-06-27T17:04:42Z: Server BuildID=1200912
2016-06-27T18:42:37Z: Server BuildID=1201031 -> 243.9 after 18-33 minutes
2016-06-27T19:27:57Z: Server BuildID=1201094 -> 243.91 after 3-18 minutes
2016-06-29T06:30:54Z: Server BuildID=1203767 -> 243.92
2016-06-30T08:56:16Z: Server BuildID=1205880 -> 243.94 after 34-49 minutes
2016-07-01T01:12:50Z: Server BuildID=1207321
2016-07-03T20:59:52Z: Server BuildID=1210534 -> 244.0 after 1-16 minutes
2016-07-03T21:09:37Z: Server BuildID=1207321 -> 243.94 after 9-21 minutes
2016-07-03T22:26:27Z: Server BuildID=1210588 -> 244.1
2016-07-05T16:21:13Z: Server BuildID=1212922 -> 244.2
2016-07-07T19:10:23Z: Server BuildID=1217221 -> 244.3
2016-07-07T20:53:02Z: Server BuildID=1217418 -> 244.4
2016-07-10T17:58:21Z: Server BuildID=1220835
2016-07-11T18:42:02Z: Server BuildID=1222386
2016-07-16T05:38:26Z: Server BuildID=1230269 -> 244.6
2016-07-16T06:40:33Z: Server BuildID=1230539 -> 244.7
2016-07-28T17:04:40Z: Server BuildID=1250389 -> 245.0
2016-07-28T18:21:56Z: Server BuildID=1250570
2016-07-28T20:20:18Z: Server BuildID=1250787 -> 245.1
2016-07-29T01:46:14Z: Server BuildID=1251268 -> 245.2

The version has been getting updated for the most part within 15 minutes of the update being pushed to Steam.  There are some unversioned hotfixes there, and they may have missed 243.93 and 244.5

Maybe because sometimes they are only client update

Note that those buildid updates without a version are server buildid updates.

There is now a version.txt file in the base of the ARK server directory.  As long as it is accurate, we should be able to use it.

yep :)

I have pushed an update to 1.6-dev.unstable to add this - add {version} where you want your version to show up in the reason.

i'm going to try for the next update

working fine !

Does anyone know was version.txt shipped accidentally in the first place or why it have been removed?


Watching task keeps on spinning if isBackground is not specified

Refs #23277

Generate a new vscode extension using yo generator
Open tasks.json and add a "isBackground": false to the npm task
Run task npm -> it the status bar always shows the spinner and it never completes

I would expect a more gracefull way of handling watching tasks.
This is particularly noticable if this task is a preLaunchTask so debugging does not start since the task is never finished

This is by design. If a task specifies that isBackground: false I suspect that task to end before I signal it is done. So the debugging framework waits correctly for it.
@isidorn what would you expect me to do instead?

Agree that there is not much you can do here.
What is your default valeu for the isBackground - if it is not set

Default is false.

All I can think of is stopping the spinning after a certain amount of time assuming that a long running task is a watching task. But might have bad consequences as well.
@isidorn since I don't know how to address this other than providing the flag isBackground I will close the issue. Please reopen if you have ideas how to address.


minimize to system tray?

I think a minimize to system tray button would be nice

You can use something like Traymond to minimize it. That's what I do.


Rotating VLP-16

Hi!
I have a rotating VLP-16 with servo motor.
Where can I set the duration that is on full rotation of the VLP? I have set 1 UDP packet per scan packet and TRAJECTORY_BUILDER_3D.num_accumulated_range_data = 80 but result are no good.
Where can I set the 80 * 10Hz = 800 packets (1sec) in order to build the full rotation scan? If I set the num_accumulated_range_data = 800 the map moves.

Closing for inactivity, we can't invest time to help you with your setup anymore unfortunately.


Improve content type labels in contents area

Right now in list mode the contents part of a resource landing page appears as follows.  The area circled in red is problematic.

"GeoRasterLogical...' is incomplete and there is no way to expand the column to see the full text.  If possible add control to this area to allow columns to be resized.
Listing the aggregations "Logan" and "UEB model ..." as File folders is actually incorrect as these aggregations will not be in folders with the latest changes.
We have changed from using the terminology "Logical file"  Instead we are using "Content" to refer to aggregations on the UI.  The labels shown should be consistent with what appears when you hover over the file, i.e.

Multidimensional content
Geographic raster content
etc (check for other types)

There is no need for two separate columns.  Instead the columns should be

The fix for this issue will also account for a minor artifact where dots appear next to resource icons under certain conditions:

Curious about status.  @Maurier would like to discuss on Developer call.  Potentially assign to @devincowan

I am in the process of rewriting this logic inside a Vue component which will make it more maintainable and easier to extend. So I will implement this change soon after.


No way to choose format of doc if not saved

VSCode Version: Code 1.14.1 (2648980a697a4c8fb5777dcfb2ab110cec8a2f58, 2017-07-13T19:18:47.188Z)
OS Version: Windows_NT ia32 10.0.15063
Extensions:

Extension
Author (truncated)
Version

csharp
ms-
1.11.0

mono-debug
ms-
0.15.6

Steps to Reproduce:

Create a new file
Start typing markdown (or something else)
Open preview mode
EXPECT: Syntax hilighting for MD format and preview
ACTUAL: no highlighting or preview

You need to save the file first to get this based on the file extension.  This is a good start, but it should enable me to select a format first before saving to get this.  Notepad++ allows me to do this easily before saving and enables me to save a doc as tim.foo (random file extension) and still select the format of the contents to be a file type.

Reproduces without extensions: Yes/No

You can run Change Language Mode from command palette or click the language name on the right bottom of the editor (on the status bar) and switch the Markdown.

WHAAAAAAT.  Awesome thanks.  Weird that menus are in status bars.  Options/settings for Code seem to be in various places.


'self is not defined' in CommonJS context

self is not implicitly defined in the CommonJS context, so it causes error when I try to use this polyfill.
problem lines are:
https://github.com/yola/classlist-polyfill/blob/master/src/index.js#L18
https://github.com/yola/classlist-polyfill/blob/master/src/index.js#L187

@wizardzloy thanks for the contribution. This has been released in<EMAIL_ADDRESS>


Add version: h3poteto.whalebird-desktop version 4.6.0

Pull request has been automatically created using 🛫 WinGet Releaser.
Microsoft Reviewers: Open in CodeFlow

@ItzLevvie Thank you, I've signed.


Open source documentation site

Open source the documentation site.
In this repo? (exampleSite docs?)
Elsewhere?

Before you implemented the theme and submodules installation I thought that it was interesting and helpful to add the source here, but now I think a separate repo would be more relevant.
And so with a repo we can add a link to the source, very useful to understand how the demo works :+1:

see docs branch.
maybe keep docs in separate branch? (to avoid cloning docs when just downloading production files)?

Kept in docs branch.


Don't null check a mutable property

Expected Behavior of the rule
non compliant:
class A(
    var foo: Asdf?
) {
  fun bar() {
    if (foo != null) {
      foo!!.toString()
      doThings(foo!!.value)
    }
  }
}

compliant:
class A(
    var foo: Asdf?
) {
  fun bar() {
    val foo = foo // or use let, or whatever you want
    if (foo != null) {
      foo.toString()
      doThings(foo.value)
    }
  }
}

Context
#3352 is the example that make me think about this rule. This is a pattern that I see often in the my project. Usually this errors happens when you translates code from Java to Kotlin.
Maybe we could check this kind of things too:
non compliant:
class A {
  fun getActivity(): Activity? = // whatever

  fun bar() {
    if (getActivity() != null) {
      getActivity()!!.doSomething()
    }
  }
}

compliant:
class A {
  fun getActivity(): Activity? = // whatever

  fun bar() {
    val activity = getActivity() // or ?.let or whatever you want
    if (activity != null) {
      .doSomething()
    }
  }
}

This pattern is kind of usual in Android because the framework give us this kind of APIs. But I don't think that this as an Android specific rule.

non compliant:
class A(
    var foo: Asdf?
) {
  fun bar() {
    if (foo != null) {
      foo!!.toString()
      doThings(foo!!.value)
    }
  }
}

I believe the root of this rule should be "don't null check a mutable property". The multiple !! (or whatever null checks) are needed as foo is a nullable mutable property, and therefore checking if it's not null won't suffice to smart cast it to a Asdf.

non compliant:
class A(
    var foo: Asdf?
) {
  fun bar() {
    if (foo != null) {
      foo!!.toString()
      doThings(foo!!.value)
    }
  }
}

I believe the root of this rule should be "don't null check a mutable property". The multiple !! (or whatever null checks) are needed as foo is a nullable mutable property, and therefore checking if it's not null won't suffice to smart cast it to a Asdf.

Hi, @BraisGabin I think this issue got fixed by the above PR. right?


Context action file storage

Captures actions and stores them to file for later replay

@mambisi closing this one too which I also guess is not relevant anymore (if not, please reopen)


chocolatey_installer should inherit http proxy settings from client.rb

Description
The chocolatey installer script uses a environmental variable specific to this installer (ChocolateyProxyLocation). This new resource however should have a check if there is a http proxy set in client.rb and then use that to set this env variable.
Relevant code: https://github.com/chef/chef/blob/main/lib/chef/resource/chocolatey_installer.rb#L123-L125
Chef Version
18.5.0
Platform Version
windows 2022
Replication Case
Set http proxy in client.rb and try chocolatey_installer resource without having direct internet. Observe it does not try to go to the proxy but instead tries direct internet access and fail.
Client Output
Added a specific config line to set the http proxy, so do not have this issue currently.
Stacktrace
N/A

This is actually 2 bugs, We are not correctly setting the ChocolateyProxyLocation at all. We're setting the DownloadURL. So we should be setting the correctly proxy AND setting the correct choco env variables


On the Chinese translation of the name of General channel

The English version of "General " is "综合" on the Chinese version, but the Chinese Docs help use "常规", which is wrong

文档详细信息
⚠ 请勿编辑此部分。 docs.microsoft.com ➟ GitHub 问题链接必须具有此部分。

ID: 6c9902e8-a0b7-b6af-4656-2024849a5e8b
Version Independent ID: 85beb9a7-2682-b52e-210b-20e598e3dab3
Content: 在 Microsoft Teams 中创建首批团队和频道
Content Source: Teams/get-started-with-teams-create-your-first-teams-and-channels.md
Service: msteams
GitHub Login: @LanaChin
Microsoft Alias: v-lanac

@officedocsbot assign @scanum

@Office Global.

@officeglobal Hi, could you please investigate this issue? Thanks.

@OfficeGlobal any updates on this issue?

@OfficeGlobal any updates on this issue?

Working on fix.

@OfficeGlobal Any updates on this? Thanks!

@scanum , @excelcaptain article has been HumanTranslated and published live. The issue is fixed

@excelcaptain Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.

@officedocsbot close

@officedocsbot close


[SPARK-20124][SQL] Join reorder should keep the same order of final project attributes

What changes were proposed in this pull request?
Join reorder algorithm should keep exactly the same order of output attributes in the top project.
For example, if user want to select a, b, c, after reordering, we should output a, b, c in the same order as specified by user, instead of b, a, c or other orders.
How was this patch tested?
A new test case is added in JoinReorderSuite.

cc @cloud-fan please review

Test build #75305 has started for PR 17453 at commit 058dd74.

Test build #75310 has started for PR 17453 at commit e2249c0.

Test build #75305 has finished for PR 17453 at commit 058dd74.

This patch fails from timeout after a configured wait of `250m`.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/75305/
Test FAILed.

Merged build finished. Test FAILed.

Test build #75310 has finished for PR 17453 at commit e2249c0.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/75310/
Test PASSed.

LGTM, merging to master!


⚠ Bofrost.de has degraded performance

In a0c8037, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1142 ms

Resolved: Bofrost.de performance has improved in c1d9d2d.


Bank Chest

Open an double chest inventory when clicking on a ender chest
Add multiple pages

How would Banks works in a decentralized environment ? like in real life we hold peoples money on a dev wallet ? :grimacing:

How would Banks works in a decentralized environment ? like in real life we hold peoples money on a dev wallet ?

actually a NFT can't be stored in the player's bank, the only way to transfert to another account would be via a transaction, and in case the characters are also a token, well the player can also simply send his character to a wallet containing the stuff

might be duplicate of #526

This issue is basically about implementing a vanilla inventory with some specificactions:

For now there will be only one bank chest limited to a vanilla double chest space #526
In the future there will be multiple fixed chests, so you can already store theses in the state as

soul: 100,
// use your own bank functions, this is just an example
bank: Array.from({
	length: 1,
	0: Array.from({ length: 54 }) // the first bank chest content
})

Handle vanilla in-chest gestures, stacks & movements (also be proactive and add those to the player inventory)
Use #110 as an example on how to store items data (PR will come soon)

closed in favor of #526


Update README for more precise Setup and Configuration

Added step-by-step setup instructions.

If you agree with these change please press the "commit suggestion" button per change.

If you agree with these change please press the "commit suggestion" button per change.

Thanks, didn't realize that was required...


AttributeError: 'NoneType' object has no attribute 'group'

CODE
from biobb_md.gromacs.pdb2gmx import Pdb2gmx
pdbCode = '7kkk'
fixed_pdb = '7kkk_fixed.pdb'
output_pdb2gmx_gro = pdbCode+'_pdb2gmx.gro'
output_pdb2gmx_top_zip = pdbCode+'_pdb2gmx_top.zip'
Pdb2gmx(input_pdb_path=fixed_pdb,
output_gro_path=output_pdb2gmx_gro,
output_top_zip_path=output_pdb2gmx_top_zip).launch()
ERROR
Traceback (most recent call last):
File "/home/zhangxin/ACS/github/BioUtil/BioExcel/const_topol.py", line 24, in
output_top_zip_path=output_pdb2gmx_top_zip).launch()
File "/home/zhangxin/anaconda3/envs/Biobb/lib/python3.7/site-packages/biobb_md/gromacs/pdb2gmx.py", line 45, in init
self.gmx_version = get_gromacs_version(self.gmx_path)
File "/home/zhangxin/anaconda3/envs/Biobb/lib/python3.7/site-packages/biobb_md/gromacs/common.py", line 29, in get_gromacs_version
version = version_str.group(1).strip().replace(".", "")
AttributeError: 'NoneType' object has no attribute 'group'

Can you update the version of the biobb_md that you are using? I think this problem was solved in the current version (v.3.5). New conda package here: https://anaconda.org/bioconda/biobb_md (v.3.5.1)
Also, it would help if you tell us how did you install the package. Are you using a conda installation?

Can you update the version of the biobb_md that you are using? I think this problem was solved in the current version (v.3.5). New conda package here: https://anaconda.org/bioconda/biobb_md (v.3.5.1)
Also, it would help if you tell us how did you install the package. Are you using a conda installation?

Hi,
I installed bio_md by:
conda install -c bioconda biobb_md
3.5.1 actually.
I checked the source code of common.py:
    unique_dir = fu.create_unique_dir()
    out_log, err_log = fu.get_logs(path=unique_dir, can_write_console=False)
    cmd = [gmx, "-version"]
    cmd_wrapper.CmdWrapper(cmd, out_log, err_log).launch()
    pattern = re.compile(r"GROMACS version:\s+(.+)")
    with open(os.path.join(unique_dir, 'log.out'), 'r') as log_file:
        for line in log_file:
            version_str = pattern.match(line.strip())
            if version_str:
                break
    print('debug:---------------', version_str)
    version = version_str.group(1).strip().replace(".", "")

and version_str=None,  so I modified code as follows at the last line:
# version = version_str.group(1).strip().replace(".", "")
version = '20204'

It works, but I get:
2021-02-04 09:27:47,303 [MainThread  ] [INFO ]  GROMACS Pdb2gmx 20204 version detected
2021-02-04 09:27:47,307 [MainThread  ] [INFO ]  gmx pdb2gmx -f 7kkk_fixed.pdb -o 7kkk_pdb2gmx.gro -p p2g.top -water spce -ff amber99sb-ildn -i p2g.itp

2021-02-04 09:27:47,308 [MainThread  ] [INFO ]  Exit code 127

2021-02-04 09:27:47,308 [MainThread  ] [INFO ]  /bin/bash: gmx: command not found

I can use the gmx command in the current anaconda environment in the terminal, so is there an environment variable that needs to be set?
ubuntu 20.04 LST
thanks

Thanks for the extended info. The first think I see is that the common.py that you are modifying is not the last version we have in the v.3.5.1. Take a look at the gitHub repo here https://github.com/bioexcel/biobb_md/blob/master/biobb_md/gromacs/common.py for the common.py and you will see that the lines you pasted have changed.
Now we need to find why.
It could be that you have different versions of biobb_md installed in your system. Could you please check that you are activating the corresponding conda environment where you installed the biobb_md v3.5 before running your script? Also, with the environment activated, could you please type conda list and paste the info here so that we can identify if the correct version of the biobb_md package is installed in this environment?
Sometimes depending on the packages already installed in a conda environment, if you don't fix the version like this conda install -c bioconda biobb_md==3.5.1, an older version is automatically installed to avoid incompatible dependencies. conda list will tell us the version that was installed.
If you want to test that, the easiest and quickest thing to do is to create a new, empty environment (preferably Python3.7), activate the new environment, and install the package with this command: conda install -c bioconda biobb_md==3.5.1
Hope it helps!

Your reply adressed the keypoint of this issue, as you said, the version of biobb_md is 0.1.2 when I run conda list
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                        main    defaults
biobb_common              3.5.1                      py_0    bioconda
biobb_md                  0.1.2                      py_0    bioconda
biopython                 1.78             py37h7b6447c_0    defaults

then I run conda install -c bioconda biobb_md==3.5.1  as your suggustion, but i got:
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: -
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versions

As you said, a new empty env, python=3.7. I don't kown why.
At last I sovled this problem by use pip install "biobb_md>=3.5.1", now the biobb_md version=3.5.1. Anyway, thanks for your help, If you are interested in why conda install -c bioconda biobb_md==3.5.1  didn't works, I can keeps this issue open.


Fix typo hander, code and doc style issues.

@RuiqiZhou Please review my submission.

@RuiqiZhou Done


Facebook wrong video downloaded

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.07.07. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2016.07.07

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
$ youtube-dl -v https://www.facebook.com/GoAnimalsOfficial/videos/1074872945893629
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'https://www.facebook.com/GoAnimalsOfficial/videos/1074872945893629']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.07.07
[debug] Python version 2.7.10 - Darwin-15.5.0-x86_64-i386-64bit
[debug] exe versions: none
[debug] Proxy map: {}
[facebook]<PHONE_NUMBER>893629: Downloading webpage
[debug] Invoking downloader on u'https://video-lax3-1.xx.fbcdn.net/v/t43.1792-2/13577625_1772886362930367_1065720990_n.mp4?efg=eyJ2ZW5jb2RlX3RhZyI6InN2ZV9oZCJ9&oh=d5e7d3afd62654769711f67fb879cd3f&oe=577FD207'
[download] Destination: Facebook video #1074872945893629-1074872945893629.mp4
[download] 100% of 2.01MiB in 00:05
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: https://www.facebook.com/GoAnimalsOfficial/videos/1074872945893629

Description of your issue, suggested solution and other information
When downloading some videos from Facebook, I get other videos, from the same page, but not the one I requested. I assume this is because the matching is not correctly?

Duplicate of #9851.


CZI slack channel name change

Issue and/or context:
Change README to reflect new CZ CELLxGENE Census slack channel name

Codecov Report
Patch and project coverage have no change.

Comparison is base (11d8b3f) 91.21% compared to head (fba8f18) 91.21%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1213   +/-   ##
=======================================
  Coverage   91.21%   91.21%
=======================================
  Files          30       30
  Lines        2357     2357
=======================================
  Hits         2150     2150
  Misses        207      207

Flag
Coverage Δ

python
91.21% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Implemented function to remove a project

closes #51

@quest-bot loot #51

I have read the CLA Document and I hereby sign the CLA


Hide some columns in the table and show them in the view columns

Expected Behavior
some columns are set to be unchecked from the view columns dropbox

Current Behavior

Code Snippet

`const emptabledisplay = props => {
const { columns } = props.data;
const { data } = props.data;
const options = {
filterType: "dropdown",
responsive: "scroll"
};
return (
<MUIDataTable
title={"Employee list"}
data={data}
columns={columns}
options={options}
/>
);
};
export default emptabledisplay;
`

Are you looking for these options?

yes I think so  but how can i use it properly into my code
columns data looks like this

up to like 100

Take a look at the customize-columns example. You will need to use a structure like that.

I saw your response to a similar issue here #511
I managed to do it like this.
`onst emptabledisplay = props => {
const { columns } = props.data;
const { data } = props.data;
const options = {
filterType: "dropdown",
responsive: "stacked",
rowsPerPage: 30
};
const headers = columns.map((value, key) => {
if (key <= 12) {
return {
name: value,
options: {
display: true
}
};
} else
return {
name: value,
options: {
display: false
}
};
});
return (
<MUIDataTable
title={"Employee list"}
data={data}
columns={headers}
options={options}
/>
);
};
export default emptabledisplay;
like this the first 10 columns will be checked and the rest are unchecked

@gabrielliwerant  is it possible to group the columns by a "theme" lets say
Cars

Basic info
Technical specification
Gadgets

And then have a "show/hide all" button next to different headers? Lets say I only want to see the columns about gadgets?

@forssellm The functionality to group related columns does not exist at the moment, but you can create your own column headers with customHeadRender in the column options, and you can add buttons and functionality there if you wish. It should be possible for you to add what you're talking about with that, albeit it might be a bit of effort.


How to search the extra field on a M:M table using related queries?

Say I have an Objection model class named Project with a relationMappings definition of:
  static relationMappings: RelationMappings = {
    members: {
      relation: Model.ManyToManyRelation,
      modelClass: `${__dirname}/Employee.model`,
      join: {
        from: 'projects.id',
        to: 'employees.id',
        through: {
          from: 'project_members.projectId',
          to: 'project_members.employeeId',
          extra: ['workScheduleType'],
        },
      },
    },
  };

How do I query the extra field? workScheduleType in this case. My attempt is the snippet below.
Project.query()
      // more where statements
      .joinRelated('members')
      .orWhere((builder) =>
        builder
          .orWhere('members.name', 'ILIKE', `%${args.search}%`)

          // The code below doesn't work
          .orWhere('members.workScheduleType', 'ILIKE', `%${args.search}%`),
      );

I get the error:

column members.workScheduleType does not exist

There's a recipe for inserting but how about fetching it w/ related query? What's the objection way to achieve this?

workScheduleType is not in the table members (which is an alias for projects) but in the table project_members. Actually I think you can simply leave out the table name:
Project.query()
      // more where statements
      .joinRelated('members')
      .orWhere((builder) =>
        builder
          .orWhere('members.name', 'ILIKE', `%${args.search}%`)

          // The code below doesn't work
          .orWhere('workScheduleType', 'ILIKE', `%${args.search}%`),
      );

workScheduleType is not in the table members (which is an alias for projects) but in the table project_members. Actually I think you can simply leave out the table name:
Project.query()
      // more where statements
      .joinRelated('members')
      .orWhere((builder) =>
        builder
          .orWhere('members.name', 'ILIKE', `%${args.search}%`)
          .orWhere('workScheduleType', 'ILIKE', `%${args.search}%`),
      );

That worked! I guess we can omit the aliases or table names if there's no ambiguity on the column names (e.g. both tables have a column that have the same name). Will keep that in mind. Thanks!


Create Project Proposal

Two-page document discussing the following items:

[x] The objectives of the project
[x] The features to implement
[x] Resources/Tools/Methodologies needed to implement the project.

Reviewed by professor, need to Edit to turn in

Did final touches and moving to done


Add new Bootstrap Icons homepage images

Preview: https://deploy-preview-31773--twbs-bootstrap.netlify.app/

Can we backport this to v4 as well?

Yup ;)


Expense- "you" is missing in next step message when submitting report in new workspace offline

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.58-4
Reproducible in staging?: Y
Reproducible in production?: N
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:

Go to staging.new.expensify.com
Create a new workspace on ND (Collect).
Go offline.
Request money from the workspace chat.
Click on expense preview.
Click Submit.

Expected Result:
Next step message will show "Waiting for you to approve these expenses.".
Actual Result:
Next step message shows "Waiting for to approve these expenses.". "You" is missing.
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
https://github.com/Expensify/App/assets/115492554/0c3aa4c8-4a03-4f9b-8454-acce085b6a1d

View all open jobs on GitHub

@bfitzexpensify I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors.

We think this issue might be related to the #collect project.

Production

I dont think this is a blocker, its caused by us switching to Collect instead of Free policies.
I will look into this as next steps were part of a project I have worked on

Proposal
Please re-state the problem that we are trying to solve in this issue.
Expense- "you" is missing in the next step message when submitting report in the new workspace offline
What is the root cause of that problem?
When a policy is created optimistically, the policy.submitsTo is undefined.
https://github.com/Expensify/App/blob/0bb4144593a0ff014bcb39d5c69740470cf459bf/src/libs/NextStepUtils.ts#L79-L81
Therefore, isSelfApproval is false, hence the managerDisplayName will be empty.
What changes do you think we should make in order to solve the problem?

Add policy.submitsTo too optimistic data when creating a workspace.
https://github.com/Expensify/App/blob/0bb4144593a0ff014bcb39d5c69740470cf459bf/src/libs/actions/Policy.ts#L2000
submitsTo : sessionAccountID

What alternative solutions did you explore? (Optional)
Change the condition for managerDisplayName to display 'you' if the policy.submitsTo does not exist.
https://github.com/Expensify/App/blob/0bb4144593a0ff014bcb39d5c69740470cf459bf/src/libs/NextStepUtils.ts#L81

I need to look into what is the expected default value for this

ah was noting for myself, there is bunch of other stuff worng here, I will create a PR for this

PR is up in a review

PR hit prod 2 weeks ago.
@rushatgabhane - sent an offer for the PR review via Upwork.

created a manual request here - https://staging.new.expensify.com/r/445620376024128

Great.
Payment summary:
@rushatgabhane to be paid $250 for PR review.


Better testing

[x] Add more test cases
[ ] Add a command in cmake for testing

Add more test cases
Fixed in 20ec2908e2a846bde5e1594c325012f9a80dfae8 .


Remove unused global variable gdt in vm.c

It seems that this variable is not used anywhere. Removing this variable makes the code more clear.

This is just a mirror, you should mail authors instead

All right. Just an unused variable seems not worth the trouble.


Add Color variation to choice options

Q
A

Bug fix?
no - yes?

New sample?
no - yes?

Related issues?
fixes #X, partially #Y, mentioned in #585

What's in this Pull Request?
Added option to specify color option.
Using the CSS class custom color can be assigned to choice options
Guidance
You can delete this section when you are submitting the pull request.

Please update this PR information accordingly. We'll use this as part of our release notes in monthly communications.
Please target your PR to 'master' branch.

Thanks for your contribution! Sharing is caring.

Thanks for the sample!
And sorry for the delay. I have merged them!
I also made a modification to add your sample as a new multi-choice-links-advanced.json when merging, as I thought it would be better to keep the original sample.
Once again, thank you for the great sample!

Thanks for the sample!
And sorry for the delay. I have merged them!
I also made a modification to add your sample as a new multi-choice-links-advanced.json when merging, as I thought it would be better to keep the original sample.
Once again, thank you for the great sample!

I am sorry. I forgot to write something.
When merging, I changed the separator from : to { and }. The reason for this is that sometimes the background and text colors could not be changed properly because the URL also had a :.
Also, if you are interested, please register for the following program. When you register, you will get a digital badge!
M365 Platform & Power Platform Community Recognition Program
※Even if you register, it will not be distributed immediately. It will take some time before it is distributed.

@TekExpo Thank you for the contribution! 🫶🏻🧡💜
We wanted to let you know that your contribution is eligible for a Credly badge from our Community Recognition program. You can learn more and register for the program at https://aka.ms/community/recognition
We hope you sign up, and please don't hesitate to let us know if you have any questions. 🤗

Thank you!!

@PopWarner : I have submitted the registration form.

Hey @TekExpo and @tecchan1107 ,
I'm really happy that my idea and solution made it into the sample gallery!
Good job!


Add test cases for image in RecyclerView

Adding tests based on ListView but using RecyclerView.
Tests are failing at image verification
Link to #228
 Expected: with drawable id<PHONE_NUMBER> or provided instance
 Got: "AppCompatImageView{id=2131230864, res-name=imgView, visibility=VISIBLE, width=1080, height=63, has-focus=false, has-focusable=false, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=false, is-selected=false, layout-params=android.widget.FrameLayout$LayoutParams@5602809, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0}"

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Lucas Nelaupe seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

See: #230


After update of onlyoffice nextcloud fails to open documents

Hi,
yesterday I updated the onlyoffice package on my debian machine and now when I try to open a document I getting an error:
"Failed to download document"
before there is a message the document could not be saved.

Is an error with the new version known?
All apps and other packages are up to date.

I realized that I opened an issue that might be a duplicate.
https://github.com/ONLYOFFICE/onlyoffice-owncloud/issues/169

@jonaschl, please specify if the issue still exists.
@pikaille, as far as we understood, the issue is resolved at the moment.

I get the same error as shown in the images above. The error in the out.log is
[2018-04-09 04:29:57.560] [ERROR] nodeJS - postData error: docId = 117_1523248193;url = http://nginx-server/index.php/apps/onlyoffice/track?doc=Rko4RGgxRkliSCtINk04a01Fc0RGc1NTMzJkVG14cDVyZkVmZzYwbWxXcz0/eyJmaWxlSWQiOjExNywib3duZXJJZCI6InJvb3QiLCJ0b2tlbiI6bnVsbCwiYWN0aW9uIjoidHJhY2sifQ%3D%3D;data = {"key":"117_1523248193","status":1,"users":["root"],"actions":[{"type":1,"userid":"root"}]}
Error: Error response: statusCode:301 ;body:

<title>301 Moved Permanently</title>

301 Moved Permanently

nginx/1.13.11

    at Request._callback (/var/www/onlyoffice/documentserver/server/Common/sources/utils.js:282:18)
    at Request.self.callback (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:186:22)
    at emitTwo (events.js:106:13)
    at Request.emit (events.js:191:7)
    at Request.<anonymous> (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:1163:10)
    at emitOne (events.js:96:13)
    at Request.emit (events.js:188:7)
    at IncomingMessage.<anonymous> (/var/www/onlyoffice/documentserver/server/Common/node_modules/request/request.js:1085:12)
    at IncomingMessage.g (events.js:292:16)
    at emitNone (events.js:91:20)

I'm using the https://github.com/ONLYOFFICE/docker-onlyoffice-owncloud repo, with slight edits to the docker-compose file, which is included below, and the nginx.conf, which I edited slightly following
https://www.linuxbabe.com/docker/onlyoffice-nextcloud-integration-docker. However, I use self-signed ssl certificates. Once I execute docker-compose up -d, I naviagate to /data/nextcloud/app_data/config/config.php and add the following line
'onlyoffice' =>
  array (
    'verify_peer_off' => true,
  )

Afterward, I log into the nextcloud instance through the https interface. Once, it has finished its initial initialization, I log out and execute sudo bash set_configuration.sh. At this point, I log back in and create a document through the drop down and the above image occurs.
version: '3'

services:
  app:
    restart: always
    container_name: app-server
    image: nextcloud:fpm
    stdin_open: true
    tty: true
    networks:
      backend:
        ipv4_address: <IP_ADDRESS>
    expose:
      - '80'
      - '9000'
    volumes:
      - /data/nextcloud/app_data:/var/www/html

  onlyoffice-document-server:
    restart: always
    container_name: onlyoffice-document-server
    image: onlyoffice/documentserver:latest
    stdin_open: true
    tty: true
    networks:
      backend:
        ipv4_address: <IP_ADDRESS>
    expose:
      - '80'
      - '443'
    volumes:
      - /data/nextcloud/document_data:/var/www/onlyoffice/Data
      - /data/nextcloud/document_log:/var/log/onlyoffice

  nginx:
    restart: always
    container_name: nginx-server
    image: nginx:latest
    stdin_open: true
    tty: true
    networks:
      frontend:
        ipv4_address: <IP_ADDRESS>
      backend:
        ipv4_address: <IP_ADDRESS>
    ports:
      - '80:80'
      - '443:443'
    volumes:
      - /data/nextcloud/config/nginx.conf:/etc/nginx/nginx.conf
      - /data/nextcloud/config/ssl:/etc/nginx/ssl
      - /data/nextcloud/app_data:/var/www/html

volumes:
  mysql_data:

networks:
  frontend:
    external: true
  backend:
    external: true

@CMobley7, we apologize for the delayed response. Please specify if the issue is still exists.


Cloth jittering if using self collision

Hi Rich, while I tried to merge your latest commit, I found new issue where jittering can occur if using self-collision. Here's a screenshot where it happens:

Do you know what happens here?

The jittering is probably because of the subsurface modifier. Try turning off subsurface, turn collider on and off then run again. I will also fix this issue in the code by having the self collisions ignore modifiers.

I see. After tried it without subsurface modifier, I still get the jitter, but not as much when using subsurface modifier. Any idea why this happens?

It might be the order I'm adding the velocity with the collision response. There is another bug I'm looking into where the cloth has to be in it's rest state when you turn on the collide property or it goes nuts.


Download of punkt not working (package vs string issue)

I am trying to download the punkt package:
python version: 2.7
nltk version: 1.0.1
command: python -m nltk.downloader punkt
stacktrace:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/local/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/home/local/go-agent/pipelines/RightNow-NarrativeScrub-PROD/environment/scrubber/.py/lib/python2.7/site-packages/nltk/downloader.py", line 2257, in <module>
    halt_on_error=options.halt_on_error)
  File "/home/local/go-agent/pipelines/RightNow-NarrativeScrub-PROD/environment/scrubber/.py/lib/python2.7/site-packages/nltk/downloader.py", line 665, in download
    for msg in self.incr_download(info_or_id, download_dir, force):
  File "/home/local/go-agent/pipelines/RightNow-NarrativeScrub-PROD/environment/scrubber/.py/lib/python2.7/site-packages/nltk/downloader.py", line 535, in incr_download
    try: info = self._info_or_id(info_or_id)
  File "/home/local/go-agent/pipelines/RightNow-NarrativeScrub-PROD/environment/scrubber/.py/lib/python2.7/site-packages/nltk/downloader.py", line 509, in _info_or_id
    return self.info(info_or_id)
  File "/home/local/go-agent/pipelines/RightNow-NarrativeScrub-PROD/environment/scrubber/.py/lib/python2.7/site-packages/nltk/downloader.py", line 873, in info
    self._update_index()
  File "/home/local/go-agent/pipelines/RightNow-NarrativeScrub-PROD/environment/scrubber/.py/lib/python2.7/site-packages/nltk/downloader.py", line 855, in _update_index
    packages[child.id] = child
AttributeError: 'str' object has no attribute 'id'

Please update your NLTK installation to the current version.

That did it.  Thanks, Steven.
BTW, I don't know if you remember me.  I worked for you at the LDC after I got out of college, back in 2001 or so.  I don't think any of the stuff I did for the nltk back then stuck around, but it was a good time.


Fixed PR for empty rows during submodular pick

While loading large datasets during sub-modular pick, empty row in the dataset was causing the entire code to crash. Fixed the code to handle the issue.

Below is the error message which appears without the above fix.
in __data_labels_distances
sample = self.random_state.randint(1, doc_size + 1, num_samples - 1)
File "mtrand.pyx", line 993, in mtrand.RandomState.randint
ValueError: low >= high

Is this a bug in lime_tabular or lime_text? I'm guessing lime_text? if that is the case, it's better to fix the problem where it is (i.e. return empty explanation when input is empty). Although in this case I'm not even sure if that is a bug, the input is malformed.

This bug is in lime_text. I got this error with certain subset of standard 20 newsgroup dataset which is not large dataset for deep learning. Also  even for clean datasets very often we end up having empty records due to various reasons which causes code to crash. The fix takes care of scenarios even when inputting slices.

Cool, so this is not the fix.
Thanks,


play/pause buttons shouldn't hide the last terminal line

Thank you @sickill! Amazing project!
I would love to see minor UX improvement -- control panel shouldn't be part of the screencast.
it is often needed to pause screen and look at what the author is typing or what message was returned in the last line of the screen, but in 99% cases, this line is hidden by a control panel with play/pause buttons and timeline.

Duplicate of #115?

Duplicate of #115?

yes


bugfix: fix url_for() call for login page

url_for() will automatically get the host_prefix, so we don't need to combine the strings manually
Indeed, adding app.config["host_prefix"] to the front of the string returned by url_for("login") will result in redirection to host_prefix/host_prefix/login

LGTM. Merging. FYI @kasnerz


Support for multi-database

User may enter a database name under the file stanza.
If present, this can be used by the Driver when creating a Session.
If no database is specified, it should default to whatever the DefaultDatabase is set to be on the Neo4j server.

Checked in

Checked in


[BUG] Cannot read properties of undefined (reading 'walletKeyTheme')

What happened?
By clicking on Contact page i get the following error : [BUG] Cannot read properties of undefined (reading 'walletKeyTheme')
Wallet is not synced yet
Version
2.0.0
What platform are you using?
Windows
What ui mode are you using?
GUI
Relevant log output or stacktrace
Cannot read properties of undefined (reading 'walletKeyTheme')

URL
#/dashboard/addressbook

Stacktrace
at webpack://@chia-network/gui/src/components/addressbook/MyContact.tsx:41:51 walletKeyTheme
at webpack://@chia-network/gui/src/components/addressbook/MyContact.tsx:39:17 forEach
at webpack://node_modules/react-dom/cjs/react-dom.production.min.js:262:358 fk
at webpack://node_modules/scheduler/cjs/scheduler.production.min.js:18:342 unstable_next
at webpack://node_modules/react-dom/cjs/react-dom.production.min.js:122:324 eg
at webpack://node_modules/react-dom/cjs/react-dom.production.min.js:261:307 ek
at webpack://node_modules/react-dom/cjs/react-dom.production.min.js:261:214 ek
at webpack://node_modules/scheduler/cjs/scheduler.production.min.js:16:223 V
at webpack://node_modules/scheduler/cjs/scheduler.production.min.js:12:345 k

This issue is covered in the release notes for 2.0.0: https://github.com/Chia-Network/chia-blockchain/releases/tag/2.0.0
See:

The GUI crashes when clicking on Contacts

Workaround: Log out of the wallet, and log back in

A fix has been merged and will be in the next release: https://github.com/Chia-Network/chia-blockchain-gui/pull/2024
Closing as a dupe of #2023


Sync upstream 190624

Syncing with upstream

@fedepaol  apart from the go vendor commit the others are from the upstream. Thanks

/approve
/lgtm


General Script Improvements

This is a very nice script! These are just some improvements to make it better.
General Comments
t would be better to capture the status code of a command or bash function with $?. This will let you early exit and provide an error message rather than attempting to go to the next step of the installation.
E.g. metis-sideload
displayArt
settingFont
checkingConnection
updateMirrors
diskPartition
baseCompleted
kernelCompleted
generatingFstab
copyingConfig
firstphaseCompleted

It might make sense to chain the each value of $? and check if it is equal to 0 before calling the next function.
Specific Comments
metis-sideload
It would be nice if we could edit the partition again after quitting the specified tool in case the user wants to makes further edits, otherwise the user has to start up metis-sideload again and run through the steps again.
post_install.sh
When adding the user in addingUser(), there should be input validation loops for the username and password. Currently the function will fail if given an incorrect username syntax or failing to input the password correctly 2 times. Once it fails, the script will go to the next step, sudoAccess().
final.sh
In the pointsToRemember() function:
pointToRemember() {
    sleep 2s
    clear
    echo "After Reboting into newly installed metis linux system, you must select xinitrc in login screen."
    echo "There's are options like Dwm, shell and xinitrc above the username field. Strictly select xinitrc, then enter your username and password and login."
    echo " "
    sleep 15s
}

Reboting, should be rebooting.

Thank you for the feedbacks!
But,

I think we don't need to capture the status code in

displayArt
settingFont
checkingConnection
updateMirrors
diskPartition
baseCompleted
kernelCompleted
generatingFstab
copyingConfig
firstphaseCompleted

cause all the tasks inside these functions are being checked and if something wrong goes inside it, it'll exit with status code 1.
Example: If you see checkingConnection;
checkingConnection() {
  sleep 2s
  clear
  echo "Checking internet connection..."
  ping -c 3 metislinux.org || networkError
  echo  "Cool! Internet connection available. Getting ready for installation..."
  sleep 3s
}

If ping exits with non zero status code; it'll run networkError function which is
networkError() {
  sleep 2s
  clear
  echo -e "Could not connect to the internet.\nCheck your internet connection and please try again.\nExiting...\nReport any bugs or errors to https://github.com/metis-os/reports/issues"
  sleep 2s
  exit 1
}

And It'll exit the script with certain error message.
If you think using the status code and giving error after each function make the script better we can do that as well. Other than that you do have good, valid improvment points.

It will take us some time to make changes cause we're working on the disc encryption (many people were demanding it) so, if you do have some time and want to contribute; why don't you open a PR?

Thank you for your response! What's the process for contributing? I only have been coding for work and personal projects and I haven't done any open source contributions before. I'm assuming I have to fork the repo instead of cloning and creating a branch?
I also saw your post about leaving github for codeberg. Will the metis repos be migrated on that platform. If so, I can create an account on codeberg for contributions :smile: