Apps view looks very empty

Modifies AppSelector component - issue #289
Fixes Footer height - issue #229

Hi @bekossy, thanks for the PR. I like the new look of the page.
I have 2 feedbacks:

We already have the logo in the sidebar and it looks duplicated in the appsview.
The new look is really great without apps. but with apps I don't like it much as now the user need to look for the apps in the bottom of the page, whereas apps, when they exist are the most important component.

Thanks for the great work!
Personally, I think the sticky footers don't work from a design perspective. As for the Feature and Tips, I think we should add non-trivial features, as for now, the tips can be discovered by using the apps for a couple of minutes.
@aakrem What do you think?

@mmabrouk The PR is more for introducing a design and a solution for the tips/news ..
The content should be revisited yes.

@bekossy can you please fix the conflicts.. am seeing a lot of unrelated changes


rbd: use go-ceph rbd admin task api for 'trash remove' & 'flatten'

rebase: use go-ceph v0.13.0
rbd: use go-ceph rbd admin task api instead of cli
rbd: remove redundant rbdVolume.connect() in flattneRbdImage()
rbd: remove redundant util.Credentials arg from flattenRbdImage()
rbd: refractor deleteImage() & trashRemoveImage()

Closes: #2186
New Mgr Not Supported errors thrown by go-ceph

API call not implemented server-side: No handler found for 'rbd task add trash remove' (rook 1.2.0, ceph v:14.2.2)
rados: ret=-13, Permission denied: "access denied: does your client key have mgr caps? See http://docs.ceph.com/en/latest/mgr/administrator/#client-authentication" (when user secret does not have mgr caps)

/retest ci/centos/k8s-e2e-external-storage/1.22

/retest ci/centos/k8s-e2e-external-storage/1.22

failed due to #2264
https://jenkins-ceph-csi.apps.ocp.ci.centos.org/blue/organizations/jenkins/k8s-e2e-external-storage-1.22/detail/k8s-e2e-external-storage-1.22/531/pipeline

LGTM . @Rakshith-R have you verified its working with older ceph releases where we don't have manager command support?

Yes, I ran it with ceph 14.2.2 where there's rbd task support, works as expected.

LGTM . @Rakshith-R have you verified its working with older ceph releases where we don't have manager command support?

Yes, I ran it with ceph 14.2.2 where there's rbd task support, works as expected.

you mean no rbd task support?

LGTM . @Rakshith-R have you verified its working with older ceph releases where we don't have manager command support?

Yes, I ran it with ceph 14.2.2 where there's rbd task support, works as expected.

you mean no rbd task support?

yes :sweat_smile:
*ceph 14.2.2 where there's * no * rbd task support, works as expected.

Resolved/ satisfied golangci linter, ptal thanks

@mergifyio rebase

@mergifyio rebase

@Madhu-1 , moving those two methods to rbdImage struct would require moving a few more methods(getImageID, ensureTrashCleanup ...) onto rbdImage struct.
I would prefer it be done in another pr, maybe we can decide on which methods should be on rbdImage and rbdVolume struct through a issue maybe before making the changes?
@ceph/ceph-csi-contributors PTAL

@mergifyio rebase

@humblec you have requested changes on this PR. PTAL

few lines creeped in to migration.go during rebase, fixed that.
PTAL

few lines creeped in to migration.go during rebase, fixed that. PTAL

Thanks @Rakshith-R , I will let @nixpanic to confirm once, as I heard previous changes were tested too.


Make IN clauses work with strings

IN clauses used to only work with integers, as string values were not surrounded by quotes.
Previous: 'SELECT * FROM Dog WHERE name IN (name1, name2)'
Fixed: 'SELECT * FROM Dog WHERE name IN ('name1', 'name2')'
Resolves #171

Ahh, this is great! In my existing DAOs I had to write private implementations with @Query and public ones that escapes the entries. Good change, thanks!


Add "delete" for folders in the UI

Behind a feature flag - except I can't seem to get it to show for me now that I've put it behind the feature flag, even though the feature flag is set for me :(

oops this is polluted with other work, will rebase

Why is there a .js.flow file as well as the .native.js and the .desktop.js files? Is the flow compiled to JS by something in the build toolchain but the JS it's compiled into doesn't show up anywhere?

The flow file is because flow doesn’t understand the electron/native split. Flow file is not compiled to js. When you run flow if there’s a flow file flow just looks at that and not the actual files.

I think you need to add it to __mocks__/feature-flags too

@songgao I thought you said mocks only needed the flag for storyshots, and it looks like there isn't a story shot for this flow.

@jakob223 it still needs to satisfy the feature flag’s type, so even if no story touches it you’d still need it in there. (I think there’s a story for path-item-action; not sure if it currently exposes the Delete button though.)


Move documentation to wiki

Current documentation should be ported to wiki of project.

Ported for reactUI and example

also change e.g. main readme links:
https://github.com/sibvisions/reactUI


RTL not supported in pre and code tags

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have validated any HTML to avoid common problems
[X] I have read the contributing guidelines

Describe the issue
I posted an issue here #35218  that I thought was a typo in the docs
But when I tested it, I found that Bootstrap doesn't support pre tag and code tag
Code
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />

    <link
      rel="stylesheet"
<EMAIL_ADDRESS>      integrity="sha384-gXt9imSW0VcJVHezoNQsP+TNrjYXoGcrqBZJpry9zJt8PCQjobwmhMGaDHTASo9N"
      crossorigin="anonymous"
    />

مرحبا بالعالم!

    مرحبا بالعالم!

Output

The output above is wrong is shown ملاعلاب ابحرم! and the right sentence is !مرحبا بالعالم
It's like saying "dlroW olleH" instead of "Hello World"
if i run same code without the bootstrap link, everything will be fine
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />

مرحبا بالعالم!

    مرحبا بالعالم!

like this

and this is the right sentence
Reduced test cases
https://user-images.githubusercontent.com/69223584/137766219-2b05d55c-c668-408e-8aa7-7ed7389c9cba.mp4
What operating system(s) are you seeing the problem on?
Windows
What browser(s) are you seeing the problem on?
Chrome
What version of Bootstrap are you using?
5.0.2

So are we safe closing #35128?

Yes, you can close it because the main problem is here
Since the site is already using Bootstrap, the issue #35218 will solve itself if this problem is resolved

Before you merge it, can you test some code
In a normal css when we write a real code inside a rtl div like this

    /*
          Some rtl text ...
    */

          const Index = () => (

Home page

           );

           export default Index;

The output become like this

And to solve this we just put the code tag inside a ltr div
Or put dir=ltr inside the code tag

          const Index = () => (

Home page

           );

           export default Index;

Will the same thing happen with this pr? Can you try it


WalletConnect integration

Problem
Would sure be cool to allow MHW to use the WalletConnect protocol to interact with Dapps in some fashion
Solution
WalletConnect integration
Alternatives
No response

This would be really cool & is much needed. +1


Jumbo Frames

Can we configure jumbo frames with one of these modules?  If not, can it be added?

Hi @BarnumD - this is not currently supported by any of the DSC Resources in xNetworking, but I don't see why this could not be added.
It could be done by creating a resource for setting Advanced Net Adapter properties - as this would allow other properties to also be set.
If no one gets to this one I'll put it on the backlog - but I've got a lot on there already! But hopefully someone else already has a resource available that they could contribute to the resource kit covering this.

Is it okay if i do it?
Because i need it too!

@ardhe18 you are more than welcome to send in a PR for this! Much appreciated!

@atdhe18 I misspelled the name, please see previous comment :smile:


Feat/aut294

I propose new way to generate path to log files using env variables. Following list specifies the order which path is used:

If SMARTPEAK_LOGS env variable is set (custom - works on any OS),
If LOCALAPPDATA env variable is set (default on windows) - e.g.: C:\Users\<user>\AppData\Local\SmartPeak\
If HOME env variable is set (default on linux and macos) - e.g.: /home/<user>/.SmartPeak/

📌 Disclaimer: The behavior has to be tested on MAC
I encourage reviewers to pull this PR and test logs themselves.
✅ Tested in Windows,
✅ Tested in Ubuntu
Here is example:
Windows (Default):
2021-01-13 15:41:03.871 NONE  [7976] [SDL_main@190] Log file at: C:\Users\krzyja\AppData\Local\SmartPeak\smartpeak_log_2021-01-13_15-40-33.csv
2021-01-13 15:41:17.802 DEBUG [7976] [SmartPeak::SessionHandler::setTransitionsTable@159] Making transitions_table_headers
2021-01-13 15:41:17.807 DEBUG [7976] [SmartPeak::SessionHandler::setTransitionExplorer@48] Making transition_explorer_checkbox_headers
...

Windows (Custom path):
2021-01-13 16:35:18.763 NONE  [4960] [SDL_main@190] Log file at: C:\Users\krzyja\Workspace\.logs\smartpeak_log_2021-01-13_16-35-18.csv
2021-01-13 16:35:19.129 DEBUG [4960] [SmartPeak::SessionHandler::setTransitionsTable@159] Making transitions_table_headers
2021-01-13 16:35:19.130 DEBUG [4960] [SmartPeak::SessionHandler::setTransitionExplorer@48] Making transition_explorer_checkbox_headers
...

Ubuntu (Default):
2021-01-13 07:31:55.075 NONE  [5438] [main@151] Log file at: /home/krzysztof/.SmartPeak/smartpeak_log_2021-01-13_07-31-55.csv
2021-01-13 07:31:56.023 DEBUG [5438] [SmartPeak::SessionHandler::setTransitionsTable@159] Making transitions_table_headers
2021-01-13 07:31:56.023 DEBUG [5438] [SmartPeak::SessionHandler::setTransitionExplorer@48] Making transition_explorer_checkbox_headers
...

Ubuntu (Custom path)
2021-01-13 07:34:09.947 NONE  [5606] [main@151] Log file at: /home/krzysztof/.logs/smartpeak_log_2021-01-13_07-34-09.csv
2021-01-13 07:34:10.825 DEBUG [5606] [SmartPeak::SessionHandler::setTransitionsTable@159] Making transitions_table_headers
2021-01-13 07:34:10.826 DEBUG [5606] [SmartPeak::SessionHandler::setTransitionExplorer@48] Making transition_explorer_checkbox_headers
...

It would be nice document this. We have a story about updating documentation. maybe update the story about that to remember it. And/Or add section in the Readme.

It would be nice document this. We have a story about updating documentation. maybe update the story about that to remember it. And/Or add section in the Readme.

✅ I added unit test for the function getLogFilepath(), it was pretty hard to isolate test from environment as the function probes values from env variables - for this purpose I am setting and unsetting variables in a way that all paths points to temporary directory within the project,
✅ README up to date with instructions how to find log file location/ set new location...
📌 I didn't automated access permission tests - turns out to be fairly complicated on Windows (on Linux no problems), therefore I limited this test to manual check - here everything works both on Ubuntu and Windows 10
📌 Someone can try running things on MAC, I haven't run manual tests there.

✅ I added unit test for the function getLogFilepath(), it was pretty hard to isolate test from environment as the function probes values from env variables - for this purpose I am setting and unsetting variables in a way that all paths points to temporary directory within the project,
✅ README up to date with instructions how to find log file location/ set new location...
📌 I didn't automated access permission tests - turns out to be fairly complicated on Windows (on Linux no problems), therefore I limited this test to manual check - here everything works both on Ubuntu and Windows 10
📌 Someone can try running things on MAC, I haven't run manual tests there.


Add basic chemical reactions

Adds basic chemical reactions. Supports reactants (can be catalysts), products, and effects (only implemented explosions so far). Doesn't support temperature requirements for reactions since we have no equipment for heating/cooling, and that'd be better in it's own PR.
Effects are added by implementing the IReactionEffect (based on IPhysShape):
/// <summary>
/// Chemical reaction effect on the world such as an explosion, EMP, or fire.
/// </summary>
public interface IReactionEffect : IExposeData
{
    void React(IEntity solutionEntity, int intensity );
}

Currently only ExplosionReactionEffect implements this. Once you implement this interface, you can use the effect by specifying it's concrete type in yaml. The example below shows that and other parts of a chemical reaction prototype with the potassium + water explosion reaction:
- type: reaction
  id: react.PotassiumExplosion
  reactants:
    chem.H2O:
      amount: 1 #Minimum amount of the reactant required for this reaction to occur
      catalyst: false #Default value is false. Specified here for examples sake.
    chem.K:
      amount: 1
  effects:
    - !type:ExplosionReactionEffect #Concrete type of explosion effect
      #Ranges used when 1 potassium + 1 water react (A unit reaction)
      devastationRange: 0.05
      heavyImpactRange: 0.1
      lightImpactRange: 0.15
      flashRange: 0.2
      scaled: true #Scaled proportionally to amount of potassium and water
      maxScale: 30 #Makes explosion strength stops scaling at 30 potassium + 30 water

Here's another example to show how to add reaction products:
- type: reaction
  id: react.TableSalt
  reactants:
    chem.Cl:
      amount: 1
    chem.Na:
      amount: 1
  products:
    chem.TableSalt: 2

Along with this PR I've added recipes for most of the common SS13 medical recipes, and a few other misc reactions. Almost all of them do nothing since we don't have the proper medical systems / status effects / metabolism / etc to make that possible. But they'll at least be available to expand upon when those are implemented.

I cleaned up the commits and made this a branch of master instead of a branch of the reagent dispensers PR. So now there's 3 commits instead of 27. Should be easier to review and see what changes were made.

@PJB3005 I implemented the changes you've suggested so far.


simplify DisableLockScreen to two functions?

https://github.com/Disassembler0/Win10-Initial-Setup-Script/blob/c4a3e1a5c13a4ca781cd402d03262e14b307203c/Win10.ps1#L1107
Disable Lock screen
Function DisableLockScreen {
Write-Output "Disabling Lock screen..."
if([System.Environment]::OSVersion.Version.Build -ge 14393 -And [System.Environment]::OSVersion.Version.Build -lt 17133)
{
$service = New-Object -com Schedule.Service
$service.Connect()
$task = $service.NewTask(0)
$task.Settings.DisallowStartIfOnBatteries = $false
$trigger = $task.Triggers.Create(9)
$trigger = $task.Triggers.Create(11)
$trigger.StateChange = 8
$action = $task.Actions.Create(0)
$action.Path = "reg.exe"
$action.Arguments = "add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\SessionData /t REG_DWORD /v AllowLockScreen /d 0 /f"
$service.GetFolder("").RegisterTaskDefinition("Disable LockScreen", $task, 6, "NT AUTHORITY\SYSTEM", $null, 4) | Out-Null
}
else
{
If (!(Test-Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Personalization")) {
New-Item -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Personalization" | Out-Null
}
Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Personalization" -Name "NoLockScreen" -Type DWord -Value 1
}
}
Enable Lock screen
Function EnableLockScreen {
Write-Output "Enabling Lock screen..."
if([System.Environment]::OSVersion.Version.Build -ge 14393 -And [System.Environment]::OSVersion.Version.Build -lt 17133)
{
Unregister-ScheduledTask -TaskName "Disable LockScreen" -Confirm:$false -ErrorAction SilentlyContinue
}
else
{
Remove-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Personalization" -Name "NoLockScreen" -ErrorAction SilentlyContinue
}
}

I'd rather not. To my knowledge, NoLockScreen policy is not applicable to Home edition, so if you really want the functionality, you'll end up the other tweak anyway. But more importantly, the workaround via task manager is a horrible ugly hack, which I'm not proud and which I don't want to mix with the "healthy" code so people would think twice if they really want to use it.
It really should't even read "DisableLockScreenRS1" anymore, but it was devised during the dark times of RS1 when Pro edition was stripped of the NoLockScreen policy and the name was retained for historical reasons and the lack of better name. Ideally, I would want to get rid of that thing completely but since I have already shown it to the world, I can't. So maybe it would help just to rename it, but I have a hard time finding a fitting name. Something like DisableLockScreenTask may imply that it's disabling some lock screen task and not that it is a task for disabling lock screen. Any ideas there?

DisableLockScreenTask sounds good to me.
Thanks for this elaborately explanation.


EJSONinifcation of Astronomy documents

This is the next feature I'm going to implement. This will allow sending Astronomy models as a param of Meteor method.

I'm having trouble with this... It's throwing an error when I try to pass an Astronomy object to the server in a Meteor method.
I've create this simple meteorpad to illustrate: http://meteorpad.com/pad/WncF7ajyC9zoP8Sqf/Astronomy Server Check
If you click the "add astronomy" button, it should add the new row to the view - you can see it flash up when it's created on the client; it then disappears because the server isn't saving the object.
The "old school" button is just there for comparison.
Am I doing something wrong?
Thanks - this has the makings of an amazing tool.... I'm hoping to replace Mesosphere, collection-hooks, collection-helpers, and a bunch of custom code - all with a cleaner code base!

Hi @dovrosenberg thanks for good words :)
I've downloaded code from meteorpad to my computer and run meteor application. At first I've received message on the console:
=> Started proxy.
=> Started MongoDB.

Changes to your project's package version selections:

jagi:astronomy  upgraded from 0.1.0 to 0.9.2

=> Started your app.

=> App running at: http://localhost:3000/

It seems like in your packages file in the .meteor directory you have save old version of Astronomy.
However, when I run application, everything worked properly. Maybe try updating packages by force?
$ meteor update --packages-only

Or try editing packages file by hand.
Let me know if it helped.

Ah - sorry.  I had an issue in a more complex project I was trying to reproduce and the meteorpad versioning made me think I had it.
I've updated the meteorpad - you'll still have to download it and meteor update to get it to run.  But then you'll see the problem.  It actually appears to be related to validation.
The validation is passing on the client, but not on the server.  The two buttons now do the same thing (i.e. call save() inside a Meteor method), but the first one only saves after checking validate().  You can see it flash still because it does successfully validate on the client, but not on the server...
Any ideas?
Thanks

Yep, now I see the problem. It appeared that I have error in EJSONification code. I was treating values as simple object instead stringifying it so that dates will be stored properly. I'm working on new version of validators and there it works. It should appear today on Atmosphere. So stay tuned :).
Thanks for noticing this error!

Ok I've fixed it in the newest version. Let me know if it works for you.

Thanks for the quick fix... upgraded main package and validators to 0.10.0 and now I get (when building that meteorpad code):
TypeError: Object #<Object> has no method 'isDate'
W20150531-12:32:32.292(-4)? (STDERR)     at app\common.js:11:25
W20150531-12:32:32.292(-4)? (STDERR)     at app\common.js:26:3
W20150531-12:32:32.293(-4)? (STDERR)     at h:\astro\.meteor\local\build\programs\server\boot.js:222:10
W20150531-12:32:32.293(-4)? (STDERR)     at Array.forEach (native)
W20150531-12:32:32.293(-4)? (STDERR)     at Function._.each._.forEach (C:\Users\Dov\AppData\Local\.meteor\packages\meteor-tool\1.1.3\mt-os.windows.x86_32\dev_bundle\server-lib\node_modules\underscore\underscore.js:79:11)
W20150531-12:32:32.293(-4)? (STDERR)     at h:\astro\.meteor\local\build\programs\server\boot.js:117:5

which is the line where the validator is attached...
Changing it to just date() makes everything work fine - did you get rid of the alias?

@dovrosenberg Yes I had to remove aliases. The reason for doing so is the ability to clearly determine what validator caused validation error. Before fix when you used date validator then in the validationerror event you received information that the validator that caused error is isDate which could be confusing. Now it's clear :). When version 1.0.0 will arrive, there won't be changes that are not backward compatible.


Adding Maven Profiles

Description
This PR adds support for Maven Profiles so we can improve developer experience when developing the Dapr Java SDK. This should allow us to load all the code in a single IDE instance while allowing us the flexibility to run integration test modules separately from the main code.
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #1119.
It is also somewhat related to #1075.
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[x] Created/updated tests
[ ] Extended the documentation

@salaboy @artursouza @cicoyle this is a small "quality of life" improvement PR. Please let me know if this looks good and if I should update any of the developer docs.
Thank you! 🙇


Implement Unicode 11 for grapheme break

include ExtendedPictograpic flag in graphemebreakdata

remove no longer used grapheme break classes

remove obolete rule 10

update rule 9 and 11

the new rule 9c is not included. It is only required for CLDR, which
we don't do, yet

Oops, you made the mistake of missing committing two files (graphemebreakdata3.tmpl and graphemebreakdata4.tmpl), and I made the mistake of not fully testing before the merge. Please prepare a new PR (based on my new HEAD) to add these two files.

Never mind, I added them from your graphemebreakdata.c.


Add const qualifiers

First #96  must be merged.
I added const  qualifiers where it could be done and where it made sense. (There are some functions where it would be nice but we have to adhere to the given API.)
Addresses the remaining task of #92.

Please rebase @jajik

Done. Marking ready to review.

Done. Marking ready to review.

Still needs a rebase...

Done. Marking ready to review.

Still needs a rebase...

Still needs a rebase...

This branch is out-of-date with the base branch

Well of course when new commits were pushed to the master 30 minutes ago :)
Now it should be up to date.

This branch is out-of-date with the base branch

Well of course when new commits were pushed to the master 30 minutes ago :)
Now it should be up to date.

Ah, right, sorry I forgot that we have set 'Require branches to be up to date before merging' on the main branch.

Wouldn't 'Require branches to be up to date before merging' with 'Rebase and merge' PR only achieve that?
I didn't know about merge queue, I will check it out.
Merging, thank you both @jfclere, @rhusar!

Wouldn't 'Require branches to be up to date before merging' with 'Rebase and merge' PRs only achieve that?
I didn't know about merge queue, I will check it out.
Merging, thank you both @jfclere, @rhusar!

Rebase with merge only pertains to what the git history looks like - does not affect checks.
I also consider this a git anitpattern since the original hashes change.

I also consider this a git anitpattern since the original hashes change.

Probably not  the best place to debate this, but about which hashes are you talking about? Hashes already in master remain the same and those that are being added will change, but that sound reasonable, or am I missing something?

I also consider this a git anitpattern since the original hashes change.

Probably not the best place to debate this, but about which hashes are you talking about? Hashes already in master remain the same and those that are being added will change, but that sound reasonable, or am I missing something?

Git commit hashes. And no - they do not change when you use a merge commit. Look for instance here, you opened this with be68675fa9c00ba19742e5c95c5e0fa821e31afb and now I can use that hash to track it across branches:
[rhusar@ribera mod_proxy_cluster]$ git branch --contains be68675fa9c00ba19742e5c95c5e0fa821e31afb
* main

if we used squashing, that commit hash would have changed. Also the information about how this change came into the history would be mostly lost.

Git commit hashes. And no - they do not change when you use a merge commit. Look for instance here, you opened this with be68675 and now I can use that hash to track it across branches:
[rhusar@ribera mod_proxy_cluster]$ git branch --contains be68675fa9c00ba19742e5c95c5e0fa821e31afb
* main

if we used squashing, that commit hash would have changed. Also the information about how this change came into the history would be mostly lost.

Well, I opened this with a different commit but be68675 is the state in which it got merged (it changed multiple times because of those force pushes – that's what I meant). If we were using Rebase and merge, the result would be the same1 except the missing merge commit (here I agree that some information would be lost, however I am not sure how much useful the merge commit is).
For squashing merge strategy I agree, not necessarily because of the hash change, but usually I try to keep commits separated by the changes with (usually) short messages. Squashing everything into one huge commit seems not very helpful to me.
Footnotes

Ok, now I see it in the docs: The rebase and merge behavior on GitHub deviates slightly from git rebase. Rebase and merge on GitHub will always update the committer information and create new commit SHAs, whereas git rebase outside of GitHub does not change the committer information when the rebase happens on top of an ancestor commit. Thank you, I didn't know that. It seems that GitLab does it as expected. ↩

Right, squashing is pretty silly. Surely works for some projects, but not for us. The only viable options for us are merge commits (what we do now) or consider rebase with merge for linear history.


URLs render incorrectly for hosting on GitHub Pages (project option)

I plan to host my site on my GiHub project page via the docs folder. Thus for the GitHub repository project the base URL is set in config.toml to "https://username.github.io/project/" and publishDir is set to "docs".
But in deployment I lose CSS and images.  For example, the compiled URL for an image turns out to be:

https://username.github.io/relative-path-to-image

instead of

https://username.github.io/project/relative-path-to-image

Here is an example, built directly from the theme's example site:

https://github.com/homerhanumat/test-pweb

I am facing a similar issue. When I deploy the site via Github Pages, I lose the CSS formatting and I see a distorted webpage. I am not sure though if this error is specific to this theme or is prevalent across all Hugo themes

Hey,
as indicated in the issue #14 , you should have a look at Hugo's documentation for hosting on Github pages.
@homerhanumat Your website doesn't seem to be built correctly.
Don't hesitate to post your solution here as there are a few people looking for the answer.

I did follow the Hugo documentation you reference, for project pages.
I have re-worked the repo https://github.com/homerhanumat/test-pweb so that the docs folder is built straight from the theme's exampleSite with a custom hugo command, without any moving of files or editing of config.toml.  The README details how to reproduce such a site.
There is no longer a CSS problem (I think in my original test I did not correctly handle the resources folder) but the other issues remain.  In particular:

site icon points to https://homerhanumat.github.io, not to https://homerhanumat.github.io/test-pweb;
portfolio image lnks are broken.

For issue (1), setting the href to "{{ .Site.Home }}" rather than "/" in sidebar.html should work all the time.
For issue (2) I'm uncertain how to proceed.  The generated URL for the portfolio image on the home page is "/portfolio/sample-project/sample.jpg", which by the structure of the docs folder should work.  But in fact "/test-pweb/portfolio/sample-project/sample.jpg" is what works. (Edit the link in the web inspector to verify.)
It might be possible to resolve issues by working entirely with relative URLs, but that would require many revisions, i think.
If I find a quick solutiuons to (2) I will work up a pull request.  Thanks for creating this nice theme!


Spirv-fuzz: TransformationWrapVectorSynonym that wraps scalar operation into vector operation (Draft)

This PR will resolve #4195 by adding a new transformation that transform a scalar operation (like OpFAdd, opISub) into vector operation and get the same scalar result from corresponding position in the resulted vector.
Currently in working progress and untested.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.2 out of 3 committers have signed the CLA.:white_check_mark: afd:white_check_mark: sliu-UIUC:x: jamesjames seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Superseded by #4376.


Translate to Marathi

Hi there 👋
Let's translate the course to Marathi so that the whole community can benefit from this resource 🌎!
Below are the chapters and files that need translating - let us know here if you'd like to translate any and we'll add your name to the list. Once you're finished, open a pull request and tag this issue by including #issue-number in the description, where issue-number is the number of this issue.

🙋 If you'd like others to help you with the translation, you can also post in our forums or tag @_lewtun on Twitter to gain some visibility.

Chapters
0 - Setup

[ ] 1.mdx

1 - Transformer models

[ ] 1.mdx
[ ] 2.mdx
[ ] 3.mdx
[ ] 4.mdx
[ ] 5.mdx
[ ] 6.mdx
[ ] 7.mdx
[ ] 8.mdx
[ ] 9.mdx
[ ] 10.mdx

2 - Using 🤗 Transformers

[ ] 1.mdx
[ ] 2.mdx
[ ] 3.mdx
[ ] 4.mdx
[ ] 5.mdx
[ ] 6.mdx
[ ] 7.mdx
[ ] 8.mdx

3 - Fine-tuning a pretrained model

[ ] 1.mdx
[ ] 2.mdx
[ ] 3.mdx
[ ] 3_tf.mdx
[ ] 4.mdx
[ ] 5.mdx
[ ] 6.mdx

4 - Sharing models and tokenizers

[ ] 1.mdx
[ ] 2.mdx
[ ] 3.mdx
[ ] 4.mdx
[ ] 5.mdx
[ ] 6.mdx

5 - The 🤗 Datasets library

[ ] 1.mdx
[ ] 2.mdx
[ ] 3.mdx
[ ] 4.mdx
[ ] 5.mdx
[ ] 6.mdx
[ ] 7.mdx
[ ] 8.mdx

6 -  The 🤗 Tokenizers library

[ ] 1.mdx
[ ] 2.mdx
[ ] 3.mdx
[ ] 3b.mdx
[ ] 4.mdx
[ ] 5.mdx
[ ] 6.mdx
[ ] 7.mdx
[ ] 8.mdx
[ ] 9.mdx
[ ] 10.mdx

7 - Main NLP tasks

[ ] 1.mdx
[ ] 2.mdx
[ ] 3.mdx
[ ] 4.mdx
[ ] 5.mdx
[ ] 6.mdx
[ ] 7.mdx
[ ] 8.mdx
[ ] 9.mdx

8 - How to ask for help

[ ] 1.mdx
[ ] 2.mdx
[ ] 3.mdx
[ ] 4.mdx
[ ] 4_tf.mdx
[ ] 5.mdx
[ ] 6.mdx
[ ] 7.mdx

Events

[ ] 1.mdx

Starting with chapter 0 - setup

Starting with chapter 0 - setup

Awesome, thanks for creating this initiative @shashankdeshpande ! Just FYI to show the content on the website, we need chapter1/1.mdx to be translated, so you might want to start with that so we can see how it looks :)


App Architecture

Hello Dane,
I am still trying to discover stacked and how to implement it in a full app.
I have quite easily transposed screens into views/viewmodel, and api into services. Thanks again for the tip about AutomaticKeepAliveClientMixin.
But now, I can't figure out how a view can influence another view.
For exemple :
If I have a MainView/MainViewModel : a Scaffold with some infos, a DrawerView/DrawerViewModel and a button to log in ...
The Login screen is a LoginView (stacked) with a LoginViewModel.
One the login is successful, how to update the Drawer (to see more options) and the MainView (change the log in button to a logout button)..
Thanks for your advice
Vincent

Hi @vptcnt in the readme there's a part for reactivity. Put the data you want to share in a service, make the service reactive, make the value you want to share an rx value then use the reactive viewmodel functionality to react to those service changes.


Update apiVersion

What does this PR do?

Ingress resources are now available via networking.k8s.io/v1beta1. Ingress resources in extensions/v1beta1 are deprecated and will no longer be served in v1.18. Existing persisted data is available via the new API group/version (#74057, @liggitt)

Ref https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.14.md#deprecations

Motivation

More

[ ] Added/updated tests
[ ] Added/updated documentation

Additional Notes

Hello,
For now, networking.k8s.io/v1beta1 is not really supported, so we don't want to change the doc.


Enhanced TeamFight Deaths counter

fixes #648
Added player_death.png icon and utilize in TeamFightTable to show deaths simpler.

Sample of two skulls:

The other thought was to do something like the skull, with an "x2" in the bottom right corner of it, but I couldn't get a styling that was easily readable and looked good. Open to suggestions for another option though.

LGTM, looks like just a linting issue?

Yeah, I forgot to run the lint. Doing that now, then I'll push again.


The M2 WDL task for ProcessOptionalArguments can use a smaller docker image.

By grabbing the gatk-protected docker image (or whichever is being used for M2), this task commits to a ~2GB download.  However, the task does basic bash commands, which could easily be performed using one of the ubuntu:14.04 images or maybe even one smaller.

Issue moved to broadinstitute/gatk #2952 via ZenHub


request->id validation and request->method delimiter

Hello @tabuna
Thanks for this awesome package!
I have two simple questions

According to the specification, id in RPC request described as

id
An identifier established by the Client that MUST contain a String, Number, or NULL value if included. If it is not included it is assumed to be a notification. The value SHOULD normally not be Null [1] and Numbers SHOULD NOT contain fractional parts [2]
The Server MUST reply with the same value in the Response object if included. This member is used to correlate the context between the two objects.

[1] The use of Null as a value for the id member in a Request object is discouraged, because this specification uses a value of Null for Responses with an unknown id. Also, because JSON-RPC 1.0 uses an id value of Null for Notifications this could cause confusion in handling.

[2] Fractional parts may be problematic, since many decimal fractions cannot be represented exactly as binary fractions.

What is the reason for the current validation rule, which is
'id'      => 'regex:/^\d*(\.\d{2})?$/|nullable',

method delimiter
How can I change default @ to the . (dot) or : (colon)?

Hi, which rule do you think is more appropriate?
Now there is no way to change the separator:
https://github.com/sajya/server/blob/92e0e2bf3ac71ace91356e67871027d675da4c7c/src/Guide.php#L109-L110
But we can make it dynamic through PR

Hi, which rule do you think is more appropriate?
Now there is no way to change the separator:
https://github.com/sajya/server/blob/92e0e2bf3ac71ace91356e67871027d675da4c7c/src/Guide.php#L109-L110
But we can make it dynamic through PR

@tabuna It sounds good. I have few ideas about it:

I can use laravel's style config files
I can bind sajya.method.delimiter to the application container
I can append methodDelimiter property to the Request class

Which one do you prefer?
And about id validation: I think we can use the simple string validation rule. For example, then we will be able to use uuidv4 as request id

@tabuna It sounds good. I have few ideas about it:

I can use laravel's style config files
I can bind sajya.method.delimiter to the application container
I can append methodDelimiter property to the Request class

Which one do you prefer?
And about id validation: I think we can use the simple string validation rule. For example, then we will be able to use uuidv4 as request id

@tabuna ping :)

@tabuna ping :)

Hey. I think a good method was to move it to the configuration file. But one single setting seems to be meager.
What do you think about adding a second optional argument?
/**
 * Guide constructor.
 *
 * @param string[] $procedures
 */
public function __construct(array $procedures = [], string $delimiter = '@')

Then we could pass it on.
Route::rpc('/v1/endpoint', [TennisProcedure::class], '@')->name('rpc.endpoint');

Both options are acceptable.
As for validation, we have failed tests with the value string.

Hey. I think a good method was to move it to the configuration file. But one single setting seems to be meager.
What do you think about adding a second optional argument?
/**
 * Guide constructor.
 *
 * @param string[] $procedures
 */
public function __construct(array $procedures = [], string $delimiter = '@')

Then we could pass it on.
Route::rpc('/v1/endpoint', [TennisProcedure::class], '@')->name('rpc.endpoint');

Both options are acceptable.
As for validation, we have failed tests with the value string.

And about id validation: I think we can use the simple string validation rule. For example, then we will be able to use uuidv4 as request id

I have verified that the uuid1 and uuid4 IDs passed as a valid parameter. https://github.com/sajya/server/commit/f09d14b875d249fd6610622dd3600db3ed56d8cd

And about id validation: I think we can use the simple string validation rule. For example, then we will be able to use uuidv4 as request id

I have verified that the uuid1 and uuid4 IDs passed as a valid parameter. https://github.com/sajya/server/commit/f09d14b875d249fd6610622dd3600db3ed56d8cd

@tabuna
I did the best that I could do.
#12

@tabuna
I did the best that I could do.
#12

@tabuna Tnx!
One simple question: what about this ability for older versions of this package for laravel 6.x?

@tabuna Tnx!
One simple question: what about this ability for older versions of this package for laravel 6.x?

Release https://github.com/sajya/server/releases/tag/2.2.0
As for Laravel 6, I have no plans to release a release for that.
See https://github.com/sajya/server/issues/6 there a guy made a fork

Release https://github.com/sajya/server/releases/tag/2.2.0
As for Laravel 6, I have no plans to release a release for that.
See https://github.com/sajya/server/issues/6 there a guy made a fork


More measurement fixes

:tada: This PR is included in version 3.5.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Need to Access ACL metadata for Azure File Share

akhtar-hossain.txt
I have a storage account and a fileshare. I have tied this storage account with AD DS (installed on a Azure VM). I have then setup ACLs on the share. I need a way to access the metadata on the fileshare to see what is saved as the ACL permissions. Trying to get the ACL permission on the fileshare using Azure Storage Explorer I am getting the attached error:
akhtar-hossain.txt

@MAkhtarHossain The error your get is a network error. It is common seen if your client cannot resolve the hostname of the file share service to its IP address. Are you behind a proxy when using Storage Explorer? Are you running Storage Explorer on your local computer or an Azure VM?

Closing due to lack of response. If you are still encountering this problem, we recommend opening a support ticket via the Azure portal alternatively you can open a new issue here.


Make composer work on mobile browsers

 Issue by kaviththiranga
Sunday Jul 02, 2017 at 02:51 GMT
Originally opened as https://github.com/ballerina-lang/composer/issues/2241

Check the compatibility of composer on mobile browsers and fix the issues.

 Comment by NipunaMarcus
Monday Jul 03, 2017 at 05:08 GMT

Mobile browsers mean? mobile phones or tabs ... because in mobile phones viewing diagram might be bit unrealistic.

 Comment by dakshika
Monday Jul 03, 2017 at 10:41 GMT

IMO we need to support for tabs, not to the mobile

Composer is discontinued hence closing the issue.


Error when instantiating WASM files built from C/C++

Summary
I've had no luck yet running a test wasmer-java project using .wasm files built from C/C++.  The included examples with wasmer-java work fine, but anything that I've built either via emscripten or wasienv throws RuntimeExceptions with missing imports:
Additional details
a C program built using wasienv, the .wasm file runs fine when executed:
wasmer run example.wasm -- DataInput
But when testing in wasmer-java I get this error:
Exception in thread "main" java.lang.RuntimeException: Failed to instantiate the module: 9 link errors: (1 of 9) Import not found, namespace: wasi_unstable, name: fd_prestat_get (2 of 9) Import not found, namespace: wasi_unstable, name: fd_prestat_dir_name (3 of 9) Import not found, namespace: wasi_unstable, name: proc_exit (4 of 9) Import not found, namespace: wasi_unstable, name: fd_fdstat_get (5 of 9) Import not found, namespace: wasi_unstable, name: fd_close (6 of 9) Import not found, namespace: wasi_unstable, name: args_sizes_get (7 of 9) Import not found, namespace: wasi_unstable, name: args_get (8 of 9) Import not found, namespace: wasi_unstable, name: fd_seek (9 of 9) Import not found, namespace: wasi_unstable, name: fd_write 	at org.wasmer.Instance.nativeInstantiate(Native Method) 	at org.wasmer.Instance.<init>(Instance.java:45) 	at Example.main(simple.java:18)
Additionally, a C++ project built using emscripten via JS:
em++ hello.cpp fib.cpp -s STANDALONE_WASM -s ALLOW_MEMORY_GROWTH=0 -s EXPORTED_FUNCTIONS="[_new_fib, _next_val]" -Wl, --no-entry -o  hello.js || exit 1
Runs fine in the browser with javascript but when tested in wasmer-java I get this error:
Exception in thread "main" java.lang.RuntimeException: Failed to instantiate the module: link error: Import not found, namespace: wasi_snapshot_preview1, name: proc_exit 	at org.wasmer.Instance.nativeInstantiate(Native Method) 	at org.wasmer.Instance.<init>(Instance.java:45) 	at Example.main(simple.java:18)
Is there an import step I'm missing?  Or a build sequence I need to follow?  I've based the java code on the examples and it breaks at the instantiation point,:
`Path wasmPath = Paths.get(new Example().getClass().getClassLoader().getResource("hello.wasm").getPath())
// Reads the WebAssembly module as bytes.
byte[] wasmBytes = Files.readAllBytes(wasmPath);
    // Instantiates the WebAssembly module.
    Instance instance = new Instance(wasmBytes);`

The wasmer-jni*.jar is in the classpath.  I'm running this on Linux Ubuntu.  Both emscripten and wasienv are the most recent versions as of this question's posting.
Thanks for any help, I'd love to use WASM and Java if possible.

The more I look into this it appears this may be related to an already open issue: #11
I haven't found a way yet to build .wasm files from C/C++ without an import line so this would be a very nice enhancement. Thanks for the work you all have put in to this project.


--hidden not working properly or not well documented

Running node-debug --hidden "request.js" ... hides the request.js files from the debugger UI.
But the following do not work properly

Expression
Expected
Result

node-debug --hidden "request.js" --hidden "config.js" ...
hides config.js and request.js files
no hidden files

node-debug --hidden "request.js" --hidden "request.js" ...
hides request.js files
no hidden files

node-debug --hidden '["request.js"]' ...
hides request.js files
all files hidden

node-debug --hidden "['request.js']" ...
hides request.js files
all files hidden

{ "hidden": ["request.js"] }
hides request.js files
no hidden files

{ "hidden": ["request\\.js"] }
hides request.js files
no hidden files

The documentation should be more specific:

what is the correct format (inside the value)
what is the correct usage of the --hidden parameter
what is the correct format inside the config file
what has priority
what part exactly of the name/path is matched (up to what level in the tree?)

I am using node v5.8.0 wth node-debug v0.12.7 on OSX.

Thank you for verbose description.
First two cases should be fixed in https://github.com/node-inspector/node-inspector/commit/765ef7dc33132c31c1d0fdd1ddf4d461ae82bb99
Last two I'm not ready to fix now. Maybe this would be fixed only in Node Inspector 1.0-alfa (watch progress in next branch)
node-debug --hidden '["request.js"]' ... is incorrect, because there we create a RegExp, which checks diapason of symbols -> new RegExp('["request.js"]', 'i')


How to use API without logging in again?

Hello,
I was wondering if someone could please assist me with the following issue please?
http://stackoverflow.com/questions/31237478/onedrive-api-after-initial-oauth-android
Thanks,
Parth

I posted you part of the code I use, hope it helps.
Make sure to call initialize() on your authclient

Where are the factory classes?

My bad, here's my factory (you can totally inline this):
package ****;

import android.content.Context;

import ***.OneDriveOAuthConfig;

public class AuthClientFactory {

    private static AuthClient authClient;

    public static AuthClient getAuthClient(Context context) {
        if (authClient == null)
            authClient = new AuthClient(context, OneDriveOAuthConfig.getInstance(), "YOUR CLIENT ID");
        return authClient;
    }

}

This issue has been resolved and the answer is posted to the stackoverflow question linked at the beginning of this issue

@peternied parthgajaria was missin the scope wl.offiline_access. The docs say: "Allows your application to receive a refresh token so it can work offline even when the user isn't active. This scope is not available for token flow."
Maybe this section isn't clear enough. Or at least it's not clear that on android where the common flow is to have a setup activity and then consume the API somewhere else in the app the above scope is required.
First time I read the mentioned scope description I was thinking "working offline? Nah, I don't need that." It took me some time to figure I needed this for refresh tokens, too. Actually I don't get the offline part yet.

The name of the scope is really unfortunate, as it comes from a time before OneDrive, in this world offline_access, meant that you could keep a special type of authentication token offline, in the oauth docs called a refresh token.  I can understand the confusion, if you think there is a place in the docs/example where we could help make this distinction clear please file an issue, or offer a pull request.

@peternied added - this one can be closed


Use of undeclared identifier 'NSDebugDescriptionErrorKey'??

Please execute this shell command then replace it with your console output.
appledeMacBook-Air:Speech-gRPC-Streaming apple$ echo ''

appledeMacBook-Air:Speech-gRPC-Streaming apple$ echo "### OS"
### OS
appledeMacBook-Air:Speech-gRPC-Streaming apple$ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.12.6
BuildVersion:	16G1815
appledeMacBook-Air:Speech-gRPC-Streaming apple$ echo '### POD'
### POD
appledeMacBook-Air:Speech-gRPC-Streaming apple$ pod --version
1.5.3
appledeMacBook-Air:Speech-gRPC-Streaming apple$ echo "### Project"
### Project
appledeMacBook-Air:Speech-gRPC-Streaming apple$ git ls-tree --full-name --name-only HEAD Podfile
speech/Swift/Speech-gRPC-Streaming/Podfile
appledeMacBook-Air:Speech-gRPC-Streaming apple$ pwd
/Users/apple/Desktop/sp1/ios-docs-samples/speech/Swift/Speech-gRPC-Streaming

Problem | Feature

@kuiba0324 Could you please provide some more inputs on this? Where exactly are you seeing this issue?


Split test_algs to remove Plots/BenchmarkTools etc. from test env

Closed by #129 and follow up PRs


[sw/silicon_creator] Move bootstrap docs to md

We should move these docs to markdown. Ok if it is under a bootstrap section under ROM docs.
Originally posted by @moidx in https://github.com/lowRISC/opentitan/pull/14402#discussion_r951901387

Also this

Done by #17960


Async evaluation and line-tracing result in stack-overflow

Discussed in https://github.com/ruby/ruby.wasm/discussions/215
Using @next version as of 16 May 2023, commit 9aef33e178ce1fa279dba8355281e6c8d8706902.

Originally posted by sebnozzi May 16, 2023
Basically I'm evaluating some Ruby code asynchronously and using a line-handler (TracePoint).
<html>
<head>
  <title>Ruby/Wasm - Infinite Recursion on Eval/Tracing</title>
  <link rel="icon" href="data:;base64,iVBORw0KGgo=">
</head>
<body>

  <script<EMAIL_ADDRESS>
  <script type="text/ruby">
    require "js"

    # We boostrap the whole process once Ruby processing is in place
    JS.global[:window].bootStrapAsyncEval()
  </script>
  <script type="text/javascript">

    // This is the final code we want to evaluate
    window.CODE_TO_EVAL = `
      def print_numbers(e)
        (1..e).each do |x|
            puts "Number: #{x}"
        end
      end

      (1..5).each do |n|
          print_numbers n
      end
      `;

    // This contains the setup for the line-tracer
    window.TRACER_SETUP = `
      line_tracer = TracePoint.new(:line) do |tp|
        # One could remove the restriction to "(EVAL)" and the result would
        # be the same.
        puts "Line #{tp.lineno} of #{tp.path}" if tp.path == "(EVAL)"
      end
      line_tracer.enable
      `;

    // This allows us to evaluate code in JS's global scope,
    // giving the evaluation a ("file") name. By giving it a name
    // we can filter by it in the line-handler.
    window.EVAL_FN = `
      require 'js'
      def eval_code(code_name, eval_name)
        code = JS.global[:window][code_name].to_s
        scope = binding
        eval(code, scope, eval_name, 1)
      end
      `;

    window.bootStrapAsyncEval = function () {
      // I do this to rule out problems of inkoving "evalAsync" inside of
      // an already running "eval". This should take us back to the JS
      // main event loop.
      setTimeout(async function() {
        evalCodeAsync();
      }, 0);
    }

    async function evalCodeAsync() {
      const vm = window.rubyVM;

      // Get the code snippets
      const tracerSetup = window["TRACER_SETUP"];
      const evalFn = window["EVAL_FN"];
      const codeToEval = window["CODE_TO_EVAL"];

      console.log("Setting up eval function ...");
      await vm.evalAsync(evalFn);

      console.log("Setting up line tracer ...");
      await vm.evalAsync(tracerSetup);

      console.log("Evaluating code ...");
      // Either evaluating the code directly or through one layer
      // or Ruby's eval results the same problem (too much recursion).
      // I tried running Ruby's eval to change the name of the evaluated
      // code, so that I could filter it out in the line-tracer, but the
      // problem remains.
      //await vm.evalAsync(codeToEval);
      await vm.evalAsync("eval_code('CODE_TO_EVAL','(EVAL)')")
    }

  </script>

</body>
</html>

In Chrome this results in:

Not evaluating it "async", however, runs just fine:
(the async, await on JavaScript are gone)
<html>
<head>
  <title>Ruby/Wasm - Infinite Recursion on Eval/Tracing</title>
  <link rel="icon" href="data:;base64,iVBORw0KGgo=">
</head>
<body>

  <script<EMAIL_ADDRESS>
  <script type="text/ruby">
    require "js"

    # We boostrap the whole process once Ruby processing is in place
    JS.global[:window].evalCodeSync()
  </script>
  <script type="text/javascript">

    // This is the final code we want to evaluate
    window.CODE_TO_EVAL = `
      def print_numbers(e)
        (1..e).each do |x|
            puts "Number: #{x}"
        end
      end

      (1..5).each do |n|
          print_numbers n
      end
      `;

    // This contains the setup for the line-tracer
    window.TRACER_SETUP = `
      line_tracer = TracePoint.new(:line) do |tp|
        # One could remove the restriction to "(EVAL)" and the result would
        # be the same.
        puts "Line #{tp.lineno} of #{tp.path}" if tp.path == "(EVAL)"
      end
      line_tracer.enable
      `;

    // This allows us to evaluate code in JS's global scope,
    // giving the evaluation a ("file") name. By giving it a name
    // we can filter by it in the line-handler.
    window.EVAL_FN = `
      require 'js'
      def eval_code(code_name, eval_name)
        code = JS.global[:window][code_name].to_s
        scope = binding
        eval(code, scope, eval_name, 1)
      end
      `;

    function evalCodeSync() {
      const vm = window.rubyVM;

      // Get the code snippets
      const tracerSetup = window["TRACER_SETUP"];
      const evalFn = window["EVAL_FN"];
      const codeToEval = window["CODE_TO_EVAL"];

      console.log("Setting up eval function ...");
      vm.eval(evalFn);

      console.log("Setting up line tracer ...");
      vm.eval(tracerSetup);

      console.log("Evaluating code ...");
      vm.eval("eval_code('CODE_TO_EVAL','(EVAL)')")
    }

  </script>

</body>
</html>

What's going on? I am doing anything wrong?
Any ideas?

I think this thread would be helpful for you https://github.com/ruby/ruby.wasm/issues/133
Also I've made an improvement in stack usage https://github.com/ruby/ruby/commit/8945143464de77ca43eba000f77c5d04a1cdabb8, so I hope it will be much better from the tomorrow's snapshot.

I would like to try it out, but even if I request @next here:

still it requests the "stable" ("old") 1.0.1-2023-05-15-a, so I guess the changes are not there:
<EMAIL_ADDRESS>

yes, wait for a while

Sorry, I totally missed the timestamp. Yes, of course - I can wait one or two days :-) Thanks!

I think this thread would be helpful for you #133 Also I've made an improvement in stack usage ruby/ruby@8945143, so I hope it will be much better from the tomorrow's snapshot.

Seems to work better now, thanks!
Issue seems solved to me.
Maybe it's correct to close it once the improvement is released.


FS: add "leave pool"

@AMIRKHANEF

leave pool menu icon is grey while it is enabled
in wait screen it has shown a waiting progress animation which we do not use for wait screen while submitting transactions

Fixed


Does not execute the codes when creating the email

Please fill in the following fields:
Unity editor version: 20183.6f1
Firebase Unity SDK version: 5.4.4
Additional SDKs you are using (Facebook, AdMob, etc.):
Platform you are using the Unity editor on (Mac, Windows, or Linux): Windows
Platform you are targeting (iOS, Android, and/or desktop): Android
auth.CreateUserWithEmailAndPasswordAsync(email, password).ContinueWith(task => {
if (task.IsCanceled) {
Debug.LogError("CreateUserWithEmailAndPasswordAsync was canceled.");
return;
}
if (task.IsFaulted) {
Debug.LogError("CreateUserWithEmailAndPasswordAsync encountered an error: " + task.Exception);
return;
}
// Firebase user has been created.
Firebase.Auth.FirebaseUser newUser = task.Result;
Debug.LogFormat("Firebase user created successfully: {0} ({1})",
newUser.DisplayName, newUser.UserId);
SceneManager.LoadScene("Login"); // **does not execute codes in this part **
titulo.text = user.DisplayName; // **does not execute codes in this part **
});
because I can not execute tasks in this part of the script, so as to perform the email registration it will follow for a new task, I have difficulties, everything that text inside does not work
I'm already tired, days trying.

The likely cause is that the code in the ContinueWith is not run on the Unity main thread.  You can either make the callback happen on the main thread (this GitHub issue thread can help: https://github.com/firebase/quickstart-unity/issues/261), or you can set a flag in the ContinueWith, and in a MonoBehaviour's Update() call check for that flag, and do the LoadScene from there.

return auth.CreateUserWithEmailAndPasswordAsync(userLogin.email, userLogin.password)
.ContinueWith((task) => {
return RunOnMainThread(HandleCreateUser(task));
});
I'm sorry for the amateur questions, but how do I use this final call?
I create a function with this name HandleCreateUser (task)?
inside () what component do I put in this created function?
within this function, are the functions I want to be performed in conjunction with the creation of emails?
It is very important that I can solve this issue.

You could either add it inline, like
auth.CreateUserWithEmailAndPasswordAsync(email, password).ContinueWith((task) => {
  return RunOnMainThread(() => {
    // Add functions to call, like SceneManager.LoadScene(...)
  });
});

or add it to a class as a function, and pass it along as shown in that other post.

What library is this code in?
RunOnMainThread
I could not find it in mine, I used it here
using System.Threading.Tasks;
I just found Task.Run ();
and if it is the same, I am still facing the Problem.
What happens is that I need to detect when there has been an Error or cancellation of the Cadastre to take action on this.
If the User uses a wrong email or password, how can I return an action, where can I receive this information?
All that is used in conjunction with an Error, task.IsFaulted, hangs the App.

Sorry @H4rdG4m3, the RunOnMainThread() @a-maurice was referring to is described here.

The likely cause is that the code in the ContinueWith is not run on the Unity main thread. You can either make the callback happen on the main thread (this GitHub issue thread can help: #261), or you can set a flag in the ContinueWith, and in a MonoBehaviour's Update() call check for that flag, and do the LoadScene from there.

Oh man, I've been searching this issue for some days now, you really helped me out, cheers!

Hi @H4rdG4m3, would like to double check if your issue has been resolved.

Hi, as you said you are somewhat of an amateur, and the solution they provided you can get a bit overcomplex. A way easier (and quicker) workaround for making the "ContinueWith" function run in the main thread (so it can execute "Unity code", is like this:
auth.CreateUserWithEmailAndPasswordAsync(email, password).ContinueWith(task => {      // Whatever code you have here to check if the creation of the user failed or succeded }, TaskScheduler.FromCurrentSynchronizationContext());
So, basically, add the "TaskScheduler.FromCurrentSynchronizationContext()" as a second parameter to the "ContinueWith" function, and it will make it run in the main thread. This way, things like "LoadScene" will work inside Firebase functions.
Hope you can implement it and it's useful to you.

TonyaGitHub you are wonderuful. I had the same issue, and I did not get how to write into the Main Thread. Your solution works like charm. Thank you so much, people like you make the world better, at least mine.
Wuhuuuuu..... :D

Since we haven't heard from anyone on this thread for a while we're closing this out.

TaskScheduler.FromCurrentSynchronizationContext());

Please full code


ngrok2actions.sh: line 42: ngrok: command not found

Run P3TERX/ssh2actions@main
[INFO] Install ngrok ...
Archive:  ngrok.zip
  inflating: ngrok
sudo: no tty present and no askpass program specified
/actions-runner/_work/_actions/P3TERX/ssh2actions/main/ngrok2actions.sh: line 42: ngrok: command not found
[INFO] Set user(actions-runner) password ...
sudo: no tty present and no askpass program specified
[INFO] Start ngrok proxy for SSH port...
[INFO] Please wait 10s ...
[INFO] Please wait 9s ...
[INFO] Please wait 8s ...
[INFO] Please wait 7s ...
[INFO] Please wait 6s ...
[INFO] Please wait 5s ...
[INFO] Please wait 4s ...
[INFO] Please wait 3s ...
[INFO] Please wait 2s ...
[INFO] Please wait 1s ...
grep: /tmp/ngrok.log: No such file or directory

Error: Process completed with exit code 4.

It looks like ngrok is not being installed correctly for some unknown reason, you can try re-running it.

It looks like ngrok is not being installed correctly for some unknown reason, you can try re-running it.


TypeError: Cannot read property 'slider' of undefined

I'm using JavaScript API 3.19, Workflow manager 10.5.1, SDE database 10.5.1, ArcGIS Server 10.3.1.  Not sure if this error is due to Server 10.3.1 needing upgraded or something else?
Could anyone please provide suggestions?
Thanks!

Hi Melisa,
What version of the Workflow Manager JavaScript viewer are you using?  If you're using ArcGIS Server 10.3.1, you should be using the 10.3.1 version of the Workflow Manager JavaScript viewer.
The error you're seeing is coming from initializing the map.  You should have a  navigation slider property in your AppConfig.js file.  If ithe slider is not needed, you'll need to set isEnabled to false.
Example:
navigation: {
   slider: {
      isEnabled: false,

Hope that helps.

Thanks!  I needed a reason to upgrade our server installation!
Appreciate your help!
Melisa M. McLean
GIS Manager
St. Louis County GIS Service Center
41 S Central Ave, 3rd Fl
Clayton, MO 63105
314.615.3899
mmclean<EMAIL_ADDRESS>http://data.stlouisco.com
From: Lalaine Lam<EMAIL_ADDRESS>Sent: Wednesday, December 13, 2017 3:51 PM
To: Esri/workflowmanager-viewer-js<EMAIL_ADDRESS>Cc: McLean, Melisa<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [Esri/workflowmanager-viewer-js] TypeError: Cannot read property 'slider' of undefined (#9)
Hi Melisa,
What version of the Workflow Manager JavaScript viewer are you using? If you're using ArcGIS Server 10.3.1, you should be using the 10.3.1 version of the Workflow Manager JavaScript viewerhttps://github.com/Esri/workflowmanager-viewer-js/tree/10.3.1.
The error you're seeing is coming from initializing the map. You should have a navigation slider property in your AppConfig.jshttps://github.com/Esri/workflowmanager-viewer-js/blob/master/js/app/WorkflowManager/config/AppConfig.js file. If ithe slider is not needed, you'll need to set isEnabled to false.
Example:
navigation: {
slider: {
  isEnabled: false,

Hope that helps.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Esri/workflowmanager-viewer-js/issues/9#issuecomment-351536418, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AMLPva6EE1PfE6F63MhBW8gwet4cqXYJks5tAEbBgaJpZM4RBNOL.


README.md file is incomplete

Good work Simeon,
Some of the links in your README file still do not work. Please fix them! Thanks


Need support of high-rate subscriber traffic in Mbps for scaled subscribers

Problem Statement:

In Scaled Subscribers Scenario say 18K Subscribers, BngBlaster(including Bngblaster infra) need to support
high rate traffic per subscriber.

Description:
Lets take example of 18K Subscribers with per subscriber 250Kbps rate downstream & 250Kbps upstream.
18K * 500Kbps ==> 9000Kbps ==> 9Gbps approximately.
Thanks,
Dharmendra

There are some common performance improvements included in the next release 0.8 including multithreaded RX/TX. This release includes also initial DPDK support (experimental) to further improve throughput.

Fixed with version 0.8.36!


Add a keyboard shortcut to prettify the query from the editor

Resolves #379.
This applies from the query editor and the variable editor, just like the "Run Query" keyboard shortcut.
I have successfully tried this using npm run dev, and npm test passes locally.
It took me forever to find a key combination that was not already taken over by another part of the system, and none of those mentioned in #379 worked. In the end, Cmd/Ctrl+P was the only combination that worked. I'm guessing CodeMirror (or else) attempts to leave it free for browser native behavior.
The real question is: does GraphiQL really need the print console to be accessible from a keyboard shortcut or not? If yes, feel free to pull this PR and play with different combinations.
(I am speaking at an event in less than a week where I am going to present GraphQL and GraphiQL, so I will not have a lot of time to spend on this unfortunately. This event/demo is also what brought me to make use of this feature 😅)

Hello dear GraphiQL maintainers!
I opened this PR some time ago as @asiandrummer kindly requested a PR in https://github.com/graphql/graphiql/issues/379.
Any chance you could take a look at it? 🙏 🙏 🙏
This is still a feature I would love to use in the editor!
Thanks!

Thanks for this @astorije. Can we go with Shift-Ctrl-L and Shift-Cmd-Las [suggested here](https://github.com/graphql/graphiql/issues/379#issuecomment-287200235)? I thinkCtrl-P/Cmd-P` is usually use to bring up the print dialog, so appropriating it for another use probably isn't a good idea.

Hey @wincent!
Unfortunately, I wish, but my various attempts at third combination were unsuccessful. I don't know if you saw my comment about it in the PR description:

It took me forever to find a key combination that was not already taken over by another part of the system, and none of those mentioned in #379 worked. In the end, Cmd/Ctrl+P was the only combination that worked. I'm guessing CodeMirror (or else) attempts to leave it free for browser native behavior.
The real question is: does GraphiQL really need the print console to be accessible from a keyboard shortcut or not? If yes, feel free to pull this PR and play with different combinations.

I totally understand re: print dialog, but it's the only combination that I could have working. Since print dialog is still asleep from browser menus, I figured it was an acceptable trade-off.
Open to suggestions and help obviously :)

Ah, bummer. Let's continue discussion on the PR then.

Er, lol, I know realize I am commenting on the PR. Sorry.

I wonder if it is order-sensitive (the examples in the docs generally put Shift- first, for example. Did you try different orderings?

Hey @wincent, let me give it another try tonight. That was 5 months ago, I don't remember what I tried anymore :)
However, assuming they all work and it was ordering issue, what about Shift+Ctrl/cmd+P (for "prettify") instead of Shift+Ctrl/cmd+L? Considering the few shortcuts GraphiQL currently has, "L" seems a bit random :)

I'd be fine with either of those.

Sweet, I'll try that, thanks @wincent. Sorry I couldn't get to do that tonight, I'll try my luck tomorrow night.

Hey ladies and guys, are you going to print your queries? If not, let' reserve Ctr+P or Cmd+P for quick action menu.
If only choice will be prettify, huh, stone landed.
Building better IDE!
Extension API will follow, I'm sure…
After this changes everybody should agree with this..
GraphiQL has potential as an IDE

Well I'll be damned, it looks like order did matter, not very smart of me to not try that in the first place! Thanks @wincent!
I went for Shift+Ctrl+P and didn't include the Cmd version because the Ctrl works on macOS as well.
I think I'm all set, is there anything else you need for this, @wincent? 😊

@astorije let's document this in README, and feel free to merge it please!

@asiandrummer, will do ASAP!

@asiandrummer, will do ASAP! Any expectations on where/how? I don't see other shortcuts documented there so far so asking just in case :)

@astorije actually you've written one in the GraphiQL.js already - let me merge this! Thanks :D

Yay, sweet, thank you @asiandrummer!! :tada:


Added get_bone_global_rest() to Skeleton3D

Global rest is already used in SkeletonGizmo, but is hardcoded because there is no other part of SkeletonGizmo that uses it. It may have been used in skining before, but I don't remember.
Global rest is useful for retargeting and some bone modifiers. I have already confirmed that it is necessary, especially for runtime retargeting.
For performance, global_rest should be cached, but it is difficult to detect changes in rest externally. Rather than adding a signal for this, it would make more sense to have global rest as an API in Skeleton, so that it can be used in SkeletonGizmo as well as for future expansion.

Thanks!


Dev/dmitrypa orazve gaps

T191, T204 in adaboost, decision_tree, stump and other algorithms modified by orazve

make test

make test

make test

make test

make test


Add WebSocketSupport to the ServerBuilder mechanism

Compatible backends can enable websockets with
myBuilder.withWebSockets(true /* or 'false' */)

Blaze server builder supports the new mechanism.

@rossabaker, should we wait for further review on this or is it good to go?

thx! @bryce-anderson. Just saw this today for some reason.


tmp

Change-Id: I44e15b01331657ccb62ee52aad18a25f19c0ea8d

Code Review comments can be found at https://gerrithub.io/q/I44e15b01331657ccb62ee52aad18a25f19c0ea8d

Code Review comments can be found at https://gerrithub.io/q/I44e15b01331657ccb62ee52aad18a25f19c0ea8d


3D Viewport controls are not working properly in godot 3.2.2 after fresh installion

Godot version:
3.2.2
OS/device including version:
Windows 10
Issue description:
I installed Godot For the first time and when I try to follow an online instructor on how he controls the 3D viewport nothing seems to work in my system. For Example -

Instructor said to use Middle-Mouse-Button for orbiting but for me it does not work. But Orbiting worked when I HELD RIGHT-CLICK.
2)Instructor said to use SHIFT + Middle-Mouse-Button for panning but for me it does not work at all. I am still unable to pan in GODOT

Please Help I really want to learn and use GODOT.

But Orbiting worked when I HELD RIGHT-CLICK.

Holding the right mouse button will toggle freelook mode in 3D, which is different from orbiting around a fixed point. (That said, the middle and right mouse button do the same thing in 2D, which is panning.)
PS: Godot is written as a proper noun, not in uppercase. It's not an acronym.

I have checked my mouse and it seems that the problem is of my mouse, due to COVID-19 in my area there is no new mouse available for purchase. Now I have a laptop with touchpad, I tried to enable middle mouse button in touchpad and it seems that my laptop's touchpad is not supported. Can I control the 3D Viewport with only touchpad ?
If YES then How ?
In the previous @Calinou has suggested me enable 3-Button Mouse Emulation Mode, I have enabled it but after enabling it How do I control the 3D Viewport ?
I hope I get the answer quickly so that I can start learning 3D Game Development in Godot soon.
Thank You :)

You could rely on freelook mode by pressing Shift + F then moving the mouse and using W/A/S/D/Q/E movement keys. Use the mouse wheel to adjust freelook speed. Press Escape to leave freelook mode.

The Controls which you said are working great !!
Thanks a lot @Calinou for help.


Refactor payment form

[x] The commit message follows our guidelines: https://github.com/graycoreio/daffodil/blob/master/CONTRIBUTING.md#commit
[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?
[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[x] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

Does this PR introduce a breaking change?
[ ] Yes
[x] No

@lderrickable can you squash into the revelant commit set and then I'll merge?

@lderrickable can you squash into the revelant commit set and then I'll merge?

squished


Batch search in-memory without index results in TypeError if you pass document_metadatas

My code:
def rag(args: SearchArgs) -> List[List[SearchResult]]:
    RAG = RAGPretrainedModel.from_pretrained("colbert-ir/colbertv2.0", verbose=0)
    metadata = [doc["metadata"] for doc in args["docs"]]
    RAG.encode(
        [doc["content"] for doc in args["docs"]],
        document_metadatas=metadata,
    )
    k = args.get("k", 5)
    search_results = RAG.search_encoded_docs(query=args["query"], k=k)
    # ....
    return search_results

res = rag(
    {
        "query": ["Hello World", "This is a test"],
        "docs": [
            {"content": "doc1", "metadata": {"id": 0}},
            {"content": "doc2", "metadata": {"id": 1}},
        ],
    }
)

Error:
Documents encoded!
Traceback (most recent call last):
  File "/Users/james/Projects/TS/open-recommender/packages/cli/src/rag/rag.py", line 996, in <module>
    res = rag(
          ^^^^
  File "/Users/james/Projects/TS/open-recommender/packages/cli/src/rag/rag.py", line 37, in rag
    search_results = RAG.search_encoded_docs(query=args["query"], k=k)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/james/Projects/TS/open-recommender/env/lib/python3.11/site-packages/ragatouille/RAGPretrainedModel.py", line 377, in search_encoded_docs
    return self.model.search_encoded_docs(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/james/Projects/TS/open-recommender/env/lib/python3.11/site-packages/ragatouille/models/colbert.py", line 722, in search_encoded_docs
    result["result_index"]
    ~~~~~~^^^^^^^^^^^^^^^^
TypeError: list indices must be integers or slices, not str

One thing I found confusing, and which seems to be causing this error too, is that search_encoded_docs returns either List[SearchResult] or a nested List[List[SearchResult]] depending on the number of queries. Maybe it would be better to just always return List[List[SearchResult]] otherwise we have to implement conditional logic based on the number of queries we pass, which we might not know ahead of time?
The error does not happen if I only pass one query, or if I don't pass document_metadatas.
Workaround:
def rag(args: SearchArgs) -> List[List[SearchResult]]:
    RAG = RAGPretrainedModel.from_pretrained("colbert-ir/colbertv2.0", verbose=0)
    metadatas = [doc["metadata"] for doc in args["docs"]]
    RAG.encode(
        [doc["content"] for doc in args["docs"]],
        # document_metadatas=metadatas,
    )
    k = args.get("k", 5)
    search_results = RAG.search_encoded_docs(query=args["query"], k=k)
    if type(search_results[0]) is not list:
        for result in search_results:
            result["metadata"] = metadatas[result["result_index"]]
        return [search_results]
    else:
        for batch in search_results:
            for result in batch:
                result["metadata"] = metadatas[result["result_index"]]
        return search_results

Hey, thank you for flagging. You're pretty much right on point as to what's going on. The search results should really be migrated to validated pedantic objects (soon ™) to avoid further issues of this kind.
I think for now (to avoid breaking workflows), we'll stick with List[SearchResults] | List[List[SearchResults]], and update the post-processing logic accordingly, though unifying the return type in the future would probably be a good shout.
(will fix this particular issue in a release soon!)

Sounds good, thanks a lot!


fix: prompt tester to have latest result

The prompt tester modal did not get updated when a user changed the prompt content. This fix should re-render the prompt modal tester whenever, which will cause an update of the fields.

Linking issue #19 as originally reported


support custom parameters defined in urlconf

If developer define custom parameters in their urlconf, then TypeError shows when they accessing the action API:

Wow, great catch @gsfish , thank you!
If possible, can you please a test case covering this issue?
Then I will merge and publish a fixed version 😉

Thank you for your contribution, django-reversion-rest-framework version 1.1.2 has just been released! 🎉


Sort CMIP6_CV.json entries to maintain upstream consistency

@dnadeau4 I was checking the CMIP6_CV.json values in this repo against their upstream version and noted that you are not sorting (like in the upstream versions).
This made me think that you were missing values, which isn't the case.
Would it be easy to sort the outputs? This will also make debugging easier..
It's as easy as adding some additional keywords, this is what I do for the upstream:
json.dump(jsonDict, fH, ensure_ascii=True, sort_keys=True, indent=4, separators=(',', ':'), encoding="utf-8")

You wont sort_keys=True or object_pairs_hook=OrderedDict to keep the original order?

@dnadeau4 the original files are written with sort_keys=True so that should maintain consistency

How is that?
CMIP6_CV.json.txt

I think @taylor13 wanted the experiment_id at the end...

@dnadeau4 having version_metadata at the end makes sense to me..

I used to have required_global_attributes at the top which was easy to find.  And I had my extraneous check at the end.  Now it is confusing...

What about this one?  I kept your order for each file but create my own order for the main CV section.
CMIP6_CV.json.txt

@dnadeau4 yeah that's fine, I just wanted each of the sub-entries to maintain sort order, otherwise it's too hard to figure out what is missing or isn't

Ok, let's keep it this way...

@dnadeau4
I still think it is easier for users to browse (if that's iimportant) if the very long lists are last:  institution_id, source_id, and experiment_id.   (We expect both source_id and institution_id to grow in size.)

@taylor13
Can you re-order as you feel is right?  (Computers don't really care...)
I read all WCRP in the followin order and then add my 1 line regular expression at the end of the file.
        "CMIP6_required_global_attributes.json",
        "CMIP6_activity_id.json",
        "CMIP6_institution_id.json",
        "CMIP6_source_id.json",
        "CMIP6_source_type.json",
        "CMIP6_frequency.json",
        "CMIP6_grid_label.json",
        "CMIP6_nominal_resolution.json",
        "CMIP6_realm.json",
        "CMIP6_table_id.json",
        "CMIP6_license.json",
        "mip_era.json",
        "CMIP6_sub_experiment_id.json",
        "CMIP6_experiment_id.json"

And I add this.
        "product":[
            "model-output"
        ],
        "tracking_id":[
            "hdl:21.14100/.*"
        ],
        "further_info_url":[
            "http://furtherinfo.es-doc.org/[[:alpha:]]\\{1,\\}"
        ],
        "realization_index":[
            "^\\[\\{0,\\}[[:digit:]]\\{1,\\}\\]\\{0,\\}$"
        ],
        "variant_label":[
            "r[[:digit:]]\\{1,\\}i[[:digit:]]\\{1,\\}p[[:digit:]]\\{1,\\}f[[:digit:]]\\{1,\\}$"
        ],
        "data_specs_version":[
            "^[[:digit:]]\\{2,2\\}\\.[[:digit:]]\\{2,2\\}\\.[[:digit:]]\\{2,2\\}$"
        ],
        "Conventions":[
            "^CF-1.7 CMIP-6.0\\( UGRID-1.0\\)\\{0,\\}$"
        ],
        "forcing_index":[
            "^\\[\\{0,\\}[[:digit:]]\\{1,\\}\\]\\{0,\\}$"
        ],
        "initialization_index":[
            "^\\[\\{0,\\}[[:digit:]]\\{1,\\}\\]\\{0,\\}$"
        ],
        "physics_index":[
            "^\\[\\{0,\\}[[:digit:]]\\{1,\\}\\]\\{0,\\}$"
        ]

@taylor13 @durack1 do you care about the order of information in the CMIP6_CV.json file?

@durack1 can we close?

@dnadeau4 yep looks good to me, we can always revisit in the future if required


Issue with k8s.io/docs/getting-started-guides/minikube/

This is a Bug Report in Using Minikube with an HTTP Proxy.
Problem:
origin is:
minikube start --docker-env HTTP_PROXY=http://$YOURPROXY:PORT
--docker-env HTTPS_PROXY=https://$YOURPROXY:PORT
in my environment, it needs low-case for http_proxy and https_proxy, which looks like as below:
minikube start --docker-env http_proxy=http://$YOURPROXY:PORT
--docker-env https_proxy=https://$YOURPROXY:PORT
Proposed Solution:
change to low-case for http_proxy and https_proxy
Page to Update:
https://kubernetes.io/docs/getting-started-guides/minikube/

1.6.4

@fanfanbj Do you think there is any disruption in the functionality with the current content ? Could you please direct me to the style guide that states the given option should be given in lower case.
cc @zacharysarah

@radhikapc, in fact, I can successfully run "minikube start" with upper-case HTTP_PROXY and HTTPS_PROXY. But, the setting doesn't work. I need a http proxy to pull images in gcr.io. When I change to lower case, it works.


For save/restore state, only save/restore each filter's term prop.

See #3397 for more info.

I think we want to store more than just the term - we allow custom filters which could add other properties to the filter object.


"405 Method not Allowed" while launching server

When I attempt to execute npm run server localhost 8123 1XXXXXXXXXX, I receive the following:
><EMAIL_ADDRESS>server
> node src/server.js localhost 8123 1XXXXXXXXXX

[20:09:46.801] INFO (2300): connection update {"connection":"connecting","receivedPendingNotifications":false}
[20:09:51.414] INFO (2300): connection update {"connection":"close","lastDisconnect":{"error":{"data":{"reason":"405","location":"odn"},"isBoom":true,"isServer":false,"output":{"statusCode":405,"payload":{"statusCode":405,"error":"Method Not Allowed","message":"Connection Failure"},"headers":{}}},"date":"2023-10-10T20:09:51.400Z"}}

The phone number is registered with WhatsApp, and I can send messages to it via a different WhatsApp address.
I expected to see a QR code during the first run. Did I do something wrong? Any other thoughts about how to debug the issue?

Same here: Maybe it has something to to with this bug? https://github.com/WhiskeySockets/Baileys/issues/353
# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.4 LTS
Release:        22.04
Codename:       jammy

# npm -v
10.2.4

# node -v
v20.11.1


feat: add image upload to editor

Closes: https://github.com/snapshot-labs/sx-ui/issues/698
This PR adds image upload via drag and drop or clicking bottom bar similar to Github.
Screenshots

Awesome! Few suggestions:

Use ipfs:// URLs instead of the URL with gateway, and replace the images link in preview / proposal content on the fly with the current IPFS gateway setup.
Remove the footer bar and instead add an image icon in the header bar.
We could remove "Description" label in the textarea, it's taking space for not much reason there is already label for this field.

Also can we show an error message if the image upload fail?

Still not seeing error message when uploading large image


easyrsa installation stuck on maas cloud

mfritsche@hawking:~$ juju status
Model                        Controller                     Cloud/Region    Version  SLA
conjure-kubernetes-core-831  conjure-up-cloud-maas-3a7-f3f  cloud-maas-3a7  2.3.3    unsupported

App                Version  Status       Scale  Charm              Store       Rev  OS      Notes
easyrsa                     waiting        0/1  easyrsa            jujucharms   33  ubuntu
etcd               2.3.8    blocked          1  etcd               jujucharms   74  ubuntu
flannel            0.9.1    blocked          2  flannel            jujucharms   50  ubuntu
kubernetes-master  1.9.3    maintenance      1  kubernetes-master  jujucharms   97  ubuntu  exposed
kubernetes-worker  1.9.3    waiting          1  kubernetes-worker  jujucharms  106  ubuntu  exposed

Unit                  Workload     Agent       Machine  Public address  Ports  Message
easyrsa/0             waiting      allocating  1/lxd/0                         waiting for machine
etcd/0*               blocked      idle        1        <IP_ADDRESS>          Missing relation to certificate authority.
kubernetes-master/0*  maintenance  idle        1        <IP_ADDRESS>          Rendering authentication templates.
  flannel/0           blocked      idle                 <IP_ADDRESS>          Waiting for etcd relation.
kubernetes-worker/0*  waiting      idle        0        <IP_ADDRESS>          Waiting for cluster DNS.
  flannel/1*          blocked      idle                 <IP_ADDRESS>          Waiting for etcd relation.

Machine  State    DNS            Inst id              Series  AZ       Message
0        started  <IP_ADDRESS>  cytqek               xenial  default  Deployed
1        started  <IP_ADDRESS>  wfxe34               xenial  default  Deployed
1/lxd/0  pending                 juju-ad779b-1-lxd-0  xenial  default  Container started

Relation provider                    Requirer                             Interface         Type         Message
easyrsa:client                       etcd:certificates                    tls-certificates  regular
easyrsa:client                       kubernetes-master:certificates       tls-certificates  regular
easyrsa:client                       kubernetes-worker:certificates       tls-certificates  regular
etcd:cluster                         etcd:cluster                         etcd              peer
etcd:db                              flannel:etcd                         etcd              regular
etcd:db                              kubernetes-master:etcd               etcd              regular
kubernetes-master:cni                flannel:cni                          kubernetes-cni    subordinate
kubernetes-master:kube-api-endpoint  kubernetes-worker:kube-api-endpoint  http              regular
kubernetes-master:kube-control       kubernetes-worker:kube-control       kube-control      regular
kubernetes-worker:cni                flannel:cni                          kubernetes-cni    subordinate

I didn't read up on apparmor yet; looks like the image installed and the lxd are interfering:
juju ssh 1
dmesg | tail

[   31.954155] audit_printk_skb: 18 callbacks suppressed
[   31.954160] audit: type=1400 audit(1520575062.218:90): apparmor="DENIED" operation="mkdir" profile="snap.kube-apiserver.daemon" name="/run/kubernetes/" pid=3165 comm="kube-apiserver" requested_mask="c" denied_mask="c" fsuid=0 ouid=0
[   33.182497] audit: type=1400 audit(1520575063.446:91): apparmor="DENIED" operation="mkdir" profile="snap.kube-apiserver.daemon" name="/run/kubernetes/" pid=3327 comm="kube-apiserver" requested_mask="c" denied_mask="c" fsuid=0 ouid=0
[   34.951107] audit: type=1400 audit(1520575065.213:92): apparmor="DENIED" operation="mkdir" profile="snap.kube-apiserver.daemon" name="/run/kubernetes/" pid=3421 comm="kube-apiserver" requested_mask="c" denied_mask="c" fsuid=0 ouid=0
[   35.928563] audit: type=1400 audit(1520575066.189:93): apparmor="DENIED" operation="mkdir" profile="snap.kube-apiserver.daemon" name="/run/kubernetes/" pid=3548 comm="kube-apiserver" requested_mask="c" denied_mask="c" fsuid=0 ouid=0
[   36.764949] audit: type=1400 audit(1520575067.025:94): apparmor="DENIED" operation="mkdir" profile="snap.kube-apiserver.daemon" name="/run/kubernetes/" pid=3619 comm="kube-apiserver" requested_mask="c" denied_mask="c" fsuid=0 ouid=0
[   41.229644] br-enp0s3: port 2(veth9718FG) entered forwarding state

Hi @marfrit, please run our CDK Field Agent tool and attach the resulting tarball to this issue.

results-2018-03-09-12-38-22.tar.gz
I did create a new install since I had to destroy the previous one, but that's the tarball for the same state.

Don't know it it's significant or not, but the LXD host on machine 0 (0/lcd/0 should be the easyrsa) has some lines about not being able to adjust/ create AppArmor configurations:
./syslog:Mar  9 11:18:46 fancy-pony snapd[1101]: 2018/03/09 11:18:46.227843 backend.go:152: cannot create host snap-confine apparmor configuration: cannot replace snap-confine apparmor profile: AppArmor parser error for /etc/apparmor.d/snap.core.4110.usr.lib.snapd.snap-confine in /etc/apparmor.d/snap.core.4110.usr.lib.snapd.snap-confine at line 11: Could not open '/var/lib/snapd/apparmor/snap-confine' ./syslog:Mar  9 11:19:30 fancy-pony kube-apiserver.daemon[11331]: error creating self-signed certificates: mkdir /var/run/kubernetes: permission denied

Hey sorry, just now looking into this.

the easyrsa part might need the cpu virtualization feature, fails to start, and the whole installation gets stuck there?

This is a good thought, but I don't think that should cause any problems here since LXD isn't dependent on CPU virtualization support. Either way, I've just tested a kubernetes-core deployment on a MAAS cluster with qemu/kvm nodes and everything came up fine, including machine 0/lxd/0, so I think there's something else going on.
Unfortunately cdk-field-agent missed a lot of info that would be helpful in troubleshooting this. I see in machine-0.log that it successfully creates the LXD container:
started machine 0/lxd/0 as instance juju-dcc12f-0-lxd-0 with hardware "availability-zone=default", network config [{DeviceIndex:0 MACAddress:00:16:3e:03:91:cd CIDR:<IP_ADDRESS>/24 MTU:1500 ProviderId:133 ProviderSubnetId:4 ProviderSpaceId: ProviderAddressId:889 ProviderVLANId:5002 VLANTag:0 InterfaceName:eth0 ParentInterfaceName:br-enp0s3 InterfaceType:ethernet Disabled:false NoAutoStart:false ConfigType:static Address:<IP_ADDRESS> DNSServers:[<IP_ADDRESS>] DNSSearchDomains:[maas] GatewayAddress:<IP_ADDRESS> Routes:[] IsDefaultGateway:false}], volumes [], volume attachments map[], subnets to zones map[]

But it never comes up. I'd guess either the container fails to run entirely, or it runs but has some problem with network connectivity.
@marfrit can you try the following commands?

juju debug-log -m controller --replay - this will show you the Juju controller logs, which might include additional details about machine 0/lxd/0
juju ssh 0 sudo lxc list - you should hopefully see a single container with a name like juju-c5c0d6-0-lxd-0, in a RUNNING state, with an ipv4 address
juju ssh 0 sudo lxc exec <container-name> bash - this should enter the container and give you a prompt, at which point you can look around and make sure the network is up

Feel free to share the output of any of the above and I'll do my best to help.


The checker keeps saying that I redefined my types, ignoring #pragma once

This is completely outside the scope of a formatting tool. Assuming this is a problem that occurs with clang, maybe you should report that to LLVM.


[Bug] Tx Error: Candidate contains blocks from future exceeding clock skew limit

Send with Ledger X fails with
[MacBook3:cardano.node.ChainDB:Error:26] [2021-01-26 09:10:11.79 UTC] Candidate contains blocks from future exceeding clock skew limit: 85674e88d957a8b27562be3372d90c968a592aad7654febaf785f43276c2bc2a at slot 20085927, slots 85674e88d957a8b27562be3372d90c968a592aad7654febaf785f43276c2bc2a@20085927

I resynched from an empty block store, but still ^^^
On my Ledger I noticed an epoch very far into the future (i.e. 544) we are currently on 244, perhaps that has something to do with it.

The TTL is hardcoded far in the future at the moment.
We will be changing this to a dynamic calculated TTL soon, but I don't think this is a root cause of the issue you are seeing.
@KtorZ can you please look into this?

The TTL is hardcoded far in the future at the moment.
We will be changing this to a dynamic calculated TTL soon, but I don't think this is a root cause of the issue you are seeing.
@KtorZ can you please look into this?

@nikolaglumac I don't think this has anything to do with the transaction's TTL. This is an error from the ledger database which is probably due to a wrong offset on the local clock.
I don't recall seeing this error every to be frank. We'll need to ask someone from the consensus team. @coot, does that ring any bell to you or do you know someone for whom it might :no_mouth: ?

@nikolaglumac I don't think this has anything to do with the transaction's TTL. This is an error from the ledger database which is probably due to a wrong offset on the local clock.
I don't recall seeing this error every to be frank. We'll need to ask someone from the consensus team. @coot, does that ring any bell to you or do you know someone for whom it might :no_mouth: ?

@tdiesler can you please check if this issue still persists on the latest Daedalus Mainnet 3.2.0 🙏

I've since been able to send with 3.2.0. We can close this if you like.

As far as I know the consensus can deal with some small clock skew, but once it goes above some threshold consensus would error.  This could happen when changing system clock.  Consensus team might be better point of contact for such errors.


Support for logical page numbering

Description
Logical page numbering supports the distinction between different page numberings, i.e. the beginning of a document (ToC, etc.) might use Roman numerals and will then switch to Arabic numerals.
This is then reflected in the reader's own page counter so that you can skip to page 2 and it will take you to the logical page with the Arabic numeral 2, which might have a completely different physical page number.

Use Case
It can be congruent with the page numbers in an actual printed document. Furthermore, many academic templates make that distinction -- especially with title page & ToC vs. actual content.

Refer to section 12.4.2 of the PDF 1.7 spec ("Page Labels")

This is also relevant for presentation slides where multiple PDF pages can belong to one slide when using overlays.

I am interested in this for book typesetting with a table of contents and colophon.

I am interested in this for book typesetting with a table of contents and colophon.

I am currently working on it and will make a PR soon ^^


Add platform-specific examples and update readme

I wanted to provide a quick and easy way to get up and running immediately once this is downloaded, and I also wanted to update the readme to include some more helpful information about how to get started with this. Great work!

I agree with a more developer-friendly readme, but I can't see how splitting code into 3 almost identical C files would help. The whole idea was that you can have one common code for all 3 platforms. I think it would be more useful to make something like #ifdef WIN32 etc in one file to detect OS automatically and build the code for that platform. Otherwise, if I saw that I need to write 3 different files for 3 different platforms to use a cross-platform library - I'd probably be scared away.

. Otherwise, if I saw that I need to write 3 different files for 3 different platforms to use a cross-platform library - I'd probably be scared away.

Yep, good point. The #ifdef makes a lot more sense. The lack of sleep is catching up to me.

I've noticed that there's been some messed-up text in README, so I cleaned it up. Thanks for the pull request!


Use a Pipfile instead of requirements.txt

pipenv is a new Python tool that is recommended in Python's documentation for dependency management.  It encourages versioned dependencies, manages the dependency tree for a project, and automatically creates virtual environments for each project.
It uses a Pipfile to specify dependencies and targeted Python versions.  The Pipfile replaces requirements.txt.  It also uses a lock file to ensure that the same dependencies are always installed for each user of the project.
To use pipenv,

Install pipenv -- pip install pipenv (or pip3 install pipenv)
Open repo in command line terminal and run pipenv sync - this will create a virtual environment in ~\.virtualenvs and install the dependencies specified in Pipfile.lock
You may also need to specify the path to your Python executable - pipenv will prompt you if this is the case
Run the application with pipenv run python pyapi/app.py - this will run the application in the virtual environment
To introduce new dependencies, add them to the Pipfile and run pipenv sync

Fixes #2

Do you think we should have PEX with required dependencies? And then there is no further action required from users for production environment.
I understand Pipfile is improvement on requirement.txt for development but I am not sure how it integrate with PEX creation. I will look further on it.

requirements.txt isn't used by the pex build tool.  It uses the install_requires list in setup.py.  I may have misspoken about the purpose of pipenv - it manages dependencies for a virtual environment.  It ensures that the application can be run with the same package dependencies for any developer that runs the python app.
If we distribute a pex, then we'd need to specify the build dependencies in setup.py.  There currently isn't a good way to integrate the Pipfile with setup.py.
I still think it would be very useful to have the Pipfile, but if you'd prefer to stick with requirements.txt, that's fine with me.

Sorry - I pushed some additional changes intended for a different pull request.  Let me see what I can do to get them in separate PRs.  I'm going to close this for now.


default queue url

Is it possible to add a default url to the queue setup ?

What do you mean by "default url"?  If you mean that you want to specify a default URL for the external worker URL in a job , that is not possible.


Board Review: Azure Communication Services (SPOOL) Calling Raw Video (JS)

Service name: ACS Calling Web
Key contact for this review:  @Harman Kharoud
Link to previous API version:  ...
Description of the material to be reviewed/changed: ..
Champion scenarios that briefly explain how developers will use your API: ...
Languages for this review. JavaScript/TypeScript
Artifacts per language. https://apiview.dev/Assemblies/Review/9a67b94f720c4138845ecf5e8f0efac8?revisionId=ea6298118da04b71b80fa8bdfa79a9f0&doc=False

#scheduled

Scheduled for 9/19 2p-4p PDT

Updated:
Service name: ACS Calling Web
Key contact for this review:  @Harman Kharoud
Link to previous API version:  ...
Description of the material to be reviewed/changed: ..
Champion scenarios that briefly explain how developers will use your API:
For LocalVideoStream:

    /**
     * FIRST OPTION:
    */
    const call = new Call();
    const lsv = new LocalVideoStream(deviceInfo);
    const rawStream = lsv.getMediaStream();
    // Modify rawStream to add any effects;
    lsv.setMediaStream(rawStream);
    call.startVideo(lsv);
    /**
     * SECOND OPTION:
    */
    const call new Call();
    const mediaStream = new MediaStream();
    mediaStream.canvasStream();
    const lsvWithMediaStream = new LocalVideoStream(mediaStream);
    call.startVideo(lsvWithMediaStream);

For RemoteVideoStream:
    const call = new Call();
    const bob_participant = call.getParticipants()[0];
    const remoteVideoStream = bob_participant.videoStreams[0];
    const bob_rawRemoteVideoStream = await remoteVideoStream.getMediaStream();
    // Modify rawRemoteStream
    // render bob's modified stream;```

Languages for this review. JavaScript/TypeScript
Artifacts per language. [@skype/spool-sdk - RawVideoStream - apiview.dev](https://apiview.dev/Assemblies/Review/9a67b94f720c4138845ecf5e8f0efac8?diffRevisionId=38f96cae117b473098b13572afca581b&doc=False&diffOnly=True&revisionId=c2a1c690a4c54ae3ad44f807acb9fab2)

Recording (MS INTERNAL ONLY)