Trying to schedule an Instance to Stop at 1AM and Start at 6AM.

Hi,
I am trying to implement Instance Scheduler to stop an Instance at 1 am and Start is back at 6 am. As far as I know the end time must be always greater than the start time in a period. So it didn't work when I directly specified those times in a period.
Then to accomplish this, I have created 2 periods, 1 period with endtime as 1 am and other period with begintime as 6 am. this didn't work either.
Can you help me with this task ?

Hi,
yes, you need two periods in the schedule to do this type of scheduling
First create a period that is active from midnight until 1am
$ scheduler-cli create-period --stack InstanceScheduler --name period-midnight-1am --begintime 00:00 --endtime 01:00
{
"Period": {
"Endtime": "01:00",
"Type": "period",
"Name": "period-midnight-1am",
"Begintime": "00:00"
}
}
Then a second one that is active from 6am until midnight (note we use 23:59 as begin must be < than end). The scheduler (make sure you have the latest version installed) will detect that the two periods are adjacent and will not stop the instance at 23:59 as there is the next period that starts one minute later at 00:00)
$ scheduler-cli create-period --stack InstanceScheduler --name period-6am-midnight --begintime 06:00 --endtime 23:59
{
"Period": {
"Endtime": "23:59",
"Type": "period",
"Name": "period-6am-midnight",
"Begintime": "06:00"
}
}
Now create the schedule that contains there periods and also specifies the timezone
$scheduler-cli create-schedule --stack InstanceScheduler --name schedule-stop-between-1am-6am --periods period-midnight-1am,period-6am-midnight --timezone Europe/London
{
"Schedule": {
"RetainRunning": false,
"Enforced": false,
"Name": "schedule-stop-between-1am-6am",
"StopNewInstances": true,
"Periods": [
"period-6am-midnight",
"period-midnight-1am"
],
"Timezone": "Europe/London",
"Type": "schedule"
}
}
Now tag (Using the tag-name "Schedule" assuming you used the default name") the Instance with the name of the schedule "schedule-stop-between-1am-6am"
A great way to check if the schedule is scheduling as you expect is to use the following command that shows which periods are active in a specific date range (default if you don't specify a start/end date is today). As you see the scheduler logic detects the adjacent periods in the schedule.
$ scheduler-cli describe-schedule-usage --stack InstanceScheduler --name schedule-stop-between-1am-6am
{
"Usage": {
"2018-08-17": {
"BillingHours": 19,
"RunningPeriods": {
"Period-6am-midnight": {
"Begin": "08/17/18 06:00:00",
"End": "08/18/18 00:00:00",
"BillingHours": 18,
"BillingSeconds": 64800
},
"Period-midnight-1am": {
"Begin": "08/17/18 00:00:00",
"End": "08/17/18 01:00:00",
"BillingHours": 1,
"BillingSeconds": 3600
}
},
"BillingSeconds": 68400
}
},
"Schedule": "schedule-stop-between-1am-6am"
}
Hope this answers your question
Arie

Hi arieleeuw,
Thank you so much for your response and I apologize for the late response. I some how was able to figure out the same solution base on your other answers in this space and didn't get a chance to get back here to thank you.
This solution worked for me perfectly. Thank you so much again for you time and response.

Closing due to time elapsed since last correspondence. Please re-open this if you are still having an issue.


Write wrap_contents.sh

Pre-Lab 1, Task 1
https://github.com/umm-csci-3412-fall-2022/log-processing-pre-lab-caidongting0823#write-wrap_contentssh

This Issue has been finished and will be closed. : )


Open source widget_toolkit_biometrics

closes #20

Codecov Report

Merging #28 (9ad095d) into develop (c2d944c) will not change coverage.
The diff coverage is n/a.

: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
@@           Coverage Diff            @@
##           develop      #28   +/-   ##
========================================
  Coverage    60.55%   60.55%
========================================
  Files           79       79
  Lines         3220     3220
========================================
  Hits          1950     1950
  Misses        1270     1270

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Clarify project envisioned purpose in README

The project seems to be multi-purpose tool:

scaffold an item (consuming content)
scaffold a project (consuming content)
install/add new item/project (consuming content)
develop and install new item/new project (enhancing content)
and it could be better documented in project header and rest of documentation. By consuming I mean using tool by end-user, just like in VS studio to create new project/new item from templates. While enhancing means adding new value to content, just like when adding new template for Item/Project to Side Waffle.
Thanks!

Thanks that's a very good suggestion. I will take some time to think about that and figure out how to word it.


Complete Docker setup

Just an idea from looking at the current Docker setup: Would it make sense to add a postgres DB and potentially even java/metanome to the Docker setup? Ideally, users of this project would not need to install anything on their local machine. Or does anything speak against this (apart from the effort to get this to work, of course :wink:)?

Sorry, I totally missed that the Java environment. In that case my question is just about the database: Why not eliminate the need for a local postgres installation with configuration etc. by running postgres in a dedicated Docker container? I understand that in production you might not want to run postgres in Docker in favor of a dedicated cluster, but in development it is very convenient to not have to worry about installation, configuration etc.
Or is the database in this case always something external, i.e. the object that is being manipulated, so it doesn’t make sense to add a postgres container?

Hello, it is as you suspected. The database should be able to be variable. For example, to persist our edited schema, we generate a sql file and it could be executed on the database. When executed, a new schema is created on the database. It should also be possible to change the database, because maybe someone wants to change a schema that is in another database, which I think is not possible if Postgres is included in the cointainer.


Prevent ranking access (#55)

removed getusername and added custom header to image upload

removed custom header

adding another header

removed headers

removed all headers

Edited New user parental email state
if new user > 13 the parental email is omitted and left replaced with a message to assist BE

Added push to login page

Added error handling to sign up:
instead of app crashing send user to Register / home page

working on image submit
comditional rendering

Submit Button Update:

submit button does not appear until an image has been uploaded by user

Updated sign-up page so it doesn't break outside of its container causing whitespace above and below the hero image

Check Image Type:
if the user does not submit a png or jpeg then have them resubmit

added sass

checking image file type

remove push history

sign up page corrected

Image Submission requirements:
image must be of type: png or jpeg

When there is no prompt:
users can not choose a file preventing back end breaking

Rank the Stories page updated:
new button allows users to check top three if they do not want to tune into live stream

Nav bar leader board name update:
Leader board changed to Top 3 Stories

moved view top three stories to correct page

added help modal:
instructions for users that may need insight on what to do when a prompt is available

Adding some styling to the modal

Prevent ranking access:
winners.length must be exactly 3 in order to follow chevron button to hit /ranking

winners <3 login

Ranking Access Updated:
users can only access the rank your favorites page when the winners length is exactly 3

Co-authored-by: Alex Sierra<EMAIL_ADDRESS>Co-authored-by: Jonathan<EMAIL_ADDRESS>Co-authored-by: Jonathan<EMAIL_ADDRESS>

WAIT i forgot the mobile nav bar ahhh


Add file download tracking to production site

All tracking looked good on our end, so would like to get this into production so it's ready whenever site goes live.

Thanks, Adam. I think I'll sit on this, for now. Our launch plan is to launch everything we have on development (by merging it in to production) - after which we'll have some greater differentiation between those two branches. But, for now, anything that's on development this week is getting prepped for launch.


Unable to use alias contain Point (.)

Summary
Since the latest cli major release sfdx-cli/7.1.4 , i been having errors when using -u parameter with alias that contain Point (.)
Steps To Reproduce:

Authenticate to a sandbox org with CLI and set alias for the connection (ex. mySandbox.Alias)  sfdx force:auth:web:login -a mySandbox.Alias
try to login with CLI  sfdx force:org:open  -u mySandbox.Alias

Expected result
login into mySandbox.Alias org
Actual result
ERROR running force:org:open:  No AuthInfo found for name mySandbox.Alias

Additional information
Feel free to attach a screenshot.
SFDX CLI Version :
sfdx-cli/7.1.4-79f97a7df8 darwin-x64 node-v10.15.3
SFDX plugin Version
@oclif/plugin-commands 1.2.2 (core)
@oclif/plugin-help 2.1.6 (core)
@oclif/plugin-not-found 1.2.2 (core)
@oclif/plugin-plugins 1.7.8 (core)
@oclif/plugin-update 1.3.9 (core)
@oclif/plugin-warn-if-update-available 1.7.0 (core)
@oclif/plugin-which 1.0.3 (core)
@salesforce/sfdx-trust 3.0.2 (core)
analytics 1.1.2 (core)
generator 1.1.0 (core)
salesforcedx 45.8.2 (core)
├─ force-language-services 45.9.0 (core)
└─ salesforce-alm 45.11.0 (core)

sfdx-cli 7.1.4 (core)

OS and version:
MacOS Majava 10.14.4

@idanblich Can you please update your CLI version, this issue should go away.

I update my cli  : sfdx-cli/7.5.0-e6ca93eee8 darwin-x64 node-v10.15.3
still getting error : ERROR running force:org:open:  No AuthInfo found for name xx.yy

@clairebianchi @idanblich - We fixed the ability to set an alias that contains a dot, but there is still a bug with certain commands when consuming these aliases.

@clairebianchi Please reopen this


Add PyLSP support, introduce hooks system

Hey, I've tried adding PyLSP support to the plugin - here's my attempt 🙈
Summary of changes:

made copy of LSP client settings before calling lspconfig.client.setup function so previously set configuration will not be overwritten
switched from calling venv.set_pythonpath to a kind-of hook system
added PyLSP hook that sets correct directory as jedi completion source
added minor utility functions
added some LuaLS typehints

hope this fits into the plugin philosophy 😄
Let me know if you have any questions or see any concerns with the PR :)
edit: also if everything looks ok I'll try adding support for null-ls linters and formatters and possibly more type annotations if it would help maintenance ;)

That's just awesome, I will have a look this weekend. :) There is another PR also that will add better Poetry support and caching of file listing's per working directory, so looks like the plugin will get a lot of new stuff this weekend. :)

I guess we can merge this one then if you feel ready? There is another PR in the pipeline also, and I was thinking it would be good if we get this one in first, and then merge the other one tomorrow. Hopefully without too many conflicts... :)

I've exposed the hooks to the user since they can be configured via setup function and updated README, feel free to merge if you don't have any other concerns :)

Thank you, sounds very good :) I will merge tomorrow, the evening ran away a bit here... But tomorrow will be good, I have time to merge this and see how we get the other PR integrated as well. Have a good evening!

Thank you very much for this PR, feels great to have your code in main now. :)


Small edits

Also,iIn the table, what does ’NA’ mean, ’not available’?

NA = we have no data for this variable.


Use Votable Supply for Quorum until post-snapshot

https://agora-next-cyber-git-jeff-tactically-make-pre-5f74b2-voteagora.vercel.app/


Support user defined function in c#

It would be nice to be able to add a user defined function that is specified in c# code.

This is already supported :-) see this doc
I've written a very quick guide.
If you'd like to add anything you are very welcome  :-)

My apologies. Should have checked better. Thank you!

Agreed - it shouldn't be necessary to have to touch the core engine code to add a new function- the longer term intention is to separate this in a way that allows run-time registration.  I'd also like to reduce the amount of required boilerplate code - InvokeScalar is usually just a degenerate case of InvokeColumnar and a base class could be provided to implement this as a default.

Can't we just initially make "CustomFunctions.functions" public instead of internal so we can access it from outside the BabyCusto.Core project?


more token metadata wrappers

it would be cool if there were these following functions in token metadata wrapper

[x] verify_collection

This instruction verifies the collection of a Metadata account for unsized parent NFTs, by setting the Verified boolean to True on the Collection field.

[x] set_and_verify_collection

This instruction updates the Collection field of a Metadata account for sized collections using the provided Collection Mint account as long as its Collection Authority signs the transaction and the parent NFT has the collection details field populated (sized)

[x] verify_sized_collection_item

This instruction verifies the collection of a Metadata account, by setting the Verified boolean to True on the Collection field, and increments the size field of the parent NFT.

[x] verify_and_verify_sized_collection_item

This instruction updates the Collection field of a Metadata account for sized collections using the provided Collection Mint account as long as its Collection Authority signs the transaction and the parent NFT has the collection details field populated (sized).

merged


Hooks with mutiple entries per request

There should be definitely some change in either documentation or in way how hooks works in case of multiple entries per request (eg. create([entry, entry, ...])).
Built-in hooks works just fine, when you call hooks.remove('id'), it runs for every entry. However, when you want use hook => { delete hook.data.id; }, you accomplish nothing. Because hook.data contains array of entries.
This leaves possible security breach in a lot of applications that sanitizes hook data by hand (=not-built-in hooks).
From my point of view, there are two possible solutions:

Change documentation of hooks in way that users are aware of this problem
Change behavior of hooks so hook will run for every entry, as if they would run separately and place complete data for example to hook.multipleData

Second solution is IMO better, because it will increase security of most apps with no cost. It will break some older apps, but it will be quick fix since everything you have to do is change your hook code from hook.data to hook.multipleData (in case that your app needs to work with entire collection).

In current state of things you have to change code from
todoService.before({
  all(hook) {
    if(!hook.params.user) {
      throw new Error('You need to be logged in');
    }
  },

  create(hook, next) {
    hook.data.createdAt = new Date();
  }
});

to
todoService.before({
  all(hook) {
    if(!hook.params.user) {
      throw new Error('You need to be logged in');
    }
  },

  create(hook, next) {
    if(Array.isArray(hook.data)){
      hook.data.map( entry => {
         entry.createdAt = new Date();
      });
    }else{
      hook.data.createdAt = new Date();
    }
  }
});

As you can see, this is not convenient not very straightforward.

It is indeed more cumbersome but I'm not following why it isn't straightforward. In a hook you get the data you submit, that's it. I'm not sure if adding, testing and documenting some additional magic here would make things that much clearer.
One way to make your own hooks easier to implement would be to add a generic create hook before all others that always calls create with the individual entry so that you always get the expected behaviour:
app.service('myservice').before({
  create(hook) {
    if(Array.isArray(hook.data)) {
      return Promise.all(hook.data.map(entry => this.create(entry, hook.params)))
        .then(results => {
          hook.result = results;
          return hook;
        });
    }
  }
});

I guess this is not that straightforward because there is no mention about that in hooks chapter in docs. I guess that most people are not aware that hook.data could be array instead of single entry and that they should check that in every hook.
That way you could mess with sanitization in every average app. Even simple case with adding createdAt field from docs is screwed when someone sends array.
This might be simple (sent data = hook.data) but a bit impractical to use, because all hooks in every app need to check  if user (which could send pretty much anything) does not sent an array.
This is not really that simple when you think of that.

You can use feathers-hooks-common/utils has getItems and replaceItems. getItems returns the data (for a before hook) or the result (for an after hook) as an array regardless of where the items are in the hook. You can manipulate the items and then use replaceItems.

I'm closing this as answers have been provided and there's been no response for 5 months.
Please reopen if you think it should be open.


Unable to enable PSRemoting on Win 7 and Win 10

I have a Win 7 desktop . As instructed, I upgraded the PowerShell to 5.1 and ran the commands:
Set-ExecutionPolicy Unrestricted
Enable-PSRemoting -SkipNetworkProfileCheck -Force
However, when I run:
PS C:\Users\Administrator> Enter-PSSession -ComputerName localhost
I get the following output:-
Enter-PSSession : Connecting to remote server localhost failed with the following error message : Access is denied. For more
information, see the about_Remote_Troubleshooting Help topic.
At line:1 char:1

Enter-PSSession -ComputerName localhost

  + CategoryInfo          : InvalidArgument: (localhost:String) [Enter-PSSession], PSRemotingTransportException
  + FullyQualifiedErrorId : CreateRemoteRunspaceFailed

This was done after pausing Kaspersky protection and snoozing my Zonealarm Firewall
In the same machine I also have a Win 10 installed using VMWare Workstation 14 Player. When I run the same commands through Powershell 5.1 on it, I get the following response:
PS C:\Windows\system32> PS C:\Windows\system32> Enter-PSSession -ComputerName localhost
Enter-PSSession : Connecting to remote server localhost failed with the following error message : WinRM cannot process
the request. The following error with errorcode 0x8009030e occurred while using Negotiate authentication: A specified
logon session does not exist. It may already have been terminated.
Possible causes are:
-The user name or password specified are invalid.
-Kerberos is used when no authentication method and no user name are specified.
-Kerberos accepts domain user names, but not local user names.
-The Service Principal Name (SPN) for the remote computer name and port does not exist.
-The client and remote computers are in different domains and there is no trust between the two domains.
After checking for the above issues, try the following:
-Check the Event Viewer for events related to authentication.
-Change the authentication method; add the destination computer to the WinRM TrustedHosts configuration setting or
use HTTPS transport.
Note that computers in the TrustedHosts list might not be authenticated.
-For more information about WinRM configuration, run the following command: winrm help config. For more
information, see the about_Remote_Troubleshooting Help topic.
At line:1 char:1

Enter-PSSession -ComputerName localhost

  + CategoryInfo          : InvalidArgument: (localhost:String) [Enter-PSSession], PSRemotingTransportException
  + FullyQualifiedErrorId : CreateRemoteRunspaceFailed

Can your execute "winrm qc" in powershell as Administrator & Share your response

From: rameshm78<EMAIL_ADDRESS>Sent: 12 July 2018 17:11
To: QT-DevOps/DevOpsIssues
Cc: Subscribed
Subject: [QT-DevOps/DevOpsIssues] Unable to enable PSRemoting on Win 7 and Win 10 (#55)
I have a Win 7 desktop . As instructed, I upgraded the PowerShell to 5.1 and ran the commands:
Set-ExecutionPolicy Unrestricted
Enable-PSRemoting -SkipNetworkProfileCheck -Force
However, when I run:
PS C:\Users\Administrator> Enter-PSSession -ComputerName localhost
I get the following output:-
Enter-PSSession : Connecting to remote server localhost failed with the following error message : Access is denied. For more
information, see the about_Remote_Troubleshooting Help topic.
At line:1 char:1

Enter-PSSession -ComputerName localhost

CategoryInfo          : InvalidArgument: (localhost:String) [Enter-PSSession], PSRemotingTransportException
FullyQualifiedErrorId : CreateRemoteRunspaceFailed

This was done after pausing Kaspersky protection and snoozing my Zonealarm Firewall
In the same machine I also have a Win 10 installed using VMWare Workstation 14 Player. When I run the same commands through Powershell 5.1 on it, I get the following response:
PS C:\Windows\system32> PS C:\Windows\system32> Enter-PSSession -ComputerName localhost
Enter-PSSession : Connecting to remote server localhost failed with the following error message : WinRM cannot process
the request. The following error with errorcode 0x8009030e occurred while using Negotiate authentication: A specified
logon session does not exist. It may already have been terminated.
Possible causes are:
-The user name or password specified are invalid.
-Kerberos is used when no authentication method and no user name are specified.
-Kerberos accepts domain user names, but not local user names.
-The Service Principal Name (SPN) for the remote computer name and port does not exist.
-The client and remote computers are in different domains and there is no trust between the two domains.
After checking for the above issues, try the following:
-Check the Event Viewer for events related to authentication.
-Change the authentication method; add the destination computer to the WinRM TrustedHosts configuration setting or
use HTTPS transport.
Note that computers in the TrustedHosts list might not be authenticated.
-For more information about WinRM configuration, run the following command: winrm help config. For more
information, see the about_Remote_Troubleshooting Help topic.
At line:1 char:1

Enter-PSSession -ComputerName localhost

CategoryInfo          : InvalidArgument: (localhost:String) [Enter-PSSession], PSRemotingTransportException
FullyQualifiedErrorId : CreateRemoteRunspaceFailed

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/QT-DevOps/DevOpsIssues/issues/55, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ACU0rSEmCvB0McGJBit8G97T-N__IE5Yks5uFzXagaJpZM4VMsTG.

And one more basic check. Are you running your powershell as Admininstrator ?

From: khaja ibrahim<EMAIL_ADDRESS>Sent: 12 July 2018 17:29
To: QT-DevOps/DevOpsIssues; QT-DevOps/DevOpsIssues
Cc: Subscribed
Subject: Re: [QT-DevOps/DevOpsIssues] Unable to enable PSRemoting on Win 7 and Win 10 (#55)
Can your execute "winrm qc" in powershell as Administrator & Share your response

From: rameshm78<EMAIL_ADDRESS>Sent: 12 July 2018 17:11
To: QT-DevOps/DevOpsIssues
Cc: Subscribed
Subject: [QT-DevOps/DevOpsIssues] Unable to enable PSRemoting on Win 7 and Win 10 (#55)
I have a Win 7 desktop . As instructed, I upgraded the PowerShell to 5.1 and ran the commands:
Set-ExecutionPolicy Unrestricted
Enable-PSRemoting -SkipNetworkProfileCheck -Force
However, when I run:
PS C:\Users\Administrator> Enter-PSSession -ComputerName localhost
I get the following output:-
Enter-PSSession : Connecting to remote server localhost failed with the following error message : Access is denied. For more
information, see the about_Remote_Troubleshooting Help topic.
At line:1 char:1

Enter-PSSession -ComputerName localhost

CategoryInfo          : InvalidArgument: (localhost:String) [Enter-PSSession], PSRemotingTransportException
FullyQualifiedErrorId : CreateRemoteRunspaceFailed

This was done after pausing Kaspersky protection and snoozing my Zonealarm Firewall
In the same machine I also have a Win 10 installed using VMWare Workstation 14 Player. When I run the same commands through Powershell 5.1 on it, I get the following response:
PS C:\Windows\system32> PS C:\Windows\system32> Enter-PSSession -ComputerName localhost
Enter-PSSession : Connecting to remote server localhost failed with the following error message : WinRM cannot process
the request. The following error with errorcode 0x8009030e occurred while using Negotiate authentication: A specified
logon session does not exist. It may already have been terminated.
Possible causes are:
-The user name or password specified are invalid.
-Kerberos is used when no authentication method and no user name are specified.
-Kerberos accepts domain user names, but not local user names.
-The Service Principal Name (SPN) for the remote computer name and port does not exist.
-The client and remote computers are in different domains and there is no trust between the two domains.
After checking for the above issues, try the following:
-Check the Event Viewer for events related to authentication.
-Change the authentication method; add the destination computer to the WinRM TrustedHosts configuration setting or
use HTTPS transport.
Note that computers in the TrustedHosts list might not be authenticated.
-For more information about WinRM configuration, run the following command: winrm help config. For more
information, see the about_Remote_Troubleshooting Help topic.
At line:1 char:1

Enter-PSSession -ComputerName localhost

CategoryInfo          : InvalidArgument: (localhost:String) [Enter-PSSession], PSRemotingTransportException
FullyQualifiedErrorId : CreateRemoteRunspaceFailed

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/QT-DevOps/DevOpsIssues/issues/55, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ACU0rSEmCvB0McGJBit8G97T-N__IE5Yks5uFzXagaJpZM4VMsTG.

Yes, I'm always running PowerShell as administrator.
PS C:\Users\Administrator> winrm qc
WinRM service is already running on this machine.
WinRM is already set up for remote management on this computer.

I found the issue.
Issue is that this command [ Enter-PSSession -ComputerName localhost ] no
longer works in this form with latest Win 10 installation.
It has to include the username:
PS C:\Windows\system32> Enter-PSSession -ComputerName localhost -Credential
<EMAIL_ADDRESS>A GUI for Windows Powershell credential request pops up asking for
Username: and Password.
Username is already present. When Correct password is entered and Ok is
clicked, the prompt changes to:
[localhost]: PS C:\Users\rames\Documents>
Regards
Ramesh
On Thu, Jul 12, 2018 at 5:45 PM, shaikkhajaibrahim<EMAIL_ADDRESS>
wrote:

And one more basic check. Are you running your powershell as
Admininstrator ?

From: khaja ibrahim<EMAIL_ADDRESS>Sent: 12 July 2018 17:29
To: QT-DevOps/DevOpsIssues; QT-DevOps/DevOpsIssues
Cc: Subscribed
Subject: Re: [QT-DevOps/DevOpsIssues] Unable to enable PSRemoting on Win 7
and Win 10 (#55)
Can your execute "winrm qc" in powershell as Administrator & Share your
response

From: rameshm78<EMAIL_ADDRESS>Sent: 12 July 2018 17:11
To: QT-DevOps/DevOpsIssues
Cc: Subscribed
Subject: [QT-DevOps/DevOpsIssues] Unable to enable PSRemoting on Win 7 and
Win 10 (#55)
I have a Win 7 desktop . As instructed, I upgraded the PowerShell to 5.1
and ran the commands:
Set-ExecutionPolicy Unrestricted
Enable-PSRemoting -SkipNetworkProfileCheck -Force
However, when I run:
PS C:\Users\Administrator> Enter-PSSession -ComputerName localhost
I get the following output:-
Enter-PSSession : Connecting to remote server localhost failed with the
following error message : Access is denied. For more
information, see the about_Remote_Troubleshooting Help topic.
At line:1 char:1

Enter-PSSession -ComputerName localhost

CategoryInfo : InvalidArgument: (localhost:String) [Enter-PSSession],
PSRemotingTransportException
FullyQualifiedErrorId : CreateRemoteRunspaceFailed

This was done after pausing Kaspersky protection and snoozing my Zonealarm
Firewall
In the same machine I also have a Win 10 installed using VMWare
Workstation 14 Player. When I run the same commands through Powershell 5.1
on it, I get the following response:
PS C:\Windows\system32> PS C:\Windows\system32> Enter-PSSession
-ComputerName localhost
Enter-PSSession : Connecting to remote server localhost failed with the
following error message : WinRM cannot process
the request. The following error with errorcode 0x8009030e occurred while
using Negotiate authentication: A specified
logon session does not exist. It may already have been terminated.
Possible causes are:
-The user name or password specified are invalid.
-Kerberos is used when no authentication method and no user name are
specified.
-Kerberos accepts domain user names, but not local user names.
-The Service Principal Name (SPN) for the remote computer name and port
does not exist.
-The client and remote computers are in different domains and there is no
trust between the two domains.
After checking for the above issues, try the following:
-Check the Event Viewer for events related to authentication.
-Change the authentication method; add the destination computer to the
WinRM TrustedHosts configuration setting or
use HTTPS transport.
Note that computers in the TrustedHosts list might not be authenticated.
-For more information about WinRM configuration, run the following
command: winrm help config. For more
information, see the about_Remote_Troubleshooting Help topic.
At line:1 char:1

Enter-PSSession -ComputerName localhost

CategoryInfo : InvalidArgument: (localhost:String) [Enter-PSSession],
PSRemotingTransportException
FullyQualifiedErrorId : CreateRemoteRunspaceFailed

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<https://github.com/QT-
DevOps/DevOpsIssues/issues/55>, or mute the thread<https://github.com/
notifications/unsubscribe-auth/ACU0rSEmCvB0McGJBit8G97T-
N__IE5Yks5uFzXagaJpZM4VMsTG>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/QT-DevOps/DevOpsIssues/issues/55#issuecomment-404491905,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Amk3nB670rkDnDhhQ-Ar6Gd4KT47JSfNks5uFz3TgaJpZM4VMsTG
.

Great.


Add shortcut for previous and next tab

What's the Problem?
I like the shortcut ctrl+tab for switching tabs but is a problem when i have like more than 10 or 10 tabs open and i could't find something similar in the shortcut website
https://files.community/docs/configuring/keyboard-shortcuts
Some browser have  shortcuts like ctrl+repag and ctrl+avpag for this
Solution/Idea
Adding shortcut
ctrl (or shift or alt)+repag for previous tab
ctrl (or shift or alt)+avpag for next tab
Alternatives
another key combination for previous tab and next
Priorities
No response
Files Version
<IP_ADDRESS> OS Version: 10.0.22000.258
Windows Version
Windows 11 21H2 22000.258
Additional comment
No response

Hi @cristiancsz , there is another shortcut for going to the previous tab (ctrl + shift + tab). Is that what you were requesting?

Yes! that works as a shortcut for the previous tab, thank you


Genus search

Test Plan:

go to http://localhost:3000/samples/6 and click around
type and select things in the genus search box

Yeah. The autocomplete also interfaces with the thresholding a little bit but we can have susan/cyril figure out the HTML element for us soon.


Update install and configuration instructions

@huard
Changes
I've released a new RavenPy conda package that lists OSTRICH as a run_constrained (optional) dependency, i.e. if the dependency is installed, ensure that a specific version of that dependency is installed alongside it.
This means now that ravenpy installed via $ conda install must now explicitly install ostrich as well. This is now reflected in the docs via this PR.
I also removed the steps suggesting cloning the testing data. This has been obsolete for a few months, since #223.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 84.321%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
3743

Relevant Lines:
4439

💛  - Coveralls

@Mayetea Veux-tu valider de ton côté que les instructions sont claires?

Les modifs semblent clairs, mais je vais essayer le tout dans un nouvel environnement, demain matin!

Les binairies semblent bien s'installer. Je n'ai plus d'erreurs comme quoi les binairie_path sont introuvable. J'ai d'autres erreurs, mais ça semble pas être relié à l'installaion.


Error when executing datanode commands

Receive the below error when executing the datanode decentralised history commands.
Looks like the config files are in a separate directory rather than in the node's home directory.
Muthus-MBP:networkdata muthupandianvadivelu$ ./vega datanode dehistory show --home /Users/muthupandianvadivelu/muthu/vega/repos/networkdata/testnet/vega/node2
failed to read config:couldn't read file: couldn't read file: open /Users/muthupandianvadivelu/muthu/vega/repos/networkdata/testnet/vega/node2/config/data-node//config.toml: no such file or directory

The config files for the data node should be available in the below directory:
/Users/muthupandianvadivelu/muthu/vega/repos/networkdata/testnet/vega/node2/config/data-node
Currently they are in this folder:
/Users/muthupandianvadivelu/muthu/vega/repos/networkdata/testnet/data/node2/config/data-node

@ettec - please can you review this issue before we schedule?

I think is dead @MuthuVega you agree?

@MuthuVega confirms dead


XML files won't show up in the FileSystem

Godot version
v4.0.2.stable.official [7a0977ce2]
System information
Windows 10
Issue description
Drag'n'droping .xml files into a project, copies that file into the project as expected, but it doesn't show up in the FileSystem, I can only see that the file exists if I use my OS explorer. I expect to see the file in the FileSystem just like any .txt file
https://user-images.githubusercontent.com/59066133/229884648-bc64a18c-c290-48af-a661-ddcea9ad8c46.mp4
Steps to reproduce
Drag and drop any .xml file into the project, it just won't show up
Minimal reproduction project
TestXML.zip

You need to add xml at docks/filesystem/textfile_extensions in Editor Settings.

Ohhh I didn't know that was a thing. One might wonder if xml should be added by default, but I guess this is not an issue then

I would love that, as well. XMLs are quite often used to store data, so seeing them by default would be great.


ACM-12797 - LaunchLogs uses default path for installer pod logs

Regarding: ACM-12899
https://github.com/user-attachments/assets/ed099cca-aaee-4221-bb4a-de02d57d0c3d

/lgtm

/cherry-pick release-2.10

/cherry-pick release-2.11


Build new IceT on surface.

I'm going to be merging my IceT changes soon and the surface host profile will need to point to a new IceT. I changed it to point to my build for the time being.
-----------------------REDMINE MIGRATION-----------------------
This ticket was migrated from Redmine. As such, not all
information was able to be captured in the transition. Below is
a complete record of the original redmine ticket.
Ticket number: 3015
Status: Pending
Project: VisIt
Tracker: Feature
Priority: Normal
Subject: Build new IceT on surface.
Assigned to: Eric Brugger
Category: -
Target version: -
Author: Brad Whitlock
Start: 02/14/2018
Due date:
% Done: 0%
Estimated time:
Created: 02/14/2018 06:40 pm
Updated: 02/20/2018 07:02 pm
Likelihood:
Severity:
Found in version: 2.12.3
Impact: 3 - Medium
Expected Use: 3 - Occasional
OS: All
Support Group: Any
Description:
I'm going to be merging my IceT changes soon and the surface host profile will need to point to a new IceT. I changed it to point to my build for the time being.
Comments:
I'd do it but I can't access the visit workspace directory. Check with Brad to make sure that he has checked in everything.

@aowen87 I assume this is completed.

@brugger1 I believe this was from @BradWhitlock

@BradWhitlock Do you have the new IceT version we should be using?


IotaAPI#getBalanceAndFormat bad method

KeyIndex abuse
Let's say we provide two addresses as input:
One has an index of 5, the other as 10.

Our getBalanceAndFormat query would look like:
getBalanceAndFormat(addresses, threshold, 5, 0, new StopWatch(), 2)
Due to the implementation for getBalanceAndFormat the returned inputs will have as keyindices 5 and 6.

The end parameter is unused (and not necessary)

solution
Instead of having a List addresses as a param, use a Map<String, Integer> indexByAddress or something, or a custom object.

@toonsevrin
getBalanceAndFormat return a list of Input objects. The unnecessary param is already removed.
[jota.model.Input@6f195bc3[
  address=TBH9CSFWUHACJSWGA9XDDMNPJ9USPRLJ9FCHDEYDYGOWPQTQUWXMUBCUKTFJRESNBHGJOISFJOLXTLZOB
  balance=14
  keyIndex=6
  security=2
], jota.model.Input@631330c[
  address=TJCVXRWR9QMDWTSNLTAERSIPULNOQMZXW9ZVSRTHOKNHOGSAYMYMTIPYQAJZJGQBQWOOCITAUJIDBIGFW
  balance=1231
  keyIndex=27
  security=2
], jota.model.Input@42f93a98[
  address=DFVYBPSBMDAJBJMWHOWJBIWBJDHSZWWRYRAUWLLYPFZPBHIRGIWAM9QHOPYEYRJDMSVDWZJFPUEJPNFZA
  balance=112
  keyIndex=29
  security=2
], jota.model.Input@c46bcd4[
  address=UPGFQDXOHSDEZFHTPUXQIRQOCTGQYZTDTLAEISKTLKOMXGFNYRFQZNGUXXMZZLKKBWGJOCRKFGZLQNAJX
  balance=5008601
  keyIndex=32
  security=2
]]


Segmentation violation in several CLI commands

Describe the bug
Running kraft fetch, kraft prepare, kraft menu or kraft clean inside the app-helloworld repo yields the following segfault:
$ kraft fetch
[ W ] could not initialize package manager: could not determine handler [format]=oci
[ W ] could not read target config file: could not open file: open /home/acotten/git/unikraft/app-helloworld/.config.helloworld_linuxu-x86_64: no such file or directory
[ W ] could not read target config file: could not open file: open /home/acotten/git/unikraft/app-helloworld/.config.helloworld_kvm-x86_64: no such file or directory
[ W ] could not read target config file: could not open file: open /home/acotten/git/unikraft/app-helloworld/.config.helloworld_xen-x86_64: no such file or directory
[ W ] could not read target config file: could not open file: open /home/acotten/git/unikraft/app-helloworld/.config.helloworld_linuxu-arm64: no such file or directory
[ W ] could not read target config file: could not open file: open /home/acotten/git/unikraft/app-helloworld/.config.helloworld_kvm-arm64: no such file or directory
[ W ] could not read target config file: could not open file: open /home/acotten/git/unikraft/app-helloworld/.config.helloworld_linuxu-arm: no such file or directory
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0xfb8536]

goroutine 1 [running]:
kraftkit.sh/unikraft/app.application.MakeArgs({{0xc00033b1f0, 0xa}, {0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0xc0000460c4, 0x29}, ...}, ...)
        /home/acotten/git/unikraft/kraftkit/unikraft/app/application.go:301 +0x796
kraftkit.sh/unikraft/app.application.Make({{0xc00033b1f0, 0xa}, {0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0xc0000460c4, 0x29}, ...}, ...)
        /home/acotten/git/unikraft/kraftkit/unikraft/app/application.go:317 +0x20a
kraftkit.sh/unikraft/app.application.Fetch({{0xc00033b1f0, 0xa}, {0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0xc0000460c4, 0x29}, ...}, ...)
        /home/acotten/git/unikraft/kraftkit/unikraft/app/application.go:434 +0x1a5
kraftkit.sh/cmd/kraft/fetch.(*Fetch).Run(0x0?, 0x0?, {0x2732a80?, 0x0?, 0x0?})
        /home/acotten/git/unikraft/kraftkit/cmd/kraft/fetch/fetch.go:67 +0xda
kraftkit.sh/cmdfactory.bind.func1(0xc000004f00?, {0x2732a80, 0x0, 0x0})
        /home/acotten/git/unikraft/kraftkit/cmdfactory/builder.go:431 +0x19d
github.com/spf13/cobra.(*Command).execute(0xc000004f00, {0x2732a80, 0x0, 0x0})
        /home/acotten/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:916 +0x862
github.com/spf13/cobra.(*Command).ExecuteC(0xc000004600)
        /home/acotten/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:1044 +0x3bd
github.com/spf13/cobra.(*Command).Execute(...)
        /home/acotten/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:968
github.com/spf13/cobra.(*Command).ExecuteContext(...)
        /home/acotten/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:961
kraftkit.sh/cmdfactory.Main({0x1d09688?, 0xc000542150}, 0xc000004600)
        /home/acotten/git/unikraft/kraftkit/cmdfactory/builder.go:103 +0x73
main.main()
        /home/acotten/git/unikraft/kraftkit/cmd/kraft/kraft.go:142 +0x3a5

Steps to reproduce
No response
Expected behavior
No response
Which architectures were you using or does this bug affect?
No response
Which operating system were you using or does this bug affect?
No response
Relevant log output
No response

The issue is here:
https://github.com/unikraft/kraftkit/blob/16f905f9e3831421b26d19a6cdeabf8393e06112/unikraft/app/application.go#L301
When I execute any of the commands listed above, func (application) MakeArgs receives tc with the value kraftkit.sh/unikraft/target.Target nil as argument.

The culprit: c640b12bf700129d5fd8a18ca172434750deebb3


Added MAX_IMAGE_DIMENSION environment variable for limiting max image size

This is a form of protecting the original resolution images, by inserting
an environment variable that limits the maximum width or height to this dimension
If the environment variable is not set, no upper limit will be imposed.
modifiers.js unit test altered to allow injection of environment variables.

This PR looks great thanks, will merge once you remove the console.log.
Thanks for the contribution.

Ah sorry i missed that. Will do that now.

@jimmynicol done.

v0.10.0 has your changes, thanks for the effort I appreciate it.

@jimmynicol thanks for merging!


refactor: Splitting FCMService.kt file into multiple files; some cleanup too

Hello everybody! 🤩,
This PR comes in preparation of some additional features we'd like to the Library from our codebase.
It is basically only moving things around to be able to work better with the code.
Description
We split FCMService.kt into some smaller service files and
Motivation and Context
We want to be able to merge some new fixes from our Repo back to the mainline.
Mostly this is related to VoIP Calls / allowing for Pushes to show a call dialog in the future on Android.
How Has This Been Tested?

Automated tests completed
Manually tested by our QA engineers

Types of changes

[ ] Refactoring - Moving code around without any changes to the functionality

Checklist:

[X] My code follows the code style of this project.
[X] ~My change requires a change to the documentation.~
[X] ~I have updated the documentation accordingly.~
[X] I have read the CONTRIBUTING document.
[X] ~I have added tests to cover my changes.~
[X] All ~new and~ existing tests passed.

Also, all these changes have been made by the amazing @pppetrv !!! Me I'm just here right now creating the PR with the team.
Thank you @pppetrv !


19.1 known limitations

Fixes #4539.

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/d28d1398a74e6fad92021fb4e52aefa797434987/
Edited pages:

v19.1/common-errors.md
v19.1/known-limitations.md
v19.1/recommended-production-settings.md
v2.1/common-errors.md
v2.1/known-limitations.md
v2.1/recommended-production-settings.md

@Amruta-Ranade, please give this a docs review.

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/8faca7fa6d039a0b07b0f858f767872449fe6bad/
Edited pages:

v19.1/common-errors.md
v19.1/known-limitations.md
v19.1/recommended-production-settings.md
v2.1/common-errors.md
v2.1/known-limitations.md
v2.1/recommended-production-settings.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/4474ef84bb79513850fa7408143c4d91772bda87/
Edited pages:

v19.1/common-errors.md
v19.1/known-limitations.md
v19.1/recommended-production-settings.md
v2.1/common-errors.md
v2.1/known-limitations.md
v2.1/recommended-production-settings.md

TFTRs.


How do i make this work?

I just downloaded the 0.2.1 version and double-clicked on the download file "nexus_autodl.exe" a CMD page opened after 2-3 seconds it closed and nothing happened after that.

I've tried:
running it as an administrator
moving the .exe file to the same location as the Wabbajack.exe
redownloading nexus_autodl
downloading and running nexus_autodl 0.2.0
downloading all of the assets and moving the nexus_autodl.exe to its extracted location

Make a templates directory in the path specified in the error message


Enabled top_level_code.swift and fixed issue with prologue.swift

top_level_code.swift was disabled because of rdar://73761019 and cloned into rdar://78319083, this bug has been fixed with commit ID 1813652b0398345c4b4407d5fd5ffb749830fdd4 https://github.com/apple/llvm-project/commit/1813652b0398345c4b4407d5fd5ffb749830fdd4
prologue.swift is checking for a prologue_end on a line 0 .loc which is what this commit was fixed, so it had to be updated to reflect the changes to llvm, where no line 0 .locs will ever have a prologue_end

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - 548598c8d51a8dffc6c4a49d607fec1221cbae08

Looks like @etcwilde was quicker — can you resolve the merge conflict in this patch and try to test it again?


Fix User limit of inotify watches reached on Travis CI

Merged in https://github.com/gradle/gradle/commit/6ee070fd2d97b97045a4d48b935ccfbf8d863918


Dynamic menu tabs

I'm wondering whether SUI react would be able to achieve a UI setup along this lines: (http://designrope.com/wp-content/uploads/2014/03/dashboard-ui-4.png)
That is, there is a double menu - the one on the left is a dynamic tab type menu where an item is added if after a certain event in the application (e.g. a user adds something), and then a main menu ,that organises and renders the information associated with each tab. Menu tab is also removable so if an event takes place which gets rid of the information associated with the specific tab, the menu tab disappears.
I know this is a specific question, but having examined the SUI documentation thoroughly I can only find reference to dynamic tabs (and I'm unsure whether they would fulfil the requirements for what is shown and described above).
If this is possible in SUI react, how exactly would I go about it?

Hi there, I'd suggest posting this over at http://forums.semantic-ui.com/.  The forums are a good place to chat about Semantic UI.  The GitHub issue queue here is dedicated to bugs and features for Semantic-UI-React specifically.  Cheers!


Patch vulnerabilities

Patch vulnerabilities found by Snyk

@Sayyare
This is ready for testing 👩🔬 A package which was not in use has been removed so things should work as before. Focus your testing on live collaboration functionality. Adding-, editing- and removing cards while two people are working in the same process and make sure people can see the changes without needing to refreshing the process. You don't need to send feedback in Flyt as part of testing this issue.
-----------------------------
| Platform     | Web        |
| Version      | 0.2.22     |
| Commit       | 7dc2a2d    |
| Environment  | Test       |
-----------------------------

Tested in test environment and verified with developer, working as expected. 🐱👤
@dansvend

Thanks for testing @Sayyare 🙏


Same tables, many databases

We have kind of a strange setup at my company, so I'm not sure if you'll be able to support this use-case, but if you could, that be fantastic! I was contemplating building a very similar tool before I came across these slides.
We have a requirement that each of our clients has their own database (several actually), but every database has mostly the same tables. There's a few differences due to bugs (Skeema could help here!) and because they have some feature differences.
Because there's such a large overlap between these databases, we wouldn't want to have to diff and update every copy of the table individually.
Would it be possible for Skeema to have some concept of sharing a table definition across many databases?
I'm not sure how you would represent this in SQL. For my tool, I was going to rebuild the schema definition in JSON so I'd have some flexibility to tack on extra features like this and also to ease automation if we need to do any mass updates.

Currently Skeema only supports this cleanly if the desired end-state is having the exact same set of tables on multiple databases, i.e. traditional sharding schemes. In that case, there are a few ways to map a single dir against multiple database shards.
But if you intentionally want to have some feature differences among the shards, that's a bit trickier! Perhaps you could just solve this using symlinks with relative paths? i.e. a setup like this:

myinstance/

shardA/

some_common_table1.sql (real file)
some_common_table2.sql (real file)
some_unique_table.sql (real file)

shardB/

some_common_table1.sql --> symlink to ../shardA/some_common_table1.sql
some_common_table2.sql --> symlink to ../shardA/some_common_table2.sql
some_other_unique_table.sql (real file)

Setting up the symlinks would require some manual tedium, but it's a one-time cost. And then after that, you can just change the canonical copy of a table file and then run skeema diff, skeema push, etc from the top-level dir (myinstance in the example above) to easily manage DDL across multiple databases.
Skeema operations should generally work properly with the symlinks. The only issue I'm aware of is that skeema pull can be a bit weird when run against a dir containing symlinks. (It still works properly, it's just that it ends up updating whichever canonical file the symlink points to, which may be undesirable. But it's a conceptual issue / not really clear how else this could or should work.)
In terms of version control, git and many other SCM tools do allow symlinks, although sometimes there are some annoyances involved.

you won't be able to tell which 'shards' are sharing a definition by looking at some_common_table1.sql. You would have to find every symlink that points to it

True, although this is fairly easy to script, for example using find -L . -samefile shardA/some_common_table1.sql ... granted, not very elegant or fast, especially if the schema repo is very large.

and it won't show up in your diffing tools.

Not sure I follow that part -- I'd expect symlinks to work pretty gracefully in terms of diffing.


Introducing a new way to structure content and sections.

This pull request aims to use a new way to handle projects files with the ability of jekyll's collections.
The projects are no longer kept into _include folder but they are transfer into a dedicated one named _projects.
I've used Jekyll collections to obtain the ability to create a new type of data, in this case a project data.
The assets file are in the same place.
There are also a change in the ability to select the order of displaying the sections of the site.
This introduce a new way to handle the section for future users and also if we want to customize more the template we can create new blocks to add more personal style to our site.
Last minor change is about the thumb images in the work sections that now are actually content of the page, inside a <img> tag and no longer inside a style tag.

@rkpasia looks like a pretty cool PR! Thank you. @travisneilson Can I merge this? Jekyll collections are considered unstable... :disappointed:


Update docker images to be inline with paas-cf

What
Upgrade images to be inline with paas-cf.
I had issues with the new images and docker-image. The images would fail to download with the error 'version is missing from previous step'. I've switched to the new and improved 'registry-image' resource to resolve this issue.
How to review
Tested in dev-05.
Who can review
Any team member.

🚨⚠ Please do not merge this pull request via the GitHub UI ⚠🚨

I think everything works with the above fix, but it recuses me from reviewing this now ;)


PDO Profiling

Hi,
First of all great tool you wrote and thanks.
I've recently updated prophiler on my existing codebase from 1.1 to 2.0 and tried to apply PDO profiling.
Since i heavily use prepared statements in my project i noticed the PDO profiling breaking pretty fast since it was relying on PHP::PDO and not on Phalcon\Db\Adapter\Pdo (ie: tableExists is implicitly called).
Is there a reason PHP::PDO is required instead of Phalcon's extension?
I've modified the code locally (which i can fork and PR) to work with prepared statements.
Here's an excerpt from my code which causes the following exception:

PHP Warning:  call_user_func_array() expects parameter 1 to be a valid callback, class 'PDO' does not have a method 'tableexists' in ~\libraries\fabfuel\prophiler\src\Fabfuel\Prophiler\Decorator\PDO\PDO.php on line 45
# services.php
...
$di['db'] = function () use ($di) {
    $mode = require __DIR__.'/mode.php';
    $dbFilePath = __DIR__."/database-{$mode}.php";

    if (is_file($dbFilePath)) {
        $dbconfig = require_once $dbFilePath;
		// Slightly altered to get PDO statement with existing config
        $db = new DbAdapter($dbconfig->database->toArray());
        $dbhandler = $db->getInternalHandler();

		return new \Fabfuel\Prophiler\Decorator\PDO\PDO(
            // new DbAdapter($dbconfig->database->toArray()),
            $dbhandler, // object(PDO)
            $di->get('profiler')
        );
    } else {
        throw new Exception("Unable to find database configuration.");
    }
};
...

# router.php
...
			// Split URI into parts for quering the database
            preg_match('~/*([\w\d-_]+)~iu', $router->getRewriteUri(), $matches);

            if (!empty($matches[1])) {
                @list($uri, $uriIndex) = explode('-', $matches[1]);

                // Lookup route in the databse
                $route = self::findFirst([
                    'conditions' => 'uri = ?1 AND uri_index = ?2',
                    'bind' => [1 => $uri, 2 => (int) (!empty($uriIndex)) ? $uriIndex : 0],
                ]);

                if ($route) {
                    // Match! Add route to router
                    $router->add(
                        $router->getRewriteUri(),
                        [
                            'module' => $route->module,
                            'controller' => $route->controller,
                            'action' => $route->action,
                            'params' => unserialize($route->params)
                        ]
                    );
                }
            }
...

After modifying src\Fabfurl\Profiler\Decorator\PDO\PDO.php with the following changes
public function __construct(\Phalcon\Db\Adapter\Pdo $pdo, ProfilerInterface $profiler)

public function setPdo(\Phalcon\Db\Adapter\Pdo $pdo)

i kept receiving the following exception:

PDOException: SQLSTATE[HY093]: Invalid parameter number: no parameters were bound

Applying the change below in the same file fixed it for me
    public function query($statement, $bindParams = null, $bindTypes = null)
    {
        $metadata = ['statement' => $statement, 'bind parameters', $bindParams, 'bind types' => $bindTypes];
        $benchmark = $this->getProfiler()->start('PDO::query', [], 'Database');
        $result = $this->getPdo()->query($statement, $bindParams, $bindTypes);
        if ($result instanceof \PDOStatement) {
            $metadata['rows'] = $result->rowCount();
            $metadata['columns'] = $result->columnCount();
        }
        $this->getProfiler()->stop($benchmark, $metadata);
        return $result;
    }
...

How profile queries? I have this issue too.
Need wiki for it

Hi!
Sorry for the late answer.
Prophiler itself is a framework independent implementation.
It was initially built for Phalcon, but it also works with any other or no framework.
Due to that, the PDO decorator has to decorate \PDO\PDO.
In addition you could create a second adapter for \Phalcon\Db\Adapter\Pdo.
A pull request would be highly appreciated.
Best
Fabian


Expose (Re)open With Encoding as API

Hi,
In our company we are currently using Eclipse as official IDE.
We are in the process to also try other IDEs, and vscode is a desiderable one we would like to promote as official IDE.
Anyway, we are currently facing a problem trying to keep a strict consistency with the file encoding defined with the Eclipse's settings (this is our source of truth deciding what encoding applying to a document).
We thought that developing a vscode extension reading the Eclipse settings could suffice for this need, but we stumbled into a possible limitation vscode side.
We gave a look to the vscode APIs and we realized that it seems not to be available an API to select the encoding for the document being edited.
an approach (workaround like)  could be to use this fragment when saving a document using an arbitrary encoding:
import * as vscode from 'vscode';

// Function to save a document with a specified encoding
async function saveWithEncoding(document: vscode.TextDocument, encoding: string): Promise<boolean> {
    try {
        await document.save({ encoding });
        return true;
    } catch (error) {
        console.error('Error saving document:', error);
        return false;
    }
}

// Example usage
const activeEditor = vscode.window.activeTextEditor;
if (activeEditor) {
    const document = activeEditor.document;
    saveWithEncoding(document, 'utf16le'); // Example encoding
}

But this is not sufficient, we would need an API acting as the built-in function: Reopen With Encoding.
Any advice on how to achieve this with the current API set would be great; if such API does not currently exist, we could be interested into helping creating new one.
This is the issue opened explaining the need we would like to implement in the extension.

/duplicate https://github.com/microsoft/vscode/issues/824

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


Update session.go Fixed Error During Login

Fixed Error: error during login: error decoding login resp: json: cannot unmarshal array into Go value of type map[string]interface {}

As the protobuf version was updated recently, there now is a merge conflict with the current master. I would assume, that the new version from @tulir is correct, so I'll leave that one in.

Looks like WhatsApp incremented the version number by 1 after I made my PR, but the protobuf schema wasn't changed, so it probably doesn't make any difference.


FlashLoader: load_parquet not working after using save_parquet

Some of the code is in the else condition that should occur after the if-else statement
https://github.com/OpenCOMPES/sed/blob/78622caf0138b05ecd57a301f3f74f04cafc84f7/sed/loader/flash/loader.py#L820-L829
easy fix. Should be fixed in current version and also the refactoring branch is merged. Fix should be merged before the refactoring

actually, save_parquet should save 2 parquet files and read parquet reads both. This is being done in refactored version already.

addressed in #329

Fixed this in #385 and merged to main. Still needs work in refactor branch before merge


Aframe Text Pane

Added text pane component that displays a list of text and allows users to go back and forth between text using navigation buttons.
Link to loom video: https://www.loom.com/share/72126733a9cc4b5e967227e55930dc86
Password: text-pane
Screenshot of text pane:

Thanks for the loom video :) Good to merge!


Feature/release 0.1.5

Description
I've made all the changes listed in https://github.com/spatialos/gdk-for-unity/wiki/Release-Process and am now opening a PR to pull this branch into develop as per that process.
Tests
Testing on Windows and macOS complete. Testing on iOS and Android is still in flight.
Furthermore, this cannot be merged until @paulbalaji merges his fix for UTY-1797 into this branch.
Documentation
Noted the release in the changelog.
Primary reviewers
@paulbalaji

@paulbalaji's fix is now in, mobile testing in progress.

mobile testing signed off


Tutorial

Hi Valeria,
Thank you for this great code that allow to clean and preprocess the samples. I analyzed whole brain samples using cellfinder. I can't find tutorial here, when I try to open the link is not working.  Where I can find some detailed protocol about importing data (cellfinder in my case, but any other would be also ok). My samples have a fluorescent ring around the edges that I would like to clean.
Besf,
Pedja

Hi Pedja,
thank you for pointing out that the link does not work! Here the link with the tutorial:
https://valeriabonapersona.github.io/abc4d/articles/01_cleandata.html
If you import from cellfinder, you first need to multiply by 25µm (see https://github.com/valeriabonapersona/abc4d/issues/1). I haven't gotten around fixing these things yet.
Let me know if something is unclear!

Hi Valeria,
I was using cellfinder and 10µm ABA and when I divided my  values and I getting this, which looks OK
.
When I try to progress with code in part with mask artefacts I am getting an error msg:

masks for artefacts - available within the package.
mask <- data("mask")
halo_correction <- mask[["halo"]]
Error in mask[["halo"]] : subscript out of bounds
ventricle_correction <- mask[["ventricle"]]
Error in mask[["ventricle"]] : subscript out of bounds.

And when I try to procced further error msg "Error in rbind(out_mask, vent_mask) : object 'halo_correction' not found" poops out. Any idea what could be the problem?

Hi Pedja,
thank you for pointing out this error. Currently I do not have access to my laptop, so I cannot fix it yet in the package. However, here how to go around it:

go to this link where all the resource data is available: https://osf.io/8wmj2/
download in your folder my_folder <- "~mypath/" the two files "halo_mask.csv" and "vent_mask.csv".
at this point you should have a folder on your computer called my_folder, with two files called halo_mask.csv and vent_mask.csv
go to R and type the following:

edge <- read.csv("my_folder/halo_mask.csv") # uploads edges
ventricles <- read.csv("my_folder/vent_mask.csv") # uploads ventricles
mask <- list(edge = edge, ventricles = ventricles) # merges edges and ventricles for next abc4d steps
rm(edge, ventricles) # clean up
Hope it helps and thank you a lot for pointing out bugs!

Hi Valeria,
Thank you for a quick response! This seems to resolve an issue, but now when I run the code with this changes I am getting this
Error in auto_copy():
! x and y must share the same src.
i set copy = TRUE (may be slow).
Backtrace:

abc4d::clean_counts(...)
dplyr:::anti_join.data.frame(., rbind(out_mask, vent_mask))
dplyr::auto_copy(x, y, copy = copy)
Run rlang::last_trace() to see the full context


Add setOriginSignature to the transaction builder

Problem to solve
Hardware devices need to sign the transaction with one of the origin shared private key.
Right now, the origin signature function accepts a private key but for non-disclosure of the key, we have to let the device sign it and return back the digest.
Solution
We should add a new function in the transaction builder to add the origin signature appended to the transaction.

Hey team! Please add your planning poker estimate with ZenHub @apoorv-2204 @blackode @Neylix @samuel-uniris

Task

[ ] yellow paper
[ ] libjs documentation
[ ] archethic docs
[ ] write code
[ ]


SAK-47970 - Demo components not loading in modi

I tested this locally and it loads up the demo components. Looks like just a typo when creating this definition.
Who would call it components-demo over demo-components anyway?

The only xml files I saw were named components-demo.xml. I agree it could be moved out and be made more configurable but this is pretty legacy and standard and if we changed it much it would break the old loader. (Not sure how long that was intended to stay around for until modi was default)
I just had time now to get it working again since it looked straight-forward.


Development Pull request

In this part of the project I implemented the following:

Home page

When the page loads, the webapp shows the list of categories that could be filtered out by some parameter, for example by the category name.
Along with the category name, It is displayed some numeric values per category that come from the API.
When the user clicks (or taps) on a category item, the application navigates to the details page.

Details page

In the details page, the webapp retrieves data from the API to show detailed data in the category.
When the user clicks on the "Back" button (<), the user navigates to the home page.

Testing

Created unit tests for pure functions in your Redux code.
Created integration tests for your application using the React Testing Library.
Mocked the access to the API, so that your tests don't send actual requests.
Mocked the connection to the Redux Store.

Here is my short video explaining about the project: Presentation

Thank you for approving my project. 😊


Add Benchmark crate to workspace

add benches crates as benchmark scaffolding.
add sudt transfer case.
add db init case.

DB init                 time:   [101.37 ms 102.64 ms 103.85 ms]
sudt                    time:   [727.06 us 728.31 us 729.98 us]

Please update to throughput display mode. We want to know the TPS of the off-chain generator.


Add unit tests. Improve code. Fix #7.

Hi.
I fixed a few bugs and wrote tests for the class. There shouldn’t be (severe) backwards compatibility breaks.
Best, Marc
Edit: If anybody wants more info, please just reply.

Thanks Marc! This is super cool.
I haven't used PHPUnit before, but I'll give it a spin and then merge.


update examples with latest reason syntax

I fixed the compilation errors in the examples.
I didn't know how to fix this deprecation warning though:

https://github.com/jsiebern/bs-material-ui/blob/4487146ba751fc2ce11919bfb11a2973b3904a4a/examples/ExamplePopover.re#L51
Any ideas @jsiebern?

@naartjie Yes, just change the line to:

I tried that, but then I get this error:

And I think Dom.element needs to change here:
https://github.com/jsiebern/bs-material-ui/blob/4487146ba751fc2ce11919bfb11a2973b3904a4a/examples/ExamplePopover.re#L10-L13
But if I change it to Js.t({..}) it doesn't like it either.


Default config should intercept only cluster traffic, and not intercept egress traffic

If kube-apiserver can expose an API so we can programmatically obtain
--service-cluster-ip-range (ServiceClusterIPRange) and --cluster-cidr  (ClusterCIDR), we can have the automatic injection call that API and inject the correct includeIPRanges.
At a minimum, Istio should document clearly what users need to do to disable interception of egress traffic.

Disabling interception of egress traffic is documented at https://istio.io/docs/tasks/traffic-management/egress.html#calling-external-services-directly. It includes specific instructions to find the ServiceClusterIPRange and ClusterCIDR for IBM, GKE, and ACS.
If we can assume ServiceClusterIPRange and ClusterCIDR are fairly static, we can patch them into the injection template ConfigMap when Istio is installed.

would help/fix #1422
see also now #3876

The kube APIs are not available.
Related to #6146


Add pyUSD and GLO dollar to GIVbacks token list

Following up on this suggestion from @GriffGreen
https://forum.giveth.io/t/givbacks-token-list/253/41
Private Zenhub Image
We should add these two to our token list and find a way to set the prices.
We should after that add them to our GIVbacks eligible list - which can be done simply from the admin dashboard/
GLO - https://www.coingecko.com/en/coins/glo-dollar
(this doesn't meet our usual liquidity requirements, Griff says we can fix the price to $1 always)
pyUSD - https://www.coingecko.com/en/coins/paypal-usd

I set "is stable coin: true" for DrGIV3 on goerli on stg and the result was expected

I need GLO and pyUSD  for test on prod, if possible plz send to this my account @divine-comedian
0xcd192b61a8Dd586A97592555c1f5709e032F2505

@divine-comedian @maryjaf wanted to let you know of https://github.com/Giveth/impact-graph/issues/1168 - would be cool if this can be updated soon :-)


When to use React popper and when to use @floating-ui/react and why?

@floating-ui/react-dom is a replacement for react-popper (provides positioning)
@floating-ui/react is a superset of that, in that it also provides interaction primitives

Thanks mate, nice and understandable explanation


feat(client): set alias default value as None when creating dataset

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 83.025%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
5258

Relevant Lines:
6333

💛  - Coveralls


WIP: A better self API

See #964 for API
ToDo

[x] Implement API
[ ] Write specifications
[ ] Update wiki

The API implementation is finished. All we need now is some specs and wiki change.

Specs added, wiki updated.


OCP4 migration - pipeline migration

Describe the issue
migrate jenkins pipeline first
Definition of done

jenkins instance in sliver cluster

Update:

jenkins pipeline setup in ocp4 tools namespace
currently setting up sso instance prerequisites, will test on pipeline job once ready

Update:

jenkins pipeline setup in ocp4 tools namespace
currently setting up sso instance prerequisites, will test on pipeline job once ready

Update:

pipeline setup and successfully deployed to prod
PR merge pending

Update:

pipeline setup and successfully deployed to prod
PR merge pending

Update:
good to merge now, ocp3 backup here: https://github.com/bcgov/ocp-sso/tree/ocp3-backup

Update:
good to merge now, ocp3 backup here: https://github.com/bcgov/ocp-sso/tree/ocp3-backup


Documentation for pure Python device interface

Adds device side examples for all current CUDA C++. Discussion required about naming of this. I personally don't like CUDA C++ as it implies a user might need to know CUDA. The abstraction is to specifically avoid this so it might be better to use "Agent Function/Device C++" and provide some context as to the fact that this is a subset of C++ supported by CUDA in the docs. Pure Python has also been used to describe the Python device side code. This could potentially also be changed.
Main repo PR: https://github.com/FLAMEGPU/FLAMEGPU2/pull/882

Tutorial should be updated too
On Tue, 16 Aug 2022, 17:48 mondus, @.***> wrote:

Adds device side examples for all current CUDA C++. Discussion required
about naming of this. I personally don't like CUDA C++ as it implies a user
might need to know CUDA. The abstraction is to specifically avoid this so
it might be better to use "Agent Function/Device C++" and provide some
context as to the fact that this is a subset of C++ supported by CUDA in
the docs. Pure Python has also been used to describe the Python device side
code. This could potentially also be changed.
You can view, comment on, or merge this pull request online at:
https://github.com/FLAMEGPU/FLAMEGPU2-docs/pull/104
Commit Summary

766f650
https://github.com/FLAMEGPU/FLAMEGPU2-docs/pull/104/commits/766f65099da3763659a232f62471ed933a945545
documentation for pure Python device interface

File Changes
(9 files https://github.com/FLAMEGPU/FLAMEGPU2-docs/pull/104/files)

M src/guide/agent-functions/agent-birth-death.rst
https://github.com/FLAMEGPU/FLAMEGPU2-docs/pull/104/files#diff-36f03979c193ca736f14891318fbfe70f8cd6268c4b37f878c1c6c6eed5a8a7f
(36)
M src/guide/agent-functions/agent-communication.rst
https://github.com/FLAMEGPU/FLAMEGPU2-docs/pull/104/files#diff-89005c2a60e4850ecb33529c5b692103d8a2dad0d7e23c73276b55d2e9619123
(225)
M src/guide/agent-functions/conditional-behaviours.rst
https://github.com/FLAMEGPU/FLAMEGPU2-docs/pull/104/files#diff-267c547c986f6bb1941ed469b0d553d601adc87759df0d3c0a2f1ba39f4cb0b8
(2)
M src/guide/agent-functions/defining-agent-functions.rst
https://github.com/FLAMEGPU/FLAMEGPU2-docs/pull/104/files#diff-95937f05ec7e0d3bbb6265792db152c4b06e10d5af916e3a2d39421b8814177b
(155)
M src/guide/agent-functions/index.rst
https://github.com/FLAMEGPU/FLAMEGPU2-docs/pull/104/files#diff-2f8c84a59e90ca661d657842542c5f78a5b8585a4967d0992db07cc657365f17
(2)
M src/guide/agent-functions/interacting-with-environment.rst
https://github.com/FLAMEGPU/FLAMEGPU2-docs/pull/104/files#diff-3b93ff770b70b3d1e0f369573196eda625b98e47224d28cf670674beb12c2ef3
(54)
M src/guide/agent-functions/modifying-agent-variables.rst
https://github.com/FLAMEGPU/FLAMEGPU2-docs/pull/104/files#diff-bc7817986036b49e92eb40389571eb976f614a97a12ef764ac5a2e648eb038d0
(48)
M src/guide/agent-functions/random-numbers.rst
https://github.com/FLAMEGPU/FLAMEGPU2-docs/pull/104/files#diff-b13fc2623e6c783c056a651ef736ab29c3cfa2e4c8e4b814a7d5245213a1c933
(13)
M src/guide/defining-messages-communication/index.rst
https://github.com/FLAMEGPU/FLAMEGPU2-docs/pull/104/files#diff-25ace9d84b968795475c02a797cf43bf9435df4dd70a3c04989d8f96c2322434
(1)

Patch Links:

https://github.com/FLAMEGPU/FLAMEGPU2-docs/pull/104.patch
https://github.com/FLAMEGPU/FLAMEGPU2-docs/pull/104.diff

—
Reply to this email directly, view it on GitHub
https://github.com/FLAMEGPU/FLAMEGPU2-docs/pull/104, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFVGCTAENCVLOA3HQCHJ73VZPA53ANCNFSM56WQ2OCQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Noticed some small typographic changes in your updates, have added comments.
Not yet looked through the tutorial changes, will probably check the built version of that too but will take a bit longer to go through.

Have addressed the additional comments and used Agent C++ and Agent Python throughout.
In the tutorial I have removed the proceeding lines from the code examples and replaced with ... // following on from some.code()
I have also removed the definition of main (but left a comment explaining that all tutorial code should be within a main function). It meant that all example had strange indentation and that there were several places that the closing bracket could be defined depending on optional usage of vis/logging.

Also rebased from master. Hope it hasn't knackard the comment lines.


qdrant api key

Can you provide us with a link from where can we get the api key please ?

Hi @fly-it  in order to get the Qdrant API key you need to register for Qdrant Cloud. https://qdrant.tech/documentation/cloud/
Also, they have a documentation on how to do semantic search in Qdrant (I prefer you run this on Google Colab) Sentence Transformers require heavy GPU and CUDA

Thank a lot.


Tabbar 点击时，怎么重新加载页面或者怎么更新数据

Tabbar 每一个页面的内容只会加载一次，之后点击如何重新加载或者更新数据

Tabbar 每一个页面的内容只会加载一次，之后点击如何重新加载或者更新数据

可以自定义一个标签，然后加上一个自定义事件

请问实现了吗

@xutingqun 可以用广播机制，点击tabar发出制定广播，然后在其子vue实例里做你的业务处理

@hanliuxin5 你可以参考下@JNTian 的这篇 博文，里面说的思路与这个框架是一致的。

@hanliuxin5  有没有例子呀，新手菜鸟一枚，有点懵

@xutingqun  https://weex.apache.org/cn/references/modules/globalevent.html

This PR/issue doesn't received response since Weex migrated to Apache two years ago and this repository is no longer active yet.
Feel free to ask question in new repository and thanks for your contribution.

This issue is outdated for a long time and will be closed now. You can create a new one if you still have questions.


extract side menu view and code from app.js into menu-list.js

changes implemented for issue https://github.com/driftyco/ionic-conference-app/issues/101
not sure if I am making it too complicated.
tried to split into smaller files and functions.
welcome for comments ~

should be merging to drityco master ...
close this


Add feature not re-searched SelenideElement

@asolntsev
Problem
Selenide not have feature set SelenideElement once, without re searched before every using. ElementsCollection may use .snapshot function for this.
Details
For example i have element in locators class:
SelenideElement getText() {
return $(By.id("text")).shouldBe(Condition.visible.because("Text should not visible"))
}
In page class i wanna use it few time:
if(locatorsClass.getText().getValue().contains("aaa")){
locatorsClass.getText().click()
}
In this example element will be search thrice(In first time .shouldBe, in Second time getValue(), in third time .click()).
May make method to SelenideElement class for example $(By.id("")).snapshot()
In this case for this example element will be search once.

@ddubtsov35 Selenide has such a method:
WebElement snapshot = $("...").toWebElement();
In this case, the element will not be re-searched.
But why you actually need it? I think it's a bad idea in most cases. In your sample, it's a bad idea to have "if ... then click" in test. Ideally, tests should not have any IFs.


Adding more than 4 skills group kills the resume page to load

hey there,
Another issue, i've faced.
I've tried to add more than 4 skills groups in the resume page, 4 is OK, 5 breaks with a js error message regarding transition.js :  Transition.js : Invalid 'data-goto' attribute configuration
googling i've sturmbed upon this issue: https://github.com/icodebuster/transition.js/issues/38
Not sure it'll help
Cheers,

Hi @xinity!
Thanks for your feedback. I'm in the process of pushing fixes for the issues you identified.
I've patched this issue with this commit
Once I've got both of these issues patched, I'll provide another minor version release.
Stay tuned!


Variable name in 'find_vesicles.py'

I am trying out the find_vesicle.py script on some of my micrographs, and I received the following error:

TypeError: preprocess_micrograph() missing 1 required positional argument: 'downsample'

When I changed the variable name from 'downsample_factor' to 'downsample' in line 60 of find_vesicles.py, it ran successfully.

Thanks so much for finding this! I just fixed it--marking the issue as closed. Let me know if you run into any more bugs!


Fix to pandas calls of kde_1d

At the moment this code does not work correctly
samples = Samples(...)
samples.plot.kde_1d(subplots=True)

This should produce a pandas-style array of kde_1d plots, but at the moment only produces the first one due to a hard-coded 0 in self.data.values[:,0] in anesthetic.plotting._matplotlib.hist.Kde1dPlot._make_plot. This is not a particularly harmful bug, as it would be quite a rare use-case to use our custom anesthetic kde_1d for plotting arrays outside of plot_1d (indeed it's an option to make these synonyms at some point).
This issue flags this bug.

I've stumbled into this from the context of passing a color argument to a kde_1d plot, e.g.
samps = anesthetic.read_chains("my_chains")
samps.paramname.plot.kde_1d(color="mycolor")

The Pandas MPLPlot constructor stores this in a list ["mycolor"], which leads to anesthetic.plot.kde_plot_1d complaining that ["mycolor"] is not a valid value for color.
How about we separate out the parts of kde_plot_1d() which calculate the x and y values, and give these to MPLPlot._plot() to deal with all the formatting, so that Kde1dPlot is analogous to KdePlot?

Is this fixed by #235?

Yes. There's just some an?esthetic issues I wanted to discuss, then should be ready to go.

I think this is fixed, right? Or is there something remaining to this issue?

I think this was fixed during the adventures of #235


Druid 0.18

I am trying to run Druid services are deamon instead of running from ./micro quick start . sh
How can I run the services as deamon?

Hey @averma111 can you provide more information?
The mentioned scripts launcht the process using supervise, configurations can be seen here https://github.com/apache/druid/blob/master/examples/conf/supervise/single-server/micro-quickstart.conf


DNM: Update fetcher.rb

please run PMR
ui=anaray/Openssl-build

LGTM

Testing completed, closing the branch


fix: defaultTenant does not take effect

Description

The default tenant does not take effect if adding commands inside /dashboards/utils, seems to have something to do with loop dependency.
This PR fix that by moving the fleshTenantSettings to /commands directory.
Issues Resolved
[List any issues this PR will resolve]
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

5 failures.

2 failures happens when security disabled
2 failures happens in data source specs, should not related to the changes in the PR.
1 known failure for copy / paste


Transform  with setNativeProps possible?

I need to move and scale individual<G> elements with setNativeProps. Nothing I've tried seems to work.
I tried:
setNativeProps({x: newX, y: newY})

setNativeProps({x: newX.toString(), y: newY.toString()})

setNativeProps({transform: [{translateX: newX}, {translateY: newY}])

If I use setNativeProps directly on a <Circle> for example, everything works fine.

Does G implement setNativeProps?
What syntax should I use for setting scale and position on a group?

@msageryd You probably need to use something like:
setNativeProps({ matrix: [scaleX, skewY, skewX, scaleY, translateX, translateY] })

Thank you so much! It works great.

BTW. I had this on SO as well. I you'd like to chime in there I'll accept your answer.
https://stackoverflow.com/questions/47981530/transform-g-with-setnativeprops-possible-with-react-native-svg/47991473#47991473

Great, posted a slightly more thorough answer there: https://stackoverflow.com/a/47995367/1925631

Cross-posting here for reference:
The VirtualNode (android) and RNSVGNode (ios) implementations have setMatrix methods. Give new property values by sending a column-major array representation of a transform matrix definition over the bridge. As in:
setNativeProps({ matrix: [scaleX, skewY, skewX, scaleY, translateX, translateY] })

The thing to note is that the composition of skews, rotations and translations is non-commutative, i.e., the result depends on the order of the transforms. And the six values do not correspond to parsing any kind of composition of these or angle interpretations, merely as scalar values using straight matrix interpretation. Thus the labels are slightly misleading, but gives at least some clues for how to interpret/adjust them if you want to bypass the transform parser.

Hi @msand , if you have time can you please post a simple example of a component (Circle in a G) using an Animated value. Thanks

https://snack.expo.io/@msand/shallow-celery
import React, { Component } from 'react';
import { StyleSheet, View, Animated } from 'react-native';
import { Svg, Circle, G } from 'react-native-svg';

const AnimatedCircle = Animated.createAnimatedComponent(Circle);

function getInitialState() {
  const anim = new Animated.Value(0);
  const fillOpacity = anim.interpolate({
    inputRange: [0, 1],
    outputRange: [0, 1],
  });
  const offset = anim.interpolate({
    inputRange: [0, 1],
    outputRange: [0, 10],
  });
  const strokeOpacity = anim.interpolate({
    inputRange: [0, 0.9],
    outputRange: [0, 1],
    extrapolateRight: 'clamp',
  });
  const strokeWidth = anim.interpolate({
    inputRange: [0, 1],
    outputRange: ['0', '5'],
  });
  return { anim, fillOpacity, offset, strokeOpacity, strokeWidth };
}

export default class App extends Component {
  state = getInitialState();

  componentDidMount() {
    const { anim } = this.state;
    Animated.timing(anim, {
      toValue: 1,
      duration: 3000,
      useNativeDriver: true,
    }).start();
  }

  render() {
    const { fillOpacity, offset, strokeOpacity, strokeWidth } = this.state;
    return (
      <View style={styles.container}>
        <Svg width="100%" height="100%" viewBox="0 0 100 100">
          <G>
            <AnimatedCircle
              cx="50"
              cy="50"
              r="45"
              height="90"
              stroke="blue"
              fill="green"
              strokeDasharray="1 1"
              strokeWidth={strokeWidth}
              strokeDashoffset={offset}
              strokeOpacity={strokeOpacity}
              fillOpacity={fillOpacity}
            />
          </G>
        </Svg>
      </View>
    );
  }
}

const styles = StyleSheet.create({
  container: {
    backgroundColor: '#ecf0f1',
    flex: 1,
  },
});


Fix the GM all percussion test

Declare GM compatibility with a reset event
Add note off events

Thanks a lot!


Non-atomics read and written on different threads?

Thanks for this project, it's really helpful in understanding parameter values vs modulation! I did find a potential conflict between the parameter handling and the CLAP spec. Defining your parameter values you have:
    // These items are ONLY read and written on the audio thread, so they
    // are safe to be non-atomic doubles. We keep a map to locate them
    // for parameter updates.
    double unisonCount{3}, ...

but it seems like these are also read on the main thread. They're read (via pointers in the paramToValue map) from paramsValue(), implementing clap_plugin_params.get_value:
/// The host can at any time read parameters' value on the [main-thread] using
/// @ref clap_plugin_params.value().
...
   // Gets the parameter plain value.
   // [main-thread]
   bool (*get_value)(const clap_plugin_t *plugin, clap_id param_id, double *value);

This looks to me like these should be atomics, or maybe use cached values when accessing from get_value. Perhaps I'm misunderstanding something about the spec or the contextual assumptions (maybe there's some reason get_value is never concurrent to process)? But I was specifically looking for examples of thread-safe parameter handling in get_value so this stood out to me.

No i think you are correct. Those should be atomics, or there should be a cache which is atomically updated at the end of process indeed.


Fix: Prevent Override of Existing innerCustomChildren

Because the existingChildren check references customChildren
but the render uses the customInnerChildren property, this plugin
resets customInnerChildren, overriding previous children, thereby
preventing other extensions from rendering. Fixing the check to
inspect customInnerChildren allows this extension to co-exist with
other extensions leveraging the customInnerChildren property.

I’ve published this to @j-f/hyper-statusline. You can swap hyper-statusline with @j-f/hyper-statusline in your config to switch. Feel free to contribute!


Defining a default target to support cross-compilation targets

Configuring a default target for rust-analyzer would be pretty nice for projects that have different conditional compilation such as winit, cpal and many more.
Myself and @FuriouZz have asked about this in Zulip so I figure it's worth making an issue for tracking and discussion purposes.
Normally, one configures (or at least that's what I've been doing) a default target in their workspace or even host by adding something like:
[build]
target = "wasm32-unknown-unknown"

in one of the cargo configuration files.
Based on some talk in Zulip from @matklad, it looks like the relevant commands are hardcoded:

https://github.com/rust-analyzer/rust-analyzer/blob/fc57358efda7c028cbe8a438446cce5f540f48ca/crates/ra_project_model/src/lib.rs#L561-L564
https://github.com/rust-analyzer/rust-analyzer/blob/fc57358efda7c028cbe8a438446cce5f540f48ca/crates/ra_project_model/src/cargo_workspace.rs#L149

Also, it seems that the configuration steps use rustc bypassing cargo which means the cargo configs aren't used. I'm not familiar with some of the rational behind this but if it's too burdensome to make use of the cargo configs, I think supporting this feature via the settings.json config with something like { "rust-analyzer.defaultTarget": "wasm32-unknown-unknown" } would be okay but not ideal.

@simlay Pull request merged


pkg/encoding: yaml.Validate doesn't handle disjunctions

What version of CUE are you using (cue version)?

$ cue version
cue version v0.7.0

go version go1.21.5
      -buildmode exe
       -compiler gc
       -trimpath true
     CGO_ENABLED 0
          GOARCH amd64
            GOOS linux
         GOAMD64 v1

Does this issue reproduce with the latest stable release?
Yes, 0.7.0.
What did you do?
As per https://cuelang.slack.com/archives/C012UU8B72M/p1703146006424709:
exec cue export regularFields.cue
exec cue export requiredFields.cue
exec cue export closedStructs.cue
-- regularFields.cue --
package p

import "encoding/yaml"

#OneOf: {a: string} | {b: string}

example: yaml.Validate(#OneOf)
example: "a: foo"
-- requiredFields.cue --
package p

import "encoding/yaml"

#OneOf: {a!: string} | {b!: string}

example: yaml.Validate(#OneOf)
example: "a: foo"
-- closedStructs.cue --
package p

import "encoding/yaml"

#a: a: string
#b: b: string
#OneOf: #a | #b

example: yaml.Validate(#OneOf)
example: "a: foo"

None of the 3 attempts in the repro validates the inline YAML.
What did you expect to see?
A passing test, or at least /one/ of the attempts succeeding (i.e. fewer than 3 failures in the testscript --continue output).
What did you see instead?
$ testscript --continue yamlValidate.txtar
> exec cue export regularFields.cue
[stderr]
example: unresolved disjunction {a:string} | {b:string} (type struct):
    ./regularFields.cue:7:10
[exit status 1]
FAIL: /tmp/testscript3854620968/yamlValidate.txtar/script.txtar:1: unexpected command failure
> exec cue export requiredFields.cue
[stderr]
example: unresolved disjunction {a!:string} | {b!:string} (type struct):
    ./requiredFields.cue:7:10
[exit status 1]
FAIL: /tmp/testscript3854620968/yamlValidate.txtar/script.txtar:2: unexpected command failure
> exec cue export closedStructs.cue
[stderr]
example: unresolved disjunction {a:string} | {b:string} (type struct):
    ./closedStructs.cue:9:10
[exit status 1]
FAIL: /tmp/testscript3854620968/yamlValidate.txtar/script.txtar:3: unexpected command failure
error running yamlValidate.txtar in /tmp/testscript3854620968/yamlValidate.txtar

Verified that this is still a bug today, with and without the new evaluator experiment.

Noting per a conversation offline that this this particular example (of oneofs) is intrinsically linked to https://github.com/cue-lang/cue/issues/3165.


Fix bugs: auto-scroll not working, styled text not combining spans

Fixes a couple bugs:
Bug #99 - when adding new list items or new lines that go offscreen, auto-scroll does not move the viewport down to show the extent.
Bug #100 - when typing individual characters with a style, the style of the new character does not combine with the matching style of the character before it.

I am merging this to pull these changes into the current Superlist


missing MD's?

Describe the bug
I can't seem to create new paragraphs or a simple blockquote
typically, I would have expected a double-space to instert a  tag; a double-linebreak to create a new paragraph; and > to inster a block quote. no seem to be doing the trick.
Is this by design or have i missed something?
To Reproduce
Steps to reproduce the behavior:
create a page
write a line of blurb
add  a double space to insert a
write some more blurb
add two linebreaks
write some more blurb
prefix last blub with >
notice that none of the three tags had any effect.
Expected behavior
A forced line break, a new paragraph and a blockquote on the last line of blurb.
*I've not tested all the standard MD tags to see if any others aren't there.

Yeah @jayenne, I've seen that too. I often use a line break (not
 but just enter on keyboard) followed by

, so:
>{primary.fa-alert} some warning yay!

![](/img/src/assets/yay.jpg)

which would get the image outside of that alert box.


Move pad_on_host to host function in TTNN

Ticket
Link to Github Issue
Problem description
Last portion of tt_dnn/op_library/pad that needs to be migrated
What's changed
Moved pad_on_host function to TTNN
Checklist

[ ] Post commit CI passes
[ ] Model regression CI testing passes (if applicable)
[ ] New/Existing tests provide coverage for changes

Is there any regression in the perf? Can you run t3k model perf tests?

Is there any regression in the perf? Can you run t3k model perf tests to make sure we have no regression?

I ran this and saw no regression


fix: Revert changes to ignore role_last_used

Description

Revert changes to ignore role_last_used in #2628

Motivation and Context

The changes in #2628 are not working as intended, therefore this needs to be resolve by the provider https://github.com/hashicorp/terraform-provider-aws/issues/30861#issuecomment-1561757274
The changes in #2628 are reliant on an attribute that was introduced in v4.64.0 of the AWS provider. We should have bumped the provider min supported version for this, but as is it is currently throwing an error for users that are not at v4.64.0+

Breaking Changes

No

How Has This Been Tested?

[ ] I have updated at least one of the examples/* to demonstrate and validate my change(s)
[ ] I have tested and validated these changes using one or more of the provided examples/* projects

[x] I have executed pre-commit run -a on my pull request

This PR is included in version 19.15.1 :tada:


Sample Images

Do you have any sample images to work with?

@gabynordic Sure.. try this sample image

I am not maintaining the modules in convert directory but they should still work (although highly unoptimized). Let me know if you face issues.

Are you converting the above image? or some other image?
On Jul 18, 2018, 11:28 AM -0400, gabynordic<EMAIL_ADDRESS>wrote:

I have the convert script running, but am getting some very unusual values in the CSV output files for my images (~4000 Degrees Celsius). Any recommendations?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

It is a different image

Ahh, that make sense. Thanks for your help! Do you have any recommendations as to how to find these formulas for other sensors?

The only way I was able to do this was because I found the spec sheet of
the sensor. So I would suggest look up the documentation for your camera
and find the sensor name,make,model etc and look it up on Google.
Also, I don't think reverse engineering would work because the relationship
between sensor readout and actual temperature in degrees is not linear
(afaik) and Flir is generally very tight lipped about the formulas they use
(in their tools like Flir tools +)
Mohit Sharma
https://sharmamohit.com
On Wed, Jul 18, 2018, 15:10 gabynordic<EMAIL_ADDRESS>wrote:

Ahh, that make sense. Thanks for your help! Do you have any
recommendations as to how to find these formulas for other sensors?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Mohitsharma44/pyfrac/issues/3#issuecomment-406041839,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFjEEPLB8fkZ2WgCO1TfOrxhNT0aLQADks5uH4gfgaJpZM4VNrCZ
.


Update type annotations to use circuitpython_typing

I know typing is still a little in flux, but should uses of the contained _typing types be switched to circuitpython_typing?

Yes, definitely, assuming it is possible here.

Sounds good!  I'll get on this soon!

Yeah, I created _typing before circuitpython_typing existed.