Fix generation of statistics during simulated option assignment

Expected Behavior

Algorithm statistics take into account simulated option assignment positions.
Actual Behavior

Algorithm statistics ignore simulated option assignment positions.
Potential Solution

Not sure -- I suspect this isn't get tracked in the trades builder, but requires investigation.
Reproducing the Problem

See the new regression algorithm: OptionAssignmentRegressionAlgorithm
Checklist

[x] I have completely filled out this template
[x] I have confirmed that this issue exists on the current master branch
[x] I have confirmed that this is not a duplicate issue by searching issues

[x] I have provided detailed steps to reproduce the issue

In recent tests, @gsalaz98 found that the TradeBuilder wasn't taking the OTM option closing order as closing the option open position and seemed to register 2 trades for it


What is this project?

I was going through the oh-my-zsh plugins list:
https://github.com/robbyrussell/oh-my-zsh/wiki/Plugins
I was checking out all software projects mentioned there that I had never heard of.
There, I found the entry:

terminitor is a tool that "automates your development workflow setup".

I didn't understand what that means on its own, so I followed the link to the GitHub project:
https://github.com/achiu/terminitor
The README says:

Consular automates your development workflow setup.
Read the rest of the README and check out the wiki for more info!

I click through to the wiki:
https://github.com/achiu/consular/wiki
Again, the same phrase and no more general information about the project.
I click through to the new project page:
https://github.com/achiu/consular
Same.
I suggest that you add a paragraph to the README describing what the project does and who it will be useful for.

I had to infer what it did and then ran a test with iTerm to verify.  It's cool, but not clear.
Also, configuration isn't clear at all.  consular edit test tries to open test.term to edit but .term files are default to iTerm and it shows a file corrupted dialog.  Is there a way to specify an editor?


Unable to create an invitation using Graph API  with Application permission type

On invitation creation, Microsoft Graph can automatically send an invitation email directly to the invited user. Reference link . I am able to send invitation with Delegated Permission type, but  when I used Application Permission type it's throwing an exception. The below is the exception
{
"error": {
"code": "Unauthorized",
"message": "Insufficient privileges to perform requested operation by the
application '00000000-0000-0000-c000-000000000000'. ControllerName=MSGraphInviteAPI,
ActionName=CreateInvite, URL absolute path=/api//invites",
"innerError":    {
"request-id": "2a22f4dc-01b81e",
"date": "2020-07-03T07:57:34"
}
}
}

I'm able to invoke API using Application permission type, but not  received and email.

@Prabhakar96-dev Hope you have self resolved and hence closed the issue. Thanks for the update.
Just FYI, This azure-docs repository deals about feedback related to particular Azure document page (like correcting doc bugs, doc enhancements, product issues related to wrong doc instructions, etc.) so going forward, if issue is intended to update / correct / enhance anything in an Azure document then please share Azure document link / URL else I suggest you to ask the question in public forums like Microsoft Q&A, etc.


[BYOC][COREML] Handle one symbol for each runtime

It's no longer necessary to handle multiple subgraphs in one runtime thanks to the change of #5770, which simplifies the CoreML runtime a bit.
@zhiics @mbaret @FrozenGene Please help this to review.

Thanks @kazum


6.4.8 - select known models stopped working for Lenovo, works for Dell/HP

ditto

Fresh install of 6.4.8 and the Lenovo option is greyed out on the Make & model selection > Manufacture Selection

With over 40 Lenovos in my environment I'd love for this feature to work again. Currently getting this error:
Exception calling "Substring" with "2" argument(s): "Index and length must refer to a location within the string.
Parameter name: length"
At line:15231 char:64
+ ... Find-LenovoModelType -ModelType $($LenovoKnownModel.Substring(0, 4)))Exception calling "Substring" with "2" argument(s): "Index and length must refer to a location within the string.
Parameter name: length"
At line:15231 char:64
+ ... Find-LenovoModelType -ModelType $($LenovoKnownModel.Substring(0, 4)))

In 6.49 - If you are using Server 2016 - install this - https://visualstudio.microsoft.com/vs/older-downloads/isolated-shell/

I was getting that on windows 10 1909 too.  looks to be corrected in 6.49 however.

Version 6.4.9 contains updates for model matching.


Tests in master are failing after fixing random seq. bug

Fixed with commit https://github.com/ML-Bioinfo-CEITEC/rbp/commit/96dc8b0e6c2d353ea56a74e14d98a4926c6f4a0e


Axon node memory consumption

Contact Details
No response
What happened
Description
We run our Axon nodes an EKS cluster in a stateful set with 4 nodes.
kubectl get statefulsets
NAME    READY   AGE
axon1   1/1     67d
axon2   1/1     67d
axon3   1/1     67d
axon4   1/1     67d

unfortunately , axon1 seems  to consume over twice the memory of the other pods
kubectl top pods
NAME      CPU(cores)   MEMORY(bytes)
axon1-0   13m          4719Mi
axon2-0   14m          2041Mi
axon3-0   12m          2700Mi
axon4-0   13m          2224Mi

All pods are running the same config , and receiving about the same amount network data from the ingress controller (so they are expected to have the same load)
I would appreciate help in understanding this discrepancy

Is there any function for node 1 to use alone? For example, only perform data pressure testing on node1

This isnt currently possible , as we route all traffic through the ingress. The ingress has a backend, axon-chain , which distributes traffic round-robin to the different backends
kubectl describe ingress khalani-testnet
Name:             khalani-testnet
Labels:           <none>
Namespace:        axon
Address:          k8s-ingressn-ingressn-40f737c3d3-d15bcc70ab323dc6.elb.us-east-1.amazonaws.com
Ingress Class:    <none>
Default backend:  <default>
Rules:
  Host                     Path  Backends
  ----                     ----  --------
  testnet.khalani.network
                           /   axon-chain:8000 (<IP_ADDRESS>:8000,<IP_ADDRESS>:8000,<IP_ADDRESS>:8000 + 1 more...)
Annotations:               kubernetes.io/ingress.class: nginx
                           nginx.ingress.kubernetes.io/cors-allow-headers:
                             DNT,X-CustomHeader,X-LANG,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,X-Api-Key,X-Device-Id,Access...
                           nginx.ingress.kubernetes.io/cors-allow-methods: POST, GET, OPTIONS
                           nginx.ingress.kubernetes.io/cors-allow-origin: *
                           nginx.ingress.kubernetes.io/enable-cors: true
Events:                    <none>

@yangby-cryptape I am unsure of how it gets to this , but it appears to be the nodes "steady state"

Memory Usage Test, see https://github.com/axonweb3/axon/pull/1531


support for 3d polylines

It seems dxf-fs doesn't support 3d polylines yet.

Can you give an example?  POLYLINE should be able to be written like so:
use dxf::*;
use dxf::Entities::*;
// ...
let mut poly = Polyline {
    vertices: vec![
        Vertex { location: Point::new(0.0, 0.0, 0.0), .. Default::default() },
        // specify additional vertices
    ],
    .. Default::default()
};
poly.set_is_3d_polyline(true); // this might be the problem
drawing.entities.push(Entity {
    common: Default::default(),
    specific: EntityType::Polyline(poly),
});

I may have a solution that you can try in the write-poly branch in parallel with poly.set_is_3d_polyline(true).  Let me know if that works; if so I'll merge it to master.

Thanks, I'll try on Monday at work.

I still have the same error message.
If it could help here's a template that I used last week to get a working 3d polyline. I have no idea if I did it the right way but it seemed to work.
ENTITIES
{%- for line in lines %}
  0
POLYLINE
  5
2B
100
AcDbEntity
  8
{{ line.layer }}
100
AcDb3dPolyline
 66
     1
 10
0.0
 20
0.0
 30
0.0
 70
     8
{%- for point in line.points %}
  0
VERTEX
  5
2C
100
AcDbEntity
  8
0
100
AcDbVertex
100
AcDb3dPolylineVertex
 10
{{ point.x }}
 20
{{ point.y }}
 30
{{ point.z }}
 70
    32{% endfor %}
  0
SEQEND{% endfor %}
  5
2E
100
AcDbEntity
  8
0
  0
ENDSEC

Thank you for that script, I think I've captured everything in the latest update to the write-poly branch.  When you get a chance try it out and let me know if that unblocks you.  If so I'll squash and merge to master.
If you're interested the parts I was missing were different subclass markers for 3d polylines and vertices (AcDb3dPolyline and AcDb3dPolylineVertex).

It works, with:
vertices: vec![
            Vertex { location: Point::new(0.0, 0.0, 0.0), .. Default::default() },
            Vertex { location: Point::new(25.0, 25.0, 50.0), .. Default::default() },
            Vertex { location: Point::new(50.0, 25.0, 50.0), .. Default::default() },
            Vertex { location: Point::new(50.0, 50.0, 50.0), .. Default::default() },
            Vertex { location: Point::new(25.0, 50.0, 50.0), .. Default::default() },
            Vertex { location: Point::new(25.0, 25.0, 50.0), .. Default::default() },
        ],

I get:

Thanks!

Thank you for taking the time to test this.  I've updated master with all changes.


[security] improving the security scheme

LGTM once test is fixed and @expose is back.

Great changes, code is more structured now ! Having more tests around basic roles would be great, but can be done later in separate PR.

LGTM


where is the code of this tool ?

how I can use this tool?
where I can find the source code?

Hi,
Thanks for your interest!
HiTyper is planned to be released on 26 Mar. Please come back then to get the latest code.
Yun

Thank you
On Thu, Mar 24, 2022 at 3:35 PM JohnnyPeng18 @.***>
wrote:

Hi,
Thanks for your interest!
HiTyper is planned to be released on 26 Mar. Please come back then to get
the latest code.
Yun
—
Reply to this email directly, view it on GitHub
https://github.com/JohnnyPeng18/HiTyper/issues/1#issuecomment-1077635098,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARCXVQPQ56PG46Z642MMYILVBRVQXANCNFSM5RRBDEZA
.
You are receiving this because you authored the thread.Message ID:
@.***>

.


CMake fixes

Here are some cmake related fixes that address #130 (rerunning modcc) and #134 (improving cmake names) as well as a few other cleanups and tweaks.
I expect some pushback on the changing of #ifdef var names!

Also, I assume that you have tested this with the different threading backends, MPI and CUDA? :)

A question for a later date is whether we should change all of the internal #define variables from NMC_HAVE_XXX to just NMC_XXX. Would be less verbose, and now that we have the NMC_ prefix, the chances of collisions are low.

You could do, it's a very simple sed operation to change them from HAVE to anything.


[Input] Direct input controller OutOfRange

Release Type: Launcher
Version: 4.0
Platform(s): Windows, build and editor
Describe the bug
Exceptions are being thrown in GameControllerDirectInput.cs's update
To Reproduce
Steps to reproduce the behavior:

Generate 'New Game' template.
Connect non-standard direct input USB device.

Expected behavior
Append input from DI devices successfully.
Screenshots

Log and callstacks
Exception: IndexOutOfRangeException: Index was outside the bounds of the array.
   at Stride.Input.GameControllerDirectInput.Update(List`1 inputEvents)
   at Stride.Input.InputManager.Update(GameTime gameTime)
   at Stride.Games.GameSystemCollection.Update(GameTime gameTime)
   at Stride.Editor.EditorGame.Game.EditorServiceGame.Update(GameTime gameTime)
   at Stride.Games.GameBase.InitializeBeforeRun()
   at Stride.Games.GamePlatform.OnInitCallback()
   at Stride.Games.GameWindowWinforms.Run()
   at Stride.Games.GameBase.Run(GameContext gameContext)
   at Stride.Assets.Presentation.AssetEditors.GameEditor.Services.EditorGameController`1.SceneGameRunThread()
   at Stride.Core.Diagnostics.SafeAction.<>c__DisplayClass1_0.<Wrap>b__0()
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()

[SceneEditorGame]: Error: Unexpected exception. System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at Stride.Input.GameControllerDirectInput.Update(List`1 inputEvents)
   at Stride.Input.InputManager.Update(GameTime gameTime)
   at Stride.Games.GameSystemCollection.Update(GameTime gameTime)
   at Stride.Editor.EditorGame.Game.EditorServiceGame.Update(GameTime gameTime)
   at Stride.Games.GameBase.InitializeBeforeRun()
[SafeAction]: Fatal: Unexpected exception. System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at Stride.Input.GameControllerDirectInput.Update(List`1 inputEvents)
   at Stride.Input.InputManager.Update(GameTime gameTime)
   at Stride.Games.GameSystemCollection.Update(GameTime gameTime)
   at Stride.Editor.EditorGame.Game.EditorServiceGame.Update(GameTime gameTime)
   at Stride.Games.GameBase.InitializeBeforeRun()
   at Stride.Games.GamePlatform.OnInitCallback()
   at Stride.Games.GameWindowWinforms.Run()
   at Stride.Games.GameBase.Run(GameContext gameContext)
   at Stride.Assets.Presentation.AssetEditors.GameEditor.Services.EditorGameController`1.SceneGameRunThread()
   at Stride.Core.Diagnostics.SafeAction.<>c__DisplayClass1_0.<Wrap>b__0()

Additional context
Initially brought up here https://github.com/stride3d/stride/issues/673#issuecomment-621101365
More context from @tre4b

I have a foot controller, 3 button USB device. Unplugged that and it all worked.

@tre4b
Could you run that project with VS, wait for the exception to break and send us a screenshot of the autos window, within game > Input unfold properties like in this screenshot:

No problem

I have Two controllers one of which has no drivers loaded at this time.  What the other one is I have no idea!  Possibly the G502 Mouse software fakes a controller?

@tre4b could you disconnect those that don't cause a crash ? I'll also need those AxisInfos.Offset and Source.Devices.Values.* unfolded like in the screenshot. Sorry that I'm making you go through this.

Okay not a problem.  I've unplugged all but still three of them show up.  All have Name "2 axis 8 Button gamepad".  Weird because I've never owned one of them ;-)  Only one shows the axis information.

Then

and

Also.  How do I tell if the VS plugin is installed.  The launcher does not show reinstall and I don't know how else to check.

561 buttons ? That's kind of insane, I'm pretty sure directinput doesn't support such a large amount and we certainly dont. Not too sure what's going on here, I'll need a bit more data from you, could you try running the exe within this archive with your devices plugged in ?
https://drive.google.com/file/d/1NAGlobsXNVXd_26CLQAjfN6PCmSFPCit/view?usp=sharing
Once the exe starts you'll have a bunch of *.txt files in that directory, send them over and I should be able to fix this.

I wonder if it is some kind of bad registration of a device or two.  Under  "Sound, video and game controllers" I have only sound devices, nothing else.  I might just see if I can find a way to remove all of these.  They stay there when the controllers are not connected too.

2 axis 8 button gamepad_0.txt
2 axis 8 button gamepad_1.txt
2 axis 8 button gamepad_2.txt
One of my controllers is a device called a Strategic Commander, once made by Microsoft.  It uses an opensource application to control it that only works at run time.   When you run the app it connects up and works, but only then.  I'm starting to wonder if this might be the issue.    I'm going to have a dig at that.  The last file shows something massively broken ;-)

Can't find anything matching in the registry :-(  Just thinking though my last purchase was a Logitech mouse that uses GHub gaming software.  I wonder if it could be this?  GHub has lots of configurations and if they did something weird with their configuration...   This being the last thing I installed and the largest ordinal in the array might make sense...

Well those buttons all seem unique, I can't really tell that there's anything wrong with the objects returned by the interface besides the sheer number of them so I don't think the issue is on our side but to be frank I can't find an actual legit source explicitly mentioning that direct input supports a maximum of 128 buttons, if it does support more than that we might have to change some of SharpDX's stuff which is definitely out of my depth.
I made #696 to at least work around this issue.


Reindex broken in tf docker image (v1.11.0) -> Broken numpy dependency!

TLDR
The pandas, which is distributed with the tf docker image is broken!
Description
I'm new to tf and I'm walking thru the Machine Learning Crash Course at the moment. First Steps with TF point me to the Quick Introduction to pandas notebook.
Run example on colab
Based on this. I created the following MWE on colab (actually, it is only pandas code):
https://colab.research.google.com/drive/19uDE_H4AtpLaEL6INrRrDMXkdANsNr69
It basically just does the following:

Import the california housing data set
reorder the data set
prints the merged dataset

If you run my notebook, you can see that step 3 prints up to 20 different values for the data set (makred with left only and right only):
`   longitude  latitude  housing_median_age  total_rooms  total_bedrooms  \
0      -114.3      34.2                15.0       5612.0          1283.0
1      -114.5      34.4                19.0       7650.0          1901.0
2      -114.6      33.7                17.0        720.0           174.0
3      -114.6      33.6                14.0       1501.0           337.0
4      -114.6      33.6                20.0       1454.0           326.0
..        ...       ...                 ...          ...             ...
15     -117.3      33.2                13.0       3619.0           791.0
16     -118.3      33.8                25.0       4177.0           832.0
17     -117.7      34.0                25.0       1859.0           463.0
18     -118.1      34.0                50.0       1146.0           238.0
19     -118.5      34.0                41.0       1240.0           320.0

    population  households  median_income  median_house_value      _merge
0       1015.0       472.0            1.5             66900.0   left_only
1       1129.0       463.0            1.8             80100.0   left_only
2        333.0       117.0            1.7             85700.0   left_only
3        515.0       226.0            3.2             73400.0   left_only
4        624.0       262.0            1.9             65500.0   left_only
..         ...         ...            ...                 ...         ...
15      1759.0       806.0            2.8             98500.0  right_only
16      2123.0       789.0            5.1            446800.0  right_only
17      1070.0       374.0            2.5            187500.0  right_only
18       579.0       213.0            3.0            172600.0  right_only
19       711.0       304.0            3.3            318100.0  right_only

Run example on local python
In have Python 3.6.6 and I install tf with pip install  tensorflow.
Now I run the same code in a python script as follows (on Windows 10):
python Reorder.py

The reordered data is exactly the same as the imported data (all are marked with both):
longitude  latitude  housing_median_age  total_rooms  total_bedrooms  population  households  median_income  median_house_value _merge
0     -114.3      34.2                15.0       5612.0          1283.0      1015.0       472.0            1.5             66900.0   both
1     -114.5      34.4                19.0       7650.0          1901.0      1129.0       463.0            1.8             80100.0   both
2     -114.6      33.7                17.0        720.0           174.0       333.0       117.0            1.7             85700.0   both
3     -114.6      33.6                14.0       1501.0           337.0       515.0       226.0            3.2             73400.0   both
4     -114.6      33.6                20.0       1454.0           326.0       624.0       262.0            1.9             65500.0   both
5     -114.6      33.6                29.0       1387.0           236.0       671.0       239.0            3.3             74000.0   both
6     -114.6      33.6                25.0       2907.0           680.0      1841.0       633.0            2.7             82400.0   both
7     -114.6      34.8                41.0        812.0           168.0       375.0       158.0            1.7             48500.0   both
8     -114.6      33.6                34.0       4789.0          1175.0      3134.0      1056.0            2.2             58400.0   both
9     -114.6      34.8                46.0       1497.0           309.0       787.0       271.0            2.2             48100.0   both

Run example in tf docker container
Now I run the same python script in the tf docker container (v1.11.0) as follows (on Windows 10):
docker run --rm -it -v C:\Users\boldt\docker\tf\scripts\:/scripts tensorflow/tensorflow:1.11.0-py3 python /scripts/Reorder.py

The result is the same. The reordered data is exactly the same as the imported data (all are marked with both):
Conclusion
Because of this, I am unable to randomize the data set and split it in a training and a test set using the tf docker container. Currently, my more complex example always results the same training and test sets.

Since my MWE is reduced to only panda code without tf dependencies, I assumed an issue in pandas:

colab uses pandas ``0.22.0`
tf docker container (v1.11.0) uses pandas 0.23.4
my local python installation uses pandas 0.23.4

I downgraded pandas on my local environment now:

0.22.0 (pip install --force-reinstall pandas==0.22.0) - Reorder works
0.23.0 (pip install --force-reinstall pandas==0.23.0) - Broken

Conclusion
The panda version >=0.23.0, which is distributed with the tf docker image is broken!

@boldt Hi, as there is a new ticket raised in Pandas/Numpy, feel free to close the issue here. Or else if you would like to add any other points on this, please do. Thank you !

Numby v1.15.3 was released on Oct, 22nd. I just checked the tag nightly-py3. It contains the newest numpy version.
I'll close this ticket as soon the new docker image 1.12.0 is released (rc1 is out and does not contain the newest numpy yet)

Just saw, that 1.12.0 is pushes to docker hub. Thus I'm closing it.

This is still open :)

Nagging Assignee @harshini-gadige: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

This is still open :)

Thanks


Updating the information that must be provided

Added links to deploy and serviceprincipal, and included information that if you don't have one yet the SP is created automatically on deploy.

What this PR does / why we need it:
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
Release note:

@squillace,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

LGTM, approved the e2e run. Thanks Ralph!


Grammar issue

Should be create rather than creates

@TioKeno : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Update dependencies

This pull request updates all dependencies. Due to some breaking changes, minor code changes were made.

Thanks!


Animation start delay

There was such a problem, each time with a re-animation, there is a slight delay in the animation. And with each time this time delay increases. A picture of the animation appears immediately, but the animation itself works through time. At the first start there is no delay.
I would be grateful for your help

@keba76: Sorry for delay reply. Could you give the code example of your use case? It'll help debug this. I tried to replicate this by modifying the example project as below:
class MyButton: UIButton {
    weak var indicatorView: NVActivityIndicatorView!
}

// In ViewController
override func viewDidLoad() {
    // ...
    let button = MyButton(frame: frame)
    button.tag = $0
    button.addTarget(self,
        action: #selector(buttonTapped(_:)),
        for: UIControlEvents.touchUpInside)
    button.indicatorView = activityIndicatorView
    self.view.addSubview(button)
}

func buttonTapped(_ sender: MyButton) {
    let activityIndicatorView = sender.indicatorView!
    if activityIndicatorView.isAnimating {
        activityIndicatorView.stopAnimating()
    } else {
        activityIndicatorView.startAnimating()
    }
}

However, it seems to be not enough to reproduce the issue.

Close this, reopen if need be.


Remove references to Link hash/query/state props

These don't appear to be supported any more

Ah yeah, that's some deprecated stuff. Thanks!


Getting error java returned 1

Others have had similar issues but not identical.  I am getting the below log when attempting to compile - any help would be greatly appreciated...
PlayApp:
[java] Mar 24, 2019 9:13:33 PM com.google.appinventor.buildserver.ProjectBuilder build
[java] INFO: temporary project root: C:\Users\Rob\AppData\Local\Temp\1553480013981_0.9611548065801465-0
[java] Mar 24, 2019 9:13:34 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
[java] INFO: extracting C:\Users\Rob\AppData\Local\Temp\1553480013981_0.9611548065801465-0\android.keystore from input zip
[java] Mar 24, 2019 9:13:34 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
[java] INFO: extracting C:\Users\Rob\AppData\Local\Temp\1553480013981_0.9611548065801465-0\assets\AI2Companion-Icon.png from input zip
[java] Mar 24, 2019 9:13:34 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
[java] INFO: extracting C:\Users\Rob\AppData\Local\Temp\1553480013981_0.9611548065801465-0\assets\Instructions.png from input zip
[java] Mar 24, 2019 9:13:34 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
[java] INFO: extracting C:\Users\Rob\AppData\Local\Temp\1553480013981_0.9611548065801465-0\assets\connectwCode.png from input zip
[java] Mar 24, 2019 9:13:34 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
[java] INFO: extracting C:\Users\Rob\AppData\Local\Temp\1553480013981_0.9611548065801465-0\assets\connectwQR.png from input zip
[java] Mar 24, 2019 9:13:34 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
[java] INFO: extracting C:\Users\Rob\AppData\Local\Temp\1553480013981_0.9611548065801465-0\assets\mooning.png from input zip
[java] Mar 24, 2019 9:13:34 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
[java] INFO: extracting C:\Users\Rob\AppData\Local\Temp\1553480013981_0.9611548065801465-0\assets\splash.html from input zip
[java] Mar 24, 2019 9:13:34 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
[java] INFO: extracting C:\Users\Rob\AppData\Local\Temp\1553480013981_0.9611548065801465-0\src\edu\mit\appinventor\aicompanion3\Screen1.bky from input zip
[java] Mar 24, 2019 9:13:34 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
[java] INFO: extracting C:\Users\Rob\AppData\Local\Temp\1553480013981_0.9611548065801465-0\src\edu\mit\appinventor\aicompanion3\Screen1.scm from input zip
[java] Mar 24, 2019 9:13:34 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
[java] INFO: extracting C:\Users\Rob\AppData\Local\Temp\1553480013981_0.9611548065801465-0\src\edu\mit\appinventor\aicompanion3\Screen1.yail from input zip
[java] Mar 24, 2019 9:13:34 PM com.google.appinventor.buildserver.ProjectBuilder extractProjectFiles
[java] INFO: extracting C:\Users\Rob\AppData\Local\Temp\1553480013981_0.9611548065801465-0\youngandroidproject\project.properties from input zip
[java] java.lang.IllegalArgumentException: Unable to parse file - cannot locate beginning of $JSON section
[java] 	at com.google.appinventor.buildserver.FormPropertiesAnalyzer.parseSourceFile(FormPropertiesAnalyzer.java:62)
[java] 	at com.google.appinventor.buildserver.FormPropertiesAnalyzer.getComponentBlocksFromSchemeFile(FormPropertiesAnalyzer.java:123)
[java] 	at com.google.appinventor.buildserver.ProjectBuilder.getComponentBlocks(ProjectBuilder.java:279)
[java] 	at com.google.appinventor.buildserver.ProjectBuilder.build(ProjectBuilder.java:155)
[java] 	at com.google.appinventor.buildserver.Main.main(Main.java:82)
BUILD FAILED
C:\Users\Rob\appinventor-sources\appinventor\build.xml:21: The following error occurred while executing this line:
C:\Users\Rob\appinventor-sources\appinventor\buildserver\build.xml:180: Java returned: 1

Please discuss this type of issues in the forum. It seems to be the same issues as other people are reporting on windows Unable to parse file - cannot locate beginning of $JSON section.
Closing this now. If you need help, please use the forum.

Thank you!  I am new to git hub and appreciate the help.  I did go to the forum and tried to enter the search string below but got no matches – any advice on what I am doing wrong??
Thanks again,
Rob
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: Jos<EMAIL_ADDRESS>Sent: Sunday, March 24, 2019 9:27:48 PM
To: mit-cml/appinventor-sources
Cc: mejvi91246; Author
Subject: Re: [mit-cml/appinventor-sources] Getting error java returned 1 (#1629)
Please discuss this type of issues in the forum. It seems to be the same issues as other people are reporting on windows Unable to parse file - cannot locate beginning of $JSON section.
Closing this now. If you need help, please use the forum.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmit-cml%2Fappinventor-sources%2Fissues%2F1629%23issuecomment-476033450&data=02|01||a1b4a6352fe44336ac2c08d6b0c97a64|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636890776713680819&sdata=T4r8Cnvh7aGzJvkm6IQREZnD%2BYFm%2FeMhXomEmZfvAVE%3D&reserved=0, or mute the threadhttps://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAuhTXPsDZQAcsokZ7MaGW2Jz2YQWOTIiks5vaDQkgaJpZM4cF8EB&data=02|01||a1b4a6352fe44336ac2c08d6b0c97a64|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636890776713690806&sdata=3hiqu5L%2BcdGsyLuDMZSh197tIam6s66dlasfaVvMbBU%3D&reserved=0.

https://groups.google.com/forum/#!searchin/app-inventor-open-source-dev/cannot$20locate$20beginning$20of$20$24JSON$20section|sort:date

Thank you!
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: Jos<EMAIL_ADDRESS>Sent: Sunday, March 24, 2019 9:50:07 PM
To: mit-cml/appinventor-sources
Cc: mejvi91246; Author
Subject: Re: [mit-cml/appinventor-sources] Getting error java returned 1 (#1629)
https://groups.google.com/forum/#!searchin/app-inventor-open-source-dev/cannot$20locate$20beginning$20of$20$24JSON$20section|sort:datehttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fforum%2F%23!searchin%2Fapp-inventor-open-source-dev%2Fcannot%2420locate%2420beginning%2420of%2420%2424JSON%2420section%257Csort%3Adate&data=02|01||a45e36b7221f486d04fd08d6b0cc983a|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636890790097597233&sdata=rUV9iiW0UijwI3F6Jlv0Hy94QquKf%2BF9%2BXkHf3yvV5E%3D&reserved=0
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmit-cml%2Fappinventor-sources%2Fissues%2F1629%23issuecomment-476036930&data=02|01||a45e36b7221f486d04fd08d6b0cc983a|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636890790097617249&sdata=JOXprxZaXi6eQ8Q1uWJDklqh4JSbmOjqk%2FvEOX9gsd8%3D&reserved=0, or mute the threadhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAuhTXC337EZh3xaBoPOMstvfwbiwFTl1ks5vaDlfgaJpZM4cF8EB&data=02|01||a45e36b7221f486d04fd08d6b0cc983a|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636890790097627260&sdata=MrnJeGo55WeezYaIrpe8Gv7poGPZLq0%2F2lfg%2F7%2BbB60%3D&reserved=0.


Utilise numba

Profiling explained here

I numba'd all the functions that don't depend on imported functions, and there was no improvement.
Likely due to:

low star count
no uncertainties (and thus fewer matrix operations)


[now-dev] Update tests

Updates the tests for now dev to log more and make the hopefully more reliable.

Codecov Report

Merging #3447 into master will decrease coverage by 0.05%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #3447      +/-   ##
==========================================
- Coverage   14.57%   14.52%   -0.06%
==========================================
  Files         267      267
  Lines       10772    10735      -37
  Branches     1481     1480       -1
==========================================
- Hits         1570     1559      -11
+ Misses       9036     9010      -26
  Partials      166      166

Impacted Files
Coverage Δ

src/util/dev/server.ts
59.83% <0%> (+0.05%)
:arrow_up:

src/util/dev/builder.ts
65.88% <0%> (+0.59%)
:arrow_up:

src/util/get-update-command.ts
10% <0%> (+0.62%)
:arrow_up:

src/util/get-files.ts
90.5% <0%> (+0.88%)
:arrow_up:

src/util/dev/builder-cache.ts
79.5% <0%> (+1.61%)
:arrow_up:

src/util/output/create-output.ts
60% <0%> (+2.59%)
:arrow_up:

src/util/dev/yarn-installer.ts
83.33% <0%> (+3.64%)
:arrow_up:

src/util/dev/router.ts
73.23% <0%> (+3.9%)
:arrow_up:

Continue to review full report at Codecov.

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


Method drag_and_drop_by throwing weird error

Running the code below throws the error unknown command: :mouse_move_to (ArgumentError)
draggable = b.element_1
droppable = b.element_2
draggable.drag_and_drop_on droppable

Checked the code running this method and there is no :mouse_move_to anywhere. Any ideas why this is happening? Could it be an issue with selenium-webdriver?

Are you running this with geckodriver on Firefox 48+? Mozilla has not yet implemented the Actions classes. Does it work with Chrome?

Yes I am running on geckodriver and firefox 50.1. That is probably the issue.
I ran it in chrome as everything is working fine.
I apologize for not running that in that browser before asking here.
I will be sure to add that to my list of things to test before asking here again.


#17614 Fix underscores from variables in export file name

@LonwoLonwo I don't know such cases. This code is aimed to transform names like apple%&@1 to apple_1.

Verified


Shuang1 Tan3

http://www.yueqiziliao.com/guqin/202046680.html > 3 lines above Section 4

Cloned in #11


cannot import 'plot' from 'utils'

Orion version: 0.5.1
Python version: 3.8.18
Operating System: Windows 10

Description
I attempted to run the code in the Orion Tulog here: https://github.com/sintel-dev/Orion/blob/master/tutorials/tulog/Tulog.ipynb
I'm currently stuck on the general import.
What I Did
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt

from sklearn.impute import SimpleImputer
from sklearn.preprocessing import MinMaxScaler

from utils import plot, plot_ts, plot_rws, plot_error, unroll_ts

ImportError: cannot import name 'plot' from 'utils' (C:\Users\elias\anaconda3\envs\orion\lib\site-packages\utils\__init__.py)

I checked and I should have utils installed so I'm not sure what exactly is causing the problem.
Thank you for the help!

Hi @eliashyatt! Thank you for using Orion!
There is a custom utils  in the tulog that should be in the same directory as the notebook you are running. Specifically, it is this file that it is trying to import https://github.com/sintel-dev/Orion/blob/master/tutorials/tulog/utils.py.

Hi @sarahmish. I am fairly new to github. Is there a way for me to install the custom version of utils from the tulog?

@eliashyatt of course! All you need to do is copy the file to where the notebook is!
Another way of doing it is to clone the repository, run the following code in your notebook:
git clone https://github.com/signals-dev/Orion.git
mv Orion/tutorials/tulog/* .

@sarahmish thank you for your help. I was able to get part 1 of the tutorial to work though I ran into an issue for part 2. When I tried to run the following code, the error said that the pipeline was unknown.
from orion import Orion

orion = Orion(
    pipeline='tadgan.json'
)

anomalies = orion.fit_detect(df)

ValueError: Unknown pipeline: tadgan.json

I also had to change the version of numpy when running this code and found that version required for Orion is <1.19 while the version required for matplotlib >=1.20.

@eliashyatt similarly here you would need to have the tadgan.json in the same directly https://github.com/sintel-dev/Orion/blob/master/tutorials/tulog/tadgan.json.
I would say that this setup is not the best, I would recommend just running Orion(pipeline='tadgan') and adjust the number of epochs as necessary.
Hope this helps!

@sarahmish sorry for the late response. I do not know how to adjust the epochs after running Orion.

No worries! Send a dictionary specifying the hyperparameter name with its new value, it should be something like this:
from orion import Orion

hyperparameters = {
    'orion.primitives.tadgan.TadGAN#1': {
        'epochs': 5,
        'verbose': True
    }
}

orion = Orion(
    pipeline='tadgan',
    hyperparameters=hyperparameters
)

anomalies = orion.fit_detect(df)

@sarahmish thank you for your help! I was able to get a result similar to the tulog after running the code from your previous message. I'll let you know if I run into anymore problems.

@eliashyatt happy to help! I'm glad it is working now and I'll close the issue but feel free to reopen the issue if you have other questions.


Error building Oracle XE 18c docker image in Oracle Linux 7.8

Please help, I have to resolve this...
Reported last year, abandoned using docker with 18c XE and now starting again...
https://github.com/oracle/docker-images/issues/1279#issue-443106483
Other guys having same error...
https://github.com/oracle/docker-images/issues/1279#issuecomment-525034353
https://github.com/fuzziebrain/docker-oracle-xe/issues/15
[SEVERE] The su command is not configured properly or the oracle user does not have the required privileges to install the Oracle database. If you are running in a Docker environment, ensure to set the environment variable ORACLE_DOCKER_INSTALL=true and try again.
error: %pre(oracle-database-xe-18c-1.0-1.x86_64) scriptlet failed, exit status 1
Error in PREIN scriptlet in rpm package oracle-database-xe-18c-1.0-1.x86_64
Verifying  : file-5.11-36.el7.x86_64                                      1/2
Verifying  : oracle-database-xe-18c-1.0-1.x86_64                          2/2
[root@tecnica24 dockerfiles]# uname -a
Linux tecnica24.local 4.14.35-19<IP_ADDRESS>.el7uek.x86_64 #2 SMP Fri Sep 20 00:39:39 GMT 2019 x86_64 x86_64 x86_64 GNU/Linux
Running UEK5
Also applied...
"Before installing oracle, you need to comment session include system-auth line in /etc/pam.d/su file of your linux image"

If you search in Google: "oracle linux su cannot open session permission denied"
you go to this book "Oracle GoldenGate With Microservices: Real-Time Scenarios with Oracle GoldenGate"...
https://books.google.es/books?id=OhbRDwAAQBAJ&pg=PT391&lpg=PT391&dq=oracle+linux+su+cannot+open+session+permission+denied&source=bl&ots=cismO8Fzu-&sig=ACfU3U3gLBf37mElWWunjrH8FxRctD6FUw&hl=es&sa=X&ved=2ahUKEwj0i_2SpabpAhWR5OAKHfzGB0E4ChDoATAEegQIChAB#v=onepage&q=oracle linux su cannot open session permission denied&f=false
Here you can read...
Comment in /etc/pam.d/su line "session include system-auth"
So in Dockerfile.xe I applied this RUN prior to all the rest and used FROM oraclelinux:7.8
RUN sed -E -i
's/session[[:space:]]+include[[:space:]]+system-auth/#session\t\tinclude\t\tsyst
em-auth/g' /etc/pam.d/su
I would like if this is a "good" solution or just a patch that could affect system security.

Based on the example provided by @jesusmorenodiaz, here's a shorter sed command that works:
sed -E 's/(session\s+include\s+system-auth)/#\1/g' -i /etc/pam.d/su


Web-based mini-terminal, via Wasm embedding.

Divide codebase into three Rust projects:

icmt library for common type definitions in messages, and candid serialization for each.
icmt_sdl2 library and binary for the SDL2-based tool, most of the current codebase.
icmt_web library for creating a Wasm module that mimics the existing tool, but in a browser.

Following the tutorials here to include ic-mt within a web page, as an embedded Wasm module.
The purpose is to permit backend canisters to serve a minimal "web frontend" as an IC mini terminal that permits further interactions via the ic-mt protocol, as usual.

Subsumed by #78


Configurable deadline reminders

This PR adds an optional feature to the ropensci_reviewers responder to set a reminder when a reviewers is assigned.
Reminders are configured in the ropensci_reviewers responder config with the reminder option.
The parameters for the reminders are:

days_before_deadline:
How many days before the review's due date the reminder will be posted (default 4)
template_file:
The template file to be used for the reminder. Passed variables to ir are: reviewer, days_before_deadline & due_date

Example:
    ropensci_reviewers:
      only:
        - editors
      no_reviewer_text: "TBD"
      add_labels:
        - 3/reviewer(s)-assigned
      remove_labels:
        - 2/seeking-reviewer(s)
      reminder:
        days_before_deadline: 2
        template_file: reminder.md

Ref: #56

Thank you! This looks good. @mpadge any comment?
After merging I'd do a manual deploy.

Looks great to me - thanks @xuanxu

Now deployed thanks to https://help.heroku.com/CKVOUPSY/how-to-switch-deployment-method-from-github-to-heroku-git-with-all-the-changes-app-code-available-in-a-github-repo


TFLiteConverter fails with tf.gather when the params argument is a layer attribute

Please make sure that this is a bug. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:bug_template
System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 16.04.5 LTS
TensorFlow installed from (source or binary): conda
TensorFlow version (use command below): 2.0.0-dev20190807
Python version: 3.6.8
CUDA/cuDNN version: 10.0
GPU model and memory: 8 x Tesla P100-PCIE-16GB

Describe the current behavior
I am not able to convert a SavedModel to a FlatBuffer using TFLiteConverter when the corresponding tf.keras.Model contains a layer with a tf.gather op for which the params argument comes from a variable that was initialized in the build method of that said layer.
When the params argument is from a locally defined variable, or when using tf.nn.embedding_lookup instead of tf.gather, everything works perfectly fine.
It also applies to tf.gather_nd.
Describe the expected behavior
I expect tf.gather to work for the case in which the params argument is an attribute of the tf.keras.layers.Layer, just as it does for the other cases mentioned.
Code to reproduce the issue
I wrote a toy example to reproduce the issue, it might be clearer than the description above.
import numpy as np
import tensorflow as tf
print(tf.__version__)

class Embedding(tf.keras.layers.Layer):
    def __init__(self, vocab_size, hidden_size):
        super(Embedding, self).__init__()
        self.vocab_size = vocab_size
        self.hidden_size = hidden_size

    def build(self, input_shape):
        self.shared_weights = self.add_weight(
            "weights",
            shape=(self.vocab_size, self.hidden_size),
            dtype=tf.float32,
            initializer=tf.random_normal_initializer(
                mean=0.0,
                stddev=self.hidden_size ** (-0.5)
            )
        )

    def call(self, input_):
        # return tf.nn.embedding_lookup(self.shared_weights, input_)
        # return tf.gather(tf.zeros(shape=(self.vocab_size, self.hidden_size)), input_)
        return tf.gather(self.shared_weights, input_)

class SimpleModel(tf.keras.Model):
    def __init__(self, vocab_size, hidden_size):
        super(SimpleModel, self).__init__()
        self.embedding_layer = Embedding(vocab_size, hidden_size)

    @tf.function(input_signature=[tf.TensorSpec(shape=(None, ), dtype=tf.int64, name='input')])
    def call(self, input_):
        return self.embedding_layer(input_)

vocab_size = 20000
hidden_size = 300

# Building the model.
model = SimpleModel(vocab_size, hidden_size)
input_ = tf.random.uniform(shape=(20, ), dtype=tf.int64, maxval=100)
model(input_)

# Exporting to SavedModel.
saved_model_dir = 'simple_model/'
tf.saved_model.save(model, saved_model_dir)

# TFLite conversion.
converter = tf.lite.TFLiteConverter.from_saved_model(saved_model_dir)
tflite_model = converter.convert()

Other info / logs
Traceback (most recent call last):
  File "/home/michael/.conda/envs/tf20/bin/toco_from_protos", line 10, in <module>
    sys.exit(main())
  File "/home/michael/.conda/envs/tf20/lib/python3.6/site-packages/tensorflow_core/lite/toco/python/toco_from_protos.py", line 89, in main
    app.run(main=execute, argv=[sys.argv[0]] + unparsed)
  File "/home/michael/.conda/envs/tf20/lib/python3.6/site-packages/tensorflow_core/python/platform/app.py", line 40, in run
    _run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
  File "/home/michael/.conda/envs/tf20/lib/python3.6/site-packages/absl/app.py", line 300, in run
    _run_main(main, args)
  File "/home/michael/.conda/envs/tf20/lib/python3.6/site-packages/absl/app.py", line 251, in _run_main
    sys.exit(main(argv))
  File "/home/michael/.conda/envs/tf20/lib/python3.6/site-packages/tensorflow_core/lite/toco/python/toco_from_protos.py", line 52, in execute
    enable_mlir_converter)
Exception: Placeholder statefulpartitionedcall_args_1 should be specied by input_arrays.

Issue replicating with TF nightly-2.0-preview.

Follow-up: another (temporary) solution I found is to use tf.identity,  return tf.gather(tf.identity(self.shared_weights), input_) works fine.
It might not be the most efficient way of fixing the issue (especially for large tensors) but it works.

Updated tensorflow 2.0 preview to the 20190903 nightly and still facing an issue.
Code to reproduce
The code is basically the same as before: it runs when using tf.nn.embedding_lookup or wrapping the shared weights with a tf.identity op, but fails in the regular case with a tf.gather.
import numpy as np
import tensorflow as tf
print(tf.__version__)

import os

class Embedding(tf.keras.layers.Layer):
    def __init__(self, vocab_size, hidden_size):
        super(Embedding, self).__init__()
        self.vocab_size = vocab_size
        self.hidden_size = hidden_size

    def build(self, input_shape):
        self.shared_weights = self.add_weight(
            "weights",
            shape=(self.vocab_size, self.hidden_size),
            dtype=tf.float32,
            initializer=tf.random_normal_initializer(
                mean=0.0,
                stddev=self.hidden_size ** (-0.5)
            )
        )

    def call(self, input_, mode="embedding"):
        # return tf.gather(tf.identity(self.shared_weights), input_)
        # return tf.nn.embedding_lookup(self.shared_weights, input_)
        return tf.gather(self.shared_weights, input_)

class SimpleModel(tf.keras.Model):
    def __init__(self, vocab_size, hidden_size):
        super(SimpleModel, self).__init__()
        self.embedding_layer = Embedding(vocab_size, hidden_size)

    @tf.function(input_signature=[tf.TensorSpec(shape=(None, 25), dtype=tf.int64, name='input')])
    def call(self, input_):
        return self.embedding_layer(input_)

vocab_size = 20000
hidden_size = 300

# Building the model.
model = SimpleModel(vocab_size, hidden_size)
input_ = tf.random.uniform(shape=(10, 25), dtype=tf.int64, maxval=100)
model(input_)

# Exporting to SavedModel.
saved_model_dir = 'simple_model/'
tf.saved_model.save(model, saved_model_dir)

# TFLite conversion.
converter = tf.lite.TFLiteConverter.from_saved_model(saved_model_dir)
tflite_model = converter.convert()

Other info / logs
Although it is not the same error message as before (ResourceGather related), I think it might be related to the initial issue.
2019-09-04 10:49:32.751617: I tensorflow/lite/toco/graph_transformations/graph_transformations.cc:39] Before Removing unused ops: 6 operators, 9 arrays (0 quantized)
2019-09-04 10:49:32.751814: I tensorflow/lite/toco/graph_transformations/graph_transformations.cc:39] Before general graph transformations: 6 operators, 9 arrays (0 quantized)
2019-09-04 10:49:32.751891: F tensorflow/lite/toco/graph_transformations/resolve_gather_attributes.cc:47] Check failed: axis_data.size() == 1 (2 vs. 1)Multidimensional gather not supported on {Gather operator with output StatefulPartitionedCall/embedding_4/Gather}
Fatal Python error: Aborted

Updated tensorflow 2.0 preview to the 20190903 nightly and still facing an issue.

@michaelbenayoun,
I was able to run the code without any issues with the latest TF-nightly i.e. 2.3.0-dev20200514. Please find the gist of it here. Thanks!


Provide a default REPL for crystal in bin/ similar to irb/pry

I just fetched the latest crystal version, 1.14.0.
As it has been a while since I last used crystal, I will go through the tutorial at https://crystal-lang.org/reference/1.14/tutorials/basics/index.html next. To my surprise, though, the
crystal I downloaded does not seem to come with any REPL under bin/. In bin/ I can only
see "crystal" and "shards".
I would like to propose that crystal comes with a default REPL, similar to "python" or
"irb" or "pry". This does not necessarily have to be feature-complete, but just to get the
process going. It is not strictly necessary as one can just use crystal files itself and ask for
user input, but I think for quick testing of crystal in an interactive manner it can be quite
convenient, such as with irb. I quickly use irb to copy/paste or test some ruby code or
behaviour I am unsure of (and also finding useful information in regards to google search
is pretty difficult for a language such as crystal, as there are not that many resources,
so a REPL can be a bit of extra-help too, especially if the help-options are very trivial to
use. See the latest irb + reline as example.)

See crystal i but it's not built by default. You'll probably have to compile a crystal binary by yourself.

You can read more about the interpreter at https://crystal-lang.org/2021/12/29/crystal-i/


[WIP] [Don't merge] Adding GHC's type check information to hs-to-coq

Create this pull request so others can easily see what I'm changing.
I’m making some possibly big modifications to add GHC’s type checking information to hs-to-coq (the current hs-to-coq has the information but does not use it). Right now I’m focusing on adding the information to type classes, instances, and possibly data types.

This is in much better shape now, so here is a summary of what has happened with this change:
The type signatures from GHC are added to the translated functions, type classes, and instances. This means that

In the past, we have many function/type class/instance arguments that do not have a type signature---we rely on Coq's type inference mechanisms to figure those out. A problem is that sometimes Coq fails to infer the correct types for those arguments, and we rely on edits such as set type, redefine, or class kinds in those cases. Now many of these would be unnecessary. A comparison of the generated code can be found at https://github.com/plclub/hs-to-coq/pull/180/files#diff-de49592c85b8891ac409dc316002465411c0356aaef0f519daceed6fde11b906L295-L296 Also thanks to the change, we have got rid of all the class kinds edits.
The "poly kinds" information is now correctly inferred. The "poly kinds" feature is used a lot in base and transformers. An example is: https://github.com/plclub/hs-to-coq/pull/180/files#diff-6457d1f97c9d1b94875861c61805f6e6bedb2a011f507af765a19b341e71d35fL24-R32 This change is less important in the current version of GHC, but it seems that we need this for future versions of GHC.
The change still respects edits such as set type, rename type, etc.
A potential influence is that, these annotations would force Coq to add more universe variables, when the definitions are declared to be universe polymorphic, due to how universe variable inference works in Coq.

What remains to be done:

The data type information from GHC is not incorporated in the translated code yet. This part is a bit more complicated because parameters and indices are treated equally in Haskell but differently in Coq. The current way we treat data type definitions is the same as before, but we need some more polykinds edits to guide hs-to-coq to set the correct type for some data types (for example, https://github.com/plclub/hs-to-coq/pull/180/files#diff-02fba25d13b1768bbcf1d3a5ed2e2bcc24a832c0d7c8569badc7c46070f64651L3-R4)
The changes to the source code currently only consider GHC 8.4.3. This means we break compatibility with other GHC versions introduced in #165. It should be easy to fix them but requires some effort to try out different versions of GHC...
We had some restrictions with axiomatize definition edit because we didn't have enough type information for the definition. This happened a lot in ghc. With the current change, we may be able to get rid of some of the redefine Axiom edits and replace them with simpler axiomatize definitions.
The code for this part could use some tidying up...


Add a CLI help command

Which should print available commands.
Then also should be able to do help <command_name> to get more detailed info.

Hi @purplefox , i want to works on this issue, can you give more details that allow me to work on it


New Vuex backend breaks nested stores

Version
5.3.3
Browser and OS info
80 / Windows 10
Steps to reproduce
I'm not 100% sure what's happening but I only have this error when I have the "New Vuex backend" enabled.
Normal use of the site (and everything working) -> I switch to the DevTools Vuex tab and click on a mutation (it doesn't load the state, just says "Loading") -> and throws an error.
What is expected?
No error
What is actually happening?

Tracing the error I found that it appears to be getting stuck on a getter for "x5/n/notices", and if I remove that module it gets stuck on another plugin of mine which calls the getter "x5/m/modules".

I am guessing it may be the nested store as the first of the following passes (bad cropping but the module is as expected) and then the second is where the error comes from:

I'm using my plugin:  x5-notify

Hi
I came into this exception too and it seems to be thrown by store.registerModule function and nested modules.
In your plugin, you can see this function is called here
In my case, I can see mutations from Vuex Debugger Panel
// component-store.js
const MODULE_NAME = 'vehicle/customization'

store.registerModule(MODULE_NAME, {
    namespaced: true,
    state: {
      // ...
    },
    mutations: {
      // ...
    },
    actions: {
      // ...
    },
  })

But when I want to load its state, I'm getting


Questions regarding the problem with atomics

Good day all,
Not an issue but a question: What exactly is the problem with atomics?
I have read the discussion #59
Is this confirmed by WCH, or by the test mentioned in #59?
Is this a hardware bug in all chips?
How does one know it is the atomic operation causing a problem?
Is it enough to put the atomic operation in a critical section by using the portable-atomics crate for example?
Just curious about the recent changes.
Thank you in advance for the explanation!

Yeah, we never really had time to run the machine test suite. But we did run into an actual / real problem with embassy executor. Where the executor enter a bad state, the task is marked as woken up but not in the ready list.
@Dummyc0m  and I have reviewed the code in the embassy executor and can not come up with reasonable possibility for us to be entering that state if load reserve store conditional actually work as expected.
Regarding your question, using portable atomic and placing access into critical section would solve the problem. Because we are practically no long use lr/sc instructions anymore.
If anyone have the time / interest in running through the litmus test suite to actually confirm it would be extra nice.

I tried to run the litmus test suite. The problem is that it is not meant to run on bare metal, and it requires threads and a real operating system underneath.
The best I can think of is to parse the litmus tests with a new parser, generate some code (even rust based on this lib, with the test included as embedded assembly), and to simulate traps by threads we could use timer interrupts. The problem with this approach is that interrupts have a priority, so one "thread" will always be interrupted, while the other will never be.
We could swap after a test run, but I don't know if that's a good idea for all tests.
Let me know what you think, and if it is worth spend time on it.

I was thinking adapting something like free rtos and slap it on there as a few threads with preemptive scheduling. I personally don’t really have a huge interest in confirming it is broken, since losing atomic on an embedded & single core platform like this is honestly not a huge deal. And we confirmed by using critical section we can get embassy to work as expected .

@Codetector1374, Thank you for the explanation.
For me, not using atomics solves all the instability I encountered in my firmware on the CH32V203.
Atomics make things easy but it is not a dealbreaker as portable-atomics will fill the gap in my case. (And if you are open to depend on an extra crate)
I'm not experienced enough to help you further investigate this issue and would have never guessed the cause myself.
Huge thanks to you all!


Automatically update Maistra Installation Options from SMCP

This PR does a couple of things:
Data/release.yaml
Hugo will pick up the contents of the Data directory and include those as variables accessible throughout the site. This adds a single file that we can update for each release to specify the latest Maistra tag/version as well as the branch to use. Both the documentation and tools/updateFields.sh reference this file in order to determine the active release.
Auto Update of Values from SMCP

This is made up of tools/updateFields.sh and vars.adoc.
tools/updateFields.sh will fetch base, servicemesh, and maistra from the istio-operator repo. It will then merge base and servicemesh into servicemesh.rendered and base and maistra into maistra.rendered. It will then look in the file specified via an argument to tools/updateFields.sh, which can be executed as ./tools/updateFields.sh vars.adoc. In vars.adoc it will look for:

//Value maistra spec.istio.global.hub
:defaultMaistraHub: docker.io/maistra

Matching //Value, it will determine whether to use the rendered Maistra SMCP or the rendered ServiceMesh SMCP, and fetch the value at spec.istio.global.hub, substituting it in the next line.
:defaultMaistraHub: docker.io/maistra
Defines a variable defaultMaistraHub, which can then be referenced in documentation after including the file.
Google Analytics
Tracks the page visits and other statistics to let us know what functionality users care about.

This approach would support additional files such as Kiali and Jaeger YAML files as well.

@JStickler Yeah, additional variables need to be added to vars.doc. I could create tooling that generates set of variables and paths off of a provided YAML file if that's wanted. I figured that it might be easier to provide custom variable names rather than auto-generate them. What I've been doing is something similar to the following and then just let it autopopulate.
//Value maistra spec.istio.global.hub
:defaultMaistraHub:

Yeah, the order of the parameters in the table vs example is just an oversight.


Impact interpolator

This is just a simple first implementation of the ImPACT code
https://arxiv.org/abs/1403.2993
This is probably jumping the gun a little as we don't have other reconstruction methods available yet, but this branch is here just to allow Jason and I to work on it.

The Travis build seems to be failing based on the documentation build. But I can't figure out the problem, could someone take a look and let me know if they figure it out.

yeah, I tried to fix the doc warnings, but couldn't figure it out. I did find some issues with old code that wasn't a problem before, so maybe it's due to a new version of sphinx or something.

Would it be OK to merge this to the feature branch, then we can fix any problems before the merge to the master branch?


Would you consider to add code that rebases the FlatList children?

Hey there..!
I'm making a mini calendar and I really need a way to allow the user to scroll infinitely even though the items I pass to my FlatList should always be 21 (10 before, 10 after and the current month item).
Would you consider adding some kind of property to FlatList that allows the user to scroll infinitely without the FlatList calling renderItems again and again (some way of recycling views should be taking place)?
The problem with calling renderItems again and again increases the number of createView calls to the NativeBridge and it makes other UI processes very laggy.
Thank you.

We're cutting down on the number of outstanding issues, in order to allow us to focus. I'm closing this issue because it has been open for over 60 days with no activity. If you think it should still be opened let us know why. PRs are always welcome.


2022.7.0 media_player.samsungtv_tizen - Requirements for samsungtv_tizen not found: ['numpy==1.21.1'].

After update HA core 2022.7.0 I got an error and not working plugin.
Platform error media_player.samsungtv_tizen - Requirements for samsungtv_tizen not found: ['numpy==1.21.1'].

Probably because of the Python version update.

Same here just commented out of configuration.yaml for right now...

Is this actually still maintained? Because I see a lot of issues and no actual fixes other than workarounds... I have the same issue as above.
Logger: homeassistant.config
Source: config.py:873
First occurred: 8:59:48 AM (1 occurrences)
Last logged: 8:59:48 AM

Platform error: media_player - Requirements for samsungtv_tizen not found: ['numpy==1.21.1'].

Logger: homeassistant.components.hassio
Source: components/hassio/__init__.py:682
Integration: Home Assistant Supervisor (documentation, issues)
First occurred: 9:34:12 AM (1 occurrences)
Last logged: 9:34:12 AM

The system cannot restart because the configuration is not valid: Platform error media_player.samsungtv_tizen - Requirements for samsungtv_tizen not found: ['numpy==1.21.1'].

Hello, Same error in my installation. I have tried to reinstall it in linux and it seemed to be installed. But doesn't fix the problem. Please, help to fix it...I have based a lot of my TV configuration on it

I used a backup from before 2022.7.0 and it fixed for now…

Downgraded to 2022.6. Waiting to the confirmation when fixed to upgrade again

wo

Its simple to repair: config\custom_components\samsungtv_tizen -> manifest.json
change
"numpy==1.21.1" to "numpy==1.23.0"
After change this restart HA, next add config to YAML.

works for me too

@jaruba please review PR #185 to fix this issue. Thanks.

@jaruba , we love your integration, please, don´t give it away

yea @jaruba pls update :) we love your integration

Sorry for the long wait, work and maintaining many projects can take its toll
I just released v1.6.0 with an updated numpy version

Thanks a lot !


'X509Certificate' is not instantiable on html5

Godot version:
Godot v3.2.beta.calinou.7f56ef365
OS/device including version:
Chrome Win10 / Ubuntu 18.04.3 LTS (GNU/Linux 4.15.0-72-generic x86_64)
Issue description:
I am trying to set up a wss server using Linux server and HTML5.
First I set up an insecure connection and it worked pretty well, but I can't let it work with wss; I get ERROR: Class type: 'X509Certificate' is not instantiable.
Steps to reproduce:
Compile for html5 with this code:

var certificate:X509Certificate = X509Certificate.new()

Minimal reproduction project:
extends Node

# The URL we will connect to
var websocket_url:String = "wss://<IP_ADDRESS>:443"
var connected:bool

# Our WebSocketClient instance
var _client = WebSocketClient.new()
var reconnectTimer:Timer
const reconnectionTimeout:int = 5

func _ready():
    # Connect base signals to get notified of connection open, close, and errors.
    _client.connect("connection_closed", self, "_closed")
    _client.connect("connection_error", self, "_closed")
    _client.connect("connection_established", self, "_connected")
    # This signal is emitted when not using the Multiplayer API every time
    # a full packet is received.
    # Alternatively, you could check get_peer(1).get_available_packets() in a loop.
    _client.connect("data_received", self, "_on_data")

    reconnectTimer = Timer.new()

    var certificate:X509Certificate = X509Certificate.new()
    print(certificate.load("res://starville.world_ssl_certificate.crt"))
    _client.trusted_ssl_certificate = certificate
    #_client.verify_ssl = true

    # Initiate connection to the given URL.
    reconnect()

func reconnect():
    print("reconnect, url: " + websocket_url)
    var err = _client.connect_to_url(websocket_url)
    if err != OK:
        print("unable to connect")
        set_process(false)
        if(!reconnectTimer.get_parent()):
            add_child(reconnectTimer)
        reconnectTimer.stop()
        reconnectTimer.set_wait_time(reconnectionTimeout)
        if(!reconnectTimer.is_connected("timeout", self, "reconnect")):
            reconnectTimer.connect("timeout", self, "reconnect")
        reconnectTimer.start()
    else:
        print("Connected")
        reconnectTimer.stop()
        if(reconnectTimer.get_parent()): remove_child(reconnectTimer)
        set_process(true)

func _process(delta):
    # Call this in _process or _physics_process. Data transfer, and signals
    # emission will only happen when calling this function.
    if(_client != null): _client.poll()

func _closed(was_clean = false):
    # was_clean will tell you if the disconnection was correctly notified
    # by the remote peer before closing the socket.
    print("Connection closed, clean: ", was_clean)
    set_process(false)
    if(!reconnectTimer.get_parent()):
        add_child(reconnectTimer)
    reconnectTimer.stop()
    reconnectTimer.set_wait_time(reconnectionTimeout)
    if(!reconnectTimer.is_connected("timeout", self, "reconnect")) :
        reconnectTimer.connect("timeout", self, "reconnect")
    reconnectTimer.start()
    connected = false

func _connected(proto = ""):
    # This is called on connection, "proto" will be the selected WebSocket
    # sub-protocol (which is optional)
    print("Connected with protocol: ", proto)
    # You MUST always use get_peer(1).put_packet to send data to server,
    # and not put_packet directly when not using the MultiplayerAPI.
    var varvar = {"hello": "world"}
    _client.get_peer(1).put_var(varvar, true)
    connected = true

func _on_data():
    # Print the received packet, you MUST always use get_peer(1).get_packet
    # to receive data from server, and not get_packet directly when not
    # using the MultiplayerAPI.
    var received = _client.get_peer(1).get_var(true)
    print("Got data from server: ", str(received))

func _exit_tree():
    _client.disconnect_from_host()

As far as I know, the HTML5 export uses the browser's WebSocket features rather than relying on a custom implementation. Therefore, you can't bypass the browser's security policies.

As far as I know, the HTML5 export uses the browser's WebSocket features rather than relying on a custom implementation.
(It's technically impossible to have an implementation that behaves identically to native exports, as it'd let you bypass the browser's security policies.)

Correct, and the X509Certificate class is not instantiable because the mbedtls module is disabled by default in HTML5 builds (but would still not work with WebSocket due to browser limitations as you explained).
I'm wondering if we should enable the mbedtls module by default though, to provide the Crypto class implementation (or alternatively provide a Crypto class based on Web Crypto API).
As a bare minimum, documentation should be updated to mention/explain these limitations. I'm adding the documentation tag for now.

Thanks! I'm sorry for being silent for a while.
At this moment I have a headless server running on one IP and a html5  game on a website running on another IP/domain.
I am sorry but I'm a bit frustrated with all the security stuff; I have a couple of cer files (world and world_intermediate) and a private key of the web server, and I also figured out how to generate and save a self-signed pair in Godot.
Which one should I use in websocketClient to connect to the server ip?
Thanks!

@Vadimledyaev you can't use self-signed certificates in HTML5 exports. The users would have to manually install the certificate in their browsers. What you want to do is get a valid certificate for the hostname that is running the websocket server, install it appropriately on the server, and connect to that hostname (not the IP address directly).
You can get free valid certificates from CAs like letsencrypt

Thanks for clarifying, but do you mean the server is only accessible by domain name and shall also host the web pages with client html5 builds?

and shall also host the web pages with client html5 builds?

No, the build could potentially be served by a different machine running its own HTTP server

THanks a lot Faless and Calinou!


How disable VFX?

Hi I would like to have  any VFX disabled, is it possible?

Do you mean the cursor animation?
If so add this to init.vim
let g:neovide_cursor_animation_length=0

Do you mean the cursor animation?

Yes, thanks

This setting does not disable the cursor animation. My system is arch linux. Any pointers??

This setting does not disable the cursor animation. My system is arch linux. Any pointers??

?? where did you put the setting, init.vim?


Link from static pod concept to task page

This is a Feature Request

What would you like to be added
Change https://kubernetes.io/docs/concepts/workloads/pods/#static-pods to link to https://kubernetes.io/docs/tasks/configure-pod-container/static-pod/
Why is this needed
This change will help readers to find relevant documentation.
Comments
/language en
/triage accepted
/good-first-issue

This is a good first issue. If you have already worked on an issue for Kubernetes docs, please save this issue for someone who has not.

I would like to work on this issue
/assign

:exclamation: @thisisharrsh please read https://github.com/kubernetes/website/issues/42195#issuecomment-1649491185

I would like to work on this issue
/assign

/assign


Change all colors to RGB values

Implements proposed changes for #131

Also now removes all unquote calls

Hi @EnzoMartin .. can you send the PR only with the necessary push (not merge PR please)

Rebased correctly now, should be set to test it :+1:

Great!


dont close ,help me thank u

https://tea.xyz/what-is-this-file

version: 1.0.0
codeOwners:

'0xd84413E38B4FC129eabd4113CB9Ed86636740D04'
quorum: 1

Hi @cosimawei , please what is this about?

sorry


Types lwt

this includes changes for both https://github.com/mirage/mirage/pull/735 and https://github.com/mirage/mirage/pull/733 (by removing format -- IMHO this is sensible here, but @djs55 @yomimono may have a different opinion -- the implementation used to remove the root directory which can be achieved by other means)

I think removing format is entirely sensible (and in fact intended to do it myself, so I'm doubly glad that you've done it!).


Error Generating Manifest:  Unresolved Nodes

I'm attempting to perform a local deployment of Cloud Foundry on Ubuntu 16.04.1 LTS that I will use as a sandbox in an effort to familiarize myself with CF.  I am following the instructions for "Create a Deployment Manifest for Cloud Foundry on BOSH-Lite" located here:
http://docs.cloudfoundry.org/deploying/boshlite/create_a_manifest.html.
I have successfully completed the preparatory steps "Setup a BOSH-Lite Vagrant VM" using Virtualbox as a provider located here:
https://github.com/cloudfoundry/bosh-lite/blob/master/README.md#install-bosh-lite
I omitted all optional steps for "Create a Deployment Manifest for Cloud Foundry on BOSH-Lite" because I am using Virtualbox.  I am using the bosh-lite and cf-release repositories current as of today.  When I run the following script (Step 5) to create a deployment manifest:
 alex@ubuntu:~/workspace/cf-release$ sudo ./scripts/generate-bosh-lite-dev-manifest
I get the below error.  I hope that this is a simple configuration problem and that someone with more CF experience can easily point me in the right direction.
2016/08/14 11:23:36 error generating manifest: unresolved nodes:
	(( .properties.nats.machines ))	in /home/alex/workspace/cf-release/templates/cf.yml	properties.etcd_metrics_server.nats.machines
	(( .properties.uaa.port ))	in /home/alex/workspace/cf-release/templates/cf.yml	meta.uaa_routes.[0].port
	(( .properties.uaa.port ))	in /home/alex/workspace/cf-release/templates/cf.yml	jobs.[11].properties.route_registrar.routes.[0].port
	(( .properties.uaa.port ))	in /home/alex/workspace/cf-release/templates/cf.yml	jobs.[12].properties.route_registrar.routes.[0].port

Hi @aremily
I wasn't able to reproduce this issue.  Can you share the output of the following commands from your cf-release directory?
$ git log -1 --oneline
c432b73 Manifest generation scripts support TLS etcd cluster [#122070663]

$ git status
On branch develop
Your branch is up-to-date with 'origin/develop'.
nothing to commit, working tree clean

$ spiff -v
spiff version 1.0.7

$ bosh -v
BOSH 1.3262.4.0

$ ./scripts/generate-bosh-lite-dev-manifest
Deployment set to '/Users/agupta/workspace/cf-release/bosh-lite/deployments/cf.yml'

alex@ubuntu:~/workspace/cf-release$ git log -1 --oneline
1b88d9e Final release 240
alex@ubuntu:~/workspace/cf-release$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working directory clean
alex@ubuntu:~/workspace/cf-release$ spiff -v
spiff version 1.0.0
alex@ubuntu:~/workspace/cf-release$ bosh -v
BOSH 1.3262.4.0
alex@ubuntu:~/workspace/cf-release$ ./scripts//generate-bosh-lite-dev-manifest
./scripts//generate-bosh-lite-dev-manifest: line 37: ./scripts/../bosh-lite/deployments/cf.yml: Permission denied
alex@ubuntu:~/workspace/cf-release$ sudo ./scripts//generate-bosh-lite-dev-manifest
[sudo] password for alex:
Deployment set to '/home/alex/workspace/cf-release/bosh-lite/deployments/cf.yml'
alex@ubuntu:~/workspace/cf-release$

That looks like it worked, since it says:
Deployment set to '/home/alex/workspace/cf-release/bosh-lite/deployments/cf.yml'

That's the message it outputs when it's successful.  You're not seeing the unresolved nodes errors anymore.

I wish all my problems were that easy to solve.  Thanks!

Just got the same error, turned out it was due to using an old version of spiff (1.0.0)


Support wiremock configuration options

Currently an instance of WireMockServer is created which you cannot configure further. Annotations don't provide a way to configure options too. What if I want to change transfer encoding or gzip options?

Yes, this is not supported at the moment, but support can be added. Do you have suggestions how it can be implemented?

Not sure. The most obvious idea is to mirror the options as an annotation. Or maybe create something very similar to WireMockExtension, but allowing to additionally specify a spring property?

@VladimirMorozov take a look at #18. It adds option to customize WireMockServer on @ConfigureWireMock. I think this could be extended to accept customizers on @EnableWireMock or even global level through some properties file, but both would require a bit more work.

Thank you! Maybe this requires too much code to change one option, but I think it's good enough and doesn't restrict you in how and what you to change.

@VladimirMorozov we can add more options to annotation too. I just don't want to overload it with everything that's possible and keep it with ones that are used most often. Customizer on the other hand does require a bit of code indeed but gives ultimate flexibility.


Use ApiNATOMY derived connectivity from Turtle when NPO set

Turtle files with ApiNATOMY connectivity are available here.
map-knowledge needs to use the information in them for the NPO case, exposing it in exactly the same way as connectivity from other sources is exposed -- there should be no need to add new methods to KnowledgeStore.
map-knowledge also needs to return version information about the file (last commit SHA and date, GitHub path?).

Closed with PR #16.


[Bug] @cornerstonejs 2.0 strange renderer behavior

Describe the Bug
Hi guys,
Appreciate your work. Help me please with found bug or wrong/insufficient implementation.
I've implemented the React app, which allows you to upload and render .dcm files.
However, faced with strange behavior, all scan projections were distinguished perfectly, but on images, vertical lines appeared that interfered with scan discovery.
Steps to Reproduce
Attaching the gist and video
The current behavior
And seems like the coronal view shifted a bit to right
https://gist.github.com/AlexMold/ad292158b27a35c04be93a9a1548cffc
https://www.loom.com/share/c8c7e90e4c434665a03590b245bc33fe?sid=76d064f5-ef24-40f1-a6a3-8cdc1d4bd781the
The expected behavior
without any lines, clear as at OHIF ;)
OS
macOS
Node version
20.13
Browser
latest Chrome, latest Firefox

Hmm, weird
Could you kindly provide the data if it has been anonymized and you can confirm that there is no patient health information present in any of the headers or embedded within the pixel data?

Sure thing
no problem, it's my mri
https://drive.google.com/file/d/1Us-coz4HPNy9XZgipw-qxPpZfWCduTcm/view?usp=sharing

This looks correct in viewer.ohif.org/localbasic
https://github.com/user-attachments/assets/0318ca16-912d-4ed0-a9f0-e7cd19842239

I supposed so ;)
The gist of the code mostly is copy of examples
https://github.com/cornerstonejs/cornerstone3D/blob/main/packages/tools/examples/labelmapRendering/index.ts

I suspect your series includes more than one display set, and OHIF can group them into reconstructive display sets. However, Cornerstone, being a rendering library, doesn't have this capability, which explains the situation.
You can look here for how to group them https://github.com/OHIF/Viewers/blob/master/extensions/default/src/getSopClassHandlerModule.js

Thanks, I will try to figure out what it doesn't mean )
I thought that distinguishing DisplayMode would be good enough.
export enum DisplayMode {
  STACK = "CT_STACK",
  VOLUME = "CT_VOLUME",
}

export const ViewportMapping = {
  CD: DisplayMode.STACK, //	Color flow Doppler 	768 x 576	8	0,442 MB
  CR: DisplayMode.STACK, //	Computed radiography 	3520 x 4280	12	30 MB	2
  DSA: DisplayMode.STACK, //	Digital Subtraction Angiography 	512 x 512	8	 	15-40
  DX: DisplayMode.STACK, //	Digital Radiography 	2048 x 2048	12	 	2
  MG: DisplayMode.STACK, //	Mammography 	4608 x 5200	14	45,7 MB	1
  US: DisplayMode.STACK, //	Ultrasound 	512 x 512	8	0,262 MB	20-240
  XA: DisplayMode.STACK, //	X-Ray Angiography 	512 x 512	16

  CT: DisplayMode.VOLUME, //	Computed tomography 	512 x 512	16	0,524 MB	40-3000
  MR: DisplayMode.VOLUME, //	Magnetic Resonance 	256 x 256	16	0,131 MB	60-3000
  NM: DisplayMode.VOLUME, //	Nuclear Medicine 	256 x 256	 	0,128 MB
  PET: DisplayMode.VOLUME, //	Positron Emission Tomography - PET 	128 x 128	 	32 MB
};

Obviously, I was wrong (
🙇♂

No you need to look at the metadata of the series and try to separate the groups

Did I understand correctly that in this case, I need to abandon the automatic determination of projections of images using the viewport
[
    {
        viewportId: viewportIds[0],
        type: ViewportType.ORTHOGRAPHIC,
        element: element1,
        defaultOptions: {
            orientation: Enums.OrientationAxis.AXIAL,
            background: <Types.Point3>[0.2, 0, 0.2]
        }
    },
    {
        viewportId: viewportIds[1],
        type: ViewportType.ORTHOGRAPHIC,
        element: element2,
        defaultOptions: {
            orientation: Enums.OrientationAxis.SAGITTAL,
            background: <Types.Point3>[0.2, 0, 0.2]
        }
    },
    {
        viewportId: viewportIds[2],
        type: ViewportType.ORTHOGRAPHIC,
        element: element3,
        defaultOptions: {
            orientation: Enums.OrientationAxis.CORONAL,
            background: <Types.Point3>[0.2, 0, 0.2]
        }
    }
];

and render all three views as a stack, and only by hand dividing it into groups Axial | Sagittal | Coronal?

Did I understand correctly that in this case, I need to abandon the automatic determination of projections of images using the viewport and render all three views as a stack, and only by hand dividing it into groups Axial | Sagittal | Coronal?

@AlexMold It is not about orientation (axial, sagittal or coronal) but series. After loading the instances metadata OHIF converts each DICOM series (StudyInstanceUID + SeriesInstanceUID) into one or more displaySets. Take a look at the link shared by Alireza at line 154 (getDisplaySetFromSeries) where you can see how each series is split into displaySets. A new displaySet is created for each MultiFrame instance, CR/MG/DX and another one for the remaining images.
After that you can load the series as volumes in any orientation, if they are reconstructable, or as a stack.

@lscoder Thanks for the clarification
Now I'm trying to understand what the term reconstructable means at all 😃
And for what do you guys use splitImageIdsBy4DTags in making display volume info ?

@AlexMold A volume is reconstructable if the slices have the same orientation, if they are evenly spaced with no missing slice. If you organize all slices in space they need to form a "cuboid". If any slice is rotated/shifted it is not reconstructable anymore.
You can take a look at isDisplaySetReconstructable.js
splitImageIdsBy4DTags is responsible for splitting 4D series (3D + time) into groups if any of these tags is available. If you are not working with 4D datasets you should not worry about it.
You can find an example of a 4D dataset here. It takes some time to load because the dataset is a bit large. I recommend you to stop Cine and loop though it using the controls from the left panel. There are 40 frames where each frame is a 3D volume in a different time. Cine loops though frames/time and the scrollbar scrolls through position.


Creating saving mode and deleting some stuff

Deleting all the veins segmentation and adding the saving of the files. he
In this update of the code:

Vessels segmentation was delete as it is not worth it o develop
Adding a saving result capabilities of Prepos and Masks

We need to add for the .gitignore for the results and delete them from the github.


Add Zig programming language template

Pull Request
Thank you for contributing to @dvcs/gitignore and https://www.gitignore.io.
New

[x] Template - New .gitignore template
[ ] Composition - Template made from smaller templates
[ ] Inheritance - Template similar to an existing template
[ ] Patch - Template extending functionality of existing template

Details
https://ziglang.org/

I don't understand the build system. The following files have differences (git diff):

Android.gitignore
CMake.gitignore
CodeSniffer.gitignore
Python.gitignore
Qt.gitignore
Ruby.gitignore
Unity.gitignore

Haven't changed those files with my PR and they weren't touched in the previous commit.

There Is a check that verifies that templates from the @github/gitingore repo are updated and it's not automated yet.

Thanks!
The .moban.yaml seems incomplete.
I count 485 .gitignore files in the template/ folder but I find only 216 copy .gitignore entries in the .moban.yaml file.

moan only compares the templates that would be required from @github/gitignore This repo  has way more templates than that one does.


how to close browser?

Hello,
try to use cancel(),but it does't work,
so 1、how to switch tab,2、 close tab ,3、close browser
simple demo?(latest version)
thanks.

Please follow the issue template.


implements a 'showCreateDate' configuration option

I needed a appCache manifest without the creation date, so I implemented a configuration option, to be able to hide the date.

The create date has an extra function; it acts as a unique identifier so no two manifest files are the same. Updating the app will then always result in a cache update on the client. I'll update the PR with a random string instead of a date and then merge

I solved the cache update issue in one project by fingerprinting files. So I wanted to be able to remove the create date to avoid reload of cache on every manifest creation.

By fingerprinting files, the cache manifest will change and thus trigger a reload, right? Or am I missing something?

correctly

the browser just checks if the manifest file changed (in any way) and if so refreshes the cache.


Preserve scene ratio

Hi Almas,
basically, I want to make my game resizable, so I set manualResizeEnabled to true. The built-in scale mechanism works well, except for the fact that I want to preserve the original ratio. I opted to create rectangles on both left and right of the scene so that the window could be resized as much as wanted, so that the actual game resolution would be the same. Honestly, I don't know how to do this in FXGL since width/scale properties aren't modified in contentRoot and I don't know where to set listeners.

Hi, could this be related to #624 ? Could you clarify what properties you need access to?

I've just re-read this and I think I got the idea. During resize if the ratio is different, append black bars (similar to video playing software) either top/bot or left/right, so that the ratio remains the same. Is that right?

Yes, that's exactly what I meant (I'm not native English, sorry). That implementation would be great.

I am unsure about black bars. The original background color is transparent, so I think it would be sensible to leave the bars as transparent (effectively white). Would that work for you?

Would that work for you?
That's not a problem. However, couldn't the color be set by changing -fx-background-color of the content root?

I think so, which means even if I don't set the color, you will be able to update it as necessary.

To get the latest build (once it completes), you can use this:
<dependencies>
    <dependency>
        <groupId>com.github.almasb</groupId>
        <artifactId>fxgl</artifactId>
        <version>dev-SNAPSHOT</version>
    </dependency>
</dependencies>

<repositories>
    <repository>
        <id>oss.sonatype.org-snapshot</id>
        <url>http://oss.sonatype.org/content/repositories/snapshots</url>
    </repository>
</repositories>

Need to enable both
settings.setManualResizeEnabled(true);
settings.setPreserveResizeRatio(true);

Is this build compatible with Java < 11?

No, I'm afraid. Only 11+ is being developed. As FXGL 11 has a completely new architecture, it is not sensible to develop both, especially considering it is superior to FXGL 8 arch. Eventually, there might be a backport of the 11 codebase to 8 but no plans at the moment.

Is it possible to align the game scene to center?

You can play around with root or contentRoot of the game scene. Maybe layoutX/Y or translateX/Y can offset the scene as required.

I think it's not working as expected.
Set initial size to 1280x720, I manually resized the window to a similar size but quite smaller than the original one.
gameScene.root (orange) should cover the whole window because w1/h1 == w2/h2. Also, gameScene.contentRoot (gray) is able to go out of the root.

I've made this image that shows how the scene (initial size 1280x720) could be resized every time the window size is modified:

I think I have an idea why this is happening. The root scaling is fixed to
preserve ratio, but scene size isn’t. I don’t have a workaround in mind at
the moment. I am going to come back to it a bit later and see if I can fix
this
On Mon, 10 Jun 2019 at 2:29 pm, iAmGio<EMAIL_ADDRESS>wrote:

I think it's not working as expected.
Set initial size to 1280x720, I manually resized the window to a similar
size but quite smaller than the original one.
gameScene.root (orange) should cover the whole window because w1/h1 ==
w2/h2. Also, gameScene.contentRoot (gray) is able to go out of the root.
[image: Image]
https://camo.githubusercontent.com/c817468e360f85c0a3b57118a43932dfb0610cb0/68747470733a2f2f692e696d6775722e636f6d2f6d48434c3649502e706e67
I've made this image that shows how the scene (initial size 1280x720)
could be resized every time the window size is modified:
[image: Image2]
https://camo.githubusercontent.com/cef8edc22404bdf8a1a63af99333779264691dd0/68747470733a2f2f692e696d6775722e636f6d2f7a4652374233722e706e67
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/AlmasB/FXGL/issues/634?email_source=notifications&email_token=AA3NT5WYKLACOJYKK4UTOKLPZZJMNA5CNFSM4HWLXJ72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXJ4EBQ#issuecomment-500417030,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA3NT5RXSVYE5JR75TXEXJ3PZZJMNANCNFSM4HWLXJ7Q
.

The formula would be:
scene = window * w2/h2 / w1/h1
where:
scene = width (if w1/h1 < w2/h2) or height of the game scene.
window = width or height (as above) of the window
w1/h1 = ratio of width to height of the original window
w2/h2 = ratio of width to height of the resized window

So effectively, 2 fixes are required for this:

[ ] Center game scene
[ ] Resize root to match content root

Yes.

Done. Give CI a few minutes to build and upload, then just refresh your dev-SNAPSHOT dependency.

The fixes look great. However, the content root can still expand out of the game scene:

Orange = gameScene.root;
Blue = UI node that should match the correct content root size;
How you can see, my character is able to go out of it.

Could you post the minimal example please
On Mon, Jun 17, 2019 at 6:20 PM iAmGio<EMAIL_ADDRESS>wrote:

The fixes look great. However, the content root can still expand out of
the game scene:
[image: Image]
https://camo.githubusercontent.com/efa0cadd481755cc3859ebb0170a68872f731ef6/68747470733a2f2f692e696d6775722e636f6d2f525579784e744d2e706e67
Orange = gameScene.root;
Blue = UI node that should match the correct content root size;
How you can see, my character is able to go out of it.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/AlmasB/FXGL/issues/634?email_source=notifications&email_token=AA3NT5S5HFC2D6ZHND3LRZ3P27BVTA5CNFSM4HWLXJ72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODX33VCQ#issuecomment-502774410,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA3NT5XR46BJA22MLDYNRHLP27BVTANCNFSM4HWLXJ7Q
.

Player component: https://hastebin.com/itudoxadod.m
For visibility (in initGame()):
getGameScene().root.style = "-fx-background-color: orange"
getGameScene().addUINode(Rectangle(getAppWidth().toDouble(), getAppHeight().toDouble(), Color(.0, .0, 1.0, .5)))

Sorry, I meant a minimal example that I can run, so App : GameApplication(), etc. that demonstrates the issue

import com.almasb.fxgl.app.GameApplication;
import com.almasb.fxgl.app.GameScene;
import com.almasb.fxgl.app.GameSettings;
import com.almasb.fxgl.dsl.FXGL;
import com.almasb.fxgl.entity.*;
import com.almasb.fxgl.input.Input;
import com.almasb.fxgl.input.UserAction;
import javafx.scene.input.KeyCode;
import javafx.scene.paint.Color;
import javafx.scene.shape.Rectangle;

public class Demo extends GameApplication {

    private Entity player;

    @Override
    protected void initSettings(GameSettings settings) {
        settings.setManualResizeEnabled(true);
        settings.setPreserveResizeRatio(true);
        settings.setWidth(1280);
        settings.setHeight(720);
        settings.setTitle("Demo");
    }

    @Override
    protected void initInput() {
        Input input = FXGL.getInput();
        input.addAction(new UserAction("Up") {
            @Override
            protected void onAction() {
                player.translateY(-5.0);
            }
        }, KeyCode.W);
        input.addAction(new UserAction("Right") {
            @Override
            protected void onAction() {
                player.translateX(5.0);
            }
        }, KeyCode.D);
        input.addAction(new UserAction("Down") {
            @Override
            protected void onAction() {
                player.translateY(5.0);
            }
        }, KeyCode.S);
        input.addAction(new UserAction("Left") {
            @Override
            protected void onAction() {
                player.translateX(-5.0);
            }
        }, KeyCode.A);
    }

    @Override
    protected void initGame() {
        GameWorld gameWorld = FXGL.getGameWorld();
        gameWorld.addEntityFactory(new DemoEntityFactory());
        player = gameWorld.spawn("player", new SpawnData(200, 200));
    }

    @Override
    protected void initUI() {
        GameScene gameScene = FXGL.getGameScene();
        gameScene.addUINode(new Rectangle(FXGL.getAppWidth(), FXGL.getAppHeight(), new Color(.0, .0, 1.0, .5)));
    }

    public static void main(String[] args) {
        GameApplication.launch(args);
    }

    public class DemoEntityFactory implements EntityFactory {

        @Spawns("player")
        public Entity newPlayer(SpawnData data) {
            return FXGL.entityBuilder()
                    .at(data.getX(), data.getY())
                    .view(new Rectangle(100.0, 100.0, Color.BLACK))
                    .build();
        }
    }
}

I think I've finally understood the issue :) I adapted your initial approach with Rectangles.
You should be able to do this:
getGameScene().getPaddingTop().setFill(Color.YELLOW);
getGameScene().getPaddingBot().setFill(Color.RED);
getGameScene().getPaddingRight().setFill(Color.GREEN);
getGameScene().getPaddingLeft().setFill(Color.BLUE);

which actually gives you more control over each padding

build on its way

It seems to work well, thank you!


GitHub Actions CI

@vladikoff can you register the org on GitHub Actions CI?
Then I could make the switch and we drop Travis and AppVeyor from all the repos.

that would be cool!

Perfect, I'll try experimenting with it. Note that I don't have push rights (nor npm publish rights in all the repos)

@XhmikosR you have at least one right?

Not in all the repos.


Add support for multiple dataProviders for a single test method

fix  #345

Let's give it a try, thank you @marcelthole

Thanks 🙏


Landscape Wayfinding

Fixes #1856 for groups and talk. Separate PR incoming for Landscape.

Note that the "reject" buttons on the Group Reference components are a bug, unrelated to this work.

@urcades what do you think about adding an option to hide the question mark icon/menu?

@patosullivan I'm into it — we'd simply need to surface a means to bring it back up + reset its state if need be — we have the "Help & Support" section of Landscape's system preferences, so a toggle could potentially live here.

@patosullivan I'm into it — we'd simply need to surface a means to bring it back up + reset its state if need be — we have the "Help & Support" section of Landscape's system preferences, so a toggle could potentially live here.

Cool. I'll add a "Hide This Button" option here and then add a toggle in the Landscape system preferences.

🫡
we covered the placement of the toggle for resetting the state of the help bubble

Hey, just realized this is going to look weird on mobile:

Should we hide it on mobile?

@patosullivan in the previous issue where these were first posted, it was recommended that we float this button slightly above the toolbar:

This is still quite in the way imo, and will need some fine-tuning to feel good. I think we'll be able to address this guy in a more ideal/out of the way manner when we start working on system chrome/ui that links everything together

@patosullivan in the previous issue where these were first posted, it was recommended that we float this button slightly above the toolbar:

This is still quite in the way imo, and will need some fine-tuning to feel good. I think we'll be able to address this guy in a more ideal/out of the way manner when we start working on system chrome/ui that links everything together

Ok, I'll bump it up.

status: bumped

Nice, this is looking good


Doesn't respond with Node 16

Since installing node 16 AC hasn't worked at all. No log errors.

Go to Homebridge settings and enable debug mode.
then send logs

There is No problem on this plugin.
Check your system again.

Latest update fixed whatever my issue was.

From: Yossi Hillali @.>
Sent: Saturday, July 23, 2022 2:25:51 PM
To: hillaliy/homebridge-midea-air @.>
Cc: Benjamin Thomas @.>; Author @.>
Subject: Re: [hillaliy/homebridge-midea-air] Doesn't respond with Node 16 (Issue #78)
Closed #78https://github.com/hillaliy/homebridge-midea-air/issues/78 as completed.
—
Reply to this email directly, view it on GitHubhttps://github.com/hillaliy/homebridge-midea-air/issues/78#event-7050559527, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALRHQ3MPOXMFAD3BHPA2T43VVQ2K7ANCNFSM52ZQYZ4Q.
You are receiving this because you authored the thread.Message ID: @.***>